/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/ |
H A D | interface_macros.h | 25 #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...] |
/base/startup/bootstrap_lite/services/source/ |
H A D | core_main.h | 23 #define SYS_NAME(name, step) ".zinitcall.sys." #name #step ".init"
24 #define MODULE_NAME(name, step) ".zinitcall." #name #step ".init"
26 #define SYS_CALL(name, step) \
28 InitCall *initcall = (InitCall *)(SYS_BEGIN(name, step)); \
29 InitCall *initend = (InitCall *)(SYS_END(name, step)); \
35 #define MODULE_CALL(name, step) \
37 InitCall *initcall = (InitCall *)(MODULE_BEGIN(name, step)); \
38 InitCall *initend = (InitCall *)(MODULE_END(name, ste [all...] |
H A D | bootstrap_service.h | 23 #define APP_NAME(name, step) ".zinitcall.app." #name #step ".init"
24 #define MODULE_NAME(name, step) ".zinitcall." #name #step ".init"
26 #define APP_CALL(name, step) \
28 InitCall *initcall = (InitCall *)(APP_BEGIN(name, step)); \
29 InitCall *initend = (InitCall *)(APP_END(name, step)); \
35 #define MODULE_CALL(name, step) \
37 InitCall *initcall = (InitCall *)(MODULE_BEGIN(name, step)); \
38 InitCall *initend = (InitCall *)(MODULE_END(name, ste [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | property.h | 123 #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...] |
/base/hiviewdfx/hiappevent/frameworks/native/ndk/ |
H A D | hiappevent_ndk.c | 36 #define ADD_BOOL_PARAM(list, name, uValue) \ 37 AddParamValue(list, name, NEW_PARAM(BOOL_PARAM, bool_v, uValue, 0)) 38 #define ADD_BOOL_ARR_PARAM(list, name, uValue, len) \ 39 AddParamValue(list, name, NEW_PARAM(BOOL_ARR_PARAM, bool_arr_v, uValue, len)) 40 #define ADD_INT8_PARAM(list, name, uValue) \ 41 AddParamValue(list, name, NEW_PARAM(INT8_PARAM, int8_v, uValue, 0)) 42 #define ADD_INT8_ARR_PARAM(list, name, uValue, len) \ 43 AddParamValue(list, name, NEW_PARAM(INT8_ARR_PARAM, int8_arr_v, uValue, len)) 44 #define ADD_INT16_PARAM(list, name, uValue) \ 45 AddParamValue(list, name, NEW_PARA 69 CreateParamEntry(const char* name, ParamValue* value) CreateParamEntry() argument 115 AddParamValue(ParamList list, const char* name, ParamValue* value) AddParamValue() argument 160 OH_HiAppEvent_AddBoolParam(ParamList list, const char* name, bool boolean) OH_HiAppEvent_AddBoolParam() argument 168 OH_HiAppEvent_AddBoolArrayParam(ParamList list, const char* name, const bool* booleans, int arrSize) OH_HiAppEvent_AddBoolArrayParam() argument 176 OH_HiAppEvent_AddInt8Param(ParamList list, const char* name, int8_t num) OH_HiAppEvent_AddInt8Param() argument 184 OH_HiAppEvent_AddInt8ArrayParam(ParamList list, const char* name, const int8_t* nums, int arrSize) OH_HiAppEvent_AddInt8ArrayParam() argument 192 OH_HiAppEvent_AddInt16Param(ParamList list, const char* name, int16_t num) OH_HiAppEvent_AddInt16Param() argument 200 OH_HiAppEvent_AddInt16ArrayParam(ParamList list, const char* name, const int16_t* nums, int arrSize) OH_HiAppEvent_AddInt16ArrayParam() argument 208 OH_HiAppEvent_AddInt32Param(ParamList list, const char* name, int32_t num) OH_HiAppEvent_AddInt32Param() argument 216 OH_HiAppEvent_AddInt32ArrayParam(ParamList list, const char* name, const int32_t* nums, int arrSize) OH_HiAppEvent_AddInt32ArrayParam() argument 224 OH_HiAppEvent_AddInt64Param(ParamList list, const char* name, int64_t num) OH_HiAppEvent_AddInt64Param() argument 232 OH_HiAppEvent_AddInt64ArrayParam(ParamList list, const char* name, const int64_t* nums, int arrSize) OH_HiAppEvent_AddInt64ArrayParam() argument 240 OH_HiAppEvent_AddFloatParam(ParamList list, const char* name, float num) OH_HiAppEvent_AddFloatParam() argument 248 OH_HiAppEvent_AddFloatArrayParam(ParamList list, const char* name, const float* nums, int arrSize) OH_HiAppEvent_AddFloatArrayParam() argument 256 OH_HiAppEvent_AddDoubleParam(ParamList list, const char* name, double num) OH_HiAppEvent_AddDoubleParam() argument 264 OH_HiAppEvent_AddDoubleArrayParam(ParamList list, const char* name, const double* nums, int arrSize) OH_HiAppEvent_AddDoubleArrayParam() argument 272 OH_HiAppEvent_AddStringParam(ParamList list, const char* name, const char* str) OH_HiAppEvent_AddStringParam() argument 280 OH_HiAppEvent_AddStringArrayParam(ParamList list, const char* name, const char* const *strs, int arrSize) OH_HiAppEvent_AddStringArrayParam() argument 288 OH_HiAppEvent_Configure(const char* name, const char* value) OH_HiAppEvent_Configure() argument 293 OH_HiAppEvent_CreateWatcher(const char *name) OH_HiAppEvent_CreateWatcher() argument 344 OH_HiAppEvent_Write(const char* domain, const char* name, enum EventType type, const ParamList list) OH_HiAppEvent_Write() argument 349 OH_HiAppEvent_CreateProcessor(const char* name) OH_HiAppEvent_CreateProcessor() argument 365 OH_HiAppEvent_SetReportEvent(struct HiAppEvent_Processor* processor, const char* domain, const char* name, bool isRealTime) OH_HiAppEvent_SetReportEvent() argument [all...] |
/base/useriam/user_auth_framework/services/base/src/ |
H A D | thread_handler_manager.cpp | 43 bool ThreadHandlerManager::CreateThreadHandler(const std::string &name) in CreateThreadHandler() argument 46 if (threadHandlerMap_.find(name) != threadHandlerMap_.end()) { in CreateThreadHandler() 47 IAM_LOGE("thread handler %{public}s already exist", name.c_str()); in CreateThreadHandler() 50 auto threadHandler = Common::MakeShared<ThreadHandlerImpl>(name, true); in CreateThreadHandler() 52 threadHandlerMap_.emplace(name, threadHandler); in CreateThreadHandler() 53 IAM_LOGI("thread handler %{public}s create success", name.c_str()); in CreateThreadHandler() 57 void ThreadHandlerManager::DestroyThreadHandler(const std::string &name) in DestroyThreadHandler() argument 59 if (name == SINGLETON_THREAD_NAME) { in DestroyThreadHandler() 60 IAM_LOGE("thread handler %{public}s cannot detroy", name.c_str()); in DestroyThreadHandler() 66 if (threadHandlerMap_.find(name) in DestroyThreadHandler() 86 DeleteThreadHandler(const std::string &name) DeleteThreadHandler() argument 103 GetThreadHandler(const std::string &name) GetThreadHandler() argument 113 PostTask(const std::string &name, const std::function<void()> &task) PostTask() argument [all...] |
/foundation/distributeddatamgr/pasteboard/framework/framework/serializable/ |
H A D | serializable.cpp | 43 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 D | implementation_macros.h | 30 #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...] |
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/ |
H A D | hiappevent_c.cpp | 41 void AddArrayParam(std::shared_ptr<AppEventPack>& appEventPack, const char* name, const T* arr, int len) in AddArrayParam() argument 44 appEventPack->AddParam(name, params); in AddArrayParam() 47 using ParamAdder = void (*)(std::shared_ptr<AppEventPack>& appEventPack, const char* name, const ParamValue* value); 49 void AddBoolParamValue(std::shared_ptr<AppEventPack>& appEventPack, const char* name, const ParamValue* value) in AddBoolParamValue() argument 51 appEventPack->AddParam(name, value->value.bool_v); in AddBoolParamValue() 54 void AddBoolArrayParamValue(std::shared_ptr<AppEventPack>& appEventPack, const char* name, const ParamValue* value) in AddBoolArrayParamValue() argument 56 AddArrayParam(appEventPack, name, value->value.bool_arr_v, value->arrSize); in AddBoolArrayParamValue() 59 void AddInt8ParamValue(std::shared_ptr<AppEventPack>& appEventPack, const char* name, const ParamValue* value) in AddInt8ParamValue() argument 61 appEventPack->AddParam(name, value->value.int8_v); in AddInt8ParamValue() 64 void AddInt8ArrayParamValue(std::shared_ptr<AppEventPack>& appEventPack, const char* name, cons argument 69 AddInt16ParamValue(std::shared_ptr<AppEventPack>& appEventPack, const char* name, const ParamValue* value) AddInt16ParamValue() argument 74 AddInt16ArrayParamValue(std::shared_ptr<AppEventPack>& appEventPack, const char* name, const ParamValue* value) AddInt16ArrayParamValue() argument 79 AddInt32ParamValue(std::shared_ptr<AppEventPack>& appEventPack, const char* name, const ParamValue* value) AddInt32ParamValue() argument 84 AddInt32ArrayParamValue(std::shared_ptr<AppEventPack>& appEventPack, const char* name, const ParamValue* value) AddInt32ArrayParamValue() argument 89 AddInt64ParamValue(std::shared_ptr<AppEventPack>& appEventPack, const char* name, const ParamValue* value) AddInt64ParamValue() argument 94 AddInt64ArrayParamValue(std::shared_ptr<AppEventPack>& appEventPack, const char* name, const ParamValue* value) AddInt64ArrayParamValue() argument 99 AddFloatParamValue(std::shared_ptr<AppEventPack>& appEventPack, const char* name, const ParamValue* value) AddFloatParamValue() argument 104 AddFloatArrayParamValue(std::shared_ptr<AppEventPack>& appEventPack, const char* name, const ParamValue* value) AddFloatArrayParamValue() argument 109 AddDoubleParamValue(std::shared_ptr<AppEventPack>& appEventPack, const char* name, const ParamValue* value) AddDoubleParamValue() argument 114 AddDoubleArrayParamValue(std::shared_ptr<AppEventPack>& appEventPack, const char* name, const ParamValue* value) AddDoubleArrayParamValue() argument 119 AddStringParamValue(std::shared_ptr<AppEventPack>& appEventPack, const char* name, const ParamValue* value) AddStringParamValue() argument 124 AddStringArrayParamValue(std::shared_ptr<AppEventPack>& appEventPack, const char* name, const ParamValue* value) AddStringArrayParamValue() argument 148 AddParamValue(std::shared_ptr<AppEventPack>& appEventPack, const char* name, const ParamValue* value) AddParamValue() argument 181 HiAppEventInnerConfigure(const char* name, const char* value) HiAppEventInnerConfigure() argument 190 HiAppEventInnerWrite(const char* domain, const char* name, EventType type, const ParamList list) HiAppEventInnerWrite() argument [all...] |
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/ |
H A D | hisysevent_record_c.cpp | 26 int GetParamValue(const HiSysEventRecordC& record, const char* name, T& value)
in GetParamValue() argument 28 if (record.jsonStr == nullptr || name == nullptr) {
in GetParamValue() 32 return recordObj.GetParamValue(name, value);
in GetParamValue() 35 int GetParamValue(const HiSysEventRecordC& record, const char* name, char** value)
in GetParamValue() argument 37 if (record.jsonStr == nullptr || name == nullptr) {
in GetParamValue() 42 if (auto res = recordObj.GetParamValue(name, str); res != 0) {
in GetParamValue() 49 int GetParamValues(const HiSysEventRecordC& record, const char* name, T** value, size_t& len)
in GetParamValues() argument 51 if (record.jsonStr == nullptr || name == nullptr) {
in GetParamValues() 56 if (auto res = recordObj.GetParamValue(name, dataVec); res != 0) {
in GetParamValues() 74 int GetParamValues(const HiSysEventRecordC& record, const char* name, cha argument 104 GetParamInt64Value(const HiSysEventRecordC& record, const char* name, int64_t& value) GetParamInt64Value() argument 109 GetParamUint64Value(const HiSysEventRecordC& record, const char* name, uint64_t& value) GetParamUint64Value() argument 114 GetParamDoubleValue(const HiSysEventRecordC& record, const char* name, double& value) GetParamDoubleValue() argument 119 GetParamStringValue(const HiSysEventRecordC& record, const char* name, char** value) GetParamStringValue() argument 124 GetParamInt64Values(const HiSysEventRecordC& record, const char* name, int64_t** value, size_t& len) GetParamInt64Values() argument 129 GetParamUint64Values(const HiSysEventRecordC& record, const char* name, uint64_t** value, size_t& len) GetParamUint64Values() argument 134 GetParamDoubleValues(const HiSysEventRecordC& record, const char* name, double** value, size_t& len) GetParamDoubleValues() argument 139 GetParamStringValues(const HiSysEventRecordC& record, const char* name, char*** value, size_t& len) GetParamStringValues() argument 154 OH_HiSysEvent_GetParamInt64Value(const HiSysEventRecordC* record, const char* name, int64_t* value) OH_HiSysEvent_GetParamInt64Value() argument 159 OH_HiSysEvent_GetParamUint64Value(const HiSysEventRecordC* record, const char* name, uint64_t* value) OH_HiSysEvent_GetParamUint64Value() argument 164 OH_HiSysEvent_GetParamDoubleValue(const HiSysEventRecordC* record, const char* name, double* value) OH_HiSysEvent_GetParamDoubleValue() argument 169 OH_HiSysEvent_GetParamStringValue(const HiSysEventRecordC* record, const char* name, char** value) OH_HiSysEvent_GetParamStringValue() argument 174 OH_HiSysEvent_GetParamInt64Values(const HiSysEventRecordC* record, const char* name, int64_t** value, size_t* len) OH_HiSysEvent_GetParamInt64Values() argument 179 OH_HiSysEvent_GetParamUint64Values(const HiSysEventRecordC* record, const char* name, uint64_t** value, size_t* len) OH_HiSysEvent_GetParamUint64Values() argument 184 OH_HiSysEvent_GetParamDoubleValues(const HiSysEventRecordC* record, const char* name, double** value, size_t* len) OH_HiSysEvent_GetParamDoubleValues() argument 189 OH_HiSysEvent_GetParamStringValues(const HiSysEventRecordC* record, const char* name, char*** value, size_t* len) OH_HiSysEvent_GetParamStringValues() argument [all...] |
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_profiler/unittest/ |
H A D | rs_profiler_capturedata_test.cpp | 32 * @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/graphic/graphic_2d/utils/log/ |
H A D | rs_trace.h | 21 #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...] |
/base/security/asset/services/db_operator/src/ |
H A D | types.rs | 25 /// Table name of asset database. 43 /// Column name of asset database. 45 /// Column name of the primary key Id. 47 /// Column name of secret cipher. 49 /// Column name of data alias. 51 /// Column name of data owner. 53 /// Column name of owner type. 55 /// Column name of unique id of a group. (reserved) 57 /// Column name of data synchronization type. 59 /// Column name o [all...] |
/base/inputmethod/imf/services/json/src/ |
H A D | serializable.cpp | 54 bool Serializable::GetValue(cJSON *node, const std::string &name, std::string &value) in GetValue() argument 56 auto subNode = GetSubNode(node, name); in GetValue() 58 IMSA_HILOGD("%{public}s not string!", name.c_str()); in GetValue() 65 bool Serializable::GetValue(cJSON *node, const std::string &name, int32_t &value) in GetValue() argument 67 auto subNode = GetSubNode(node, name); in GetValue() 69 IMSA_HILOGD("%{public}s not number!", name.c_str()); in GetValue() 76 bool Serializable::GetValue(cJSON *node, const std::string &name, uint32_t &value) in GetValue() argument 78 auto subNode = GetSubNode(node, name); in GetValue() 80 IMSA_HILOGD("%{public}s not number", name.c_str()); in GetValue() 85 IMSA_HILOGD("%{public}s is negative", name in GetValue() 92 GetValue(cJSON *node, const std::string &name, bool &value) GetValue() argument 103 GetValue(cJSON *node, const std::string &name, Serializable &value) GetValue() argument 113 SetValue(cJSON *node, const std::string &name, const std::string &value) SetValue() argument 119 SetValue(cJSON *node, const std::string &name, const int32_t &value) SetValue() argument 125 GetSubNode(cJSON *node, const std::string &name) GetSubNode() argument [all...] |
/foundation/arkui/napi/interfaces/inner_api/napi/ |
H A D | native_common.h | 58 #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 D | efilter_factory.cpp | 32 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/multimedia/image_effect/frameworks/native/render_environment/graphic/ |
H A D | render_program.cpp | 25 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/ability/ability_lite/services/abilitymgr_lite/include/util/ |
H A D | abilityms_log.h | 46 #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 D | bundlems_log.h | 46 #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 D | rs_profiler_capturedata.cpp | 42 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 D | wifi_logger.h | 30 #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/distributeddatamgr/pasteboard/framework/framework/include/serializable/ |
H A D | serializable.h | 38 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/thread/ |
H A D | task_executor.h | 70 * @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/frameworks/core/components_v2/common/ |
H A D | common_def.h | 24 #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 D | runtime_shader_builder.cpp | 39 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...] |