Home
last modified time | relevance | path

Searched refs:heap_buffer (Results 1 – 25 of 34) sorted by relevance

12

/aosp_15_r20/external/cpuinfo/deps/clog/src/
H A Dclog.c53 char* heap_buffer = NULL; in clog_vlog_fatal()
92 heap_buffer = malloc(prefix_chars + format_chars + CLOG_SUFFIX_LENGTH); in clog_vlog_fatal()
93 if (heap_buffer == NULL) { in clog_vlog_fatal()
99 …snprintf(heap_buffer, prefix_chars + 1 /* for '\0'-terminator */, CLOG_FATAL_PREFIX_FORMAT, module… in clog_vlog_fatal()
102 memcpy(heap_buffer, stack_buffer, prefix_chars); in clog_vlog_fatal()
104 vsnprintf(heap_buffer + prefix_chars, format_chars + CLOG_SUFFIX_LENGTH, format, args_copy); in clog_vlog_fatal()
105 out_buffer = heap_buffer; in clog_vlog_fatal()
121 free(heap_buffer); in clog_vlog_fatal()
131 char* heap_buffer = NULL; in clog_vlog_error()
170 heap_buffer = malloc(prefix_chars + format_chars + CLOG_SUFFIX_LENGTH); in clog_vlog_error()
[all …]
/aosp_15_r20/external/pytorch/aten/src/ATen/native/quantized/cpu/qnnpack/deps/clog/src/
H A Dclog.c58 char* heap_buffer = NULL; in clog_vlog_fatal()
101 heap_buffer = malloc(prefix_chars + format_chars + CLOG_SUFFIX_LENGTH); in clog_vlog_fatal()
102 if (heap_buffer == NULL) { in clog_vlog_fatal()
110 heap_buffer, in clog_vlog_fatal()
116 memcpy(heap_buffer, stack_buffer, prefix_chars); in clog_vlog_fatal()
119 heap_buffer + prefix_chars, in clog_vlog_fatal()
123 out_buffer = heap_buffer; in clog_vlog_fatal()
142 free(heap_buffer); in clog_vlog_fatal()
152 char* heap_buffer = NULL; in clog_vlog_error()
195 heap_buffer = malloc(prefix_chars + format_chars + CLOG_SUFFIX_LENGTH); in clog_vlog_error()
[all …]
/aosp_15_r20/external/XNNPACK/src/
H A Dlog.c52 char* heap_buffer = NULL; in xnn_vlog() local
76 heap_buffer = HeapAlloc(GetProcessHeap(), 0, heap_buffer_size); in xnn_vlog()
78 heap_buffer = malloc(heap_buffer_size); in xnn_vlog()
80 if (heap_buffer == NULL) { in xnn_vlog()
85 memcpy(heap_buffer, prefix, prefix_length * sizeof(char)); in xnn_vlog()
86 …vsnprintf(&heap_buffer[prefix_length], (format_length + XNN_LOG_NEWLINE_LENGTH) * sizeof(char), fo… in xnn_vlog()
87 out_buffer = heap_buffer; in xnn_vlog()
107 HeapFree(GetProcessHeap(), 0, heap_buffer); in xnn_vlog()
109 free(heap_buffer); in xnn_vlog()
/aosp_15_r20/external/clang/test/SemaCXX/
H A Dwarn-memset-bad-sizeof.cpp34 char* heap_buffer = new char[42]; in f() local
47 memset(heap_buffer, 0, sizeof(heap_buffer)); // \ in f()
/aosp_15_r20/external/openscreen/third_party/abseil/src/absl/debugging/
H A Dsymbolize_test.cc131 auto heap_buffer = absl::make_unique<char[]>(sizeof(try_symbolize_buffer)); in TrySymbolizeWithLimit() local
132 bool found = absl::Symbolize(pc, heap_buffer.get(), limit); in TrySymbolizeWithLimit()
134 ABSL_RAW_CHECK(strnlen(heap_buffer.get(), limit) < limit, in TrySymbolizeWithLimit()
136 strncpy(try_symbolize_buffer, heap_buffer.get(), in TrySymbolizeWithLimit()
/aosp_15_r20/external/angle/third_party/abseil-cpp/absl/debugging/
H A Dsymbolize_test.cc141 auto heap_buffer = absl::make_unique<char[]>(sizeof(try_symbolize_buffer)); in TrySymbolizeWithLimit() local
142 bool found = absl::Symbolize(pc, heap_buffer.get(), limit); in TrySymbolizeWithLimit()
145 strnlen(heap_buffer.get(), static_cast<size_t>(limit))), in TrySymbolizeWithLimit()
148 strncpy(try_symbolize_buffer, heap_buffer.get(), in TrySymbolizeWithLimit()
/aosp_15_r20/external/webrtc/third_party/abseil-cpp/absl/debugging/
H A Dsymbolize_test.cc131 auto heap_buffer = absl::make_unique<char[]>(sizeof(try_symbolize_buffer)); in TrySymbolizeWithLimit() local
132 bool found = absl::Symbolize(pc, heap_buffer.get(), limit); in TrySymbolizeWithLimit()
134 ABSL_RAW_CHECK(strnlen(heap_buffer.get(), limit) < limit, in TrySymbolizeWithLimit()
136 strncpy(try_symbolize_buffer, heap_buffer.get(), in TrySymbolizeWithLimit()
/aosp_15_r20/external/private-join-and-compute/third_party/abseil-cpp-20230125.2/absl/debugging/
H A Dsymbolize_test.cc131 auto heap_buffer = absl::make_unique<char[]>(sizeof(try_symbolize_buffer)); in TrySymbolizeWithLimit() local
132 bool found = absl::Symbolize(pc, heap_buffer.get(), limit); in TrySymbolizeWithLimit()
134 ABSL_RAW_CHECK(strnlen(heap_buffer.get(), limit) < limit, in TrySymbolizeWithLimit()
136 strncpy(try_symbolize_buffer, heap_buffer.get(), in TrySymbolizeWithLimit()
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/debugging/
Dsymbolize_test.cc131 auto heap_buffer = absl::make_unique<char[]>(sizeof(try_symbolize_buffer)); in TrySymbolizeWithLimit() local
132 bool found = absl::Symbolize(pc, heap_buffer.get(), limit); in TrySymbolizeWithLimit()
134 ABSL_RAW_CHECK(strnlen(heap_buffer.get(), limit) < limit, in TrySymbolizeWithLimit()
136 strncpy(try_symbolize_buffer, heap_buffer.get(), in TrySymbolizeWithLimit()
/aosp_15_r20/external/cronet/third_party/abseil-cpp/absl/debugging/
H A Dsymbolize_test.cc141 auto heap_buffer = absl::make_unique<char[]>(sizeof(try_symbolize_buffer)); in TrySymbolizeWithLimit() local
142 bool found = absl::Symbolize(pc, heap_buffer.get(), limit); in TrySymbolizeWithLimit()
145 strnlen(heap_buffer.get(), static_cast<size_t>(limit))), in TrySymbolizeWithLimit()
148 strncpy(try_symbolize_buffer, heap_buffer.get(), in TrySymbolizeWithLimit()
/aosp_15_r20/external/abseil-cpp/absl/debugging/
H A Dsymbolize_test.cc141 auto heap_buffer = absl::make_unique<char[]>(sizeof(try_symbolize_buffer)); in TrySymbolizeWithLimit() local
142 bool found = absl::Symbolize(pc, heap_buffer.get(), limit); in TrySymbolizeWithLimit()
145 strnlen(heap_buffer.get(), static_cast<size_t>(limit))), in TrySymbolizeWithLimit()
148 strncpy(try_symbolize_buffer, heap_buffer.get(), in TrySymbolizeWithLimit()
/aosp_15_r20/external/perfetto/include/perfetto/public/abi/
H A DBUILD.gn26 "heap_buffer.h",
/aosp_15_r20/external/perfetto/src/shared_lib/
H A DBUILD.gn41 "heap_buffer.cc",
/aosp_15_r20/art/runtime/jni/
H A Djni_internal_test.cc2415 jobject heap_buffer = env_->CallStaticObjectMethod(bb.get(), bb_allocate, 128); in TEST_F() local
2416 ASSERT_NE(heap_buffer, nullptr); in TEST_F()
2417 ASSERT_EQ(env_->GetDirectBufferAddress(heap_buffer), nullptr); in TEST_F()
2418 ASSERT_EQ(env_->GetDirectBufferCapacity(heap_buffer), -1L); in TEST_F()
/aosp_15_r20/out/soong/.intermediates/external/perfetto/libperfetto_c/android_arm64_armv8-2a_cortex-a55_shared/obj/external/perfetto/src/shared_lib/
Dheap_buffer.o.d1 …to_c/android_arm64_armv8-2a_cortex-a55_shared/obj/external/perfetto/src/shared_lib/heap_buffer.o: \
2 external/perfetto/src/shared_lib/heap_buffer.cc \
3 external/perfetto/include/perfetto/public/abi/heap_buffer.h \
/aosp_15_r20/out/soong/.intermediates/frameworks/native/libs/tracing_perfetto/libtracing_perfetto/android_arm64_armv8-2a_cortex-a55_shared/obj/frameworks/native/libs/tracing_perfetto/
Dtracing_perfetto.o.d301 external/perfetto/include/perfetto/public/abi/heap_buffer.h \
Dtracing_perfetto_internal.o.d897 external/perfetto/include/perfetto/public/abi/heap_buffer.h \
/aosp_15_r20/art/runtime/
H A Dclass_linker.cc9333 std::vector<FieldTypeOrderAndIndex> heap_buffer; in LinkFields() local
9338 heap_buffer.resize(num_fields); in LinkFields()
9339 sorted_fields = ArrayRef<FieldTypeOrderAndIndex>(heap_buffer); in LinkFields()
/aosp_15_r20/external/perfetto/
H A DBUILD1017 "include/perfetto/public/abi/heap_buffer.h",
1558 "src/shared_lib/heap_buffer.cc",
/aosp_15_r20/out/soong/.intermediates/external/perfetto/libperfetto_c/android_arm64_armv8-2a_cortex-a55_shared/unstripped/
Dlibperfetto_c.so.rsp1 …_arm64_armv8-2a_cortex-a55_shared/obj/external/perfetto/src/shared_lib/heap_buffer.o out/soong/.in…
/aosp_15_r20/out/soong/.intermediates/frameworks/native/cmds/servicemanager/servicemanager/android_arm64_armv8-2a_cortex-a55/obj/frameworks/native/cmds/servicemanager/
Dmain.o.d1005 external/perfetto/include/perfetto/public/abi/heap_buffer.h \
DServiceManager.o.d936 external/perfetto/include/perfetto/public/abi/heap_buffer.h \
/aosp_15_r20/out/soong/.intermediates/frameworks/base/core/jni/libandroid_runtime/android_arm64_armv8-2a_cortex-a55_shared/obj/frameworks/base/core/jni/
Dandroid_tracing_PerfettoDataSource.o.d906 external/perfetto/include/perfetto/public/abi/heap_buffer.h \
Dandroid_tracing_PerfettoProducer.o.d905 external/perfetto/include/perfetto/public/abi/heap_buffer.h \
Dandroid_tracing_PerfettoDataSourceInstance.o.d906 external/perfetto/include/perfetto/public/abi/heap_buffer.h \

12