Lines Matching defs:theMaxDstStrLength
98 int theMaxDstStrLength;
101 theMaxDstStrLength = maxDstStrLength;
104 if (theDstPStr != nil && theSrcPStr != nil && theMaxDstStrLength > 0)
106 if (theMaxDstStrLength > 255)
108 theMaxDstStrLength = 255;
112 if (theMaxDstStrLength - 1 < theSrcPStr[0])
114 BlockMove(theSrcPStr + 1,theDstPStr + 1,theMaxDstStrLength - 1);
116 theDstPStr[0] = theMaxDstStrLength - 1;
182 int theMaxDstStrLength;
185 theMaxDstStrLength = maxDstStrLength;
187 if (theDstPStr != nil && theSrcCStr != nil && theMaxDstStrLength > 0)
189 if (theMaxDstStrLength > 255)
191 theMaxDstStrLength = 255;
197 if (theSrcCStr[i] == 0 || i >= theMaxDstStrLength - 1 || i >= maxCharsToCopy)
217 int theMaxDstStrLength;
220 theMaxDstStrLength = maxDstStrLength;
222 if (theDstPStr != nil && theSrcCStr != nil && theMaxDstStrLength > 0)
224 if (theMaxDstStrLength > 255)
226 theMaxDstStrLength = 255;
232 if (i >= theMaxDstStrLength - 1 || theSrcCStr[i] == 0)
285 int theMaxDstStrLength;
288 theMaxDstStrLength = maxDstStrLength;
290 if (theSrcPStr != nil && theDstPStr != nil && theMaxDstStrLength > 0)
292 if (theMaxDstStrLength > 255)
294 theMaxDstStrLength = 255;
298 if (theMaxDstStrLength - theDstPStr[0] - 1 < theSrcPStr[0])
300 BlockMove(theSrcPStr + 1,theDstPStr + theDstPStr[0] + 1,theMaxDstStrLength - 1 - theDstPStr[0]);
302 theDstPStr[0] = theMaxDstStrLength - 1;
319 int theMaxDstStrLength;
322 theMaxDstStrLength = maxDstStrLength;
324 if (theSrcCStr != nil && theDstPStr != nil && theMaxDstStrLength > 0)
326 if (theMaxDstStrLength > 255)
328 theMaxDstStrLength = 255;
336 if (theSrcCStr[i] == 0 || thePStrLength >= theMaxDstStrLength - 1)
1601 int dstCharIndex,srcCharIndex,theMaxDstStrLength;
1606 theMaxDstStrLength = maxDstStrLength;
1608 if (theDstCStr != nil && theSrcCStr != nil && theMaxDstStrLength > 0)
1617 theMaxDstStrLength--;
1624 if (dstCharIndex >= theMaxDstStrLength)
1653 ConcatCStrToCStr(theInsertCStrs[theCStrIndex],theDstCStr,theMaxDstStrLength);
1673 ConcatLongIntToCStr(theLongInts[theLongIntIndex],theDstCStr,theMaxDstStrLength);