Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/perfetto/src/trace_processor/importers/ftrace/
H A Dftrace_tokenizer.cc310 std::vector<StringId> string_table; in TokenizeFtraceCompactSched() local
311 string_table.reserve(512); in TokenizeFtraceCompactSched()
314 string_table.push_back(value); in TokenizeFtraceCompactSched()
317 TokenizeFtraceCompactSchedSwitch(cpu, clock_id, compact_sched, string_table); in TokenizeFtraceCompactSched()
318 TokenizeFtraceCompactSchedWaking(cpu, clock_id, compact_sched, string_table); in TokenizeFtraceCompactSched()
325 const std::vector<StringId>& string_table) { in TokenizeFtraceCompactSchedSwitch() argument
347 if (PERFETTO_UNLIKELY(*comm_it >= string_table.size())) { in TokenizeFtraceCompactSchedSwitch()
351 event.next_comm = string_table[*comm_it]; in TokenizeFtraceCompactSchedSwitch()
378 const std::vector<StringId>& string_table) { in TokenizeFtraceCompactSchedWaking() argument
402 if (PERFETTO_UNLIKELY(*comm_it >= string_table.size())) { in TokenizeFtraceCompactSchedWaking()
[all …]
H A Dftrace_tokenizer.h55 const std::vector<StringId>& string_table);
60 const std::vector<StringId>& string_table);
/aosp_15_r20/external/tensorflow/tensorflow/python/profiler/
H A Dpprof_profiler.py95 def string_table(self): member in StringTable
103 def __init__(self, string_table): argument
109 self._string_table = string_table
208 def __init__(self, string_table): argument
214 self._string_table = string_table
294 pprof_proto.string_table.append(device_description)
355 pprof_profile.string_table.extend(self._string_table.string_table())
/aosp_15_r20/external/perfetto/src/traceconv/
H A Dpprof_reader.cc39 const auto it = std::find(profile_.string_table().begin(), in get_string_index()
40 profile_.string_table().end(), str); in get_string_index()
42 if (it == profile_.string_table().end()) { in get_string_index()
46 return std::distance(profile_.string_table().begin(), it); in get_string_index()
51 if (string_index >= profile_.string_table().size()) { in get_string_by_index()
56 return profile_.string_table()[string_index]; in get_string_by_index()
/aosp_15_r20/system/extras/simpleperf/scripts/
H A Dpprof_proto_generator.py69 self.string_table = profile.string_table
94 print('%d strings' % len(p.string_table))
95 for i in range(len(p.string_table)):
96 print('string[%d]: %s' % (i, p.string_table[i]))
176 return self.string_table[string_id]
280 self.profile.string_table.append('')
281 self.string_table = {}
424 str_id = self.string_table.get(str_value)
427 str_id = len(self.string_table) + 1
428 self.string_table[str_value] = str_id
[all …]
/aosp_15_r20/external/mesa3d/src/amd/common/
H A Dsid_tables.py131 def format(self, string_table, idx_table): argument
138 values_offsets[value[1]] = string_table.add(value[0])
140 string_table.add(self.name),
145 return '{{{0}, 0x{mask:X}}}'.format(string_table.add(self.name), **locals())
193 def emit(self, filp, string_table, idx_table): argument
206 filp.write('\t%s,\n' % (field.format(string_table, idx_table)))
/aosp_15_r20/external/pigweed/pw_tokenizer/py/pw_tokenizer/
H A Dtokens.py619 string_table = fd.read()
622 end = string_table.find(b'\0', start)
624 string_table[start : string_table.find(b'\0', start)].decode(),
640 string_table = bytearray()
655 string_table += entry.string.encode()
656 string_table.append(0)
664 fd.write(string_table)
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/test/src/term/terminfo/parser/
H A Dcompiled.rs280 let mut string_table = Vec::new(); in parse() localVariable
281 t!(file.take(string_table_bytes as u64).read_to_end(&mut string_table)); in parse()
302 let nulpos = string_table[offset..string_table_bytes].iter().position(|&b| b == 0); in parse()
305 Ok((name.to_string(), string_table[offset..offset + len].to_vec())) in parse()
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/test/src/term/terminfo/parser/
H A Dcompiled.rs280 let mut string_table = Vec::new(); in parse() localVariable
281 t!(file.take(string_table_bytes as u64).read_to_end(&mut string_table)); in parse()
302 let nulpos = string_table[offset..string_table_bytes].iter().position(|&b| b == 0); in parse()
305 Ok((name.to_string(), string_table[offset..offset + len].to_vec())) in parse()
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/test/src/term/terminfo/parser/
H A Dcompiled.rs280 let mut string_table = Vec::new(); in parse() localVariable
281 t!(file.take(string_table_bytes as u64).read_to_end(&mut string_table)); in parse()
302 let nulpos = string_table[offset..string_table_bytes].iter().position(|&b| b == 0); in parse()
305 Ok((name.to_string(), string_table[offset..offset + len].to_vec())) in parse()
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/test/src/term/terminfo/parser/
H A Dcompiled.rs280 let mut string_table = Vec::new(); in parse() localVariable
281 t!(file.take(string_table_bytes as u64).read_to_end(&mut string_table)); in parse()
302 let nulpos = string_table[offset..string_table_bytes].iter().position(|&b| b == 0); in parse()
305 Ok((name.to_string(), string_table[offset..offset + len].to_vec())) in parse()
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/test/src/term/terminfo/parser/
H A Dcompiled.rs280 let mut string_table = Vec::new(); in parse() localVariable
281 t!(file.take(string_table_bytes as u64).read_to_end(&mut string_table)); in parse()
302 let nulpos = string_table[offset..string_table_bytes].iter().position(|&b| b == 0); in parse()
305 Ok((name.to_string(), string_table[offset..offset + len].to_vec())) in parse()
/aosp_15_r20/art/tools/jvmti-agents/ti-alloc-sample/
H A Dti_alloc_sample.cc273 static UniqueStringTable* string_table = nullptr; variable
291 return string_table->Intern("+", allocation.str()); in formatAllocation()
304 return string_table->Intern("+", method); in formatMethod()
348 stream->Write(string_table->Intern("=", record) + "\n"); in logVMObjectAlloc()
443 string_table = new UniqueStringTable(); in AgentStart()
/aosp_15_r20/external/autotest/server/cros/ap_configurators/
H A Dap_spec.py110 string_table = {MODE_A:'a', MODE_AC:'ac', MODE_B:'b', MODE_G:'g',
117 for current_mode in sorted(string_table.keys()):
120 if i in string_table:
121 string = string + string_table[i] + '/'
/aosp_15_r20/external/perfetto/src/trace_processor/importers/fuchsia/
H A Dfuchsia_trace_tokenizer.h55 std::unordered_map<uint64_t, StringId> string_table; member
60 auto search = string_table.find(string_ref); in GetString()
61 if (search != string_table.end()) { in GetString()
/aosp_15_r20/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
H A 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()
/aosp_15_r20/external/perfetto/src/trace_processor/util/
H A Dprofile_builder.cc133 StringTable& string_table) { in MappingKey() argument
136 build_id_or_filename = string_table.InternString(mapping.build_id()); in MappingKey()
138 build_id_or_filename = string_table.InternString(mapping.name()); in MappingKey()
145 StringTable& string_table) in Mapping() argument
149 filename(string_table.InternString(mapping.name())), in Mapping()
150 build_id(string_table.InternString(mapping.build_id())), in Mapping()
H A Dprofile_builder.h194 StringTable& string_table);
222 StringTable& string_table);
/aosp_15_r20/system/extras/simpleperf/scripts/test/
H A Dpprof_proto_generator_test.py188 binary_path = profile.string_table[mapping.filename]
206 self.assertIn(check_item.source_file, profile.string_table[function.filename])
208 self.assertIn(check_item.func_name, profile.string_table[function.name])
258 comments = "\n".join([profile.string_table[i] for i in profile.comment])
/aosp_15_r20/external/perfetto/protos/perfetto/trace/chrome/
H A 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
/aosp_15_r20/external/perfetto/src/trace_processor/perfetto_sql/stdlib/export/
H A Dto_firefox_profile.sql278 string_table AS (
287 FROM string_table;
/aosp_15_r20/external/tensorflow/tensorflow/core/profiler/internal/
H A Dtfprof_code.cc97 explicit FunctionTable(StringTable* string_table) in FunctionTable() argument
98 : string_table_(string_table) {} in FunctionTable()
175 explicit Samples(StringTable* string_table, const Options* opts) in Samples() argument
176 : string_table_(string_table), opts_(opts) {} in Samples()
/aosp_15_r20/frameworks/libs/binary_translation/tools/nogrod/
Ddwarf_info.cc329 StringTable string_table, in DwarfInfo() argument
333 string_table_{std::move(string_table)},
Delf_reader.cc446 StringTable string_table{std::move(*string_table_buf)}; in ReadDwarfInfo() local
471 std::move(string_table), in ReadDwarfInfo()
/aosp_15_r20/external/llvm/test/tools/llvm-readobj/Inputs/
H A Drelocs.py156 self.string_table = strings
159 end = self.string_table.index('\x00', index)
160 return self.string_table[index:end]

12