Searched refs:cnt (Results 1 – 9 of 9) sorted by relevance
/bionic/libc/stdlib/ |
D | setenv.c | 62 size_t cnt; in setenv() local 67 cnt = P - environ; in setenv() 68 P = (char **)realloc(lastenv, sizeof(char *) * (cnt + 2)); in setenv() 72 memcpy(P, environ, cnt * sizeof(char *)); in setenv() 74 offset = cnt; in setenv() 75 environ[cnt + 1] = NULL; in setenv()
|
/bionic/libc/kernel/arch-arm/asm/ |
D | semaphore.h | 29 #define __SEMAPHORE_INIT(name, cnt) { .count = ATOMIC_INIT(cnt), .wait = __WAIT_QUEUE_HEAD_INI… argument
|
/bionic/libc/unistd/ |
D | exec.c | 136 int cnt, lp, ln, len; in execvp() local 212 for (cnt = 0; argv[cnt]; ++cnt) in execvp() 214 memp = alloca((cnt + 2) * sizeof(char *)); in execvp() 219 bcopy(argv + 1, memp + 2, cnt * sizeof(char *)); in execvp()
|
D | syslog.c | 108 int cnt; in vsyslog_r() local 226 cnt = p - tbuf; in vsyslog_r() 233 iov[0].iov_len = cnt - (stdp - tbuf); in vsyslog_r() 252 if ((error = send(data->log_file, tbuf, cnt, 0)) < 0) { in vsyslog_r() 259 if ((error = send(data->log_file, tbuf, cnt, 0)) >= 0) in vsyslog_r() 275 iov[0].iov_len = cnt - (p - tbuf); in vsyslog_r()
|
/bionic/libc/kernel/arch-sh/asm/ |
D | system.h | 57 unsigned long (*from)(void *dst, const void *src, unsigned long cnt); 58 unsigned long (*to)(void *dst, const void *src, unsigned long cnt);
|
/bionic/linker/ |
D | linker.c | 148 HOODLUM(calloc, void *, (size_t cnt, size_t size)); 755 int cnt; in get_lib_extents() local 777 for (cnt = 0; cnt < ehdr->e_phnum; ++cnt, ++phdr) { in get_lib_extents() 896 int cnt; in load_segments() local 911 for (cnt = 0; cnt < ehdr->e_phnum; ++cnt, ++phdr) { in load_segments() 1069 int cnt; 1080 for(cnt = 0, shdr = shdr_start; cnt < ehdr->e_shnum; ++cnt, ++shdr) { 1096 int cnt; in load_library() local 1115 if ((cnt = read(fd, &__header[0], PAGE_SIZE)) < 0) { in load_library()
|
/bionic/libc/netbsd/isc/ |
D | ev_streams.c | 50 evConsIovec(void *buf, size_t cnt) { in evConsIovec() argument 55 ret.iov_len = cnt; in evConsIovec()
|
/bionic/libc/netbsd/resolv/ |
D | res_init.c | 775 res_setservers(res_state statp, const union res_sockaddr_union *set, int cnt) { in res_setservers() argument 786 for (i = 0; i < cnt && nserv < MAXNS; i++) { in res_setservers() 828 res_getservers(res_state statp, union res_sockaddr_union *set, int cnt) { in res_getservers() argument 833 for (i = 0; i < statp->nscount && i < cnt; i++) { in res_getservers()
|
/bionic/libc/kernel/common/linux/ |
D | bio.h | 157 atomic_t cnt; member
|