Searched refs:read_len (Results 1 – 10 of 10) sorted by relevance
/external/pdfium/third_party/freetype/src/cid/ |
D | cidparse.c | 89 FT_Long read_len = 256 + 10; /* same as signed FT_Stream->size */ in cid_parser_new() local 106 read_len = FT_MIN( read_len, stream_len ); in cid_parser_new() 107 if ( FT_STREAM_READ( p, read_len ) ) in cid_parser_new() 110 if ( read_len < 256 ) in cid_parser_new() 111 p[read_len] = '\0'; in cid_parser_new() 113 limit = p + read_len - 10; in cid_parser_new() 131 read_len = 256; in cid_parser_new()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_symbolizer_process_libcdep.cc | 77 uptr read_len = 0; in ReadFromSymbolizer() local 79 uptr just_read = internal_read(input_fd_, buffer + read_len, in ReadFromSymbolizer() 80 max_length - read_len - 1); in ReadFromSymbolizer() 87 read_len += just_read; in ReadFromSymbolizer() 88 if (ReachedEndOfOutput(buffer, read_len)) in ReadFromSymbolizer() 91 buffer[read_len] = '\0'; in ReadFromSymbolizer()
|
D | sanitizer_common.cc | 141 uptr read_len = 0; in ReadFileToBuffer() local 152 read_len = 0; in ReadFileToBuffer() 154 while (read_len + PageSize <= size) { in ReadFileToBuffer() 156 if (!ReadFromFile(fd, *buff + read_len, PageSize, &just_read, errno_p)) { in ReadFileToBuffer() 164 read_len += just_read; in ReadFileToBuffer() 170 return read_len; in ReadFileToBuffer()
|
/external/iputils/ninfod/ |
D | ni_ifaddrs.c | 142 int read_len; in nl_recvmsg() local 152 read_len = recvmsg(sd, &msg, 0); in nl_recvmsg() 153 if ((read_len < 0 && errno == EINTR) in nl_recvmsg() 160 return read_len; in nl_recvmsg()
|
/external/selinux/libsepol/src/ |
D | module.c | 348 uint32_t offset, nel, read_len; in read_helper() local 356 read_len = nel; in read_helper() 358 read_len = _read_helper_bufsize; in read_helper() 359 rc = next_entry(&buf[offset], file, read_len); in read_helper() 362 offset += read_len; in read_helper() 363 nel -= read_len; in read_helper()
|
D | module_to_cil.c | 3915 size_t read_len = 0; in fp_to_buffer() local 3925 while ((read_len = fread(d + d_len, 1, max_len - d_len, fp)) > 0) { in fp_to_buffer() 3926 d_len += read_len; in fp_to_buffer()
|
/external/libnfc-nci/halimpl/pn54x/self-test/ |
D | phNxpNciHal_SelfTest.c | 1187 uint16_t read_len = 16; in phNxpNciHal_readLocked() local 1202 (uint16_t) read_len, in phNxpNciHal_readLocked() 1388 uint16_t read_len = 255; in phNxpNciHal_TestMode_open() local
|
/external/openssh/ |
D | misc.c | 921 bandwidth_limit(struct bwlimit *bw, size_t read_len) in bandwidth_limit() argument 931 bw->lamt += read_len; in bandwidth_limit()
|
/external/libvpx/libvpx/third_party/libwebm/ |
D | mkvmuxer.cpp | 109 const int64 read_len = (size > kBufSize) ? kBufSize : size; in ChunkedCopy() local 110 if (source->Read(offset, static_cast<long>(read_len), buf)) in ChunkedCopy() 112 dst->Write(buf, static_cast<uint32>(read_len)); in ChunkedCopy() 113 offset += read_len; in ChunkedCopy() 114 size -= read_len; in ChunkedCopy()
|
/external/selinux/libsemanage/src/ |
D | direct_api.c | 627 size_t read_len = 0; in read_from_pipe_to_data() local 640 while ((read_len = read(fd, data_read + data_read_len, max_len - data_read_len)) > 0) { in read_from_pipe_to_data() 641 data_read_len += read_len; in read_from_pipe_to_data()
|