Searched refs:from (Results 1 - 25 of 76) sorted by relevance

1234

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/
H A Dchar16_t_length.pass.cpp14 // 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 Dchar32_t_length.pass.cpp14 // 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 Dchar_length.pass.cpp14 // 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 Dwchar_t_length.pass.cpp14 // 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 Dwchar_t_out.pass.cpp15 // 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 Dchar_in.pass.cpp15 // 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 Dchar_out.pass.cpp15 // 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 Dwchar_t_in.pass.cpp15 // 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 Dchar16_t_in.pass.cpp15 // 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 Dchar16_t_out.pass.cpp15 // 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 Dchar32_t_in.pass.cpp15 // 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 Dchar32_t_out.pass.cpp15 // 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 Dhanoi.c3 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 Dhanoi.h8 extern void hanoi(int from, int to, int mid, int n,
H A Dmain.cpp9 void hanoi_callback(int from, int to) { argument
/ndk/sources/cxx-stl/stlport/src/
H A Dcodecvt.cpp31 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/project-properties/jni/
H A DAndroid.mk6 $(call ndk_log,Test OK: Correct target platform retrieved from project.properties: $(TARGET_PLATFORM))
/ndk/tests/build/stdint-c++/jni/
H A DAndroid.mk7 # - 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 Dcodecvt_test.cpp52 /* 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 Dcodecvt_test.cpp52 /* 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/sources/host-tools/sed-4.2.1/doc/
H A Dgroupify.sed3 # so that comments are not separated from the instructions
8 @c Do not edit this file!! It is automatically generated from sed-in.texi.
/ndk/sources/host-tools/make-3.81/
H A Dvmsify.c54 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 Dclear-vars.mk16 # 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 Dfstream_win32io.cpp297 // 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...]
/ndk/tests/device/whole-static-libs/jni/
H A DAndroid.mk8 # The GNU linker will strip un-needed object files from executables even whe

Completed in 341 milliseconds

1234