Home
last modified time | relevance | path

Searched refs:INVALID_INDEX (Results 1 - 25 of 68) sorted by relevance

123

/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()
173 if (header->target.handle == INVALID_INDEX) { in ProxyInvoke()
175 if (header->target.handle == INVALID_INDEX) { in ProxyInvoke()
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()
[all...]
H A Ddefault_client_small_adapter.c28 SvcIdentity target = {INVALID_INDEX, INVALID_INDEX, INVALID_INDEX}; in QueryRemoteIdentityInner()
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()
[all...]
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_INDE in QueryIdentity()
[all...]
H A Ddefault_client_mini_adapter.c51 SvcIdentity target = {INVALID_INDEX, INVALID_INDEX, INVALID_INDEX}; in QueryRemoteIdentityInner()
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, in SendGetAllSysCapsRequest()
[all...]
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()
159 int ret = Transact(endpoint->context, samgr, INVALID_INDEX, &req, &reply, in SAMGR_AddSysCap()
190 int ret = Transact(endpoint->context, samgr, INVALID_INDEX, &req, &reply, in SAMGR_GetSysCap()
216 int ret = Transact(endpoint->context, samgr, INVALID_INDEX, &req, reply, in SendGetAllSysCapsRequest()
282 if (endpoint == NULL || saName == NULL || token == INVALID_INDEX) { in SAMGR_ProcPolicy()
[all...]
H A Dclient_factory.c100 if (ret == INVALID_INDEX) { in SAMGR_RegisterFactory()
113 if (index != INVALID_INDEX) { in GetFactory()
/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 : NULL}; in DEFAULT_Initialize()
120 Identity id = {service->serviceId, INVALID_INDEX, (service->taskPool != NULL) ? service->taskPool->queueId : NULL}; in DEFAULT_StopService()
146 Identity identity = {INVALID_INDEX, INVALID_INDEX, NULL}; in DEFAULT_GetFeatureId()
181 Identity id = {serviceImpl->serviceId, INVALID_INDEX, NUL in DEFAULT_DeleteFeature()
[all...]
/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_) {
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) {
/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()
281 WriteInt32(reply, INVALID_INDEX); in ProcEndpoint()
289 handle.deadId = INVALID_INDEX; in ProcEndpoint()
319 if (index == INVALID_INDEX) { in ProcPutFeature()
326 if (identity->handle != INVALID_INDEX && identity->handle != handle.handle) { in ProcPutFeature()
420 if (identity->handle == INVALID_INDEX) { in ProcGetFeature()
[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()
219 if (identity->handle != INVALID_INDEX && identity->handle != handle.handle) { in ProcPutFeature()
305 if (identity->handle == INVALID_INDEX) { in ProcGetFeature()
314 if (providerPid.pid == INVALID_INDEX || providerPi in ProcGetFeature()
[all...]
/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 };
/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(); member in OHOS::Ace::V2::ListItemGenerator
40 return INVALID_INDEX; in FindPreviousStickyListItem()
H A Dlist_element.cpp69 return INVALID_INDEX; in FindItemStartIndex()
85 if (startIdx != INVALID_INDEX) { in FindItemStartIndex()
152 return INVALID_INDEX; in FindPreviousStickyListItem()
/foundation/CastEngine/castengine_wifi_display/services/mediachannel/
H A Dbuffer_dispatcher.cpp285 return INVALID_INDEX; in GetReceiverId()
329 return audioIndex != INVALID_INDEX && in DataAvailable()
332 return videoIndex != INVALID_INDEX && in DataAvailable()
335 return videoIndex != INVALID_INDEX && in DataAvailable()
369 if (audioIndex != INVALID_INDEX && videoIndex != INVALID_INDEX) { in GetReceiverReadIndex()
371 } else if (audioIndex == INVALID_INDEX && videoIndex == INVALID_INDEX) { in GetReceiverReadIndex()
372 return INVALID_INDEX; in GetReceiverReadIndex()
374 return audioIndex == INVALID_INDEX in GetReceiverReadIndex()
[all...]
H A Dbuffer_dispatcher.h35 constexpr uint32_t INVALID_INDEX = static_cast<uint32_t>(-1); variable
81 uint32_t lastAudioIndex_ = INVALID_INDEX;
82 uint32_t lastVideoIndex_ = INVALID_INDEX;
207 uint32_t audioIndex = INVALID_INDEX;
208 uint32_t videoIndex = INVALID_INDEX;
214 uint32_t readIndex_ = INVALID_INDEX;
/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()
H A Dcloud_cursor_impl.h54 static const size_t INVALID_INDEX = SIZE_MAX; variable
69 size_t index_ = INVALID_INDEX;
/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()
353 materialIdToIndices_[searchId] = { materialIndex, RenderSceneDataConstants::INVALID_INDEX }; in AllocateMaterials()
415 uint32_t skinJointIndex = RenderSceneDataConstants::INVALID_INDEX;
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()
[all...]
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/render/
H A Drender_data_defines_3d.h68 static constexpr uint32_t INVALID_INDEX { ~0u };
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 };
/foundation/arkui/ace_engine/frameworks/core/components_v2/common/
H A Delement_proxy.h37 static constexpr size_t INVALID_INDEX = std::numeric_limits<size_t>::max(); member in OHOS::Ace::V2::ElementProxy
93 size_t startIndex_ = INVALID_INDEX;
/foundation/systemabilitymgr/samgr_lite/samgr_client/source/
H A Dremote_register_rpc.c81 if (index != INVALID_INDEX) { in SAMGR_FindServiceApi()
90 if (index != INVALID_INDEX) { in SAMGR_FindServiceApi()
H A Dremote_register.c64 if (index != INVALID_INDEX) { in SAMGR_FindServiceApi()
73 if (index != INVALID_INDEX) { in SAMGR_FindServiceApi()

Completed in 14 milliseconds

123