Home
last modified time | relevance | path

Searched refs:IndexOf (Results 1 – 25 of 39) 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.cc109 size_t previous_index = dest->IndexOf(new_one); in ListValueUniqueExtractor()
/third_party/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()
/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/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/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/deps/v8/src/runtime/
Druntime-strings.cc98 int index = String::IndexOf(isolate, subject, search, 0); in StringReplaceOneCharWithString()
426 int quote_index = String::IndexOf(isolate, string, quotes, 0); in RUNTIME_FUNCTION()
434 quote_index = String::IndexOf(isolate, string, quotes, quote_index + 1); in RUNTIME_FUNCTION()
/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/node/src/crypto/
Dcrypto_bio.h76 size_t IndexOf(char delim, size_t limit);
Dcrypto_bio.cc150 int i = nbio->IndexOf('\n', size); in Gets()
316 size_t NodeBIO::IndexOf(char delim, size_t limit) { in IndexOf() function in node::crypto::NodeBIO
/third_party/node/deps/v8/src/objects/
Dstring.cc1215 Object String::IndexOf(Isolate* isolate, Handle<Object> receiver, in IndexOf() function in v8::internal::String
1236 String::IndexOf(isolate, receiver_string, search_string, index)); in IndexOf()
1254 int String::IndexOf(Isolate* isolate, Handle<String> receiver, in IndexOf() function in v8::internal::String
1299 String::IndexOf(isolate, replacement, dollar_string, start_index); in GetSubstitution()
1388 String::IndexOf(isolate, replacement, bracket_string, peek_ix + 1); in GetSubstitution()
1422 String::IndexOf(isolate, replacement, dollar_string, continue_from_ix); in GetSubstitution()
Dstring.h317 static Object IndexOf(Isolate* isolate, Handle<Object> receiver,
322 static int IndexOf(Isolate* isolate, Handle<String> receiver,
/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/node/deps/v8/src/builtins/
Dbuiltins-console.cc79 state.off = String::IndexOf(isolate, state.str, percent, state.off); in Formatter()
/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()
/third_party/node/deps/brotli/c/enc/
Dbrotli_bit_stream.c578 static size_t IndexOf(const uint8_t* v, size_t v_size, uint8_t value) { in IndexOf() function
615 size_t index = IndexOf(mtf, mtf_size, (uint8_t)v_in[i]); in MoveToFrontTransform()

12