/third_party/skia/third_party/externals/spirv-cross/ |
H A D | spirv_cross.cpp | 44 Compiler::Compiler(const uint32_t *ir_, size_t word_count) in Compiler() 1212 ir.meta[type_id].members.resize(max(ir.meta[type_id].members.size(), size_t(index) + 1)); in set_member_qualified_name() 1265 ir.meta[type].members.resize(max(ir.meta[type].members.size(), size_t(index) + 1)); in set_extended_member_decoration() 1348 ir.meta[type].members.resize(max(ir.meta[type].members.size(), size_t(index) + 1)); in unset_extended_member_decoration() 1727 size_t Compiler::get_declared_struct_size(const SPIRType &type) const in get_declared_struct_size() 1733 size_t offset = type_struct_member_offset(type, last); in get_declared_struct_size() 1734 size_t size = get_declared_struct_member_size(type, last); in get_declared_struct_size() 1738 size_t Compiler::get_declared_struct_size_runtime_array(const SPIRType &type, size_t array_size) const in get_declared_struct_size_runtime_array() 1743 size_t siz in get_declared_struct_size_runtime_array() [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | render_backend_gles.cpp | 581 template<typename T, size_t N> 582 constexpr size_t Compare(const T (&a)[N], const T (&b)[N]) 584 for (size_t i = 0; i < N; i++) { 591 template<typename T, size_t N> 593 constexpr size_t Set(T (&a)[N], const T (&b)[N]) 595 for (size_t i = 0; i < N; i++) { 824 for (size_t swapIdx = 0; swapIdx < backBufferConfig.swapchainData.size(); ++swapIdx) { in Render() 874 for (size_t sigIdx = 0; sigIdx < externalSignals.size(); ++sigIdx) { in RenderProcessEndCommandLists() 1555 invalidateAttachment[static_cast<size_t>(colorCount)] = GL_COLOR_ATTACHMENT0 + ci; in InvalidateColor() 1643 for (size_t in RenderCommandBindVertexBuffers() [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/ddbridge/ |
H A D | ddbridge-core.c | 600 const __user u8 *buf, size_t count) in ddb_output_write() 673 __user u8 *buf, size_t count) in ddb_input_read() 716 size_t count, loff_t *ppos) in ts_write() 721 size_t left = count; in ts_write() 745 size_t count, loff_t *ppos) in ts_read() 751 size_t left = count; in ts_read() 2780 const char *buf, size_t count) in fan_store() 2893 const char *buf, size_t count) in led_store() 2968 const char *buf, size_t count) in redirect_store() 2992 const char *buf, size_t coun in gap_store() [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | mad.c | 568 static size_t mad_priv_size(const struct ib_mad_private *mp) in mad_priv_size() 573 static struct ib_mad_private *alloc_mad_private(size_t mad_size, gfp_t flags) in alloc_mad_private() 575 size_t size = sizeof(struct ib_mad_private) + mad_size; in alloc_mad_private() 584 static size_t port_mad_size(const struct ib_mad_port_private *port_priv) in port_mad_size() 589 static size_t mad_priv_dma_size(const struct ib_mad_private *mp) in mad_priv_dma_size() 614 size_t mad_size = port_mad_size(mad_agent_priv->qp_info->port_priv); in handle_outgoing_dr_smp() 773 static int get_pad_size(int hdr_len, int data_len, size_t mad_size) in get_pad_size() 796 size_t mad_size, gfp_t gfp_mask) in alloc_send_rmpp_list() 851 size_t mad_size; in ib_create_send_mad() 1920 size_t *resp_le in generate_unmatched_resp() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/ |
H A D | cfg80211.c | 322 size_t ies_len) in ath6kl_set_assoc_req_ies() 327 size_t len = 0; in ath6kl_set_assoc_req_ies() 684 size_t beacon_ie_len) in ath6kl_add_bss_if_needed() 2643 const u8 *ies, size_t ies_len) in ath6kl_set_ap_probe_resp_ies() 2648 size_t len = 0; in ath6kl_set_ap_probe_resp_ies() 2713 size_t rsn_ie_len; in ath6kl_get_rsn_capab() 3062 const u8 *buf, size_t len, in ath6kl_send_go_probe_resp() 3103 size_t len, in ath6kl_mgmt_powersave_ap() 3111 size_t mgmt_buf_size; in ath6kl_mgmt_powersave_ap() 3169 static bool ath6kl_is_p2p_go_ssid(const u8 *buf, size_t le [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | sd.c | 157 const char *buf, size_t count) in cache_type_store() 199 len = min_t(size_t, sizeof(buffer), data.length - data.header_length - in cache_type_store() 236 const char *buf, size_t count) in manage_start_stop_store() 264 const char *buf, size_t count) in allow_restart_store() 315 const char *buf, size_t count) in protection_type_store() 399 const char *buf, size_t count) in provisioning_mode_store() 445 const char *buf, size_t count) in zeroing_mode_store() 475 size_t count) in max_medium_access_timeouts_store() 500 const char *buf, size_t count) in max_write_same_blocks_store() 548 const char *buf, size_t coun in max_retries_store() [all...] |
H A D | myrb.c | 92 size_t elem_size, elem_align; in myrb_create_mempools() 358 size_t err_table_offset; in myrb_get_errtable() 812 size_t err_table_size; in myrb_enable_mmio() 813 size_t ldev_info_size; in myrb_enable_mmio() 1203 size_t ldev_info_size = sizeof(struct myrb_ldev_info) * in myrb_unmap() 1210 size_t err_table_size = sizeof(struct myrb_error_entry) * in myrb_unmap() 1369 size_t mode_len; in myrb_mode_sense() 1836 struct device_attribute *attr, const char *buf, size_t count) in raid_state_store() 1948 struct device_attribute *attr, const char *buf, size_t count) in rebuild_store() 2053 struct device_attribute *attr, const char *buf, size_t coun in consistency_check_store() [all...] |
/kernel/linux/linux-5.10/kernel/ |
H A D | module.c | 377 size_t object_size, in section_objs() 626 static struct module *find_module_all(const char *name, size_t len, in find_module_all() 1191 static size_t module_flags_taint(struct module *mod, char *buf) in module_flags_taint() 1193 size_t l = 0; in module_flags_taint() 1230 const char *buffer, size_t count) in store_uevent() 1262 size_t l; in show_taint() 1560 char *buf, loff_t pos, size_t count) in module_sect_read() 1565 size_t wrote; in module_sect_read() 1672 char *buf, loff_t pos, size_t count) in module_notes_read() 3197 shdr->sh_addr = (size_t)inf in rewrite_section_headers() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | myrb.c | 92 size_t elem_size, elem_align; in myrb_create_mempools() 357 size_t err_table_offset; in myrb_get_errtable() 810 size_t err_table_size; in myrb_enable_mmio() 811 size_t ldev_info_size; in myrb_enable_mmio() 1201 size_t ldev_info_size = sizeof(struct myrb_ldev_info) * in myrb_unmap() 1208 size_t err_table_size = sizeof(struct myrb_error_entry) * in myrb_unmap() 1368 size_t mode_len; in myrb_mode_sense() 1808 struct device_attribute *attr, const char *buf, size_t count) in raid_state_store() 1920 struct device_attribute *attr, const char *buf, size_t count) in rebuild_store() 2025 struct device_attribute *attr, const char *buf, size_t coun in consistency_check_store() [all...] |
/kernel/linux/linux-6.6/drivers/firmware/cirrus/ |
H A D | cs_dsp.c | 312 static struct cs_dsp_buf *cs_dsp_buf_alloc(const void *src, size_t len, in cs_dsp_buf_alloc() 403 size_t count, loff_t *ppos) in cs_dsp_debugfs_wmfw_read() 423 size_t count, loff_t *ppos) in cs_dsp_debugfs_bin_read() 748 unsigned int off, const void *buf, size_t len) in cs_dsp_coeff_write_ctrl_raw() 790 unsigned int off, const void *buf, size_t len) in cs_dsp_coeff_write_ctrl() 823 unsigned int off, void *buf, size_t len) in cs_dsp_coeff_read_ctrl_raw() 865 unsigned int off, void *buf, size_t len) in cs_dsp_coeff_read_ctrl() 1555 static void *cs_dsp_read_algs(struct cs_dsp *dsp, size_t n_algs, in cs_dsp_read_algs() 1715 size_t n_algs; in cs_dsp_adsp1_setup_algs() 1820 size_t n_alg in cs_dsp_adsp2_setup_algs() [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/ddbridge/ |
H A D | ddbridge-core.c | 591 const __user u8 *buf, size_t count) in ddb_output_write() 664 __user u8 *buf, size_t count) in ddb_input_read() 707 size_t count, loff_t *ppos) in ts_write() 712 size_t left = count; in ts_write() 736 size_t count, loff_t *ppos) in ts_read() 742 size_t left = count; in ts_read() 2771 const char *buf, size_t count) in fan_store() 2884 const char *buf, size_t count) in led_store() 2959 const char *buf, size_t count) in redirect_store() 2983 const char *buf, size_t coun in gap_store() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath6kl/ |
H A D | cfg80211.c | 322 size_t ies_len) in ath6kl_set_assoc_req_ies() 327 size_t len = 0; in ath6kl_set_assoc_req_ies() 684 size_t beacon_ie_len) in ath6kl_add_bss_if_needed() 2643 const u8 *ies, size_t ies_len) in ath6kl_set_ap_probe_resp_ies() 2648 size_t len = 0; in ath6kl_set_ap_probe_resp_ies() 2713 size_t rsn_ie_len; in ath6kl_get_rsn_capab() 3063 const u8 *buf, size_t len, in ath6kl_send_go_probe_resp() 3104 size_t len, in ath6kl_mgmt_powersave_ap() 3112 size_t mgmt_buf_size; in ath6kl_mgmt_powersave_ap() 3170 static bool ath6kl_is_p2p_go_ssid(const u8 *buf, size_t le [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | mad.c | 562 static size_t mad_priv_size(const struct ib_mad_private *mp) in mad_priv_size() 567 static struct ib_mad_private *alloc_mad_private(size_t mad_size, gfp_t flags) in alloc_mad_private() 569 size_t size = sizeof(struct ib_mad_private) + mad_size; in alloc_mad_private() 578 static size_t port_mad_size(const struct ib_mad_port_private *port_priv) in port_mad_size() 583 static size_t mad_priv_dma_size(const struct ib_mad_private *mp) in mad_priv_dma_size() 608 size_t mad_size = port_mad_size(mad_agent_priv->qp_info->port_priv); in handle_outgoing_dr_smp() 766 static int get_pad_size(int hdr_len, int data_len, size_t mad_size) in get_pad_size() 789 size_t mad_size, gfp_t gfp_mask) in alloc_send_rmpp_list() 843 size_t mad_size; in ib_create_send_mad() 1909 size_t *resp_le in generate_unmatched_resp() [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | machine.c | 1072 size_t machines__fprintf_dsos(struct machines *machines, FILE *fp) in machines__fprintf_dsos() 1075 size_t ret = __dsos__fprintf(&machines->host.dsos.head, fp); in machines__fprintf_dsos() 1085 size_t machine__fprintf_dsos_buildid(struct machine *m, FILE *fp, in machine__fprintf_dsos_buildid() 1091 size_t machines__fprintf_dsos_buildid(struct machines *machines, FILE *fp, in machines__fprintf_dsos_buildid() 1095 size_t ret = machine__fprintf_dsos_buildid(&machines->host, fp, skip, parm); in machines__fprintf_dsos_buildid() 1104 size_t machine__fprintf_vmlinux_path(struct machine *machine, FILE *fp) in machine__fprintf_vmlinux_path() 1107 size_t printed = 0; in machine__fprintf_vmlinux_path() 1124 size_t machine__fprintf(struct machine *machine, FILE *fp) in machine__fprintf() 1127 size_t ret; in machine__fprintf() 1176 size_t bufs in machine__get_kallsyms_filename() [all...] |
/third_party/python/Modules/ |
H A D | _elementtree.c | 458 if ((size_t)size > PY_SSIZE_T_MAX/sizeof(PyObject*)) in element_resize() 1726 size_t cur; in element_subscr() 1779 size_t cur; in element_ass_subscr() 1797 size_t cur; in element_ass_subscr() 1812 assert((size_t)slicelen <= SIZE_MAX / sizeof(PyObject *)); in element_ass_subscr() 1828 for (cur = start, i = 0; cur < (size_t)stop; cur += step, ++i) { in element_ass_subscr() 1833 if (cur + step >= (size_t)self->extra->length) { in element_ass_subscr() 1846 cur = start + (size_t)slicelen * step; in element_ass_subscr() 1847 if (cur < (size_t)self->extra->length) { in element_ass_subscr() 4415 (size_t)expat_cap in PyInit__elementtree() [all...] |
/base/hiviewdfx/hitrace/cmd/src/ |
H A D | hitrace_cmd.cpp | 298 size_t len = strnlen(path, MAX_OUTPUT_LEN); in CheckOutputFile() 542 size_t have = CHUNK_SIZE - zs.avail_out; in DumpCompressedTrace() 544 if (static_cast<size_t>(bytesWritten) < have) { in DumpCompressedTrace()
|
/base/hiviewdfx/hilog/test/unittest/common/ |
H A D | hilogtool_test.cpp | 40 size_t len = 0;
in GetCmdLinesFromPopen() 63 size_t len = 0;
in GetCmdResultFromPopen() 87 size_t len = 0;
in IsExistInCmdResult()
|
/base/print/print_fwk/services/print_service/src/ |
H A D | print_system_data.cpp | 214 size_t jsonLength = jsonString.length(); in SaveCupsPrinterMap() 221 return (size_t)writeLength == jsonLength; in SaveCupsPrinterMap() 841 size_t PrintSystemData::GetDiscoveredPrinterCount()
|
/base/powermgr/battery_manager/frameworks/napi/src/ |
H A D | battery_info.cpp | 187 size_t argc = INDEX_2;
in SetBatteryConfig() 217 size_t argc = 1;
in GetBatteryConfig() 246 size_t argc = 1;
in IsBatteryConfigSupported()
|
/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
H A D | napi_x509_crl_entry.cpp | 117 napi_env env, CfCtx *context, size_t argc, size_t maxCount, napi_value callbackValue) in CreateCallbackAndPromise() 176 size_t argc = ARGS_SIZE_ONE; in GetEncoded()
|
/base/security/code_signature/test/unittest/ |
H A D | jit_code_sign_test.cpp | 79 constexpr size_t PAGE_SIZE = 4096; 576 size_t size = INSTRUCTIONS_SET_SIZE_BYTES; in HWMTEST_F() 624 size_t size = INSTRUCTIONS_SET_SIZE_BYTES; in HWTEST_F()
|
/base/sensors/sensor/frameworks/js/napi/src/ |
H A D | sensor_napi_utils.cpp | 63 for (size_t i = 0; i < arrayLength; ++i) {
in GetFloatArray() 139 size_t copyLength = 0;
in GetStringValue() 328 size_t size = g_sensorAttributeList[sensorTypeId].size();
in ConvertToSensorData()
|
/base/startup/init/services/init/ |
H A D | init_common_cmds.c | 60 static char *AddOneArg(const char *param, size_t paramLen)
in AddOneArg() 68 size_t allocSize = paramLen + (PARAM_VALUE_LEN_MAX * valueCount) + 1;
in AddOneArg() 173 size_t size = strlen(ctx->argv[0]);
in SetProcName()
|
/foundation/ability/idl_tool/parser/ |
H A D | parser.cpp | 401 for (size_t i = 0; i< method->GetParameterNumber(); i++) { in ParseMethod() 728 size_t interfaceNumber = module_->GetInterfaceNumber(); in CheckIntegrity() 729 for (size_t i = 0; i < interfaceNumber; i++) { in CheckIntegrity()
|
/foundation/ability/form_fwk/frameworks/js/napi/formUtil/ |
H A D | napi_form_util.cpp | 38 constexpr size_t ARGS_SIZE_TWO = 2; 246 size_t strLength = strInfo.size(); in ConvertStringToInt64() 642 size_t size = 0; in GetStringFromNapi()
|