/third_party/ffmpeg/libavformat/ |
H A D | rtpdec_qt.c | 65 int num = qt->pkt->size / qt->bytes_per_frame; in qt_rtp_parse_packet() 76 qt->pkt->size = 0; in qt_rtp_parse_packet() 187 if (qt->pkt->size > 0 && qt->timestamp == *timestamp) { in qt_rtp_parse_packet() 189 if ((err = av_reallocp(&qt->pkt->data, qt->pkt->size + alen + in qt_rtp_parse_packet() 191 qt->pkt->size = 0; in qt_rtp_parse_packet() 200 qt->pkt->size = 0; in qt_rtp_parse_packet() 203 memcpy(qt->pkt->data + qt->pkt->size, buf + avio_tell(pb), alen); in qt_rtp_parse_packet() 204 qt->pkt->size += alen; in qt_rtp_parse_packet() 206 int ret = av_packet_from_data(pkt, qt->pkt->data, qt->pkt->size); in qt_rtp_parse_packet() 210 qt->pkt->size in qt_rtp_parse_packet() [all...] |
/third_party/curl/lib/ |
H A D | memdebug.c | 41 size_t size; member 136 size_t size; in curl_dbg_malloc() local 144 size = sizeof(struct memdebug) + wantedsize; in curl_dbg_malloc() 146 mem = (Curl_cmalloc)(size); in curl_dbg_malloc() 148 mem->size = wantedsize; in curl_dbg_malloc() 163 size_t size, user_size; in curl_dbg_calloc() local 173 size = sizeof(struct memdebug) + user_size; in curl_dbg_calloc() 175 mem = (Curl_ccalloc)(1, size); in curl_dbg_calloc() 177 mem->size = user_size; in curl_dbg_calloc() 245 size_t size in curl_dbg_realloc() local [all...] |
/third_party/mesa3d/src/compiler/spirv/ |
H A D | nir_load_libclc.c | 93 size_t size; member 150 fprintf(stderr, "Could not determine the decompressed size of the " in map_clc_data() 159 fprintf(stderr, "Could not determine the size of the first ZSTD frame " in map_clc_data() 166 size_t size = ZSTD_decompress(dest, cmp_size, clc->file->static_data, in map_clc_data() local 168 if (ZSTD_isError(size)) { in map_clc_data() 171 ZSTD_getErrorName(size)); in map_clc_data() 176 clc->size = size; in map_clc_data() 179 clc->size = clc->file->static_data_size; in map_clc_data() 188 fprintf(stderr, "File length isn't a multiple of the word size\ in map_clc_data() [all...] |
/third_party/littlefs/ |
H A D | lfs.h | 47 // Maximum name size in bytes, may be redefined to reduce the size of the 54 // Maximum size of a file in bytes, may be redefined to limit to support other 63 // Maximum size of custom attributes in bytes, may be redefined, but there is 133 LFS_O_TRUNC = 0x0400, // Truncate the existing file to zero size 166 lfs_off_t off, void *buffer, lfs_size_t size); 172 lfs_off_t off, const void *buffer, lfs_size_t size); 194 // Minimum size of a block read in bytes. All read operations will be a 198 // Minimum size of a block program in bytes. All program operations will be 203 // and may be larger than the physical erase size 282 lfs_size_t size; global() member 323 lfs_size_t size; global() member 354 lfs_size_t size; global() member 389 lfs_size_t size; global() member 435 lfs_block_t size; global() member [all...] |
/third_party/mesa3d/src/gallium/drivers/virgl/tests/ |
H A D | virgl_staging_mgr_test.cpp | 39 uint32_t size; member 51 uint32_t flags, uint32_t size) in fake_resource_create() 59 hw_res->size = size; in fake_resource_create() 60 hw_res->data = CALLOC(size, 1); in fake_resource_create() 218 /* New resource with same size as old resource. */ in TEST_F() 220 EXPECT_EQ(out_resource[1]->size, out_resource[0]->size); in TEST_F() 250 /* New resource with same size as old resource. */ in TEST_F() 252 EXPECT_EQ(out_resource[1]->size, out_resourc in TEST_F() 44 fake_resource_create(struct virgl_winsys *vws, enum pipe_texture_target target, const void *map_front_private, uint32_t format, uint32_t bind, uint32_t width, uint32_t height, uint32_t depth, uint32_t array_size, uint32_t last_level, uint32_t nr_samples, uint32_t flags, uint32_t size) fake_resource_create() argument 318 failing_resource_create(struct virgl_winsys *vws, enum pipe_texture_target target, const void *map_front_private, uint32_t format, uint32_t bind, uint32_t width, uint32_t height, uint32_t depth, uint32_t array_size, uint32_t last_level, uint32_t nr_samples, uint32_t flags, uint32_t size) failing_resource_create() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | radeon_video.c | 65 unsigned size, unsigned usage) in rvid_create_buffer() 76 usage, size); in rvid_create_buffer() 93 unsigned bytes = MIN2(new_buf->res->buf->size, new_size); in rvid_resize_buffer() 135 buffer->res->buf->size, 0); in rvid_clear_buffer() 149 unsigned size, alignment; in rvid_join_surfaces() local 188 for (i = 0, size = 0, alignment = 0; i < VL_NUM_COMPONENTS; ++i) { in rvid_join_surfaces() 192 size = align(size, 1 << (*buffers[i])->alignment_log2); in rvid_join_surfaces() 193 size += (*buffers[i])->size; in rvid_join_surfaces() 64 rvid_create_buffer(struct pipe_screen *screen, struct rvid_buffer *buffer, unsigned size, unsigned usage) rvid_create_buffer() argument [all...] |
/third_party/mesa3d/src/gallium/frontends/va/ |
H A D | buffer.c | 40 unsigned int size, unsigned int num_elements, void *data, in vlVaCreateBuffer() 54 buf->size = size; in vlVaCreateBuffer() 56 buf->data = MALLOC(size * num_elements); in vlVaCreateBuffer() 64 memcpy(buf->data, data, size * num_elements); in vlVaCreateBuffer() 94 buf->data = REALLOC(buf->data, buf->size * buf->num_elements, in vlVaBufferSetNumElements() 95 buf->size * num_elements); in vlVaBufferSetNumElements() 156 ((VACodedBufferSegment*)buf->data)->size = buf->coded_size; in vlVaMapBuffer() 246 unsigned int *size, unsigned int *num_elements) in vlVaBufferInfo() 262 *size in vlVaBufferInfo() 39 vlVaCreateBuffer(VADriverContextP ctx, VAContextID context, VABufferType type, unsigned int size, unsigned int num_elements, void *data, VABufferID *buf_id) vlVaCreateBuffer() argument 245 vlVaBufferInfo(VADriverContextP ctx, VABufferID buf_id, VABufferType *type, unsigned int *size, unsigned int *num_elements) vlVaBufferInfo() argument [all...] |
/third_party/node/test/parallel/ |
H A D | test-fs-truncate.js | 42 assert.strictEqual(stat.size, 1024 * 16); 46 assert.strictEqual(stat.size, 1024); 50 assert.strictEqual(stat.size, 0); 57 assert.strictEqual(stat.size, 1024 * 16); 61 assert.strictEqual(stat.size, 1024); 65 assert.strictEqual(stat.size, 0); 83 assert.strictEqual(stat.size, 1024 * 16); 89 assert.strictEqual(stat.size, 1024); 95 assert.strictEqual(stat.size, 0); 110 assert.strictEqual(stat.size, 102 [all...] |
/third_party/node/deps/openssl/config/archs/linux-armv4/asm_avx2/crypto/ |
H A D | armv4cpuid.S | 48 .size OPENSSL_atomic_add,.-OPENSSL_atomic_add 87 .size OPENSSL_cleanse,.-OPENSSL_cleanse 117 .size CRYPTO_memcmp,.-CRYPTO_memcmp 129 .size _armv7_neon_probe,.-_armv7_neon_probe 140 .size _armv7_tick,.-_armv7_tick 151 .size _armv8_aes_probe,.-_armv8_aes_probe 162 .size _armv8_sha1_probe,.-_armv8_sha1_probe 173 .size _armv8_sha256_probe,.-_armv8_sha256_probe 183 .size _armv8_pmull_probe,.-_armv8_pmull_probe 225 .size OPENSSL_wipe_cp [all...] |
/third_party/node/deps/openssl/config/archs/linux-armv4/asm/crypto/ |
H A D | armv4cpuid.S | 48 .size OPENSSL_atomic_add,.-OPENSSL_atomic_add 87 .size OPENSSL_cleanse,.-OPENSSL_cleanse 117 .size CRYPTO_memcmp,.-CRYPTO_memcmp 129 .size _armv7_neon_probe,.-_armv7_neon_probe 140 .size _armv7_tick,.-_armv7_tick 151 .size _armv8_aes_probe,.-_armv8_aes_probe 162 .size _armv8_sha1_probe,.-_armv8_sha1_probe 173 .size _armv8_sha256_probe,.-_armv8_sha256_probe 183 .size _armv8_pmull_probe,.-_armv8_pmull_probe 225 .size OPENSSL_wipe_cp [all...] |
/third_party/node/deps/icu-small/source/tools/toolutil/ |
H A D | toolutil.cpp | 12 * tab size: 8 (not used) 268 int32_t capacity, maxCapacity, size, idx; member 274 utm_open(const char *name, int32_t initialCapacity, int32_t maxCapacity, int32_t size) { in utm_open() argument 281 mem=(UToolMemory *)uprv_malloc(sizeof(UToolMemory)+initialCapacity*size); in utm_open() 291 mem->size=size; in utm_open() 339 mem->array=uprv_malloc(newCapacity*mem->size); in utm_hasCapacity() 341 uprv_memcpy(mem->array, mem->staticArray, (size_t)mem->idx*mem->size); in utm_hasCapacity() 344 mem->array=uprv_realloc(mem->array, newCapacity*mem->size); in utm_hasCapacity() 363 p=(char *)mem->array+oldIndex*mem->size; in utm_alloc() [all...] |
/third_party/mesa3d/src/virtio/venus-protocol/ |
H A D | vn_protocol_driver_shader_module.h | 26 size_t size = 0; in vn_sizeof_VkShaderModuleCreateInfo_self() local 28 size += vn_sizeof_VkFlags(&val->flags); in vn_sizeof_VkShaderModuleCreateInfo_self() 29 size += vn_sizeof_size_t(&val->codeSize); in vn_sizeof_VkShaderModuleCreateInfo_self() 31 size += vn_sizeof_array_size(val->codeSize / 4); in vn_sizeof_VkShaderModuleCreateInfo_self() 32 size += vn_sizeof_uint32_t_array(val->pCode, val->codeSize / 4); in vn_sizeof_VkShaderModuleCreateInfo_self() 34 size += vn_sizeof_array_size(0); in vn_sizeof_VkShaderModuleCreateInfo_self() 36 return size; in vn_sizeof_VkShaderModuleCreateInfo_self() 42 size_t size = 0; in vn_sizeof_VkShaderModuleCreateInfo() local 44 size += vn_sizeof_VkStructureType(&val->sType); in vn_sizeof_VkShaderModuleCreateInfo() 45 size in vn_sizeof_VkShaderModuleCreateInfo() [all...] |
H A D | vn_protocol_driver_buffer_view.h | 26 size_t size = 0; in vn_sizeof_VkBufferViewCreateInfo_self() local 28 size += vn_sizeof_VkFlags(&val->flags); in vn_sizeof_VkBufferViewCreateInfo_self() 29 size += vn_sizeof_VkBuffer(&val->buffer); in vn_sizeof_VkBufferViewCreateInfo_self() 30 size += vn_sizeof_VkFormat(&val->format); in vn_sizeof_VkBufferViewCreateInfo_self() 31 size += vn_sizeof_VkDeviceSize(&val->offset); in vn_sizeof_VkBufferViewCreateInfo_self() 32 size += vn_sizeof_VkDeviceSize(&val->range); in vn_sizeof_VkBufferViewCreateInfo_self() 33 return size; in vn_sizeof_VkBufferViewCreateInfo_self() 39 size_t size = 0; in vn_sizeof_VkBufferViewCreateInfo() local 41 size += vn_sizeof_VkStructureType(&val->sType); in vn_sizeof_VkBufferViewCreateInfo() 42 size in vn_sizeof_VkBufferViewCreateInfo() [all...] |
/third_party/icu/icu4c/source/tools/toolutil/ |
H A D | toolutil.cpp | 12 * tab size: 8 (not used) 268 int32_t capacity, maxCapacity, size, idx; member 274 utm_open(const char *name, int32_t initialCapacity, int32_t maxCapacity, int32_t size) { in utm_open() argument 281 mem=(UToolMemory *)uprv_malloc(sizeof(UToolMemory)+initialCapacity*size); in utm_open() 291 mem->size=size; in utm_open() 339 mem->array=uprv_malloc(newCapacity*mem->size); in utm_hasCapacity() 341 uprv_memcpy(mem->array, mem->staticArray, (size_t)mem->idx*mem->size); in utm_hasCapacity() 344 mem->array=uprv_realloc(mem->array, newCapacity*mem->size); in utm_hasCapacity() 363 p=(char *)mem->array+oldIndex*mem->size; in utm_alloc() [all...] |
/third_party/libfuse/lib/ |
H A D | buffer.c | 25 size_t size = 0; in fuse_buf_size() local 28 if (bufv->buf[i].size == SIZE_MAX) in fuse_buf_size() 29 size = SIZE_MAX; in fuse_buf_size() 31 size += bufv->buf[i].size; in fuse_buf_size() 34 return size; in fuse_buf_size() 116 .size = sizeof(buf), in fuse_buf_fd_to_fd() 125 size_t this_len = min_size(tmp.size, len); in fuse_buf_fd_to_fd() 273 assert(bufv->off <= buf->size); in fuse_bufvec_advance() 274 if (bufv->off == buf->size) { in fuse_bufvec_advance() [all...] |
/third_party/node/deps/v8/src/heap/cppgc/ |
H A D | heap-object-header.h | 44 // | size | 15 | 17 bits because allocations are aligned. | 50 // - |size| for regular objects is encoded with 15 bits but can actually 54 // - |size| for large objects is encoded as 0. The size of a large object is 67 inline HeapObjectHeader(size_t size, GCInfoIndex gc_info_index); 79 inline void SetAllocatedSize(size_t size); 136 static constexpr uint16_t EncodeSize(size_t size) { in EncodeSize() argument 138 return SizeField::encode(size / kAllocationGranularity); in EncodeSize() 179 HeapObjectHeader::HeapObjectHeader(size_t size, GCInfoIndex gc_info_index) { in HeapObjectHeader() argument 184 DCHECK_EQ(0u, size in HeapObjectHeader() 227 const size_t size = DecodeSize(encoded_low_value); AllocatedSize() local 231 SetAllocatedSize(size_t size) SetAllocatedSize() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_program_cache.c | 48 uint16_t size; member 61 keybox->size = key_size; in make_keybox() 71 return _mesa_hash_data(&key->cache_id, key->size + sizeof(key->cache_id)); in keybox_hash() 78 if (a->size != b->size) in keybox_equals() 81 return memcmp(a->data, b->data, a->size) == 0; in keybox_equals() 170 crocus_alloc_item_data(struct crocus_context *ice, uint32_t size) in crocus_alloc_item_data() argument 172 if (ice->shaders.cache_next_offset + size > ice->shaders.cache_bo->size) { in crocus_alloc_item_data() 173 uint32_t new_size = ice->shaders.cache_bo->size * in crocus_alloc_item_data() [all...] |
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_ring.c | 42 vn_ring_write_buffer(struct vn_ring *ring, const void *data, uint32_t size) in vn_ring_write_buffer() argument 44 assert(ring->cur + size - vn_ring_load_head(ring) <= ring->buffer_size); in vn_ring_write_buffer() 47 if (offset + size <= ring->buffer_size) { in vn_ring_write_buffer() 48 memcpy(ring->shared.buffer + offset, data, size); in vn_ring_write_buffer() 52 memcpy(ring->shared.buffer, data + s, size - s); in vn_ring_write_buffer() 55 ring->cur += size; in vn_ring_write_buffer() 106 uint32_t size, in vn_ring_has_space() 110 if (likely(ring->cur + size - head <= ring->buffer_size)) { in vn_ring_has_space() 119 vn_ring_wait_space(const struct vn_ring *ring, uint32_t size) in vn_ring_wait_space() argument 121 assert(size < in vn_ring_wait_space() 105 vn_ring_has_space(const struct vn_ring *ring, uint32_t size, uint32_t *out_head) vn_ring_has_space() argument [all...] |
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/ |
H A D | pb_cache.c | 48 mgr->cache_size -= buf->size; in destroy_buffer_locked() 99 if (mgr->cache_size + buf->size > mgr->max_cache_size) { in pb_cache_add_buffer() 109 mgr->cache_size += buf->size; in pb_cache_add_buffer() 120 pb_size size, unsigned alignment, unsigned usage) in pb_cache_is_buffer_compat() 128 /* be lenient with size */ in pb_cache_is_buffer_compat() 129 if (buf->size < size || in pb_cache_is_buffer_compat() 130 buf->size > (unsigned) (mgr->size_factor * size)) in pb_cache_is_buffer_compat() 147 pb_cache_reclaim_buffer(struct pb_cache *mgr, pb_size size, in pb_cache_reclaim_buffer() argument 119 pb_cache_is_buffer_compat(struct pb_cache_entry *entry, pb_size size, unsigned alignment, unsigned usage) pb_cache_is_buffer_compat() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | armv4cpuid.pl | 72 .size OPENSSL_atomic_add,.-OPENSSL_atomic_add 111 .size OPENSSL_cleanse,.-OPENSSL_cleanse 141 .size CRYPTO_memcmp,.-CRYPTO_memcmp 153 .size _armv7_neon_probe,.-_armv7_neon_probe 164 .size _armv7_tick,.-_armv7_tick 175 .size _armv8_aes_probe,.-_armv8_aes_probe 186 .size _armv8_sha1_probe,.-_armv8_sha1_probe 197 .size _armv8_sha256_probe,.-_armv8_sha256_probe 207 .size _armv8_pmull_probe,.-_armv8_pmull_probe 249 .size OPENSSL_wipe_cp [all...] |
/third_party/node/deps/openssl/openssl/crypto/bn/ |
H A D | bn_ctx.c | 16 /* The stack frame info is resizing, set a first-time expansion size; */ 34 /* Stack depth and allocation size */ 35 unsigned used, size; member 50 /* Number of stack frames, and the size of the allocated array */ 51 unsigned int depth, size; member 164 "BN_CTX_free(): stack-size=%d, pool-bignums=%d\n", in BN_CTX_free() 165 ctx->stack.size, ctx->pool.size); in BN_CTX_free() 253 st->depth = st->size = 0; in BN_STACK_init() 265 if (st->depth == st->size) { in BN_STACK_push() [all...] |
/third_party/openssl/crypto/bn/ |
H A D | bn_ctx.c | 16 /* The stack frame info is resizing, set a first-time expansion size; */ 34 /* Stack depth and allocation size */ 35 unsigned used, size; member 50 /* Number of stack frames, and the size of the allocated array */ 51 unsigned int depth, size; member 164 "BN_CTX_free(): stack-size=%d, pool-bignums=%d\n", in BN_CTX_free() 165 ctx->stack.size, ctx->pool.size); in BN_CTX_free() 253 st->depth = st->size = 0; in BN_STACK_init() 265 if (st->depth == st->size) { in BN_STACK_push() [all...] |
/third_party/openssl/crypto/ |
H A D | armv4cpuid.pl | 72 .size OPENSSL_atomic_add,.-OPENSSL_atomic_add 111 .size OPENSSL_cleanse,.-OPENSSL_cleanse 141 .size CRYPTO_memcmp,.-CRYPTO_memcmp 153 .size _armv7_neon_probe,.-_armv7_neon_probe 164 .size _armv7_tick,.-_armv7_tick 175 .size _armv8_aes_probe,.-_armv8_aes_probe 186 .size _armv8_sha1_probe,.-_armv8_sha1_probe 197 .size _armv8_sha256_probe,.-_armv8_sha256_probe 207 .size _armv8_pmull_probe,.-_armv8_pmull_probe 249 .size OPENSSL_wipe_cp [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/cl/ |
H A D | CLKernelCL.cpp | 72 size_t size = 0u; in GetArgString() local 74 nullptr, &size); in GetArgString() 84 std::vector<char> valString(size, '\0'); in GetArgString() 85 errorCode = kernel->getDispatch().clGetKernelArgInfo(kernel, index, cl::ToCLenum(name), size, in GetArgString() 91 string.assign(valString.data(), valString.size() - 1u); in GetArgString() 97 size_t size = 0u; in GetKernelString() local 99 kernel->getDispatch().clGetKernelInfo(kernel, cl::ToCLenum(name), 0u, nullptr, &size); in GetKernelString() 104 std::vector<char> valString(size, '\0'); in GetKernelString() 105 errorCode = kernel->getDispatch().clGetKernelInfo(kernel, cl::ToCLenum(name), size, in GetKernelString() 111 string.assign(valString.data(), valString.size() in GetKernelString() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | CallingConvLower.cpp | 41 /// The size and alignment information of the argument is encoded in 88 unsigned NumArgs = Ins.size(); in AnalyzeFormalArguments() 103 for (unsigned i = 0, e = Outs.size(); i != e; ++i) { in CheckReturn() 117 for (unsigned i = 0, e = Outs.size(); i != e; ++i) { in AnalyzeReturn() 129 unsigned NumOps = Outs.size(); in AnalyzeCallOperands() 147 unsigned NumOps = ArgVTs.size(); in AnalyzeCallOperands() 165 for (unsigned i = 0, e = Ins.size(); i != e; ++i) { in AnalyzeCallResult() 203 unsigned NumLocs = Locs.size(); in getRemainingRegParmsForType() 225 assert(NumLocs < Locs.size() && "CC assignment failed to add location"); in getRemainingRegParmsForType() 226 for (unsigned I = NumLocs, E = Locs.size(); in getRemainingRegParmsForType() [all...] |