/third_party/ffmpeg/libavformat/ |
H A D | mmst.c | 158 int size = mms->write_out_ptr - mms->out_buffer; in mms_put_utf16() local 161 sizeof(mms->out_buffer) - size, 1, NULL, NULL, NULL, NULL); in mms_put_utf16() 220 // 40 is the packet header size, 7 is the prefix size. in handle_packet_stream_changing_type() 332 "Failed to read packet data of size %d: %d (%s)\n", in get_tcp_server_response() 591 static int mms_read(URLContext *h, uint8_t *buf, int size) in mms_read() argument 601 result = ff_mms_read_header(mms, buf, size); in mms_read() 605 result = ff_mms_read_data(mms, buf, size); in mms_read() 617 result = ff_mms_read_data(mms, buf, size); in mms_read() 619 av_log(h, AV_LOG_TRACE, "Read ASF media packet size i in mms_read() [all...] |
/third_party/gn/src/base/files/ |
H A D | file_path.cc | 138 for (size_t i = 0; i < std::size(kCommonDoubleExtensions); ++i) { in ExtensionSeparatorPosition() 145 for (size_t i = 0; i < std::size(kCommonDoubleExtensionSuffixes); ++i) { in ExtensionSeparatorPosition() 261 parent_components.size() >= child_components.size()) in AppendRelativePath() 426 (extension.size() == 1 && extension[0] == kExtensionSeparator)) in AddExtension() 445 (extension.size() == 1 && extension[0] == kExtensionSeparator)) in ReplaceExtension()
|
/third_party/gn/src/gn/ |
H A D | innerapis_publicinfo_generator.cc | 95 for (size_t i = 0; i < includes_list.size(); i++) {
in TraverIncludeDirs() 266 if (configs.size() > 0) {
in GetPublicConfigsInfo() 283 if (all_configs.size() > 0) {
in GetAllDependentConfigsInfo() 305 if (private_configs.size() > 0) {
in GetPrivateConfigsInfo() 320 if (headers.size() > 0) {
in GetPublicHeadersInfo() 340 if (deps.size() > 0) {
in GetPublicDepsInfo()
|
H A D | ninja_target_writer.cc | 512 if (input_deps_sources.size() + input_deps_targets.size() == 0) in WriteInputDepsStampAndGetDep() 517 if (input_deps_sources.size() == 1 && input_deps_targets.size() == 0) in WriteInputDepsStampAndGetDep() 520 if (input_deps_sources.size() == 0 && input_deps_targets.size() == 1) { in WriteInputDepsStampAndGetDep()
|
/third_party/backends/backend/ |
H A D | kvs40xx.c | 76 b->size = b->head = b->tail = 0; in buf_init() 109 return b->size ? SANE_STATUS_GOOD : b->st; in buf_get_err() 125 b->size += sz; in push_buf() 142 *sz = b->size < BUF_SIZE ? b->size : BUF_SIZE; in get_buf() 143 b->size -= *sz; in get_buf()
|
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/ |
H A D | usbd_generic_epfile.c | 432 usbm = generic_find_memory_area(&epfile->memory_obj, (void *)mem.buf, mem.size); in generic_epfile_handle_ioctl() 526 static void *generic_epfile_handle_mmap(struct usb_handle *handle, uint32_t size) in generic_epfile_handle_mmap() argument 538 usbm = usbm_malloc(&epfile->memory_obj, sizeof(*usbm) + size); in generic_epfile_handle_mmap() 546 mem = LOS_DmaMemAlloc(&paddr, size, USB_CACHE_ALIGN_SIZE, DMA_NOCACHE); in generic_epfile_handle_mmap() 548 usbm->size = size; in generic_epfile_handle_mmap()
|
/third_party/icu/icu4c/source/common/ |
H A D | usprep.cpp | 12 * tab size: 8 (not used) 81 pInfo->size>=20 && in isSPrepAcceptable() 786 int32_t i, offset, count, size; in usprep_swap() local 832 size= in usprep_swap() 833 16*4+ /* size of indexes[] */ in usprep_swap() 838 if(length<size) { in usprep_swap() 847 uprv_memcpy(outBytes, inBytes, size); in usprep_swap() 868 return headerSize+size; in usprep_swap()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | collationfastlatinbuilder.cpp | 350 int32_t contractionIndex = contractionCEs.size(); in getCEsFromContractionCE32() 415 int32_t i = binarySearch(uniqueCEs.getBuffer(), uniqueCEs.size(), ce); in addUniqueCE() 424 int32_t index = binarySearch(uniqueCEs.getBuffer(), uniqueCEs.size(), ce); in getMiniCE() 433 miniCEs = (uint16_t *)uprv_malloc(uniqueCEs.size() * 2); in encodeUniqueCEs() 447 for(int32_t i = 0; i < uniqueCEs.size(); ++i) { in encodeUniqueCEs() 556 for(int32_t i = 0; i < uniqueCEs.size(); ++i) { in encodeUniqueCEs()
|
/third_party/lzma/CPP/7zip/UI/Console/ |
H A D | ExtractCallbackConsole.cpp | 238 Z7_COM7F_IMF(CExtractCallbackConsole::SetTotal(UInt64 size))
in SetTotal() argument 244 _percent.Total = size;
in SetTotal() 265 static void PrintFileInfo(CStdOutStream *_so, const wchar_t *path, const FILETIME *ft, const UInt64 *size)
in PrintFileInfo() argument 270 if (size && *size != (UInt64)(Int64)-1)
in PrintFileInfo() 273 PrintSize_bytes_Smart(s, *size);
in PrintFileInfo()
|
/third_party/jerryscript/jerry-core/ecma/base/ |
H A D | ecma-globals.h | 810 * bit set size for all built-ins */ 824 * Start position of bit set size in length_and_bitset_size field. 941 * Align the length of the fast mode array to get the allocated size of the underlying buffer 951 uint16_t size; /**< real size >> JMEM_ALIGNMENT_LOG */ member 1047 * Remove the size field of the internal buffer. 1049 #define ECMA_CONTAINER_SET_SIZE(container_p, size) \ 1050 (container_p->buffer_p[0] = (ecma_value_t) (size)) 1395 * Compute the total allocated size of the collection based on it's capacity 1401 * Initial allocated size o 1576 uint16_t size; /**< size of this ASCII string in bytes */ global() member 1585 uint16_t size; /**< size of this utf-8 string in bytes */ global() member 1595 lit_utf8_size_t size; /**< size of this long utf-8 string in bytes */ global() member [all...] |
H A D | ecma-module.c | 41 prop_length_t size) /**< size of module specifier */ in ecma_module_create_normalized_path() 43 JERRY_ASSERT (size > 0); in ecma_module_create_normalized_path() 48 lit_utf8_byte_t *path_p = (lit_utf8_byte_t *) jmem_heap_alloc_block (size + 1u); in ecma_module_create_normalized_path() 52 size, in ecma_module_create_normalized_path() 54 size); in ecma_module_create_normalized_path() 88 jmem_heap_free_block (path_p, size + 1u); in ecma_module_create_normalized_path() 40 ecma_module_create_normalized_path(const uint8_t *char_p, prop_length_t size) ecma_module_create_normalized_path() argument
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_system_values.c | 270 nir_ssa_def *size, unsigned bit_size) in lower_id_to_index_no_umod() 274 * id.z = index / (size.x * size.y) in lower_id_to_index_no_umod() 275 * id.y = (index - (id.z * (size.x * size.y))) / size.x in lower_id_to_index_no_umod() 276 * id.x = index - ((id.z * (size.x * size.y)) + (id.y * size.x)) in lower_id_to_index_no_umod() 279 * modulo division instruction and when the size i in lower_id_to_index_no_umod() 269 lower_id_to_index_no_umod(nir_builder *b, nir_ssa_def *index, nir_ssa_def *size, unsigned bit_size) lower_id_to_index_no_umod() argument 298 lower_id_to_index(nir_builder *b, nir_ssa_def *index, nir_ssa_def *size, unsigned bit_size) lower_id_to_index() argument [all...] |
/third_party/mesa3d/src/freedreno/computerator/ |
H A D | a6xx.c | 267 int size = DIV_ROUND_UP(const_state->immediates_count, 4); in cs_const_emit() local 289 /* truncate size to avoid writing constants that shader in cs_const_emit() 292 size = MIN2(size + base, v->constlen) - base; in cs_const_emit() 296 size *= 4; in cs_const_emit() 298 if (size > 0) { in cs_const_emit() 299 emit_const(ring, base, size, const_state->immediates); in cs_const_emit() 311 /* size is encoded with low 15b in WIDTH and high bits in HEIGHT, in cs_ibo_emit()
|
/third_party/mesa3d/src/compiler/glsl/ |
H A D | standalone.cpp | 340 size_t size; in load_text_file() local 349 size = ftell(fp); in load_text_file() 352 text = (char *) ralloc_size(ctx, size + 1); in load_text_file() 356 1, size - total_read, fp); in load_text_file() 357 if (bytes < size - total_read) { in load_text_file() 368 } while (total_read < size); in load_text_file()
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_prim_vbuf.c | 93 unsigned size = vertex_size * nr_vertices; in sp_vbuf_allocate_vertices() local 95 if (cvbr->vertex_buffer_size < size) { in sp_vbuf_allocate_vertices() 97 cvbr->vertex_buffer = align_malloc(size, 16); in sp_vbuf_allocate_vertices() 98 cvbr->vertex_buffer_size = size; in sp_vbuf_allocate_vertices() 164 const unsigned stride = softpipe->vertex_info.size * sizeof(float); in sp_vbuf_draw_elements() 361 const unsigned stride = softpipe->vertex_info.size * sizeof(float); in sp_vbuf_draw_arrays()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_optimizer.cpp | 349 << instr->dest()->uses().size(); in visit() 367 dest->uses().size() == 1)) { in visit() 376 << instr->dest()->uses().size(); in visit() 426 if (src_reg->uses().size() > 1) in visit() 435 if (!dest->is_ssa() && dest->parents().size() > 1) in visit() 566 if (s->parents().size() != 1) in replace_src()
|
/third_party/ntfs-3g/src/ |
H A D | ntfs-3g_common.c | 691 char *list, size_t size, BOOL prefixing) 732 if (size && tmp_name_len) { 733 if ((size_t)ret <= size) { 769 if (size) { 770 if ((size_t)ret <= size) { 783 if ((size_t)ret <= size) { 690 ntfs_fuse_listxattr_common(ntfs_inode *ni, ntfs_attr_search_ctx *actx, char *list, size_t size, BOOL prefixing) global() argument
|
/third_party/node/deps/icu-small/source/common/ |
H A D | usprep.cpp | 12 * tab size: 8 (not used) 81 pInfo->size>=20 && in isSPrepAcceptable() 786 int32_t i, offset, count, size; in usprep_swap() local 832 size= in usprep_swap() 833 16*4+ /* size of indexes[] */ in usprep_swap() 838 if(length<size) { in usprep_swap() 847 uprv_memcpy(outBytes, inBytes, size); in usprep_swap() 868 return headerSize+size; in usprep_swap()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | collationfastlatinbuilder.cpp | 350 int32_t contractionIndex = contractionCEs.size(); in getCEsFromContractionCE32() 415 int32_t i = binarySearch(uniqueCEs.getBuffer(), uniqueCEs.size(), ce); in addUniqueCE() 424 int32_t index = binarySearch(uniqueCEs.getBuffer(), uniqueCEs.size(), ce); in getMiniCE() 433 miniCEs = (uint16_t *)uprv_malloc(uniqueCEs.size() * 2); in encodeUniqueCEs() 447 for(int32_t i = 0; i < uniqueCEs.size(); ++i) { in encodeUniqueCEs() 556 for(int32_t i = 0; i < uniqueCEs.size(); ++i) { in encodeUniqueCEs()
|
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_nir_lower_storage_image.c | 68 nir_ssa_def *size = load_image_param(b, deref, SIZE); in image_coord_is_in_bounds() local 69 nir_ssa_def *cmp = nir_ilt(b, coord, size); in image_coord_is_in_bounds() 616 /* Check the first component of the size field to find out if the in lower_image_atomic_instr() 621 nir_ssa_def *size = load_image_param(b, deref, SIZE); in lower_image_atomic_instr() local 623 nir_push_if(b, nir_ine(b, nir_channel(b, size, 0), zero)); in lower_image_atomic_instr() 664 nir_ssa_def *size = load_image_param(b, deref, SIZE); in lower_image_size_instr() local 671 comps[c] = nir_channel(b, size, c); in lower_image_size_instr()
|
/third_party/mesa3d/src/intel/tools/ |
H A D | aubinator_error_decode.c | 238 printf(" %svalid, %c-tiled, pitch: %i, start: 0x%08x, size: %u\n", in print_snb_fence() 249 printf(" %svalid, %c-tiled, pitch: %i, start: 0x%08x, size: %u\n", in print_i965_fence() 300 const uint32_t out_size = 128*4096; /* approximate obj size */ in zlib_inflate() 346 int len = 0, size = 1024; in ascii85_decode() local 348 *out = realloc(*out, sizeof(uint32_t)*size); in ascii85_decode() 355 if (len == size) { in ascii85_decode() 356 size *= 2; in ascii85_decode() 357 *out = realloc(*out, sizeof(uint32_t)*size); in ascii85_decode() 401 .size = sections[s].dword_count * 4, in get_intel_batch_bo()
|
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir_ssa.cpp | 385 phi = new_Instruction(this, OP_PHI, typeOfSize(lval->reg.size)); in convertToSSA() 430 Instruction *nop = new_Instruction(func, OP_NOP, typeOfSize(lval->reg.size)); in mkUndefined() 467 ssa->reg.size = lval->reg.size; in search() 496 stmt->def(d).get()->reg.size = lval->reg.size; in search()
|
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_image.c | 143 const size_t size = sizeof(VkFormat) * info->list.viewFormatCount; in vn_image_deferred_info_init() local 145 alloc, size, VN_DEFAULT_ALIGN, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in vn_image_deferred_info_init() 153 size); in vn_image_deferred_info_init() 486 const size_t size = sizeof(*local_infos) * bindInfoCount; in vn_BindImageMemory2() local 487 local_infos = vk_alloc(alloc, size, VN_DEFAULT_ALIGN, in vn_BindImageMemory2() 492 memcpy(local_infos, pBindInfos, size); in vn_BindImageMemory2()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
H A D | nv30_draw.c | 253 r->vtxptr[attrib] = vinfo->size; in vroute_add() 254 vinfo->size += draw_translate_vinfo_size(emit); in vroute_add() 296 while (heap->next && heap->size < 16) { in nv30_render_validate() 307 vinfo->size = 0; in nv30_render_validate() 340 r->vtxfmt[i] |= vinfo->size << 8; in nv30_render_validate() 374 vinfo->size /= 4; in nv30_render_validate()
|
H A D | nv30_state_validate.c | 82 * with a size of 2x2 pixel (16bpp) or 1x1 pixel (32bpp) have an in nv30_validate_fb() 300 PUSH_SPACE(push, nv30->blend->size); in nv30_validate_blend() 301 PUSH_DATAp(push, nv30->blend->data, nv30->blend->size); in nv30_validate_blend() 309 PUSH_SPACE(push, nv30->zsa->size); in nv30_validate_zsa() 310 PUSH_DATAp(push, nv30->zsa->data, nv30->zsa->size); in nv30_validate_zsa() 318 PUSH_SPACE(push, nv30->rast->size); in nv30_validate_rasterizer() 319 PUSH_DATAp(push, nv30->rast->data, nv30->rast->size); in nv30_validate_rasterizer()
|