Home
last modified time | relevance | path

Searched refs:size (Results 4126 - 4150 of 51581) sorted by relevance

1...<<161162163164165166167168169170>>...2064

/third_party/libexif/libexif/canon/
H A Dmnote-canon-entry.c519 /* val is buffer size, i.e. # of values plus 1 */ in mnote_canon_entry_count_values()
520 return MIN (entry->size - 2, val) / 2; in mnote_canon_entry_count_values()
557 size_t size; in mnote_canon_entry_get_value() local
564 size = entry->size; in mnote_canon_entry_get_value()
573 if (size < 2) return NULL; in mnote_canon_entry_get_value()
579 if (size < 2 + t*2 + 2) return NULL; in mnote_canon_entry_get_value()
624 if (size < t*2 + 2) return NULL; in mnote_canon_entry_get_value()
641 if (size < 2) return NULL; in mnote_canon_entry_get_value()
645 if (size < in mnote_canon_entry_get_value()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageSizeTests.cpp22 * \brief Image size Tests
57 //! Get a texture based on image type and suggested size.
58 Texture getTexture (const ImageType imageType, const tcu::IVec3& size) in getTexture() argument
64 return Texture(imageType, tcu::IVec3(size.x(), 1, 1), 1); in getTexture()
67 return Texture(imageType, tcu::IVec3(size.x(), 1, 1), size.y()); in getTexture()
70 return Texture(imageType, tcu::IVec3(size.x(), size.y(), 1), 1); in getTexture()
73 return Texture(imageType, tcu::IVec3(size.x(), size in getTexture()
139 const tcu::IVec3 size = texture.size(); getExpectedImageSizeResult() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageSizeTests.cpp22 * \brief Image size Tests
57 //! Get a texture based on image type and suggested size.
58 Texture getTexture (const ImageType imageType, const tcu::IVec3& size) in getTexture() argument
64 return Texture(imageType, tcu::IVec3(size.x(), 1, 1), 1); in getTexture()
67 return Texture(imageType, tcu::IVec3(size.x(), 1, 1), size.y()); in getTexture()
70 return Texture(imageType, tcu::IVec3(size.x(), size.y(), 1), 1); in getTexture()
73 return Texture(imageType, tcu::IVec3(size.x(), size in getTexture()
139 const tcu::IVec3 size = texture.size(); getExpectedImageSizeResult() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkBinaryRegistry.cpp135 const size_t size = (size_t)in.tellg(); in readBinary() local
140 if (size == 0) in readBinary()
141 throw tcu::Exception("Malformed binary, size = 0"); in readBinary()
146 std::vector<deUint8> bytes (size); in readBinary()
148 in.read((char*)&bytes[0], size); in readBinary()
151 return new ProgramBinary(vk::PROGRAM_FORMAT_SPIRV, bytes.size(), &bytes[0]); in readBinary()
171 const size_t strLen = combinedStr.size(); in getSearchPath()
192 if (wordNdx+1 < words.size()) in findBinaryIndex()
194 TCU_CHECK_INTERNAL((size_t)curNode.index < index->size()); in findBinaryIndex()
199 else if (wordNdx+1 == words.size()) in findBinaryIndex()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DSmallBitVector.h37 // pointer to memory containing size, allocation size, and the array of bits.
48 // A few more bits are used to store the size of the bit set in small mode.
60 "Unsupported word size");
111 // bits for the size as well as the element bits.
122 // Return the size.
192 size_t size() const { in size() function in llvm::SmallBitVector
193 return isSmall() ? getSmallSize() : getPointer()->size(); in size()
386 assert(E <= size() && "Attempted to set out-of-bounds range!"); in set()
417 assert(E <= size() in reset()
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/pixel_map_test/
H A Dpixel_map_test.cpp59 info.size.width = pixelMapWidth; in ConstructPixmap()
60 info.size.height = pixelMapHeight; in ConstructPixmap()
89 info.size.width = width; in ConstructPixmap()
90 info.size.height = height; in ConstructPixmap()
121 opts.size.width = width; in ConstructPixmap()
122 opts.size.height = height; in ConstructPixmap()
135 info.size.width = width; in ConstructPixelMap()
136 info.size.height = height; in ConstructPixelMap()
212 opts.size.width = width; in InitOption()
213 opts.size in InitOption()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DProgram.cpp62 size_t bytes = UniformTypeSize(type) * size(); in Uniform()
78 int Uniform::size() const in size() function in es2::Uniform
85 return size() * VariableRegisterCount(type); in registerCount()
131 LinkedVarying::LinkedVarying(const std::string &name, GLenum type, GLsizei size, int reg, int col) in LinkedVarying() argument
132 : name(name), type(type), size(size), reg(reg), col(col) in LinkedVarying()
348 for(size_t index = 0; index < uniforms.size(); index++)
364 for(size_t location = 0; location < uniformIndex.size(); location++)
401 size_t numUniforms = uniforms.size();
428 *params = static_cast<GLint>(uniformBlock.name.size()
697 int size = targetUniform->size(); setUniform1iv() local
753 int size = targetUniform->size(); setUniformiv() local
815 int size = targetUniform->size(); setUniform1uiv() local
871 int size = targetUniform->size(); setUniformuiv() local
1103 GLsizei size = targetUniform->size(); applyUniforms() local
1242 int size = transformFeedbackLinkedVaryings[index].size; applyTransformFeedback() local
1275 int size = transformFeedbackLinkedVaryings[index].size; applyTransformFeedback() local
1474 int size = hasSubscript ? 1 : varying.size(); linkTransformFeedback() local
2771 getActiveAttribute(GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) const getActiveAttribute() argument
2814 getActiveUniform(GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) const getActiveUniform() argument
2953 getTransformFeedbackVarying(GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name) const getTransformFeedbackVarying() argument
[all...]
/foundation/ability/ability_runtime/tools/test/moduletest/aa/
H A Daa_command_dumpsys_module_test.cpp76 EXPECT_GT(lines.size(), SIZE_ONE); in HWTEST_F()
100 EXPECT_GT(lines.size(), SIZE_ONE); in HWTEST_F()
124 EXPECT_GT(lines.size(), SIZE_ONE); in HWTEST_F()
148 EXPECT_GT(lines.size(), SIZE_ONE); in HWTEST_F()
173 EXPECT_GE(lines.size(), SIZE_ONE); in HWTEST_F()
198 EXPECT_GE(lines.size(), SIZE_ONE); in HWTEST_F()
222 EXPECT_GT(lines.size(), SIZE_ONE); in HWTEST_F()
246 EXPECT_GT(lines.size(), SIZE_ONE); in HWTEST_F()
270 EXPECT_GE(lines.size(), SIZE_ONE); in HWTEST_F()
294 EXPECT_GE(lines.size(), SIZE_ON in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Drosen_render_box.h65 void SetBackgroundSize(const BackgroundImageSize& size) override;
175 float DimensionToPx(const Dimension& value, const Size& size, LengthMode type) const;
176 void GetSizeAndPosition(GeometryBoxType geometryBoxType, Size& size, Offset& position);
177 float GetFloatRadiusValue(const Dimension& src, const Dimension& dest, const Size& size, LengthMode type);
181 bool CreateInset(const RefPtr<BasicShape>& basicShape, const Size& size, const Offset& position, SkPath* skPath);
182 bool CreateCircle(const RefPtr<BasicShape>& basicShape, const Size& size, const Offset& position, SkPath* skPath);
183 bool CreateEllipse(const RefPtr<BasicShape>& basicShape, const Size& size, const Offset& position, SkPath* skPath);
184 bool CreatePolygon(const RefPtr<BasicShape>& basicShape, const Size& size, const Offset& position, SkPath* skPath);
185 bool CreatePath(const RefPtr<BasicShape>& basicShape, const Size& size, const Offset& position, SkPath* skPath);
186 bool CreateRect(const RefPtr<BasicShape>& basicShape, const Size& size, cons
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/textblob_fuzzer/
H A Dtext_blob_fuzzer.cpp32 bool TextBlobFuzzTest001(const uint8_t* data, size_t size) in TextBlobFuzzTest001() argument
39 g_size = size; in TextBlobFuzzTest001()
56 bool TextBlobFuzzTest002(const uint8_t* data, size_t size) in TextBlobFuzzTest002() argument
63 g_size = size; in TextBlobFuzzTest002()
97 bool TextBlobFuzzTest003(const uint8_t* data, size_t size) in TextBlobFuzzTest003() argument
104 g_size = size; in TextBlobFuzzTest003()
125 bool TextBlobFuzzTest004(const uint8_t* data, size_t size) in TextBlobFuzzTest004() argument
132 g_size = size; in TextBlobFuzzTest004()
155 bool TextBlobFuzzTest005(const uint8_t* data, size_t size) in TextBlobFuzzTest005() argument
162 g_size = size; in TextBlobFuzzTest005()
214 LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) LLVMFuzzerTestOneInput() argument
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/imagefilter_fuzzer/
H A Dimage_filter_fuzzer.cpp33 bool ImageFilterFuzzTest001(const uint8_t* data, size_t size) in ImageFilterFuzzTest001() argument
40 g_size = size; in ImageFilterFuzzTest001()
63 bool ImageFilterFuzzTest002(const uint8_t* data, size_t size) in ImageFilterFuzzTest002() argument
70 g_size = size; in ImageFilterFuzzTest002()
93 bool ImageFilterFuzzTest003(const uint8_t* data, size_t size) in ImageFilterFuzzTest003() argument
100 g_size = size; in ImageFilterFuzzTest003()
143 bool ImageFilterFuzzTest004(const uint8_t* data, size_t size) in ImageFilterFuzzTest004() argument
150 g_size = size; in ImageFilterFuzzTest004()
186 bool ImageFilterFuzzTest005(const uint8_t* data, size_t size) in ImageFilterFuzzTest005() argument
193 g_size = size; in ImageFilterFuzzTest005()
215 LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) LLVMFuzzerTestOneInput() argument
[all...]
/foundation/window/window_manager/test/fuzztest/wms/windowipc_fuzzer/
H A Dwindowipc_fuzzer.cpp31 size_t GetObject(T& object, const uint8_t* data, size_t size) in GetObject() argument
34 if (objectSize > size) { in GetObject()
61 bool IPCFuzzTest(const uint8_t* data, size_t size) in IPCFuzzTest() argument
65 if (data == nullptr || size < sizeof(code) + sizeof(flags) + sizeof(waitTime)) { in IPCFuzzTest()
73 startPos += GetObject<uint32_t>(code, data + startPos, size - startPos); in IPCFuzzTest()
74 startPos += GetObject<int>(flags, data + startPos, size - startPos); in IPCFuzzTest()
75 startPos += GetObject<int>(waitTime, data + startPos, size - startPos); in IPCFuzzTest()
79 sendData.WriteBuffer(data + startPos, size - startPos); in IPCFuzzTest()
152 bool IPCInterfaceFuzzTest(const uint8_t* data, size_t size) in IPCInterfaceFuzzTest() argument
155 if (data == nullptr || size < sizeo in IPCInterfaceFuzzTest()
177 LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) LLVMFuzzerTestOneInput() argument
[all...]
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/tcp_direct/
H A Dtrans_tdc_sdk_test.c217 static int32_t DataSend(int32_t size, int32_t type) in DataSend() argument
220 g_contcx = (char *)calloc(1, size * sizeof(char)); in DataSend()
224 if (memset_s(g_contcx, size, "h", size) != EOK) { in DataSend()
232 ret = SendBytes(g_sessionId, g_contcx, size); in DataSend()
236 ret = SendMessage(g_sessionId, g_contcx, size); in DataSend()
281 * @tc.size : MediumTest
286 int32_t size = 1; in TransFuncTest001() local
290 ret = DataSend(size, TYPE_SEND_BYTE); in TransFuncTest001()
298 * @tc.desc : Test up limitation data size o
305 int32_t size = TRANS_SIZE_NUM * TRANS_UINIT_SIZE; TransFuncTest002() local
324 int32_t size = TRANS_SIZE_NUM_DOUBLE * TRANS_UINIT_SIZE; TransFuncTest003() local
343 int32_t size = 1; TransFuncTest004() local
362 int32_t size = TRANS_UINIT_SIZE; TransFuncTest005() local
[all...]
/kernel/linux/linux-5.10/arch/arm/kernel/
H A Datags_compat.c81 static struct tag * __init memtag(struct tag *tag, unsigned long start, unsigned long size) in memtag() argument
85 tag->hdr.size = tag_size(tag_mem32); in memtag()
86 tag->u.mem.size = size; in memtag()
120 tag->hdr.size = tag_size(tag_core); in build_tag_list()
127 tag->hdr.size = tag_size(tag_ramdisk); in build_tag_list()
130 tag->u.ramdisk.size = params->u1.s.ramdisk_size; in build_tag_list()
135 tag->hdr.size = tag_size(tag_initrd); in build_tag_list()
137 tag->u.initrd.size = params->u1.s.initrd_size; in build_tag_list()
141 tag->hdr.size in build_tag_list()
[all...]
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dadi_64.c109 pr_warn("WARNING: ADI tag size >4 on this platform. Disabling AADI support\n"); in mdesc_adi_init()
161 unsigned long i, size, max_desc, flags; in alloc_tag_store() local
204 size = sizeof(tag_storage_desc_t)*max_desc; in alloc_tag_store()
205 mm->context.tag_store = kzalloc(size, GFP_NOWAIT|__GFP_NOWARN); in alloc_tag_store()
238 size = TAG_STORAGE_PAGES * PAGE_SIZE; in alloc_tag_store()
239 end_addr = addr + (size*2*adi_blksize()) - 1; in alloc_tag_store()
242 size = PAGE_SIZE; in alloc_tag_store()
243 end_addr = addr + (size*2*adi_blksize()) - 1; in alloc_tag_store()
259 tmp_addr = end_addr - (size*2*adi_blksize()) + 1; in alloc_tag_store()
264 size in alloc_tag_store()
[all...]
/kernel/linux/linux-5.10/arch/riscv/include/asm/
H A Dcmpxchg.h14 #define __xchg_relaxed(ptr, new, size) \
19 switch (size) { \
47 #define __xchg_acquire(ptr, new, size) \
52 switch (size) { \
82 #define __xchg_release(ptr, new, size) \
87 switch (size) { \
117 #define __xchg(ptr, new, size) \
122 switch (size) { \
166 #define __cmpxchg_relaxed(ptr, old, new, size) \
173 switch (size) { \
[all...]
/kernel/linux/linux-5.10/drivers/block/
H A Dz2ram.c90 unsigned long size = Z2RAM_CHUNKSIZE - addr; in z2_queue_rq() local
93 if (len < size) in z2_queue_rq()
94 size = len; in z2_queue_rq()
97 memcpy(buffer, (char *)addr, size); in z2_queue_rq()
99 memcpy((char *)addr, buffer, size); in z2_queue_rq()
100 start += size; in z2_queue_rq()
101 len -= size; in z2_queue_rq()
177 unsigned long size, paddr, vaddr; in z2_open() local
186 size = m68k_memory[index].size in z2_open()
[all...]
/kernel/linux/linux-6.6/arch/arm/kernel/
H A Datags_compat.c81 static struct tag * __init memtag(struct tag *tag, unsigned long start, unsigned long size) in memtag() argument
85 tag->hdr.size = tag_size(tag_mem32); in memtag()
86 tag->u.mem.size = size; in memtag()
120 tag->hdr.size = tag_size(tag_core); in build_tag_list()
127 tag->hdr.size = tag_size(tag_ramdisk); in build_tag_list()
130 tag->u.ramdisk.size = params->u1.s.ramdisk_size; in build_tag_list()
135 tag->hdr.size = tag_size(tag_initrd); in build_tag_list()
137 tag->u.initrd.size = params->u1.s.initrd_size; in build_tag_list()
141 tag->hdr.size in build_tag_list()
[all...]
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A Dadi_64.c109 pr_warn("WARNING: ADI tag size >4 on this platform. Disabling AADI support\n"); in mdesc_adi_init()
161 unsigned long i, size, max_desc, flags; in alloc_tag_store() local
204 size = sizeof(tag_storage_desc_t)*max_desc; in alloc_tag_store()
205 mm->context.tag_store = kzalloc(size, GFP_NOWAIT|__GFP_NOWARN); in alloc_tag_store()
238 size = TAG_STORAGE_PAGES * PAGE_SIZE; in alloc_tag_store()
239 end_addr = addr + (size*2*adi_blksize()) - 1; in alloc_tag_store()
242 size = PAGE_SIZE; in alloc_tag_store()
243 end_addr = addr + (size*2*adi_blksize()) - 1; in alloc_tag_store()
259 tmp_addr = end_addr - (size*2*adi_blksize()) + 1; in alloc_tag_store()
264 size in alloc_tag_store()
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
H A Dsrq.c96 srq->rq.size = srq_init_attr->attr.max_wr + 1; in rvt_create_srq()
100 if (rvt_alloc_rq(&srq->rq, srq->rq.size * sz, in rvt_create_srq()
111 u32 s = sizeof(struct rvt_rwq) + srq->rq.size * sz; in rvt_create_srq()
179 u32 sz, size, n, head, tail; in rvt_modify_srq() local
188 size = attr->max_wr + 1; in rvt_modify_srq()
189 if (rvt_alloc_rq(&tmp_rq, size * sz, dev->dparms.node, in rvt_modify_srq()
223 if (head >= srq->rq.size || tail >= srq->rq.size) { in rvt_modify_srq()
229 n += srq->rq.size - tail; in rvt_modify_srq()
232 if (size < in rvt_modify_srq()
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Deprom.c55 * partition 1: 4K config file (sector size)
63 /* controller page size, in bytes */
216 /* segment size - 128 KiB */
220 u32 oprom_size; /* size of the oprom, in bytes */
229 u32 size; /* file size, in bytes */ member
234 * buffer of size 'dir_size'.
249 * the returned size if a trailing image magic is found.
252 u32 *size) in read_partition_platform_config()
283 *size in read_partition_platform_config()
251 read_partition_platform_config(struct hfi1_devdata *dd, void **data, u32 *size) read_partition_platform_config() argument
293 read_segment_platform_config(struct hfi1_devdata *dd, void *directory, void **data, u32 *size) read_segment_platform_config() argument
462 eprom_read_platform_config(struct hfi1_devdata *dd, void **data, u32 *size) eprom_read_platform_config() argument
[all...]
/kernel/linux/linux-5.10/drivers/soc/qcom/
H A Drmtfs_mem.c29 phys_addr_t size; member
41 static DEVICE_ATTR(size, 0444, qcom_rmtfs_mem_show, NULL);
55 return sprintf(buf, "%pa\n", &rmtfs_mem->size); in qcom_rmtfs_mem_show()
86 if (*f_pos >= rmtfs_mem->size) in qcom_rmtfs_mem_read()
89 if (*f_pos + count >= rmtfs_mem->size) in qcom_rmtfs_mem_read()
90 count = rmtfs_mem->size - *f_pos; in qcom_rmtfs_mem_read()
105 if (*f_pos >= rmtfs_mem->size) in qcom_rmtfs_mem_write()
108 if (*f_pos + count >= rmtfs_mem->size) in qcom_rmtfs_mem_write()
109 count = rmtfs_mem->size - *f_pos; in qcom_rmtfs_mem_write()
136 if (vma->vm_end - vma->vm_start > rmtfs_mem->size) { in qcom_rmtfs_mem_mmap()
[all...]
/kernel/linux/linux-5.10/fs/adfs/
H A Ddir_fplus.c21 unsigned int size = le32_to_cpu(h->bigdirsize); in adfs_fplus_validate_header() local
27 !size || size & 2047 || size > SZ_4M) in adfs_fplus_validate_header()
30 size -= sizeof(struct adfs_bigdirtail) + in adfs_fplus_validate_header()
35 if (len > size) in adfs_fplus_validate_header()
38 size -= len; in adfs_fplus_validate_header()
42 if (len > size) in adfs_fplus_validate_header()
45 size -= len; in adfs_fplus_validate_header()
53 len * sizeof(struct adfs_bigdirentry) > size) in adfs_fplus_validate_header()
103 adfs_fplus_read(struct super_block *sb, u32 indaddr, unsigned int size, struct adfs_dir *dir) adfs_fplus_read() argument
[all...]
/kernel/linux/linux-5.10/fs/f2fs/
H A Dacl.c29 static inline int f2fs_acl_count(size_t size) in f2fs_acl_count() argument
32 size -= sizeof(struct f2fs_acl_header); in f2fs_acl_count()
33 s = size - 4 * sizeof(struct f2fs_acl_entry_short); in f2fs_acl_count()
35 if (size % sizeof(struct f2fs_acl_entry_short)) in f2fs_acl_count()
37 return size / sizeof(struct f2fs_acl_entry_short); in f2fs_acl_count()
45 static struct posix_acl *f2fs_acl_from_disk(const char *value, size_t size) in f2fs_acl_from_disk() argument
51 const char *end = value + size; in f2fs_acl_from_disk()
53 if (size < sizeof(struct f2fs_acl_header)) in f2fs_acl_from_disk()
59 count = f2fs_acl_count(size); in f2fs_acl_from_disk()
113 const struct posix_acl *acl, size_t *size) in f2fs_acl_to_disk()
112 f2fs_acl_to_disk(struct f2fs_sb_info *sbi, const struct posix_acl *acl, size_t *size) f2fs_acl_to_disk() argument
208 size_t size = 0; __f2fs_set_acl() local
269 int size = sizeof(struct posix_acl) + acl->a_count * f2fs_acl_clone() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/core/
H A Dclient.c75 u8 size; member
86 return client->ntfy(&notify->rep, notify->size, n->data, n->size); in nvkm_client_notify()
129 struct nvkm_event *event, void *data, u32 size) in nvkm_client_notify_new()
151 nvif_ioctl(object, "notify new size %d\n", size); in nvkm_client_notify_new()
152 if (!(ret = nvif_unpack(ret, &data, &size, req->v0, 0, 0, true))) { in nvkm_client_notify_new()
157 notify->size = sizeof(notify->rep.v0); in nvkm_client_notify_new()
166 false, data, size, reply, &notify->n); in nvkm_client_notify_new()
192 nvkm_client_mthd_devlist(struct nvkm_client *client, void *data, u32 size) in nvkm_client_mthd_devlist() argument
128 nvkm_client_notify_new(struct nvkm_object *object, struct nvkm_event *event, void *data, u32 size) nvkm_client_notify_new() argument
218 nvkm_client_mthd(struct nvkm_object *object, u32 mthd, void *data, u32 size) nvkm_client_mthd() argument
231 nvkm_client_child_new(const struct nvkm_oclass *oclass, void *data, u32 size, struct nvkm_object **pobject) nvkm_client_child_new() argument
[all...]

Completed in 23 milliseconds

1...<<161162163164165166167168169170>>...2064