Home
last modified time | relevance | path

Searched refs:siz (Results 1 – 25 of 46) 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/opencv3/3rdparty/libjasper/
Djpc_cs.c312 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 …]
Djpc_enc.c890 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 …]
Djpc_dec.c1162 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/
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/libedit/src/
Dstrlcat.c45 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()
Dstrlcpy.c43 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/
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.c47 _event_strlcpy(dst, src, siz) in _event_strlcpy() argument
50 size_t siz;
54 register size_t n = siz;
66 if (siz != 0)
Dstrlcpy-internal.h12 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/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.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()
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/
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/opencv3/modules/shape/src/
Daff_trans.cpp113 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/
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/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/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/wpa_supplicant_8/src/utils/
Dos_win32.c243 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()
Dos_internal.c449 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/
Dprint-icmp6.c1589 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 …]

12