Home
last modified time | relevance | path

Searched refs:size (Results 4351 - 4375 of 51523) sorted by relevance

1...<<171172173174175176177178179180>>...2061

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
H A Dnouveau_usif.c73 usif_notify(const void *header, u32 length, const void *data, u32 size) in usif_notify() argument
91 if (WARN_ON(!ntfy->p || ntfy->reply != (length + size))) in usif_notify()
97 memcpy(&ntfy->p->e.data[length], data, size); in usif_notify()
122 usif_notify_new(struct drm_file *f, void *data, u32 size, void *argv, u32 argc) in usif_notify_new() argument
135 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { in usif_notify_new()
147 if (!(ret = nvif_unpack(ret, &data, &size, req->v0, 0, 0, true))) { in usif_notify_new()
167 usif_notify_del(struct drm_file *f, void *data, u32 size, void *argv, u32 argc) in usif_notify_del() argument
177 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { in usif_notify_del()
190 usif_notify_get(struct drm_file *f, void *data, u32 size, void *argv, u32 argc) in usif_notify_get() argument
200 if (!(ret = nvif_unpack(ret, &data, &size, arg in usif_notify_get()
227 usif_notify_put(struct drm_file *f, void *data, u32 size, void *argv, u32 argc) usif_notify_put() argument
264 usif_object_new(struct drm_file *f, void *data, u32 size, void *argv, u32 argc) usif_object_new() argument
299 u32 size = argc; usif_ioctl() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/
H A Dfalcon.c198 falcon->code.data = vmemdup(fw->data, fw->size); in nvkm_falcon_init()
199 falcon->code.size = fw->size; in nvkm_falcon_init()
201 falcon->data.size = 0; in nvkm_falcon_init()
221 falcon->data.data = vmemdup(fw->data, fw->size); in nvkm_falcon_init()
222 falcon->data.size = fw->size; in nvkm_falcon_init()
236 falcon->code.data = vmemdup(fw->data, fw->size); in nvkm_falcon_init()
237 falcon->code.size = fw->size; in nvkm_falcon_init()
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/ipu3/
H A Dipu3-css-fw.c18 dev_dbg(dev, "found firmware binary type %i size %i name %s\n", in imgu_css_fw_show_binary()
19 bi->type, bi->blob.size, name); in imgu_css_fw_show_binary()
81 if (par->offset + par->size > in imgu_css_fw_pipeline_params()
82 bi->info.isp.sp.mem_initializers.params[cls][mem].size) in imgu_css_fw_pipeline_params()
85 if (par->size != par_size) in imgu_css_fw_pipeline_params()
86 pr_warn("parameter size doesn't match defined size\n"); in imgu_css_fw_pipeline_params()
88 if (par->size < par_size) in imgu_css_fw_pipeline_params()
127 if (css->fw->size < struct_size(css->fwp, binary_header, 1) || in imgu_css_fw_init()
131 css->fwp->file_header.binary_nr) > css->fw->size) in imgu_css_fw_init()
244 size_t size = bi->blob.size; imgu_css_fw_init() local
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/cx18/
H A Dcx18-firmware.c84 u32 size; member
91 unsigned size; in load_cpu_fw_direct() local
103 for (i = 0; i < fw->size; i += 4096) { in load_cpu_fw_direct()
105 for (j = i; j < fw->size && j < i + 4096; j += 4) { in load_cpu_fw_direct()
119 CX18_INFO("loaded %s firmware (%zu bytes)\n", fn, fw->size); in load_cpu_fw_direct()
120 size = fw->size; in load_cpu_fw_direct()
123 return size; in load_cpu_fw_direct()
131 unsigned size; in load_apu_fw_direct() local
149 sz = fw->size; in load_apu_fw_direct()
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/ipu3/
H A Dipu3-css-fw.c18 dev_dbg(dev, "found firmware binary type %i size %i name %s\n", in imgu_css_fw_show_binary()
19 bi->type, bi->blob.size, name); in imgu_css_fw_show_binary()
81 if (par->offset + par->size > in imgu_css_fw_pipeline_params()
82 bi->info.isp.sp.mem_initializers.params[cls][mem].size) in imgu_css_fw_pipeline_params()
85 if (par->size != par_size) in imgu_css_fw_pipeline_params()
86 pr_warn("parameter size doesn't match defined size\n"); in imgu_css_fw_pipeline_params()
88 if (par->size < par_size) in imgu_css_fw_pipeline_params()
129 if (css->fw->size < struct_size(css->fwp, binary_header, 1) || in imgu_css_fw_init()
133 css->fwp->file_header.binary_nr) > css->fw->size) in imgu_css_fw_init()
246 size_t size = bi->blob.size; imgu_css_fw_init() local
[all...]
/kernel/linux/linux-6.6/drivers/platform/x86/dell/
H A Ddcdbas.c54 int dcdbas_smi_alloc(struct smi_buffer *smi_buffer, unsigned long size) in dcdbas_smi_alloc() argument
56 smi_buffer->virt = dma_alloc_coherent(&dcdbas_pdev->dev, size, in dcdbas_smi_alloc()
60 "%s: failed to allocate memory size %lu\n", in dcdbas_smi_alloc()
61 __func__, size); in dcdbas_smi_alloc()
64 smi_buffer->size = size; in dcdbas_smi_alloc()
66 dev_dbg(&dcdbas_pdev->dev, "%s: phys: %x size: %lu\n", in dcdbas_smi_alloc()
67 __func__, (u32)smi_buffer->dma, smi_buffer->size); in dcdbas_smi_alloc()
78 dev_dbg(&dcdbas_pdev->dev, "%s: phys: %x size: %lu\n", in dcdbas_smi_free()
79 __func__, (u32)smi_buffer->dma, smi_buffer->size); in dcdbas_smi_free()
102 smi_data_buf_realloc(unsigned long size) smi_data_buf_realloc() argument
[all...]
/kernel/linux/linux-6.6/drivers/firmware/efi/libstub/
H A Defi-stub-helper.c108 * This function validates and unpacks the variable-size data fields.
112 const efi_load_option_t *src, size_t size) in efi_load_option_unpack()
120 if (size < offsetof(efi_load_option_t, variable_data)) in efi_load_option_unpack()
123 size -= offsetof(efi_load_option_t, variable_data); in efi_load_option_unpack()
131 if (size < sizeof(c)) in efi_load_option_unpack()
135 size -= sizeof(c); in efi_load_option_unpack()
141 if (size < sizeof(header)) in efi_load_option_unpack()
146 if (size < header.length) in efi_load_option_unpack()
149 size -= header.length; in efi_load_option_unpack()
159 dest->optional_data_size = size; in efi_load_option_unpack()
111 efi_load_option_unpack(efi_load_option_unpacked_t *dest, const efi_load_option_t *src, size_t size) efi_load_option_unpack() argument
237 int size = sizeof(*evt) + events[event].event_data_len; efi_measure_tagged_event() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/
H A Dmvneta_bm.c122 size_bytes = sizeof(u32) * bm_pool->hwbm_pool.size; in mvneta_bm_pool_create()
204 num = hwbm_pool_add(hwbm_pool, hwbm_pool->size); in mvneta_bm_pool_use()
205 if (num != hwbm_pool->size) { in mvneta_bm_pool_use()
207 new_pool->id, num, hwbm_pool->size); in mvneta_bm_pool_use()
274 sizeof(u32) * hwbm_pool->size, in mvneta_bm_pool_destroy()
288 u32 size; in mvneta_bm_pools_init() local
294 /* Create all pools with maximum size */ in mvneta_bm_pools_init()
306 /* Configure pool size according to DT or use default value */ in mvneta_bm_pools_init()
308 if (of_property_read_u32(dn, prop, &size)) { in mvneta_bm_pools_init()
309 size in mvneta_bm_pools_init()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dport_buffer.c60 port_buffer->buffer[i].size = in mlx5e_port_query_buffer()
61 MLX5_GET(bufferx_reg, buffer, size) * port_buff_cell_sz; in mlx5e_port_query_buffer()
66 total_used += port_buffer->buffer[i].size; in mlx5e_port_query_buffer()
68 netdev_dbg(priv->netdev, "buffer %d: size=%d, xon=%d, xoff=%d, epsb=%d, lossy=%d\n", in mlx5e_port_query_buffer()
70 port_buffer->buffer[i].size, in mlx5e_port_query_buffer()
81 MLX5_GET(bufferx_reg, buffer, size) * port_buff_cell_sz; in mlx5e_port_query_buffer()
92 "total buffer size=%u, headroom buffer size=%u, internal buffers size=%u, spare buffer size in mlx5e_port_query_buffer()
103 u32 size; global() member
309 u64 size = port_buffer->buffer[i].size; port_set_buffer() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ipa/
H A Dipa_cmd.c113 __le16 size; member
148 /* The size of a filter table needs to fit into fields in the in ipa_cmd_validate_build()
151 * maximum size. IPv4 and IPv6 filter tables have the same number in ipa_cmd_validate_build()
154 /* Hashed and non-hashed fields are assumed to be the same size */ in ipa_cmd_validate_build()
178 u32 size; in ipa_cmd_table_init_valid() local
180 size = route ? ipa->route_count : ipa->filter_count + 1; in ipa_cmd_table_init_valid()
181 size *= sizeof(__le64); in ipa_cmd_table_init_valid()
184 if (size > size_max) { in ipa_cmd_table_init_valid()
185 dev_err(dev, "%s table region size too large\n", table); in ipa_cmd_table_init_valid()
186 dev_err(dev, " (0x%04x > 0x%04x)\n", size, size_ma in ipa_cmd_table_init_valid()
212 u32 size; ipa_cmd_header_init_local_valid() local
360 ipa_cmd_table_init_add(struct gsi_trans *trans, enum ipa_cmd_opcode opcode, u16 size, u32 offset, dma_addr_t addr, u16 hash_size, u32 hash_offset, dma_addr_t hash_addr) ipa_cmd_table_init_add() argument
400 ipa_cmd_hdr_init_local_add(struct gsi_trans *trans, u32 offset, u16 size, dma_addr_t addr) ipa_cmd_hdr_init_local_add() argument
511 ipa_cmd_dma_shared_mem_add(struct gsi_trans *trans, u32 offset, u16 size, dma_addr_t addr, bool toward_ipa) ipa_cmd_dma_shared_mem_add() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_suballoc.c56 * @size: number of bytes we want to suballocate
62 size_t size, size_t align) in drm_suballoc_manager_init()
76 sa_manager->size = size; in drm_suballoc_manager_init()
97 if (!sa_manager->size) in drm_suballoc_manager_fini()
110 sa_manager->size = 0; in drm_suballoc_manager_fini()
159 return sa_manager->size; in drm_suballoc_hole_eoffset()
164 size_t size, size_t align) in drm_suballoc_try_alloc()
172 if ((eoffset - soffset) >= (size + wasted)) { in drm_suballoc_try_alloc()
177 sa->eoffset = soffset + size; in drm_suballoc_try_alloc()
61 drm_suballoc_manager_init(struct drm_suballoc_manager *sa_manager, size_t size, size_t align) drm_suballoc_manager_init() argument
162 drm_suballoc_try_alloc(struct drm_suballoc_manager *sa_manager, struct drm_suballoc *sa, size_t size, size_t align) drm_suballoc_try_alloc() argument
186 __drm_suballoc_event(struct drm_suballoc_manager *sa_manager, size_t size, size_t align) __drm_suballoc_event() argument
213 drm_suballoc_event(struct drm_suballoc_manager *sa_manager, size_t size, size_t align) drm_suballoc_event() argument
313 drm_suballoc_new(struct drm_suballoc_manager *sa_manager, size_t size, gfp_t gfp, bool intr, size_t align) drm_suballoc_new() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/lima/
H A Dlima_sched.c285 u32 size, task_size, mem_size; in lima_sched_build_error_task_list() local
299 size = sizeof(struct lima_dump_chunk) + pipe->frame_size; in lima_sched_build_error_task_list()
301 size += sizeof(struct lima_dump_chunk) + sizeof(ctx->pname); in lima_sched_build_error_task_list()
303 size += sizeof(struct lima_dump_chunk); in lima_sched_build_error_task_list()
308 size += sizeof(struct lima_dump_chunk); in lima_sched_build_error_task_list()
309 size += bo->heap_size ? bo->heap_size : lima_bo_size(bo); in lima_sched_build_error_task_list()
312 task_size = size + sizeof(struct lima_dump_task); in lima_sched_build_error_task_list()
316 dev_err(dev->dev, "fail to alloc task dump buffer of size %x\n", in lima_sched_build_error_task_list()
322 et->size = task_size; in lima_sched_build_error_task_list()
327 dt->size in lima_sched_build_error_task_list()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/
H A Dfalcon.c198 falcon->code.data = vmemdup(fw->data, fw->size); in nvkm_falcon_init()
199 falcon->code.size = fw->size; in nvkm_falcon_init()
201 falcon->data.size = 0; in nvkm_falcon_init()
221 falcon->data.data = vmemdup(fw->data, fw->size); in nvkm_falcon_init()
222 falcon->data.size = fw->size; in nvkm_falcon_init()
236 falcon->code.data = vmemdup(fw->data, fw->size); in nvkm_falcon_init()
237 falcon->code.size = fw->size; in nvkm_falcon_init()
[all...]
/kernel/linux/linux-6.6/mm/
H A Dsparse-vmemmap.c14 * for free if we use the same page size as the 1-1 mappings. In that
41 unsigned long size, in __earlyonly_bootmem_alloc()
45 return memblock_alloc_try_nid_raw(size, align, goal, in __earlyonly_bootmem_alloc()
49 void * __meminit vmemmap_alloc_block(unsigned long size, int node) in vmemmap_alloc_block() argument
54 int order = get_order(size); in vmemmap_alloc_block()
69 return __earlyonly_bootmem_alloc(node, size, size, in vmemmap_alloc_block()
73 static void * __meminit altmap_alloc_block_buf(unsigned long size,
76 /* need to make sure size is all the same during early stage */
77 void * __meminit vmemmap_alloc_block_buf(unsigned long size, in argument
40 __earlyonly_bootmem_alloc(int node, unsigned long size, unsigned long align, unsigned long goal) __earlyonly_bootmem_alloc() argument
106 altmap_alloc_block_buf(unsigned long size, struct vmem_altmap *altmap) altmap_alloc_block_buf() argument
176 vmemmap_alloc_block_zero(unsigned long size, int node) vmemmap_alloc_block_zero() argument
404 unsigned long size, addr; vmemmap_populate_compound_pages() local
[all...]
/third_party/libuv/src/unix/
H A Dos390-syscalls.c112 if (len <= lst->size) in maybe_resize()
115 if (lst->size == 0) in maybe_resize()
119 event = lst->items[lst->size - 1]; in maybe_resize()
120 lst->items[lst->size - 1].fd = -1; in maybe_resize()
128 for (i = lst->size; i < newsize; ++i) in maybe_resize()
135 lst->size = newsize; in maybe_resize()
195 lst->size = 0; in child_fork()
219 lst->size = 0; in epoll_create1()
223 lst->items[lst->size - 1].fd = lst->msg_queue; in epoll_create1()
224 lst->items[lst->size in epoll_create1()
284 nmsgsfds_t size; epoll_wait() local
[all...]
/third_party/node/deps/uv/src/unix/
H A Dos390-syscalls.c112 if (len <= lst->size) in maybe_resize()
115 if (lst->size == 0) in maybe_resize()
119 event = lst->items[lst->size - 1]; in maybe_resize()
120 lst->items[lst->size - 1].fd = -1; in maybe_resize()
128 for (i = lst->size; i < newsize; ++i) in maybe_resize()
135 lst->size = newsize; in maybe_resize()
195 lst->size = 0; in child_fork()
219 lst->size = 0; in epoll_create1()
223 lst->items[lst->size - 1].fd = lst->msg_queue; in epoll_create1()
224 lst->items[lst->size in epoll_create1()
284 nmsgsfds_t size; epoll_wait() local
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DRenderEncoderBase.cpp169 "Indirect offset (%u) is out of bounds of indirect buffer %s size (%u).", in APIDrawIndirect()
200 "Indirect offset (%u) is out of bounds of indirect buffer %s size (%u).", in APIDrawIndexedIndirect()
270 uint64_t size) { in APISetIndexBuffer()
284 "Index buffer offset (%u) is not a multiple of the size (%u)" in APISetIndexBuffer()
290 "Index buffer offset (%u) is larger than the size (%u) of %s.", in APISetIndexBuffer()
295 if (size == wgpu::kWholeSize) { in APISetIndexBuffer()
296 size = remainingSize; in APISetIndexBuffer()
298 DAWN_INVALID_IF(size > remainingSize, in APISetIndexBuffer()
299 "Index buffer range (offset: %u, size: %u) doesn't fit in " in APISetIndexBuffer()
300 "the size ( in APISetIndexBuffer()
267 APISetIndexBuffer(BufferBase* buffer, wgpu::IndexFormat format, uint64_t offset, uint64_t size) APISetIndexBuffer() argument
327 APISetVertexBuffer(uint32_t slot, BufferBase* buffer, uint64_t offset, uint64_t size) APISetVertexBuffer() argument
[all...]
/third_party/protobuf/src/google/protobuf/io/
H A Dio_win32.cc144 if (is_separator(path1[path1.size() - 1])) { in join_paths()
179 (!has_drive_letter(segments[0].c_str()) || segments.size() > 1)) { in normalize()
193 if (segments.size() == 1 && segments[0].size() == 2 && in normalize()
201 for (int i = 0; i < segments.size(); ++i) { in normalize()
209 if (!path.empty() && is_separator(p[path.size() - 1])) { in normalize()
234 int size = ::GetCurrentDirectoryW(0, nullptr); in as_windows_path() local
235 if (size == 0 && GetLastError() != ERROR_INSUFFICIENT_BUFFER) { in as_windows_path()
238 std::unique_ptr<WCHAR[]> wcwd(new WCHAR[size]); in as_windows_path()
239 ::GetCurrentDirectoryW(size, wcw in as_windows_path()
349 read(int fd, void* buffer, size_t size) read() argument
355 write(int fd, const void* buffer, size_t size) write() argument
423 int size = WideCharToMultiByte( wcs_to_mbs() local
444 int size = mbs_to_wcs() local
[all...]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DDecodeUtf8Test.java233 private void assertInvalidSlice(byte[] bytes, int index, int size) throws Exception { in assertInvalidSlice() argument
235 UNSAFE_PROCESSOR.decodeUtf8(bytes, index, size); in assertInvalidSlice()
241 SAFE_PROCESSOR.decodeUtf8(bytes, index, size); in assertInvalidSlice()
251 UNSAFE_PROCESSOR.decodeUtf8(direct, index, size); in assertInvalidSlice()
257 SAFE_PROCESSOR.decodeUtf8(direct, index, size); in assertInvalidSlice()
267 UNSAFE_PROCESSOR.decodeUtf8(heap, index, size); in assertInvalidSlice()
273 SAFE_PROCESSOR.decodeUtf8(heap, index, size); in assertInvalidSlice()
284 private void assertRoundTrips(String str, int index, int size) throws Exception { in assertRoundTrips() argument
286 if (size == -1) { in assertRoundTrips()
287 size in assertRoundTrips()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
H A Dfixed_array.h62 // A `FixedArray` provides a run-time fixed-size array, allocating a small array
150 // Creates an array initialized with the size and contents of `init_list`.
156 // range. The array's size will always be `std::distance(first, last)`.
171 // Assignments are deleted because they break the invariant that the size of a
176 // FixedArray::size()
179 size_type size() const { return storage_.size(); } in size() function in absl::FixedArray
193 bool empty() const { return size() == 0; } in empty()
197 // Returns the memory size of the fixed array in bytes.
198 size_t memsize() const { return size() * sizeo
216 ABSL_HARDENING_ASSERT(i < size()); return data()[i]; } const_reference operator[](size_type i) const { ABSL_HARDENING_ASSERT(i < size()); return data()[i]; } reference at(size_type i) { if (ABSL_PREDICT_FALSE(i >= size())) { base_internal::ThrowStdOutOfRange(�); } return data()[i]; } const_reference at(size_type i) const { if (ABSL_PREDICT_FALSE(i >= size()) operator []() argument
464 size_type size() const { return size_alloc_.template get<0>(); } size() function in absl::FixedArray::Storage
[all...]
/kernel/linux/linux-5.10/drivers/atm/
H A Deni.c197 unsigned long size) in eni_put_free()
202 DPRINTK("init 0x%lx+%ld(0x%lx)\n",start,size,size); in eni_put_free()
206 while (size) { in eni_put_free()
209 start,size); in eni_put_free()
212 for (order = 0; !(((unsigned long)start | size) & (1 << order)); order++); in eni_put_free()
222 size -= 1 << order; in eni_put_free()
229 static void __iomem *eni_alloc_mem(struct eni_dev *eni_dev, unsigned long *size) in eni_alloc_mem() argument
237 if (*size < MID_MIN_BUF_SIZE) *size in eni_alloc_mem()
196 eni_put_free(struct eni_dev *eni_dev, void __iomem *start, unsigned long size) eni_put_free() argument
267 eni_free_mem(struct eni_dev *eni_dev, void __iomem *start, unsigned long size) eni_free_mem() argument
338 do_rx_dma(struct atm_vcc *vcc,struct sk_buff *skb, unsigned long skip,unsigned long size,unsigned long eff) do_rx_dma() argument
488 discard(struct atm_vcc *vcc,unsigned long size) discard() argument
547 unsigned long size,eff,length; rx_aal5() local
779 unsigned long size; open_rx_first() local
809 unsigned long size; open_rx_second() local
928 put_dma(int chan,u32 *dma,int *j,dma_addr_t paddr, u32 size) put_dma() argument
1035 u32 size; /* in words */ do_tx() local
1293 unsigned long size; reserve_or_set_tx() local
[all...]
/kernel/linux/linux-6.6/drivers/atm/
H A Deni.c197 unsigned long size) in eni_put_free()
202 DPRINTK("init 0x%lx+%ld(0x%lx)\n",start,size,size); in eni_put_free()
206 while (size) { in eni_put_free()
209 start,size); in eni_put_free()
212 for (order = 0; !(((unsigned long)start | size) & (1 << order)); order++); in eni_put_free()
222 size -= 1 << order; in eni_put_free()
229 static void __iomem *eni_alloc_mem(struct eni_dev *eni_dev, unsigned long *size) in eni_alloc_mem() argument
237 if (*size < MID_MIN_BUF_SIZE) *size in eni_alloc_mem()
196 eni_put_free(struct eni_dev *eni_dev, void __iomem *start, unsigned long size) eni_put_free() argument
267 eni_free_mem(struct eni_dev *eni_dev, void __iomem *start, unsigned long size) eni_free_mem() argument
338 do_rx_dma(struct atm_vcc *vcc,struct sk_buff *skb, unsigned long skip,unsigned long size,unsigned long eff) do_rx_dma() argument
488 discard(struct atm_vcc *vcc,unsigned long size) discard() argument
547 unsigned long size,eff,length; rx_aal5() local
779 unsigned long size; open_rx_first() local
809 unsigned long size; open_rx_second() local
928 put_dma(int chan,u32 *dma,int *j,dma_addr_t paddr, u32 size) put_dma() argument
1035 u32 size; /* in words */ do_tx() local
1293 unsigned long size; reserve_or_set_tx() local
[all...]
/third_party/lzma/C/
H A DXzEnc.c32 /* max pack size for LZMA2 block + check-64bytrs: */
44 static SRes WriteBytes(ISeqOutStreamPtr s, const void *buf, size_t size) in WriteBytes() argument
46 return (ISeqOutStream_Write(s, buf, size) == size) ? SZ_OK : SZ_ERROR_WRITE; in WriteBytes()
49 static SRes WriteBytes_UpdateCrc(ISeqOutStreamPtr s, const void *buf, size_t size, UInt32 *crc) in WriteBytes_UpdateCrc() argument
51 *crc = CrcUpdate(*crc, buf, size); in WriteBytes_UpdateCrc()
52 return WriteBytes(s, buf, size); in WriteBytes_UpdateCrc()
104 size_t size; member
113 p->size = 0; in XzEncIndex_Construct()
121 p->size in XzEncIndex_Init()
254 SeqCheckInStream_Read(ISeqInStreamPtr pp, void *data, size_t *size) SeqCheckInStream_Read() argument
294 SeqSizeOutStream_Write(ISeqOutStreamPtr pp, const void *data, size_t size) SeqSizeOutStream_Write() argument
336 XzBcFilterStateBase_Filter_Enc(CXzBcFilterStateBase *p, Byte *data, SizeT size) XzBcFilterStateBase_Filter_Enc() argument
377 SeqInFilter_Read(ISeqInStreamPtr pp, void *data, size_t *size) SeqInFilter_Read() argument
445 SbEncInStream_Read(ISeqInStreamPtr pp, void *data, size_t *size) SbEncInStream_Read() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
H A DvktDynamicStateInheritanceTests.cpp477 deUint32 size = kMaxViewports + 1; in createImageView() local
478 m_rectanglePipelines.reserve(size); in createImageView()
479 for (deUint32 i = 0; i < size; ++i) in createImageView()
512 DE_ASSERT(geometry.viewports.size() > 0); in startRenderCmds()
513 DE_ASSERT(geometry.viewports.size() <= kMaxViewports); in startRenderCmds()
514 DE_ASSERT(geometry.viewports.size() == geometry.scissors.size()); in startRenderCmds()
517 DE_ASSERT(kMaxRectangles >= geometry.rectangles.size()); in startRenderCmds()
519 for (size_t i = 0; i < geometry.rectangles.size(); ++i) in startRenderCmds()
566 m_vk.cmdSetViewportWithCount(m_setStateCmdBuffer.get(), deUint32(geometry.viewports.size()), in startRenderCmds()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DPath.cpp71 if (path.size() >= 2 && in find_first_component()
77 if ((path.size() > 2) && is_separator(path[0], style) && in find_first_component()
96 if (str.size() > 0 && is_separator(str[str.size() - 1], style)) in filename_pos()
97 return str.size() - 1; in filename_pos()
99 size_t pos = str.find_last_of(separators(style), str.size() - 1); in filename_pos()
103 pos = str.find_last_of(':', str.size() - 2); in filename_pos()
117 if (str.size() > 2 && str[1] == ':' && is_separator(str[2], style)) in root_dir_start()
122 if (str.size() > 3 && is_separator(str[0], style) && str[0] == str[1] && in root_dir_start()
128 if (str.size() > in root_dir_start()
[all...]

Completed in 23 milliseconds

1...<<171172173174175176177178179180>>...2061