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

1 2 3 4 5 6 78 91011>>

  /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
PR31384.pass.cpp 34 struct Derived : std::tuple<T> {
35 using std::tuple<T>::tuple;
37 operator std::tuple<U>() && { ++count; return {}; }
42 struct ExplicitDerived : std::tuple<T> {
43 using std::tuple<T>::tuple;
45 explicit operator std::tuple<U>() && { ++count; return {}; }
50 std::tuple<Explicit> foo = Derived<int>{42}; ((void)foo);
52 std::tuple<Explicit> bar(Derived<int>{42}); ((void)bar);
57 std::tuple<Implicit> foo = Derived<int>{42}; ((void)foo);
59 std::tuple<Implicit> bar(Derived<int>{42}); ((void)bar)
    [all...]
  /external/libcxx/test/std/utilities/variant/variant.hash/
hash.pass.cpp 27 namespace std { namespace
39 using V = std::variant<int, long, int>;
40 using H = std::hash<V>;
41 const V v(std::in_place_index<0>, 42);
43 V v2(std::in_place_index<0>, 100);
49 ASSERT_SAME_TYPE(decltype(h(v)), std::size_t);
50 static_assert(std::is_copy_constructible<H>::value, "");
54 using V = std::variant<std::monostate, int, long, const char *>;
55 using H = std::hash<V>
128 namespace std { namespace
    [all...]
  /external/libcxx/test/support/
Counter.h 13 #include <functional> // for std::hash
28 Counter(Counter&& rhs) : data_(std::move(rhs.data_)) { ++gConstructed; }
29 Counter& operator=(Counter&& rhs) { ++gConstructed; data_ = std::move(rhs.data_); return *this; }
44 namespace std { namespace
48 : public std::unary_function<Counter<T>, std::size_t>
50 std::size_t operator()(const Counter<T>& x) const {return std::hash<T>(x.get());}
MoveOnly.h 41 namespace std { namespace
48 std::size_t operator()(const MoveOnly& x) const {return x.get();}
  /external/libmojo/mojo/edk/system/ports/
name.h 33 return std::tie(a.v1, a.v2) < std::tie(b.v1, b.v2);
36 std::ostream& operator<<(std::ostream& stream, const Name& name);
56 namespace std { namespace
60 std::size_t operator()(const mojo::edk::ports::PortName& name) const {
67 std::size_t operator()(const mojo::edk::ports::NodeName& name) const {
72 } // namespace std
  /external/llvm/tools/llvm-readobj/
Error.h 20 const std::error_category &readobj_category();
31 inline std::error_code make_error_code(readobj_error e) {
32 return std::error_code(static_cast<int>(e), readobj_category());
37 namespace std { namespace
38 template <> struct is_error_code_enum<llvm::readobj_error> : std::true_type {};
  /external/llvm/tools/obj2yaml/
Error.h 18 const std::error_category &obj2yaml_category();
28 inline std::error_code make_error_code(obj2yaml_error e) {
29 return std::error_code(static_cast<int>(e), obj2yaml_category());
36 Obj2YamlError(std::string ErrMsg) : ErrMsg(std::move(ErrMsg)) {}
37 Obj2YamlError(obj2yaml_error C, std::string ErrMsg)
38 : ErrMsg(std::move(ErrMsg)), Code(C) {}
40 const std::string &getErrorMessage() const { return ErrMsg; }
41 std::error_code convertToErrorCode() const override;
44 std::string ErrMsg
50 namespace std { namespace
    [all...]
  /external/llvm/unittests/ADT/
DeltaAlgorithmTest.cpp 16 namespace std { namespace
18 std::ostream &operator<<(std::ostream &OS,
19 const std::set<unsigned> &S) {
21 for (std::set<unsigned>::const_iterator it = S.begin(),
42 return std::includes(Changes.begin(), Changes.end(),
54 std::set<unsigned> fixed_set(unsigned N, ...) {
55 std::set<unsigned> S;
64 std::set<unsigned> range(unsigned Start, unsigned End) {
65 std::set<unsigned> S
    [all...]
  /external/ltp/testcases/kernel/device-drivers/v4l/user_space/
test_VIDIOC_ENUMSTD.c 5 * 19 Apr 2009 0.8 Also check std field
49 struct v4l2_standard std; local
55 memset(&std, 0xff, sizeof(std));
56 std.index = i;
57 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMSTD, &std);
65 CU_ASSERT_EQUAL(std.index, i);
66 CU_ASSERT(valid_v4l2_std_id(std.id));
68 CU_ASSERT(0 < strlen((char *)std.name));
70 ((char *)std.name, sizeof(std.name)))
126 struct v4l2_standard std; local
145 struct v4l2_standard std; local
164 struct v4l2_standard std; local
187 struct v4l2_standard std; local
    [all...]
  /external/mesa3d/src/gallium/drivers/swr/
swr_shader.h 63 namespace std namespace
66 std::size_t operator()(const swr_jit_fs_key &k) const
73 std::size_t operator()(const swr_jit_vs_key &k) const
  /external/skia/src/sksl/
SkSLString.h 18 #define SKSL_STRING_BASE std::string
131 namespace std { namespace
144 namespace std { namespace
147 return hash<std::string>{}(s);
153 namespace std { namespace
  /external/skia/src/sksl/lex/
DFAState.h 15 std::vector<int> fStates;
17 Label(std::vector<int> states)
18 : fStates(std::move(states)) {}
28 std::string description() const {
29 std::string result = "<";
33 result += std::to_string(s);
47 , fLabel(std::move(label)) {}
58 namespace std { namespace
  /external/skqp/src/sksl/
SkSLString.h 18 #define SKSL_STRING_BASE std::string
131 namespace std { namespace
144 namespace std { namespace
147 return hash<std::string>{}(s);
153 namespace std { namespace
  /external/skqp/src/sksl/lex/
DFAState.h 15 std::vector<int> fStates;
17 Label(std::vector<int> states)
18 : fStates(std::move(states)) {}
28 std::string description() const {
29 std::string result = "<";
33 result += std::to_string(s);
47 , fLabel(std::move(label)) {}
58 namespace std { namespace
  /external/swiftshader/third_party/LLVM/unittests/ADT/
DeltaAlgorithmTest.cpp 16 namespace std { namespace
18 std::ostream &operator<<(std::ostream &OS,
19 const std::set<unsigned> &S) {
21 for (std::set<unsigned>::const_iterator it = S.begin(),
42 return std::includes(Changes.begin(), Changes.end(),
54 std::set<unsigned> fixed_set(unsigned N, ...) {
55 std::set<unsigned> S;
64 std::set<unsigned> range(unsigned Start, unsigned End) {
65 std::set<unsigned> S
    [all...]
  /external/tensorflow/tensorflow/core/framework/
type_traits.h 55 // Specialize std::complex<float> and std::complex<double> types.
57 struct is_complex<std::complex<float>> : true_type {};
59 struct is_complex<std::complex<double>> : true_type {};
62 // without running T() and ~T(). We do not use std::is_trivial<T>
63 // directly because std::complex<float> and std::complex<double> are
69 std::is_trivial<T>::value || std::is_same<T, Eigen::half>::value ||
70 std::is_same<T, complex64>::value || std::is_same<T, complex128>::value |
78 namespace std { namespace
    [all...]
  /external/v4l2_codec2/vda/
video_decode_accelerator.cc 20 std::string VideoDecodeAccelerator::Config::AsHumanReadableString() const {
21 std::ostringstream s;
60 std::string VideoDecodeAccelerator::Capabilities::AsHumanReadableString()
62 std::ostringstream s;
75 namespace std { namespace
82 } // namespace std
  /external/valgrind/drd/tests/
std_thread.cpp 1 // Test whether no race conditions are reported on std::thread. Note: since
2 // the implementation of std::thread uses the shared pointer implementation,
18 std::thread t( []() { } );
20 std::cerr << "Done.\n";
31 std::thread::_Impl_base* __t = static_cast<std::thread::_Impl_base*>(__p);
32 std::thread::__shared_base_type __local;
40 std::terminate();
48 namespace std namespace
55 "Enable multithreading to use std::thread")
    [all...]
std_thread2.cpp 1 // Test whether no race conditions are reported on std::thread. Note: since
2 // the implementation of std::thread uses the shared pointer implementation,
21 std::thread t1( []() { sleep(1); i = 1; } );
22 std::thread t2( []() { i = 2; } );
25 std::cerr << "Done.\n";
36 std::thread::_Impl_base* __t = static_cast<std::thread::_Impl_base*>(__p);
37 std::thread::__shared_base_type __local;
45 std::terminate();
53 namespace std namespace
    [all...]
  /frameworks/av/media/libeffects/loudness/common/core/
math.h 22 using ::std::min;
23 using ::std::max;
24 using ::std::fill;
25 using ::std::fill_n;using ::std::lower_bound;
28 //using ::std::fpclassify;
74 namespace std { namespace
78 // since std::round is missing on android.
82 return static_cast<T>(std::floor(static_cast<double>(x) + 0.5));
85 } // namespace std
    [all...]
  /frameworks/base/cmds/statsd/src/config/
ConfigKey.h 27 using std::hash;
28 using std::string;
76 * Unfortunately this has to go in std namespace because C++ is fun!
78 namespace std { namespace
84 std::size_t operator()(const ConfigKey& key) const {
89 } // namespace std
  /prebuilts/clang/host/darwin-x86/clang-4393122/include/lld/Core/
Error.h 24 const std::error_category &YamlReaderCategory();
31 inline std::error_code make_error_code(YamlReaderError e) {
32 return std::error_code(static_cast<int>(e), YamlReaderCategory());
41 std::error_code make_dynamic_error_code(StringRef msg);
51 const std::string &getMessage() const { return Msg; }
54 std::error_code convertToErrorCode() const override {
59 std::string Msg;
64 namespace std { namespace
65 template <> struct is_error_code_enum<lld::YamlReaderError> : std::true_type {};
  /prebuilts/clang/host/darwin-x86/clang-4479392/include/lld/Core/
Error.h 24 const std::error_category &YamlReaderCategory();
31 inline std::error_code make_error_code(YamlReaderError e) {
32 return std::error_code(static_cast<int>(e), YamlReaderCategory());
41 std::error_code make_dynamic_error_code(StringRef msg);
51 const std::string &getMessage() const { return Msg; }
54 std::error_code convertToErrorCode() const override {
59 std::string Msg;
64 namespace std { namespace
65 template <> struct is_error_code_enum<lld::YamlReaderError> : std::true_type {};
  /prebuilts/clang/host/darwin-x86/clang-4579689/include/lld/Core/
Error.h 24 const std::error_category &YamlReaderCategory();
31 inline std::error_code make_error_code(YamlReaderError e) {
32 return std::error_code(static_cast<int>(e), YamlReaderCategory());
41 std::error_code make_dynamic_error_code(StringRef msg);
51 const std::string &getMessage() const { return Msg; }
54 std::error_code convertToErrorCode() const override {
59 std::string Msg;
64 namespace std { namespace
65 template <> struct is_error_code_enum<lld::YamlReaderError> : std::true_type {};
  /prebuilts/clang/host/darwin-x86/clang-4630689/include/lld/Core/
Error.h 24 const std::error_category &YamlReaderCategory();
31 inline std::error_code make_error_code(YamlReaderError e) {
32 return std::error_code(static_cast<int>(e), YamlReaderCategory());
41 std::error_code make_dynamic_error_code(StringRef msg);
51 const std::string &getMessage() const { return Msg; }
54 std::error_code convertToErrorCode() const override {
59 std::string Msg;
64 namespace std { namespace
65 template <> struct is_error_code_enum<lld::YamlReaderError> : std::true_type {};

Completed in 1325 milliseconds

1 2 3 4 5 6 78 91011>>