Home
last modified time | relevance | path

Searched refs:GetStringView (Results 1 – 25 of 43) sorted by relevance

12

/aosp_15_r20/external/perfetto/src/base/
H A Dstring_writer_unittest.cc30 ASSERT_EQ(writer.GetStringView().ToStdString(), "0"); in TEST()
35 ASSERT_EQ(writer.GetStringView().ToStdString(), "132545"); in TEST()
40 ASSERT_EQ(writer.GetStringView().ToStdString(), "523"); in TEST()
45 ASSERT_EQ(writer.GetStringView().ToStdString(), "000"); in TEST()
50 ASSERT_EQ(writer.GetStringView().ToStdString(), "1"); in TEST()
55 ASSERT_EQ(writer.GetStringView().ToStdString(), "001"); in TEST()
60 ASSERT_EQ(writer.GetStringView().ToStdString(), "1"); in TEST()
65 ASSERT_EQ(writer.GetStringView().ToStdString(), " 123"); in TEST()
70 ASSERT_EQ(writer.GetStringView().ToStdString(), " 123"); in TEST()
75 ASSERT_EQ(writer.GetStringView().ToStdString(), "123.250000"); in TEST()
[all …]
/aosp_15_r20/external/perfetto/src/trace_processor/importers/proto/
H A Dgraphics_frame_event_parser.cc101 context_->storage->InternString(event_key_str.GetStringView()); in CreateBufferEvent()
128 context_->storage->InternString(track_name.GetStringView()); in CreateBufferEvent()
226 context_->storage->InternString(event_key_str.GetStringView()); in CreatePhaseEvent()
247 context_->storage->InternString(track_name.GetStringView()); in CreatePhaseEvent()
283 context_->storage->InternString(slice_name.GetStringView())); in CreatePhaseEvent()
301 context_->storage->InternString(track_name.GetStringView()); in CreatePhaseEvent()
332 context_->storage->InternString(track_name.GetStringView()); in CreatePhaseEvent()
356 context_->storage->InternString(track_name.GetStringView()); in CreatePhaseEvent()
385 slice.name = context_->storage->InternString(slice_name.GetStringView()); in CreatePhaseEvent()
H A Dgpu_event_parser.cc177 unit_id = context_->storage->InternString(unit.GetStringView()); in ParseGpuCounterEvent()
338 return context_->storage->InternString(writer.GetStringView()); in ParseRenderSubpasses()
457 context_->storage->InternString(writer.GetStringView()); in ParseGpuRenderStageEvent()
/aosp_15_r20/art/libdexfile/dex/
H A Ddex_file-inl.h94 inline std::string_view DexFile::GetStringView(const dex::StringId& string_id) const { in GetStringView() function
101 inline std::string_view DexFile::GetStringView(dex::StringIndex string_idx) const { in GetStringView() function
102 return GetStringView(GetStringId(string_idx)); in GetStringView()
114 return GetStringView(type_id.descriptor_idx_); in GetTypeDescriptorView()
163 return GetStringView(field_id.name_idx_); in GetFieldNameView()
215 return GetStringView(method_id.name_idx_); in GetMethodNameView()
H A Dtype_lookup_table.cc49 const uint32_t hash = ComputeModifiedUtf8Hash(dex_file.GetStringView(str_id)); in Create()
64 const uint32_t hash = ComputeModifiedUtf8Hash(dex_file.GetStringView(str_id)); in Create()
H A Ddex_file.h356 std::string_view GetStringView(const dex::StringId& string_id) const;
357 std::string_view GetStringView(dex::StringIndex string_idx) const;
/aosp_15_r20/prebuilts/module_sdk/art/13/common_os/include/art/libdexfile/dex/
Ddex_file-inl.h91 inline std::string_view DexFile::GetStringView(const dex::StringId& string_id) const { in GetStringView() function
98 inline std::string_view DexFile::GetStringView(dex::StringIndex string_idx) const { in GetStringView() function
99 return GetStringView(GetStringId(string_idx)); in GetStringView()
111 return GetStringView(type_id.descriptor_idx_); in GetTypeDescriptorView()
160 return GetStringView(field_id.name_idx_); in GetFieldNameView()
212 return GetStringView(method_id.name_idx_); in GetMethodNameView()
/aosp_15_r20/prebuilts/module_sdk/art/current/sdk/common_os/include/art/libdexfile/dex/
Ddex_file-inl.h91 inline std::string_view DexFile::GetStringView(const dex::StringId& string_id) const { in GetStringView() function
98 inline std::string_view DexFile::GetStringView(dex::StringIndex string_idx) const { in GetStringView() function
99 return GetStringView(GetStringId(string_idx)); in GetStringView()
111 return GetStringView(type_id.descriptor_idx_); in GetTypeDescriptorView()
160 return GetStringView(field_id.name_idx_); in GetFieldNameView()
212 return GetStringView(method_id.name_idx_); in GetMethodNameView()
/aosp_15_r20/prebuilts/module_sdk/art/13/include/art/libdexfile/dex/
Ddex_file-inl.h91 inline std::string_view DexFile::GetStringView(const dex::StringId& string_id) const { in GetStringView() function
98 inline std::string_view DexFile::GetStringView(dex::StringIndex string_idx) const { in GetStringView() function
99 return GetStringView(GetStringId(string_idx)); in GetStringView()
111 return GetStringView(type_id.descriptor_idx_); in GetTypeDescriptorView()
160 return GetStringView(field_id.name_idx_); in GetFieldNameView()
212 return GetStringView(method_id.name_idx_); in GetMethodNameView()
Ddex_file.h356 std::string_view GetStringView(const dex::StringId& string_id) const;
357 std::string_view GetStringView(dex::StringIndex string_idx) const;
/aosp_15_r20/prebuilts/module_sdk/art/current/sdk/include/art/libdexfile/dex/
Ddex_file-inl.h91 inline std::string_view DexFile::GetStringView(const dex::StringId& string_id) const { in GetStringView() function
98 inline std::string_view DexFile::GetStringView(dex::StringIndex string_idx) const { in GetStringView() function
99 return GetStringView(GetStringId(string_idx)); in GetStringView()
111 return GetStringView(type_id.descriptor_idx_); in GetTypeDescriptorView()
160 return GetStringView(field_id.name_idx_); in GetFieldNameView()
212 return GetStringView(method_id.name_idx_); in GetMethodNameView()
Ddex_file.h356 std::string_view GetStringView(const dex::StringId& string_id) const;
357 std::string_view GetStringView(dex::StringIndex string_idx) const;
/aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/http2/adapter/
H A Doghttp2_util.cc9 absl::string_view name = GetStringView(header.first).first; in ToHeaderBlock()
10 absl::string_view value = GetStringView(header.second).first; in ToHeaderBlock()
H A Dnghttp2_util.cc70 const auto [name, no_copy_name] = GetStringView(headers[i].first); in GetNghttp2Nvs()
76 const auto [value, no_copy_value] = GetStringView(headers[i].second); in GetNghttp2Nvs()
H A Dhttp2_protocol.cc19 std::pair<absl::string_view, bool> GetStringView(const HeaderRep& rep) { in GetStringView() function
H A Dhttp2_protocol.h30 std::pair<absl::string_view, bool> GetStringView(const HeaderRep& rep);
/aosp_15_r20/external/perfetto/src/traceconv/
H A Dtrace_to_systrace.cc132 auto str = global_writer_.GetStringView(); in RunQuery()
136 global_writer_.AppendStringView(line_writer.GetStringView()); in RunQuery()
147 auto str = global_writer_.GetStringView(); in RunQuery()
/aosp_15_r20/prebuilts/android-emulator/linux-x86_64/include/flatbuffers/
H A Dstring.h57 static inline flatbuffers::string_view GetStringView(const String *str) { in GetStringView() function
/aosp_15_r20/external/flatbuffers/include/flatbuffers/
H A Dstring.h57 static inline flatbuffers::string_view GetStringView(const String *str) { in GetStringView() function
/aosp_15_r20/external/perfetto/src/trace_processor/sqlite/
H A Ddb_sqlite_table.cc108 base::StringView GetStringView() const { in GetStringView() function in perfetto::trace_processor::__anon3d64aa260111::SafeStringWriter
341 r->AddArg("Constraint", writer.GetStringView()); in FilterAndSortMetatrace()
349 r->AddArg("Order by", writer.GetStringView()); in FilterAndSortMetatrace()
/aosp_15_r20/external/perfetto/src/tools/dump_ftrace_stats/
H A Dmain.cc98 auto output = writer.GetStringView(); in DumpAllCpuStats()
/aosp_15_r20/external/perfetto/src/profiling/symbolizer/
H A Dbreakpad_parser.cc207 new_symbol.symbol_name = func_name_writer.GetStringView().ToStdString(); in ParseIfFuncRecord()
/aosp_15_r20/prebuilts/runtime/mainline/platform/sdk/include/external/perfetto/include/perfetto/ext/base/
H A Dstring_writer.h124 StringView GetStringView() { in GetStringView() function
/aosp_15_r20/external/perfetto/include/perfetto/ext/base/
H A Dstring_writer.h124 StringView GetStringView() { in GetStringView() function
/aosp_15_r20/art/tools/veridex/
H A Dhidden_api_finder.cc75 const std::string name(dex_file.GetStringView(string_index)); in CollectAccesses()

12