Home
last modified time | relevance | path

Searched refs:int_ (Results 1 – 25 of 60) sorted by relevance

123

/external/libcxx/test/std/containers/
DEmplaceable.h23 int int_; variable
26 Emplaceable() : int_(0), double_(0) {} in Emplaceable()
27 Emplaceable(int i, double d) : int_(i), double_(d) {} in Emplaceable()
29 : int_(x.int_), double_(x.double_) in Emplaceable()
30 {x.int_ = 0; x.double_ = 0;} in Emplaceable()
32 {int_ = x.int_; x.int_ = 0;
37 {return int_ == x.int_ && double_ == x.double_;}
39 {return int_ < x.int_ || (int_ == x.int_ && double_ < x.double_);}
41 int get() const {return int_;} in get()
/external/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/
Dtry.emplace.pass.cpp34 int int_; member in Moveable
37 Moveable() : int_(0), double_(0) {} in Moveable()
38 Moveable(int i, double d) : int_(i), double_(d) {} in Moveable()
40 : int_(x.int_), double_(x.double_) in Moveable()
41 {x.int_ = -1; x.double_ = -1;} in Moveable()
43 {int_ = x.int_; x.int_ = -1; in operator =()
49 {return int_ == x.int_ && double_ == x.double_;} in operator ==()
51 {return int_ < x.int_ || (int_ == x.int_ && double_ < x.double_);} in operator <()
52 size_t hash () const { return std::hash<int>()(int_) + std::hash<double>()(double_); } in hash()
54 int get() const {return int_;} in get()
[all …]
Dinsert_or_assign.pass.cpp35 int int_; member in Moveable
38 Moveable() : int_(0), double_(0) {} in Moveable()
39 Moveable(int i, double d) : int_(i), double_(d) {} in Moveable()
41 : int_(x.int_), double_(x.double_) in Moveable()
42 {x.int_ = -1; x.double_ = -1;} in Moveable()
44 {int_ = x.int_; x.int_ = -1; in operator =()
50 {return int_ == x.int_ && double_ == x.double_;} in operator ==()
52 {return int_ < x.int_ || (int_ == x.int_ && double_ < x.double_);} in operator <()
53 size_t hash () const { return std::hash<int>()(int_) + std::hash<double>()(double_); } in hash()
55 int get() const {return int_;} in get()
[all …]
/external/libcxx/test/std/containers/associative/map/map.modifiers/
Dinsert_or_assign.pass.cpp36 int int_; member in Moveable
39 Moveable() : int_(0), double_(0) {} in Moveable()
40 Moveable(int i, double d) : int_(i), double_(d) {} in Moveable()
42 : int_(x.int_), double_(x.double_) in Moveable()
43 {x.int_ = -1; x.double_ = -1;} in Moveable()
45 {int_ = x.int_; x.int_ = -1; in operator =()
51 {return int_ == x.int_ && double_ == x.double_;} in operator ==()
53 {return int_ < x.int_ || (int_ == x.int_ && double_ < x.double_);} in operator <()
55 int get() const {return int_;} in get()
56 bool moved() const {return int_ == -1;} in moved()
Dtry.emplace.pass.cpp34 int int_; member in Moveable
37 Moveable() : int_(0), double_(0) {} in Moveable()
38 Moveable(int i, double d) : int_(i), double_(d) {} in Moveable()
40 : int_(x.int_), double_(x.double_) in Moveable()
41 {x.int_ = -1; x.double_ = -1;} in Moveable()
43 {int_ = x.int_; x.int_ = -1; in operator =()
49 {return int_ == x.int_ && double_ == x.double_;} in operator ==()
51 {return int_ < x.int_ || (int_ == x.int_ && double_ < x.double_);} in operator <()
53 int get() const {return int_;} in get()
54 bool moved() const {return int_ == -1;} in moved()
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/
Dallocate_shared.pass.cpp38 A(int i, char c) : int_(i), char_(c) {++count;} in A()
40 : int_(a.int_), char_(a.char_) in A()
44 int get_int() const {return int_;} in get_int()
49 int int_; member
Dmake_shared.pass.cpp32 A(int i, char c) : int_(i), char_(c) {++count;} in A()
34 : int_(a.int_), char_(a.char_) in A()
38 int get_int() const {return int_;} in get_int()
44 int int_; member
/external/jsoncpp/src/lib_json/
Djson_value.cpp236 value_.int_ = 0; in Value()
267 value_.int_ = value; in Value()
277 value_.int_ = value; in Value()
443 return value_.int_ < other.value_.int_; in operator <()
492 return value_.int_ == other.value_.int_; in operator ==()
537 return valueToString(value_.int_); in asString()
557 return Int(value_.int_); in asInt()
579 return UInt(value_.int_); in asUInt()
602 return Int64(value_.int_); in asInt64()
624 return UInt64(value_.int_); in asUInt64()
[all …]
/external/clang/test/SemaTemplate/
Ddeduction-crash.cpp9 struct int_;
39 struct In<a::int_<aaa::a>,my>;
44 In<a::int_<0> > a; in process()
/external/angle/third_party/jsoncpp/source/src/lib_json/
Djson_value.cpp377 value_.int_ = 0; in Value()
400 value_.int_ = value; in Value()
410 value_.int_ = value; in Value()
528 return value_.int_ < other.value_.int_; in operator <()
585 return value_.int_ == other.value_.int_; in operator ==()
676 return valueToString(value_.int_); in asString()
699 return Int(value_.int_); in asInt()
721 return UInt(value_.int_); in asUInt()
744 return Int64(value_.int_); in asInt64()
766 return UInt64(value_.int_); in asUInt64()
[all …]
/external/python/pybind11/tests/
Dtest_eval.cpp47 local["x"] = py::int_(42); in TEST_SUBMODULE()
65 local["y"] = py::int_(43); in TEST_SUBMODULE()
Dtest_pytypes.cpp191 "int"_a=py::int_(), in TEST_SUBMODULE()
204 "int"_a=py::int_(d["int"]), in TEST_SUBMODULE()
219 "int"_a=d["int"].cast<py::int_>(), in TEST_SUBMODULE()
243 d["int_p"] = py::int_(i); in TEST_SUBMODULE()
258 l.append(py::int_(15)); in TEST_SUBMODULE()
Dtest_numpy_dtypes.cpp244 offsets.append(py::int_(1)); offsets.append(py::int_(10)); dict["offsets"] = offsets; in test_dtype_ctors()
246 dict["itemsize"] = py::int_(20); in test_dtype_ctors()
366 list.append(py::int_(dt1.itemsize())); list.append(py::int_(dt2.itemsize())); in TEST_SUBMODULE()
/external/tensorflow/tensorflow/python/autograph/operators/
Dpy_builtins_test.py99 self.assertEqual(py_builtins.int_(10.0), 10)
100 self.assertEqual(py_builtins.int_('11', 2), 3)
102 t = py_builtins.int_(constant_op.constant(1, dtype=dtypes.float64))
104 st = py_builtins.int_(constant_op.constant('1'))
106 st = py_builtins.int_(constant_op.constant('1'), 10)
112 py_builtins.int_(t, 2)
/external/python/pybind11/include/pybind11/
Dpybind11.h1409 object other = kv.second[int_(0)];
1421 if (handle(kv.second[int_(0)]).equal(arg))
1437 auto comment = kv.second[int_(1)];
1450 m[kv.first] = kv.second[int_(0)];
1467 int_ a(a_), b(b_); \
1475 int_ a(a_); \
1496 [](object arg) { return ~(int_(arg)); }, is_method(m_base));
1499 PYBIND11_ENUM_OP_STRICT("__eq__", int_(a).equal(int_(b)), return false);
1500 PYBIND11_ENUM_OP_STRICT("__ne__", !int_(a).equal(int_(b)), return true);
1504 PYBIND11_ENUM_OP_STRICT("__lt__", int_(a) < int_(b), PYBIND11_THROW);
[all …]
/external/webrtc/talk/app/webrtc/
Dstatstypes.cc235 type_ == kInt ? value_.int_ = static_cast<int>(value) : value_.int64_ = value; in Value()
290 return value_.int_ == other.value_.int_; in Equals()
335 return type_ == kInt ? value_.int_ == static_cast<int>(value) : in operator ==()
353 return value_.int_; in int_val()
605 return rtc::ToString(value_.int_); in ToString()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Igamma.pbtxt12 \\(gamma(a, x) = \\int_{0}^{x} t^{a-1} exp(-t) dt\\)
Dapi_def_Igammac.pbtxt11 \\(Gamma(a, x) = int_{x}^{\infty} t^{a-1} exp(-t) dt\\)
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc121 EXPECT_EQ(message.int_(), 123); in TEST()
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringX8632.cpp113 #define X(tag, elty, cvt, sdss, pdps, spsd, int_, unpack, pack, width, fld) \ argument
517 #define X(tag, elty, cvt, sdss, pdps, spsd, int_, unpack, pack, width, fld) \ argument
530 #define X(tag, elty, cvt, sdss, pdps, spsd, int_, unpack, pack, width, fld) \ argument
/external/shaderc/spirv-headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2700 value_.int_ = 0; in Value()
2722 value_.int_ = value; in Value()
2732 value_.int_ = value; in Value()
2887 return value_.int_ < other.value_.int_; in operator <()
2943 return value_.int_ == other.value_.int_; in operator ==()
3011 return valueToString(value_.int_); in asString()
3035 return Int(value_.int_); in asInt()
3057 return UInt(value_.int_); in asUInt()
3080 return Int64(value_.int_); in asInt64()
3102 return UInt64(value_.int_); in asUInt64()
[all …]
/external/deqp-deps/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2700 value_.int_ = 0; in Value()
2722 value_.int_ = value; in Value()
2732 value_.int_ = value; in Value()
2887 return value_.int_ < other.value_.int_; in operator <()
2943 return value_.int_ == other.value_.int_; in operator ==()
3011 return valueToString(value_.int_); in asString()
3035 return Int(value_.int_); in asInt()
3057 return UInt(value_.int_); in asUInt()
3080 return Int64(value_.int_); in asInt64()
3102 return UInt64(value_.int_); in asUInt64()
[all …]
/external/angle/third_party/spirv-headers/src/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2700 value_.int_ = 0; in Value()
2722 value_.int_ = value; in Value()
2732 value_.int_ = value; in Value()
2887 return value_.int_ < other.value_.int_; in operator <()
2943 return value_.int_ == other.value_.int_; in operator ==()
3011 return valueToString(value_.int_); in asString()
3035 return Int(value_.int_); in asInt()
3057 return UInt(value_.int_); in asUInt()
3080 return Int64(value_.int_); in asInt64()
3102 return UInt64(value_.int_); in asUInt64()
[all …]
/external/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2700 value_.int_ = 0; in Value()
2722 value_.int_ = value; in Value()
2732 value_.int_ = value; in Value()
2887 return value_.int_ < other.value_.int_; in operator <()
2943 return value_.int_ == other.value_.int_; in operator ==()
3011 return valueToString(value_.int_); in asString()
3035 return Int(value_.int_); in asInt()
3057 return UInt(value_.int_); in asUInt()
3080 return Int64(value_.int_); in asInt64()
3102 return UInt64(value_.int_); in asUInt64()
[all …]
/external/protobuf/conformance/third_party/jsoncpp/
Djsoncpp.cpp2724 value_.int_ = 0; in Value()
2746 value_.int_ = value; in Value()
2756 value_.int_ = value; in Value()
2919 return value_.int_ < other.value_.int_; in operator <()
2975 return value_.int_ == other.value_.int_; in operator ==()
3043 return valueToString(value_.int_); in asString()
3067 return Int(value_.int_); in asInt()
3089 return UInt(value_.int_); in asUInt()
3112 return Int64(value_.int_); in asInt64()
3134 return UInt64(value_.int_); in asUInt64()
[all …]

123