Home
last modified time | relevance | path

Searched refs:name (Results 1 - 25 of 4943) sorted by relevance

12345678910>>...198

/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/
H A Dinterface_macros.h25 #define META_READONLY_PROPERTY_TYPED_IMPL(type, name) \
26 META_NS::ConstProperty<type> name() const noexcept \
28 return META_NS::ConstProperty<type> { this->Property##name() }; \
31 #define META_PROPERTY_TYPED_IMPL(type, name) \
32 META_NS::Property<type> name() noexcept \
34 return META_NS::Property<type> { this->Property##name() }; \
37 #define META_EVENT_TYPED_IMPL(type, name) \
38 ::META_NS::Event<type> name() const \
40 return Event##name(); \
44 * @brief Define read-only property with given type and name
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dproperty.h123 #define ACE_DEFINE_PROPERTY_ITEM_WITH_GROUP_GET(group, name, type) \
125 std::optional<type> Get##name() const \
129 return groupProperty->Get##name(); \
133 bool Has##name() const \
137 return groupProperty->Has##name(); \
141 type Get##name##Value(const type& defaultValue) const \
145 if (groupProperty->Has##name()) { \
146 return groupProperty->Get##name##Value(); \
151 void Reset##name() \
155 groupProperty->Reset##name(); \
[all...]
/foundation/distributeddatamgr/pasteboard/framework/framework/serializable/
H A Dserializable.cpp43 bool Serializable::GetValue(const json node, const std::string &name, std::string &value) in GetValue() argument
45 auto subNode = GetSubNode(node, name); in GetValue()
53 bool Serializable::GetValue(const json node, const std::string &name, uint8_t &value) in GetValue() argument
55 return GetNumber(node, name, value); in GetValue()
58 bool Serializable::GetValue(const json node, const std::string &name, uint16_t &value) in GetValue() argument
60 return GetNumber(node, name, value); in GetValue()
63 bool Serializable::GetValue(const json node, const std::string &name, uint32_t &value) in GetValue() argument
65 return GetNumber(node, name, value); in GetValue()
68 bool Serializable::GetValue(const json node, const std::string &name, uint64_t &value) in GetValue() argument
70 return GetNumber(node, name, valu in GetValue()
73 GetValue(const json node, const std::string &name, int32_t &value) GetValue() argument
78 GetValue(const json node, const std::string &name, int64_t &value) GetValue() argument
83 GetValue(const json node, const std::string &name, bool &value) GetValue() argument
93 GetValue(const json node, const std::string &name, std::vector<uint8_t> &value) GetValue() argument
106 GetValue(const json node, const std::string &name, Serializable &value) GetValue() argument
115 SetValue(json &node, const std::string &value, const std::string &name) SetValue() argument
126 SetValue(json &node, const uint8_t &value, const std::string &name) SetValue() argument
131 SetValue(json &node, const uint16_t &value, const std::string &name) SetValue() argument
136 SetValue(json &node, const uint32_t &value, const std::string &name) SetValue() argument
141 SetValue(json &node, const uint64_t &value, const std::string &name) SetValue() argument
146 SetValue(json &node, const int32_t &value, const std::string &name) SetValue() argument
151 SetValue(json &node, const int64_t &value, const std::string &name) SetValue() argument
156 SetValue(json &node, const bool &value, const std::string &name) SetValue() argument
167 SetValue(json &node, const std::vector<uint8_t> &value, const std::string &name) SetValue() argument
181 SetValue(json &node, const Serializable &value, const std::string &name) SetValue() argument
196 GetSubNode(const json node, const std::string &name) GetSubNode() argument
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/
H A Dimplementation_macros.h30 #define META_ACCESS_PROPERTY(name) metaProperty##name##_
31 #define META_ACCESS_PROPERTY_VALUE(name) metaProperty##name##_->GetValue()
35 #define META_ACCESS_EVENT(name) metaEvent##name##_
44 #define META_DEFINE_PROPERTY_VAR(intf, name, type, defaultValue, flags) \
45 ::META_NS::Property<::META_NS::PropertyType_v<type>> metaProperty##name##_ = \
47 intf, #name, flags, \
48 [] { return ::META_NS::IProperty::Ptr(::META_NS::ConstructProperty<type>(#name, defaultValu
[all...]
/foundation/graphic/graphic_2d/utils/log/
H A Drs_trace.h21 #define ROSEN_TRACE_BEGIN(tag, name) StartTrace(tag, name)
22 #define RS_TRACE_BEGIN(name) ROSEN_TRACE_BEGIN(HITRACE_TAG_GRAPHIC_AGP | HITRACE_TAG_COMMERCIAL, name)
25 #define RS_TRACE_NAME(name) HITRACE_METER_NAME(HITRACE_TAG_GRAPHIC_AGP | HITRACE_TAG_COMMERCIAL, name)
28 #define RS_ASYNC_TRACE_BEGIN(name, value) StartAsyncTrace(HITRACE_TAG_GRAPHIC_AGP | HITRACE_TAG_COMMERCIAL, name, value)
29 #define RS_ASYNC_TRACE_END(name, value) FinishAsyncTrace(HITRACE_TAG_GRAPHIC_AGP | HITRACE_TAG_COMMERCIAL, name, valu
[all...]
H A Drs_trace_crossplatform.h19 #define ROSEN_TRACE_BEGIN(tag, name) OHOS::Rosen::RosenTraceBegin(name)
20 #define RS_TRACE_BEGIN(name) OHOS::Rosen::RosenTraceBegin(name)
23 #define RS_TRACE_NAME(name) OHOS::Rosen::ScopedTrace ___tracer(name)
25 #define RS_ASYNC_TRACE_BEGIN(name, value)
26 #define RS_ASYNC_TRACE_END(name, value)
27 #define RS_TRACE_INT(name, value)
33 void RosenTraceBegin(const char* name);
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_profiler/unittest/
H A Drs_profiler_capturedata_test.cpp32 * @tc.name: TimeTest
46 * @tc.name: StringPropertyTest
54 const std::string name = "String"; in HWTEST_F() local
56 data.SetProperty(name, initial); in HWTEST_F()
57 EXPECT_EQ(initial, data.GetProperty(name)); in HWTEST_F()
61 * @tc.name: FloatPropertyTest
69 const std::string name = "Float"; in HWTEST_F() local
71 data.SetProperty(name, initial); in HWTEST_F()
72 EXPECT_EQ(initial, data.GetPropertyFloat(name)); in HWTEST_F()
76 * @tc.name
84 const std::string name = "Double"; HWTEST_F() local
99 const std::string name = "Int8"; HWTEST_F() local
114 const std::string name = "Uint8"; HWTEST_F() local
129 const std::string name = "Int16"; HWTEST_F() local
144 const std::string name = "Uint16"; HWTEST_F() local
159 const std::string name = "Int32"; HWTEST_F() local
174 const std::string name = "Uint32"; HWTEST_F() local
189 const std::string name = "Int64"; HWTEST_F() local
204 const std::string name = "Uint64"; HWTEST_F() local
[all...]
/foundation/multimedia/image_effect/frameworks/native/render_environment/graphic/
H A Drender_program.cpp25 void RenderProgram::SetUniform(const std::string &name, float value) in SetUniform() argument
27 CHECK_AND_RETURN_LOG(program_ != 0, "RenderProgram SetUniform failed!, name=%{public}s, program=%{public}d", in SetUniform()
28 name.c_str(), program_); in SetUniform()
29 GLint location = glGetUniformLocation(program_, name.c_str()); in SetUniform()
30 CHECK_AND_RETURN_LOG(location != -1, "glGetUniformLocation failed!, name=%{public}s", name.c_str()); in SetUniform()
34 void RenderProgram::SetUniform(const std::string &name, int value) in SetUniform() argument
36 CHECK_AND_RETURN_LOG(program_ != 0, "RenderProgram SetUniform failed!, name=%{public}s, program=%{public}d", in SetUniform()
37 name.c_str(), program_); in SetUniform()
38 GLint location = glGetUniformLocation(program_, name in SetUniform()
43 SetUniform(const std::string &name, unsigned int value) SetUniform() argument
52 SetUniform(const std::string &name, const void *value) SetUniform() argument
76 GetAttributeLocation(const std::string &name) GetAttributeLocation() argument
82 GetUniformLocation(const std::string &name) GetUniformLocation() argument
[all...]
/foundation/arkui/napi/interfaces/inner_api/napi/
H A Dnative_common.h58 #define DECLARE_NAPI_PROPERTY(name, val) \
60 (name), nullptr, nullptr, nullptr, nullptr, val, napi_default, nullptr \
63 #define DECLARE_NAPI_INSTANCE_PROPERTY(name, val) \
65 (name), nullptr, nullptr, nullptr, nullptr, val, \
69 #define DECLARE_NAPI_INSTANCE_OBJECT_PROPERTY(name) \
71 (name), nullptr, nullptr, nullptr, nullptr, nullptr, \
75 #define DECLARE_NAPI_INSTANCE_GENERIC_PROPERTY(name) \
77 (name), nullptr, nullptr, nullptr, nullptr, nullptr, \
81 #define DECLARE_NAPI_DEFAULT_PROPERTY(name, val) \
83 (name), nullpt
[all...]
/foundation/multimedia/image_effect/frameworks/native/efilter/base/
H A Defilter_factory.cpp32 void EFilterFactory::RegisterFunction(const std::string &name, const EFilterFunction &function) in RegisterFunction() argument
34 EFFECT_LOGI("register efilter. name=%{public}s", name.c_str()); in RegisterFunction()
36 auto it = functions_.find(name); in RegisterFunction()
38 auto result = functions_.emplace(name, function); in RegisterFunction()
43 functions_[name] = function; in RegisterFunction()
47 void EFilterFactory::RegisterDelegate(const std::string &name, const std::shared_ptr<IFilterDelegate> &delegate, in RegisterDelegate() argument
50 EFFECT_LOGI("register delegate. name=%{public}s", name.c_str()); in RegisterDelegate()
52 RegisterEFilter<CustomEFilter>(name); in RegisterDelegate()
67 GetDelegate(const std::string &name) GetDelegate() argument
76 Restore(const std::string &name, const EffectJsonPtr &root, void *handler) Restore() argument
87 Create(const std::string &name, void *handler) Create() argument
102 GetEffectInfo(const std::string &name) GetEffectInfo() argument
[all...]
/foundation/ability/ability_lite/services/abilitymgr_lite/include/util/
H A Dabilityms_log.h46 #define PRINTD(name, fmt, ...)
47 #define PRINTI(name, fmt, ...)
48 #define PRINTW(name, fmt, ...)
49 #define PRINTE(name, fmt, ...)
52 #define PRINTD(name, fmt, ...) HILOG_DEBUG(LOG_DOMAIN, "%{public}s::%{public}s(%{public}d): " fmt, \
53 name, __FUNCTION__, __LINE__, ##__VA_ARGS__)
55 #define PRINTD(name, fmt, ...)
57 #define PRINTI(name, fmt, ...) HILOG_INFO(LOG_DOMAIN, "%{public}s::%{public}s(%{public}d): " fmt, \
58 name, __FUNCTION__, __LINE__, ##__VA_ARGS__)
59 #define PRINTW(name, fm
[all...]
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/
H A Dbundlems_log.h46 #define PRINTD(name, fmt, ...)
47 #define PRINTI(name, fmt, ...)
48 #define PRINTW(name, fmt, ...)
49 #define PRINTE(name, fmt, ...)
52 #define PRINTD(name, fmt, ...) HILOG_DEBUG(LOG_DOMAIN, "%{public}s::%{public}s(%{public}d): " fmt, \
53 name, __FUNCTION__, __LINE__, ##__VA_ARGS__)
55 #define PRINTD(name, fmt, ...)
57 #define PRINTI(name, fmt, ...) HILOG_INFO(LOG_DOMAIN, "%{public}s::%{public}s(%{public}d): " fmt, \
58 name, __FUNCTION__, __LINE__, ##__VA_ARGS__)
59 #define PRINTW(name, fm
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_capturedata.cpp42 void RSCaptureData::SetProperty(const std::string& name, const std::string& value) in SetProperty() argument
44 properties_[name] = value; in SetProperty()
47 const std::string& RSCaptureData::GetProperty(const std::string& name) const in GetProperty()
50 const auto found = properties_.find(name); in GetProperty()
54 float RSCaptureData::GetPropertyFloat(const std::string& name) const in GetPropertyFloat()
56 return Utils::ToFp32(GetProperty(name)); in GetPropertyFloat()
59 double RSCaptureData::GetPropertyDouble(const std::string& name) const in GetPropertyDouble()
61 return Utils::ToFp64(GetProperty(name)); in GetPropertyDouble()
64 int8_t RSCaptureData::GetPropertyInt8(const std::string& name) const in GetPropertyInt8()
66 return Utils::ToInt8(GetProperty(name)); in GetPropertyInt8()
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/log/
H A Dwifi_logger.h30 #define DEFINE_WIFILOG_LABEL(name) \
31 static constexpr OHOS::HiviewDFX::HiLogLabel WIFI_LOG_LABEL = {LOG_CORE, OHOS::Wifi::LOG_ID_WIFI, name};
32 #define DEFINE_WIFILOG_HOTSPOT_LABEL(name) \
33 static constexpr OHOS::HiviewDFX::HiLogLabel WIFI_LOG_LABEL = {LOG_CORE, OHOS::Wifi::LOG_ID_WIFI_HOTSPOT, name};
34 #define DEFINE_WIFILOG_SCAN_LABEL(name) \
35 static constexpr OHOS::HiviewDFX::HiLogLabel WIFI_LOG_LABEL = {LOG_CORE, OHOS::Wifi::LOG_ID_WIFI_SCAN, name};
36 #define DEFINE_WIFILOG_P2P_LABEL(name) \
37 static constexpr OHOS::HiviewDFX::HiLogLabel WIFI_LOG_LABEL = {LOG_CORE, OHOS::Wifi::LOG_ID_WIFI_P2P, name};
38 #define DEFINE_WIFILOG_AWARE_LABEL(name) \
39 static constexpr OHOS::HiviewDFX::HiLogLabel WIFI_LOG_LABEL = {LOG_CORE, OHOS::Wifi::LOG_ID_WIFI_AWARE, name};
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_v2/common/
H A Dcommon_def.h24 #define ACE_DEFINE_COMPONENT_EVENT(name, func) \
26 std::unique_ptr<std::function<func>> event##name##_; \
28 const std::unique_ptr<std::function<func>>& Get##name() const \
30 return event##name##_; \
32 void Set##name(std::function<func>&& event##name) \
34 if (event##name) { \
35 event##name##_ = std::make_unique<std::function<func>>(std::move(event##name)); \
37 event##name##
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/effect/
H A Druntime_shader_builder.cpp39 void RuntimeShaderBuilder::SetChild(const std::string& name, std::shared_ptr<ShaderEffect> shader) in SetChild() argument
41 impl_->SetChild(name, shader); in SetChild()
44 void RuntimeShaderBuilder::SetUniform(const std::string& name, float val) in SetUniform() argument
46 impl_->SetUniform(name, val); in SetUniform()
49 void RuntimeShaderBuilder::SetUniform(const std::string& name, float x, float y) in SetUniform() argument
51 impl_->SetUniform(name, x, y); in SetUniform()
54 void RuntimeShaderBuilder::SetUniform(const std::string& name, float x, float y, float z) in SetUniform() argument
56 impl_->SetUniform(name, x, y, z); in SetUniform()
59 void RuntimeShaderBuilder::SetUniform(const std::string& name, float x, float y, float width, float height) in SetUniform() argument
61 impl_->SetUniform(name, in SetUniform()
64 SetUniform(const std::string& name, const float values[], size_t size) SetUniform() argument
69 SetUniform(const std::string& name, const Matrix& uniformMatrix33) SetUniform() argument
74 SetUniform(const std::string& name, const Matrix44& uniformMatrix44) SetUniform() argument
79 SetUniformVec4(const std::string& name, float x, float y, float z, float w) SetUniformVec4() argument
[all...]
/foundation/graphic/graphic_surface/utils/trace/
H A Dsurface_trace.h20 #define SURFACE_ROSEN_TRACE_BEGIN(tag, name) StartTrace(tag, name)
21 #define SURFACE_TRACE_BEGIN(name) \
22 SURFACE_ROSEN_TRACE_BEGIN(HITRACE_TAG_GRAPHIC_AGP | HITRACE_TAG_COMMERCIAL, name)
26 #define SURFACE_TRACE_NAME(name) \
27 HITRACE_METER_NAME(HITRACE_TAG_GRAPHIC_AGP | HITRACE_TAG_COMMERCIAL, name)
30 #define SURFACE_ASYNC_TRACE_BEGIN(name, value) \
31 StartAsyncTrace(HITRACE_TAG_GRAPHIC_AGP | HITRACE_TAG_COMMERCIAL, name, value)
32 #define SURFACE_ASYNC_TRACE_END(name, value) \
33 FinishAsyncTrace(HITRACE_TAG_GRAPHIC_AGP | HITRACE_TAG_COMMERCIAL, name, valu
[all...]
/foundation/distributeddatamgr/pasteboard/framework/framework/include/serializable/
H A Dserializable.h38 API_EXPORT static bool GetValue(const json node, const std::string &name, std::string &value);
39 API_EXPORT static bool GetValue(const json node, const std::string &name, uint8_t &value);
40 API_EXPORT static bool GetValue(const json node, const std::string &name, uint16_t &value);
41 API_EXPORT static bool GetValue(const json node, const std::string &name, uint32_t &value);
42 API_EXPORT static bool GetValue(const json node, const std::string &name, uint64_t &value);
43 API_EXPORT static bool GetValue(const json node, const std::string &name, int32_t &value);
44 API_EXPORT static bool GetValue(const json node, const std::string &name, int64_t &value);
45 API_EXPORT static bool GetValue(const json node, const std::string &name, bool &value);
46 API_EXPORT static bool GetValue(const json node, const std::string &name, std::vector<uint8_t> &value);
47 API_EXPORT static bool GetValue(const json node, const std::string &name, Serializabl
[all...]
/foundation/arkui/ace_engine/frameworks/base/log/
H A Dace_trace.cpp29 char name[MAX_STRING_SIZE] = { 0 }; in AceTraceBeginWithArgv() local
30 if (vsnprintf_s(name, sizeof(name), sizeof(name) - 1, format, args) < 0) { in AceTraceBeginWithArgv()
33 AceTraceBegin(name); in AceTraceBeginWithArgv()
39 char name[MAX_STRING_SIZE] = { 0 }; in AceTraceBeginWithArgvCommercial() local
40 if (vsnprintf_s(name, sizeof(name), sizeof(name) - 1, format, args) < 0) { in AceTraceBeginWithArgvCommercial()
43 AceTraceBeginCommercial(name); in AceTraceBeginWithArgvCommercial()
58 char name[MAX_STRING_SIZE] = { 0 }; AceCountTraceWidthArgs() local
117 char name[MAX_STRING_SIZE] = { 0 }; AceAsyncTraceBeginWithArgv() local
129 std::string name = AceAsyncTraceBeginWithArgv(taskId, format, args); AceAsyncTraceBeginWithArgs() local
[all...]
/foundation/arkui/ace_engine/frameworks/base/thread/
H A Dtask_executor.h70 * @param name Name of the task.
74 Task&& task, TaskType type, const std::string& name, PriorityType priorityType = PriorityType::LOW) const in PostTask()
76 return PostDelayedTask(std::move(task), type, 0, name, priorityType); in PostTask()
84 * @param name Name of the task.
87 bool PostTask(const Task& task, TaskType type, const std::string& name, in PostTask() argument
90 return PostDelayedTask(task, type, 0, name, priorityType); in PostTask()
99 * @param name Name of the task.
102 bool PostTaskWithTraceId(Task&& task, TaskType type, int32_t id, const std::string& name) const in PostTaskWithTraceId()
105 return PostDelayedTask(std::move(wrappedTask), type, 0, name); in PostTaskWithTraceId()
114 * @param name Nam
73 PostTask( Task&& task, TaskType type, const std::string& name, PriorityType priorityType = PriorityType::LOW) const PostTask() argument
133 PostDelayedTask(Task&& task, TaskType type, uint32_t delayTime, const std::string& name, PriorityType priorityType = PriorityType::LOW) const PostDelayedTask() argument
152 PostDelayedTask(const Task& task, TaskType type, uint32_t delayTime, const std::string& name, PriorityType priorityType = PriorityType::LOW) const PostDelayedTask() argument
167 PostSyncTask( Task&& task, TaskType type, const std::string& name, PriorityType priorityType = PriorityType::IMMEDIATE) const PostSyncTask() argument
262 PostDelayedTaskWithoutTraceId(Task&& task, TaskType type, uint32_t delayTime, const std::string& name, PriorityType priorityType = PriorityType::LOW) const PostDelayedTaskWithoutTraceId() argument
304 PostTaskAndWait(CancelableTask&& task, TaskType type, const std::string& name, std::chrono::milliseconds timeoutMs = 0ms, PriorityType priorityType = PriorityType::IMMEDIATE) const PostTaskAndWait() argument
[all...]
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dace_trace.cpp28 void AceTraceBegin(const char* name) in AceTraceBegin() argument
30 CHECK_NULL_VOID(name); in AceTraceBegin()
31 std::string nameStr(name); in AceTraceBegin()
40 void AceTraceBeginCommercial(const char* name) in AceTraceBeginCommercial() argument
42 StartTrace(ACE_TRACE_COMMERCIAL, name); in AceTraceBeginCommercial()
50 void AceAsyncTraceBegin(int32_t taskId, const char* name, bool isAnimationTrace) in AceAsyncTraceBegin() argument
52 CHECK_NULL_VOID(name); in AceAsyncTraceBegin()
53 std::string nameStr(name); in AceAsyncTraceBegin()
61 void AceAsyncTraceEnd(int32_t taskId, const char* name, bool isAnimationTrace) in AceAsyncTraceEnd() argument
63 CHECK_NULL_VOID(name); in AceAsyncTraceEnd()
72 AceAsyncTraceBeginCommercial(int32_t taskId, const char* name, bool isAnimationTrace) AceAsyncTraceBeginCommercial() argument
83 AceAsyncTraceEndCommercial(int32_t taskId, const char* name, bool isAnimationTrace) AceAsyncTraceEndCommercial() argument
[all...]
/foundation/window/window_manager/utils/src/
H A Dsingleton_container.cpp56 void SingletonContainer::AddSingleton(const std::string& name, void* instance) in AddSingleton() argument
58 if (stringMap.find(name) == stringMap.end()) { in AddSingleton()
62 WLOGD("add %{public}s", name.c_str()); in AddSingleton()
63 stringMap[name] = nextId++; in AddSingleton()
65 WLOGFE("add failed: %{public}s", name.c_str()); in AddSingleton()
69 void SingletonContainer::SetSingleton(const std::string& name, void* instance) in SetSingleton() argument
71 if (stringMap.find(name) == stringMap.end()) { in SetSingleton()
72 AddSingleton(name, instance); in SetSingleton()
74 WLOGI("set %{public}s", name.c_str()); in SetSingleton()
75 singletonMap[stringMap[name]] in SetSingleton()
79 GetSingleton(const std::string& name) GetSingleton() argument
92 DependOn(const std::string& instance, const std::string& name) DependOn() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/model/
H A Dmodel_property.h21 #define DEFINE_NEEDS_SETUP_FLAG_PROPERTY(name, defaultVal, changeFlag) \
23 bool Needs##name##Setup() const \
25 return needs##name##Setup_; \
27 void UpdateNeeds##name##Setup(const bool value) \
29 needs##name##Setup_ = value; \
34 bool CloneNeeds##name##Setup() const \
36 return needs##name##Setup_; \
39 bool needs##name##Setup_ = (defaultVal)
41 #define DEFINE_NEEDS_SETUP_FLAG_TRIGGER_PROPERTY(name, type, trigger, changeFlag) \
42 ACE_DEFINE_PROPERTY_ITEM_WITHOUT_GROUP_AND_USING_CALLBACK(name, typ
[all...]
/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/type/
H A Dhdi_native_buffer_type_emitter.cpp57 void HdiNativeBufferTypeEmitter::EmitCWriteVar(TypeMode mode, const std::string &name, in EmitCWriteVar() argument
62 name.c_str()); in EmitCWriteVar()
63 sb.Append(prefix + TAB).AppendFormat("HDF_LOGE(\"%%{public}s: failed to write %s\", __func__);\n", name.c_str()); in EmitCWriteVar()
68 void HdiNativeBufferTypeEmitter::EmitCProxyReadVar(const std::string &name, bool isInnerType, in EmitCProxyReadVar() argument
75 sb.AppendFormat("%s = HdfSbufReadNativeBufferHandle(%s);\n", name.c_str(), replyParcelName_.c_str()); in EmitCProxyReadVar()
76 sb.Append(prefix).AppendFormat("if (%s == NULL) {\n", name.c_str()); in EmitCProxyReadVar()
77 sb.Append(prefix + TAB).AppendFormat("HDF_LOGE(\"%%{public}s: read %s failed!\", __func__);\n", name.c_str()); in EmitCProxyReadVar()
83 void HdiNativeBufferTypeEmitter::EmitCStubReadVar(const std::string &name, const std::string &gotoLabel, in EmitCStubReadVar() argument
86 sb.Append(prefix).AppendFormat("%s = HdfSbufReadNativeBufferHandle(%s);\n", name.c_str(), dataParcelName_.c_str()); in EmitCStubReadVar()
87 sb.Append(prefix).AppendFormat("if (%s == NULL) {\n", name in EmitCStubReadVar()
94 EmitCppWriteVar(const std::string &parcelName, const std::string &name, StringBuilder &sb, const std::string &prefix, unsigned int innerLevel) const EmitCppWriteVar() argument
103 EmitCppReadVar(const std::string &name, StringBuilder &sb, const std::string &prefix, TypeMode mode, unsigned int innerLevel) const EmitCppReadVar() argument
114 EmitCMarshalling(const std::string &name, StringBuilder &sb, const std::string &prefix) const EmitCMarshalling() argument
123 EmitCUnMarshalling(const std::string &name, const std::string &gotoLabel, StringBuilder &sb, const std::string &prefix, std::vector<std::string> &freeObjStatements) const EmitCUnMarshalling() argument
134 EmitCppMarshalling(const std::string &parcelName, const std::string &name, StringBuilder &sb, const std::string &prefix, unsigned int innerLevel) const EmitCppMarshalling() argument
143 EmitCppUnMarshalling(const std::string &parcelName, const std::string &name, StringBuilder &sb, const std::string &prefix, unsigned int innerLevel) const EmitCppUnMarshalling() argument
153 EmitMemoryRecycle( const std::string &name, bool ownership, StringBuilder &sb, const std::string &prefix) const EmitMemoryRecycle() argument
[all...]
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/
H A Dobject_radar_reporter.cpp23 { .name = { "ORG_PKG" }, in ReportStateFinished()
27 { .name = { "FUNC" }, in ReportStateFinished()
31 { .name = { "BIZ_SCENE" }, in ReportStateFinished()
35 { .name = { "BIZ_STAGE" }, in ReportStateFinished()
39 { .name = { "STAGE_RES" }, in ReportStateFinished()
43 { .name = { "BIZ_STATE" }, in ReportStateFinished()
60 { .name = { "ORG_PKG" }, in ReportStage()
64 { .name = { "FUNC" }, in ReportStage()
68 { .name = { "BIZ_SCENE" }, in ReportStage()
72 { .name in ReportStage()
[all...]

Completed in 8 milliseconds

12345678910>>...198