Searched defs:len (Results 1 - 25 of 5216) sorted by last modified time

1234567891011>>

/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/aztec/ ...
/external/yaffs2/yaffs2/mtdemul/
H A Dnandemul2k.c280 static int nand_read (struct mtd_info *mtd, loff_t from, size_t len,
282 static int nand_read_ecc (struct mtd_info *mtd, loff_t from, size_t len,
284 static int nand_read_oob (struct mtd_info *mtd, loff_t from, size_t len,
286 static int nand_write (struct mtd_info *mtd, loff_t to, size_t len,
288 static int nand_write_ecc (struct mtd_info *mtd, loff_t to, size_t len,
291 static int nand_write_oob (struct mtd_info *mtd, loff_t to, size_t len,
308 static int nand_read (struct mtd_info *mtd, loff_t from, size_t len, argument
311 return nand_read_ecc (mtd, from, len, retlen, buf, NULL,NULL);
318 static int nand_read_ecc (struct mtd_info *mtd, loff_t from, size_t len, argument
322 int n = len;
376 nand_read_oob(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) argument
411 nand_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument
420 nand_write_ecc(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf, u_char *oob_buf, struct nand_oobinfo *dummy) argument
480 nand_write_oob(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument
[all...]
/external/yaffs2/yaffs2/utils/
H A Dmkyaffs2image.c621 int len = strlen(dir); local
623 if((len >= 4) && (!strcmp(dir + len - 4, "data"))) {
624 source_path_len = len - 4;
625 } else if((len >= 6) && (!strcmp(dir + len - 6, "system"))) {
626 source_path_len = len - 6;
/external/zlib/src/contrib/blast/
H A Dblast.c127 int len; /* current number of bits in code */ local
128 int code; /* len bits being decoded */
129 int first; /* first code of length len */
130 int count; /* number of codes of length len */
131 int index; /* index of first code of length len in symbol table */
139 len = 1;
146 if (code < first + count) { /* if length len, return symbol */
148 s->bitcnt = (s->bitcnt - len) & 7;
155 len++;
157 left = (MAXBITS+1) - len;
190 int len; /* current length when stepping through h->count[] */ local
283 int len; /* length for copy */ local
424 outf(void *how, unsigned char *buf, unsigned len) argument
[all...]
/external/zlib/src/contrib/infback9/
H A Dinfback9.c246 unsigned len; /* length to copy for repeats, bits to drop */ local
403 len = (unsigned)(state->lens[state->have - 1]);
410 len = 0;
417 len = 0;
427 state->lens[state->have++] = (unsigned short)len;
H A Dinftree9.c40 unsigned len; /* a code's length in bits */ local
109 for (len = 0; len <= MAXBITS; len++)
110 count[len] = 0;
126 for (len = 1; len <= MAXBITS; len++) {
128 left -= count[len];
136 for (len
[all...]
/external/zlib/src/contrib/inflate86/
H A Dinffas86.c95 /*108 64 */ unsigned len; /* r14 match length */ member in struct:inffast_ar
150 /* r14d = len */
222 " movl %%eax, %%r14d\n" /* len = this */
223 " shrl $16, %%r14d\n" /* len = this.val */
239 " addl %%eax, %%r14d\n" /* len += hold & mask[op] */
287 " movl %%r14d, %%ecx\n" /* ecx = len */
292 " jnc .L_copy_two\n" /* if len % 2 == 0 */
314 " movl %%r14d, %%ecx\n" /* ecx = len */
337 " addl %%r14d, %%eax\n" /* eax += len */
372 " movl %%r14d, %%eax\n" /* eax = len */
[all...]
H A Dinffast.S180 #define len 24 /* unsigned int */ define
484 /* regs: %esi = in, %ebp = hold, %bl = bits, %edi = out, %edx = len
487 * len = this.val
494 * len += hold & mask[op];
500 movl %eax, len_r /* len = this */
501 shrl $16, len_r /* len = this.val */
527 addl %eax, len_r /* len += hold & mask[op] */
530 movl len_r, len(%esp) /* save len */
619 * } while (--len >
[all...]
/external/zlib/src/contrib/iostream2/
H A Dzstream.h87 int read(void* buf, size_t len) { argument
88 return ::gzread(m_fp, buf, len);
139 zstringlen len(zs);
140 ::gzread(zs.fp(), x, len.value());
141 x[len.value()] = '\0';
146 zstringlen len(zs);
147 char* x = new char[len.value()+1];
148 ::gzread(zs.fp(), x, len.value());
149 x[len.value()] = '\0';
208 int write(const void* buf, size_t len) { argument
[all...]
/external/zlib/src/contrib/masmx64/
H A Dinffas8664.c100 /*108 64 */ unsigned len; /* r14 match length */ member in struct:inffast_ar
167 ar.len = ar.bits >> 3;
168 ar.in -= ar.len;
169 ar.bits -= ar.len << 3;
/external/zlib/src/contrib/minizip/
H A Dminiunz.c143 int len = (int)strlen(newdir); local
145 if (len <= 0)
148 buffer = (char*)malloc(len+1);
156 if (buffer[len-1] == '/') {
157 buffer[len-1] = '\0';
H A Dminizip.c111 int len = strlen(f); local
112 if (len > MAXFILENAME)
113 len = MAXFILENAME;
119 if (name[len - 1] == '/')
120 name[len - 1] = '\0';
320 int i,len; local
328 len=(int)strlen(filename_try);
329 for (i=0;i<len;i++)
H A Dunzip.c1677 len the size of buf.
1684 extern int ZEXPORT unzReadCurrentFile (unzFile file, voidp buf, unsigned len) argument
1701 if (len==0)
1706 pfile_in_zip_read_info->stream.avail_out = (uInt)len;
1708 if ((len>pfile_in_zip_read_info->rest_read_uncompressed) &&
1713 if ((len>pfile_in_zip_read_info->rest_read_compressed+
1951 if buf!=NULL, len is the size of the buffer, the extra header is copied in
1956 extern int ZEXPORT unzGetLocalExtrafield (unzFile file, voidp buf, unsigned len) argument
1977 if (len>size_to_read)
1980 read_now = (uInt)len ;
[all...]
H A Dzip.c225 local int add_data_in_datablock(linkedlist_data* ll, const void* buf, uLong len) argument
243 while (len>0)
258 if (ldi->avail_in_this_block < len)
261 copy_this = (uInt)len;
271 len -= copy_this;
1402 extern int ZEXPORT zipWriteInFileInZip (zipFile file,const void* buf,unsigned int len) argument
1414 zi->ci.crc32 = crc32(zi->ci.crc32,buf,(uInt)len);
1420 zi->ci.bstream.avail_in = len;
1454 zi->ci.stream.avail_in = len;
/external/zlib/src/contrib/puff/
H A Dpuff.c166 unsigned len; /* length of stored block */ local
175 len = s->in[s->incnt++];
176 len |= s->in[s->incnt++] << 8;
177 if (s->in[s->incnt++] != (~len & 0xff) ||
178 s->in[s->incnt++] != ((~len >> 8) & 0xff))
181 /* copy len bytes from in to out */
182 if (s->incnt + len > s->inlen)
185 if (s->outcnt + len > s->outlen)
187 while (len--)
191 s->outcnt += len;
237 int len; /* current number of bits in code */ local
265 int len; /* current number of bits in code */ local
343 int len; /* current length when stepping through h->count[] */ local
441 int len; /* length for copy */ local
705 int len; /* last length to repeat */ local
[all...]
H A Dpufftest.c57 failure. *len is the number of bytes of data read from the input file (even
59 or read, *len is zero. */
60 local void *load(const char *name, size_t *len) argument
66 *len = 0;
73 *len += fread((char *)buf + *len, 1, size - *len, in);
74 if (*len < size) break;
76 if (size == *len || (swap = realloc(buf, size)) == NULL) {
94 size_t len local
[all...]
/external/zlib/src/contrib/untgz/
H A Duntgz.c332 int len = strlen(buffer); local
334 if (len <= 0) {
338 if (buffer[len-1] == '/') {
339 buffer[len-1] = '\0';
389 int len; local
404 len = gzread(in, &buffer, BLOCKSIZE);
405 if (len < 0)
411 if (len != BLOCKSIZE)
427 if (len == 0 || buffer.header.name[0] == 0)
511 len
[all...]
/external/zlib/src/
H A Ddeflate.c645 unsigned len; local
649 len = s->pending;
650 if (len > strm->avail_out) len = strm->avail_out;
651 if (len == 0) return;
653 zmemcpy(strm->next_out, s->pending_out, len);
654 strm->next_out += len;
655 s->pending_out += len;
656 strm->total_out += len;
657 strm->avail_out -= len;
1081 unsigned len = strm->avail_in; local
1155 register int len; /* length of current match */ local
1303 register int len; /* length of current match */ local
[all...]
H A Ddeflate.h72 ush len; /* length of bit string */ member in union:ct_data_s::__anon34351
79 #define Len dl.len
331 { uch len = (length); \
334 s->l_buf[s->last_lit++] = len; \
336 s->dyn_ltree[_length_code[len]+LITERALS+1].Freq++; \
/external/zlib/src/examples/
H A Denough.c51 that root-bit prefix. If that longest code has length len, then the table
52 has size 1 << (len - root), to index the remaining bits in that set of
113 size_t len; /* length of bit vector in char's */ member in struct:tab
120 left: number of available bit patterns at length len
121 len: number of bits in the codes currently being assigned
127 len: 1..max - 1 (max == maximum code length in bits)
134 len is less than max, since the code completes immediately when len == max.
137 first one (syms) being outermost, and the last one (len) being innermost.
138 We build the array with length max-1 lists for the len inde
203 count(int syms, int len, int left) argument
258 beenhere(int syms, int len, int left, int mem, int rem) argument
322 examine(int syms, int len, int left, int mem, int rem) argument
[all...]
H A Dgun.c92 unsigned len; local
98 len = 0;
101 if ((unsigned)ret > SIZE - len)
102 ret = (int)(SIZE - len);
105 len = 0;
109 len += ret;
110 } while (ret != 0 && len < SIZE);
111 return len;
131 local int out(void *out_desc, unsigned char *buf, unsigned len) argument
137 me->crc = crc32(me->crc, buf, len);
386 unsigned have, flags, len; local
633 int ret, len, test; local
[all...]
H A Dgzappend.c122 /* rotate list[0..len-1] left by rot positions, in place */
123 local void rotate(unsigned char *list, unsigned len, unsigned rot) argument
130 if (len < 2) return;
131 if (rot >= len) rot %= len;
135 last = list + (len - 1);
140 memcpy(list, list + 1, len - 1);
146 if (rot == len - 1) {
148 memmove(list + 1, list, len - 1);
154 cycles = gcd(len, ro
182 int len; local
390 int fd, len, ret; local
[all...]
H A Dgzjoin.c123 long len; local
131 len = (long)read(in->fd, in->buf + in->left, CHUNK - in->left);
132 if (len < 0)
134 in->left += (unsigned)len;
135 } while (len != 0 && in->left < CHUNK);
136 return len == 0 ? 1 : 0;
222 unsigned len; local
224 len = bget(in);
225 len += (unsigned)(bget(in)) << 8;
226 bskip(in, len);
288 z_off_t len; /* length of uncompressed data (support > 4 GB) */ local
[all...]
H A Dgzlog.c464 int back, len, mask; local
469 len = back > 8 ? 2 : 1; /* bytes back from log->last */
476 if (back != 8 && (lseek(log->fd, log->last - len, SEEK_SET) < 0 ||
485 buf[2 - len] = (*buf & (mask - 1)) + (last ? mask : 0);
491 return lseek(log->fd, log->last - len, SEEK_SET) < 0 ||
492 write(log->fd, buf + 2 - len, len + 4) != len + 4 ||
496 /* Append len bytes from data to the locked and open log file. len ma
501 log_append(struct log *log, unsigned char *data, size_t len) argument
608 log_compress(struct log *log, unsigned char *data, size_t len) argument
742 size_t len = 0; local
912 size_t len, next; local
995 gzlog_write(gzlog *logd, void *data, size_t len) argument
[all...]
H A Dzran.c242 /* Use the index to read len bytes from offset into buf, return bytes read or
245 than len, indicating how much as actually read into buf. This function
250 unsigned char *buf, int len)
259 if (len < 0)
297 strm.avail_out = len;
343 ret = skip ? 0 : len - strm.avail_out;
356 int len; local
374 len = build_index(in, SPAN, &index);
375 if (len < 0) {
377 switch (len) {
249 extract(FILE *in, struct access *index, off_t offset, unsigned char *buf, int len) argument
[all...]

Completed in 213 milliseconds

1234567891011>>