Lines Matching defs:dstPtr
200 PRIVATE char* getHomeDir (char* dstPtr, size_t pathMax);
201 PRIVATE char* getUserHomeDir (char* dstPtr, char* userName, size_t pathMax);
203 const char* dstPtr,
247 Note: dstPtr is incremented and ends up pointing to the next character
261 char* dstPtr,
268 ASSERT_RTN (dstPtr != NULL, "getHomeDir: no dstPtr", NULL);
271 if ((dstPtr == NULL) || (pathMax == 0)) return (NULL);
275 while ((*homeDir != '\0') && (pathMax-- > 0)) *dstPtr++ = *homeDir++;
284 while ((*homeDir != '\0') && (pathMax-- > 0)) *dstPtr++ = *homeDir++;
289 dstPtr = NULL;
293 return (dstPtr);
301 Note: dstPtr is incremented and ends up pointing to the next character
315 char* dstPtr,
323 ASSERT_RTN (dstPtr != NULL, "getUserHomeDir: no dstPtr", NULL);
327 if ((dstPtr == NULL) || (userName == NULL) || (pathMax == 0))
336 while ((*homeDir != '\0') && (pathMax-- > 0)) *dstPtr++ = *homeDir++;
341 dstPtr = NULL;
344 return (dstPtr);
367 register char* dstPtr = (char*)destBuff;
392 dstPtr = getHomeDir (dstPtr, destBuffSize);
410 dstPtr = getUserHomeDir (dstPtr, userName, destBuffSize);
419 return (dstPtr);
439 register char* dstPtr = (char*)destBuff;
491 *dstPtr++ = *envValue++;
500 return (dstPtr);
1003 char* dstPtr = NULL;
1016 if (CSCmemAlloc(memList,(void**)&dstPtr,1,pathMax+1,memTag) == CSC_OK)
1018 (void)memset (dstPtr, '\0', pathMax+1);
1020 tmpPtr = expandTilde (dstPtr, &srcPtr, pathMax);
1022 index = (size_t)(tmpPtr - dstPtr); /* note #1 */
1037 index = (size_t)(tmpPtr - dstPtr); /* note #1 */
1044 (void)CSCmemFree (memList, (void**)&dstPtr, memTag);
1045 dstPtr = NULL;
1049 return (dstPtr);