Home
last modified time | relevance | path

Searched refs:find (Results 1 – 25 of 2939) sorted by relevance

12345678910>>...118

/external/apache-harmony/regex/src/test/java/org/apache/harmony/tests/java/util/regex/
DModeTest.java36 assertTrue(m.find()); in testCase()
38 assertFalse(m.find()); in testCase()
42 assertTrue(m.find()); in testCase()
44 assertTrue(m.find()); in testCase()
46 assertFalse(m.find()); in testCase()
50 assertTrue(m.find()); in testCase()
52 assertTrue(m.find()); in testCase()
54 assertFalse(m.find()); in testCase()
63 assertTrue(m.find()); in testMultiline()
65 assertFalse(m.find()); in testMultiline()
[all …]
DPattern2Test.java35 assertTrue(m1.find(0)); in testSimpleMatch()
40 assertFalse(m2.find(0)); in testSimpleMatch()
59 assertTrue(m.find()); in testCursors()
62 assertFalse(m.find()); in testCursors()
66 assertTrue(m.find()); in testCursors()
69 assertFalse(m.find()); in testCursors()
72 assertTrue(m.find()); in testCursors()
75 assertFalse(m.find()); in testCursors()
78 assertTrue(m.find()); in testCursors()
81 assertFalse(m.find()); in testCursors()
[all …]
/external/skia/tests/
DRefDictTest.cpp24 REPORTER_ASSERT(reporter, NULL == dict.find(NULL)); in SK_DEFINE_INST_COUNT()
25 REPORTER_ASSERT(reporter, NULL == dict.find("foo")); in SK_DEFINE_INST_COUNT()
26 REPORTER_ASSERT(reporter, NULL == dict.find("bar")); in SK_DEFINE_INST_COUNT()
29 REPORTER_ASSERT(reporter, &data0 == dict.find("foo")); in SK_DEFINE_INST_COUNT()
33 REPORTER_ASSERT(reporter, &data0 == dict.find("foo")); in SK_DEFINE_INST_COUNT()
37 REPORTER_ASSERT(reporter, &data1 == dict.find("foo")); in SK_DEFINE_INST_COUNT()
42 REPORTER_ASSERT(reporter, NULL == dict.find("foo")); in SK_DEFINE_INST_COUNT()
48 REPORTER_ASSERT(reporter, &data0 == dict.find("foo")); in SK_DEFINE_INST_COUNT()
49 REPORTER_ASSERT(reporter, &data1 == dict.find("bar")); in SK_DEFINE_INST_COUNT()
54 REPORTER_ASSERT(reporter, &data1 == dict.find("foo")); in SK_DEFINE_INST_COUNT()
[all …]
/external/chromium/net/url_request/
Dview_cache_helper_unittest.cc124 EXPECT_EQ(0U, data.find("<html>")); in TEST()
125 EXPECT_NE(std::string::npos, data.find("</html>")); in TEST()
126 EXPECT_NE(std::string::npos, data.find("first")); in TEST()
127 EXPECT_NE(std::string::npos, data.find("second")); in TEST()
128 EXPECT_NE(std::string::npos, data.find("third")); in TEST()
130 EXPECT_EQ(std::string::npos, data.find("some")); in TEST()
131 EXPECT_EQ(std::string::npos, data.find("same")); in TEST()
132 EXPECT_EQ(std::string::npos, data.find("thing")); in TEST()
146 EXPECT_EQ(0U, data.find("<html>")); in TEST()
147 EXPECT_NE(std::string::npos, data.find("</html>")); in TEST()
[all …]
/external/chromium/chrome/browser/content_settings/
Dcontent_settings_base_provider.cc92 HostContentSettings::const_iterator i(host_content_settings_.find(host)); in GetContentSetting()
94 i->second.content_settings_for_resources.find(requested_setting) != in GetContentSetting()
96 return i->second.content_settings_for_resources.find( in GetContentSetting()
103 i = incognito_settings_.find(host); in GetContentSetting()
105 i->second.content_settings_for_resources.find(requested_setting) != in GetContentSetting()
107 return i->second.content_settings_for_resources.find( in GetContentSetting()
114 HostContentSettings::const_iterator i(incognito_settings_.find(key)); in GetContentSetting()
116 i->second.content_settings_for_resources.find(requested_setting) != in GetContentSetting()
118 return i->second.content_settings_for_resources.find( in GetContentSetting()
122 i = host_content_settings_.find(key); in GetContentSetting()
[all …]
/external/llvm/unittests/ADT/
DSparseMultiSetTest.cpp28 EXPECT_TRUE(Set.find(0) == Set.end()); in TEST()
29 EXPECT_TRUE(Set.find(9) == Set.end()); in TEST()
35 EXPECT_TRUE(CSet.find(0) == CSet.end()); in TEST()
36 USet::const_iterator I = CSet.find(5); in TEST()
51 EXPECT_TRUE(Set.find(0) == Set.end()); in TEST()
52 EXPECT_TRUE(Set.find(9) == Set.end()); in TEST()
60 EXPECT_TRUE(I == ++Set.find(5)); in TEST()
62 EXPECT_TRUE(I == Set.find(5)); in TEST()
65 I = Set.find(1); in TEST()
68 EXPECT_EQ(5u, *Set.find(5)); in TEST()
[all …]
DSmallStringTest.cpp119 EXPECT_EQ(2U, theString.find('l')); in TEST_F()
120 EXPECT_EQ(StringRef::npos, theString.find('z')); in TEST_F()
121 EXPECT_EQ(StringRef::npos, theString.find("helloworld")); in TEST_F()
122 EXPECT_EQ(0U, theString.find("hello")); in TEST_F()
123 EXPECT_EQ(1U, theString.find("ello")); in TEST_F()
124 EXPECT_EQ(StringRef::npos, theString.find("zz")); in TEST_F()
125 EXPECT_EQ(2U, theString.find("ll", 2)); in TEST_F()
126 EXPECT_EQ(StringRef::npos, theString.find("ll", 3)); in TEST_F()
127 EXPECT_EQ(0U, theString.find("")); in TEST_F()
145 EXPECT_EQ(36U, theString.find("hello")); in TEST_F()
[all …]
/external/elfutils/tests/
Drun-find-prologues.sh31 testrun_compare ./find-prologues -e testfile <<\EOF
37 testrun_compare ./find-prologues -e testfile11 <<\EOF
48 testrun_compare ./find-prologues -e testfile22 <<\EOF
53 testrun_compare ./find-prologues -e testfile24 <<\EOF
58 testrun_compare ./find-prologues -e testfile25 <<\EOF
62 testrun_compare ./find-prologues -e testfile3 <<\EOF
68 testrun_compare ./find-prologues -e testfile4 <<\EOF
76 testrun_compare ./find-prologues -e testfile5 <<\EOF
82 testrun_compare ./find-prologues -e testfile6 <<\EOF
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
DResourceManager.cpp71 while (mBufferMap.find(handle) != mBufferMap.end()) in createBuffer()
86 …while (mShaderMap.find(handle) != mShaderMap.end() || mProgramMap.find(handle) != mProgramMap.end(… in createShader()
109 …while (mProgramMap.find(handle) != mProgramMap.end() || mShaderMap.find(handle) != mShaderMap.end(… in createProgram()
124 while (mTextureMap.find(handle) != mTextureMap.end()) in createTexture()
139 while (mRenderbufferMap.find(handle) != mRenderbufferMap.end()) in createRenderbuffer()
151 BufferMap::iterator bufferObject = mBufferMap.find(buffer); in deleteBuffer()
162 ShaderMap::iterator shaderObject = mShaderMap.find(shader); in deleteShader()
180 ProgramMap::iterator programObject = mProgramMap.find(program); in deleteProgram()
198 TextureMap::iterator textureObject = mTextureMap.find(texture); in deleteTexture()
209 RenderbufferMap::iterator renderbufferObject = mRenderbufferMap.find(renderbuffer); in deleteRenderbuffer()
[all …]
/external/ceres-solver/internal/ceres/
Dparameter_block_ordering_test.cc92 EXPECT_TRUE(vertices.find(parameter_blocks[i]) != vertices.end()); in TEST_F()
98 EXPECT_TRUE(neighbors.find(parameter_blocks[2]) != neighbors.end()); in TEST_F()
99 EXPECT_TRUE(neighbors.find(parameter_blocks[3]) != neighbors.end()); in TEST_F()
105 EXPECT_TRUE(neighbors.find(parameter_blocks[2]) != neighbors.end()); in TEST_F()
111 EXPECT_TRUE(neighbors.find(parameter_blocks[0]) != neighbors.end()); in TEST_F()
112 EXPECT_TRUE(neighbors.find(parameter_blocks[1]) != neighbors.end()); in TEST_F()
113 EXPECT_TRUE(neighbors.find(parameter_blocks[3]) != neighbors.end()); in TEST_F()
119 EXPECT_TRUE(neighbors.find(parameter_blocks[0]) != neighbors.end()); in TEST_F()
120 EXPECT_TRUE(neighbors.find(parameter_blocks[2]) != neighbors.end()); in TEST_F()
145 EXPECT_TRUE(vertices.find(parameter_blocks[0]) == vertices.end()); in TEST_F()
[all …]
/external/chromium/base/
Dstring_piece_unittest.cc168 ASSERT_EQ(a.find(b), 0U); in TEST()
169 ASSERT_EQ(a.find(b, 1), StringPiece::npos); in TEST()
170 ASSERT_EQ(a.find(c), 23U); in TEST()
171 ASSERT_EQ(a.find(c, 9), 23U); in TEST()
172 ASSERT_EQ(a.find(c, StringPiece::npos), StringPiece::npos); in TEST()
173 ASSERT_EQ(b.find(c), StringPiece::npos); in TEST()
174 ASSERT_EQ(b.find(c, StringPiece::npos), StringPiece::npos); in TEST()
175 ASSERT_EQ(a.find(d), 0U); in TEST()
176 ASSERT_EQ(a.find(e), 0U); in TEST()
177 ASSERT_EQ(a.find(d, 12), 12U); in TEST()
[all …]
/external/chromium/chrome/browser/autofill/
Dcredit_card_field_unittest.cc113 field_type_map_.find(ASCIIToUTF16("number1")) != field_type_map_.end()); in TEST_F()
116 field_type_map_.find(ASCIIToUTF16("month1")) != field_type_map_.end()); in TEST_F()
119 field_type_map_.find(ASCIIToUTF16("year1")) != field_type_map_.end()); in TEST_F()
157 field_type_map_.find(ASCIIToUTF16("number1")) != field_type_map_.end()); in TEST_F()
160 field_type_map_.find(ASCIIToUTF16("month1")) != field_type_map_.end()); in TEST_F()
163 field_type_map_.find(ASCIIToUTF16("year1")) != field_type_map_.end()); in TEST_F()
215 field_type_map_.find(ASCIIToUTF16("name1")) != field_type_map_.end()); in TEST_F()
218 field_type_map_.find(ASCIIToUTF16("number1")) != field_type_map_.end()); in TEST_F()
221 field_type_map_.find(ASCIIToUTF16("month1")) != field_type_map_.end()); in TEST_F()
224 field_type_map_.find(ASCIIToUTF16("year1")) != field_type_map_.end()); in TEST_F()
[all …]
Dname_field_unittest.cc60 field_type_map_.find(ASCIIToUTF16("name1")) != field_type_map_.end()); in TEST_F()
63 field_type_map_.find(ASCIIToUTF16("name2")) != field_type_map_.end()); in TEST_F()
66 field_type_map_.find(ASCIIToUTF16("name3")) != field_type_map_.end()); in TEST_F()
101 field_type_map_.find(ASCIIToUTF16("name1")) != field_type_map_.end()); in TEST_F()
104 field_type_map_.find(ASCIIToUTF16("name2")) != field_type_map_.end()); in TEST_F()
107 field_type_map_.find(ASCIIToUTF16("name3")) != field_type_map_.end()); in TEST_F()
134 field_type_map_.find(ASCIIToUTF16("name1")) != field_type_map_.end()); in TEST_F()
137 field_type_map_.find(ASCIIToUTF16("name2")) != field_type_map_.end()); in TEST_F()
164 field_type_map_.find(ASCIIToUTF16("name1")) != field_type_map_.end()); in TEST_F()
167 field_type_map_.find(ASCIIToUTF16("name2")) != field_type_map_.end()); in TEST_F()
[all …]
Dphone_field_unittest.cc59 field_type_map_.find(ASCIIToUTF16("phone1")) != field_type_map_.end()); in TEST_F()
78 field_type_map_.find(ASCIIToUTF16("phone1")) != field_type_map_.end()); in TEST_F()
105 field_type_map_.find(ASCIIToUTF16("areacode1")) != field_type_map_.end()); in TEST_F()
108 field_type_map_.find(ASCIIToUTF16("phone1")) != field_type_map_.end()); in TEST_F()
136 field_type_map_.find(ASCIIToUTF16("areacode1")) != field_type_map_.end()); in TEST_F()
139 field_type_map_.find(ASCIIToUTF16("phone1")) != field_type_map_.end()); in TEST_F()
167 field_type_map_.find(ASCIIToUTF16("areacode1")) != field_type_map_.end()); in TEST_F()
170 field_type_map_.find(ASCIIToUTF16("phone1")) != field_type_map_.end()); in TEST_F()
218 field_type_map_.find(ASCIIToUTF16("areacode1")) != field_type_map_.end()); in TEST_F()
221 field_type_map_.find(ASCIIToUTF16("prefix1")) != field_type_map_.end()); in TEST_F()
[all …]
Daddress_field_unittest.cc61 field_type_map_.find(ASCIIToUTF16("addr1")) != field_type_map_.end()); in TEST_F()
82 field_type_map_.find(ASCIIToUTF16("addr1")) != field_type_map_.end()); in TEST_F()
103 field_type_map_.find(ASCIIToUTF16("addr1")) != field_type_map_.end()); in TEST_F()
125 field_type_map_.find(ASCIIToUTF16("addr1")) != field_type_map_.end()); in TEST_F()
154 field_type_map_.find(ASCIIToUTF16("addr1")) != field_type_map_.end()); in TEST_F()
157 field_type_map_.find(ASCIIToUTF16("addr2")) != field_type_map_.end()); in TEST_F()
194 field_type_map_.find(ASCIIToUTF16("addr1")) != field_type_map_.end()); in TEST_F()
197 field_type_map_.find(ASCIIToUTF16("addr2")) != field_type_map_.end()); in TEST_F()
200 field_type_map_.find(ASCIIToUTF16("addr3")) == field_type_map_.end()); in TEST_F()
230 field_type_map_.find(ASCIIToUTF16("addr1")) != field_type_map_.end()); in TEST_F()
[all …]
/external/chromium/chrome/browser/extensions/
Dextension_info_map.cc28 Map::iterator iter = disabled_extension_info_.find(extension->id()); in AddExtension()
36 Map::iterator iter = extension_info_.find(id); in RemoveExtension()
56 Map::const_iterator iter = extension_info_.find(id); in GetNameForExtension()
64 Map::const_iterator iter = extension_info_.find(id); in GetPathForExtension()
73 Map::const_iterator iter = disabled_extension_info_.find(id); in GetPathForDisabledExtension()
81 Map::const_iterator iter = extension_info_.find(id); in ExtensionHasWebExtent()
88 Map::const_iterator iter = extension_info_.find(id); in ExtensionCanLoadInIncognito()
95 Map::const_iterator iter = extension_info_.find(id); in GetDefaultLocaleForExtension()
105 Map::const_iterator iter = extension_info_.find(id); in GetEffectiveHostPermissionsForExtension()
120 info = extension_info_.find(id); in CheckURLAccessToExtensionPermission()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DAbstractListIndexOfTester.java37 protected abstract int find(Object o); in find() method in AbstractListIndexOfTester
48 0, find(samples.e0)); in testFind_yes()
53 -1, find(samples.e3)); in testFind_no()
59 -1, find(null)); in testFind_nullNotContainedButSupported()
67 -1, find(null)); in testFind_nullNotContainedAndUnsupported()
77 -1, find(samples.e3)); in testFind_nonNullWhenNullContained()
85 getNullLocation(), find(null)); in testFind_nullContained()
91 -1, find(WrongType.VALUE)); in testFind_wrongType()
/external/webkit/Source/WebCore/platform/
DContentType.cpp44 size_t semi = strippedType.find(';'); in parameter()
46 size_t start = strippedType.find(parameterName, semi + 1, false); in parameter()
48 start = strippedType.find('=', start + parameterName.length()); in parameter()
50 size_t quote = strippedType.find('\"', start + 1); in parameter()
51 size_t end = strippedType.find('\"', start + 2); in parameter()
55 end = strippedType.find(';', start + 1); in parameter()
72 size_t semi = strippedType.find(';'); in type()
/external/chromium/net/websockets/
Dwebsocket_handshake_handler_unittest.cc287 EXPECT_TRUE(headers.find("upgrade") == headers.end()); in TEST()
288 EXPECT_TRUE(headers.find("Upgrade") == headers.end()); in TEST()
289 EXPECT_TRUE(headers.find("connection") == headers.end()); in TEST()
290 EXPECT_TRUE(headers.find("Connection") == headers.end()); in TEST()
291 EXPECT_TRUE(headers.find("Sec-WebSocket-Key1") == headers.end()); in TEST()
292 EXPECT_TRUE(headers.find("sec-websocket-key1") == headers.end()); in TEST()
293 EXPECT_TRUE(headers.find("Sec-WebSocket-Key2") == headers.end()); in TEST()
294 EXPECT_TRUE(headers.find("sec-websocket-key2") == headers.end()); in TEST()
357 EXPECT_TRUE(headers.find("upgrade") == headers.end()); in TEST()
358 EXPECT_TRUE(headers.find("Upgrade") == headers.end()); in TEST()
[all …]
/external/llvm/utils/buildit/
Dbuild_llvm130 T=`xcrun -sdk $SDKROOT -find ${prog}`
139 T=`xcrun -sdk $SDKROOT -find ${prog}`
172 export CC=`xcrun -find clang`
173 export CXX=`xcrun -find clang++`
239 for file in `find $DEST_DIR$DEST_ROOT/include -type f -print`; do
250 STRIP=`xcrun -sdk $SDKROOT -find strip`
303 DSYMUTIL=`xcrun -find dsymutil`
304 find $DEST_DIR -perm -0111 -type f \
310 find . \( -path \*.dSYM/\* -or -name \*.a \) -print \
316 find obj-* -name \*.\[chy\] -o -name \*.cpp -print \
[all …]
/external/stlport/test/unit/
Dfind_test.cpp42 int *location = find((int*)numbers, (int*)numbers + 10, 25); in find0()
46 int *out_range = find((int*)numbers, (int*)numbers + 10, 128); in find0()
69 int* location = find((int*)years, (int*)years + yearCount, 1972); in find1()
91 Key const* k = find(keys + 0, keys + 10, 5); in findif0()
124 char *d = find(pstr, pstr + str_size, 'd'); in find_char()
127 const char *e = find(cpstr, cpstr + str_size, 'e'); in find_char()
130 char *last = find(pstr, pstr + str_size, 'x'); in find_char()
133 const char *clast = find(cpstr, cpstr + str_size, 'x'); in find_char()
/external/eigen/bench/btl/data/
Dsmooth_all.sh6 AXPY_FILE=`find ${ORIG_DIR} -name "*.dat" | grep axpy`
17 MATRIX_VECTOR_FILE=`find ${ORIG_DIR} -name "*.dat" | grep matrix_vector`
27 MATRIX_MATRIX_FILE=`find ${ORIG_DIR} -name "*.dat" | grep matrix_matrix`
35 AAT_FILE=`find ${ORIG_DIR} -name "*.dat" | grep _aat`
44 ATA_FILE=`find ${ORIG_DIR} -name "*.dat" | grep _ata`
54 TINY_BLITZ_FILE=`find ${ORIG_DIR} -name "*.dat" | grep tiny_blitz`
62 TVMET_FILE=`find ${ORIG_DIR} -name "*.dat" | grep tvmet`
/external/bluetooth/bluedroid/stack/a2dp/
Da2d_api.c70 if ((p_rec = SDP_FindServiceInDb(a2d_cb.find.p_db, in a2d_sdp_cback()
71 a2d_cb.find.service_uuid, p_rec)) == NULL) in a2d_sdp_cback()
114 a2d_cb.find.service_uuid = 0; in a2d_sdp_cback()
116 if (a2d_cb.find.p_cback != NULL) in a2d_sdp_cback()
118 (*a2d_cb.find.p_cback)(found, &a2d_svc); in a2d_sdp_cback()
285 if( a2d_cb.find.service_uuid == UUID_SERVCLASS_AUDIO_SOURCE || in A2D_FindService()
286 a2d_cb.find.service_uuid == UUID_SERVCLASS_AUDIO_SINK) in A2D_FindService()
305 a2d_cb.find.p_db = p_db->p_db; in A2D_FindService()
306 a2d_cb.find.service_uuid = service_uuid; in A2D_FindService()
307 a2d_cb.find.p_cback = p_cback; in A2D_FindService()
[all …]
/external/chromium/chrome/browser/policy/
Dpolicy_path_parser_unittest.cc19 ASSERT_EQ(var_result.find(var_name), FilePath::StringType::npos); in CheckForSubstitution()
39 ASSERT_EQ(vars_result.find(FILE_PATH_LITERAL("${user_name}")), in TEST_F()
41 ASSERT_EQ(vars_result.find(FILE_PATH_LITERAL("${machine_name}")), in TEST_F()
47 size_t pos = vars_result.find(FILE_PATH_LITERAL("${machine_name}")); in TEST_F()
49 ASSERT_EQ(vars_result.find(FILE_PATH_LITERAL("${machine_name}"), pos+1), in TEST_F()
54 ASSERT_EQ(vars_result.find(FILE_PATH_LITERAL("${user_name}")), in TEST_F()
56 ASSERT_EQ(vars_result.find(FILE_PATH_LITERAL("${machine_name}")), in TEST_F()
/external/chromium/testing/gmock/scripts/generator/cpp/
Dtokenize.py90 i = source.find('"', i+1)
101 i = source.find('"', i+1)
107 i = source.find("'", i+1)
112 i = source.find("'", i+1)
165 i = source.find('\n', i)
170 i = source.find('*/', i) + 2
229 i1 = source.find('\n', i)
230 i2 = source.find('//', i)
231 i3 = source.find('/*', i)
232 i4 = source.find('"', i)
[all …]

12345678910>>...118