/external/zxing/core/ |
H A D | core.jar | ... .google.zxing.Reader reader
int i
int size
private com.google.zxing.Result decodeInternal (com |
/external/yaffs2/yaffs2/direct/ |
H A D | dtest.c | 63 void make_pattern_file(char *fn,int size) argument 69 yaffs_lseek(outh,size-1,SEEK_SET); 72 for(i = 0; i < size; i+=256) 87 int size; local 91 size = yaffs_lseek(h,0,SEEK_END); 93 for(i = 0; i < size; i+=256) 100 printf("pattern check failed on file %s, size %d at position %d. Got %x instead of %x\n", 101 fn,size,i,marker,~i); 117 int size; local 145 int size; local [all...] |
/external/zlib/src/contrib/dotzlib/DotZLib/ |
H A D | Deflater.cs | 22 private static extern int deflateInit_(ref ZStream sz, int level, string vs, int size);
argument
|
H A D | Inflater.cs | 22 private static extern int inflateInit_(ref ZStream sz, string vs, int size);
argument
|
/external/zlib/src/contrib/infback9/ |
H A D | infback9.c | 56 unsigned sym, bits, low, size; local 89 size = 1U << 9; 90 printf(" static const code lenfix[%u] = {", size); 96 if (++low == size) break; 100 size = 1U << 5; 101 printf("\n static const code distfix[%u] = {", size); 107 if (++low == size) break;
|
/external/zlib/src/contrib/minizip/ |
H A D | ioapi.c | 88 static uLong ZCALLBACK fread_file_func OF((voidpf opaque, voidpf stream, void* buf, uLong size)); 89 static uLong ZCALLBACK fwrite_file_func OF((voidpf opaque, voidpf stream, const void* buf,uLong size)); 132 static uLong ZCALLBACK fread_file_func (voidpf opaque, voidpf stream, void* buf, uLong size) argument 135 ret = (uLong)fread(buf, 1, (size_t)size, (FILE *)stream); 139 static uLong ZCALLBACK fwrite_file_func (voidpf opaque, voidpf stream, const void* buf, uLong size) argument 142 ret = (uLong)fwrite(buf, 1, (size_t)size, (FILE *)stream);
|
H A D | iowin32.c | 36 uLong ZCALLBACK win32_read_file_func OF((voidpf opaque, voidpf stream, void* buf, uLong size)); 37 uLong ZCALLBACK win32_write_file_func OF((voidpf opaque, voidpf stream, const void* buf, uLong size)); 197 uLong ZCALLBACK win32_read_file_func (voidpf opaque, voidpf stream, void* buf,uLong size) argument 206 if (!ReadFile(hFile, buf, size, &ret, NULL)) 219 uLong ZCALLBACK win32_write_file_func (voidpf opaque,voidpf stream,const void* buf,uLong size) argument 228 if (!WriteFile(hFile, buf, size, &ret, NULL))
|
H A D | zip.c | 62 # define ALLOC(size) (malloc(size)) 144 uLong size_centralheader; /* size of the central header for cur file */ 485 ZPOS64_T uMaxBack=0xffff; /* maximum size of global comment */ 547 ZPOS64_T uMaxBack=0xffff; /* maximum size of global comment */ 645 ZPOS64_T size_central_dir; /* size of the central directory */ 690 /* size of zip64 end of central directory record */ 721 /* size of the central directory */ 769 /* size of the central directory */ 984 // CRC / Compressed size / Uncompresse 1954 int size = 0; local [all...] |
/external/zlib/src/contrib/puff/ |
H A D | pufftest.c | 33 /* Return size times approximately the cube root of 2, keeping the result as 1, 34 3, or 5 times a power of 2 -- the result is always > size, until the result 37 local size_t bythirds(size_t size) argument 42 m = size; 46 return size + 1; 48 m = size >> n; 51 return m > size ? m : (size_t)(-1); 62 size_t size; local 67 buf = malloc(size = 4096); 73 *len += fread((char *)buf + *len, 1, size [all...] |
/external/zlib/src/contrib/untgz/ |
H A D | untgz.c | 74 char size[12]; /* 124 */ member in struct:tar_header 400 printf(" date time size file\n" 470 remaining = getoct(buffer.header.size,12); 505 remaining = getoct(buffer.header.size,12);
|
/external/zlib/src/examples/ |
H A D | enough.c | 1 /* enough.c -- determine the maximum size of inflate's Huffman code tables over 14 1.3 17 Feb 2008 Add argument for initial root table size 15 Fix bug for initial root table size == max - 1 24 maximum code length in bits to determine the maximum table size for zilb's 50 level table. The size of that table is determined by the longest code with 52 has size 1 << (len - root), to index the remaining bits in that set of 79 size is recalled in order to avoid recalculating from the same juncture. 141 count() for the index, and the calculation of size in main() for the size 157 vector is of a variable size, an 173 local size_t size; /* number of elements in num and done */ variable [all...] |
H A D | fitblk.c | 1 /* fitblk.c: example of fitting compressed output to a specified size 8 Use fixed-size, stack-allocated raw buffers 14 /* Approach to just fitting a requested compressed size: 18 nearly the requested output block size. The first pass generates 20 output size plus a specfied excess amount (see the EXCESS define 26 The last deflate block of the result will be of a comparable size 31 requested size minus an amount to allow the compressed stream to 34 requested size. Assuming sufficient input and a requested size 39 before filling the requested output size, the 130 unsigned size; /* requested fixed output block size */ local [all...] |
H A D | gzappend.c | 172 int size; /* 1 << size is bytes in buf */ member in struct:__anon34352 184 len = read(in->fd, in->buf, 1 << in->size); 208 bypass = n & ~((1U << in->size) - 1); 274 gz.size = LGCHUNK;
|
H A D | zran.c | 63 #define WINSIZE 32768U /* sliding window size */ 64 #define CHUNK 16384 /* file input buffer size */ 77 int size; /* number of list entries allocated */ member in struct:access 106 index->size = 8; 111 else if (index->have == index->size) { 112 index->size <<= 1; 113 next = realloc(index->list, sizeof(struct point) * index->size); 230 index->size = index->have; 232 return index->size;
|
/external/zlib/src/ |
H A D | gzguts.h | 113 extern voidp malloc OF((uInt size)); 145 /* default i/o buffer size -- double this for output when reading (this and 171 unsigned size; /* buffer size, zero if not allocated yet */ member in struct:__anon34354 172 unsigned want; /* requested buffer size, default is GZBUFSIZE */
|
H A D | gzwrite.c | 14 state->size to non-zero. Return -1 on failure or 0 on success. */ 53 state->size = state->want; 57 strm->avail_out = state->size; 79 if (state->size == 0 && gz_init(state) == -1) 107 strm->avail_out = state->size; 148 n = GT_OFF(state->size) || (z_off64_t)state->size > len ? 149 (unsigned)len : state->size; 196 if (state->size == 0 && gz_init(state) == -1) 207 if (len < state->size) { 312 int size, len; local 393 int size, len; local [all...] |
H A D | inflate.c | 256 thereafter. This reduces the size of the code by about 2K bytes, in 327 unsigned low, size; local 340 size = 1U << 9; 341 printf(" static const code lenfix[%u] = {", size); 347 if (++low == size) break; 351 size = 1U << 5; 352 printf("\n static const code distfix[%u] = {", size); 358 if (++low == size) break; 377 The advantage may be dependent on the size of the processor's data caches. 676 strm->msg = (char *)"invalid window size"; [all...] |
H A D | zutil.c | 220 voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, unsigned items, unsigned size) argument 223 ulg bsize = (ulg)items*size; 279 voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, uInt items, uInt size) argument 282 return _halloc((long)items, size); 299 extern voidp malloc OF((uInt size)); 300 extern voidp calloc OF((uInt items, uInt size)); 304 voidpf ZLIB_INTERNAL zcalloc (opaque, items, size) 307 unsigned size; 309 if (opaque) items += size - size; /* mak [all...] |
/external/zlib/src/test/ |
H A D | infcover.c | 58 size_t size; /* requested size of allocation */ member in struct:mem_item 71 local void *mem_alloc(void *mem, unsigned count, unsigned size) argument 76 size_t len = count * (size_t)size; 96 item->size = len; 103 zone->total += item->size; 144 zone->total -= next->size; 278 parameter to inflateInit2(), len is the size of the output buffer, and err 371 inf("", "bad window size", 0, 1, 0, Z_STREAM_ERROR); 402 inf("8 99", "set window size fro 510 unsigned len, size; local [all...] |
/external/zopfli/src/zopfli/ |
H A D | deflate.c | 103 is a null pointer, only returns the size and runs faster. 260 size_t size = EncodeTree(ll_lengths, d_lengths, local 263 if (bestsize == 0 || size < bestsize) { 264 bestsize = size; 275 Gives the exact size of the tree, in bits, as it will be encoded in DEFLATE. 283 size_t size = EncodeTree(ll_lengths, d_lengths, local 286 if (result == 0 || size < result) result = size; 294 end code 256. expected_data_size is the uncompressed block size, used for 346 Calculates size o [all...] |
H A D | katajainen.c | 48 int size; /* Size of the memory pool. */ member in struct:NodePool 69 if (pool->next >= &pool->nodes[pool->size]) { 72 for (i = 0; i < pool->size; i++) { 227 pool.size = 2 * maxbits * (maxbits + 1); 228 pool.nodes = (Node*)malloc(pool.size * sizeof(*pool.nodes)); 230 for (i = 0; i < pool.size; i++) {
|
H A D | lz77.c | 28 store->size = 0; 43 (unsigned short*)malloc(sizeof(*dest->litlens) * source->size); 44 dest->dists = (unsigned short*)malloc(sizeof(*dest->dists) * source->size); 48 dest->size = source->size; 49 for (i = 0; i < source->size; i++) { 61 size_t size2 = store->size; /* Needed for using ZOPFLI_APPEND_DATA twice. */ 62 ZOPFLI_APPEND_DATA(length, &store->litlens, &store->size); 231 size_t pos, size_t size, size_t limit, 253 assert(pos + *length <= size); 229 ZopfliFindLongestMatch(ZopfliBlockState* s, const ZopfliHash* h, const unsigned char* array, size_t pos, size_t size, size_t limit, unsigned short* sublen, unsigned short* distance, unsigned short* length) argument [all...] |
H A D | lz77.h | 39 Parameter size: The size of both the litlens and dists arrays. 48 size_t size; member in struct:ZopfliLZ77Store 82 size: size of the data 93 size_t pos, size_t size, size_t limit, 109 ll_count: count of each lit/len symbol, must have size 288 (see deflate 111 d_count: count of each dist symbol, must have size 32 (see deflate standard)
|
H A D | squeeze.c | 204 length_array: output array of size (inend - instart) which will receive the best 310 byte. The path will be filled with the lengths to use, so its data size will be 313 static void TraceBackwards(size_t size, const unsigned short* length_array, argument 315 size_t index = size; 316 if (size == 0) return; 401 for (i = 0; i < store->size; i++) { 423 pathsize: pointer to the size of the dynamic path array 424 length_array: array if size (inend - instart) used to store lengths 462 /* Try randomizing the costs a bit once the size stabilizes. */ 488 0, currentstore.size, [all...] |
H A D | zlib_container.c | 29 static unsigned adler32(const unsigned char* data, size_t size) argument 35 while (size > 0) { 36 size_t amount = size > sums_overflow ? sums_overflow : size; 37 size -= amount;
|