/third_party/node/src/ |
H A D | node_wasm_web_api.cc | 54 // v8::WasmStreaming is opaque. We assume that the size of the WebAssembly in MemoryInfo() 103 // of the ArrayBuffer(View) within the memory section, and its size in bytes. in Push() 106 size_t size; in Push() local 112 size = view->ByteLength(); in Push() 117 size = buffer->ByteLength(); in Push() 126 size); in Push() 127 obj->wasm_size_ += size; in Push()
|
/third_party/node/src/quic/ |
H A D | transportparams.cc | 124 ssize_t size = ngtcp2_encode_transport_params( in Encode() local 127 DCHECK_GT(size, 0); in Encode() 129 auto result = ArrayBuffer::NewBackingStore(env->isolate(), size); in Encode() 133 size, in Encode() 142 return Store(std::move(result), static_cast<size_t>(size)); in Encode()
|
/third_party/musl/porting/linux/user/src/env/ |
H A D | __init_tls.c | 113 main_tls.size = tls_phdr->p_memsz; in static_init_tls() 119 main_tls.size += (-main_tls.size - (uintptr_t)main_tls.image) in static_init_tls() 126 main_tls.offset = main_tls.size; in static_init_tls() 135 + main_tls.size + main_tls.align in static_init_tls()
|
/third_party/musl/src/env/ |
H A D | __init_tls.c | 147 main_tls.size = tls_phdr->p_memsz; in static_init_tls() 153 main_tls.size += (-main_tls.size - (uintptr_t)main_tls.image) in static_init_tls() 160 main_tls.offset = main_tls.size; in static_init_tls() 169 + main_tls.size + main_tls.align in static_init_tls()
|
/third_party/musl/porting/liteos_a/user/src/env/ |
H A D | __init_tls.c | 140 main_tls.size = tls_phdr->p_memsz; in static_init_tls() 146 main_tls.size += (-main_tls.size - (uintptr_t)main_tls.image) in static_init_tls() 153 main_tls.offset = main_tls.size; in static_init_tls() 162 + main_tls.size + main_tls.align in static_init_tls()
|
/third_party/node/deps/icu-small/source/common/ |
H A D | dictionarydata.cpp | 170 int32_t i, offset, size; in udict_swap() local 203 size = indexes[DictionaryData::IX_TOTAL_SIZE]; in udict_swap() 206 if (length < size) { in udict_swap() 213 uprv_memcpy(outBytes, inBytes, size); in udict_swap() 240 return headerSize + size; in udict_swap()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_shader_cache.c | 58 prog->driver_cache_blob = ralloc_size(NULL, blob->size); in copy_blob_to_driver_cache_blob() 59 memcpy(prog->driver_cache_blob, blob->data, blob->size); in copy_blob_to_driver_cache_blob() 60 prog->driver_cache_blob_size = blob->size; in copy_blob_to_driver_cache_blob() 146 size_t size = prog->driver_cache_blob_size; in st_deserialise_nir_program() local 160 blob_reader_init(&blob_reader, buffer, size); in st_deserialise_nir_program()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | glthread.h | 27 /* The size of one batch and the maximum size of one call. 249 GLsizeiptr size, unsigned *out_offset, 275 GLint size, GLenum type, GLsizei stride, 279 GLint size, GLenum type, GLsizei stride, 282 GLint size, GLenum type, GLuint relativeoffset); 284 GLuint attribindex, GLint size, GLenum type,
|
/third_party/libdrm/tests/modetest/ |
H A D | buffers.c | 47 size_t size; member 85 bo->size = arg.size; in bo_create_dumb() 104 map = drm_mmap(0, bo->size, PROT_READ | PROT_WRITE, MAP_SHARED, in bo_map() 120 drm_munmap(bo->ptr, bo->size); in bo_unmap()
|
/third_party/libfuse/example/ |
H A D | invalidate_path.c | 16 * * 'growing', whose size changes dynamically, growing 135 static int xmp_read(const char *path, char *buf, size_t size, off_t offset, in xmp_read() argument 141 int to_copy = offset + size <= file_length in xmp_read() 142 ? size in xmp_read() 148 int to_copy = offset + size <= grow_file_size in xmp_read() 149 ? size in xmp_read()
|
/third_party/ltp/testcases/kernel/syscalls/mremap/ |
H A D | mremap05.c | 119 static void free_test_area(void *p, int size) in free_test_area() argument 121 SAFE_MUNMAP(cleanup, p, size); in free_test_area() 124 static void *get_test_area(int size, int free_area) in get_test_area() argument 127 p = mmap(NULL, size, PROT_READ | PROT_WRITE, in get_test_area() 132 free_test_area(p, size); in get_test_area()
|
/third_party/node/deps/v8/src/heap/ |
H A D | heap-allocator-inl.h | 214 int size, AllocationType allocation, AllocationOrigin origin, in AllocateRawWith() 219 result = AllocateRaw<AllocationType::kYoung>(size, origin, alignment); in AllocateRawWith() 224 result = AllocateRaw<AllocationType::kOld>(size, origin, alignment); in AllocateRawWith() 231 result = AllocateRawWithLightRetrySlowPath(size, allocation, origin, in AllocateRawWith() 235 result = AllocateRawWithRetryOrFailSlowPath(size, allocation, origin, in AllocateRawWith() 213 AllocateRawWith( int size, AllocationType allocation, AllocationOrigin origin, AllocationAlignment alignment) AllocateRawWith() argument
|
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/ |
H A D | pb_slab.c | 33 /* All slab allocations from the same heap and with the same size belong 109 /* Allocate a slab entry of the given size from the given heap. 119 pb_slab_alloc_reclaimed(struct pb_slabs *slabs, unsigned size, unsigned heap, bool reclaim_all) in pb_slab_alloc_reclaimed() argument 121 unsigned order = MAX2(slabs->min_order, util_logbase2_ceil(size)); in pb_slab_alloc_reclaimed() 129 /* If the size is <= 3/4 of the entry size, use a slab with entries using in pb_slab_alloc_reclaimed() 132 if (slabs->allow_three_fourths_allocations && size <= entry_size * 3 / 4) { in pb_slab_alloc_reclaimed() 193 pb_slab_alloc(struct pb_slabs *slabs, unsigned size, unsigned heap) in pb_slab_alloc() argument 195 return pb_slab_alloc_reclaimed(slabs, size, heap, false); in pb_slab_alloc() 228 * The minimum and maximum size o [all...] |
/third_party/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_cl.h | 63 uint32_t size; member 97 assert(cl_offset(cl) <= cl->size); in cl_end() 219 void cl_ensure_space(struct vc4_cl *cl, uint32_t size); 227 cl_get_emit_space(struct vc4_cl_out **cl, size_t size) in cl_get_emit_space() argument 230 cl_advance(cl, size); in cl_get_emit_space()
|
/third_party/node/deps/openssl/openssl/providers/implementations/macs/ |
H A D | blake2_mac_impl.c | 198 size_t size; in blake2_mac_set_ctx_params() local 200 if (!OSSL_PARAM_get_size_t(p, &size) in blake2_mac_set_ctx_params() 201 || size < 1 in blake2_mac_set_ctx_params() 202 || size > BLAKE2_OUTBYTES) { in blake2_mac_set_ctx_params() 206 BLAKE2_PARAM_SET_DIGEST_LENGTH(&macctx->params, (uint8_t)size); in blake2_mac_set_ctx_params()
|
/third_party/qrcodegen/rust/examples/ |
H A D | qrcodegen-demo.rs | 141 // Creates QR Codes with the same size and contents but different mask patterns. 174 let dimension = qr.size().checked_add(border.checked_mul(2).unwrap()).unwrap(); in to_svg_string() 179 for y in 0 .. qr.size() { in to_svg_string() 180 for x in 0 .. qr.size() { in to_svg_string() 198 for y in -border .. qr.size() + border { in print_qr() 199 for x in -border .. qr.size() + border { in print_qr()
|
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
H A D | Any.cs | 287 int size = 0; in CalculateSize() 289 size += 1 + pb::CodedOutputStream.ComputeStringSize(TypeUrl); in CalculateSize() 292 size += 1 + pb::CodedOutputStream.ComputeBytesSize(Value); in CalculateSize() 295 size += _unknownFields.CalculateSize(); in CalculateSize() 297 return size; in CalculateSize()
|
H A D | Duration.cs | 249 int size = 0; in CalculateSize() 251 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Seconds); in CalculateSize() 254 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Nanos); in CalculateSize() 257 size += _unknownFields.CalculateSize(); in CalculateSize() 259 return size; in CalculateSize()
|
H A D | Timestamp.cs | 270 int size = 0; in CalculateSize() 272 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Seconds); in CalculateSize() 275 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Nanos); in CalculateSize() 278 size += _unknownFields.CalculateSize(); in CalculateSize() 280 return size; in CalculateSize()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
H A D | vktYCbCrImageOffsetTests.cpp | 70 const UVec2& size) in createImage() 79 vk::makeExtent3D(size.x(), size.y(), 1u), in createImage() 114 const VkDeviceSize offset = deAlign64(reqs.size, reqs.alignment); in imageOffsetTest() 115 reqs.size *= 2; in imageOffsetTest() 67 createImage(const vk::DeviceInterface& vkd, vk::VkDevice device, vk::VkFormat format, const UVec2& size) createImage() argument
|
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/containers/ |
H A D | mru_cache.h | 78 // The max_size is the size at which the cache will prune its members to when 81 // can pass NO_AUTO_EVICT to not restrict the cache size. 107 // size: kick the oldest thing out if necessary. in Put() 179 for (size_type i = size(); i > new_size; i--) in ShrinkToSize() 191 size_type size() const in size() function in angle::base::MRUCacheBase 193 // We don't use ordering_.size() for the return value because in size() 195 DCHECK(index_.size() == ordering_.size()); in size() 196 return index_.size(); in size()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/ |
H A D | RemoveSwitchFallThrough.cpp | 158 for (size_t i = startIndex; i < sequence->size(); ++i) in outputSequence() 170 for (size_t i = 0; i < mCasesSharingBreak.size(); ++i) in handlePreviousCase() 173 if (mCasesSharingBreak.at(i)->getSequence()->size() == 1) in handlePreviousCase() 181 if (mCasesSharingBreak.size() > i + 1u) in handlePreviousCase() 188 for (size_t j = i; j < mCasesSharingBreak.size(); ++j) in handlePreviousCase()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
H A D | VertexDeclarationCache.cpp | 56 ASSERT(gl::MAX_VERTEX_ATTRIBS >= attributes.size()); in applyDeclaration() 60 const size_t invalidAttribIndex = attributes.size(); in applyDeclaration() 66 for (size_t i = 0; i < attributes.size(); ++i) in applyDeclaration() 81 for (size_t i = 0; i < attributes.size(); i++) in applyDeclaration() 113 for (size_t i = 0; i < attributes.size(); i++) in applyDeclaration()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFGdbIndex.cpp | 28 CuListOffset, (uint64_t)CuList.size()) in dumpCUList() 38 TuListOffset, TuList.size()); in dumpTUList() 48 AddressAreaOffset, (uint64_t)AddressArea.size()) in dumpAddressArea() 58 OS << format("\n Symbol table offset = 0x%x, size = %" PRId64 in dumpSymbolTable() 60 SymbolTableOffset, (uint64_t)SymbolTable.size()) in dumpSymbolTable() 88 ConstantPoolOffset, (uint64_t)ConstantPoolVectors.size()); in dumpConstantPool() 159 // The symbol table. This is an open addressed hash table. The size of the in parseImpl()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
H A D | LLVMContextImpl.cpp | 131 MDVs.reserve(MetadataAsValues.size()); in ~LLVMContextImpl() 200 uint32_t NewIdx = BundleTagCache.size(); in getOrInsertBundleTag() 205 Tags.resize(BundleTagCache.size()); in getOperandBundleTags() 217 auto NewSSID = SSC.size(); in getOrInsertSyncScopeID() 225 SSNs.resize(SSC.size());
|