/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.results/re.results.acc/ |
D | length.pass.cpp | 25 assert(m.length() == m[0].length()); in test() 26 assert(m.length(0) == m[0].length()); in test() 27 assert(m.length(1) == m[1].length()); in test() 28 assert(m.length(2) == m[2].length()); in test() 29 assert(m.length(3) == m[3].length()); in test() 30 assert(m.length(4) == m[4].length()); in test()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.stdcvt/ |
D | codecvt_utf16_length.pass.cpp | 33 int r = c.length(m, n, n+4, 2); in main() 38 r = c.length(m, n, n+2, 2); in main() 43 r = c.length(m, n, n+2, 2); in main() 48 r = c.length(m, n, n+2, 2); in main() 56 int r = c.length(m, n, n+4, 2); in main() 61 r = c.length(m, n, n+2, 2); in main() 66 r = c.length(m, n, n+2, 2); in main() 71 r = c.length(m, n, n+2, 2); in main() 79 int r = c.length(m, n, n+6, 2); in main() 84 r = c.length(m, n, n+2, 2); in main() [all …]
|
D | codecvt_utf8_utf16_length.pass.cpp | 33 int r = c.length(m, n, n+4, 2); in main() 39 r = c.length(m, n, n+3, 2); in main() 44 r = c.length(m, n, n+2, 2); in main() 48 r = c.length(m, n, n+1, 2); in main() 56 int r = c.length(m, n, n+4, 2); in main() 62 r = c.length(m, n, n+3, 2); in main() 67 r = c.length(m, n, n+2, 2); in main() 71 r = c.length(m, n, n+1, 2); in main() 79 int r = c.length(m, n, n+7, 2); in main() 85 r = c.length(m, n, n+3, 2); in main() [all …]
|
D | codecvt_utf8_length.pass.cpp | 33 int r = c.length(m, n, n+4, 1); in main() 39 r = c.length(m, n, n+3, 2); in main() 44 r = c.length(m, n, n+2, 3); in main() 48 r = c.length(m, n, n+1, 3); in main() 56 int r = c.length(m, n, n+4, 1); in main() 62 r = c.length(m, n, n+3, 2); in main() 67 r = c.length(m, n, n+2, 3); in main() 71 r = c.length(m, n, n+1, 3); in main() 79 int r = c.length(m, n, n+7, 1); in main() 85 r = c.length(m, n, n+3, 2); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.traits/ |
D | length.pass.cpp | 22 assert(std::regex_traits<char>::length("") == 0); in main() 23 assert(std::regex_traits<char>::length("1") == 1); in main() 24 assert(std::regex_traits<char>::length("12") == 2); in main() 25 assert(std::regex_traits<char>::length("123") == 3); in main() 27 assert(std::regex_traits<wchar_t>::length(L"") == 0); in main() 28 assert(std::regex_traits<wchar_t>::length(L"1") == 1); in main() 29 assert(std::regex_traits<wchar_t>::length(L"12") == 2); in main() 30 assert(std::regex_traits<wchar_t>::length(L"123") == 3); in main()
|
/ndk/sources/android/support/src/stdio/ |
D | stdio_impl.c | 27 void fake_file_out(FakeFILE* file, const char* text, size_t length) { in fake_file_out() argument 28 if (length == 0) { in fake_file_out() 33 fwrite(text, 1, length, file->file); in fake_file_out() 37 if (length > avail) in fake_file_out() 38 length = avail; in fake_file_out() 41 length); in fake_file_out() 42 file->buffer_pos += length; in fake_file_out() 46 void fake_file_outw(FakeFILE* file, const wchar_t* text, size_t length) { in fake_file_outw() argument 47 if (length == 0) in fake_file_outw() 54 size_t mb_len = wcstombs(NULL, text, length); in fake_file_outw() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char/ |
D | length.pass.cpp | 21 assert(std::char_traits<char>::length("") == 0); in main() 22 assert(std::char_traits<char>::length("a") == 1); in main() 23 assert(std::char_traits<char>::length("aa") == 2); in main() 24 assert(std::char_traits<char>::length("aaa") == 3); in main() 25 assert(std::char_traits<char>::length("aaaa") == 4); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/ |
D | length.pass.cpp | 21 assert(std::char_traits<wchar_t>::length(L"") == 0); in main() 22 assert(std::char_traits<wchar_t>::length(L"a") == 1); in main() 23 assert(std::char_traits<wchar_t>::length(L"aa") == 2); in main() 24 assert(std::char_traits<wchar_t>::length(L"aaa") == 3); in main() 25 assert(std::char_traits<wchar_t>::length(L"aaaa") == 4); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/ |
D | length.pass.cpp | 22 assert(std::char_traits<char32_t>::length(U"") == 0); in main() 23 assert(std::char_traits<char32_t>::length(U"a") == 1); in main() 24 assert(std::char_traits<char32_t>::length(U"aa") == 2); in main() 25 assert(std::char_traits<char32_t>::length(U"aaa") == 3); in main() 26 assert(std::char_traits<char32_t>::length(U"aaaa") == 4); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/ |
D | length.pass.cpp | 22 assert(std::char_traits<char16_t>::length(u"") == 0); in main() 23 assert(std::char_traits<char16_t>::length(u"a") == 1); in main() 24 assert(std::char_traits<char16_t>::length(u"aa") == 2); in main() 25 assert(std::char_traits<char16_t>::length(u"aaa") == 3); in main() 26 assert(std::char_traits<char16_t>::length(u"aaaa") == 4); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/ |
D | wchar_t_length.pass.cpp | 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()
|
D | char16_t_length.pass.cpp | 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()
|
D | char32_t_length.pass.cpp | 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()
|
D | char_length.pass.cpp | 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()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.submatch/re.submatch.members/ |
D | length.pass.cpp | 25 assert(sm.length() == 0); in main() 30 assert(sm.length() == 3); in main() 36 assert(sm.length() == 0); in main() 41 assert(sm.length() == 3); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.alg/re.alg.search/ |
D | ecma.pass.cpp | 38 assert(m.length(0) == 1); in main() 53 assert(m.length(0) == 2); in main() 75 assert(m.length(0) == 2); in main() 97 assert(m.length(0) == 2); in main() 112 assert(m.length(0) == 4); in main() 127 assert(m.length(0) == 5); in main() 130 assert(m.length(1) == 2); in main() 144 assert(m.suffix().second == s+std::regex_traits<char>::length(s)); in main() 145 assert(m.length(0) == 7); in main() 148 assert(m.length(1) == 3); in main() [all …]
|
D | basic.pass.cpp | 44 assert(m.length(0) == 1); in main() 59 assert(m.length(0) == 2); in main() 81 assert(m.length(0) == 2); in main() 103 assert(m.length(0) == 2); in main() 118 assert(m.length(0) == 4); in main() 133 assert(m.length(0) == 5); in main() 136 assert(m.length(1) == 2); in main() 151 assert(m.suffix().second == s+std::regex_traits<char>::length(s)); in main() 152 assert(m.length(0) == 7); in main() 155 assert(m.length(1) == 3); in main() [all …]
|
D | awk.pass.cpp | 38 assert(m.length(0) == 1); in main() 53 assert(m.length(0) == 2); in main() 75 assert(m.length(0) == 2); in main() 97 assert(m.length(0) == 2); in main() 112 assert(m.length(0) == 4); in main() 127 assert(m.length(0) == 5); in main() 130 assert(m.length(1) == 2); in main() 145 assert(m.suffix().second == s+std::regex_traits<char>::length(s)); in main() 146 assert(m.length(0) == 7); in main() 149 assert(m.length(1) == 3); in main() [all …]
|
D | egrep.pass.cpp | 37 assert(m.suffix().second == s + std::char_traits<char>::length(s)); in main() 38 assert(m.length(0) == 10); in main() 53 assert(m.suffix().second == s + std::char_traits<char>::length(s)); in main() 54 assert(m.length(0) == 0); in main() 69 assert(m.suffix().second == s + std::char_traits<char>::length(s)); in main() 70 assert(m.length(0) == 10); in main() 85 assert(m.suffix().second == s + std::char_traits<char>::length(s)); in main() 86 assert(m.length(0) == 6); in main()
|
D | extended.pass.cpp | 38 assert(m.length(0) == 1); in main() 53 assert(m.length(0) == 2); in main() 75 assert(m.length(0) == 2); in main() 97 assert(m.length(0) == 2); in main() 112 assert(m.length(0) == 4); in main() 127 assert(m.length(0) == 5); in main() 130 assert(m.length(1) == 2); in main() 145 assert(m.suffix().second == s+std::regex_traits<char>::length(s)); in main() 146 assert(m.length(0) == 7); in main() 149 assert(m.length(1) == 3); in main() [all …]
|
D | backup.pass.cpp | 35 assert(it->length(0) == 1); in main() 39 assert(it->length(0) == 1); in main() 54 assert(it->length(0) == 1); in main() 58 assert(it->length(0) == 1); in main()
|
/ndk/build/awk/ |
D | gen-windows-host-path.awk | 86 cygwin[count] = substr(cygwin[nn],1,length(cygwin[nn])-1) up 95 cygwin[count] = substr(cygwin[nn],1,length(cygwin[nn])-1) lo 105 if (length(cygwin[jj]) > length(cygwin[jj+1])) { 108 if (length(cygwin[jj]) == length(cygwin[jj+1]) &&
|
/ndk/sources/host-tools/make-3.81/ |
D | expand.c | 58 variable_buffer_output (char *ptr, char *string, unsigned int length) in variable_buffer_output() argument 60 register unsigned int newlen = length + (ptr - variable_buffer); in variable_buffer_output() 73 bcopy (string, ptr, length); in variable_buffer_output() 74 return ptr + length; in variable_buffer_output() 163 reference_variable (char *o, char *name, unsigned int length) in reference_variable() argument 168 v = lookup_variable (name, length); in reference_variable() 171 warn_undefined (name, length); in reference_variable() 197 variable_expand_string (char *line, char *string, long length) in variable_expand_string() argument 211 if (length >= 0) in variable_expand_string() 213 save_char = string[length]; in variable_expand_string() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.alg/re.alg.match/ |
D | ecma.pass.cpp | 38 assert(m.length(0) == 1); in main() 53 assert(m.length(0) == 2); in main() 94 assert(m.length(0) == 4); in main() 109 assert(m.length(0) == 5); in main() 112 assert(m.length(1) == 2); in main() 133 assert(m.length(0) == 3); in main() 160 assert(m.length(0) == 3); in main() 187 assert(m.length(0) == 3); in main() 202 assert(m.length(0) == 3); in main() 217 assert(m.length(0) == 3); in main() [all …]
|
D | extended.pass.cpp | 38 assert(m.length(0) == 1); in main() 53 assert(m.length(0) == 2); in main() 94 assert(m.length(0) == 4); in main() 109 assert(m.length(0) == 5); in main() 112 assert(m.length(1) == 2); in main() 134 assert(m.length(0) == 3); in main() 161 assert(m.length(0) == 3); in main() 188 assert(m.length(0) == 3); in main() 203 assert(m.length(0) == 3); in main() 218 assert(m.length(0) == 3); in main() [all …]
|