Home
last modified time | relevance | path

Searched refs:data_size (Results 1 – 25 of 91) sorted by relevance

1234

/openbsd-src/gnu/gcc/gcc/
H A Dvarray.c121 size_t data_size = num_elements * element[element_kind].size; in varray_init() local
127 desc->allocated += data_size + VARRAY_HDR_SIZE; in varray_init()
130 ptr = ggc_alloc_cleared (VARRAY_HDR_SIZE + data_size); in varray_init()
132 ptr = xcalloc (VARRAY_HDR_SIZE + data_size, 1); in varray_init()
151 size_t data_size = n * elem_size; in varray_grow() local
156 if (data_size > old_data_size) in varray_grow()
157 desc->allocated += data_size - old_data_size; in varray_grow()
163 va = ggc_realloc (va, VARRAY_HDR_SIZE + data_size); in varray_grow()
165 va = xrealloc (va, VARRAY_HDR_SIZE + data_size); in varray_grow()
168 memset (&va->data.vdt_c[old_data_size], 0, data_size - old_data_size); in varray_grow()
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dvarray.c68 size_t data_size = num_elements * element_size[element_kind]; local
71 ptr = (varray_type) ggc_alloc_cleared (VARRAY_HDR_SIZE + data_size);
73 ptr = (varray_type) xcalloc (VARRAY_HDR_SIZE + data_size, 1);
95 size_t data_size = n * elem_size; local
98 va = (varray_type) ggc_realloc (va, VARRAY_HDR_SIZE + data_size);
100 va = (varray_type) xrealloc ((char *) va, VARRAY_HDR_SIZE + data_size);
103 memset (&va->data.c[old_data_size], 0, data_size - old_data_size);
114 size_t data_size = element_size[va->type] * va->num_elements; local
116 memset (va->data.c, 0, data_size);
/openbsd-src/sys/dev/fdt/
H A Dqcscm.c380 uint32_t data_size; member
389 uint32_t data_size; member
395 uint32_t *attributes, uint8_t *data, int *data_size) in qcscm_uefi_get_variable() argument
405 respsize = ALIGN(sizeof(*resp)) + ALIGN(*data_size); in qcscm_uefi_get_variable()
416 req->data_size = *data_size; in qcscm_uefi_get_variable()
443 *data_size = resp->data_size; in qcscm_uefi_get_variable()
452 resp->data_offset + resp->data_size > resp->length) { in qcscm_uefi_get_variable()
460 if (*data_size in qcscm_uefi_get_variable()
488 uint32_t data_size; global() member
501 qcscm_uefi_set_variable(struct qcscm_softc * sc,CHAR16 * name,int name_size,EFI_GUID * guid,uint32_t attributes,uint8_t * data,int data_size) qcscm_uefi_set_variable() argument
664 qcscm_efi_get_variable(CHAR16 * name,EFI_GUID * guid,UINT32 * attributes,UINTN * data_size,VOID * data) qcscm_efi_get_variable() argument
687 qcscm_efi_set_variable(CHAR16 * name,EFI_GUID * guid,UINT32 attributes,UINTN data_size,VOID * data) qcscm_efi_set_variable() argument
[all...]
/openbsd-src/sys/dev/pci/drm/apple/
H A Ddptxep.c259 const void *data, size_t data_size, in dptxport_call_set_active_lane_count() argument
270 if (data_size < sizeof(*request)) in dptxport_call_set_active_lane_count()
345 const void *data, size_t data_size, in dptxport_call_set_link_rate() argument
357 if (data_size < sizeof(*request)) in dptxport_call_set_link_rate()
444 const void *data, size_t data_size, in dptxport_call_activate() argument
453 memcpy(reply, data, min(reply_size, data_size)); in dptxport_call_activate()
462 const void *data, size_t data_size, in dptxport_call_deactivate() argument
470 memcpy(reply, data, min(reply_size, data_size)); in dptxport_call_deactivate()
478 const void *data, size_t data_size, void *reply, in dptxport_call() argument
482 trace_dptxport_apcall(dptx, idx, data_size); in dptxport_call()
[all …]
H A Dsystemep.c71 const void *data, size_t data_size) in powerlog_report() argument
79 service->channel, type, data_size); in powerlog_report()
84 ret = parse(data, data_size, &parse_ctx); in powerlog_report()
/openbsd-src/sys/arch/amd64/amd64/
H A Ducode.c49 uint32_t data_size; member
294 if (hdr->data_size) in cpu_ucode_intel_find()
337 if (hdr->data_size) in cpu_ucode_intel_verify()
365 uint32_t data_size, total_size; in cpu_ucode_intel_match() local
368 data_size = hdr->data_size; in cpu_ucode_intel_match()
375 if (!data_size) { in cpu_ucode_intel_match()
376 data_size = INTEL_UCODE_DEFAULT_DATA_SIZE; in cpu_ucode_intel_match()
387 data_size + sizeof(struct intel_ucode_ext_sig_header)) in cpu_ucode_intel_match()
391 data_size); in cpu_ucode_intel_match()
/openbsd-src/sys/arch/i386/i386/
H A Ducode.c49 uint32_t data_size; member
317 if (hdr->data_size) in cpu_ucode_intel_find()
360 if (hdr->data_size) in cpu_ucode_intel_verify()
388 uint32_t data_size, total_size; in cpu_ucode_intel_match() local
391 data_size = hdr->data_size; in cpu_ucode_intel_match()
398 if (!data_size) { in cpu_ucode_intel_match()
399 data_size = INTEL_UCODE_DEFAULT_DATA_SIZE; in cpu_ucode_intel_match()
410 data_size + sizeof(struct intel_ucode_ext_sig_header)) in cpu_ucode_intel_match()
414 data_size); in cpu_ucode_intel_match()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/Linux/
H A DPerf.cpp138 metadata_page.data_offset + metadata_page.data_size; in MmapAuxBuffer()
184 static_cast<size_t>(mmap_metadata.data_size)}; in GetDataBuffer()
223 uint64_t data_size = mmap_metadata.data_size; in GetReadOnlyDataBuffer()
227 if (data_head > data_size) { in GetReadOnlyDataBuffer()
228 uint64_t actual_data_head = data_head % data_size; in GetReadOnlyDataBuffer()
325 if (mmap_metadata.data_head < mmap_metadata.data_size) in GetEffectiveDataBufferSize()
328 return mmap_metadata.data_size; // The buffer has wrapped. in GetEffectiveDataBufferSize()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/Windows/Common/
H A DNativeRegisterContextWindows_WoW64.cpp371 const size_t data_size = REG_CONTEXT_SIZE; in ReadAllRegisterValues() local
372 data_sp = std::make_shared<DataBufferHeap>(data_size, 0); in ReadAllRegisterValues()
379 ::memcpy(dst, &tls_context, data_size); in ReadAllRegisterValues()
386 const size_t data_size = REG_CONTEXT_SIZE; in WriteAllRegisterValues() local
394 if (data_sp->GetByteSize() != data_size) { in WriteAllRegisterValues()
397 data_size, data_sp->GetByteSize()); in WriteAllRegisterValues()
402 memcpy(&tls_context, data_sp->GetBytes(), data_size); in WriteAllRegisterValues()
H A DNativeRegisterContextWindows_arm.cpp564 const size_t data_size = REG_CONTEXT_SIZE; in ReadAllRegisterValues() local
565 data_sp = std::make_shared<DataBufferHeap>(data_size, 0); in ReadAllRegisterValues()
573 ::memcpy(dst, &tls_context, data_size); in ReadAllRegisterValues()
580 const size_t data_size = REG_CONTEXT_SIZE; in WriteAllRegisterValues() local
588 if (data_sp->GetByteSize() != data_size) { in WriteAllRegisterValues()
591 data_size, data_sp->GetByteSize()); in WriteAllRegisterValues()
596 memcpy(&tls_context, data_sp->GetBytes(), data_size); in WriteAllRegisterValues()
H A DNativeRegisterContextWindows_i386.cpp380 const size_t data_size = REG_CONTEXT_SIZE; in ReadAllRegisterValues() local
381 data_sp = std::make_shared<DataBufferHeap>(data_size, 0); in ReadAllRegisterValues()
389 ::memcpy(dst, &tls_context, data_size); in ReadAllRegisterValues()
396 const size_t data_size = REG_CONTEXT_SIZE; in WriteAllRegisterValues() local
404 if (data_sp->GetByteSize() != data_size) { in WriteAllRegisterValues()
407 data_size, data_sp->GetByteSize()); in WriteAllRegisterValues()
412 memcpy(&tls_context, data_sp->GetBytes(), data_size); in WriteAllRegisterValues()
H A DNativeRegisterContextWindows_arm64.cpp674 const size_t data_size = REG_CONTEXT_SIZE; in ReadAllRegisterValues() local
675 data_sp = std::make_shared<DataBufferHeap>(data_size, 0); in ReadAllRegisterValues()
683 ::memcpy(dst, &tls_context, data_size); in ReadAllRegisterValues()
690 const size_t data_size = REG_CONTEXT_SIZE; in WriteAllRegisterValues() local
698 if (data_sp->GetByteSize() != data_size) { in WriteAllRegisterValues()
701 data_size, data_sp->GetByteSize()); in WriteAllRegisterValues()
706 memcpy(&tls_context, data_sp->GetBytes(), data_size); in WriteAllRegisterValues()
H A DNativeRegisterContextWindows_x86_64.cpp583 const size_t data_size = REG_CONTEXT_SIZE; in ReadAllRegisterValues() local
584 data_sp = std::make_shared<DataBufferHeap>(data_size, 0); in ReadAllRegisterValues()
592 ::memcpy(dst, &tls_context, data_size); in ReadAllRegisterValues()
599 const size_t data_size = REG_CONTEXT_SIZE; in WriteAllRegisterValues() local
607 if (data_sp->GetByteSize() != data_size) { in WriteAllRegisterValues()
610 data_size, data_sp->GetByteSize()); in WriteAllRegisterValues()
615 memcpy(&tls_context, data_sp->GetBytes(), data_size); in WriteAllRegisterValues()
/openbsd-src/gnu/usr.bin/perl/dist/Net-Ping/lib/Net/
H A DPing.pm100 $data_size, # Optional additional bytes of data
126 $data_size = $proto->{$k} if ($k eq 'data_size');
196 $data_size = $min_datasize unless defined($data_size) && $proto ne "tcp";
199 if ($data_size < $min_datasize) || ($data_size > $max_datasize);
200 $data_size-- if $self->{proto} eq "udp"; # We provide the first byte
201 $self->{data_size} = $data_size;
204 for ($cnt = 0; $cnt < $self->{data_size}; $cnt++)
734 $msg = pack(ICMP_STRUCT . $self->{data_size}, ICMP_ECHO, SUBCODE,
740 $msg = pack(ICMP_STRUCT . $self->{data_size}, ICMPv6_ECHO, SUBCODE,
750 $msg = pack(ICMP_STRUCT . $self->{data_size}, ICMP_ECHO, SUBCODE,
[all …]
/openbsd-src/gnu/usr.bin/binutils/binutils/
H A Dresres.c36 unsigned long data_size; member
177 buff = res_alloc (reshdr.data_size); in read_resource_entry()
179 read_res_data (buff, reshdr.data_size, 1); in read_resource_entry()
181 r = bin_to_res (type, buff, reshdr.data_size, 0); in read_resource_entry()
387 reshdr.data_size = datasize;
534 if ((reshdr.data_size != 0) || (reshdr.header_size != 0x20)) in skip_null_resource()
/openbsd-src/gnu/usr.bin/binutils-2.17/binutils/
H A Dresres.c36 unsigned long data_size; member
177 buff = res_alloc (reshdr.data_size); in read_resource_entry()
179 read_res_data (buff, reshdr.data_size, 1); in read_resource_entry()
181 r = bin_to_res (type, buff, reshdr.data_size, 0); in read_resource_entry()
387 reshdr.data_size = datasize;
534 if ((reshdr.data_size != 0) || (reshdr.header_size != 0x20)) in skip_null_resource()
/openbsd-src/sys/dev/pci/drm/amd/pm/powerplay/smumgr/
H A Dsmu8_smumgr.c351 task->size_bytes = smu8_smu->scratch_buffer[i].data_size; in smu8_smu_populate_single_scratch_task()
388 task->size_bytes = smu8_smu->driver_buffer[i].data_size; in smu8_smu_populate_single_ucode_load_task()
570 smu8_smu->driver_buffer[i].data_size = info.image_size; in smu8_smu_populate_firmware_entries()
589 entry->data_size = ulsize_byte; in smu8_smu_populate_single_scratch_entry()
767 smu8_smu->toc_buffer.data_size = 4096; in smu8_smu_init()
768 smu8_smu->smu_buffer.data_size = in smu8_smu_init()
776 smu8_smu->toc_buffer.data_size, in smu8_smu_init()
786 smu8_smu->smu_buffer.data_size, in smu8_smu_init()
/openbsd-src/gnu/llvm/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCRuntimeV1.cpp358 const uint32_t data_size = num_buckets * 2 * sizeof(uint32_t); in UpdateISAToDescriptorMapIfNeeded() local
359 buffer.SetByteSize(data_size); in UpdateISAToDescriptorMapIfNeeded()
361 if (process->ReadMemory(buckets_ptr, buffer.GetBytes(), data_size, in UpdateISAToDescriptorMapIfNeeded()
362 error) == data_size) { in UpdateISAToDescriptorMapIfNeeded()
/openbsd-src/gnu/llvm/lldb/examples/synthetic/
H A Dlibcxx.py101 if (num_children % self.data_size) != 0:
104 num_children = num_children / self.data_size
124 offset = index * self.data_size
141 self.data_size = self.data_type.GetByteSize()
347 self.data_size = self.data_type.GetByteSize()
507 self.data_size = None
534 if self.data_type is None or self.data_size is None:
544 self.data_size = self.data_type.GetByteSize()
H A Dgnu_libstdcpp.py84 self.data_size = self.data_type.GetByteSize()
283 self.data_size = self.data_type.GetByteSize()
383 if (num_children % self.data_size) != 0:
386 num_children = num_children // self.data_size
399 offset = index * self.data_size
415 self.data_size = self.data_type.GetByteSize()
580 self.data_size = self.data_type.GetByteSize()
/openbsd-src/gnu/usr.bin/binutils/gas/config/
H A Dobj-vms.c144 int data_size; member
1439 total_size = total_size * spnt1->data_size; in array_suffix()
1440 fpush (spnt1->data_size, 2); /* element size */ in array_suffix()
2220 spnt->type2 = spnt->VMS_type = spnt->data_size = 0; in VMS_typedef_parse()
2268 spnt->data_size = 4; in VMS_typedef_parse()
2273 spnt->data_size = 4; in VMS_typedef_parse()
2278 spnt->data_size = 4; in VMS_typedef_parse()
2283 spnt->data_size = 4; in VMS_typedef_parse()
2288 spnt->data_size = 2; in VMS_typedef_parse()
2293 spnt->data_size = 2; in VMS_typedef_parse()
[all …]
/openbsd-src/gnu/usr.bin/binutils-2.17/opcodes/
H A Dmmix-dis.c308 info->data_size = 8; in print_insn_mmix()
313 info->data_size = 4; in print_insn_mmix()
318 info->data_size = 2; in print_insn_mmix()
323 info->data_size = 1; in print_insn_mmix()
H A Dmips-dis.c1207 info->data_size = 0; in print_insn_mips()
1409 info->data_size = 1; in print_mips16_insn_arg()
1416 info->data_size = 2; in print_mips16_insn_arg()
1426 info->data_size = 4; in print_mips16_insn_arg()
1434 info->data_size = 8; in print_mips16_insn_arg()
1456 info->data_size = 4; in print_mips16_insn_arg()
1463 info->data_size = 8; in print_mips16_insn_arg()
1504 info->data_size = 4; in print_mips16_insn_arg()
1512 info->data_size = 8; in print_mips16_insn_arg()
1778 info->data_size = 0; in print_insn_mips16()
/openbsd-src/gnu/usr.bin/binutils/opcodes/
H A Dmmix-dis.c314 info->data_size = 8;
319 info->data_size = 4;
324 info->data_size = 2;
329 info->data_size = 1;
H A Dmips-dis.c1091 info->data_size = 0;
1240 info->data_size = 0;
1517 info->data_size = 1;
1524 info->data_size = 2;
1534 info->data_size = 4;
1542 info->data_size = 8;
1564 info->data_size = 4;
1571 info->data_size = 8;
1612 info->data_size = 4;
1620 info->data_size = 8;

1234