Searched refs:cnt (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
D | setenv.c | 46 size_t cnt = 0; in putenv() local 71 cnt = P - environ; in putenv() 73 P = reallocarray(lastenv, cnt + 2, sizeof(char *)); in putenv() 77 memcpy(P, environ, cnt * sizeof(char *)); in putenv() 79 environ[cnt] = str; in putenv() 80 environ[cnt + 1] = NULL; in putenv() 127 size_t cnt = 0; in setenv() local 132 cnt = P - environ; in setenv() 134 P = reallocarray(lastenv, cnt + 2, sizeof(char *)); in setenv() 138 memcpy(P, environ, cnt * sizeof(char *)); in setenv() [all …]
|
D | getsubopt.c | 47 int cnt; in getsubopt() local 88 for (cnt = 0; *tokens; ++tokens, ++cnt) in getsubopt() 90 return(cnt); in getsubopt()
|
/bionic/libc/dns/resolv/ |
D | res_init.c | 672 res_setservers(res_state statp, const union res_sockaddr_union *set, int cnt) in res_setservers() argument 684 for (i = 0; i < cnt && nserv < MAXNS; i++) { in res_setservers() 724 res_getservers(res_state statp, union res_sockaddr_union *set, int cnt) in res_getservers() argument 730 for (i = 0; i < statp->nscount && i < cnt; i++) { in res_getservers()
|
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
D | ev_streams.c | 56 evConsIovec(void *buf, size_t cnt) { in evConsIovec() argument 61 ret.iov_len = cnt; in evConsIovec()
|
/bionic/linker/ |
D | linker_main.cpp | 597 static void linker_memclr(void* dst, size_t cnt) { in linker_memclr() argument 598 for (size_t i = 0; i < cnt; ++i) { in linker_memclr()
|