Home
last modified time | relevance | path

Searched refs:size (Results 2501 - 2525 of 21404) sorted by relevance

1...<<101102103104105106107108109110>>...857

/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/pages/toolbarItem/router/
H A Dindex.js140 var size = event.touches[0].size
146 var changeSize = event.changedTouches[0].size
149 ',localX--' + localX + ',localY--' + localY + ',size--' + size + ',force--' + force +
163 var size = event.touches[0].size
169 var changeSize = event.changedTouches[0].size
172 ',localX--' + localX + ',localY--' + localY + ',size--' + size
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/pages/switch/router/
H A Dindex.js120 var size = event.touches[0].size
126 var changeSize = event.changedTouches[0].size
129 ',localX--' + localX + ',localY--' + localY + ',size--' + size + ',force--' + force +
143 var size = event.touches[0].size
149 var changeSize = event.changedTouches[0].size
152 ',localX--' + localX + ',localY--' + localY + ',size--' + size
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/pages/tabs/router/
H A Dindex.js114 var size = event.touches[0].size
120 var changeSize = event.changedTouches[0].size
123 ',localX--' + localX + ',localY--' + localY + ',size--' + size + ',force--' + force +
137 var size = event.touches[0].size
143 var changeSize = event.changedTouches[0].size
146 ',localX--' + localX + ',localY--' + localY + ',size--' + size
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/pages/video/router/
H A Dindex.js144 var size = event.touches[0].size
150 var changeSize = event.changedTouches[0].size
153 ',localX--' + localX + ',localY--' + localY + ',size--' + size + ',force--' + force +
167 var size = event.touches[0].size
173 var changeSize = event.changedTouches[0].size
176 ',localX--' + localX + ',localY--' + localY + ',size--' + size
[all...]
/test/xts/hats/kernel/purgeableMem/
H A Dpurgeable_cpp_test.cpp44 bool Build(void *data, size_t size) in Build() argument
46 if (size <= 0) { in Build()
51 for (char ch = start; ch <= end && len < size; ch++) { in Build()
54 str[size - 1] = 0; in Build()
77 bool Build(void *data, size_t size) in Build() argument
80 for (size_t i = 0; i < size && str[i]; i++) { in Build()
104 bool Build(void *data, size_t size) in Build() argument
106 if (size <= 0) { in Build()
111 for (char ch = target; len < size;) { in Build()
114 str[size in Build()
383 size_t size = 5 * 1024 * 1024; HWTEST_F() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Djpeglsenc.c47 size_t size; member
282 size_t size; in encode_picture_ls() local
290 init_put_bits(&pb2, ctx->buf, ctx->size); in encode_picture_ls()
349 * the needed packet size: For every 15 input bits, an escape bit might be in encode_picture_ls()
354 * bits to avoid special-casing. This also simplifies the size calculation: in encode_picture_ls()
363 size = size_in_bits * 2U / 15; in encode_picture_ls()
364 size += 2 + 2 + 2 + 1 + 2 + 2 + 1 + comps * (1 + 1 + 1) + 2 + 2 + 1 in encode_picture_ls()
366 size += 2 + 2 + 1 + 2 + 2 + 2 + 2 + 2; /* LSE */ in encode_picture_ls()
367 size += 2; /* EOI */ in encode_picture_ls()
368 if ((ret = ff_get_encode_buffer(avctx, pkt, size, in encode_picture_ls()
426 size_t size; encode_jpegls_init() local
[all...]
H A Dcinepak.c66 int size; member
79 int chunk_id, int size, const uint8_t *data) in cinepak_decode_codebook()
81 const uint8_t *eod = (data + size); in cinepak_decode_codebook()
135 int chunk_id, int size, const uint8_t *data) in cinepak_decode_vectors()
137 const uint8_t *eod = (data + size); in cinepak_decode_vectors()
269 cvid_strip *strip, const uint8_t *data, int size) in cinepak_decode_strip()
271 const uint8_t *eod = (data + size); in cinepak_decode_strip()
328 if (s->size < encoded_buf_size * (int64_t)(100 - s->avctx->discard_damaged_percentage) / 100) in cinepak_predecode_check()
337 if (encoded_buf_size != s->size && (s->size in cinepak_predecode_check()
78 cinepak_decode_codebook(cvid_codebook *codebook, int chunk_id, int size, const uint8_t *data) cinepak_decode_codebook() argument
134 cinepak_decode_vectors(CinepakContext *s, cvid_strip *strip, int chunk_id, int size, const uint8_t *data) cinepak_decode_vectors() argument
268 cinepak_decode_strip(CinepakContext *s, cvid_strip *strip, const uint8_t *data, int size) cinepak_decode_strip() argument
[all...]
H A Ddca_exss.c32 // Peak bit rate smoothing buffer size in parse_xll_parameters()
87 // Byte size of additional text info in parse_descriptor()
90 // Sanity check available size in parse_descriptor()
325 int size = asset->asset_size; in set_exss_offsets() local
329 if (asset->core_size > size) in set_exss_offsets()
332 size -= asset->core_size; in set_exss_offsets()
337 if (asset->xbr_size > size) in set_exss_offsets()
340 size -= asset->xbr_size; in set_exss_offsets()
345 if (asset->xxch_size > size) in set_exss_offsets()
348 size in set_exss_offsets()
378 ff_dca_exss_parse(DCAExssParser *s, const uint8_t *data, int size) ff_dca_exss_parse() argument
[all...]
/third_party/ffmpeg/libavformat/
H A Dprompeg.c137 static void xor_fast(const uint8_t *in1, const uint8_t *in2, uint8_t *out, int size) { in xor_fast() argument
143 n = size / sizeof (uint64_t); in xor_fast()
157 n = size / sizeof (uint32_t); in xor_fast()
170 n = size - s; in xor_fast()
177 static int prompeg_create_bitstring(URLContext *h, const uint8_t *buf, int size, in prompeg_create_bitstring() argument
182 if (size < 12 || (buf[0] & 0xc0) != 0x80 || (buf[1] & 0x7f) != 0x21) { in prompeg_create_bitstring()
186 if (size != s->packet_size) { in prompeg_create_bitstring()
187 av_log(h, AV_LOG_ERROR, "The RTP packet size must be constant (set pkt_size)\n"); in prompeg_create_bitstring()
320 static int prompeg_init(URLContext *h, const uint8_t *buf, int size) { in prompeg_init() argument
328 if (size < 1 in prompeg_init()
385 prompeg_write(URLContext *h, const uint8_t *buf, int size) prompeg_write() argument
[all...]
/third_party/alsa-lib/src/rawmidi/
H A Drawmidi_hw.c48 size_t buf_size; /* total buffer size in bytes */
49 size_t buf_fill; /* filled buffer size in bytes */
177 static ssize_t snd_rawmidi_hw_write(snd_rawmidi_t *rmidi, const void *buffer, size_t size) in snd_rawmidi_hw_write() argument
181 result = write(hw->fd, buffer, size); in snd_rawmidi_hw_write()
187 static ssize_t snd_rawmidi_hw_read(snd_rawmidi_t *rmidi, void *buffer, size_t size) in snd_rawmidi_hw_read() argument
191 result = read(hw->fd, buffer, size); in snd_rawmidi_hw_read()
198 void *buffer, size_t size) in read_from_ts_buf()
215 while (size > 0 && hw->buf_fill >= sizeof(*f)) { in read_from_ts_buf()
225 if (size < flen) { in read_from_ts_buf()
227 memcpy(buffer, f->data + hw->buf_fpos, size); in read_from_ts_buf()
197 read_from_ts_buf(snd_rawmidi_hw_t *hw, struct timespec *tstamp, void *buffer, size_t size) read_from_ts_buf() argument
245 snd_rawmidi_hw_tread(snd_rawmidi_t *rmidi, struct timespec *tstamp, void *buffer, size_t size) snd_rawmidi_hw_tread() argument
[all...]
/third_party/backends/backend/
H A Dpieusb_buffer.c118 * @param maximum_size maximum size of buffer (-1 = size of image)
164 /* Stretch the file size */ in sanei_pieusb_buffer_create()
268 * @param size Number of bytes in line
272 sanei_pieusb_buffer_put_single_color_line(struct Pieusb_Read_Buffer* buffer, SANE_Byte color, void* line, SANE_Int size) in sanei_pieusb_buffer_put_single_color_line() argument
299 /* Check line size (for a line with a single color) */ in sanei_pieusb_buffer_put_single_color_line()
300 if (buffer->line_size_bytes != size) { in sanei_pieusb_buffer_put_single_color_line()
301 DBG(DBG_error, "sanei_pieusb_buffer_put_single_color_line(): incorrect line size, expecting %d, got %d\n", buffer->line_size_bytes, size); in sanei_pieusb_buffer_put_single_color_line()
316 while (n < size) { in sanei_pieusb_buffer_put_single_color_line()
382 sanei_pieusb_buffer_put_full_color_line(struct Pieusb_Read_Buffer* buffer, void* line, int size) sanei_pieusb_buffer_put_full_color_line() argument
[all...]
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_merge_regs.c104 * start of the register, and offset + size <= size(reg).
108 unsigned offset, size; member
124 value.size > reg_elem_size(value.reg) || in chase_copies()
125 value.offset + value.size > reg_size(value.reg)) in chase_copies()
182 .size = end - start, in can_skip_interference()
187 .size = end - start, in can_skip_interference()
202 set->size = reg_size(def); in get_merge_set()
243 a->size = MAX2(a->size, in merge_merge_sets()
489 unsigned size = reg_size(dst); index_merge_sets() local
[all...]
/third_party/node/deps/zlib/
H A Dgzread.c59 state->size - strm->avail_in, &got) == -1) in gz_avail()
80 if (state->size == 0) { in gz_look()
90 state->size = state->want; in gz_look()
101 state->size = 0; in gz_look()
220 if (gz_load(state, state->out, state->size << 1, &(state->x.have)) in gz_fetch()
226 strm->avail_out = state->size << 1; in gz_fetch()
308 else if (state->how == LOOK || n < (state->size << 1)) { in gz_read()
377 z_size_t ZEXPORT gzfread(voidp buf, z_size_t size, z_size_t nitems, gzFile file) { in gzfread() argument
392 len = nitems * size; in gzfread()
393 if (size in gzfread()
[all...]
/third_party/musl/porting/linux/user/src/fortify/
H A Dfortify.c329 ssize_t __readlink_chk(const char* path, char* buf, size_t size, size_t buf_size) in __readlink_chk() argument
331 __diagnose_count("readlink", "size", size); in __readlink_chk()
332 __diagnose_buffer_access("readlink", "write into", size, buf_size); in __readlink_chk()
333 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(readlink)(path, buf, size); in __readlink_chk()
336 ssize_t __readlinkat_chk(int dirfd, const char* path, char* buf, size_t size, size_t buf_size) in __readlinkat_chk() argument
338 __diagnose_count("readlinkat", "size", size); in __readlinkat_chk()
339 __diagnose_buffer_access("readlinkat", "write into", size, buf_size); in __readlinkat_chk()
340 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(readlinkat)(dirfd, path, buf, size); in __readlinkat_chk()
343 __fread_chk(void* buf, size_t size, size_t count, FILE* stream, size_t buf_size) __fread_chk() argument
354 __fwrite_chk(const void* buf, size_t size, size_t count, FILE* stream, size_t buf_size) __fwrite_chk() argument
[all...]
/third_party/musl/src/fortify/linux/
H A Dfortify.c340 ssize_t __readlink_chk(const char* path, char* buf, size_t size, size_t buf_size) in __readlink_chk() argument
342 __diagnose_count("readlink", "size", size); in __readlink_chk()
343 __diagnose_buffer_access("readlink", "write into", size, buf_size); in __readlink_chk()
344 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(readlink)(path, buf, size); in __readlink_chk()
347 ssize_t __readlinkat_chk(int dirfd, const char* path, char* buf, size_t size, size_t buf_size) in __readlinkat_chk() argument
349 __diagnose_count("readlinkat", "size", size); in __readlinkat_chk()
350 __diagnose_buffer_access("readlinkat", "write into", size, buf_size); in __readlinkat_chk()
351 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(readlinkat)(dirfd, path, buf, size); in __readlinkat_chk()
354 __fread_chk(void* buf, size_t size, size_t count, FILE* stream, size_t buf_size) __fread_chk() argument
365 __fwrite_chk(const void* buf, size_t size, size_t count, FILE* stream, size_t buf_size) __fwrite_chk() argument
[all...]
/third_party/mesa3d/src/intel/tools/
H A Daub_read.c155 uint32_t size = p[4]; in handle_trace_block() local
161 read->local_write(read->user_data, address, data, size); in handle_trace_block()
180 read->ring_write(read->user_data, engine, data, size); in handle_trace_block()
273 do_write(struct aub_read *read, uint32_t address_space, uint64_t addr, const void *data, uint32_t size) in do_write() argument
276 fprintf(stderr, "*0x%" PRIx64 " = *0x%p (%d)\n", addr, data, size); in do_write()
281 read->ggtt_write(read->user_data, addr, data, size); in do_write()
285 read->local_write(read->user_data, addr, data, size); in do_write()
289 read->phys_write(read->user_data, addr, data, size); in do_write()
293 read->ggtt_entry_write(read->user_data, addr, data, size); in do_write()
303 uint32_t size in handle_memtrace_mem_write() local
315 uint32_t size; handle_memtrace_mem_write_discont() member
321 uint32_t size = cur->size; handle_memtrace_mem_write_discont() local
[all...]
/third_party/libdrm/radeon/
H A Dradeon_cs_gem.c130 /* max cmd buffer size is 64Kb */ in cs_gem_create()
243 uint32_t *tmp, size; in cs_gem_write_reloc() local
244 size = ((csg->nrelocs + 1) * sizeof(struct radeon_bo*)); in cs_gem_write_reloc()
245 tmp = (uint32_t*)realloc(csg->relocs_bo, size); in cs_gem_write_reloc()
250 size = ((csg->nrelocs + 1) * RELOC_SIZE * 4); in cs_gem_write_reloc()
251 tmp = (uint32_t*)realloc(csg->relocs, size); in cs_gem_write_reloc()
270 cs->relocs_total_size += boi->size; in cs_gem_write_reloc()
299 /* round up the required size to a multiple of 1024 */ in cs_gem_begin()
323 fprintf(stderr, "CS section size mismatch start at (%s,%s,%d) %d vs %d\n", in cs_gem_end()
341 bof_t *bcs, *blob, *array, *bo, *size, *handl in cs_gem_dump_bof() local
[all...]
/third_party/libdrm/tests/amdgpu/
H A Dvcn_tests.c43 uint64_t size; member
201 ib_info.size = ndw; in submit()
236 unsigned size, unsigned domain) in alloc_resource()
244 req.alloc_size = ALIGN(size, 4096); in alloc_resource()
258 vcn_bo->size = req.alloc_size; in alloc_resource()
262 memset(vcn_bo->ptr, 0, size); in alloc_resource()
271 r = amdgpu_bo_va_op(vcn_bo->handle, 0, vcn_bo->size, in free_resource()
332 int size, len, i, r; in amdgpu_cs_vcn_dec_decode() local
335 size = 4*1024; /* msg */ in amdgpu_cs_vcn_dec_decode()
336 size in amdgpu_cs_vcn_dec_decode()
235 alloc_resource(struct amdgpu_vcn_bo *vcn_bo, unsigned size, unsigned domain) alloc_resource() argument
[all...]
/third_party/node/deps/v8/include/
H A Dv8-platform.h433 * Frees memory in the given [address, address + size) range. address and size
439 virtual bool DiscardSystemPages(void* address, size_t size) { return true; } in DiscardSystemPages() argument
449 virtual bool DecommitPages(void* address, size_t size) = 0;
486 virtual bool ReserveForSharedMemoryMapping(void* address, size_t size) { in ReserveForSharedMemoryMapping() argument
496 * Allocates a new read-only shared memory region of size |length| and copies
592 Address base, size_t size, in VirtualAddressSpace()
597 size_(size), in VirtualAddressSpace()
603 * The page size used inside this space. Guaranteed to be a power of two.
607 * \returns the page size i
591 VirtualAddressSpace(size_t page_size, size_t allocation_granularity, Address base, size_t size, PagePermissions max_page_permissions) VirtualAddressSpace() argument
633 size_t size() const { return size_; } size() function in v8::VirtualAddressSpace
833 DiscardSystemPages(Address address, size_t size) DiscardSystemPages() argument
[all...]
/third_party/python/Lib/multiprocessing/
H A Dshared_memory.py75 def __init__(self, name=None, create=False, size=0):
76 if not size >= 0:
77 raise ValueError("'size' must be a positive integer")
80 if size == 0:
81 raise ValueError("'size' must be a positive number different from zero")
111 if create and size:
112 os.ftruncate(self._fd, size)
114 size = stats.st_size
115 self._mmap = mmap.mmap(self._fd, size)
135 (size >> 3
219 def size(self): global() member in SharedMemory
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageMisalignedCubeTests.cpp59 inline VkImageCreateInfo makeImageCreateInfo (const tcu::IVec3& size, const VkFormat format) in makeImageCreateInfo() argument
69 makeExtent3D(size.x(), size.y(), 1u), // VkExtent3D extent; in makeImageCreateInfo()
71 (deUint32)size.z(), // deUint32 arrayLayers; in makeImageCreateInfo()
84 void fillBuffer (const DeviceInterface& vk, const VkDevice device, const Allocation& alloc, const VkDeviceSize offset, const VkDeviceSize size, const VkFormat format, const tcu::Vec4& color) in fillBuffer() argument
97 for (deUint32 pixelPos = 0; pixelPos < size; pixelPos += colorPixelSize) in fillBuffer()
100 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset() + offset, size); in fillBuffer()
133 const tcu::IVec3& size,
142 MisalignedCubeTestInstance::MisalignedCubeTestInstance (Context& context, const tcu::IVec3& size, const VkFormat format) in MisalignedCubeTestInstance() argument
144 , m_size (size) in MisalignedCubeTestInstance()
300 MisalignedCubeTest(tcu::TestContext& testCtx, const std::string& name, const tcu::IVec3& size, const VkFormat format) MisalignedCubeTest() argument
381 const tcu::IVec3 size = s_baseImageSizes[imageSizeNdx]; createMisalignedCubeTests() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageMisalignedCubeTests.cpp59 inline VkImageCreateInfo makeImageCreateInfo (const tcu::IVec3& size, const VkFormat format) in makeImageCreateInfo() argument
69 makeExtent3D(size.x(), size.y(), 1u), // VkExtent3D extent; in makeImageCreateInfo()
71 (deUint32)size.z(), // deUint32 arrayLayers; in makeImageCreateInfo()
84 void fillBuffer (const DeviceInterface& vk, const VkDevice device, const Allocation& alloc, const VkDeviceSize offset, const VkDeviceSize size, const VkFormat format, const tcu::Vec4& color) in fillBuffer() argument
97 for (deUint32 pixelPos = 0; pixelPos < size; pixelPos += colorPixelSize) in fillBuffer()
100 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset() + offset, size); in fillBuffer()
133 const tcu::IVec3& size,
142 MisalignedCubeTestInstance::MisalignedCubeTestInstance (Context& context, const tcu::IVec3& size, const VkFormat format) in MisalignedCubeTestInstance() argument
144 , m_size (size) in MisalignedCubeTestInstance()
301 MisalignedCubeTest(tcu::TestContext& testCtx, const std::string& name, const std::string& description, const tcu::IVec3& size, const VkFormat format) MisalignedCubeTest() argument
382 const tcu::IVec3 size = s_baseImageSizes[imageSizeNdx]; createMisalignedCubeTests() local
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DDrawElementsTest.cpp95 glBufferData(GL_ARRAY_BUFFER, sizeof(vertices[0]) * vertices.size(), vertices.data(), in TEST_P()
131 glBufferData(GL_ARRAY_BUFFER, sizeof(vertices[0]) * vertices.size(), vertices.data(), in TEST_P()
139 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices[0]) * indices.size(), indices.data(), in TEST_P()
219 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * indexData[0].size(), &indexData[0][0], in TEST_P()
223 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * indexData[0].size(), &indexData[0][0], in TEST_P()
227 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * indexData[1].size(), &indexData[1][0], in TEST_P()
235 glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * positionData.size(), &positionData[0], in TEST_P()
241 glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * testFlagData.size(), &testFlagData[0], in TEST_P()
289 glBufferData(GL_ARRAY_BUFFER, sizeof(vertices[0]) * vertices.size(), vertices.data(), in TEST_P()
295 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices[0]) * indices.size(), indice in TEST_P()
[all...]
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/bitmap/
H A Dbitmap_size_table.cc81 if (index >= 0 && (size_t)index < subtable_list->size()) { in GetIndexSubTable()
132 // would be faster to binary search but too many size tables don't have in SearchIndexSubTables()
157 int32_t top = subtable_list->size(); in BinarySearchIndexSubTables()
215 int32_t size = EblcTable::Offset::kBitmapSizeTableLength; in SubDataSizeToSerialize() local
219 size += EblcTable::Offset::kIndexSubTableEntryLength; in SubDataSizeToSerialize()
224 fprintf(stderr, "subtable size=%d\n", sub_table_size); in SubDataSizeToSerialize()
227 size += abs(sub_table_size) + padding; in SubDataSizeToSerialize()
230 fprintf(stderr, "bitmap table size=%d\n", variable ? -size : size); in SubDataSizeToSerialize()
244 int32_t size = InternalReadData()->CopyTo(new_data); SubSerialize() local
279 SetIndexTableSize(int32_t size) SetIndexTableSize() argument
[all...]
/third_party/skia/third_party/externals/dawn/src/utils/
H A DWGPUHelpers.cpp75 uint64_t size, in CreateBufferFromData()
78 descriptor.size = size; in CreateBufferFromData()
82 device.GetQueue().WriteBuffer(buffer, 0, data, size); in CreateBufferFromData()
102 colorAttachmentCount = static_cast<uint32_t>(colorAttachmentInfo.size()); in ComboRenderPassDescriptor()
169 descriptor.size.width = width; in CreateBasicRenderPass()
170 descriptor.size.height = height; in CreateBasicRenderPass()
171 descriptor.size.depthOrArrayLayers = 1; in CreateBasicRenderPass()
232 descriptor.bindGroupLayoutCount = uint32_t(bgls.size()); in MakePipelineLayout()
246 descriptor.entryCount = static_cast<uint32_t>(entries.size()); in MakeBindGroupLayout()
73 CreateBufferFromData(const wgpu::Device& device, const void* data, uint64_t size, wgpu::BufferUsage usage) CreateBufferFromData() argument
334 BindingInitializationHelper(uint32_t binding, const wgpu::Buffer& buffer, uint64_t offset, uint64_t size) BindingInitializationHelper() argument
[all...]

Completed in 20 milliseconds

1...<<101102103104105106107108109110>>...857