Home
last modified time | relevance | path

Searched full:noexcept (Results 1 – 25 of 1199) sorted by relevance

12345678910>>...48

/third_party/rust/crates/cxx/book/src/binding/
Dvec.md20 Vec() noexcept;
23 Vec(Vec &&) noexcept;
24 ~Vec() noexcept;
26 Vec &operator=(Vec &&) noexcept;
29 size_t size() const noexcept;
30 bool empty() const noexcept;
31 const T *data() const noexcept;
32 T *data() noexcept;
33 size_t capacity() const noexcept;
35 const T &operator[](size_t n) const noexcept;
[all …]
Dstring.md16 String() noexcept;
17 String(const String &) noexcept;
18 String(String &&) noexcept;
19 ~String() noexcept;
27 static String lossy(const std::string &) noexcept;
28 static String lossy(const char *) noexcept;
29 static String lossy(const char *, size_t) noexcept;
36 static String lossy(const char16_t *) noexcept;
37 static String lossy(const char16_t *, size_t) noexcept;
39 String &operator=(const String &) noexcept;
[all …]
Dslice.md22 Slice() noexcept;
23 Slice(const Slice<T> &) noexcept;
24 Slice(T *, size_t count) noexcept;
26 Slice &operator=(Slice<T> &&) noexcept;
27 Slice &operator=(const Slice<T> &) noexcept
30 T *data() const noexcept;
31 size_t size() const noexcept;
32 size_t length() const noexcept;
33 bool empty() const noexcept;
35 T &operator[](size_t n) const noexcept;
[all …]
Dstr.md16 Str() noexcept;
17 Str(const Str &) noexcept;
18 Str(const String &) noexcept;
25 Str &operator=(const Str &) noexcept;
30 const char *data() const noexcept;
31 size_t size() const noexcept;
32 size_t length() const noexcept;
33 bool empty() const noexcept;
37 const_iterator begin() const noexcept;
38 const_iterator end() const noexcept;
[all …]
/third_party/rust/crates/cxx/include/
Dcxx.h38 String() noexcept;
39 String(const String &) noexcept;
40 String(String &&) noexcept;
41 ~String() noexcept;
50 static String lossy(const std::string &) noexcept;
51 static String lossy(const char *) noexcept;
52 static String lossy(const char *, std::size_t) noexcept;
53 static String lossy(const char16_t *) noexcept;
54 static String lossy(const char16_t *, std::size_t) noexcept;
56 String &operator=(const String &) &noexcept;
[all …]
/third_party/rust/crates/cxx/src/
Dcxx.cc8 std::size_t len) noexcept { in cxxbridge1$cxx_string$init()
12 void cxxbridge1$cxx_string$destroy(std::string *s) noexcept { in cxxbridge1$cxx_string$destroy()
17 const char *cxxbridge1$cxx_string$data(const std::string &s) noexcept { in cxxbridge1$cxx_string$data()
21 std::size_t cxxbridge1$cxx_string$length(const std::string &s) noexcept { in cxxbridge1$cxx_string$length()
25 void cxxbridge1$cxx_string$clear(std::string &s) noexcept { s.clear(); } in cxxbridge1$cxx_string$clear()
28 size_t new_cap) noexcept { in cxxbridge1$cxx_string$reserve_total()
33 std::size_t len) noexcept { in cxxbridge1$cxx_string$push()
38 void cxxbridge1$string$new(rust::String *self) noexcept;
40 const rust::String &other) noexcept;
42 std::size_t len) noexcept;
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
Dcompare.h56 constexpr OnlyLiteralZero(NullPtrT) noexcept {} // NOLINT in OnlyLiteralZero()
156 explicit constexpr weak_equality(compare_internal::eq v) noexcept in weak_equality()
166 weak_equality v, compare_internal::OnlyLiteralZero<>) noexcept {
170 weak_equality v, compare_internal::OnlyLiteralZero<>) noexcept {
174 weak_equality v) noexcept {
178 weak_equality v) noexcept {
182 weak_equality v2) noexcept {
186 weak_equality v2) noexcept {
200 explicit constexpr strong_equality(compare_internal::eq v) noexcept
211 constexpr operator weak_equality() const noexcept { // NOLINT
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/delegate/tensorrt/op/
Dtensorrt_plugin.h39 nvinfer1::IExprBuilder &exprBuilder) noexcept override;
41 int nbOutputs) noexcept override;
43 … const nvinfer1::DynamicPluginTensorDesc *out, int nbOutputs) noexcept override;
45 … const nvinfer1::PluginTensorDesc *outputs, int nbOutputs) const noexcept override;
49 noexcept override;
52 const char *getPluginType() const noexcept override;
53 const char *getPluginVersion() const noexcept override;
54 int getNbOutputs() const noexcept override;
55 int initialize() noexcept override;
56 void terminate() noexcept override;
[all …]
Dtensorrt_executor_plugin.h39 nvinfer1::IExprBuilder &exprBuilder) noexcept override;
41 int nbOutputs) noexcept override;
43 … const nvinfer1::DynamicPluginTensorDesc *out, int nbOutputs) noexcept override;
45 … const nvinfer1::PluginTensorDesc *outputs, int nbOutputs) const noexcept override;
49 noexcept override;
52 const char *getPluginType() const noexcept override;
53 const char *getPluginVersion() const noexcept override;
54 int getNbOutputs() const noexcept override;
55 int initialize() noexcept override;
56 void terminate() noexcept override;
[all …]
Dtensorrt_plugin.cc37 … int nbInputs, nvinfer1::IExprBuilder &exprBuilder) noexcept { in getOutputDimensions()
42 int nbOutputs) noexcept { in supportsFormatCombination()
47 … const nvinfer1::DynamicPluginTensorDesc *out, int nbOutputs) noexcept {} in configurePlugin()
50 … const nvinfer1::PluginTensorDesc *outputs, int nbOutputs) const noexcept { in getWorkspaceSize()
55 int nbInputs) const noexcept { in getOutputDataType()
59 const char *TensorRTPlugin::getPluginType() const noexcept { return plugin_name_.c_str(); } in getPluginType()
61 const char *TensorRTPlugin::getPluginVersion() const noexcept { return plugin_version_.c_str(); } in getPluginVersion()
63 int TensorRTPlugin::getNbOutputs() const noexcept { return 1; } in getNbOutputs()
65 int TensorRTPlugin::initialize() noexcept { return 0; } in initialize()
67 void TensorRTPlugin::terminate() noexcept {} in terminate()
[all …]
/third_party/protobuf/third_party/abseil-cpp/absl/types/
Dcompare.h86 constexpr OnlyLiteralZero(int OnlyLiteralZero::*) noexcept {} // NOLINT
173 explicit constexpr partial_ordering(compare_internal::eq v) noexcept
175 explicit constexpr partial_ordering(compare_internal::ord v) noexcept
177 explicit constexpr partial_ordering(compare_internal::ncmp v) noexcept
181 constexpr bool is_ordered() const noexcept {
194 partial_ordering v, compare_internal::OnlyLiteralZero) noexcept {
198 partial_ordering v, compare_internal::OnlyLiteralZero) noexcept {
202 partial_ordering v, compare_internal::OnlyLiteralZero) noexcept {
206 partial_ordering v, compare_internal::OnlyLiteralZero) noexcept {
210 partial_ordering v, compare_internal::OnlyLiteralZero) noexcept {
[all …]
/third_party/mesa3d/src/amd/compiler/
Daco_ir.h163 bool canReplace(float_mode other) const noexcept in canReplace()
377 Temp() noexcept : id_(0), reg_class(0) {} in Temp()
378 constexpr Temp(uint32_t id, RegClass cls) noexcept : id_(id), reg_class(uint8_t(cls)) {} in Temp()
380 constexpr uint32_t id() const noexcept { return id_; } in id()
381 constexpr RegClass regClass() const noexcept { return (RegClass::RC)reg_class; } in regClass()
383 constexpr unsigned bytes() const noexcept { return regClass().bytes(); } in bytes()
384 constexpr unsigned size() const noexcept { return regClass().size(); } in size()
385 constexpr RegType type() const noexcept { return regClass().type(); } in type()
386 constexpr bool is_linear() const noexcept { return regClass().is_linear(); } in is_linear()
388 constexpr bool operator<(Temp other) const noexcept { return id() < other.id(); }
[all …]
Daco_util.h60 constexpr iterator begin() noexcept { return (pointer)((uintptr_t)this + offset); } in begin()
65 constexpr const_iterator begin() const noexcept in begin()
73 constexpr iterator end() noexcept { return std::next(begin(), length); } in end()
78 constexpr const_iterator end() const noexcept { return std::next(begin(), length); } in end()
83 constexpr const_iterator cbegin() const noexcept { return begin(); } in cbegin()
88 constexpr const_iterator cend() const noexcept { return std::next(begin(), length); } in cend()
93 constexpr reverse_iterator rbegin() noexcept { return reverse_iterator(end()); } in rbegin()
98 constexpr const_reverse_iterator rbegin() const noexcept in rbegin()
106 constexpr reverse_iterator rend() noexcept { return reverse_iterator(begin()); } in rend()
111 constexpr const_reverse_iterator rend() const noexcept in rend()
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/core/mindapi/base/
Dshared_ptr.h32 constexpr SharedPtr() noexcept = default;
33 constexpr SharedPtr(std::nullptr_t) noexcept : SharedPtr() {} // NOLINT in SharedPtr()
53 element_type &operator*() const noexcept { return *ptr_; }
54 element_type *operator->() const noexcept { return ptr_.get(); }
55 element_type *get() const noexcept { return ptr_.get(); } in get()
65 inline bool operator==(const SharedPtr<T> &a, const SharedPtr<U> &b) noexcept {
70 inline bool operator==(const SharedPtr<T> &a, std::nullptr_t) noexcept {
75 inline bool operator==(std::nullptr_t, const SharedPtr<T> &a) noexcept {
80 inline bool operator!=(const SharedPtr<T> &a, const SharedPtr<U> &b) noexcept {
85 inline bool operator!=(const SharedPtr<T> &a, std::nullptr_t) noexcept {
[all …]
/third_party/json/include/nlohmann/detail/iterators/
Dprimitive_iterator.hpp41 constexpr difference_type get_value() const noexcept in get_value()
47 void set_begin() noexcept in set_begin()
53 void set_end() noexcept in set_end()
59 constexpr bool is_begin() const noexcept in is_begin()
65 constexpr bool is_end() const noexcept in is_end()
70 friend constexpr bool operator==(primitive_iterator_t lhs, primitive_iterator_t rhs) noexcept in operator ==()
75 friend constexpr bool operator<(primitive_iterator_t lhs, primitive_iterator_t rhs) noexcept in operator <()
80 primitive_iterator_t operator+(difference_type n) noexcept in operator +()
87 …nd constexpr difference_type operator-(primitive_iterator_t lhs, primitive_iterator_t rhs) noexcept in operator -()
92 primitive_iterator_t& operator++() noexcept in operator ++()
[all …]
/third_party/gn/src/base/containers/
Dspan.h164 // Furthermore, all constructors and methods are marked noexcept due to the lack
187 constexpr span() noexcept : data_(nullptr), size_(0) {
191 constexpr span(T* data, size_t size) noexcept : data_(data), size_(size) {
197 constexpr span(T* begin, T* end) noexcept : span(begin, end - begin) {
205 constexpr span(T (&array)[N]) noexcept : span(std::data(array), N) {}
211 constexpr span(std::array<value_type, N>& array) noexcept
220 constexpr span(const std::array<value_type, N>& array) noexcept
227 constexpr span(Container& container) noexcept
233 span(const Container& container) noexcept
236 constexpr span(const span& other) noexcept = default;
[all …]
/third_party/json/tests/src/
Dunit-noexcept.cpp26 void to_json(json& /*unused*/, pod /*unused*/) noexcept;
28 void from_json(const json& /*unused*/, pod /*unused*/) noexcept;
30 void to_json(json& /*unused*/, pod /*unused*/) noexcept {} in to_json()
32 void from_json(const json& /*unused*/, pod /*unused*/) noexcept {} in from_json()
35 static_assert(noexcept(json{}), "");
36 static_assert(noexcept(nlohmann::to_json(std::declval<json&>(), 2)), "");
37 static_assert(noexcept(nlohmann::to_json(std::declval<json&>(), 2.5)), "");
38 static_assert(noexcept(nlohmann::to_json(std::declval<json&>(), true)), "");
39 static_assert(noexcept(nlohmann::to_json(std::declval<json&>(), test{})), "");
40 static_assert(noexcept(nlohmann::to_json(std::declval<json&>(), pod{})), "");
[all …]
/third_party/vulkan-loader/tests/framework/
Dtest_environment.h277 InstWrapper(VulkanFunctions& functions, VkAllocationCallbacks* callbacks = nullptr) noexcept;
278 …(VulkanFunctions& functions, VkInstance inst, VkAllocationCallbacks* callbacks = nullptr) noexcept;
279 ~InstWrapper() noexcept;
284 InstWrapper(InstWrapper&& other) noexcept;
285 InstWrapper& operator=(InstWrapper&&) noexcept;
322 DeviceWrapper(InstWrapper& inst_wrapper, VkAllocationCallbacks* callbacks = nullptr) noexcept;
323 …(VulkanFunctions& functions, VkDevice device, VkAllocationCallbacks* callbacks = nullptr) noexcept;
324 ~DeviceWrapper() noexcept;
329 DeviceWrapper(DeviceWrapper&&) noexcept;
330 DeviceWrapper& operator=(DeviceWrapper&&) noexcept;
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DCLRefPointer.h20 RefPointer() noexcept : mCLObject(nullptr) {} in RefPointer()
22 explicit RefPointer(T *object) noexcept : mCLObject(object) in RefPointer()
37 RefPointer(std::nullptr_t) noexcept : mCLObject(nullptr) {} in RefPointer()
44 RefPointer(RefPointer &&other) noexcept : mCLObject(nullptr) { this->swap(other); } in RefPointer()
78 T *release() noexcept in release()
85 void swap(RefPointer &other) noexcept { std::swap(mCLObject, other.mCLObject); } in swap()
107 bool operator==(const RefPointer<T> &ptr, nullptr_t) noexcept
113 bool operator==(nullptr_t, const RefPointer<T> &ptr) noexcept
119 bool operator!=(const RefPointer<T> &ptr, nullptr_t) noexcept
125 bool operator!=(nullptr_t, const RefPointer<T> &ptr) noexcept
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/include/cctz/
Dcivil_time_detail.h83 CONSTEXPR_F bool is_leap_year(year_t y) noexcept { in is_leap_year()
86 CONSTEXPR_F int year_index(year_t y, month_t m) noexcept { in year_index()
89 CONSTEXPR_F int days_per_century(year_t y, month_t m) noexcept { in days_per_century()
93 CONSTEXPR_F int days_per_4years(year_t y, month_t m) noexcept { in days_per_4years()
97 CONSTEXPR_F int days_per_year(year_t y, month_t m) noexcept { in days_per_year()
100 CONSTEXPR_F int days_per_month(year_t y, month_t m) noexcept { in days_per_month()
108 minute_t mm, second_t ss) noexcept { in n_day()
169 minute_t mm, second_t ss) noexcept { in n_mon()
181 minute_t mm, second_t ss) noexcept { in n_hour()
191 diff_t mm, second_t ss) noexcept { in n_min()
[all …]
/third_party/protobuf/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/
Dcivil_time_detail.h83 CONSTEXPR_F bool is_leap_year(year_t y) noexcept { in is_leap_year()
86 CONSTEXPR_F int year_index(year_t y, month_t m) noexcept { in year_index()
90 CONSTEXPR_F int days_per_century(int yi) noexcept { in days_per_century()
93 CONSTEXPR_F int days_per_4years(int yi) noexcept { in days_per_4years()
96 CONSTEXPR_F int days_per_year(year_t y, month_t m) noexcept { in days_per_year()
99 CONSTEXPR_F int days_per_month(year_t y, month_t m) noexcept { in days_per_month()
107 minute_t mm, second_t ss) noexcept { in n_day()
173 minute_t mm, second_t ss) noexcept { in n_mon()
185 minute_t mm, second_t ss) noexcept { in n_hour()
195 diff_t mm, second_t ss) noexcept { in n_min()
[all …]
/third_party/json/include/nlohmann/
Dbyte_container_with_subtype.hpp29 byte_container_with_subtype() noexcept(noexcept(container_type())) in byte_container_with_subtype()
34 byte_container_with_subtype(const container_type& b) noexcept(noexcept(container_type(b))) in byte_container_with_subtype()
39 byte_container_with_subtype(container_type&& b) noexcept(noexcept(container_type(std::move(b)))) in byte_container_with_subtype()
44 …byte_container_with_subtype(const container_type& b, subtype_type subtype_) noexcept(noexcept(cont… in byte_container_with_subtype()
51 …byte_container_with_subtype(container_type&& b, subtype_type subtype_) noexcept(noexcept(container… in byte_container_with_subtype()
70 void set_subtype(subtype_type subtype_) noexcept in set_subtype()
78 constexpr subtype_type subtype() const noexcept in subtype()
85 constexpr bool has_subtype() const noexcept in has_subtype()
92 void clear_subtype() noexcept in clear_subtype()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_util.h29 …T MipLevels, UINT ArraySize, _Out_ T& MipSlice, _Out_ U& ArraySlice, _Out_ V& PlaneSlice ) noexcept in D3D12DecomposeSubresource()
37 …esource( UINT MipSlice, UINT ArraySlice, UINT PlaneSlice, UINT MipLevels, UINT ArraySize ) noexcept in D3D12CalcSubresource()
46 explicit CD3DX12_RESOURCE_BARRIER(const D3D12_RESOURCE_BARRIER &o) noexcept : in CD3DX12_RESOURCE_BARRIER()
54 D3D12_RESOURCE_BARRIER_FLAGS flags = D3D12_RESOURCE_BARRIER_FLAG_NONE) noexcept
68 _In_ ID3D12Resource* pResourceAfter) noexcept in Aliasing()
78 _In_ ID3D12Resource* pResource) noexcept in UAV()
92 explicit CD3DX12_RESOURCE_DESC( const D3D12_RESOURCE_DESC& o ) noexcept : in CD3DX12_RESOURCE_DESC()
106 D3D12_RESOURCE_FLAGS flags ) noexcept in CD3DX12_RESOURCE_DESC()
122 D3D12_RESOURCE_FLAGS flags = D3D12_RESOURCE_FLAG_NONE ) noexcept
130 UINT64 alignment = 0 ) noexcept
[all …]
/third_party/nghttp2/src/
Dtemplate.h58 Defer(Defer &&o) noexcept : f(std::move(o.f)) {} in Defer()
82 DList(DList &&other) noexcept in DList()
87 DList &operator=(DList &&other) noexcept {
239 constexpr ImmutableString(ImmutableString &&other) noexcept in ImmutableString()
258 constexpr ImmutableString &operator=(ImmutableString &&other) noexcept {
275 constexpr const_iterator begin() const noexcept { return base; } in begin()
276 constexpr const_iterator cbegin() const noexcept { return base; } in cbegin()
278 constexpr const_iterator end() const noexcept { return base + len; } in end()
279 constexpr const_iterator cend() const noexcept { return base + len; } in cend()
281 constexpr const_reverse_iterator rbegin() const noexcept { in rbegin()
[all …]
/third_party/skia/third_party/externals/dawn/src/common/
Dityp_bitset.h37 constexpr bitset() noexcept : Base() { in bitset()
40 constexpr bitset(unsigned long long value) noexcept : Base(value) { in bitset()
61 bool operator==(const bitset& other) const noexcept {
65 bool operator!=(const bitset& other) const noexcept {
69 bitset& operator&=(const bitset& other) noexcept {
73 bitset& operator|=(const bitset& other) noexcept {
77 bitset& operator^=(const bitset& other) noexcept {
81 bitset operator~() const noexcept {
85 bitset& set() noexcept { in set()
93 bitset& reset() noexcept { in reset()
[all …]

12345678910>>...48