Searched refs:str_view (Results 1 – 4 of 4) sorted by relevance
/external/cpu_features/src/ |
D | string_view.c | 62 StringView CpuFeatures_StringView_PopFront(const StringView str_view, in CpuFeatures_StringView_PopFront() argument 64 if (count > str_view.size) { in CpuFeatures_StringView_PopFront() 67 return view(str_view.ptr + count, str_view.size - count); in CpuFeatures_StringView_PopFront() 70 StringView CpuFeatures_StringView_PopBack(const StringView str_view, in CpuFeatures_StringView_PopBack() argument 72 if (count > str_view.size) { in CpuFeatures_StringView_PopBack() 75 return view(str_view.ptr, str_view.size - count); in CpuFeatures_StringView_PopBack() 78 StringView CpuFeatures_StringView_KeepFront(const StringView str_view, in CpuFeatures_StringView_KeepFront() argument 80 return count <= str_view.size ? view(str_view.ptr, count) : str_view; in CpuFeatures_StringView_KeepFront()
|
/external/cpu_features/include/internal/ |
D | string_view.h | 65 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/ |
D | heap_graph_module.cc | 206 auto str_view = base::StringView(str, entry.class_name().size); in ParseHeapGraph() local 232 seq_id, entry.id(), context_->storage->InternString(str_view), in ParseHeapGraph() 239 auto str_view = base::StringView(str, entry.str().size); in ParseHeapGraph() local 241 heap_graph_tracker->AddInternedFieldName(seq_id, entry.iid(), str_view); in ParseHeapGraph() 246 auto str_view = base::StringView(str, entry.str().size); in ParseHeapGraph() local 249 seq_id, entry.iid(), context_->storage->InternString(str_view)); in ParseHeapGraph() 254 auto str_view = base::StringView(str); in ParseHeapGraph() local 257 src_root.root_type = context_->storage->InternString(str_view); in ParseHeapGraph()
|
D | proto_trace_parser.cc | 257 auto str_view = base::StringView(str, entry.str().size); in ParseProfilePacket() local 259 entry.iid(), str_view); in ParseProfilePacket()
|