Home
last modified time | relevance | path

Searched refs:strcmp (Results 1 – 25 of 148) sorted by relevance

123456

/ndk/tests/device/test-gnustl-full/unit/
Dinsert_test.cpp42 CPPUNIT_ASSERT( !strcmp(names[0], "laurie") ); in insert1()
43 CPPUNIT_ASSERT( !strcmp(names[1], "jennifer") ); in insert1()
44 CPPUNIT_ASSERT( !strcmp(names[2], "amanda") ); in insert1()
45 CPPUNIT_ASSERT( !strcmp(names[3], "saskia") ); in insert1()
46 CPPUNIT_ASSERT( !strcmp(names[4], "carrie") ); in insert1()
47 CPPUNIT_ASSERT( !strcmp(names[5], "leisa") ); in insert1()
50 CPPUNIT_ASSERT( !strcmp(names[5], "laurie") ); in insert1()
51 CPPUNIT_ASSERT( !strcmp(names[6], "jennifer") ); in insert1()
52 CPPUNIT_ASSERT( !strcmp(names[7], "leisa") ); in insert1()
53 CPPUNIT_ASSERT( !strcmp(names[8], "leisa") ); in insert1()
[all …]
Dbinsert_test.cpp37 CPPUNIT_ASSERT(!strcmp(names[0],array[0])); in binsert1()
38 CPPUNIT_ASSERT(!strcmp(names[1],array[1])); in binsert1()
39 CPPUNIT_ASSERT(!strcmp(names[2],array[2])); in binsert1()
42 CPPUNIT_ASSERT(!strcmp(names[3],array[0])); in binsert1()
43 CPPUNIT_ASSERT(!strcmp(names[4],array[1])); in binsert1()
44 CPPUNIT_ASSERT(!strcmp(names[5],array[2])); in binsert1()
51 CPPUNIT_ASSERT(!strcmp(names[0],array[0])); in binsert2()
52 CPPUNIT_ASSERT(!strcmp(names[1],array[1])); in binsert2()
53 CPPUNIT_ASSERT(!strcmp(names[2],array[2])); in binsert2()
Dpartial_test.cpp52 return strcmp(a_, b_) < 0 ? 1 : 0; in str_compare()
109 CPPUNIT_ASSERT( strcmp(v1[0], "aa") == 0 ); in parsrt2()
111 CPPUNIT_ASSERT( strcmp(v1[1], "bb") == 0 ); in parsrt2()
113 CPPUNIT_ASSERT( strcmp(v1[2], "cc") == 0 ); in parsrt2()
115 CPPUNIT_ASSERT( strcmp(v1[3], "ff") == 0 ); in parsrt2()
117 CPPUNIT_ASSERT( strcmp(v1[4], "ee") == 0 ); in parsrt2()
119 CPPUNIT_ASSERT( strcmp(v1[5], "dd") == 0 ); in parsrt2()
165 CPPUNIT_ASSERT( strcmp( result[0], "aa" ) == 0 ); in parsrtc2()
167 CPPUNIT_ASSERT( strcmp( result[1], "bb" ) == 0 ); in parsrtc2()
169 CPPUNIT_ASSERT( strcmp( result[2], "cc" ) == 0 ); in parsrtc2()
Dsort_test.cpp44 return strcmp(a_, b_) < 0 ? 1 : 0; in string_less()
69 CPPUNIT_ASSERT( strcmp(letters[0], "aa") == 0 ); in stblsrt1()
70 CPPUNIT_ASSERT( strcmp(letters[1], "bb") == 0 ); in stblsrt1()
71 CPPUNIT_ASSERT( strcmp(letters[2], "cc") == 0 ); in stblsrt1()
72 CPPUNIT_ASSERT( strcmp(letters[3], "dd") == 0 ); in stblsrt1()
73 CPPUNIT_ASSERT( strcmp(letters[4], "ll") == 0 ); in stblsrt1()
74 CPPUNIT_ASSERT( strcmp(letters[5], "qq") == 0 ); in stblsrt1()
/ndk/tests/device/test-stlport/unit/
Dinsert_test.cpp42 CPPUNIT_ASSERT( !strcmp(names[0], "laurie") ); in insert1()
43 CPPUNIT_ASSERT( !strcmp(names[1], "jennifer") ); in insert1()
44 CPPUNIT_ASSERT( !strcmp(names[2], "amanda") ); in insert1()
45 CPPUNIT_ASSERT( !strcmp(names[3], "saskia") ); in insert1()
46 CPPUNIT_ASSERT( !strcmp(names[4], "carrie") ); in insert1()
47 CPPUNIT_ASSERT( !strcmp(names[5], "leisa") ); in insert1()
50 CPPUNIT_ASSERT( !strcmp(names[5], "laurie") ); in insert1()
51 CPPUNIT_ASSERT( !strcmp(names[6], "jennifer") ); in insert1()
52 CPPUNIT_ASSERT( !strcmp(names[7], "leisa") ); in insert1()
53 CPPUNIT_ASSERT( !strcmp(names[8], "leisa") ); in insert1()
[all …]
Dbinsert_test.cpp37 CPPUNIT_ASSERT(!strcmp(names[0],array[0])); in binsert1()
38 CPPUNIT_ASSERT(!strcmp(names[1],array[1])); in binsert1()
39 CPPUNIT_ASSERT(!strcmp(names[2],array[2])); in binsert1()
42 CPPUNIT_ASSERT(!strcmp(names[3],array[0])); in binsert1()
43 CPPUNIT_ASSERT(!strcmp(names[4],array[1])); in binsert1()
44 CPPUNIT_ASSERT(!strcmp(names[5],array[2])); in binsert1()
51 CPPUNIT_ASSERT(!strcmp(names[0],array[0])); in binsert2()
52 CPPUNIT_ASSERT(!strcmp(names[1],array[1])); in binsert2()
53 CPPUNIT_ASSERT(!strcmp(names[2],array[2])); in binsert2()
Dpartial_test.cpp52 return strcmp(a_, b_) < 0 ? 1 : 0; in str_compare()
109 CPPUNIT_ASSERT( strcmp(v1[0], "aa") == 0 ); in parsrt2()
111 CPPUNIT_ASSERT( strcmp(v1[1], "bb") == 0 ); in parsrt2()
113 CPPUNIT_ASSERT( strcmp(v1[2], "cc") == 0 ); in parsrt2()
115 CPPUNIT_ASSERT( strcmp(v1[3], "ff") == 0 ); in parsrt2()
117 CPPUNIT_ASSERT( strcmp(v1[4], "ee") == 0 ); in parsrt2()
119 CPPUNIT_ASSERT( strcmp(v1[5], "dd") == 0 ); in parsrt2()
165 CPPUNIT_ASSERT( strcmp( result[0], "aa" ) == 0 ); in parsrtc2()
167 CPPUNIT_ASSERT( strcmp( result[1], "bb" ) == 0 ); in parsrtc2()
169 CPPUNIT_ASSERT( strcmp( result[2], "cc" ) == 0 ); in parsrtc2()
Dsort_test.cpp44 return strcmp(a_, b_) < 0 ? 1 : 0; in string_less()
69 CPPUNIT_ASSERT( strcmp(letters[0], "aa") == 0 ); in stblsrt1()
70 CPPUNIT_ASSERT( strcmp(letters[1], "bb") == 0 ); in stblsrt1()
71 CPPUNIT_ASSERT( strcmp(letters[2], "cc") == 0 ); in stblsrt1()
72 CPPUNIT_ASSERT( strcmp(letters[3], "dd") == 0 ); in stblsrt1()
73 CPPUNIT_ASSERT( strcmp(letters[4], "ll") == 0 ); in stblsrt1()
74 CPPUNIT_ASSERT( strcmp(letters[5], "qq") == 0 ); in stblsrt1()
/ndk/sources/third_party/googletest/googletest/test/
Dgtest_env_var_test_.cc54 if (strcmp(flag, "break_on_failure") == 0) { in PrintFlag()
59 if (strcmp(flag, "catch_exceptions") == 0) { in PrintFlag()
64 if (strcmp(flag, "color") == 0) { in PrintFlag()
69 if (strcmp(flag, "death_test_style") == 0) { in PrintFlag()
74 if (strcmp(flag, "death_test_use_fork") == 0) { in PrintFlag()
79 if (strcmp(flag, "filter") == 0) { in PrintFlag()
84 if (strcmp(flag, "output") == 0) { in PrintFlag()
89 if (strcmp(flag, "print_time") == 0) { in PrintFlag()
94 if (strcmp(flag, "repeat") == 0) { in PrintFlag()
99 if (strcmp(flag, "stack_trace_depth") == 0) { in PrintFlag()
[all …]
/ndk/tests/device/test-stlport_shared-exception/jni/
Dpr17697-1.cpp7 extern int strcmp (const char *s, const char *t) throw ()
13 extern int strcmp (const char *s, const char *t);
17 A::strcmp (const char *s, const char *t) in strcmp() function in A
19 return ::strcmp (s, t); in strcmp()
25 return A::strcmp ("", x); in foo()
Dpr17697-2.cpp7 extern int strcmp (const char *s, const char *t) throw ()
13 extern int strcmp (const char *s, const char *t) throw ();
17 A::strcmp (const char *s, const char *t) throw () in strcmp() function in A
19 return ::strcmp (s, t); in strcmp()
25 return A::strcmp ("", x); in foo()
/ndk/tests/device/test-stlport_static-exception/jni/
Dpr17697-1.cpp7 extern int strcmp (const char *s, const char *t) throw ()
13 extern int strcmp (const char *s, const char *t);
17 A::strcmp (const char *s, const char *t) in strcmp() function in A
19 return ::strcmp (s, t); in strcmp()
25 return A::strcmp ("", x); in foo()
Dpr17697-2.cpp7 extern int strcmp (const char *s, const char *t) throw ()
13 extern int strcmp (const char *s, const char *t) throw ();
17 A::strcmp (const char *s, const char *t) throw () in strcmp() function in A
19 return ::strcmp (s, t); in strcmp()
25 return A::strcmp ("", x); in foo()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.future_error/
Dwhat.pass.cpp31 assert(std::strcmp(f.what(), "The associated promise has been destructed prior " in main()
36 assert(std::strcmp(f.what(), "The future has already been retrieved from " in main()
41 assert(std::strcmp(f.what(), "The state of the promise has already been set.") == 0); in main()
45 assert(std::strcmp(f.what(), "Operation not permitted on an object without " in main()
/ndk/sources/third_party/googletest/googletest/samples/
Dsample2_unittest.cc82 EXPECT_EQ(0, strcmp(s.c_string(), kHelloString)); in TEST()
91 EXPECT_EQ(0, strcmp(s2.c_string(), kHelloString)); in TEST()
99 EXPECT_EQ(0, strcmp(s.c_string(), kHelloString)); in TEST()
104 EXPECT_EQ(0, strcmp(s.c_string(), kHelloString)); in TEST()
/ndk/sources/android/crazy_linker/tests/
Dtest_jni_hooks.cpp35 if (strcmp(env, "LOADED")) in main()
40 if (strcmp(env, "UNLOADED")) in main()
60 if (strcmp(env, "INIT")) in main()
65 if (strcmp(env, "INIT")) in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/std.exceptions/domain.error/
Ddomain_error.pass.cpp27 assert(std::strcmp(e.what(), msg) == 0); in main()
29 assert(std::strcmp(e2.what(), msg) == 0); in main()
31 assert(std::strcmp(e2.what(), msg) == 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/std.exceptions/underflow.error/
Dunderflow_error.pass.cpp27 assert(std::strcmp(e.what(), msg) == 0); in main()
29 assert(std::strcmp(e2.what(), msg) == 0); in main()
31 assert(std::strcmp(e2.what(), msg) == 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/std.exceptions/length.error/
Dlength_error.pass.cpp27 assert(std::strcmp(e.what(), msg) == 0); in main()
29 assert(std::strcmp(e2.what(), msg) == 0); in main()
31 assert(std::strcmp(e2.what(), msg) == 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/std.exceptions/runtime.error/
Druntime_error.pass.cpp27 assert(std::strcmp(e.what(), msg) == 0); in main()
29 assert(std::strcmp(e2.what(), msg) == 0); in main()
31 assert(std::strcmp(e2.what(), msg) == 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/std.exceptions/out.of.range/
Dout_of_range.pass.cpp27 assert(std::strcmp(e.what(), msg) == 0); in main()
29 assert(std::strcmp(e2.what(), msg) == 0); in main()
31 assert(std::strcmp(e2.what(), msg) == 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/std.exceptions/range.error/
Drange_error.pass.cpp27 assert(std::strcmp(e.what(), msg) == 0); in main()
29 assert(std::strcmp(e2.what(), msg) == 0); in main()
31 assert(std::strcmp(e2.what(), msg) == 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/std.exceptions/overflow.error/
Doverflow_error.pass.cpp27 assert(std::strcmp(e.what(), msg) == 0); in main()
29 assert(std::strcmp(e2.what(), msg) == 0); in main()
31 assert(std::strcmp(e2.what(), msg) == 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/std.exceptions/logic.error/
Dlogic_error.pass.cpp27 assert(std::strcmp(e.what(), msg) == 0); in main()
29 assert(std::strcmp(e2.what(), msg) == 0); in main()
31 assert(std::strcmp(e2.what(), msg) == 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/std.exceptions/invalid.argument/
Dinvalid_argument.pass.cpp27 assert(std::strcmp(e.what(), msg) == 0); in main()
29 assert(std::strcmp(e2.what(), msg) == 0); in main()
31 assert(std::strcmp(e2.what(), msg) == 0); in main()

123456