/kernel/linux/linux-5.10/arch/m68k/fpsp040/ |
H A D | res_func.S | 177 | Inst is fmove. This code also handles all result writes. 181 | is double or single, round the result before the write. 199 beq cu_wrexn |if so, just write result 338 | Write the result to memory, setting the fpsr cc bits. NaN and Inf 473 | Inst is fmove. This code also handles all result writes. 477 | is double or single, the result is zero, and the mode is checked 478 | to determine if the lsb of the result should be set. 492 beq cu_wrexd |if so, just write result 526 | The precision is extended, so the result in etemp is correct. 527 | Simply set unfl (not inex2 or aunfl) and write the result t [all...] |
/kernel/linux/linux-6.6/arch/m68k/fpsp040/ |
H A D | res_func.S | 177 | Inst is fmove. This code also handles all result writes. 181 | is double or single, round the result before the write. 199 beq cu_wrexn |if so, just write result 338 | Write the result to memory, setting the fpsr cc bits. NaN and Inf 473 | Inst is fmove. This code also handles all result writes. 477 | is double or single, the result is zero, and the mode is checked 478 | to determine if the lsb of the result should be set. 492 beq cu_wrexd |if so, just write result 526 | The precision is extended, so the result in etemp is correct. 527 | Simply set unfl (not inex2 or aunfl) and write the result t [all...] |
/kernel/linux/linux-5.10/drivers/usb/serial/ |
H A D | io_edgeport.c | 568 int result; in get_epic_descriptor() local 581 result = usb_control_msg(serial->dev, usb_rcvctrlpipe(serial->dev, 0), in get_epic_descriptor() 586 if (result == sizeof(*epic)) { in get_epic_descriptor() 618 result = 0; in get_epic_descriptor() 619 } else if (result >= 0) { in get_epic_descriptor() 621 result); in get_epic_descriptor() 622 result = -EIO; in get_epic_descriptor() 627 return result; in get_epic_descriptor() 656 int result; in edge_interrupt_callback() local 698 result in edge_interrupt_callback() 1575 unsigned int result = 0; get_lsr_info() local 1624 unsigned int result = 0; edge_tiocmget() local 2080 int result; sram_write() local 2127 int result; rom_write() local 2169 int result; rom_read() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/serial/ |
H A D | io_edgeport.c | 492 int result; in get_epic_descriptor() local 505 result = usb_control_msg(serial->dev, usb_rcvctrlpipe(serial->dev, 0), in get_epic_descriptor() 510 if (result == sizeof(*epic)) { in get_epic_descriptor() 542 result = 0; in get_epic_descriptor() 543 } else if (result >= 0) { in get_epic_descriptor() 545 result); in get_epic_descriptor() 546 result = -EIO; in get_epic_descriptor() 551 return result; in get_epic_descriptor() 580 int result; in edge_interrupt_callback() local 622 result in edge_interrupt_callback() 1475 unsigned int result = 0; get_lsr_info() local 1524 unsigned int result = 0; edge_tiocmget() local 1964 int result; sram_write() local 2011 int result; rom_write() local 2053 int result; rom_read() local [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | synthetic-events.c | 1431 size_t sz, result = sizeof(struct perf_record_sample); in perf_event__sample_event_size() local 1434 result += sizeof(u64); in perf_event__sample_event_size() 1437 result += sizeof(u64); in perf_event__sample_event_size() 1440 result += sizeof(u64); in perf_event__sample_event_size() 1443 result += sizeof(u64); in perf_event__sample_event_size() 1446 result += sizeof(u64); in perf_event__sample_event_size() 1449 result += sizeof(u64); in perf_event__sample_event_size() 1452 result += sizeof(u64); in perf_event__sample_event_size() 1455 result += sizeof(u64); in perf_event__sample_event_size() 1458 result in perf_event__sample_event_size() [all...] |
/base/hiviewdfx/hicollie/frameworks/native/test/unittest/common/ |
H A D | watchdog_inner_test.cpp | 261 int result = ParsePeerBinderPid(fin, pid);
in HWTEST_F() local 263 EXPECT_TRUE(result > 0);
in HWTEST_F() 278 result = ParsePeerBinderPid(fin, pid);
in HWTEST_F() 280 EXPECT_TRUE(result < 0);
in HWTEST_F() 290 std::string result = GetFormatDate();
291 printf("GetFormatDate:%s\n", result.c_str());
292 EXPECT_TRUE(!result.empty());
360 int result = WatchdogInner::GetInstance().AddThread("AddThread", nullptr, timeOutCallback, 10);
in HWTEST_F() local 361 EXPECT_TRUE(result <= 0);
in HWTEST_F()
|
/base/powermgr/battery_statistics/services/native/src/entities/ |
H A D | uid_entity.cpp | 263 void UidEntity::DumpForBluetooth(int32_t uid, std::string& result)
in DumpForBluetooth() argument 271 result.append("Bluetooth Br scan time: ")
in DumpForBluetooth() 279 void UidEntity::DumpForCommon(int32_t uid, std::string& result)
in DumpForCommon() argument 307 result.append("Camera on time: ")
in DumpForCommon() 333 void UidEntity::DumpInfo(std::string& result, int32_t uid)
in DumpInfo() argument 361 result.append("\n")
in DumpInfo() 368 DumpForBluetooth(iter.first, result);
in DumpInfo() 369 DumpForCommon(iter.first, result);
in DumpInfo() 372 cpuEntity->DumpInfo(result, iter.first);
in DumpInfo()
|
/base/print/print_fwk/interfaces/kits/napi/print_napi/src/ |
H A D | napi_print_task.cpp | 75 auto output = [context](napi_env env, napi_value *result) -> napi_status { in Print() 77 *result = NapiPrintUtils::GetUndefined(env); in Print() 80 napi_status status = napi_get_reference_value(env, context->ref, result); in Print() 124 auto output = [context](napi_env env, napi_value *result) -> napi_status { in PrintByAdapter() 126 *result = NapiPrintUtils::GetUndefined(env); in PrintByAdapter() 129 napi_status status = napi_get_reference_value(env, context->ref, result); in PrintByAdapter() 210 napi_value result = nullptr; in WrapVoidToJS() local 211 NAPI_CALL(env, napi_get_null(env, &result)); in WrapVoidToJS() 212 return result; in WrapVoidToJS()
|
/base/web/webview/ohos_interface/include/ohos_nweb/ |
H A D | nweb_handler.h | 478 * @param result std::shared_ptr<NWebJSDialogResult>: A NWebJSDialogResult to 483 const std::string& url, const std::string& message, std::shared_ptr<NWebJSDialogResult> result) in OnAlertDialogByJS() 494 * @param result std::shared_ptr<NWebJSDialogResult>: A NWebJSDialogResult to 499 const std::string& url, const std::string& message, std::shared_ptr<NWebJSDialogResult> result) in OnBeforeUnloadByJS() 511 * @param result std::shared_ptr<NWebJSDialogResult>: A NWebJSDialogResult to 516 std::shared_ptr<NWebJSDialogResult> result) in OnPromptDialogByJS() 527 * @param result std::shared_ptr<NWebJSDialogResult>: A NWebJSDialogResult to 532 const std::string& url, const std::string& message, std::shared_ptr<NWebJSDialogResult> result) in OnConfirmDialogByJS() 609 std::shared_ptr<NWebJSHttpAuthResult> result, const std::string& host, const std::string& realm) in OnHttpAuthRequestByJS() 621 virtual bool OnSslErrorRequestByJS(std::shared_ptr<NWebJSSslErrorResult> result, SslErro argument 482 OnAlertDialogByJS( const std::string& url, const std::string& message, std::shared_ptr<NWebJSDialogResult> result) OnAlertDialogByJS() argument 498 OnBeforeUnloadByJS( const std::string& url, const std::string& message, std::shared_ptr<NWebJSDialogResult> result) OnBeforeUnloadByJS() argument 515 OnPromptDialogByJS(const std::string& url, const std::string& message, const std::string& defaultValue, std::shared_ptr<NWebJSDialogResult> result) OnPromptDialogByJS() argument 531 OnConfirmDialogByJS( const std::string& url, const std::string& message, std::shared_ptr<NWebJSDialogResult> result) OnConfirmDialogByJS() argument 608 OnHttpAuthRequestByJS( std::shared_ptr<NWebJSHttpAuthResult> result, const std::string& host, const std::string& realm) OnHttpAuthRequestByJS() argument 626 OnSslSelectCertRequestByJS(std::shared_ptr<NWebJSSslSelectCertResult> result, const std::string& host, int port, const std::vector<std::string>& keyTypes, const std::vector<std::string>& issuers) OnSslSelectCertRequestByJS() argument 838 OnAllSslErrorRequestByJS(std::shared_ptr<NWebJSAllSslErrorResult> result, SslError error, const std::string& url, const std::string& originalUrl, const std::string& referrer, bool isFatalError, bool isMainFrame) OnAllSslErrorRequestByJS() argument 1029 OnSslErrorRequestByJSV2(std::shared_ptr<NWebJSSslErrorResult> result, SslError error, const std::vector<std::string>& certChainData) OnSslErrorRequestByJSV2() argument [all...] |
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webcore/ |
H A D | ark_web_handler_wrapper.h | 268 * @param result std::shared_ptr<NWebJSDialogResult>: A NWebJSDialogResult to 274 std::shared_ptr<OHOS::NWeb::NWebJSDialogResult> result) override; 282 * @param result std::shared_ptr<NWebJSDialogResult>: A NWebJSDialogResult to 288 std::shared_ptr<OHOS::NWeb::NWebJSDialogResult> result) override; 297 * @param result std::shared_ptr<NWebJSDialogResult>: A NWebJSDialogResult to 303 std::shared_ptr<OHOS::NWeb::NWebJSDialogResult> result) override; 311 * @param result std::shared_ptr<NWebJSDialogResult>: A NWebJSDialogResult to 317 std::shared_ptr<OHOS::NWeb::NWebJSDialogResult> result) override; 319 bool OnHttpAuthRequestByJS(std::shared_ptr<OHOS::NWeb::NWebJSHttpAuthResult> result, const std::string& host, 322 bool OnSslErrorRequestByJS(std::shared_ptr<OHOS::NWeb::NWebJSSslErrorResult> result, ArkWebSslErro [all...] |
/kernel/linux/linux-5.10/arch/m68k/mac/ |
H A D | misc.c | 247 } result, last_result; in via_read_time() local 262 &result.cdata[3]); in via_read_time() 264 &result.cdata[2]); in via_read_time() 266 &result.cdata[1]); in via_read_time() 268 &result.cdata[0]); in via_read_time() 270 if (result.idata == last_result.idata) in via_read_time() 271 return (time64_t)result.idata - RTC_OFFSET; in via_read_time() 276 last_result.idata = result.idata; in via_read_time() 280 __func__, last_result.idata, result.idata); in via_read_time()
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
H A D | udp.c | 123 /* use nip_addr_hash() to obtain a hash result of nip_addr */ in nip_udp_portaddr_hash() 135 /* hash2_partial is the hash result of nip_addr only */ in nip_udp_get_port() 208 struct sock *result = NULL; in nip_udp_lib_lookup2() local 215 result = sk; in nip_udp_lib_lookup2() 219 return result; in nip_udp_lib_lookup2() 232 struct sock *result; in __nip_udp_lib_lookup() local 240 result = nip_udp_lib_lookup2(net, saddr, sport, in __nip_udp_lib_lookup() 243 if (!IS_ERR_OR_NULL(result)) in __nip_udp_lib_lookup() 252 result = nip_udp_lib_lookup2(net, saddr, sport, in __nip_udp_lib_lookup() 256 if (IS_ERR(result)) in __nip_udp_lib_lookup() [all...] |
/kernel/linux/linux-5.10/drivers/atm/ |
H A D | atmtcp.c | 96 sk_atm(vcc)->sk_err = -msg->result; in atmtcp_recv_control() 289 int result = 0; in atmtcp_c_send() local 295 result = atmtcp_recv_control( in atmtcp_c_send() 303 result = -EUNATCH; in atmtcp_c_send() 310 result = -ENOBUFS; in atmtcp_c_send() 321 return result; in atmtcp_c_send() 360 static int atmtcp_create(int itf,int persist,struct atm_dev **result) in atmtcp_create() argument 379 if (result) *result = dev; in atmtcp_create()
|
/kernel/linux/linux-5.10/block/ |
H A D | bsg-lib.c | 85 hdr->device_status = job->result & 0xff; in bsg_transport_complete_rq() 86 hdr->transport_status = host_byte(job->result); in bsg_transport_complete_rq() 87 hdr->driver_status = driver_byte(job->result); in bsg_transport_complete_rq() 93 if (job->result < 0) { in bsg_transport_complete_rq() 94 /* we're only returning the result field in the reply */ in bsg_transport_complete_rq() 96 ret = job->result; in bsg_transport_complete_rq() 176 * @result: job reply result 181 void bsg_job_done(struct bsg_job *job, int result, in bsg_job_done() argument 186 job->result in bsg_job_done() [all...] |
/kernel/linux/linux-6.6/arch/m68k/mac/ |
H A D | misc.c | 246 } result, last_result; in via_read_time() local 261 &result.cdata[3]); in via_read_time() 263 &result.cdata[2]); in via_read_time() 265 &result.cdata[1]); in via_read_time() 267 &result.cdata[0]); in via_read_time() 269 if (result.idata == last_result.idata) in via_read_time() 270 return (time64_t)result.idata - RTC_OFFSET; in via_read_time() 275 last_result.idata = result.idata; in via_read_time() 279 __func__, last_result.idata, result.idata); in via_read_time()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-stripe.c | 204 uint32_t *stripe, sector_t *result) in stripe_map_sector() 228 *result = chunk + chunk_offset; in stripe_map_sector() 232 uint32_t target_stripe, sector_t *result) in stripe_map_range_sector() 236 stripe_map_sector(sc, sector, &stripe, result); in stripe_map_range_sector() 241 sector = *result; in stripe_map_range_sector() 243 *result -= sector_div(sector, sc->chunk_size); in stripe_map_range_sector() 245 *result = sector & ~(sector_t)(sc->chunk_size - 1); in stripe_map_range_sector() 248 *result += sc->chunk_size; /* next chunk */ in stripe_map_range_sector() 405 unsigned status_flags, char *result, unsigned maxlen) in stripe_status() 203 stripe_map_sector(struct stripe_c *sc, sector_t sector, uint32_t *stripe, sector_t *result) stripe_map_sector() argument 231 stripe_map_range_sector(struct stripe_c *sc, sector_t sector, uint32_t target_stripe, sector_t *result) stripe_map_range_sector() argument 404 stripe_status(struct dm_target *ti, status_type_t type, unsigned status_flags, char *result, unsigned maxlen) stripe_status() argument
|
/kernel/linux/linux-5.10/security/integrity/ima/ |
H A D | ima_template_lib.c | 276 int result; in ima_eventdigest_init() local 292 result = ima_calc_boot_aggregate(&hash.hdr); in ima_eventdigest_init() 295 if (!result && hash.hdr.algo != HASH_ALGO_SHA1) in ima_eventdigest_init() 296 result = -EINVAL; in ima_eventdigest_init() 298 if (result < 0) in ima_eventdigest_init() 313 result = ima_calc_file_hash(event_data->file, &hash.hdr); in ima_eventdigest_init() 314 if (result) { in ima_eventdigest_init() 317 "failed", result, 0); in ima_eventdigest_init() 318 return result; in ima_eventdigest_init()
|
/kernel/linux/linux-5.10/sound/soc/intel/atom/sst/ |
H A D | sst_ipc.c | 63 int sst_wake_up_block(struct intel_sst_drv *ctx, int result, in sst_wake_up_block() argument 76 block->ret_code = result; in sst_wake_up_block() 223 if (init->result) { in process_fw_init() 226 init->result); in process_fw_init() 227 retval = init->result; in process_fw_init() 344 if (msg_high.part.result && drv_id && !msg_high.part.large) { in sst_process_reply_mrfld() 347 sst_wake_up_block(sst_drv_ctx, msg_high.part.result, in sst_process_reply_mrfld() 365 if (sst_wake_up_block(sst_drv_ctx, msg_high.part.result, in sst_process_reply_mrfld() 370 sst_wake_up_block(sst_drv_ctx, msg_high.part.result, in sst_process_reply_mrfld()
|
/kernel/linux/linux-5.10/fs/jbd2/ |
H A D | checkpoint.c | 204 int result, batch_count = 0; in jbd2_log_do_checkpoint() local 213 result = jbd2_cleanup_journal_tail(journal); in jbd2_log_do_checkpoint() 214 trace_jbd2_checkpoint(journal, result); in jbd2_log_do_checkpoint() 215 jbd_debug(1, "cleanup_journal_tail returned %d\n", result); in jbd2_log_do_checkpoint() 216 if (result <= 0) in jbd2_log_do_checkpoint() 217 return result; in jbd2_log_do_checkpoint() 359 result = jbd2_cleanup_journal_tail(journal); in jbd2_log_do_checkpoint() 361 return (result < 0) ? result : 0; in jbd2_log_do_checkpoint()
|
/kernel/linux/linux-5.10/fs/hfsplus/ |
H A D | unicode.c | 309 static int hfsplus_try_decompose_hangul(wchar_t uc, u16 *result) in hfsplus_try_decompose_hangul() argument 322 result[0] = l; in hfsplus_try_decompose_hangul() 323 result[1] = v; in hfsplus_try_decompose_hangul() 325 result[2] = t; in hfsplus_try_decompose_hangul() 334 u16 *result; in decompose_unichar() local 337 result = hangul_buffer; in decompose_unichar() 338 *size = hfsplus_try_decompose_hangul(uc, result); in decompose_unichar() 340 result = hfsplus_decompose_nonhangul(uc, size); in decompose_unichar() 341 return result; in decompose_unichar()
|
/kernel/linux/linux-6.6/drivers/atm/ |
H A D | atmtcp.c | 96 sk_atm(vcc)->sk_err = -msg->result; in atmtcp_recv_control() 289 int result = 0; in atmtcp_c_send() local 295 result = atmtcp_recv_control( in atmtcp_c_send() 303 result = -EUNATCH; in atmtcp_c_send() 310 result = -ENOBUFS; in atmtcp_c_send() 321 return result; in atmtcp_c_send() 360 static int atmtcp_create(int itf,int persist,struct atm_dev **result) in atmtcp_create() argument 379 if (result) *result = dev; in atmtcp_create()
|
/kernel/linux/linux-6.6/fs/jbd2/ |
H A D | checkpoint.c | 154 int result, batch_count = 0; in jbd2_log_do_checkpoint() local 163 result = jbd2_cleanup_journal_tail(journal); in jbd2_log_do_checkpoint() 164 trace_jbd2_checkpoint(journal, result); in jbd2_log_do_checkpoint() 165 jbd2_debug(1, "cleanup_journal_tail returned %d\n", result); in jbd2_log_do_checkpoint() 166 if (result <= 0) in jbd2_log_do_checkpoint() 167 return result; in jbd2_log_do_checkpoint() 288 result = jbd2_cleanup_journal_tail(journal); in jbd2_log_do_checkpoint() 290 return (result < 0) ? result : 0; in jbd2_log_do_checkpoint()
|
/kernel/linux/linux-6.6/fs/hfsplus/ |
H A D | unicode.c | 309 static int hfsplus_try_decompose_hangul(wchar_t uc, u16 *result) in hfsplus_try_decompose_hangul() argument 322 result[0] = l; in hfsplus_try_decompose_hangul() 323 result[1] = v; in hfsplus_try_decompose_hangul() 325 result[2] = t; in hfsplus_try_decompose_hangul() 334 u16 *result; in decompose_unichar() local 337 result = hangul_buffer; in decompose_unichar() 338 *size = hfsplus_try_decompose_hangul(uc, result); in decompose_unichar() 340 result = hfsplus_decompose_nonhangul(uc, size); in decompose_unichar() 341 return result; in decompose_unichar()
|
/kernel/linux/linux-6.6/drivers/ufs/host/ |
H A D | ufshcd-pci.c | 55 unsigned int fn, u32 *result) in __intel_dsm() 72 *result = 0; in __intel_dsm() 73 memcpy(result, obj->buffer.pointer, len); in __intel_dsm() 81 unsigned int fn, u32 *result) in intel_dsm() 86 return __intel_dsm(intel_host, dev, fn, result); in intel_dsm() 313 u32 result = 0; in ufs_intel_device_reset() local 316 err = intel_dsm(host, hba->dev, INTEL_DSM_RESET, &result); in ufs_intel_device_reset() 317 if (!err && !result) in ufs_intel_device_reset() 320 dev_err(hba->dev, "%s: DSM error %d result %u\n", in ufs_intel_device_reset() 321 __func__, err, result); in ufs_intel_device_reset() 54 __intel_dsm(struct intel_host *intel_host, struct device *dev, unsigned int fn, u32 *result) __intel_dsm() argument 80 intel_dsm(struct intel_host *intel_host, struct device *dev, unsigned int fn, u32 *result) intel_dsm() argument [all...] |
/kernel/linux/linux-6.6/drivers/nvme/target/ |
H A D | fabrics-cmd.c | 81 req->cqe->result.u64 = cpu_to_le64(val); in nvmet_execute_prop_get() 149 req->cqe->result.u32 = IPO_IATTR_CONNECT_SQE(sqsize); in nvmet_install_queue() 164 req->cqe->result.u32 = IPO_IATTR_CONNECT_SQE(sqsize); in nvmet_install_queue() 228 /* zero out initial completion result, assign values as needed */ in nvmet_execute_admin_connect() 229 req->cqe->result.u32 = 0; in nvmet_execute_admin_connect() 243 req->cqe->result.u32 = IPO_IATTR_CONNECT_DATA(cntlid); in nvmet_execute_admin_connect() 280 req->cqe->result.u32 = cpu_to_le32(nvmet_connect_result(ctrl)); in nvmet_execute_admin_connect() 308 /* zero out initial completion result, assign values as needed */ in nvmet_execute_io_connect() 309 req->cqe->result.u32 = 0; in nvmet_execute_io_connect() 330 req->cqe->result in nvmet_execute_io_connect() [all...] |