Lines Matching defs:namelen
627 int buflen = GROW, namelen = 0;
649 start = namelen;
670 if (namelen + len >= buflen) {
672 if (namelen + len > newsize) newsize = namelen + len;
676 (void) memcpy((MT) names, (MT) namebuf, (MST) namelen);
683 (void) strncpy(&names[namelen], linein, len+1);
684 namelen += len+1;
687 (void) strncpy(&names[namelen], dir->filePrefix, prefixLen);
688 namelen += prefixLen;
692 (void) strncpy(&names[namelen], sep+1, len+1);
693 namelen += len+1;
695 if (name != NULL && strcmp(names, name) != 0) namelen = start;
704 type->nameBuffer = (char *) MALLOC(namelen);
705 (void) memcpy((MT) type->nameBuffer, (MT) names, (MST) namelen);
866 int namelen;
879 namelen = strlen(d->d_name);
880 if (namelen < extensionLen) continue;
882 if (strcmp(d->d_name + (namelen - extensionLen), PSRES_EXT) == 0
1497 int buflen = GROW, namelen = 0;
1550 namelen = len+1;
1551 file = &names[namelen];
1554 (void) strncpy(&names[namelen], dir->filePrefix, prefixLen);
1555 namelen += prefixLen;
1559 (void) strncpy(&names[namelen], sep+1, len+1);