Searched refs:inptr (Results 1 - 25 of 33) sorted by relevance

12

/haiku-fatelf/src/system/libroot/posix/glibc/iconv/
H A Dgconv_simple.c55 if (__builtin_expect(*inptr > '\x7f', 0)) { \
63 *((uint32_t*)outptr) = *inptr++; \
88 if (__builtin_expect(*((const uint32_t*)inptr) > 0x7f, 0)) { \
89 UNICODE_TAG_HANDLER(*((const uint32_t*)inptr), 4); \
93 *outptr++ = *((const uint32_t*)inptr); \
94 inptr += sizeof(uint32_t); \
122 size_t inLen = inend - inptr; \
125 = __mbrtowc((wchar_t*)outptr, (const char*)inptr, inLen, state); \
134 ++inptr; \
137 inptr
[all...]
H A Dloop.c195 inptr += (Incr); \
221 inptr += Incr; \
237 inptr += Incr; \
261 const unsigned char *inptr = *inptrp; local
268 while (inptr != inend)
274 && __builtin_expect (inptr + MIN_NEEDED_INPUT > inend, 0))
299 *inptrp = inptr;
345 const unsigned char *inptr = *inptrp; local
362 if (__builtin_expect (inptr + (MIN_NEEDED_INPUT - inlen) > inend, 0))
366 inptr
[all...]
H A Dskeleton.c505 const unsigned char *inptr = *inptrp; local
584 && ((uintptr_t) inptr % FROM_LOOP_MIN_NEEDED_FROM != 0
590 || (uintptr_t) inptr % TO_LOOP_MIN_NEEDED_FROM != 0)));
598 inptr = *inptrp;
648 (trans->__data, inptr, *inptrp, outstart, outbuf));
689 *inptrp = inptr;
/haiku-fatelf/src/bin/gzip/
H A Dunzip.c48 * Check zip file and advance inptr to the start of the compressed data.
54 uch *h = inbuf + inptr; /* first local header */
59 inptr += LOCHDR + SH(h + LOCFIL) + SH(h + LOCEXT);
61 if (inptr > insize || LG(h) != LOCSIG) {
96 * the compressed data, from offsets inptr to insize-1 included.
182 if (pkzip && inptr + 4 < insize && LG(inbuf+inptr) == LOCSIG) {
H A Dgzip.h132 extern unsigned inptr; /* index of next byte to be processed in inbuf */
202 #define get_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf(0))
203 #define try_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf(1))
H A Dgzip.c240 unsigned inptr; /* index of next byte to be processed in inbuf */ variable
677 if (!decompress || last_member || inptr == insize) break;
818 if (!decompress || last_member || inptr == insize) break;
1151 * Set inptr to the offset of the next byte to be processed.
1274 header_bytes = inptr + 2*sizeof(long); /* include crc and size */
1277 } else if (memcmp(magic, PKZIP_MAGIC, 2) == 0 && inptr == 2
1282 inptr = 0;
1305 inptr = 0;
H A Dutil.c86 insize = inptr = 0;
112 inptr = 1;
/haiku-fatelf/src/libs/iconv/
H A Dloop_wchar.h141 const wchar_t * inptr = (const wchar_t *) *inbuf; local
148 size_t count = wcrtomb(buf+bufcount,*inptr,&state);
167 fallback_inptr <= inptr;
178 *inbuf = (const char *) (inptr + 1);
191 inptr++;
222 *inbuf = (const char *) inptr;
328 const char* inptr = *inbuf; local
333 &inptr,&inleft,
434 const wchar_t* inptr = (const wchar_t*) *inbuf; local
443 wchar_t wc = *inptr
[all...]
H A Dloop_unicode.h275 const unsigned char* inptr = (const unsigned char*) *inbuf; local
284 incount = cd->ifuncs.xxx_mbtowc(cd,&wc,inptr,inleft);
322 cd->fallbacks.mb_to_uc_fallback(inptr, incount,
418 inptr += incount; inleft -= incount;
420 *inbuf = (const char*) inptr;
/haiku-fatelf/src/bin/coreutils/lib/
H A Dunicodeio.c118 const char *inptr; local
124 inptr = inbuf;
131 (ICONV_CONST char **)&inptr, &inbytesleft,
H A Dstriconv.c68 const char *inptr = src; local
76 (ICONV_CONST char **) &inptr, &insize,
144 const char *inptr = src; local
152 (ICONV_CONST char **) &inptr, &insize,
256 const char *inptr = src;
291 /* Here inptr + inbytes_remaining = src + strlen (src),
294 (ICONV_CONST char **) &inptr, &inbytes_remaining,
/haiku-fatelf/src/libs/print/libgutenprint/src/cups/
H A Di18n.c110 char *inptr, /* Pointer into input buffer */ local
235 inptr = str;
239 iconv(ic, &inptr, &inbytes, &outptr, &outbytes);
353 inptr = str;
357 iconv(ic, &inptr, &inbytes, &outptr, &outbytes);
/haiku-fatelf/src/bin/unzip/
H A Dprocess.c631 G.inptr = G.inbuf;
912 for (G.inptr = G.inbuf+(int)G.ziplen-(ECREC_SIZE+4);
913 G.inptr >= G.inbuf;
914 --G.inptr) {
915 if ( (*G.inptr == (uch)0x50) && /* ASCII 'P' */
916 !strncmp((char *)G.inptr, end_central_sig, 4)) {
917 G.incnt -= (int)(G.inptr - G.inbuf);
942 for (G.inptr = G.inbuf+(int)tail_len-(ECREC_SIZE+4);
943 G.inptr >= G.inbuf;
944 --G.inptr) {
[all...]
H A Dfileio.c478 G.inptr = G.inptr_leftover - (int)G.csize;
499 G.inptr_leftover = G.inptr + (int)G.csize;
537 G.inptr = G.inbuf;
540 memcpy(buf, G.inptr, count);
542 G.inptr += count;
586 G.inptr = G.inbuf;
599 for (n = G.incnt, p = G.inptr; n--; p++)
605 return *G.inptr++;
626 G.inptr = G.inbuf;
634 for (n = G.incnt, p = G.inptr;
[all...]
H A Dgbloffs.c74 printf(out_format, "inptr", (ulg)&G.inptr - (ulg)&G);
H A Dglobals.h232 uch *inptr; /* pointer into input buffer */ member in struct:Globals
H A Dextract.c477 cd_inptr = G.inptr;
517 G.inptr = cd_inptr;
525 printf("inptr-inbuf = %d\n", G.inptr-G.inbuf);
922 G.inptr = G.inbuf + (int)inbuf_offset;
925 G.incnt += (int)(G.inptr-G.inbuf) - (int)inbuf_offset;
926 G.inptr = G.inbuf + (int)inbuf_offset;
1943 uch *old_inptr=G.inptr;
1954 G.inptr = (uch *)src + (2 + 4); /* method and extra_field_crc */
1962 memcpy((char *)tgt, (char *)G.inptr, (exten
[all...]
H A Dcrypt.c543 GLOBAL(cur_zipfile_bufstart)+(GLOBAL(inptr)-GLOBAL(inbuf))));
570 p = GLOBAL(inptr); n--; p++)
H A Dcryptf.c546 GLOBAL(cur_zipfile_bufstart)+(GLOBAL(inptr)-GLOBAL(inbuf))));
573 p = GLOBAL(inptr); n--; p++)
H A Dfunzip.c201 G.inptr = G.inbuf;
208 for (n = G.incnt, p = G.inptr; n--; p++)
/haiku-fatelf/src/tools/docbook/libxml2/
H A Dnanohttp.c145 char *inptr; /* the next byte to read from network */ member in struct:xmlNanoHTTPCtxt
518 ctxt->inptr = ctxt->content = ctxt->inrptr = ctxt->in;
522 int len = ctxt->inptr - ctxt->inrptr;
527 ctxt->inptr -= delta;
529 if ((ctxt->in + ctxt->inlen) < (ctxt->inptr + XML_NANO_HTTP_CHUNK)) {
530 int d_inptr = ctxt->inptr - ctxt->in;
543 ctxt->inptr = ctxt->in + d_inptr;
547 ctxt->last = recv(ctxt->fd, ctxt->inptr, XML_NANO_HTTP_CHUNK, 0);
549 ctxt->inptr += ctxt->last;
614 if (ctxt->inrptr == ctxt->inptr) {
[all...]
/haiku-fatelf/src/libs/edit/
H A Dkey.c369 node__delete(EditLine *el, key_node_t **inptr, const char *str) argument
374 ptr = *inptr;
390 *inptr = ptr->sibling;
401 *inptr = ptr->sibling;
/haiku-fatelf/src/bin/gdb/gdb/
H A Dremote-mips.c128 int *inptr, int inamount, int *recsize,
2894 pmon_make_fastrec (char **outbuf, unsigned char *inbuf, int *inptr,
2905 while ((*recsize < (MAXRECSIZE - CHECKSIZE)) && ((inamount - *inptr) > 0))
2908 if ((inamount - *inptr) < 3)
2913 count = pmon_makeb64 (inbuf[*inptr], &p[2], 12, csum);
2916 (*inptr)++;
2920 unsigned int value = ((inbuf[*inptr + 0] << 16) | (inbuf[*inptr + 1] << 8) | inbuf[*inptr + 2]);
2942 *inptr
2889 pmon_make_fastrec(char **outbuf, unsigned char *inbuf, int *inptr, int inamount, int *recsize, unsigned int *csum, unsigned int *zerofill) argument
[all...]
/haiku-fatelf/src/libs/tiff/
H A Dtif_jpeg.c1026 JSAMPLE *inptr = sp->ds_buffer[ci][sp->scancount*vsamp + ypos]; local
1037 outptr[0] = *inptr++;
1046 outptr[xpos] = *inptr++;
1454 JSAMPLE* inptr; local
1493 inptr = ((JSAMPLE*) buf) + clumpoffset;
1498 *outptr++ = inptr[0];
1499 inptr += samples_per_clump;
1505 *outptr++ = inptr[xpos];
1506 inptr += samples_per_clump;
/haiku-fatelf/src/bin/zip/
H A Dcrypt.c558 GLOBAL(cur_zipfile_bufstart)+(GLOBAL(inptr)-GLOBAL(inbuf))));
585 p = GLOBAL(inptr); n--; p++)

Completed in 251 milliseconds

12