/external/clang/test/SemaTemplate/ |
instantiate-static-var.cpp | 2 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 %s 3 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s 65 namespace std { namespace
|
overload-candidates.cpp | 2 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 %s 3 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s 85 namespace std { namespace 96 struct a_trait : std::false_type {}; 99 typename Requires = typename std::enable_if<a_trait<T>::value>::type> 109 struct some_trait : std::false_type {}; 113 struct a_pony : std::enable_if<some_trait<T>::value> {}; 127 using unicorns = typename std::enable_if<some_trait<T>::value>::type;
|
virtual-member-functions.cpp | 74 namespace std { namespace
|
/external/compiler-rt/lib/ubsan/ |
ubsan_type_hash_itanium.cc | 25 namespace std { namespace 38 class __class_type_info : public std::type_info { 194 std::type_info *TypeInfo;
|
/external/kernel-headers/original/uapi/linux/ |
wmi.h | 45 struct calling_interface_buffer std; member in struct:dell_wmi_smbios_buffer
|
/external/libchrome/base/ |
optional.h | 44 // TODO(alshabalin): Can't use 'constexpr' with std::move until C++14. 46 : is_null_(false), value_(std::move(value)) {} 48 // TODO(alshabalin): Can't use 'constexpr' with std::forward until C++14. 51 : is_null_(false), value_(std::forward<Args>(args)...) {} 79 // TODO(alshabalin): Can't use 'constexpr' with std::move until C++14. 81 : is_null_(false), value_(std::move(value)) {} 83 // TODO(alshabalin): Can't use 'constexpr' with std::forward until C++14. 86 : is_null_(false), value_(std::forward<Args>(args)...) {} 106 // std::optional documentation: 117 // - All the non-members are in the 'base' namespace instead of 'std' 495 namespace std { namespace [all...] |
/external/libmojo/mojo/public/cpp/bindings/ |
struct_ptr.h | 55 : ptr_(new Struct(std::forward<Args>(args)...)) {} 76 void Swap(StructPtr* other) { std::swap(ptr_, other->ptr_); } 107 std::unique_ptr<Struct> ptr_; 145 : value_(std::forward<Args>(args)...), state_(VALID) {} 171 std::swap(value_, other->value_); 172 std::swap(state_, other->state_); 265 namespace std { namespace 281 } // namespace std
|
/external/llvm/include/llvm/ADT/ |
SmallPtrSet.h | 119 std::pair<const void *const *, bool> insert_imp(const void *Ptr) { 127 return std::make_pair(APtr, false); 136 return std::make_pair(LastTombstone, true); 142 return std::make_pair(SmallArray + (NumNonEmpty - 1), true); 172 std::pair<const void *const *, bool> insert_imp_big(const void *Ptr); 239 typedef std::ptrdiff_t difference_type; 240 typedef std::forward_iterator_tag iterator_category; 305 : SmallPtrSetImplBase(SmallStorage, SmallSize, std::move(that)) {} 317 std::pair<iterator, bool> insert(PtrType Ptr) { 319 return std::make_pair(iterator(p.first, EndPointer()), p.second) 398 namespace std { namespace [all...] |
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
test_VIDIOC_STD.c | 54 * "Video Standards" specifies if the std field 81 if (input->std == 0) { 114 * "Video Standards" specifies if the std field 159 if (input->std == 0) { 316 struct v4l2_standard std; local 333 memset(&std, 0xff, sizeof(std)); 334 std.index = i; 335 ret_enum = ioctl(f, VIDIOC_ENUMSTD, &std); 339 ("\t%s:%u: VIDIOC_ENUMSTD: i=%u, ret_enum=%i, errno_enum=%i, std.id=0x%llX\n" [all...] |
/external/pdfium/core/fpdfapi/page/ |
cpdf_colorspace.h | 47 static std::unique_ptr<CPDF_ColorSpace> Load(CPDF_Document* pDoc, 49 static std::unique_ptr<CPDF_ColorSpace> Load( 52 std::set<CPDF_Object*>* pVisited); 91 std::set<CPDF_Object*>* pVisited) = 0; 107 namespace std { namespace 109 // Make std::unique_ptr<CPDF_ColorSpace> call Release() rather than 119 } // namespace std
|
/external/pdfium/core/fxcrt/ |
bytestring.h | 28 // avoids the cost of std::string's iterator stability guarantees. 33 using const_reverse_iterator = std::reverse_iterator<const_iterator>; 60 ByteString(const std::initializer_list<ByteStringView>& list); 61 explicit ByteString(const std::ostringstream& outStream); 261 std::ostream& operator<<(std::ostream& os, const ByteString& str); 262 std::ostream& operator<<(std::ostream& os, const ByteStringView& str); 270 namespace std { namespace 274 std::size_t operator()(const ByteString& str) const [all...] |
widestring.h | 29 // avoids the cost of std::string's iterator stability guarantees. 34 using const_reverse_iterator = std::reverse_iterator<const_iterator>; 58 WideString(const std::initializer_list<WideStringView>& list); 263 std::wostream& operator<<(std::wostream& os, const WideString& str); 264 std::ostream& operator<<(std::ostream& os, const WideString& str); 265 std::wostream& operator<<(std::wostream& os, const WideStringView& str); 266 std::ostream& operator<<(std::ostream& os, const WideStringView& str) 274 namespace std { namespace [all...] |
/external/pdfium/third_party/base/ |
optional.h | 34 template <typename T, bool = std::is_trivially_destructible<T>::value> 43 // TODO(alshabalin): Can't use 'constexpr' with std::move until C++14. 45 : is_null_(false), value_(std::move(value)) {} 47 // TODO(alshabalin): Can't use 'constexpr' with std::forward until C++14. 50 : is_null_(false), value_(std::forward<Args>(args)...) {} 78 // TODO(alshabalin): Can't use 'constexpr' with std::move until C++14. 80 : is_null_(false), value_(std::move(value)) {} 82 // TODO(alshabalin): Can't use 'constexpr' with std::forward until C++14. 85 : is_null_(false), value_(std::forward<Args>(args)...) {} 106 // std::optional documentation 495 namespace std { namespace [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
FormatVariadic.h | 13 // a raw_ostream or converted to a std::string or llvm::SmallString. 15 // // Convert to std::string. 16 // std::string S = formatv("{0} {1}", 1234.412, "test").str(); 67 // The parameters are stored in a std::tuple, which does not provide runtime 69 // structure to put the parameters into a std::vector. Since the parameters 72 // Essentially, we are converting a std::tuple<Derived<Ts...>> to a 73 // std::vector<Base*>. 76 std::vector<detail::format_adapter *> operator()(Ts &... Items) { 77 return std::vector<detail::format_adapter *>{&Items...}; 82 std::vector<detail::format_adapter *> Adapters [all...] |
/external/swiftshader/third_party/subzero/src/ |
IceStringPool.h | 13 /// of memory allocation compared to directly using std::string. 45 IDType getOrAddString(const std::string &Value) { 48 auto *NewStr = new std::string(Value); 70 std::unordered_map<std::string, std::unique_ptr<std::string>> StringToId; 89 const std::string &Value) { 94 /// std::string value, i.e. via StringID::createWithString(). 101 const std::string &toString() const 168 namespace std { namespace [all...] |
/external/tensorflow/tensorflow/core/debug/ |
debug_io_utils.h | 64 const int64 executor_step_index, const std::vector<string>& input_names, 65 const std::vector<string>& output_names, 66 const std::vector<string>& target_nodes, 67 const std::unordered_set<string>& debug_urls); 96 const std::unordered_set<string>& debug_urls); 113 const std::vector<DebugWatchAndURLSpec>& specs); 126 const std::vector<string>& debug_urls); 211 namespace std { namespace 222 } // namespace std 297 std::shared_ptr<::grpc::Channel> channel_ [all...] |
/external/webrtc/webrtc/audio/ |
audio_send_stream.cc | 31 std::string AudioSendStream::Config::Rtp::ToString() const { 32 std::stringstream ss; 47 std::string AudioSendStream::Config::ToString() const { 48 std::stringstream ss; 182 int std = -1; local 184 error = processing->GetEcDelayMetrics(median, std, dummy); 187 stats.echo_delay_std_ms = std;
|
/frameworks/base/libs/androidfw/include/androidfw/ |
StringPiece.h | 32 // WARNING: When creating from std::basic_string<>, moving the original 33 // std::basic_string<> will invalidate the data held in a BasicStringPiece<>. 47 BasicStringPiece(const std::basic_string<TChar>& str); // NOLINT(implicit) 62 std::basic_string<TChar> to_string() const; 97 inline BasicStringPiece<TChar>::BasicStringPiece(const std::basic_string<TChar>& str) 167 inline std::basic_string<TChar> BasicStringPiece<TChar>::to_string() const { 168 return std::basic_string<TChar>(data_, length_); 199 inline ::std::ostream& operator<<(::std::ostream& out, const BasicStringPiece<char16_t>& str) { 206 std::string result 305 namespace std { namespace [all...] |
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
serialization.h | 50 // * std::vector with value type of any supported type, including nesting. 51 // * std::string. 52 // * std::tuple with elements of any supported type, including nesting. 53 // * std::pair with elements of any supported type, including nesting. 54 // * std::map with keys and values of any supported type, including nesting. 55 // * std::unordered_map with keys and values of any supported type, including 57 // * std::array with values of any supported type, including nesting. 64 // * std::basic_string with all supported char types. 67 template <std::size_t N> 80 std::true_type DeduceTemplateType(const TT<Ts...>*) [all...] |
/hardware/google/av/codec2/include/ |
C2Enum.h | 64 static std::vector<C2String> sanitizeEnumValueNames( 65 const std::vector<C2StringLiteral> names, 72 static C2_HIDE std::vector<C2String> parseEnumValuesFromString(C2StringLiteral value); 76 std::vector<T> values, 77 std::vector<C2StringLiteral> names, 80 std::vector<C2String> sanitizedNames = sanitizeEnumValueNames(names, prefix); 89 std::vector<std::pair<C2StringLiteral, E>> items) { 109 std::vector<C2Value::Primitive> { _C2_MAP(_C2_GET_ENUM_VALUE, type, __VA_ARGS__) }, \ 125 std::vector<std::pair<C2StringLiteral, name>> names); 215 namespace std { namespace [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/Frontend/ |
SerializedDiagnosticReader.h | 38 const std::error_category &SDErrorCategory(); 40 inline std::error_code make_error_code(SDError E) { 41 return std::error_code(static_cast<int>(E), SDErrorCategory()); 64 std::error_code readDiagnostics(StringRef File); 74 std::error_code readMetaBlock(llvm::BitstreamCursor &Stream); 77 std::error_code readDiagnosticBlock(llvm::BitstreamCursor &Stream); 81 virtual std::error_code visitStartOfDiagnostic() { 82 return std::error_code(); 85 virtual std::error_code visitEndOfDiagnostic() { return std::error_code(); 125 namespace std { namespace [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
FormatVariadic.h | 13 // a raw_ostream or converted to a std::string or llvm::SmallString. 15 // // Convert to std::string. 16 // std::string S = formatv("{0} {1}", 1234.412, "test").str(); 67 // The parameters are stored in a std::tuple, which does not provide runtime 69 // structure to put the parameters into a std::vector. Since the parameters 72 // Essentially, we are converting a std::tuple<Derived<Ts...>> to a 73 // std::vector<Base*>. 76 std::vector<detail::format_adapter *> operator()(Ts &... Items) { 77 return std::vector<detail::format_adapter *>{&Items...}; 82 std::vector<detail::format_adapter *> Adapters [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/Frontend/ |
SerializedDiagnosticReader.h | 38 const std::error_category &SDErrorCategory(); 40 inline std::error_code make_error_code(SDError E) { 41 return std::error_code(static_cast<int>(E), SDErrorCategory()); 64 std::error_code readDiagnostics(StringRef File); 74 std::error_code readMetaBlock(llvm::BitstreamCursor &Stream); 77 std::error_code readDiagnosticBlock(llvm::BitstreamCursor &Stream); 81 virtual std::error_code visitStartOfDiagnostic() { 82 return std::error_code(); 85 virtual std::error_code visitEndOfDiagnostic() { return std::error_code(); 125 namespace std { namespace [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/ADT/ |
SmallPtrSet.h | 134 std::pair<const void *const *, bool> insert_imp(const void *Ptr) { 142 return std::make_pair(APtr, false); 151 return std::make_pair(LastTombstone, true); 157 return std::make_pair(SmallArray + (NumNonEmpty - 1), true); 203 std::pair<const void *const *, bool> insert_imp_big(const void *Ptr); 284 using difference_type = std::ptrdiff_t; 285 using iterator_category = std::forward_iterator_tag; 365 : SmallPtrSetImplBase(SmallStorage, SmallSize, std::move(that)) {} 381 std::pair<iterator, bool> insert(PtrType Ptr) { 383 return std::make_pair(makeIterator(p.first), p.second) 490 namespace std { namespace [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Bitcode/ |
BitcodeReader.h | 31 // ErrorOr/std::error_code for compatibility with legacy clients. FIXME: 34 std::error_code errorToErrorCodeAndEmitErrors(LLVMContext &Ctx, Error Err); 40 return std::move(*Val); 75 Expected<std::unique_ptr<Module>> getModuleImpl(LLVMContext &Context, 92 Expected<std::unique_ptr<Module>> getLazyModule(LLVMContext &Context, 97 Expected<std::unique_ptr<Module>> parseModule(LLVMContext &Context); 104 Expected<std::unique_ptr<ModuleSummaryIndex>> getSummary(); 113 std::vector<BitcodeModule> Mods; 120 Expected<std::vector<BitcodeModule>> 127 Expected<std::unique_ptr<Module> 258 namespace std { namespace in namespace:llvm [all...] |