Searched refs:bufferlen (Results 1 – 5 of 5) sorted by relevance
/external/apache-http/src/org/apache/http/impl/io/ |
D | AbstractSessionInputBuffer.java | 63 private int bufferlen; field in AbstractSessionInputBuffer 86 this.bufferlen = 0; in init() 98 int len = this.bufferlen - this.bufferpos; in fillBuffer() 103 this.bufferlen = len; in fillBuffer() 106 int off = this.bufferlen; in fillBuffer() 112 this.bufferlen = off + l; in fillBuffer() 119 return this.bufferpos < this.bufferlen; in hasBufferedData() 144 int chunk = this.bufferlen - this.bufferpos; in read() 161 for (int i = this.bufferpos; i < this.bufferlen; i++) { in locateLF() 192 int len = this.bufferlen - this.bufferpos; in readLine() [all …]
|
/external/libwebsockets/lib/plat/windows/ |
D | windows-sockets.c | 238 size_t bufferlen = (size_t)cnt; in lws_plat_inet_ntop() local 241 buffer = lws_malloc(bufferlen * 2, "inet_ntop"); in lws_plat_inet_ntop() 255 (LPDWORD)&bufferlen)) in lws_plat_inet_ntop() 266 (LPDWORD)&bufferlen)) in lws_plat_inet_ntop() 276 if (WideCharToMultiByte(CP_ACP, 0, buffer, (int)bufferlen, dst, in lws_plat_inet_ntop() 289 size_t bufferlen = strlen(src) + 1; in lws_plat_inet_pton() local 292 buffer = lws_malloc(bufferlen * 2, "inet_pton"); in lws_plat_inet_pton() 298 if (MultiByteToWideChar(CP_ACP, 0, src, (int)bufferlen, buffer, in lws_plat_inet_pton() 299 (int)bufferlen) <= 0) { in lws_plat_inet_pton()
|
/external/usrsctp/programs/ |
D | st_client.c | 136 int bufferlen; in on_connect() local 140 …bufferlen = snprintf(buffer, BUFFER_SIZE, "GET / HTTP/1.0\r\nUser-agent: libusrsctp\r\nConnection:… in on_connect() 141 if (bufferlen < 0) { in on_connect() 149 if (usrsctp_sendv(s, buffer, bufferlen, NULL, 0, (void *)&sndinfo, in on_connect()
|
/external/usrsctp/fuzzer/ |
D | fuzzer_connect.c | 70 dump_packet(const void *buffer, size_t bufferlen, int inout) { in dump_packet() argument 72 (void) bufferlen; in dump_packet() 76 if ((dump_buf = usrsctp_dumppacket(buffer, bufferlen, inout)) != NULL) { in dump_packet()
|
/external/ppp/pppd/plugins/radius/ |
D | sendserver.c | 395 static int rc_check_reply (AUTH_HDR *auth, int bufferlen, char *secret, in rc_check_reply() argument 415 if ((totallen + secretlen) > bufferlen) in rc_check_reply()
|