Lines Matching defs:count
55 register int count, i;
58 for (count = 0; envp[count] != NULL; count++)
60 p = (char **) malloc((count+1) * sizeof(char *)); /* 1 for the NULL */
65 for (i = 0; i < count; i++)
73 p[count] = NULL;
83 register int count, found;
88 * count the number of elements, including the null pointer;
92 for (count = 0; envp[count] != NULL; count++) {
93 if (!strcmp_until(envp[count], envstr, '='))
94 found = count;
96 count++; /* for the NULL */
120 (unsigned) ((count+1) * sizeof(char *)));
126 p[count] = p[count-1];
127 if ((p[count-1] = strdup(envstr)) == NULL) {