/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 …]
|
D | logger.h | 39 int siz; member
|
/external/opencv3/3rdparty/libjasper/ |
D | jpc_cs.c | 312 cstate->numcomps = ms->parms.siz.numcomps; in jpc_getms() 361 cstate->numcomps = ms->parms.siz.numcomps; in jpc_putms() 472 jpc_siz_t *siz = &ms->parms.siz; in jpc_siz_destroyparms() local 473 if (siz->comps) { in jpc_siz_destroyparms() 474 jas_free(siz->comps); in jpc_siz_destroyparms() 481 jpc_siz_t *siz = &ms->parms.siz; in jpc_siz_getparms() local 488 if (jpc_getuint16(in, &siz->caps) || in jpc_siz_getparms() 489 jpc_getuint32(in, &siz->width) || in jpc_siz_getparms() 490 jpc_getuint32(in, &siz->height) || in jpc_siz_getparms() 491 jpc_getuint32(in, &siz->xoff) || in jpc_siz_getparms() [all …]
|
D | jpc_enc.c | 890 jpc_siz_t *siz; in jpc_enc_encodemainhdr() local 932 siz = &enc->mrk->parms.siz; in jpc_enc_encodemainhdr() 933 siz->caps = 0; in jpc_enc_encodemainhdr() 934 siz->xoff = cp->imgareatlx; in jpc_enc_encodemainhdr() 935 siz->yoff = cp->imgareatly; in jpc_enc_encodemainhdr() 936 siz->width = cp->refgrdwidth; in jpc_enc_encodemainhdr() 937 siz->height = cp->refgrdheight; in jpc_enc_encodemainhdr() 938 siz->tilexoff = cp->tilegrdoffx; in jpc_enc_encodemainhdr() 939 siz->tileyoff = cp->tilegrdoffy; in jpc_enc_encodemainhdr() 940 siz->tilewidth = cp->tilewidth; in jpc_enc_encodemainhdr() [all …]
|
D | jpc_dec.c | 1162 jpc_siz_t *siz = &ms->parms.siz; in jpc_dec_process_siz() local 1171 dec->xstart = siz->xoff; in jpc_dec_process_siz() 1172 dec->ystart = siz->yoff; in jpc_dec_process_siz() 1173 dec->xend = siz->width; in jpc_dec_process_siz() 1174 dec->yend = siz->height; in jpc_dec_process_siz() 1175 dec->tilewidth = siz->tilewidth; in jpc_dec_process_siz() 1176 dec->tileheight = siz->tileheight; in jpc_dec_process_siz() 1177 dec->tilexoff = siz->tilexoff; in jpc_dec_process_siz() 1178 dec->tileyoff = siz->tileyoff; in jpc_dec_process_siz() 1179 dec->numcomps = siz->numcomps; in jpc_dec_process_siz() [all …]
|
/external/regex-re2/util/ |
D | benchmark.cc | 66 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/libedit/src/ |
D | strlcat.c | 45 strlcat(char *dst, const char *src, size_t siz) in __weak_alias() 50 size_t n = siz; in __weak_alias() 60 n = siz - dlen; in __weak_alias() 81 size_t dlen = strnlen(dst, siz); in __weak_alias() 87 return dlen + strlcpy(dst + dlen, src, siz - dlen); in __weak_alias()
|
D | strlcpy.c | 43 strlcpy(char *dst, const char *src, size_t siz) in __weak_alias() 47 size_t n = siz; in __weak_alias() 62 if (siz != 0) in __weak_alias()
|
/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 | 47 _event_strlcpy(dst, src, siz) in _event_strlcpy() argument 50 size_t siz; 54 register size_t n = siz; 66 if (siz != 0)
|
D | strlcpy-internal.h | 12 size_t _event_strlcpy(char *dst, const char *src, size_t siz);
|
/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/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/wpa_supplicant_8/src/crypto/ |
D | random.c | 171 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() 187 size_t siz, i; in random_get_bytes() local 196 siz = left > EXTRACT_LEN ? EXTRACT_LEN : left; in random_get_bytes() 197 for (i = 0; i < siz; i++) in random_get_bytes() 199 left -= siz; in random_get_bytes()
|
/external/svox/pico/lib/ |
D | picopal.c | 107 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()
|
D | picopal.h | 128 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/opencv3/modules/shape/src/ |
D | aff_trans.cpp | 113 int siz=2*(int)shape1.size(); in _localAffineEstimate() local 117 Mat matM(siz, 6, CV_32F); in _localAffineEstimate() 118 Mat matP(siz,1,CV_32F); in _localAffineEstimate() 120 for (int ii=0; ii<siz; ii++) in _localAffineEstimate() 147 Mat matM(siz, 4, CV_32F); in _localAffineEstimate() 148 Mat matP(siz,1,CV_32F); in _localAffineEstimate() 150 for (int ii=0; ii<siz; ii++) in _localAffineEstimate()
|
/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/bison/m4/ |
D | getdelim.m4 | 39 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)
|
D | getline.m4 | 46 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/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/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()
|
D | os_internal.c | 449 size_t os_strlcpy(char *dest, const char *src, size_t siz) in os_strlcpy() argument 452 size_t left = siz; in os_strlcpy() 464 if (siz != 0) in os_strlcpy()
|
/external/tcpdump/ |
D | print-icmp6.c | 1589 size_t siz, i; in icmp6_nodeinfo_print() local 1596 siz = ep - bp; in icmp6_nodeinfo_print() 1600 if (siz == sizeof(*dp) + 4) { in icmp6_nodeinfo_print() 1644 if (siz != sizeof(*ni6)) in icmp6_nodeinfo_print() 1654 if (siz == sizeof(*ni6)) { in icmp6_nodeinfo_print() 1666 if (siz != sizeof(*ni6) + sizeof(struct in6_addr)) { in icmp6_nodeinfo_print() 1694 if (siz != sizeof(*ni6) + sizeof(struct in_addr)) { in icmp6_nodeinfo_print() 1712 if (icmp6len > siz) { in icmp6_nodeinfo_print() 1732 if (siz != sizeof(*ni6)) in icmp6_nodeinfo_print() 1739 if (siz != sizeof(*ni6)) in icmp6_nodeinfo_print() [all …]
|