/base/update/updateservice/frameworks/js/napi/session/include/ |
H A D | base_async_session.h | 40 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 D | base_promise_session.h | 32 napi_value StartWork(napi_env env, size_t startIndex, const napi_value *args) override
|
H A D | napi_session.h | 68 virtual napi_value StartWork(napi_env env, size_t startIndex, const napi_value *args) = 0;
|
/base/global/i18n/frameworks/intl/src/ |
H A D | relative_time_format.cpp | 155 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 D | update_session.cpp | 53 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 D | trigger_checker.c | 174 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 D | trigger_manager.c | 167 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 D | trigger_processor.c | 321 g_triggerWorkSpace.executeQueue.startIndex = 0;
in InitTriggerWorkSpace()
|
/base/update/updater/services/script/script_interpreter/ |
H A D | script_context.cpp | 142 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 D | script_context.h | 246 size_t& startIndex);
|
/base/update/updateservice/services/engine/src/ |
H A D | update_service_impl_firmware.cpp | 185 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 D | trigger_checker.h | 44 uint32_t startIndex;
member
|
H A D | trigger_manager.h | 150 uint32_t startIndex;
member
|
/base/global/i18n/frameworks/intl/include/ |
H A D | relative_time_format.h | 74 std::vector<std::vector<std::string>> &timeVector, size_t &startIndex, const std::string &unit,
|
/base/startup/init/services/init/include/ |
H A D | init_cmds.h | 96 char *BuildStringFromCmdArg(const struct CmdArgs *ctx, int startIndex);
|
/base/tee/tee_client/services/tlogcat/src/ |
H A D | tarzip.c | 66 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 D | fold_app_usage_db_helper.h | 76 void QueryAppEventRecords(int startIndex, int64_t dayStartTime, const std::string& bundleName,
|
/base/security/crypto_framework/test/unittest/src/ |
H A D | rsa_common_param_spec.cpp | 35 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 D | crypto_rsa_cipher_sub_test.cpp | 108 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 D | crypto_rsa_asy_key_generator_by_spec_cov_test.cpp | 115 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 D | update_session.h | 136 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 D | peak_finder.cpp | 401 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 D | fold_event_cacher.cpp | 272 int startIndex = GetStartIndex(bundleName);
in CountLifeCycleDuration() local 275 dbHelper_->QueryAppEventRecords(startIndex, dayStartTime, bundleName, records);
in CountLifeCycleDuration()
|
H A D | fold_app_usage_db_helper.cpp | 242 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 D | init_common_cmds.c | 77 char *BuildStringFromCmdArg(const struct CmdArgs *ctx, int startIndex)
in BuildStringFromCmdArg() argument 84 for (int i = startIndex; i < ctx->argc; i++) { // save opt
in BuildStringFromCmdArg()
|