Searched defs:pos (Results 1 - 25 of 2508) sorted by last modified time

1234567891011>>

/external/xz-embedded/linux/lib/xz/
H A Dxz_dec_bcj.c45 uint32_t pos; member in struct:xz_dec_bcj
132 dest = src - (s->pos + (uint32_t)i + 5);
169 instr -= s->pos + (uint32_t)i;
242 addr -= s->pos + (uint32_t)i;
275 addr -= s->pos + (uint32_t)i + 8;
301 addr -= s->pos + (uint32_t)i + 4;
325 instr -= s->pos + (uint32_t)i;
338 * Apply the selected BCJ filter. Update *pos and s->pos to match the amount
346 uint8_t *buf, size_t *pos, size_
345 bcj_apply(struct xz_dec_bcj *s, uint8_t *buf, size_t *pos, size_t size) argument
[all...]
H A Dxz_dec_lzma2.c32 * start <= pos <= full <= end
33 * pos <= limit <= end
52 size_t pos; member in struct:dictionary
294 dict->pos = 0;
302 if (dict->end - dict->pos <= out_max)
305 dict->limit = dict->pos + out_max;
311 return dict->pos < dict->limit;
322 size_t offset = dict->pos - dist - 1;
324 if (dist >= dict->pos)
335 dict->buf[dict->pos
[all...]
H A Dxz_dec_stream.c42 uint32_t pos; member in struct:xz_dec
137 size_t pos; member in struct:xz_dec::__anon27463
164 * must have set s->temp.pos to indicate how much data we are supposed
165 * to copy into s->temp.buf. Return true once s->temp.pos has reached
171 b->in_size - b->in_pos, s->temp.size - s->temp.pos);
173 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size);
175 s->temp.pos += copy_size;
177 if (s->temp.pos == s->temp.size) {
178 s->temp.pos = 0;
191 if (s->pos
[all...]
H A Dxz_dec_test.c103 size_t size, loff_t *pos)
102 xz_dec_test_write(struct file *file, const char __user *buf, size_t size, loff_t *pos) argument
/external/zlib/src/contrib/minizip/
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 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/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 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/
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 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 Dlz77.c95 void ZopfliVerifyLenDist(const unsigned char* data, size_t datasize, size_t pos, argument
101 assert(pos + length <= datasize);
103 if (data[pos - dist + i] != data[pos + i]) {
104 assert(data[pos - dist + i] == data[pos + i]);
163 size_t pos, size_t* limit,
167 size_t lmcpos = pos - s->blockstart;
207 size_t pos, size_t limit,
212 size_t lmcpos = pos
162 TryGetFromLongestMatchCache(ZopfliBlockState* s, size_t pos, size_t* limit, unsigned short* sublen, unsigned short* distance, unsigned short* length) argument
206 StoreInLongestMatchCache(ZopfliBlockState* s, size_t pos, size_t limit, const unsigned short* sublen, unsigned short distance, unsigned short length) argument
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 Dsqueeze.c338 size_t i, j, pos = 0; local
355 pos = instart;
360 assert(pos < inend);
362 ZopfliUpdateHash(in, pos, inend, h);
368 ZopfliFindLongestMatch(s, h, in, pos, inend, length, 0,
371 ZopfliVerifyLenDist(in, inend, pos, dist, length);
376 ZopfliStoreLitLenDist(in[pos], 0, store);
381 assert(pos + length <= inend);
383 ZopfliUpdateHash(in, pos + j, inend, h);
386 pos
[all...]
/external/zopfli/src/zopflipng/lodepng/
H A Dlodepng.cpp1087 size_t* pos, size_t inlength, unsigned btype)
1106 if((*pos) >= out->size)
1109 if(!ucvector_resize(out, ((*pos) + 1) * 2)) ERROR_BREAK(83 /*alloc fail*/);
1111 out->data[(*pos)] = (unsigned char)(code_ll);
1112 (*pos)++;
1150 start = (*pos);
1153 if((*pos) + length >= out->size)
1156 if(!ucvector_resize(out, ((*pos) + length) * 2)) ERROR_BREAK(83 /*alloc fail*/);
1161 out->data[(*pos)] = out->data[backward];
1162 (*pos)
1086 inflateHuffmanBlock(ucvector* out, const unsigned char* in, size_t* bp, size_t* pos, size_t inlength, unsigned btype) argument
1186 inflateNoCompression(ucvector* out, const unsigned char* in, size_t* bp, size_t* pos, size_t inlength) argument
1223 size_t pos = 0; /*byte position in the out buffer*/ local
1386 getHash(const unsigned char* data, size_t size, size_t pos) argument
1403 countZeros(const unsigned char* data, size_t size, size_t pos) argument
1435 unsigned pos, i, error = 0; local
4256 unsigned pos = 0, i; local
[all...]
H A Dlodepng_util.cpp219 size_t pos = 0; local
228 filterTypes[j].push_back(data[pos]);
229 pos += linebytes;
362 size_t bp = 0, pos = 0; //bit pointer and byte pointer local
367 size_t uncomprblockstart = pos;
375 else if(BTYPE == 0) inflateNoCompression(out, &in[inpos], bp, pos, in.size());
376 else inflateHuffmanBlock(out, &in[inpos], bp, pos, in.size(), BTYPE);
377 size_t uncomprblocksize = pos - uncomprblockstart;
481 const unsigned char* in, size_t& bp, size_t& pos, size_t inlength, unsigned long btype)
501 pos
480 inflateHuffmanBlock(std::vector<unsigned char>& out, const unsigned char* in, size_t& bp, size_t& pos, size_t inlength, unsigned long btype) argument
533 inflateNoCompression(std::vector<unsigned char>& out, const unsigned char* in, size_t& bp, size_t& pos, size_t inlength) argument
[all...]
/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/oned/ ...
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap_server_tls.c215 const u8 *pos; local
219 pos = eap_hdr_validate(EAP_VENDOR_UNAUTH_TLS,
223 pos = eap_hdr_validate(EAP_VENDOR_WFA_NEW,
227 pos = eap_hdr_validate(EAP_VENDOR_IETF, data->eap_type,
229 if (pos == NULL || len < 1) {
257 const u8 *pos; local
278 pos = wpabuf_head(buf);
279 if (*pos != data->eap_type) {
282 *pos);
H A Deap_server_tls_common.c335 const u8 **pos, size_t *left)
338 const u8 *end = *pos + *left;
346 tls_msg_len = WPA_GET_BE32(*pos);
349 *pos += 4;
374 eap_server_tls_process_cont(data, *pos, end - *pos) < 0)
379 *pos, end - *pos) < 0)
393 wpabuf_set(&data->tmpbuf, *pos, end - *pos);
334 eap_server_tls_reassemble(struct eap_ssl_data *data, u8 flags, const u8 **pos, size_t *left) argument
433 const u8 *pos; local
[all...]
H A Deap_server_tnc.c327 const u8 *pos; local
330 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TNC, respData,
332 if (pos == NULL) {
345 if ((*pos & EAP_TNC_VERSION_MASK) != EAP_TNC_VERSION) {
347 *pos & EAP_TNC_VERSION_MASK);
351 if (*pos & EAP_TNC_FLAGS_START) {
450 const u8 *pos, *end; local
456 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TNC, respData, &len);
457 if (pos == NULL)
460 end = pos
[all...]
H A Deap_server_ttls.c136 u8 *pos; local
144 pos = eap_ttls_avp_hdr(wpabuf_mhead(avp), avp_code, 0, mandatory,
146 os_memcpy(pos, wpabuf_head(resp), wpabuf_len(resp));
147 pos += wpabuf_len(resp);
148 AVP_PAD((const u8 *) wpabuf_head(avp), pos);
150 wpabuf_put(avp, pos - (u8 *) wpabuf_head(avp));
181 u8 *pos; local
184 pos = wpabuf_mhead(buf);
192 avp = (struct ttls_avp *) pos;
319 pos
429 u8 *req, *pos, *end; local
515 const u8 *pos; local
853 u8 *pos; local
1194 const u8 *pos; local
[all...]
H A Deap_server_vendor_test.c94 const u8 *pos; local
97 pos = eap_hdr_validate(EAP_VENDOR_ID, EAP_VENDOR_TYPE, respData, &len);
98 if (pos == NULL || len < 1) {
111 const u8 *pos; local
114 pos = eap_hdr_validate(EAP_VENDOR_ID, EAP_VENDOR_TYPE, respData, &len);
115 if (pos == NULL || len < 1)
119 if (*pos == 2)
124 if (*pos == 4)
H A Deap_server_wsc.c276 const u8 *pos; local
279 pos = eap_hdr_validate(EAP_VENDOR_WFA, EAP_VENDOR_TYPE_WSC,
281 if (pos == NULL || len < 2) {
352 const u8 *start, *pos, *end; local
365 pos = eap_hdr_validate(EAP_VENDOR_WFA, EAP_VENDOR_TYPE_WSC,
367 if (pos == NULL || len < 2)
370 start = pos;
373 op_code = *pos++;
374 flags = *pos++;
376 if (end - pos <
[all...]

Completed in 270 milliseconds

1234567891011>>