Home
last modified time | relevance | path

Searched refs:arena_size (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/lite/micro/
Dsimple_memory_allocator_test.cc27 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 …]
Drecording_simple_memory_allocator_test.cc27 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 …]
Dmicro_allocator_test.cc127 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 …]
Drecording_micro_allocator.cc33 uint8_t* tensor_arena, size_t arena_size, ErrorReporter* error_reporter) { in Create() argument
38 arena_size); in Create()
Dmicro_interpreter_test.cc114 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()
Drecording_micro_allocator.h58 size_t arena_size,
Dmicro_allocator.h108 static MicroAllocator* Create(uint8_t* tensor_arena, size_t arena_size,
Dmicro_allocator.cc606 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/
Derror.cc203 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()
Derror_internal.h56 uint8_t arena_size; member
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Derror.cc196 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()
Derror_internal.h56 uint8_t arena_size; member
/external/crosvm/src/
Dlinux.rs1256 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()