Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/platform/
Dstacktrace_handler_test.cc61 int read_length = read(test_pipe[0], buffer, READ_BUFFER_SIZE); in TEST() local
62 if (read_length > 0) { in TEST()
63 child_output += std::string(buffer, read_length); in TEST()
/external/u-boot/drivers/mtd/nand/
Dnand_util.c752 size_t read_length; in nand_read_skip_bad() local
764 read_length = left_to_read; in nand_read_skip_bad()
766 read_length = mtd->erasesize - block_offset; in nand_read_skip_bad()
768 rval = nand_read(mtd, offset, &read_length, p_buffer); in nand_read_skip_bad()
776 left_to_read -= read_length; in nand_read_skip_bad()
777 offset += read_length; in nand_read_skip_bad()
778 p_buffer += read_length; in nand_read_skip_bad()
/external/grpc-grpc/test/core/tsi/alts/frame_protector/
Dframe_handler_test.cc81 size_t read_length) { in deframe() argument
86 size_t bytes_read = GPR_MIN(read_length, handler->buffer_size - offset); in deframe()
98 size_t read_length) { in frame_n_deframe() argument
102 size_t deframed_payload_length = deframe(handler, bytes, read_length); in frame_n_deframe()
/external/u-boot/common/
DxyzModem.c51 unsigned long file_length, read_length; member
436 xyz.read_length = 0; in xyzModem_stream_open()
536 xyz.read_length += xyz.len; in xyzModem_stream_read()
537 if (xyz.read_length > xyz.file_length) in xyzModem_stream_read()
539 xyz.len -= (xyz.read_length - xyz.file_length); in xyzModem_stream_read()
/external/mesa3d/src/intel/tools/
Dgen_batch_decoder.c146 uint32_t read_length, in ctx_print_buffer() argument
149 const uint32_t *dw_end = bo.map + MIN2(bo.size, read_length); in ctx_print_buffer()
520 uint32_t read_length[4]; in decode_3dstate_constant() local
530 read_length[rlidx++] = iter.raw_value; in decode_3dstate_constant()
537 if (read_length[i] == 0 || buffer[i].map == NULL) in decode_3dstate_constant()
540 unsigned size = read_length[i] * 32; in decode_3dstate_constant()
/external/curl/tests/python_dependencies/impacket/
Dnmb.py876 def polling_read(self, read_length, timeout): argument
883 bytes_left = read_length
902 bytes_left = read_length - len(data)
909 def non_polling_read(self, read_length, timeout): argument
911 bytes_left = read_length
925 bytes_left = read_length - len(data)
/external/pdfium/third_party/libpng16/
Dpngrutil.c1397 uInt read_length, keyword_length; in png_handle_iCCP() local
1403 read_length = 81; /* maximum */ in png_handle_iCCP()
1404 if (read_length > length) in png_handle_iCCP()
1405 read_length = (uInt)length; in png_handle_iCCP()
1407 png_crc_read(png_ptr, (png_bytep)keyword, read_length); in png_handle_iCCP()
1408 length -= read_length; in png_handle_iCCP()
1411 while (keyword_length < 80 && keyword_length < read_length && in png_handle_iCCP()
1421 if (keyword_length+1 < read_length && in png_handle_iCCP()
1424 read_length -= keyword_length+2; in png_handle_iCCP()
1433 png_ptr->zstream.avail_in = read_length; in png_handle_iCCP()
/external/libpng/
Dpngrutil.c1409 uInt read_length, keyword_length; in png_handle_iCCP() local
1415 read_length = 81; /* maximum */ in png_handle_iCCP()
1416 if (read_length > length) in png_handle_iCCP()
1417 read_length = (uInt)length; in png_handle_iCCP()
1419 png_crc_read(png_ptr, (png_bytep)keyword, read_length); in png_handle_iCCP()
1420 length -= read_length; in png_handle_iCCP()
1433 while (keyword_length < 80 && keyword_length < read_length && in png_handle_iCCP()
1443 if (keyword_length+1 < read_length && in png_handle_iCCP()
1446 read_length -= keyword_length+2; in png_handle_iCCP()
1455 png_ptr->zstream.avail_in = read_length; in png_handle_iCCP()