Searched refs:bytes_left (Results 1 – 6 of 6) sorted by relevance
/system/nfc/utils/test/ringbuffer_fuzzer/ |
D | ringbuffer_fuzzer.cpp | 25 size_t bytes_left = Size - i - 1; in LLVMFuzzerTestOneInput() local 36 if (bytes_left < 2) { in LLVMFuzzerTestOneInput() 40 size_t bytes_to_insert = std::min(bytes_left - 1, (size_t)Data[i++]); in LLVMFuzzerTestOneInput() 46 if (bytes_left < 2) { in LLVMFuzzerTestOneInput() 62 if (bytes_left < 1) { in LLVMFuzzerTestOneInput() 73 if (bytes_left < 1) { in LLVMFuzzerTestOneInput()
|
/system/chre/apps/test/common/chre_cross_validator_wifi/src/ |
D | wifi_scan_result.cc | 66 return pb_read(stream, strPtr, stream->bytes_left); in decodeString()
|
/system/core/init/ |
D | property_service.cpp | 359 size_t bytes_left = size; in RecvFully() local 361 while (*timeout_ms > 0 && bytes_left > 0) { in RecvFully() 366 int result = TEMP_FAILURE_RETRY(recv(socket_, data, bytes_left, MSG_DONTWAIT)); in RecvFully() 372 bytes_left -= result; in RecvFully() 376 if (bytes_left != 0) { in RecvFully() 380 return bytes_left == 0; in RecvFully()
|
/system/unwinding/libunwindstack/ |
D | Memory.cpp | 246 size_t bytes_left = size_ - static_cast<size_t>(addr); in Read() local 248 size_t actual_len = std::min(bytes_left, size); in Read() 317 size_t bytes_left = size_ - static_cast<size_t>(addr); in Read() local 319 size_t actual_len = std::min(bytes_left, size); in Read()
|
/system/apex/apexd/ |
D | apexd.cpp | 392 size_t bytes_left = device_size; in ReadVerityDevice() local 393 while (bytes_left > 0) { in ReadVerityDevice() 394 size_t to_read = std::min(bytes_left, kBufSize); in ReadVerityDevice() 398 bytes_left -= to_read; in ReadVerityDevice()
|
/system/chre/platform/slpi/see/ |
D | see_helper.cc | 405 data->bufLen = stream->bytes_left; in decodeStringField() 408 bool success = pb_read(stream, nullptr /* buf */, stream->bytes_left); in decodeStringField()
|