Home
last modified time | relevance | path

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

1234

/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 …]
/external/flac/src/flac/
Dlocal_string_utils.c35 flac__strlcpy(char *dst, const char *src, size_t siz) in flac__strlcpy() argument
39 register size_t n = siz; in flac__strlcpy()
51 if (siz != 0) in flac__strlcpy()
84 flac__strlcat(char *dst, const char *src, size_t siz) in flac__strlcat() argument
88 register size_t n = siz; in flac__strlcat()
95 n = siz - dlen; in flac__strlcat()
Dlocal_string_utils.h25 size_t flac__strlcpy(char *dst, const char *src, size_t siz);
26 size_t flac__strlcat(char *dst, const char *src, size_t siz);
/external/mksh/src/
Dstrlcpy.c30 strlcpy(char *dst, const char *src, size_t siz) in strlcpy() argument
34 if (siz == 0) in strlcpy()
38 while (--siz && (*dst++ = *s++)) in strlcpy()
42 if (siz == 0) { in strlcpy()
/external/libevent/
Dstrlcpy.c48 event_strlcpy_(dst, src, siz) in event_strlcpy_() argument
51 size_t siz;
55 register size_t n = siz;
67 if (siz != 0)
/external/swiftshader/third_party/llvm-10.0/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/swiftshader/third_party/llvm-subzero/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/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/llvm-project/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.c174 strnvis(char *dst, const char *src, size_t siz, int flag) in strnvis() argument
181 for (start = dst, end = start + siz - 1; (c = *src) && dst < end; ) { in strnvis()
206 if (siz > 0) in strnvis()
/external/tcpdump/missing/
Dstrlcpy.c47 strlcpy(char *dst, const char *src, size_t siz) in strlcpy() argument
51 register size_t n = siz; in strlcpy()
63 if (siz != 0) in strlcpy()
Dstrlcat.c48 strlcat(char *dst, const char *src, size_t siz) in strlcat() argument
52 register size_t n = siz; in strlcat()
59 n = siz - dlen; in strlcat()
/external/wpa_supplicant_8/src/crypto/
Drandom.c183 size_t siz, i; in random_get_bytes() local
188 siz = left > EXTRACT_LEN ? EXTRACT_LEN : left; in random_get_bytes()
189 for (i = 0; i < siz; i++) in random_get_bytes()
191 left -= siz; in random_get_bytes()
199 size_t siz, i; in random_get_bytes() local
208 siz = left > EXTRACT_LEN ? EXTRACT_LEN : left; in random_get_bytes()
209 for (i = 0; i < siz; i++) in random_get_bytes()
211 left -= siz; in random_get_bytes()
/external/llvm/tools/llvm-c-test/
Ddisassemble.c38 unsigned char *buf, int siz) { in do_disassemble() argument
50 while (pos < siz) { in do_disassemble()
51 size_t l = LLVMDisasmInstruction(D, buf + pos, siz - pos, 0, outline, in do_disassemble()
/external/llvm-project/llvm/tools/llvm-c-test/
Ddisassemble.c38 unsigned char *buf, int siz) { in do_disassemble() argument
50 while (pos < siz) { in do_disassemble()
51 size_t l = LLVMDisasmInstruction(D, buf + pos, siz - pos, 0, outline, in do_disassemble()
/external/llvm-project/compiler-rt/lib/tsan/tests/unit/
Dtsan_sync_test.cpp25 EXPECT_EQ(mb->siz, 1 * sizeof(u64)); in TEST()
40 EXPECT_EQ(mb1->siz, 1 * sizeof(u64)); in TEST()
42 EXPECT_EQ(mb2->siz, 3 * sizeof(u64)); in TEST()
91 EXPECT_EQ(mb1->siz, 3 * sizeof(u64)); in TEST()
94 EXPECT_EQ(mb2->siz, 1 * sizeof(u64)); in TEST()
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_sync_test.cc26 EXPECT_EQ(mb->siz, 1 * sizeof(u64)); in TEST()
41 EXPECT_EQ(mb1->siz, 1 * sizeof(u64)); in TEST()
43 EXPECT_EQ(mb2->siz, 3 * sizeof(u64)); in TEST()
92 EXPECT_EQ(mb1->siz, 3 * sizeof(u64)); in TEST()
95 EXPECT_EQ(mb2->siz, 1 * sizeof(u64)); in TEST()
/external/usrsctp/usrsctplib/netinet/
Dsctp_sha1.c50 sctp_sha1_update(struct sctp_sha1_context *ctx, const unsigned char *ptr, unsigned int siz) in sctp_sha1_update() argument
52 PK11_DigestOp(ctx->pk11_ctx, ptr, siz); in sctp_sha1_update()
73 sctp_sha1_update(struct sctp_sha1_context *ctx, const unsigned char *ptr, unsigned int siz) in sctp_sha1_update() argument
75 SHA1_Update(&ctx->sha_ctx, ptr, (unsigned long)siz); in sctp_sha1_update()
198 sctp_sha1_update(struct sctp_sha1_context *ctx, const unsigned char *ptr, unsigned int siz) in sctp_sha1_update() argument
202 number_left = siz; in sctp_sha1_update()
/external/python/cpython2/Lib/
Ddumbdbm.py122 pos, siz = self._index[key] # may raise KeyError
125 dat = f.read(siz)
170 pos, siz = self._index[key]
171 oldblocks = (siz + _BLOCKSIZE - 1) // _BLOCKSIZE
/external/python/cpython3/Lib/dbm/
Ddumb.py147 pos, siz = self._index[key] # may raise KeyError
150 dat = f.read(siz)
204 pos, siz = self._index[key]
205 oldblocks = (siz + _BLOCKSIZE - 1) // _BLOCKSIZE
/external/golang-protobuf/proto/
Dtable_marshal.go2223 siz := u.size(p)
2224 return siz + SizeVarint(uint64(siz)) + tagsize
2232 siz := u.cachedsize(p)
2233 b = appendVarint(b, uint64(siz))
2248 siz := u.size(v)
2249 n += siz + SizeVarint(uint64(siz)) + tagsize
2262 siz := u.cachedsize(v)
2263 b = appendVarint(b, uint64(siz))
2312 siz := u.cachedsize(p)
2313 return siz + SizeVarint(uint64(siz)) + tagsize
[all …]
Dencode.go191 siz := Size(pb)
192 p.EncodeVarint(uint64(siz))
/external/llvm-project/libc/AOR_v20.02/math/
Dv_powf.c165 uint32_t si, siz; in V_NAME() local
174 siz = v_get_u32 (iz, lane); in V_NAME()
180 z = (double) as_f32_u32 (siz); in V_NAME()

1234