Home
last modified time | relevance | path

Searched refs:Interned (Results 1 – 25 of 31) sorted by relevance

12

/external/perfetto/src/profiling/common/
Dinterner_unittest.cc28 Interned<std::string> interned_str = interner.Intern("foo"); in TEST()
37 Interned<std::string> interned_str = interner.Intern("foo"); in TEST()
38 Interned<std::string> other_interned_str = interner.Intern("bar"); in TEST()
48 Interned<std::string> interned_str = interner.Intern("foo"); in TEST()
50 Interned<std::string> interned_str2 = interner.Intern("foo"); in TEST()
60 Interned<std::string> interned_str = interner.Intern("foo"); in TEST()
62 Interned<std::string> interned_str2(std::move(interned_str)); in TEST()
73 Interned<std::string> interned_str = interner.Intern("foo"); in TEST()
75 Interned<std::string> interned_str2(interned_str); in TEST()
87 Interned<std::string> interned_str = interner.Intern("foo"); in TEST()
[all …]
Dinterner.h57 class Interned {
60 explicit Interned(Entry* entry) : entry_(entry) {} in Interned() function
61 Interned(const Interned& other) : entry_(other.entry_) { in Interned() function
66 Interned(Interned&& other) noexcept : entry_(other.entry_) { in Interned() function
70 Interned& operator=(Interned other) noexcept {
80 ~Interned() { in ~Interned()
85 bool operator<(const Interned& other) const {
89 bool operator==(const Interned& other) const {
100 Interned Intern(U... args) { in Intern()
113 return Interned(&entry); in Intern()
[all …]
Dcallstack_trie.h34 explicit Mapping(Interned<std::string> b) : build_id(std::move(b)) {} in Mapping()
36 Interned<std::string> build_id;
42 std::vector<Interned<std::string>> path_components{};
61 Frame(Interned<Mapping> m, Interned<std::string> fn_name, uint64_t pc) in Frame()
63 Interned<Mapping> mapping;
64 Interned<std::string> function_name;
109 explicit Node(Interned<Frame> frame) : Node(frame, 0, nullptr) {} in Node()
113 Node(Interned<Frame> frame, uint64_t id) in Node()
115 Node(Interned<Frame> frame, uint64_t id, Node* parent) in Node()
123 Node* GetOrCreateChild(const Interned<Frame>& loc);
[all …]
Dcallstack_trie.cc30 const Interned<Frame>& loc) { in GetOrCreateChild()
37 std::vector<Interned<Frame>> GlobalCallstackTrie::BuildInverseCallstack( in BuildInverseCallstack()
39 std::vector<Interned<Frame>> res; in BuildInverseCallstack()
66 const std::vector<Interned<Frame>>& callstack) { in CreateCallsite()
71 const Interned<Frame>& loc = *it; in CreateCallsite()
99 Interned<Frame> GlobalCallstackTrie::InternCodeLocation( in InternCodeLocation()
118 Interned<Frame> GlobalCallstackTrie::MakeRootFrame() { in MakeRootFrame()
128 const Interned<Frame>& loc, in AddChild()
139 const Interned<Frame>& loc) { in GetChild()
Dinterning_output.cc60 void InterningOutputTracker::WriteMap(const Interned<Mapping> map, in WriteMap()
64 for (const Interned<std::string>& str : map->path_components) in WriteMap()
77 for (const Interned<std::string>& str : map->path_components) in WriteMap()
82 void InterningOutputTracker::WriteFrame(Interned<Frame> frame, in WriteFrame()
100 const Interned<std::string>& str, in WriteBuildIDString()
116 const Interned<std::string>& str, in WriteMappingPathString()
132 const Interned<std::string>& str, in WriteFunctionNameString()
156 for (const Interned<Frame>& frame : built_callstack) in WriteCallstack()
163 const Interned<Frame>& frame = *frame_it; in WriteCallstack()
Dinterning_output.h39 void WriteMap(const Interned<Mapping> map, protos::pbzero::InternedData* out);
40 void WriteFrame(Interned<Frame> frame, protos::pbzero::InternedData* out);
41 void WriteBuildIDString(const Interned<std::string>& str,
43 void WriteMappingPathString(const Interned<std::string>& str,
45 void WriteFunctionNameString(const Interned<std::string>& str,
/external/perfetto/src/profiling/memory/
Dbookkeeping_dump.h64 void WriteMap(const Interned<Mapping> map);
65 void WriteFrame(const Interned<Frame> frame);
66 void WriteBuildIDString(const Interned<std::string>& str);
67 void WriteMappingPathString(const Interned<std::string>& str);
68 void WriteFunctionNameString(const Interned<std::string>& str);
Dbookkeeping_dump.cc30 void DumpState::WriteMap(const Interned<Mapping> map) { in WriteMap()
34 void DumpState::WriteFrame(Interned<Frame> frame) { in WriteFrame()
38 void DumpState::WriteBuildIDString(const Interned<std::string>& str) { in WriteBuildIDString()
42 void DumpState::WriteMappingPathString(const Interned<std::string>& str) { in WriteMappingPathString()
46 void DumpState::WriteFunctionNameString(const Interned<std::string>& str) { in WriteFunctionNameString()
Dbookkeeping.cc41 std::vector<Interned<Frame>> frames; in RecordMalloc()
Dbookkeeping.h365 std::unordered_map<uint64_t /* abs pc */, Interned<Frame>> frame_cache_;
/external/google-java-format/core/src/test/resources/com/google/googlejavaformat/java/testdata/
Di55.output4 @interface Interned {}
9 String @Interned [] iarray1 = new String @Interned [2];
Di55.input4 @interface Interned {}
9 String @Interned [] iarray1 = new String @Interned [2];
/external/perfetto/protos/perfetto/trace/track_event/
Dlog_message.proto29 // Interned data types:
Dsource_location.proto22 // Interned data types:
Dchrome_message_pump.proto25 // Interned SourceLocation of IO handler that MessagePumpForIO is about to
Dchrome_histogram_sample.proto33 // Interned HistogramName. Only one of |name|, |name_iid| can be set.
Ddebug_annotation.proto114 // Interned data types:
Dtrack_event.proto253 // Interned field.
404 // Interned data types:
/external/perfetto/protos/perfetto/trace/ftrace/
Dftrace_event_bundle.proto39 // Interned table of unique strings for this bundle.
/external/perfetto/protos/perfetto/trace/gpu/
Dvulkan_memory_event.proto90 // Interned string. Original string value is stored in function_names from
Dgpu_render_stage_event.proto119 // Interned data.
/external/skqp/site/dev/design/
Dpdftheory.md29 * [Interned objects](#Interned_objects)
226 <span id="Interned_objects">Interned objects</span>
/external/skia/site/docs/dev/design/
Dpdftheory.md29 - [Interned objects](#Interned_objects)
206 ## <span id="Interned_objects">Interned objects</span>
/external/perfetto/protos/perfetto/trace/
Dperfetto_trace.proto5576 // Interned table of unique strings for this bundle.
5818 // Interned data.
5957 // Interned string. Original string value is stored in function_names from
6125 // Interned HistogramName. Only one of |name|, |name_iid| can be set.
6226 // Interned data types:
6246 // Interned data types:
6258 // Interned data types:
6779 // Interned SourceLocation of IO handler that MessagePumpForIO is about to
7082 // Interned field.
7233 // Interned data types:
/external/python/cpython3/Doc/library/
Dsys.rst972 Interned strings are not immortal; you must keep a reference to the return

12