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

/xsrc/local/programs/x11-ssh-askpass/
H A Ddynlist.h32 int append_to_buf(char **buf, int *buflen, int *i, int c);
H A Ddynlist.c58 int append_to_buf(char **buf, int *buflen, int *i, int c) argument
62 if (*i >= *buflen)
64 *buflen += BUF_CHUNK_SIZE;
65 tmp_buf = realloc(*buf, (sizeof(**buf) * *buflen));
76 printf("-->Allocated buffer of size %d\n", *buflen);
/xsrc/external/mit/xsm/dist/
H A Dsaveutil.c61 int buflen;
82 buflen = 0;
85 getnextline(&buf, &buflen, f);
99 getnextline(&buf, &buflen, f);
106 getnextline(&buf, &buflen, f);
112 while(getnextline(&buf, &buflen, f)) {
212 getnextline(&buf, &buflen, f);
223 getnextline(&buf, &buflen, f);
417 int buflen;
443 buflen
59 int buflen; local in function:ReadSave
412 int buflen; local in function:DeleteSession
[all...]
H A Drestart.c528 int buflen, len;
554 buflen = 0;
556 while (getnextline(&buf, &buflen, f))
523 int buflen, len; local in function:StartDefaultApps
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/driver_ddebug/
H A Ddd_util.h55 dd_get_debug_filename_and_mkdir(char *buf, size_t buflen, bool verbose);
H A Ddd_draw.c44 dd_get_debug_filename_and_mkdir(char *buf, size_t buflen, bool verbose) argument
59 util_snprintf(buf, buflen, "%s/%s_%u_%08u", dir, proc_name, getpid(),
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/driver_ddebug/
H A Ddd_util.h56 dd_get_debug_filename_and_mkdir(char *buf, size_t buflen, bool verbose);
H A Ddd_draw.c44 dd_get_debug_filename_and_mkdir(char *buf, size_t buflen, bool verbose) argument
59 snprintf(buf, buflen, "%s/%s_%u_%08u", dir, proc_name, (unsigned int)getpid(),
/xsrc/external/mit/proxymngr/dist/
H A Dconfig.c115 int buflen, n; local in function:GetConfig
125 buflen = 0;
128 while (!found && getnextline (&buf, &buflen, fp))
/xsrc/external/mit/xdm/dist/xdm/
H A Dchoose.c62 int buflen)
67 if (buflen < length * 2 + 1)
82 int buflen)
84 return FormatBytes (a->data, a->length, buf, buflen);
95 int buflen)
100 outlen = snprintf(buf, buflen, "%d.%d.%d.%d",
102 if (outlen >= buflen) {
58 FormatBytes(unsigned char * data,int length,char * buf,int buflen) argument
79 FormatARRAY8(ARRAY8Ptr a,char * buf,int buflen) argument
92 ARRAY8ToDottedDecimal(ARRAY8Ptr a,char * buf,int buflen) argument
H A Dauth.c845 size_t buflen = sizeof(buf); local in function:DefineSelf
859 if (buflen < (ifn.lifn_count * sizeof(struct lifreq))) {
860 buflen = ifn.lifn_count * sizeof(struct lifreq);
861 bufptr = malloc(buflen);
868 ifc.lifc_len = buflen;
/xsrc/external/mit/brotli/dist/c/enc/
H A Dringbuffer.h73 MemoryManager* m, const uint32_t buflen, RingBuffer* rb) {
76 m, uint8_t, 2 + buflen + kSlackForEightByteHashingEverywhere);
85 rb->cur_size_ = buflen;
72 RingBufferInitBuffer(MemoryManager * m,const uint32_t buflen,RingBuffer * rb) argument
/xsrc/local/programs/bdfload/
H A Dbdfload.c134 int buflen = f->numchars * f->stride * f->fontheight; local in function:write_wsf
159 nwritten = write(wsfd, buffer, buflen);
162 if (nwritten != buflen)
319 int buflen = -1, charnamebufptr = 0, j; local in function:interpret
383 buflen = 257 * charsize;
384 buffer = calloc(1, buflen);
388 buflen);
/xsrc/external/mit/xtrap/dist/
H A DXEKeybCtrl.c79 buflen, member in struct:getdvi_itmlst_struct
/xsrc/external/mit/libXpm/dist/src/
H A Ddata.c256 unsigned int buflen)
268 } while (c && !isspace(c) && (c != data->Eos) && (n < buflen));
275 while (!isspace(c) && c != data->Eos && c != EOF && n < buflen) {
253 xpmNextWord(xpmData * data,char * buf,unsigned int buflen) argument
H A DXpmI.h246 (xpmData *mdata, char *buf, unsigned int buflen));
/xsrc/external/mit/libXfont2/dist/src/util/
H A Dfontxlfd.c117 const size_t buflen = XLFD_DOUBLE_TO_TEXT_BUF_SIZE; local in function:xlfd_double_to_text
134 snprintf(buffer, buflen, "%.*le", XLFD_NDIGITS, value);
151 snprintf(buffer, buflen, "%.*le", ndigits - 1, value);
158 snprintf(buffer, buflen, "%.*lf", ndigits, value);
/xsrc/external/mit/xmodmap/dist/
H A Dhandle.c115 static int buflen = 0; local in function:copy_to_scratch
120 if (len >= buflen) {
122 buflen = (len < 40) ? 80 : (len * 2);
123 buf = malloc (buflen+1);
125 fprintf (stderr, "attempt to allocate %d byte scratch buffer\n", buflen + 1);
/xsrc/external/mit/xedit/dist/
H A Dcommands.c679 unsigned n_matches, len, mlen, buflen; local in function:FileCompletion
742 n_matches = buflen = 0;
854 buflen += d_namlen + 1;
859 ++buflen;
H A Dispell.c111 int buflen; member in struct:_ispell
537 if (ispell.buflen >= ispell.bufsiz - 1)
539 if ((len = read(ispell.ifd[0], &ispell.buf[ispell.buflen],
540 ispell.bufsiz - ispell.buflen - 1)) <= 0)
542 ispell.buflen += len;
544 if (ispell.buflen <= 0)
547 i = ispell.buflen - 1;
554 ispell.buf[ispell.buflen - len] = '\0';
555 ispell.buflen = 0;
/xsrc/external/mit/xorg-server.old/dist/hw/xquartz/pbproxy/
H A Dx-selection.m141 size_t buflen = 0, chunkbytesize = 0;
188 newbuflen = buflen + chunkbytesize;
200 memcpy (newbuf + buflen, chunk, chunkbytesize);
203 buflen = newbuflen;
219 pdata->length = buflen;
/xsrc/external/mit/xorg-server/dist/hw/xquartz/pbproxy/
H A Dx-selection.m135 size_t buflen = 0, chunkbytesize = 0;
180 newbuflen = buflen + chunkbytesize;
190 memcpy(newbuf + buflen, chunk, chunkbytesize);
193 buflen = newbuflen;
208 pdata->length = buflen;
/xsrc/external/mit/fontconfig/dist/src/
H A Dfcxml.c3482 size_t buflen; local in function:FcConfigParseAndLoadFromMemoryInternal
3532 buflen = BUFSIZ;
3537 buflen = len;
3540 memcpy (buf, s, buflen);
3541 s = s + buflen;
3547 if (!XML_ParseBuffer (p, buflen, buflen == 0))
3555 } while (buflen != 0);
/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui_draw.cpp3123 static unsigned int stb_adler32(unsigned int adler32, unsigned char *buffer, unsigned int buflen) argument
3129 blocklen = buflen % 5552;
3130 while (buflen) {
3148 buflen -= blocklen;
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui_draw.cpp3123 static unsigned int stb_adler32(unsigned int adler32, unsigned char *buffer, unsigned int buflen) argument
3129 blocklen = buflen % 5552;
3130 while (buflen) {
3148 buflen -= blocklen;

Completed in 59 milliseconds