Home
last modified time | relevance | path

Searched refs:output (Results 1 - 25 of 244) sorted by relevance

12345678910

/base/hiviewdfx/hidumper/test/scripts/testModule/
H A Dtest_base_command.py22 def CheckBuildId(output) -> bool:
23 ret = re.search("BuildId: (.+?) [\d].[\d].[\d].[\d]", output)
27 def CheckOsVersion(output) -> bool:
28 ret = re.search("OsVersion: (.+?)[\d].[\d].[\d].[\d]", output)
32 def CheckProcVersion(output) -> bool:
33 ret = re.search("/proc/version\n\n([^\n]+\n)+\n", output)
37 def CheckCmdline(output) -> bool:
38 ret = re.search("/proc/cmdline\n\n([^\n]+\n)+\n", output)
42 def CheckWakeUpSource(output) -> bool:
43 ret = re.search("/sys/kernel/debug/wakeup_sources\n\n([^\n]+\n){4,}", output)
[all...]
H A Dtest_net.py20 def CheckNetTraffic(output):
21 result = re.search("Received Bytes:\d+\nSent Bytes:\d+\n", output)
25 def CheckNetstat(output):
26 result = re.search("Proto RefCnt Flags\s+Type\s+State\s+I-Node Path\n([^\n]+\n){4,}", output)
30 def CheckNetDev(output):
31 result = re.search("face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compresse\n([^\n]+\n){4,}", output)
35 def CheckIfconfig(output):
36 result = re.search("cmd is: ifconfig -a\n\n([^\n]+){4,}\n", output)
39 def CheckNetAllOutput(output):
40 ret = all([CheckNetTraffic(output), CheckNetsta
[all...]
H A Dtest_storage.py21 def check_df_k(output):
22 result = re.search("cmd is: df -k\n\n([^\n]+\n){4,}", output)
26 def check_lsof(output):
27 result = re.search("cmd is: lsof\n\n([^\n]+\n){4,}", output)
31 def check_iotop(output):
32 result = re.search("cmd is: iotop -n 1 -m 100\n([^\n]+\n){4,}", output)
36 def check_proc_mount(output):
37 result = re.search("/proc/mounts\n\n([^\n]+\n){4,}", output)
40 def CheckStorageWithoutPid(output):
41 ret = all(check(output) fo
[all...]
H A Dtest_permission.py25 def ParseSmapsOutput(output):
27 for line in output.split("\n"):
42 def CheckMemAddrss(output):
43 ret = re.search(r"\s([a-zA-Z0-9]{8,})\s", output)
47 def CheckPseft(output):
48 result = re.search("UID\s+PID\s+TID PPID TCNT STIME TTY\s+TIME CMD\n([^\n]+\n){1,}", output)
52 def CheckMountInfo(output):
53 result = re.search("/proc/\d+/mountinfo\n\n([^\n]+\n){4,}", output)
56 def CheckSmaps(output):
57 result = re.search(r"/proc/\d+/maps", output)
[all...]
H A Dtest_performance.py21 OUTPUT_PATH = "testModule/output"
26 def CheckRom(output):
27 result = re.findall("(/d+)K", output)
30 def CheckRam(output):
31 result = re.findall("\s*Total\s*(\d+)\s*", output)[0]
39 output = subprocess.check_output(f"hdc shell ls -lh /system/lib/libhidumper*", shell=True, text=True, encoding="utf-8")
40 assert CheckRom(output)
46 output = subprocess.check_output(f"hdc shell hidumper --mem `pidof hidumper_service`", shell=True, text=True, encoding="utf-8")
47 assert CheckRam(output)
52 output
[all...]
H A Dtest_ipc.py20 def CheckIpcStat(output):
21 result = re.search("CurrentPid:\d+\nTotalCount:\d+\nTotalTimeCost:\d+", output)
24 def CheckIpcStartAll(output):
33 output = subprocess.check_output(f"hdc shell hidumper --ipc {pid} --start-stat", shell=True, text=True, encoding="utf-8")
34 assert "success" in output
40 output = subprocess.check_output(f"hdc shell hidumper --ipc {pid} --stop-stat", shell=True, text=True, encoding="utf-8")
41 assert "success" in output
H A Dtest_sa.py20 def CheckSAList(output):
21 ret = "System ability list:" in output
24 def CheckSAHelp(output):
25 result1 = re.search(r"-+HiviewService-+\n([^\n]+){4,}", output)
26 result2 = re.search(r"-+HiDumperService-+", output, re.DOTALL)
30 def CheckSAInterface(output):
31 result = re.search(r"-+WindowManagerService-+\n([^\n]+){4,}", output)
H A Dconftest.py19 output = subprocess.check_output("hdc shell param get const.product.software.version", shell=True, text=True, encoding="utf-8").strip()
20 return "log" in output
23 output = subprocess.check_output("hdc shell param get const.debuggable", shell=True, text=True, encoding="utf-8").strip()
24 return output == "1"
27 output = subprocess.check_output("hdc shell param get const.product.software.version", shell=True, text=True, encoding="utf-8").strip()
28 return "OpenHarmony" in output
H A Dutils.py22 OUTPUT_PATH = "testModule/output"
32 output = f.read()
33 return checkFunction(output)
46 output = f.read()
47 return checkFunction(output)
90 output = subprocess.check_output(f"hdc shell \"{command}\"", shell=True, text=True, encoding="utf-8")
91 assert checkFunction(output)
99 output = subprocess.check_output(f"hdc shell \"{command} --zip\"", shell=True, text=True, encoding="utf-8")
100 zipSourceFile = re.search("The result is:(.+)", output).group(1).strip()
106 output
[all...]
H A Dtest_cpu.py20 def CheckCpuUsageOutput(output):
21 ret = re.search("PID Total Usage User Space Kernel Space Page Fault Minor Page Fault Major Name\n([^\n]+\n){4,}", output)
24 def CheckCpuUsageWithPidOutput(output):
25 ret = re.search("PID Total Usage User Space Kernel Space Page Fault Minor Page Fault Major Name\n([^\n]+\n){1,}", output)
28 def CheckCpufreqOutput(output):
29 ret = re.search("cmd is: cat /sys/devices/system/cpu/cpu\d/cpufreq/cpuinfo_cur_freq\n\n\d+", output)
/base/security/crypto_framework/test/unittest/src/
H A Dsm4_common.cpp76 HcfBlob output = { .data = nullptr, .len = 0 }; in Sm4EncryptWithInput() local
84 ret = cipher->update(cipher, input, &output); in Sm4EncryptWithInput()
89 *cipherTextLen = output.len; in Sm4EncryptWithInput()
90 if (output.data != nullptr) { in Sm4EncryptWithInput()
91 if (memcpy_s(cipherText, maxLen, output.data, output.len) != EOK) { in Sm4EncryptWithInput()
92 HcfBlobDataFree(&output); in Sm4EncryptWithInput()
95 HcfBlobDataFree(&output); in Sm4EncryptWithInput()
98 ret = cipher->doFinal(cipher, nullptr, &output); in Sm4EncryptWithInput()
103 if (output in Sm4EncryptWithInput()
120 HcfBlob output = { .data = nullptr, .len = 0 }; Sm4DecryptEmptyMsg() local
147 HcfBlob output = {}; Sm4Encrypt() local
190 HcfBlob output = {}; Sm4Decrypt() local
237 HcfBlob output = {}; Sm4NoUpdateEncrypt() local
267 HcfBlob output = {}; Sm4NoUpdateDecrypt() local
[all...]
H A Dcrypto_pbkdf2_test.cpp66 HcfBlob output = {.data = out, .len = OUT_PUT_NORMAL_LENGTH}; in HWTEST_F() local
75 .output = output, in HWTEST_F()
89 HcfBlob output = {.data = out, .len = OUT_PUT_NORMAL_LENGTH}; in HWTEST_F() local
98 .output = output, in HWTEST_F()
112 HcfBlob output = {.data = out, .len = OUT_PUT_NORMAL_LENGTH}; in HWTEST_F() local
120 .output = output, in HWTEST_F()
133 HcfBlob output in HWTEST_F() local
156 HcfBlob output = {.data = out, .len = OUT_PUT_NORMAL_LENGTH}; HWTEST_F() local
181 HcfBlob output = {.data = out, .len = OUT_PUT_NORMAL_LENGTH}; HWTEST_F() local
204 HcfBlob output = {.data = out, .len = OUT_PUT_NORMAL_LENGTH}; HWTEST_F() local
227 HcfBlob output = {.data = out, .len = OUT_PUT_NORMAL_LENGTH}; HWTEST_F() local
250 HcfBlob output = {.data = out, .len = OUT_PUT_NORMAL_LENGTH}; HWTEST_F() local
273 HcfBlob output = {.data = out, .len = OUT_PUT_NORMAL_LENGTH}; HWTEST_F() local
296 HcfBlob output = {.data = out, .len = OUT_PUT_NORMAL_LENGTH}; HWTEST_F() local
319 HcfBlob output = {.data = out, .len = OUT_PUT_NORMAL_LENGTH}; HWTEST_F() local
340 HcfBlob output = {.data = out, .len = OUT_PUT_NORMAL_LENGTH}; HWTEST_F() local
362 HcfBlob output = {.data = out, .len = OUT_PUT_NORMAL_LENGTH}; HWTEST_F() local
383 HcfBlob output = {.data = nullptr, .len = 0}; HWTEST_F() local
404 HcfBlob output = {.data = nullptr, .len = OUT_PUT_NORMAL_LENGTH}; HWTEST_F() local
426 HcfBlob output = {.data = out, .len = 0}; HWTEST_F() local
[all...]
/base/inputmethod/imf/common/src/
H A Ditypes_util.cpp38 bool ITypesUtil::Unmarshalling(bool &output, MessageParcel &data) in Unmarshalling() argument
40 return data.ReadBool(output); in Unmarshalling()
48 bool ITypesUtil::Unmarshalling(uint32_t &output, MessageParcel &data) in Unmarshalling() argument
50 return data.ReadUint32(output); in Unmarshalling()
58 bool ITypesUtil::Unmarshalling(int32_t &output, MessageParcel &data) in Unmarshalling() argument
60 return data.ReadInt32(output); in Unmarshalling()
68 bool ITypesUtil::Unmarshalling(uint64_t &output, MessageParcel &data) in Unmarshalling() argument
70 return data.ReadUint64(output); in Unmarshalling()
78 bool ITypesUtil::Unmarshalling(double &output, MessageParcel &data) in Unmarshalling() argument
80 return data.ReadDouble(output); in Unmarshalling()
88 Unmarshalling(std::string &output, MessageParcel &data) Unmarshalling() argument
98 Unmarshalling(std::u16string &output, MessageParcel &data) Unmarshalling() argument
108 Unmarshalling(std::vector<uint8_t> &output, MessageParcel &data) Unmarshalling() argument
118 Unmarshalling(sptr<IRemoteObject> &output, MessageParcel &data) Unmarshalling() argument
133 Unmarshalling(Property &output, MessageParcel &data) Unmarshalling() argument
152 Unmarshalling(SubProperty &output, MessageParcel &data) Unmarshalling() argument
171 Unmarshalling(InputAttribute &output, MessageParcel &data) Unmarshalling() argument
214 Unmarshalling(TextTotalConfig &output, MessageParcel &data) Unmarshalling() argument
259 Unmarshalling(InputClientInfo &output, MessageParcel &data) Unmarshalling() argument
280 Unmarshalling(ImeWindowInfo &output, MessageParcel &data) Unmarshalling() argument
302 Unmarshalling(PanelStatusInfo &output, MessageParcel &data) Unmarshalling() argument
323 Unmarshalling(SysPanelStatus &output, MessageParcel &data) Unmarshalling() argument
340 Unmarshalling(OHOS::AppExecFwk::ElementName &output, MessageParcel &data) Unmarshalling() argument
360 Unmarshalling(InputType &output, MessageParcel &data) Unmarshalling() argument
376 Unmarshalling(PanelInfo &output, MessageParcel &data) Unmarshalling() argument
393 Unmarshalling(ClientState &output, MessageParcel &data) Unmarshalling() argument
409 Unmarshalling(SwitchTrigger &output, MessageParcel &data) Unmarshalling() argument
447 Unmarshalling(PrivateDataValue &output, MessageParcel &data) Unmarshalling() argument
479 Unmarshalling(Range &output, MessageParcel &data) Unmarshalling() argument
[all...]
/base/security/crypto_framework/test/unittest/src/aes_cipher/
H A Daes_common.cpp150 HcfBlob output = {}; in AesMultiBlockEncrypt() local
169 ret = cipher->update(cipher, &input, &output); in AesMultiBlockEncrypt()
174 if (output.data != nullptr && output.len > 0) { in AesMultiBlockEncrypt()
175 outfile.write(reinterpret_cast<const char *>(output.data), output.len); in AesMultiBlockEncrypt()
177 if (output.data != nullptr) { in AesMultiBlockEncrypt()
178 HcfFree(output.data); in AesMultiBlockEncrypt()
179 output.data = nullptr; in AesMultiBlockEncrypt()
182 ret = cipher->doFinal(cipher, nullptr, &output); in AesMultiBlockEncrypt()
204 HcfBlob output = {}; AesMultiBlockDecrypt() local
260 HcfBlob output = { .data = nullptr, .len = 0 }; AesEncryptWithInput() local
305 HcfBlob output = {}; AesEncrypt() local
350 HcfBlob output = {}; AesDecrypt() local
396 HcfBlob output = { .data = nullptr, .len = 0 }; AesNoUpdateEncWithInput() local
428 HcfBlob output = { .data = nullptr, .len = 0 }; AesDecryptEmptyMsg() local
454 HcfBlob output = {}; AesNoUpdateEncrypt() local
486 HcfBlob output = {}; AesNoUpdateDecrypt() local
[all...]
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfciphercreate_fuzzer/
H A Dhcfciphercreate_fuzzer.cpp35 HcfBlob output = {}; in AesEncrypt() local
42 ret = cipher->update(cipher, input, &output); in AesEncrypt()
46 *cipherTextLen = output.len; in AesEncrypt()
47 if (output.len > 0 && output.data != nullptr) { in AesEncrypt()
48 (void)memcpy_s(cipherText, maxLen, output.data, output.len); in AesEncrypt()
50 if (output.data != nullptr) { in AesEncrypt()
51 HcfBlobDataClearAndFree(&output); in AesEncrypt()
52 output in AesEncrypt()
72 HcfBlob output = {}; AesDecrypt() local
116 HcfBlob output = {}; Sm4Encrypt() local
154 HcfBlob output = {}; Sm4Decrypt() local
[all...]
/base/security/crypto_framework/test/unittest/src/native/
H A Dnative_sym_cipher_test.cpp57 Crypto_DataBlob output = {}; in AesEncrypt() local
65 ret = OH_CryptoSymCipher_Update(cipher, &input, &output); in AesEncrypt()
70 *cipherTextLen = output.len; in AesEncrypt()
71 if (output.data != nullptr) { in AesEncrypt()
72 if (memcpy_s(cipherText, maxLen, output.data, output.len) != EOK) { in AesEncrypt()
73 OH_Crypto_FreeDataBlob(&output); in AesEncrypt()
76 OH_Crypto_FreeDataBlob(&output); in AesEncrypt()
79 ret = OH_CryptoSymCipher_Final(cipher, nullptr, &output); in AesEncrypt()
84 if (output in AesEncrypt()
101 Crypto_DataBlob output = {}; AesDecrypt() local
[all...]
/base/security/security_component_manager/services/security_component_service/sa/test/mock/src/
H A Dsec_comp_enhance_adapter.cpp93 bool SecCompEnhanceAdapter::EnhanceClientSerialize(MessageParcel& input, MessageParcel& output) in EnhanceClientSerialize() argument
96 return CopyMessageParcel(input, output); in EnhanceClientSerialize()
99 bool SecCompEnhanceAdapter::EnhanceClientDeserialize(MessageParcel& input, MessageParcel& output) in EnhanceClientDeserialize() argument
102 return CopyMessageParcel(input, output); in EnhanceClientDeserialize()
105 bool SecCompEnhanceAdapter::EnhanceSrvSerialize(MessageParcel& input, MessageParcel& output) in EnhanceSrvSerialize() argument
108 return CopyMessageParcel(input, output); in EnhanceSrvSerialize()
111 bool SecCompEnhanceAdapter::EnhanceSrvDeserialize(MessageParcel& input, MessageParcel& output, in EnhanceSrvDeserialize() argument
115 return CopyMessageParcel(input, output); in EnhanceSrvDeserialize()
118 bool WriteMessageParcel(MessageParcel& input, MessageParcel& output) in WriteMessageParcel() argument
121 if (!output in WriteMessageParcel()
144 ReadMessageParcel(MessageParcel& input, MessageParcel& output) ReadMessageParcel() argument
169 EnhanceClientSerialize(MessageParcel& input, MessageParcel& output) EnhanceClientSerialize() argument
175 EnhanceClientDeserialize(MessageParcel& input, MessageParcel& output) EnhanceClientDeserialize() argument
181 EnhanceSrvSerialize(MessageParcel& input, MessageParcel& output) EnhanceSrvSerialize() argument
187 EnhanceSrvDeserialize(MessageParcel& input, MessageParcel& output, MessageParcel& reply) EnhanceSrvDeserialize() argument
[all...]
/base/update/updateservice/interfaces/inner_api/feature/update/model/upgrade_info/src/
H A Dupgrade_info.cpp23 std::string output = "upgradeApp:" + upgradeApp; in ToString() local
24 output += ",businessType(vender:" + businessType.vendor; in ToString()
25 output += ",subType:" + std::to_string(CAST_INT(businessType.subType)); in ToString()
26 output += "),upgradeDevId:" + AnonymousUtils::AnonymousString(upgradeDevId); in ToString()
27 output += ",controlDevId:" + AnonymousUtils::AnonymousString(controlDevId); in ToString()
28 return output; in ToString()
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/cipher/src/
H A Dcipher_sm4_openssl.c387 static HcfResult AllocateOutput(HcfBlob* input, HcfBlob* output, bool *isUpdateInput) in AllocateOutput() argument
394 output->data = (uint8_t*)HcfMalloc(outLen, 0); in AllocateOutput()
395 if (output->data == NULL) { in AllocateOutput()
396 LOGE("Malloc output failed."); in AllocateOutput()
399 output->len = outLen; in AllocateOutput()
403 static HcfResult CommonUpdate(CipherData *data, HcfBlob *input, HcfBlob *output) in CommonUpdate() argument
405 int32_t ret = OpensslEvpCipherUpdate(data->ctx, output->data, (int *)&output->len, in CommonUpdate()
415 static HcfResult AeadUpdate(CipherData *data, HcfAlgParaValue mode, HcfBlob *input, HcfBlob *output) in AeadUpdate() argument
417 int32_t ret = OpensslEvpCipherUpdate(data->ctx, NULL, (int *)&output in AeadUpdate()
432 EngineUpdate(HcfCipherGeneratorSpi *self, HcfBlob *input, HcfBlob *output) EngineUpdate() argument
470 AllocateGcmOutput(CipherData *data, HcfBlob *input, HcfBlob *output, bool *isUpdateInput) AllocateGcmOutput() argument
492 GcmDecryptDoFinal(CipherData *data, HcfBlob *input, HcfBlob *output, uint32_t len) GcmDecryptDoFinal() argument
514 GcmEncryptDoFinal(CipherData *data, HcfBlob *input, HcfBlob *output, uint32_t len) GcmEncryptDoFinal() argument
534 GcmDoFinal(CipherData *data, HcfBlob *input, HcfBlob *output) GcmDoFinal() argument
569 CommonDoFinal(CipherData *data, HcfBlob *input, HcfBlob *output) CommonDoFinal() argument
599 EngineDoFinal(HcfCipherGeneratorSpi* self, HcfBlob* input, HcfBlob* output) EngineDoFinal() argument
[all...]
H A Dcipher_aes_openssl.c452 static HcfResult CommonUpdate(CipherData *data, HcfBlob *input, HcfBlob *output) in CommonUpdate() argument
454 int32_t ret = OpensslEvpCipherUpdate(data->ctx, output->data, (int *)&output->len, in CommonUpdate()
464 static HcfResult AeadUpdate(CipherData *data, HcfAlgParaValue mode, HcfBlob *input, HcfBlob *output) in AeadUpdate() argument
467 if (OpensslEvpCipherUpdate(data->ctx, NULL, (int *)&output->len, NULL, input->len) != HCF_OPENSSL_SUCCESS) { in AeadUpdate()
474 int32_t ret = OpensslEvpCipherUpdate(data->ctx, NULL, (int *)&output->len, data->aad, data->aadLen); in AeadUpdate()
480 ret = OpensslEvpCipherUpdate(data->ctx, output->data, (int *)&output->len, input->data, input->len); in AeadUpdate()
489 static HcfResult AllocateOutput(HcfBlob *input, HcfBlob *output, bool *isUpdateInput) in AllocateOutput() argument
496 output in AllocateOutput()
505 EngineUpdate(HcfCipherGeneratorSpi *self, HcfBlob *input, HcfBlob *output) EngineUpdate() argument
543 CommonDoFinal(CipherData *data, HcfBlob *input, HcfBlob *output) CommonDoFinal() argument
571 AllocateCcmOutput(CipherData *data, HcfBlob *input, HcfBlob *output, bool *isUpdateInput) AllocateCcmOutput() argument
593 CcmDecryptDoFinal(HcfBlob *output, bool isUpdateInput) CcmDecryptDoFinal() argument
604 CcmEncryptDoFinal(CipherData *data, HcfBlob *output, uint32_t len) CcmEncryptDoFinal() argument
616 CcmDoFinal(CipherData *data, HcfBlob *input, HcfBlob *output) CcmDoFinal() argument
642 GcmDecryptDoFinal(CipherData *data, HcfBlob *input, HcfBlob *output, uint32_t len) GcmDecryptDoFinal() argument
664 GcmEncryptDoFinal(CipherData *data, HcfBlob *input, HcfBlob *output, uint32_t len) GcmEncryptDoFinal() argument
684 AllocateGcmOutput(CipherData *data, HcfBlob *input, HcfBlob *output, bool *isUpdateInput) AllocateGcmOutput() argument
706 GcmDoFinal(CipherData *data, HcfBlob *input, HcfBlob *output) GcmDoFinal() argument
741 EngineDoFinal(HcfCipherGeneratorSpi *self, HcfBlob *input, HcfBlob *output) EngineDoFinal() argument
[all...]
H A Dcipher_3des_openssl.c146 static HcfResult AllocateOutput(HcfBlob *input, HcfBlob *output) in AllocateOutput() argument
152 output->data = (uint8_t *)HcfMalloc(outLen, 0); in AllocateOutput()
153 if (output->data == NULL) { in AllocateOutput()
154 LOGE("Malloc output failed."); in AllocateOutput()
157 output->len = outLen; in AllocateOutput()
161 static HcfResult EngineUpdate(HcfCipherGeneratorSpi *self, HcfBlob *input, HcfBlob *output) in EngineUpdate() argument
163 if ((self == NULL) || (input == NULL) || (output == NULL)) { in EngineUpdate()
178 HcfResult res = AllocateOutput(input, output); in EngineUpdate()
184 int32_t ret = OpensslEvpCipherUpdate(data->ctx, output->data, (int *)&output in EngineUpdate()
203 DesDoFinal(CipherData *data, HcfBlob *input, HcfBlob *output) DesDoFinal() argument
228 EngineDoFinal(HcfCipherGeneratorSpi *self, HcfBlob *input, HcfBlob *output) EngineDoFinal() argument
[all...]
/base/security/crypto_framework/test/unittest/src/sm2/
H A Dcrypto_sm2_util_test.cpp274 HcfBlob output = { .data = nullptr, .len = 0 }; in HWTEST_F() local
275 res = HcfGenCipherTextBySpec(spec, g_sm2ModeC1C3C2, &output); in HWTEST_F()
277 res = memcmp(output.data, g_correctInput.data, g_correctInput.len); in HWTEST_F()
278 HcfBlobDataFree(&output); in HWTEST_F()
290 HcfBlob output = { .data = nullptr, .len = 0 }; in HWTEST_F() local
291 res = HcfGenCipherTextBySpec(spec, NULL, &output); in HWTEST_F()
293 res = memcmp(output.data, g_correctInput.data, g_correctInput.len); in HWTEST_F()
294 HcfBlobDataFree(&output); in HWTEST_F()
305 HcfBlob output = { .data = nullptr, .len = 0 }; in HWTEST_F() local
306 res = HcfGenCipherTextBySpec(spec, g_sm2ModeError, &output); in HWTEST_F()
317 HcfBlob output = { .data = nullptr, .len = 0 }; HWTEST_F() local
329 HcfBlob output = { .data = nullptr, .len = 0 }; HWTEST_F() local
341 HcfBlob output = { .data = nullptr, .len = 0 }; HWTEST_F() local
353 HcfBlob output = { .data = nullptr, .len = 0 }; HWTEST_F() local
365 HcfBlob output = { .data = nullptr, .len = 0 }; HWTEST_F() local
385 HcfBlob output = { .data = nullptr, .len = 0 }; HWTEST_F() local
396 HcfBlob output = { .data = nullptr, .len = 0 }; HWTEST_F() local
408 HcfBlob output = { .data = nullptr, .len = 0 }; HWTEST_F() local
420 HcfBlob output = { .data = nullptr, .len = 0 }; HWTEST_F() local
432 HcfBlob output = { .data = nullptr, .len = 0 }; HWTEST_F() local
444 HcfBlob output = { .data = nullptr, .len = 0 }; HWTEST_F() local
506 HcfBlob output = { .data = nullptr, .len = 0 }; HWTEST_F() local
521 HcfBlob output = { .data = nullptr, .len = 0 }; HWTEST_F() local
534 HcfBlob output = { .data = nullptr, .len = 0 }; HWTEST_F() local
547 HcfBlob output = { .data = nullptr, .len = 0 }; HWTEST_F() local
560 HcfBlob output = { .data = nullptr, .len = 0 }; HWTEST_F() local
[all...]
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfsm2create_fuzzer/
H A Dhcfsm2create_fuzzer.cpp130 HcfBlob output = { .data = nullptr, .len = 0 }; in TestHcfGenCipherTextBySpec() local
131 res = HcfGenCipherTextBySpec(spec, g_sm2ModeC1C3C2, &output); in TestHcfGenCipherTextBySpec()
136 if (g_correctInput.len == output.len) { in TestHcfGenCipherTextBySpec()
137 (void)memcmp(output.data, g_correctInput.data, g_correctInput.len); in TestHcfGenCipherTextBySpec()
139 HcfBlobDataFree(&output); in TestHcfGenCipherTextBySpec()
155 HcfBlob output = { .data = nullptr, .len = 0 }; in TestHcfGenCipherTextByXSpec() local
156 res = HcfGenCipherTextBySpec(spec, g_sm2ModeC1C3C2, &output); in TestHcfGenCipherTextByXSpec()
161 if (g_correctInput.len == output.len) { in TestHcfGenCipherTextByXSpec()
162 (void)memcmp(output.data, g_correctInput.data, g_correctInput.len); in TestHcfGenCipherTextByXSpec()
164 HcfBlobDataFree(&output); in TestHcfGenCipherTextByXSpec()
180 HcfBlob output = { .data = nullptr, .len = 0 }; TestHcfGenCipherTextByYSpec() local
233 HcfBlob output = { .data = nullptr, .len = 0 }; HcfSm2CreateFuzzTest() local
[all...]
/base/hiviewdfx/faultloggerd/interfaces/common/
H A Ddfx_frame.h89 std::string output = StringPrintf("0x%016" PRIx64 " : ", pc); in ToSymbolString() local
90 output.append(funcName); in ToSymbolString()
92 output += StringPrintf("[0x%016" PRIx64 ":0x%016" PRIx64 "][+0x%" PRIx64 "]", in ToSymbolString()
95 output.append("@"); in ToSymbolString()
96 output.append(mapName); in ToSymbolString()
97 output.append(":"); in ToSymbolString()
98 output.append(std::to_string(index)); in ToSymbolString()
99 return output; in ToSymbolString()
/base/inputmethod/imf/common/include/
H A Ditypes_util.h39 static bool Unmarshalling(bool &output, MessageParcel &data);
42 static bool Unmarshalling(uint32_t &output, MessageParcel &data);
45 static bool Unmarshalling(int32_t &output, MessageParcel &data);
48 static bool Unmarshalling(uint64_t &output, MessageParcel &data);
51 static bool Unmarshalling(double &output, MessageParcel &data);
54 static bool Unmarshalling(std::u16string &output, MessageParcel &data);
57 static bool Unmarshalling(std::string &output, MessageParcel &data);
60 static bool Unmarshalling(std::vector<uint8_t> &output, MessageParcel &data);
63 static bool Unmarshalling(sptr<IRemoteObject> &output, MessageParcel &data);
66 static bool Unmarshalling(Property &output, MessageParce
[all...]

Completed in 11 milliseconds

12345678910