Home
last modified time | relevance | path

Searched refs:res (Results 951 - 975 of 6339) sorted by relevance

1...<<31323334353637383940>>...254

/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dbss.c430 struct wpa_scan_res *res, in wpa_bss_add()
436 bss = os_zalloc(sizeof(*bss) + res->ie_len + res->beacon_ie_len); in wpa_bss_add()
441 wpa_bss_copy_res(bss, res, fetch_time); in wpa_bss_add()
444 bss->ie_len = res->ie_len; in wpa_bss_add()
445 bss->beacon_ie_len = res->beacon_ie_len; in wpa_bss_add()
446 os_memcpy(bss + 1, res + 1, res->ie_len + res->beacon_ie_len); in wpa_bss_add()
606 struct wpa_scan_res *res, struc in wpa_bss_update()
428 wpa_bss_add(struct wpa_supplicant *wpa_s, const u8 *ssid, size_t ssid_len, struct wpa_scan_res *res, struct os_reltime *fetch_time) wpa_bss_add() argument
605 wpa_bss_update(struct wpa_supplicant *wpa_s, struct wpa_bss *bss, struct wpa_scan_res *res, struct os_reltime *fetch_time) wpa_bss_update() argument
739 wpa_bss_update_scan_res(struct wpa_supplicant *wpa_s, struct wpa_scan_res *res, struct os_reltime *fetch_time) wpa_bss_update_scan_res() argument
1332 hw_magiclink_bss_add(struct wpa_supplicant *wpa_s, const u8 *ssid, size_t ssid_len, struct wpa_scan_res *res, struct os_reltime *fetch_time) hw_magiclink_bss_add() argument
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/
H A Dvpe_utils.cpp157 int32_t res; in ColorSpaceConverterComposeImage() local
159 res = ColorSpaceConverterCreate(dlHandler_, &instanceId); in ColorSpaceConverterComposeImage()
160 if (instanceId == VPE_ERROR_FAILED || res != VPE_ERROR_OK) { in ColorSpaceConverterComposeImage()
174 res = composeImage(instanceId, sdr, gainmap, hdr, legacy); in ColorSpaceConverterComposeImage()
179 return res; in ColorSpaceConverterComposeImage()
189 int32_t res; in ColorSpaceConverterDecomposeImage() local
191 res = ColorSpaceConverterCreate(dlHandler_, &instanceId); in ColorSpaceConverterDecomposeImage()
192 if (instanceId == VPE_ERROR_FAILED || res != VPE_ERROR_OK) { in ColorSpaceConverterDecomposeImage()
206 res = decomposeImage(instanceId, hdr, sdr, gainmap); in ColorSpaceConverterDecomposeImage()
211 return res; in ColorSpaceConverterDecomposeImage()
397 int32_t res; ColorSpaceConverterImageProcess() local
427 int32_t res; DetailEnhancerImageProcess() local
[all...]
/foundation/resourceschedule/resource_schedule_service/ressched_executor/test/unittest/
H A Dres_sched_exe_service_test.cpp116 int res = resSchedExeService_->Dump(wrongFd, argsNull); in HWTEST_F() local
117 EXPECT_NE(res, ResErrCode::RSSEXE_NO_ERR); in HWTEST_F()
120 res = resSchedExeService_->Dump(correctFd, argsNull); in HWTEST_F()
123 res = resSchedExeService_->Dump(correctFd, argsHelp); in HWTEST_F()
126 res = resSchedExeService_->Dump(correctFd, argsAll); in HWTEST_F()
129 res = resSchedExeService_->Dump(correctFd, argsError); in HWTEST_F()
132 res = resSchedExeService_->Dump(correctFd, argsPlugin); in HWTEST_F()
135 res = resSchedExeService_->Dump(correctFd, argsOnePlugin); in HWTEST_F()
375 int32_t res = resSchedExeServiceStub_->OnRemoteRequest(ResIpcType::REQUEST_SEND_SYNC, reply, reply, option); in HWTEST_F() local
376 EXPECT_TRUE(res); in HWTEST_F()
389 int32_t res = resSchedExeServiceStub_->OnRemoteRequest(ResIpcType::REQUEST_SEND_SYNC, reply, reply, option); RemoteRequestTask() local
[all...]
/third_party/rust/crates/clap/tests/builder/
H A Dopts.rs8 let res = Command::new("prog") in require_equals_fail()
17 assert!(res.is_err()); in require_equals_fail()
18 assert_eq!(res.unwrap_err().kind(), ErrorKind::NoEquals); in require_equals_fail()
41 let res = Command::new("prog") in require_equals_min_values_zero()
51 assert!(res.is_ok(), "{}", res.unwrap_err()); in require_equals_min_values_zero()
52 let m = res.unwrap(); in require_equals_min_values_zero()
59 let res = Command::new("prog") in double_hyphen_as_value()
67 assert!(res.is_ok(), "{:?}", res); in double_hyphen_as_value()
[all...]
/foundation/ability/ability_runtime/test/unittest/ability_connect_callback_stub_test/
H A Dability_connect_callback_stub_test.cpp74 int res = mockAbilityConnectStub->OnRemoteRequest(IAbilityConnection::ON_ABILITY_CONNECT_DONE, data, reply, option); in HWTEST_F() local
75 EXPECT_EQ(res, ERR_INVALID_VALUE); in HWTEST_F()
103 int res = mockAbilityConnectStub->OnRemoteRequest(IAbilityConnection::ON_ABILITY_CONNECT_DONE, data, reply, option); in HWTEST_F() local
104 EXPECT_EQ(res, ERR_OK); in HWTEST_F()
130 int res = in HWTEST_F() local
132 EXPECT_EQ(res, ERR_INVALID_VALUE); in HWTEST_F()
160 int res = in HWTEST_F() local
162 EXPECT_EQ(res, ERR_OK); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/runtime_test/
H A Djs_quickfix_callback_test.cpp62 bool res = jsQuickfixCallback(baseFileName, patchFileName, &patchBuffer, patchSize); in HWTEST_F() local
63 EXPECT_FALSE(res); in HWTEST_F()
83 bool res = jsQuickfixCallback(baseFileName, patchFileName, &patchBuffer, patchSize); in HWTEST_F() local
84 EXPECT_FALSE(res); in HWTEST_F()
104 bool res = jsQuickfixCallback(baseFileName, patchFileName, &patchBuffer, patchSize); in HWTEST_F() local
105 EXPECT_FALSE(res); in HWTEST_F()
125 bool res = jsQuickfixCallback(baseFileName, patchFileName, &patchBuffer, patchSize); in HWTEST_F() local
126 EXPECT_FALSE(res); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/atomic_service_status_callback_stub_test/
H A Datomic_service_status_callback_stub_test.cpp75 int res = mockAtomicServiceStatusCallbackStub->OnRemoteRequest( in HWTEST_F() local
77 EXPECT_NE(res, NO_ERROR); in HWTEST_F()
107 int res = mockAtomicServiceStatusCallbackStub->OnRemoteRequest( in HWTEST_F() local
109 EXPECT_EQ(res, NO_ERROR); in HWTEST_F()
139 int res = mockAtomicServiceStatusCallbackStub->OnRemoteRequest( in HWTEST_F() local
142 EXPECT_NE(res, NO_ERROR); in HWTEST_F()
172 int res = mockAtomicServiceStatusCallbackStub->OnRemoteRequest( in HWTEST_F() local
175 EXPECT_EQ(res, NO_ERROR); in HWTEST_F()
/foundation/arkui/ace_engine/adapter/ohos/services/uiservice/test/unittest/phone/ui_service_stub_test/
H A Dui_service_stub_test.cpp65 int res = mockUIServiceCallBack->OnRemoteRequest( in HWTEST_F() local
67 EXPECT_EQ(res, ERR_INVALID_STATE); in HWTEST_F()
109 int res = mockUIServiceCallBack->OnRemoteRequest( in HWTEST_F() local
111 EXPECT_EQ(res, ERR_OK); in HWTEST_F()
143 int res = mockUIServiceCallBack->OnRemoteRequest( in HWTEST_F() local
145 EXPECT_EQ(res, ERR_OK); in HWTEST_F()
182 int res = mockUIServiceCallBack->OnRemoteRequest( in HWTEST_F() local
184 EXPECT_EQ(res, ERR_OK); in HWTEST_F()
/foundation/arkui/ace_engine/test/mock/core/rosen/
H A Dtesting_typography.h101 TestingTypographyProperties::PositionAndAffinity res(1, TestingTypographyProperties::Affinity::UPSTREAM); in GetGlyphPositionAtCoordinateWithCluster()
102 return res; in GetGlyphPositionAtCoordinateWithCluster()
107 TestingTypographyProperties::IndexAndAffinity res(1, TestingTypographyProperties::Affinity::PREV); in GetGlyphIndexByCoordinate()
108 return res; in GetGlyphIndexByCoordinate()
115 TestingTypographyProperties::PositionAndAffinity res(1, TestingTypographyProperties::Affinity::UPSTREAM); in GetGlyphPositionAtCoordinate()
116 return res; in GetGlyphPositionAtCoordinate()
128 TestingTypographyProperties::IndexAndAffinity res(1, TestingTypographyProperties::Affinity::PREV); in GetGlyphPositionAtCoordinate()
129 return res; in GetGlyphPositionAtCoordinate()
/foundation/arkui/ace_engine_lite/frameworks/native_engine/async/test/unittest/common/
H A Djs_async_work_tdd_test.cpp45 bool res = JsAsyncWork::DispatchAsyncWork(Execute, nullptr); in JsAsyncWorkTest001() local
47 * @tc.expected: step1. res is false due to null AceAbility instance in JsAsyncWorkTest001()
49 EXPECT_FALSE(res); in JsAsyncWorkTest001()
53 res = JsAsyncWork::DispatchAsyncWork(ExecuteWithCode, nullptr); in JsAsyncWorkTest001()
55 * @tc.expected: step2. res is false due to null AceAbility instance in JsAsyncWorkTest001()
57 EXPECT_FALSE(res); in JsAsyncWorkTest001()
68 bool res = JsAsyncWork::DispatchAsyncWork(handler1, nullptr); in JsAsyncWorkTest002() local
70 * @tc.expected: step1. res is false due to invalid parameters, and error log can be checked in JsAsyncWorkTest002()
72 EXPECT_FALSE(res); in JsAsyncWorkTest002()
77 res in JsAsyncWorkTest002()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_event_handler_test/
H A Dbms_event_handler_unlocked_test.cpp100 bool res = CreateBundleDataDir(bundleInfo, Constants::ALL_USERID); in HWTEST_F() local
101 EXPECT_EQ(res, true); in HWTEST_F()
112 bool res = CreateBundleDataDir(bundleInfo, Constants::ALL_USERID); in HWTEST_F() local
113 EXPECT_EQ(res, true); in HWTEST_F()
127 bool res = OnReceiveEvent(commonData); in HWTEST_F() local
128 EXPECT_EQ(res, true); in HWTEST_F()
142 bool res = OnReceiveEvent(commonData); in HWTEST_F() local
143 EXPECT_EQ(res, false); in HWTEST_F()
/foundation/bundlemanager/ecological_rule_manager/test/unittest/
H A Decological_rule_mgr_service_client_test.cpp64 int32_t res = ecologicalRuleMgrServiceClient->QueryFreeInstallExperience(want, callerInfo, rule); in HWTEST_F() local
65 ASSERT_EQ(OHOS::EcologicalRuleMgrService::ReturnCode::SUCCESS, res); in HWTEST_F()
80 int32_t res = ecologicalRuleMgrServiceClient->QueryStartExperience(want, callerInfo, rule); in HWTEST_F() local
81 ASSERT_EQ(OHOS::EcologicalRuleMgrService::ReturnCode::SUCCESS, res); in HWTEST_F()
96 int32_t res = ecologicalRuleMgrServiceClient->IsSupportPublishForm(wants, callerInfo, bSupport); in HWTEST_F() local
97 ASSERT_EQ(OHOS::EcologicalRuleMgrService::ReturnCode::SUCCESS, res); in HWTEST_F()
118 int32_t res = ecologicalRuleMgrServiceClient->EvaluateResolveInfos(want, callerInfo, type, abilityInfos, extInfos); in HWTEST_F() local
119 ASSERT_EQ(OHOS::EcologicalRuleMgrService::ReturnCode::SUCCESS, res); in HWTEST_F()
/foundation/multimedia/audio_framework/services/audio_service/common/src/
H A Dfutex_tool.cpp68 long res = 0; in FutexWait() local
75 res = syscall(__NR_futex, futexPtr, FUTEX_WAIT, IS_NOT_READY, (timeout <= 0 ? NULL : &waitTime), NULL, 0); in FutexWait()
76 if (res == 0 && futexPtr->load() == IS_READY) { in FutexWait()
81 timeout, res, errno, strerror(errno)); in FutexWait()
85 AUDIO_WARNING_LOG("result:%{public}ld, errno[%{public}d]:%{public}s", res, errno, strerror(errno)); in FutexWait()
112 long res = syscall(__NR_futex, futexPtr, FUTEX_WAKE, INT_MAX, NULL, NULL, 0); in FutexWake() local
113 if (res < 0) { in FutexWake()
114 AUDIO_ERR_LOG("failed:%{public}ld, errno[%{public}d]:%{public}s", res, errno, strerror(errno)); in FutexWake()
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/cmd/
H A Drs_canvas_node_cmd_test.cpp145 bool res = RSCanvasNodeCommandHelper::AddCmdToSingleFrameComposer(node, drawCmds, type); in HWTEST_F() local
146 EXPECT_TRUE(res == false); in HWTEST_F()
150 res = RSCanvasNodeCommandHelper::AddCmdToSingleFrameComposer(node, drawCmds, type); in HWTEST_F()
151 EXPECT_TRUE(res); in HWTEST_F()
154 res = RSCanvasNodeCommandHelper::AddCmdToSingleFrameComposer(node, drawCmds, type); in HWTEST_F()
155 EXPECT_TRUE(res == false); in HWTEST_F()
159 res = RSCanvasNodeCommandHelper::AddCmdToSingleFrameComposer(node, drawCmds, type); in HWTEST_F()
160 EXPECT_TRUE(res == false); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/animat/
H A Drs_interpolator_animat_test.cpp88 bool res = linearInterpolator.Marshalling(parcel); in HWTEST_F() local
89 EXPECT_EQ(res, true); in HWTEST_F()
119 bool res = rsCustomInterpolator.Marshalling(parcel); in HWTEST_F() local
120 EXPECT_EQ(res, true); in HWTEST_F()
137 float res = rsCustomInterpolator.InterpolateImpl(input); in HWTEST_F() local
138 EXPECT_NE(res, 0.f); in HWTEST_F()
141 res = rsCustomInterpolator.InterpolateImpl(input); in HWTEST_F()
142 EXPECT_NE(res, 0.f); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/ipc_callbacks/
H A Dscreen_change_callback_stub_test.cpp58 int res = rsScreenChangeCallbackStub->OnRemoteRequest(code, data, reply, option); in HWTEST_F() local
59 EXPECT_TRUE(res == ERR_NONE); in HWTEST_F()
75 int res = rsScreenChangeCallbackStub->OnRemoteRequest(code, data, reply, option); in HWTEST_F() local
76 EXPECT_TRUE(res == ERR_INVALID_STATE); in HWTEST_F()
92 int res = rsScreenChangeCallbackStub->OnRemoteRequest(code, data, reply, option); in HWTEST_F() local
93 EXPECT_TRUE(res == ERR_INVALID_STATE); in HWTEST_F()
110 int res = rsScreenChangeCallbackStub->OnRemoteRequest(code, data, reply, option); in HWTEST_F() local
111 EXPECT_TRUE(res != ERR_NONE); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/command/
H A Drs_canvas_node_command_test.cpp104 bool res = RSCanvasNodeCommandHelper::AddCmdToSingleFrameComposer(node, drawCmds, type); in HWTEST_F() local
105 EXPECT_TRUE(res == false); in HWTEST_F()
109 res = RSCanvasNodeCommandHelper::AddCmdToSingleFrameComposer(node, drawCmds, type); in HWTEST_F()
110 EXPECT_TRUE(res); in HWTEST_F()
113 res = RSCanvasNodeCommandHelper::AddCmdToSingleFrameComposer(node, drawCmds, type); in HWTEST_F()
114 EXPECT_TRUE(res == false); in HWTEST_F()
118 res = RSCanvasNodeCommandHelper::AddCmdToSingleFrameComposer(node, drawCmds, type); in HWTEST_F()
119 EXPECT_TRUE(res == false); in HWTEST_F()
/foundation/filemanagement/storage_service/services/storage_daemon/utils/
H A Ddisk_utils.cpp148 std::string res; in GetAnonyString() local
156 res += value[0]; in GetAnonyString()
157 res += tmpStr; in GetAnonyString()
158 res += value[strLen - 1]; in GetAnonyString()
160 res.append(value, 0, INT32_PLAINTEXT_LENGTH); in GetAnonyString()
161 res += tmpStr; in GetAnonyString()
162 res.append(value, strLen - INT32_PLAINTEXT_LENGTH, INT32_PLAINTEXT_LENGTH); in GetAnonyString()
165 return res; in GetAnonyString()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/animation/
H A Drs_interpolator_test.cpp73 bool res = linearInterpolator.Marshalling(parcel); in HWTEST_F() local
74 EXPECT_EQ(res, true); in HWTEST_F()
103 bool res = rsCustomInterpolator.Marshalling(parcel); in HWTEST_F() local
104 EXPECT_EQ(res, true); in HWTEST_F()
159 float res = rsCustomInterpolator.InterpolateImpl(input); in HWTEST_F() local
160 EXPECT_NE(res, 0.f); in HWTEST_F()
163 res = rsCustomInterpolator.InterpolateImpl(input); in HWTEST_F()
164 EXPECT_NE(res, 0.f); in HWTEST_F()
/foundation/communication/ipc/ipc/native/test/unittest/common/
H A Dipc_connector_unittest.cpp58 bool res = binderConnector.OpenDriver(); in HWTEST_F() local
59 EXPECT_EQ(res, false); in HWTEST_F()
125 bool res = binderConnector->MapMemory(0); in HWTEST_F() local
126 EXPECT_EQ(res, false); in HWTEST_F()
138 bool res = binderConnector->IsRealPidSupported(); in HWTEST_F() local
139 EXPECT_EQ(res, true); in HWTEST_F()
151 bool res = binderConnector->IsRealPidSupported(); in HWTEST_F() local
152 EXPECT_EQ(res, false); in HWTEST_F()
/foundation/communication/nfc/interfaces/inner_api/common/
H A Dtaginfo_parcelable.cpp107 std::string res = "tagTechList: ["; in ToString() local
109 res += "]"; in ToString()
110 return res; in ToString()
113 res += std::to_string(tagTechList_[i]); in ToString()
114 res += ", "; in ToString()
116 res += std::to_string(tagTechList_[tagTechList_.size() - 1]); in ToString()
117 res += "]"; in ToString()
118 return res; in ToString()
/foundation/distributedhardware/distributed_camera/common/src/utils/
H A Danonymous_string.cpp61 std::string res; in GetAnonyString() local
69 res += value[0]; in GetAnonyString()
70 res += tmpStr; in GetAnonyString()
71 res += value[strLen - 1]; in GetAnonyString()
73 res.append(value, 0, INT32_PLAINTEXT_LENGTH); in GetAnonyString()
74 res += tmpStr; in GetAnonyString()
75 res.append(value, strLen - INT32_PLAINTEXT_LENGTH, INT32_PLAINTEXT_LENGTH); in GetAnonyString()
78 return res; in GetAnonyString()
/third_party/ffmpeg/libavcodec/mips/
H A Dcabac.h127 int res = 0; in get_cabac_bypass_mips() local
160 "movz %[res], %[one], %[tmp0] \n\t" in get_cabac_bypass_mips()
162 : [tmp0]"=&r"(tmp0), [tmp1]"=&r"(tmp1), [res]"+&r"(res), in get_cabac_bypass_mips()
172 return res; in get_cabac_bypass_mips()
179 int res = val; in get_cabac_bypass_sign_mips() local
213 PTR_SUBU "%[tmp1], %[zero], %[res] \n\t" in get_cabac_bypass_sign_mips()
214 "movn %[res], %[tmp1], %[tmp0] \n\t" in get_cabac_bypass_sign_mips()
215 : [tmp0]"=&r"(tmp0), [tmp1]"=&r"(tmp1), [res]"+&r"(res), in get_cabac_bypass_sign_mips()
[all...]
/third_party/curl/tests/libtest/
H A Dlib554.c66 CURLcode res = CURLE_OK; in once() local
178 /* Perform the request, res will get the return code */ in once()
179 res = curl_easy_perform(curl); in once()
189 return res; in once()
194 int res; in test() local
201 res = once(URL, TRUE); /* old */ in test()
202 if(!res) in test()
203 res = once(URL, FALSE); /* new */ in test()
207 return res; in test()
/third_party/ffmpeg/libavdevice/
H A Dalsa_dec.c104 int res; in audio_read_packet() local
116 while ((res = snd_pcm_readi(s->h, s->pkt->data + s->pkt->size, s->period_size - s->pkt->size / s->frame_size)) < 0) { in audio_read_packet()
117 if (res == -EAGAIN) { in audio_read_packet()
121 if (ff_alsa_xrun_recover(s1, res) < 0) { in audio_read_packet()
123 snd_strerror(res)); in audio_read_packet()
128 s->pkt->size += res * s->frame_size; in audio_read_packet()
134 dts -= av_rescale(delay + res, 1000000, s->sample_rate); in audio_read_packet()
136 s->last_period = res; in audio_read_packet()

Completed in 13 milliseconds

1...<<31323334353637383940>>...254