Home
last modified time | relevance | path

Searched refs:buffersize (Results 1 – 25 of 65) sorted by relevance

123

/external/syslinux/core/fs/pxe/
Dtftp.c83 uint16_t buffersize; in tftp_get_packet() local
154 buffersize = buf_len - 4; /* Skip TFTP header */ in tftp_get_packet()
156 socket->tftp_filepos += buffersize; in tftp_get_packet()
157 socket->tftp_bytesleft = buffersize; in tftp_get_packet()
158 if (buffersize < socket->tftp_blksize) { in tftp_get_packet()
198 int buffersize; in tftp_open() local
274 buffersize = buf_len - 2; /* bytes after opcode */ in tftp_open()
296 buffersize -= 2; in tftp_open()
297 if (buffersize < 0) in tftp_open()
305 if (buffersize > TFTP_BLOCKSIZE) in tftp_open()
[all …]
/external/apache-http/src/org/apache/http/impl/
DSocketHttpServerConnection.java86 int buffersize, in createHttpDataReceiver() argument
88 return new SocketInputBuffer(socket, buffersize, params); in createHttpDataReceiver()
93 int buffersize, in createHttpDataTransmitter() argument
95 return new SocketOutputBuffer(socket, buffersize, params); in createHttpDataTransmitter()
107 int buffersize = HttpConnectionParams.getSocketBufferSize(params); in bind() local
110 createHttpDataReceiver(socket, buffersize, params), in bind()
111 createHttpDataTransmitter(socket, buffersize, params), in bind()
DSocketHttpClientConnection.java86 int buffersize, in createSessionInputBuffer() argument
88 return new SocketInputBuffer(socket, buffersize, params); in createSessionInputBuffer()
93 int buffersize, in createSessionOutputBuffer() argument
95 return new SocketOutputBuffer(socket, buffersize, params); in createSessionOutputBuffer()
109 int buffersize = HttpConnectionParams.getSocketBufferSize(params); in bind() local
112 createSessionInputBuffer(socket, buffersize, params), in bind()
113 createSessionOutputBuffer(socket, buffersize, params), in bind()
/external/vboot_reference/tests/
Dvboot_display_tests.c234 uint32_t buffersize; in FontTest() local
245 TEST_PTR_EQ(VbFindFontGlyph(fptr, 'B', &bufferptr, &buffersize), in FontTest()
247 TEST_EQ(buffersize, eptr[1].info.original_size, " size"); in FontTest()
248 TEST_PTR_EQ(VbFindFontGlyph(fptr, 'X', &bufferptr, &buffersize), in FontTest()
250 TEST_EQ(buffersize, eptr[0].info.original_size, " size"); in FontTest()
/external/apache-http/src/org/apache/http/impl/conn/
DDefaultClientConnection.java173 int buffersize, in createSessionInputBuffer() argument
177 buffersize, in createSessionInputBuffer()
189 int buffersize, in createSessionOutputBuffer() argument
193 buffersize, in createSessionOutputBuffer()
/external/libxml2/doc/examples/
Dio2.c22 int buffersize; in main() local
36 xmlDocDumpFormatMemory(doc, &xmlbuff, &buffersize, 1); in main()
/external/apache-http/src/org/apache/http/impl/io/
DAbstractSessionInputBuffer.java73 protected void init(final InputStream instream, int buffersize, final HttpParams params) { in init() argument
77 if (buffersize <= 0) { in init()
84 this.buffer = new byte[buffersize]; in init()
87 this.linebuffer = new ByteArrayBuffer(buffersize); in init()
DAbstractSessionOutputBuffer.java71 protected void init(final OutputStream outstream, int buffersize, final HttpParams params) { in init() argument
75 if (buffersize <= 0) { in init()
82 this.buffer = new ByteArrayBuffer(buffersize); in init()
DSocketOutputBuffer.java58 int buffersize, in SocketOutputBuffer() argument
DSocketInputBuffer.java63 int buffersize, in SocketInputBuffer() argument
/external/vboot_reference/firmware/lib/
Dvboot_display.c57 void **bufferptr, uint32_t *buffersize) in VbFindFontGlyph() argument
81 *buffersize = entry->info.original_size; in VbFindFontGlyph()
93 *buffersize = entry->info.original_size; in VbFindFontGlyph()
103 uint32_t buffersize; in VbRenderTextAtPos() local
117 &buffersize); in VbRenderTextAtPos()
124 &buffersize); in VbRenderTextAtPos()
130 buffersize)) { in VbRenderTextAtPos()
/external/bison/lib/
Dquotearg.c242 quotearg_buffer_restyled (char *buffer, size_t buffersize, in quotearg_buffer_restyled() argument
260 if (len < buffersize) \ in quotearg_buffer_restyled()
645 if (len < buffersize) in quotearg_buffer_restyled()
652 return quotearg_buffer_restyled (buffer, buffersize, arg, argsize, in quotearg_buffer_restyled()
668 quotearg_buffer (char *buffer, size_t buffersize, in quotearg_buffer() argument
674 size_t r = quotearg_buffer_restyled (buffer, buffersize, arg, argsize, in quotearg_buffer()
Dquotearg.h295 size_t quotearg_buffer (char *buffer, size_t buffersize,
/external/curl/lib/
Dsocks.c55 ssize_t buffersize, /* max amount to read */ in Curl_blockread_all() argument
74 result = Curl_read_plain(sockfd, buf, buffersize, &nread); in Curl_blockread_all()
80 if(buffersize == nread) { in Curl_blockread_all()
91 buffersize -= nread; in Curl_blockread_all()
Dsocks.h41 ssize_t buffersize,
Dsendf.h72 char *buf, size_t buffersize,
Dtransfer.c91 size_t buffersize = (size_t)bytes; in Curl_fillreadbuffer() local
108 buffersize -= (8 + 2 + 2); /* 32bit hex + CRLF + CRLF */ in Curl_fillreadbuffer()
115 buffersize, data->state.in); in Curl_fillreadbuffer()
143 else if((size_t)nread > buffersize) { in Curl_fillreadbuffer()
405 size_t buffersize = data->set.buffer_size? in readwrite_data() local
407 size_t bytestoread = buffersize; in readwrite_data()
/external/apache-http/android/src/android/net/http/
DAndroidHttpClientConnection.java107 int buffersize = HttpConnectionParams.getSocketBufferSize(params); in bind() local
108 this.inbuffer = new SocketInputBuffer(socket, buffersize, params); in bind()
109 this.outbuffer = new SocketOutputBuffer(socket, buffersize, params); in bind()
/external/vboot_reference/firmware/lib/include/
Dvboot_display.h32 void **bufferptr, uint32_t *buffersize);
/external/curl/lib/vtls/
Daxtls.c614 size_t buffersize, /* max amount to read */ in axtls_recv() argument
630 (size_t)ret > buffersize ? buffersize : (size_t)ret); in axtls_recv()
Dpolarssl.c634 size_t buffersize, in polarssl_recv() argument
640 memset(buf, 0, buffersize); in polarssl_recv()
641 ret = ssl_read(&conn->ssl[num].ssl, (unsigned char *)buf, buffersize); in polarssl_recv()
Dcyassl.c669 size_t buffersize, in cyassl_recv() argument
673 int buffsize = (buffersize > (size_t)INT_MAX) ? INT_MAX : (int)buffersize; in cyassl_recv()
/external/vboot_reference/firmware/stub/
Dvboot_api_stub.c52 void *buffer, uint32_t buffersize) in VbExDisplayImage() argument
/external/zopfli/src/zopflipng/lodepng/
Dlodepng.cpp377 unsigned lodepng_save_file(const unsigned char* buffer, size_t buffersize, const char* filename) in lodepng_save_file() argument
382 fwrite((char*)buffer , 1 , buffersize, file); in lodepng_save_file()
4809 size_t buffersize; in lodepng_decode_file() local
4811 error = lodepng_load_file(&buffer, &buffersize, filename); in lodepng_decode_file()
4812 if(!error) error = lodepng_decode_memory(out, w, h, buffer, buffersize, colortype, bitdepth); in lodepng_decode_file()
5886 size_t buffersize; in lodepng_encode_file() local
5887 unsigned error = lodepng_encode_memory(&buffer, &buffersize, image, w, h, colortype, bitdepth); in lodepng_encode_file()
5888 if(!error) error = lodepng_save_file(buffer, buffersize, filename); in lodepng_encode_file()
6069 size_t buffersize = 0; in decompress() local
6070 unsigned error = zlib_decompress(&buffer, &buffersize, in, insize, &settings); in decompress()
[all …]
/external/fio/exp/
Dexpression-parser.l27 extern int lexer_input(char *buffer, unsigned int *nbytes, int buffersize);

123