Home
last modified time | relevance | path

Searched refs:string_table (Results 1 – 25 of 32) sorted by relevance

12

/external/perfetto/src/trace_processor/importers/ftrace/
Dftrace_tokenizer.cc113 std::vector<StringId> string_table; in TokenizeFtraceCompactSched() local
114 string_table.reserve(512); in TokenizeFtraceCompactSched()
117 string_table.push_back(value); in TokenizeFtraceCompactSched()
120 TokenizeFtraceCompactSchedSwitch(cpu, compact_sched, string_table); in TokenizeFtraceCompactSched()
121 TokenizeFtraceCompactSchedWaking(cpu, compact_sched, string_table); in TokenizeFtraceCompactSched()
127 const std::vector<StringId>& string_table) { in TokenizeFtraceCompactSchedSwitch() argument
149 PERFETTO_DCHECK(*comm_it < string_table.size()); in TokenizeFtraceCompactSchedSwitch()
150 event.next_comm = string_table[*comm_it]; in TokenizeFtraceCompactSchedSwitch()
169 const std::vector<StringId>& string_table) { in TokenizeFtraceCompactSchedWaking() argument
192 PERFETTO_DCHECK(*comm_it < string_table.size()); in TokenizeFtraceCompactSchedWaking()
[all …]
Dftrace_tokenizer.h43 const std::vector<StringId>& string_table);
47 const std::vector<StringId>& string_table);
/external/perfetto/tools/compact_reencode/
Dmain.cc89 std::vector<std::string> string_table; in ReEncodeBundle() local
90 auto intern = [&string_table](std::string str) { in ReEncodeBundle()
91 for (size_t i = 0; i < string_table.size(); i++) { in ReEncodeBundle()
92 if (str == string_table[i]) in ReEncodeBundle()
95 size_t new_idx = string_table.size(); in ReEncodeBundle()
96 string_table.push_back(str); in ReEncodeBundle()
144 for (const auto& s : string_table) in ReEncodeBundle()
/external/tensorflow/tensorflow/python/profiler/
Dpprof_profiler.py99 def string_table(self): member in StringTable
107 def __init__(self, string_table): argument
113 self._string_table = string_table
212 def __init__(self, string_table): argument
218 self._string_table = string_table
298 pprof_proto.string_table.append(device_description)
359 pprof_profile.string_table.extend(self._string_table.string_table())
Dpprof_profiler_test.py157 if profile.string_table[sample.label[0].str] == 'while/Add':
Dmodel_analyzer_test.py450 self.assertGreater(len(profile_pb.string_table), 30)
454 for s in profile_pb.string_table:
/external/mesa3d/src/amd/common/
Dsid_tables.py146 def format(self, string_table, idx_table): argument
153 values_offsets[value[1]] = string_table.add(value[0])
155 string_table.add(self.name),
160 return '{{{0}, 0x{mask:X}}}'.format(string_table.add(self.name), **locals())
208 def emit(self, filp, string_table, idx_table): argument
221 filp.write('\t%s,\n' % (field.format(string_table, idx_table)))
/external/autotest/server/cros/ap_configurators/
Dap_spec.py107 string_table = {MODE_A:'a', MODE_AC:'ac', MODE_B:'b', MODE_G:'g',
114 for current_mode in sorted(string_table.keys()):
117 if i in string_table:
118 string = string + string_table[i] + '/'
/external/perfetto/src/trace_processor/importers/fuchsia/
Dfuchsia_trace_tokenizer.cc256 current_provider_->string_table[index] = id; in ParseRecord()
312 record->InsertString(cat_ref, current_provider_->string_table[cat_ref]); in ParseRecord()
320 current_provider_->string_table[name_ref]); in ParseRecord()
344 current_provider_->string_table[arg_name_ref]); in ParseRecord()
355 arg_value_ref, current_provider_->string_table[arg_value_ref]); in ParseRecord()
386 name = current_provider_->string_table[name_ref]; in ParseRecord()
428 current_provider_->string_table[arg_name_ref]); in ParseRecord()
Dfuchsia_trace_tokenizer.h45 std::unordered_map<uint64_t, StringId> string_table; member
/external/v8/src/execution/
Dlocal-isolate.h54 StringTable* string_table() const { return isolate_->string_table(); } in string_table() function
/external/v8/src/heap/
Dfactory-inl.h35 return isolate()->string_table()->LookupString(isolate(), string); in ROOT_LIST()
40 return isolate()->string_table()->LookupString(isolate(), in InternalizeName()
/external/v8/src/snapshot/
Dstartup-serializer.cc182 SerializeStringTable(isolate()->string_table()); in SerializeWeakReferencesAndDeferred()
190 void StartupSerializer::SerializeStringTable(StringTable* string_table) { in SerializeStringTable() argument
202 sink_.PutInt(isolate()->string_table()->NumberOfElements(), in SerializeStringTable()
237 isolate()->string_table()->IterateElements(&string_table_visitor); in SerializeStringTable()
Dstartup-deserializer.cc90 isolate()->string_table()->LookupKey(isolate(), &key); in DeserializeStringTable()
98 DCHECK_EQ(string_table_size, isolate()->string_table()->NumberOfElements()); in DeserializeStringTable()
Dstartup-serializer.h54 void SerializeStringTable(StringTable* string_table);
/external/perfetto/protos/perfetto/trace/chrome/
Dchrome_trace_event.proto60 // and is an index into |string_table|.
82 // and are indices into |string_table|.
121 repeated ChromeStringTableEntry string_table = 3 [deprecated = true]; field
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DConstantPoolGen.java114 if (!string_table.containsKey(key)) { in ConstantPoolGen()
115 string_table.put(key, new Index(i)); in ConstantPoolGen()
232 private final Map<String, Index> string_table = new HashMap<>(); field in ConstantPoolGen
242 final Index index = string_table.get(str); in lookupString()
263 if (!string_table.containsKey(str)) { in addString()
264 string_table.put(str, new Index(ret)); in addString()
/external/tensorflow/tensorflow/core/profiler/
Dprofile.proto12 repeated string string_table = 6; field
/external/v8/src/ast/
Dast-value-factory.h287 const AstRawStringMap* string_table() const { return &string_table_; } in string_table() function
305 : string_table_(string_constants->string_table()), in AstValueFactory()
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_code.cc99 explicit FunctionTable(StringTable* string_table) in FunctionTable() argument
100 : string_table_(string_table) {} in FunctionTable()
177 explicit Samples(StringTable* string_table, const Options* opts) in Samples() argument
178 : string_table_(string_table), opts_(opts) {} in Samples()
/external/libunwind/src/
Delfxx.c289 static char* elf_w (string_table) (struct elf_image* ei, int section) { in elf_w() argument
330 char* strtab = elf_w (string_table) (ei, shdr->sh_link); in elf_w()
534 strtab = elf_w (string_table) (ei, ehdr->e_shstrndx); in elf_w()
/external/llvm/test/tools/llvm-readobj/Inputs/
Drelocs.py156 self.string_table = strings
159 end = self.string_table.index('\x00', index)
160 return self.string_table[index:end]
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-readobj/Inputs/
Drelocs.py156 self.string_table = strings
159 end = self.string_table.index('\x00', index)
160 return self.string_table[index:end]
/external/perfetto/protos/third_party/pprof/
Dprofile.proto68 // string_table[0] must always be "".
69 repeated string string_table = 6; field
/external/v8/src/objects/
Dstring-table.cc628 isolate->string_table()->data_.load(std::memory_order_acquire); in TryStringToIndexOrLookupExisting()

12