Home
last modified time | relevance | path

Searched full:stringid (Results 1 – 25 of 110) sorted by relevance

12345

/external/perfetto/src/trace_processor/
Dproto_trace_parser.h120 const StringId utid_name_id_;
121 const StringId sched_wakeup_name_id_;
122 const StringId cpu_freq_name_id_;
123 const StringId cpu_idle_name_id_;
124 const StringId comm_name_id_;
125 const StringId num_forks_name_id_;
126 const StringId num_irq_total_name_id_;
127 const StringId num_softirq_total_name_id_;
128 const StringId num_irq_name_id_;
129 const StringId num_softirq_name_id_;
[all …]
Dslice_tracker.h37 StringId cat,
38 StringId name);
43 StringId cat,
44 StringId name);
49 StringId cat,
50 StringId name,
58 StringId opt_cat = {},
59 StringId opt_name = {});
67 StringId cat,
68 StringId name);
Dtrace_storage.h50 // StringId is an offset into |string_pool_|.
51 using StringId = StringPool::Id; variable
96 StringId name_id = 0;
105 StringId name_id = 0;
124 static Variadic String(StringId string_id) { in String()
141 StringId string_value;
147 StringId flat_key = 0;
148 StringId key = 0;
176 const std::deque<StringId>& flat_keys() const { return flat_keys_; } in flat_keys()
177 const std::deque<StringId>& keys() const { return keys_; } in keys()
[all …]
Dsyscall_tracker.h51 StringId name = SyscallNumberToStringId(syscall_num); in Enter()
57 StringId name = SyscallNumberToStringId(syscall_num); in Exit()
65 inline StringId SyscallNumberToStringId(uint32_t syscall_num) { in SyscallNumberToStringId()
72 StringId id = arch_syscall_to_string_id_[syscall_num]; in SyscallNumberToStringId()
79 // the relevent StringId (this avoids having to always do two conversions).
80 std::array<StringId, kMaxSyscalls> arch_syscall_to_string_id_{};
81 StringId sys_write_string_id_ = std::numeric_limits<StringId>::max();
Dsyscall_tracker_unittest.cc38 void(int64_t timestamp, UniqueTid utid, StringId cat, StringId name));
41 void(int64_t timestamp, UniqueTid utid, StringId cat, StringId name));
59 StringId begin_name = 0; in TEST_F()
60 StringId end_name = 0; in TEST_F()
82 StringId begin_name = 0; in TEST_F()
83 StringId end_name = 0; in TEST_F()
97 StringId begin_name = 0; in TEST_F()
98 StringId end_name = 0; in TEST_F()
Dslice_tracker.cc42 StringId cat, in BeginAndroid()
43 StringId name) { in BeginAndroid()
52 StringId cat, in Begin()
53 StringId name) { in Begin()
60 StringId cat, in Scoped()
61 StringId name, in Scoped()
71 StringId cat, in StartSlice()
72 StringId name) { in StartSlice()
114 StringId cat, in End()
115 StringId name) { in End()
Devent_tracker.h55 StringId name_id,
62 StringId name_id,
82 StringId name_id = 0;
106 std::array<StringId, kSchedSwitchMaxFieldId + 1> sched_switch_field_ids_;
107 StringId sched_switch_id_;
Dheap_profile_tracker.cc33 StringId str) { in AddString()
43 const StringId name_id = opt_name_id.value(); in AddMapping()
48 const StringId build_id = opt_build_id.value(); in AddMapping()
75 const StringId& str_id = opt_str_id.value(); in AddFrame()
183 base::Optional<StringId> HeapProfileTracker::FindString(ProfileIndex pidx, in FindString()
185 base::Optional<StringId> res; in FindString()
Dproto_incremental_state.h46 StringId name_id;
51 StringId name_id;
56 StringId name_id;
61 StringId file_name_id;
62 StringId function_name_id;
Dheap_profile_tracker.h97 void AddString(ProfileIndex, SourceStringId, StringId);
112 base::Optional<StringId> FindString(ProfileIndex, SourceStringId);
114 std::unordered_map<std::pair<ProfileIndex, SourceStringId>, StringId>
133 const StringId empty_;
Dfuchsia_provider_view.h36 StringId string_id;
44 void InsertString(uint32_t, StringId);
45 StringId GetString(uint32_t);
Dfuchsia_provider_view.cc22 void FuchsiaProviderView::InsertString(uint32_t index, StringId string_id) { in InsertString()
30 StringId FuchsiaProviderView::GetString(uint32_t index) { in GetString()
35 return StringId(); in GetString()
Devent_tracker.cc70 StringId next_comm_id = context_->storage->InternString(next_comm); in PushSchedSwitch()
98 StringId prev_comm_id = context_->storage->InternString(prev_comm); in PushSchedSwitch()
114 StringId key = sched_switch_field_ids_[static_cast<size_t>(field_num)]; in PushSchedSwitch()
136 StringId name_id, in PushCounter()
173 StringId name_id, in PushInstant()
/external/swiftshader/third_party/subzero/src/
DIceStringPool.h73 template <typename Traits> class StringID {
77 StringID() = default; // Create a default, invalid StringID.
78 StringID(const StringID &) = default;
79 StringID &operator=(const StringID &) = default;
81 /// Create a unique StringID without an actual string, by grabbing the next
83 static StringID createWithoutString(const typename Traits::OwnerType *Owner) { in createWithoutString()
84 return StringID(Owner); in createWithoutString()
86 /// Create a unique StringID that holds an actual string, by fetching or
88 static StringID createWithString(const typename Traits::OwnerType *Owner, in createWithString()
90 return StringID(Owner, Value); in createWithString()
[all …]
/external/syzkaller/vendor/google.golang.org/appengine/datastore/
Dkey.go26 stringID string member
38 // StringID returns the key's string ID (also known as an entity name or key
40 func (k *Key) StringID() string { func
41 return k.stringID
65 // In particular, whether the key has a zero StringID and a zero IntID.
67 return k.stringID == "" && k.intID == 0
79 if k.stringID != "" && k.intID != 0 {
97 …if k.kind != o.kind || k.stringID != o.stringID || k.intID != o.intID || k.appID != o.appID || k.n…
121 if k.stringID != "" {
122 b.WriteString(k.stringID)
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DDisposeObjectsTest.java53 * for returned by CreateString command stringID with refCount = 0
54 * does not dispose that stringID - ObjectReference::ReferenceType
57 * with refCount = 1 disposes that stringID - ObjectReference::ReferenceType
70 long stringID = reply.getNextValueAsStringID(); in testDisposeObjects001() local
71 logWriter.println("\tstring creared: stringID = " + stringID); in testDisposeObjects001()
79 packet.setNextValueAsObjectID(stringID); in testDisposeObjects001()
90 packet.setNextValueAsObjectID(stringID); in testDisposeObjects001()
106 packet.setNextValueAsObjectID(stringID); in testDisposeObjects001()
117 packet.setNextValueAsObjectID(stringID); in testDisposeObjects001()
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/PDB/Inputs/
Dmerge-ids-1.yaml5 StringId:
10 StringId:
15 StringId:
20 StringId:
25 StringId:
34 StringId:
Dmerge-ids-2.yaml5 StringId:
10 StringId:
15 StringId:
24 StringId:
29 StringId:
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StringReference/
DValueTest.java53 long stringID = createString(testString); in checkString() local
55 // get string from StringID in checkString()
56 String returnedTestString = getStringValue(stringID); in checkString()
134 private void checkCommandError(long stringID, int expectedError) { in checkCommandError() argument
135 logWriter.println("Send StringReference.Value command with id " + stringID); in checkCommandError()
140 packet.setNextValueAsObjectID(stringID); in checkCommandError()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
DSuperClassTest.java170 // assert stringID is not null in testSuperClass002()
191 // check that reply error code is INVALID_CLASS for a StringID Out Data in testSuperClass003()
193 long stringID = createString("Some test string"); in testSuperClass003() local
194 // assert stringID is not null in testSuperClass003()
195 assertFalse("Invalid stringID: 0", stringID == 0); in testSuperClass003()
196 jdwpGetSuperClassReply(stringID, JDWPConstants.Error.INVALID_CLASS); in testSuperClass003()
DNewInstanceTagTest.java109 long stringId = debuggeeWrapper.vmMirror.createString("foo"); in testNewInstance_ThreadGroup()
110 assertTrue("Invalid string id", stringId != -1); in testNewInstance_ThreadGroup()
111 assertTrue("Null string id", stringId != 0); in testNewInstance_ThreadGroup()
113 … constructorArguments.add(Value.createObjectValue(JDWPConstants.Tag.STRING_TAG, stringId)); in testNewInstance_ThreadGroup()
/external/cldr/tools/java/org/unicode/cldr/test/
DOutdatedPaths.java23 import org.unicode.cldr.util.StringId;
128 long id = StringId.getId(s); in getIdToPath()
158 long id = StringId.getId(distinguishedPath); in isOutdated()
182 long id = StringId.getId(distinguishedPath); in isRawOutdated()
204 long id = StringId.getId(distinguishedPath); in getPreviousEnglish()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VMDebug/
DVMDebugTest.java44 long stringID = JDWPTestConstants.INVALID_OBJECT_ID; in sendDebuggerActivity() local
46 logWriter.println("Send StringReference.Value command with id " + stringID); in sendDebuggerActivity()
51 packet.setNextValueAsStringID(stringID); in sendDebuggerActivity()
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateBirth.java31 import org.unicode.cldr.util.StringId;
131 long id = StringId.getId(item); in main()
157 …System.out.println("Error, broken locale: " + locale + "\t" + StringId.getId(xpath) + "\t" + xpath… in main()
165 … System.out.println("previous.isEmpty() != original" + locale + "\t" + StringId.getId(xpath) + "\t" in main()
250 long id = StringId.getId(path); in writeBirthValues()
275 long id = StringId.getId(xpath); in writeBirth()
/external/perf_data_converter/src/
Dperf_data_converter.cc82 return builder->StringId(s.c_str()); in UTF8StringId()
344 sample_type->set_unit(builder->StringId("count")); in GetOrCreateBuilder()
347 sample_type->set_unit(builder->StringId("count")); in GetOrCreateBuilder()
450 label->set_key(builder->StringId(PidLabelKey)); in AddOrUpdateSample()
455 label->set_key(builder->StringId(TidLabelKey)); in AddOrUpdateSample()
460 label->set_key(builder->StringId(CommLabelKey)); in AddOrUpdateSample()
465 label->set_key(builder->StringId(TimestampNsLabelKey)); in AddOrUpdateSample()
472 label->set_key(builder->StringId(ExecutionModeLabelKey)); in AddOrUpdateSample()
473 label->set_str(builder->StringId(ExecModeString(sample_key.exec_mode))); in AddOrUpdateSample()

12345