Home
last modified time | relevance | path

Searched refs:endIndex (Results 1 – 11 of 11) sorted by relevance

/base/startup/init_lite/services/param/trigger/
Dtrigger_checker.c36 calculator->endIndex = 0; in CalculatorInit()
65 calculator->endIndex = 0; in CalculatorClear()
71 …PARAM_CHECK(calculator->endIndex < calculator->dataNumber, return -1, "More data for calculator su… in CalculatorPushChar()
73 calculator->data[calculator->endIndex++] = data; in CalculatorPushChar()
80 …PARAM_CHECK(calculator->endIndex < calculator->dataNumber, return -1, "More data for calculator su… in CalculatorPopChar()
81 if (calculator->endIndex == 0) { in CalculatorPopChar()
84 *data = calculator->data[--calculator->endIndex]; in CalculatorPopChar()
91 …PARAM_CHECK(calculator->endIndex < calculator->dataNumber, return -1, "More data for calculator su… in CalculatorPush()
92 char *tmpData = (char *)calculator->data + calculator->dataUnit * calculator->endIndex; in CalculatorPush()
95 calculator->endIndex++; in CalculatorPush()
[all …]
Dtrigger_manager.c164 for (uint32_t i = executeQueue->startIndex; i < executeQueue->endIndex; i++) { in DelJobTrigger_()
321 uint32_t index = workSpace->executeQueue.endIndex++ % workSpace->executeQueue.queueCount; in ExecuteQueuePush()
331 if (workSpace->executeQueue.endIndex <= workSpace->executeQueue.startIndex) { in ExecuteQueuePop()
541 …ce->executeQueue.queueCount, workSpace->executeQueue.startIndex, workSpace->executeQueue.endIndex); in DumpTrigger()
542 …_t index = workSpace->executeQueue.startIndex; index < workSpace->executeQueue.endIndex; index++) { in DumpTrigger()
Dtrigger_processor.c337 g_triggerWorkSpace.executeQueue.endIndex = 0; in InitTriggerWorkSpace()
/base/startup/init_lite/services/param/include/
Dtrigger_checker.h45 uint32_t endIndex; member
54 int endIndex; member
Dtrigger_manager.h150 uint32_t endIndex; member
/base/startup/init_lite/services/utils/
Dinit_utils.c162 size_t endIndex = 0; in GetProcCmdlineValue() local
168 endIndex = i; in GetProcCmdlineValue()
172 endIndex = i; in GetProcCmdlineValue()
176 if (endIndex != 0) { // for root=uuid=xxxx in GetProcCmdlineValue()
180 endIndex = 0; in GetProcCmdlineValue()
188 value[endIndex] = '\0'; in GetProcCmdlineValue()
/base/accessibility/interfaces/kits/js/
D@ohos.accessibility.d.ts404 endIndex?: number;
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
Dhiappevent_base.cpp39 auto endIndex = str.find_last_not_of("0"); in TrimRightZero() local
40 if (endIndex == std::string::npos) { in TrimRightZero()
44 return (str[endIndex] == '.') ? str.substr(0, endIndex) : str.substr(0, endIndex + 1); in TrimRightZero()
/base/accessibility/frameworks/asacfwk/src/
Daccessibility_event_info.cpp301 int32_t endIndex = 0; in ReadFromParcel() local
302 READ_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, endIndex); in ReadFromParcel()
303 SetEndIndex(endIndex); in ReadFromParcel()
/base/compileruntime/js_util_module/container/struct/
Djs_struct.ts146 …protected binarySearchAtPlain(key: number, startIndex: number = 0, endIndex: number = this.memberN…
148 let high = endIndex - 1;
240 …protected binarySearchAtLightWeight(hash: number, startIndex: number = 0, endIndex: number = this.…
242 let high = endIndex - 1;
/base/accessibility/interfaces/kits/napi/src/
Dnapi_accessibility_utils.cpp645 int endIndex = eventInfo.GetEndIndex(); in ConvertAccessibilityEventInfoToJS() local
646 NAPI_CALL_RETURN_VOID(env, napi_create_int32(env, endIndex, &nEndIndex)); in ConvertAccessibilityEventInfoToJS()