Home
last modified time | relevance | path

Searched refs:slen (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dmktemp.c45 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/
Dhostent.h77 #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/
Dasync_safe_log.cpp256 int slen; in out_vformat() local
434 slen = strlen(str); in out_vformat()
440 if (slen < width && !padLeft) { in out_vformat()
442 SendRepeat(o, padChar, width - slen); in out_vformat()
445 o.Send(str, slen); in out_vformat()
447 if (slen < width && padLeft) { in out_vformat()
449 SendRepeat(o, padChar, width - slen); in out_vformat()
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dregcomp.c112 sopno slen; /* malloced strip length (used) */ member
218 #define HERE() (p->slen)
219 #define THERE() (p->slen - 1)
220 #define THERETHERE() (p->slen - 2)
221 #define DROP(n) (p->slen -= (n))
321 p->slen = 0; in regcomp_internal()
1859 (void) memcpy(p->strip + p->slen,
1861 p->slen += len;
1886 if (p->slen >= p->ssize)
1891 p->strip[p->slen++] = (sopno)SOP(op, opnd);
[all …]
/bionic/libc/dns/resolv/
Dres_send.c166 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()