Home
last modified time | relevance | path

Searched refs:entry (Results 1 – 25 of 1597) sorted by relevance

12345678910>>...64

/ohos5.0/drivers/peripheral/camera/interfaces/hdi_ipc/utils/src/
H A Dutils_data_stub.cpp129 entry.data.u8 = new(std::nothrow) uint8_t[entry.count]; in ReadMetadataDataFromVec()
136 entry.data.i32 = new(std::nothrow) int32_t[entry.count]; in ReadMetadataDataFromVec()
143 entry.data.f = new(std::nothrow) float[entry.count]; in ReadMetadataDataFromVec()
150 entry.data.i64 = new(std::nothrow) int64_t[entry.count]; in ReadMetadataDataFromVec()
157 entry.data.d = new(std::nothrow) double[entry.count]; in ReadMetadataDataFromVec()
370 entry.data.u8 = new(std::nothrow) uint8_t[entry.count]; in ReadMetadataUInt8()
382 entry.data.i32 = new(std::nothrow) int32_t[entry.count]; in ReadMetadataInt32()
394 entry.data.ui32 = new(std::nothrow) uint32_t[entry.count]; in ReadMetadataUInt32()
406 entry.data.f = new(std::nothrow) float[entry.count]; in ReadMetadataFloat()
418 entry.data.i64 = new(std::nothrow) int64_t[entry.count]; in ReadMetadataInt64()
[all …]
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/netfirewall/
H A Dnetfirewall_ct.h27 entry->rx_seen_flag = 0; in reset_seen_flags()
28 entry->tx_seen_flag = 0; in reset_seen_flags()
33 entry->rx_closing_flag = 0; in reset_closing_flags()
34 entry->tx_closing_flag = 0; in reset_closing_flags()
39 return !entry->rx_closing_flag || !entry->tx_closing_flag; in is_conn_alive()
44 return entry->tx_closing_flag || entry->rx_closing_flag; in is_conn_closing()
116 entry->seen_non_syn |= !syn; in ct_update_timeout()
117 if (entry->seen_non_syn) { in ct_update_timeout()
137 struct ct_entry entry = { 0 }; in ct_create_entry() local
161 if (entry) { in ct_lookup_entry()
[all …]
/ohos5.0/base/hiviewdfx/hilog/services/hilogd/
H A Dlog_stats.cpp46 entry.monoTimeLast -= entry.monoTimeAuditStart; in UpdateStats()
54 entry.realTimeFreqMax = entry.realTimeLast; in UpdateStats()
60 entry.realTimeThroughputMax = entry.realTimeLast; in UpdateStats()
67 entry.lines[lvl]++; in UpdateStats()
70 entry.tmpLines++; in UpdateStats()
78 entry.dropped = 0; in ResetStatsEntry()
79 entry.tmpLines = 0; in ResetStatsEntry()
80 entry.freqMax = 0; in ResetStatsEntry()
82 entry.tmpLen = 0; in ResetStatsEntry()
99 entry.freqMax = 0; in StatsInfo2NewStatsEntry()
[all …]
/ohos5.0/drivers/interface/camera/metadata/src/
H A Dmetadata_utils.cpp157 entry.data.u8 = new(std::nothrow) uint8_t[entry.count]; in ReadMetadataDataFromVecUInt8()
168 entry.data.i32 = new(std::nothrow) int32_t[entry.count]; in ReadMetadataDataFromVecInt32()
179 entry.data.ui32 = new(std::nothrow) uint32_t[entry.count]; in ReadMetadataDataFromVecUInt32()
190 entry.data.f = new(std::nothrow) float[entry.count]; in ReadMetadataDataFromVecFloat()
201 entry.data.i64 = new(std::nothrow) int64_t[entry.count]; in ReadMetadataDataFromVecInt64()
212 entry.data.d = new(std::nothrow) double[entry.count]; in ReadMetadataDataFromVecDouble()
575 entry.data.u8 = new(std::nothrow) uint8_t[entry.count]; in ReadMetadataUInt8()
587 entry.data.i32 = new(std::nothrow) int32_t[entry.count]; in ReadMetadataInt32()
611 entry.data.f = new(std::nothrow) float[entry.count]; in ReadMetadataFloat()
623 entry.data.i64 = new(std::nothrow) int64_t[entry.count]; in ReadMetadataInt64()
[all …]
/ohos5.0/base/security/device_auth/services/legacy/group_manager/src/broadcast_manager/
H A Dbroadcast_manager.c43 ListenerEntry *entry = NULL; in PostOnGroupCreated() local
61 ListenerEntry *entry = NULL; in PostOnGroupDeleted() local
79 ListenerEntry *entry = NULL; in PostOnDeviceBound() local
97 ListenerEntry *entry = NULL; in PostOnDeviceUnBound() local
115 ListenerEntry *entry = NULL; in PostOnDeviceNotTrusted() local
133 ListenerEntry *entry = NULL; in PostOnLastGroupDeleted() local
147 ListenerEntry *entry = NULL; in PostOnTrustedDeviceNumChanged() local
161 ListenerEntry *entry = NULL; in UpdateListenerIfExist() local
206 ListenerEntry entry; in AddListenerIfNotExist() local
207 entry.appId = copyAppId; in AddListenerIfNotExist()
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/common/src/
H A Djs_uv_queue.cpp56 entry->env_ = env_; in AsyncCall()
63 work->data = entry; in AsyncCall()
67 delete entry; in AsyncCall()
86 entry->env_ = env_; in AsyncCallInOrder()
112 entry->env_ = env_; in AsyncPromise()
119 delete entry; in AsyncPromise()
141 *entry = task; in Execute()
146 delete entry; in Execute()
176 if (entry) { in Future()
178 delete entry; in Future()
[all …]
/ohos5.0/base/powermgr/powermgr_lite/frameworks/src/
H A Drunning_lock.c82 if (entry == NULL) { in CreateRunningLockEntry()
87 InitIdentity(entry); in CreateRunningLockEntry()
90 if (strcpy_s(entry->lock.name, sizeof(entry->lock.name), name) != EOK) { in CreateRunningLockEntry()
91 free(entry); in CreateRunningLockEntry()
94 return entry; in CreateRunningLockEntry()
99 if (entry != NULL) { in DestroyRunningLockEntry()
101 free(entry); in DestroyRunningLockEntry()
113 if (entry == NULL) { in CreateRunningLock()
119 return &entry->lock; in CreateRunningLock()
133 entry->status.isHolding = AcquireRunningLockEntry(entry, -1); in AcquireRunningLock()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/test/
H A Dsingle_store_impl_get_top_test.cpp93 Entry entry; variable
98 entry.key, entry.value);
126 Entry entry; variable
131 entry.key, entry.value);
159 Entry entry; variable
164 entry.key, entry.value);
194 entry.key, entry.value);
233 dictionary[entry.key] = entry.value;
235 entry.key, entry.value);
273 dictionary[entry.key] = entry.value;
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/src/
H A Ddistributeddb_data_generator.cpp24 entry.key = keyPrefix; in GenerateRecord()
25 entry.value = { 'v' }; in GenerateRecord()
179 entry.key.clear(); in GenerateNormalAsciiRecords()
197 entry.key.clear(); in GenerateFullAsciiRecords()
207 entry.key.clear(); in GenerateBiggistKeyRecords()
226 return entry; in GenerateFixedLenKVRecord()
270 entry.key.insert(entry.key.end(), ind.begin(), ind.end()); in GenerateOneRecordForImage()
271 entry.value.insert(entry.value.end(), ind.begin(), ind.end()); in GenerateOneRecordForImage()
298 entry.key.insert(entry.key.end(), recNo.begin(), recNo.end()); in GenerateAppointPrefixAndSizeRecord()
299 entry.value.insert(entry.value.end(), recNo.begin(), recNo.end()); in GenerateAppointPrefixAndSizeRecord()
[all …]
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_1/src/
H A Dfront_camera_tag_uttest_v1_1.cpp39 camera_metadata_item_t entry; in g_isFrontTagValueExistsU8() local
41 if (ret == HDI::Camera::V1_0::NO_ERROR && entry.data.u8 != nullptr && entry.count > 0) { in g_isFrontTagValueExistsU8()
64 camera_metadata_item_t entry; variable
73 if (entry.count == 0) {
77 } else if (entry.data.u8 == nullptr) {
106 camera_metadata_item_t entry; variable
121 if (entry.count == 0) {
155 camera_metadata_item_t entry; variable
170 if (entry.count == 0) {
204 camera_metadata_item_t entry; variable
[all …]
H A Dcamera_tag_uttest_v1_1.cpp39 camera_metadata_item_t entry; in isTagValueExistsU8() local
41 if (ret == HDI::Camera::V1_0::NO_ERROR && entry.data.u8 != nullptr && entry.count > 0) { in isTagValueExistsU8()
88 camera_metadata_item_t entry; variable
90 if (ret == HDI::Camera::V1_0::NO_ERROR && entry.data.u8 != nullptr && entry.count > 0) {
113 camera_metadata_item_t entry; variable
124 if (entry.count == 0) {
163 camera_metadata_item_t entry; variable
172 if (entry.count == 0) {
221 if (entry.count == 0) {
264 if (entry.count == 0) {
[all …]
/ohos5.0/base/security/device_auth/test/fuzztest/group_auth/account_related/accountrelatedgroupauth_fuzzer/
H A Daccountrelatedgroupauth_fuzzer.cpp265 if (entry == nullptr) { in AccountRelatedGroupAuthTest004()
283 DestroyGroupEntry(entry); in AccountRelatedGroupAuthTest004()
290 if (entry == nullptr) { in AccountRelatedGroupAuthTest0041()
310 DestroyGroupEntry(entry); in AccountRelatedGroupAuthTest0041()
317 if (entry == nullptr) { in AccountRelatedGroupAuthTest0042()
339 DestroyGroupEntry(entry); in AccountRelatedGroupAuthTest0042()
346 if (entry == nullptr) { in AccountRelatedGroupAuthTest0043()
370 DestroyGroupEntry(entry); in AccountRelatedGroupAuthTest0043()
377 if (entry == nullptr) { in AccountRelatedGroupAuthTest00431()
404 DestroyGroupEntry(entry); in AccountRelatedGroupAuthTest00431()
[all …]
/ohos5.0/base/tee/tee_client/frameworks/include/
H A Dtee_client_list.h39 list->next->prev = entry; in ListInsertHead()
41 entry->prev = list; in ListInsertHead()
42 list->next = entry; in ListInsertHead()
47 entry->next = list; in ListInsertTail()
50 list->prev = entry; in ListInsertTail()
55 entry->prev->next = entry->next; in ListRemoveEntry()
56 entry->next->prev = entry->prev; in ListRemoveEntry()
63 entry = list->next; in ListRemoveHead()
66 return entry; in ListRemoveHead()
73 entry = list->prev; in ListRemoveTail()
[all …]
/ohos5.0/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
H A Djs_keyboard_delegate_setting.cpp376 auto entry = GetEntry(type, [keyEvent, &consumer](UvEntry &entry) { in OnKeyEvent() argument
380 if (entry == nullptr) { in OnKeyEvent()
391 auto task = [entry]() { in OnKeyEvent()
424 auto entry = GetEntry(type, [&para, &consumer](UvEntry &entry) { in OnKeyEvent() argument
473 auto entry = GetEntry(type, [&para](UvEntry &entry) { in OnCursorUpdate() local
511 auto entry = GetEntry(type, [&para](UvEntry &entry) { in OnSelectionChange() argument
551 auto entry = GetEntry(type, [&text](UvEntry &entry) { entry.text = text; }); in OnTextChange() argument
581 …auto entry = GetEntry(type, [&inputAttribute](UvEntry &entry) { entry.inputAttribute = inputAttrib… in OnEditorAttributeChange() local
635 delete entry; in GetUVwork()
638 work->data = entry; in GetUVwork()
[all …]
/ohos5.0/base/security/device_auth/test/unittest/deviceauth/unit_test/source/
H A Daccount_related_group_auth_dir_test.cpp283 if (entry == nullptr) {
302 DestroyGroupEntry(entry);
310 if (entry == nullptr) {
331 DestroyGroupEntry(entry);
338 if (entry == nullptr) {
361 DestroyGroupEntry(entry);
368 if (entry == nullptr) {
393 DestroyGroupEntry(entry);
400 if (entry == nullptr) {
428 DestroyGroupEntry(entry);
[all …]
/ohos5.0/base/theme/screenlock_mgr/frameworks/js/napi/src/
H A Dscreenlock_system_ability_callback.cpp46 auto entry = std::make_shared<ScreenlockOnCallBack>(); in OnCallBack() local
47 entry->env = eventListener_.env; in OnCallBack()
48 entry->callbackRef = eventListener_.callbackRef; in OnCallBack()
49 entry->systemEvent = systemEvent; in OnCallBack()
50 auto task = [entry]() { in OnCallBack()
52 napi_open_handle_scope(entry->env, &scope); in OnCallBack()
54 napi_get_reference_value(entry->env, entry->callbackRef, &callbackFunc); in OnCallBack()
56 napi_create_object(entry->env, &result); in OnCallBack()
59 …napi_create_string_utf8(entry->env, entry->systemEvent.eventType_.c_str(), NAPI_AUTO_LENGTH, &even… in OnCallBack()
60 …napi_create_string_utf8(entry->env, entry->systemEvent.params_.c_str(), NAPI_AUTO_LENGTH, &params); in OnCallBack()
[all …]
/ohos5.0/base/security/device_auth/services/legacy/group_auth/src/group_auth_manager/group_auth_common/
H A Dgroup_auth_data_operation.c49 returnEntry->credential = entry->credential; in GaDeepCopyDeviceEntry()
50 returnEntry->devType = entry->devType; in GaDeepCopyDeviceEntry()
51 returnEntry->lastTm = entry->lastTm; in GaDeepCopyDeviceEntry()
52 returnEntry->source = entry->source; in GaDeepCopyDeviceEntry()
59 if (HC_VECTOR_SIZE(&entry->managers) <= 0) { in GaDeepCopyGroupEntry()
76 returnEntry->type = entry->type; in GaDeepCopyGroupEntry()
77 returnEntry->visibility = entry->visibility; in GaDeepCopyGroupEntry()
96 TrustedGroupEntry **entry = NULL; in GetGroupEntryById() local
124 if (entry == NULL) { in GaIsGroupAccessible()
131 DestroyGroupEntry(entry); in GaIsGroupAccessible()
[all …]
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.31/
H A Dchangelogs-bundlemanager.md11entry icon and entry name](../../../application-dev/application-models/application-component-confi…
17entry UIAbility with the entry icon and entry label configured, that entry icon and entry label ar…
23 | Home screen | Entry icon and name | If an application does not have an entry UIAbility, the a…
30 | Home screen | Entry icon and name | If an application does not have an entry UIAbility, the a…
31entry UIAbility with the entry icon and entry label configured, the entry icon and entry label are…
47 You are advised to keep the application icon, application label, entry icon, and entry label consis…
57entry icons, different icons and names will be displayed on the home screen after the application …
66 This change is a non-compatible change. An application supports only one entry UIAbility.
74entry UIAbility can be configured for an application. After the application is installed, only one…
86 The **getLauncherAbilityInfo** API provided by the bundleManager module returns only one entry UIAb…
[all …]
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_3/src/
H A Dcamera_hdi_tag_test_v1_3.cpp41 camera_metadata_item_t entry; in IsTagValueExistsU8() local
43 if (ret == HDI::Camera::V1_0::NO_ERROR && entry.data.u8 != nullptr && entry.count > 0) { in IsTagValueExistsU8()
44 for (int i = 0; i < entry.count; i++) { in IsTagValueExistsU8()
45 if (entry.data.u8[i] == value) { in IsTagValueExistsU8()
56 camera_metadata_item_t entry; in PrintAllTagDataU8() local
58 if (ret == HDI::Camera::V1_0::NO_ERROR && entry.data.u8 != nullptr && entry.count > 0) { in PrintAllTagDataU8()
60 for (int i = 0; i < entry.count; i++) { in PrintAllTagDataU8()
61 int v = entry.data.u8[i]; in PrintAllTagDataU8()
95 camera_metadata_item_t entry; variable
97 if (ret == HDI::Camera::V1_0::NO_ERROR && entry.data.i32 != nullptr && entry.count > 0) {
[all …]
/ohos5.0/base/powermgr/powermgr_lite/frameworks/src/small/
H A Dpower_manage.c59 entry->ref = 1; in CreatClient()
61 entry->iUnknown.AddRef = IUNKNOWN_AddRef; in CreatClient()
62 entry->iUnknown.Release = IUNKNOWN_Release; in CreatClient()
63 entry->iUnknown.Invoke = NULL; in CreatClient()
125 if (IsValidRunningLockEntry(entry) == FALSE) { in AcquireRunningLockEntryProxy()
144 … POWER_HILOGD("Acquire running lock done, name: %s, type: %d", entry->lock.name, entry->lock.type); in AcquireRunningLockEntryProxy()
169 … POWER_HILOGD("Release running lock done, name: %s, type: %d", entry->lock.name, entry->lock.type); in ReleaseRunningLockEntryProxy()
201 void InitIdentity(RunningLockEntry *entry) in InitIdentity() argument
203 if (entry == NULL) { in InitIdentity()
206 entry->identity.pid = getpid(); in InitIdentity()
[all …]
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/file_sharing/src/
H A Dsetacl.cpp37 entry.tag = ACL_TAG::USER; in AclEntryParseTag()
71 switch (entry.tag) { in AclEntryParseId()
83 entry.id = pwd->pw_uid; in AclEntryParseId()
97 entry.id = grp->gr_gid; in AclEntryParseId()
119 entry.perm.SetR(); in AclEntryParsePerm()
122 entry.perm.SetW(); in AclEntryParsePerm()
125 entry.perm.SetE(); in AclEntryParsePerm()
139 AclXattrEntry entry = {}; in AclEntryParseText() local
160 switch (entry.tag) { in AclEntryParseText()
181 return entry; in AclEntryParseText()
[all …]
/ohos5.0/base/powermgr/powermgr_lite/services/src/
H A Drunning_lock_mgr.c54 POWER_HILOGD("Already acquired: %s", entry->lock.name); in AddRunningLockEntryLocked()
57 RunningLockEntry *e = DupRunningLockEntry(entry); in AddRunningLockEntryLocked()
84 … POWER_HILOGD("Remove running lock entry, name: %s, type: %d", entry->lock.name, entry->lock.type); in RemoveRunningLockEntryLocked()
111 if (IsValidRunningLockEntry(entry) == FALSE) { in RunningLockMgrAcquireEntry()
116 Vector *vec = &g_runningLocks[entry->lock.type]; in RunningLockMgrAcquireEntry()
117 BOOL ret = AddRunningLockEntryLocked(vec, entry); in RunningLockMgrAcquireEntry()
123 int32_t RunningLockMgrReleaseEntry(RunningLockEntry *entry) in RunningLockMgrReleaseEntry() argument
125 if (IsValidRunningLockEntry(entry) == FALSE) { in RunningLockMgrReleaseEntry()
131 Vector *vec = &g_runningLocks[entry->lock.type]; in RunningLockMgrReleaseEntry()
132 BOOL ret = RemoveRunningLockEntryLocked(vec, entry); in RunningLockMgrReleaseEntry()
[all …]
/ohos5.0/drivers/peripheral/camera/test/demo/
H A Dohos_camera_demo.cpp841 if (ret != 0 || entry.data.u8 == nullptr || entry.count <= 0) { in GetFaceDetectMode()
856 if (ret != 0 || entry.data.f == nullptr || entry.count <= 0) { in GetFocalLength()
871 if (ret != 0 || entry.data.u8 == nullptr || entry.count <= 0) { in GetAvailableFocusModes()
894 if (ret != 0 || entry.data.u8 == nullptr || entry.count <= 0) { in GetAvailableExposureModes()
941 if (ret != 0 || entry.data.r == nullptr || entry.count <= 0) { in GetExposureCompensationSteps()
958 if (ret != 0 || entry.data.u8 == nullptr || entry.count <= 0) { in GetAvailableMeterModes()
981 if (ret != 0 || entry.data.u8 == nullptr || entry.count <= 0) { in GetAvailableFlashModes()
1004 if (ret != 0 || entry.data.u8 == nullptr || entry.count <= 0) { in GetMirrorSupported()
1067 if (ret != 0 || entry.data.u8 == nullptr || entry.count <= 0) { in GetCameraPosition()
1083 if (ret != 0 || entry.data.u8 == nullptr || entry.count <= 0) { in GetCameraType()
[all …]
/ohos5.0/drivers/peripheral/camera/test/demo_3A/
H A Dohos_camera_demo_3a.cpp849 if (ret != 0 || entry.data.u8 == nullptr || entry.count <= 0) { in GetFaceDetectMode()
864 if (ret != 0 || entry.data.f == nullptr || entry.count <= 0) { in GetFocalLength()
879 if (ret != 0 || entry.data.u8 == nullptr || entry.count <= 0) { in GetAvailableFocusModes()
902 if (ret != 0 || entry.data.u8 == nullptr || entry.count <= 0) { in GetAvailableExposureModes()
925 if (ret != 0 || entry.data.u8 == nullptr || entry.count <= 0) { in GetExposureCompensationRange()
949 if (ret != 0 || entry.data.r == nullptr || entry.count <= 0) { in GetExposureCompensationSteps()
966 if (ret != 0 || entry.data.u8 == nullptr || entry.count <= 0) { in GetAvailableMeterModes()
989 if (ret != 0 || entry.data.u8 == nullptr || entry.count <= 0) { in GetAvailableFlashModes()
1012 if (ret != 0 || entry.data.u8 == nullptr || entry.count <= 0) { in GetMirrorSupported()
1075 if (ret != 0 || entry.data.u8 == nullptr || entry.count <= 0) { in GetCameraPosition()
[all …]
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_preferences_database_test.cpp466 entry.second = "1";
483 entry.second = "1";
500 entry.second = "1";
517 entry.second = "1";
534 entry.second = "1";
551 entry.second = "1";
568 entry.second = "1";
585 entry.second = "1";
602 entry.second = "1";
619 entry.second = "1";
[all …]

12345678910>>...64