/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | session.c | 48 decomp_last_rem = decomp_last->size - decomp_last->head; in perf_session__process_compressed_event() 66 decomp->size = decomp_last_rem; in perf_session__process_compressed_event() 70 src_size = event->pack.header.size - sizeof(struct perf_record_compressed); in perf_session__process_compressed_event() 80 decomp->size += decomp_size; in perf_session__process_compressed_event() 388 skipn(perf_data__fd(session->data), event->auxtrace.size); in process_event_auxtrace_stub() 389 return event->auxtrace.size; in process_event_auxtrace_stub() 543 void *end = (void *) event + event->header.size; in swap_sample_id_all() 544 int size = end - data; in swap_sample_id_all() local 546 BUG_ON(size % sizeof(u64)); in swap_sample_id_all() 547 mem_bswap_64(data, size); in swap_sample_id_all() 807 size_t size; perf_event__hdr_attr_swap() local 839 size_t size; perf_event__auxtrace_info_swap() local 923 u64 size; perf_event__stat_config_swap() local 1722 perf_session__peek_events(struct perf_session *session, u64 offset, u64 size, peek_events_cb_t cb, void *data) perf_session__peek_events() argument 1956 uint32_t size, cur_size = 0; __perf_session__process_pipe_events() local 2108 u64 size, file_pos = 0; __perf_session__process_decomp_events() local 2169 u64 head, page_offset, file_offset, file_pos, size; reader__process_events() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
H A D | smu_v13_0_0_ppt.c | 432 uint32_t *size) in smu_v13_0_0_get_pptable_from_pmfw() 443 *size = sizeof(struct smu_13_0_0_powerplay_table); in smu_v13_0_0_get_pptable_from_pmfw() 523 smu_table->ecc_table = kzalloc(tables[SMU_TABLE_ECCINFO].size, GFP_KERNEL); in smu_v13_0_0_tables_init() 936 uint32_t *size) in smu_v13_0_0_read_sensor() 945 *size = 4; in smu_v13_0_0_read_sensor() 951 *size = 4; in smu_v13_0_0_read_sensor() 957 *size = 4; in smu_v13_0_0_read_sensor() 963 *size = 4; in smu_v13_0_0_read_sensor() 969 *size = 4; in smu_v13_0_0_read_sensor() 975 *size in smu_v13_0_0_read_sensor() 430 smu_v13_0_0_get_pptable_from_pmfw(struct smu_context *smu, void **table, uint32_t *size) smu_v13_0_0_get_pptable_from_pmfw() argument 933 smu_v13_0_0_read_sensor(struct smu_context *smu, enum amd_pp_sensors sensor, void *data, uint32_t *size) smu_v13_0_0_read_sensor() argument 1167 int i, curr_freq, size = 0; smu_v13_0_0_print_clk_levels() local 1370 smu_v13_0_0_od_edit_dpm_table(struct smu_context *smu, enum PP_OD_DPM_TABLE_COMMAND type, long input[], uint32_t size) smu_v13_0_0_od_edit_dpm_table() argument 2042 uint32_t i, size = 0; smu_v13_0_0_get_power_profile_mode() local 2105 smu_v13_0_0_set_power_profile_mode(struct smu_context *smu, long *input, uint32_t size) smu_v13_0_0_set_power_profile_mode() argument 2492 smu_v13_0_0_smu_send_bad_mem_page_num(struct smu_context *smu, uint32_t size) smu_v13_0_0_smu_send_bad_mem_page_num() argument 2509 smu_v13_0_0_send_bad_mem_channel_flag(struct smu_context *smu, uint32_t size) smu_v13_0_0_send_bad_mem_channel_flag() argument [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/ |
H A D | WrapperBenchmarkMessages.cs | 2764 int size = 0; in CalculateSize() 2766 size += _single_doubleField95_codec.CalculateSizeWithTag(DoubleField95); in CalculateSize() 2769 size += _single_doubleField1_codec.CalculateSizeWithTag(DoubleField1); in CalculateSize() 2772 size += _single_doubleField79_codec.CalculateSizeWithTag(DoubleField79); in CalculateSize() 2775 size += _single_int64Field2_codec.CalculateSizeWithTag(Int64Field2); in CalculateSize() 2778 size += _single_doubleField96_codec.CalculateSizeWithTag(DoubleField96); in CalculateSize() 2781 size += _single_int64Field3_codec.CalculateSizeWithTag(Int64Field3); in CalculateSize() 2784 size += _single_int64Field4_codec.CalculateSizeWithTag(Int64Field4); in CalculateSize() 2787 size += _single_doubleField97_codec.CalculateSizeWithTag(DoubleField97); in CalculateSize() 2790 size in CalculateSize() [all...] |
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/ |
H A D | dlp_file_manager.cpp | 51 if (g_DlpFileMap_.size() >= MAX_DLP_FILE_SIZE) { in AddDlpFileNode() 109 size_t certSize = cert.size(); in GenerateCertBlob() 111 DLP_LOG_ERROR(LABEL, "Check dlp cert fail, cert is too large, size=%{public}zu", certSize); in GenerateCertBlob() 115 DLP_LOG_ERROR(LABEL, "Check dlp cert fail, cert is zero, size=%{public}zu", certSize); in GenerateCertBlob() 132 (void)memset_s(certData.data, certData.size, 0, certData.size); in GenerateCertBlob() 136 certData.size = static_cast<uint32_t>(certSize); in GenerateCertBlob() 142 if (blob.data == nullptr || blob.size == 0) { in CleanBlobParam() 147 (void)memset_s(blob.data, blob.size, 0, blob.size); in CleanBlobParam() [all...] |
/base/security/huks/frameworks/huks_standard/main/crypto_engine/rkc/src/ |
H A D | hks_rkc.c | 159 const struct HksKeySpec derivationSpec = { HKS_ALG_HKDF, dk->size, &derParam }; in RkcHkdfHmac() 172 rawKey.size = HKS_RKC_RAW_KEY_LEN; in RkcDeriveRmk() 173 (void)memset_s(rawKey.data, rawKey.size, 0, rawKey.size); in RkcDeriveRmk() 187 (void)memset_s(rawKey.data, rawKey.size, 0, rawKey.size); in RkcDeriveRmk() 230 aeadParam->aad.size = HKS_RKC_MK_ADD_DATA_LEN; in InitMkCryptUsageSpec() 232 aeadParam->nonce.size = ivSize; in InitMkCryptUsageSpec() 251 struct HksBlob tag = { HKS_AE_TAG_LEN, cipherText->data + key.size }; in ExecuteMkCrypt() 254 aeadParam.tagDec.size in ExecuteMkCrypt() [all...] |
/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
H A D | hks_core_service_key_operate_three_stage.c | 149 if (handle->size < sizeof(uint64_t)) { in CoreInitPreCheck() 150 HKS_LOG_E("handle size is too small, size : %" LOG_PUBLIC "u", handle->size); in CoreInitPreCheck() 191 uint32_t size = HKS_ARRAY_SIZE(g_hksCoreInitHandler); in HksCoreInitProcess() local 193 for (i = 0; i < size; i++) { in HksCoreInitProcess() 201 if (ret != HKS_SUCCESS || i == size) { in HksCoreInitProcess() 203 ret = ((i == size) ? HKS_ERROR_INVALID_ARGUMENT : ret); in HksCoreInitProcess() 219 uint32_t size = HKS_ARRAY_SIZE(g_hksCoreUpdateHandler); in HksCoreUpdateProcess() local 220 for (i = 0; i < size; in HksCoreUpdateProcess() 249 uint32_t size = HKS_ARRAY_SIZE(g_hksCoreFinishHandler); HksCoreFinishProcess() local 566 uint32_t size = HKS_ARRAY_SIZE(g_hksCoreAbortHandler); HksCoreAbort() local [all...] |
/kernel/linux/linux-5.10/block/partitions/ |
H A D | msdos.c | 173 sector_t offs, size, next; in parse_extended() local 181 size = nr_sects(p)*sector_size; in parse_extended() 184 if (offs + size > this_size) in parse_extended() 188 if (next + size > first_sector + first_size) in parse_extended() 192 put_partition(state, state->next, next, size); in parse_extended() 237 __le16 v_sectorsz; /* sector size in bytes */ 250 sector_t offset, sector_t size, int origin) in parse_solaris_x86() 337 __le32 d_bbsize; /* size of boot area at sn0, bytes */ 338 __le32 d_sbsize; /* max size of fs superblock, bytes */ 342 __le32 p_fsize; /* filesystem basic fragment size */ 249 parse_solaris_x86(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) parse_solaris_x86() argument 354 parse_bsd(struct parsed_partitions *state, sector_t offset, sector_t size, int origin, char *flavour, int max_partitions) parse_bsd() argument 408 parse_freebsd(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) parse_freebsd() argument 416 parse_netbsd(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) parse_netbsd() argument 424 parse_openbsd(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) parse_openbsd() argument 482 parse_unixware(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) parse_unixware() argument 528 parse_minix(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) parse_minix() argument 663 sector_t size = nr_sects(p)*sector_size; msdos_partition() local [all...] |
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/microcode/ |
H A D | intel.c | 45 /* last level cache size per core */ 103 static struct ucode_patch *memdup_patch(void *data, unsigned int size) in memdup_patch() argument 111 p->data = kmemdup(data, size, GFP_KERNEL); in memdup_patch() 120 static void save_microcode_patch(struct ucode_cpu_info *uci, void *data, unsigned int size) in save_microcode_patch() argument 140 p = memdup_patch(data, size); in save_microcode_patch() 156 p = memdup_patch(data, size); in save_microcode_patch() 193 pr_err("Error: bad microcode data file size.\n"); in microcode_sanity_check() 218 pr_err("Error: extended signature table size mismatch.\n"); in microcode_sanity_check() 283 scan_microcode(void *data, size_t size, struct ucode_cpu_info *uci, bool save) in scan_microcode() argument 289 while (size) { in scan_microcode() 443 save_mc_for_early(struct ucode_cpu_info *uci, u8 *mc, unsigned int size) save_mc_for_early() argument 952 request_microcode_user(int cpu, const void __user *buf, size_t size) request_microcode_user() argument [all...] |
/kernel/linux/linux-5.10/drivers/usb/usbip/ |
H A D | usbip_common.c | 302 int usbip_recv(struct socket *sock, void *buf, int size) in usbip_recv() argument 305 struct kvec iov = {.iov_base = buf, .iov_len = size}; in usbip_recv() 309 if (!sock || !buf || !size) in usbip_recv() 312 iov_iter_kvec(&msg.msg_iter, READ, &iov, 1, size); in usbip_recv() 333 usbip_dump_buffer(buf, size); in usbip_recv() 334 pr_debug("received, osize %d ret %d size %zd total %d\n", in usbip_recv() 335 size, result, msg_data_left(&msg), total); in usbip_recv() 560 ssize_t size = np * sizeof(*iso); in usbip_alloc_iso_desc_pdu() local 563 iso = kzalloc(size, GFP_KERNEL); in usbip_alloc_iso_desc_pdu() 572 *bufflen = size; in usbip_alloc_iso_desc_pdu() 584 int size = np * sizeof(*iso); usbip_recv_iso() local 686 int size; usbip_recv_xbuff() local [all...] |
/kernel/linux/linux-5.10/drivers/pnp/pnpbios/ |
H A D | rsparser.c | 85 int io, size, mask, i, flags; in pnpbios_parse_allocated_resource_data() local 111 size = *(short *)&p[10]; in pnpbios_parse_allocated_resource_data() 112 pnpbios_parse_allocated_memresource(dev, io, size); in pnpbios_parse_allocated_resource_data() 127 size = *(int *)&p[16]; in pnpbios_parse_allocated_resource_data() 128 pnpbios_parse_allocated_memresource(dev, io, size); in pnpbios_parse_allocated_resource_data() 135 size = *(int *)&p[8]; in pnpbios_parse_allocated_resource_data() 136 pnpbios_parse_allocated_memresource(dev, io, size); in pnpbios_parse_allocated_resource_data() 173 size = p[7]; in pnpbios_parse_allocated_resource_data() 174 pnpbios_parse_allocated_ioresource(dev, io, size); in pnpbios_parse_allocated_resource_data() 185 size in pnpbios_parse_allocated_resource_data() 217 pnpbios_parse_mem_option(struct pnp_dev *dev, unsigned char *p, int size, unsigned int option_flags) pnpbios_parse_mem_option() argument 233 pnpbios_parse_mem32_option(struct pnp_dev *dev, unsigned char *p, int size, unsigned int option_flags) pnpbios_parse_mem32_option() argument 249 pnpbios_parse_fixed_mem32_option(struct pnp_dev *dev, unsigned char *p, int size, unsigned int option_flags) pnpbios_parse_fixed_mem32_option() argument 262 pnpbios_parse_irq_option(struct pnp_dev *dev, unsigned char *p, int size, unsigned int option_flags) pnpbios_parse_irq_option() argument 281 pnpbios_parse_dma_option(struct pnp_dev *dev, unsigned char *p, int size, unsigned int option_flags) pnpbios_parse_dma_option() argument 288 pnpbios_parse_port_option(struct pnp_dev *dev, unsigned char *p, int size, unsigned int option_flags) pnpbios_parse_port_option() argument 304 pnpbios_parse_fixed_port_option(struct pnp_dev *dev, unsigned char *p, int size, unsigned int option_flags) pnpbios_parse_fixed_port_option() argument [all...] |
/kernel/linux/linux-6.6/drivers/pnp/pnpbios/ |
H A D | rsparser.c | 85 int io, size, mask, i, flags; in pnpbios_parse_allocated_resource_data() local 111 size = *(short *)&p[10]; in pnpbios_parse_allocated_resource_data() 112 pnpbios_parse_allocated_memresource(dev, io, size); in pnpbios_parse_allocated_resource_data() 127 size = *(int *)&p[16]; in pnpbios_parse_allocated_resource_data() 128 pnpbios_parse_allocated_memresource(dev, io, size); in pnpbios_parse_allocated_resource_data() 135 size = *(int *)&p[8]; in pnpbios_parse_allocated_resource_data() 136 pnpbios_parse_allocated_memresource(dev, io, size); in pnpbios_parse_allocated_resource_data() 173 size = p[7]; in pnpbios_parse_allocated_resource_data() 174 pnpbios_parse_allocated_ioresource(dev, io, size); in pnpbios_parse_allocated_resource_data() 185 size in pnpbios_parse_allocated_resource_data() 217 pnpbios_parse_mem_option(struct pnp_dev *dev, unsigned char *p, int size, unsigned int option_flags) pnpbios_parse_mem_option() argument 233 pnpbios_parse_mem32_option(struct pnp_dev *dev, unsigned char *p, int size, unsigned int option_flags) pnpbios_parse_mem32_option() argument 249 pnpbios_parse_fixed_mem32_option(struct pnp_dev *dev, unsigned char *p, int size, unsigned int option_flags) pnpbios_parse_fixed_mem32_option() argument 262 pnpbios_parse_irq_option(struct pnp_dev *dev, unsigned char *p, int size, unsigned int option_flags) pnpbios_parse_irq_option() argument 281 pnpbios_parse_dma_option(struct pnp_dev *dev, unsigned char *p, int size, unsigned int option_flags) pnpbios_parse_dma_option() argument 288 pnpbios_parse_port_option(struct pnp_dev *dev, unsigned char *p, int size, unsigned int option_flags) pnpbios_parse_port_option() argument 304 pnpbios_parse_fixed_port_option(struct pnp_dev *dev, unsigned char *p, int size, unsigned int option_flags) pnpbios_parse_fixed_port_option() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/usbip/ |
H A D | usbip_common.c | 302 int usbip_recv(struct socket *sock, void *buf, int size) in usbip_recv() argument 305 struct kvec iov = {.iov_base = buf, .iov_len = size}; in usbip_recv() 309 if (!sock || !buf || !size) in usbip_recv() 312 iov_iter_kvec(&msg.msg_iter, ITER_DEST, &iov, 1, size); in usbip_recv() 329 usbip_dump_buffer(buf, size); in usbip_recv() 330 pr_debug("received, osize %d ret %d size %zd total %d\n", in usbip_recv() 331 size, result, msg_data_left(&msg), total); in usbip_recv() 641 ssize_t size = np * sizeof(*iso); in usbip_alloc_iso_desc_pdu() local 644 iso = kzalloc(size, GFP_KERNEL); in usbip_alloc_iso_desc_pdu() 653 *bufflen = size; in usbip_alloc_iso_desc_pdu() 665 int size = np * sizeof(*iso); usbip_recv_iso() local 767 int size; usbip_recv_xbuff() local [all...] |
/kernel/linux/linux-6.6/block/partitions/ |
H A D | msdos.c | 174 sector_t offs, size, next; in parse_extended() local 182 size = nr_sects(p)*sector_size; in parse_extended() 185 if (offs + size > this_size) in parse_extended() 189 if (next + size > first_sector + first_size) in parse_extended() 193 put_partition(state, state->next, next, size); in parse_extended() 238 __le16 v_sectorsz; /* sector size in bytes */ 251 sector_t offset, sector_t size, int origin) in parse_solaris_x86() 338 __le32 d_bbsize; /* size of boot area at sn0, bytes */ 339 __le32 d_sbsize; /* max size of fs superblock, bytes */ 343 __le32 p_fsize; /* filesystem basic fragment size */ 250 parse_solaris_x86(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) parse_solaris_x86() argument 355 parse_bsd(struct parsed_partitions *state, sector_t offset, sector_t size, int origin, char *flavour, int max_partitions) parse_bsd() argument 409 parse_freebsd(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) parse_freebsd() argument 417 parse_netbsd(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) parse_netbsd() argument 425 parse_openbsd(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) parse_openbsd() argument 483 parse_unixware(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) parse_unixware() argument 529 parse_minix(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) parse_minix() argument 665 sector_t size = nr_sects(p)*sector_size; msdos_partition() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | i915_trace.h | 27 __field(u64, size) 32 __entry->size = obj->base.size; 35 TP_printk("obj=%p, size=0x%llx", __entry->obj, __entry->size) 66 __field(u64, size) 74 __entry->size = vma->node.size; 78 TP_printk("obj=%p, offset=0x%016llx size=0x%llx%s vm=%p", 79 __entry->obj, __entry->offset, __entry->size, [all...] |
/third_party/alsa-utils/axfer/ |
H A D | container-voc.c | 72 uint8_t size[3]; member 124 uint8_t size[3]; // Equals to (2 + the size of frames). member 133 uint8_t size[3]; // Equals to the size of frames. member 143 uint8_t size[3]; // Equals to 3. member 151 uint8_t size[3]; // Equals to 2. member 158 uint8_t size[3]; // Equals to the length of string with 0x00. member 165 uint8_t size[3]; // Equals to 2. member 172 uint8_t size[ member 182 uint8_t size[3]; // Equals to 4. global() member 196 uint8_t size[3]; // Equals to (12 + ). global() member 213 build_block_data_size(uint8_t fields[3], unsigned int size) build_block_data_size() argument [all...] |
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_statistics.cpp | 235 bool likely_desc_load = instr->operands[0].size() == 2; in get_wait_counter_info() 236 bool soe = instr->operands.size() >= (!instr->definitions.empty() ? 3 : 4); in get_wait_counter_info() 290 for (int i = 0; i < (int)vm.size() - imm.vm; i++) in get_dependency_cost() 294 for (int i = 0; i < (int)exp.size() - imm.exp; i++) in get_dependency_cost() 298 for (int i = 0; i < (int)lgkm.size() - imm.lgkm; i++) in get_dependency_cost() 302 for (int i = 0; i < (int)vs.size() - imm.vs; i++) in get_dependency_cost() 313 for (unsigned i = 0; i < op.size(); i++) in get_dependency_cost() 373 while (lgkm.size() > imm.lgkm) in add() 375 while (exp.size() > imm.exp) in add() 377 while (vm.size() > im in add() [all...] |
/third_party/nghttp2/src/ |
H A D | template.h | 140 size_t size() const { return len; } in size() function 220 // std::string. It has c_str() and size() functions to mimic 243 : len(s.size()), base(copystr(std::begin(s), std::end(s))) {} 301 size_type size() const { return len; } 320 return lhs.size() == rhs.size() && 325 return lhs.size() == rhs.size() && 334 return lhs.size() == strlen(rhs) && 363 return o.write(s.c_str(), s.size()); [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
H A D | CallLowering.cpp | 132 assert(SrcRegs.size() > 1 && "Nothing to pack"); in packRegs() 142 assert(LLTs.size() == SrcRegs.size() && "Regs / types mismatch"); in packRegs() 146 for (unsigned i = 0; i < SrcRegs.size(); ++i) { in packRegs() 158 assert(DstRegs.size() > 1 && "Nothing to unpack"); in unpackRegs() 165 assert(LLTs.size() == DstRegs.size() && "Regs / types mismatch"); in unpackRegs() 167 for (unsigned i = 0; i < DstRegs.size(); ++i) in unpackRegs() 190 unsigned NumArgs = Args.size(); in handleAssignments() 289 for (unsigned i = 0, e = Args.size(), in handleAssignments() [all...] |
/kernel/linux/linux-5.10/kernel/ |
H A D | module.c | 121 return (unsigned long)layout->size; in __mod_tree_size() 183 if (mod->init_layout.size) in mod_tree_insert() 189 if (mod->init_layout.size) in mod_tree_remove_init() 237 static void __mod_update_bounds(void *base, unsigned int size) in __mod_update_bounds() argument 240 unsigned long max = min + size; in __mod_update_bounds() 250 __mod_update_bounds(mod->core_layout.base, mod->core_layout.size); in mod_update_bounds() 251 if (mod->init_layout.size) in mod_update_bounds() 252 __mod_update_bounds(mod->init_layout.base, mod->init_layout.size); in mod_update_bounds() 692 const void *from, unsigned long size) in percpu_modcopy() 697 memcpy(per_cpu_ptr(mod->percpu, cpu), from, size); in percpu_modcopy() 691 percpu_modcopy(struct module *mod, const void *from, unsigned long size) percpu_modcopy() argument 767 percpu_modcopy(struct module *mod, const void *from, unsigned long size) percpu_modcopy() argument 1598 unsigned int nloaded = 0, i, size[2]; add_sect_attrs() local 2131 unsigned int size, symndx; copy_module_elf() local 2476 get_offset(struct module *mod, unsigned int *size, Elf_Shdr *sechdr, unsigned int section) get_offset() argument 2618 unsigned long size = infosec->sh_size; get_next_modinfo() local 2880 module_alloc(unsigned long size) module_alloc() argument 4231 within(unsigned long addr, void *start, unsigned long size) within() argument 4258 find_kallsyms_symbol(struct module *mod, unsigned long addr, unsigned long *size, unsigned long *offset) find_kallsyms_symbol() argument 4317 module_address_lookup(unsigned long addr, unsigned long *size, unsigned long *offset, char **modname, char *namebuf) module_address_lookup() argument 4369 lookup_module_symbol_attrs(unsigned long addr, unsigned long *size, unsigned long *offset, char *modname, char *name) lookup_module_symbol_attrs() argument [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fUniformApiTests.cpp | 338 int getNumUniforms (void) const { return (int)m_uniforms.size(); } 339 int getNumStructTypes (void) const { return (int)m_structTypes.size(); } 349 for (int i = 0; i < (int)m_structTypes.size(); i++) 357 for (int i = 0; i < (int)m_uniforms.size(); i++) 361 for (int i = 0; i < (int)m_structTypes.size(); i++) 368 for (int i = 0; i < (int)m_uniforms.size(); i++) 377 for (int i = 0; i < (int)m_uniforms.size(); i++) 384 return getSamplerTypes().size() > 1; 390 for (int i = 0; i < (int)m_uniforms.size(); i++) 531 for (int j = 0; j < (int)structTypes.size(); in random() 795 const int size = glu::getDataTypeScalarSize(a.type); apiVarValueEquals() local 839 const int size = glu::getDataTypeScalarSize(boolValue.type); getRandomBoolRepresentation() local 1012 int size; global() member 1187 const int size = varType.getArraySize(); generateBasicUniforms() local 1714 const int size = glu::getDataTypeScalarSize(uniform.type); getUniforms() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 153 if (Idx > Record.size()) in convertToString() 156 for (unsigned i = Idx, e = Record.size(); i != e; ++i) in convertToString() 476 if (Record[0] + Record[1] > Strtab.size()) in readNameFromStrtab() 639 if (ID >= FunctionBBs.size()) return nullptr; // Invalid ID in getBasicBlock() 644 if (i-1 < MAttributes.size()) in getAttributes() 655 if (Slot == Record.size()) return true; in getValueTypePair() 666 if (Slot == Record.size()) in getValueTypePair() 699 if (Slot == Record.size()) return nullptr; in getValue() 710 if (Slot == Record.size()) return nullptr; in getValueSigned() 1187 // The type table size i in getFullyStructuredTypeByID() [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/omap/ |
H A D | omapfb_main.c | 122 * size, except if a bigger memory size is specified explicitly as a kernel 133 fbdev->mem_desc.region[i].size = in ctrl_init() 148 fbdev->mem_desc.region[0].size = PAGE_ALIGN(def_size); in ctrl_init() 159 dev_dbg(fbdev->dev, "region%d phys %08x virt %p size=%lu\n", in ctrl_init() 163 fbdev->mem_desc.region[i].size); in ctrl_init() 380 fix->smem_len = rg->size; in set_fb_fix() 384 fix->smem_len = rg->size; in set_fb_fix() 521 max_frame_size = fbdev->mem_desc.region[plane->idx].size; in set_fb_var() 533 /* Recheck this, as the virtual size change in set_fb_var() 813 size_t size; omapfb_setup_mem() local 1239 size_t size; omapfb_show_caps_num() local 1261 size_t size; omapfb_show_caps_text() local 1324 omapfb_store_bklight_level(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) omapfb_store_bklight_level() argument [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/omap/ |
H A D | omapfb_main.c | 122 * size, except if a bigger memory size is specified explicitly as a kernel 133 fbdev->mem_desc.region[i].size = in ctrl_init() 148 fbdev->mem_desc.region[0].size = PAGE_ALIGN(def_size); in ctrl_init() 159 dev_dbg(fbdev->dev, "region%d phys %08x virt %p size=%lu\n", in ctrl_init() 163 fbdev->mem_desc.region[i].size); in ctrl_init() 380 fix->smem_len = rg->size; in set_fb_fix() 384 fix->smem_len = rg->size; in set_fb_fix() 521 max_frame_size = fbdev->mem_desc.region[plane->idx].size; in set_fb_var() 533 /* Recheck this, as the virtual size change in set_fb_var() 818 size_t size; omapfb_setup_mem() local 1242 size_t size; omapfb_show_caps_num() local 1264 size_t size; omapfb_show_caps_text() local 1327 omapfb_store_bklight_level(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) omapfb_store_bklight_level() argument [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | zsmalloc.c | 133 * On systems with 4K page size, this gives 255 size classes! There is a 135 * - Large number of size classes is potentially wasteful as free page are 137 * - Small number of size classes causes large internal fragmentation 138 * - Probably its better to use specific size classes (empirically 191 int size; member 369 static int zs_zpool_malloc(void *pool, size_t size, gfp_t gfp, in zs_zpool_malloc() argument 372 *handle = zs_malloc(pool, size, gfp); in zs_zpool_malloc() 504 * zsmalloc divides the pool into various size classes where each 507 * classes depending on its size 510 get_size_class_index(int size) get_size_class_index() argument 1053 __zs_map_object(struct mapping_area *area, struct page *pages[2], int off, int size) __zs_map_object() argument 1081 __zs_unmap_object(struct mapping_area *area, struct page *pages[2], int off, int size) __zs_unmap_object() argument 1161 zs_lookup_class_index(struct zs_pool *pool, unsigned int size) zs_lookup_class_index() argument 1360 zs_malloc(struct zs_pool *pool, size_t size, gfp_t gfp) zs_malloc() argument 1485 int s_size, d_size, size; zs_object_copy() local 2195 int size; zs_create_pool() local [all...] |
/third_party/curl/lib/ |
H A D | mime.c | 62 static size_t mime_subparts_read(char *buffer, size_t size, size_t nitems, 66 static size_t encoder_nop_read(char *buffer, size_t size, bool ateof, 69 static size_t encoder_7bit_read(char *buffer, size_t size, bool ateof, 71 static size_t encoder_base64_read(char *buffer, size_t size, bool ateof, 74 static size_t encoder_qp_read(char *buffer, size_t size, bool ateof, 141 * get_vms_file_size does what it takes to get the real size of the file 143 * For fixed files, find out the size of the EOF block and adjust. 177 * if not to call a routine to get the correct size. 381 static size_t encoder_nop_read(char *buffer, size_t size, bool ateof, in encoder_nop_read() argument 389 if(!size) in encoder_nop_read() 409 encoder_7bit_read(char *buffer, size_t size, bool ateof, curl_mimepart *part) encoder_7bit_read() argument 435 encoder_base64_read(char *buffer, size_t size, bool ateof, curl_mimepart *part) encoder_base64_read() argument 516 curl_off_t size = part->datasize; encoder_base64_size() local 548 encoder_qp_read(char *buffer, size_t size, bool ateof, curl_mimepart *part) encoder_qp_read() argument 659 mime_mem_read(char *buffer, size_t size, size_t nitems, void *instream) mime_mem_read() argument 716 mime_file_read(char *buffer, size_t size, size_t nitems, void *instream) mime_file_read() argument 998 mime_subparts_read(char *buffer, size_t size, size_t nitems, void *instream, bool *hasread) mime_subparts_read() argument 1582 Curl_mime_read(char *buffer, size_t size, size_t nitems, void *instream) Curl_mime_read() argument 1615 size_t size = 0; slist_size() local 1626 curl_off_t size; multipart_size() local 1652 curl_off_t size; Curl_mime_size() local [all...] |