/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | rdb_security_manager.cpp | 142 int32_t result = HksInit(keyAlias, paramSet, &handleBlob, nullptr);
in HksEncryptThreeStage() local 143 if (result != HKS_SUCCESS) {
in HksEncryptThreeStage() 144 LOG_ERROR("HksEncrypt failed with error %{public}d", result);
in HksEncryptThreeStage() 145 return result;
in HksEncryptThreeStage() 155 int32_t result = HksInit(keyAlias, paramSet, &handleBlob, nullptr);
in HksDecryptThreeStage() local 156 if (result != HKS_SUCCESS) {
in HksDecryptThreeStage() 157 LOG_ERROR("HksEncrypt failed with error %{public}d", result);
in HksDecryptThreeStage() 158 return result;
in HksDecryptThreeStage()
|
/foundation/filemanagement/dfs_service/utils/dentry/src/ |
H A D | meta_file.cpp | 705 std::string result; in RecordIdToCloudId() local 717 result += static_cast<char>(hexValue); in RecordIdToCloudId() 719 if (result.size() > CLOUD_RECORD_ID_LEN) { in RecordIdToCloudId() 720 LOGE("Invalid result length %{public}zu", result.size()); in RecordIdToCloudId() 724 return result; in RecordIdToCloudId() 729 std::stringstream result; in CloudIdToRecordId() local 733 result << std::setw(width) << std::setfill('0') << std::hex << static_cast<int>(u8Byte); in CloudIdToRecordId() 735 return result.str(); in CloudIdToRecordId()
|
/foundation/filemanagement/app_file_service/frameworks/native/backup_kit_inner/src/ |
H A D | service_proxy.cpp | 494 HILOGI("Load backup sa success, systemAbilityId: %{private}d, remoteObject result:%{private}s", systemAbilityId, in OnLoadSystemAbilitySuccess() 540 ErrCode ServiceProxy::GetBackupInfo(BundleName &bundleName, std::string &result) in GetBackupInfo() argument 560 reply.ReadString(result); in GetBackupInfo() 561 HILOGI("ServiceProxy GetBackupInfo end. result = %s", result.c_str()); in GetBackupInfo() 565 ErrCode ServiceProxy::UpdateTimer(BundleName &bundleName, uint32_t timeout, bool &result) in UpdateTimer() argument 588 reply.ReadBool(result); in UpdateTimer() 589 HILOGI("ServiceProxy UpdateTimer end. result = %d", result); in UpdateTimer() 593 ErrCode ServiceProxy::UpdateSendRate(std::string &bundleName, int32_t sendRate, bool &result) in UpdateSendRate() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/vdec/ |
H A D | vdec_vp9_if.c | 363 int result; in vp9_alloc_work_buf() local 399 result = mtk_vcodec_mem_alloc(inst->ctx, mem); in vp9_alloc_work_buf() 400 if (result) { in vp9_alloc_work_buf() 416 result = mtk_vcodec_mem_alloc(inst->ctx, mem); in vp9_alloc_work_buf() 417 if (result) { in vp9_alloc_work_buf() 553 int result; in vp9_alloc_inst() local 559 result = mtk_vcodec_mem_alloc(ctx, &mem); in vp9_alloc_inst() 560 if (result) in vp9_alloc_inst()
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-nomadik.c | 166 * @result: controller propogated result. 183 int result; member 588 if (status || (dev->result)) { in nmk_i2c_xfer_one() 608 status = status ? status : dev->result; in nmk_i2c_xfer_one() 681 dev->result = 0; in nmk_i2c_xfer() 808 dev->result = -EIO; in i2c_irq_handler() 820 dev->result = -EIO; in i2c_irq_handler() 834 dev->result = -EIO; in i2c_irq_handler() 850 dev->result in i2c_irq_handler() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | sr.c | 206 int result; in sr_get_events() local 208 result = scsi_execute_req(sdev, cmd, DMA_FROM_DEVICE, buf, sizeof(buf), in sr_get_events() 213 if (result || be16_to_cpu(eh->data_len) < sizeof(*med)) in sr_get_events() 326 int result = SCpnt->result; in sr_done() local 328 int good_bytes = (result == 0 ? this_count : 0); in sr_done() 334 scmd_printk(KERN_INFO, SCpnt, "done: %x\n", result); in sr_done() 343 if (driver_byte(result) != 0 && /* An error occurred */ in sr_done()
|
/kernel/linux/linux-5.10/fs/ |
H A D | direct-io.c | 143 ssize_t result; /* IO result */ member 251 if (dio->result) { in dio_complete() 252 transferred = dio->result; in dio_complete() 355 if (dio->result) in dio_bio_end_aio() 1023 dio->result += 1 << blkbits; in do_direct_IO() 1064 dio->result += this_chunk_bytes; in do_direct_IO() 1327 if (dio->is_async && retval == 0 && dio->result && in do_blockdev_direct_IO() 1328 (iov_iter_rw(iter) == READ || dio->result == count)) in do_blockdev_direct_IO()
|
/kernel/linux/linux-5.10/lib/lz4/ |
H A D | lz4_compress.c | 896 int result; in LZ4_compress_fast_continue() local 900 result = LZ4_compress_generic( in LZ4_compress_fast_continue() 905 result = LZ4_compress_generic( in LZ4_compress_fast_continue() 912 return result; in LZ4_compress_fast_continue() 917 int result; in LZ4_compress_fast_continue() local 921 result = LZ4_compress_generic( in LZ4_compress_fast_continue() 926 result = LZ4_compress_generic( in LZ4_compress_fast_continue() 934 return result; in LZ4_compress_fast_continue()
|
/kernel/linux/linux-5.10/lib/ |
H A D | bitmap.c | 114 * word above and make them the top rem bits of result. in __bitmap_shift_right() 159 * word below and make them the bottom rem bits of result. in __bitmap_shift_left() 245 unsigned long result = 0; in __bitmap_and() local 248 result |= (dst[k] = bitmap1[k] & bitmap2[k]); in __bitmap_and() 250 result |= (dst[k] = bitmap1[k] & bitmap2[k] & in __bitmap_and() 252 return result != 0; in __bitmap_and() 283 unsigned long result = 0; in __bitmap_andnot() local 286 result |= (dst[k] = bitmap1[k] & ~bitmap2[k]); in __bitmap_andnot() 288 result |= (dst[k] = bitmap1[k] & ~bitmap2[k] & in __bitmap_andnot() 290 return result ! in __bitmap_andnot() [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/ |
H A D | rtw_efuse.c | 812 u8 result; in efuse_OneByteRead() local 824 result = true; in efuse_OneByteRead() 827 result = false; in efuse_OneByteRead() 829 return result; in efuse_OneByteRead() 835 u8 result; in efuse_OneByteWrite() local 849 result = true; in efuse_OneByteWrite() 851 result = false; in efuse_OneByteWrite() 853 return result; in efuse_OneByteWrite()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_xsk.c | 769 int err, result = ICE_XDP_PASS; in ice_run_xdp_zc() local 779 result = ICE_XDP_EXIT; in ice_run_xdp_zc() 781 result = ICE_XDP_CONSUMED; in ice_run_xdp_zc() 789 result = ice_xmit_xdp_tx_zc(xdp, xdp_ring); in ice_run_xdp_zc() 790 if (result == ICE_XDP_CONSUMED) in ice_run_xdp_zc() 794 result = ICE_XDP_CONSUMED; in ice_run_xdp_zc() 800 result = ICE_XDP_CONSUMED; in ice_run_xdp_zc() 806 return result; in ice_run_xdp_zc()
|
/kernel/linux/linux-6.6/fs/ |
H A D | direct-io.c | 141 ssize_t result; /* IO result */ member 261 if (dio->result) { in dio_complete() 262 transferred = dio->result; in dio_complete() 360 if (dio->result) in dio_bio_end_aio() 1001 dio->result += 1 << blkbits; in do_direct_IO() 1042 dio->result += this_chunk_bytes; in do_direct_IO() 1301 if (dio->is_async && retval == 0 && dio->result && in __blockdev_direct_IO() 1302 (iov_iter_rw(iter) == READ || dio->result == count)) in __blockdev_direct_IO()
|
/kernel/linux/linux-6.6/drivers/staging/wlan-ng/ |
H A D | hfa384x.h | 631 struct hfa384x_scan_result_sub result[HFA384x_SCANRESULT_MAX]; member 647 struct hfa384x_ch_info_result_sub result[HFA384x_CHINFORESULT_MAX]; member 667 struct hfa384x_hscan_result_sub result[HFA384x_HSCANRESULT_MAX]; member 996 struct hfa384x_cmdresult result; member 1187 int result = 0; in hfa384x_drvr_getconfig16() local 1189 result = hfa384x_drvr_getconfig(hw, rid, val, sizeof(u16)); in hfa384x_drvr_getconfig16() 1190 if (result == 0) in hfa384x_drvr_getconfig16() 1192 return result; in hfa384x_drvr_getconfig16()
|
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_vp9_if.c | 363 int result; in vp9_alloc_work_buf() local 395 result = mtk_vcodec_mem_alloc(inst->ctx, mem); in vp9_alloc_work_buf() 396 if (result) { in vp9_alloc_work_buf() 412 result = mtk_vcodec_mem_alloc(inst->ctx, mem); in vp9_alloc_work_buf() 413 if (result) { in vp9_alloc_work_buf() 549 int result; in vp9_alloc_inst() local 555 result = mtk_vcodec_mem_alloc(ctx, &mem); in vp9_alloc_inst() 556 if (result) in vp9_alloc_inst()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | radeon_ttm.c | 801 ssize_t result = 0; in radeon_ttm_vram_read() local 812 return result; in radeon_ttm_vram_read() 825 result += 4; in radeon_ttm_vram_read() 831 return result; in radeon_ttm_vram_read() 853 ssize_t result = 0; in radeon_ttm_gtt_read() local 864 return result; in radeon_ttm_gtt_read() 879 result += cur_size; in radeon_ttm_gtt_read() 885 return result; in radeon_ttm_gtt_read()
|
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-nomadik.c | 166 * @result: controller propogated result. 183 int result; member 588 if (status || (dev->result)) { in nmk_i2c_xfer_one() 608 status = status ? status : dev->result; in nmk_i2c_xfer_one() 681 dev->result = 0; in nmk_i2c_xfer() 808 dev->result = -EIO; in i2c_irq_handler() 820 dev->result = -EIO; in i2c_irq_handler() 834 dev->result = -EIO; in i2c_irq_handler() 850 dev->result in i2c_irq_handler() [all...] |
/kernel/linux/linux-6.6/security/keys/trusted-keys/ |
H A D | trusted_tpm1.c | 168 * verify the AUTH1_COMMAND (Seal) result from TPM 179 uint32_t result; in TSS_checkhmac1() local 197 result = LOAD32N(buffer, TPM_RETURN_OFFSET); in TSS_checkhmac1() 214 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&result, in TSS_checkhmac1() 215 sizeof result); in TSS_checkhmac1() 253 * verify the AUTH2_COMMAND (unseal) result from TPM 266 uint32_t result; in TSS_checkhmac2() local 285 result = LOAD32N(buffer, TPM_RETURN_OFFSET); in TSS_checkhmac2() 307 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&result, in TSS_checkhmac2() 308 sizeof result); in TSS_checkhmac2() [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | bitmap.c | 114 * word above and make them the top rem bits of result. in __bitmap_shift_right() 159 * word below and make them the bottom rem bits of result. in __bitmap_shift_left() 245 unsigned long result = 0; in __bitmap_and() local 248 result |= (dst[k] = bitmap1[k] & bitmap2[k]); in __bitmap_and() 250 result |= (dst[k] = bitmap1[k] & bitmap2[k] & in __bitmap_and() 252 return result != 0; in __bitmap_and() 283 unsigned long result = 0; in __bitmap_andnot() local 286 result |= (dst[k] = bitmap1[k] & ~bitmap2[k]); in __bitmap_andnot() 288 result |= (dst[k] = bitmap1[k] & ~bitmap2[k] & in __bitmap_andnot() 290 return result ! in __bitmap_andnot() [all...] |
/kernel/linux/linux-6.6/lib/lz4/ |
H A D | lz4_compress.c | 896 int result; in LZ4_compress_fast_continue() local 900 result = LZ4_compress_generic( in LZ4_compress_fast_continue() 905 result = LZ4_compress_generic( in LZ4_compress_fast_continue() 912 return result; in LZ4_compress_fast_continue() 917 int result; in LZ4_compress_fast_continue() local 921 result = LZ4_compress_generic( in LZ4_compress_fast_continue() 926 result = LZ4_compress_generic( in LZ4_compress_fast_continue() 934 return result; in LZ4_compress_fast_continue()
|
/test/testfwk/xdevice/src/xdevice/_core/ |
H A D | utils.py | 76 pipe: pipe to get execution result 77 return_result: return execution result or not 440 result_dir = os.path.join(report_root_dir, "result", report_dir) 515 result = result1 if result1 else result2 516 result = result.group(1) 517 length = len(result) // 8 518 convert_mes = "{}{}{}".format(result[0:length], "*" * (len(result) - length * 2), result[ [all...] |
/test/testfwk/arkxtest/uitest/napi/ |
H A D | uitest_napi.cpp | 81 auto result = g_apiTransactClient.InitAndConnectPeer(token, callbackHandler); in ScheduleEstablishConnection() 82 LOG_I("End setup transaction connection, result=%{public}d", result); in ScheduleEstablishConnection() 87 /**Wait connection result sync if need.*/ 203 * transaction if any, else return the result object. */ 210 LOG_I("Start to Unmarshal transaction result"); in UnmarshalReply() 221 napi_value result = nullptr; in UnmarshalReply() local 223 NAPI_CALL(env, napi_get_null(env, &result)); in UnmarshalReply() 225 NAPI_CALL(env, napi_create_array_with_length(env, reply.resultValue_.size(), &result)); in UnmarshalReply() 229 NAPI_CALL(env, napi_set_element(env, result, id in UnmarshalReply() [all...] |
/third_party/glfw/src/ |
H A D | egl_context.c | 90 EGLConfig* result) in chooseEGLConfig() 206 *result = (EGLConfig) closest->handle; in chooseEGLConfig() 867 XVisualInfo* result; in _glfwChooseVisualEGL() local 882 result = XGetVisualInfo(_glfw.x11.display, vimask, &desired, &count); in _glfwChooseVisualEGL() 883 if (!result) in _glfwChooseVisualEGL() 890 *visual = result->visual; in _glfwChooseVisualEGL() 891 *depth = result->depth; in _glfwChooseVisualEGL() 893 XFree(result); in _glfwChooseVisualEGL() 88 chooseEGLConfig(const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig, EGLConfig* result) chooseEGLConfig() argument
|
/third_party/gn/src/gn/ |
H A D | ninja_c_binary_target_writer.cc | 737 std::string result; in WriteWholeArchive() local 744 result += label.substr(sep + 1) + ".a"; in WriteWholeArchive() 745 result += " "; in WriteWholeArchive() 753 << result; in WriteWholeArchive() local 761 std::string result; in WriteNoWholeArchive() local 768 result += label.substr(sep + 1) + ".a"; in WriteNoWholeArchive() 769 result += " "; in WriteNoWholeArchive() 777 << result; in WriteNoWholeArchive() local
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
H A D | DecimalFormatProperties.java | 796 * result in "··3.14" if '·' is your padding string. 800 * had been specified, which may result in strings longer than the padding width. 1360 * then formatting 123 would result in "123+" in the locale <em>en-US</em>. 1378 StringBuilder result = new StringBuilder(); in toString() 1379 result.append("<Properties"); in toString() 1380 toStringBare(result); in toString() 1381 result.append(">"); in toString() 1382 return result.toString(); in toString() 1389 public void toStringBare(StringBuilder result) { in toStringBare() argument 1406 result in toStringBare() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | DateFormat.java | 90 * You can pass in different options to these factory methods to control the length of the result; from SHORT to MEDIUM 91 * to LONG to FULL. The exact result depends on the locale, but generally: 746 Date result = parse(text, pos); in parse() 750 return result; in parse() 786 * parse result (time in milliseconds and time zone) will 829 Date result = null; in parse() 836 result = calendar.getTime(); in parse() 847 return result; in parse() 1881 DateFormat result = cal.getDateTimeFormat(dateStyle, timeStyle, loc); in get() 1882 result in get() [all...] |