Searched refs:AlignPointerUp (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/lite/micro/ |
D | memory_helpers_test.cc | 42 uint8_t* input0_aligned1 = tflite::AlignPointerUp(input0, 1); in TF_LITE_MICRO_TEST() 45 uint8_t* input0_aligned2 = tflite::AlignPointerUp(input0, 2); in TF_LITE_MICRO_TEST() 48 uint8_t* input0_aligned3 = tflite::AlignPointerUp(input0, 3); in TF_LITE_MICRO_TEST() 51 uint8_t* input0_aligned16 = tflite::AlignPointerUp(input0, 16); in TF_LITE_MICRO_TEST() 56 uint8_t* input23_aligned1 = tflite::AlignPointerUp(input23, 1); in TF_LITE_MICRO_TEST() 59 uint8_t* input23_aligned2 = tflite::AlignPointerUp(input23, 2); in TF_LITE_MICRO_TEST() 63 uint8_t* input23_aligned3 = tflite::AlignPointerUp(input23, 3); in TF_LITE_MICRO_TEST() 67 uint8_t* input23_aligned16 = tflite::AlignPointerUp(input23, 16); in TF_LITE_MICRO_TEST()
|
D | simple_memory_allocator.cc | 73 uint8_t* const aligned_result = AlignPointerUp(buffer_head_, alignment); in SetHeadBufferSize() 106 uint8_t* const aligned_result = AlignPointerUp(temp_, alignment); in AllocateTemp() 132 uint8_t* const aligned_temp = AlignPointerUp(temp_, alignment); in GetAvailableMemory()
|
D | memory_helpers.h | 28 uint8_t* AlignPointerUp(uint8_t* data, size_t alignment);
|
D | memory_helpers.cc | 30 uint8_t* AlignPointerUp(uint8_t* data, size_t alignment) { in AlignPointerUp() function
|
D | micro_allocator.cc | 608 uint8_t* aligned_arena = AlignPointerUp(tensor_arena, kBufferAlignment); in Create() 1154 AlignPointerUp(memory_allocator_->GetHeadBuffer(), in GetScratchBufferRequests()
|