Home
last modified time | relevance | path

Searched refs:BUFSIZE (Results 1 – 25 of 46) sorted by relevance

12

/external/autotest/client/tests/aio_dio_bugs/src/
Daio-dio-extend-stat.c29 #define BUFSIZE 1024 macro
31 static unsigned char buf[BUFSIZE] __attribute((aligned (512)));
65 for (i = 0; i < BUFSIZE; ++i) in main()
68 buf[BUFSIZE-1] = '\n'; in main()
91 iocbs[i]->u.c.nbytes = BUFSIZE; in main()
92 iocbs[i]->u.c.offset = BUFSIZE*i; in main()
125 if (ioevents[i].obj->u.c.nbytes != BUFSIZE) in fun_read()
127 "receiced %ld\n", BUFSIZE, in fun_read()
/external/selinux/policycoreutils/sestatus/
Dsestatus.c30 #define BUFSIZE 255 macro
40 char buf[BUFSIZE]; in cmp_cmdline()
41 char filename[BUFSIZE]; in cmp_cmdline()
43 memset(buf, '\0', BUFSIZE); in cmp_cmdline()
48 if (readlink(filename, buf, BUFSIZE) < 0) in cmp_cmdline()
51 if (buf[BUFSIZE - 1] != '\0') in cmp_cmdline()
52 buf[BUFSIZE - 1] = '\0'; in cmp_cmdline()
/external/curl/lib/
Dpingpong.c286 while((pp->nread_resp<BUFSIZE) && (keepon && !result)) { in Curl_pp_readresp()
296 DEBUGASSERT((ptr+pp->cache_size) <= (buf+BUFSIZE+1)); in Curl_pp_readresp()
308 DEBUGASSERT((ptr+BUFSIZE-pp->nread_resp) <= (buf+BUFSIZE+1)); in Curl_pp_readresp()
309 result = Curl_read(conn, sockfd, ptr, BUFSIZE-pp->nread_resp, in Curl_pp_readresp()
402 if((perline == gotbytes) && (gotbytes > BUFSIZE/2)) { in Curl_pp_readresp()
414 else if(pp->nread_resp > BUFSIZE/2) { in Curl_pp_readresp()
Dsendf.c149 vsnprintf(data->state.buffer, BUFSIZE, fmt, ap); in Curl_failf()
157 if(len < BUFSIZE - 1) { in Curl_failf()
579 bytesfromsocket = CURLMIN(sizerequested, BUFSIZE * sizeof (char)); in Curl_read()
585 conn->data->set.buffer_size : BUFSIZE); in Curl_read()
612 char buf[BUFSIZE+1]; in showit()
619 if(size > BUFSIZE) { in showit()
620 size = BUFSIZE; /* truncate if necessary */ in showit()
621 buf[BUFSIZE] = '\0'; in showit()
Dhttp_proxy.c252 while((nread<BUFSIZE) && (keepon && !error)) { in Curl_proxyCONNECT()
271 DEBUGASSERT(ptr+BUFSIZE-nread <= data->state.buffer+BUFSIZE+1); in Curl_proxyCONNECT()
272 result = Curl_read(conn, tunnelsocket, ptr, BUFSIZE-nread, in Curl_proxyCONNECT()
Dfile.c360 result = Curl_fillreadbuffer(conn, BUFSIZE, &readcount); in file_upload()
491 snprintf(buf, BUFSIZE-1, in file_do()
555 (expected_size < CURL_OFF_T_C(BUFSIZE) - CURL_OFF_T_C(1)) ? in file_do()
556 curlx_sotouz(expected_size) : BUFSIZE - 1; in file_do()
Dprogress.h55 #define LEAST_SIZE_PROGRESS BUFSIZE
Durldata.h193 #undef BUFSIZE
194 #define BUFSIZE CURL_MAX_WRITE_SIZE macro
1214 char buffer[BUFSIZE+1]; /* download buffer */
1215 char uploadbuffer[BUFSIZE+1]; /* upload buffer */
/external/clang/test/Lexer/
Ddigraph.c6 %:ifndef BUFSIZE
7 %:define BUFSIZE 512 macro
/external/toybox/toys/pending/
Dtelnetd.c53 #define BUFSIZE 4*1024 macro
60 char buff1[BUFSIZE], buff2[BUFSIZE];
349 if (tm->pty_fd > 0 && tm->buff1_avail < BUFSIZE) FD_SET(tm->pty_fd, &rd); in telnetd_main()
350 if (tm->new_fd >= 0 && tm->buff2_avail < BUFSIZE) FD_SET(tm->new_fd, &rd); in telnetd_main()
386 BUFSIZE-tm->buff1_avail)) <= 0) break; in telnetd_main()
394 BUFSIZE-tm->buff2_avail)) <= 0) break; in telnetd_main()
/external/autotest/client/site_tests/platform_TLSDateActual/
Dplatform_TLSDateActual.py47 BUFSIZE = 1024
48 data = self.src.recv(BUFSIZE)
51 data = self.src.recv(BUFSIZE)
/external/vboot_reference/cgpt/
Dcgpt_find.c15 #define BUFSIZE 1024 macro
181 static char pathname[BUFSIZE]; // we'll return this. in is_wholedev()
182 char tmpname[BUFSIZE]; in is_wholedev()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUnicodeDecompressor.java89 private final static int BUFSIZE = 3; field in UnicodeDecompressor
92 private byte [] fBuffer = new byte [BUFSIZE];
191 if(fBufferLength != BUFSIZE) { in decompress()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeDecompressor.java88 private final static int BUFSIZE = 3; field in UnicodeDecompressor
91 private byte [] fBuffer = new byte [BUFSIZE];
194 if(fBufferLength != BUFSIZE) { in decompress()
/external/clang/test/Analysis/
Dtaint-tester.c5 #define BUFSIZE 10 macro
6 int Buffer[BUFSIZE];
Dtaint-generic.c32 #define BUFSIZE 10 macro
34 int Buffer[BUFSIZE];
/external/selinux/policycoreutils/run_init/
Dopen_init_pty.c47 #define BUFSIZE 2048 /* The ring buffer size */ macro
218 char inbuf_mem[BUFSIZE]; in main()
219 char outbuf_mem[BUFSIZE]; in main()
/external/fonttools/Lib/fontTools/misc/
DxmlReader.py11 BUFSIZE = 0x4000 variable
42 chunk = file.read(BUFSIZE)
/external/tcpdump/
Daddrtoname.h31 #define BUFSIZE 128 macro
Daddrtoname.c476 char buf[BUFSIZE]; in etheraddr_string()
483 char buf2[BUFSIZE]; in etheraddr_string()
508 snprintf(cp, BUFSIZE - (2 + 5*3), " (oui %s)", in etheraddr_string()
523 char buf[BUFSIZE]; in le64addr_string()
/external/ipsec-tools/src/racoon/
Dvar.h52 #define BUFSIZE 5120 macro
/external/libjpeg-turbo/
Djchuff.c424 #define BUFSIZE (DCTSIZE2 * 4) macro
427 if (state->free_in_buffer < BUFSIZE) { \
459 JOCTET _buffer[BUFSIZE], *buffer; in flush_bits()
488 JOCTET _buffer[BUFSIZE], *buffer; in encode_one_block()
/external/avahi/avahi-daemon/
Dstatic-services.c617 #define BUFSIZE (10*1024) in static_service_group_load() macro
619 if (!(buffer = XML_GetBuffer(parser, BUFSIZE))) { in static_service_group_load()
624 if ((n = read(fd, buffer, BUFSIZE)) < 0) { in static_service_group_load()
/external/nanohttpd/core/src/main/java/fi/iki/elonen/
DNanoHTTPD.java539 public static final int BUFSIZE = 8192; field in NanoHTTPD.HTTPSession
571 this.inputStream = new BufferedInputStream(inputStream, HTTPSession.BUFSIZE); in HTTPSession()
577 this.inputStream = new BufferedInputStream(inputStream, HTTPSession.BUFSIZE); in HTTPSession()
771 byte[] buf = new byte[HTTPSession.BUFSIZE]; in execute()
776 this.inputStream.mark(HTTPSession.BUFSIZE); in execute()
778 read = this.inputStream.read(buf, 0, HTTPSession.BUFSIZE); in execute()
796 read = this.inputStream.read(buf, this.rlen, HTTPSession.BUFSIZE - this.rlen); in execute()
/external/icu/icu4c/source/test/cintltst/
Dcucdtst.c1823 enum { BUFSIZE = 256 }; in TestCharNames() enumerator
1825 char buf[BUFSIZE]; in TestCharNames()
1828 UChar pat[BUFSIZE], dumbPat[BUFSIZE]; in TestCharNames()
1862 buf, BUFSIZE, &ec); in TestCharNames()
1910 l1 = uset_toPattern(set, pat, BUFSIZE, TRUE, &ec); in TestCharNames()
1911 l2 = uset_toPattern(dumb, dumbPat, BUFSIZE, TRUE, &ec); in TestCharNames()
1919 if (l1 >= BUFSIZE) { in TestCharNames()
1920 l1 = BUFSIZE-1; in TestCharNames()
1923 if (l2 >= BUFSIZE) { in TestCharNames()
1924 l2 = BUFSIZE-1; in TestCharNames()

12