Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/icu/source/common/unicode/
Dlocalpointer.h550 #define U_DEFINE_LOCAL_OPEN_POINTER(LocalPointerClassName, Type, closeFunction) \ argument
561 explicit LocalPointerClassName(std::unique_ptr<Type, decltype(&closeFunction)> &&p) \
563 ~LocalPointerClassName() { if (ptr != NULL) { closeFunction(ptr); } } \
565 if (ptr != NULL) { closeFunction(ptr); } \
571 LocalPointerClassName &operator=(std::unique_ptr<Type, decltype(&closeFunction)> &&p) { \
584 if (ptr != NULL) { closeFunction(ptr); } \
587 operator std::unique_ptr<Type, decltype(&closeFunction)> () && { \
588 …return std::unique_ptr<Type, decltype(&closeFunction)>(LocalPointerBase<Type>::orphan(), closeFunc…
/third_party/node/deps/icu-small/source/common/unicode/
Dlocalpointer.h550 #define U_DEFINE_LOCAL_OPEN_POINTER(LocalPointerClassName, Type, closeFunction) \ argument
561 explicit LocalPointerClassName(std::unique_ptr<Type, decltype(&closeFunction)> &&p) \
563 ~LocalPointerClassName() { if (ptr != NULL) { closeFunction(ptr); } } \
565 if (ptr != NULL) { closeFunction(ptr); } \
571 LocalPointerClassName &operator=(std::unique_ptr<Type, decltype(&closeFunction)> &&p) { \
584 if (ptr != NULL) { closeFunction(ptr); } \
587 operator std::unique_ptr<Type, decltype(&closeFunction)> () && { \
588 …return std::unique_ptr<Type, decltype(&closeFunction)>(LocalPointerBase<Type>::orphan(), closeFunc…
/third_party/icu/icu4c/source/common/unicode/
Dlocalpointer.h550 #define U_DEFINE_LOCAL_OPEN_POINTER(LocalPointerClassName, Type, closeFunction) \ argument
561 explicit LocalPointerClassName(std::unique_ptr<Type, decltype(&closeFunction)> &&p) \
563 ~LocalPointerClassName() { if (ptr != NULL) { closeFunction(ptr); } } \
565 if (ptr != NULL) { closeFunction(ptr); } \
571 LocalPointerClassName &operator=(std::unique_ptr<Type, decltype(&closeFunction)> &&p) { \
584 if (ptr != NULL) { closeFunction(ptr); } \
587 operator std::unique_ptr<Type, decltype(&closeFunction)> () && { \
588 …return std::unique_ptr<Type, decltype(&closeFunction)>(LocalPointerBase<Type>::orphan(), closeFunc…
/third_party/flutter/skia/third_party/externals/icu/source/common/unicode/
Dlocalpointer.h487 #define U_DEFINE_LOCAL_OPEN_POINTER(LocalPointerClassName, Type, closeFunction) \ argument
497 ~LocalPointerClassName() { if (ptr != NULL) { closeFunction(ptr); } } \
502 if (ptr != NULL) { closeFunction(ptr); } \
516 if (ptr != NULL) { closeFunction(ptr); } \