Home
last modified time | relevance | path

Searched refs:bufferlen (Results 1 – 5 of 5) sorted by relevance

/external/apache-http/src/org/apache/http/impl/io/
DAbstractSessionInputBuffer.java63 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/
Dwindows-sockets.c238 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/
Dst_client.c136 int bufferlen; in on_connect() local
140bufferlen = 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/
Dfuzzer_connect.c70 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/
Dsendserver.c395 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()