Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
nsCookie.cpp File Reference
#include "nsCookie.h"
#include <stdlib.h>

Go to the source code of this file.


static void StrBlockCopy (const nsACString &aSource1, const nsACString &aSource2, const nsACString &aSource3, const nsACString &aSource4, char *&aDest1, char *&aDest2, char *&aDest3, char *&aDest4, char *&aDestEnd)


static PRUint32 gLastCreationTime

Function Documentation

static void StrBlockCopy ( const nsACString &  aSource1,
const nsACString &  aSource2,
const nsACString &  aSource3,
const nsACString &  aSource4,
char *&  aDest1,
char *&  aDest2,
char *&  aDest3,
char *&  aDest4,
char *&  aDestEnd 
) [inline, static]

Definition at line 50 of file nsCookie.cpp.

  char *toBegin = aDest1;
  nsACString::const_iterator fromBegin, fromEnd;

  *copy_string(aSource1.BeginReading(fromBegin), aSource1.EndReading(fromEnd), toBegin) = char(0);
  aDest2 = ++toBegin;
  *copy_string(aSource2.BeginReading(fromBegin), aSource2.EndReading(fromEnd), toBegin) = char(0);
  aDest3 = ++toBegin;
  *copy_string(aSource3.BeginReading(fromBegin), aSource3.EndReading(fromEnd), toBegin) = char(0);
  aDest4 = ++toBegin;
  *copy_string(aSource4.BeginReading(fromBegin), aSource4.EndReading(fromEnd), toBegin) = char(0);
  aDestEnd = toBegin;

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

Definition at line 81 of file nsCookie.cpp.