Home
last modified time | relevance | path

Searched refs:result (Results 601 - 625 of 17282) sorted by relevance

1...<<21222324252627282930>>...692

/third_party/skia/include/private/
H A DSkSLModifiers.h62 String result = fLayout.description(); in description() local
66 result += "$es3 "; in description()
69 result += "sk_has_side_effects "; in description()
72 result += "noinline "; in description()
77 result += "flat "; in description()
80 result += "noperspective "; in description()
83 result += "const "; in description()
86 result += "uniform "; in description()
89 result += "inout "; in description()
91 result in description()
[all...]
/foundation/communication/wifi/wifi/frameworks/native/c_adapter/src/
H A Dwifi_c_device.cpp78 NO_SANITIZE("cfi") WifiErrorCode GetScanInfoList(WifiScanInfo *result, unsigned int *size) in GetScanInfoList() argument
81 if (result == nullptr || size == nullptr) { in GetScanInfoList()
90 if (memcpy_s(result->ssid, WIFI_MAX_SSID_LEN, in GetScanInfoList()
94 if (OHOS::Wifi::MacStrToArray(vecScanInfos[i].bssid, result->bssid) != EOK) { in GetScanInfoList()
98 result->bssidType = vecScanInfos[i].bssidType; in GetScanInfoList()
99 result->securityType = static_cast<int>(vecScanInfos[i].securityType); in GetScanInfoList()
100 result->rssi = vecScanInfos[i].rssi; in GetScanInfoList()
101 result->band = vecScanInfos[i].band; in GetScanInfoList()
102 result->frequency = vecScanInfos[i].frequency; in GetScanInfoList()
103 result in GetScanInfoList()
195 ConvertDeviceConfigFromCpp(const OHOS::Wifi::WifiDeviceConfig& deviceConfig, WifiDeviceConfig *result) ConvertDeviceConfigFromCpp() argument
240 AddDeviceConfig(const WifiDeviceConfig *config, int *result) AddDeviceConfig() argument
258 GetDeviceConfigs(WifiDeviceConfig *result, unsigned int *size) GetDeviceConfigs() argument
323 GetLinkedInfoFromCpp(const OHOS::Wifi::WifiLinkedInfo& linkedInfo, WifiLinkedInfo *result) GetLinkedInfoFromCpp() argument
347 GetLinkedInfo(WifiLinkedInfo *result) GetLinkedInfo() argument
363 GetDisconnectedReason(DisconnectedReason *result) GetDisconnectedReason() argument
377 GetDeviceMacAddress(unsigned char *result) GetDeviceMacAddress() argument
431 GetIpV6InfoFromCpp(const OHOS::Wifi::IpV6Info& ipInfo, IpV6Info *result) GetIpV6InfoFromCpp() argument
514 Get5GHzChannelList(int *result, int *size) Get5GHzChannelList() argument
543 StartPortalCertification(int *result, int *size) StartPortalCertification() argument
[all...]
/foundation/systemabilitymgr/samgr/services/samgr/native/source/schedule/
H A Dsystem_ability_event_handler.cpp86 int32_t result = ERR_OK; in HandleAbilityLoadFailedEventLocked() local
93 result = stateMachine_->AbilityStateTransitionLocked(context, SystemAbilityState::NOT_LOADED); in HandleAbilityLoadFailedEventLocked()
96 result = ERR_INVALID_VALUE; in HandleAbilityLoadFailedEventLocked()
101 return result; in HandleAbilityLoadFailedEventLocked()
108 int32_t result = ERR_OK; in HandleAbilityLoadSuccessEventLocked() local
112 result = stateMachine_->AbilityStateTransitionLocked(context, SystemAbilityState::LOADED); in HandleAbilityLoadSuccessEventLocked()
115 result = ERR_INVALID_VALUE; in HandleAbilityLoadSuccessEventLocked()
120 return result; in HandleAbilityLoadSuccessEventLocked()
127 int32_t result = ERR_OK; in HandleAbilityUnLoadSuccessEventLocked() local
134 result in HandleAbilityUnLoadSuccessEventLocked()
156 int32_t result = ERR_OK; HandleProcessStartedEventLocked() local
174 int32_t result = ERR_OK; HandleProcessStoppedEventLocked() local
[all...]
/foundation/communication/nfc/frameworks/js/napi/cardEmulation/
H A Dnfc_napi_cardEmulation_adapter.cpp43 napi_value result; in IsSupported() local
44 napi_get_boolean(env, isSupported, &result); in IsSupported()
45 return result; in IsSupported()
51 napi_value result; in HasHceCapability() local
52 napi_get_boolean(env, hasHceCapability, &result); in HasHceCapability()
53 return result; in HasHceCapability()
82 napi_value result; in IsDefaultService() local
83 napi_get_boolean(env, isDefaultService, &result); in IsDefaultService()
84 return result; in IsDefaultService()
87 void ConvertAbilityInfoToJS(napi_env env, napi_value &result, AbilityInf argument
112 ConvertAbilityInfoVectorToJS(napi_env env, napi_value &result, std::vector<AbilityInfo> &paymentAbilityInfos) ConvertAbilityInfoVectorToJS() argument
139 napi_value result = nullptr; GetPaymentServices() local
[all...]
/foundation/communication/dhcp/frameworks/native/src/
H A Ddhcp_client_callback_stub_lite.cpp106 void DhcpClientCallBackStub::OnIpSuccessChanged(int status, const std::string& ifname, DhcpResult& result) in OnIpSuccessChanged() argument
110 callback_->OnIpSuccessChanged(status, ifname, result); in OnIpSuccessChanged()
131 DhcpResult result; in RemoteOnIpSuccessChanged() local
132 (void)ReadInt32(data, &result.iptype); in RemoteOnIpSuccessChanged()
133 (void)ReadBool(data, &result.isOptSuc); in RemoteOnIpSuccessChanged()
134 (void)ReadUint32(data, &result.uLeaseTime); in RemoteOnIpSuccessChanged()
135 (void)ReadUint32(data, &result.uAddTime); in RemoteOnIpSuccessChanged()
136 (void)ReadUint32(data, &result.uGetTime); in RemoteOnIpSuccessChanged()
137 result.strYourCli = (char *)ReadString(data, &readLen); in RemoteOnIpSuccessChanged()
138 result in RemoteOnIpSuccessChanged()
[all...]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_nir.c255 LLVMValueRef result = lp_build_compare(bld_base->base.gallivm, in int_to_bool32() local
259 result = LLVMBuildSExt(builder, result, bld_base->int_bld.vec_type, ""); in int_to_bool32()
261 result = LLVMBuildTrunc(builder, result, bld_base->int_bld.vec_type, ""); in int_to_bool32()
262 return result; in int_to_bool32()
273 LLVMValueRef result = in flt_to_bool32() local
276 result = LLVMBuildTrunc(builder, result, bld_base->int_bld.vec_type, ""); in flt_to_bool32()
278 result in flt_to_bool32()
291 LLVMValueRef result; fcmp32() local
315 LLVMValueRef result = lp_build_cmp(i_bld, compare, src[0], src[1]); icmp32() local
382 LLVMValueRef result = emit_b2f() local
415 LLVMValueRef result = LLVMBuildAnd(builder, emit_b2i() local
611 LLVMValueRef result = lp_build_div(int_bld, src, divisor); do_int_divide() local
641 LLVMValueRef result = lp_build_mod(int_bld, src, divisor); do_int_mod() local
652 LLVMValueRef result, cond, cond2, temp; do_quantize_to_f16() local
676 LLVMValueRef result; do_alu_action() local
1238 LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]; visit_alu() local
1303 LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]; visit_load_const() local
1382 visit_load_input(struct lp_build_nir_context *bld_base, nir_intrinsic_instr *instr, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]) visit_load_input() argument
1435 visit_load_var(struct lp_build_nir_context *bld_base, nir_intrinsic_instr *instr, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]) visit_load_var() argument
1500 visit_load_ubo(struct lp_build_nir_context *bld_base, nir_intrinsic_instr *instr, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]) visit_load_ubo() argument
1518 visit_load_push_constant(struct lp_build_nir_context *bld_base, nir_intrinsic_instr *instr, LLVMValueRef result[4]) visit_load_push_constant() argument
1534 visit_load_ssbo(struct lp_build_nir_context *bld_base, nir_intrinsic_instr *instr, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]) visit_load_ssbo() argument
1562 visit_get_ssbo_size(struct lp_build_nir_context *bld_base, nir_intrinsic_instr *instr, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]) visit_get_ssbo_size() argument
1574 visit_ssbo_atomic(struct lp_build_nir_context *bld_base, nir_intrinsic_instr *instr, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]) visit_ssbo_atomic() argument
1593 visit_load_image(struct lp_build_nir_context *bld_base, nir_intrinsic_instr *instr, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]) visit_load_image() argument
1675 visit_atomic_image(struct lp_build_nir_context *bld_base, nir_intrinsic_instr *instr, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]) visit_atomic_image() argument
1761 visit_image_size(struct lp_build_nir_context *bld_base, nir_intrinsic_instr *instr, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]) visit_image_size() argument
1784 visit_image_samples(struct lp_build_nir_context *bld_base, nir_intrinsic_instr *instr, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]) visit_image_samples() argument
1808 visit_shared_load(struct lp_build_nir_context *bld_base, nir_intrinsic_instr *instr, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]) visit_shared_load() argument
1834 visit_shared_atomic(struct lp_build_nir_context *bld_base, nir_intrinsic_instr *instr, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]) visit_shared_atomic() argument
1870 visit_load_kernel_input(struct lp_build_nir_context *bld_base, nir_intrinsic_instr *instr, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]) visit_load_kernel_input() argument
1885 visit_load_global(struct lp_build_nir_context *bld_base, nir_intrinsic_instr *instr, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]) visit_load_global() argument
1913 visit_global_atomic(struct lp_build_nir_context *bld_base, nir_intrinsic_instr *instr, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]) visit_global_atomic() argument
1945 visit_interp(struct lp_build_nir_context *bld_base, nir_intrinsic_instr *instr, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]) visit_interp() argument
1977 visit_load_scratch(struct lp_build_nir_context *bld_base, nir_intrinsic_instr *instr, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]) visit_load_scratch() argument
2005 LLVMValueRef result[NIR_MAX_VEC_COMPONENTS] = {0}; visit_intrinsic() local
2542 LLVMValueRef result = NULL; visit_deref() local
[all...]
/foundation/deviceprofile/device_info_manager/services/core/src/dfx/
H A Ddevice_profile_dumper.cpp30 bool DeviceProfileDumper::DumpDefault(std::string& result) in DumpDefault() argument
32 result.append("DeviceProfile Dump:\n"); in DumpDefault()
33 // DeviceProfileStorageManager::GetInstance().DumpLocalProfile(result); in DumpDefault()
37 bool DeviceProfileDumper::Dump(const std::vector<std::string>& args, std::string& result) in Dump() argument
39 result.clear(); in Dump()
41 result.append("Dump failed, not allowed"); in Dump()
46 return DumpDefault(result); in Dump()
52 ShowHelp(result); in Dump()
56 IllegalInput(result); in Dump()
60 void DeviceProfileDumper::ShowHelp(std::string& result) in ShowHelp() argument
66 IllegalInput(std::string& result) IllegalInput() argument
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/misc/
H A Dgetrusage.c29 int result = getrusage(RUSAGE_SELF, &usage); in getrusage_0100() local
30 EXPECT_EQ("getrusage_0100", result, 0); in getrusage_0100()
41 int result = getrusage(RUSAGE_CHILDREN, &usage); in getrusage_0200() local
42 EXPECT_EQ("getrusage_0200", result, 0); in getrusage_0200()
53 int result = getrusage(RUSAGE_THREAD, &usage); in getrusage_0300() local
54 EXPECT_EQ("getrusage_0300", result, 0); in getrusage_0300()
65 int result = getrusage(100, &usage); in getrusage_0400() local
66 EXPECT_EQ("getrusage_0400", result, -1); in getrusage_0400()
77 int result = getrusage(RUSAGE_SELF, NULL); in getrusage_0500() local
78 EXPECT_EQ("getrusage_0500", result, in getrusage_0500()
89 int result = __getrusage_time64(RUSAGE_SELF, &usage); getrusage_time64_0100() local
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/network/
H A Ddn_comp.c28 int result = dn_comp(name, buf, 1024, NULL, NULL); in dn_comp_0100() local
29 EXPECT_EQ("dn_comp_0100", result, 15); in dn_comp_0100()
41 int result = dn_comp(name, buf, 1024, NULL, NULL); in dn_comp_0200() local
42 EXPECT_EQ("dn_comp_0200", result, 1); in dn_comp_0200()
57 int result = dn_comp(name, buf, 1024, NULL, NULL); in dn_comp_0300() local
58 EXPECT_EQ("dn_comp_0300", result, -1); in dn_comp_0300()
70 int result = dn_comp(name, buf, 0, NULL, NULL); in dn_comp_0400() local
71 EXPECT_EQ("dn_comp_0400", result, -1); in dn_comp_0400()
83 int result = dn_comp(name, buf, -1, NULL, NULL); in dn_comp_0500() local
84 EXPECT_EQ("dn_comp_0500", result, in dn_comp_0500()
96 int result = dn_comp(name, buf, 1, NULL, NULL); dn_comp_0600() local
[all...]
H A Dres_mkquery.c39 int result = res_mkquery(op, dname, class, type, data, 0, NULL, buf, sizeof(buf)); in res_mkquery_0100() local
40 if (result < 0) { in res_mkquery_0100()
41 t_error("%s failed: result = %d\n", __func__, result); in res_mkquery_0100()
44 result = memcmp(buf + 12, qname, sizeof(qname) - 1); in res_mkquery_0100()
45 if (result != 0) { in res_mkquery_0100()
46 t_error("%s failed: result = %d\n", __func__, result); in res_mkquery_0100()
49 result = memcmp(buf + 4, qbuf, sizeof(qbuf) - 1); in res_mkquery_0100()
50 if (result ! in res_mkquery_0100()
62 int result = res_mkquery(op, dname, class, T_ANY + 1, data, 0, NULL, NULL, 0); res_mkquery_0200() local
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/string/
H A Dwcsnlen.c30 size_t result = wcsnlen(wc, 6); in wcsnlen_0100() local
31 if (result != want) { in wcsnlen_0100()
32 t_error("%s wcsnlen error get result is %d are not want 6\n", __func__, result); in wcsnlen_0100()
44 size_t result = wcsnlen(wc, 0); in wcsnlen_0200() local
45 if (result != 0) { in wcsnlen_0200()
46 t_error("%s wcsnlen error get result is %d are not want 0\n", __func__, result); in wcsnlen_0200()
59 size_t result = wcsnlen(wc, 3); in wcsnlen_0300() local
60 if (result ! in wcsnlen_0300()
75 size_t result = wcsnlen(wc, 7); wcsnlen_0400() local
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/time/
H A Dclock_getres.c29 int result = clock_getres(CLOCK_REALTIME, &ts); in clock_getres_0100() local
30 EXPECT_EQ("clock_getres_0100", result, 0); in clock_getres_0100()
41 int result = clock_getres(CLOCK_TAI, &ts); in clock_getres_0200() local
42 EXPECT_EQ("clock_getres_0200", result, 0); in clock_getres_0200()
53 int result = clock_getres(CLOCK_MONOTONIC, &ts); in clock_getres_0300() local
54 EXPECT_EQ("clock_getres_0300", result, 0); in clock_getres_0300()
65 int result = clock_getres(CLOCK_BOOTTIME, &ts); in clock_getres_0400() local
66 EXPECT_EQ("clock_getres_0400", result, 0); in clock_getres_0400()
77 int result = clock_getres(100, &ts); in clock_getres_0500() local
78 EXPECT_EQ("clock_getres_0500", result, in clock_getres_0500()
89 int result = __clock_getres_time64(CLOCK_REALTIME, &ts); clock_getres_time64_0100() local
[all...]
/third_party/skia/third_party/externals/tint/src/val/
H A Dmsl.cc26 Result result; in Msl() local
30 result.output = "xcrun not found at '" + std::string(xcrun_path) + "'"; in Msl()
31 result.failed = true; in Msl()
32 return result; in Msl()
52 if (!result.output.empty()) { in Msl()
53 result.output += "\n"; in Msl()
55 result.output += res.out; in Msl()
58 if (!result.output.empty()) { in Msl()
59 result.output += "\n"; in Msl()
61 result in Msl()
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_host_dumper.cpp29 void BluetoothHostDumper::BluetoothDump(const std::vector<std::string>& args, std::string& result) in BluetoothDump() argument
31 result.clear(); in BluetoothDump()
33 ShowDumpHelp(result); in BluetoothDump()
40 ShowDumpHelp(result); in BluetoothDump()
45 BtCommStateDump(result); in BluetoothDump()
49 IllegalDumpInput(result); in BluetoothDump()
52 void BluetoothHostDumper::ShowDumpHelp(std::string& result) in ShowDumpHelp() argument
54 result.append("Bluetooth Dump options:\n") in ShowDumpHelp()
59 void BluetoothHostDumper::BtCommStateDump(std::string& result) in BtCommStateDump() argument
64 result in BtCommStateDump()
71 IllegalDumpInput(std::string& result) IllegalDumpInput() argument
[all...]
/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/
H A Ditest_transaction_service.cpp41 int32_t result = remote->SendRequest(REVERSE_INT, dataParcel, replyParcel, option); in ReverseInt() local
42 if (result != ERR_NONE) { in ReverseInt()
43 HILOGE("TestTransactionServiceProxy SendRequest failed, errno:%d!", result); in ReverseInt()
46 result = replyParcel.ReadInt32(); in ReverseInt()
47 HILOGI("TestTransactionServiceProxy:get result from server data = %d", result); in ReverseInt()
57 int32_t result = 0; in OnRemoteRequest() local
59 int32_t ret = ReverseInt(value, result); in OnRemoteRequest()
60 reply.WriteInt32(result); in OnRemoteRequest()
61 HILOGI("ReverseInt result in OnRemoteRequest()
71 int32_t result = 0; ReverseInt() local
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DVulkanError.cpp21 const char* VkResultAsString(::VkResult result) { in VkResultAsString() argument
24 int32_t code = static_cast<int32_t>(result); in VkResultAsString()
78 MaybeError CheckVkSuccessImpl(VkResult result, const char* context) { in CheckVkSuccessImpl() argument
79 if (DAWN_LIKELY(result == VK_SUCCESS)) { in CheckVkSuccessImpl()
83 std::string message = std::string(context) + " failed with " + VkResultAsString(result); in CheckVkSuccessImpl()
85 if (result == VK_ERROR_DEVICE_LOST) { in CheckVkSuccessImpl()
92 MaybeError CheckVkOOMThenSuccessImpl(VkResult result, const char* context) { in CheckVkOOMThenSuccessImpl() argument
93 if (DAWN_LIKELY(result == VK_SUCCESS)) { in CheckVkOOMThenSuccessImpl()
97 std::string message = std::string(context) + " failed with " + VkResultAsString(result); in CheckVkOOMThenSuccessImpl()
99 if (result in CheckVkOOMThenSuccessImpl()
[all...]
/third_party/skia/third_party/externals/tint/src/writer/msl/
H A Dgenerator.cc35 Result result; in Generate() local
43 result.success = false; in Generate()
44 result.error = sanitized_result.program.Diagnostics().str(); in Generate()
45 return result; in Generate()
47 result.needs_storage_buffer_sizes = in Generate()
49 result.used_array_length_from_uniform_indices = in Generate()
54 result.success = impl->Generate(); in Generate()
55 result.error = impl->error(); in Generate()
56 result.msl = impl->result(); in Generate()
[all...]
/foundation/ability/idl_tool/test/unittest/ast_module_test/
H A Dast_module_test.cpp62 AutoPtr<ASTNamespace> result = module->GetNamespace(index); in HWTEST_F() local
64 EXPECT_EQ(result, nullptr); in HWTEST_F()
79 AutoPtr<ASTInterfaceType> result = module->GetInterface(index); in HWTEST_F() local
81 EXPECT_EQ(result, nullptr); in HWTEST_F()
96 int result = module->IndexOf(interface); in HWTEST_F() local
98 EXPECT_EQ(result, -1); in HWTEST_F()
113 AutoPtr<ASTSequenceableType> result = module->GetSequenceable(index); in HWTEST_F() local
115 EXPECT_EQ(result, nullptr); in HWTEST_F()
130 int result = module->IndexOf(sequenceable); in HWTEST_F() local
132 EXPECT_EQ(result, in HWTEST_F()
147 AutoPtr<ASTType> result = module->FindType(typeName); HWTEST_F() local
164 int result = module->IndexOf(interfaceType); HWTEST_F() local
180 bool result = module->IsValid(); HWTEST_F() local
209 String result = module->Dump(prefix); HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/tools/aa/src/
H A Dshell_command.cpp48 int result = OHOS::ERR_OK; in OnCommand() local
59 result = OHOS::ERR_INVALID_VALUE; in OnCommand()
63 return result; in OnCommand()
69 int result = CreateCommandMap(); in ExecCommand() local
70 if (result != OHOS::ERR_OK) { in ExecCommand()
74 result = CreateMessageMap(); in ExecCommand()
75 if (result != OHOS::ERR_OK) { in ExecCommand()
79 result = OnCommand(); in ExecCommand()
80 if (result != OHOS::ERR_OK) { in ExecCommand()
102 std::string result in GetUnknownOptionMsg() local
118 std::string result = ""; GetMessageFromCode() local
[all...]
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dreverse_continuation_scheduler_replica_stub_test.cpp64 int32_t result = stub->PassPrimaryInner(data, reply); in HWTEST_F() local
65 TAG_LOGI(AAFwkTag::TEST, "result is %{public}d", result); in HWTEST_F()
66 EXPECT_EQ(result, NO_ERROR); in HWTEST_F()
84 int32_t result = stub->PassPrimaryInner(data, reply); in HWTEST_F() local
85 TAG_LOGI(AAFwkTag::TEST, "result is %{public}d", result); in HWTEST_F()
86 EXPECT_EQ(result, NO_ERROR); in HWTEST_F()
103 int32_t result = stub->ReverseContinuationInner(data, reply); in HWTEST_F() local
104 TAG_LOGI(AAFwkTag::TEST, "result i in HWTEST_F()
122 int32_t result = stub->NotifyReverseResultInner(data, reply); HWTEST_F() local
142 int32_t result = stub->OnRemoteRequest(code, data, reply, option); HWTEST_F() local
163 int32_t result = stub->OnRemoteRequest(code, data, reply, option); HWTEST_F() local
[all...]
/foundation/arkui/ui_appearance/test/unittest/
H A Dui_appearance_test.cpp86 auto result = test->SetDarkMode(UiAppearanceAbilityInterface::DarkMode::ALWAYS_DARK); in HWTEST_F() local
87 EXPECT_EQ(result, 0); in HWTEST_F()
91 result = test->SetDarkMode(UiAppearanceAbilityInterface::DarkMode::ALWAYS_LIGHT); in HWTEST_F()
92 EXPECT_EQ(result, 0); in HWTEST_F()
107 auto result = test->SetDarkMode(UiAppearanceAbilityInterface::DarkMode::ALWAYS_DARK); in HWTEST_F() local
108 EXPECT_EQ(result, UiAppearanceAbilityInterface::ErrCode::SUCCEEDED); in HWTEST_F()
112 result = test->SetDarkMode(UiAppearanceAbilityInterface::DarkMode::ALWAYS_DARK); in HWTEST_F()
113 EXPECT_EQ(result, UiAppearanceAbilityInterface::ErrCode::SYS_ERR); in HWTEST_F()
117 result = test->SetDarkMode(UiAppearanceAbilityInterface::DarkMode::ALWAYS_LIGHT); in HWTEST_F()
118 EXPECT_EQ(result, UiAppearanceAbilityInterfac in HWTEST_F()
137 int result = HWTEST_F() local
152 int result = HWTEST_F() local
[all...]
/foundation/communication/dsoftbus/tests/adapter/bluetooth/
H A Dassert_helper.h44 testing::AssertionResult result = testing::AssertionSuccess(); in Expect() local
46 result = testing::AssertionFailure() << identifier << " is call by unexpectedly id," in Expect()
50 return result; in Expect()
74 auto result = RecordCtx::Expect(id); in Expect() local
75 if (!result) { in Expect()
79 result = testing::AssertionFailure() << identifier << " is call by unexpectedly state," in Expect()
83 result = testing::AssertionSuccess(); in Expect()
86 return result; in Expect()
110 auto result = StRecordCtx::Expect(id, st); in Expect() local
111 if (!result) { in Expect()
146 auto result = StRecordCtx::Expect(id, st); Expect() local
[all...]
/foundation/communication/dsoftbus/tests/adapter/broadcast/
H A Dassert_helper.h39 testing::AssertionResult result = testing::AssertionSuccess(); in Expect() local
41 result = testing::AssertionFailure() << identifier << " is call by unexpectedly id," in Expect()
45 return result; in Expect()
69 auto result = RecordCtx::Expect(id); in Expect() local
70 if (!result) { in Expect()
74 result = testing::AssertionFailure() << identifier << " is call by unexpectedly state," in Expect()
78 result = testing::AssertionSuccess(); in Expect()
81 return result; in Expect()
105 auto result = StRecordCtx::Expect(id, st); in Expect() local
106 if (!result) { in Expect()
141 auto result = StRecordCtx::Expect(id, st); Expect() local
[all...]
/foundation/filemanagement/app_file_service/interfaces/kits/ndk/fileuri/src/
H A Doh_file_uri.cpp25 static FileManagement_ErrCode GetValue(std::string_view resultStr, char **result) in GetValue() argument
35 *result = static_cast<char *>(malloc(sizeof(char) * (count + 1))); in GetValue()
36 if (*result == nullptr) { in GetValue()
40 int ret = strncpy_s(*result, count + 1, resultStr.data(), count); in GetValue()
43 free(*result); in GetValue()
44 *result = nullptr; in GetValue()
50 FileManagement_ErrCode OH_FileUri_GetUriFromPath(const char *path, unsigned int length, char **result) in OH_FileUri_GetUriFromPath() argument
52 if (path == nullptr || strlen(path) != length || result == nullptr) { in OH_FileUri_GetUriFromPath()
57 return GetValue(fileUri.ToString(), result); in OH_FileUri_GetUriFromPath()
60 FileManagement_ErrCode OH_FileUri_GetPathFromUri(const char *uri, unsigned int length, char **result) in OH_FileUri_GetPathFromUri() argument
70 OH_FileUri_GetFullDirectoryUri(const char *uri, unsigned int length, char **result) OH_FileUri_GetFullDirectoryUri() argument
94 OH_FileUri_GetFileName(const char *uri, unsigned int length, char **result) OH_FileUri_GetFileName() argument
[all...]
/third_party/FatFs/source/
H A Ddiskio.c89 int result; in disk_read() local
91 result = los_part_read((int)pdrv, (void *)buff, sector, (UINT32)count, TRUE); in disk_read()
93 if (result == 0) in disk_read()
110 int result; in disk_read_readdir() local
112 result = los_part_read((int)pdrv, (void *)buff, sector, (UINT32)count, FALSE); in disk_read_readdir()
114 if (result == 0) in disk_read_readdir()
125 int result; in disk_raw_read() local
127 result = los_disk_read(id, buff, sector, count, TRUE); in disk_raw_read()
129 if (result == 0) in disk_raw_read()
152 int result; in disk_write() local
167 int result; disk_raw_write() local
193 int result; disk_ioctl() local
[all...]

Completed in 12 milliseconds

1...<<21222324252627282930>>...692