/third_party/f2fs-tools/fsck/ |
H A D | segment.c | 597 if (de->size <= DEF_MAX_INLINE_DATA) { in f2fs_build_file() 617 ASSERT((unsigned long)n == de->size); in f2fs_build_file() 618 memcpy(inline_data_addr(node_blk), buffer, de->size); in f2fs_build_file() 619 node_blk->i.i_size = cpu_to_le64(de->size); in f2fs_build_file() 719 "gid=%x, cap=%"PRIx64", size=%lu, pino=%x\n", in f2fs_build_file() 722 de->uid, de->gid, de->capabilities, de->size, de->pino); in f2fs_build_file()
|
/third_party/elfutils/libelf/ |
H A D | elf32_updatefile.c | 83 start offsets, the size is used; for sections with equal start 84 offsets and sizes, the section index is used. Sorting by size 364 size_t size = dl->data.d.d_size; in __elfw2() local 367 converted = malloc (size); in __elfw2() 371 res = posix_memalign (&converted, align, size); in __elfw2() 383 (*fctp) (converted, dl->data.d.d_buf, size, 1); in __elfw2() 386 memcpy (last_position, converted, size); in __elfw2()
|
/third_party/ffmpeg/fftools/ |
H A D | cmdutils.c | 220 /* determine the UTF-8 buffer size (including NULL-termination symbols) */ in prepare_app_arguments() 972 void *grow_array(void *array, int elem_size, int *size, int new_size) in grow_array() argument 978 if (*size < new_size) { in grow_array() 984 memset(tmp + *size*elem_size, 0, (new_size-*size) * elem_size); in grow_array() 985 *size = new_size; in grow_array()
|
/third_party/ffmpeg/libavcodec/ |
H A D | vqavideo.c | 37 * bytes 4-7 chunk size in big-endian format, should be 0x0000002A 44 * of either 4x2 or 4x4 in size. Compressed VQA chunks can contain vector 139 av_log(s->avctx, AV_LOG_ERROR, "expected extradata size of %d\n", VQA_HEADER_SIZE); in vqa_decode_init() 177 av_log(avctx, AV_LOG_ERROR, "Image size not multiple of block size\n"); in vqa_decode_init() 246 av_log(s->avctx, AV_LOG_ERROR, "Chunk size %d is out of range\n", in decode_format80() 438 /* sanity check the palette size */ in vqa_decode_frame_pal8() 477 /* sanity check the full codebook size */ in vqa_decode_frame_pal8() 687 /* sanity check the full codebook size */ in vqa_decode_frame_hicolor() 773 int size in vqa_decode_frame_hicolor() local [all...] |
H A D | qdmc.c | 212 int ret, fft_size, fft_order, size, g, j, x; in qdmc_decode_init() local 239 size = bytestream2_get_be32u(&b); in qdmc_decode_init() 240 if (size > bytestream2_get_bytes_left(&b)) { in qdmc_decode_init() 241 av_log(avctx, AV_LOG_ERROR, "extradata size too small, %i < %i\n", in qdmc_decode_init() 242 bytestream2_get_bytes_left(&b), size); in qdmc_decode_init() 268 av_log(avctx, AV_LOG_ERROR, "data block size too large (%u)\n", s->checksum_size); in qdmc_decode_init() 295 av_log(avctx, AV_LOG_ERROR, "FFT size %d not power of 2.\n", fft_size); in qdmc_decode_init() 708 if (avpkt->size < s->checksum_size) in qdmc_decode_frame()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_headphone.c | 67 int size; member 379 s->n_fft = n_fft = 1 << (32 - ff_clz(ir_len + s->size)); in convert_coeffs() 398 av_log(ctx, AV_LOG_ERROR, "Unable to create FFT contexts of size %d.\n", s->n_fft); in convert_coeffs() 572 if ((ret = ff_inlink_consume_samples(ctx->inputs[0], s->size, s->size, &in)) > 0) { in activate() 749 { "size", "set frame size", OFFSET(size), AV_OPT_TYPE_INT, {.i64=1024},1024,96000, .flags = FLAGS },
|
H A D | vf_colormap.c | 46 int size; member 71 { "patch_size", "set patch size", OFFSET(w), AV_OPT_TYPE_IMAGE_SIZE, {.str = "64x64"}, 0, 0, FLAGS }, 72 { "nb_patches", "set number of patches", OFFSET(size), AV_OPT_TYPE_INT, {.i64 = 0}, 0, MAX_SIZE, FLAGS }, 414 if (!s->size) in import_map() 415 s->size = FFMIN(idx, MAX_SIZE); in import_map() 417 s->nb_maps = FFMIN(idx, s->size); in import_map()
|
/third_party/ffmpeg/libavdevice/ |
H A D | xcbgrab.c | 91 { "video_size", "A string describing frame size, such as 640x480 or hd720.", OFFSET(width), AV_OPT_TYPE_IMAGE_SIZE, {.str = NULL }, 0, 0, D }, 196 pkt->size = length; in xcbgrab_frame() 239 static AVBufferRef *allocate_shm_buffer(void *opaque, size_t size) in allocate_shm_buffer() argument 247 id = shmget(IPC_PRIVATE, size, IPC_CREAT | 0777); in allocate_shm_buffer() 258 ref = av_buffer_create(data, size, free_shm_buffer, (void *)(ptrdiff_t)segment, 0); in allocate_shm_buffer() 306 pkt->size = c->frame_size; in xcbgrab_frame_shm() 606 "outside the screen size %dx%d\n", in create_stream()
|
/third_party/curl/lib/vtls/ |
H A D | x509asn1.c | 341 int size = 1; in utf8asn1str() local 346 size = 2; in utf8asn1str() 349 size = 4; in utf8asn1str() 362 if(inlength % size) in utf8asn1str() 363 /* Length inconsistent with character size. */ in utf8asn1str() 377 switch(size) { in utf8asn1str() 393 /* Invalid char. size for target encoding. */ in utf8asn1str() 751 return -1; /* Invalid bounds/size. */ in Curl_parseX509()
|
/third_party/glfw/src/ |
H A D | win32_init.c | 470 int size; in _glfwCreateUTF8FromWideStringWin32() local 472 size = WideCharToMultiByte(CP_UTF8, 0, source, -1, NULL, 0, NULL, NULL); in _glfwCreateUTF8FromWideStringWin32() 473 if (!size) in _glfwCreateUTF8FromWideStringWin32() 480 target = _glfw_calloc(size, 1); in _glfwCreateUTF8FromWideStringWin32() 482 if (!WideCharToMultiByte(CP_UTF8, 0, source, -1, target, size, NULL, NULL)) in _glfwCreateUTF8FromWideStringWin32()
|
H A D | win32_joystick.c | 214 UINT size; in supportsXInput() local 221 size = sizeof(rdi); in supportsXInput() 225 &rdi, &size) == -1) in supportsXInput() 234 size = sizeof(name); in supportsXInput() 238 name, &size) == -1) in supportsXInput()
|
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_shm.c | 550 snd_pcm_uframes_t size) in snd_pcm_shm_mmap_commit() 556 ctrl->u.mmap_commit.frames = size; in snd_pcm_shm_mmap_commit() 638 size_t size = offsetof(struct sockaddr_un, sun_path) + l; in make_local_socket() local 639 struct sockaddr_un *addr = alloca(size); in make_local_socket() 651 if (connect(sock, (struct sockaddr *) addr, size) < 0) { in make_local_socket() 710 SNDERR("write size error"); in snd_pcm_shm_open() 721 SNDERR("read size error"); in snd_pcm_shm_open() 548 snd_pcm_shm_mmap_commit(snd_pcm_t *pcm, snd_pcm_uframes_t offset ATTRIBUTE_UNUSED, snd_pcm_uframes_t size) snd_pcm_shm_mmap_commit() argument
|
/third_party/backends/backend/pixma/ |
H A D | pixma_mp730.c | 387 read_error_info (pixma_t * s, void *buf, unsigned size) in read_error_info() argument 398 if (buf && len < size) in read_error_info() 400 size = len; in read_error_info() 402 memcpy (buf, data, size); in read_error_info() 520 mp->cb.size = CMDBUF_SIZE; in mp730_open()
|
/third_party/backends/sanei/ |
H A D | sanei_ir.c | 779 size_t size; in sanei_ir_filter_madmean() local 795 size = itop * sizeof (SANE_Uint); in sanei_ir_filter_madmean() 796 out_ij = malloc (size); in sanei_ir_filter_madmean() 797 delta_ij = malloc (size); in sanei_ir_filter_madmean() 798 mad_ij = malloc (size); in sanei_ir_filter_madmean() 1131 DBG (10, "sanei_ir_dilate_mean(): dist max = %d, expand = %d, win size = %d, smooth = %d, inner = %d\n", in sanei_ir_dilate_mean()
|
/third_party/curl/lib/ |
H A D | content_encoding.c | 69 #define DSIZ CURL_MAX_WRITE_SIZE /* buffer size for decompressed data */ 75 (doing so will reduce code size slightly). */ 109 zalloc_cb(voidpf opaque, unsigned int items, unsigned int size) in zalloc_cb() argument 113 return (voidpf) calloc(items, size); in zalloc_cb() 201 /* because the buffer size is fixed, iteratively decompress and transfer to in inflate_stream() 359 zp->trailerlen = 8; /* A CRC-32 and a 32-bit input size (RFC 1952, 2.2) */ in gzip_do_init() 775 in.size = nbytes; in zstd_do_write() 780 out.size = DSIZ; in zstd_do_write() 792 if((in.pos == nbytes) && (out.pos < out.size)) in zstd_do_write()
|
/third_party/gn/src/gn/ |
H A D | parser.cc | 409 *err_ = Err(tokens_[tokens_.size() - 1], error_message, kEOFMsg); in Consume() 666 Err(tokens_[tokens_.size() - 1], "Unexpected end of file in list."); in ParseList() 840 while (cur_comment < static_cast<int>(line_comment_tokens_.size())) { in AssignComments() 852 for (; cur_comment < static_cast<int>(line_comment_tokens_.size()); in AssignComments() 857 cur_comment = static_cast<int>(suffix_comment_tokens_.size() - 1); in AssignComments()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | OlsonTimeZone.java | 561 // Type offsets list must be of even size, with size >= 2 in construct() 569 // Type map data must be of the same size as the transition count in construct() 1052 int size = 1; in getTimeZoneRules() 1058 size++; in getTimeZoneRules() 1064 size += 2; in getTimeZoneRules() 1066 size++; in getTimeZoneRules() 1070 TimeZoneRule[] rules = new TimeZoneRule[size]; in getTimeZoneRules()
|
/third_party/NuttX/drivers/usbdev/gadget/ |
H A D | f_dfu.c | 55 .size = 0 95 .bMaxPacketSize = 64, /* Control Endpoint packet size */ 1124 int usb_dfu_read(struct usb_dfu_entity *dfu, void *buf, int size, uint32_t blk_seq_num) in usb_dfu_read() argument 1139 ret = dfu->dfu_read(buf, size); in usb_dfu_read() 1154 int usb_dfu_write(struct usb_dfu_entity *dfu, void *buf, int size, uint32_t blk_seq_num) in usb_dfu_write() argument 1170 ret = dfu->dfu_write(buf, size); in usb_dfu_write()
|
/third_party/alsa-lib/include/ |
H A D | seq.h | 91 int snd_seq_set_output_buffer_size(snd_seq_t *handle, size_t size); 92 int snd_seq_set_input_buffer_size(snd_seq_t *handle, size_t size); 211 void snd_seq_client_pool_set_output_pool(snd_seq_client_pool_t *info, size_t size); 212 void snd_seq_client_pool_set_input_pool(snd_seq_client_pool_t *info, size_t size); 213 void snd_seq_client_pool_set_output_room(snd_seq_client_pool_t *info, size_t size);
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | OlsonTimeZone.java | 563 // Type offsets list must be of even size, with size >= 2 in construct() 571 // Type map data must be of the same size as the transition count in construct() 1054 int size = 1; in getTimeZoneRules() 1060 size++; in getTimeZoneRules() 1066 size += 2; in getTimeZoneRules() 1068 size++; in getTimeZoneRules() 1072 TimeZoneRule[] rules = new TimeZoneRule[size]; in getTimeZoneRules()
|
/third_party/lzma/CPP/7zip/Archive/7z/ |
H A D | 7zOut.cpp | 129 void COutArchive::WriteBytes(const void *data, size_t size)
in WriteBytes() argument 132 _countSize += size;
in WriteBytes() 135 _outByte.WriteBytes(data, size);
in WriteBytes() 136 _crc = CrcUpdate(_crc, data, size);
in WriteBytes() 139 _outByte2.WriteBytes(data, size);
in WriteBytes() 557 const unsigned kPropsSize = 3; // it's example size
in WriteHeader() 566 const unsigned kPropsSize = 5; // it's example size
in WriteHeader()
|
/third_party/mesa3d/src/amd/addrlib/src/core/ |
H A D | addrelemlib.cpp | 285 // round the IEEE mantissa to mantissa size in Flt32sToInt32s() 296 // round the IEEE mantissa to mantissa size in Flt32sToInt32s() 342 UINT_32 size; in Int32sToPixel() local 358 size = pCompBits[i] / 8; in Int32sToPixel() 359 for (j = 0; j < size; j++) in Int32sToPixel() 376 size = (resultBits + 7) / 8; in Int32sToPixel() 377 for (i = 0; i < size; i++) in Int32sToPixel() 1629 * Set each component's bit size and bit start. And set element mode and number type
|
/third_party/jerryscript/jerry-core/vm/ |
H A D | opcodes.c | 582 size_t size; in opfunc_create_executable_object() local 589 size = ((size_t) args_p->register_end + (size_t) args_p->stack_limit) * sizeof (ecma_value_t); in opfunc_create_executable_object() 594 size = ((size_t) args_p->register_end + (size_t) args_p->stack_limit) * sizeof (ecma_value_t); in opfunc_create_executable_object() 597 size_t total_size = JERRY_ALIGNUP (sizeof (vm_executable_object_t) + size, sizeof (uintptr_t)); in opfunc_create_executable_object() 621 memcpy (new_registers_p, VM_GET_REGISTERS (frame_ctx_p), size); in opfunc_create_executable_object()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_image.c | 518 layout->size += offset; in tu_image_init() 521 image->total_size = MAX2(image->total_size, layout->size); in tu_image_init() 685 .size = image->total_size in tu_get_image_memory_requirements() 767 pLayout->size = pLayout->depthPitch * layout->depth0; in tu_GetImageSubresourceLayout() 823 range = buffer->size - pCreateInfo->offset; in tu_buffer_view_init()
|
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_private.h | 308 /* Aligned mip level size in bytes */ 309 uint32_t size; member 331 VkDeviceSize size; member 397 /* Non-spillable size for storage in the common store. */ 400 /* Spillable size to accommodate limitation of the common store. */ 530 /* Array of size layout::descriptor_count. */ 842 /* Array size of barriers_needed is based on number of sync pipeline 997 * meaning the data size will be 0, unlike the data size stored in the 1189 /* PPP state size i [all...] |