Home
last modified time | relevance | path

Searched refs:from (Results 1 – 25 of 298) sorted by relevance

12345678910>>...12

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/
Dwchar_t_out.pass.cpp30 const std::basic_string<F::intern_type> from(L"some text"); in main() local
31 std::vector<char> to(from.size()+1); in main()
35 F::result r = f.out(mbs, from.data(), from.data() + from.size(), from_next, in main()
38 assert(from_next - from.data() == from.size()); in main()
39 assert(to_next - to.data() == from.size()); in main()
43 std::basic_string<F::intern_type> from(L"some text"); in main() local
44 from[4] = '\0'; in main()
45 std::vector<char> to(from.size()+1); in main()
49 F::result r = f.out(mbs, from.data(), from.data() + from.size(), from_next, in main()
52 assert(from_next - from.data() == from.size()); in main()
[all …]
Dchar16_t_length.pass.cpp26 const char from[] = "some text"; in main() local
27 assert(f.length(mbs, from, from+10, 0) == 0); in main()
28 assert(f.length(mbs, from, from+10, 8) == 8); in main()
29 assert(f.length(mbs, from, from+10, 9) == 9); in main()
30 assert(f.length(mbs, from, from+10, 10) == 10); in main()
31 assert(f.length(mbs, from, from+10, 100) == 10); in main()
Dwchar_t_length.pass.cpp26 const char* from = "123467890"; in main() local
27 assert(f.length(mbs, from, from+10, 0) == 0); in main()
28 assert(f.length(mbs, from, from+10, 9) == 9); in main()
29 assert(f.length(mbs, from, from+10, 10) == 10); in main()
30 assert(f.length(mbs, from, from+10, 11) == 10); in main()
31 assert(f.length(mbs, from, from+10, 100) == 10); in main()
Dchar_length.pass.cpp26 const char from[10]= {0}; in main() local
27 assert(f.length(mbs, from, from+10, 0) == 0); in main()
28 assert(f.length(mbs, from, from+10, 9) == 9); in main()
29 assert(f.length(mbs, from, from+10, 10) == 10); in main()
30 assert(f.length(mbs, from, from+10, 11) == 10); in main()
31 assert(f.length(mbs, from, from+10, 100) == 10); in main()
Dchar32_t_length.pass.cpp26 const char from[] = "some text"; in main() local
27 assert(f.length(mbs, from, from+10, 0) == 0); in main()
28 assert(f.length(mbs, from, from+10, 8) == 8); in main()
29 assert(f.length(mbs, from, from+10, 9) == 9); in main()
30 assert(f.length(mbs, from, from+10, 10) == 10); in main()
31 assert(f.length(mbs, from, from+10, 100) == 10); in main()
Dwchar_t_in.pass.cpp28 const std::basic_string<F::extern_type> from("some text"); in main() local
29 const std::basic_string<F::intern_type> expected(from.begin(), from.end()); in main()
30 std::basic_string<F::intern_type> to(from.size(), F::intern_type()); in main()
35 F::result r = f.in(mbs, from.data(), from.data() + from.size(), from_next, in main()
38 assert(from_next - from.data() == from.size()); in main()
Dchar_out.pass.cpp28 const std::basic_string<F::intern_type> from("some text"); in main() local
29 std::vector<char> to(from.size()); in main()
34 assert(f.out(mbs, from.data(), from.data() + from.size(), from_next, in main()
36 assert(from_next == from.data()); in main()
Dchar_in.pass.cpp28 const std::basic_string<F::intern_type> from("some text"); in main() local
29 std::vector<char> to(from.size()); in main()
34 assert(f.in(mbs, from.data(), from.data() + from.size(), from_next, in main()
36 assert(from_next == from.data()); in main()
Dchar32_t_in.pass.cpp28 const char from[] = "some text"; in main() local
34 assert(f.in(mbs, from, from + 9, from_next, in main()
36 assert(from_next - from == 9); in main()
39 assert(to[i] == from[i]); in main()
Dchar16_t_in.pass.cpp28 const char from[] = "some text"; in main() local
34 assert(f.in(mbs, from, from + 9, from_next, in main()
36 assert(from_next - from == 9); in main()
39 assert(to[i] == from[i]); in main()
Dchar32_t_out.pass.cpp32 F::intern_type from[9] = {'s', 'o', 'm', 'e', ' ', 't', 'e', 'x', 't'}; in main() local
37 F::result r = f.out(mbs, from, from + 9, from_next, in main()
40 assert(from_next - from == 9); in main()
43 assert(to[i] == from[i]); in main()
Dchar16_t_out.pass.cpp32 F::intern_type from[9] = {'s', 'o', 'm', 'e', ' ', 't', 'e', 'x', 't'}; in main() local
37 F::result r = f.out(mbs, from, from + 9, from_next, in main()
40 assert(from_next - from == 9); in main()
43 assert(to[i] == from[i]); in main()
/ndk/sources/cxx-stl/stlport/src/
Dcodecvt.cpp31 const char* from, in do_length() argument
34 { return (int)(min) ( __STATIC_CAST(size_t, (end - from)), mx); } in do_length()
84 const intern_type* from, in do_out() argument
90 ptrdiff_t len = (min) (from_end - from, to_limit - to); in do_out()
91 copy(from, from + len, to); in do_out()
92 from_next = from + len; in do_out()
99 const extern_type* from, in do_in() argument
105 ptrdiff_t len = (min) (from_end - from, to_limit - to); in do_in()
106 copy(__REINTERPRET_CAST(const unsigned char*, from), in do_in()
107 __REINTERPRET_CAST(const unsigned char*, from) + len, to); in do_in()
[all …]
/ndk/tests/build/test-gnustl-chrono/jni/
Dhanoi.c3 void hanoi(int from, int to, int mid, int n, void (*callback)(int, int)) { in hanoi() argument
5 callback(from, to); in hanoi()
7 hanoi(from, mid, to, n - 1, callback); in hanoi()
8 callback(from, to); in hanoi()
9 hanoi(mid, to, from, n - 1, callback); in hanoi()
/ndk/sources/host-tools/make-3.81/tests/scripts/options/
Ddash-f6 ."we then call make with the rules from the concatenated \n"
19 print MAKEFILE "\t\@echo This is the output from the original makefile\n";
28 print MAKEFILE "\t\@echo This is the output from makefile 2\n";
34 print MAKEFILE "\t\@echo This is the output from makefile 3\n";
39 $answer = "This is the output from the original makefile\n";
47 # Run Make again with the rule from the second makefile: TWO
48 $answer = "This is the output from makefile 2\n";
55 # Run Make again with the rule from the third makefile: THREE
57 $answer = "This is the output from makefile 3\n";
68 $answer = "This is the output from makefile 2\n";
[all …]
Dsymlinks28 run_make_test('targ: sym ; @echo make $@ from $<', '',
30 run_make_test(undef, '-L', "make targ from sym");
34 run_make_test(undef, '', "make targ from sym");
35 run_make_test(undef, '-L', "make targ from sym");
50 run_make_test(undef, '-L', "make targ from sym");
58 run_make_test('targ: sym ; @echo make $@ from $<', '',
61 run_make_test('targ: sym ; @echo make $@ from $<', '-L',
62 'make targ from sym');
/ndk/sources/host-tools/make-3.81/config/
DChangeLog18 * codeset.m4: New file, from gettext-0.11.1.
19 * gettext.m4: New file, from gettext-0.11.1.
20 * glibc21.m4: New file, from gettext-0.11.1.
21 * iconv.m4: New file, from gettext-0.11.1.
22 * isc-posix.m4: New file, from gettext-0.11.1.
23 * lcmessage.m4: New file, from gettext-0.11.1.
24 * lib-ld.m4: New file, from gettext-0.11.1.
25 * lib-link.m4: New file, from gettext-0.11.1.
26 * lib-prefix.m4: New file, from gettext-0.11.1.
27 * progtest.m4: New file, from gettext-0.11.1.
/ndk/tests/device/test-gnustl-full/unit/
Dcodecvt_test.cpp396 string from("abcdef"); in in_out_test() local
400 cdecvt_type::result res = cdect.in(state, from.data(), from.data() + from.size(), next_from, in in_out_test()
403 CPPUNIT_ASSERT( next_from == from.data() + 1 ); in in_out_test()
410 wstring from(L"abcdef"); in in_out_test() local
414 … cdecvt_type::result res = cdect.out(state, from.data(), from.data() + from.size(), next_from, in in_out_test()
417 CPPUNIT_ASSERT( next_from == from.data() + 1 ); in in_out_test()
443 string from("abcdef"); in length_test() local
444 int res = cdect.length(state, from.data(), from.data() + from.size(), from.size()); in length_test()
445 CPPUNIT_ASSERT( (size_t)res == from.size() ); in length_test()
594 const char* from = utf8_str.data(); in special_encodings() local
[all …]
/ndk/tests/device/test-stlport/unit/
Dcodecvt_test.cpp396 string from("abcdef"); in in_out_test() local
400 cdecvt_type::result res = cdect.in(state, from.data(), from.data() + from.size(), next_from, in in_out_test()
403 CPPUNIT_ASSERT( next_from == from.data() + 1 ); in in_out_test()
410 wstring from(L"abcdef"); in in_out_test() local
414 … cdecvt_type::result res = cdect.out(state, from.data(), from.data() + from.size(), next_from, in in_out_test()
417 CPPUNIT_ASSERT( next_from == from.data() + 1 ); in in_out_test()
443 string from("abcdef"); in length_test() local
444 int res = cdect.length(state, from.data(), from.data() + from.size(), from.size()); in length_test()
445 CPPUNIT_ASSERT( (size_t)res == from.size() ); in length_test()
594 const char* from = utf8_str.data(); in special_encodings() local
[all …]
/ndk/sources/third_party/googletest/googletest/test/
Dgtest_output_test_golden_lin.txt10 [==========] Running 63 tests from 28 test cases.
14 [----------] 1 test from ADeathTest
17 [----------] 1 test from ATypedDeathTest/0, where TypeParam = int
20 [----------] 1 test from ATypedDeathTest/1, where TypeParam = double
23 [----------] 1 test from My/ATypeParamDeathTest/0, where TypeParam = int
26 [----------] 1 test from My/ATypeParamDeathTest/1, where TypeParam = double
29 [----------] 2 tests from PassingTest
34 [----------] 1 test from NonfatalFailureTest
47 [----------] 3 tests from FatalFailureTest
69 [----------] 1 test from LoggingTest
[all …]
/ndk/sources/host-tools/make-3.81/
Dvmsify.c66 copyto (char **to, char **from, char upto, int as_dir) in copyto() argument
70 s = strrchr (*from, '.'); in copyto()
72 while (**from) in copyto()
74 if (**from == upto) in copyto()
78 (*from)++; in copyto()
80 while (**from == upto); in copyto()
83 if (**from == '.') in copyto()
86 || (*from != s)) in copyto()
94 if (isupper ((unsigned char)**from)) in copyto()
95 **to = tolower ((unsigned char)**from); in copyto()
[all …]
/ndk/sources/third_party/googletest/googletest/include/gtest/
Dgtest-param-test.h.pump18 // contributors may be used to endorse or promote products derived from
52 // class. It is usually derived from testing::TestWithParam<T> (see below for
55 // TestWithParam<T> is itself derived from testing::Test. T can be any
89 // ValuesIn(container) - Yields values from a C-style array, an STL
99 // The following statement will instantiate tests from the FooTest test case
110 // instantiations. The tests from the instantiation above will have
122 // This statement will instantiate all tests from FooTest again, each
128 // The tests from the instantiation above will have these names:
154 // A parameterized test fixture must be derived from testing::Test and from
156 // values. Inheriting from TestWithParam<T> satisfies that requirement because
[all …]
/ndk/sources/host-tools/gdb-pretty-printers/stlport/gppfs-0.2/
DREADME4 This python module provides GDB pretty printers for the containers from
37 the pretty printers work the variables from test.cpp should be displayed in a
40 Note that GDB prefers python modules from $HOME/.gdbinit over those from
/ndk/sources/cxx-stl/stlport/src/details/
Dfstream_win32io.cpp406 char *from = to; in _M_read() local
407 char *last = from + numberOfBytesRead - 1; in _M_read()
408 for (; from <= last && *from != _STLP_CTRLZ; ++from) { in _M_read()
409 if (*from != _STLP_CR) in _M_read()
410 *to++ = *from; in _M_read()
412 if (from < last) { // not at buffer end in _M_read()
413 if (*(from + 1) != _STLP_LF) in _M_read()
451 if (from <= last) { // terminated due to CTRLZ in _M_read()
452 SetFilePointer(_M_file_id, -(LONG)((last + 1) - from), 0, FILE_CURRENT); in _M_read()
/ndk/tests/build/project-properties/jni/
DAndroid.mk8 …$(call ndk_log,Test OK: Correct target platform retrieved from project.properties: $(TARGET_PLATFO…
13 …$(call ndk_log,Test OK: Correct target platform retrieved from project.properties but auto-adjuste…

12345678910>>...12