Searched refs:slen (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | mktemp.c | 45 mktemp_internal(char *path, int slen, int mode, int flags) in mktemp_internal() argument 55 if (len < MIN_X || slen < 0 || (size_t)slen > len - MIN_X) { in mktemp_internal() 59 ep = path + len - slen; in mktemp_internal() 131 mkostemps(char *path, int slen, int flags) in mkostemps() argument 133 return(mktemp_internal(path, slen, MKTEMP_FILE, flags)); in mkostemps() 151 mkstemps(char *path, int slen) in mkstemps() argument 153 return(mktemp_internal(path, slen, MKTEMP_FILE, 0)); in mkstemps()
|
/bionic/libc/dns/include/ |
D | hostent.h | 77 #define HENT_COPY(dst, src, slen, ptr, len) \ argument 79 if ((size_t)slen > len) \ 81 memcpy(ptr, src, (size_t)slen); \ 83 ptr += slen; \ 84 len -= slen; \
|
/bionic/libc/async_safe/ |
D | async_safe_log.cpp | 255 int slen; in out_vformat() local 403 slen = strlen(str); in out_vformat() 409 if (slen < width && !padLeft) { in out_vformat() 411 SendRepeat(o, padChar, width - slen); in out_vformat() 414 o.Send(str, slen); in out_vformat() 416 if (slen < width && padLeft) { in out_vformat() 418 SendRepeat(o, padChar, width - slen); in out_vformat()
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | regcomp.c | 114 sopno slen; /* malloced strip length (used) */ member 203 #define HERE() (p->slen) 204 #define THERE() (p->slen - 1) 205 #define THERETHERE() (p->slen - 2) 206 #define DROP(n) (p->slen -= (n)) 270 p->slen = 0; in regcomp() 1660 (void)memcpy(p->strip + p->slen, p->strip + start, in dupl() 1662 p->slen += len; in dupl() 1690 if (p->slen >= p->ssize) in doemit() 1695 p->strip[p->slen++] = (sop)SOP(op, opnd); in doemit() [all …]
|
/bionic/libc/dns/resolv/ |
D | res_send.c | 166 socklen_t slen; in random_bind() local 174 slen = sizeof u.sin; in random_bind() 178 slen = sizeof u.sin6; in random_bind() 194 if ( !bind( s, &u.sa, slen ) ) in random_bind() 205 return bind( s, &u.sa, slen ); in random_bind()
|