Searched refs:cnt (Results 1 – 8 of 8) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
D | setenv.c | 49 size_t cnt; in putenv() local 73 cnt = P - environ; in putenv() 74 P = (char **)realloc(lastenv, sizeof(char *) * (cnt + 2)); in putenv() 78 memcpy(P, environ, cnt * sizeof(char *)); in putenv() 80 environ[cnt] = str; in putenv() 81 environ[cnt + 1] = NULL; in putenv() 127 size_t cnt; in setenv() local 131 cnt = P - environ; in setenv() 132 P = (char **)realloc(lastenv, sizeof(char *) * (cnt + 2)); in setenv() 136 memcpy(P, environ, cnt * sizeof(char *)); in setenv() [all …]
|
/bionic/libc/arch-mips/string/ |
D | mips_strlen.c | 39 cnt += sizeof (unsigned);\ 44 ++cnt;\ 54 int cnt = 0; in strlen() local 63 return cnt; in strlen() 66 ++cnt; in strlen() 71 return cnt + 0; in strlen() 73 return cnt + 1; in strlen() 75 cnt += 2; in strlen() 129 return cnt; in strlen()
|
/bionic/libc/bionic/ |
D | getentropy_linux.c | 232 int fd, cnt, flags; in getentropy_urandom() local 259 if (ioctl(fd, RNDGETENTCNT, &cnt) == -1) { in getentropy_urandom() 358 static int cnt; in getentropy_fallback() local 385 cnt += (int)tv.tv_sec; in getentropy_fallback() 386 cnt += (int)tv.tv_usec; in getentropy_fallback() 452 mo = cnt % in getentropy_fallback() 455 cnt += (int)((long)(mm[m].p) in getentropy_fallback() 465 cnt += (int)ts.tv_nsec; in getentropy_fallback() 471 cnt += (int)ru.ru_utime.tv_sec; in getentropy_fallback() 472 cnt += (int)ru.ru_utime.tv_usec; in getentropy_fallback() [all …]
|
D | malloc_debug_check.cpp | 296 hdr_t** tail, hdr_t** head, unsigned* cnt, in del_and_check_locked() argument 300 (*cnt)--; in del_and_check_locked()
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | exec.c | 135 int cnt; in execvpe() local 212 for (cnt = 0; argv[cnt]; ++cnt) in execvpe() 214 memp = alloca((cnt + 2) * sizeof(char *)); in execvpe() 219 bcopy(argv + 1, memp + 2, cnt * sizeof(char *)); in execvpe()
|
/bionic/tools/relocation_packer/src/ |
D | delta_encoder.cc | 274 ElfAddr cnt = 1; in DetectGroup() local 284 cnt++; in DetectGroup() 291 cnt++; in DetectGroup() 297 if (cnt == 1) { in DetectGroup() 301 *group_size = cnt; in DetectGroup()
|
/bionic/libc/dns/resolv/ |
D | res_init.c | 671 res_setservers(res_state statp, const union res_sockaddr_union *set, int cnt) in res_setservers() argument 683 for (i = 0; i < cnt && nserv < MAXNS; i++) { in res_setservers() 723 res_getservers(res_state statp, union res_sockaddr_union *set, int cnt) in res_getservers() argument 729 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()
|