Lines Matching refs:noexcept

8                                 std::size_t len) noexcept {
12 void cxxbridge1$cxx_string$destroy(std::string *s) noexcept {
17 const char *cxxbridge1$cxx_string$data(const std::string &s) noexcept {
21 std::size_t cxxbridge1$cxx_string$length(const std::string &s) noexcept {
25 void cxxbridge1$cxx_string$clear(std::string &s) noexcept { s.clear(); }
28 size_t new_cap) noexcept {
33 std::size_t len) noexcept {
38 void cxxbridge1$string$new(rust::String *self) noexcept;
40 const rust::String &other) noexcept;
42 std::size_t len) noexcept;
44 std::size_t len) noexcept;
46 std::size_t len) noexcept;
48 std::size_t len) noexcept;
49 void cxxbridge1$string$drop(rust::String *self) noexcept;
50 const char *cxxbridge1$string$ptr(const rust::String *self) noexcept;
51 std::size_t cxxbridge1$string$len(const rust::String *self) noexcept;
52 std::size_t cxxbridge1$string$capacity(const rust::String *self) noexcept;
54 size_t additional) noexcept;
56 size_t new_cap) noexcept;
59 void cxxbridge1$str$new(rust::Str *self) noexcept;
60 void cxxbridge1$str$ref(rust::Str *self, const rust::String *string) noexcept;
62 std::size_t len) noexcept;
63 const char *cxxbridge1$str$ptr(const rust::Str *self) noexcept;
64 std::size_t cxxbridge1$str$len(const rust::Str *self) noexcept;
68 std::size_t len) noexcept;
69 void *cxxbridge1$slice$ptr(const void *self) noexcept;
70 std::size_t cxxbridge1$slice$len(const void *self) noexcept;
89 static bool is_aligned(const void *ptr) noexcept {
94 String::String() noexcept { cxxbridge1$string$new(this); }
96 String::String(const String &other) noexcept {
100 String::String(String &&other) noexcept : repr(other.repr) {
104 String::~String() noexcept { cxxbridge1$string$drop(this); }
149 String::String(lossy_t, const char *s, std::size_t len) noexcept {
155 String::String(lossy_t, const char16_t *s, std::size_t len) noexcept {
162 String String::lossy(const std::string &s) noexcept {
166 String String::lossy(const char *s) noexcept {
171 String String::lossy(const char *s, std::size_t len) noexcept {
176 String String::lossy(const char16_t *s) noexcept {
182 String String::lossy(const char16_t *s, std::size_t len) noexcept {
188 String &String::operator=(const String &other) &noexcept {
196 String &String::operator=(String &&other) &noexcept {
207 const char *String::data() const noexcept {
211 std::size_t String::size() const noexcept {
215 std::size_t String::length() const noexcept {
219 bool String::empty() const noexcept { return this->size() == 0; }
221 const char *String::c_str() noexcept {
229 std::size_t String::capacity() const noexcept {
233 void String::reserve(std::size_t new_cap) noexcept {
237 String::iterator String::begin() noexcept {
241 String::iterator String::end() noexcept {
245 String::const_iterator String::begin() const noexcept { return this->cbegin(); }
247 String::const_iterator String::end() const noexcept { return this->cend(); }
249 String::const_iterator String::cbegin() const noexcept { return this->data(); }
251 String::const_iterator String::cend() const noexcept {
255 bool String::operator==(const String &rhs) const noexcept {
259 bool String::operator!=(const String &rhs) const noexcept {
263 bool String::operator<(const String &rhs) const noexcept {
267 bool String::operator<=(const String &rhs) const noexcept {
271 bool String::operator>(const String &rhs) const noexcept {
275 bool String::operator>=(const String &rhs) const noexcept {
279 void String::swap(String &rhs) noexcept {
284 String::String(unsafe_bitcopy_t, const String &bits) noexcept
292 Str::Str() noexcept { cxxbridge1$str$new(this); }
294 Str::Str(const String &s) noexcept { cxxbridge1$str$ref(this, &s); }
320 const char *Str::data() const noexcept { return cxxbridge1$str$ptr(this); }
322 std::size_t Str::size() const noexcept { return cxxbridge1$str$len(this); }
324 std::size_t Str::length() const noexcept { return this->size(); }
326 bool Str::empty() const noexcept { return this->size() == 0; }
328 Str::const_iterator Str::begin() const noexcept { return this->cbegin(); }
330 Str::const_iterator Str::end() const noexcept { return this->cend(); }
332 Str::const_iterator Str::cbegin() const noexcept { return this->data(); }
334 Str::const_iterator Str::cend() const noexcept {
338 bool Str::operator==(const Str &rhs) const noexcept {
343 bool Str::operator!=(const Str &rhs) const noexcept { return !(*this == rhs); }
345 bool Str::operator<(const Str &rhs) const noexcept {
350 bool Str::operator<=(const Str &rhs) const noexcept {
367 bool Str::operator>(const Str &rhs) const noexcept { return rhs < *this; }
369 bool Str::operator>=(const Str &rhs) const noexcept { return rhs <= *this; }
371 void Str::swap(Str &rhs) noexcept {
381 void sliceInit(void *self, const void *ptr, std::size_t len) noexcept {
385 void *slicePtr(const void *self) noexcept { return cxxbridge1$slice$ptr(self); }
387 std::size_t sliceLen(const void *self) noexcept {
458 const char *cxxbridge1$error(const char *ptr, std::size_t len) noexcept {
468 Error::Error(Error &&other) noexcept
474 Error::~Error() noexcept { delete[] this->msg; }
489 Error &Error::operator=(Error &&other) &noexcept {
499 const char *Error::what() const noexcept { return this->msg; }
518 repr::PtrLen cxxbridge1$exception(const char *, std::size_t len) noexcept;
539 Fail(repr::PtrLen &throw$) noexcept : throw$(throw$) {}
540 void operator()(const char *) noexcept;
541 void operator()(const std::string &) noexcept;
544 void Fail::operator()(const char *catch$) noexcept {
548 void Fail::operator()(const std::string &catch$) noexcept {
565 std::unique_ptr<std::string> *ptr) noexcept {
569 std::string *raw) noexcept {
573 const std::unique_ptr<std::string> &ptr) noexcept {
577 std::unique_ptr<std::string> &ptr) noexcept {
581 std::unique_ptr<std::string> *ptr) noexcept {
596 const std::vector<CXX_TYPE> &s) noexcept { \
600 std::vector<CXX_TYPE> *s, std::size_t pos) noexcept { \
604 std::unique_ptr<std::vector<CXX_TYPE>> *ptr) noexcept { \
609 std::vector<CXX_TYPE> *raw) noexcept { \
614 const std::unique_ptr<std::vector<CXX_TYPE>> &ptr) noexcept { \
619 std::unique_ptr<std::vector<CXX_TYPE>> &ptr) noexcept { \
623 std::unique_ptr<std::vector<CXX_TYPE>> *ptr) noexcept { \
629 std::vector<CXX_TYPE> *v, CXX_TYPE *value) noexcept { \
634 CXX_TYPE *out) noexcept { \
641 rust::Vec<CXX_TYPE> *ptr) noexcept; \
643 rust::Vec<CXX_TYPE> *ptr) noexcept; \
645 const rust::Vec<CXX_TYPE> *ptr) noexcept; \
647 const rust::Vec<CXX_TYPE> *ptr) noexcept; \
649 const rust::Vec<CXX_TYPE> *ptr) noexcept; \
651 rust::Vec<CXX_TYPE> *ptr, std::size_t new_cap) noexcept; \
653 std::size_t len) noexcept; \
655 std::size_t len) noexcept;
659 Vec<CXX_TYPE>::Vec() noexcept { \
663 void Vec<CXX_TYPE>::drop() noexcept { \
667 std::size_t Vec<CXX_TYPE>::size() const noexcept { \
671 std::size_t Vec<CXX_TYPE>::capacity() const noexcept { \
675 const CXX_TYPE *Vec<CXX_TYPE>::data() const noexcept { \
679 void Vec<CXX_TYPE>::reserve_total(std::size_t new_cap) noexcept { \
683 void Vec<CXX_TYPE>::set_len(std::size_t len) noexcept { \
695 std::shared_ptr<CXX_TYPE> *ptr) noexcept { \
699 std::shared_ptr<CXX_TYPE> *ptr) noexcept { \
707 std::shared_ptr<CXX_TYPE> *ptr) noexcept { \
711 const std::shared_ptr<CXX_TYPE> &self) noexcept { \
715 const std::shared_ptr<CXX_TYPE> *self) noexcept { \
721 std::weak_ptr<CXX_TYPE> *ptr) noexcept { \
726 std::weak_ptr<CXX_TYPE> *ptr) noexcept { \
731 std::weak_ptr<CXX_TYPE> *weak) noexcept { \
736 std::shared_ptr<CXX_TYPE> *shared) noexcept { \
740 const std::weak_ptr<CXX_TYPE> *self) noexcept { \