Home
last modified time | relevance | path

Searched refs:base (Results 1 – 25 of 378) sorted by relevance

12345678910>>...16

/ndk/sources/android/support/src/wcstox/
Dintscan.c54 unsigned long long __intscan(FILE *f, unsigned base, int pok, unsigned long long lim) in __intscan() argument
60 if (base > 36) { in __intscan()
69 if ((base == 0 || base == 16) && c=='0') { in __intscan()
79 base = 16; in __intscan()
80 } else if (base == 0) { in __intscan()
81 base = 8; in __intscan()
84 if (base == 0) base = 10; in __intscan()
85 if (val[c] >= base) { in __intscan()
92 if (base == 10) { in __intscan()
98 } else if (!(base & base-1)) { in __intscan()
[all …]
Dwcstol.c10 int base, in wcstox() argument
17 unsigned long long y = __intscan(&f, base, 1, lim); in wcstox()
27 int base) in wcstoull() argument
29 return wcstox(s, p, base, ULLONG_MAX); in wcstoull()
32 long long wcstoll(const wchar_t *restrict s, wchar_t **restrict p, int base) in wcstoll() argument
34 return wcstox(s, p, base, LLONG_MIN); in wcstoll()
39 int base) in wcstoul() argument
41 return wcstox(s, p, base, ULONG_MAX); in wcstoul()
44 long wcstol(const wchar_t *restrict s, wchar_t **restrict p, int base) in wcstol() argument
46 return wcstox(s, p, base, 0UL+LONG_MIN); in wcstol()
[all …]
/ndk/sources/cxx-stl/gabi++/src/
Dcxxabi_vec.cc167 char* base = static_cast<char*>(alloc(size)); in __cxa_vec_new3() local
168 if (!base) in __cxa_vec_new3()
169 return base; in __cxa_vec_new3()
172 scoped_block block(base, size, dealloc); in __cxa_vec_new3()
175 base += padding_size; in __cxa_vec_new3()
176 reinterpret_cast<size_t*>(base)[-1] = element_count; in __cxa_vec_new3()
179 reinterpret_cast<size_t*>(base)[-2] = element_size; in __cxa_vec_new3()
183 __cxa_vec_ctor(base, element_count, element_size, in __cxa_vec_new3()
188 return base; in __cxa_vec_new3()
207 char* base = static_cast<char*>(array_address); in __cxa_vec_ctor() local
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/
Dput2.pass.cpp49 std::string ex(str, iter.base()); in main()
54 std::string ex(str, iter.base()); in main()
59 std::string ex(str, iter.base()); in main()
64 std::string ex(str, iter.base()); in main()
69 std::string ex(str, iter.base()); in main()
74 std::string ex(str, iter.base()); in main()
79 std::string ex(str, iter.base()); in main()
84 std::string ex(str, iter.base()); in main()
89 std::string ex(str, iter.base()); in main()
94 std::string ex(str, iter.base()); in main()
[all …]
/ndk/sources/android/support/src/locale/
Dnewlocale.c32 locale_t newlocale(int category_mask, const char* locale, locale_t base) { in newlocale() argument
34 if (base == LC_GLOBAL_LOCALE) in newlocale()
35 return base; in newlocale()
45 if (base == LC_NULL_LOCALE) in newlocale()
46 base = calloc(1, sizeof(*base)); in newlocale()
48 return base; in newlocale()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/
Dpbump.pass.cpp24 typedef std::basic_streambuf<CharT> base; typedef
30 base::setp(pbeg, pend); in setp()
35 CharT* pbeg = base::pbase(); in pbump()
36 CharT* pnext = base::pptr(); in pbump()
37 CharT* pend = base::epptr(); in pbump()
38 base::pbump(n); in pbump()
39 assert(base::pbase() == pbeg); in pbump()
40 assert(base::pptr() == pnext+n); in pbump()
41 assert(base::epptr() == pend); in pbump()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.get.area/
Dgbump.pass.cpp24 typedef std::basic_streambuf<CharT> base; typedef
30 base::setg(gbeg, gnext, gend); in setg()
35 CharT* gbeg = base::eback(); in gbump()
36 CharT* gnext = base::gptr(); in gbump()
37 CharT* gend = base::egptr(); in gbump()
38 base::gbump(n); in gbump()
39 assert(base::eback() == gbeg); in gbump()
40 assert(base::gptr() == gnext+n); in gbump()
41 assert(base::egptr() == gend); in gbump()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/
Dstreambuf.pass.cpp24 typedef std::basic_streambuf<CharT> base; typedef in testbuf
33 base::setg(const_cast<CharT*>(str_.data()), in testbuf()
39 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
43 virtual typename base::int_type
44 overflow(typename base::int_type __c = base::traits_type::eof()) in overflow()
46 if (__c != base::traits_type::eof()) in overflow()
51 base::setp(const_cast<CharT*>(str_.data()), in overflow()
53 base::pbump(n+1); in overflow()
Dios_base.pass.cpp24 typedef std::basic_streambuf<CharT> base; typedef in testbuf
32 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
36 virtual typename base::int_type
37 overflow(typename base::int_type __c = base::traits_type::eof()) in overflow()
39 if (__c != base::traits_type::eof()) in overflow()
44 base::setp(const_cast<CharT*>(str_.data()), in overflow()
46 base::pbump(n+1); in overflow()
Dostream.pass.cpp25 typedef std::basic_streambuf<CharT> base; typedef in testbuf
33 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
37 virtual typename base::int_type
38 overflow(typename base::int_type __c = base::traits_type::eof()) in overflow()
40 if (__c != base::traits_type::eof()) in overflow()
45 base::setp(const_cast<CharT*>(str_.data()), in overflow()
47 base::pbump(n+1); in overflow()
Dbasic_ios.pass.cpp25 typedef std::basic_streambuf<CharT> base; typedef in testbuf
33 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
37 virtual typename base::int_type
38 overflow(typename base::int_type __c = base::traits_type::eof()) in overflow()
40 if (__c != base::traits_type::eof()) in overflow()
45 base::setp(const_cast<CharT*>(str_.data()), in overflow()
47 base::pbump(n+1); in overflow()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/
Dstreambuf.pass.cpp24 typedef std::basic_streambuf<CharT> base; typedef in testbuf
33 base::setg(const_cast<CharT*>(str_.data()), in testbuf()
39 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
43 virtual typename base::int_type
44 overflow(typename base::int_type __c = base::traits_type::eof()) in overflow()
46 if (__c != base::traits_type::eof()) in overflow()
51 base::setp(const_cast<CharT*>(str_.data()), in overflow()
53 base::pbump(n+1); in overflow()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.rvalue/
DCharT_pointer.pass.cpp28 typedef std::basic_streambuf<CharT> base; typedef in testbuf
36 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
40 virtual typename base::int_type
41 overflow(typename base::int_type __c = base::traits_type::eof()) in overflow()
43 if (__c != base::traits_type::eof()) in overflow()
48 base::setp(const_cast<CharT*>(str_.data()), in overflow()
50 base::pbump(n+1); in overflow()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.partitions/
Dpartition.pass.cpp39 assert(base(r) == ia + 5); in test()
40 for (int* i = ia; i < base(r); ++i) in test()
42 for (int* i = base(r); i < ia+sa; ++i) in test()
46 assert(base(r) == ia); in test()
51 assert(base(r) == ia); in test()
56 assert(base(r) == ia+sa); in test()
62 assert(base(r) == ia+sa-1); in test()
63 for (int* i = ia; i < base(r); ++i) in test()
65 for (int* i = base(r); i < ia+sa; ++i) in test()
72 assert(base(r) == ia+sa-1); in test()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/
Dpbackfail.pass.cpp26 typedef std::wbuffer_convert<std::codecvt_utf8<wchar_t> > base; typedef
27 typedef base::char_type char_type;
28 typedef base::int_type int_type;
29 typedef base::traits_type traits_type;
31 explicit test_buf(std::streambuf* sb) : base(sb) {} in test_buf()
33 char_type* eback() const {return base::eback();} in eback()
34 char_type* gptr() const {return base::gptr();} in gptr()
35 char_type* egptr() const {return base::egptr();} in egptr()
36 void gbump(int n) {base::gbump(n);} in gbump()
38 virtual int_type pbackfail(int_type c = traits_type::eof()) {return base::pbackfail(c);} in pbackfail()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
Dstring.cpp66 as_integer_helper(const string& func, const S& str, size_t* idx, int base, F f) in as_integer_helper() argument
72 V r = f(p, &ptr, base); in as_integer_helper()
86 as_integer(const string& func, const S& s, size_t* idx, int base);
92 as_integer(const string& func, const string& s, size_t* idx, int base ) in as_integer() argument
95 long r = as_integer_helper<long>( func, s, idx, base, strtol ); in as_integer()
104 as_integer(const string& func, const string& s, size_t* idx, int base ) in as_integer() argument
106 return as_integer_helper<long>( func, s, idx, base, strtol ); in as_integer()
112 as_integer( const string& func, const string& s, size_t* idx, int base ) in as_integer() argument
114 return as_integer_helper<unsigned long>( func, s, idx, base, strtoul ); in as_integer()
120 as_integer( const string& func, const string& s, size_t* idx, int base ) in as_integer() argument
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/container.adaptors/priority.queue/priqueue.cons.alloc/
Dctor_comp_alloc.pass.cpp24 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; typedef
25 typedef typename base::container_type container_type;
26 typedef typename base::value_compare value_compare;
28 explicit test(const test_allocator<int>& a) : base(a) {} in test()
30 : base(comp, a) {} in test()
32 const test_allocator<int>& a) : base(comp, c, a) {} in test()
35 const test_allocator<int>& a) : base(comp, std::move(c), a) {} in test()
36 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test()
40 using base::c;
Dctor_alloc.pass.cpp24 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; typedef
25 typedef typename base::container_type container_type;
26 typedef typename base::value_compare value_compare;
28 explicit test(const test_allocator<int>& a) : base(a) {} in test()
30 : base(comp, c, a) {} in test()
32 const test_allocator<int>& a) : base(comp, c, a) {} in test()
35 const test_allocator<int>& a) : base(comp, std::move(c), a) {} in test()
36 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test()
40 using base::c;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/
Dpbackfail.pass.cpp23 typedef std::basic_filebuf<CharT> base; typedef
24 typedef typename base::char_type char_type;
25 typedef typename base::int_type int_type;
26 typedef typename base::traits_type traits_type;
28 char_type* eback() const {return base::eback();} in eback()
29 char_type* gptr() const {return base::gptr();} in gptr()
30 char_type* egptr() const {return base::egptr();} in egptr()
31 void gbump(int n) {base::gbump(n);} in gbump()
33 virtual int_type pbackfail(int_type c = traits_type::eof()) {return base::pbackfail(c);} in pbackfail()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/
Dput_double.pass.cpp70 std::string ex(str, iter.base()); in test1()
78 std::string ex(str, iter.base()); in test1()
86 std::string ex(str, iter.base()); in test1()
94 std::string ex(str, iter.base()); in test1()
104 std::string ex(str, iter.base()); in test1()
112 std::string ex(str, iter.base()); in test1()
120 std::string ex(str, iter.base()); in test1()
128 std::string ex(str, iter.base()); in test1()
141 std::string ex(str, iter.base()); in test1()
149 std::string ex(str, iter.base()); in test1()
[all …]
Dput_long_double.pass.cpp70 std::string ex(str, iter.base()); in test1()
78 std::string ex(str, iter.base()); in test1()
86 std::string ex(str, iter.base()); in test1()
94 std::string ex(str, iter.base()); in test1()
104 std::string ex(str, iter.base()); in test1()
112 std::string ex(str, iter.base()); in test1()
120 std::string ex(str, iter.base()); in test1()
128 std::string ex(str, iter.base()); in test1()
141 std::string ex(str, iter.base()); in test1()
149 std::string ex(str, iter.base()); in test1()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.manip/
Dendl.pass.cpp27 typedef std::basic_streambuf<CharT> base; typedef in testbuf
35 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
39 virtual typename base::int_type
40 overflow(typename base::int_type __c = base::traits_type::eof()) in overflow()
42 if (__c != base::traits_type::eof()) in overflow()
47 base::setp(const_cast<CharT*>(str_.data()), in overflow()
49 base::pbump(n+1); in overflow()
Dends.pass.cpp25 typedef std::basic_streambuf<CharT> base; typedef in testbuf
33 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
37 virtual typename base::int_type
38 overflow(typename base::int_type __c = base::traits_type::eof()) in overflow()
40 if (__c != base::traits_type::eof()) in overflow()
45 base::setp(const_cast<CharT*>(str_.data()), in overflow()
47 base::pbump(n+1); in overflow()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.unformatted/
Dput.pass.cpp24 typedef std::basic_streambuf<CharT> base; typedef in testbuf
32 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
36 virtual typename base::int_type
37 overflow(typename base::int_type __c = base::traits_type::eof()) in overflow()
39 if (__c != base::traits_type::eof()) in overflow()
44 base::setp(const_cast<CharT*>(str_.data()), in overflow()
46 base::pbump(n+1); in overflow()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/
Dshort.pass.cpp24 typedef std::basic_streambuf<CharT> base; typedef in testbuf
32 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
36 virtual typename base::int_type
37 overflow(typename base::int_type __c = base::traits_type::eof()) in overflow()
39 if (__c != base::traits_type::eof()) in overflow()
44 base::setp(const_cast<CharT*>(str_.data()), in overflow()
46 base::pbump(n+1); in overflow()

12345678910>>...16