Home
last modified time | relevance | path

Searched refs:size (Results 2676 - 2700 of 56270) sorted by relevance

1...<<101102103104105106107108109110>>...2251

/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/common/partition_table/
H A Dload_partition_table.c63 table->table[HI_FLASH_PARTITON_BOOT].size = PRODUCT_CFG_DEFAULT_BOOT_SIZE; in hi_flash_partition_init()
65 table->table[HI_FLASH_PARTITON_FACTORY_NV].size = PRODUCT_CFG_DEFAULT_FNV_SIZE; in hi_flash_partition_init()
67 table->table[HI_FLASH_PARTITON_NORMAL_NV].size = PRODUCT_CFG_DEFAULT_NORMAL_NV_SIZE; in hi_flash_partition_init()
69 table->table[HI_FLASH_PARTITON_NORMAL_NV_BACKUP].size = PRODUCT_CFG_DEFAULT_NORMAL_NV_BACKUP_SIZE; in hi_flash_partition_init()
71 table->table[HI_FLASH_PARTITON_KERNEL_A].size = PRODUCT_CFG_DEFAULT_KERNEL_A_SIZE; in hi_flash_partition_init()
73 table->table[HI_FLASH_PARTITON_KERNEL_B].size = PRODUCT_CFG_DEFAULT_KERNEL_B_SIZE; in hi_flash_partition_init()
75 table->table[HI_FLASH_PARTITON_HILINK].size = PRODUCT_CFG_DEFAULT_HILINK_SIZE; in hi_flash_partition_init()
77 table->table[HI_FLASH_PARTITON_FILE_SYSTEM].size = PRODUCT_CFG_DEFAULT_FILE_SYSTEM_SIZE; in hi_flash_partition_init()
79 table->table[HI_FLASH_PARTITON_USR_RESERVE].size = PRODUCT_CFG_DEFAULT_USER_RESERVE_SIZE; in hi_flash_partition_init()
81 table->table[HI_FLASH_PARTITON_HILINK_PKI].size in hi_flash_partition_init()
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/common/partition_table/
H A Dboot_partition_table.c64 table->table[HI_FLASH_PARTITON_BOOT].size = PRODUCT_CFG_DEFAULT_BOOT_SIZE; in hi_flash_partition_init()
66 table->table[HI_FLASH_PARTITON_FACTORY_NV].size = PRODUCT_CFG_DEFAULT_FNV_SIZE; in hi_flash_partition_init()
68 table->table[HI_FLASH_PARTITON_NORMAL_NV].size = PRODUCT_CFG_DEFAULT_NORMAL_NV_SIZE; in hi_flash_partition_init()
70 table->table[HI_FLASH_PARTITON_NORMAL_NV_BACKUP].size = PRODUCT_CFG_DEFAULT_NORMAL_NV_BACKUP_SIZE; in hi_flash_partition_init()
72 table->table[HI_FLASH_PARTITON_KERNEL_A].size = PRODUCT_CFG_DEFAULT_KERNEL_A_SIZE; in hi_flash_partition_init()
74 table->table[HI_FLASH_PARTITON_KERNEL_B].size = PRODUCT_CFG_DEFAULT_KERNEL_B_SIZE; in hi_flash_partition_init()
76 table->table[HI_FLASH_PARTITON_HILINK].size = PRODUCT_CFG_DEFAULT_HILINK_SIZE; in hi_flash_partition_init()
78 table->table[HI_FLASH_PARTITON_FILE_SYSTEM].size = PRODUCT_CFG_DEFAULT_FILE_SYSTEM_SIZE; in hi_flash_partition_init()
80 table->table[HI_FLASH_PARTITON_USR_RESERVE].size = PRODUCT_CFG_DEFAULT_USER_RESERVE_SIZE; in hi_flash_partition_init()
82 table->table[HI_FLASH_PARTITON_HILINK_PKI].size in hi_flash_partition_init()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/abilitymanagerservicec_fuzzer/
H A Dabilitymanagerservicec_fuzzer.cpp66 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
72 std::string stringParam(data, size); in DoSomethingInterestingWithMyAPI()
75 if (wantParcel.WriteBuffer(data, size)) { in DoSomethingInterestingWithMyAPI()
104 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
111 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
112 if (size < OHOS::U32_AT_SIZE || size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
116 char* ch = (char*)malloc(size + 1); in LLVMFuzzerTestOneInput()
122 (void)memset_s(ch, size + 1, 0x00, size in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/form_fwk/test/fuzztest/formdatamgrtwo_fuzzer/
H A Dformdatamgrtwo_fuzzer.cpp39 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
71 std::string bundleName(data, size); in DoSomethingInterestingWithMyAPI()
83 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
90 if (size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
94 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
95 if (size == 0 || size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
99 char* ch = (char *)malloc(size + 1); in LLVMFuzzerTestOneInput()
104 (void)memset_s(ch, size + 1, 0x00, size in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/form_fwk/test/fuzztest/formsyseventreceiver_fuzzer/
H A Dformsyseventreceiver_fuzzer.cpp39 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
50 std::string bundleName(data, size); in DoSomethingInterestingWithMyAPI()
93 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
100 if (size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
104 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
105 if (size == 0 || size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
109 char* ch = (char *)malloc(size + 1); in LLVMFuzzerTestOneInput()
114 (void)memset_s(ch, size + 1, 0x00, size in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/form_fwk/test/fuzztest/formdatamgrone_fuzzer/
H A Dformdatamgrone_fuzzer.cpp39 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
54 std::string bundleName(data, size); in DoSomethingInterestingWithMyAPI()
76 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
83 if (size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
87 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
88 if (size == 0 || size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
92 char* ch = (char *)malloc(size + 1); in LLVMFuzzerTestOneInput()
97 (void)memset_s(ch, size + 1, 0x00, size in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/form_fwk/test/fuzztest/formhostrecord_fuzzer/
H A Dformhostrecord_fuzzer.cpp35 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
77 std::string hostBundleName(data, size); in DoSomethingInterestingWithMyAPI()
84 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
91 if (size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
95 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
96 if (size == 0 || size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
100 char* ch = (char *)malloc(size + 1); in LLVMFuzzerTestOneInput()
105 (void)memset_s(ch, size + 1, 0x00, size in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/form_fwk/test/fuzztest/formmgradapter_fuzzer/
H A Dformmgradapter_fuzzer.cpp39 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
56 std::string bundleName(data, size); in DoSomethingInterestingWithMyAPI()
75 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
82 if (size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
86 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
87 if (size == 0 || size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
91 char* ch = (char *)malloc(size + 1); in LLVMFuzzerTestOneInput()
96 (void)memset_s(ch, size + 1, 0x00, size in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/form_fwk/test/fuzztest/formrenderstub_fuzzer/
H A Dformrenderstub_fuzzer.cpp72 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
77 datas.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
94 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
101 if (size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
105 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
106 if (size == 0 || size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
110 char* ch = (char *)malloc(size + 1); in LLVMFuzzerTestOneInput()
115 (void)memset_s(ch, size + 1, 0x00, size in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/form_fwk/test/fuzztest/formproviderstub_fuzzer/
H A Dformproviderstub_fuzzer.cpp95 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
100 datas.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
111 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
118 if (size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
122 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
123 if (size == 0 || size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
127 char* ch = (char *)malloc(size + 1); in LLVMFuzzerTestOneInput()
132 (void)memset_s(ch, size + 1, 0x00, size in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/abilitymanagerservicefifth_fuzzer/
H A Dabilitymanagerservicefifth_fuzzer.cpp67 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
71 std::string stringParam(data, size); in DoSomethingInterestingWithMyAPI()
74 if (wantParcel.WriteBuffer(data, size)) { in DoSomethingInterestingWithMyAPI()
106 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
113 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
114 if (size < OHOS::U32_AT_SIZE || size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
118 char* ch = (char*)malloc(size + 1); in LLVMFuzzerTestOneInput()
124 (void)memset_s(ch, size + 1, 0x00, size in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/abilitymanagerservicea_fuzzer/
H A Dabilitymanagerservicea_fuzzer.cpp66 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
69 std::string stringParam(data, size); in DoSomethingInterestingWithMyAPI()
72 if (wantParcel.WriteBuffer(data, size)) { in DoSomethingInterestingWithMyAPI()
93 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
100 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
101 if (size < OHOS::U32_AT_SIZE || size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
105 char* ch = (char*)malloc(size + 1); in LLVMFuzzerTestOneInput()
111 (void)memset_s(ch, size + 1, 0x00, size in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/abilitymgrabilitymanagerstub_fuzzer/
H A Dabilitymgrabilitymanagerstub_fuzzer.cpp66 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
71 parcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
81 parcels.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
90 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
98 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
99 if (size > OHOS::FOO_MAX_LEN || size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
103 char* ch = (char*)malloc(size + 1); in LLVMFuzzerTestOneInput()
109 (void)memset_s(ch, size + 1, 0x00, size in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/abilityinterfacesappmgrnativechildnotifyproxy_fuzzer/
H A Dabilityinterfacesappmgrnativechildnotifyproxy_fuzzer.cpp68 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
78 parcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
82 parcels.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
96 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
104 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
105 if (size > OHOS::FOO_MAX_LEN || size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
109 char* ch = (char*)malloc(size + 1); in LLVMFuzzerTestOneInput()
115 (void)memset_s(ch, size + 1, 0x00, size in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/abilitychildprocessrecord_fuzzer/
H A Dabilitychildprocessrecord_fuzzer.cpp43 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
49 std::string stringParam(data, size); in DoSomethingInterestingWithMyAPI()
78 std::string entryParams(data, size); in DoSomethingInterestingWithMyAPI()
86 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
94 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
95 if (size > OHOS::FOO_MAX_LEN || size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
99 char* ch = (char*)malloc(size + 1); in LLVMFuzzerTestOneInput()
105 (void)memset_s(ch, size + 1, 0x00, size in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/abilitymanagerserviceg_fuzzer/
H A Dabilitymanagerserviceg_fuzzer.cpp66 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
69 std::string stringParam(data, size); in DoSomethingInterestingWithMyAPI()
72 if (wantParcel.WriteBuffer(data, size)) { in DoSomethingInterestingWithMyAPI()
98 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
105 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
106 if (size < OHOS::U32_AT_SIZE || size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
110 char* ch = (char*)malloc(size + 1); in LLVMFuzzerTestOneInput()
116 (void)memset_s(ch, size + 1, 0x00, size in LLVMFuzzerTestOneInput()
[all...]
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/bundleresrdb_fuzzer/
H A Dbundleresrdb_fuzzer.cpp32 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
36 std::string bundleName(data, size); in DoSomethingInterestingWithMyAPI()
60 std::string systemState(data, size); in DoSomethingInterestingWithMyAPI()
77 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
84 if (size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
88 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
89 if (size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
93 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
98 (void)memset_s(ch, size + 1, 0x00, size in LLVMFuzzerTestOneInput()
[all...]
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/bundleresparser_fuzzer/
H A Dbundleresparser_fuzzer.cpp32 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
35 std::string bundleName(data, size); in DoSomethingInterestingWithMyAPI()
54 std::string label(data, size); in DoSomethingInterestingWithMyAPI()
85 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
92 if (size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
96 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
97 if (size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
101 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
106 (void)memset_s(ch, size + 1, 0x00, size in LLVMFuzzerTestOneInput()
[all...]
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/bundleresprocess_fuzzer/
H A Dbundleresprocess_fuzzer.cpp31 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
33 std::string bundleName(data, size); in DoSomethingInterestingWithMyAPI()
43 std::string targetBundleName(data, size); in DoSomethingInterestingWithMyAPI()
75 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
82 if (size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
86 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
87 if (size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
91 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
96 (void)memset_s(ch, size + 1, 0x00, size in LLVMFuzzerTestOneInput()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/
H A Drender_service_client_screen_mode_demo.cpp38 decltype(supportedModes_.size()) size = supportedModes_.size(); in TestRun()
39 if (size == 0) { in TestRun()
46 for (decltype(supportedModes_.size()) i = 0; i < size; i++) { in TestRun()
94 decltype(supportedModes_.size()) size = supportedModes_.size(); in ChangeScreenActiveMode()
95 if (newScreenModeId >= size) { in ChangeScreenActiveMode()
[all...]
/foundation/multimodalinput/input/util/network/include/
H A Dstream_buffer.h54 bool Read(char *buf, size_t size);
55 virtual bool Write(const char *buf, size_t size);
105 MMI_HILOGE("[%{public}s] size:%{public}zu count:%{public}d,errCode:%{public}d", in Read()
116 MMI_HILOGE("[%{public}s] size:%{public}zu,count:%{public}d,errCode:%{public}d", in Write()
126 int32_t size = 0; in Read() local
127 if (!Read(size)) { in Read()
128 MMI_HILOGE("Read vector size error"); in Read()
131 if (size < 0 || size > MAX_VECTOR_SIZE) { in Read()
132 MMI_HILOGE("Read vector size in Read()
153 int32_t size = static_cast<int32_t>(data.size()); Write() local
[all...]
/foundation/communication/dsoftbus/tests/core/connection/fuzztest/wifidirectprotocol_fuzzer/
H A Dprotocol_fuzzer.cpp28 static void JsonProtocolParseFuzzTest(const uint8_t *data, size_t size) in JsonProtocolParseFuzzTest() argument
31 (void)size; in JsonProtocolParseFuzzTest()
51 auto size = UN_HEXIFY_LEN(s.length()); in StringToBytes() local
52 uint8_t *buf = new uint8_t[size]; in StringToBytes()
53 auto ret = ConvertHexStringToBytes(buf, size, s.c_str(), s.size()); in StringToBytes()
60 output.insert(output.end(), buf, buf + size); in StringToBytes()
64 static void TlvProtocolParseFuzzTest(const uint8_t *data, size_t size) in TlvProtocolParseFuzzTest() argument
67 (void)size; in TlvProtocolParseFuzzTest()
84 extern "C" int32_t LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument
[all...]
/foundation/communication/ipc/ipc/native/src/core/source/
H A Dbuffer_object.cpp52 /* check whether buffer size is enough, if not, move write/read cursor to head */ in UpdateSendBuffer()
75 /* check whether buffer size is enough, if not, move write/read cursor to head */ in UpdateReceiveBuffer()
90 char *BufferObject::GetSendBufferAndLock(uint32_t size) in GetSendBufferAndLock() argument
92 uint32_t needSize = GetNeedBufferSize(size); in GetSendBufferAndLock()
97 if (!ExpandSendBuffer(size)) { in GetSendBufferAndLock()
107 bool BufferObject::ExpandSendBuffer(uint32_t size) in ExpandSendBuffer() argument
109 uint32_t needSize = GetNeedBufferSize(size); in ExpandSendBuffer()
134 char *BufferObject::GetReceiveBufferAndLock(uint32_t size) in GetReceiveBufferAndLock() argument
136 uint32_t needSize = GetNeedBufferSize(size); in GetReceiveBufferAndLock()
216 uint32_t BufferObject::GetNeedBufferSize(uint32_t size) cons
[all...]
/foundation/distributedhardware/distributed_audio/common/src/
H A Ddaudio_latency_test.cpp56 if (captureBeepTime_.size() >= playBeepTime_.size()) { in AddRecordTime()
57 DHLOGE("Catch record high frame size error, capturesize %{public}zu, playsize %{public}zu.", in AddRecordTime()
58 captureBeepTime_.size(), playBeepTime_.size()); in AddRecordTime()
71 bool DAudioLatencyTest::IsFrameHigh(const int16_t *audioData, const int32_t size, int32_t threshhold) in IsFrameHigh() argument
73 if (size > MAXSIZE) { in IsFrameHigh()
74 DHLOGI("size=%{public}d is over range", size); in IsFrameHigh()
78 for (int32_t i = 0; i < size; in IsFrameHigh()
[all...]
/kernel/linux/linux-5.10/arch/openrisc/include/asm/
H A Dcmpxchg.h60 int size) in cmpxchg_small()
65 int bitoff = (sizeof(u32) - size - off) * BITS_PER_BYTE; in cmpxchg_small()
69 u32 bitmask = ((0x1 << size * BITS_PER_BYTE) - 1) << bitoff; in cmpxchg_small()
92 static inline u32 xchg_small(volatile void *ptr, u32 x, int size) in xchg_small() argument
97 int bitoff = (sizeof(u32) - size - off) * BITS_PER_BYTE; in xchg_small()
101 u32 bitmask = ((0x1 << size * BITS_PER_BYTE) - 1) << bitoff; in xchg_small()
119 __compiletime_error("Bad argument size for cmpxchg");
122 unsigned long new, int size) in __cmpxchg()
124 switch (size) { in __cmpxchg()
127 return cmpxchg_small(ptr, old, new, size); in __cmpxchg()
59 cmpxchg_small(volatile void *ptr, u32 old, u32 new, int size) cmpxchg_small() argument
121 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) __cmpxchg() argument
150 __xchg(volatile void *ptr, unsigned long with, int size) __xchg() argument
[all...]

Completed in 13 milliseconds

1...<<101102103104105106107108109110>>...2251