HomeSort by relevance Sort by last modified time
    Searched defs:std (Results 226 - 250 of 811) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/support/
MoveOnly.h 40 namespace std { namespace
47 std::size_t operator()(const MoveOnly& x) const {return x.get();}
  /system/bt/types/bluetooth/
uuid.h 45 using UUID128Bit = std::array<uint8_t, kNumBytes128>;
71 static Uuid FromString(const std::string& uuid, bool* is_valid = nullptr);
104 std::string ToString() const;
121 inline std::ostream& operator<<(std::ostream& os, const bluetooth::Uuid& a) {
126 // Custom std::hash specialization so that bluetooth::UUID can be used as a key
127 // in std::unordered_map.
128 namespace std { namespace
132 std::size_t operator()(const bluetooth::Uuid& key) const {
134 std::hash<std::string> hash_fn
    [all...]
  /system/keymaster/android_keymaster/
keymaster_stl.cpp 21 namespace std { namespace
25 const std::nothrow_t __attribute__((weak)) std::nothrow = {};
27 void* __attribute__((weak)) operator new(size_t __sz, const std::nothrow_t&) {
30 void* __attribute__((weak)) operator new[](size_t __sz, const std::nothrow_t&) {
  /art/cmdline/
cmdline_types.h 59 Result Parse(const std::string& args) {
73 Result Parse(const std::string& option) {
89 return Result::Failure(std::string("not a valid jdwp provider: ") + option);
99 Result Parse(const std::string& arg) {
100 CMDLINE_DEBUG_LOG << "Parsing memory: " << arg << std::endl;
102 CMDLINE_DEBUG_LOG << "Memory parsed to size_t value: " << val << std::endl;
105 return Result::Failure(std::string("not a valid memory value, or not divisible by ")
106 + std::to_string(Divisor));
158 if (val <= std::numeric_limits<size_t>::max() / mul) {
162 val = std::numeric_limits<size_t>::max() & ~(1024-1)
    [all...]
  /art/libdexfile/dex/
dex_file_types.h 32 constexpr StringIndex() : index_(std::numeric_limits<decltype(index_)>::max()) {}
36 return index_ != std::numeric_limits<decltype(index_)>::max();
39 return StringIndex(std::numeric_limits<decltype(index_)>::max());
61 std::ostream& operator<<(std::ostream& os, const StringIndex& index);
67 constexpr TypeIndex() : index_(std::numeric_limits<decltype(index_)>::max()) {}
71 return index_ != std::numeric_limits<decltype(index_)>::max();
74 return TypeIndex(std::numeric_limits<decltype(index_)>::max());
96 std::ostream& operator<<(std::ostream& os, const TypeIndex& index)
101 namespace std { namespace
    [all...]
  /build/kati/
symtab.h 23 using namespace std;
84 namespace std { namespace
89 } // namespace std
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DefaultSignedAttributeTableGenerator.java 65 Hashtable std = copyHashTable(table); local
67 if (!std.containsKey(CMSAttributes.contentType))
77 std.put(attr.getAttrType(), attr);
81 if (!std.containsKey(CMSAttributes.signingTime))
86 std.put(attr.getAttrType(), attr);
89 if (!std.containsKey(CMSAttributes.messageDigest))
95 std.put(attr.getAttrType(), attr);
98 if (!std.contains(CMSAttributes.cmsAlgorithmProtect))
103 std.put(attr.getAttrType(), attr);
106 return std;
    [all...]
  /external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/
p4.cpp 1 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++1y
2 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11 -Wno-c++1y-extensions
3 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++98 -Wno-c++11-extensions
46 namespace std { template<typename T> struct initializer_list { initializer_list(); }; } namespace
p5.cpp 1 // RUN: %clang_cc1 -fcxx-exceptions -fexceptions -fsyntax-only -verify %s -std=c++11
35 namespace std { namespace
  /external/clang/test/CXX/drs/
dr9xx.cpp 1 // RUN: %clang_cc1 -std=c++98 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
2 // RUN: %clang_cc1 -std=c++11 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
3 // RUN: %clang_cc1 -std=c++14 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
4 // RUN: %clang_cc1 -std=c++1z %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
10 namespace std { namespace
22 A(std::initializer_list<int>); // expected-note {{candidate}}
34 C(std::initializer_list<int>) = delete; // expected-note {{here}}
41 D(std::initializer_list<int>);
42 D(std::initializer_list<double>);
  /external/clang/test/CXX/expr/expr.prim/expr.prim.general/
p12-0x.cpp 1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
24 namespace std { namespace
28 const std::type_info& k = typeid(S::m);
29 const std::type_info& m = typeid(*(Poly*)S::m); // expected-error {{invalid use of non-static data member}}
30 const std::type_info& n = typeid(*(Poly*)(0*sizeof S::m));
  /external/clang/test/CodeGenCXX/
armv7k.cpp 37 namespace std { namespace
51 const std::type_info &b0 = typeid(B);
55 const std::type_info &b1 = typeid(B*);
60 const std::type_info &c0 = typeid(C);
cxx0x-initializer-stdinitializerlist-pr12086.cpp 1 // RUN: %clang_cc1 -triple x86_64-linux-gnu -std=c++11 -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK-STATIC-BL
2 // RUN: %clang_cc1 -triple x86_64-linux-gnu -std=c++11 -emit-llvm -o - %s -Dconstexpr= | FileCheck %s --check-prefix=CHECK-DYNAMIC-BL
3 // RUN: %clang_cc1 -triple x86_64-linux-gnu -std=c++11 -emit-llvm -o - %s -DUSE_END | FileCheck %s --check-prefix=CHECK-STATIC-BE
4 // RUN: %clang_cc1 -triple x86_64-linux-gnu -std=c++11 -emit-llvm -o - %s -DUSE_END -Dconstexpr= | FileCheck %s --check-prefix=CHECK-DYNAMIC-BE
6 namespace std { namespace
54 std::initializer_list<std::initializer_list<int>> nested = {
mangle-subst-std.cpp 16 namespace std { namespace
19 // CHECK-LABEL: define void @_ZNSt1AC2Ev(%"struct.std::A"* %this) unnamed_addr
20 // CHECK-LABEL: define void @_ZNSt1AC1Ev(%"struct.std::A"* %this) unnamed_addr
24 namespace std { namespace
29 void f(std::allocator<char>, std::allocator<int>) { }
31 namespace std { namespace
36 void f(std::basic_string<char, char, int>) { }
38 namespace std { namespace
41 typedef std::basic_string<char, std::char_traits<char>, std::allocator<char> > string
47 namespace std { namespace
84 namespace std namespace
107 namespace std { namespace in namespace:N
    [all...]
microsoft-abi-throw.cpp 1 // RUN: %clang_cc1 -emit-llvm -o - -triple=i386-pc-win32 -std=c++11 %s -fcxx-exceptions -fms-extensions | FileCheck %s
2 // RUN: %clang_cc1 -emit-llvm -o - -triple=i386-pc-win32 -std=c++11 %s -fcxx-exceptions -fms-extensions -DSTD | FileCheck %s
109 #ifdef STD
110 namespace std { namespace
118 using namespace std;
typeid-should-throw.cpp 1 // RUN: %clang_cc1 %s -triple %itanium_abi_triple -Wno-unused-value -emit-llvm -o - -std=c++11 | FileCheck %s
2 namespace std { namespace
vtable-key-function-arm.cpp 15 namespace std { class type_info; } namespace
16 extern void use(const std::type_info &rtti);
  /external/clang/test/SemaCXX/
warn-redundant-move.cpp 1 // RUN: %clang_cc1 -fsyntax-only -Wredundant-move -std=c++11 -verify %s
2 // RUN: %clang_cc1 -fsyntax-only -Wredundant-move -std=c++11 -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s
3 // RUN: %clang_cc1 -fsyntax-only -std=c++11 %s -ast-dump | FileCheck %s --check-prefix=CHECK-AST
5 // definitions for std::move
6 namespace std { namespace
24 return std::move(b1);
25 return std::move(b2);
42 return std::move(a1);
43 return std::move(a2);
44 return std::move(b1)
    [all...]
warn-self-move.cpp 1 // RUN: %clang_cc1 -fsyntax-only -Wself-move -std=c++11 -verify %s
3 // definitions for std::move
4 namespace std { namespace
16 x = std::move(x); // expected-warning{{explicitly moving}}
17 (x) = std::move(x); // expected-warning{{explicitly moving}}
19 using std::move;
25 global = std::move(global); // expected-warning{{explicitly moving}}
26 (global) = std::move(global); // expected-warning{{explicitly moving}}
28 using std::move;
35 x = std::move(x); // expected-warning{{explicitly moving}
    [all...]
  /external/compiler-rt/lib/asan/
asan_new_delete.cc 51 // Fake std::nothrow_t to avoid including <new>.
52 namespace std { namespace
54 } // namespace std
82 void *operator new(size_t size, std::nothrow_t const&)
85 void *operator new[](size_t size, std::nothrow_t const&)
95 INTERCEPTOR(void *, _ZnwmRKSt9nothrow_t, size_t size, std::nothrow_t const&) {
98 INTERCEPTOR(void *, _ZnamRKSt9nothrow_t, size_t size, std::nothrow_t const&) {
117 void operator delete(void *ptr, std::nothrow_t const&) {
121 void operator delete[](void *ptr, std::nothrow_t const&) {
142 INTERCEPTOR(void, _ZdlPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&)
    [all...]
  /external/libbrillo/brillo/
any.h 18 // use helper functions std::ref() and std::cref() to create non-const and
20 // will be std::reference_wrapper<T>. See 'References' unit tests in
50 data_buffer_.Assign(std::move(value));
62 data_buffer_.Assign(std::move(value));
85 using CanonicalDestType = typename std::decay<DestType>::type;
90 if (!std::is_pointer<CanonicalDestType>::value)
97 using NonPointer = typename std::remove_pointer<CanonicalDestType>::type;
98 using CanonicalDestTypeNoConst = typename std::add_pointer<
99 typename std::remove_const<NonPointer>::type>::type
205 namespace std { namespace
    [all...]
  /external/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/
insert_or_assign.pass.cpp 53 size_t hash () const { return std::hash<int>()(int_) + std::hash<double>()(double_); }
59 namespace std { namespace
69 typedef std::unordered_map<int, Moveable> M;
70 typedef std::pair<M::iterator, bool> R;
80 r = m.insert_or_assign(i, std::move(mv));
89 r = m.insert_or_assign(-1, std::move(mv1));
97 r = m.insert_or_assign(3, std::move(mv2));
105 r = m.insert_or_assign(117, std::move(mv3));
113 typedef std::unordered_map<Moveable, Moveable> M
    [all...]
try.emplace.pass.cpp 52 size_t hash () const { return std::hash<int>()(int_) + std::hash<double>()(double_); }
58 namespace std { namespace
68 typedef std::unordered_map<int, Moveable> M;
69 typedef std::pair<M::iterator, bool> R;
79 r = m.try_emplace(i, std::move(mv1));
86 r = m.try_emplace(-1, std::move(mv1));
94 r = m.try_emplace(5, std::move(mv2));
102 r = m.try_emplace(117, std::move(mv2));
111 typedef std::unordered_map<Moveable, Moveable> M
    [all...]
  /external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/
common_type.pass.cpp 27 namespace std namespace
59 -> always_bool<typename std::common_type<Args...>::type>
66 using no_common_type = std::integral_constant<bool, no_common_type_imp<Args...>(0)>;
69 using Decay = typename std::decay<Tp>::type;
72 using CommonType = typename std::common_type<Args...>::type;
76 static_assert(std::is_same<Decay<T1>, T1>::value, "must be same");
77 static_assert(std::is_same<Decay<T2>, T2>::value, "must be same");
78 using type = typename std::decay<
79 decltype(false ? std::declval<T1>() : std::declval<T2>()
    [all...]
  /external/libcxxabi/src/
cxa_default_handlers.cpp 57 // If the uncaught exception can be caught with std::exception&
59 static_cast<const __shim_type_info*>(&typeid(std::exception));
63 const std::exception* e = static_cast<const std::exception*>(thrown_object);
85 std::terminate();
88 static std::terminate_handler default_terminate_handler = demangling_terminate_handler;
89 static std::terminate_handler default_unexpected_handler = demangling_unexpected_handler;
91 static std::terminate_handler default_terminate_handler = std::abort;
92 static std::terminate_handler default_unexpected_handler = std::terminate
108 namespace std namespace
    [all...]

Completed in 455 milliseconds

1 2 3 4 5 6 7 8 91011>>