Home
last modified time | relevance | path

Searched refs:str_view (Results 1 – 5 of 5) sorted by relevance

/external/cpu_features/src/
Dstring_view.c71 StringView CpuFeatures_StringView_PopFront(const StringView str_view, in CpuFeatures_StringView_PopFront() argument
73 if (count > str_view.size) { in CpuFeatures_StringView_PopFront()
76 return view(str_view.ptr + count, str_view.size - count); in CpuFeatures_StringView_PopFront()
79 StringView CpuFeatures_StringView_PopBack(const StringView str_view, in CpuFeatures_StringView_PopBack() argument
81 if (count > str_view.size) { in CpuFeatures_StringView_PopBack()
84 return view(str_view.ptr, str_view.size - count); in CpuFeatures_StringView_PopBack()
87 StringView CpuFeatures_StringView_KeepFront(const StringView str_view, in CpuFeatures_StringView_KeepFront() argument
89 return count <= str_view.size ? view(str_view.ptr, count) : str_view; in CpuFeatures_StringView_KeepFront()
/external/cpu_features/include/internal/
Dstring_view.h65 StringView CpuFeatures_StringView_PopFront(const StringView str_view,
70 StringView CpuFeatures_StringView_PopBack(const StringView str_view,
75 StringView CpuFeatures_StringView_KeepFront(const StringView str_view,
/external/perfetto/src/trace_processor/importers/proto/
Dheap_graph_module.cc221 auto str_view = base::StringView(str, entry.class_name().size); in ParseHeapGraph() local
247 seq_id, entry.id(), context_->storage->InternString(str_view), in ParseHeapGraph()
254 auto str_view = base::StringView(str, entry.str().size); in ParseHeapGraph() local
256 heap_graph_tracker->AddInternedFieldName(seq_id, entry.iid(), str_view); in ParseHeapGraph()
261 auto str_view = base::StringView(str, entry.str().size); in ParseHeapGraph() local
264 seq_id, entry.iid(), context_->storage->InternString(str_view)); in ParseHeapGraph()
269 auto str_view = base::StringView(str); in ParseHeapGraph() local
272 src_root.root_type = context_->storage->InternString(str_view); in ParseHeapGraph()
Dprofile_module.cc313 auto str_view = base::StringView(str, entry.str().size); in ParseProfilePacket() local
315 entry.iid(), str_view); in ParseProfilePacket()
/external/tensorflow/tensorflow/core/runtime_fallback/util/
Dattr_util_test.cc84 tfrt::string_view str_view(str); in TEST() local
85 EXPECT_EQ(ToAbslStringView(str_view), str); in TEST()