/third_party/spirv-tools/source/opt/ |
H A D | ir_context.cpp | 1084 if (preds.size() != real.size()) { in CheckCFG() 1088 for (size_t i = 0; i < real.size() && same; i++) { in CheckCFG()
|
/third_party/spirv-tools/test/ |
H A D | parse_number_test.cpp | 599 if (word_buffer.size() == 2) word_buffer.clear(); in TEST() 678 if (word_buffer.size() == 2) word_buffer.clear(); in TEST() 792 if (word_buffer.size() == 2) word_buffer.clear(); in TEST()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fShaderPrecisionTests.cpp | 379 glu::draw(m_context.getRenderContext(), prog, (int)vertexArrays.size(), &vertexArrays[0], in iterate() 593 glu::draw(m_context.getRenderContext(), prog, (int)vertexArrays.size(), &vertexArrays[0], in iterate() 786 glu::draw(m_context.getRenderContext(), prog, (int)vertexArrays.size(), &vertexArrays[0], in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineSamplerBorderSwizzleTests.cpp | 1037 for (size_t rotations = 1u; rotations < standardSwizzle.size(); ++rotations) in genMappingPermutations() 1048 for (size_t pos = 0; pos < standardSwizzle.size(); ++pos) in genMappingPermutations() 1308 for (size_t mappingIdx = 0u; mappingIdx < mappingPermutations.size(); ++mappingIdx) in createSamplerBorderSwizzleTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/ |
H A D | vktVideoCapabilitiesTests.cpp | 122 if (queueFamilyPropertiesCount != queueFamilyProperties2.size()) in iterate() 324 if (videoFormatPropertiesCount != videoFormatProperties.size()) in iterate() 337 if (videoFormatProperties.size() != 1) in iterate()
|
/drivers/hdf_core/framework/model/storage/src/mmc/ |
H A D | mmc_protocol.c | 49 static uint32_t MmcParseBits(const uint32_t *data, uint32_t bitsLen, uint32_t start, uint32_t size) in MmcParseBits() argument 55 if (start >= bitsLen || size == 0) { in MmcParseBits() 59 if (size > BITS_NUMBER_OF_4_BYTES) { in MmcParseBits() 67 if (size + shift > BITS_NUMBER_OF_4_BYTES) { in MmcParseBits() 71 if (size < BITS_NUMBER_OF_4_BYTES) { in MmcParseBits() 72 return (ret & ((1u << size) - 1)); in MmcParseBits() 562 static int32_t MmcAlignEraseSize(struct MmcCntlr *cntlr, uint32_t *start, uint32_t *end, uint32_t size) in MmcAlignEraseSize() argument 564 uint32_t curSize = size; in MmcAlignEraseSize() 583 /* align size. */ in MmcAlignEraseSize() 762 /* size o in EmmcDecodeCsd() 2957 SdioReadWriteRemainBytes(struct MmcCntlr *cntlr, struct SdioCmdParam *param, uint8_t *data, uint32_t size, uint32_t addr) SdioReadWriteRemainBytes() argument [all...] |
/kernel/linux/linux-5.10/drivers/android/ |
H A D | binder.c | 2082 * size of that object. Otherwise, it returns zero. The object 2340 "%d buffer release %d, size %zd-%zd, failed at %llx\n", in binder_transaction_buffer_release() 2363 pr_err("transaction release %d bad object at offset %lld, size %zd\n", in binder_transaction_buffer_release() 3432 "%d:%d BC_REPLY %d -> %d:%d, data %016llx-%016llx size %lld-%lld-%lld\n", in binder_transaction() 3441 "%d:%d BC_TRANSACTION %d -> %d - node %d, data %016llx-%016llx size %lld-%lld-%lld\n", in binder_transaction() 3551 binder_user_error("%d:%d got transaction with invalid offsets size, %lld\n", in binder_transaction() 3559 binder_user_error("%d:%d got transaction with unaligned buffers size, %lld\n", in binder_transaction() 3733 binder_user_error("%d:%d invalid ptr object size: %zd vs %zd\n", in binder_transaction() 3954 "%d:%d transaction failed %d/%d, size %lld-%lld line %d\n", in binder_transaction() 4035 binder_uintptr_t binder_buffer, size_t size, in binder_thread_write() 4033 binder_thread_write(struct binder_proc *proc, struct binder_thread *thread, binder_uintptr_t binder_buffer, size_t size, binder_size_t *consumed) binder_thread_write() argument 4618 binder_thread_read(struct binder_proc *proc, struct binder_thread *thread, binder_uintptr_t binder_buffer, size_t size, binder_size_t *consumed, int non_block) binder_thread_read() argument 5304 unsigned int size = _IOC_SIZE(cmd); binder_ioctl_write_read() local 5478 unsigned int size = _IOC_SIZE(cmd); binder_ioctl() local [all...] |
/kernel/linux/linux-5.10/arch/x86/crypto/ |
H A D | poly1305-x86_64-cryptogams.pl | 127 $code .= ".size $name,.-$name\n"; 433 .size __poly1305_block,.-__poly1305_block 444 lea 48+64($ctx),$ctx # size optimization 595 lea -48-64($ctx),$ctx # size [de-]optimization 598 .size __poly1305_init_avx,.-__poly1305_init_avx 882 lea `16*3+64`($ctx),$ctx # size optimization 1831 lea 48+64($ctx),$ctx # size optimization 1842 lea 0x90(%rsp),%rax # size optimization 2245 lea 48+64($ctx),$ctx # size optimization 2764 lea 0x90(%rsp),%rax # size optimizatio [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ethtool.c | 40 /* Helper macro to define an i40e_stat structure with proper size and type. 105 WARN_ONCE(1, "unexpected stat size for %s", in i40e_add_one_ethtool_stat() 116 * @size: the size of the stats definition 127 const unsigned int size) in __i40e_add_ethtool_stats() 131 for (i = 0; i < size; i++) in __i40e_add_ethtool_stats() 143 * ensuring that we pass the size associated with the given stats array. 168 const unsigned int size = ARRAY_SIZE(i40e_gstrings_queue_stats); in i40e_add_queue_stats() local 180 for (i = 0; i < size; i++) { in i40e_add_queue_stats() 187 *data += size; in i40e_add_queue_stats() 125 __i40e_add_ethtool_stats(u64 **data, void *pointer, const struct i40e_stats stats[], const unsigned int size) __i40e_add_ethtool_stats() argument 199 __i40e_add_stat_strings(u8 **p, const struct i40e_stats stats[], const unsigned int size, ...) __i40e_add_stat_strings() argument 3775 int size = 0; i40e_find_flex_offset() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | mcu.c | 737 dev_err(dev->mt76.dev, "Bcn size limit exceed\n"); in mt7615_mcu_add_beacon_offload() 862 u16 size = le16_to_cpu(sta_hdr->len); in mt7615_mcu_add_nested_tlv() local 864 sta_hdr->len = cpu_to_le16(size + len); in mt7615_mcu_add_nested_tlv() 1808 dev_err(dev->mt76.dev, "beacon size limit exceed\n"); in mt7615_mcu_uni_add_beacon_offload() 2024 if (!fw || !fw->data || fw->size < sizeof(*hdr)) { in mt7615_load_patch() 2035 len = fw->size - sizeof(*hdr); in mt7615_load_patch() 2134 if (!fw || !fw->data || fw->size < N9_REGION_NUM * sizeof(*hdr)) { in mt7615_load_n9() 2140 hdr = (const struct mt7615_fw_trailer *)(fw->data + fw->size - in mt7615_load_n9() 2185 if (!fw || !fw->data || fw->size < CR4_REGION_NUM * sizeof(*hdr)) { in mt7615_load_cr4() 2191 hdr = (const struct mt7615_fw_trailer *)(fw->data + fw->size in mt7615_load_cr4() [all...] |
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | smb2ops.c | 163 smb2_wait_mtu_credits(struct TCP_Server_Info *server, unsigned int size, in smb2_wait_mtu_credits() argument 197 *num = min_t(unsigned int, size, in smb2_wait_mtu_credits() 480 /* Azure rounds the buffer size up 8, to a 16 byte boundary */ in parse_server_interfaces() 1037 /* skip copy - calc size only */ in move_smb2_ea_to_cifs() 1152 unsigned int size[1]; in smb2_set_ea() local 1252 size[0] = len; in smb2_set_ea() 1259 SMB2_O_INFO_FILE, 0, data, size); in smb2_set_ea() 1339 seq_printf(m, "\tOptimal sector size: 0x%x", in smb2_dump_share_caps() 1457 * but instead 512 byte (2**9) size is required for in smb2_close_getattr() 1531 unsigned int size[ in smb2_ioctl_query_info() local 1971 smb2_set_file_size(const unsigned int xid, struct cifs_tcon *tcon, struct cifsFileInfo *cfile, __u64 size, bool set_alloc) smb2_set_file_size() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ethtool.c | 40 /* Helper macro to define an i40e_stat structure with proper size and type. 105 WARN_ONCE(1, "unexpected stat size for %s", in i40e_add_one_ethtool_stat() 116 * @size: the size of the stats definition 127 const unsigned int size) in __i40e_add_ethtool_stats() 131 for (i = 0; i < size; i++) in __i40e_add_ethtool_stats() 143 * ensuring that we pass the size associated with the given stats array. 168 const unsigned int size = ARRAY_SIZE(i40e_gstrings_queue_stats); in i40e_add_queue_stats() local 180 for (i = 0; i < size; i++) { in i40e_add_queue_stats() 187 *data += size; in i40e_add_queue_stats() 125 __i40e_add_ethtool_stats(u64 **data, void *pointer, const struct i40e_stats stats[], const unsigned int size) __i40e_add_ethtool_stats() argument 199 __i40e_add_stat_strings(u8 **p, const struct i40e_stats stats[], const unsigned int size, ...) __i40e_add_stat_strings() argument 3930 int size = 0; i40e_find_flex_offset() local [all...] |
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | nfs4xdr.c | 117 * Allocates a buffer of size @len to be freed when processing the compound 266 * @bmlen: size of the @bmval array 406 u64 size; in nfsd4_decode_fattr4() local 408 if (xdr_stream_decode_u64(argp->xdr, &size) < 0) in nfsd4_decode_fattr4() 410 iattr->ia_size = size; in nfsd4_decode_fattr4() 2107 * XDR data that is more than PAGE_SIZE in size is normally part of a 2108 * read or write. However, the size of extended attributes is limited 2109 * by the maximum request size, and then further limited by the underlying 2207 * channel reply size. nfsd_getxattr will probe the length of the xattr, 2235 u32 flags, maxcount, size; in nfsd4_decode_setxattr() local [all...] |
/kernel/linux/linux-6.6/arch/x86/crypto/ |
H A D | poly1305-x86_64-cryptogams.pl | 126 $code .= ".size $name,.-$name\n"; 432 .size __poly1305_block,.-__poly1305_block 443 lea 48+64($ctx),$ctx # size optimization 594 lea -48-64($ctx),$ctx # size [de-]optimization 597 .size __poly1305_init_avx,.-__poly1305_init_avx 881 lea `16*3+64`($ctx),$ctx # size optimization 1830 lea 48+64($ctx),$ctx # size optimization 1841 lea 0x90(%rsp),%rax # size optimization 2244 lea 48+64($ctx),$ctx # size optimization 2763 lea 0x90(%rsp),%rax # size optimizatio [all...] |
/kernel/linux/linux-6.6/drivers/net/usb/ |
H A D | lan78xx.c | 2442 static int lan78xx_set_rx_max_frame_length(struct lan78xx_net *dev, int size) in lan78xx_set_rx_max_frame_length() argument 2456 /* add 4 to size for FCS */ in lan78xx_set_rx_max_frame_length() 2458 buf |= (((size + 4) << MAC_RX_MAX_SIZE_SHIFT_) & MAC_RX_MAX_SIZE_MASK_); in lan78xx_set_rx_max_frame_length() 3567 u32 rx_cmd_a, rx_cmd_b, align_count, size; in lan78xx_rx() local 3583 size = (rx_cmd_a & RX_CMD_A_LEN_MASK_); in lan78xx_rx() 3584 align_count = (4 - ((size + RXW_PADDING) % 4)) % 4; in lan78xx_rx() 3586 if (unlikely(size > skb->len)) { in lan78xx_rx() 3588 "size err rx_cmd_a=0x%08x\n", in lan78xx_rx() 3600 if (unlikely(size < ETH_FCS_LEN)) { in lan78xx_rx() 3602 "size er in lan78xx_rx() 3715 size_t size = dev->rx_urb_size; rx_submit() local [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | test_maple_tree.c | 105 unsigned long start, unsigned long end, unsigned long size, in check_mtree_alloc_range() 112 ret = mtree_alloc_range(mt, &result, ptr, size, start, end, in check_mtree_alloc_range() 122 unsigned long start, unsigned long end, unsigned long size, in check_mtree_alloc_rrange() 129 ret = mtree_alloc_rrange(mt, &result, ptr, size, start, end, in check_mtree_alloc_rrange() 684 * Start of hole, end of hole, size of hole (+1) in check_alloc_rev_range() 695 * 3. size in check_alloc_rev_range() 703 0x7fff5878d << 12, /* First rev hole of size 0x1000 */ in check_alloc_rev_range() 715 562949953421311 << 12,/* First rev hole of size 0x1000 */ in check_alloc_rev_range() 721 0x7F36D5106 << 12, /* First rev hole of size 0x4000 */ in check_alloc_rev_range() 792 pr_debug("\tReverse request %d between %lu-%lu size in check_alloc_rev_range() 104 check_mtree_alloc_range(struct maple_tree *mt, unsigned long start, unsigned long end, unsigned long size, unsigned long expected, int eret, void *ptr) check_mtree_alloc_range() argument 121 check_mtree_alloc_rrange(struct maple_tree *mt, unsigned long start, unsigned long end, unsigned long size, unsigned long expected, int eret, void *ptr) check_mtree_alloc_rrange() argument 2857 unsigned long size; check_empty_area_fill() local [all...] |
/kernel/linux/linux-6.6/net/netfilter/ipvs/ |
H A D | ip_vs_ctl.c | 103 /* however in linux 2.5 the i.bufferram is total page cache size, in update_defense_level() 1952 /* est_max_threads may depend on cpulist size */ in ipvs_proc_est_cpumask_set() 1966 size_t size) in ipvs_proc_est_cpumask_get() 1979 ret = scnprintf(buffer, size, "%*pbl\n", cpumask_pr_args(mask)); in ipvs_proc_est_cpumask_get() 2400 "IP Virtual Server version %d.%d.%d (size=%d)\n", in ip_vs_info_seq_show() 3070 sprintf(buf, "IP Virtual Server version %d.%d.%d (size=%d)", in do_ip_vs_get_ctl() 3084 info.size = ip_vs_conn_tab_size; in do_ip_vs_get_ctl() 3094 int size; in do_ip_vs_get_ctl() local 3097 size = struct_size(get, entrytable, get->num_services); in do_ip_vs_get_ctl() 3098 if (*len != size) { in do_ip_vs_get_ctl() 1965 ipvs_proc_est_cpumask_get(struct ctl_table *table, void *buffer, size_t size) ipvs_proc_est_cpumask_get() argument 3135 int size; do_ip_vs_get_ctl() local [all...] |
/third_party/mesa3d/src/glx/tests/ |
H A D | indirect_api.cpp | 151 void __indirect_glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer) { } in __indirect_glFeedbackBuffer() argument 254 void __indirect_glPointSize(GLfloat size) { } in __indirect_glPointSize() argument 303 void __indirect_glSelectBuffer(GLsizei size, GLuint *buffer) { } in __indirect_glSelectBuffer() argument 386 void __indirect_glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) { } in __indirect_glColorPointer() argument 409 void __indirect_glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) { } in __indirect_glTexCoordPointer() argument 412 void __indirect_glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) { } in __indirect_glVertexPointer() argument 553 void __indirect_glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer) { } in __indirect_glVertexAttribPointer() argument 567 void __indirect_glColorPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer) { } in __indirect_glColorPointerEXT() argument 571 void __indirect_glTexCoordPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer) { } in __indirect_glTexCoordPointerEXT() argument 572 void __indirect_glVertexPointerEXT(GLint size, GLenu in __indirect_glTexCoordPointerEXT() argument 591 __indirect_glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const void *pointer) __indirect_glSecondaryColorPointer() argument [all...] |
/third_party/ntfs-3g/ntfsprogs/ |
H A D | playlog.c | 235 /* Usual indexes can be determined from size */ in sanity_indx_list() 582 u32 size, BOOL warn) in read_protected() 595 if (buffer && (size < clustersz)) { in read_protected() 597 buffer = (char*)malloc(size); in read_protected() 601 memcpy(buffer, full + pos, size); in read_protected() 606 (NTFS_RECORD*)buffer, size, FALSE) < 0)) { in read_protected() 630 char *buffer, u32 size) in write_protected() 643 if ((size == mftrecsz) && !memcmp(buffer,"FILE",4)) { in write_protected() 662 /* Duplicate on mftmirr if not overflowing its size */ in write_protected() 669 if ((size in write_protected() 581 read_protected(ntfs_volume *vol, const LOG_RECORD *logr, u32 size, BOOL warn) read_protected() argument 629 write_protected(ntfs_volume *vol, const LOG_RECORD *logr, char *buffer, u32 size) write_protected() argument [all...] |
/third_party/libabigail/src/ |
H A D | abg-reader.cc | 929 // early-canonicalize some of these types, reducing the size in maybe_canonicalize_type() 1608 XML_NODE_GET_ATTRIBUTE(node, "address-size"); in read_translation_unit() 2477 /// Parse 'size-in-bits' and 'alignment-in-bits' attributes of a given 2482 /// @param size_in_bits the resulting value for the 'size-in-bits' 2500 if (xml_char_sptr s = XML_NODE_GET_ATTRIBUTE(node, "size-in-bits")) in read_size_and_alignment() 3053 size_t size = 0; in build_elf_symbol() local 3054 if (xml_char_sptr s = XML_NODE_GET_ATTRIBUTE(node, "size")) in build_elf_symbol() 3055 size = strtol(CHAR_STR(s), NULL, 0); in build_elf_symbol() 3109 size, name, type, binding, in build_elf_symbol() 3361 size_t size in build_function_decl() local 4025 size_t size = rdr.get_translation_unit()->get_address_size(), align = 0; build_function_type() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/ |
H A D | vktComputeBasicComputeShaderTests.cpp | 72 template<typename T, int size> 73 T multiplyComponents (const tcu::Vector<T, size>& v) in multiplyComponents() 76 for (int i = 0; i < size; ++i) in multiplyComponents() 1191 << " uvec3 size = gl_NumWorkGroups * gl_WorkGroupSize;\n" 1192 << " uint numValuesPerInv = uint(ub_in.values.length()) / (size.x*size.y*size.z);\n" 1193 << " uint groupNdx = size.x*size.y*gl_GlobalInvocationID.z + size [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
H A D | AutoUpgrade.cpp | 498 if (Name.size() <= 8 || !Name.startswith("llvm.")) in UpgradeIntrinsicFunction1() 555 StoreInts[fArgs.size() - 3], Tys); in UpgradeIntrinsicFunction1() 558 StoreLaneInts[fArgs.size() - 5], Tys); in UpgradeIntrinsicFunction1() 1022 // If palignr is shifting the pair of vectors more than the size of two in UpgradeX86ALIGNIntrinsics() 2112 assert(NumDstElts == 2 && "Unexpected vector size"); in UpgradeIntrinsicCall() 2452 // Extend the second operand into a vector the size of the destination. in UpgradeIntrinsicCall() 2569 // Calculate the size of each index in the immediate. in UpgradeIntrinsicCall() 2840 (Name.size() > 18 && Name[18] == 'i'); in UpgradeIntrinsicCall() 2864 llvm_unreachable("Unexpected size"); in UpgradeIntrinsicCall() 2876 llvm_unreachable("Unexpected size"); in UpgradeIntrinsicCall() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cProgramInterfaceQueryTests.cpp | 411 int size = sizeof(PIQBase::interfaces) / sizeof(PIQBase::interfaces[0]); in Run() local 413 for (int i = 0; i < size; ++i) in Run() 435 for (int i = 0; i < size; ++i) in Run() 1683 GLint size; in Run() local 1684 glGetActiveUniformBlockiv(program, indicesUB["SimpleBlock"], GL_UNIFORM_BLOCK_DATA_SIZE, &size); in Run() 1685 GLint expected[] = { 12, 0, 0, 0, 0, 0, 0, 1, size }; in Run() 1687 glGetActiveUniformBlockiv(program, indicesUB["NotSoSimpleBlockk"], GL_UNIFORM_BLOCK_DATA_SIZE, &size); in Run() 1688 GLint expected2[] = { 18, 2, 0, 0, 0, 0, 0, 1, size }; in Run() 1691 glGetActiveUniformBlockiv(program, indicesUB["TrickyBlock"], GL_UNIFORM_BLOCK_DATA_SIZE, &size); in Run() 1692 GLint expected3[] = { 15, 3, 0, 1, 0, 0, 0, 0, size }; in Run() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
H A D | SamplerCore.cpp | 504 Vector4f size; in textureSize() local 511 size.x = Insert(size.x, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, width)))), i); in textureSize() 512 size.y = Insert(size.y, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, height)))), i); in textureSize() 513 size.z = Insert(size.z, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, depth)))), i); in textureSize() 516 return size; in textureSize() 1715 Int size = Int(*Pointer<Int>(mipmap + OFFSET(Mipmap, sliceP))); in computeIndices() local 1718 size * in computeIndices() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
H A D | PPCInstrInfo.cpp | 672 assert(!BytesRemoved && "code size not handled"); in removeBranch() 710 assert((Cond.size() == 2 || Cond.size() == 0) && in insertBranch() 712 assert(!BytesAdded && "code size not handled"); in insertBranch() 759 if (Cond.size() != 2) in canInsertSelect() 797 assert(Cond.size() == 2 && in insertSelect() 1244 for (unsigned i = 0, e = NewMIs.size(); i != e; ++i) in storeRegToStackSlot() 1302 for (unsigned i = 0, e = NewMIs.size(); i != e; ++i) in loadRegFromStackSlot() 1315 assert(Cond.size() == 2 && "Invalid PPC branch opcode!"); in reverseBranchCondition() 1525 assert(Pred1.size() [all...] |