/third_party/node/deps/v8/third_party/zlib/ |
H A D | crc32.c | 517 ZLIB_INTERNAL void copy_with_crc(z_streamp strm, Bytef *dst, long size) in copy_with_crc() argument 521 crc_fold_copy(strm->state, dst, strm->next_in, size); in copy_with_crc() 525 zmemcpy(dst, strm->next_in, size); in copy_with_crc() 526 strm->adler = crc32(strm->adler, dst, size); in copy_with_crc()
|
/third_party/node/deps/v8/src/zone/ |
H A D | zone-containers.h | 34 // Constructs a new vector and fills it with {size} elements, each 36 ZoneVector(size_t size, Zone* zone) in ZoneVector() argument 37 : std::vector<T, ZoneAllocator<T>>(size, T(), ZoneAllocator<T>(zone)) {} in ZoneVector() 39 // Constructs a new vector and fills it with {size} elements, each 41 ZoneVector(size_t size, T def, Zone* zone) in ZoneVector() argument 42 : std::vector<T, ZoneAllocator<T>>(size, def, ZoneAllocator<T>(zone)) {} in ZoneVector()
|
/third_party/node/deps/v8/tools/ |
H A D | avg.py | 101 return "[{0:>{1}}/{2}]".format(msrmnt.size(), len(rep_string), rep_string) 138 return format_line(self.size(), self.key, fmt(self.average), 156 def size(self): member in Measurement 161 points=len("{}".format(self.size())) + 2,
|
/third_party/node/src/ |
H A D | node_process_object.cc | 39 NewStringType::kNormal, title.size()) in ProcessTitleGetter() 135 OneByteString(isolate, version.first.data(), version.first.size()), in CreateProcessObject() 137 isolate, version.second.data(), version.second.size()), in CreateProcessObject() 232 env->exec_path().size()) in PatchProcessObject()
|
/third_party/nghttp2/src/ |
H A D | deflatehd.cc | 96 json_object_set_new(obj, "wire", json_pack("s#", hex.data(), hex.size())); in output_to_json() 98 json_object_set_new(obj, "headers", dump_headers(nva.data(), nva.size())); in output_to_json() 100 // We only change the header table size only once at the beginning in output_to_json() 119 rv = nghttp2_hd_deflate_hd(deflater, buf.data(), buf.size(), in deflate_hd() 120 (nghttp2_nv *)nva.data(), nva.size()); in deflate_hd() 363 -s, --table-size=<N> in print_help() 364 Set dynamic table size. In the HPACK in print_help() 368 -S, --deflate-table-size=<N> in print_help() 379 {"table-size", required_argument, nullptr, 's'}, 380 {"deflate-table-size", required_argumen [all...] |
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_nir_lower_cs_intrinsics.c | 223 nir_ssa_def *size; in lower_cs_intrinsics_convert_block() local 229 size = nir_imul(b, nir_imul(b, size_x, size_y), size_z); in lower_cs_intrinsics_convert_block() 231 size = nir_imm_int(b, nir->info.workgroup_size[0] * in lower_cs_intrinsics_convert_block() 239 nir_udiv(b, nir_iadd_imm(b, nir_iadd(b, size, simd_width), -1), in lower_cs_intrinsics_convert_block()
|
/third_party/mesa3d/src/mesa/vbo/ |
H A D | vbo_exec_eval.c | 145 exec->vtx.attr[attr].size, in vbo_exec_do_EvalCoord1f() 195 exec->vtx.attr[attr].size, in vbo_exec_do_EvalCoord2f() 234 exec->vtx.attr[VBO_ATTRIB_NORMAL].size, in vbo_exec_do_EvalCoord2f() 244 if (exec->vtx.attr[VBO_ATTRIB_POS].size == 4) in vbo_exec_do_EvalCoord2f()
|
/third_party/node/deps/npm/node_modules/cacache/lib/ |
H A D | entry-index.js | 112 const { metadata, size, time } = opts 118 size, 316 size: entry.size,
|
/third_party/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_screen.c | 197 int size, ret; in nouveau_screen_init() local 227 size = sizeof(nv04_data); in nouveau_screen_init() 230 size = sizeof(nvc0_data); in nouveau_screen_init() 238 * driver bo allocations. Let's just base the size on the available VRAM. in nouveau_screen_init() 243 * Also we align the size we want to reserve to the next POT to make use in nouveau_screen_init() 297 data, size, &screen->channel); in nouveau_screen_init()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
H A D | nv30_vertprog.c | 92 unsigned nr_reloc = vp->branch_relocs.size / sizeof(*reloc); in nv30_vertprog_validate() 96 while (heap->next && heap->size < vp->nr_insns) { in nv30_vertprog_validate() 135 unsigned nr_reloc = vp->const_relocs.size / sizeof(*reloc); in nv30_vertprog_validate() 139 while (heap->next && heap->size < vp->nr_consts) { in nv30_vertprog_validate()
|
/third_party/libevdev/libevdev/ |
H A D | libevdev-int.h | 87 size_t queue_size; /**< size of queue in elements */ 217 queue_alloc(struct libevdev *dev, size_t size) in queue_alloc() argument 219 if (size == 0) in queue_alloc() 222 dev->queue = calloc(size, sizeof(struct input_event)); in queue_alloc() 226 dev->queue_size = size; in queue_alloc()
|
/third_party/ltp/testcases/network/stress/ns-tools/ |
H A D | ns-common.c | 81 * This function maximize the send and receive buffer size of a socket 98 int bufsiz; /* buffer size of socket */ in maximize_sockbuf() 99 unsigned int optlen; /* size of sd option parameter */ in maximize_sockbuf() 127 fprintf(stderr, "socket %s size is %d\n", bufname[idx], in maximize_sockbuf() 141 * size: target data size 146 u_int16_t calc_checksum(u_int16_t * data, size_t size) in calc_checksum() argument 154 for (rest = size; rest > 1; rest -= 2) in calc_checksum() 175 * size: payload size 180 fill_payload(unsigned char *payload_p, size_t size) fill_payload() argument [all...] |
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | ssa.c | 86 if (a->size != b->size || a->offset != b->offset) in same_memop() 229 if (insn->size != def->size) in matching_load()
|
/third_party/lz4/tests/ |
H A D | freestanding.c | 46 #define LZ4_memmove(dst, src, size) memmove((dst),(src),(size)) 47 #define LZ4_memcpy(dst, src, size) memcpy((dst),(src),(size))
|
/third_party/node/deps/v8/src/codegen/ |
H A D | assembler.h | 200 virtual int size() const = 0; 212 int size); 214 // Allocate a new growable AssemblerBuffer with a given initial size. 216 std::unique_ptr<AssemblerBuffer> NewAssemblerBuffer(int size); 282 int buffer_size() const { return buffer_->size(); } in buffer_size() 345 // The minimum buffer size. Should be at least two times the platform-specific 349 // The default buffer size used if we do not know the final size of the
|
/third_party/node/deps/v8/src/heap/cppgc/ |
H A D | heap-page.h | 47 // Returns the size of live objects on the page at the last GC. 121 const size_t size = p_->AllocatedSize(); in operator ++() local 122 DCHECK_EQ(0, (size & (sizeof(T) - 1))); in operator ++() 123 p_ += (size / sizeof(T)); in operator ++() 215 // Returns the allocation size required for a payload of size |size|. 216 static size_t AllocationSize(size_t size);
|
/third_party/node/deps/v8/src/snapshot/embedded/ |
H A D | embedded-data.h | 262 // The variable-size data section starts here. 288 static constexpr int PadAndAlignCode(int size) { in PadAndAlignCode() argument 291 return RoundUp<kCodeAlignment>(size + 1); in PadAndAlignCode() 293 static constexpr int PadAndAlignData(int size) { in PadAndAlignData() argument 296 return RoundUp<Code::kMetadataAlignment>(size); in PadAndAlignData()
|
/third_party/node/deps/v8/src/torque/ |
H A D | cfg.cc | 119 DCHECK_EQ(lowered_types.size(), range.Size()); in Peek() 137 DCHECK_EQ(lowered_types.size(), origin.Size()); in Poke() 173 DCHECK_LT(successor->id(), count.size()); in CountBlockPredecessors() 197 DCHECK_GT(destination->instructions().size(), 0); in OptimizeCfg()
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
H A D | lima_context.c | 71 unsigned size) in lima_ctx_buff_alloc() 76 cbs->size = align(size, 0x40); in lima_ctx_buff_alloc() 78 u_upload_alloc(ctx->uploader, 0, cbs->size, 0x40, &cbs->offset, in lima_ctx_buff_alloc() 249 /* growable size buffer, initially will allocate 32K (by default) in lima_context_create() 256 /* fix size buffer */ in lima_context_create() 70 lima_ctx_buff_alloc(struct lima_context *ctx, enum lima_ctx_buff buff, unsigned size) lima_ctx_buff_alloc() argument
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | pixelshader9.c | 80 This->byte_code.size = info.byte_size; in NinePixelShader9_ctor() 160 *pSizeOfData = This->byte_code.size; in NinePixelShader9_GetFunction() 163 user_assert(*pSizeOfData >= This->byte_code.size, D3DERR_INVALIDCALL); in NinePixelShader9_GetFunction() 165 memcpy(pData, This->byte_code.tokens, This->byte_code.size); in NinePixelShader9_GetFunction()
|
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_object.c | 58 size_t size, in vk_object_alloc() 61 void *ptr = vk_alloc2(&device->alloc, alloc, size, 8, in vk_object_alloc() 74 size_t size, in vk_object_zalloc() 77 void *ptr = vk_zalloc2(&device->alloc, alloc, size, 8, in vk_object_zalloc() 56 vk_object_alloc(struct vk_device *device, const VkAllocationCallbacks *alloc, size_t size, VkObjectType obj_type) vk_object_alloc() argument 72 vk_object_zalloc(struct vk_device *device, const VkAllocationCallbacks *alloc, size_t size, VkObjectType obj_type) vk_object_zalloc() argument
|
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir_inlines.h | 106 static inline DataType typeOfSize(unsigned int size, in typeOfSize() argument 109 switch (size) { in typeOfSize() 172 return value ? value->reg.size : 0; in getSize() 194 return value ? value->reg.size : 0; in getSize()
|
/third_party/mesa3d/src/util/ |
H A D | u_debug.c | 106 debug_print_blob(const char *name, const void *blob, unsigned size) in debug_print_blob() argument 111 debug_printf("%s (%d dwords%s)\n", name, size/4, in debug_print_blob() 112 size%4 ? "... plus a few bytes" : ""); in debug_print_blob() 114 for (i = 0; i < size/4; i++) { in debug_print_blob()
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_vertex_buffers.c | 212 unsigned i, size; in vl_vb_init() local 219 size = width * height; in vl_vb_init() 227 sizeof(struct vl_ycbcr_block) * size * 4 in vl_vb_init() 239 sizeof(struct vl_motionvector) * size in vl_vb_init()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_video_encoder_references_manager_h264.cpp | 86 assert(m_CurrentFrameReferencesData.pReferenceFramesReconPictureDescriptors.size() < UINT32_MAX); in get_current_frame_picture_control_data() 160 needsL0List ? static_cast<uint32_t>(m_CurrentFrameReferencesData.pReferenceFramesReconPictureDescriptors.size()) : in get_current_frame_picture_control_data() 279 dpbResIdx < m_CurrentFrameReferencesData.pReferenceFramesReconPictureDescriptors.size(); in update_fifo_dpb_push_front_cur_recon_pic() 345 dpbResIdx < m_CurrentFrameReferencesData.pReferenceFramesReconPictureDescriptors.size(); in print_dpb()
|