Lines Matching refs:arrcnt
43 int arrcnt; in arr2envblk() local
46 arrcnt = 0; in arr2envblk()
47 while (arr[arrcnt]) { in arr2envblk()
48 arrcnt++; in arr2envblk()
51 tmp = (char**) calloc(arrcnt + 1, sizeof(char *)); in arr2envblk()
56 arrcnt = 0; in arr2envblk()
58 while (arr[arrcnt]) { in arr2envblk()
59 tmp[arrcnt] = arr[arrcnt]; in arr2envblk()
60 size_needed += strlen(arr[arrcnt]) + 1; in arr2envblk()
61 arrcnt++; in arr2envblk()
65 qsort((void *) tmp, (size_t) arrcnt, sizeof (char*), compare); in arr2envblk()
73 arrcnt = 0; in arr2envblk()
74 while (tmp[arrcnt]) { in arr2envblk()
75 strcpy(ptr, tmp[arrcnt]); in arr2envblk()
76 ptr += strlen(tmp[arrcnt]) + 1; in arr2envblk()
77 arrcnt++; in arr2envblk()