Searched refs:inbuf (Results 1 - 18 of 18) sorted by relevance

/haiku/src/libs/iconv/
H A Dloop_wchar.h135 const char* * inbuf, size_t *inbytesleft,
141 const wchar_t * inptr = (const wchar_t *) *inbuf;
166 for (fallback_inptr = (const wchar_t *) *inbuf;
178 *inbuf = (const char *) (inptr + 1);
222 *inbuf = (const char *) inptr;
319 const char* * inbuf, size_t *inbytesleft,
328 const char* inptr = *inbuf;
365 wcd->parent.fallbacks.mb_to_wc_fallback(*inbuf, incount,
378 *inbuf += incount;
402 *inbuf
134 wchar_from_loop_convert(iconv_t icd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft) argument
318 wchar_to_loop_convert(iconv_t icd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft) argument
429 wchar_id_loop_convert(iconv_t icd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft) argument
[all...]
H A Diconv.c58 const char* * inbuf, size_t *inbytesleft,
448 ICONV_CONST char* * inbuf, size_t *inbytesleft,
452 if (inbuf == NULL || *inbuf == NULL)
456 (const char* *)inbuf,inbytesleft,
447 iconv(iconv_t icd, ICONV_CONST char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft) argument
H A Dloop_unicode.h270 const char* * inbuf, size_t *inbytesleft,
275 const unsigned char* inptr = (const unsigned char*) *inbuf;
420 *inbuf = (const char*) inptr;
269 unicode_loop_convert(iconv_t icd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft) argument
/haiku/headers/libs/iconv/
H A Diconv.h59 starting at `*inbuf', writing at most `*outbytesleft' bytes starting at
61 Decrements `*inbytesleft' and increments `*inbuf' by the same amount.
66 extern size_t iconv(iconv_t cd, char* * inbuf, size_t *inbytesleft,
97 bytes from inbuf and may produce replacement Unicode characters by calling
100 (const char* inbuf, size_t inbufsize,
117 a wide character. This function should process all bytes from inbuf and may
121 (const char* inbuf, size_t inbufsize,
/haiku/src/system/libroot/posix/glibc/iconv/
H A Dgconv_int.h70 const unsigned char **inbuf, \
/haiku/src/system/libnetwork/netresolv/inet/
H A Dinet_net_ntop.c177 unsigned char inbuf[16]; local
197 memcpy(inbuf, src, p);
198 memset(inbuf + p, 0, 16 - p);
202 inbuf[p-1] &= m;
205 s = inbuf;
/haiku/src/bin/unzip/
H A Dprocess.c182 G.inbuf = (uch *)malloc(INBUFSIZ + 4); /* 4 extra for hold[] (below) */
185 if ((G.inbuf == (uch *)NULL) || (G.outbuf == (uch *)NULL)) {
190 G.hold = G.inbuf + INBUFSIZ; /* to check for boundary-spanning sigs */
507 if (G.inbuf)
508 free(G.inbuf);
509 G.inbuf = G.outbuf = (uch *)NULL;
631 G.inptr = G.inbuf;
908 if ((G.incnt = read(G.zipfd,(char *)G.inbuf,(unsigned int)G.ziplen))
912 for (G.inptr = G.inbuf+(int)G.ziplen-(ECREC_SIZE+4);
913 G.inptr >= G.inbuf;
[all...]
H A Dfileio.c452 * checks. Call defer_leftover_input() if you ever have filled G.inbuf
526 if ((G.incnt = read(G.zipfd, (char *)G.inbuf, INBUFSIZ)) == 0)
537 G.inptr = G.inbuf;
558 int readbyte(__G) /* refill inbuf and return a byte if available, else EOF */
569 if ((G.incnt = read(G.zipfd, (char *)G.inbuf, INBUFSIZ)) == 0) {
586 G.inptr = G.inbuf;
619 int fillinbuf(__G) /* like readbyte() except returns number of bytes in inbuf */
623 (G.incnt = read(G.zipfd, (char *)G.inbuf, INBUFSIZ)) <= 0)
626 G.inptr = G.inbuf;
699 if ((G.incnt = read(G.zipfd, (char *)G.inbuf, INBUFSI
[all...]
H A Dfunzip.c196 * bytes in inbuf. */
199 if ((G.incnt = fread((char *)G.inbuf, 1, INBUFSIZ, G.in)) <= 0)
201 G.inptr = G.inbuf;
481 if ((G.inbuf = (uch *)malloc(INBUFSIZ)) == (uch *)NULL)
H A Dglobals.h231 uch *inbuf; /* input buffer (any size is OK) */ member in struct:Globals
H A Dextract.c516 read(G.zipfd, (char *)G.inbuf, INBUFSIZ); /* been here before... */
525 printf("inptr-inbuf = %d\n", G.inptr-G.inbuf);
915 if ((G.incnt = read(G.zipfd,(char *)G.inbuf,INBUFSIZ)) <= 0)
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;
H A Dcrypt.c543 GLOBAL(cur_zipfile_bufstart)+(GLOBAL(inptr)-GLOBAL(inbuf))));
H A Dcryptf.c546 GLOBAL(cur_zipfile_bufstart)+(GLOBAL(inptr)-GLOBAL(inbuf))));
H A Dinflate.c468 G.incnt = (G.inbuf + INBUFSIZ) - G.inptr; /* reset for other routines */
H A Dinflatef.c226 G.incnt = (G.inbuf + INBUFSIZ) - G.inptr; /* reset for other routines */
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dcompress.c89 const unsigned char *inbuf; member in struct:COMPRESS_CONTEXT
152 const u8 * const inbuf = pctx->inbuf; local
153 const u8 * const strptr = &inbuf[i]; /* String we're matching against */
185 matchptr = &inbuf[cur_match];
256 hash = ntfs_hash(pctx->inbuf + i);
276 static unsigned int ntfs_compress_block(const char *inbuf, const int bufsize, argument
304 pctx->inbuf = (const unsigned char*)inbuf;
383 outbuf[xout++] = inbuf[
981 read_clusters(ntfs_volume *vol, const runlist_element *rl, s64 offs, u32 to_read, char *inbuf) argument
1068 ntfs_comp_set(ntfs_attr *na, runlist_element *rl, s64 offs, u32 insz, const char *inbuf) argument
1687 char *inbuf; local
1884 char *inbuf; local
[all...]
/haiku/src/libs/libtelnet/
H A Dkerberos5.c501 krb5_data inbuf; local
503 inbuf.data = (char *)data;
504 inbuf.length = cnt;
535 &inbuf);
630 krb5_data inbuf; local
633 inbuf.length = cnt;
634 inbuf.data = (char *)data;
636 ret = krb5_rd_rep(context, auth_context, &inbuf, &reply);
/haiku/src/libs/stdc++/legacy/
H A Diostream.cc445 register streambuf* inbuf = rdbuf(); local
448 register int ch = inbuf->sbumpc();

Completed in 209 milliseconds