/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/text/ |
H A D | font_metrics.h | 25 bool operator==(const FontMetrics& that) in operator ==() 27 return fFlags == that.fFlags && in operator ==() 28 fTop == that.fTop && in operator ==() 29 fAscent == that.fAscent && in operator ==() 30 fDescent == that.fDescent && in operator ==() 31 fBottom == that.fBottom && in operator ==() 32 fLeading == that.fLeading && in operator ==() 33 fAvgCharWidth == that.fAvgCharWidth && in operator ==() 34 fMaxCharWidth == that.fMaxCharWidth && in operator ==() 35 fXMin == that in operator ==() [all...] |
/foundation/arkui/napi/sample/native_module_netserver/ |
H A D | net_server.cpp | 80 NetServer* that = static_cast<NetServer*>(peer->data); in OnClose() local 81 that->Emit("disconnect", nullptr); in OnClose() 92 NetServer* that = static_cast<NetServer*>(server->data); in OnConnection() local 95 that->Emit("error", nullptr); in OnConnection() 98 if (that->clients_ == nullptr) { in OnConnection() 99 that->clients_ = new NetClient(); in OnConnection() 102 tmp->next = that->clients_; in OnConnection() 103 that->clients_ = tmp; in OnConnection() 106 uv_tcp_init(that->loop_, (uv_tcp_t*)&that in OnConnection() 121 NetServer* that = static_cast<NetServer*>(handle->data); OnServerClose() local 138 NetServer* that = static_cast<NetServer*>(req->data); AfterWrite() local 153 TakeDiffactionsByStatus(uv_stream_t* handle, ssize_t nread, const uv_buf_t* buf, NetServer* that) TakeDiffactionsByStatus() argument 213 NetServer* that = static_cast<NetServer*>(handle->data); AfterRead() local [all...] |
H A D | netserver.cpp | 79 NetServer* that = (NetServer*)peer->data; in OnClose() local 80 that->Emit("disconnect", nullptr); in OnClose() 91 NetServer* that = (NetServer*)server->data; in OnConnection() local 94 that->Emit("error", nullptr); in OnConnection() 97 if (that->clients_ == nullptr) { in OnConnection() 98 that->clients_ = new NetClient(); in OnConnection() 101 tmp->next = that->clients_; in OnConnection() 102 that->clients_ = tmp; in OnConnection() 105 uv_tcp_init(that->loop_, (uv_tcp_t*)&that in OnConnection() 120 NetServer* that = (NetServer*)handle->data; OnServerClose() local 137 NetServer* that = (NetServer*)req->data; AfterWrite() local 152 TakeDiffactionsByStatus(uv_stream_t* handle, ssize_t nread, const uv_buf_t* buf, NetServer* that) TakeDiffactionsByStatus() argument 212 NetServer* that = (NetServer*)handle->data; AfterRead() local [all...] |
H A D | net_server.h | 65 const uv_buf_t* buf, NetServer* that);
|
/foundation/ability/ability_runtime/interfaces/kits/native/ability/ability_runtime/ |
H A D | connection_manager.h | 52 inline bool operator < (const ConnectionInfo &that) const in operator <() 54 if (userid < that.userid) { in operator <() 57 if (uiServiceExtProxy < that.uiServiceExtProxy) { in operator <() 60 if (connectCaller < that.connectCaller) { in operator <() 63 if (connectCaller == that.connectCaller && in operator <() 64 connectReceiver.GetBundleName() < that.connectReceiver.GetBundleName()) { in operator <() 67 if (connectCaller == that.connectCaller && in operator <() 68 connectReceiver.GetBundleName() == that.connectReceiver.GetBundleName() && in operator <() 69 connectReceiver.GetModuleName() < that.connectReceiver.GetModuleName()) { in operator <() 72 if (connectCaller == that in operator <() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/overdraw/ |
H A D | rs_overdraw_controller.cpp | 96 auto &that = *reinterpret_cast<RSOverdrawController *>(context); in SwitchFunction() local 97 auto oldEnable = that.enabled_; in SwitchFunction() 99 that.enabled_ = true; in SwitchFunction() 102 that.enabled_ = false; in SwitchFunction() 106 if (oldEnable != that.enabled_ && that.delegate_ != nullptr) { in SwitchFunction() 107 that.delegate_->Repaint(); in SwitchFunction() 113 auto &that = *reinterpret_cast<RSOverdrawController *>(context); in OnColorChange() local 121 if (ss.eof() && colors != that.colors_ && colors.size() > 0) { in OnColorChange() 123 OverdrawColorArray colorArray = that in OnColorChange() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/platform/eventhandler_impl/ |
H A D | epoll_io_waiter_mingw.cpp | 111 auto &that = GetInstance(poll); in OnPoll() local 112 std::lock_guard lock(that.timerMutex_); in OnPoll() 113 UVCALL(uv_timer_stop, &that.timer_); in OnPoll() 114 uv_stop(&that.loop_); in OnPoll() 115 if (that.fdcallback_) { in OnPoll() 117 for (const auto &[fd, p] : that.pollMap_) { in OnPoll() 123 that.fdcallback_(pollfd, events); in OnPoll() 125 that.overtime = false; in OnPoll() 130 auto &that = GetInstance(timer); in OnTimer() local 131 std::lock_guard lock(that in OnTimer() 139 auto &that = GetInstance(signal); OnSignal() local [all...] |
H A D | epoll_io_waiter.h | 61 static EpollIoWaiter &GetInstance(T *that) in GetInstance() argument 63 return *reinterpret_cast<EpollIoWaiter *>(that->data); in GetInstance()
|
/foundation/arkui/napi/native_engine/ |
H A D | native_async_work.cpp | 188 auto that = reinterpret_cast<NativeAsyncWork*>(req->data); in AsyncWorkCallback() local 192 StartTrace(HITRACE_TAG_ACE, "Napi execute, " + that->GetTraceDescription()); in AsyncWorkCallback() 193 if (that->taskTraceId_.IsValid()) { in AsyncWorkCallback() 194 HiTraceId currentId = HiTraceChain::SaveAndSet(that->taskTraceId_); in AsyncWorkCallback() 195 HiTraceChain::Tracepoint(HITRACE_TP_SR, that->taskTraceId_, "%s", TRACE_POINT_ASYNCWORKCALLBACK.c_str()); in AsyncWorkCallback() 196 that->execute_(that->engine_, that->data_); in AsyncWorkCallback() 198 HiTraceChain::Tracepoint(HITRACE_TP_SS, that->taskTraceId_, "%s", TRACE_POINT_ASYNCWORKCALLBACK.c_str()); in AsyncWorkCallback() 203 that in AsyncWorkCallback() 216 auto that = reinterpret_cast<NativeAsyncWork*>(req->data); AsyncAfterWorkCallback() local [all...] |
H A D | native_async_hook_context.h | 67 auto that = reinterpret_cast<NativeAsyncHookContext*>(ref); in FreeGlobalCallBack() local 68 that->resource_.FreeGlobalHandleAddr(); in FreeGlobalCallBack() 69 that->lostReference_ = true; in FreeGlobalCallBack()
|
H A D | native_safe_async_work.cpp | 46 NativeSafeAsyncWork* that = NativeAsyncWork::DereferenceOf(&NativeSafeAsyncWork::asyncHandler_, asyncHandler); in AsyncCallback() local 47 if (that == nullptr) { in AsyncCallback() 51 that->ProcessAsyncHandle(); in AsyncCallback() 359 NativeSafeAsyncWork* that = NativeAsyncWork::DereferenceOf(&NativeSafeAsyncWork::asyncHandler_, in CloseHandles() local 361 that->CleanUp(); in CloseHandles()
|
/foundation/graphic/graphic_2d/rosen/modules/glfw_render_context/src/ |
H A D | glfw_render_context.cpp | 214 const auto &that = reinterpret_cast<GlfwRenderContext *>(glfwGetWindowUserPointer(window)); in OnMouseButton() local 215 if (that->onMouseBotton_) { in OnMouseButton() 216 that->onMouseBotton_(button, action == GLFW_PRESS, mods); in OnMouseButton() 222 const auto &that = reinterpret_cast<GlfwRenderContext *>(glfwGetWindowUserPointer(window)); in OnCursorPos() local 223 if (that->onCursorPos_) { in OnCursorPos() 224 that->onCursorPos_(x, y); in OnCursorPos() 230 const auto &that = reinterpret_cast<GlfwRenderContext *>(glfwGetWindowUserPointer(window)); in OnKey() local 231 if (that->onKey_) { in OnKey() 232 that->onKey_(key, scancode, action, mods); in OnKey() 238 const auto &that in OnChar() local 248 const auto &that = reinterpret_cast<GlfwRenderContext *>(glfwGetWindowUserPointer(window)); OnSizeChanged() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/frame_analyzer/src/ |
H A D | frame_collector.cpp | 191 auto &that = *reinterpret_cast<FrameCollector *>(context); in SwitchFunction() local 192 auto oldEnable = that.enabled_; in SwitchFunction() 195 that.ClearEvents(); in SwitchFunction() 196 that.usingSaver_ = false; in SwitchFunction() 197 that.enabled_ = true; in SwitchFunction() 201 that.ClearEvents(); in SwitchFunction() 202 that.usingSaver_ = true; in SwitchFunction() 203 that.enabled_ = false; in SwitchFunction() 204 that.saver_ = std::make_unique<FrameSaver>(); in SwitchFunction() 208 that in SwitchFunction() [all...] |
/foundation/graphic/graphic_2d/rosen/test/frame_analyzer/unittest/ |
H A D | frame_collector_test.cpp | 260 auto& that = FrameCollector::GetInstance(); in HWTEST_F() local 261 that.enabled_ = true; in HWTEST_F() 263 that.SetRepaintCallback(repaint); in HWTEST_F() 264 FrameCollector::SwitchFunction("debug.graphic.frame", "saver", &that); in HWTEST_F() 265 that.enabled_ = false; in HWTEST_F() 266 that.repaint_ = nullptr; in HWTEST_F() 267 ASSERT_TRUE(that.usingSaver_); in HWTEST_F() 278 auto& that = FrameCollector::GetInstance(); in HWTEST_F() local 279 that.enabled_ = true; in HWTEST_F() 280 FrameCollector::SwitchFunction("debug.graphic.frame", "paint", &that); in HWTEST_F() [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/include/ |
H A D | file_path.h | 35 FilePath(const FilePath &that); 38 FilePath &operator=(const FilePath &that); 39 bool operator==(const FilePath &that) const; 40 bool operator!=(const FilePath &that) const; 41 bool operator<(const FilePath &that) const;
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/round_corner_display/ |
H A D | rs_any.h | 26 RsAny(const RsAny &that) : m_ptr(that.Clone()) {} in RsAny() 27 RsAny(RsAny &&that) : m_ptr(std::move(that.m_ptr)) {} in RsAny()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/ |
H A D | jsi_ref.h | 27 * \brief A class template that holds a strong reference to a javascript value. 34 * A strong reference to a javascript value should only be held when sharing it among owners that outlive 36 * hold a strong reference, but those buttons should hold a weak reference to the parent row if that is 70 JsiRef(const JsiRef<S>& that) : value_(T::Cast(that.Get())) in JsiRef() argument 99 static JsiRef<T> Cast(const JsiRef<S>& that) in Cast() argument 101 return JsiRef<T>::Make(T::Cast(that.Get())); in Cast() 231 auto that = reinterpret_cast<JsiWeak<T>*>(ref); in Reset() local 232 that->Reset(); in Reset()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/ |
H A D | file_path.cpp | 50 FilePath::FilePath(const FilePath &that) : path_(that.path_) in FilePath() argument 59 FilePath &FilePath::operator=(const FilePath &that) in operator =() argument 61 if (&that != this) { in operator =() 62 path_ = that.path_; in operator =() 67 bool FilePath::operator==(const FilePath &that) const in operator ==() 69 return path_ == that.path_; in operator ==() 72 bool FilePath::operator!=(const FilePath &that) const in operator !=() 74 return path_ != that.path_; in operator !=() 77 bool FilePath::operator<(const FilePath &that) cons [all...] |
/foundation/arkui/napi/native_engine/impl/ark/ |
H A D | ark_native_reference.cpp | 180 auto that = reinterpret_cast<ArkNativeReference*>(ref); in FreeGlobalCallBack() local 181 that->value_.FreeGlobalHandleAddr(); in FreeGlobalCallBack() 186 auto that = reinterpret_cast<ArkNativeReference*>(ref); in NativeFinalizeCallBack() local 187 that->FinalizeCallback(FinalizerState::COLLECTION); in NativeFinalizeCallBack()
|
/foundation/graphic/graphic_2d/rosen/modules/texgine/src/opentype_parser/ |
H A D | ranges.h | 52 friend void ReportMemoryUsage(const std::string &member, const Ranges &that, bool needThis);
|
H A D | cmap_parser.h | 50 friend void ReportMemoryUsage(const std::string &member, const CmapParser &that, bool needThis);
|
/foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine/ |
H A D | ifont_provider.h | 49 friend void ReportMemoryUsage(const std::string& member, const IFontProvider& that, const bool needThis);
|
H A D | any_span.h | 47 * @brief AnySpan is a span that can be any width, height and draw any content. 127 friend void ReportMemoryUsage(const std::string& member, const AnySpan& that, const bool needThis);
|
H A D | font_providers.h | 49 * @brief Allocates a FontProviders that have only one FontProvider which is SystemFontProvider. 57 * @param provider FontProvider that's going to be appended to the FontProviders 68 * @brief Generate font collection based on parameter font families and FontProvider that 83 friend void ReportMemoryUsage(const std::string& member, const FontProviders& that, const bool needThis);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_utils_bridge.h | 142 auto that = reinterpret_cast<JsWeak<T>*>(ref); in Reset() local 143 that->Reset(); in Reset()
|