Home
last modified time | relevance | path

Searched refs:INVALID_INDEX (Results 1 – 25 of 94) sorted by relevance

1234

/ohos5.0/foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/
H A Ddefault_client.c62 if (identity.handle == INVALID_INDEX) { in SAMGR_CreateIProxy()
91 SvcIdentity identity = {INVALID_INDEX, INVALID_INDEX, INVALID_INDEX}; in SAMGR_GetRemoteIdentity()
187 header->deadId = INVALID_INDEX; in ProxyInvoke()
188 header->target.handle = INVALID_INDEX; in ProxyInvoke()
189 header->target.token = INVALID_INDEX; in ProxyInvoke()
190 header->target.cookie = INVALID_INDEX; in ProxyInvoke()
212 header->deadId = INVALID_INDEX; in OnServiceExit()
213 header->target.handle = INVALID_INDEX; in OnServiceExit()
214 header->target.token = INVALID_INDEX; in OnServiceExit()
215 header->target.cookie = INVALID_INDEX; in OnServiceExit()
[all …]
H A Dsa_store.c113 PidHandle saved = {.handle = INVALID_INDEX}; in SASTORA_SaveHandleByPid()
118 if (index != INVALID_INDEX) { in SASTORA_SaveHandleByPid()
153 return INVALID_INDEX; in SASTORA_FindHandleByPid()
170 return INVALID_INDEX; in SASTORA_FindHandleByPid()
176 return INVALID_INDEX; in SASTORA_FindHandleByUidPid()
193 return INVALID_INDEX; in SASTORA_FindHandleByUidPid()
198 PidHandle pidHandle = {INVALID_INDEX, INVALID_INDEX, INVALID_INDEX, INVALID_INDEX}; in SASTORA_FindPidHandleByIpcHandle()
213 SvcIdentity identity = {(uint32)INVALID_INDEX, (uint32)INVALID_INDEX, (uint32)INVALID_INDEX}; in SASTORA_Find()
232 if (index == INVALID_INDEX) { in SASTORA_ClearByPid()
H A Ddefault_client_rpc.c30 if (identity.handle == INVALID_INDEX) { in SAMGR_CreateIProxy()
85 SvcIdentity identity = {INVALID_INDEX, INVALID_INDEX, INVALID_INDEX}; in SAMGR_GetRemoteIdentity()
206 header->deadId = INVALID_INDEX; in OnServiceExit()
207 header->target.handle = INVALID_INDEX; in OnServiceExit()
208 header->target.token = INVALID_INDEX; in OnServiceExit()
209 header->target.cookie = INVALID_INDEX; in OnServiceExit()
231 int ret = SendRequest(*samgr, INVALID_INDEX, &req, &reply, flag, (uintptr_t *)&replyBuf); in QueryIdentity()
234 SvcIdentity target = {INVALID_INDEX, INVALID_INDEX, INVALID_INDEX}; in QueryIdentity()
H A Dendpoint_rpc.c46 endpoint->deadId = INVALID_INDEX; in SAMGR_CreateEndpoint()
51 endpoint->identity.handle = (uint32_t)INVALID_INDEX; in SAMGR_CreateEndpoint()
52 endpoint->identity.token = (uint32_t)INVALID_INDEX; in SAMGR_CreateEndpoint()
53 endpoint->identity.cookie = (uint32_t)INVALID_INDEX; in SAMGR_CreateEndpoint()
71 if (index != INVALID_INDEX) { in SAMGR_AddRouter()
77 if (index != INVALID_INDEX) { in SAMGR_AddRouter()
93 if (index == INVALID_INDEX) { in SAMGR_AddRouter()
121 int ret = SendRequest(*samgr, INVALID_INDEX, &req, &reply, in SAMGR_AddSysCap()
156 int ret = SendRequest(*samgr, INVALID_INDEX, &req, &reply, in SAMGR_GetSysCap()
186 int ret = SendRequest(*samgr, INVALID_INDEX, &req, reply, in SendGetAllSysCapsRequest()
[all …]
H A Ddefault_client_small_adapter.c28 SvcIdentity target = {INVALID_INDEX, INVALID_INDEX, INVALID_INDEX}; in QueryRemoteIdentityInner()
H A Dendpoint.c90 endpoint->deadId = INVALID_INDEX; in SAMGR_CreateEndpoint()
96 endpoint->identity.handle = (uint32_t)INVALID_INDEX; in SAMGR_CreateEndpoint()
97 endpoint->identity.token = (uint32_t)INVALID_INDEX; in SAMGR_CreateEndpoint()
98 endpoint->identity.cookie = (uint32_t)INVALID_INDEX; in SAMGR_CreateEndpoint()
117 if (index != INVALID_INDEX) { in SAMGR_AddRouter()
134 if (index == INVALID_INDEX) { in SAMGR_AddRouter()
282 if (endpoint == NULL || saName == NULL || token == INVALID_INDEX) { in SAMGR_ProcPolicy()
288 SvcIdentity saInfo = {INVALID_INDEX, token, INVALID_INDEX}; in SAMGR_ProcPolicy()
399 uint32_t token = (uint32_t)INVALID_INDEX; in Dispatch()
416 request.msgValue = INVALID_INDEX; in Dispatch()
[all …]
H A Ddefault_client_mini_adapter.c51 SvcIdentity target = {INVALID_INDEX, INVALID_INDEX, INVALID_INDEX}; in QueryRemoteIdentityInner()
/ohos5.0/foundation/systemabilitymgr/samgr_lite/samgr/source/
H A Dcommon.c44 return INVALID_INDEX; in VECTOR_Add()
59 return INVALID_INDEX; in VECTOR_Add()
64 return INVALID_INDEX; in VECTOR_Add()
107 return INVALID_INDEX; in VECTOR_Find()
115 return INVALID_INDEX; in VECTOR_FindByKey()
137 return INVALID_INDEX; in VECTOR_FindByKey()
143 return INVALID_INDEX; in VECTOR_Size()
151 return INVALID_INDEX; in VECTOR_Num()
H A Dservice.c35 impl->serviceId = INVALID_INDEX; in SAMGR_CreateServiceImpl()
47 return INVALID_INDEX; in DEFAULT_AddFeature()
51 return INVALID_INDEX; in DEFAULT_AddFeature()
56 return INVALID_INDEX; in DEFAULT_AddFeature()
60 if (featureId == INVALID_INDEX) { in DEFAULT_AddFeature()
71 …Identity id = {impl->serviceId, INVALID_INDEX, (impl->taskPool != NULL) ? impl->taskPool->queueId … in DEFAULT_Initialize()
120 …Identity id = {service->serviceId, INVALID_INDEX, (service->taskPool != NULL) ? service->taskPool-… in DEFAULT_StopService()
146 Identity identity = {INVALID_INDEX, INVALID_INDEX, NULL}; in DEFAULT_GetFeatureId()
181 Identity id = {serviceImpl->serviceId, INVALID_INDEX, NULL}; in DEFAULT_DeleteFeature()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/animation/
H A Dtrack_animation_state.cpp33 return ITrackAnimation::INVALID_INDEX; in AddKeyframe()
54 index = ITrackAnimation::INVALID_INDEX; in AddKeyframe()
92 currentIndex_ = ITrackAnimation::INVALID_INDEX; in ResetCurrentTrack()
158 if (currentIndex_ == ITrackAnimation::INVALID_INDEX || !keyframeArray_) { in IsInCurrentRange()
177 index = JumpTo(size_t(ITrackAnimation::INVALID_INDEX)); in UpdateIndex()
184 index = JumpTo(size_t(ITrackAnimation::INVALID_INDEX)); in UpdateIndex()
213 if (index == ITrackAnimation::INVALID_INDEX) { in JumpTo()
220 return ITrackAnimation::INVALID_INDEX; in JumpTo()
239 if (currentIndex_ == ITrackAnimation::INVALID_INDEX) { in GetCurrentTrackProgress()
/ohos5.0/drivers/peripheral/input/test/unittest/hdi/
H A Dhdf_input_hdi_test.cpp39 constexpr int32_t INVALID_INDEX = 5; variable
198 int32_t ret = g_inputInterfaces->OpenInputDevice(INVALID_INDEX);
241 int32_t ret = g_inputInterfaces->CloseInputDevice(INVALID_INDEX);
410 int32_t ret = g_inputInterfaces->RegisterReportCallback(INVALID_INDEX, g_callback);
456 ret = g_inputInterfaces->SetPowerStatus(INVALID_INDEX, setStatus);
505 ret = g_inputInterfaces->GetPowerStatus(INVALID_INDEX, getStatus);
555 ret = g_inputInterfaces->GetVendorName(INVALID_INDEX, vendorName);
557 HDF_LOGE("%s: get device %d's vendor name failed, ret %d", __func__, INVALID_INDEX, ret);
605 ret = g_inputInterfaces->GetChipName(INVALID_INDEX, chipName);
607 HDF_LOGE("%s: get device %d's chip name failed, ret %d", __func__, INVALID_INDEX, ret);
[all …]
/ohos5.0/foundation/systemabilitymgr/samgr_lite/samgr_server/source/
H A Dsamgr_server_rpc.c264 WriteInt32(reply, INVALID_INDEX); in ProcEndpoint()
271 if (index == INVALID_INDEX) { in ProcEndpoint()
272 SvcIdentity identity = {(int32)INVALID_INDEX, (uint32)INVALID_INDEX, (uint32)INVALID_INDEX}; in ProcEndpoint()
289 handle.deadId = INVALID_INDEX; in ProcEndpoint()
319 if (index == INVALID_INDEX) { in ProcPutFeature()
420 if (identity->handle == INVALID_INDEX) { in ProcGetFeature()
428 if (providerPid.pid == INVALID_INDEX || providerPid.uid == INVALID_INDEX) { in ProcGetFeature()
462 SvcIdentity identity = {INVALID_INDEX, INVALID_INDEX, INVALID_INDEX}; in ProcFeature()
556 if (size == INVALID_INDEX) { in ProcGetAllSysCap()
651 if (err != INVALID_INDEX) { in OnEndpointExit()
[all …]
H A Dsamgr_server.c162 IpcIoPushUint32(reply, (uint32)INVALID_INDEX); in ProcEndpoint()
170 if (index == INVALID_INDEX) { in ProcEndpoint()
171 … SvcIdentity identity = {(uint32)INVALID_INDEX, (uint32)INVALID_INDEX, (uint32)INVALID_INDEX}; in ProcEndpoint()
186 handle.deadId = INVALID_INDEX; in ProcEndpoint()
212 if (index == INVALID_INDEX) { in ProcPutFeature()
305 if (identity->handle == INVALID_INDEX) { in ProcGetFeature()
314 if (providerPid.pid == INVALID_INDEX || providerPid.uid == INVALID_INDEX) { in ProcGetFeature()
352 SvcIdentity identity = {INVALID_INDEX, INVALID_INDEX, INVALID_INDEX}; in ProcFeature()
443 if (size == INVALID_INDEX) { in ProcGetAllSysCap()
541 if (err != INVALID_INDEX) { in OnEndpointExit()
[all …]
/ohos5.0/base/telephony/cellular_call/test/unittest/imstest/
H A Dims_callback_test.cpp113 clipResult.result.index = INVALID_INDEX;
116 clirResult.result.index = INVALID_INDEX;
128 callList.result.index = INVALID_INDEX;
131 crResult.result.index = INVALID_INDEX;
134 cwResult.result.index = INVALID_INDEX;
137 colrResult.result.index = INVALID_INDEX;
140 colpResult.result.index = INVALID_INDEX;
H A Dims_callback1_test.cpp58 clirResult.result.index = INVALID_INDEX;
77 colpResult.result.index = INVALID_INDEX;
113 colrResult.result.index = INVALID_INDEX;
446 normalResult.index = INVALID_INDEX;
535 crResult.result.index = INVALID_INDEX;
552 callList.result.index = INVALID_INDEX;
581 cwResult.result.index = INVALID_INDEX;
1030 normalResult.index = INVALID_INDEX;
1131 crResult.result.index = INVALID_INDEX;
1148 callList.result.index = INVALID_INDEX;
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/
H A Dpipeline_layout_desc.h37 static constexpr uint32_t INVALID_INDEX { ~0u };
53 uint32_t binding { PipelineLayoutConstants::INVALID_INDEX };
73 uint32_t resourceIndex { PipelineLayoutConstants::INVALID_INDEX };
203 uint32_t set { PipelineLayoutConstants::INVALID_INDEX };
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/
H A Dcloud_cursor_impl.cpp114 if (index_ != INVALID_INDEX || valuesLen_ == 0) { in MoveToFirst()
130 if (index_ == INVALID_INDEX) { in MoveToNext()
146 if (index_ == INVALID_INDEX) { in GetEntry()
242 if (index_ == INVALID_INDEX) { in Get()
257 if (index_ == INVALID_INDEX) { in Get()
298 index_ = INVALID_INDEX; in Close()
/ohos5.0/drivers/peripheral/input/test/unittest/udriver/
H A Dhdi_input_test.cpp40 static const int32_t INVALID_INDEX = 15; variable
184 int32_t ret = g_inputInterface->iInputManager->OpenInputDevice(INVALID_INDEX);
241 int32_t ret = g_inputInterface->iInputManager->CloseInputDevice(INVALID_INDEX);
322 int32_t ret = g_inputInterface->iInputManager->GetInputDevice(INVALID_INDEX, &dev);
324 printf("%s: get device %d failed, ret %d\n", __func__, INVALID_INDEX, ret);
523 ret = g_inputInterface->iInputController->SetPowerStatus(INVALID_INDEX, status);
586 ret = g_inputInterface->iInputController->GetPowerStatus(INVALID_INDEX, &status);
649 ret = g_inputInterface->iInputController->GetDeviceType(INVALID_INDEX, &deviceType);
712 ret = g_inputInterface->iInputController->GetChipInfo(INVALID_INDEX, chipInfo, TEST_LEN1);
901 ret = g_inputInterface->iInputController->SetGestureMode(INVALID_INDEX, gestureMode);
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/render/
H A Drender_data_defines_3d.h68 static constexpr uint32_t INVALID_INDEX { ~0u }; in CORE3D_BEGIN_NAMESPACE()
261 uint32_t materialIndex { RenderSceneDataConstants::INVALID_INDEX };
263 uint32_t meshIndex { RenderSceneDataConstants::INVALID_INDEX };
265 uint32_t skinJointIndex { RenderSceneDataConstants::INVALID_INDEX };
267 uint32_t customResourcesIndex { RenderSceneDataConstants::INVALID_INDEX };
624 uint32_t cameraIndex { RenderSceneDataConstants::INVALID_INDEX };
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/list/
H A Dlist_item_generator.h25 static constexpr size_t INVALID_INDEX = std::numeric_limits<size_t>::max();
40 return INVALID_INDEX; in FindPreviousStickyListItem()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/datastore/
H A Drender_data_store_default_material.cpp65 submesh.skinJointIndex != RenderSceneDataConstants::INVALID_INDEX) { in ValidateSubmesh()
68 if ((submesh.customResourcesIndex != RenderSceneDataConstants::INVALID_INDEX) && in ValidateSubmesh()
331 materialIdToIndices_[searchId] = { materialIndex, RenderSceneDataConstants::INVALID_INDEX }; in AddMaterialData()
339 return RenderSceneDataConstants::INVALID_INDEX; in AllocateMaterials()
415 uint32_t skinJointIndex = RenderSceneDataConstants::INVALID_INDEX; in AddSkinJointMatrices()
439 uint32_t customResIndex = RenderSceneDataConstants::INVALID_INDEX; in AddMaterialCustomResources()
526 currSubmesh.skinJointIndex = RenderSceneDataConstants::INVALID_INDEX; in AddSubmesh()
563 if (currSubmesh.skinJointIndex != RenderSceneDataConstants::INVALID_INDEX) { in AddSubmesh()
566 if ((currSubmesh.customResourcesIndex != RenderSceneDataConstants::INVALID_INDEX) && in AddSubmesh()
742 return RenderSceneDataConstants::INVALID_INDEX; in GetMaterialIndex()
[all …]
/ohos5.0/base/security/selinux_adapter/test/unittest/paraperm_checker/
H A Dunit_test.cpp28 static const int INVALID_INDEX = -1; variable
82 ASSERT_EQ(INVALID_INDEX, GetParamLabelIndex(nullptr));
/ohos5.0/base/security/selinux_adapter/interfaces/policycoreutils/src/
H A Dselinux_parameter.c28 static const int INVALID_INDEX = -1; variable
93 return INVALID_INDEX; in GetParamLabelIndex()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Dlist_watch_layout_manager.cpp33 renderList_.SetCenterIndex(INVALID_INDEX); in PerformLayout()
66 if (renderList_.GetCenterIndex() == INVALID_INDEX) { in PerformLayout()
154 (centerIndex == INVALID_INDEX && index == renderList_.GetCurrentMaxIndex())) { in HandleItemStateAndEffect()
191 renderList_.SetCenterIndex(INVALID_INDEX); in MarkAllItemBlur()
/ohos5.0/drivers/peripheral/input/test/unittest/common/
H A Dhdi_input_test.cpp281 int32_t ret = g_inputInterface->iInputManager->OpenInputDevice(INVALID_INDEX);
320 int32_t ret = g_inputInterface->iInputManager->CloseInputDevice(INVALID_INDEX);
482 ret = g_inputInterface->iInputReporter->RegisterReportCallback(INVALID_INDEX, &g_callback);
527 ret = g_inputInterface->iInputController->SetPowerStatus(INVALID_INDEX, setStatus);
573 ret = g_inputInterface->iInputController->GetPowerStatus(INVALID_INDEX, &getStatus);
619 … ret = g_inputInterface->iInputController->GetVendorName(INVALID_INDEX, vendorName, NAME_MAX_LEN);
665 ret = g_inputInterface->iInputController->GetChipName(INVALID_INDEX, chipName, NAME_MAX_LEN);
710 ret = g_inputInterface->iInputController->SetGestureMode(INVALID_INDEX, gestureMode);

1234