Lines Matching defs:theSrcPStr
96 void CopyPStrToPStr(const unsigned char *theSrcPStr,unsigned char *theDstPStr,const int maxDstStrLength)
104 if (theDstPStr != nil && theSrcPStr != nil && theMaxDstStrLength > 0)
112 if (theMaxDstStrLength - 1 < theSrcPStr[0])
114 BlockMove(theSrcPStr + 1,theDstPStr + 1,theMaxDstStrLength - 1);
121 BlockMove(theSrcPStr,theDstPStr,theSrcPStr[0] + 1);
283 void ConcatPStrToPStr(const unsigned char *theSrcPStr,unsigned char *theDstPStr,const int maxDstStrLength)
290 if (theSrcPStr != nil && theDstPStr != nil && theMaxDstStrLength > 0)
298 if (theMaxDstStrLength - theDstPStr[0] - 1 < theSrcPStr[0])
300 BlockMove(theSrcPStr + 1,theDstPStr + theDstPStr[0] + 1,theMaxDstStrLength - 1 - theDstPStr[0]);
307 BlockMove(theSrcPStr + 1,theDstPStr + theDstPStr[0] + 1,theSrcPStr[0]);
309 theDstPStr[0] += theSrcPStr[0];
1457 void InsertPStrIntoCStr(const unsigned char *theSrcPStr,const int theInsertionOffset,char *theDstCStr,const int maxDstStrLength)
1465 if (theDstCStr != nil && theSrcPStr != nil && maxDstStrLength > 0 && theInsertionOffset < maxDstStrLength - 1)
1469 insertLength = PStrLength(theSrcPStr);
1501 BlockMove(theSrcPStr + 1,theDstCStr + theInsertionOffset,numCharsToInsert);
2202 OSErr ExtractIntFromPStr(const unsigned char *theSrcPStr,int *outInt,Boolean skipLeadingSpaces)
2208 if (theSrcPStr == nil)
2210 SetErrorMessageAndBail(("ExtractIntFromPStr: Bad parameter, theSrcPStr == nil"));
2219 CopyPStrToCStr(theSrcPStr,theCStr,sizeof(theCStr));