Home
last modified time | relevance | path

Searched refs:LocalPointerClassName (Results 1 – 4 of 4) sorted by relevance

/third_party/flutter/skia/third_party/externals/icu/source/common/unicode/
Dlocalpointer.h487 #define U_DEFINE_LOCAL_OPEN_POINTER(LocalPointerClassName, Type, closeFunction) \ argument
488 class LocalPointerClassName : public LocalPointerBase<Type> { \
492 explicit LocalPointerClassName(Type *p=NULL) : LocalPointerBase<Type>(p) {} \
493 LocalPointerClassName(LocalPointerClassName &&src) U_NOEXCEPT \
497 ~LocalPointerClassName() { if (ptr != NULL) { closeFunction(ptr); } } \
498 LocalPointerClassName &operator=(LocalPointerClassName &&src) U_NOEXCEPT { \
501 LocalPointerClassName &moveFrom(LocalPointerClassName &src) U_NOEXCEPT { \
507 void swap(LocalPointerClassName &other) U_NOEXCEPT { \
512 friend inline void swap(LocalPointerClassName &p1, LocalPointerClassName &p2) U_NOEXCEPT { \
/third_party/node/deps/icu-small/source/common/unicode/
Dlocalpointer.h550 #define U_DEFINE_LOCAL_OPEN_POINTER(LocalPointerClassName, Type, closeFunction) \ argument
551 class LocalPointerClassName : public LocalPointerBase<Type> { \
555 explicit LocalPointerClassName(Type *p=NULL) : LocalPointerBase<Type>(p) {} \
556 LocalPointerClassName(LocalPointerClassName &&src) U_NOEXCEPT \
561 explicit LocalPointerClassName(std::unique_ptr<Type, decltype(&closeFunction)> &&p) \
563 ~LocalPointerClassName() { if (ptr != NULL) { closeFunction(ptr); } } \
564 LocalPointerClassName &operator=(LocalPointerClassName &&src) U_NOEXCEPT { \
571 LocalPointerClassName &operator=(std::unique_ptr<Type, decltype(&closeFunction)> &&p) { \
575 void swap(LocalPointerClassName &other) U_NOEXCEPT { \
580 friend inline void swap(LocalPointerClassName &p1, LocalPointerClassName &p2) U_NOEXCEPT { \
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dlocalpointer.h550 #define U_DEFINE_LOCAL_OPEN_POINTER(LocalPointerClassName, Type, closeFunction) \ argument
551 class LocalPointerClassName : public LocalPointerBase<Type> { \
555 explicit LocalPointerClassName(Type *p=NULL) : LocalPointerBase<Type>(p) {} \
556 LocalPointerClassName(LocalPointerClassName &&src) U_NOEXCEPT \
561 explicit LocalPointerClassName(std::unique_ptr<Type, decltype(&closeFunction)> &&p) \
563 ~LocalPointerClassName() { if (ptr != NULL) { closeFunction(ptr); } } \
564 LocalPointerClassName &operator=(LocalPointerClassName &&src) U_NOEXCEPT { \
571 LocalPointerClassName &operator=(std::unique_ptr<Type, decltype(&closeFunction)> &&p) { \
575 void swap(LocalPointerClassName &other) U_NOEXCEPT { \
580 friend inline void swap(LocalPointerClassName &p1, LocalPointerClassName &p2) U_NOEXCEPT { \
/third_party/icu/icu4c/source/common/unicode/
Dlocalpointer.h550 #define U_DEFINE_LOCAL_OPEN_POINTER(LocalPointerClassName, Type, closeFunction) \ argument
551 class LocalPointerClassName : public LocalPointerBase<Type> { \
555 explicit LocalPointerClassName(Type *p=NULL) : LocalPointerBase<Type>(p) {} \
556 LocalPointerClassName(LocalPointerClassName &&src) U_NOEXCEPT \
561 explicit LocalPointerClassName(std::unique_ptr<Type, decltype(&closeFunction)> &&p) \
563 ~LocalPointerClassName() { if (ptr != NULL) { closeFunction(ptr); } } \
564 LocalPointerClassName &operator=(LocalPointerClassName &&src) U_NOEXCEPT { \
571 LocalPointerClassName &operator=(std::unique_ptr<Type, decltype(&closeFunction)> &&p) { \
575 void swap(LocalPointerClassName &other) U_NOEXCEPT { \
580 friend inline void swap(LocalPointerClassName &p1, LocalPointerClassName &p2) U_NOEXCEPT { \