/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/ |
H A D | char16_t_length.pass.cpp | 14 // int length(stateT& state, const externT* from, const externT* from_end, size_t max) const; 26 const char from[] = "some text"; local 27 assert(f.length(mbs, from, from+10, 0) == 0); 28 assert(f.length(mbs, from, from+10, 8) == 8); 29 assert(f.length(mbs, from, from+10, 9) == 9); 30 assert(f.length(mbs, from, from [all...] |
H A D | char32_t_length.pass.cpp | 14 // int length(stateT& state, const externT* from, const externT* from_end, size_t max) const; 26 const char from[] = "some text"; local 27 assert(f.length(mbs, from, from+10, 0) == 0); 28 assert(f.length(mbs, from, from+10, 8) == 8); 29 assert(f.length(mbs, from, from+10, 9) == 9); 30 assert(f.length(mbs, from, from [all...] |
H A D | char_length.pass.cpp | 14 // int length(stateT& state, const externT* from, const externT* from_end, size_t max) const; 26 const char from[10]= {0}; local 27 assert(f.length(mbs, from, from+10, 0) == 0); 28 assert(f.length(mbs, from, from+10, 9) == 9); 29 assert(f.length(mbs, from, from+10, 10) == 10); 30 assert(f.length(mbs, from, from [all...] |
H A D | wchar_t_length.pass.cpp | 14 // int length(stateT& state, const externT* from, const externT* from_end, size_t max) const; 26 const char* from = "123467890"; local 27 assert(f.length(mbs, from, from+10, 0) == 0); 28 assert(f.length(mbs, from, from+10, 9) == 9); 29 assert(f.length(mbs, from, from+10, 10) == 10); 30 assert(f.length(mbs, from, from [all...] |
H A D | wchar_t_out.pass.cpp | 15 // const internT* from, const internT* from_end, const internT*& from_next, 30 const std::basic_string<F::intern_type> from(L"some text"); 31 std::vector<char> to(from.size()+1); 35 F::result r = f.out(mbs, from.data(), from.data() + from.size(), from_next, 38 assert(from_next - from.data() == from.size()); 39 assert(to_next - to.data() == from.size()); 43 std::basic_string<F::intern_type> from( [all...] |
H A D | char_in.pass.cpp | 15 // const externT* from, const externT* from_end, const externT*& from_next, 28 const std::basic_string<F::intern_type> from("some text"); 29 std::vector<char> to(from.size()); 34 assert(f.in(mbs, from.data(), from.data() + from.size(), from_next, 36 assert(from_next == from.data());
|
H A D | char_out.pass.cpp | 15 // const internT* from, const internT* from_end, const internT*& from_next, 28 const std::basic_string<F::intern_type> from("some text"); 29 std::vector<char> to(from.size()); 34 assert(f.out(mbs, from.data(), from.data() + from.size(), from_next, 36 assert(from_next == from.data());
|
H A D | wchar_t_in.pass.cpp | 15 // const externT* from, const externT* from_end, const externT*& from_next, 28 const std::basic_string<F::extern_type> from("some text"); 29 const std::basic_string<F::intern_type> expected(from.begin(), from.end()); 30 std::basic_string<F::intern_type> to(from.size(), F::intern_type()); 35 F::result r = f.in(mbs, from.data(), from.data() + from.size(), from_next, 38 assert(from_next - from.data() == from [all...] |
H A D | char16_t_in.pass.cpp | 15 // const externT* from, const externT* from_end, const externT*& from_next, 28 const char from[] = "some text"; local 34 assert(f.in(mbs, from, from + 9, from_next, 36 assert(from_next - from == 9); 39 assert(to[i] == from[i]);
|
H A D | char16_t_out.pass.cpp | 15 // const internT* from, const internT* from_end, const internT*& from_next, 32 F::intern_type from[9] = {'s', 'o', 'm', 'e', ' ', 't', 'e', 'x', 't'}; local 37 F::result r = f.out(mbs, from, from + 9, from_next, 40 assert(from_next - from == 9); 43 assert(to[i] == from[i]);
|
H A D | char32_t_in.pass.cpp | 15 // const externT* from, const externT* from_end, const externT*& from_next, 28 const char from[] = "some text"; local 34 assert(f.in(mbs, from, from + 9, from_next, 36 assert(from_next - from == 9); 39 assert(to[i] == from[i]);
|
H A D | char32_t_out.pass.cpp | 15 // const internT* from, const internT* from_end, const internT*& from_next, 32 F::intern_type from[9] = {'s', 'o', 'm', 'e', ' ', 't', 'e', 'x', 't'}; local 37 F::result r = f.out(mbs, from, from + 9, from_next, 40 assert(from_next - from == 9); 43 assert(to[i] == from[i]);
|
/ndk/tests/build/test-gnustl-chrono/jni/ |
H A D | hanoi.c | 3 void hanoi(int from, int to, int mid, int n, void (*callback)(int, int)) { argument 5 callback(from, to); 7 hanoi(from, mid, to, n - 1, callback); 8 callback(from, to); 9 hanoi(mid, to, from, n - 1, callback);
|
H A D | hanoi.h | 8 extern void hanoi(int from, int to, int mid, int n,
|
H A D | main.cpp | 9 void hanoi_callback(int from, int to) { argument
|
/ndk/sources/cxx-stl/stlport/src/ |
H A D | codecvt.cpp | 31 const char* from, 34 { return (int)(min) ( __STATIC_CAST(size_t, (end - from)), mx); } 84 const intern_type* from, 90 ptrdiff_t len = (min) (from_end - from, to_limit - to); 91 copy(from, from + len, to); 92 from_next = from + len; 99 const extern_type* from, 105 ptrdiff_t len = (min) (from_end - from, to_limit - to); 106 copy(__REINTERPRET_CAST(const unsigned char*, from), 30 do_length(state_type&, const char* from, const char* end, size_t mx) const argument 83 do_out(state_type& , const intern_type* from, const intern_type* from_end, const intern_type*& from_next, extern_type* to, extern_type* to_limit, extern_type*& to_next) const argument 98 do_in(state_type& , const extern_type* from, const extern_type* from_end, const extern_type*& from_next, intern_type* to, intern_type* to_limit, intern_type*& to_next) const argument 128 do_length(state_type&, const extern_type* from, const extern_type* end, size_t mx) const argument [all...] |
/ndk/tests/build/issue65705-asm-pc/jni/ |
H A D | Android.mk | 6 # Using -static to prevent ndk-build from adding -fPIE even when APP_PIE is set 7 # to true from the command line. The compiler bug this test is trying to show is
|
/ndk/tests/build/project-properties/jni/ |
H A D | Android.mk | 8 $(call ndk_log,Test OK: Correct target platform retrieved from project.properties: $(TARGET_PLATFORM)) 13 $(call ndk_log,Test OK: Correct target platform retrieved from project.properties but auto-adjusted: $(TARGET_PLATFORM))
|
/ndk/tests/build/stdint-c++/jni/ |
H A D | Android.mk | 7 # - All constants should be defined when <stdint.h> is included from a C program 9 # - When included from a C++ program, limit-related macros should only be 12 # - When included from a C++ program, constant-related macros should only be
|
/ndk/tests/device/test-gnustl-full/unit/ |
H A D | codecvt_test.cpp | 52 /* Codecvt facet eating some characters from the external buffer. 142 /* Codecvt facet generating more characters than the ones read from the 396 string from("abcdef"); 400 cdecvt_type::result res = cdect.in(state, from.data(), from.data() + from.size(), next_from, 403 CPPUNIT_ASSERT( next_from == from.data() + 1 ); 410 wstring from(L"abcdef"); 414 cdecvt_type::result res = cdect.out(state, from.data(), from 594 const char* from = utf8_str.data(); local [all...] |
/ndk/tests/device/test-stlport/unit/ |
H A D | codecvt_test.cpp | 52 /* Codecvt facet eating some characters from the external buffer. 142 /* Codecvt facet generating more characters than the ones read from the 396 string from("abcdef"); 400 cdecvt_type::result res = cdect.in(state, from.data(), from.data() + from.size(), next_from, 403 CPPUNIT_ASSERT( next_from == from.data() + 1 ); 410 wstring from(L"abcdef"); 414 cdecvt_type::result res = cdect.out(state, from.data(), from 594 const char* from = utf8_str.data(); local [all...] |
/ndk/tests/build/test-c-only-flags/jni/ |
H A D | Android.mk | 9 # to save developers from the trouble of specifying flags twice for both
|
/ndk/sources/host-tools/make-3.81/ |
H A D | vmsify.c | 54 copy 'from' to 'to' up to but not including 'upto' 55 return 0 if eos on from 59 return 'from' at match + 1 or eos if no match 66 copyto (char **to, char **from, char upto, int as_dir) argument 70 s = strrchr (*from, '.'); 72 while (**from) 74 if (**from == upto) 78 (*from)++; 80 while (**from == upto); 83 if (**from [all...] |
/ndk/build/core/ |
H A D | clear-vars.mk | 16 # this file is included repeatedly from Android.mk files in order to clean 17 # the module-specific variables from the environment,
|
/ndk/sources/cxx-stl/stlport/src/details/ |
H A D | fstream_win32io.cpp | 297 // bits that are set in the umask from the permissions flag. 406 char *from = to; local 407 char *last = from + numberOfBytesRead - 1; 408 for (; from <= last && *from != _STLP_CTRLZ; ++from) { 409 if (*from != _STLP_CR) 410 *to++ = *from; 412 if (from < last) { // not at buffer end 413 if (*(from [all...] |