Home
last modified time | relevance | path

Searched refs:buffsize (Results 1 – 7 of 7) sorted by relevance

/external/libedit/src/
Dchartype.c211 static size_t buffsize = 0; in ct_visual_string() local
219 buffsize = CT_BUFSIZ; in ct_visual_string()
220 buff = el_malloc(buffsize * sizeof(*buff)); in ct_visual_string()
224 used = ct_visual_char(dst, buffsize - (size_t)(dst - buff), *s); in ct_visual_string()
227 buffsize += CT_BUFSIZ; in ct_visual_string()
228 p = el_realloc(buff, buffsize * sizeof(*buff)); in ct_visual_string()
239 if (dst >= (buff + buffsize)) { /* sigh */ in ct_visual_string()
240 buffsize += 1; in ct_visual_string()
241 p = el_realloc(buff, buffsize * sizeof(*buff)); in ct_visual_string()
245 dst = buff + buffsize - 1; in ct_visual_string()
[all …]
/external/webp/src/dsp/
Dcpu-features.c73 read_file(const char* pathname, char* buffer, size_t buffsize) in read_file() argument
82 len = read(fd, buffer, buffsize); in read_file()
/external/webrtc/webrtc/system_wrappers/source/android/
Dcpu-features.c73 read_file(const char* pathname, char* buffer, size_t buffsize) in read_file() argument
82 len = read(fd, buffer, buffsize); in read_file()
/external/skia/platform_tools/android/third_party/cpufeatures/
Dcpu-features.c158 read_file(const char* pathname, char* buffer, size_t buffsize) in read_file() argument
168 while (count < (int)buffsize) { in read_file()
169 int ret = read(fd, buffer + count, buffsize - count); in read_file()
/external/curl/lib/vtls/
Dgskit.c540 int buffsize; in gskit_recv() local
544 buffsize = buffersize > (size_t) INT_MAX? INT_MAX: (int) buffersize; in gskit_recv()
546 buf, buffsize, &nread), in gskit_recv()
Dcyassl.c673 int buffsize = (buffersize > (size_t)INT_MAX) ? INT_MAX : (int)buffersize; in cyassl_recv() local
674 int nread = SSL_read(conn->ssl[num].handle, buf, buffsize); in cyassl_recv()
Dopenssl.c937 int buffsize; in Curl_ossl_shutdown() local
950 buffsize = (int)sizeof(buf); in Curl_ossl_shutdown()
960 buffsize); in Curl_ossl_shutdown()
3098 int buffsize; in ossl_recv() local
3102 buffsize = (buffersize > (size_t)INT_MAX) ? INT_MAX : (int)buffersize; in ossl_recv()
3103 nread = (ssize_t)SSL_read(conn->ssl[num].handle, buf, buffsize); in ossl_recv()