/external/tensorflow/tensorflow/lite/micro/ |
D | simple_memory_allocator_test.cc | 27 constexpr size_t arena_size = 1024; in TF_LITE_MICRO_TEST() local 28 uint8_t arena[arena_size]; in TF_LITE_MICRO_TEST() 30 arena, arena_size); in TF_LITE_MICRO_TEST() 49 constexpr size_t arena_size = 1024; in TF_LITE_MICRO_TEST() local 50 uint8_t arena[arena_size]; in TF_LITE_MICRO_TEST() 52 arena, arena_size); in TF_LITE_MICRO_TEST() 75 constexpr size_t arena_size = 1024; in TF_LITE_MICRO_TEST() local 76 uint8_t arena[arena_size]; in TF_LITE_MICRO_TEST() 78 arena, arena_size); in TF_LITE_MICRO_TEST() 88 TF_LITE_MICRO_EXPECT_LE(aligned_available_bytes, arena_size - 100); in TF_LITE_MICRO_TEST() [all …]
|
D | recording_simple_memory_allocator_test.cc | 27 constexpr size_t arena_size = 1024; in TF_LITE_MICRO_TEST() local 28 uint8_t arena[arena_size]; in TF_LITE_MICRO_TEST() 30 tflite::GetMicroErrorReporter(), arena, arena_size); in TF_LITE_MICRO_TEST() 50 constexpr size_t arena_size = 1024; in TF_LITE_MICRO_TEST() local 51 uint8_t arena[arena_size]; in TF_LITE_MICRO_TEST() 53 tflite::GetMicroErrorReporter(), arena, arena_size); in TF_LITE_MICRO_TEST() 67 constexpr size_t arena_size = 1024; in TF_LITE_MICRO_TEST() local 68 uint8_t arena[arena_size]; in TF_LITE_MICRO_TEST() 70 tflite::GetMicroErrorReporter(), arena, arena_size); in TF_LITE_MICRO_TEST() 82 constexpr size_t arena_size = 1024; in TF_LITE_MICRO_TEST() local [all …]
|
D | micro_allocator_test.cc | 127 constexpr size_t arena_size = 1024; in TF_LITE_MICRO_TEST() local 128 uint8_t arena[arena_size]; in TF_LITE_MICRO_TEST() 131 arena, arena_size); in TF_LITE_MICRO_TEST() 157 constexpr size_t arena_size = 1024; in TF_LITE_MICRO_TEST() local 158 uint8_t arena[arena_size]; in TF_LITE_MICRO_TEST() 161 arena, arena_size); in TF_LITE_MICRO_TEST() 185 constexpr size_t arena_size = 1024; in TF_LITE_MICRO_TEST() local 186 uint8_t arena[arena_size]; in TF_LITE_MICRO_TEST() 189 arena, arena_size); in TF_LITE_MICRO_TEST() 213 constexpr size_t arena_size = 1024; in TF_LITE_MICRO_TEST() local [all …]
|
D | recording_micro_allocator.cc | 33 uint8_t* tensor_arena, size_t arena_size, ErrorReporter* error_reporter) { in Create() argument 38 arena_size); in Create()
|
D | micro_interpreter_test.cc | 114 constexpr size_t arena_size = 8192; in TF_LITE_MICRO_TEST() local 115 uint8_t arena[arena_size]; in TF_LITE_MICRO_TEST() 123 arena, arena_size, tflite::GetMicroErrorReporter()); in TF_LITE_MICRO_TEST() 140 tflite::RecordingMicroAllocator::Create(arena, arena_size, in TF_LITE_MICRO_TEST()
|
D | recording_micro_allocator.h | 58 size_t arena_size,
|
D | micro_allocator.h | 108 static MicroAllocator* Create(uint8_t* tensor_arena, size_t arena_size,
|
D | micro_allocator.cc | 606 MicroAllocator* MicroAllocator::Create(uint8_t* tensor_arena, size_t arena_size, in Create() argument 609 size_t aligned_arena_size = tensor_arena + arena_size - aligned_arena; in Create()
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | error.cc | 203 if ((*err)->arena_size + slots > (*err)->arena_capacity) { in get_placement() 206 if ((*err)->arena_size + slots > (*err)->arena_capacity) { in get_placement() 222 uint8_t placement = (*err)->arena_size; in get_placement() 223 (*err)->arena_size = static_cast<uint8_t>((*err)->arena_size + slots); in get_placement() 346 err->arena_size = 0; in grpc_error_create() 418 if (in->arena_capacity - in->arena_size < in copy_error_and_unref() 432 sizeof(*in) + (in->arena_size * sizeof(intptr_t)) - skip); in copy_error_and_unref()
|
D | error_internal.h | 56 uint8_t arena_size; member
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/ |
D | error.cc | 196 if ((*err)->arena_size + slots > (*err)->arena_capacity) { in get_placement() 199 if ((*err)->arena_size + slots > (*err)->arena_capacity) { in get_placement() 215 uint8_t placement = (*err)->arena_size; in get_placement() 216 (*err)->arena_size = static_cast<uint8_t>((*err)->arena_size + slots); in get_placement() 344 err->arena_size = 0; in grpc_error_create() 416 if (in->arena_capacity - in->arena_size < in copy_error_and_unref() 432 sizeof(*in) + (in->arena_size * sizeof(intptr_t)) - skip); in copy_error_and_unref()
|
D | error_internal.h | 56 uint8_t arena_size; member
|
/external/crosvm/src/ |
D | linux.rs | 1256 let arena_size = { in create_pmem_device() localVariable 1286 let arena_size = usize::try_from(arena_size).map_err(|_| Error::PmemDeviceImageTooBig)?; in create_pmem_device() localVariable 1288 let mut arena = MemoryMappingArena::new(arena_size).map_err(Error::ReservePmemMemory)?; in create_pmem_device() 1290 .add_fd_offset_protection(0, arena_size, &fd, 0, protection) in create_pmem_device() 1298 arena_size, in create_pmem_device() 1320 arena_size, in create_pmem_device()
|