Searched refs:srcLength (Results 1 - 2 of 2) sorted by relevance

/vbox/src/libs/xpcom18a4/xpcom/obsolete/
H A DnsFileSpecMac.cpp123 int srcLength = strlen(src); local
124 NS_ASSERTION(srcLength <= inMax, "Oops, string is too long!");
125 if (srcLength > inMax)
126 srcLength = inMax;
127 dst[0] = srcLength;
128 memcpy(&dst[1], src, srcLength);
135 int srcLength = strlen(src); local
136 if (srcLength > inMax)
137 srcLength = inMax;
138 dst[0] = srcLength;
[all...]
/vbox/src/libs/xpcom18a4/xpcom/io/
H A DnsLocalFileMac.cpp514 int srcLength = strlen(src); local
515 NS_ASSERTION(srcLength <= 255, "Oops, Str255 can't hold >255 chars");
516 if (srcLength > 255)
517 srcLength = 255;
518 dst[0] = srcLength;
519 memcpy(&dst[1], src, srcLength);
524 int srcLength = strlen(src); local
525 if (srcLength > inMax)
526 srcLength = inMax;
527 dst[0] = srcLength;
[all...]

Completed in 42 milliseconds