Home
last modified time | relevance | path

Searched refs:size (Results 3276 - 3300 of 30191) sorted by relevance

1...<<131132133134135136137138139140>>...1208

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dcord_test_helpers.h59 inline absl::string_view ToString(TestCordSize size) { in ToString() argument
60 switch (size) { in ToString()
79 // Returns the length matching the specified size
80 inline size_t Length(TestCordSize size) { return static_cast<size_t>(size); } in Length() argument
83 inline std::ostream& operator<<(std::ostream& stream, TestCordSize size) { in operator <<() argument
84 return stream << ToString(size); in operator <<()
H A Dcord_ring_test.cc147 : data_(s.data()), size_(s.size()) {} in not_a_string_view()
148 explicit not_a_string_view(const void* data, size_t size) in not_a_string_view() argument
149 : data_(data), size_(size) {} in not_a_string_view()
160 size_t size() const { return size_; } in size() function in absl::__anon19332::not_a_string_view
168 return lhs.data() == rhs.data() && lhs.size() == rhs.size(); in operator ==()
172 return s << "{ data: " << rhs.data() << " size: " << rhs.size() << "}"; in operator <<()
192 value.append(sv.data(), sv.size()); in ToString()
236 // Creates a flat or an external node for testing depending on the size
[all...]
/third_party/selinux/libsepol/cil/src/
H A Dcil_mem.c38 void *cil_malloc(size_t size) in cil_malloc() argument
40 void *mem = malloc(size); in cil_malloc()
42 if (size == 0) { in cil_malloc()
63 void *cil_realloc(void *ptr, size_t size) in cil_realloc() argument
65 void *mem = realloc(ptr, size); in cil_realloc()
67 if (size == 0) { in cil_realloc()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Dgas.h13 struct wpabuf * gas_build_initial_req(u8 dialog_token, size_t size);
16 u16 comeback_delay, size_t size);
19 u16 comeback_delay, size_t size);
20 struct wpabuf * gas_anqp_build_initial_req(u8 dialog_token, size_t size);
22 u16 comeback_delay, size_t size);
29 u16 comeback_delay, size_t size);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
H A Dgas.h13 struct wpabuf * gas_build_initial_req(u8 dialog_token, size_t size);
16 u16 comeback_delay, size_t size);
19 u16 comeback_delay, size_t size);
20 struct wpabuf * gas_anqp_build_initial_req(u8 dialog_token, size_t size);
22 u16 comeback_delay, size_t size);
29 u16 comeback_delay, size_t size);
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
H A DCollectVariables_test.cpp63 ASSERT_EQ(1u, uniforms.size()); in validateDepthRangeShader()
68 ASSERT_EQ(3u, uniform.fields.size()); in validateDepthRangeShader()
114 ASSERT_LT(varIndex, outputVariables.size()); in validateOutputVariableForShader()
134 ASSERT_EQ(1u, uniforms.size()); in checkUniformStaticallyUsedButNotActive()
253 ASSERT_EQ(1u, outputVariables.size()); in TEST_F()
279 ASSERT_EQ(1u, outputVariables.size()); in TEST_F()
304 ASSERT_EQ(1u, attributes.size()); in TEST_F()
331 ASSERT_EQ(1u, interfaceBlocks.size()); in TEST_F()
341 ASSERT_EQ(1u, interfaceBlock.fields.size()); in TEST_F()
368 ASSERT_EQ(1u, interfaceBlocks.size()); in TEST_F()
[all...]
/third_party/mesa3d/src/virtio/venus-protocol/
H A Dvn_protocol_driver_types.h39 const size_t size = sizeof(*val) * count; in vn_sizeof_uint64_t_array() local
40 assert(size >= count); in vn_sizeof_uint64_t_array()
41 return size; in vn_sizeof_uint64_t_array()
47 const size_t size = sizeof(*val) * count; in vn_encode_uint64_t_array() local
48 assert(size >= count); in vn_encode_uint64_t_array()
49 vn_encode(enc, size, val, size); in vn_encode_uint64_t_array()
55 const size_t size = sizeof(*val) * count; in vn_decode_uint64_t_array() local
56 assert(size >= count); in vn_decode_uint64_t_array()
57 vn_decode(dec, size, va in vn_decode_uint64_t_array()
85 const size_t size = sizeof(*val) * count; vn_sizeof_int32_t_array() local
93 const size_t size = sizeof(*val) * count; vn_encode_int32_t_array() local
101 const size_t size = sizeof(*val) * count; vn_decode_int32_t_array() local
181 vn_sizeof_blob_array(const void *val, size_t size) vn_sizeof_blob_array() argument
187 vn_encode_blob_array(struct vn_cs_encoder *enc, const void *val, size_t size) vn_encode_blob_array() argument
193 vn_decode_blob_array(struct vn_cs_decoder *dec, void *val, size_t size) vn_decode_blob_array() argument
201 vn_sizeof_char_array(const char *val, size_t size) vn_sizeof_char_array() argument
207 vn_encode_char_array(struct vn_cs_encoder *enc, const char *val, size_t size) vn_encode_char_array() argument
214 vn_decode_char_array(struct vn_cs_decoder *dec, char *val, size_t size) vn_decode_char_array() argument
226 vn_sizeof_array_size(uint64_t size) vn_sizeof_array_size() argument
232 vn_encode_array_size(struct vn_cs_encoder *enc, uint64_t size) vn_encode_array_size() argument
240 uint64_t size; vn_decode_array_size() local
252 uint64_t size; vn_decode_array_size_unchecked() local
260 uint64_t size; vn_peek_array_size() local
311 const size_t size = sizeof(*val) * count; vn_sizeof_uint32_t_array() local
319 const size_t size = sizeof(*val) * count; vn_encode_uint32_t_array() local
327 const size_t size = sizeof(*val) * count; vn_decode_uint32_t_array() local
357 const size_t size = sizeof(*val) * count; vn_sizeof_float_array() local
365 const size_t size = sizeof(*val) * count; vn_encode_float_array() local
373 const size_t size = sizeof(*val) * count; vn_decode_float_array() local
403 const size_t size = sizeof(*val) * count; vn_sizeof_uint8_t_array() local
411 const size_t size = sizeof(*val) * count; vn_encode_uint8_t_array() local
419 const size_t size = sizeof(*val) * count; vn_decode_uint8_t_array() local
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_buffer.c52 uint32_t size = align(buf->base.width0, 0x100); in nouveau_buffer_allocate() local
55 buf->mm = nouveau_mm_allocate(screen->mm_VRAM, size, in nouveau_buffer_allocate()
62 buf->mm = nouveau_mm_allocate(screen->mm_GART, size, in nouveau_buffer_allocate()
161 const unsigned size = align(tx->base.box.width, 4) + adj; in nouveau_transfer_staging() local
166 if ((size <= nv->screen->transfer_pushbuf_threshold) && permit_pb) { in nouveau_transfer_staging()
167 tx->map = align_malloc(size, NOUVEAU_MIN_BUFFER_MAP_ALIGN); in nouveau_transfer_staging()
172 nouveau_mm_allocate(nv->screen->mm_GART, size, &tx->bo, &tx->offset); in nouveau_transfer_staging()
191 const unsigned size = tx->base.box.width; in nouveau_transfer_read() local
193 NOUVEAU_DRV_STAT(nv->screen, buf_read_bytes_staging_vid, size); in nouveau_transfer_read()
196 buf->bo, buf->offset + base, buf->domain, size); in nouveau_transfer_read()
208 nouveau_transfer_write(struct nouveau_context *nv, struct nouveau_transfer *tx, unsigned offset, unsigned size) nouveau_transfer_write() argument
589 nouveau_copy_buffer(struct nouveau_context *nv, struct nv04_resource *dst, unsigned dstx, struct nv04_resource *src, unsigned srcx, unsigned size) nouveau_copy_buffer() argument
800 nouveau_buffer_data_fetch(struct nouveau_context *nv, struct nv04_resource *buf, struct nouveau_bo *bo, unsigned offset, unsigned size) nouveau_buffer_data_fetch() argument
821 unsigned size = buf->base.width0; nouveau_buffer_migrate() local
885 nouveau_user_buffer_upload(struct nouveau_context *nv, struct nv04_resource *buf, unsigned base, unsigned size) nouveau_user_buffer_upload() argument
942 nouveau_scratch_bo_alloc(struct nouveau_context *nv, struct nouveau_bo **pbo, unsigned size) nouveau_scratch_bo_alloc() argument
979 nouveau_scratch_runout(struct nouveau_context *nv, unsigned size) nouveau_scratch_runout() argument
1013 nouveau_scratch_next(struct nouveau_context *nv, unsigned size) nouveau_scratch_next() argument
1054 nouveau_scratch_data(struct nouveau_context *nv, const void *data, unsigned base, unsigned size, struct nouveau_bo **bo) nouveau_scratch_data() argument
1076 nouveau_scratch_get(struct nouveau_context *nv, unsigned size, uint64_t *gpu_addr, struct nouveau_bo **pbo) nouveau_scratch_get() argument
[all...]
/third_party/python/Lib/test/
H A Dtest_audioop.py514 for data, size in INVALID_DATA:
515 size2 = size
516 self.assertRaises(audioop.error, audioop.getsample, data, size, 0)
517 self.assertRaises(audioop.error, audioop.max, data, size)
518 self.assertRaises(audioop.error, audioop.minmax, data, size)
519 self.assertRaises(audioop.error, audioop.avg, data, size)
520 self.assertRaises(audioop.error, audioop.rms, data, size)
521 self.assertRaises(audioop.error, audioop.avgpp, data, size)
522 self.assertRaises(audioop.error, audioop.maxpp, data, size)
523 self.assertRaises(audioop.error, audioop.cross, data, size)
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dpipeline_create_functions_vk.cpp54 PLUGIN_ASSERT(attachments.size() == compatibilityAttachmentDescs.size()); in CreateAttachmentDescriptions()
55 PLUGIN_ASSERT(attachments.size() <= newAttachments.size()); in CreateAttachmentDescriptions()
56 PLUGIN_ASSERT(attachments.size() <= initialImageLayouts.size()); in CreateAttachmentDescriptions()
57 PLUGIN_ASSERT(attachments.size() <= finalImageLayouts.size()); in CreateAttachmentDescriptions()
61 for (size_t idx = 0; idx < attachments.size(); ++idx) { in CreateAttachmentDescriptions()
88 PLUGIN_ASSERT(attachments.size() in CreateAttachmentDescriptions2()
[all...]
/foundation/multimedia/audio_framework/frameworks/native/audiopolicy/test/unittest/group_manager_test/src/
H A Daudio_group_manager_unit_test.cpp54 if (infos.size() > 0) { in HWTEST()
85 if (infos.size() > 0) { in HWTEST()
117 if (infos.size() > 0) { in HWTEST()
149 if (infos.size() > 0) { in HWTEST()
178 if (infos.size() > 0) { in HWTEST()
200 if (infos.size() > 0) { in HWTEST()
222 if (infos.size() > 0) { in HWTEST()
248 if (infos.size() > 0) { in HWTEST()
273 if (infos.size() > 0) { in HWTEST()
298 if (infos.size() > in HWTEST()
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/plugin_test/
H A Dwebp_decoder_test.cpp42 int size = 1000; in HWTEST_F() local
43 std::unique_ptr<uint8_t[]> data = std::make_unique<uint8_t[]>(size); in HWTEST_F()
44 auto streamPtr = BufferSourceStream::CreateSourceStream(data.get(), size); in HWTEST_F()
64 int size = 1000; in HWTEST_F() local
65 std::unique_ptr<uint8_t[]> data = std::make_unique<uint8_t[]>(size); in HWTEST_F()
66 auto streamPtr = BufferSourceStream::CreateSourceStream(data.get(), size); in HWTEST_F()
180 int size = 1000; in HWTEST_F() local
181 std::unique_ptr<uint8_t[]> data = std::make_unique<uint8_t[]>(size); in HWTEST_F()
182 auto streamPtr = BufferSourceStream::CreateSourceStream(data.get(), size); in HWTEST_F()
204 int size in HWTEST_F() local
222 int size = 1000; HWTEST_F() local
264 int size = 1000; HWTEST_F() local
286 int size = 1000; HWTEST_F() local
304 int size = 1000; HWTEST_F() local
325 int size = 1000; HWTEST_F() local
347 int size = 1000; HWTEST_F() local
427 int size = 1000; HWTEST_F() local
[all...]
/third_party/python/Modules/
H A D_struct.c3 /* New version supporting byte order, alignment and size options,
47 Py_ssize_t size; member
58 Py_ssize_t size; member
355 /* ulargest is the largest unsigned value with f->size bytes. in _range_error()
357 * ((size_t)1 << (f->size * 8)) - 1 in _range_error()
358 * doesn't work when f->size == sizeof(size_t) because C doesn't in _range_error()
363 const size_t ulargest = (size_t)-1 >> ((SIZEOF_SIZE_T - f->size)*8); in _range_error()
364 assert(f->size >= 1 && f->size <= SIZEOF_SIZE_T); in _range_error()
812 Py_ssize_t i = f->size; in bu_int()
1277 align(Py_ssize_t size, char c, const formatdef *e) align() argument
1308 Py_ssize_t size, len, num, itemsize; prepare_s() local
2056 Py_ssize_t size; s_sizeof() local
[all...]
/third_party/skia/third_party/vulkanmemoryallocator/include/
H A Dvk_mem_alloc.h174 bufferInfo.size = 65536;
242 bufferInfo.size = 65536;
323 - When the size of the allocation is large.
327 but allocation with the exact requested size succeeds.
397 bufCreateInfo.size = sizeof(ConstantBuffer);
445 `nonCoherentAtomSize` and two different allocations never share same "line" of this size.
467 bufCreateInfo.size = sizeof(ConstantBuffer);
504 bufCreateInfo.size = sizeof(ConstantBuffer);
574 tries not to exceed the budget automatically. If a block with default recommended size
578 If the size o
2956 VkDeviceSize size; global() member
3106 VkDeviceSize size; global() member
3988 aligned_alloc(size_t alignment, size_t size) aligned_alloc() argument
4000 aligned_alloc(size_t alignment, size_t size) aligned_alloc() argument
4676 VmaMalloc(const VkAllocationCallbacks* pAllocationCallbacks, size_t size, size_t alignment) VmaMalloc() argument
4873 size_t size() const { return m_Count; } size() function in VmaVector
5100 size_t size() const { return m_Count; } size() function in VmaSmallVector
5816 size_t size() const { return m_RawList.GetCount(); } size() function in VmaList
6177 VkDeviceSize size; global() member
6250 Init(VkDeviceSize size) Init() argument
6869 VkDeviceSize size; global() member
7314 Register(size_t blockInfoIndex, VkDeviceSize offset, VkDeviceSize size) Register() argument
7346 Fetch(VkDeviceSize alignment, VkDeviceSize size, size_t& outBlockInfoIndex, VkDeviceSize& outDstOffset) Fetch() argument
7402 VkDeviceSize size; global() member
8923 Init(VkDeviceSize size) Init() argument
9916 Init(VkDeviceSize size) Init() argument
10057 const VkDeviceSize size = GetSize(); GetUnusedRangeSizeMax() local
10121 const VkDeviceSize size = GetSize(); CalcAllocationStatInfo() local
10316 const VkDeviceSize size = GetSize(); AddPoolStats() local
10487 const VkDeviceSize size = GetSize(); PrintDetailedMap() local
10837 const VkDeviceSize size = GetSize(); CreateAllocationRequest_UpperAddress() local
10957 const VkDeviceSize size = GetSize(); CreateAllocationRequest_LowerAddress() local
11661 Init(VkDeviceSize size) Init() argument
12596 Allocate( uint32_t currentFrameIndex, VkDeviceSize size, VkDeviceSize alignment, const VmaAllocationCreateInfo& createInfo, VmaSuballocationType suballocType, size_t allocationCount, VmaAllocation* pAllocations) Allocate() argument
12646 AllocateReserved( uint32_t currentFrameIndex, VkDeviceSize size, VkDeviceSize alignment, const VmaAllocationCreateInfo& createInfo, VmaSuballocationType suballocType, VmaAllocation* pAllocation) AllocateReserved() argument
12714 AllocatePage( uint32_t currentFrameIndex, VkDeviceSize size, VkDeviceSize alignment, const VmaAllocationCreateInfo& createInfo, VmaSuballocationType suballocType, VmaAllocation* pAllocation) AllocatePage() argument
13236 AllocateFromBlock( VmaDeviceMemoryBlock* pBlock, uint32_t currentFrameIndex, VkDeviceSize size, VkDeviceSize alignment, VmaAllocationCreateFlags allocFlags, void* pUserData, VmaSuballocationType suballocType, uint32_t strategy, VmaAllocation* pAllocation) AllocateFromBlock() argument
14073 const VkDeviceSize size = allocInfo.m_hAllocation->GetSize(); DefragmentRound() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image_animator/
H A Dimage_animator_pattern.cpp39 RefPtr<PictureAnimation<int32_t>> ImageAnimatorPattern::CreatePictureAnimation(int32_t size) in CreatePictureAnimation() argument
44 for (int32_t index = 0; index < size; ++index) { in CreatePictureAnimation()
49 for (int32_t index = 0; index < size; ++index) { in CreatePictureAnimation()
50 pictureAnimation->AddPicture(NORMALIZED_DURATION_MAX / static_cast<float>(size), index); in CreatePictureAnimation()
70 if (index >= static_cast<int32_t>(images_.size())) { in SetShowingIndex()
71 LOGW("ImageAnimator update index error, index: %{public}d, size: %{public}zu", index, images_.size()); in SetShowingIndex()
107 CHECK_NULL_VOID(cacheImages_.size()); in SetShowingIndex()
149 if (index >= static_cast<int32_t>(images_.size())) { in UpdateCacheImageInfo()
150 LOGW("PrepareImageInfo index error, index: %{public}d, size in UpdateCacheImageInfo()
311 auto size = static_cast<int32_t>(images_.size()); OnModifyDone() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/
H A Drs_animation_test.cpp63 EXPECT_TRUE(animations.size() == CORRECT_SIZE); in HWTEST_F()
64 if (animations.size() != CORRECT_SIZE) { in HWTEST_F()
104 EXPECT_TRUE(animations.size() == CORRECT_SIZE); in HWTEST_F()
105 if (animations.size() != CORRECT_SIZE) { in HWTEST_F()
144 EXPECT_TRUE(animations.size() == CORRECT_SIZE); in HWTEST_F()
145 if (animations.size() != CORRECT_SIZE) { in HWTEST_F()
186 EXPECT_TRUE(animations.size() == CORRECT_SIZE); in HWTEST_F()
187 if (animations.size() != CORRECT_SIZE) { in HWTEST_F()
231 EXPECT_TRUE(animations.size() == CORRECT_SIZE); in HWTEST_F()
232 if (animations.size() ! in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/texgine/src/
H A Dfont_parser.cpp179 auto size = typeface->GetTableSize(tag); in ParseCmapTable() local
180 if (size <= 0) { in ParseCmapTable()
185 tableData = std::make_unique<char[]>(size); in ParseCmapTable()
186 auto retTableData = typeface->GetTableData(tag, 0, size, tableData.get()); in ParseCmapTable()
187 if (size != retTableData) { in ParseCmapTable()
188 LOGSO_FUNC_LINE(ERROR) <<"get table data failed size: " << size << ", ret: " << retTableData; in ParseCmapTable()
193 reinterpret_cast<const char*>(tableData.get()), size, HB_MEMORY_MODE_WRITABLE, tableData.get(), nullptr); in ParseCmapTable()
210 auto size = typeface->GetTableSize(tag); in ParseNameTable() local
211 if (size < in ParseNameTable()
246 auto size = typeface->GetTableSize(tag); ParsePostTable() local
[all...]
/foundation/multimedia/image_framework/frameworks/kits/js/common/ndk/
H A Dimage_packer_native.cpp128 std::string format(options->mimeType.data, options->mimeType.size); in CopyPackingOptions()
157 if (format->size != SIZE_ZERO && format->size < options->mimeType.size) { in OH_PackingOptions_GetMimeType()
161 format->size = (format->size == SIZE_ZERO) ? options->mimeType.size : format->size; in OH_PackingOptions_GetMimeType()
162 format->data = static_cast<char *>(malloc(format->size)); in OH_PackingOptions_GetMimeType()
167 if (memcpy_s(format->data, format->size, option in OH_PackingOptions_GetMimeType()
472 OH_ImagePackerNative_PackToDataFromImageSource(OH_ImagePackerNative *imagePacker, OH_PackingOptions *options, OH_ImageSourceNative *imageSource, uint8_t *outData, size_t *size) OH_ImagePackerNative_PackToDataFromImageSource() argument
489 OH_ImagePackerNative_PackToDataFromPixelmap(OH_ImagePackerNative *imagePacker, OH_PackingOptions *options, OH_PixelmapNative *pixelmap, uint8_t *outData, size_t *size) OH_ImagePackerNative_PackToDataFromPixelmap() argument
506 OH_ImagePackerNative_PackToDataFromPicture(OH_ImagePackerNative *imagePacker, OH_PackingOptions *options, OH_PictureNative *picture, uint8_t *outData, size_t *size) OH_ImagePackerNative_PackToDataFromPicture() argument
[all...]
/foundation/multimedia/av_session/services/session/server/remote/
H A Dremote_session_syncer_impl.cpp108 CHECK_AND_RETURN_RET_LOG(dataVector.size() <= RECEIVE_DATA_SIZE_MAX, AVSESSION_ERROR, "get data size over range"); in GetAVMetaData()
110 uint8_t *allocateData = reinterpret_cast<uint8_t*>(allocator.Alloc(dataVector.size())); in GetAVMetaData()
114 CHECK_AND_RETURN_RET_LOG(parcelData.ParseFrom(reinterpret_cast<uintptr_t>(allocateData), dataVector.size()), in GetAVMetaData()
143 CHECK_AND_RETURN_RET_LOG(dataVector.size() <= RECEIVE_DATA_SIZE_MAX, AVSESSION_ERROR, "get data size over range"); in GetAVPlaybackState()
145 uint8_t *allocateData = reinterpret_cast<uint8_t*>(allocator.Alloc(dataVector.size())); in GetAVPlaybackState()
149 CHECK_AND_RETURN_RET_LOG(parcelData.ParseFrom(reinterpret_cast<uintptr_t>(allocateData), dataVector.size()), in GetAVPlaybackState()
178 CHECK_AND_RETURN_RET_LOG(dataVector.size() <= RECEIVE_DATA_SIZE_MAX, AVSESSION_ERROR, "get data size ove in GetControlCommand()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/waterversion/
H A Dwater_version_manager.cpp186 for (size_t i = 0; i < metaData.keys.size(); ++i) { in InitMeta()
225 for (size_t i = 0; i < metaData.keys.size(); ++i) { in UpdateWaterVersion()
226 for (size_t j = 0; j < metaData.keys.size(); ++j) { in UpdateWaterVersion()
231 if (j == metaData.keys.size() - 1 && metaData.infos[i][i] > consistentVersion) { in UpdateWaterVersion()
255 while (pos < key.size()) { in Split()
262 pos = found + delim.size(); in Split()
265 if (res.size() <= 1) { in Split()
280 newMeta.infos = { keys.size(), std::vector<uint64_t>(keys.size(), 0) }; in Upgrade()
282 for (size_t i = 0; i < keys.size(); in Upgrade()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_parcel_unit_test.cpp139 EXPECT_TRUE(readData.size() == writeData.size()); in HWTEST_F()
174 EXPECT_TRUE(readData.size() == writeData.size()); in HWTEST_F()
209 EXPECT_TRUE(readData.size() == writeData.size()); in HWTEST_F()
244 EXPECT_TRUE(readData.size() == writeData.size()); in HWTEST_F()
280 EXPECT_TRUE(readData.size() == writeData.size()); in HWTEST_F()
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dfbex.cpp126 static inline bool CheckIvValid(const uint8_t *iv, uint32_t size) in CheckIvValid() argument
128 return (iv != nullptr) && (size == FBEX_IV_SIZE); in CheckIvValid()
131 static inline bool CheckReadBuffValid(const uint8_t *eBuffer, uint32_t size, uint32_t status) in CheckReadBuffValid() argument
134 return (eBuffer != nullptr) && (size == (GCM_NONCE_BYTES + AES_256_HASH_RANDOM_SIZE + GCM_MAC_BYTES)); in CheckReadBuffValid()
136 return (eBuffer != nullptr) && (size == AES_256_HASH_RANDOM_SIZE); in CheckReadBuffValid()
139 static inline bool CheckWriteBuffValid(const uint8_t *eBuffer, uint32_t size, uint32_t status) in CheckWriteBuffValid() argument
142 return (eBuffer != nullptr) && (size == AES_256_HASH_RANDOM_SIZE); in CheckWriteBuffValid()
144 return (eBuffer != nullptr) && (size == (GCM_NONCE_BYTES + AES_256_HASH_RANDOM_SIZE + GCM_MAC_BYTES)); in CheckWriteBuffValid()
190 int FBEX::InstallKeyToKernel(uint32_t userId, uint32_t type, uint8_t *iv, uint32_t size, uint8_t flag) in InstallKeyToKernel() argument
193 if (!CheckIvValid(iv, size)) { in InstallKeyToKernel()
234 UninstallOrLockUserKeyToKernel(uint32_t userId, uint32_t type, uint8_t *iv, uint32_t size, bool destroy) UninstallOrLockUserKeyToKernel() argument
365 GenerateAppkey(UserIdToFbeStr &userIdToFbe, uint32_t hashId, std::unique_ptr<uint8_t[]> &appKey, uint32_t size) GenerateAppkey() argument
444 UnlockScreenToKernel(uint32_t userId, uint32_t type, uint8_t *iv, uint32_t size) UnlockScreenToKernel() argument
[all...]
/third_party/ffmpeg/libavcodec/
H A Daudiotoolboxdec.c133 static AudioChannelLayout *ffat_convert_layout(AudioChannelLayout *layout, UInt32* size) in ffat_convert_layout() argument
141 sizeof(UInt32), &layout->mChannelBitmap, size); in ffat_convert_layout()
144 sizeof(AudioChannelLayoutTag), &tag, size); in ffat_convert_layout()
145 new_layout = av_malloc(*size); in ffat_convert_layout()
152 sizeof(UInt32), &layout->mChannelBitmap, size, new_layout); in ffat_convert_layout()
155 sizeof(AudioChannelLayoutTag), &tag, size, new_layout); in ffat_convert_layout()
165 UInt32 size = sizeof(format); in ffat_update_ctx() local
168 &size, &format)) { in ffat_update_ctx()
178 &size, &format)) { in ffat_update_ctx()
183 size, in ffat_update_ctx()
222 put_descr(PutByteContext *pb, int tag, unsigned int size) put_descr() argument
[all...]
/third_party/json/tests/thirdparty/Fuzzer/
H A DFuzzerMutate.cpp24 PrintASCII(W.data(), W.size(), PrintAfter); in PrintASCII()
78 if (!Corpus || Corpus->size() < 2 || Size == 0) in Mutate_CustomCrossOver()
80 size_t Idx = Rand(Corpus->size()); in Mutate_CustomCrossOver()
87 Data, Size, Other.data(), Other.size(), U.data(), U.size(), Rand.Rand()); in Mutate_CustomCrossOver()
181 DE.GetPositionHint() + W.size() < Size && in ApplyDictionaryEntry()
184 if (Size + W.size() > MaxSize) return 0; in ApplyDictionaryEntry()
186 memmove(Data + Idx + W.size(), Data + Idx, Size - Idx); in ApplyDictionaryEntry()
187 memcpy(Data + Idx, W.data(), W.size()); in ApplyDictionaryEntry()
188 Size += W.size(); in ApplyDictionaryEntry()
[all...]
/third_party/mesa3d/src/gallium/frontends/nine/
H A Dnine_pipe.h529 unsigned texcount, i, size = 0; in nine_fvf_stride() local
532 case D3DFVF_XYZ: size += 3*4; break; in nine_fvf_stride()
533 case D3DFVF_XYZRHW: size += 4*4; break; in nine_fvf_stride()
534 case D3DFVF_XYZB1: size += 4*4; break; in nine_fvf_stride()
535 case D3DFVF_XYZB2: size += 5*4; break; in nine_fvf_stride()
536 case D3DFVF_XYZB3: size += 6*4; break; in nine_fvf_stride()
537 case D3DFVF_XYZB4: size += 7*4; break; in nine_fvf_stride()
538 case D3DFVF_XYZB5: size += 8*4; break; in nine_fvf_stride()
539 case D3DFVF_XYZW: size += 4*4; break; in nine_fvf_stride()
545 if (fvf & D3DFVF_NORMAL) { size in nine_fvf_stride()
820 unsigned w, h, size; nine_format_get_level_alloc_size() local
843 unsigned l, w, h, size = 0; nine_format_get_size_and_offsets() local
[all...]

Completed in 42 milliseconds

1...<<131132133134135136137138139140>>...1208