Searched refs:slen (Results 1 – 7 of 7) sorted by relevance
/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/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() 133 mkostemps(char *path, int slen, int flags) in mkostemps() argument 135 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/upstream-freebsd/lib/libc/stdlib/ |
D | realpath.c | 57 int m, slen; in realpath() local 176 slen = readlink(resolved, symlink, sizeof(symlink) - 1); in realpath() 177 if (slen < 0) { in realpath() 182 symlink[slen] = '\0'; in realpath() 200 if (symlink[slen - 1] != '/') { in realpath() 201 if (slen + 1 >= sizeof(symlink)) { in realpath() 207 symlink[slen] = '/'; in realpath() 208 symlink[slen + 1] = 0; in realpath()
|
/bionic/libc/include/ |
D | string.h | 215 size_t slen = __builtin_strlen(src); in stpncpy() local 216 if (__builtin_constant_p(slen)) { in stpncpy() 236 size_t slen = __builtin_strlen(src); in strncpy() local 237 if (__builtin_constant_p(slen)) { in strncpy() 310 size_t slen = __builtin_strlen(s); in strlen() local 311 if (__builtin_constant_p(slen)) { in strlen() 312 return slen; in strlen() 329 size_t slen = __builtin_strlen(s); in strchr() local 330 if (__builtin_constant_p(slen) && (slen < bos)) { in strchr() 348 size_t slen = __builtin_strlen(s); in strrchr() local [all …]
|
/bionic/libc/bionic/ |
D | libc_logging.cpp | 247 int slen; in out_vformat() local 392 slen = strlen(str); in out_vformat() 398 if (slen < width && !padLeft) { in out_vformat() 400 SendRepeat(o, padChar, width - slen); in out_vformat() 403 o.Send(str, slen); in out_vformat() 405 if (slen < width && padLeft) { in out_vformat() 407 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)) 271 p->slen = 0; in regcomp() 1661 (void)memcpy(p->strip + p->slen, p->strip + start, in dupl() 1663 p->slen += len; in dupl() 1691 if (p->slen >= p->ssize) in doemit() 1696 p->strip[p->slen++] = (sop)SOP(op, opnd); in doemit() [all …]
|
/bionic/libc/dns/resolv/ |
D | res_send.c | 178 socklen_t slen; in random_bind() local 186 slen = sizeof u.sin; in random_bind() 190 slen = sizeof u.sin6; in random_bind() 206 if ( !bind( s, &u.sa, slen ) ) in random_bind() 217 return bind( s, &u.sa, slen ); in random_bind()
|