Home
last modified time | relevance | path

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

/base/security/certificate_manager/test/fuzz_test/cminstallappcert_fuzzer/
H A Dcminstallappcert_fuzzer.cpp29 uint8_t *myData = nullptr; in DoSomethingInterestingWithMyAPI() local
30 if (!CopyMyData(data, size, minSize, &myData)) { in DoSomethingInterestingWithMyAPI()
38 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &appCert)) { in DoSomethingInterestingWithMyAPI()
39 CmFree(myData); in DoSomethingInterestingWithMyAPI()
44 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &appCertPwd)) { in DoSomethingInterestingWithMyAPI()
45 CmFree(myData); in DoSomethingInterestingWithMyAPI()
50 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &certAlias)) { in DoSomethingInterestingWithMyAPI()
51 CmFree(myData); in DoSomethingInterestingWithMyAPI()
56 if (!GetUintFromBuffer(myData, &remainSize, &offset, &store)) { in DoSomethingInterestingWithMyAPI()
57 CmFree(myData); in DoSomethingInterestingWithMyAPI()
[all...]
/base/security/certificate_manager/test/fuzz_test/cmgetappcert_fuzzer/
H A Dcmgetappcert_fuzzer.cpp27 uint8_t *myData = nullptr; in DoSomethingInterestingWithMyAPI() local
28 if (!CopyMyData(data, size, minSize, &myData)) { in DoSomethingInterestingWithMyAPI()
36 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &appCertUri)) { in DoSomethingInterestingWithMyAPI()
37 CmFree(myData); in DoSomethingInterestingWithMyAPI()
42 if (!GetUintFromBuffer(myData, &remainSize, &offset, &store)) { in DoSomethingInterestingWithMyAPI()
43 CmFree(myData); in DoSomethingInterestingWithMyAPI()
48 CmFree(myData); in DoSomethingInterestingWithMyAPI()
52 (void)memcpy_s(&credCert, sizeof(struct Credential), myData + offset, sizeof(struct Credential)); in DoSomethingInterestingWithMyAPI()
56 CmFree(myData); in DoSomethingInterestingWithMyAPI()
59 credCert.credData.data = const_cast<uint8_t *>(myData in DoSomethingInterestingWithMyAPI()
[all...]
/base/security/certificate_manager/test/fuzz_test/cmfinish_fuzzer/
H A Dcmfinish_fuzzer.cpp29 uint8_t *myData = nullptr; in DoSomethingInterestingWithMyAPI() local
30 if (!CopyMyData(data, size, minSize, &myData)) { in DoSomethingInterestingWithMyAPI()
38 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &fiHandle)) { in DoSomethingInterestingWithMyAPI()
39 CmFree(myData); in DoSomethingInterestingWithMyAPI()
44 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &inData)) { in DoSomethingInterestingWithMyAPI()
45 CmFree(myData); in DoSomethingInterestingWithMyAPI()
50 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &outData)) { in DoSomethingInterestingWithMyAPI()
51 CmFree(myData); in DoSomethingInterestingWithMyAPI()
58 CmFree(myData); in DoSomethingInterestingWithMyAPI()
/base/security/certificate_manager/test/fuzz_test/cmgetcertinfo_fuzzer/
H A Dcmgetcertinfo_fuzzer.cpp27 uint8_t *myData = nullptr; in DoSomethingInterestingWithMyAPI() local
28 if (!CopyMyData(data, size, buffSize, &myData)) { in DoSomethingInterestingWithMyAPI()
35 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &sysUri)) { in DoSomethingInterestingWithMyAPI()
36 CmFree(myData); in DoSomethingInterestingWithMyAPI()
41 if (!GetUintFromBuffer(myData, &remainSize, &offset, &store)) { in DoSomethingInterestingWithMyAPI()
42 CmFree(myData); in DoSomethingInterestingWithMyAPI()
47 if (!GetCertInfoFromBuffer(myData, &remainSize, &offset, &sysCertInfo)) { in DoSomethingInterestingWithMyAPI()
48 CmFree(myData); in DoSomethingInterestingWithMyAPI()
55 CmFree(myData); in DoSomethingInterestingWithMyAPI()
/base/security/certificate_manager/test/fuzz_test/cmgetauthorizedapplist_fuzzer/
H A Dcmgetauthorizedapplist_fuzzer.cpp27 uint8_t *myData = nullptr; in DoSomethingInterestingWithMyAPI() local
28 if (!CopyMyData(data, size, minSize, &myData)) { in DoSomethingInterestingWithMyAPI()
36 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &authorUri)) { in DoSomethingInterestingWithMyAPI()
37 CmFree(myData); in DoSomethingInterestingWithMyAPI()
42 if (!GetUintFromBuffer(myData, &remainSize, &offset, &(appUidList.appUidCount))) { in DoSomethingInterestingWithMyAPI()
43 CmFree(myData); in DoSomethingInterestingWithMyAPI()
47 CmFree(myData); in DoSomethingInterestingWithMyAPI()
50 appUidList.appUid = reinterpret_cast<uint32_t *>(myData + offset); in DoSomethingInterestingWithMyAPI()
55 CmFree(myData); in DoSomethingInterestingWithMyAPI()
/base/security/certificate_manager/test/fuzz_test/cmgetappcertlist_fuzzer/
H A Dcmgetappcertlist_fuzzer.cpp27 uint8_t *myData = nullptr; in DoSomethingInterestingWithMyAPI() local
28 if (!CopyMyData(data, size, minSize, &myData)) { in DoSomethingInterestingWithMyAPI()
36 if (!GetUintFromBuffer(myData, &remainSize, &offset, &credStore)) { in DoSomethingInterestingWithMyAPI()
37 CmFree(myData); in DoSomethingInterestingWithMyAPI()
42 if (!GetUintFromBuffer(myData, &remainSize, &offset, &(credCertList.credentialCount))) { in DoSomethingInterestingWithMyAPI()
43 CmFree(myData); in DoSomethingInterestingWithMyAPI()
47 CmFree(myData); in DoSomethingInterestingWithMyAPI()
50 credCertList.credentialAbstract = reinterpret_cast<struct CredentialAbstract *>(myData + offset); in DoSomethingInterestingWithMyAPI()
55 CmFree(myData); in DoSomethingInterestingWithMyAPI()
/base/security/certificate_manager/test/fuzz_test/cmgetusercertinfo_fuzzer/
H A Dcmgetusercertinfo_fuzzer.cpp27 uint8_t *myData = nullptr; in DoSomethingInterestingWithMyAPI() local
28 if (!CopyMyData(data, size, minSize, &myData)) { in DoSomethingInterestingWithMyAPI()
36 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &userCertUri)) { in DoSomethingInterestingWithMyAPI()
37 CmFree(myData); in DoSomethingInterestingWithMyAPI()
42 if (!GetUintFromBuffer(myData, &remainSize, &offset, &store)) { in DoSomethingInterestingWithMyAPI()
43 CmFree(myData); in DoSomethingInterestingWithMyAPI()
48 if (!GetCertInfoFromBuffer(myData, &remainSize, &offset, &userCertInfo)) { in DoSomethingInterestingWithMyAPI()
49 CmFree(myData); in DoSomethingInterestingWithMyAPI()
56 CmFree(myData); in DoSomethingInterestingWithMyAPI()
/base/security/certificate_manager/test/fuzz_test/cmgrantappcertificate_fuzzer/
H A Dcmgrantappcertificate_fuzzer.cpp27 uint8_t *myData = nullptr; in DoSomethingInterestingWithMyAPI() local
28 if (!CopyMyData(data, size, minSize, &myData)) { in DoSomethingInterestingWithMyAPI()
36 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &keyUri)) { in DoSomethingInterestingWithMyAPI()
37 CmFree(myData); in DoSomethingInterestingWithMyAPI()
42 if (!GetUintFromBuffer(myData, &remainSize, &offset, &appUid)) { in DoSomethingInterestingWithMyAPI()
43 CmFree(myData); in DoSomethingInterestingWithMyAPI()
48 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &authUri)) { in DoSomethingInterestingWithMyAPI()
49 CmFree(myData); in DoSomethingInterestingWithMyAPI()
56 CmFree(myData); in DoSomethingInterestingWithMyAPI()
/base/security/certificate_manager/test/fuzz_test/cminit_fuzzer/
H A Dcminit_fuzzer.cpp29 uint8_t *myData = nullptr; in DoSomethingInterestingWithMyAPI() local
30 if (!CopyMyData(data, size, minSize, &myData)) { in DoSomethingInterestingWithMyAPI()
38 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &authUri)) { in DoSomethingInterestingWithMyAPI()
39 CmFree(myData); in DoSomethingInterestingWithMyAPI()
44 CmFree(myData); in DoSomethingInterestingWithMyAPI()
48 (void)memcpy_s(&spec, sizeof(struct CmSignatureSpec), myData + offset, sizeof(struct CmSignatureSpec)); in DoSomethingInterestingWithMyAPI()
53 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &handle)) { in DoSomethingInterestingWithMyAPI()
54 CmFree(myData); in DoSomethingInterestingWithMyAPI()
61 CmFree(myData); in DoSomethingInterestingWithMyAPI()
/base/security/certificate_manager/test/fuzz_test/cminstallusertrustedcert_fuzzer/
H A Dcminstallusertrustedcert_fuzzer.cpp29 uint8_t *myData = nullptr; in DoSomethingInterestingWithMyAPI() local
30 if (!CopyMyData(data, size, minSize, &myData)) { in DoSomethingInterestingWithMyAPI()
37 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &userCert)) { in DoSomethingInterestingWithMyAPI()
38 CmFree(myData); in DoSomethingInterestingWithMyAPI()
43 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &certAlias)) { in DoSomethingInterestingWithMyAPI()
44 CmFree(myData); in DoSomethingInterestingWithMyAPI()
49 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &certUri)) { in DoSomethingInterestingWithMyAPI()
50 CmFree(myData); in DoSomethingInterestingWithMyAPI()
57 CmFree(myData); in DoSomethingInterestingWithMyAPI()
/base/security/certificate_manager/test/fuzz_test/cmsetusercertstatus_fuzzer/
H A Dcmsetusercertstatus_fuzzer.cpp27 uint8_t *myData = nullptr; in DoSomethingInterestingWithMyAPI() local
28 if (!CopyMyData(data, size, minSize, &myData)) { in DoSomethingInterestingWithMyAPI()
36 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &setUserUri)) { in DoSomethingInterestingWithMyAPI()
37 CmFree(myData); in DoSomethingInterestingWithMyAPI()
42 if (!GetUintFromBuffer(myData, &remainSize, &offset, &userStore)) { in DoSomethingInterestingWithMyAPI()
43 CmFree(myData); in DoSomethingInterestingWithMyAPI()
48 CmFree(myData); in DoSomethingInterestingWithMyAPI()
52 (void)memcpy_s(&status, sizeof(bool), myData + offset, sizeof(bool)); in DoSomethingInterestingWithMyAPI()
57 CmFree(myData); in DoSomethingInterestingWithMyAPI()
/base/security/certificate_manager/test/fuzz_test/cmsetcertstatus_fuzzer/
H A Dcmsetcertstatus_fuzzer.cpp27 uint8_t *myData = nullptr; in DoSomethingInterestingWithMyAPI() local
28 if (!CopyMyData(data, size, minSize, &myData)) { in DoSomethingInterestingWithMyAPI()
36 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &sysCertUri)) { in DoSomethingInterestingWithMyAPI()
37 CmFree(myData); in DoSomethingInterestingWithMyAPI()
42 if (!GetUintFromBuffer(myData, &remainSize, &offset, &store)) { in DoSomethingInterestingWithMyAPI()
43 CmFree(myData); in DoSomethingInterestingWithMyAPI()
48 CmFree(myData); in DoSomethingInterestingWithMyAPI()
52 (void)memcpy_s(&status, sizeof(bool), myData + offset, sizeof(bool)); in DoSomethingInterestingWithMyAPI()
56 CmFree(myData); in DoSomethingInterestingWithMyAPI()
/base/security/certificate_manager/test/fuzz_test/cmgetcertlist_fuzzer/
H A Dcmgetcertlist_fuzzer.cpp27 uint8_t *myData = nullptr; in DoSomethingInterestingWithMyAPI() local
28 if (!CopyMyData(data, size, buffSize, &myData)) { in DoSomethingInterestingWithMyAPI()
35 if (!GetUintFromBuffer(myData, &remainSize, &offset, &sysStore)) { in DoSomethingInterestingWithMyAPI()
36 CmFree(myData); in DoSomethingInterestingWithMyAPI()
41 if (!GetCertListFromBuffer(myData, &remainSize, &offset, &sysCertList)) { in DoSomethingInterestingWithMyAPI()
42 CmFree(myData); in DoSomethingInterestingWithMyAPI()
49 CmFree(myData); in DoSomethingInterestingWithMyAPI()
/base/security/certificate_manager/test/fuzz_test/cmgetusercertlist_fuzzer/
H A Dcmgetusercertlist_fuzzer.cpp27 uint8_t *myData = nullptr; in DoSomethingInterestingWithMyAPI() local
28 if (!CopyMyData(data, size, minSize, &myData)) { in DoSomethingInterestingWithMyAPI()
36 if (!GetUintFromBuffer(myData, &remainSize, &offset, &userStore)) { in DoSomethingInterestingWithMyAPI()
37 CmFree(myData); in DoSomethingInterestingWithMyAPI()
42 if (!GetCertListFromBuffer(myData, &remainSize, &offset, &userCertList)) { in DoSomethingInterestingWithMyAPI()
43 CmFree(myData); in DoSomethingInterestingWithMyAPI()
50 CmFree(myData); in DoSomethingInterestingWithMyAPI()
/base/security/certificate_manager/test/fuzz_test/cmremovegrantedapp_fuzzer/
H A Dcmremovegrantedapp_fuzzer.cpp27 uint8_t *myData = nullptr; in DoSomethingInterestingWithMyAPI() local
28 if (!CopyMyData(data, size, minSize, &myData)) { in DoSomethingInterestingWithMyAPI()
36 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &grantKeyUri)) { in DoSomethingInterestingWithMyAPI()
37 CmFree(myData); in DoSomethingInterestingWithMyAPI()
42 if (!GetUintFromBuffer(myData, &remainSize, &offset, &appUid)) { in DoSomethingInterestingWithMyAPI()
43 CmFree(myData); in DoSomethingInterestingWithMyAPI()
50 CmFree(myData); in DoSomethingInterestingWithMyAPI()
/base/security/certificate_manager/test/fuzz_test/cmuninstallappcert_fuzzer/
H A Dcmuninstallappcert_fuzzer.cpp27 uint8_t *myData = nullptr; in DoSomethingInterestingWithMyAPI() local
28 if (!CopyMyData(data, size, minSize, &myData)) { in DoSomethingInterestingWithMyAPI()
36 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &rmKeyUri)) { in DoSomethingInterestingWithMyAPI()
37 CmFree(myData); in DoSomethingInterestingWithMyAPI()
42 if (!GetUintFromBuffer(myData, &remainSize, &offset, &store)) { in DoSomethingInterestingWithMyAPI()
43 CmFree(myData); in DoSomethingInterestingWithMyAPI()
50 CmFree(myData); in DoSomethingInterestingWithMyAPI()
/base/security/certificate_manager/test/fuzz_test/cmupdate_fuzzer/
H A Dcmupdate_fuzzer.cpp29 uint8_t *myData = nullptr; in DoSomethingInterestingWithMyAPI() local
30 if (!CopyMyData(data, size, minSize, &myData)) { in DoSomethingInterestingWithMyAPI()
38 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &upHandle)) { in DoSomethingInterestingWithMyAPI()
39 CmFree(myData); in DoSomethingInterestingWithMyAPI()
44 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &inData)) { in DoSomethingInterestingWithMyAPI()
45 CmFree(myData); in DoSomethingInterestingWithMyAPI()
52 CmFree(myData); in DoSomethingInterestingWithMyAPI()
/base/security/certificate_manager/test/fuzz_test/cmsendrequest_fuzzer/
H A Dcmsendrequest_fuzzer.cpp28 uint8_t *myData = nullptr; in DoSomethingInterestingWithMyAPI() local
29 if (!CopyMyData(data, size, minSize, &myData)) { in DoSomethingInterestingWithMyAPI()
37 (void)memcpy_s(&type, sizeof(CertManagerInterfaceCode), myData, sizeof(CertManagerInterfaceCode)); in DoSomethingInterestingWithMyAPI()
45 if (ConstructParamSet(myData, &remainSize, &offset, type, &sendParamSet) == false) { in DoSomethingInterestingWithMyAPI()
46 CmFree(myData); in DoSomethingInterestingWithMyAPI()
53 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &outBlob)) { in DoSomethingInterestingWithMyAPI()
54 CmFree(myData); in DoSomethingInterestingWithMyAPI()
62 CmFree(myData); in DoSomethingInterestingWithMyAPI()
/base/security/certificate_manager/test/fuzz_test/cmonremoterequest_fuzzer/
H A Dcmonremoterequest_fuzzer.cpp29 uint8_t *myData = nullptr; in DoSomethingInterestingWithMyAPI() local
30 if (!CopyMyData(data, size, minSize, &myData)) { in DoSomethingInterestingWithMyAPI()
39 if (!GetUintFromBuffer(myData, &remainSize, &offset, &code)) { in DoSomethingInterestingWithMyAPI()
40 CmFree(myData); in DoSomethingInterestingWithMyAPI()
47 if (!GetUintFromBuffer(myData, &remainSize, &offset, &outSize)) { in DoSomethingInterestingWithMyAPI()
48 CmFree(myData); in DoSomethingInterestingWithMyAPI()
52 if (ConstructParamSet(myData, &remainSize, &offset, in DoSomethingInterestingWithMyAPI()
54 CmFree(myData); in DoSomethingInterestingWithMyAPI()
75 CmFree(myData); in DoSomethingInterestingWithMyAPI()
/base/security/certificate_manager/test/fuzz_test/cmabort_fuzzer/
H A Dcmabort_fuzzer.cpp27 uint8_t *myData = nullptr; in DoSomethingInterestingWithMyAPI() local
28 if (!CopyMyData(data, size, abParamSize, &myData)) { in DoSomethingInterestingWithMyAPI()
35 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &abHandle)) { in DoSomethingInterestingWithMyAPI()
36 CmFree(myData); in DoSomethingInterestingWithMyAPI()
43 CmFree(myData); in DoSomethingInterestingWithMyAPI()
/base/security/certificate_manager/test/fuzz_test/cmisauthorizedapp_fuzzer/
H A Dcmisauthorizedapp_fuzzer.cpp27 uint8_t *myData = nullptr; in DoSomethingInterestingWithMyAPI() local
28 if (!CopyMyData(data, size, inputSize, &myData)) { in DoSomethingInterestingWithMyAPI()
36 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &authAppUri)) { in DoSomethingInterestingWithMyAPI()
37 CmFree(myData); in DoSomethingInterestingWithMyAPI()
44 CmFree(myData); in DoSomethingInterestingWithMyAPI()
/base/security/certificate_manager/test/fuzz_test/cmuninstallusertrustedcert_fuzzer/
H A Dcmuninstallusertrustedcert_fuzzer.cpp27 uint8_t *myData = nullptr; in DoSomethingInterestingWithMyAPI() local
28 if (!CopyMyData(data, size, paramSize, &myData)) { in DoSomethingInterestingWithMyAPI()
35 if (!GetCmBlobFromBuffer(myData, &remainSize, &offset, &rmUserUri)) { in DoSomethingInterestingWithMyAPI()
36 CmFree(myData); in DoSomethingInterestingWithMyAPI()
42 CmFree(myData); in DoSomethingInterestingWithMyAPI()
/base/security/certificate_manager/test/fuzz_test/fuzz_test_common/src/
H A Dcm_fuzz_test_common.cpp98 bool CopyMyData(const uint8_t *data, const size_t size, const uint32_t minSize, uint8_t **myData) in CopyMyData() argument
110 *myData = tempData; in CopyMyData()
324 uint8_t *myData = nullptr; in IpcServiceApiFuzzerTest() local
325 if (!CopyMyData(data, size, minSize, &myData)) { in IpcServiceApiFuzzerTest()
335 if (ConstructParamSet(myData, &remSize, &offset, code, &paramSet) != true) { in IpcServiceApiFuzzerTest()
336 CmFree(myData); in IpcServiceApiFuzzerTest()
341 if (GetCmBlobFromBuffer(myData, &remSize, &offset, &paramSetBlob) != true) { in IpcServiceApiFuzzerTest()
342 CmFree(myData); in IpcServiceApiFuzzerTest()
348 if (GetCmBlobFromBuffer(myData, &remSize, &offset, &outData) != true) { in IpcServiceApiFuzzerTest()
349 CmFree(myData); in IpcServiceApiFuzzerTest()
[all...]
/base/security/certificate_manager/test/fuzz_test/fuzz_test_common/include/
H A Dcm_fuzz_test_common.h42 bool CopyMyData(const uint8_t *data, const size_t size, const uint32_t minSize, uint8_t **myData);
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/
H A DDataFetcher.java164 String myData = currentFetcher.datas.get(i); in countData()
170 if (!myData.equals(fallbackData)) { in countData()
171 temp.add(new LocaleConfig(targetMetaData, i, ID_MAP.get(myData))); in countData()

Completed in 8 milliseconds