Searched defs:have (Results 1 - 25 of 46) sorted by relevance

12

/external/regex-re2/re2/testing/
H A Dregexp_test.cc49 const map<string, int>* have = x->NamedCaptures(); local
50 EXPECT_TRUE(have != NULL);
51 EXPECT_EQ(2, have->size()); // there are only two named groups in
56 EXPECT_EQ(want, *have);
58 delete have;
68 const map<int, string>* have = x->CaptureNames(); local
69 EXPECT_TRUE(have != NULL);
70 EXPECT_EQ(3, have->size());
76 EXPECT_EQ(want, *have);
78 delete have;
[all...]
/external/libmicrohttpd/src/microspdy/
H A Dcompression.c15 You should have received a copy of the GNU General Public License
259 unsigned int have; local
295 have = SPDYF_ZLIB_CHUNK - strm->avail_out;
298 *dest_size += have;
306 memcpy((*dest) + ((*dest_size) - have), out, have);
310 * have been used. */
357 uint32_t have; local
424 have = SPDYF_ZLIB_CHUNK - strm->avail_out;
425 *dest_size += have;
[all...]
/external/zlib/src/contrib/infback9/
H A Dinflate9.h42 unsigned have; /* number of code lengths in lens[] */ member in struct:inflate_state
H A Dinfback9.c127 if (have == 0) { \
128 have = in(in_desc, &next); \
129 if (have == 0) { \
142 have--; \
227 unsigned have; /* available input */ local
264 have = next != Z_NULL ? strm->avail_in : 0;
331 if (copy > have) copy = have;
334 have -= copy;
361 state->have
[all...]
/external/zlib/src/examples/
H A Dzpipe.c39 unsigned have; local
69 have = CHUNK - strm.avail_out;
70 if (fwrite(out, 1, have, dest) != have || ferror(dest)) {
95 unsigned have; local
135 have = CHUNK - strm.avail_out;
136 if (fwrite(out, 1, have, dest) != have || ferror(dest)) {
H A Dfitblk.c131 unsigned have; /* bytes written by deflate() call */ local
165 have = size + EXCESS - def.avail_out;
166 if (fwrite(blk, 1, have, stdout) != have || ferror(stdout))
175 size - have, size);
218 have = size - def.avail_out;
219 if (fwrite(blk, 1, have, stdout) != have || ferror(stdout))
231 size - have, size, def.total_in);
H A Dzran.c49 not be constrained to have access points at block boundaries, but requires
76 int have; /* number of list entries filled in */ member in struct:access
107 index->have = 0;
111 else if (index->have == index->size) {
121 /* fill in entry and increment how many we have */
122 next = index->list + index->have;
130 index->have++;
229 index->list = realloc(index->list, sizeof(struct point) * index->have);
230 index->size = index->have;
264 ret = index->have;
[all...]
H A Dgun.c155 #define NEXT() (have ? 0 : (have = in(indp, &next)), \
156 last = have ? (have--, (int)(*next++)) : -1)
160 have offset the index, but it's faster to waste the memory */
175 if (chunk > have) { \
176 chunk -= have; \
177 have = 0; \
181 if (chunk > have) { \
182 chunk = have
200 lunpipe(unsigned have, z_const unsigned char *next, struct ind *indp, int outfile, z_stream *strm) argument
386 unsigned have, flags, len; local
[all...]
/external/dhcpcd-6.8.2/crypt/
H A Dmd5.c182 size_t have, need; local
184 /* Check how many bytes we already have and how many more we need. */
185 have = (size_t)((ctx->count >> 3) & (MD5_BLOCK_LENGTH - 1));
186 need = MD5_BLOCK_LENGTH - have;
192 if (have != 0) {
193 memcpy(ctx->buffer + have, input, need);
197 have = 0;
210 memcpy(ctx->buffer + have, input, len);
/external/zlib/src/
H A Dgzwrite.c75 unsigned have; local
100 have = (unsigned)(strm->next_out - state->x.next);
101 if (have && ((got = write(state->fd, state->x.next, have)) < 0 ||
102 (unsigned)got != have)) {
114 have = strm->avail_out;
121 have -= strm->avail_out;
122 } while (have);
210 unsigned have, copy; local
214 have
249 unsigned have; local
[all...]
H A Dinfback.c133 have = strm->avail_in; \
144 strm->avail_in = have; \
160 if (have == 0) { \
161 have = in(in_desc, &next); \
162 if (have == 0) { \
175 have--; \
260 unsigned have, left; /* available input and output */ local
283 have = next != Z_NULL ? strm->avail_in : 0;
345 if (copy > have) copy = have;
[all...]
/external/deqp/modules/glshared/
H A DglsFboCompletenessTests.hpp70 void setHaveMulticolorAtts (bool have) { m_haveMultiColorAtts = have; } argument
/external/openssh/openbsd-compat/
H A Dmd5.c71 size_t have, need; local
73 /* Check how many bytes we already have and how many more we need. */
74 have = (size_t)((ctx->count >> 3) & (MD5_BLOCK_LENGTH - 1));
75 need = MD5_BLOCK_LENGTH - have;
81 if (have != 0) {
82 memcpy(ctx->buffer + have, input, need);
86 have = 0;
99 memcpy(ctx->buffer + have, input, len);
H A Drmd160.c112 size_t have, off, need; local
114 have = (ctx->count / 8) % RMD160_BLOCK_LENGTH;
115 need = RMD160_BLOCK_LENGTH - have;
120 if (have) {
121 memcpy(ctx->buffer + have, input, need);
124 have = 0;
133 memcpy(ctx->buffer + have, input+off, len-off);
/external/pdfium/third_party/zlib_v128/
H A Dgzread.c24 unsigned *have)
28 *have = 0;
30 ret = read(state->fd, buf + *have, len - *have);
33 *have += ret;
34 } while (*have < len);
77 /* Look for gzip header, set up for inflate or copy. state->x.have must be 0.
149 state->x.have = 0;
159 state->x.have = strm->avail_in;
168 On return, state->x.have an
20 gz_load( gz_statep state, unsigned char *buf, unsigned len, unsigned *have) argument
[all...]
H A Dgzwrite.c75 unsigned have; local
100 have = (unsigned)(strm->next_out - state->x.next);
101 if (have && ((got = write(state->fd, state->x.next, have)) < 0 ||
102 (unsigned)got != have)) {
114 have = strm->avail_out;
121 have -= strm->avail_out;
122 } while (have);
210 unsigned have, copy; local
214 have
249 unsigned have; local
[all...]
H A Dinfback.c133 have = strm->avail_in; \
144 strm->avail_in = have; \
160 if (have == 0) { \
161 have = in(in_desc, &next); \
162 if (have == 0) { \
175 have--; \
260 unsigned have, left; /* available input and output */ local
283 have = next != Z_NULL ? strm->avail_in : 0;
345 if (copy > have) copy = have;
[all...]
H A Dinflate.c101 local unsigned syncsearch OF((unsigned FAR *have, const unsigned char FAR *buf,
464 have = strm->avail_in; \
475 strm->avail_in = have; \
491 if (have == 0) goto inf_leave; \
492 have--; \
566 would all have to actually be part of the saved state in case NEEDBITS()
612 unsigned have, left; /* available input and output */ local
635 in = have;
736 if (copy > have) copy = have;
[all...]
/external/syslinux/com32/lib/zlib/
H A Dinfback.c124 have = strm->avail_in; \
135 strm->avail_in = have; \
151 if (have == 0) { \
152 have = in(in_desc, &next); \
153 if (have == 0) { \
166 have--; \
251 unsigned have, left; /* available input and output */ local
274 have = next != Z_NULL ? strm->avail_in : 0;
336 if (copy > have) copy = have;
[all...]
H A Dinflate.c100 local unsigned syncsearch OF((unsigned FAR *have, unsigned char FAR *buf,
443 have = strm->avail_in; \
454 strm->avail_in = have; \
470 if (have == 0) goto inf_leave; \
471 have--; \
550 would all have to actually be part of the saved state in case NEEDBITS()
596 unsigned have, left; /* available input and output */ local
619 in = have;
720 if (copy > have) copy = have;
[all...]
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dmd4-internal.c113 size_t have, need; local
115 /* Check how many bytes we already have and how many more we need. */
116 have = (size_t)((ctx->count >> 3) & (MD4_BLOCK_LENGTH - 1));
117 need = MD4_BLOCK_LENGTH - have;
123 if (have != 0) {
124 os_memcpy(ctx->buffer + have, input, need);
128 have = 0;
141 os_memcpy(ctx->buffer + have, input, len);
/external/wpa_supplicant_8/src/crypto/
H A Dmd4-internal.c113 size_t have, need; local
115 /* Check how many bytes we already have and how many more we need. */
116 have = (size_t)((ctx->count >> 3) & (MD4_BLOCK_LENGTH - 1));
117 need = MD4_BLOCK_LENGTH - have;
123 if (have != 0) {
124 os_memcpy(ctx->buffer + have, input, need);
128 have = 0;
141 os_memcpy(ctx->buffer + have, input, len);
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dmd4-internal.c113 size_t have, need; local
115 /* Check how many bytes we already have and how many more we need. */
116 have = (size_t)((ctx->count >> 3) & (MD4_BLOCK_LENGTH - 1));
117 need = MD4_BLOCK_LENGTH - have;
123 if (have != 0) {
124 os_memcpy(ctx->buffer + have, input, need);
128 have = 0;
141 os_memcpy(ctx->buffer + have, input, len);
/external/libmicrohttpd/src/testcurl/
H A Dtest_put_chunked.c15 You should have received a copy of the GNU General Public License
94 int have; local
100 have = *upload_data_size;
101 if (have + *done > 8)
106 if (0 == memcmp (upload_data, &"Hello123"[*done], have))
108 *done += have;
/external/libmicrohttpd/src/testzzuf/
H A Dtest_put_chunked.c15 You should have received a copy of the GNU General Public License
89 int have; local
95 have = *upload_data_size;
96 if (have + *done > 8)
100 if (0 == memcmp (upload_data, &"Hello123"[*done], have))
102 *done += have;

Completed in 480 milliseconds

12