Home
last modified time | relevance | path

Searched refs:Scoped (Results 1 – 25 of 1915) sorted by relevance

12345678910>>...77

/dports/www/firefox-esr/firefox-91.8.0/mfbt/
H A DScoped.h68 class MOZ_NON_TEMPORARY_CLASS Scoped {
72 explicit Scoped() : mValue(Traits::empty()) {} in Scoped() function
77 Scoped(Scoped&& aOther) : mValue(std::move(aOther.mValue)) { in Scoped() function
81 ~Scoped() { Traits::release(mValue); } in ~Scoped()
127 Scoped& reset(const Resource& aOther) { in reset()
134 Scoped& operator=(Scoped&& aRhs) {
136 this->~Scoped();
137 new (this) Scoped(std::move(aRhs));
142 explicit Scoped(const Scoped& aValue) = delete;
143 Scoped& operator=(const Scoped& aValue) = delete;
[all …]
/dports/www/firefox/firefox-99.0/mfbt/
H A DScoped.h68 class MOZ_NON_TEMPORARY_CLASS Scoped {
72 explicit Scoped() : mValue(Traits::empty()) {} in Scoped() function
77 Scoped(Scoped&& aOther) : mValue(std::move(aOther.mValue)) { in Scoped() function
81 ~Scoped() { Traits::release(mValue); } in ~Scoped()
127 Scoped& reset(const Resource& aOther) { in reset()
134 Scoped& operator=(Scoped&& aRhs) {
136 this->~Scoped();
137 new (this) Scoped(std::move(aRhs));
142 explicit Scoped(const Scoped& aValue) = delete;
143 Scoped& operator=(const Scoped& aValue) = delete;
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/mfbt/
H A DScoped.h68 class MOZ_NON_TEMPORARY_CLASS Scoped {
72 explicit Scoped() : mValue(Traits::empty()) {} in Scoped() function
77 Scoped(Scoped&& aOther) : mValue(std::move(aOther.mValue)) { in Scoped() function
81 ~Scoped() { Traits::release(mValue); } in ~Scoped()
127 Scoped& reset(const Resource& aOther) { in reset()
134 Scoped& operator=(Scoped&& aRhs) {
136 this->~Scoped();
137 new (this) Scoped(std::move(aRhs));
142 explicit Scoped(const Scoped& aValue) = delete;
143 Scoped& operator=(const Scoped& aValue) = delete;
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/mfbt/
H A DScoped.h69 class MOZ_NON_TEMPORARY_CLASS Scoped {
73 explicit Scoped(MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM) in Scoped() function
84 Scoped(Scoped&& aOther MOZ_GUARD_OBJECT_NOTIFIER_PARAM) in Scoped() function
90 ~Scoped() { Traits::release(mValue); } in ~Scoped()
134 Scoped& operator=(const Resource& aOther) { return reset(aOther); }
136 Scoped& reset(const Resource& aOther) { in reset()
143 Scoped& operator=(Scoped&& aRhs) {
145 this->~Scoped();
146 new (this) Scoped(std::move(aRhs));
151 explicit Scoped(const Scoped& aValue) = delete;
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/mfbt/
H A DScoped.h68 class MOZ_NON_TEMPORARY_CLASS Scoped
73 explicit Scoped(MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM) in Scoped() function
79 explicit Scoped(const Resource& aValue in Scoped() function
87 Scoped(Scoped&& aOther in Scoped() function
95 ~Scoped() { Traits::release(mValue); } in ~Scoped()
143 Scoped& reset(const Resource& aOther) in reset()
151 Scoped& operator=(Scoped&& aRhs)
154 this->~Scoped();
155 new(this) Scoped(Move(aRhs));
160 explicit Scoped(const Scoped& aValue) = delete;
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/mfbt/
H A DScoped.h68 class MOZ_NON_TEMPORARY_CLASS Scoped {
72 explicit Scoped(MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM) in Scoped() function
83 Scoped(Scoped&& aOther MOZ_GUARD_OBJECT_NOTIFIER_PARAM) in Scoped() function
89 ~Scoped() { Traits::release(mValue); } in ~Scoped()
133 Scoped& operator=(const Resource& aOther) { return reset(aOther); }
135 Scoped& reset(const Resource& aOther) { in reset()
142 Scoped& operator=(Scoped&& aRhs) {
144 this->~Scoped();
145 new (this) Scoped(Move(aRhs));
150 explicit Scoped(const Scoped& aValue) = delete;
[all …]
/dports/math/vtk8/VTK-8.2.0/ThirdParty/diy2/vtkdiy2/include/vtkdiy2/
H A Dstats.hpp36 struct Scoped struct
38 Scoped(Profiler& prof_, std::string name_): in Scoped() function
42 Scoped(Scoped&& other): in Scoped() function
47 Scoped&
48 operator=(Scoped&& other) = delete;
49 Scoped(const Scoped&) = delete;
50 Scoped&
51 operator=(const Scoped&) = delete;
85 Scoped scoped(std::string name) { return Scoped(*this, name); } in scoped()
96 struct Scoped {};
[all …]
/dports/math/vtk8/VTK-8.2.0/ThirdParty/vtkm/vtk-m/vtkm/thirdparty/diy/vtkmdiy/include/vtkmdiy/
H A Dstats.hpp36 struct Scoped struct
38 Scoped(Profiler& prof_, std::string name_): in Scoped() argument
42 Scoped(Scoped&& other): in Scoped() function
47 Scoped&
48 operator=(Scoped&& other) = delete;
49 Scoped(const Scoped&) = delete;
50 Scoped&
51 operator=(const Scoped&) = delete;
85 Scoped scoped(std::string name) { return Scoped(*this, name); } in scoped()
96 struct Scoped {};
[all …]
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/mozjs-45/extract/mfbt/
H A DScoped.h80 class MOZ_NON_TEMPORARY_CLASS Scoped
85 explicit Scoped(MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM) in Scoped() function
91 explicit Scoped(const Resource& aValue in Scoped() function
99 Scoped(Scoped&& aOther in Scoped() function
107 ~Scoped() { Traits::release(mValue); } in ~Scoped()
155 Scoped& reset(const Resource& aOther) in reset()
163 Scoped& operator=(Scoped&& aRhs)
166 this->~Scoped();
167 new(this) Scoped(Move(aRhs));
172 explicit Scoped(const Scoped& aValue) = delete;
[all …]
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/mozjs-45/include/mozilla/
H A DScoped.h80 class MOZ_NON_TEMPORARY_CLASS Scoped
85 explicit Scoped(MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM) in Scoped() function
91 explicit Scoped(const Resource& aValue in Scoped() function
99 Scoped(Scoped&& aOther in Scoped() function
107 ~Scoped() { Traits::release(mValue); } in ~Scoped()
155 Scoped& reset(const Resource& aOther) in reset()
163 Scoped& operator=(Scoped&& aRhs)
166 this->~Scoped();
167 new(this) Scoped(Move(aRhs));
172 explicit Scoped(const Scoped& aValue) = delete;
[all …]
/dports/x11-toolkits/qt5-declarative/kde-qtdeclarative-5.15.2p41/src/qml/jsruntime/
H A Dqv4scopedvalue_p.h292 struct Scoped struct
300 QML_NEARLY_ALWAYS_INLINE Scoped(const Scope &scope) in Scoped() function
335 QML_NEARLY_ALWAYS_INLINE Scoped(const Scope &scope, T *t) in Scoped() argument
341 QML_NEARLY_ALWAYS_INLINE Scoped(const Scope &scope, const T *t) in Scoped() argument
365 Scoped<T> &operator=(Heap::Base *o) {
369 Scoped<T> &operator=(typename T::Data *t) {
373 Scoped<T> &operator=(const Value &v) {
377 Scoped<T> &operator=(Value *v) {
382 Scoped<T> &operator=(const ReturnedValue &v) {
387 Scoped<T> &operator=(T *t) {
[all …]
/dports/x11-toolkits/qt5-declarative-test/kde-qtdeclarative-5.15.2p41/src/qml/jsruntime/
H A Dqv4scopedvalue_p.h292 struct Scoped struct
300 QML_NEARLY_ALWAYS_INLINE Scoped(const Scope &scope) in Scoped() function
335 QML_NEARLY_ALWAYS_INLINE Scoped(const Scope &scope, T *t) in Scoped() function
341 QML_NEARLY_ALWAYS_INLINE Scoped(const Scope &scope, const T *t) in Scoped() function
365 Scoped<T> &operator=(Heap::Base *o) {
369 Scoped<T> &operator=(typename T::Data *t) {
373 Scoped<T> &operator=(const Value &v) {
377 Scoped<T> &operator=(Value *v) {
382 Scoped<T> &operator=(const ReturnedValue &v) {
387 Scoped<T> &operator=(T *t) {
[all …]
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/g++.dg/cpp0x/
H A Dinitlist42.C4 enum class Scoped { }; enum
7 Scoped bar(Scoped x) { return x; } in bar()
10 auto var1s = bar(Scoped()); // OK
13 auto var2s = bar(Scoped{}); // #2 Error, but should work
/dports/lang/gcc6-aux/gcc-6-20180516/gcc/testsuite/g++.dg/cpp0x/
H A Dinitlist42.C4 enum class Scoped { }; enum
7 Scoped bar(Scoped x) { return x; } in bar()
10 auto var1s = bar(Scoped()); // OK
13 auto var2s = bar(Scoped{}); // #2 Error, but should work
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/g++.dg/cpp0x/
H A Dinitlist42.C4 enum class Scoped { }; enum
7 Scoped bar(Scoped x) { return x; } in bar()
10 auto var1s = bar(Scoped()); // OK
13 auto var2s = bar(Scoped{}); // #2 Error, but should work
/dports/lang/gcc9/gcc-9.4.0/gcc/testsuite/g++.dg/cpp0x/
H A Dinitlist42.C4 enum class Scoped { }; enum
7 Scoped bar(Scoped x) { return x; } in bar()
10 auto var1s = bar(Scoped()); // OK
13 auto var2s = bar(Scoped{}); // #2 Error, but should work
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/g++.dg/cpp0x/
H A Dinitlist42.C4 enum class Scoped { }; enum
7 Scoped bar(Scoped x) { return x; } in bar()
10 auto var1s = bar(Scoped()); // OK
13 auto var2s = bar(Scoped{}); // #2 Error, but should work
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/testsuite/g++.dg/cpp0x/
H A Dinitlist42.C4 enum class Scoped { }; enum
7 Scoped bar(Scoped x) { return x; } in bar()
10 auto var1s = bar(Scoped()); // OK
13 auto var2s = bar(Scoped{}); // #2 Error, but should work
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/g++.dg/cpp0x/
H A Dinitlist42.C4 enum class Scoped { }; enum
7 Scoped bar(Scoped x) { return x; } in bar()
10 auto var1s = bar(Scoped()); // OK
13 auto var2s = bar(Scoped{}); // #2 Error, but should work
/dports/lang/gnat_util/gcc-6-20180516/gcc/testsuite/g++.dg/cpp0x/
H A Dinitlist42.C4 enum class Scoped { }; enum
7 Scoped bar(Scoped x) { return x; } in bar()
10 auto var1s = bar(Scoped()); // OK
13 auto var2s = bar(Scoped{}); // #2 Error, but should work
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/g++.dg/cpp0x/
H A Dinitlist42.C4 enum class Scoped { }; enum
7 Scoped bar(Scoped x) { return x; } in bar()
10 auto var1s = bar(Scoped()); // OK
13 auto var2s = bar(Scoped{}); // #2 Error, but should work
/dports/lang/gcc48/gcc-4.8.5/gcc/testsuite/g++.dg/cpp0x/
H A Dinitlist42.C4 enum class Scoped { }; enum
7 Scoped bar(Scoped x) { return x; } in bar()
10 auto var1s = bar(Scoped()); // OK
13 auto var2s = bar(Scoped{}); // #2 Error, but should work
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/g++.dg/cpp0x/
H A Dinitlist42.C4 enum class Scoped { }; enum
7 Scoped bar(Scoped x) { return x; } in bar()
10 auto var1s = bar(Scoped()); // OK
13 auto var2s = bar(Scoped{}); // #2 Error, but should work
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/g++.dg/cpp0x/
H A Dinitlist42.C4 enum class Scoped { }; enum
7 Scoped bar(Scoped x) { return x; } in bar()
10 auto var1s = bar(Scoped()); // OK
13 auto var2s = bar(Scoped{}); // #2 Error, but should work
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/g++.dg/cpp0x/
H A Dinitlist42.C4 enum class Scoped { }; enum
7 Scoped bar(Scoped x) { return x; } in bar()
10 auto var1s = bar(Scoped()); // OK
13 auto var2s = bar(Scoped{}); // #2 Error, but should work

12345678910>>...77