/external/ipsec-tools/src/racoon/ |
D | logger.c | 64 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/mksh/src/ |
D | strlcpy.c | 30 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/ |
D | strlcpy.c | 48 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-subzero/lib/Support/ |
D | regstrlcpy.c | 29 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/ |
D | regstrlcpy.c | 29 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/lib/Support/ |
D | regstrlcpy.c | 29 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-7.0/llvm/lib/Support/ |
D | regstrlcpy.c | 29 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/wpa_supplicant_8/src/crypto/ |
D | random.c | 183 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/openssh/openbsd-compat/ |
D | strlcpy.c | 33 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()
|
D | strlcat.c | 35 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()
|
D | vis.c | 174 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/ |
D | strlcpy.c | 47 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()
|
D | strlcat.c | 48 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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-c-test/ |
D | disassemble.c | 38 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/tools/llvm-c-test/ |
D | disassemble.c | 38 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/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_sync_test.cc | 26 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/syzkaller/vendor/github.com/golang/protobuf/proto/ |
D | message_set.go | 159 siz := u.sizeMessageSet(exts) 160 b := make([]byte, 0, siz) 176 siz := u.sizeMessageSet(&ie) 177 b := make([]byte, 0, siz)
|
D | table_marshal.go | 2200 siz := u.size(p) 2201 return siz + SizeVarint(uint64(siz)) + tagsize 2209 siz := u.cachedsize(p) 2210 b = appendVarint(b, uint64(siz)) 2225 siz := u.size(v) 2226 n += siz + SizeVarint(uint64(siz)) + tagsize 2238 siz := u.cachedsize(v) 2239 b = appendVarint(b, uint64(siz)) 2289 … siz := keySizer(kaddr, 1) + valSizer(vaddr, 1) // tag of key = 1 (size=1), tag of val = 2 (size=1) 2290 n += siz + SizeVarint(uint64(siz)) + tagsize [all …]
|
D | encode.go | 206 siz := Size(pb) 207 p.EncodeVarint(uint64(siz))
|
/external/python/cpython2/Lib/ |
D | dumbdbm.py | 122 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/golang-protobuf/proto/ |
D | table_marshal.go | 2223 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 …]
|
D | encode.go | 191 siz := Size(pb) 192 p.EncodeVarint(uint64(siz))
|
/external/python/cpython3/Lib/dbm/ |
D | dumb.py | 153 pos, siz = self._index[key] # may raise KeyError 156 dat = f.read(siz) 212 pos, siz = self._index[key] 213 oldblocks = (siz + _BLOCKSIZE - 1) // _BLOCKSIZE
|
/external/wpa_supplicant_8/src/utils/ |
D | os_win32.c | 243 size_t os_strlcpy(char *dest, const char *src, size_t siz) in os_strlcpy() argument 246 size_t left = siz; in os_strlcpy() 258 if (siz != 0) in os_strlcpy()
|
/external/syzkaller/vendor/golang.org/x/sys/unix/ |
D | syscall_dragonfly.go | 34 const siz = unsafe.Sizeof(mib[0]) 44 n := uintptr(CTL_MAXNAME) * siz 57 return buf[0 : n/siz], nil
|