Home
last modified time | relevance | path

Searched refs:rlen (Results 1 – 15 of 15) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.cons/
Dsubstr.pass.cpp35 unsigned rlen = str.size() - pos; in test() local
36 assert(s2.size() == rlen); in test()
37 assert(T::compare(s2.data(), str.data() + pos, rlen) == 0); in test()
58 unsigned rlen = std::min<unsigned>(str.size() - pos, n); in test() local
59 assert(s2.size() == rlen); in test()
60 assert(T::compare(s2.data(), str.data() + pos, rlen) == 0); in test()
81 unsigned rlen = std::min<unsigned>(str.size() - pos, n); in test() local
82 assert(s2.size() == rlen); in test()
83 assert(T::compare(s2.data(), str.data() + pos, rlen) == 0); in test()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_substr/
Dsubstr.pass.cpp30 typename S::size_type rlen = std::min(n, s.size() - pos); in test() local
31 assert(str.size() == rlen); in test()
32 assert(S::traits_type::compare(s.data()+pos, str.data(), rlen) == 0); in test()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.modifiers/string_copy/
Dcopy.pass.cpp31 typename S::size_type rlen = std::min(n, cs.size() - pos); in test() local
32 assert(r == rlen); in test()
33 for (r = 0; r < rlen; ++r) in test()
/ndk/sources/host-tools/make-3.81/
Dvariable.h128 unsigned int slen, unsigned int rlen, int by_word));
Dfunction.c78 unsigned int slen, unsigned int rlen, int by_word) in subst_expand() argument
87 if (rlen > 0) in subst_expand()
88 o = variable_buffer_output (o, replace, rlen); in subst_expand()
121 else if (rlen > 0) in subst_expand()
123 o = variable_buffer_output (o, replace, rlen); in subst_expand()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.modifiers/string_replace/
Diter_iter_pointer.pass.cpp34 typename S::size_type rlen = S::traits_type::length(str); in test() local
35 assert(s.size() == old_size - xlen + rlen); in test()
Diter_iter_size_char.pass.cpp35 typename S::size_type rlen = n2; in test() local
36 assert(s.size() == old_size - xlen + rlen); in test()
Diter_iter_string.pass.cpp34 typename S::size_type rlen = str.size(); in test() local
35 assert(s.size() == old_size - xlen + rlen); in test()
Dsize_size_pointer.pass.cpp38 typename S::size_type rlen = S::traits_type::length(str); in test() local
39 assert(s.size() == old_size - xlen + rlen); in test()
Dsize_size_size_char.pass.cpp37 typename S::size_type rlen = n2; in test() local
38 assert(s.size() == old_size - xlen + rlen); in test()
Dsize_size_string.pass.cpp35 typename S::size_type rlen = str.size(); in test() local
36 assert(s.size() == old_size - xlen + rlen); in test()
Diter_iter_pointer_size.pass.cpp35 typename S::size_type rlen = n2; in test() local
36 assert(s.size() == old_size - xlen + rlen); in test()
Dsize_size_pointer_size.pass.cpp39 typename S::size_type rlen = n2; in test() local
40 assert(s.size() == old_size - xlen + rlen); in test()
Diter_iter_iter_iter.pass.cpp33 typename S::size_type rlen = std::distance(f, l); in test() local
34 assert(s.size() == old_size - xlen + rlen); in test()
Dsize_size_string_size_size.pass.cpp39 typename S::size_type rlen = std::min(n2, str.size() - pos2); in test() local
40 assert(s.size() == old_size - xlen + rlen); in test()
64 typename S::size_type rlen = std::min(S::npos, str.size() - pos2); in test_npos() local
65 assert(s.size() == old_size - xlen + rlen); in test_npos()