Home
last modified time | relevance | path

Searched refs:size (Results 19101 - 19125 of 56270) sorted by relevance

1...<<761762763764765766767768769770>>...2251

/kernel/linux/linux-6.6/tools/perf/util/
H A Ddlfilter.c32 d_al->size = sizeof(*d_al); in al_to_d_al()
41 d_al->buildid_size = dso->bid.size; in al_to_d_al()
96 /* 'size' is also used to indicate already initialized */ in dlfilter__resolve_ip()
97 if (d_al->size) in dlfilter__resolve_ip()
122 /* 'size' is also used to indicate already initialized */ in dlfilter__resolve_addr()
123 if (d_addr_al->size) in dlfilter__resolve_addr()
159 return d_al_p->size >= offsetof(struct perf_dlfilter_al, priv) + sizeof(d_al_p->priv); in has_priv()
184 sz = d_al_p->size; in dlfilter__resolve_address()
186 d_al_p->size = sz; in dlfilter__resolve_address()
512 d_sample.size in dlfilter__do_filter_event()
[all...]
/kernel/linux/linux-6.6/security/integrity/ima/
H A Dima_crypto.c25 /* minimum file size for ahash use */
28 MODULE_PARM_DESC(ahash_minsize, "Minimum file size for ahash use");
36 unsigned long long size; in param_set_bufsize() local
39 size = memparse(val, NULL); in param_set_bufsize()
40 order = get_order(size); in param_set_bufsize()
55 MODULE_PARM_DESC(ahash_bufsize, "Maximum ahash buffer size");
231 * @allocated_size: Returned size of actual allocation.
281 * @size: Size of allocated buffer.
283 static void ima_free_pages(void *ptr, size_t size) in ima_free_pages() argument
287 free_pages((unsigned long)ptr, get_order(size)); in ima_free_pages()
720 calc_buffer_shash_tfm(const void *buf, loff_t size, struct ima_digest_data *hash, struct crypto_shash *tfm) calc_buffer_shash_tfm() argument
[all...]
/kernel/linux/linux-6.6/drivers/s390/cio/
H A Dvfio_ccw_ops.c325 info->size = sizeof(struct ccw_io_region); in vfio_ccw_mdev_get_region_info()
331 struct vfio_info_cap caps = { .buf = NULL, .size = 0 }; in vfio_ccw_mdev_get_region_info()
348 info->size = private->region[i].size; in vfio_ccw_mdev_get_region_info()
360 if (info->argsz < sizeof(*info) + caps.size) { in vfio_ccw_mdev_get_region_info()
361 info->argsz = sizeof(*info) + caps.size; in vfio_ccw_mdev_get_region_info()
366 caps.buf, caps.size)) { in vfio_ccw_mdev_get_region_info()
473 size_t size, u32 flags, void *data) in vfio_ccw_register_dev_region()
487 private->region[private->num_regions].size = size; in vfio_ccw_register_dev_region()
470 vfio_ccw_register_dev_region(struct vfio_ccw_private *private, unsigned int subtype, const struct vfio_ccw_regops *ops, size_t size, u32 flags, void *data) vfio_ccw_register_dev_region() argument
[all...]
/kernel/linux/linux-6.6/tools/arch/x86/intel_sdsi/
H A Dintel_sdsi.c336 int ret, size; in sdsi_meter_cert_show() local
365 size = fread(buf, 1, sizeof(buf), cert_ptr); in sdsi_meter_cert_show()
366 if (!size) { in sdsi_meter_cert_show()
417 int ret, size; in sdsi_state_cert_show() local
441 size = fread(buf, 1, sizeof(buf), cert_ptr); in sdsi_state_cert_show()
442 if (!size) { in sdsi_state_cert_show()
478 sizeof(*sc) + // size of the state certificate in sdsi_state_cert_show()
479 (4 * sc->num_licenses) + // total size of the blob size blocks in sdsi_state_cert_show()
480 sizeof(*lki) + // size o in sdsi_state_cert_show()
515 int bin_fd, prov_fd, size, ret; sdsi_provision() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dprosumer.c41 unsigned size; member
49 static int decompress(GetByteContext *gb, int size, PutByteContext *pb, const uint32_t *lut) in decompress() argument
153 if (avpkt->size <= 32) in decode_frame()
156 bytestream2_init(&s->gb, avpkt->data, avpkt->size); in decode_frame()
157 bytestream2_init_writer(&s->pb, s->decbuffer, s->size); in decode_frame()
161 if (bytestream2_get_bytes_left_p(&s->pb) > s->size * (int64_t)avctx->discard_damaged_percentage / 100) in decode_frame()
164 av_assert0(s->size >= bytestream2_get_bytes_left_p(&s->pb)); in decode_frame()
202 return avpkt->size; in decode_frame()
343 s->size = avctx->height * s->stride; in decode_init()
348 s->decbuffer = av_malloc(s->size); in decode_init()
[all...]
H A Dv4l2_buffers.c276 static int v4l2_bufref_to_buf(V4L2Buffer *out, int plane, const uint8_t* data, int size, int offset) in v4l2_bufref_to_buf() argument
284 bytesused = FFMIN(size+offset, length); in v4l2_bufref_to_buf()
286 memcpy((uint8_t*)out->plane_info[plane].mm_addr+offset, data, FFMIN(size, length-offset)); in v4l2_bufref_to_buf()
383 int size, h = height; in v4l2_buffer_swframe_to_buf() local
387 size = frame->linesize[i] * h; in v4l2_buffer_swframe_to_buf()
388 ret = v4l2_bufref_to_buf(out, 0, frame->data[i], size, offset); in v4l2_buffer_swframe_to_buf()
391 offset += size; in v4l2_buffer_swframe_to_buf()
397 ret = v4l2_bufref_to_buf(out, i, frame->buf[i]->data, frame->buf[i]->size, 0); in v4l2_buffer_swframe_to_buf()
461 pkt->size = V4L2_TYPE_IS_MULTIPLANAR(avbuf->buf.type) ? avbuf->buf.m.planes[0].bytesused : avbuf->buf.bytesused; in ff_v4l2_buffer_buf_to_avpkt()
481 ret = v4l2_bufref_to_buf(out, 0, pkt->data, pkt->size, in ff_v4l2_buffer_avpkt_to_buf()
[all...]
/third_party/ffmpeg/libavdevice/
H A Dkmsgrab.c134 .size = fb->height * fb->pitch, in kmsgrab_get_fb()
204 size_t size; in kmsgrab_get_fb2() local
207 size = fb->offsets[i] + fb->height * fb->pitches[i]; in kmsgrab_get_fb2()
218 if (desc->objects[j].size < size) in kmsgrab_get_fb2()
219 desc->objects[j].size = size; in kmsgrab_get_fb2()
242 .size = size, in kmsgrab_get_fb2()
351 pkt->size in kmsgrab_read_packet()
[all...]
/third_party/ffmpeg/libavformat/tests/
H A Dmovenc.c99 static int io_write(void *opaque, uint8_t *buf, int size) in io_write() argument
101 out_size += size; in io_write()
102 av_md5_update(md5, buf, size); in io_write()
104 fwrite(buf, 1, size, out); in io_write()
105 return size; in io_write()
108 static int io_write_data_type(void *opaque, uint8_t *buf, int size, in io_write_data_type() argument
130 size >= 8) in io_write_data_type()
134 printf("write_data len %d, time %s, type %s atom %s\n", size, timebuf, str, content); in io_write_data_type()
135 return io_write(opaque, buf, size); in io_write_data_type()
298 pkt->size in mux_frames()
[all...]
/third_party/alsa-lib/src/rawmidi/
H A Drawmidi.c38 MIDI stream. The buffer size is tunable and drivers report underruns for incoming
483 * \brief get size of the snd_rawmidi_info_t structure in bytes
484 * \return size of the snd_rawmidi_info_t structure in bytes
689 * \brief get size of the snd_rawmidi_params_t structure in bytes
690 * \return size of the snd_rawmidi_params_t structure in bytes
739 * \brief set rawmidi I/O ring buffer size
742 * \param val size in bytes
758 * \brief get rawmidi I/O ring buffer size
760 * \return size of rawmidi I/O ring buffer in bytes
954 * \brief get size o
1080 snd_rawmidi_write(snd_rawmidi_t *rawmidi, const void *buffer, size_t size) snd_rawmidi_write() argument
1095 snd_rawmidi_read(snd_rawmidi_t *rawmidi, void *buffer, size_t size) snd_rawmidi_read() argument
1113 snd_rawmidi_tread(snd_rawmidi_t *rawmidi, struct timespec *tstamp, void *buffer, size_t size) snd_rawmidi_tread() argument
[all...]
/third_party/alsa-lib/test/
H A Dmidifile.c27 * mf_write_midi_event(delta_time, system_exclusive, 0, data, size)
948 * size - The length of the meta-event data.
951 mf_write_midi_event (delta_time, type, chan, data, size) in mf_write_midi_event()
954 unsigned long size;
979 WriteVarLen (size);
982 for (i = 0; i < (int)size; i++)
985 return (size);
1000 * size - The length of the meta-event data.
1003 mf_write_meta_event (delta_time, type, data, size) in mf_write_meta_event()
1006 unsigned long size;
[all...]
/third_party/NuttX/drivers/video/
H A Dfb.c208 size_t size; in fb_read() local
217 /* Get the start and size of the transfer */ in fb_read()
231 size = end - start; in fb_read()
235 ret = LOS_ArchCopyToUser(buffer, fb->fbmem, size); in fb_read()
240 filep->f_pos += size; in fb_read()
241 return size; in fb_read()
254 size_t size; in fb_write() local
264 /* Get the start and size of the transfer */ in fb_write()
278 size = end - start; in fb_write()
282 ret = LOS_ArchCopyFromUser(fb->fbmem, buffer, size); in fb_write()
[all...]
/third_party/lzma/CPP/Windows/
H A DFileFind.cpp875 UINT32 size = GetLogicalDriveStrings(0, NULL); in MyGetLogicalDriveStrings() local
876 if (size == 0) in MyGetLogicalDriveStrings()
878 CObjArray<char> buf(size); in MyGetLogicalDriveStrings()
879 UINT32 newSize = GetLogicalDriveStrings(size, buf); in MyGetLogicalDriveStrings()
880 if (newSize == 0 || newSize > size) in MyGetLogicalDriveStrings()
898 UINT32 size = GetLogicalDriveStringsW(0, NULL); in MyGetLogicalDriveStrings() local
899 if (size == 0) in MyGetLogicalDriveStrings()
901 CObjArray<wchar_t> buf(size); in MyGetLogicalDriveStrings()
902 UINT32 newSize = GetLogicalDriveStringsW(size, buf); in MyGetLogicalDriveStrings()
903 if (newSize == 0 || newSize > size) in MyGetLogicalDriveStrings()
[all...]
H A DSystemInfo.cpp63 UInt64 size; in ReadFile_to_Buffer()
64 if (!file.GetLength(size)) in ReadFile_to_Buffer()
69 if (size >= ((UInt32)1 << 29)) in ReadFile_to_Buffer()
72 size_t size = 0; in ReadFile_to_Buffer()
76 // printf("\nsize = %d\n", (unsigned)size); in ReadFile_to_Buffer()
77 buf.ChangeSize_KeepData(size + addSize, size); in ReadFile_to_Buffer()
79 if (!file.ReadFull(buf + size, addSize, processed)) in ReadFile_to_Buffer()
83 buf.ChangeSize_KeepData(size, size); in ReadFile_to_Buffer()
575 UInt32 size = 0; Fill() local
[all...]
/third_party/json/include/nlohmann/detail/input/
H A Dlexer.hpp219 JSON_ASSERT(ranges.size() == 2 || ranges.size() == 4 || ranges.size() == 6); in next_byte_in_range()
245 may contain \0 bytes), and token_buffer.size() is the number of bytes in the
1256 JSON_ASSERT(endptr == token_buffer.data() + token_buffer.size()); in scan_number()
1272 JSON_ASSERT(endptr == token_buffer.data() + token_buffer.size()); in scan_number()
1289 JSON_ASSERT(endptr == token_buffer.data() + token_buffer.size()); in scan_number()
1458 static_cast<void>((std::snprintf)(cs.data(), cs.size(), "<U+%.4X>", static_cast<unsigned char>(c))); // NOLINT(cppcoreguidelines-pro-type-vararg,hicpp-vararg) in get_token_string()
1553 return scan_literal(true_literal.data(), true_literal.size(), token_type::literal_true); in scan()
1558 return scan_literal(false_literal.data(), false_literal.size(), token_typ in scan()
[all...]
/third_party/mesa3d/src/gallium/frontends/clover/api/
H A Dprogram.cpp479 size_t size, void *r_buf, size_t *r_size) try { in clGetProgramInfo()
480 property_buffer buf { r_buf, size, r_size }; in clGetProgramInfo()
493 buf.as_scalar<cl_uint>() = (prog.devices().size() ? in clGetProgramInfo()
494 prog.devices().size() : in clGetProgramInfo()
495 prog.context().devices().size()); in clGetProgramInfo()
499 buf.as_vector<cl_device_id>() = (prog.devices().size() ? in clGetProgramInfo()
510 return prog.build(dev).bin.size(); in clGetProgramInfo()
526 buf.as_scalar<cl_uint>() = prog.symbols().size(); in clGetProgramInfo()
559 size_t size, void *r_buf, size_t *r_size) try { in clGetProgramBuildInfo()
560 property_buffer buf { r_buf, size, r_siz in clGetProgramBuildInfo()
478 clGetProgramInfo(cl_program d_prog, cl_program_info param, size_t size, void *r_buf, size_t *r_size) clGetProgramInfo() argument
557 clGetProgramBuildInfo(cl_program d_prog, cl_device_id d_dev, cl_program_build_info param, size_t size, void *r_buf, size_t *r_size) clGetProgramBuildInfo() argument
[all...]
/third_party/mesa3d/src/gallium/frontends/clover/nir/
H A Dinvocation.cpp73 clover_arg_size_align(const glsl_type *type, unsigned *size, unsigned *align) in clover_arg_size_align() argument
76 *size = 0; in clover_arg_size_align()
79 *size = type->cl_size(); in clover_arg_size_align()
292 unsigned location = state->args.size();
313 unsigned location = state->args.size();
354 constant_var->data.location = args.size();
445 assert(mod.secs.size() == 1);
533 NIR_PASS_V(nir, clover_lower_nir, args, dev.max_block_size().size(),
601 const pipe_binary_program_header header { uint32_t(blob.size) };
605 text.data.insert(text.data.end(), blob.data, blob.data + blob.size);
[all...]
/third_party/musl/src/malloc/oldmalloc/
H A Dmalloc.c121 fprintf(stderr, "base %p size %zu (%d) flags %d/%d\n",
160 * fragmentation asymptotically irrelevant. The size argument is both
161 * an input and an output, since the caller needs to know the size
163 * and mmap minimum size rules. The caller is responsible for locking
241 * zero-size sentinel header at the old end-of-heap. */ in expand_heap()
530 size_t osize = CHUNK_SIZE(self), size = osize; in __bin_chunk() local
551 size += psize; in __bin_chunk()
561 size += nsize; in __bin_chunk()
566 int i = bin_index(size); in __bin_chunk()
571 self->csize = size; in __bin_chunk()
[all...]
/third_party/musl/porting/liteos_a/user/src/malloc/oldmalloc/
H A Dmalloc.c117 fprintf(stderr, "base %p size %zu (%d) flags %d/%d\n",
156 * fragmentation asymptotically irrelevant. The size argument is both
157 * an input and an output, since the caller needs to know the size
159 * and mmap minimum size rules. The caller is responsible for locking
227 * zero-size sentinel header at the old end-of-heap. */ in expand_heap()
443 size_t osize = CHUNK_SIZE(self), size = osize; in __bin_chunk() local
457 size += psize; in __bin_chunk()
467 size += nsize; in __bin_chunk()
472 int i = bin_index(size); in __bin_chunk()
475 self->csize = size; in __bin_chunk()
[all...]
/third_party/musl/porting/liteos_a/user_debug/src/malloc/oldmalloc/
H A Dmalloc.c119 fprintf(stderr, "base %p size %zu (%d) flags %d/%d\n",
158 * fragmentation asymptotically irrelevant. The size argument is both
159 * an input and an output, since the caller needs to know the size
161 * and mmap minimum size rules. The caller is responsible for locking
231 * zero-size sentinel header at the old end-of-heap. */ in expand_heap()
492 size_t osize = CHUNK_SIZE(self), size = osize; in __bin_chunk() local
509 size += psize; in __bin_chunk()
519 size += nsize; in __bin_chunk()
524 int i = bin_index(size); in __bin_chunk()
527 self->csize = size; in __bin_chunk()
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dtextureview.c217 #define ASTC_FMT(size) \
218 {VIEW_CLASS_ASTC_##size##_RGBA, GL_COMPRESSED_RGBA_ASTC_##size##_KHR}, \
219 {VIEW_CLASS_ASTC_##size##_RGBA, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_##size##_KHR}
239 #define ASTC_FMT(size) \
240 {VIEW_CLASS_ASTC_##size##_RGBA, GL_COMPRESSED_RGBA_ASTC_##size##_OES}, \
241 {VIEW_CLASS_ASTC_##size##_RGBA, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_##size##_OE
[all...]
/third_party/node/deps/icu-small/source/tools/toolutil/
H A Dxmlparser.cpp12 * tab size: 8 (not used)
694 for (i=fAttValues.size()-1; i>=0; i--) { in ~UXMLElement()
697 for (i=fChildren.size()-1; i>=0; i--) { in ~UXMLElement()
717 int32_t i, count=fChildren.size(); in appendText()
731 return fAttNames.size(); in countAttributes()
736 if(0<=i && i<fAttNames.size()) { in getAttribute()
754 int32_t i, count=fAttNames.size(); in getAttribute()
765 return fChildren.size(); in countChildren()
770 if(0<=i && i<fChildren.size()) { in getChild()
790 int32_t count=fChildren.size(); in nextChildElement()
[all...]
/third_party/icu/icu4c/source/tools/toolutil/
H A Dxmlparser.cpp12 * tab size: 8 (not used)
694 for (i=fAttValues.size()-1; i>=0; i--) { in ~UXMLElement()
697 for (i=fChildren.size()-1; i>=0; i--) { in ~UXMLElement()
717 int32_t i, count=fChildren.size(); in appendText()
731 return fAttNames.size(); in countAttributes()
736 if(0<=i && i<fAttNames.size()) { in getAttribute()
754 int32_t i, count=fAttNames.size(); in getAttribute()
765 return fChildren.size(); in countChildren()
770 if(0<=i && i<fChildren.size()) { in getChild()
790 int32_t count=fChildren.size(); in nextChildElement()
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/sb/
H A Dsb_bc.h797 bc_decoder(sb_context &sctx, uint32_t *data, unsigned size) in bc_decoder() argument
798 : ctx(sctx), dw(data), ndw(size) {} in bc_decoder()
952 unsigned ndw() { return bc.size(); } in ndw()
959 unsigned size = bc.size(); in align() local
960 size = (size + a - 1) & ~(a-1); in align()
961 bc.resize(size); in align()
965 assert(sz >= bc.size()); in set_size()
971 if (p > bc.size()) { in seek()
[all...]
/third_party/node/deps/openssl/openssl/crypto/err/
H A Derr.c777 static int err_set_error_data_int(char *data, size_t size, int flags, in err_set_error_data_int() argument
787 err_set_data(es, es->top, data, size, flags); in err_set_error_data_int()
798 * We estimate the size of the data. If it's not flagged as allocated, in ERR_set_error_data()
799 * then this is safe, and if it is flagged as allocated, then our size in ERR_set_error_data()
802 * reallocated to a new size. in ERR_set_error_data()
821 int i, len, size; in ERR_add_error_vdata() local
838 size = es->err_data_size[i]; in ERR_add_error_vdata()
849 } else if ((str = OPENSSL_malloc(size = 81)) == NULL) { in ERR_add_error_vdata()
861 if (len >= size) { in ERR_add_error_vdata()
864 size in ERR_add_error_vdata()
[all...]
/third_party/openssl/crypto/err/
H A Derr.c777 static int err_set_error_data_int(char *data, size_t size, int flags, in err_set_error_data_int() argument
787 err_set_data(es, es->top, data, size, flags); in err_set_error_data_int()
798 * We estimate the size of the data. If it's not flagged as allocated, in ERR_set_error_data()
799 * then this is safe, and if it is flagged as allocated, then our size in ERR_set_error_data()
802 * reallocated to a new size. in ERR_set_error_data()
821 int i, len, size; in ERR_add_error_vdata() local
838 size = es->err_data_size[i]; in ERR_add_error_vdata()
849 } else if ((str = OPENSSL_malloc(size = 81)) == NULL) { in ERR_add_error_vdata()
861 if (len >= size) { in ERR_add_error_vdata()
864 size in ERR_add_error_vdata()
[all...]

Completed in 42 milliseconds

1...<<761762763764765766767768769770>>...2251