Home
last modified time | relevance | path

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

12

/third_party/gn/src/gn/
Dunique_vector_unittest.cc28 EXPECT_EQ(0u, foo.IndexOf(1)); in TEST()
29 EXPECT_EQ(1u, foo.IndexOf(2)); in TEST()
30 EXPECT_EQ(2u, foo.IndexOf(0)); in TEST()
32 EXPECT_EQ(foo.kIndexNone, foo.IndexOf(99)); in TEST()
45 EXPECT_EQ(0u, vect.IndexOf("a")); in TEST()
78 EXPECT_EQ(0u, foo.IndexOf(1)); in TEST()
79 EXPECT_EQ(1u, foo.IndexOf(2)); in TEST()
80 EXPECT_EQ(2u, foo.IndexOf(3)); in TEST()
81 EXPECT_EQ(foo.kIndexNone, foo.IndexOf(98)); in TEST()
94 EXPECT_EQ(0u, vect.IndexOf("a")); in TEST()
Dunique_vector.h219 size_t IndexOf(const T& t) const { in IndexOf() function
Dvalue_extractors.cc55 size_t previous_index = dest->IndexOf(new_one); in ListValueUniqueExtractor()
/third_party/protobuf/csharp/src/Google.Protobuf/Collections/
DRepeatedField.cs357 return IndexOf(item) != -1; in Contains()
377 int index = IndexOf(item); in Remove()
558 public int IndexOf(T item) in IndexOf() method in Google.Protobuf.Collections.RepeatedField
674 int IList.IndexOf(object value) in IList.IndexOf()
680 return IndexOf((T)value); in IList.IndexOf()
/third_party/skia/third_party/externals/tint/src/transform/
Drobustness.cc229 auto texture_idx = signature.IndexOf(sem::ParameterUsage::kTexture); in Transform()
230 auto coords_idx = signature.IndexOf(sem::ParameterUsage::kCoords); in Transform()
231 auto array_idx = signature.IndexOf(sem::ParameterUsage::kArrayIndex); in Transform()
232 auto level_idx = signature.IndexOf(sem::ParameterUsage::kLevel); in Transform()
/third_party/grpc/src/csharp/Grpc.Tools/
DProtoCompile.cs484 for (int ib = 0, ie; (ie = cmd.IndexOf('\n', ib)) >= 0; ib = ie + 1) in LogToolCommand()
490 int iep = cmd.IndexOf(" --"); in LogToolCommand()
501 int iarg = cmd.IndexOf('=', ib, ie - ib); in LogToolCommand()
DDepFileUtil.cs259 int ix = line.IndexOf(':'); in FindLineSeparator()
273 return line.IndexOf(':', ix + 1); in FindLineSeparator()
/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);
/third_party/skia/third_party/externals/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);
/third_party/grpc/src/csharp/Grpc.Core.Tests/
DMetadataTest.cs144 public void IndexOf() in IndexOf() method in Grpc.Core.Tests.MetadataTest
147 Assert.AreEqual(0, metadata.IndexOf(metadata[0])); in IndexOf()
148 Assert.AreEqual(1, metadata.IndexOf(metadata[1])); in IndexOf()
/third_party/grpc/src/csharp/Grpc.Core.Api/
DMetadata.cs151 public int IndexOf(Metadata.Entry item) in IndexOf() method in Grpc.Core.Metadata
153 return entries.IndexOf(item); in IndexOf()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcord_rep_btree_navigator.h195 CordRepBtree::Position index = edge->IndexOf(offset); in Seek()
200 index = edge->IndexOf(index.n); in Seek()
Dcord_rep_btree.cc714 Position pos = node->IndexOf(n); in CopyPrefix()
737 pos = node->IndexOf(n); in CopyPrefix()
755 Position front = node->IndexOf(offset); in SubTree()
760 front = node->IndexOf(front.n); in SubTree()
832 const Position front = node->IndexOf(offset); in IsFlat()
849 Position front = node->IndexOf(offset); in GetCharacter()
Dcord_rep_btree.h358 Position IndexOf(size_t offset) const;
743 inline CordRepBtree::Position CordRepBtree::IndexOf(size_t offset) const { in IndexOf() function
/third_party/skia/third_party/externals/tint/src/sem/
Dcall_target.h56 int IndexOf(ParameterUsage usage) const;
Dcall_target.cc40 int CallTargetSignature::IndexOf(ParameterUsage usage) const { in IndexOf() function in tint::sem::CallTargetSignature
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs55 Assert.Throws<ArgumentNullException>(() => list.IndexOf(null)); in NullValuesRejected()
647 Assert.AreEqual(1, list.IndexOf("second")); in IList_IndexOf()
648 Assert.AreEqual(-1, list.IndexOf("third")); in IList_IndexOf()
649 Assert.AreEqual(-1, list.IndexOf(new object())); in IList_IndexOf()
/third_party/node/src/
Dnode_crypto_bio.h77 size_t IndexOf(char delim, size_t limit);
Dnode_crypto_bio.cc149 int i = nbio->IndexOf('\n', size); in Gets()
320 size_t NodeBIO::IndexOf(char delim, size_t limit) { in IndexOf() function in node::crypto::NodeBIO
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs56 Assert.Throws<ArgumentNullException>(() => list.IndexOf(null)); in NullValuesRejected()
737 Assert.AreEqual(1, list.IndexOf("second")); in IList_IndexOf()
738 Assert.AreEqual(-1, list.IndexOf("third")); in IList_IndexOf()
739 Assert.AreEqual(-1, list.IndexOf(new object())); in IList_IndexOf()
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptorPool.cs279 int firstPartLength = name.IndexOf('.'); in LookupSymbol()
DFileDescriptor.cs332 if (name.IndexOf('.') != -1)
/third_party/libphonenumber/cpp/test/phonenumbers/
Dunicodestring_test.cc89 TEST(UnicodeString, IndexOf) { in TEST() argument
/third_party/gettext/gettext-tools/src/
Dmsgunfmt.cs58 int separatorPos = msgid.IndexOf('\u0004'); in DumpMessage()
/third_party/skia/third_party/externals/tint/src/inspector/
Dinspector.cc802 int sampler_index = signature.IndexOf(sem::ParameterUsage::kSampler); in GenerateSamplerTargets()
807 int texture_index = signature.IndexOf(sem::ParameterUsage::kTexture); in GenerateSamplerTargets()

12