Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/tools/
Dverifier.cc383 uint64_t bytes_required = 1; in VerifyNumericTensorBuffer() local
395 bytes_required = num_elements.value(); in VerifyNumericTensorBuffer()
396 if (bytes_required > UINT_MAX) { in VerifyNumericTensorBuffer()
403 bytes_required *= dim; in VerifyNumericTensorBuffer()
404 if (bytes_required > UINT_MAX) { in VerifyNumericTensorBuffer()
414 bytes_required *= sizeof(float); in VerifyNumericTensorBuffer()
417 bytes_required *= sizeof(uint16_t); in VerifyNumericTensorBuffer()
420 bytes_required *= sizeof(double); in VerifyNumericTensorBuffer()
423 bytes_required *= sizeof(int32_t); in VerifyNumericTensorBuffer()
426 bytes_required *= sizeof(uint32_t); in VerifyNumericTensorBuffer()
[all …]
/external/python/rsa/rsa/
Dtransform.py61 bytes_required = max(1, math.ceil(number.bit_length() / 8))
66 return number.to_bytes(bytes_required, 'big')
/external/tensorflow/tensorflow/lite/kernels/
Dreshape.cc165 auto bytes_required = input->bytes; in Eval() local
166 TfLiteTensorRealloc(bytes_required, output); in Eval()
167 output->bytes = bytes_required; in Eval()
/external/libwebm/m2ts/
Dvpxpes_parser.cc302 const std::uint8_t* raw_data, std::size_t bytes_required, in RemoveStartCodeEmulationPreventionBytes() argument
304 if (bytes_required == 0 || !processed_data) in RemoveStartCodeEmulationPreventionBytes()
312 for (i = 0; bytes_copied < bytes_required; ++i) { in RemoveStartCodeEmulationPreventionBytes()
Dvpxpes_parser.h165 const std::uint8_t* raw_data, std::size_t bytes_required,
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_win.cc468 DWORD bytes_required; in init() local
472 &bytes_required)); in init()
473 if (bytes_required > modules_buffer_size) { in init()
478 modules_buffer_size = bytes_required; in init()
483 size_t num_modules = bytes_required / sizeof(HMODULE); in init()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_win.cpp622 DWORD bytes_required; in init() local
626 &bytes_required)); in init()
627 if (bytes_required > modules_buffer_size) { in init()
632 modules_buffer_size = bytes_required; in init()
637 size_t num_modules = bytes_required / sizeof(HMODULE); in init()