Home
last modified time | relevance | path

Searched defs:ValueUnion (Results 1 – 25 of 33) sorted by relevance

12

/aosp_15_r20/external/libcxx/utils/google-benchmark/src/
H A Dsysinfo.cc86 struct ValueUnion { struct
87 union DataT {
93 using DataPtr = std::unique_ptr<DataT, decltype(&std::free)>;
96 size_t Size;
97 DataPtr Buff;
100 ValueUnion() : Size(0), Buff(nullptr, &std::free) {} in ValueUnion() function
102 explicit ValueUnion(size_t BuffSize) in ValueUnion() function
108 explicit operator bool() const { return bool(Buff); } in operator bool()
110 char* data() const { return Buff->bytes; } in data()
112 std::string GetAsString() const { return std::string(data()); } in GetAsString()
[all …]
/aosp_15_r20/external/google-benchmark/src/
H A Dsysinfo.cc105 struct ValueUnion { struct
106 union DataT {
112 using DataPtr = std::unique_ptr<DataT, decltype(&std::free)>;
115 std::size_t size;
116 DataPtr buff;
119 ValueUnion() : size(0), buff(nullptr, &std::free) {} in ValueUnion() argument
121 explicit ValueUnion(std::size_t buff_size) in ValueUnion() argument
127 explicit operator bool() const { return bool(buff); } in operator bool()
129 char* data() const { return buff->bytes; } in data()
131 std::string GetAsString() const { return std::string(data()); } in GetAsString()
[all …]
/aosp_15_r20/external/cronet/third_party/google_benchmark/src/src/
H A Dsysinfo.cc101 struct ValueUnion { struct
102 union DataT {
108 using DataPtr = std::unique_ptr<DataT, decltype(&std::free)>;
111 std::size_t size;
112 DataPtr buff;
115 ValueUnion() : size(0), buff(nullptr, &std::free) {} in ValueUnion() argument
117 explicit ValueUnion(std::size_t buff_size) in ValueUnion() function
123 explicit operator bool() const { return bool(buff); } in operator bool()
125 char* data() const { return buff->bytes; } in data()
127 std::string GetAsString() const { return std::string(data()); } in GetAsString()
[all …]
/aosp_15_r20/external/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h58 union ValueUnion { union
61 ValueUnion(GlobalValue::GUID Id) : Id(Id) {} in ValueUnion() function
62 ValueUnion(const Value *V) : V(V) {} in ValueUnion() function
/aosp_15_r20/out/soong/.intermediates/external/perfetto/perfetto_protos_perfetto_trace_gpu_lite_gen_headers/gen/external/perfetto/protos/perfetto/trace/gpu/
Dgpu_counter_event.pb.h246 union ValueUnion { in Swap() union
247 constexpr ValueUnion() : _constinit_{} {} in Swap() function
Dvulkan_memory_event.pb.h331 union ValueUnion { in Swap() union
332 constexpr ValueUnion() : _constinit_{} {} in Swap() function
/aosp_15_r20/prebuilts/runtime/mainline/platform/sdk/include_gen/external/perfetto/perfetto_protos_perfetto_trace_gpu_lite_gen_headers/gen/external/perfetto/protos/perfetto/trace/gpu/
H A Dgpu_counter_event.pb.h246 union ValueUnion { in Swap() union
247 constexpr ValueUnion() : _constinit_{} {} in Swap() function
H A Dvulkan_memory_event.pb.h331 union ValueUnion { in Swap() union
332 constexpr ValueUnion() : _constinit_{} {} in Swap() function
/aosp_15_r20/prebuilts/runtime/mainline/platform/sdk/include_gen/external/perfetto/perfetto_protos_perfetto_trace_ftrace_lite_gen_headers/gen/external/perfetto/protos/perfetto/trace/ftrace/
H A Dgeneric.pb.h271 union ValueUnion { in Swap() union
272 constexpr ValueUnion() : _constinit_{} {} in Swap() function
/aosp_15_r20/external/executorch/devtools/bundled_program/schema/
H A Dbundled_program_schema.py43 ValueUnion = Union[ variable
/aosp_15_r20/out/soong/.intermediates/external/perfetto/perfetto_protos_perfetto_trace_ftrace_lite_gen_headers/gen/external/perfetto/protos/perfetto/trace/ftrace/
Dgeneric.pb.h297 union ValueUnion { in Swap() union
298 constexpr ValueUnion() : _constinit_{} {} in Swap() function
/aosp_15_r20/out/soong/.intermediates/frameworks/base/cmds/idmap2/libidmap2_protos/linux_glibc_x86_64_static/gen/proto/frameworks/base/cmds/idmap2/libidmap2/proto/
Dfabricated_v1.pb.h782 union ValueUnion { in Swap() union
783 constexpr ValueUnion() : _constinit_{} {} in Swap() function
/aosp_15_r20/out/soong/.intermediates/frameworks/base/cmds/idmap2/libidmap2_protos/android_arm64_armv8-2a_cortex-a55_static/gen/proto/frameworks/base/cmds/idmap2/libidmap2/proto/
Dfabricated_v1.pb.h782 union ValueUnion { in Swap() union
783 constexpr ValueUnion() : _constinit_{} {} in Swap() function
/aosp_15_r20/out/soong/.intermediates/external/perfetto/perfetto_protos_perfetto_trace_chrome_lite_gen_headers/gen/external/perfetto/protos/perfetto/trace/chrome/
Dchrome_trace_event.pb.h904 union ValueUnion { in Swap() union
905 constexpr ValueUnion() : _constinit_{} {} in Swap() function
1545 union ValueUnion { in Swap() union
1546 constexpr ValueUnion() : _constinit_{} {} in Swap() function
/aosp_15_r20/prebuilts/runtime/mainline/platform/sdk/include_gen/external/perfetto/perfetto_protos_perfetto_trace_chrome_lite_gen_headers/gen/external/perfetto/protos/perfetto/trace/chrome/
H A Dchrome_trace_event.pb.h904 union ValueUnion { in Swap() union
905 constexpr ValueUnion() : _constinit_{} {} in Swap() function
1545 union ValueUnion { in Swap() union
1546 constexpr ValueUnion() : _constinit_{} {} in Swap() function
/aosp_15_r20/out/soong/.intermediates/external/perfetto/perfetto_protos_perfetto_trace_android_lite_gen_headers/gen/external/perfetto/protos/perfetto/trace/android/
Dandroid_log.pb.h280 union ValueUnion { in Swap() union
281 constexpr ValueUnion() : _constinit_{} {} in Swap() function
/aosp_15_r20/prebuilts/runtime/mainline/platform/sdk/include_gen/external/perfetto/perfetto_protos_perfetto_trace_android_lite_gen_headers/gen/external/perfetto/protos/perfetto/trace/android/
H A Dandroid_log.pb.h280 union ValueUnion { in Swap() union
281 constexpr ValueUnion() : _constinit_{} {} in Swap() function
/aosp_15_r20/out/soong/.intermediates/external/tensorflow/tensorflow_core_proto_cpp_lite/android_arm64_armv8-2a_cortex-a55_static_apex33/gen/proto/tensorflow/core/framework/
Dattr_value.pb.h694 union ValueUnion { in Swap() union
695 constexpr ValueUnion() : _constinit_{} {} in Swap() function
/aosp_15_r20/out/soong/.intermediates/external/cronet/third_party/metrics_proto/cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers/android_arm64_armv8-2a_cortex-a55_apex30/gen/third_party/metrics_proto/
Dstructured_data.pb.h529 union ValueUnion { in Swap() union
530 constexpr ValueUnion() : _constinit_{} {} in Swap() function
/aosp_15_r20/out/soong/.intermediates/frameworks/base/libplatformprotos/linux_glibc_x86_64_static/gen/proto/frameworks/base/core/proto/android/util/
Dlog.pb.h738 union ValueUnion { in Swap() union
739 constexpr ValueUnion() : _constinit_{} {} in Swap() function
/aosp_15_r20/prebuilts/runtime/mainline/platform/sdk/include_gen/external/perfetto/perfetto_protos_perfetto_trace_track_event_lite_gen_headers/gen/external/perfetto/protos/perfetto/trace/track_event/
H A Ddebug_annotation.pb.h851 union ValueUnion { in Swap() union
852 constexpr ValueUnion() : _constinit_{} {} in Swap() function
/aosp_15_r20/out/soong/.intermediates/frameworks/base/libplatformprotos/android_arm64_armv8-2a_cortex-a55_static_cfi/gen/proto/frameworks/base/core/proto/android/util/
Dlog.pb.h683 union ValueUnion { in Swap() union
684 constexpr ValueUnion() : _constinit_{} {} in Swap() function
/aosp_15_r20/out/soong/.intermediates/packages/modules/StatsD/statsd/statsd/android_arm64_armv8-2a_cortex-a55_apex30/gen/proto/packages/modules/StatsD/statsd/src/
Dstatsd_metadata.pb.h680 union ValueUnion { in Swap() union
681 constexpr ValueUnion() : _constinit_{} {} in Swap() function
/aosp_15_r20/out/soong/.intermediates/frameworks/base/libplatformprotos/android_arm64_armv8-2a_cortex-a55_static/gen/proto/frameworks/base/core/proto/android/util/
Dlog.pb.h683 union ValueUnion { in Swap() union
684 constexpr ValueUnion() : _constinit_{} {} in Swap() function
/aosp_15_r20/out/soong/.intermediates/external/perfetto/perfetto_protos_perfetto_trace_track_event_lite_gen_headers/gen/external/perfetto/protos/perfetto/trace/track_event/
Ddebug_annotation.pb.h851 union ValueUnion { in Swap() union
852 constexpr ValueUnion() : _constinit_{} {} in Swap() function

12