Searched refs:cnt (Results 1 – 9 of 9) sorted by relevance
/bionic/libc/arch-mips/string/ |
D | strlen.c | 62 #define DO_WORD(w, cnt) { \ argument 63 op_t val = ((w[cnt] - mask_1) & ~w[cnt]) & mask_128; \ 65 return do_bytes(str, (const char *)(w + cnt), val); \ 75 #define DO_WORD(w, cnt) { \ argument 76 if (((w[cnt] - mask_1) & ~w[cnt]) & mask_128) \ 77 return do_bytes(str, (const char *)(w + cnt)); \
|
D | strchr.c | 63 #define DO_WORD(w, cnt) { \ argument 64 op_t val = w[cnt] ^ mask_c; \ 65 if ((((w[cnt] - mask_1) & ~w[cnt]) & mask_128) || \ 67 return do_bytes(w + cnt, ch); \
|
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
D | setenv.c | 47 size_t cnt; in putenv() local 71 cnt = P - environ; in putenv() 72 P = reallocarray(lastenv, cnt + 2, sizeof(char *)); in putenv() 76 memcpy(P, environ, cnt * sizeof(char *)); in putenv() 78 environ[cnt] = str; in putenv() 79 environ[cnt + 1] = NULL; in putenv() 126 size_t cnt; in setenv() local 130 cnt = P - environ; in setenv() 131 P = reallocarray(lastenv, cnt + 2, sizeof(char *)); in setenv() 135 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/bionic/ |
D | getentropy_linux.c | 221 int fd, cnt, flags; in getentropy_urandom() local 248 if (ioctl(fd, RNDGETENTCNT, &cnt) == -1) { in getentropy_urandom() 346 static int cnt; in getentropy_fallback() local 373 cnt += (int)tv.tv_sec; in getentropy_fallback() 374 cnt += (int)tv.tv_usec; in getentropy_fallback() 440 mo = cnt % in getentropy_fallback() 443 cnt += (int)((long)(mm[m].p) in getentropy_fallback() 453 cnt += (int)ts.tv_nsec; in getentropy_fallback() 459 cnt += (int)ru.ru_utime.tv_sec; in getentropy_fallback() 460 cnt += (int)ru.ru_utime.tv_usec; in getentropy_fallback() [all …]
|
/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/kernel/uapi/linux/ |
D | ion.h | 63 __u32 cnt; member
|
/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()
|