/external/clang/test/Index/ |
complete-preamble.h | 1 namespace std { namespace 5 namespace std { namespace
|
complete-preamble.cpp | 3 std::
|
load-namespaces.cpp | 3 namespace std { namespace 9 namespace std { namespace 13 namespace std98 = std; 18 namespace std { namespace 22 using std::g; 24 void std::g() { 27 namespace my_rel_ops = std::rel_ops; 30 // CHECK: load-namespaces.cpp:3:11: Namespace=std:3:11 (Definition) Extent=[3:1 - 7:2] 33 // CHECK: load-namespaces.cpp:9:11: Namespace=std:9:11 (Definition) Extent=[9:1 - 11:2] 36 // CHECK: load-namespaces.cpp:13:19: NamespaceRef=std:3:11 Extent=[13:19 - 13:22 [all...] |
/ndk/tests/build/issue52805-set_new_handler/jni/ |
new_handler.cpp | 2 std::new_handler get_and_reset_new_handler() 4 return std::set_new_handler(0);
|
/ndk/sources/cxx-stl/llvm-libc++/test/atomics/atomics.types.generic/ |
cstdint_typedefs.pass.cpp | 43 static_assert((std::is_same<std::atomic< std::int_least8_t>, std::atomic_int_least8_t>::value), ""); 44 static_assert((std::is_same<std::atomic< std::uint_least8_t>, std::atomic_uint_least8_t>::value), ""); 45 static_assert((std::is_same<std::atomic< std::int_least16_t>, std::atomic_int_least16_t>::value), "") [all...] |
integral_typedefs.pass.cpp | 32 static_assert((std::is_same<std::atomic<char>, std::atomic_char>::value), ""); 33 static_assert((std::is_same<std::atomic<signed char>, std::atomic_schar>::value), ""); 34 static_assert((std::is_same<std::atomic<unsigned char>, std::atomic_uchar>::value), ""); 35 static_assert((std::is_same<std::atomic<short>, std::atomic_short>::value), "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/algorithms/alg.sorting/alg.min.max/ |
minmax_init_list_comp.pass.cpp | 23 assert((std::minmax({1, 2, 3}, std::greater<int>()) == std::pair<int, int>(3, 1))); 24 assert((std::minmax({1, 3, 2}, std::greater<int>()) == std::pair<int, int>(3, 1))); 25 assert((std::minmax({2, 1, 3}, std::greater<int>()) == std::pair<int, int>(3, 1))); 26 assert((std::minmax({2, 3, 1}, std::greater<int>()) == std::pair<int, int>(3, 1))) [all...] |
minmax_init_list.pass.cpp | 22 assert((std::minmax({1, 2, 3}) == std::pair<int, int>(1, 3))); 23 assert((std::minmax({1, 3, 2}) == std::pair<int, int>(1, 3))); 24 assert((std::minmax({2, 1, 3}) == std::pair<int, int>(1, 3))); 25 assert((std::minmax({2, 3, 1}) == std::pair<int, int>(1, 3))); 26 assert((std::minmax({3, 1, 2}) == std::pair<int, int>(1, 3))) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.ctype/locale.ctype.byname/ |
types.pass.cpp | 33 std::locale l(LOCALE_en_US_UTF_8); 35 assert(std::has_facet<std::ctype_byname<char> >(l)); 36 assert(&std::use_facet<std::ctype<char> >(l) 37 == &std::use_facet<std::ctype_byname<char> >(l)); 40 assert(std::has_facet<std::ctype_byname<wchar_t> >(l)); 41 assert(&std::use_facet<std::ctype<wchar_t> >(l [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/complex.number/ |
cases.h | 20 std::complex<double> x[] = 22 std::complex<double>( 1.e-6, 1.e-6), 23 std::complex<double>(-1.e-6, 1.e-6), 24 std::complex<double>(-1.e-6, -1.e-6), 25 std::complex<double>( 1.e-6, -1.e-6), 27 std::complex<double>( 1.e+6, 1.e-6), 28 std::complex<double>(-1.e+6, 1.e-6), 29 std::complex<double>(-1.e+6, -1.e-6), 30 std::complex<double>( 1.e+6, -1.e-6), 32 std::complex<double>( 1.e-6, 1.e+6) [all...] |
/system/extras/tests/bionic/libstdc++/ |
test_cstdio.cpp | 105 using std::clearerr; 106 using std::fclose; 107 using std::feof; 108 using std::ferror; 109 using std::fflush; 110 using std::fgetc; 111 using std::fgetpos; 112 using std::fgets; 113 using std::fopen; 114 using std::fprintf [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/iostream.objects/narrow.stream.objects/ |
cin.pass.cpp | 20 std::cout << "Hello World!\n"; 22 std::cout << "Enter a number: "; 23 std::cin >> i; 24 std::cout << "The number is : " << i << '\n'; 26 assert(std::cin.tie() == &std::cout);
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/function.objects/func.wrap/func.wrap.func/ |
types.pass.cpp | 29 static_assert((!std::is_base_of<std::unary_function <int, int>, 30 std::function<int()> >::value), ""); 31 static_assert((!std::is_base_of<std::binary_function<int, int, int>, 32 std::function<int()> >::value), ""); 33 static_assert(( std::is_same< std::function<int()>::result_type, 36 static_assert(( std::is_base_of<std::unary_function <int, double> [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/type.index/type.index.synopsis/ |
hash_type_index.pass.cpp | 23 static_assert((std::is_base_of<std::unary_function<std::type_index, std::size_t>, 24 std::hash<std::type_index> >::value), "");
|
/external/chromium/chrome/common/extensions/ |
extension_error_utils.h | 14 static std::string FormatErrorMessage(const std::string& format, 15 const std::string& s1); 17 static std::string FormatErrorMessage(const std::string& format, 18 const std::string& s1, 19 const std::string& s2); 21 static std::string FormatErrorMessage(const std::string& format, 22 const std::string& s1 [all...] |
/external/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/ |
p2-noexceptions.cpp | 3 namespace std { namespace 11 void* operator new(std::size_t); 12 void* operator new[](std::size_t);
|
/ndk/sources/cxx-stl/llvm-libc++/test/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.cons/ |
container.fail.cpp | 23 std::back_insert_iterator<std::vector<int> > i = std::vector<int>();
|
/ndk/sources/cxx-stl/llvm-libc++/test/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/ |
container.fail.cpp | 23 std::front_insert_iterator<std::list<int> > i = std::list<int>();
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/function.objects/refwrap/ |
binary.pass.cpp | 20 : public std::unary_function<int, char> 25 : public std::binary_function<char, int, double> 30 : public std::unary_function<int, int>, 31 public std::binary_function<char, int, double> 38 : public std::unary_function<int, int>, 39 public std::binary_function<char, int, double> 52 static_assert((!std::is_base_of<std::binary_function<int, char, int>, 53 std::reference_wrapper<functor1> >::value), ""); 54 static_assert((std::is_base_of<std::binary_function<char, int, double> [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locales/locale/locale.cons/ |
locale_locale_cat.pass.cpp | 22 void* operator new(std::size_t s) throw(std::bad_alloc) 25 return std::malloc(s); 31 std::free(p); 34 void check(const std::locale& loc) 36 assert(std::has_facet<std::collate<char> >(loc)); 37 assert(std::has_facet<std::collate<wchar_t> >(loc)); 39 assert(std::has_facet<std::ctype<char> >(loc)) [all...] |
locale_string_cat.pass.cpp | 22 void* operator new(std::size_t s) throw(std::bad_alloc) 25 return std::malloc(s); 31 std::free(p); 34 void check(const std::locale& loc) 36 assert(std::has_facet<std::collate<char> >(loc)); 37 assert(std::has_facet<std::collate<wchar_t> >(loc)); 39 assert(std::has_facet<std::ctype<char> >(loc)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/android/test/jni/ |
test_1.cc | 19 std::cout.imbue(std::locale("C")); 20 std::cout << "Hello World" << std::endl;
|
/ndk/sources/cxx-stl/llvm-libc++/test/iterators/iterator.primitives/std.iterator.tags/ |
input_iterator_tag.pass.cpp | 19 std::input_iterator_tag tag; 20 static_assert((!std::is_base_of<std::output_iterator_tag, 21 std::input_iterator_tag>::value), "");
|
output_iterator_tag.pass.cpp | 19 std::output_iterator_tag tag; 20 static_assert((!std::is_base_of<std::input_iterator_tag, 21 std::output_iterator_tag>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.ctype/facet.ctype.special/ |
types.pass.cpp | 27 std::locale l = std::locale::classic(); 29 assert(std::has_facet<std::ctype<char> >(l)); 30 const std::ctype<char>& f = std::use_facet<std::ctype<char> >(l); 32 (void)std::ctype<char>::id; 34 static_assert((std::is_same<std::ctype<char>::char_type, char>::value), "") [all...] |