Searched refs:pos (Results 1 - 25 of 3861) 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/
H A Ddevextras.h189 * @pos: the &struct list_head to use as a loop counter.
192 #define list_for_each(pos, head) \
193 for (pos = (head)->next, prefetch(pos->next); pos != (head); \
194 pos = pos->next, prefetch(pos->next))
199 * @pos: the &struct list_head to use as a loop counter.
203 #define list_for_each_safe(pos,
[all...]
H A Dyaffs_fs.c104 loff_t * pos);
634 loff_t pos = (((loff_t) pg->index) << PAGE_CACHE_SHIFT) + offset; local
638 unsigned spos = pos;
642 (KERN_DEBUG "yaffs_commit_write addr %x pos %x nBytes %d\n", saddr,
645 nWritten = yaffs_file_write(f, addr, nBytes, &pos);
801 loff_t * pos)
819 ipos = *pos;
840 *pos = ipos;
1961 int pos = 0;
1965 while (!done && (pos < coun
800 yaffs_file_write(struct file *f, const char *buf, size_t n, loff_t * pos) argument
[all...]
H A Dyaffs_guts.c762 void yaffs_PutLevel0Tnode(yaffs_Device *dev, yaffs_Tnode *tn, unsigned pos, unsigned val) argument
770 pos &= YAFFS_TNODES_LEVEL0_MASK;
773 bitInMap = pos * dev->tnodeWidth;
791 __u32 yaffs_GetChunkGroupBase(yaffs_Device *dev, yaffs_Tnode *tn, unsigned pos) argument
799 pos &= YAFFS_TNODES_LEVEL0_MASK;
801 bitInMap = pos * dev->tnodeWidth;
/external/yaffs2/yaffs2/direct/
H A Dyaffs_fileem2k.c145 int pos; local
154 pos = (chunkInNAND % (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE)) * PAGE_SIZE;
157 lseek(h,pos,SEEK_SET);
170 pos = (chunkInNAND % (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE)) * PAGE_SIZE + PAGE_DATA_SIZE ;
173 lseek(h,pos,SEEK_SET);
213 int pos; local
223 pos = (chunkInNAND % (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE)) * PAGE_SIZE;
225 lseek(h,pos,SEEK_SET);
233 pos = (chunkInNAND % (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE)) * PAGE_SIZE + PAGE_DATA_SIZE;
235 lseek(h,pos,SEEK_SE
320 int pos; local
[all...]
H A Dyaffsfs.c514 int pos = 0; local
529 pos= h->position;
530 if(yaffs_GetObjectFileLength(obj) > pos)
532 maxRead = yaffs_GetObjectFileLength(obj) - pos;
547 nRead = yaffs_ReadDataFromFile(obj,buf,pos,nbyte);
550 h->position = pos + nRead;
575 int pos = 0; local
596 pos = yaffs_GetObjectFileLength(obj);
600 pos = h->position;
603 nWritten = yaffs_WriteDataToFile(obj,buf,pos,nbyt
654 int pos = -1; local
[all...]
/external/zlib/src/contrib/minizip/
H A Dioapi.h190 //#define ZSEEK64(filefunc,filestream,pos,mode) ((*((filefunc).zseek64_file)) ((filefunc).opaque,filestream,pos,mode))
202 #define ZSEEK64(filefunc,filestream,pos,mode) (call_zseek64((&(filefunc)),(filestream),(pos),(mode)))
H A Diowin32.c240 static BOOL MySetFilePointerEx(HANDLE hFile, LARGE_INTEGER pos, LARGE_INTEGER *newPos, DWORD dwMoveMethod) argument
243 return SetFilePointerEx(hFile, pos, newPos, dwMoveMethod);
245 LONG lHigh = pos.HighPart;
246 DWORD dwNewPos = SetFilePointer(hFile, pos.LowPart, &lHigh, FILE_CURRENT);
268 LARGE_INTEGER pos; local
269 pos.QuadPart = 0;
271 if (!MySetFilePointerEx(hFile, pos, &pos, FILE_CURRENT))
278 ret=(long)pos.LowPart;
292 LARGE_INTEGER pos; local
332 LARGE_INTEGER pos; local
371 LARGE_INTEGER pos; local
[all...]
H A Dminizip.c227 ZPOS64_T pos = 0; local
233 pos = FTELLO_FUNC(pFile);
235 printf("File : %s is %lld bytes\n", filename, pos);
237 if(pos >= 0xffffffff)
H A Dunzip.c173 ZPOS64_T pos_in_central_dir; /* pos of the current file in the central dir*/
2104 extern int ZEXPORT unzSetOffset64(unzFile file, ZPOS64_T pos) argument
2113 s->pos_in_central_dir = pos;
2122 extern int ZEXPORT unzSetOffset (unzFile file, uLong pos) argument
2124 return unzSetOffset64(file,pos);
H A Dunzip.h428 extern int ZEXPORT unzSetOffset64 (unzFile file, ZPOS64_T pos);
429 extern int ZEXPORT unzSetOffset (unzFile file, uLong pos);
H A Dzip.c1758 ZPOS64_T pos = zip64eocd_pos_inzip - zi->add_position_when_writting_offset; local
1768 err = zip64local_putValue(&zi->z_filefunc,zi->filestream, pos,8);
1811 ZPOS64_T pos = centraldir_pos_inzip - zi->add_position_when_writting_offset; local
1812 err = zip64local_putValue(&zi->z_filefunc,zi->filestream, (ZPOS64_T)pos,8);
1852 ZPOS64_T pos = centraldir_pos_inzip - zi->add_position_when_writting_offset; local
1853 if(pos >= 0xffffffff)
1888 ZPOS64_T pos; local
1924 pos = centraldir_pos_inzip - zi->add_position_when_writting_offset;
1925 if(pos >= 0xffffffff || zi->number_entry > 0xFFFF)
/external/zlib/src/contrib/pascal/
H A Dexample.pas88 pos: LongInt;
142 pos := gzseek(zfile, -8, SEEK_CUR);
143 if (pos <> 6) or (gztell(zfile) <> pos) then
145 WriteLn('gzseek error, pos=', pos, ', gztell=', gztell(zfile));
/external/zlib/src/examples/
H A Dgzjoin.c283 int pos; /* where the "last block" bit is in byte */ local
347 pos = strm.data_type & 7;
350 if (pos != 0) {
352 pos = 0x100 >> pos;
353 last = strm.next_in[-1] & pos;
355 in->buf[strm.next_in - in->buf - 1] &= ~pos;
378 pos = strm.data_type & 7;
381 if (pos == 0 || !clr)
386 last &= ((0x100 >> pos)
[all...]
/external/zlib/src/
H A Dgzlib.c86 state->x.pos = 0; /* no uncompressed data yet */
388 offset -= state->x.pos;
395 state->x.pos + offset >= 0) {
405 state->x.pos += offset;
406 return state->x.pos;
413 offset += state->x.pos;
426 state->x.pos += n;
435 return state->x.pos + offset;
464 return state->x.pos + (state->seek ? state->skip : 0);
H A Dgzread.c270 state->x.pos += n;
374 state->x.pos += n;
407 state->x.pos++;
455 state->x.pos--;
477 state->x.pos--;
534 state->x.pos += n;
H A Dgzwrite.c156 state->x.pos += n;
220 state->x.pos += copy;
235 state->x.pos += len;
280 state->x.pos++;
368 state->x.pos += len;
458 state->x.pos += len;
H A Dzlib.h1673 z_off64_t pos; member in struct:gzFile_s
1679 ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : gzgetc(g))
1682 ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : gzgetc(g))
/external/zlib/src/test/
H A Dexample.c125 z_off_t pos;
162 pos = gzseek(file, -8L, SEEK_CUR);
163 if (pos != 6 || gztell(file) != pos) {
164 fprintf(stderr, "gzseek error, pos=%ld, gztell=%ld\n",
165 (long)pos, (long)gztell(file));
/external/zlib/
H A Dzlib.h1673 z_off64_t pos; member in struct:gzFile_s
1679 ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : gzgetc(g))
1682 ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : gzgetc(g))
/external/zopfli/src/zopfli/
H A Dblocksplitter.c66 size_t pos = start; local
88 pos = p[besti];
91 return pos;
159 size_t pos = 0; local
164 ZOPFLI_APPEND_DATA(pos, &splitpoints, &npoints);
167 pos += length;
287 size_t pos = 0; local
315 pos = instart;
320 ZOPFLI_APPEND_DATA(pos, splitpoints, npoints);
323 pos
[all...]
H A Dcache.c49 size_t pos, size_t length,
60 cache = &lmc->sublen[ZOPFLI_CACHE_LENGTH * pos * 3];
78 assert(bestlength == ZopfliMaxCachedSublen(lmc, pos, length));
82 size_t pos, size_t length,
85 unsigned maxlength = ZopfliMaxCachedSublen(lmc, pos, length);
92 cache = &lmc->sublen[ZOPFLI_CACHE_LENGTH * pos * 3];
108 size_t pos, size_t length) {
113 cache = &lmc->sublen[ZOPFLI_CACHE_LENGTH * pos * 3];
48 ZopfliSublenToCache(const unsigned short* sublen, size_t pos, size_t length, ZopfliLongestMatchCache* lmc) argument
81 ZopfliCacheToSublen(const ZopfliLongestMatchCache* lmc, size_t pos, size_t length, unsigned short* sublen) argument
107 ZopfliMaxCachedSublen(const ZopfliLongestMatchCache* lmc, size_t pos, size_t length) argument
H A Dcache.h53 size_t pos, size_t length,
58 size_t pos, size_t length,
62 size_t pos, size_t length);
H A Dhash.c91 void ZopfliUpdateHash(const unsigned char* array, size_t pos, size_t end, argument
93 unsigned short hpos = pos & ZOPFLI_WINDOW_MASK;
98 UpdateHashValue(h, pos + ZOPFLI_MIN_MATCH <= end ?
99 array[pos + ZOPFLI_MIN_MATCH - 1] : 0);
109 if (h->same[(pos - 1) & ZOPFLI_WINDOW_MASK] > 1) {
110 amount = h->same[(pos - 1) & ZOPFLI_WINDOW_MASK] - 1;
112 while (pos + amount + 1 < end &&
113 array[pos] == array[pos + amount + 1] && amount < (unsigned short)(-1)) {
130 void ZopfliWarmupHash(const unsigned char* array, size_t pos, size_ argument
[all...]
H A Dhash.h59 void ZopfliUpdateHash(const unsigned char* array, size_t pos, size_t end,
67 void ZopfliWarmupHash(const unsigned char* array, size_t pos, size_t end,

Completed in 1807 milliseconds

1234567891011>>