Home
last modified time | relevance | path

Searched refs:startIndex (Results 1 - 25 of 32) sorted by relevance

12

/base/update/updateservice/frameworks/js/napi/session/include/
H A Dbase_async_session.h40 napi_value StartWork(napi_env env, size_t startIndex, const napi_value *args) override
42 ENGINE_LOGI("BaseAsyncSession::StartWork startIndex: %{public}zu totalArgc_ %{public}zu "
44 startIndex, totalArgc_, callbackNumber_);
45 PARAM_CHECK_NAPI_CALL(env, args != nullptr && totalArgc_ >= startIndex, return nullptr, "Invalid para");
50 for (size_t i = 0; (i < (totalArgc_ - startIndex)) && (i < callbackNumber_); i++) {
51 ENGINE_LOGI("CreateReference index:%u", static_cast<unsigned int>(i + startIndex));
52 ClientStatus ret = NapiCommonUtils::IsTypeOf(env, args[i + startIndex], napi_function);
58 ret = NapiCommonUtils::CreateReference(env, args[i + startIndex], 1, callbackRef_[i]);
H A Dbase_promise_session.h32 napi_value StartWork(napi_env env, size_t startIndex, const napi_value *args) override
H A Dnapi_session.h68 virtual napi_value StartWork(napi_env env, size_t startIndex, const napi_value *args) = 0;
/base/global/i18n/frameworks/intl/src/
H A Drelative_time_format.cpp155 std::vector<std::vector<std::string>> &timeVector, size_t &startIndex, const std::string &unit, in ProcessIntegerField()
159 if (iter->first > startIndex) { in ProcessIntegerField()
160 InsertInfo(timeVector, unit, true, result.substr(startIndex, iter->first - startIndex)); in ProcessIntegerField()
162 startIndex = iter->second; in ProcessIntegerField()
188 size_t startIndex = (size_t)constrainedPos.getStart(); in FormatToParts() local
191 indexMap.insert(std::make_pair(startIndex, (size_t)constrainedPos.getLimit())); in FormatToParts()
194 if (startIndex > prevIndex) { in FormatToParts()
195 InsertInfo(timeVector, unit, false, result.substr(prevIndex, startIndex - prevIndex)); in FormatToParts()
198 ProcessIntegerField(indexMap, timeVector, startIndex, uni in FormatToParts()
154 ProcessIntegerField(const std::map<size_t, size_t> &indexMap, std::vector<std::vector<std::string>> &timeVector, size_t &startIndex, const std::string &unit, const std::string &result) ProcessIntegerField() argument
[all...]
/base/update/updateservice/frameworks/js/napi/update/src/
H A Dupdate_session.cpp53 napi_value UpdateListener::StartWork(napi_env env, size_t startIndex, const napi_value *args) in StartWork() argument
56 PARAM_CHECK_NAPI_CALL(env, args != nullptr && totalArgc_ > startIndex, return nullptr, "Invalid para"); in StartWork()
67 NapiCommonUtils::IsTypeOf(env, args[startIndex], napi_function) == ClientStatus::CLIENT_SUCCESS, return nullptr, in StartWork()
69 ClientStatus ret = NapiCommonUtils::CreateReference(env, args[startIndex], 1, handlerRef_); in StartWork()
/base/startup/init/services/param/trigger/
H A Dtrigger_checker.c174 char *subStr = strstr(condition + data->startIndex, "="); in ComputeSubCondition()
176 if (strncmp(condition + data->startIndex, calculator->triggerContent, triggerContentSize) == 0) { in ComputeSubCondition()
181 int ret = GetValueFromContent(condition + data->startIndex, in ComputeSubCondition()
182 data->endIndex - data->startIndex, 0, calculator->conditionName, SUPPORT_DATA_BUFFER_MAX); in ComputeSubCondition()
184 ret = GetValueFromContent(condition + data->startIndex, data->endIndex - data->startIndex, in ComputeSubCondition()
253 data1.startIndex = start; in ComputeCondition()
263 data1.startIndex = start; in ComputeCondition()
H A Dtrigger_manager.c167 for (uint32_t i = executeQueue->startIndex; i < executeQueue->endIndex; i++) { in DelJobTrigger_()
338 if (workSpace->executeQueue.endIndex <= workSpace->executeQueue.startIndex) { in ExecuteQueuePop()
341 uint32_t currIndex = workSpace->executeQueue.startIndex % workSpace->executeQueue.queueCount; in ExecuteQueuePop()
344 workSpace->executeQueue.startIndex++; in ExecuteQueuePop()
556 workSpace->executeQueue.queueCount, workSpace->executeQueue.startIndex, workSpace->executeQueue.endIndex); in SystemDumpTriggers()
557 for (uint32_t index = workSpace->executeQueue.startIndex; index < workSpace->executeQueue.endIndex; index++) { in SystemDumpTriggers()
H A Dtrigger_processor.c321 g_triggerWorkSpace.executeQueue.startIndex = 0; in InitTriggerWorkSpace()
/base/update/updater/services/script/script_interpreter/
H A Dscript_context.cpp142 size_t &startIndex) in UpdateVariables()
145 if (startIndex >= ids.size()) { in UpdateVariables()
146 USCRIPT_LOGE("Invalid startIndex %d", startIndex); in UpdateVariables()
149 UpdateVariable(inter, ids[startIndex], value); in UpdateVariables()
150 startIndex++; in UpdateVariables()
156 if (startIndex >= ids.size()) { in UpdateVariables()
157 USCRIPT_LOGE("Invalid startIndex %d", startIndex); in UpdateVariables()
160 UpdateVariable(inter, ids[startIndex], ou in UpdateVariables()
139 UpdateVariables(const ScriptInterpreter &inter, UScriptValuePtr value, std::vector<std::string> ids, size_t &startIndex) UpdateVariables() argument
[all...]
H A Dscript_context.h246 size_t& startIndex);
/base/update/updateservice/services/engine/src/
H A Dupdate_service_impl_firmware.cpp185 size_t startIndex = dataXml.find_first_of("|"); in GetNewVersionDescription() local
186 if (startIndex == std::string::npos) { in GetNewVersionDescription()
191 std::string dataXmlFinal = dataXml.substr(startIndex + 1, dataXml.size()); in GetNewVersionDescription()
234 size_t startIndex = dataXml.find_first_of("|"); in GetCurrentVersionDescription() local
235 if (startIndex == std::string::npos) { in GetCurrentVersionDescription()
240 std::string dataXmlFinal = dataXml.substr(startIndex + 1, dataXml.size()); in GetCurrentVersionDescription()
/base/startup/init/services/param/include/
H A Dtrigger_checker.h44 uint32_t startIndex; member
H A Dtrigger_manager.h150 uint32_t startIndex; member
/base/global/i18n/frameworks/intl/include/
H A Drelative_time_format.h74 std::vector<std::vector<std::string>> &timeVector, size_t &startIndex, const std::string &unit,
/base/startup/init/services/init/include/
H A Dinit_cmds.h96 char *BuildStringFromCmdArg(const struct CmdArgs *ctx, int startIndex);
/base/tee/tee_client/services/tlogcat/src/
H A Dtarzip.c66 static int32_t WriteOneUint(size_t startIndex, size_t unitLen, const char *input, char *ouput) in WriteOneUint() argument
72 ouput[i + startIndex] = input[i]; in WriteOneUint()
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/include/
H A Dfold_app_usage_db_helper.h76 void QueryAppEventRecords(int startIndex, int64_t dayStartTime, const std::string& bundleName,
/base/security/crypto_framework/test/unittest/src/
H A Drsa_common_param_spec.cpp35 void EndianSwap(unsigned char *pData, int startIndex, int length) in EndianSwap() argument
38 int start = startIndex; in EndianSwap()
39 int end = startIndex + length - 1; in EndianSwap()
H A Dcrypto_rsa_cipher_sub_test.cpp108 static void EndianSwap(unsigned char *pData, int startIndex, int length) in EndianSwap() argument
111 int start = startIndex; in EndianSwap()
112 int end = startIndex + length - 1; in EndianSwap()
H A Dcrypto_rsa_asy_key_generator_by_spec_cov_test.cpp115 static void EndianSwap(unsigned char *pData, int startIndex, int length) in EndianSwap() argument
118 int start = startIndex; in EndianSwap()
119 int end = startIndex + length - 1; in EndianSwap()
/base/update/updateservice/frameworks/js/napi/update/include/
H A Dupdate_session.h136 napi_value StartWork(napi_env env, size_t startIndex, const napi_value *args) override;
/base/sensors/sensor/vibration_convert/core/algorithm/peak_finder/src/
H A Dpeak_finder.cpp401 int32_t startIndex = mountainPosition.peakPos[startPos - 1]; in DetectValley() local
403 auto iter = std::min_element((envelope.begin() + startIndex), (envelope.begin() + endindex)); in DetectValley()
411 int32_t startIndex = mountainPosition.peakPos[i]; in DetectValley() local
413 auto iter = std::min_element((envelope.begin() + startIndex), (envelope.begin() + endindex)); in DetectValley()
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
H A Dfold_event_cacher.cpp272 int startIndex = GetStartIndex(bundleName); in CountLifeCycleDuration() local
275 dbHelper_->QueryAppEventRecords(startIndex, dayStartTime, bundleName, records); in CountLifeCycleDuration()
H A Dfold_app_usage_db_helper.cpp242 void FoldAppUsageDbHelper::QueryAppEventRecords(int startIndex, int64_t dayStartTime, const std::string& bundleName, in QueryAppEventRecords() argument
252 predicates.GreaterThanOrEqualTo(FoldEventTable::FIELD_ID, startIndex); in QueryAppEventRecords()
/base/startup/init/services/init/
H A Dinit_common_cmds.c77 char *BuildStringFromCmdArg(const struct CmdArgs *ctx, int startIndex) in BuildStringFromCmdArg() argument
84 for (int i = startIndex; i < ctx->argc; i++) { // save opt in BuildStringFromCmdArg()

Completed in 17 milliseconds

12