Home
last modified time | relevance | path

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

12345678910>>...29

/foundation/multimedia/av_codec/test/unittest/common/
H A Dunittest_log.h34 #define PRINT_TEST_LOG(ch) \
36 UNITTEST_HILOG("[%{public}d] %{public}s", TEST_ID, ch); \
37 (void)printf("[%s:%d][%d] %s", __func__, __LINE__, TEST_ID, ch); \
40 #define PRINT_TEST_LOG(ch) \
42 UNITTEST_HILOG("%{public}s", ch); \
43 (void)printf("[%s:%d] %s", __func__, __LINE__, ch); \
50 char ch[LOG_MAX_SIZE]; \
51 (void)sprintf_s(ch, LOG_MAX_SIZE, fmt, ##__VA_ARGS__); \
52 PRINT_TEST_LOG(ch); \
61 char ch[LOG_MAX_SIZ
[all...]
/foundation/multimedia/media_foundation/tests/unittest/common/include/
H A Dunittest_log.h27 char ch[LOG_MAX_SIZE]; \
28 (void)sprintf_s(ch, LOG_MAX_SIZE, fmt, ##__VA_ARGS__); \
29 (void)printf("[%s] %s", __func__, ch); \
38 char ch[LOG_MAX_SIZE]; \
39 (void)sprintf_s(ch, LOG_MAX_SIZE, fmt, ##__VA_ARGS__); \
40 (void)printf("[%s] %s", __func__, ch); \
48 char ch[LOG_MAX_SIZE]; \
49 (void)sprintf_s(ch, LOG_MAX_SIZE, fmt, ##__VA_ARGS__); \
50 (void)printf("[%s] %s", __func__, ch); \
57 char ch[LOG_MAX_SIZ
[all...]
/foundation/multimedia/av_codec/test/nativedemo/include/
H A Ddemo_log.h26 char ch[LOG_MAX_SIZE]; \
27 (void)sprintf_s(ch, LOG_MAX_SIZE, fmt, ##__VA_ARGS__); \
28 (void)printf("%s\n", ch); \
36 char ch[LOG_MAX_SIZE]; \
37 (void)sprintf_s(ch, LOG_MAX_SIZE, fmt, ##__VA_ARGS__); \
38 (void)printf("%s\n", ch); \
45 char ch[LOG_MAX_SIZE]; \
46 (void)sprintf_s(ch, LOG_MAX_SIZE, fmt, ##__VA_ARGS__); \
47 (void)printf("%s\n", ch); \
53 char ch[LOG_MAX_SIZ
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbclib/src/
H A Dsbc_decoder.cpp72 for (int ch = 0; ch < MAX_CHANNEL_NUM; ch++) { in Init()
74 offset_[ch][i] = (MULTIPLE_TEN * i + MULTIPLE_TEN); in Init()
154 void Decoder::Synthesize4(const Frame &frame, int ch, int blk) in Synthesize4() argument
156 int32_t *v = v_[ch]; in Synthesize4()
157 int *offset = offset_[ch]; in Synthesize4()
166 v[offset[i]] = Scale4Staged1(MULA(SYNMATRIX4[i][INDEX_0], frame.samples_[blk][ch][INDEX_0], in Synthesize4()
167 MULA(SYNMATRIX4[i][INDEX_1], frame.samples_[blk][ch][INDEX_1], in Synthesize4()
168 MULA(SYNMATRIX4[i][INDEX_2], frame.samples_[blk][ch][INDEX_ in Synthesize4()
197 Synthesize8(const Frame &frame, int ch, int blk) Synthesize8() argument
[all...]
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallercreatebundleanddatadir_fuzzer/
H A Dbasebundleinstallercreatebundleanddatadir_fuzzer.cpp54 char *ch = static_cast<char *>(malloc(size + 1)); in LLVMFuzzerTestOneInput() local
55 if (ch == nullptr) { in LLVMFuzzerTestOneInput()
59 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
60 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
61 free(ch); in LLVMFuzzerTestOneInput()
62 ch = nullptr; in LLVMFuzzerTestOneInput()
65 OHOS::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
66 free(ch); in LLVMFuzzerTestOneInput()
67 ch = nullptr; in LLVMFuzzerTestOneInput()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallersetcheckresultmsg_fuzzer/
H A Dbasebundleinstallersetcheckresultmsg_fuzzer.cpp54 char *ch = static_cast<char *>(malloc(size + 1)); in LLVMFuzzerTestOneInput() local
55 if (ch == nullptr) { in LLVMFuzzerTestOneInput()
59 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
60 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
61 free(ch); in LLVMFuzzerTestOneInput()
62 ch = nullptr; in LLVMFuzzerTestOneInput()
65 OHOS::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
66 free(ch); in LLVMFuzzerTestOneInput()
67 ch = nullptr; in LLVMFuzzerTestOneInput()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/bmskeyeventmgr_fuzzer/
H A Dbmskeyeventmgr_fuzzer.cpp52 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput() local
53 if (ch == nullptr) { in LLVMFuzzerTestOneInput()
57 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
58 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
59 free(ch); in LLVMFuzzerTestOneInput()
60 ch = nullptr; in LLVMFuzzerTestOneInput()
63 OHOS::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
64 free(ch); in LLVMFuzzerTestOneInput()
65 ch = nullptr; in LLVMFuzzerTestOneInput()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/appservicefwkinstallerremovebundlecodedir_fuzzer/
H A Dappservicefwkinstallerremovebundlecodedir_fuzzer.cpp56 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput() local
57 if (ch == nullptr) { in LLVMFuzzerTestOneInput()
61 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
62 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
63 free(ch); in LLVMFuzzerTestOneInput()
64 ch = nullptr; in LLVMFuzzerTestOneInput()
67 OHOS::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
68 free(ch); in LLVMFuzzerTestOneInput()
69 ch = nullptr; in LLVMFuzzerTestOneInput()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstalleruninstallbundlebyuninstallparam_fuzzer/
H A Dbasebundleinstalleruninstallbundlebyuninstallparam_fuzzer.cpp54 char *ch = static_cast<char *>(malloc(size + 1)); in LLVMFuzzerTestOneInput() local
55 if (ch == nullptr) { in LLVMFuzzerTestOneInput()
59 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
60 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
61 free(ch); in LLVMFuzzerTestOneInput()
62 ch = nullptr; in LLVMFuzzerTestOneInput()
65 OHOS::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
66 free(ch); in LLVMFuzzerTestOneInput()
67 ch = nullptr; in LLVMFuzzerTestOneInput()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/appservicefwkinstallerremoveinfo_fuzzer/
H A Dappservicefwkinstallerremoveinfo_fuzzer.cpp55 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput() local
56 if (ch == nullptr) { in LLVMFuzzerTestOneInput()
60 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
61 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
62 free(ch); in LLVMFuzzerTestOneInput()
63 ch = nullptr; in LLVMFuzzerTestOneInput()
66 OHOS::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
67 free(ch); in LLVMFuzzerTestOneInput()
68 ch = nullptr; in LLVMFuzzerTestOneInput()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/appservicefwkinstallerrollback_fuzzer/
H A Dappservicefwkinstallerrollback_fuzzer.cpp55 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput() local
56 if (ch == nullptr) { in LLVMFuzzerTestOneInput()
60 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
61 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
62 free(ch); in LLVMFuzzerTestOneInput()
63 ch = nullptr; in LLVMFuzzerTestOneInput()
66 OHOS::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
67 free(ch); in LLVMFuzzerTestOneInput()
68 ch = nullptr; in LLVMFuzzerTestOneInput()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/appservicefwkinstallersavebundleinfotostorage_fuzzer/
H A Dappservicefwkinstallersavebundleinfotostorage_fuzzer.cpp55 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput() local
56 if (ch == nullptr) { in LLVMFuzzerTestOneInput()
60 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
61 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
62 free(ch); in LLVMFuzzerTestOneInput()
63 ch = nullptr; in LLVMFuzzerTestOneInput()
66 OHOS::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
67 free(ch); in LLVMFuzzerTestOneInput()
68 ch = nullptr; in LLVMFuzzerTestOneInput()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallermarkprebundlesyeeventboottag_fuzzer/
H A Dbasebundleinstallermarkprebundlesyeeventboottag_fuzzer.cpp54 char *ch = static_cast<char *>(malloc(size + 1)); in LLVMFuzzerTestOneInput() local
55 if (ch == nullptr) { in LLVMFuzzerTestOneInput()
59 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
60 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
61 free(ch); in LLVMFuzzerTestOneInput()
62 ch = nullptr; in LLVMFuzzerTestOneInput()
65 OHOS::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
66 free(ch); in LLVMFuzzerTestOneInput()
67 ch = nullptr; in LLVMFuzzerTestOneInput()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerrenamemoduledir_fuzzer/
H A Dbasebundleinstallerrenamemoduledir_fuzzer.cpp54 char *ch = static_cast<char *>(malloc(size + 1)); in LLVMFuzzerTestOneInput() local
55 if (ch == nullptr) { in LLVMFuzzerTestOneInput()
59 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
60 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
61 free(ch); in LLVMFuzzerTestOneInput()
62 ch = nullptr; in LLVMFuzzerTestOneInput()
65 OHOS::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
66 free(ch); in LLVMFuzzerTestOneInput()
67 ch = nullptr; in LLVMFuzzerTestOneInput()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/appservicefwkinstallermovesotorealpath_fuzzer/
H A Dappservicefwkinstallermovesotorealpath_fuzzer.cpp55 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput() local
56 if (ch == nullptr) { in LLVMFuzzerTestOneInput()
60 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
61 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
62 free(ch); in LLVMFuzzerTestOneInput()
63 ch = nullptr; in LLVMFuzzerTestOneInput()
66 OHOS::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
67 free(ch); in LLVMFuzzerTestOneInput()
68 ch = nullptr; in LLVMFuzzerTestOneInput()
/foundation/ability/form_fwk/test/fuzztest/formerrors_fuzzer/
H A Dformerrors_fuzzer.cpp64 char* ch = (char *)malloc(size + 1); in LLVMFuzzerTestOneInput() local
65 if (ch == nullptr) { in LLVMFuzzerTestOneInput()
69 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
70 if (memcpy_s(ch, size + 1, data, size) != EOK) { in LLVMFuzzerTestOneInput()
71 free(ch); in LLVMFuzzerTestOneInput()
72 ch = nullptr; in LLVMFuzzerTestOneInput()
76 OHOS::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
77 free(ch); in LLVMFuzzerTestOneInput()
78 ch = nullptr; in LLVMFuzzerTestOneInput()
/foundation/ability/form_fwk/test/fuzztest/providerconnectproxy_fuzzer/
H A Dproviderconnectproxy_fuzzer.cpp64 char* ch = (char *)malloc(size + 1); in LLVMFuzzerTestOneInput() local
65 if (ch == nullptr) { in LLVMFuzzerTestOneInput()
69 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
70 if (memcpy_s(ch, size + 1, data, size) != EOK) { in LLVMFuzzerTestOneInput()
71 free(ch); in LLVMFuzzerTestOneInput()
72 ch = nullptr; in LLVMFuzzerTestOneInput()
76 OHOS::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
77 free(ch); in LLVMFuzzerTestOneInput()
78 ch = nullptr; in LLVMFuzzerTestOneInput()
/foundation/ability/form_fwk/test/fuzztest/formecologicalruleparam_fuzzer/
H A Dformecologicalruleparam_fuzzer.cpp63 char* ch = (char *)malloc(size + 1); in LLVMFuzzerTestOneInput() local
64 if (ch == nullptr) { in LLVMFuzzerTestOneInput()
68 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
69 if (memcpy_s(ch, size + 1, data, size) != EOK) { in LLVMFuzzerTestOneInput()
70 free(ch); in LLVMFuzzerTestOneInput()
71 ch = nullptr; in LLVMFuzzerTestOneInput()
75 OHOS::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
76 free(ch); in LLVMFuzzerTestOneInput()
77 ch = nullptr; in LLVMFuzzerTestOneInput()
/foundation/ability/form_fwk/test/fuzztest/formsupplyproxy_fuzzer/
H A Dformsupplyproxy_fuzzer.cpp64 char* ch = (char *)malloc(size + 1); in LLVMFuzzerTestOneInput() local
65 if (ch == nullptr) { in LLVMFuzzerTestOneInput()
69 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
70 if (memcpy_s(ch, size + 1, data, size) != EOK) { in LLVMFuzzerTestOneInput()
71 free(ch); in LLVMFuzzerTestOneInput()
72 ch = nullptr; in LLVMFuzzerTestOneInput()
76 OHOS::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
77 free(ch); in LLVMFuzzerTestOneInput()
78 ch = nullptr; in LLVMFuzzerTestOneInput()
/foundation/ability/form_fwk/test/fuzztest/formjsinfo_fuzzer/
H A Dformjsinfo_fuzzer.cpp63 char* ch = (char *)malloc(size + 1); in LLVMFuzzerTestOneInput() local
64 if (ch == nullptr) { in LLVMFuzzerTestOneInput()
68 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
69 if (memcpy_s(ch, size + 1, data, size) != EOK) { in LLVMFuzzerTestOneInput()
70 free(ch); in LLVMFuzzerTestOneInput()
71 ch = nullptr; in LLVMFuzzerTestOneInput()
75 OHOS::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
76 free(ch); in LLVMFuzzerTestOneInput()
77 ch = nullptr; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/getprocessrunninginfos_fuzzer/
H A Dgetprocessrunninginfos_fuzzer.cpp62 char* ch = (char*)malloc(size + 1); in LLVMFuzzerTestOneInput() local
63 if (ch == nullptr) { in LLVMFuzzerTestOneInput()
68 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
69 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
71 free(ch); in LLVMFuzzerTestOneInput()
72 ch = nullptr; in LLVMFuzzerTestOneInput()
76 OHOS::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
77 free(ch); in LLVMFuzzerTestOneInput()
78 ch = nullptr; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/prestartnwebspawnprocess_fuzzer/
H A Dprestartnwebspawnprocess_fuzzer.cpp65 char* ch = (char*)malloc(size + 1); in LLVMFuzzerTestOneInput() local
66 if (ch == nullptr) { in LLVMFuzzerTestOneInput()
71 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
72 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
74 free(ch); in LLVMFuzzerTestOneInput()
75 ch = nullptr; in LLVMFuzzerTestOneInput()
79 OHOS::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
80 free(ch); in LLVMFuzzerTestOneInput()
81 ch = nullptr; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/stopsyncremotemissions_fuzzer/
H A Dstopsyncremotemissions_fuzzer.cpp60 char* ch = (char*)malloc(size + 1); in LLVMFuzzerTestOneInput() local
61 if (ch == nullptr) { in LLVMFuzzerTestOneInput()
66 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
67 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
69 free(ch); in LLVMFuzzerTestOneInput()
70 ch = nullptr; in LLVMFuzzerTestOneInput()
74 OHOS::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
75 free(ch); in LLVMFuzzerTestOneInput()
76 ch = nullptr; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/getabilityrunninginfos_fuzzer/
H A Dgetabilityrunninginfos_fuzzer.cpp62 char* ch = (char*)malloc(size + 1); in LLVMFuzzerTestOneInput() local
63 if (ch == nullptr) { in LLVMFuzzerTestOneInput()
68 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
69 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
71 free(ch); in LLVMFuzzerTestOneInput()
72 ch = nullptr; in LLVMFuzzerTestOneInput()
76 OHOS::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
77 free(ch); in LLVMFuzzerTestOneInput()
78 ch = nullptr; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/cleanallmissions_fuzzer/
H A Dcleanallmissions_fuzzer.cpp61 char* ch = (char*)malloc(size + 1); in LLVMFuzzerTestOneInput() local
62 if (ch == nullptr) { in LLVMFuzzerTestOneInput()
67 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
68 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
70 free(ch); in LLVMFuzzerTestOneInput()
71 ch = nullptr; in LLVMFuzzerTestOneInput()
75 OHOS::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
76 free(ch); in LLVMFuzzerTestOneInput()
77 ch = nullptr; in LLVMFuzzerTestOneInput()

Completed in 6 milliseconds

12345678910>>...29