Home
last modified time | relevance | path

Searched refs:IndexOf (Results 1 – 25 of 67) sorted by relevance

123

/external/perfetto/src/trace_processor/containers/
Drow_map_unittest.cc37 ASSERT_EQ(rm.IndexOf(29), base::nullopt); in TEST()
38 ASSERT_EQ(rm.IndexOf(30), 0u); in TEST()
39 ASSERT_EQ(rm.IndexOf(37), 7u); in TEST()
40 ASSERT_EQ(rm.IndexOf(46), 16u); in TEST()
41 ASSERT_EQ(rm.IndexOf(47), base::nullopt); in TEST()
53 ASSERT_EQ(rm.IndexOf(0u), 0u); in TEST()
54 ASSERT_EQ(rm.IndexOf(4u), 1u); in TEST()
55 ASSERT_EQ(rm.IndexOf(5u), 2u); in TEST()
57 ASSERT_EQ(rm.IndexOf(1u), base::nullopt); in TEST()
58 ASSERT_EQ(rm.IndexOf(100u), base::nullopt); in TEST()
[all …]
Dnullable_vector.h91 auto opt_idx = valid_.IndexOf(idx); in Get()
146 auto opt_idx = valid_.IndexOf(idx); in Set()
155 opt_idx = valid_.IndexOf(idx); in Set()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DStringExtensions.cs56 return str.IndexOf( value ); in indexOf()
62 return str.IndexOf( value, startIndex ); in indexOf()
68 return str.IndexOf( value ); in indexOf()
74 return str.IndexOf( value, startIndex ); in indexOf()
98 int index = str.IndexOf( oldValue ); in replace()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DStringExtensions.cs57 return str.IndexOf( value ); in indexOf()
63 return str.IndexOf( value, startIndex ); in indexOf()
69 return str.IndexOf( value ); in indexOf()
75 return str.IndexOf( value, startIndex ); in indexOf()
DSubList.cs51 public int IndexOf( object value ) in IndexOf() method in Antlr.Runtime.JavaExtensions.SubList
270 public int IndexOf( object value ) in IndexOf() method in Antlr.Runtime.JavaExtensions.SubList
382 public int IndexOf( T item ) in IndexOf() method in Antlr.Runtime.JavaExtensions.SubList
/external/perfetto/src/trace_processor/db/
Dtyped_column.h98 base::Optional<uint32_t> IndexOf(sql_value_type v) const { in IndexOf() function
99 return Column::IndexOf(ToValue(v)); in IndexOf()
164 base::Optional<uint32_t> IndexOf(Id id) const { in IndexOf() function
165 return row_map().IndexOf(id.value); in IndexOf()
/external/perfetto/src/trace_processor/importers/proto/
Dheap_graph_tracker.cc37 uint32_t row = *storage.heap_graph_object_table().id().IndexOf(id); in ForReferenceSet()
58 uint32_t obj_row = *storage.heap_graph_object_table().id().IndexOf(id); in GetChildren()
59 uint32_t cls_row = *storage.heap_graph_class_table().id().IndexOf( in GetChildren()
107 auto obj_idx = storage.heap_graph_object_table().id().IndexOf(obj_id).value(); in GetClassDescriptor()
110 storage.heap_graph_class_table().id().IndexOf(type_id).value(); in GetClassDescriptor()
191 uint32_t row = *storage->heap_graph_object_table().id().IndexOf(id); in MarkRoot()
204 *storage->heap_graph_object_table().id().IndexOf(cur_node); in MarkRoot()
218 *storage->heap_graph_object_table().id().IndexOf(child_node); in MarkRoot()
356 uint32_t row = *hgo->id().IndexOf(owner_id); in AddObject()
391 *context_->storage->heap_graph_object_table().id().IndexOf(owner_id); in AddObject()
[all …]
Dperf_sample_tracker_unittest.cc84 auto row_id = track_table.id().IndexOf(track_id); in TEST_F()
115 auto row_id = track_table.id().IndexOf(track_id); in TEST_F()
138 auto row_id = track_table.id().IndexOf(track_id); in TEST_F()
Dheap_profile_tracker.cc51 *frames_tbl.id().IndexOf(callsites_tbl.frame_id()[callstack_row]); in GetMergedCallsites()
54 *mapping_tbl.id().IndexOf(frames_tbl.mapping()[frame_idx]); in GetMergedCallsites()
72 uint32_t symbol_set_idx = *symbols_tbl.id().IndexOf(SymbolId(*symbol_set_id)); in GetMergedCallsites()
112 parent_idx = callsites_tbl.id().IndexOf(*opt_parent_id); in BuildNativeFlamegraph()
178 callsite_to_merged_callsite[*callsites_tbl.id().IndexOf( in BuildNativeFlamegraph()
214 uint32_t parent_idx = *tbl->id().IndexOf( in BuildNativeFlamegraph()
Dmetadata_tracker.cc43 metadata_table->name().IndexOf(metadata::kNames[key_idx]); in SetMetadata()
65 metadata_table->name().IndexOf(metadata::kNames[key_idx]).value(); in GetMetadataForTesting()
Dasync_track_set_tracker_unittest.cc67 uint32_t row = *storage_->process_track_table().id().IndexOf(begin); in TEST_F()
76 uint32_t row = *storage_->process_track_table().id().IndexOf(end); in TEST_F()
/external/lzma/CS/7zip/Common/
DCommandLineParser.cs131 int index = charSet.IndexOf(srcString[pos]); in ParseString()
199 if (commandString.IndexOf(id) == 0) in ParseCommand()
229 int newIndex = commandString.IndexOf(c); in ParseSubCharsCommand()
234 if (commandString.IndexOf(c, newIndex + 1) >= 0) in ParseSubCharsCommand()
/external/protobuf/csharp/src/Google.Protobuf/Collections/
DRepeatedField.cs258 return IndexOf(item) != -1; in Contains()
278 int index = IndexOf(item); in Remove()
459 public int IndexOf(T item) in IndexOf() method in Google.Protobuf.Collections.RepeatedField
575 int IList.IndexOf(object value) in IList.IndexOf()
581 return IndexOf((T)value); in IList.IndexOf()
/external/perfetto/src/trace_processor/importers/common/
Dargs_tracker.h123 uint32_t row = *table->id().IndexOf(id); in AddArgsTo()
129 uint32_t row = *table->id().IndexOf(id); in AddArgsTo()
151 uint32_t row = *table->id().IndexOf(id); in AddArgsTo()
/external/perfetto/src/trace_processor/dynamic/
Dexperimental_annotated_stack_generator.cc138 cs_table.id().IndexOf(CallsiteId(start_id)); in ComputeTable()
148 uint32_t parent_row = cs_table.id().IndexOf(*maybe_parent_id).value(); in ComputeTable()
189 uint32_t frame_row = f_table.id().IndexOf(frame_id).value(); in ComputeTable()
192 uint32_t map_row = m_table.id().IndexOf(map_id).value(); in ComputeTable()
Dexperimental_flamegraph_generator.cc114 auto current_idx = *table.id().IndexOf(*current); in ComputeFocusedState()
123 focused[*table.id().IndexOf(*parent_id)] == in ComputeFocusedState()
169 node_to_cumulatives[*in->id().IndexOf(*parent_id)]; in FocusTable()
189 auto original_idx = *in->id().IndexOf(*original_parent_id); in FocusTable()
Dancestor_generator.cc41 auto start_row = table.id().IndexOf(starting_id); in BuildAncestorsRowMap()
56 uint32_t parent_row = table.id().IndexOf(*maybe_parent_id).value(); in BuildAncestorsRowMap()
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/
DMetadataTest.cs119 public void IndexOf() in IndexOf() method in Grpc.Core.Tests.MetadataTest
122 Assert.AreEqual(0, metadata.IndexOf(metadata[0])); in IndexOf()
123 Assert.AreEqual(1, metadata.IndexOf(metadata[1])); in IndexOf()
/external/grpc-grpc/src/csharp/Grpc.Core/
DMetadata.cs85 public int IndexOf(Metadata.Entry item) in IndexOf() method in Grpc.Core.Metadata
87 return entries.IndexOf(item); in IndexOf()
/external/abseil-cpp/absl/types/
Dvariant.h302 variant_internal::IndexOf<T, Types...>::value>(v);
310 variant_internal::IndexOf<T, Types...>::value>(absl::move(v));
317 variant_internal::IndexOf<T, Types...>::value>(v);
325 variant_internal::IndexOf<T, Types...>::value>(absl::move(v));
394 return absl::get_if<variant_internal::IndexOf<T, Types...>::value>(v);
402 return absl::get_if<variant_internal::IndexOf<T, Types...>::value>(v);
/external/angle/third_party/abseil-cpp/absl/types/
Dvariant.h302 variant_internal::IndexOf<T, Types...>::value>(v);
310 variant_internal::IndexOf<T, Types...>::value>(absl::move(v));
317 variant_internal::IndexOf<T, Types...>::value>(v);
325 variant_internal::IndexOf<T, Types...>::value>(absl::move(v));
394 return absl::get_if<variant_internal::IndexOf<T, Types...>::value>(v);
402 return absl::get_if<variant_internal::IndexOf<T, Types...>::value>(v);
/external/webrtc/third_party/abseil-cpp/absl/types/
Dvariant.h302 variant_internal::IndexOf<T, Types...>::value>(v);
310 variant_internal::IndexOf<T, Types...>::value>(absl::move(v));
317 variant_internal::IndexOf<T, Types...>::value>(v);
325 variant_internal::IndexOf<T, Types...>::value>(absl::move(v));
394 return absl::get_if<variant_internal::IndexOf<T, Types...>::value>(v);
402 return absl::get_if<variant_internal::IndexOf<T, Types...>::value>(v);
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/types/
Dvariant.h302 variant_internal::IndexOf<T, Types...>::value>(v);
310 variant_internal::IndexOf<T, Types...>::value>(absl::move(v));
317 variant_internal::IndexOf<T, Types...>::value>(v);
325 variant_internal::IndexOf<T, Types...>::value>(absl::move(v));
394 return absl::get_if<variant_internal::IndexOf<T, Types...>::value>(v);
402 return absl::get_if<variant_internal::IndexOf<T, Types...>::value>(v);
/external/openscreen/third_party/abseil/src/absl/types/
Dvariant.h302 variant_internal::IndexOf<T, Types...>::value>(v);
310 variant_internal::IndexOf<T, Types...>::value>(absl::move(v));
317 variant_internal::IndexOf<T, Types...>::value>(v);
325 variant_internal::IndexOf<T, Types...>::value>(absl::move(v));
394 return absl::get_if<variant_internal::IndexOf<T, Types...>::value>(v);
402 return absl::get_if<variant_internal::IndexOf<T, Types...>::value>(v);
/external/libtextclassifier/abseil-cpp/absl/types/
Dvariant.h302 variant_internal::IndexOf<T, Types...>::value>(v);
310 variant_internal::IndexOf<T, Types...>::value>(absl::move(v));
317 variant_internal::IndexOf<T, Types...>::value>(v);
325 variant_internal::IndexOf<T, Types...>::value>(absl::move(v));
394 return absl::get_if<variant_internal::IndexOf<T, Types...>::value>(v);
402 return absl::get_if<variant_internal::IndexOf<T, Types...>::value>(v);

123