/base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
D | napi_hiappevent_write.cpp | 69 napi_value results[RESULT_SIZE] = { 0 }; in Write() local 71 results[ERR_INDEX] = NapiUtil::CreateNull(env); in Write() 72 results[VALUE_INDEX] = NapiUtil::CreateInt32(env, asyncContext->result); in Write() 75 results[ERR_INDEX] = BuildErrorByResult(env, asyncContext->result); in Write() 77 results[ERR_INDEX] = NapiUtil::CreateObject(env, "code", in Write() 80 results[VALUE_INDEX] = NapiUtil::CreateNull(env); in Write() 85 napi_resolve_deferred(env, asyncContext->deferred, results[VALUE_INDEX]); in Write() 87 napi_reject_deferred(env, asyncContext->deferred, results[ERR_INDEX]); in Write() 93 napi_call_function(env, nullptr, callback, RESULT_SIZE, results, &retValue); in Write()
|
/base/telephony/cellular_call/services/common/src/ |
D | mmi_code_utils.cpp | 137 std::smatch results; in RegexMatchMmi() local 138 if (regex_match(analyseString, results, pattern)) { in RegexMatchMmi() 159 mmiData_.fullString = results.str(fullString); in RegexMatchMmi() 160 mmiData_.actionString = results.str(action); in RegexMatchMmi() 161 mmiData_.serviceCode = results.str(serviceCode); in RegexMatchMmi() 162 mmiData_.serviceInfoA = results.str(sia); in RegexMatchMmi() 163 mmiData_.serviceInfoB = results.str(sib); in RegexMatchMmi() 164 mmiData_.serviceInfoC = results.str(sic); in RegexMatchMmi() 165 mmiData_.pwdString = results.str(pwdConfirm); in RegexMatchMmi() 166 mmiData_.dialString = results.str(dialingNumber); in RegexMatchMmi()
|
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/ |
D | napi_hisysevent_adapter.cpp | 44 napi_value results[RET_SIZE] = {0}; in Write() local 48 NapiHiSysEventUtil::CreateNull(env, results[ERR_INDEX]); in Write() 49 …NapiHiSysEventUtil::CreateInt32Value(env, eventAsyncContext->eventWroteResult, results[VAL_INDEX]); in Write() 51 NapiHiSysEventUtil::CreateNull(env, results[VAL_INDEX]); in Write() 54 results[ERR_INDEX] = NapiHiSysEventUtil::CreateErrorByRet(env, errorCode); in Write() 57 … isNormalWrote ? napi_resolve_deferred(env, eventAsyncContext->deferred, results[VAL_INDEX]) : in Write() 58 napi_reject_deferred(env, eventAsyncContext->deferred, results[ERR_INDEX]); in Write() 63 napi_call_function(env, nullptr, callback, RET_SIZE, results, &retValue); in Write()
|
/base/security/access_token/tools/accesstoken/src/ |
D | atm_command.cpp | 112 ErrCode results = ERR_OK; in RunAsDumpCommand() local 126 results = RunAsCommandError(); in RunAsDumpCommand() 132 results = RunAsCommandMissingOptionArgument(); in RunAsDumpCommand() 136 results = RunAsCommandExistentOptionArgument(option, type, tokenId, permissionName); in RunAsDumpCommand() 139 if (results != ERR_OK) { in RunAsDumpCommand() 142 results = RunCommandByOperationType(type, tokenId, permissionName); in RunAsDumpCommand() 144 return results; in RunAsDumpCommand()
|
/base/time/time_service/framework/js/napi/common/src/ |
D | napi_utils.cpp | 84 napi_value results[2] = { 0 }; in SetTimerCallback() local 93 napi_set_named_property(env, results[0], "message", str); in SetTimerCallback() 94 results[1] = result; in SetTimerCallback() 95 …NAPI_CALL_RETURN_VOID(env, napi_call_function(env, undefined, callback, ARGC_TWO, &results[0], &re… in SetTimerCallback() 167 napi_value results[2] = { 0 }; in SetCallback() local 168 results[0] = GetCallbackErrorValue(env, errorCode, message); in SetCallback() 169 results[1] = result; in SetCallback() 170 …NAPI_CALL_RETURN_VOID(env, napi_call_function(env, undefined, callback, ARGC_TWO, &results[0], &re… in SetCallback()
|
/base/security/access_token/services/privacymanager/test/unittest/ |
D | permission_record_db_test.cpp | 484 std::vector<GenericValues> results; variable 487 …ermissionUsedRecordDb::GetInstance().FindByConditions(type, andConditions, orConditions, results)); 492 …rmissionUsedRecordDb::GetInstance().FindByConditions(type, andConditions1, orConditions, results)); 496 …rmissionUsedRecordDb::GetInstance().FindByConditions(type, andConditions2, orConditions, results)); 500 …rmissionUsedRecordDb::GetInstance().FindByConditions(type, andConditions3, orConditions, results)); 515 std::vector<GenericValues> results; variable 516 ASSERT_EQ(0, PermissionUsedRecordDb::GetInstance().GetDistinctValue(type, condition, results)); 542 std::vector<GenericValues> results; variable 543 ASSERT_EQ(0, PermissionUsedRecordDb::GetInstance().GetDistinctValue(type, condition, results)); 544 results.clear(); [all …]
|
/base/notification/distributed_notification_service/test/fuzztest/notificationuserinputannex_fuzzer/ |
D | notificationuserinputannex_fuzzer.cpp | 34 std::map<std::string, std::shared_ptr<Uri>> results; in DoSomethingInterestingWithMyAPI() local 35 notificationUserInput.AddMimeInputToWant(userInput, want, results); in DoSomethingInterestingWithMyAPI()
|
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/ |
D | get_hardware_info.cpp | 159 std::vector<future<uint64_t>> results; in GetHardwareUsage() local 165 results.emplace_back(std::move(future)); in GetHardwareUsage() 168 for (auto &tempResult : results) { in GetHardwareUsage()
|
/base/powermgr/battery_statistics/frameworks/js/napi/src/ |
D | async_callback_info.cpp | 24 void AsyncCallbackInfo::CallFunction(napi_env& env, napi_value results) in CallFunction() argument 32 napi_value argv[] = {error_.GetNapiError(env), results}; in CallFunction()
|
/base/powermgr/power_manager/frameworks/napi/utils/ |
D | async_callback_info.cpp | 24 void AsyncCallbackInfo::CallFunction(napi_env& env, napi_value results) in CallFunction() argument 32 napi_value argv[] = {error_.GetNapiError(env), results}; in CallFunction()
|
D | async_callback_info.h | 32 void CallFunction(napi_env& env, napi_value results);
|
/base/security/access_token/services/privacymanager/include/database/ |
D | permission_used_record_db.h | 46 const GenericValues& orConditions, std::vector<GenericValues>& results); 51 …GetDistinctValue(DataType type, const std::string& condition, std::vector<GenericValues>& results);
|
/base/useriam/user_auth_framework/interfaces/inner_api/ |
D | co_auth_client_callback.h | 35 virtual int32_t OnGetProperty(const Attributes &conditions, Attributes &results) = 0;
|
/base/security/access_token/services/accesstokenmanager/main/cpp/include/database/ |
D | data_storage.h | 46 virtual int Find(const DataType type, std::vector<GenericValues>& results) = 0;
|
D | sqlite_storage.h | 48 int Find(const DataType type, std::vector<GenericValues>& results) override;
|
/base/useriam/user_auth_framework/test/unittest/inner_api/mocks/ |
D | mock_executor_register_callback.h | 36 MOCK_METHOD2(OnGetProperty, int32_t(const Attributes &conditions, Attributes &results));
|
/base/powermgr/battery_statistics/frameworks/js/napi/include/ |
D | async_callback_info.h | 33 void CallFunction(napi_env& env, napi_value results);
|
/base/hiviewdfx/hiview/utility/smart_parser/feature_analysis/ |
D | feature_analysis.cpp | 366 vector<string> results; in ComposeParam() local 374 results.emplace_back(value); in ComposeParam() 376 results.emplace_back(iter->second.value); in ComposeParam() 382 if (!results.empty()) { in ComposeParam() 391 string result = StringUtil::VectorToString(results, false, tag); in ComposeParam()
|
/base/useriam/user_auth_framework/common/executors/src/framework/ |
D | framework_executor_callback.cpp | 135 int32_t FrameworkExecutorCallback::OnGetProperty(const Attributes &conditions, Attributes &results) in OnGetProperty() argument 138 auto values = Common::MakeShared<Attributes>(results.Serialize()); in OnGetProperty() 141 results = std::move(*values); in OnGetProperty()
|
/base/useriam/user_auth_framework/common/executors/include/framework/ |
D | framework_executor_callback.h | 45 int32_t OnGetProperty(const Attributes &conditions, Attributes &results) override;
|
/base/hiviewdfx/hilog/services/hilogd/include/ |
D | log_persister.h | 56 static int Query(std::list<LogPersistQueryResult> &results);
|
/base/useriam/user_auth_framework/test/fuzztest/clients/coauthclient_fuzzer/ |
D | co_auth_client_fuzzer.cpp | 69 int32_t OnGetProperty(const Attributes &conditions, Attributes &results) in OnGetProperty() argument 73 static_cast<void>(results); in OnGetProperty()
|
/base/security/access_token/services/privacymanager/src/database/ |
D | permission_used_record_db.cpp | 137 const GenericValues& orConditions, std::vector<GenericValues>& results) in FindByConditions() argument 163 results.emplace_back(value); in FindByConditions() 169 const std::string& condition, std::vector<GenericValues>& results) in GetDistinctValue() argument 184 results.emplace_back(value); in GetDistinctValue()
|
/base/useriam/user_auth_framework/test/unittest/inner_api/src/ |
D | executor_callback_service_test.cpp | 202 [&testCode](const Attributes &conditions, Attributes &results) { in __anon2241d0fa0502() argument 203 EXPECT_TRUE(results.SetInt32Value(Attributes::ATTR_RESULT_CODE, testCode)); in __anon2241d0fa0502()
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/ |
D | reminder_common.cpp | 594 napi_value results[ASYNC_CALLBACK_PARAM_NUM] = {nullptr}; in SetCallback() local 596 results[0] = NotificationNapi::Common::NapiGetNull(env); in SetCallback() 599 results[0] = GetCallbackErrorValue(env, errCode, errMsg); in SetCallback() 601 results[1] = result; in SetCallback() 603 … napi_call_function(env, undefined, callback, ASYNC_CALLBACK_PARAM_NUM, &results[0], &resultout)); in SetCallback()
|