Home
last modified time | relevance | path

Searched refs:text1 (Results 1 – 25 of 55) sorted by relevance

123

/external/icu/icu4c/source/test/cintltst/
Dreapits.c399 UChar text1[50]; in TestRegexCAPI() local
403 u_uastrncpy(text1, "abcccd", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
416 uregex_setText(re, text1, -1, &status); in TestRegexCAPI()
428 uregex_setText(re, text1, -1, &status); in TestRegexCAPI()
434 uregex_setText(re, text1, 5, &status); in TestRegexCAPI()
440 uregex_setText(re, text1, 6, &status); in TestRegexCAPI()
453 UChar text1[50]; in TestRegexCAPI() local
458 u_uastrncpy(text1, "abcccd", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
464 uregex_setText(re, text1, -1, &status); in TestRegexCAPI()
466 TEST_ASSERT(result == text1); in TestRegexCAPI()
[all …]
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DCollatorTest.java111 for (String text1 : data) { in checkCollation()
113 int jdkRes = jdkColl.compare(text1, text2); in checkCollation()
114 int icuRes = icuColl.compare(text1, text2); in checkCollation()
117 … errln("FAIL: Different results for [text1=" + text1 + ",text2=" + text2 + ") for locale " in checkCollation()
122 CollationKey jdkKey1 = jdkColl.getCollationKey(text1); in checkCollation()
125 com.ibm.icu.text.CollationKey icuKey1 = icuColl.getCollationKey(text1); in checkCollation()
132 … errln("FAIL: Different collationKey comparison results for [text1=" + text1 + ",text2=" + text2 in checkCollation()
/external/strace/tests-mx32/
Dprctl-seccomp-strict.c42 static const char text1[] = in main() local
62 rc = write(1, text1, LENGTH_OF(text1)) != LENGTH_OF(text1); in main()
Dseccomp-strict.c41 static const char text1[] = in main() local
63 rc = write(1, text1, LENGTH_OF(text1)) != LENGTH_OF(text1); in main()
/external/strace/tests/
Dprctl-seccomp-strict.c42 static const char text1[] = in main() local
62 rc = write(1, text1, LENGTH_OF(text1)) != LENGTH_OF(text1); in main()
Dseccomp-strict.c41 static const char text1[] = in main() local
63 rc = write(1, text1, LENGTH_OF(text1)) != LENGTH_OF(text1); in main()
/external/strace/tests-m32/
Dprctl-seccomp-strict.c42 static const char text1[] = in main() local
62 rc = write(1, text1, LENGTH_OF(text1)) != LENGTH_OF(text1); in main()
Dseccomp-strict.c41 static const char text1[] = in main() local
63 rc = write(1, text1, LENGTH_OF(text1)) != LENGTH_OF(text1); in main()
/external/libcap/contrib/bug400591/
Dbug.c16 char *text1, *text2; in main() local
20 text1 = cap_to_text(caps, NULL); in main()
21 assert(text1); in main()
38 assert(strcmp(text1, text2) == 0); in main()
/external/libbrillo/brillo/
Ddata_encoding_unittest.cc43 const std::string text1 = "hello world"; in TEST() local
65 EXPECT_EQ(encoded1, Base64Encode(text1)); in TEST()
71 const std::string text1 = "hello world"; in TEST() local
94 EXPECT_EQ(encoded1, Base64EncodeWrapLines(text1)); in TEST()
/external/llvm/test/MC/X86/AlignedBundling/
Dsection-alignment.s13 .section text1, "x"
15 # CHECK-LABEL: Name: text1
Ddifferent-sections.s9 .section text1, "x"
10 # CHECK: section text1
Dswitch-section-locked-error.s9 .section text1, "x"
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
DViewLoaderTest.java70 TextView textView = (TextView) view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnDefaultScreenSize()
78 TextView textView = (TextView) view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnSearchPath_choosesFirstFileFoundOnPath()
86 TextView textView = (TextView) view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnSearchPath_respectsOrderOfPath()
94 TextView textView = (TextView) view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnDefaultVersion()
102 TextView textView = (TextView) view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnNewestVersion()
111 TextView textView = (TextView) view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnSearchPath_choosesFirstFileFoundOnPathWithVersionNumber()
120 TextView textView = (TextView) view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnSearchPath_choosesBestFileFoundOnPathWithVersionNumber()
DTestAttributeSetTest.java37 …tThat(testAttributeSet.getAttributeResourceValue("android", "id", 0), equalTo(android.R.id.text1)); in getSystemAttributeResourceValue_shouldReturnTheResourceValue()
59 …tThat(testAttributeSet.getAttributeResourceValue("android", "id", 0), equalTo(android.R.id.text1)); in shouldCopeWithDefiningSystemIds()
67 … assertThat(testAttributeSet.getAttributeResourceValue("android", "id", 0), equalTo(R.id.text1)); in shouldCopeWithDefiningLocalIds()
DResourceLoaderTest.java72 TextView textView = (TextView) view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnSearchPath_respectsOrderOfPath()
90 TextView textView = (TextView) view.findViewById(android.R.id.text1); in checkForPollutionHelper()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DResourceTableFactoryTest.java46 …(systemResourceTable.getResourceId(new ResName("android:id/text1"))).isEqualTo(android.R.id.text1); in shouldPrefixAllSystemResourcesWithAndroid()
51 …assertThat(systemResourceTable.getResName(android.R.id.text1).getFullyQualifiedName()).isEqualTo("… in shouldRetainPackageNameForFullyQualifiedQueries()
/external/python/cpython3/Lib/test/
Dtest_pulldom.py321 (text1, elm1, text2) = root.childNodes
324 self.assertIsNone(text1.previousSibling)
325 self.assertIs(text1.nextSibling, elm1)
326 self.assertIs(elm1.previousSibling, text1)
334 self.assertIs(text1.parentNode, root)
/external/python/cpython2/Lib/test/
Dtest_minidom.py973 (text1, elm1, text2) = root.childNodes
976 self.confirm(text1.previousSibling is None and
977 text1.nextSibling is elm1 and
978 elm1.previousSibling is text1 and
986 text1.parentNode is root and
1226 text1 = elem.firstChild
1228 splitter = text1.nextSibling
1230 elem.insertBefore(doc.createCDATASection("c"), text1)
1231 return doc, elem, text1, splitter, text2
1233 doc, elem, text1, splitter, text2 = setup()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DQualifiersTest.java63 TextView textView = view.findViewById(R.id.text1); in inflateLayout_defaultsTo_sw320dp()
72 TextView textView = view.findViewById(R.id.text1); in inflateLayout_overridesTo_sw720dp()
/external/skqp/tests/
DTextBlobTest.cpp354 const char text1[] = "Foo"; in DEF_TEST() local
357 int glyphCount = paint.textToGlyphs(text1, strlen(text1), nullptr); in DEF_TEST()
359 (void)paint.textToGlyphs(text1, strlen(text1), glyphs.get()); in DEF_TEST()
/external/skia/tests/
DTextBlobTest.cpp354 const char text1[] = "Foo"; in DEF_TEST() local
357 int glyphCount = paint.textToGlyphs(text1, strlen(text1), nullptr); in DEF_TEST()
359 (void)paint.textToGlyphs(text1, strlen(text1), glyphs.get()); in DEF_TEST()
/external/libmojo/mojo/public/cpp/bindings/tests/
Dhandle_passing_unittest.cc80 std::string text1; in DoStuff() local
82 EXPECT_TRUE(ReadTextMessage(pipe.get(), &text1)); in DoStuff()
101 callback.Run(std::move(response), text1); in DoStuff()
/external/expat/tests/
Druntests.c2854 const char *text1 = in START_TEST() local
2873 if (_XML_Parse_SINGLE_BYTES(parser, text1, strlen(text1), in START_TEST()
2943 const char *text1 = in START_TEST() local
2963 if (_XML_Parse_SINGLE_BYTES(parser, text1, strlen(text1), in START_TEST()
3514 const char *text1 = "<doc>Hello "; in START_TEST() local
3523 if (_XML_Parse_SINGLE_BYTES(parser, text1, strlen(text1), in START_TEST()
4260 const char *text1 = in external_entity_param() local
4278 if (_XML_Parse_SINGLE_BYTES(ext_parser, text1, strlen(text1), in external_entity_param()
4539 const char *text1 = in external_entity_valuer() local
4552 if (_XML_Parse_SINGLE_BYTES(ext_parser, text1, strlen(text1), in external_entity_valuer()
[all …]
/external/icu/icu4c/source/test/intltest/
Dregcoll.cpp1205 static const UChar text1[][CollationRegressionTest::MAX_TOKEN_LEN] = { in TestT7189() local
1230 for (i = 0; i < UPRV_LENGTHOF(text1); i++) { in TestT7189()
1234 len1 = calcKeyIncremental(coll, text1[i], -1, key1, sizeof(key1), status); in TestT7189()
1236 errln(UnicodeString("Failed to get a partial collation key for ") + text1[i]); in TestT7189()
1246 …errln(UnicodeString("Failed: Identical key\n") + " text1: " + text1[i] + "\n" + " text2: " +… in TestT7189()
1248 …logln(UnicodeString("Keys produced -\n") + " text1: " + text1[i] + "\n" + " key1 : " + TestU… in TestT7189()

123