Searched refs:IndexOf (Results 1 - 25 of 31) sorted by relevance

12

/external/chromium_org/net/spdy/
H A Dhpack_entry_test.cc37 size_t IndexOf(const HpackEntry& entry) const { function in class:net::__anon9575::HpackEntryTest
63 EXPECT_EQ(1u, IndexOf(entry));
73 EXPECT_EQ(1u, IndexOf(entry));
83 EXPECT_EQ(0u, IndexOf(entry));
99 EXPECT_EQ(1u, IndexOf(static1));
100 EXPECT_EQ(2u, IndexOf(static2));
105 EXPECT_EQ(1u, IndexOf(dynamic2));
106 EXPECT_EQ(2u, IndexOf(dynamic1));
107 EXPECT_EQ(3u, IndexOf(static1));
108 EXPECT_EQ(4u, IndexOf(static
[all...]
H A Dhpack_encoder_test.cc125 expected_.AppendUint32(IndexOf(key_entry));
156 size_t IndexOf(HpackEntry* entry) { function in class:net::__anon9574::HpackEncoderTest
157 return peer_.table()->IndexOf(entry);
159 size_t IndexOf(const HpackEntry* entry) { function in class:net::__anon9574::HpackEncoderTest
160 return peer_.table()->IndexOf(entry);
176 ExpectIndex(IndexOf(key_2_));
184 ExpectIndex(IndexOf(static_));
193 ExpectIndex(IndexOf(static_));
244 ExpectIndex(IndexOf(key_1_));
254 ExpectIndex(IndexOf(cookie_a
[all...]
H A Dhpack_header_table.h72 size_t IndexOf(const HpackEntry* entry) const;
125 // IndexOf() for determination of an HpackEntry's table index.
H A Dhpack_header_table_test.cc130 EXPECT_EQ(index, table_.IndexOf(entry));
167 EXPECT_EQ(1u, table_.IndexOf(first_static_entry));
182 EXPECT_EQ(1u, table_.IndexOf(first_static_entry));
184 EXPECT_EQ(62u, table_.IndexOf(entry));
197 EXPECT_EQ(1u, table_.IndexOf(first_static_entry));
387 EXPECT_EQ(62u, table_.IndexOf(new_entry));
H A Dhpack_encoder.cc110 output_stream_.AppendUint32(header_table_.IndexOf(entry));
130 output_stream_.AppendUint32(header_table_.IndexOf(name_entry));
H A Dhpack_header_table.cc99 size_t HpackHeaderTable::IndexOf(const HpackEntry* entry) const { function in class:net::HpackHeaderTable
H A Dhpack_decoder_test.cc99 EXPECT_EQ(index, decoder_peer_.header_table()->IndexOf(entry));
/external/chromium_org/tools/gn/
H A Dunique_vector_unittest.cc25 // Verify those results with IndexOf as well.
26 EXPECT_EQ(0u, foo.IndexOf(1));
27 EXPECT_EQ(1u, foo.IndexOf(2));
28 EXPECT_EQ(2u, foo.IndexOf(0));
29 EXPECT_EQ(static_cast<size_t>(-1), foo.IndexOf(99));
42 EXPECT_EQ(0u, vect.IndexOf("a"));
H A Dtarget_unittest.cc175 EXPECT_TRUE(c_inherited.IndexOf(&d) != static_cast<size_t>(-1));
180 EXPECT_TRUE(b_inherited.IndexOf(&c) != static_cast<size_t>(-1));
181 EXPECT_TRUE(b_inherited.IndexOf(&d) != static_cast<size_t>(-1));
187 EXPECT_TRUE(a_inherited.IndexOf(&b) != static_cast<size_t>(-1));
219 EXPECT_TRUE(b_inherited.IndexOf(&c) != static_cast<size_t>(-1));
225 EXPECT_TRUE(a_inherited.IndexOf(&b) != static_cast<size_t>(-1));
H A Dunique_vector.h173 size_t IndexOf(const T& t) const { function in class:UniqueVector
H A Dvalue_extractors.cc52 size_t previous_index = dest->IndexOf(new_one);
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
H A DStringExtensions.cs56 return str.IndexOf( value );
62 return str.IndexOf( value, startIndex );
68 return str.IndexOf( value );
74 return str.IndexOf( value, startIndex );
98 int index = str.IndexOf( oldValue );
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
H A DStringExtensions.cs57 return str.IndexOf( value );
63 return str.IndexOf( value, startIndex );
69 return str.IndexOf( value );
75 return str.IndexOf( value, startIndex );
H A DSubList.cs51 public int IndexOf( object value ) method in class:Antlr.Runtime.JavaExtensions.SubList
270 public int IndexOf( object value ) method in class:Antlr.Runtime.JavaExtensions.SubList
382 public int IndexOf( T item ) method in class:Antlr.Runtime.JavaExtensions.SubList
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/
H A DErrorManager.cs74 if (f.ToString().IndexOf("ErrorManager") < 0)
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_util.h171 int index = IndexOf(item);
180 int IndexOf(T item) const;
182 bool Has(T item) const { return IndexOf(item) >= 0; }
197 int Vector<T>::IndexOf(T item) const { function in class:crazy::Vector
283 int idx = items_.IndexOf(item);
293 int idx = items_.IndexOf(item);
H A Dcrazy_linker_util_unittest.cpp124 TEST(Vector, IndexOf) {
131 TEST_TEXT << "Checking v.IndexOf(" << n * 100 << ")";
132 EXPECT_EQ(n, v.IndexOf(n * 100));
/external/lzma/CS/7zip/Common/
H A DCommandLineParser.cs131 int index = charSet.IndexOf(srcString[pos]);
199 if (commandString.IndexOf(id) == 0)
229 int newIndex = commandString.IndexOf(c);
234 if (commandString.IndexOf(c, newIndex + 1) >= 0)
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
H A DAntlr.Runtime.Tools.Tests.pas421 ReturnValue := FIList.IndexOf(Value);
424 ReturnValue := FIList.IndexOf(Value);
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DTokenRewriteStream.cs126 int index = opName.IndexOf('$');
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
H A DRemoteDebugEventSocketListener.cs544 int firstQuoteIndex = @event.IndexOf('"');
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
H A DRemoteDebugEventSocketListener.cs699 int firstQuoteIndex = @event.IndexOf( '"' );
/external/chromium_org/chrome/browser/history/
H A Dtop_sites_impl.cc303 static int IndexOf(const MostVisitedURLList& urls, const GURL& url) { function in namespace:history
646 IndexOf(*urls, prepopulate_urls[i].url) == -1) {
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
H A DTokenRewriteStream.cs142 int dindex = opName.IndexOf( '$' );
/external/chromium_org/chrome/common/extensions/permissions/
H A Dpermission_set_unittest.cc41 size_t IndexOf(const std::vector<base::string16>& warnings, function in namespace:extensions::__anon5668
53 return IndexOf(warnings, warning) != warnings.size();
1181 size_t combined_index = IndexOf(warnings, "Use your microphone and camera");
1188 EXPECT_EQ(combined_index, IndexOf(warnings, "Use your microphone"));

Completed in 1829 milliseconds

12