/ohos5.0/foundation/barrierfree/accessibility/interfaces/innerkits/test/fuzztest/accessibilityconfig_fuzzer/ |
H A D | accessibilityconfig_fuzzer.cpp | 27 constexpr size_t LEN = 10; variable 100 char name[LEN + 1]; in GenerateCaptionProperty() 101 name[LEN] = END_CHAR; in GenerateCaptionProperty() 102 for (size_t i = 0; i < LEN; i++) { in GenerateCaptionProperty() 108 for (size_t i = 0; i < LEN; i++) { in GenerateCaptionProperty() 147 char name[LEN + 1]; in DoSomethingInterestingSetConfig() 148 name[LEN] = END_CHAR; in DoSomethingInterestingSetConfig() 163 char name[LEN + 1]; in DoSomethingInterestingGetAbility() 164 name[LEN] = END_CHAR; in DoSomethingInterestingGetAbility() 233 char name[LEN + 1]; in DoSomethingInterestingGetConfig() [all …]
|
/ohos5.0/foundation/barrierfree/accessibility/interfaces/innerkits/test/fuzztest/accessibleabilityclient_fuzzer/ |
H A D | accessibleabilityclient_fuzzer.cpp | 27 constexpr size_t LEN = 10; variable 173 char name[LEN + 1]; in GenerateAccessibilityElementInfoP2() 174 name[LEN] = END_CHAR; in GenerateAccessibilityElementInfoP2() 265 char name[LEN + 1]; in GenerateAccessibilityElementInfoP3() 266 name[LEN] = END_CHAR; in GenerateAccessibilityElementInfoP3() 335 char name[LEN + 1]; in GenerateAccessibilityEventInfo() 336 name[LEN] = END_CHAR; in GenerateAccessibilityEventInfo() 578 char name[LEN + 1]; in DoSomethingInterestingWithGetByContent() 579 name[LEN] = END_CHAR; in DoSomethingInterestingWithGetByContent() 634 char name[LEN + 1]; in DoSomethingInterestingWithExecuteAction() [all …]
|
/ohos5.0/base/sensors/miscdevice/test/fuzztest/vibrator/issupporteffect_fuzzer/ |
H A D | issupporteffect_fuzzer.cpp | 27 constexpr size_t LEN = 20; variable 50 char effectId[LEN + 1]; in IsSupportEffectFuzzTest() 51 effectId[LEN] = END_CHAR; in IsSupportEffectFuzzTest() 52 for (size_t i = 0; i < LEN; ++i) { in IsSupportEffectFuzzTest()
|
/ohos5.0/foundation/barrierfree/accessibility/interfaces/innerkits/test/fuzztest/accessibilitysystemabilityclient_fuzzer/ |
H A D | accessibilitysystemabilityclient_fuzzer.cpp | 25 constexpr size_t LEN = 10; variable 125 char name[LEN + 1]; in CreateEventInfoSecondPart() 126 name[LEN] = END_CHAR; in CreateEventInfoSecondPart() 127 for (size_t i = 0; i < LEN; i++) { in CreateEventInfoSecondPart() 133 for (size_t i = 0; i < LEN; i++) { in CreateEventInfoSecondPart() 139 for (size_t i = 0; i < LEN; i++) { in CreateEventInfoSecondPart() 145 for (size_t i = 0; i < LEN; i++) { in CreateEventInfoSecondPart() 151 for (size_t i = 0; i < LEN; i++) { in CreateEventInfoSecondPart() 157 for (size_t i = 0; i < LEN; i++) { in CreateEventInfoSecondPart() 313 char name[LEN + 1]; in GetEnabledAbilitiesFuzzTest() [all …]
|
/ohos5.0/base/sensors/miscdevice/test/fuzztest/vibrator/playprimitiveeffect_fuzzer/ |
H A D | playprimitiveeffect_fuzzer.cpp | 33 constexpr size_t LEN = 20; variable 80 char effectId[LEN + 1]; in PlayPrimitiveEffectFuzzTest() 81 effectId[LEN] = END_CHAR; in PlayPrimitiveEffectFuzzTest() 82 for (size_t i = 0; i < LEN; ++i) { in PlayPrimitiveEffectFuzzTest()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/dfx/src/ |
H A D | value_hash.h | 45 if (result.size() < LEN) { in CalcValueHash() 49 res = std::string(result.end() - LEN, result.end()); in CalcValueHash() 54 static constexpr int LEN = 8; // 8 is the substring length
|
/ohos5.0/foundation/window/window_manager/test/fuzztest/wms/windowscene_fuzzer/ |
H A D | windowscene_fuzzer.cpp | 35 constexpr size_t LEN = 10; variable 99 char name[LEN + 1]; in InitWindowOption1() 100 name[LEN] = END_CHAR; in InitWindowOption1() 101 for (size_t i = 0; i < LEN; i++) { in InitWindowOption1() 173 char name[LEN + 1]; in DoSomethingInterestingWithMyAPI() 174 name[LEN] = END_CHAR; in DoSomethingInterestingWithMyAPI() 175 for (size_t i = 0; i < LEN; i++) { in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/window/window_manager/test/fuzztest/dms/screen_fuzzer/ |
H A D | screen_fuzzer.cpp | 32 constexpr size_t LEN = 10; variable 51 char name[LEN + 1]; in CreateScreenInfo() 52 name[LEN] = END_CHAR; in CreateScreenInfo() 53 for (size_t i = 0; i < LEN; i++) { in CreateScreenInfo()
|
/ohos5.0/foundation/resourceschedule/qos_manager/test/fuzztest/concurrent_fuzzer/ |
H A D | concurrent_fuzzer.cpp | 42 #define LEN 4 macro 512 size_t size1 = (size - g_baseFuzzPos) > LEN ? LEN : (size - g_baseFuzzPos); in FuzzConcurrentTaskServiceStubQueryDeadlineInner() 537 size_t size1 = size > LEN ? LEN : size; in FuzzConcurrentTaskServiceStubRequestAuthInner() 554 size_t size1 = size > LEN ? LEN : size; in FuzzConcurrentTaskServiceStringToJson() 884 size_t size1 = (size - g_baseFuzzPos) > LEN ? LEN : (size - g_baseFuzzPos); in FuzzTaskControllerModifyGameState() 904 size_t size1 = (size - g_baseFuzzPos) > LEN ? LEN : (size - g_baseFuzzPos); in FuzzTaskControllerModifySystemRate()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_sync_info_manager_test.cpp | 33 constexpr uint32_t LEN = 10; variable 118 int32_t ret = LnnSendSyncInfoMsg(LNN_INFO_TYPE_COUNT, NETWORKID, MSG, LEN, Complete);
|
/ohos5.0/foundation/multimedia/image_effect/test/unittest/ |
H A D | TestEffectMemoryManager.cpp | 33 constexpr uint32_t LEN = ROW_STRIDE * HEIGHT; variable 72 memoryInfo.bufferInfo.len_ = LEN;
|
H A D | TestRenderEnvironment.cpp | 32 constexpr uint32_t LEN = ROW_STRIDE * HEIGHT; variable 53 bufferInfo->len_ = LEN; in SetUp()
|
/ohos5.0/foundation/barrierfree/accessibility/common/interface/test/fuzztest/accessibleabilitychannelstub_fuzzer/ |
H A D | accessibleabilitychannelstub_fuzzer.cpp | 26 constexpr size_t LEN = 10; variable 148 char name[LEN + 1]; in FuzzHandleSearchElementInfosByText() 149 name[LEN] = END_CHAR; in FuzzHandleSearchElementInfosByText() 150 for (size_t i = 0; i < LEN; i++) { in FuzzHandleSearchElementInfosByText()
|
/ohos5.0/foundation/barrierfree/accessibility/common/interface/test/fuzztest/accessibilityenableabilitylistsobserverstub_fuzzer/ |
H A D | accessibilityenableabilitylistsobserverstub_fuzzer.cpp | 25 constexpr size_t LEN = 10; variable
|
/ohos5.0/foundation/barrierfree/accessibility/common/interface/test/fuzztest/accessibleabilitymanagercaptionobserverstub_fuzzer/ |
H A D | accessibleabilitymanagercaptionobserverstub_fuzzer.cpp | 25 constexpr size_t LEN = 10; variable
|
/ohos5.0/foundation/barrierfree/accessibility/common/interface/test/fuzztest/accessibleabilitymanagerstateobserverstub_fuzzer/ |
H A D | accessibleabilitymanagerstateobserverstub_fuzzer.cpp | 25 constexpr size_t LEN = 10; variable
|
/ohos5.0/foundation/barrierfree/accessibility/common/interface/test/fuzztest/accessibleabilityclientstub_fuzzer/ |
H A D | accessibleabilityclientstub_fuzzer.cpp | 25 constexpr size_t LEN = 10; variable
|
/ohos5.0/foundation/barrierfree/accessibility/common/interface/test/fuzztest/accessibilityelementoperatorcallbackstub_fuzzer/ |
H A D | accessibilityelementoperatorcallbackstub_fuzzer.cpp | 25 constexpr size_t LEN = 10; variable
|
/ohos5.0/foundation/barrierfree/accessibility/common/interface/test/fuzztest/accessibleabilitymanagerconfigobserverstub_fuzzer/ |
H A D | accessibleabilitymanagerconfigobserverstub_fuzzer.cpp | 25 constexpr size_t LEN = 10; variable
|
/ohos5.0/foundation/barrierfree/accessibility/common/interface/test/fuzztest/accessibilityelementoperatorstub_fuzzer/ |
H A D | accessibilityelementoperatorstub_fuzzer.cpp | 25 constexpr size_t LEN = 10; variable
|
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/ipc/ |
H A D | trans_ipc_test.cpp | 43 #define LEN 32 macro 307 uint32_t len = LEN;
|
/ohos5.0/docs/zh-cn/contribute/ |
H A D | OpenHarmony-c-cpp-secure-coding-guide.md | 2002 函数参数列表中声明为数组的参数会被调整为相应类型的指针。例如:`void Func(int inArray[LEN])`函数参数列表中的inArray虽然被声明为数组,但是实际上会被调整为指向int… 2106 将指针当做数组进行sizeof操作时,会导致实际的执行结果与预期不符。例如:变量定义 `char *p = array`,其中array的定义为`char array[LEN]`,表达式`sizeo…
|
/ohos5.0/docs/zh-cn/application-dev/tools/ |
H A D | toybox.md | 286 | strings | 在二进制文件中显示可打印字符串。<br />usage: strings [-fo] [-t oxd] [-n LEN] [FILE...] |
|
/ohos5.0/docs/en/application-dev/tools/ |
H A D | toybox.md | 286 | strings | Displays printable strings in a binary file.<br>usage: strings [-fo] [-t oxd] [-n LEN…
|
/ohos5.0/docs/en/contribute/ |
H A D | OpenHarmony-c-cpp-secure-coding-guide.md | 2059 …. For example, although the inArray argument in the `void Func(int inArray[LEN])` function is decl… 2164 …variable definition `char *p = array` where array is defined as `char array[LEN]`, the result of th…
|