Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/tools/
Dverifier.cc376 uint64_t bytes_required = 1; in VerifyNumericTensorBuffer() local
388 bytes_required = num_elements.value(); in VerifyNumericTensorBuffer()
389 if (bytes_required > UINT_MAX) { in VerifyNumericTensorBuffer()
396 bytes_required *= dim; in VerifyNumericTensorBuffer()
397 if (bytes_required > UINT_MAX) { in VerifyNumericTensorBuffer()
407 bytes_required *= sizeof(float); in VerifyNumericTensorBuffer()
410 bytes_required *= sizeof(uint16_t); in VerifyNumericTensorBuffer()
413 bytes_required *= sizeof(double); in VerifyNumericTensorBuffer()
416 bytes_required *= sizeof(int32_t); in VerifyNumericTensorBuffer()
419 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.cc181 auto bytes_required = input->bytes; in Eval() local
182 TfLiteTensorRealloc(bytes_required, output); in Eval()
183 output->bytes = bytes_required; in Eval()
/external/cronet/base/win/
Dwin_util.cc631 DWORD bytes_required = 0; in GetLoadedModulesSnapshot() local
639 &bytes_required)) { in GetLoadedModulesSnapshot()
643 DCHECK_EQ(0u, bytes_required % sizeof(HMODULE)); in GetLoadedModulesSnapshot()
644 size_t num_modules = bytes_required / sizeof(HMODULE); in GetLoadedModulesSnapshot()
/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()