Home
last modified time | relevance | path

Searched refs:currIndex (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/base/startup/init/services/param/trigger/
H A Dtrigger_checker.c204 uint32_t currIndex = 0; in GetValueFromContent() local
207 value[currIndex++] = '\0'; in GetValueFromContent()
212 if (currIndex < valueSize) { in GetValueFromContent()
213 value[currIndex] = '\0'; in GetValueFromContent()
222 uint32_t currIndex = 0; in ComputeCondition() local
229 while (currIndex < conditionLen) { in ComputeCondition()
230 if (condition[currIndex] == '|' || condition[currIndex] == '&') { in ComputeCondition()
248 if (start == currIndex) { in ComputeCondition()
249 start = ++currIndex; in ComputeCondition()
257 start = currIndex + 1; in ComputeCondition()
[all …]
H A Dtrigger_manager.c341 … uint32_t currIndex = workSpace->executeQueue.startIndex % workSpace->executeQueue.queueCount; in ExecuteQueuePop() local
342 trigger = workSpace->executeQueue.executeQueue[currIndex]; in ExecuteQueuePop()
343 workSpace->executeQueue.executeQueue[currIndex] = NULL; in ExecuteQueuePop()
/ohos5.0/docs/zh-cn/third-party-cases/
H A Dwater-wave-animation.md95 this.currIndex = this.index
115 if (this.unPressed && this.currIndex == this.index) {
128 else if (!this.unPressed && this.currIndex == this.index) {
194 private currIndex: number = -1
217 if (this.unPressed && this.currIndex == this.index) {
230 else if (!this.unPressed && this.currIndex == this.index) {
280 this.currIndex = this.index
H A Dproperty-animation.md89 this.currIndex = index
108 .backgroundColor(this.flag && this.currIndex == index ? '#D2C3D5' : '#fff')
121 private currIndex: number = -1
138 .backgroundColor(this.flag && this.currIndex == index ? '#D2C3D5' : '#fff')
149 this.currIndex = index
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_ipv6_client.cpp270 int currIndex = static_cast<int>(if_nametoindex(interfaceName.c_str())); in onIpv6AddressAddEvent() local
271 if (currIndex != ifaIndex) { in onIpv6AddressAddEvent()
272 DHCP_LOGE("address ifaindex invalid, %{public}d != %{public}d", currIndex, ifaIndex); in onIpv6AddressAddEvent()
351 int currIndex = static_cast<int>(if_nametoindex(interfaceName.c_str())); in onIpv6DnsAddEvent() local
352 if (currIndex != ifaIndex) { in onIpv6DnsAddEvent()
353 DHCP_LOGE("dnsevent ifaindex invalid, %{public}d != %{public}d", currIndex, ifaIndex); in onIpv6DnsAddEvent()
401 int currIndex = static_cast<int>(if_nametoindex(interfaceName.c_str())); in onIpv6RouteAddEvent() local
402 if (currIndex != ifaIndex) { in onIpv6RouteAddEvent()
403 DHCP_LOGE("route ifaindex invalid, %{public}d != %{public}d", currIndex, ifaIndex); in onIpv6RouteAddEvent()
/ohos5.0/base/web/webview/interfaces/kits/cj/src/
H A Dwebview_javascript_result_callback.cpp252 int currIndex = 0; in ConstructArgv() local
257 while (argIndex == currIndex) { in ConstructArgv()
259 currIndex ++; in ConstructArgv()
265 while (argIndex == currIndex) { in ConstructArgv()
267 currIndex ++; in ConstructArgv()
272 currIndex++; in ConstructArgv()
275 while (argIndex == currIndex) { in ConstructArgv()
277 currIndex ++; in ConstructArgv()
/ohos5.0/base/startup/appspawn/test/unittest/app_spawn_standard_test/
H A Dnweb_spawn_service_test.cpp334 uint32_t currIndex = 0; variable
337 if ((currIndex + sendStep) > msgLen) {
340 len = write(socketId, buffer.data() + currIndex, sendStep);
343 currIndex += sendStep;
346 if (msgLen > currIndex) {
347 len = write(socketId, buffer.data() + currIndex, msgLen - currIndex);
H A Dapp_spawn_service_test.cpp382 uint32_t currIndex = 0; variable
385 if ((currIndex + sendStep) > msgLen) {
388 len = write(socketId, buffer.data() + currIndex, sendStep);
391 currIndex += sendStep;
394 if (msgLen > currIndex) {
395 len = write(socketId, buffer.data() + currIndex, msgLen - currIndex);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_layout_algorithm.cpp1851 int32_t index = currIndex + i; in LayoutCachedItem()
1857 currIndex = itemPosition_.begin()->first - 1; in LayoutCachedItem()
1860 int32_t index = currIndex - i; in LayoutCachedItem()
2254 currIndex = positionInfo.first; in FindPredictSnapIndexInItemPositionsStart()
2256 if (endIndex >= 0 && currIndex >= 0) { in FindPredictSnapIndexInItemPositionsStart()
2274 currIndex = positionInfo.first; in FindPredictSnapIndexInItemPositionsCenter()
2276 if (endIndex >= 0 && currIndex >= 0) { in FindPredictSnapIndexInItemPositionsCenter()
2296 currIndex = pos->first; in FindPredictSnapIndexInItemPositionsEnd()
2298 if (endIndex >= 0 && currIndex >= 0) { in FindPredictSnapIndexInItemPositionsEnd()
2308 int32_t currIndex = -1; in FindPredictSnapEndIndexInItemPositions() local
[all …]
H A Dlist_layout_algorithm.h518 …ictSnapIndexInItemPositionsStart(float predictEndPos, int32_t& endIndex, int32_t& currIndex) const;
519 …ctSnapIndexInItemPositionsCenter(float predictEndPos, int32_t& endIndex, int32_t& currIndex) const;
520 …edictSnapIndexInItemPositionsEnd(float predictEndPos, int32_t& endIndex, int32_t& currIndex) const;
/ohos5.0/base/startup/appspawn/test/unittest/
H A Dapp_spawn_test_helper.cpp556 uint32_t currIndex = 0; in GetAppProperty() local
561 int ret = memcpy_s(msgNode->buffer + currIndex, bufferSize - currIndex, in GetAppProperty()
568 currIndex += block->currentIndex - bufferStart; in GetAppProperty()
/ohos5.0/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dwebview_javascript_result_callback.cpp1065 int currIndex = 0; in ConstructArgv() local
1070 while (argIndex == currIndex) { in ConstructArgv()
1079 currIndex++; in ConstructArgv()
1085 while (argIndex == currIndex) { in ConstructArgv()
1093 currIndex ++; in ConstructArgv()
1099 currIndex++; in ConstructArgv()
1102 while (argIndex == currIndex) { in ConstructArgv()
1110 currIndex++; in ConstructArgv()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/
H A Drender_node_default_camera_controller.cpp658 const uint32_t currIndex = camRes_.historyFlipFrame; in RegisterOutputs() local
659 const uint32_t nextIndex = (currIndex + 1u) % 2u; in RegisterOutputs()
661 …terialRenderNodeConstants::CORE_DM_CAMERA_HISTORY, createdTargets_.history[currIndex].GetHandle()); in RegisterOutputs()
665 …terialRenderNodeConstants::CORE_DM_CAMERA_HISTORY, createdTargets_.history[currIndex].GetHandle()); in RegisterOutputs()