Home
last modified time | relevance | path

Searched refs:heap_size (Results 1 – 25 of 49) sorted by relevance

12

/external/compiler-rt/lib/tsan/rtl/
Dtsan_interface_java.cc31 const uptr heap_size; member
33 JavaContext(jptr heap_begin, jptr heap_size) in JavaContext()
35 , heap_size(heap_size) { in JavaContext()
69 void __tsan_java_init(jptr heap_begin, jptr heap_size) { in __tsan_java_init() argument
71 DPrintf("#%d: java_init(%p, %p)\n", thr->tid, heap_begin, heap_size); in __tsan_java_init()
74 CHECK_GT(heap_size, 0); in __tsan_java_init()
76 CHECK_EQ(heap_size % kHeapAlignment, 0); in __tsan_java_init()
77 CHECK_LT(heap_begin, heap_begin + heap_size); in __tsan_java_init()
78 jctx = new(jctx_buf) JavaContext(heap_begin, heap_size); in __tsan_java_init()
99 CHECK_LE(ptr + size, jctx->heap_begin + jctx->heap_size); in __tsan_java_alloc()
[all …]
/external/arm-trusted-firmware/drivers/auth/mbedtls/
Dmbedtls_common.c32 size_t heap_size = 0; in mbedtls_init() local
39 err = plat_get_mbedtls_heap(&heap_addr, &heap_size); in mbedtls_init()
46 assert(heap_size >= TF_MBEDTLS_HEAP_SIZE); in mbedtls_init()
49 mbedtls_memory_buffer_alloc_init(heap_addr, heap_size); in mbedtls_init()
62 int get_mbedtls_heap_helper(void **heap_addr, size_t *heap_size) in get_mbedtls_heap_helper() argument
67 assert(heap_size != NULL); in get_mbedtls_heap_helper()
70 *heap_size = sizeof(heap); in get_mbedtls_heap_helper()
/external/linux-kselftest/tools/testing/selftests/android/ion/
Dionapp_export.c34 unsigned long map_len, heap_type, heap_size, flags; in main() local
43 heap_size = 0; in main()
68 heap_size = atoi(optarg); in main()
77 if (heap_size <= 0) { in main()
83 printf("heap_type: %ld, heap_size: %ld\n", heap_type, heap_size); in main()
85 info.heap_size = heap_size; in main()
/external/libcxxabi/src/
Dfallback_malloc.cpp63 typedef unsigned short heap_size; typedef
67 heap_size len; // size in units of "sizeof(heap_node)"
114 p->len = static_cast<heap_size>(p->len - nelems); in fallback_malloc()
117 q->len = static_cast<heap_size>(nelems); in fallback_malloc()
159 p->len = static_cast<heap_size>( in fallback_free()
167 cp->len = static_cast<heap_size>(cp->len + p->len); in fallback_free()
188 heap_size total_free = 0; in print_free_list()
Dcxa_vector.cpp146 const size_t heap_size = element_count * element_size + padding_size; in __cxa_vec_new2() local
147 char * const heap_block = static_cast<char *> ( alloc ( heap_size )); in __cxa_vec_new2()
174 const size_t heap_size = element_count * element_size + padding_size; in __cxa_vec_new3() local
175 char * const heap_block = static_cast<char *> ( alloc ( heap_size )); in __cxa_vec_new3()
179 st_heap_block3 heap ( dealloc, heap_block, heap_size ); in __cxa_vec_new3()
/external/tensorflow/tensorflow/compiler/xla/service/
Dheap_simulator.cc61 return result.heap_size; in MinimumMemoryForModule()
76 return result.heap_size; in MinimumMemoryForComputation()
89 return result.heap_size; in MinimumMemoryForComputation()
415 result.fragmentation_size = result.heap_size - no_frag_result.heap_size; in Finish()
483 result.heap_size = max_heap_size_; in Finish()
672 VLOG(1) << "result heap_size: " << result_.heap_size; in Finish()
732 ChunkCandidate chunk_candidate{Chunk{-1, INT64_MAX}, result_.heap_size}; in FindChunkCandidate()
744 } else if (free_offset + free_size == result_.heap_size && in FindChunkCandidate()
749 chunk_candidate.heap_size = preferred_chunk_end; in FindChunkCandidate()
767 use_free_chunk_if_smaller(offset, result_.heap_size - offset); in FindChunkCandidate()
[all …]
/external/arm-trusted-firmware/plat/arm/common/
Darm_dyn_cfg_helpers.c183 size_t *heap_size) in arm_get_dtb_mbedtls_heap_info() argument
203 DTB_PROP_MBEDTLS_HEAP_SIZE, 1, heap_size); in arm_get_dtb_mbedtls_heap_info()
226 int arm_set_dtb_mbedtls_heap_info(void *dtb, void *heap_addr, size_t heap_size) in arm_set_dtb_mbedtls_heap_info() argument
256 DTB_PROP_MBEDTLS_HEAP_SIZE, 1, &heap_size); in arm_set_dtb_mbedtls_heap_info()
Darm_dyn_cfg.c43 int arm_get_mbedtls_heap(void **heap_addr, size_t *heap_size) in arm_get_mbedtls_heap() argument
46 assert(heap_size != NULL); in arm_get_mbedtls_heap()
54 *heap_size = sizeof(heap); in arm_get_mbedtls_heap()
65 heap_size); in arm_get_mbedtls_heap()
/external/arm-trusted-firmware/plat/arm/board/juno/
Djuno_security.c151 int plat_get_mbedtls_heap(void **heap_addr, size_t *heap_size) in plat_get_mbedtls_heap() argument
154 assert(heap_size != NULL); in plat_get_mbedtls_heap()
156 return arm_get_mbedtls_heap(heap_addr, heap_size); in plat_get_mbedtls_heap()
/external/arm-trusted-firmware/plat/arm/css/sgi/
Dsgi_plat.c136 int plat_get_mbedtls_heap(void **heap_addr, size_t *heap_size) in plat_get_mbedtls_heap() argument
139 assert(heap_size != NULL); in plat_get_mbedtls_heap()
141 return arm_get_mbedtls_heap(heap_addr, heap_size); in plat_get_mbedtls_heap()
/external/arm-trusted-firmware/plat/socionext/uniphier/
Duniphier_tbbr.c37 int plat_get_mbedtls_heap(void **heap_addr, size_t *heap_size) in plat_get_mbedtls_heap() argument
39 return get_mbedtls_heap_helper(heap_addr, heap_size); in plat_get_mbedtls_heap()
/external/arm-trusted-firmware/include/plat/arm/common/
Darm_dyn_cfg_helpers.h18 size_t *heap_size);
20 size_t heap_size);
/external/arm-trusted-firmware/plat/imx/imx7/common/
Dimx7_trusted_boot.c33 int plat_get_mbedtls_heap(void **heap_addr, size_t *heap_size) in plat_get_mbedtls_heap() argument
35 return get_mbedtls_heap_helper(heap_addr, heap_size); in plat_get_mbedtls_heap()
/external/arm-trusted-firmware/plat/hisilicon/hikey960/
Dhikey960_tbbr.c33 int plat_get_mbedtls_heap(void **heap_addr, size_t *heap_size) in plat_get_mbedtls_heap() argument
35 return get_mbedtls_heap_helper(heap_addr, heap_size); in plat_get_mbedtls_heap()
/external/arm-trusted-firmware/plat/rpi/common/
Drpi3_trusted_boot.c33 int plat_get_mbedtls_heap(void **heap_addr, size_t *heap_size) in plat_get_mbedtls_heap() argument
35 return get_mbedtls_heap_helper(heap_addr, heap_size); in plat_get_mbedtls_heap()
/external/arm-trusted-firmware/plat/qemu/common/
Dqemu_trusted_boot.c33 int plat_get_mbedtls_heap(void **heap_addr, size_t *heap_size) in plat_get_mbedtls_heap() argument
35 return get_mbedtls_heap_helper(heap_addr, heap_size); in plat_get_mbedtls_heap()
/external/arm-trusted-firmware/plat/hisilicon/hikey/
Dhikey_tbbr.c33 int plat_get_mbedtls_heap(void **heap_addr, size_t *heap_size) in plat_get_mbedtls_heap() argument
35 return get_mbedtls_heap_helper(heap_addr, heap_size); in plat_get_mbedtls_heap()
/external/tensorflow/tensorflow/core/kernels/
Dtopk_op_gpu.h280 const int heap_size = k < num_shards ? k : num_shards;
288 for (int slot = 0; slot < heap_size; slot++) {
291 min_heap.build(heap_size);
294 for (int shard = heap_size; shard < num_shards; shard++) {
305 min_heap.replace_root({shard, entry.value}, heap_size);
316 max_heap.build(heap_size);
330 heap_size);
386 const auto heap_size = k * sizeof(Entry<T>);
388 num_shards = shared_memory_size / heap_size - 1;
/external/perfetto/test/metrics/
Dheap_stats_closest_proc.out10 heap_size: 64
32 heap_size: 64
Djava_heap_stats.out10 heap_size: 992
/external/arm-trusted-firmware/plat/arm/css/sgm/
Dsgm_plat_config.c76 int plat_get_mbedtls_heap(void **heap_addr, size_t *heap_size) in plat_get_mbedtls_heap() argument
78 return get_mbedtls_heap_helper(heap_addr, heap_size); in plat_get_mbedtls_heap()
/external/arm-trusted-firmware/plat/arm/board/fvp/
Dfvp_common.c402 int plat_get_mbedtls_heap(void **heap_addr, size_t *heap_size) in plat_get_mbedtls_heap() argument
405 assert(heap_size != NULL); in plat_get_mbedtls_heap()
407 return arm_get_mbedtls_heap(heap_addr, heap_size); in plat_get_mbedtls_heap()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopStrengthReduce/
D2009-01-13-nonconstant-stride-outside-loop.ll10 @heap_size = external global i32 ; <i32*> [#uses=1]
34 %3 = load i32, i32* @heap_size, align 4 ; <i32> [#uses=1]
/external/llvm/test/Transforms/LoopStrengthReduce/
D2009-01-13-nonconstant-stride-outside-loop.ll10 @heap_size = external global i32 ; <i32*> [#uses=1]
34 %3 = load i32, i32* @heap_size, align 4 ; <i32> [#uses=1]
/external/arm-trusted-firmware/include/plat/common/
Dplatform.h50 int plat_get_mbedtls_heap(void **heap_addr, size_t *heap_size);
264 int get_mbedtls_heap_helper(void **heap_addr, size_t *heap_size);

12