Home
last modified time | relevance | path

Searched refs:size (Results 1251 - 1275 of 42644) sorted by relevance

1...<<51525354555657585960>>...1706

/third_party/libfuse/example/
H A Dhello_ll.c89 size_t size; member
96 size_t oldsize = b->size; in dirbuf_add()
97 b->size += fuse_add_direntry(req, NULL, 0, name, NULL, 0); in dirbuf_add()
98 b->p = (char *) realloc(b->p, b->size); in dirbuf_add()
101 fuse_add_direntry(req, b->p + oldsize, b->size - oldsize, name, &stbuf, in dirbuf_add()
102 b->size); in dirbuf_add()
117 static void hello_ll_readdir(fuse_req_t req, fuse_ino_t ino, size_t size, in hello_ll_readdir() argument
131 reply_buf_limited(req, b.p, b.size, off, size); in hello_ll_readdir()
147 static void hello_ll_read(fuse_req_t req, fuse_ino_t ino, size_t size, in hello_ll_read() argument
156 hello_ll_getxattr(fuse_req_t req, fuse_ino_t ino, const char *name, size_t size) hello_ll_getxattr() argument
172 hello_ll_setxattr(fuse_req_t req, fuse_ino_t ino, const char *name, const char *value, size_t size, int flags) hello_ll_setxattr() argument
[all...]
/third_party/mesa3d/src/util/tests/
H A Dblob_test.cpp74 str_offset = blob.size; in TEST()
80 uint_offset = blob.size; in TEST()
96 blob_reader_init(&reader, blob.data, blob.size); in TEST()
134 // First, write an intptr value to the blob and capture that size. This is in TEST()
139 delta = blob.size; in TEST()
140 last = blob.size; in TEST()
145 // 2. Verify that write results in an unaligned size in TEST()
147 // 2. Verify that that write results in an aligned size in TEST()
152 EXPECT_NE(delta, blob.size - last) << "unaligned write of bytes"; in TEST()
156 EXPECT_EQ(2 * delta, blob.size in TEST()
206 int size = 1000; TEST() local
[all...]
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
H A Dpb_bufmgr_mm.c58 pb_size size; member
176 pb_size size, in mm_bufmgr_create_buffer()
198 mm_buf->base.size = size; in mm_bufmgr_create_buffer()
204 mm_buf->block = u_mmAllocMem(mm->heap, (int)size, (int)mm->align2, 0); in mm_bufmgr_create_buffer()
216 assert(0 <= (pb_size)mm_buf->block->ofs && (pb_size)mm_buf->block->ofs < mm->size); in mm_bufmgr_create_buffer()
217 assert(size <= (pb_size)mm_buf->block->size && (pb_size)mm_buf->block->ofs + (pb_size)mm_buf->block->size <= mm->size); in mm_bufmgr_create_buffer()
175 mm_bufmgr_create_buffer(struct pb_manager *mgr, pb_size size, const struct pb_desc *desc) mm_bufmgr_create_buffer() argument
250 mm_bufmgr_create_from_buffer(struct pb_buffer *buffer, pb_size size, pb_size align2) mm_bufmgr_create_from_buffer() argument
296 mm_bufmgr_create(struct pb_manager *provider, pb_size size, pb_size align2) mm_bufmgr_create() argument
[all...]
/third_party/musl/include/fortify/linux/
H A Dunistd.h57 char* getcwd(char* const __DIAGNOSE_PASS_OBJECT_SIZE buf, size_t size)
59 __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE(size, __DIAGNOSE_BOS(buf), getcwd) in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE()
64 if (!__DIAGNOSE_BOS_TRIVIALLY_GE(bos, size)) { in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE()
65 return __getcwd_chk(buf, size, bos); in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE()
68 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(getcwd)(buf, size); in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE()
136 ssize_t readlink(const char* path, char* const __DIAGNOSE_PASS_OBJECT_SIZE buf, size_t size)
138 __DIAGNOSE_ERROR_IF_OVERFLOWS_SSIZET(size, readlink)
139 __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE(size, __DIAGNOSE_BOS(buf), readlink) in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE()
144 if (!__DIAGNOSE_BOS_TRIVIALLY_GE_NO_OVERFLOW(bos, size)) { in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE()
145 return __readlink_chk(path, buf, size, bo in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE()
[all...]
/third_party/protobuf/benchmarks/util/
H A Dschema_proto2_to_proto3_util.h27 for (int i = file->mutable_message_type()->size() - 1; i >= 0; i--) { in StripFile()
34 for (int i = file->mutable_extension()->size() - 1; i >= 0; i--) { in StripFile()
55 for (int i = new_message->mutable_field()->size() - 1; i >= 0; i--) { in StripMessage()
61 for (int i = new_message->mutable_extension()->size() - 1; i >= 0; i--) { in StripMessage()
69 for (int i = 0; i < new_message->mutable_nested_type()->size(); i++) { in StripMessage()
88 for (int i = 0; i < file->mutable_message_type()->size(); i++) { in ScrubFile()
97 for (int j = 0; j < enum_type->value().size(); j++) { in ScrubEnum()
109 for (int i = enum_type->mutable_value()->size() - 1; i > 0; i--) { in ScrubEnum()
122 for (int i = 0; i < message_type->mutable_enum_type()->size(); i++) { in ScrubMessage()
125 for (int i = 0; i < message_type->mutable_nested_type()->size(); in ScrubMessage()
[all...]
/third_party/pulseaudio/src/pulsecore/
H A Dmemtrap.c47 size_t size; member
83 (uint8_t*) si->si_addr < (uint8_t*) m->start + m->size) in signal_handler()
92 if ((r = mmap(m->start, m->size, PROT_READ|PROT_WRITE, MAP_ANONYMOUS|MAP_FIXED|MAP_PRIVATE, -1, 0)) == MAP_FAILED) { in signal_handler()
133 pa_memtrap* pa_memtrap_add(const void *start, size_t size) { in pa_memtrap_add() argument
139 pa_assert(size > 0); in pa_memtrap_add()
142 size = PA_PAGE_ALIGN(size); in pa_memtrap_add()
146 m->size = size; in pa_memtrap_add()
187 pa_memtrap *pa_memtrap_update(pa_memtrap *m, const void *start, size_t size) { in pa_memtrap_update() argument
[all...]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/subsetter/
H A DGlyphStripper.java59 int size = computeSimpleStrippedGlyphSize(glyph); in stripSimpleGlyph()
60 int paddedSize = (size + 1) & -2; in stripSimpleGlyph()
62 // Note: padding up the size of the data blocks is quite an unpleasant hack. in stripSimpleGlyph()
64 // objects should be able to take glyph subtables of arbitrary size and in stripSimpleGlyph()
78 + (simpleGlyph.instructionSize() * ReadableFontData.DataSize.BYTE.size()), size in stripSimpleGlyph()
86 (ReadableFontData.DataSize.SHORT.size() * 5) in writeHeaderAndContoursSize()
87 + (simpleGlyph.numberOfContours() * ReadableFontData.DataSize.USHORT.size()); in writeHeaderAndContoursSize()
96 return ReadableFontData.DataSize.USHORT.size(); in writeZeroInstructionLength()
122 int index = 5 * ReadableFontData.DataSize.USHORT.size(); in overrideCompositeGlyfFlags()
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DResourceMemoryAllocatorVk.cpp30 // suballocate but it should ideally depend on the size of the memory heaps and other
35 // size
65 ResultOrError<ResourceMemoryAllocation> AllocateMemory(uint64_t size, uint64_t alignment) { in AllocateMemory() argument
66 return mBuddySystem.Allocate(size, alignment); in AllocateMemory()
76 uint64_t size) override {
77 if (size > mMemoryHeapSize) {
78 return DAWN_OUT_OF_MEMORY_ERROR("Allocation size too large");
84 allocateInfo.allocationSize = size;
115 mAllocatorsPerType.reserve(info.memoryTypes.size()); in ResourceMemoryAllocator()
117 for (size_t i = 0; i < info.memoryTypes.size(); in ResourceMemoryAllocator()
132 VkDeviceSize size = requirements.size; Allocate() local
[all...]
/third_party/python/Modules/_decimal/libmpdec/
H A Dtranspose.c177 squaretrans_pow2(mpd_uint_t *matrix, mpd_size_t size) in squaretrans_pow2() argument
182 mpd_size_t b = size; in squaretrans_pow2()
188 for (r = 0; r < size; r += b) { in squaretrans_pow2()
190 for (c = r; c < size; c += b) { in squaretrans_pow2()
192 from = matrix + r*size + c; in squaretrans_pow2()
196 from += size; in squaretrans_pow2()
202 to = matrix + r*size + c; in squaretrans_pow2()
207 to += size; in squaretrans_pow2()
212 from = matrix + c*size + r; in squaretrans_pow2()
216 from += size; in squaretrans_pow2()
249 mpd_size_t size = mul_size_t(rows, cols); transpose_pow2() local
[all...]
/kernel/linux/linux-5.10/drivers/char/tpm/
H A Dtpm_i2c_nuvoton.c33 * I2C bus device maximum buffer size w/o counting I2C address or command
34 * i.e. max size required for I2C write is 34 = addr, command, 32 bytes data
52 static s32 i2c_nuvoton_read_buf(struct i2c_client *client, u8 offset, u8 size, in i2c_nuvoton_read_buf() argument
57 status = i2c_smbus_read_i2c_block_data(client, offset, size, data); in i2c_nuvoton_read_buf()
59 "%s(offset=%u size=%u data=%*ph) -> sts=%d\n", __func__, in i2c_nuvoton_read_buf()
60 offset, size, (int)size, data, status); in i2c_nuvoton_read_buf()
64 static s32 i2c_nuvoton_write_buf(struct i2c_client *client, u8 offset, u8 size, in i2c_nuvoton_write_buf() argument
69 status = i2c_smbus_write_i2c_block_data(client, offset, size, data); in i2c_nuvoton_write_buf()
71 "%s(offset=%u size in i2c_nuvoton_write_buf()
234 int burst_count, bytes2read, size = 0; i2c_nuvoton_recv_data() local
273 int size = 0; i2c_nuvoton_recv() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wimax/i2400m/
H A Dtx.c107 * 'size' of the TX message, so we can iterate over them. It also
112 * - The MSG-HDR PLD1...PLD2 stuff has to be a size multiple of 16.
132 * - Each payload has to be size-padded to 16 bytes; before appending
149 * (with a moved message header to make sure it is size-aligned to
158 * | msg_hdr to skip (size |= 0x80000) |
186 * | msg_hdr (size X) [this message is closed] | \|/
219 * | msg_hdr (size X) \|/ [message is open] |
257 * TX Buffer size
263 * tx buffer size to 64KiB.
269 * packets are MTU size (~140
434 i2400m_tx_fifo_push(struct i2400m *i2400m, size_t size, size_t padding, bool try_head) i2400m_tx_fifo_push() argument
[all...]
/kernel/linux/linux-5.10/sound/core/seq/
H A Dseq_memory.c79 int size = sizeof(buf); in snd_seq_dump_var_event() local
80 if (len < size) in snd_seq_dump_var_event()
81 size = len; in snd_seq_dump_var_event()
82 if (copy_from_user(buf, curptr, size)) in snd_seq_dump_var_event()
84 err = func(private_data, buf, size); in snd_seq_dump_var_event()
87 curptr += size; in snd_seq_dump_var_event()
88 len -= size; in snd_seq_dump_var_event()
97 int size = sizeof(struct snd_seq_event); in snd_seq_dump_var_event() local
98 if (len < size) in snd_seq_dump_var_event()
99 size in snd_seq_dump_var_event()
115 seq_copy_in_kernel(void *ptr, void *src, int size) seq_copy_in_kernel() argument
124 seq_copy_in_user(void *ptr, void *src, int size) seq_copy_in_user() argument
324 int size = sizeof(struct snd_seq_event); snd_seq_event_dup() local
[all...]
/kernel/linux/linux-5.10/mm/
H A Ddmapool.c9 * This allocator returns small blocks of a given size which are DMA-able by
11 * new pages, then splits them up into blocks of the required size.
17 * least 'size' bytes. Free blocks are tracked in an unsorted singly-linked
45 size_t size; member
68 unsigned size; in show_pools() local
74 size = PAGE_SIZE; in show_pools()
76 temp = scnprintf(next, size, "poolinfo - 0.1\n"); in show_pools()
77 size -= temp; in show_pools()
93 temp = scnprintf(next, size, "%-16s %4u %4zu %4zu %2u\n", in show_pools()
95 pages * (pool->allocation / pool->size), in show_pools()
130 dma_pool_create(const char *name, struct device *dev, size_t size, size_t align, size_t boundary) dma_pool_create() argument
498 dmam_pool_create(const char *name, struct device *dev, size_t size, size_t align, size_t allocation) dmam_pool_create() argument
[all...]
/kernel/linux/linux-6.6/drivers/char/tpm/
H A Dtpm_i2c_nuvoton.c33 * I2C bus device maximum buffer size w/o counting I2C address or command
34 * i.e. max size required for I2C write is 34 = addr, command, 32 bytes data
52 static s32 i2c_nuvoton_read_buf(struct i2c_client *client, u8 offset, u8 size, in i2c_nuvoton_read_buf() argument
57 status = i2c_smbus_read_i2c_block_data(client, offset, size, data); in i2c_nuvoton_read_buf()
59 "%s(offset=%u size=%u data=%*ph) -> sts=%d\n", __func__, in i2c_nuvoton_read_buf()
60 offset, size, (int)size, data, status); in i2c_nuvoton_read_buf()
64 static s32 i2c_nuvoton_write_buf(struct i2c_client *client, u8 offset, u8 size, in i2c_nuvoton_write_buf() argument
69 status = i2c_smbus_write_i2c_block_data(client, offset, size, data); in i2c_nuvoton_write_buf()
71 "%s(offset=%u size in i2c_nuvoton_write_buf()
234 int burst_count, bytes2read, size = 0; i2c_nuvoton_recv_data() local
273 int size = 0; i2c_nuvoton_recv() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dvmw_surface_cache.h54 * vmw_surface_get_mip_size - Given a base level size and the mip level,
55 * compute the size of the mip level.
60 struct drm_vmw_size size = { in vmw_surface_get_mip_size() local
66 return size; in vmw_surface_get_mip_size()
90 const struct drm_vmw_size *size) in vmw_surface_calculate_pitch()
95 vmw_surface_get_size_in_blocks(desc, size, &blocks); in vmw_surface_calculate_pitch()
103 * vmw_surface_get_image_buffer_size - Calculates image buffer size.
115 const struct drm_vmw_size *size, in vmw_surface_get_image_buffer_size()
121 vmw_surface_get_size_in_blocks(desc, size, &image_blocks); in vmw_surface_get_image_buffer_size()
132 pitch = vmw_surface_calculate_pitch(desc, size); in vmw_surface_get_image_buffer_size()
89 vmw_surface_calculate_pitch(const SVGA3dSurfaceDesc *desc, const struct drm_vmw_size *size) vmw_surface_calculate_pitch() argument
114 vmw_surface_get_image_buffer_size(const SVGA3dSurfaceDesc *desc, const struct drm_vmw_size *size, u32 pitch) vmw_surface_get_image_buffer_size() argument
154 struct drm_vmw_size size = vmw_surface_get_serialized_size() local
313 struct drm_vmw_size size; global() member
378 vmw_surface_setup_cache(const struct drm_vmw_size *size, SVGA3dSurfaceFormat format, u32 num_mip_levels, u32 num_layers, u32 num_samples, struct vmw_surface_cache *cache) vmw_surface_setup_cache() argument
482 const struct drm_vmw_size *size = &cache->mip[mip].size; vmw_surface_inc_loc() local
526 const struct drm_vmw_size *size; vmw_surface_max_loc() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dextract_extradata_bsf.c39 uint8_t **data, int *size);
61 uint8_t **data, int *size) in extract_extradata_av1()
72 ret = ff_av1_packet_split(&s->av1_pkt, pkt->data, pkt->size, ctx); in extract_extradata_av1()
107 *size = extradata_size; in extract_extradata_av1()
127 pkt->size = filtered_size; in extract_extradata_av1()
135 uint8_t **data, int *size) in extract_extradata_h2645()
159 ret = ff_h2645_packet_split(&s->h2645_pkt, pkt->data, pkt->size, in extract_extradata_h2645()
201 *size = extradata_size; in extract_extradata_h2645()
223 pkt->size = filtered_size; in extract_extradata_h2645()
231 uint8_t **data, int *size) in extract_extradata_vc1()
60 extract_extradata_av1(AVBSFContext *ctx, AVPacket *pkt, uint8_t **data, int *size) extract_extradata_av1() argument
134 extract_extradata_h2645(AVBSFContext *ctx, AVPacket *pkt, uint8_t **data, int *size) extract_extradata_h2645() argument
230 extract_extradata_vc1(AVBSFContext *ctx, AVPacket *pkt, uint8_t **data, int *size) extract_extradata_vc1() argument
265 extract_extradata_mpeg12(AVBSFContext *ctx, AVPacket *pkt, uint8_t **data, int *size) extract_extradata_mpeg12() argument
294 extract_extradata_mpeg4(AVBSFContext *ctx, AVPacket *pkt, uint8_t **data, int *size) extract_extradata_mpeg4() argument
[all...]
/third_party/ffmpeg/libavfilter/
H A Df_loop.c50 int64_t size; member
63 if (!s->size) in check_size()
138 if (s->ignored_samples + frame->nb_samples > s->start && s->size > 0 && s->loop != 0) { in afilter_frame()
139 if (s->nb_samples < s->size) { in afilter_frame()
140 int written = FFMIN(frame->nb_samples, s->size - s->nb_samples); in afilter_frame()
154 if (s->nb_samples == s->size && drain > 0) { in afilter_frame()
187 if ((!s->size) || in arequest_frame()
188 (s->nb_samples < s->size) || in arequest_frame()
189 (s->nb_samples >= s->size && s->loop == 0)) { in arequest_frame()
228 if (!s->eof && (s->nb_samples < s->size || ! in aactivate()
[all...]
/third_party/alsa-lib/src/pcm/
H A Dpcm_dmix_generic.c11 unsigned long new, int size)
14 switch (size) {
50 static void mix_areas_16(unsigned int size, in mix_areas_16() argument
73 if (!--size) in mix_areas_16()
81 static void mix_areas_32(unsigned int size, in mix_areas_32() argument
104 if (!--size) in mix_areas_32()
129 static void generic_mix_areas_16_native(unsigned int size, in generic_mix_areas_16_native() argument
153 if (!--size) in generic_mix_areas_16_native()
161 static void generic_remix_areas_16_native(unsigned int size, in generic_remix_areas_16_native() argument
184 if (!--size) in generic_remix_areas_16_native()
192 generic_mix_areas_32_native(unsigned int size, volatile signed int *dst, signed int *src, volatile signed int *sum, size_t dst_step, size_t src_step, size_t sum_step) generic_mix_areas_32_native() argument
226 generic_remix_areas_32_native(unsigned int size, volatile signed int *dst, signed int *src, volatile signed int *sum, size_t dst_step, size_t src_step, size_t sum_step) generic_remix_areas_32_native() argument
259 generic_mix_areas_16_swap(unsigned int size, volatile signed short *dst, signed short *src, volatile signed int *sum, size_t dst_step, size_t src_step, size_t sum_step) generic_mix_areas_16_swap() argument
291 generic_remix_areas_16_swap(unsigned int size, volatile signed short *dst, signed short *src, volatile signed int *sum, size_t dst_step, size_t src_step, size_t sum_step) generic_remix_areas_16_swap() argument
322 generic_mix_areas_32_swap(unsigned int size, volatile signed int *dst, signed int *src, volatile signed int *sum, size_t dst_step, size_t src_step, size_t sum_step) generic_mix_areas_32_swap() argument
356 generic_remix_areas_32_swap(unsigned int size, volatile signed int *dst, signed int *src, volatile signed int *sum, size_t dst_step, size_t src_step, size_t sum_step) generic_remix_areas_32_swap() argument
390 generic_mix_areas_24(unsigned int size, volatile unsigned char *dst, unsigned char *src, volatile signed int *sum, size_t dst_step, size_t src_step, size_t sum_step) generic_mix_areas_24() argument
423 generic_remix_areas_24(unsigned int size, volatile unsigned char *dst, unsigned char *src, volatile signed int *sum, size_t dst_step, size_t src_step, size_t sum_step) generic_remix_areas_24() argument
456 generic_mix_areas_u8(unsigned int size, volatile unsigned char *dst, unsigned char *src, volatile signed int *sum, size_t dst_step, size_t src_step, size_t sum_step) generic_mix_areas_u8() argument
485 generic_remix_areas_u8(unsigned int size, volatile unsigned char *dst, unsigned char *src, volatile signed int *sum, size_t dst_step, size_t src_step, size_t sum_step) generic_remix_areas_u8() argument
[all...]
/third_party/lzma/CPP/7zip/Common/
H A DMultiOutStream.cpp130 const UInt64 size = Sizes[i]; in Init() local
131 const UInt64 next = sum + size; in Init()
138 const UInt64 size = Sizes.Back(); in Init() local
139 if (size == 0) in Init()
140 throw "zero size last volume"; in Init()
143 if ((_absLimit - sum) / size >= (k_NumVols_MAX - i)) in Init()
144 _absLimit = sum + (k_NumVols_MAX - i) * size; in Init()
283 PRF(printf("\n== %u, CreateNewStream, size =%u \n", Streams.Size(), (unsigned)newSize)); in CreateNewStream()
330 // it's intermediate volume. So we need full volume size in CreateStreams_If_Required()
390 // file size wa in ReOpenStream()
406 OptReOpen_and_SetSize(unsigned index, UInt64 size) OptReOpen_and_SetSize() argument
459 UInt64 size = _length - offset; // (size != 0) here Normalize_finalMode() local
498 UInt64 size = _length - offset; // (size != 0) here Normalize_finalMode() local
591 Write(const void *data, UInt32 size, UInt32 *processedSize) Write() argument
745 const UInt64 size = Sizes[i]; GetStreamIndex_for_Offset() local
753 const UInt64 size = Sizes[last]; GetStreamIndex_for_Offset() local
[all...]
/third_party/node/deps/v8/src/base/platform/
H A Dplatform.h215 size_t size);
244 virtual size_t size() const = 0;
248 static MemoryMappedFile* create(const char* name, size_t size,
329 // Both the source and target addresses must be page-aligned, and |size| must
330 // be a multiple of the system page size. If there is already memory mapped
335 V8_WARN_UNUSED_RESULT static bool RemapPages(const void* address, size_t size,
357 V8_WARN_UNUSED_RESULT static void* Allocate(void* address, size_t size,
361 V8_WARN_UNUSED_RESULT static void* AllocateShared(size_t size,
366 size_t size);
368 static void Free(void* address, size_t size);
429 size_t size() const { return size_; } size() function in v8::base::AddressSpaceReservation
478 AddressSpaceReservation(void* base, size_t size, zx_handle_t vmar) AddressSpaceReservation() argument
481 AddressSpaceReservation(void* base, size_t size) AddressSpaceReservation() argument
[all...]
/third_party/mesa3d/src/panfrost/lib/
H A Dpan_bo.c48 * Cached BOs are sorted into a bucket based on rounding their size down to the
59 panfrost_bo_alloc(struct panfrost_device *dev, size_t size, in panfrost_bo_alloc() argument
62 struct drm_panfrost_create_bo create_bo = { .size = size }; in panfrost_bo_alloc()
83 bo->size = create_bo.size; in panfrost_bo_alloc()
159 pan_bucket_index(unsigned size) in pan_bucket_index() argument
163 unsigned bucket_index = util_logbase2(size); in pan_bucket_index()
176 pan_bucket(struct panfrost_device *dev, unsigned size) in pan_bucket() argument
178 return &dev->bo_cache.buckets[pan_bucket_index(size)]; in pan_bucket()
187 panfrost_bo_cache_fetch(struct panfrost_device *dev, size_t size, uint32_t flags, const char *label, bool dontwait) panfrost_bo_cache_fetch() argument
367 panfrost_bo_create(struct panfrost_device *dev, size_t size, uint32_t flags, const char *label) panfrost_bo_create() argument
[all...]
/third_party/python/Tools/iobench/
H A Diobench.py33 size, unit = s.split()
34 size = int(size) * {'KiB': 1024, 'MiB': 1024 ** 2}[unit]
35 yield s.replace(' ', ''), size
38 return ((name + ".bin", size) for name, size in get_file_sizes())
41 return (("%s-%s-%s.txt" % (name, TEXT_ENCODING, NEWLINES), size)
42 for name, size in get_file_sizes())
104 size = f.tell()
106 for i in xrange(0, size
[all...]
/third_party/skia/third_party/externals/angle2/src/common/
H A DFastVector_unittest.cpp20 EXPECT_EQ(0u, defaultContructor.size()); in TEST()
29 EXPECT_EQ(vectorSizes[i], count.size()); in TEST()
32 EXPECT_EQ(vectorSizes[i], countAndValue.size()); in TEST()
39 EXPECT_EQ(vectorSizes[i], copyRValue.size()); in TEST()
48 EXPECT_EQ(vectorSizes[i], assignCopy.size()); in TEST()
51 EXPECT_EQ(vectorSizes[i], assignRValue.size()); in TEST()
55 EXPECT_EQ(5u, initializerList.size()); in TEST()
58 // Larger than stack-allocated vector size in TEST()
60 EXPECT_EQ(8u, initializerListHeap.size()); in TEST()
64 EXPECT_EQ(5u, assignmentInitializerList.size()); in TEST()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DBitVector.h34 "Unsupported word size");
93 BitVector(const BitVector &RHS) : Size(RHS.size()) { in BitVector()
100 Capacity = NumBitWords(RHS.size()); in BitVector()
118 /// size - Returns the number of bits in this bitvector.
119 size_type size() const { return Size; } in size() function in llvm::BitVector
124 for (unsigned i = 0; i < NumBitWords(size()); ++i) in count()
131 for (unsigned i = 0; i < NumBitWords(size()); ++i) in any()
158 for (unsigned i = 0; i < NumBitWords(size()); ++i) in find_first()
181 for (unsigned i = WordPos+1; i < NumBitWords(size()); ++i) in find_next()
206 // Update the size, an in resize()
[all...]
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameradeviceclose_fuzzer/
H A Ddcameradeviceclose_fuzzer.cpp23 void DcameraDeviceCloseFuzzTest(const uint8_t* data, size_t size) in DcameraDeviceCloseFuzzTest() argument
25 if ((data == nullptr) || (size < sizeof(uint8_t))) { in DcameraDeviceCloseFuzzTest()
28 std::string deviceId(reinterpret_cast<const char*>(data), size); in DcameraDeviceCloseFuzzTest() local
29 std::string dhId(reinterpret_cast<const char*>(data), size); in DcameraDeviceCloseFuzzTest() local
34 const std::string sinkAbilityInfo(reinterpret_cast<const char*>(data), size); in DcameraDeviceCloseFuzzTest() local
35 const std::string srcAbilityInfo(reinterpret_cast<const char*>(data), size); in DcameraDeviceCloseFuzzTest() local
46 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
49 OHOS::DistributedHardware::DcameraDeviceCloseFuzzTest(data, size); in LLVMFuzzerTestOneInput()

Completed in 15 milliseconds

1...<<51525354555657585960>>...1706