/foundation/communication/netmanager_ext/test/ethernetmanager/unittest/ethernet_manager_test/ |
H A D | dev_interface_state_test.cpp | 156 auto result = devInterfaceState.GetIpv4Prefix(testString, netMaskList); in HWTEST_F() local 157 EXPECT_TRUE(result.empty()); in HWTEST_F() 165 EXPECT_TRUE(result.empty()); in HWTEST_F()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sub_manage/ |
H A D | wifi_hotspot_manager.cpp | 166 std::vector<StationInfo> result;
in DealApGetStaLeave() local 172 ErrCode errCode = pService->GetStationList(result);
in DealApGetStaLeave() 176 if (result.empty()) {
in DealApGetStaLeave()
|
/foundation/communication/netmanager_ext/frameworks/native/mdnsclient/src/ |
H A D | mdns_client.cpp | 185 int32_t result = sam->LoadSystemAbility(COMM_MDNS_MANAGER_SYS_ABILITY_ID, loadCallback_); in LoadSaOnDemand() local 186 if (result != ERR_OK) { in LoadSaOnDemand() 187 NETMGR_EXT_LOG_E("LoadSystemAbility failed : [%{public}d]", result); in LoadSaOnDemand()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/wifi_hal_interface/ |
H A D | wifi_ap_hal_interface.cpp | 95 WifiErrorNo WifiApHalInterface::GetStationList(std::vector<std::string> &result, int id) in GetStationList() argument 99 return mHdiWpaClient->GetStationList(result, id); in GetStationList() 102 return mIdlClient->GetStationList(result, id); in GetStationList()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/src/ |
H A D | softbus_client.cpp | 69 auto result = CheckStatus(); in SendData() local 70 if (result != Status::SUCCESS) { in SendData() 71 return result; in SendData() 148 ZLOGE("[Bind] device:%{public}s socket failed, session:%{public}s,result:%{public}d", in Open()
|
/foundation/distributeddatamgr/preferences/test/native/fuzztest/preferences_fuzzer/ |
H A D | preferences_fuzzer.cpp | 89 bool result = false;
in PutStringFuzz() local 94 result = true;
in PutStringFuzz() 96 return result;
in PutStringFuzz()
|
/foundation/filemanagement/app_file_service/tests/mock/backup_kit_inner/ |
H A D | service_proxy_mock.cpp | 175 ErrCode ServiceProxy::GetBackupInfo(std::string &bundleName, std::string &result) in GetBackupInfo() argument 180 ErrCode ServiceProxy::UpdateTimer(BundleName &bundleName, uint32_t timeout, bool &result) in UpdateTimer() argument 194 ErrCode ServiceProxy::UpdateSendRate(std::string &bundleName, int32_t sendRate, bool &result) in UpdateSendRate() argument
|
/foundation/filemanagement/app_file_service/tests/unittests/backup_sa/session/ |
H A D | service_proxy_mock.cpp | 155 ErrCode ServiceProxy::GetBackupInfo(std::string &bundleName, std::string &result) in GetBackupInfo() argument 160 ErrCode ServiceProxy::UpdateTimer(BundleName &bundleName, uint32_t timeout, bool &result) in UpdateTimer() argument 175 ErrCode ServiceProxy::UpdateSendRate(std::string &bundleName, int32_t sendRate, bool &result) in UpdateSendRate() argument
|
/foundation/filemanagement/app_file_service/tests/unittests/backup_api/backup_impl/include/ |
H A D | i_service_mock.h | 136 ErrCode GetBackupInfo(BundleName &bundleName, std::string &result) override 141 ErrCode UpdateTimer(BundleName &bundleName, uint32_t timeout, bool &result) override 156 ErrCode UpdateSendRate(std::string &bundleName, int32_t sendRate, bool &result) override
|
/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | stream_impl.cpp | 187 int result = fseek(filp, static_cast<long>(offsetResult), SEEK_SET); in Read() local 188 if (result < 0) { in Read() 189 LOGE("Failed to set the offset location of the file stream pointer, ret: %{public}d", result); in Read()
|
/foundation/filemanagement/app_file_service/services/backup_sa/src/module_ipc/ |
H A D | svc_extension_proxy.cpp | 154 ErrCode SvcExtensionProxy::GetBackupInfo(std::string &result) in GetBackupInfo() argument 177 if (!reply.ReadString(result)) { in GetBackupInfo() 181 HILOGI("SvcExtensionProxy::GetBackupInfo end. result: %s", result.c_str()); in GetBackupInfo()
|
/foundation/filemanagement/app_file_service/utils/src/b_hiaudit/ |
H A D | hi_audit.cpp | 97 struct tm result {}; in GetFormattedTimestamp() struct 98 if (localtime_r(&seconds, &result) != nullptr) { in GetFormattedTimestamp() 99 strftime(date, MAX_TIME_BUFF, format.c_str(), &result); in GetFormattedTimestamp()
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/att/ |
H A D | att_common.h | 245 GAP_SignatureResult result; member 325 * @brief lookup AttConnectingInfo info by cid and connectHandle, result to output parameter index. 410 * @param2 result Indicates the result. 412 void LeRecvSendDataCallback(uint16_t aclHandle, int result); 418 * @param2 result Indicates the result. 421 void BREDRRecvSendDataCallback(uint16_t lcid, int result);
|
/foundation/communication/bluetooth_service/test/unittest/gatt/ |
H A D | gatt_server_test.cpp | 49 void OnNotificationCharacteristicChanged(const BluetoothRemoteDevice &device, int result) override 142 int result = server.AddService(serviceOne); in HWTEST_F() local 143 EXPECT_EQ(result, 0); in HWTEST_F()
|
/foundation/window/window_manager/wm/src/ |
H A D | vsync_station.cpp | 95 auto result = receiver->Init(); in GetOrCreateVsyncReceiverLocked() local 96 if (result == VSYNC_ERROR_OK) { in GetOrCreateVsyncReceiverLocked() 100 ", error %{public}d", nodeId_, static_cast<int>(result)); in GetOrCreateVsyncReceiverLocked()
|
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/jsvmtest/ |
H A D | jsvm_utils.h | 92 JSVM_Value result; in Get() local 93 OH_JSVM_GetNamedProperty(jsvm_env, this->value_, propName, &result); in Get() 94 return result; in Get()
|
/test/xts/acts/powermgr/ndk/entry/src/main/cpp/ |
H A D | napi_init.cpp | 158 napi_value result = nullptr;
in CreateEnumPluggedType() local 160 sizeof(desc) / sizeof(*desc), desc, &result);
in CreateEnumPluggedType() 162 napi_set_named_property(env, exports, "BatteryInfo_BatteryPluggedType", result);
in CreateEnumPluggedType()
|
/test/xts/device_attest/services/core/utils/ |
H A D | attest_utils_file.c | 48 int32_t GetFileSize(const char* path, const char* fileName, uint32_t* result) in GetFileSize() argument 50 if (path == NULL || fileName == NULL || result == NULL) { in GetFileSize() 80 *result = ftell(fp); in GetFileSize()
|
/test/xts/device_attest/services/oem_adapter/src/ |
H A D | device_attest_oem_file.c | 49 int32_t OEMGetFileSize(const char* path, const char* fileName, uint32_t* result) in OEMGetFileSize() argument 51 if (path == NULL || fileName == NULL || result == NULL) { in OEMGetFileSize() 78 *result = ftell(fp); in OEMGetFileSize()
|
/test/xts/device_attest_lite/services/core/small/utils/ |
H A D | attest_utils_file_detail.c | 31 int32_t GetFileSize(const char* path, const char* fileName, uint32_t* result) in GetFileSize() argument 33 if (path == NULL || fileName == NULL || result == NULL) { in GetFileSize() 63 *result = ftell(fp); in GetFileSize()
|
/test/xts/hats/hdf/camera/cameraHdi/v4l2/include/ |
H A D | test_display.h | 184 int32_t OnResult(uint64_t timestamp, const std::vector<uint8_t>& result) override; 186 void PrintStabiliInfo(const std::vector<uint8_t>& result); 187 void PrintFpsInfo(const std::vector<uint8_t>& result);
|
/test/xts/hats/kernel/syscalls/fileio/copyfilerange/ |
H A D | CopyFileRangeApiTest.cpp | 171 int result = 0; in HWTEST_F() local 174 result = write(fdIn, TEST_DATA, strlen(TEST_DATA)); in HWTEST_F() 175 EXPECT_EQ(result, strlen(TEST_DATA)); in HWTEST_F()
|
/third_party/elfutils/libdwfl/ |
H A D | dwfl_module.c | 227 int result = (*removed) (MODCB_ARGS (m), arg); in INTDEF() local 228 if (result != 0) in INTDEF() 229 return result; in INTDEF()
|
/third_party/elfio/elfio/ |
H A D | elfio_dynamic.hpp | 94 const char* result = strsec.get_string( (Elf_Word)value ); in get_entry() local 95 if ( nullptr == result ) { in get_entry() 99 str = result; in get_entry()
|
/third_party/gn/src/gn/ |
H A D | function_rebase_path_unittest.cc | 24 Value result = functions::RunRebasePath(scope, &function, args, &err); in RebaseOne() local 25 bool is_string = result.type() == Value::STRING; in RebaseOne() 28 return result.string_value(); in RebaseOne()
|