/external/perfetto/src/trace_processor/containers/ |
D | string_pool.cc | 28 constexpr size_t StringPool::kNumBlockIndexBits; 30 constexpr size_t StringPool::kNumBlockOffsetBits; 32 constexpr size_t StringPool::kLargeStringFlagBitMask; 34 constexpr size_t StringPool::kBlockOffsetBitMask; 36 constexpr size_t StringPool::kBlockIndexBitMask; 38 constexpr size_t StringPool::kBlockSizeBytes; 40 constexpr size_t StringPool::kMinLargeStringSizeBytes; 42 StringPool::StringPool() { in StringPool() function in perfetto::trace_processor::StringPool 44 StringPool::kMinLargeStringSizeBytes <= StringPool::kBlockSizeBytes + 1, in StringPool() 54 StringPool::~StringPool() = default; [all …]
|
D | string_pool.h | 37 class StringPool { 90 Iterator(const StringPool*); 99 const StringPool* pool_ = nullptr; 105 StringPool(); 106 ~StringPool(); 109 StringPool(StringPool&&); 110 StringPool& operator=(StringPool&&); 113 StringPool(const StringPool&) = delete; 114 StringPool& operator=(const StringPool&) = delete; 298 struct std::hash<::perfetto::trace_processor::StringPool::Id> { [all …]
|
D | string_pool_unittest.cc | 29 static constexpr size_t kNumBlockOffsetBits = StringPool::kNumBlockOffsetBits; 30 static constexpr size_t kBlockIndexBitMask = StringPool::kBlockIndexBitMask; 31 static constexpr size_t kBlockSizeBytes = StringPool::kBlockSizeBytes; 33 StringPool::kMinLargeStringSizeBytes; 35 StringPool pool_; 41 ASSERT_EQ(pool_.Get(StringPool::Id::Null()).c_str(), nullptr); in TEST_F() 82 const StringPool& const_pool = pool_; in TEST_F() 102 std::multimap<StringPool::Id, base::StringView> string_map; in TEST_F() 170 std::array<StringPool::Id, kStringSizes.size()> string_ids; in TEST_F()
|
/external/perfetto/src/trace_processor/db/ |
D | typed_column_internal.h | 64 struct Serializer<StringPool::Id> { 65 using serialized_type = StringPool::Id; 67 static serialized_type Serialize(StringPool::Id value) { return value; } 68 static StringPool::Id Deserialize(serialized_type value) { return value; } 70 static serialized_type Serialize(base::Optional<StringPool::Id> value) { 79 return value ? Serialize(*value) : StringPool::Id::Null(); 82 base::Optional<StringPool::Id> value) { 145 struct TypeHandler<StringPool::Id> { 148 using non_optional_type = StringPool::Id; 149 using get_type = StringPool::Id; [all …]
|
/external/perfetto/src/trace_processor/tables/ |
D | profiler_tables.h | 55 C(StringPool::Id, path) \ 59 C(StringPool::Id, file_name) \ 62 C(StringPool::Id, module_debugid) \ 63 C(StringPool::Id, module_debug_path) \ 83 C(StringPool::Id, package_name) \ 101 C(StringPool::Id, build_id) \ 107 C(StringPool::Id, name) 123 C(StringPool::Id, name) \ 127 C(base::Optional<StringPool::Id>, deobfuscated_name) 198 C(StringPool::Id, cpu_mode) \ [all …]
|
D | slice_tables.h | 36 C(StringPool::Id, category) \ 37 C(StringPool::Id, name) \ 52 C(StringPool::Id, name) \ 54 C(StringPool::Id, ref_type) \ 68 C(StringPool::Id, end_state) \ 82 C(StringPool::Id, state) \ 84 C(base::Optional<StringPool::Id>, blocked_function) 94 C(StringPool::Id, render_target_name) \ 96 C(StringPool::Id, render_pass_name) \ 98 C(StringPool::Id, command_buffer_name) \ [all …]
|
D | metadata_tables.h | 31 C(StringPool::Id, name) \ 42 C(StringPool::Id, flat_key) \ 43 C(StringPool::Id, key) \ 45 C(base::Optional<StringPool::Id>, string_value) \ 47 C(StringPool::Id, value_type) 54 C(StringPool::Id, name) \ 55 C(StringPool::Id, key_type) \ 57 C(base::Optional<StringPool::Id>, str_value) 71 C(StringPool::Id, name) \ 89 C(StringPool::Id, name) \ [all …]
|
D | macros_benchmark.cc | 81 using perfetto::trace_processor::StringPool; 85 StringPool pool; in BM_TableInsert() 95 StringPool pool; in BM_TableIteratorChild() 118 StringPool pool; in BM_TableFilterAndSortRoot() 142 StringPool pool; in BM_TableFilterRootId() 156 StringPool pool; in BM_TableFilterRootIdAndOther() 175 StringPool pool; in BM_TableFilterChildId() 192 StringPool pool; in BM_TableFilterChildIdAndSortedInRoot() 215 StringPool pool; in BM_TableFilterRootNonNullEqMatchMany() 234 StringPool pool; in BM_TableFilterRootMultipleNonNull() [all …]
|
D | track_tables.h | 31 C(StringPool::Id, name) \ 56 C(StringPool::Id, scope) \ 57 C(StringPool::Id, description) \ 66 C(StringPool::Id, unit) \ 67 C(StringPool::Id, description)
|
/external/llvm-project/clang/include/clang/IndexSerialization/ |
D | SerializablePathCollection.h | 28 class StringPool { 55 StringPool::StringOffsetSize Path; 57 DirPath(RootDirKind Root, const StringPool::StringOffsetSize &Path) in DirPath() 63 StringPool::StringOffsetSize Filename; 65 FilePath(const DirPath &Dir, const StringPool::StringOffsetSize &Filename) in FilePath() 70 size_t addFilePath(RootDirKind Root, const StringPool::StringOffsetSize &Dir, 74 StringPool::StringOffsetSize addDirPath(StringRef Dir); 81 StringPool Paths; 95 const StringPool::StringOffsetSize WorkDirPath; 96 const StringPool::StringOffsetSize SysRootPath; [all …]
|
/external/perfetto/src/trace_processor/importers/proto/ |
D | heap_graph_tracker.h | 60 StringPool::Id type); 86 StringPool::Id root_type; 103 StringPool::Id strid, 110 StringPool::Id kind); 116 StringPool::Id str); 124 base::Optional<StringPool::Id> package_name, in RowsForType() 125 StringPool::Id type_name) const { in RowsForType() 132 const std::vector<int64_t>* RowsForField(StringPool::Id field_name) const { in RowsForField() 149 StringPool::Id name; 150 StringPool::Id type_name; [all …]
|
D | heap_graph_tracker_unittest.cc | 75 StringPool::Id x = context.storage->InternString("X"); in TEST() 76 StringPool::Id y = context.storage->InternString("Y"); in TEST() 77 StringPool::Id a = context.storage->InternString("A"); in TEST() 78 StringPool::Id b = context.storage->InternString("B"); in TEST() 79 StringPool::Id weak_ref = context.storage->InternString("WeakReference"); in TEST() 81 StringPool::Id normal_kind = context.storage->InternString("KIND_NORMAL"); in TEST() 82 StringPool::Id weak_ref_kind = in TEST()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceStringPool.h | 29 class StringPool { 30 StringPool(const StringPool &) = delete; 31 StringPool &operator=(const StringPool &) = delete; 36 StringPool() = default; 37 ~StringPool() = default; 75 using IDType = StringPool::IDType; 146 static LockedPtr<StringPool> getStrings(const OwnerType *Owner); 173 return hash<Ice::StringPool::IDType>()(Key.getID());
|
D | IceCfg.h | 102 StringPool *getNodeStrings() const { return NodeStrings.get(); } in getNodeStrings() 104 StringPool *getVarStrings() const { return VarStrings.get(); } in getVarStrings() 318 std::unique_ptr<StringPool> NodeStrings; 319 std::unique_ptr<StringPool> VarStrings; 343 static StringPool *getStrings(const OwnerType *PoolOwner) { in getStrings() 351 static StringPool *getStrings(const OwnerType *PoolOwner) { in getStrings()
|
/external/llvm/lib/Support/ |
D | StringPool.cpp | 19 StringPool::StringPool() {} in StringPool() function in StringPool 21 StringPool::~StringPool() { in ~StringPool() 25 PooledStringPtr StringPool::intern(StringRef Key) { in intern()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | StringPool.cpp | 18 StringPool::StringPool() {} in StringPool() function in StringPool 20 StringPool::~StringPool() { in ~StringPool() 24 PooledStringPtr StringPool::intern(StringRef Key) { in intern()
|
/external/llvm-project/lldb/source/Utility/ |
D | ConstString.cpp | 62 typedef llvm::StringMap<StringPoolValueType, Allocator> StringPool; typedef in Pool 132 StringPool &map = m_string_pools[h].m_string_map; in GetConstCStringAndSetMangledCounterPart() 182 StringPool m_string_map; 196 static Pool &StringPool() { in StringPool() function 207 : m_string(StringPool().GetConstCString(cstr)) {} in ConstString() 210 : m_string(StringPool().GetConstCStringWithLength(cstr, cstr_len)) {} in ConstString() 213 : m_string(StringPool().GetConstCStringWithStringRef(s)) {} in ConstString() 303 m_string = StringPool().GetConstCString(cstr); in SetCString() 307 m_string = StringPool().GetConstCStringWithLength(s.data(), s.size()); in SetString() 312 m_string = StringPool().GetConstCStringAndSetMangledCounterPart( in SetStringWithMangledCounterpart() [all …]
|
/external/llvm/include/llvm/Support/ |
D | StringPool.h | 42 class StringPool { 46 StringPool *Pool; ///< So the string can remove itself. 60 StringPool(); 61 ~StringPool(); 79 typedef StringPool::entry_t entry_t;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | StringPool.h | 42 class StringPool { 46 StringPool *Pool = nullptr; ///< So the string can remove itself. 60 StringPool(); 61 ~StringPool(); 79 using entry_t = StringPool::entry_t;
|
/external/perfetto/src/trace_processor/dynamic/ |
D | experimental_slice_layout_generator.h | 34 ExperimentalSliceLayoutGenerator(StringPool* string_pool, 46 Table ComputeLayoutTable(const Table& table, StringPool::Id filter_id); 56 StringPool* string_pool_; 58 const StringPool::Id empty_string_id_;
|
D | experimental_slice_layout_generator.cc | 39 StringPool* string_pool, in ExperimentalSliceLayoutGenerator() 96 StringPool::Id filter_id = in ComputeTable() 177 StringPool::Id filter_id) { in ComputeLayoutTable() 280 std::unique_ptr<NullableVector<StringPool::Id>> filter_column( in ComputeLayoutTable() 281 new NullableVector<StringPool::Id>()); in ComputeLayoutTable() 297 TypedColumn<StringPool::Id>::default_flags()); in ComputeLayoutTable()
|
/external/llvm-project/clang/lib/IndexSerialization/ |
D | SerializablePathCollection.cpp | 16 StringPool::StringOffsetSize StringPool::add(StringRef Str) { in add() 19 return StringPool::StringOffsetSize(Offset, Str.size()); in add() 23 const StringPool::StringOffsetSize &Dir, in addFilePath() 29 StringPool::StringOffsetSize PathPool::addDirPath(StringRef Dir) { in addDirPath()
|
/external/perfetto/src/trace_processor/types/ |
D | variadic.h | 59 static Variadic String(StringPool::Id string_id) { in String() 91 static Variadic Json(StringPool::Id json_value) { in Json() 125 StringPool::Id string_value; 129 StringPool::Id json_value;
|
/external/llvm-project/llvm/lib/DWARFLinker/ |
D | DWARFLinkerDeclContext.cpp | 45 UniquingStringPool &StringPool, bool InClangModule) { in getChildDeclContext() argument 94 NameRef = StringPool.internString(Name); in getChildDeclContext() 98 NameRef = StringPool.internString("(anonymous namespace)"); in getChildDeclContext() 101 ShortNameRef = StringPool.internString(ShortName); in getChildDeclContext() 152 FileRef = PathResolver.resolve(File, StringPool); in getChildDeclContext()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DWARFLinker/ |
D | DWARFLinkerDeclContext.cpp | 45 UniquingStringPool &StringPool, bool InClangModule) { in getChildDeclContext() argument 90 NameRef = StringPool.internString(Name); in getChildDeclContext() 94 NameRef = StringPool.internString("(anonymous namespace)"); in getChildDeclContext() 97 ShortNameRef = StringPool.internString(ShortName); in getChildDeclContext() 148 FileRef = PathResolver.resolve(File, StringPool); in getChildDeclContext()
|