Home
last modified time | relevance | path

Searched refs:bs (Results 1 – 16 of 16) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale.convenience/conversions/conversions.string/
Dto_bytes.pass.cpp28 std::string bs = myconv.to_bytes(ws[0]); in main() local
29 assert(bs == "\xF1\x80\x80\x83"); in main()
30 bs = myconv.to_bytes(ws.c_str()); in main()
31 assert(bs == "\xF1\x80\x80\x83"); in main()
32 bs = myconv.to_bytes(ws); in main()
33 assert(bs == "\xF1\x80\x80\x83"); in main()
34 bs = myconv.to_bytes(ws.data(), ws.data() + ws.size()); in main()
35 assert(bs == "\xF1\x80\x80\x83"); in main()
36 bs = myconv.to_bytes(L""); in main()
37 assert(bs.size() == 0); in main()
Dfrom_bytes.pass.cpp27 std::string bs("\xF1\x80\x80\x83"); in main() local
30 ws = myconv.from_bytes(bs.c_str()); in main()
32 ws = myconv.from_bytes(bs); in main()
34 ws = myconv.from_bytes(bs.data(), bs.data() + bs.size()); in main()
Dctor_err_string.pass.cpp50 std::string bs = myconv.to_bytes(L"\xDA83"); in main() local
51 assert(bs == "byte error"); in main()
63 std::string bs = myconv.to_bytes(L"\xDA83"); in main() local
64 assert(bs == "byte error"); in main()
Dconverted.pass.cpp26 std::string bs = myconv.to_bytes(L"\x40003"); in main() local
28 bs = myconv.to_bytes(L"\x40003\x65"); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/
Doverflow.pass.cpp44 std::ofstream bs("overflow.dat"); in main() local
45 test_buf f(bs.rdbuf()); in main()
55 std::ifstream bs("overflow.dat"); in main() local
56 test_buf f(bs.rdbuf()); in main()
61 std::ofstream bs("overflow.dat"); in main() local
62 test_buf f(bs.rdbuf()); in main()
73 std::ifstream bs("overflow.dat"); in main() local
74 test_buf f(bs.rdbuf()); in main()
79 std::ofstream bs("overflow.dat"); in main() local
80 test_buf f(bs.rdbuf()); in main()
Dunderflow.pass.cpp44 std::ifstream bs("underflow.dat"); in main() local
45 test_buf f(bs.rdbuf()); in main()
56 std::ifstream bs("underflow.dat"); in main() local
57 test_buf f(bs.rdbuf()); in main()
77 std::ifstream bs("underflow_utf8.dat"); in main() local
78 test_buf f(bs.rdbuf()); in main()
Dpbackfail.pass.cpp44 std::ifstream bs("underflow.dat"); in main() local
45 test_buf f(bs.rdbuf()); in main()
51 std::fstream bs("underflow.dat"); in main() local
52 test_buf f(bs.rdbuf()); in main()
Dseekoff.pass.cpp41 std::fstream bs("seekoff.dat", std::ios::trunc | std::ios::in in main() local
43 test_buf f(bs.rdbuf()); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/template.bitset/bitset.hash/
Dbitset.pass.cpp34 T bs(static_cast<unsigned long long>(N)); in test()
35 assert(h(bs) == N); in test()
/ndk/sources/android/support/src/wcstox/
Dintscan.c99 int bs = "\0\1\2\4\7\3\6\5"[(0x17*base)>>5&7]; in __intscan() local
101 x = x<<bs | val[c]; in __intscan()
102 for (y=x; val[c]<base && y<=ULLONG_MAX>>bs; c=shgetc(f)) in __intscan()
103 y = y<<bs | val[c]; in __intscan()
/ndk/sources/android/support/src/stdio/
Dvfwprintf.c210 char *bs; in wprintf_core() local
333 bs = arg.p; in wprintf_core()
335 for (i=l=0; l<p && (i=mbtowc(&wc, bs, MB_LEN_MAX))>0; bs+=i, l++); in wprintf_core()
340 bs = arg.p; in wprintf_core()
342 i=mbtowc(&wc, bs, MB_LEN_MAX); in wprintf_core()
343 bs+=i; in wprintf_core()
Dstrtod.c1591 Bigint *bb = NULL, *bd = NULL, *bs = NULL, *delta = NULL;/* pacify gcc */ local
1927 bs = i2b(1);
1966 bs = pow5mult(bs, bb5);
1967 bb1 = mult(bs, bb);
1978 bs = lshift(bs, bs2);
1982 i = cmp(delta, bs);
1990 if (cmp(delta, bs) > 0)
2050 if ((aadj = ratio(delta, bs)) <= 2.) {
2169 Bfree(bs);
2175 Bfree(bs);
/ndk/tests/device/test-stlport/unit/
Dstring_test.cpp305 const char* bs = b.c_str(); in short_string() local
307 CPPUNIT_ASSERT( a.c_str() == bs ); in short_string()
/ndk/tests/device/test-gnustl-full/unit/
Dstring_test.cpp305 const char* bs = b.c_str(); in short_string() local
307 CPPUNIT_ASSERT( a.c_str() == bs ); in short_string()
/ndk/sources/host-tools/make-3.81/
DABOUT-NLS186 Ready PO files af am ar az be bg bs ca cs da de el en en_GB eo es
320 af am ar az be bg bs ca cs da de el en en_GB eo es
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/
Dcxa_demangle.cpp4847 const size_t bs = 4 * 1024; variable
4848 template <class T> using Alloc = short_alloc<T, bs>;
4908 arena<bs> a; in __cxa_demangle()