Home
last modified time | relevance | path

Searched refs:obj (Results 1 – 25 of 1660) sorted by relevance

12345678910>>...67

/ohos5.0/base/notification/common_event_service/interfaces/kits/napi/support/src/
H A Dsupport.cpp37 obj, in SupportInit()
72 obj, in SupportInit()
76 obj, in SupportInit()
88 obj, in SupportInit()
107 obj, in SupportInit()
114 obj, in SupportInit()
120 obj, in SupportInit()
124 obj, in SupportInit()
128 obj, in SupportInit()
134 obj, in SupportInit()
[all …]
/ohos5.0/base/security/device_auth/common_lib/interfaces/
H A Dhc_vector.h57 uint32_t size = obj->size(obj); \
58 return obj->getp(obj, size - 1); \
69 uint32_t size = obj->size(obj); \
79 if (obj->size(obj) > 0) { \
86 if (NULL == obj || NULL == e || index + 1 > obj->size(obj)) { \
89 if (obj->size(obj) > 0) { \
107 if (index < obj->size(obj)) { \
121 if (index < obj->size(obj)) { \
165 #define HC_VECTOR_PUSHBACK(obj, element) (obj)->pushBack((obj), (element)) argument
168 #define HC_VECTOR_SIZE(obj) (obj)->size(obj) argument
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/
H A Djs_click_function.cpp36 JSRef<JSObject> obj = JSRef<JSObject>::New(); in Execute() local
54 obj->SetPropertyObject("target", target); in Execute()
62 JSRef<JSVal> param = obj; in Execute()
95 obj->SetPropertyObject("target", target); in Execute()
96 obj->Wrap<GestureEvent>(&info); in Execute()
120 obj->SetPropertyObject( in Execute()
134 obj->Wrap<MouseInfo>(&info); in Execute()
179 JSRef<JSVal> param = obj; in Execute()
213 obj->Wrap<GestureEvent>(&info); in Execute()
237 obj->SetPropertyObject( in Execute()
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dconstant.cpp34 napi_value obj = nullptr; in RemoveReasonInit() local
52 napi_value obj = nullptr; in SlotTypeInit() local
77 napi_value obj = nullptr; in SlotLevelInit() local
98 napi_value obj = nullptr; in SemanticActionButtonInit() local
132 napi_value obj = nullptr; in InputsSourceInit() local
150 napi_value obj = nullptr; in DoNotDisturbMode() local
171 napi_value obj = nullptr; in InputEditTypeInit() local
190 napi_value obj = nullptr; in ContentTypeInit() local
220 napi_value obj = nullptr; in DoNotDisturbTypeInit() local
240 napi_value obj = nullptr; in DeviceRemindTypeInit() local
[all …]
/ohos5.0/drivers/hdf_core/framework/model/network/wifi/platform/include/message/
H A Dshared_obj.h16 struct OBJ_TYPE *(*Ref)(struct OBJ_TYPE * obj); \
17 void (*Disref)(struct OBJ_TYPE * obj); \
18 void (*Destroy)(struct OBJ_TYPE * obj)
21 struct OBJ_TYPE *Reference##OBJ_TYPE(struct OBJ_TYPE *obj); \
22 void Disreference##OBJ_TYPE(struct OBJ_TYPE *obj); \
24 void DeinitSharedObj##OBJ_TYPE(struct OBJ_TYPE *obj)
27 struct OBJ_TYPE *Reference##OBJ_TYPE(struct OBJ_TYPE *obj) \
36 …if (obj->status <= ME_STATUS_RUNNING && OsalAtomicRead(&obj->refCount) < MAX_OBJ_REF_COUNT) { …
51 obj->Destroy(obj); \
74 #define INIT_SHARED_OBJ(OBJ_TYPE, obj, DestroyFunc) InitSharedObj##OBJ_TYPE(obj, DestroyFunc) argument
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/graphics_effect/src/
H A Dge_visual_effect_impl.cpp259 [](GEVisualEffectImpl* obj, float p) { obj->mesaParams_->greyCoef1 = p; } }, in SetMESABlurParams()
261 [](GEVisualEffectImpl* obj, float p) { obj->mesaParams_->greyCoef2 = p; } }, in SetMESABlurParams()
263 [](GEVisualEffectImpl* obj, float p) { obj->mesaParams_->offsetX = p; } }, in SetMESABlurParams()
265 [](GEVisualEffectImpl* obj, float p) { obj->mesaParams_->offsetY = p; } }, in SetMESABlurParams()
267 [](GEVisualEffectImpl* obj, float p) { obj->mesaParams_->offsetZ = p; } }, in SetMESABlurParams()
269 [](GEVisualEffectImpl* obj, float p) { obj->mesaParams_->offsetW = p; } }, in SetMESABlurParams()
271 [](GEVisualEffectImpl* obj, float p) { obj->mesaParams_->width = p; } }, in SetMESABlurParams()
273 [](GEVisualEffectImpl* obj, float p) { obj->mesaParams_->height = p; } } in SetMESABlurParams()
357 [](GEVisualEffectImpl* obj, float p) { obj->magnifierParams_->factor = p; } }, in SetMagnifierParamsFloat()
359 [](GEVisualEffectImpl* obj, float p) { obj->magnifierParams_->width = p; } }, in SetMagnifierParamsFloat()
[all …]
/ohos5.0/foundation/communication/dsoftbus/adapter/common/json/nlohmann/
H A Dsoftbus_adapter_json.cpp29 if (obj == nullptr) { in JSON_CreateObject()
36 delete obj; in JSON_CreateObject()
37 obj = nullptr; in JSON_CreateObject()
41 return obj; in JSON_CreateObject()
46 if (obj == nullptr) { in JSON_Delete()
56 delete obj; in JSON_Delete()
57 obj = nullptr; in JSON_Delete()
60 void JSON_Free(void *obj) in JSON_Free() argument
62 if (obj != nullptr) { in JSON_Free()
63 SoftBusFree(obj); in JSON_Free()
[all …]
/ohos5.0/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/stream_buffer/
H A Dffi.rs65 obj.data() in StreamBufferData()
80 obj.size() in StreamBufferSize()
95 obj.reset(); in StreamBufferReset()
111 obj.clean(); in StreamBufferClean()
164 obj.chk_rwerror() in StreamBufferChkRWError()
286 obj.read_buf() in StreamBufferReadBuf()
300 obj.r_count() as i32 in StreamBufferGetRcount()
314 obj.w_count() as i32 in StreamBufferGetWcount()
328 obj.w_pos() as i32 in StreamBufferGetWpos()
342 obj.r_pos() as i32 in StreamBufferGetRpos()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_calendar.cpp92 auto obj = JSRef<JSObject>::Cast(info[0]); in Create() local
93 auto dataJsVal = obj->GetProperty("date"); in Create()
140 if (obj->IsUndefined()) { in SetCalendarData()
151 if (obj->IsUndefined()) { in GetCalendarData()
156 auto yearValue = obj->GetProperty("year"); in GetCalendarData()
157 auto monthValue = obj->GetProperty("month"); in GetCalendarData()
158 auto arrayValue = obj->GetProperty("data"); in GetCalendarData()
382 auto obj = JSRef<JSObject>::Cast(info[0]); in SetCurrentDayStyle() local
519 auto obj = JSRef<JSObject>::Cast(info[0]); in SetNonCurrentDayStyle() local
545 auto obj = JSRef<JSObject>::Cast(info[0]); in SetTodayStyle() local
[all …]
/ohos5.0/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
H A Dprint_service_proxy_test.cpp63 EXPECT_NE(obj, nullptr);
83 ON_CALL(*obj, SendRequest)
103 EXPECT_NE(obj, nullptr);
141 EXPECT_NE(obj, nullptr);
170 EXPECT_NE(obj, nullptr);
199 EXPECT_NE(obj, nullptr);
231 EXPECT_NE(obj, nullptr);
262 EXPECT_NE(obj, nullptr);
290 EXPECT_NE(obj, nullptr);
319 EXPECT_NE(obj, nullptr);
[all …]
/ohos5.0/foundation/distributeddatamgr/data_object/interfaces/jskits/
H A Ddistributed_data_object.js32 constructor(obj) { argument
91 result.__proxy = obj;
126 if (obj == null) {
167 function isAsset(obj) { argument
255 if (isAsset(obj[key])) {
283 if (obj == null || obj[SESSION_ID] == null || obj[SESSION_ID] === '') {
289 value: obj[key],
307 delete obj[SESSION_ID];
312 if (obj[SESSION_ID] != null && obj[SESSION_ID] !== undefined && obj[SESSION_ID].length > 0) {
319 if (obj[SESSION_ID] != null && obj[SESSION_ID] !== undefined && obj[SESSION_ID].length > 0) {
[all …]
/ohos5.0/base/security/certificate_framework/frameworks/js/napi/certificate/src/
H A Dnapi_x509_cert_match_parameters.cpp35 if (obj == nullptr) { in GetValidDate()
50 if (obj == nullptr) { in GetIssuer()
64 if (obj == nullptr) { in GetKeyUsage()
78 if (obj == nullptr) { in GetSerialNumber()
101 if (obj == nullptr) { in GetSubject()
115 if (obj == nullptr) { in GetPublicKey()
129 if (obj == nullptr) { in GetPublicKeyAlgId()
143 if (obj == nullptr) { in GetX509Cert()
165 if (obj == nullptr) { in GetSubjectAltNamesArray()
179 if (obj == nullptr) { in GetMatchAllSubjectAltNames()
[all …]
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/src/provision/
H A Dprovision_verify.cpp84 if (obj == nullptr || !cJSON_IsObject(obj)) { in GetStringIfExist()
95 if (obj == nullptr || !cJSON_IsObject(obj)) { in GetInt32IfExist()
106 if (obj == nullptr || !cJSON_IsObject(obj)) { in GetInt64IfExist()
117 if (obj == nullptr || !cJSON_IsObject(obj)) { in GetStringArrayIfExist()
134 if (obj == nullptr || !cJSON_IsObject(obj)) { in GetJsonObjectIfExist()
235 if (obj == nullptr || !cJSON_IsObject(obj)) { in from_json()
241 ParseType(obj, out); in from_json()
244 ParseAcls(obj, out); in from_json()
277 if (obj == nullptr || !cJSON_IsObject(obj)) { in ParseProvision()
281 from_json(obj, info); in ParseProvision()
[all …]
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/source/json/
H A Djsonutil.c46 if (obj == NULL) { in get_json_int()
50 return ((cJSON *)obj)->valueint; in get_json_int()
71 if (obj == NULL) { in get_json_string()
97 if (obj == NULL) { in get_json_bool()
126 if (cJSON_IsArray(obj)) { in get_array_size()
127 return cJSON_GetArraySize(obj); in get_array_size()
134 if (cJSON_IsArray(obj)) { in get_array_idx()
147 if (obj != NULL) { in delete_json_object()
148 cJSON_Delete((cJSON *)obj); in delete_json_object()
181 char *json_to_string(json_pobject obj) in json_to_string() argument
[all …]
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/mode/
H A Dtime_lapse_photo_session_napi.cpp102 if (obj == nullptr || obj->tryAEInfo_ == nullptr) { in IsTryAEDone()
119 if (obj == nullptr || obj->tryAEInfo_ == nullptr) { in IsTryAEHintNeeded()
136 if (obj == nullptr || obj->tryAEInfo_ == nullptr) { in GetPreviewType()
153 if (obj == nullptr || obj->tryAEInfo_ == nullptr) { in GetCaptureInterval()
189 if (obj != nullptr) { in Destructor()
190 delete obj; in Destructor()
328 if (obj == nullptr) { in IsTryAENeeded()
352 if (obj == nullptr) { in StartTryAE()
958 obj->cameraSession_ = obj->timeLapsePhotoSession_; in Constructor()
981 delete obj; in Destructor()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/communicator/
H A Ddistributeddb_communicator_common.cpp190 delete obj; in BuildRegedTinyMessage()
191 obj = nullptr; in BuildRegedTinyMessage()
197 delete obj; in BuildRegedTinyMessage()
219 delete obj; in BuildRegedHugeMessage()
225 delete obj; in BuildRegedHugeMessage()
253 delete obj; in BuildRegedGiantMessage()
267 delete obj; in BuildRegedGiantMessage()
289 delete obj; in BuildRegedOverSizeMessage()
295 delete obj; in BuildRegedOverSizeMessage()
317 delete obj; in BuildUnRegedTinyMessage()
[all …]
/ohos5.0/base/print/print_fwk/test/unittest/service_test/
H A Dprint_extension_callback_proxy_test.cpp52 EXPECT_NE(obj, nullptr);
58 ON_CALL(*obj, SendRequest)
75 EXPECT_NE(obj, nullptr);
81 ON_CALL(*obj, SendRequest)
98 EXPECT_NE(obj, nullptr);
107 ON_CALL(*obj, SendRequest)
124 EXPECT_NE(obj, nullptr);
150 EXPECT_NE(obj, nullptr);
178 EXPECT_NE(obj, nullptr);
206 EXPECT_NE(obj, nullptr);
[all …]
H A Dprint_callback_proxy_test.cpp61 EXPECT_NE(obj, nullptr);
68 ON_CALL(*obj, SendRequest)
85 EXPECT_NE(obj, nullptr);
92 ON_CALL(*obj, SendRequest)
121 EXPECT_NE(obj, nullptr);
152 EXPECT_NE(obj, nullptr);
183 EXPECT_NE(obj, nullptr);
214 EXPECT_NE(obj, nullptr);
246 EXPECT_NE(obj, nullptr);
270 EXPECT_NE(obj, nullptr);
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/auth/src/
H A Dtrans_auth_message.c68 cJSON *obj = cJSON_ParseWithLength(msg, len); in TransAuthChannelMsgUnpack() local
69 if (obj == NULL) { in TransAuthChannelMsgUnpack()
76 cJSON_Delete(obj); in TransAuthChannelMsgUnpack()
84 cJSON_Delete(obj); in TransAuthChannelMsgUnpack()
102 cJSON_Delete(obj); in TransAuthChannelMsgUnpack()
106 cJSON_Delete(obj); in TransAuthChannelMsgUnpack()
116 cJSON *obj = cJSON_CreateObject(); in TransAuthChannelErrorPack() local
117 if (obj == NULL) { in TransAuthChannelErrorPack()
123 cJSON_Delete(obj); in TransAuthChannelErrorPack()
127 char *data = cJSON_PrintUnformatted(obj); in TransAuthChannelErrorPack()
[all …]
/ohos5.0/foundation/systemabilitymgr/samgr/interfaces/innerkits/common/include/
H A Dparse_util.h74 if (obj.find(key.c_str()) != obj.end() && obj[key.c_str()].is_boolean()) { in GetBoolFromJson()
75 obj[key.c_str()].get_to(out); in GetBoolFromJson()
81 if (obj.find(key.c_str()) != obj.end() && obj[key.c_str()].is_string()) { in GetStringFromJson()
82 obj[key.c_str()].get_to(out); in GetStringFromJson()
88 if (obj.find(key.c_str()) != obj.end() && obj[key.c_str()].is_number_integer()) { in GetInt32FromJson()
89 obj[key.c_str()].get_to(out); in GetInt32FromJson()
96 if (obj.find(key.c_str()) != obj.end() && obj[key.c_str()].is_array()) { in GetStringArrayFromJson()
97 for (auto& item : obj[key.c_str()]) { in GetStringArrayFromJson()
108 if (obj.find(key.c_str()) != obj.end() && obj[key.c_str()].is_array()) { in GetIntArrayFromJson()
109 for (auto& item : obj[key.c_str()]) { in GetIntArrayFromJson()
[all …]
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/
H A DMakefile16 obj-$(CONFIG_DRIVERS_HDF) += osal/
17 obj-$(CONFIG_DRIVERS_HDF) += utils/
37 obj-$(CONFIG_DRIVERS_HDF_TEST) += test/
40 obj-$(CONFIG_DRIVERS_HDF) += $(HCS_DIR)/
44 obj-$(CONFIG_DRIVERS_HDF) += manager/
45 obj-$(CONFIG_DRIVERS_HDF_PLATFORM) += platform/
46 obj-$(CONFIG_DRIVERS_HDF_DISP) += model/display/
47 obj-$(CONFIG_DRIVERS_HDF_INPUT) += model/input/
50 obj-$(CONFIG_DRIVERS_HDF_SENSOR) += model/sensor/
55 obj-$(CONFIG_DRIVERS_HDF_AUDIO) += model/audio/
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_theme/theme_apply/
H A Djs_swiper_theme.h36 JSRef<JSObject> obj = objectTemplate->NewInstance(); in ApplyThemeInConstructor() local
37 SwiperParameters swiperParameters = JSSwiper::GetDotIndicatorInfo(obj); in ApplyThemeInConstructor()
51 … if (!obj->HasProperty("colorValue") || !ParseJsColor(obj->GetProperty("colorValue"), color)) { in ApplyThemeToDotIndicator()
54 …if (!obj->HasProperty("selectedColorValue") || !ParseJsColor(obj->GetProperty("selectedColorValue"… in ApplyThemeToDotIndicator()
75 if (!obj->HasProperty("color") || !ParseJsColor(obj->GetProperty("color"), color)) { in ApplyThemeToIndicatorStyle()
78 …if (!obj->HasProperty("selectedColor") || !ParseJsColor(obj->GetProperty("selectedColor"), color))… in ApplyThemeToIndicatorStyle()
90 …if (!obj->HasProperty("fontColorValue") || !ParseJsColor(obj->GetProperty("fontColorValue"), color… in ApplyThemeToDigitIndicator()
93 …if (!obj->HasProperty("selectedColorValue") || !ParseJsColor(obj->GetProperty("selectedColorValue"… in ApplyThemeToDigitIndicator()
105 …if (!obj->HasProperty("arrowColorValue") || !ParseJsColor(obj->GetProperty("arrowColorValue"), col… in ApplyThemeToDisplayArrow()
108 if (!obj->HasProperty("backgroundColorValue") || in ApplyThemeToDisplayArrow()
[all …]
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/
H A Dinit_bgtaskmgr.cpp60 napi_value obj = nullptr; in BackgroundModeInit() local
61 napi_create_object(env, &obj); in BackgroundModeInit()
65 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::AUDIO_RECORDING), in BackgroundModeInit()
67 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::LOCATION), in BackgroundModeInit()
74 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::VOIP), "VOIP"); in BackgroundModeInit()
77 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(ResourceType::CPU), "CPU"); in BackgroundModeInit()
79 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(ResourceType::TIMER), "TIMER"); in BackgroundModeInit()
82 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(ResourceType::GPS), "GPS"); in BackgroundModeInit()
83 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(ResourceType::AUDIO), "AUDIO"); in BackgroundModeInit()
88 DECLARE_NAPI_PROPERTY("BackgroundMode", obj), in BackgroundModeInit()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/dialog/
H A Djs_alert_dialog.cpp383 ParseTextStyle(properties, obj); in Show()
384 ParseAlertShadow(properties, obj); in Show()
386 ParseAlertRadius(properties, obj); in Show()
387 ParseAlertAlignment(properties, obj); in Show()
388 ParseAlertOffset(properties, obj); in Show()
389 ParseAlertMaskRect(properties, obj); in Show()
402 parseContent(dialogProps, obj); in Show()
404 parseShadow(dialogProps, obj); in Show()
406 parseRadius(dialogProps, obj); in Show()
408 parseOffset(dialogProps, obj); in Show()
[all …]
/ohos5.0/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/src/
H A Dnapi_pastedata.cpp66 PasteDataNapi *obj = nullptr; in AddHtmlRecord() local
96 PasteDataNapi *obj = nullptr; in AddPixelMapRecord() local
330 return obj; in RemoveAndGetRecordCommon()
338 if (obj == nullptr) { in RemoveRecordAt()
352 if (obj == nullptr || !CheckExpression(env, index < obj->value_->GetRecordCount(), in RemoveRecord()
828 if (obj == nullptr) { in GetRecordAt()
843 if (obj == nullptr || !CheckExpression(env, index < obj->value_->GetRecordCount(), in GetRecord()
1004 delete obj; in Destructor()
1016 obj->env_ = env; in New()
1067 if ((status != napi_ok) || (obj == nullptr) || (obj->value_ == nullptr)) { in PasteStart()
[all …]

12345678910>>...67