Home
last modified time | relevance | path

Searched refs:siz (Results 1 – 25 of 42) sorted by relevance

12

/external/ipsec-tools/src/racoon/
Dlogger.c64 log_open(siz, fname) in log_open() argument
65 size_t siz; in log_open()
75 p->buf = (char **)racoon_malloc(sizeof(char *) * siz);
80 memset(p->buf, 0, sizeof(char *) * siz);
82 p->tbuf = (time_t *)racoon_malloc(sizeof(time_t *) * siz);
88 memset(p->tbuf, 0, sizeof(time_t *) * siz);
90 p->siz = siz;
113 p->head %= p->siz;
194 for (i = 0; i < p->siz; i++) {
195 j = (p->head + i) % p->siz;
[all …]
Dlogger.h39 int siz; member
/external/regex-re2/util/
Dbenchmark.cc66 static void runN(Benchmark *b, int n, int siz) { in runN() argument
74 b->fnr(n, siz); in runN()
95 void RunBench(Benchmark* b, int nthread, int siz) { in RunBench() argument
104 runN(b, n, siz); in RunBench()
114 runN(b, n, siz); in RunBench()
124 if(siz >= (1<<20)) in RunBench()
125 snprintf(suf, sizeof suf, "/%dM", siz/(1<<20)); in RunBench()
126 else if(siz >= (1<<10)) in RunBench()
127 snprintf(suf, sizeof suf, "/%dK", siz/(1<<10)); in RunBench()
129 snprintf(suf, sizeof suf, "/%d", siz); in RunBench()
/external/openssl/crypto/buffer/
Dbuf_str.c69 char *BUF_strndup(const char *str, size_t siz) in BUF_strndup() argument
75 ret=OPENSSL_malloc(siz+1); in BUF_strndup()
81 BUF_strlcpy(ret,str,siz+1); in BUF_strndup()
85 void *BUF_memdup(const void *data, size_t siz) in BUF_memdup() argument
91 ret=OPENSSL_malloc(siz); in BUF_memdup()
97 return memcpy(ret, data, siz); in BUF_memdup()
Dbuffer.h89 char * BUF_strndup(const char *str, size_t siz);
90 void * BUF_memdup(const void *data, size_t siz);
91 void BUF_reverse(unsigned char *out, unsigned char *in, size_t siz);
94 size_t BUF_strlcpy(char *dst,const char *src,size_t siz);
95 size_t BUF_strlcat(char *dst,const char *src,size_t siz);
/external/openssl/include/openssl/
Dbuffer.h89 char * BUF_strndup(const char *str, size_t siz);
90 void * BUF_memdup(const void *data, size_t siz);
91 void BUF_reverse(unsigned char *out, unsigned char *in, size_t siz);
94 size_t BUF_strlcpy(char *dst,const char *src,size_t siz);
95 size_t BUF_strlcat(char *dst,const char *src,size_t siz);
/external/mksh/src/
Dstrlcpy.c29 strlcpy(char *dst, const char *src, size_t siz) in strlcpy() argument
33 if (siz == 0) in strlcpy()
37 while (--siz && (*dst++ = *s++)) in strlcpy()
41 if (siz == 0) { in strlcpy()
/external/chromium/third_party/libevent/
Dstrlcpy.c49 _event_strlcpy(dst, src, siz) in _event_strlcpy() argument
52 size_t siz;
56 register size_t n = siz;
68 if (siz != 0)
Dstrlcpy-internal.h14 size_t _event_strlcpy(char *dst, const char *src, size_t siz);
/external/llvm/lib/Support/
Dregstrlcpy.c29 llvm_strlcpy(char *dst, const char *src, size_t siz) in llvm_strlcpy() argument
33 size_t n = siz; in llvm_strlcpy()
45 if (siz != 0) in llvm_strlcpy()
/external/openssh/openbsd-compat/
Dstrlcpy.c33 strlcpy(char *dst, const char *src, size_t siz) in strlcpy() argument
37 size_t n = siz; in strlcpy()
49 if (siz != 0) in strlcpy()
Dstrlcat.c35 strlcat(char *dst, const char *src, size_t siz) in strlcat() argument
39 size_t n = siz; in strlcat()
46 n = siz - dlen; in strlcat()
Dvis.c166 strnvis(char *dst, const char *src, size_t siz, int flag) in strnvis() argument
173 for (start = dst, end = start + siz - 1; (c = *src) && dst < end; ) { in strnvis()
199 if (siz > 0) in strnvis()
Dopenbsd-compat.h74 size_t strlcpy(char *dst, const char *src, size_t siz);
79 size_t strlcat(char *dst, const char *src, size_t siz);
/external/tcpdump/missing/
Dstrlcpy.c50 strlcpy(char *dst, const char *src, size_t siz) in strlcpy() argument
54 register size_t n = siz; in strlcpy()
66 if (siz != 0) in strlcpy()
Dstrlcat.c51 strlcat(char *dst, const char *src, size_t siz) in strlcat() argument
55 register size_t n = siz; in strlcat()
62 n = siz - dlen; in strlcat()
/external/wpa_supplicant_8/src/crypto/
Drandom.c171 size_t siz, i; in random_get_bytes() local
176 siz = left > EXTRACT_LEN ? EXTRACT_LEN : left; in random_get_bytes()
177 for (i = 0; i < siz; i++) in random_get_bytes()
179 left -= siz; in random_get_bytes()
186 size_t siz, i; in random_get_bytes() local
195 siz = left > EXTRACT_LEN ? EXTRACT_LEN : left; in random_get_bytes()
196 for (i = 0; i < siz; i++) in random_get_bytes()
198 left -= siz; in random_get_bytes()
/external/svox/pico/lib/
Dpicopal.c107 picopal_int32 picopal_strncmp(const picopal_char *a, const picopal_char *b, picopal_objsize_t siz) { in picopal_strncmp() argument
108 return (picopal_int32)strncmp((const char *)a, (const char *)b, (size_t) siz); in picopal_strncmp()
136 picopal_objsize_t picopal_strlcpy(picopal_char *dst, const picopal_char *src, picopal_objsize_t siz) in picopal_strlcpy() argument
140 picopal_objsize_t n = siz; in picopal_strlcpy()
153 if (siz != 0) { in picopal_strlcpy()
176 picopal_objsize_t picopal_vslprintf(picopal_char * dst, picopal_objsize_t siz, const picopal_char *… in picopal_vslprintf() argument
181 picopal_objsize_t len, nnew, n = siz; in picopal_vslprintf()
237 picopal_objsize_t picopal_slprintf(picopal_char * dst, picopal_objsize_t siz, const picopal_char *f… in picopal_slprintf() argument
242 i = picopal_vslprintf(dst, siz, fmt, args); in picopal_slprintf()
Dpicopal.h128 picopal_int32 picopal_strncmp(const picopal_char *a, const picopal_char *b, picopal_objsize_t siz);
143 picopal_objsize_t picopal_vslprintf(picopal_char * dst, picopal_objsize_t siz, const picopal_char *…
144 picopal_objsize_t picopal_slprintf(picopal_char * dst, picopal_objsize_t siz, const picopal_char *f…
145 picopal_objsize_t picopal_strlcpy(picopal_char *dst, const picopal_char *src, picopal_objsize_t siz
/external/dropbear/
Dcompat.c127 strlcat(dst, src, siz) in strlcat() argument
130 size_t siz;
134 register size_t n = siz;
141 n = siz - dlen;
Dcompat.h35 size_t strlcat(char *dst, const char *src, size_t siz);
/external/bison/m4/
Dgetdelim.m439 size_t siz = 0;
40 int len = getdelim (&line, &siz, '\n', in);
48 size_t siz = (size_t)(~0) / 4;
49 if (getdelim (&line, &siz, '\n', in) == -1)
Dgetline.m446 size_t siz = 0;
47 int len = getline (&line, &siz, in);
55 size_t siz = (size_t)(~0) / 4;
56 if (getline (&line, &siz, in) == -1)
/external/tcpdump/
Dprint-icmp6.c908 size_t siz, i; in icmp6_nodeinfo_print() local
915 siz = ep - bp; in icmp6_nodeinfo_print()
919 if (siz == sizeof(*dp) + 4) { in icmp6_nodeinfo_print()
964 if (siz != sizeof(*ni6)) in icmp6_nodeinfo_print()
974 if (siz == sizeof(*ni6)) { in icmp6_nodeinfo_print()
986 if (siz != sizeof(*ni6) + sizeof(struct in6_addr)) { in icmp6_nodeinfo_print()
1014 if (siz != sizeof(*ni6) + sizeof(struct in_addr)) { in icmp6_nodeinfo_print()
1032 if (icmp6len > siz) { in icmp6_nodeinfo_print()
1052 if (siz != sizeof(*ni6)) in icmp6_nodeinfo_print()
1059 if (siz != sizeof(*ni6)) in icmp6_nodeinfo_print()
[all …]
/external/wpa_supplicant_8/src/utils/
Dos_win32.c213 size_t os_strlcpy(char *dest, const char *src, size_t siz) in os_strlcpy() argument
216 size_t left = siz; in os_strlcpy()
228 if (siz != 0) in os_strlcpy()

12