Searched refs:base (Results 1 - 25 of 328) sorted by relevance

1234567891011>>

/ndk/sources/android/support/src/musl-locale/
H A Dnewlocale.c5 locale_t newlocale(int mask, const char *name, locale_t base) argument
9 if (!base) base = calloc(1, sizeof *base);
10 return base;
/ndk/sources/host-tools/sed-4.2.1/lib/
H A Dstripslash.c32 char *base = last_component (file); local
38 if (! *base)
39 base = file;
40 base_lim = base + base_len (base);
H A Dbasename.c34 char const *base = name + FILE_SYSTEM_PREFIX_LEN (name); local
38 while (ISSLASH (*base))
39 base++;
41 for (p = base; *p; p++)
47 base = p;
52 return (char *) base;
76 char const *base = last_component (name); local
81 if (! *base)
85 length = base_len (base);
86 if (ISSLASH (base[lengt
[all...]
/ndk/sources/android/support/src/locale/
H A Dnewlocale.c31 locale_t newlocale(int category_mask, const char* locale, locale_t base) { argument
33 if (base == LC_GLOBAL_LOCALE)
34 return base;
40 if (base == LC_NULL_LOCALE)
41 base = calloc(1, sizeof(*base));
43 return base;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.get.area/
H A Dgbump.pass.cpp24 typedef std::basic_streambuf<CharT> base; typedef in struct:test
30 base::setg(gbeg, gnext, gend);
35 CharT* gbeg = base::eback();
36 CharT* gnext = base::gptr();
37 CharT* gend = base::egptr();
38 base::gbump(n);
39 assert(base::eback() == gbeg);
40 assert(base::gptr() == gnext+n);
41 assert(base::egptr() == gend);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/
H A Dpbump.pass.cpp24 typedef std::basic_streambuf<CharT> base; typedef in struct:test
30 base::setp(pbeg, pend);
35 CharT* pbeg = base::pbase();
36 CharT* pnext = base::pptr();
37 CharT* pend = base::epptr();
38 base::pbump(n);
39 assert(base::pbase() == pbeg);
40 assert(base::pptr() == pnext+n);
41 assert(base::epptr() == pend);
H A Dsetp.pass.cpp24 typedef std::basic_streambuf<CharT> base; typedef in struct:test
30 base::setp(pbeg, pend);
31 assert(base::pbase() == pbeg);
32 assert(base::pptr() == pbeg);
33 assert(base::epptr() == pend);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/
H A Dstreambuf.pass.cpp24 typedef std::basic_streambuf<CharT> base; typedef in class:testbuf
33 base::setg(const_cast<CharT*>(str_.data()),
39 {return std::basic_string<CharT>(base::pbase(), base::pptr());}
43 virtual typename base::int_type
44 overflow(typename base::int_type __c = base::traits_type::eof()) argument
46 if (__c != base::traits_type::eof())
51 base::setp(const_cast<CharT*>(str_.data()),
53 base
[all...]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/
H A Dstreambuf.pass.cpp24 typedef std::basic_streambuf<CharT> base; typedef in class:testbuf
33 base::setg(const_cast<CharT*>(str_.data()),
39 {return std::basic_string<CharT>(base::pbase(), base::pptr());}
43 virtual typename base::int_type
44 overflow(typename base::int_type __c = base::traits_type::eof()) argument
46 if (__c != base::traits_type::eof())
51 base::setp(const_cast<CharT*>(str_.data()),
53 base
[all...]
H A Dbasic_ios.pass.cpp25 typedef std::basic_streambuf<CharT> base; typedef in class:testbuf
33 {return std::basic_string<CharT>(base::pbase(), base::pptr());}
37 virtual typename base::int_type
38 overflow(typename base::int_type __c = base::traits_type::eof()) argument
40 if (__c != base::traits_type::eof())
45 base::setp(const_cast<CharT*>(str_.data()),
47 base::pbump(n+1);
H A Dios_base.pass.cpp24 typedef std::basic_streambuf<CharT> base; typedef in class:testbuf
32 {return std::basic_string<CharT>(base::pbase(), base::pptr());}
36 virtual typename base::int_type
37 overflow(typename base::int_type __c = base::traits_type::eof()) argument
39 if (__c != base::traits_type::eof())
44 base::setp(const_cast<CharT*>(str_.data()),
46 base::pbump(n+1);
H A Dostream.pass.cpp25 typedef std::basic_streambuf<CharT> base; typedef in class:testbuf
33 {return std::basic_string<CharT>(base::pbase(), base::pptr());}
37 virtual typename base::int_type
38 overflow(typename base::int_type __c = base::traits_type::eof()) argument
40 if (__c != base::traits_type::eof())
45 base::setp(const_cast<CharT*>(str_.data()),
47 base::pbump(n+1);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/
H A Dpbackfail.pass.cpp26 typedef std::wbuffer_convert<std::codecvt_utf8<wchar_t> > base; typedef in struct:test_buf
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) {}
33 char_type* eback() const {return base::eback();}
34 char_type* gptr() const {return base::gptr();}
35 char_type* egptr() const {return base::egptr();}
36 void gbump(int n) {base::gbump(n);}
38 virtual int_type pbackfail(int_type c = traits_type::eof()) {return base
[all...]
/ndk/sources/android/support/include/
H A Dstdlib.h42 long strtol_l(const char *nptr, char **endptr, int base, locale_t loc);
43 long long strtoll_l(const char *nptr, char **endptr, int base, locale_t loc);
44 unsigned long strtoul_l(const char *nptr, char **endptr, int base, locale_t loc);
45 unsigned long long strtoull_l(const char *nptr, char **endptr, int base, locale_t loc);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/container.adaptors/priority.queue/priqueue.cons.alloc/
H A Dctor_alloc.pass.cpp24 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; typedef in struct:test
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) {}
30 : base(comp, c, a) {}
32 const test_allocator<int>& a) : base(comp, c, a) {}
35 const test_allocator<int>& a) : base(comp, std::move(c), a) {}
36 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {}
40 using base::c;
H A Dctor_comp_alloc.pass.cpp24 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; typedef in struct:test
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) {}
30 : base(comp, a) {}
32 const test_allocator<int>& a) : base(comp, c, a) {}
35 const test_allocator<int>& a) : base(comp, std::move(c), a) {}
36 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {}
40 using base::c;
H A Dctor_comp_cont_alloc.pass.cpp35 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; typedef in struct:test
36 typedef typename base::container_type container_type;
37 typedef typename base::value_compare value_compare;
39 explicit test(const test_allocator<int>& a) : base(a) {}
41 : base(comp, a) {}
43 const test_allocator<int>& a) : base(comp, c, a) {}
46 const test_allocator<int>& a) : base(comp, std::move(c), a) {}
47 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {}
51 using base::c;
H A Dctor_comp_rcont_alloc.pass.cpp35 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; typedef in struct:test
36 typedef typename base::container_type container_type;
37 typedef typename base::value_compare value_compare;
39 explicit test(const test_allocator<int>& a) : base(a) {}
41 : base(comp, a) {}
43 const test_allocator<int>& a) : base(comp, c, a) {}
46 const test_allocator<int>& a) : base(comp, std::move(c), a) {}
47 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {}
51 using base::c;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/
H A Dpbackfail.pass.cpp23 typedef std::basic_filebuf<CharT> base; typedef in struct:test_buf
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();}
29 char_type* gptr() const {return base::gptr();}
30 char_type* egptr() const {return base::egptr();}
31 void gbump(int n) {base::gbump(n);}
33 virtual int_type pbackfail(int_type c = traits_type::eof()) {return base::pbackfail(c);}
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/
H A Ddouble.pass.cpp24 typedef std::basic_streambuf<CharT> base; typedef in class:testbuf
32 {return std::basic_string<CharT>(base::pbase(), base::pptr());}
36 virtual typename base::int_type
37 overflow(typename base::int_type __c = base::traits_type::eof()) argument
39 if (__c != base::traits_type::eof())
44 base::setp(const_cast<CharT*>(str_.data()),
46 base::pbump(n+1);
H A Dfloat.pass.cpp24 typedef std::basic_streambuf<CharT> base; typedef in class:testbuf
32 {return std::basic_string<CharT>(base::pbase(), base::pptr());}
36 virtual typename base::int_type
37 overflow(typename base::int_type __c = base::traits_type::eof()) argument
39 if (__c != base::traits_type::eof())
44 base::setp(const_cast<CharT*>(str_.data()),
46 base::pbump(n+1);
H A Dint.pass.cpp24 typedef std::basic_streambuf<CharT> base; typedef in class:testbuf
32 {return std::basic_string<CharT>(base::pbase(), base::pptr());}
36 virtual typename base::int_type
37 overflow(typename base::int_type __c = base::traits_type::eof()) argument
39 if (__c != base::traits_type::eof())
44 base::setp(const_cast<CharT*>(str_.data()),
46 base::pbump(n+1);
H A Dlong.pass.cpp24 typedef std::basic_streambuf<CharT> base; typedef in class:testbuf
32 {return std::basic_string<CharT>(base::pbase(), base::pptr());}
36 virtual typename base::int_type
37 overflow(typename base::int_type __c = base::traits_type::eof()) argument
39 if (__c != base::traits_type::eof())
44 base::setp(const_cast<CharT*>(str_.data()),
46 base::pbump(n+1);
H A Dlong_double.pass.cpp24 typedef std::basic_streambuf<CharT> base; typedef in class:testbuf
32 {return std::basic_string<CharT>(base::pbase(), base::pptr());}
36 virtual typename base::int_type
37 overflow(typename base::int_type __c = base::traits_type::eof()) argument
39 if (__c != base::traits_type::eof())
44 base::setp(const_cast<CharT*>(str_.data()),
46 base::pbump(n+1);
H A Dlong_long.pass.cpp24 typedef std::basic_streambuf<CharT> base; typedef in class:testbuf
32 {return std::basic_string<CharT>(base::pbase(), base::pptr());}
36 virtual typename base::int_type
37 overflow(typename base::int_type __c = base::traits_type::eof()) argument
39 if (__c != base::traits_type::eof())
44 base::setp(const_cast<CharT*>(str_.data()),
46 base::pbump(n+1);

Completed in 1644 milliseconds

1234567891011>>