Home
last modified time | relevance | path

Searched refs:bytesread (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/rtc_base/
Dwin32.cc232 int bytesread = 0; in inet_pton_v6() local
233 if (sscanf(addrstart, "%hx%n", &a_short, &bytesread) != 1 || in inet_pton_v6()
234 a_short != 0xFFFF || bytesread != 4) { in inet_pton_v6()
292 int bytesread = 0; in inet_pton_v6() local
293 if (sscanf(readcursor, "%4hx%n", &word, &bytesread) != 1) { in inet_pton_v6()
298 readcursor += bytesread; in inet_pton_v6()
/external/llvm-project/lldb/tools/debugserver/source/
DRNBSocket.cpp326 ssize_t bytesread = read(m_fd, buf, sizeof(buf)); in Read() local
327 if (bytesread <= 0) in Read()
330 p.append(buf, bytesread); in Read()
334 (uint64_t)bytesread); in Read()
338 if (bytesread == 0) { in Read()
341 } else if (bytesread == -1) { in Read()
/external/ltp/testcases/kernel/syscalls/pipe/
Dpipe04.c81 int bytesread; in main() local
134 bytesread = do_read(fildes[0], rbuf, sizeof(rbuf)); in main()
135 if (bytesread < 0) { in main()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DRecyclableBufferedInputStream.java166 int bytesread = localIn.read(localBuf, pos, localBuf.length - pos); in fillbuf() local
167 count = bytesread <= 0 ? pos : pos + bytesread; in fillbuf()
168 return bytesread; in fillbuf()
/external/mksh/src/
Dfuncs.c1594 size_t bytesleft = 128, bytesread; in c_read() local
1732 bytesread = 0; in c_read()
1746 if ((bytesread = blocking_read(fd, xp, bytesleft)) == (size_t)-1) { in c_read()
1772 if (bytesread == 0) { in c_read()
1777 xp += bytesread; in c_read()
1782 if (bytesread == 0) in c_read()
1785 xp += bytesread; in c_read()
1789 if (bytesread == 0) { in c_read()
1795 xp += bytesread; in c_read()
1796 if ((bytesleft -= bytesread) == 0) in c_read()
[all …]
/external/python/cpython2/Modules/
Dbz2module.c510 size_t bytesread, buffersize, chunksize; in BZ2File_read() local
551 bytesread = 0; in BZ2File_read()
556 BUF(ret)+bytesread, in BZ2File_read()
557 buffersize-bytesread, in BZ2File_read()
561 bytesread += chunksize; in BZ2File_read()
580 if (bytesread != buffersize) in BZ2File_read()
581 _PyString_Resize(&ret, bytesread); in BZ2File_read()
1020 Py_off_t bytesread = 0; in BZ2File_seek() local
1067 bytesread += chunksize; in BZ2File_seek()
1077 bytesread = 0; in BZ2File_seek()
[all …]
/external/python/cpython2/Objects/
Dfileobject.c1074 size_t bytesread, buffersize, chunksize; in file_read() local
1100 bytesread = 0; in file_read()
1105 chunksize = Py_UniversalNewlineFread(BUF(v) + bytesread, in file_read()
1106 buffersize - bytesread, f->f_fp, (PyObject *)f); in file_read()
1126 if (bytesread > 0 && BLOCKED_ERRNO(errno)) in file_read()
1132 bytesread += chunksize; in file_read()
1133 if (bytesread < buffersize && !interrupted) { in file_read()
1146 if (bytesread != buffersize && _PyString_Resize(&v, bytesread)) in file_read()
/external/mesa3d/src/gallium/auxiliary/util/
Ddbghelp.h507 DWORD *bytesread; member