/third_party/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_add_composite_types.cpp | 67 // Consider each valid vector size. in MaybeAddMissingVectorTypes() 68 for (uint32_t size = 2; size <= 4; size++) { in MaybeAddMissingVectorTypes() 70 // vector with this size and base type. in MaybeAddMissingVectorTypes() 73 FindOrCreateVectorType(base_type_supplier(), size); in MaybeAddMissingVectorTypes() local
|
/third_party/toybox/toys/other/ |
H A D | lspci.c | 57 int fd, size = 6 + 2*(FLAG(e) && p == toybuf); in do_lspci() local 64 xreadall(fd, p, size); in do_lspci() 65 memmove(p, p+2, size -= 2); in do_lspci() 66 p[size] = 0; in do_lspci()
|
H A D | taskset.c | 38 #define sched_setaffinity(pid, size, cpuset) \ 39 syscall(__NR_sched_setaffinity, (pid_t)pid, (size_t)size, (void *)cpuset) 40 #define sched_getaffinity(pid, size, cpuset) \ 41 syscall(__NR_sched_getaffinity, (pid_t)pid, (size_t)size, (void *)cpuset)
|
/third_party/python/Python/ |
H A D | dynamic_annotations.c | 75 long size){} in AnnotatePublishMemoryRange() 78 long size){} in AnnotateUnpublishMemoryRange() 89 long size){} in AnnotateNewMemory() 98 long size, in AnnotateBenignRaceSized() 73 AnnotatePublishMemoryRange(const char *file, int line, const volatile void *address, long size) AnnotatePublishMemoryRange() argument 76 AnnotateUnpublishMemoryRange(const char *file, int line, const volatile void *address, long size) AnnotateUnpublishMemoryRange() argument 87 AnnotateNewMemory(const char *file, int line, const volatile void *mem, long size) AnnotateNewMemory() argument 96 AnnotateBenignRaceSized(const char *file, int line, const volatile void *mem, long size, const char *description) AnnotateBenignRaceSized() argument
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | TestBadIdentifiers.java | 80 assertEquals(0, message.getInt32Field1List().size()); in testConflictingFieldNames() 109 assertEquals(0, message.get60DayImpressionsList().size()); in testNumberFields() 114 assertEquals(0, message.get2RepeatedUnderscoresList().size()); in testNumberFields() 119 assertEquals(0, message.get64List().size()); in testNumberFields()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | cordz_test_helpers.h | 67 if (stat.size != arg.size()) { in MATCHER_P() 68 *result_listener << "cordz size " << stat.size in MATCHER_P() 69 << " does not match cord size " << arg.size(); in MATCHER_P()
|
/third_party/skia/modules/skparagraph/src/ |
H A D | FontArguments.cpp | 62 static_cast<int>(fCoordinates.size()) in CloneTypeface() 68 static_cast<int>(fPaletteOverrides.size()) in CloneTypeface() 83 static_cast<int>(fCoordinates.size()) in CloneTypeface() 89 static_cast<int>(fPaletteOverrides.size()) in CloneTypeface()
|
/third_party/skia/gm/ |
H A D | fillrect_gradient.cpp | 54 colors.reserve(stops.size()); in drawGradient() 55 positions.reserve(stops.size()); in drawGradient() 71 colors.size(), in drawGradient() 85 colors.size(), in drawGradient()
|
H A D | particles.cpp | 29 SkISize size, in ParticlesGM() 35 , fSize(size) 46 skjson::DOM dom(static_cast<const char*>(jsonData->data()), jsonData->size()); 56 SkAssertResult(fEffect->setUniform(val.fName, val.fData.data(), val.fData.size())); 27 ParticlesGM(const char* name, double startTime, SkISize size, SkPoint origin, std::vector<UniformValue> uniforms = {}) ParticlesGM() argument
|
/third_party/skia/modules/skottie/src/effects/ |
H A D | VenetianBlindsEffect.cpp | 68 size = std::max(1.0f, fWidth), variable 71 df = feather / size, // feather distance in normalized stop space 135 grad_vec = SkVector::Make( size * std::cos(angle), 136 -size * std::sin(angle));
|
/third_party/skia/bench/ |
H A D | DecodeBench.cpp | 67 fData->size()); 84 fData->size()); 87 anim->render(recorder.beginRecording(anim->size().width(), anim->size().height()));
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/ |
H A D | vktVideoSessionNvUtils.cpp | 61 virtual bool parseByteStream (deUint8* pData, deInt64 size); 120 bool ClsVulkanVideoDecodeParser::parseByteStream (deUint8* pData, deInt64 size) in parseByteStream() argument 129 pkt.nDataLength = static_cast<int32_t>(size); in parseByteStream() 131 pkt.bEOS = (pData == DE_NULL || size == 0); in parseByteStream()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | wpabuf.h | 21 size_t size; /* total size of the allocated buffer */ member 44 * wpabuf_size - Get the currently allocated size of a wpabuf buffer 46 * Returns: Currently allocated size of the buffer 50 return buf->size; in wpabuf_size() 64 * wpabuf_tailroom - Get size of available tail room in the end of the buffer 70 return buf->size - buf->used; in wpabuf_tailroom() 156 buf->size = buf->used = len; in wpabuf_set()
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
H A D | deRingBuffer.hpp | 38 RingBuffer (int size); 70 RingBuffer<T>::RingBuffer (int size) in RingBuffer() argument 74 , m_size (size) in RingBuffer() 76 DE_ASSERT(size > 0); in RingBuffer()
|
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluCallLogWrapper.cpp | 47 inline tcu::Format::ArrayPointer<T> getPointerStr (const T* arr, deUint32 size) in getPointerStr() argument 49 return tcu::formatArray(arr, (int)size); in getPointerStr() 53 inline tcu::Format::ArrayPointer<T> getPointerStr (const T* arr, int size) in getPointerStr() argument 55 return tcu::formatArray(arr, de::max(size, 0)); in getPointerStr()
|
/third_party/vk-gl-cts/framework/platform/android/ |
H A D | tcuAndroidWindow.cpp | 76 // Reset buffer size and format back to initial state in release() 143 m_windows.reserve(m_windows.size()+1); in addWindow() 149 for (int ndx = 0; ndx < (int)m_windows.size(); ++ndx) in destroyWindow() 173 for (int ndx = 0; ndx < (int)m_windows.size(); ++ndx) in tryAcquireWindow() 186 for (int ndx = 0; ndx < (int)m_windows.size(); ++ndx) in garbageCollect()
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
H A D | rrVertexAttrib.hpp | 45 VERTEXATTRIBTYPE_NONPURE_UNORM_2_10_10_10_REV, //!< Packed format, only size = 4 is allowed 51 VERTEXATTRIBTYPE_NONPURE_SNORM_2_10_10_10_REV_CLAMP, //!< Packed format, only size = 4 is allowed 57 VERTEXATTRIBTYPE_NONPURE_SNORM_2_10_10_10_REV_SCALE, //!< Packed format, only size = 4 is allowed 68 VERTEXATTRIBTYPE_NONPURE_UINT_2_10_10_10_REV, //!< Packed format, only size = 4 is allowed 69 VERTEXATTRIBTYPE_NONPURE_INT_2_10_10_10_REV, //!< Packed format, only size = 4 is allowed 98 * Attribute size specifies how many components there are per vertex. 99 * If size is 0, no components are fetched, ie. vertex attribute slot 112 int size; //!< Number of components, valid range is [0,4]. member 120 , size (0) in VertexAttrib() 129 , size (size in VertexAttrib() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/cert_mgr_deps/include/ |
H A D | cm_type.h | 53 * Before calling this function, ensure that the size does not overflow after 3 is added. 55 #define ALIGN_SIZE(size) ((((uint32_t)(size) + 3) >> 2) << 2) 175 uint32_t size; member 219 if ((blob == NULL) || (blob->data == NULL) || (blob->size == 0)) { in CmCheckBlob()
|
/kernel/linux/linux-5.10/drivers/dma/sh/ |
H A D | rcar-dmac.c | 32 * @size: transfer size in bytes 39 u32 size; member 59 * @xfer_shift: log2 of the transfer size 68 * @hwdescs.size: size of the hardware descriptors in bytes 69 * @size: transfer size in bytes 87 size_t size; member 90 unsigned int size; member 696 rcar_dmac_realloc_hwdesc(struct rcar_dmac_chan *chan, struct rcar_dmac_desc *desc, size_t size) rcar_dmac_realloc_hwdesc() argument 954 unsigned int size = min(len, max_chunk_size); rcar_dmac_chan_prep_sg() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
H A D | r8a66597-udc.c | 236 int size; in get_buffer_size() local 241 size = 256; in get_buffer_size() 244 size = tmp & MAXP; in get_buffer_size() 251 size = ((tmp >> 10) + 1) * 64; in get_buffer_size() 254 size = tmp & MXPS; in get_buffer_size() 258 return size; in get_buffer_size() 940 size_t size; in irq_ep0_write() local 963 size = min(bufsize, req->req.length - req->req.actual); in irq_ep0_write() 967 if (size > 0) in irq_ep0_write() 968 r8a66597_write_fifo(r8a66597, ep, buf, size); in irq_ep0_write() 994 size_t size; irq_packet_write() local 1043 int size; irq_packet_read() local [all...] |
H A D | m66592-udc.c | 181 int size; in get_buffer_size() local 186 size = 256; in get_buffer_size() 189 size = tmp & M66592_MAXP; in get_buffer_size() 196 size = ((tmp >> 10) + 1) * 64; in get_buffer_size() 199 size = tmp & M66592_MXPS; in get_buffer_size() 203 return size; in get_buffer_size() 744 size_t size; in irq_ep0_write() local 766 size = min(bufsize, req->req.length - req->req.actual); in irq_ep0_write() 770 if (size > 0) in irq_ep0_write() 771 m66592_write_fifo(m66592, ep, buf, size); in irq_ep0_write() 796 size_t size; irq_packet_write() local 843 int size; irq_packet_read() local [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | symbol-elf.c | 483 static int elf_read_build_id(Elf *elf, void *bf, size_t size) in elf_read_build_id() argument 493 if (size < BUILD_ID_SIZE) in elf_read_build_id() 548 size_t sz = min(size, descsz); in elf_read_build_id() 550 memset(bf + sz, 0, size - sz); in elf_read_build_id() 566 size_t size = sizeof(bid->data); in filename__read_build_id() local 579 if (!abfd->build_id || abfd->build_id->size > size) in filename__read_build_id() 582 memcpy(bid->data, abfd->build_id->data, abfd->build_id->size); in filename__read_build_id() 583 memset(bid->data + abfd->build_id->size, 0, size in filename__read_build_id() 595 size_t size = sizeof(bid->data); filename__read_build_id() local 627 size_t size = sizeof(bid->data); sysfs__read_build_id() local 677 filename__read_debuglink(const char *filename, char *debuglink, size_t size) filename__read_debuglink() argument 713 filename__read_debuglink(const char *filename, char *debuglink, size_t size) filename__read_debuglink() argument 865 int size; symsrc__init() local [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/tm6000/ |
H A D | tm6000-video.c | 123 unsigned int cmd, cpysize, pktsize, size, field, block, line, pos = 0; in copy_streams() local 173 size = ((header & 0x7e) << 1); in copy_streams() 174 if (size > 0) in copy_streams() 175 size -= 4; in copy_streams() 181 if (size > TM6000_URB_MSG_LEN) in copy_streams() 182 size = TM6000_URB_MSG_LEN; in copy_streams() 205 memset(voutp, 0, vbuf->vb.size); in copy_streams() 211 if (pos + size > vbuf->vb.size) in copy_streams() 220 size in copy_streams() 553 int i, j, sb_size, pipe, size, max_packets; tm6000_prepare_isoc() local 673 buffer_setup(struct videobuf_queue *vq, unsigned int *count, unsigned int *size) buffer_setup() argument [all...] |
/kernel/linux/linux-5.10/drivers/memory/ |
H A D | omap-gpmc.c | 97 * As GPMC minimum partition size is 16MB we can only start from 841 static int gpmc_cs_set_memconf(int cs, u32 base, u32 size) in gpmc_cs_set_memconf() argument 848 * boundary equal to or greater than size. in gpmc_cs_set_memconf() 850 if (base & (size - 1)) in gpmc_cs_set_memconf() 854 mask = (1 << GPMC_SECTION_SHIFT) - size; in gpmc_cs_set_memconf() 886 static void gpmc_cs_get_memconf(int cs, u32 *base, u32 *size) in gpmc_cs_get_memconf() argument 894 *size = (1 << GPMC_SECTION_SHIFT) - (mask << GPMC_CHUNK_SHIFT); in gpmc_cs_get_memconf() 919 static unsigned long gpmc_mem_align(unsigned long size) in gpmc_mem_align() argument 923 size = (size in gpmc_mem_align() 933 gpmc_cs_insert_mem(int cs, unsigned long base, unsigned long size) gpmc_cs_insert_mem() argument 964 gpmc_cs_request(int cs, unsigned long size, unsigned long *base) gpmc_cs_request() argument 1464 u32 base, size; gpmc_mem_init() local 1916 u32 old_base, size; gpmc_cs_remap() local [all...] |
/kernel/linux/linux-6.6/fs/ntfs3/ |
H A D | inode.c | 133 asize = le32_to_cpu(attr->size); in ntfs_read_mft() 139 asize = le32_to_cpu(attr->size); in ntfs_read_mft() 643 * Read across valid size: vbo < valid && valid < vbo + block_size in ntfs_get_block_vbo() 824 /* Check for maximum file size. */ in ntfs_set_size() 1132 u32 size, u16 *nsize) in ntfs_create_reparse_buffer() 1139 rp = kzalloc(ntfs_reparse_bytes(2 * size + 2), GFP_NOFS); in ntfs_create_reparse_buffer() 1147 err = ntfs_nls_to_utf16(sbi, symname, size, in ntfs_create_reparse_buffer() 1148 (struct cpu_str *)(rp_name - 1), 2 * size, in ntfs_create_reparse_buffer() 1214 dev_t dev, const char *symname, u32 size, in ntfs_create_inode() 1376 attr->size in ntfs_create_inode() 1131 ntfs_create_reparse_buffer(struct ntfs_sb_info *sbi, const char *symname, u32 size, u16 *nsize) ntfs_create_reparse_buffer() argument 1211 ntfs_create_inode(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const struct cpu_str *uni, umode_t mode, dev_t dev, const char *symname, u32 size, struct ntfs_fnd *fnd) ntfs_create_inode() argument 1921 u64 size; ntfs_readlink_hlp() local [all...] |