/external/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_interface_java.cpp | 30 const uptr heap_size; member 32 JavaContext(jptr heap_begin, jptr heap_size) in JavaContext() 34 , heap_size(heap_size) { in JavaContext() 68 void __tsan_java_init(jptr heap_begin, jptr heap_size) { in __tsan_java_init() argument 70 DPrintf("#%d: java_init(%p, %p)\n", thr->tid, heap_begin, heap_size); in __tsan_java_init() 73 CHECK_GT(heap_size, 0); in __tsan_java_init() 75 CHECK_EQ(heap_size % kHeapAlignment, 0); in __tsan_java_init() 76 CHECK_LT(heap_begin, heap_begin + heap_size); in __tsan_java_init() 77 jctx = new(jctx_buf) JavaContext(heap_begin, heap_size); in __tsan_java_init() 98 CHECK_LE(ptr + size, jctx->heap_begin + jctx->heap_size); in __tsan_java_alloc() [all …]
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_interface_java.cc | 31 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/ |
D | mbedtls_common.c | 32 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/ |
D | ionapp_export.c | 34 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/icing/icing/scoring/ |
D | ranker.cc | 39 const int heap_size = scored_document_hits->size(); in Heapify() local 40 if (target_subtree_root_index >= heap_size) { in Heapify() 52 if (left < heap_size && in Heapify() 59 if (right < heap_size && in Heapify() 108 const int heap_size = scored_document_hits->size(); in BuildHeapInPlace() local 111 for (int subtree_root_index = heap_size / 2 - 1; subtree_root_index >= 0; in BuildHeapInPlace()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | heap_simulator.cc | 63 return result.heap_size; in MinimumMemoryForModule() 79 return result.heap_size; in MinimumMemoryForComputation() 93 return result.heap_size; in MinimumMemoryForComputation() 427 result.fragmentation_size = result.heap_size - no_frag_result.heap_size; in Finish() 502 result.heap_size = max_heap_size_; in Finish() 832 VLOG(1) << "result heap_size: " << result_.heap_size; in Finish() 834 result.heap_size = result_.heap_size; in Finish() 898 ChunkCandidate chunk_candidate{Chunk{-1, INT64_MAX}, result_.heap_size}; in FindChunkCandidate() 910 } else if (free_offset + free_size == result_.heap_size && in FindChunkCandidate() 915 chunk_candidate.heap_size = preferred_chunk_end; in FindChunkCandidate() [all …]
|
/external/libcxxabi/src/ |
D | fallback_malloc.cpp | 63 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()
|
D | cxa_vector.cpp | 146 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/llvm-project/libcxxabi/src/ |
D | fallback_malloc.cpp | 65 typedef unsigned short heap_size; typedef 69 heap_size len; // size in units of "sizeof(heap_node)" 116 p->len = static_cast<heap_size>(p->len - nelems); in fallback_malloc() 119 q->len = static_cast<heap_size>(nelems); in fallback_malloc() 159 p->len = static_cast<heap_size>( in fallback_free() 166 cp->len = static_cast<heap_size>(cp->len + p->len); in fallback_free() 186 heap_size total_free = 0; in print_free_list()
|
/external/llvm-project/compiler-rt/test/asan/TestCases/Linux/ |
D | thread_local_quarantine_size_kb.cpp | 27 size_t heap_size = __sanitizer_get_heap_size(); in main() local 28 fprintf(stderr, "Heap size: %zd\n", heap_size); in main() 38 if (new_heap_size - heap_size < kHeapSizeIncrementLimit) in main()
|
D | thread_local_quarantine_pthread_join.cpp | 39 size_t heap_size = __sanitizer_get_heap_size(); in main() local 40 fprintf(stderr, "Heap size: %zd\n", heap_size); in main() 52 if (new_heap_size - heap_size < kHeapSizeIncrementLimit) in main()
|
/external/arm-trusted-firmware/plat/arm/css/sgi/ |
D | sgi_plat_v2.c | 68 int plat_get_mbedtls_heap(void **heap_addr, size_t *heap_size) in plat_get_mbedtls_heap() argument 71 assert(heap_size != NULL); in plat_get_mbedtls_heap() 73 return arm_get_mbedtls_heap(heap_addr, heap_size); in plat_get_mbedtls_heap()
|
D | sgi_plat.c | 145 int plat_get_mbedtls_heap(void **heap_addr, size_t *heap_size) in plat_get_mbedtls_heap() argument 148 assert(heap_size != NULL); in plat_get_mbedtls_heap() 150 return arm_get_mbedtls_heap(heap_addr, heap_size); in plat_get_mbedtls_heap()
|
/external/arm-trusted-firmware/plat/arm/board/juno/ |
D | juno_security.c | 151 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/common/ |
D | arm_dyn_cfg.c | 47 int arm_get_mbedtls_heap(void **heap_addr, size_t *heap_size) in arm_get_mbedtls_heap() argument 50 assert(heap_size != NULL); in arm_get_mbedtls_heap() 58 *heap_size = sizeof(heap); in arm_get_mbedtls_heap() 66 *heap_size = FCONF_GET_PROPERTY(tbbr, dyn_config, mbedtls_heap_size); in arm_get_mbedtls_heap()
|
/external/arm-trusted-firmware/plat/arm/board/tc0/ |
D | tc0_plat.c | 138 int plat_get_mbedtls_heap(void **heap_addr, size_t *heap_size) in plat_get_mbedtls_heap() argument 141 assert(heap_size != NULL); in plat_get_mbedtls_heap() 143 return arm_get_mbedtls_heap(heap_addr, heap_size); in plat_get_mbedtls_heap()
|
/external/arm-trusted-firmware/plat/imx/imx7/common/ |
D | imx7_trusted_boot.c | 33 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/socionext/uniphier/ |
D | uniphier_tbbr.c | 37 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/plat/qemu/common/ |
D | qemu_trusted_boot.c | 33 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/ |
D | hikey960_tbbr.c | 33 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/ |
D | hikey_tbbr.c | 33 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/ |
D | rpi3_trusted_boot.c | 33 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/perfetto/test/trace_processor/profiling/ |
D | heap_stats_closest_proc.out | 10 heap_size: 64 32 heap_size: 64
|
/external/arm-trusted-firmware/plat/arm/css/sgm/ |
D | sgm_plat_config.c | 76 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/tensorflow/tensorflow/core/kernels/ |
D | topk_op_gpu.h | 279 const int heap_size = k < num_shards ? k : num_shards; 287 for (int slot = 0; slot < heap_size; slot++) { 290 min_heap.build(heap_size); 293 for (int shard = heap_size; shard < num_shards; shard++) { 304 min_heap.replace_root({shard, entry.value}, heap_size); 315 max_heap.build(heap_size); 329 heap_size); 394 const auto heap_size = k * sizeof(Entry<T>); 396 num_shards = shared_memory_size / heap_size - 1;
|