Home
last modified time | relevance | path

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

/external/perfetto/src/trace_processor/importers/ftrace/
Dftrace_tokenizer.cc114 std::vector<StringId> string_table; in TokenizeFtraceCompactSched() local
115 string_table.reserve(512); in TokenizeFtraceCompactSched()
118 string_table.push_back(value); in TokenizeFtraceCompactSched()
121 TokenizeFtraceCompactSchedSwitch(cpu, compact_sched, string_table); in TokenizeFtraceCompactSched()
122 TokenizeFtraceCompactSchedWaking(cpu, compact_sched, string_table); in TokenizeFtraceCompactSched()
128 const std::vector<StringId>& string_table) { in TokenizeFtraceCompactSchedSwitch() argument
150 PERFETTO_DCHECK(*comm_it < string_table.size()); in TokenizeFtraceCompactSchedSwitch()
151 event.next_comm = string_table[*comm_it]; in TokenizeFtraceCompactSchedSwitch()
170 const std::vector<StringId>& string_table) { in TokenizeFtraceCompactSchedWaking() argument
193 PERFETTO_DCHECK(*comm_it < string_table.size()); in TokenizeFtraceCompactSchedWaking()
[all …]
Dftrace_tokenizer.h47 const std::vector<StringId>& string_table);
51 const std::vector<StringId>& string_table);
/external/perfetto/tools/compact_reencode/
Dmain.cc90 std::vector<std::string> string_table; in ReEncodeBundle() local
91 auto intern = [&string_table](std::string str) { in ReEncodeBundle()
92 for (size_t i = 0; i < string_table.size(); i++) { in ReEncodeBundle()
93 if (str == string_table[i]) in ReEncodeBundle()
96 size_t new_idx = string_table.size(); in ReEncodeBundle()
97 string_table.push_back(str); in ReEncodeBundle()
145 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/pigweed/pw_tokenizer/py/pw_tokenizer/
Dtokens.py398 string_table = fd.read()
401 end = string_table.find(b'\0', start)
402 return string_table[start:string_table.find(b'\0', start)].decode(
417 string_table = bytearray()
432 string_table += entry.string.encode()
433 string_table.append(0)
439 fd.write(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/perfetto/protos/perfetto/trace/chrome/
Dchrome_trace_event.proto60 // and is an index into |string_table|.
82 // and are indices into |string_table|.
125 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/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/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
DHashedNameToDIE.h127 const lldb_private::DWARFDataExtractor &string_table,
DHashedNameToDIE.cpp307 const lldb_private::DWARFDataExtractor &string_table, const char *name) in MemoryTable() argument
309 m_data(table_data), m_string_table(string_table), m_name(name) {} in MemoryTable()
/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/perfetto/protos/third_party/pprof/
Dprofile.proto68 // string_table[0] must always be "".
69 repeated string string_table = 6; field
/external/llvm-project/lldb/tools/compact-unwind/
Dcompact-unwind-dumper.c293 char *string_table = in scan_macho_load_commands() local
336 string_table + nlist.n_un.n_strx; in scan_macho_load_commands()
366 string_table + nlist.n_un.n_strx; in scan_macho_load_commands()
/external/perfetto/protos/perfetto/trace/
Dperfetto_trace.proto2502 // and is an index into |string_table|.
2524 // and are indices into |string_table|.
2567 repeated ChromeStringTableEntry string_table = 3 [deprecated = true]; field