/external/regex-re2/re2/testing/ |
regexp_test.cc | 49 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/ |
compression.c | 15 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/examples/ |
zpipe.c | 39 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)) {
|
fitblk.c | 131 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);
|
zran.c | 49 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...] |
/hardware/akm/AK8975_FS/akmdfs/AKFS_APIs_8975/ |
AKFS_Direction.c | 95 AKFVEC have, aave; local 109 if (AKFS_VbAve(nhvec, hvec, hnave, &have) != AKFS_SUCCESS) { 120 AKFS_Azimuth(&have, pitchRad, rollRad, &azimuthRad);
|
/external/zlib/src/contrib/infback9/ |
inflate9.h | 42 unsigned have; /* number of code lengths in lens[] */ member in struct:inflate_state
|
/bootable/recovery/applypatch/ |
imgpatch.cpp | 127 // deflate chunks have an additional 60 bytes in their chunk header. 187 // We should have filled the output buffer exactly, except 243 ssize_t have = temp_data.size() - strm.avail_out; local 245 if (sink(temp_data.data(), have, token) != have) { 246 printf("failed to write %zd compressed bytes to output\n", have); 249 if (ctx) SHA1_Update(ctx, temp_data.data(), have);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/ |
gzwrite.c | 75 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 = (unsigned)((strm->next_in + strm->avail_in) - state->in); 249 unsigned have; local [all...] |
infback.c | 133 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...] |
inflate.c | 101 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/dhcpcd-6.8.2/crypt/ |
md5.c | 182 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/openssh/openbsd-compat/ |
md5.c | 71 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);
|
rmd160.c | 112 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/ |
gzwrite.c | 75 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 = (unsigned)((strm->next_in + strm->avail_in) - state->in) 249 unsigned have; local [all...] |
infback.c | 133 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/zlib/src/ |
gzwrite.c | 75 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 = (unsigned)((strm->next_in + strm->avail_in) - state->in) 249 unsigned have; local [all...] |
infback.c | 133 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...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/ |
infback.c | 124 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...] |
inflate.c | 100 local unsigned syncsearch OF((unsigned FAR *have, unsigned char FAR *buf,
408 have = strm->avail_in; \
419 strm->avail_in = have; \
435 if (have == 0) goto inf_leave; \
436 have--; \
515 would all have to actually be part of the saved state in case NEEDBITS()
561 unsigned have, left; /* available input and output */
local 584 in = have;
683 if (copy > have) copy = have;
[all...] |
inflate.h | 110 unsigned have; /* number of code lengths in lens[] */
member in struct:inflate_state
|
/external/libmicrohttpd/src/testcurl/ |
test_put_chunked.c | 15 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/ |
test_put_chunked.c | 15 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;
|
/external/syslinux/com32/lib/zlib/ |
infback.c | 124 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...] |
/external/wpa_supplicant_8/src/crypto/ |
md4-internal.c | 113 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);
|