/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/ |
H A D | test_vector_ops_main.cpp | 28 typename VectorOps<T>::Ty *getTestVectors(size_t &NumTestVectors) { in getTestVectors() 53 const size_t VECTOR_ALIGNMENT = 16; in getTestVectors() 66 void testInsertElement(size_t &TotalTests, size_t &Passes, size_t &Failures) { in testInsertElement() 70 size_t NumTestVectors; in testInsertElement() 75 const size_t NumTestElements = sizeof(TestElements) / sizeof(ElementTy); in testInsertElement() 77 for (size_t VI = 0; VI < NumTestVectors; ++VI) { in testInsertElement() 79 for (size_t EI = 0; EI < NumTestElements; ++EI) { in testInsertElement() 81 for (size_t in testInsertElement() [all...] |
/third_party/opencl-headers/src/ |
H A D | opencl_wrapper.cpp | 271 cl_int clGetPlatformInfo(cl_platform_id platform, cl_platform_info param_name, size_t param_value_size, in clGetPlatformInfo() 272 void *param_value, size_t *param_value_size_ret) in clGetPlatformInfo() 291 cl_int clGetDeviceInfo(cl_device_id device, cl_device_info param_name, size_t param_value_size, void *param_value, in clGetDeviceInfo() 292 size_t *param_value_size_ret) in clGetDeviceInfo() 302 void(CL_CALLBACK *pfn_notify)(const char *, const void *, size_t, void *), void *user_data, in clCreateContext() 313 void(CL_CALLBACK *pfn_notify)(const char *, const void *, size_t, void *), in clCreateContextFromType() 341 cl_int clGetContextInfo(cl_context context, cl_context_info param_name, size_t param_value_size, void *param_value, in clGetContextInfo() 342 size_t *param_value_size_ret) in clGetContextInfo() 351 cl_program clCreateProgramWithSource(cl_context context, cl_uint count, const char **strings, const size_t *lengths, in clCreateProgramWithSource() 362 const size_t *length in clCreateProgramWithBinary() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/types/internal/ |
H A D | variant.h | 48 ABSL_INTERNAL_INLINE_CONSTEXPR(size_t, variant_npos, static_cast<size_t>(-1)); 53 template <std::size_t I, class T> 59 template <std::size_t I, class T> 65 template <std::size_t I, class T0, class... Tn> 75 template <std::size_t I, class T> 125 // Convenience alias, since size_t integral_constant is used a lot in this file. 126 template <std::size_t I> 127 using SizeT = std::integral_constant<std::size_t, I>; 134 template <std::size_t [all...] |
/kernel/linux/linux-5.10/include/linux/sunrpc/ |
H A D | xdr.h | 67 xdr_buf_init(struct xdr_buf *buf, void *start, size_t len) in xdr_buf_init() 131 size_t xdr_buf_pagecount(struct xdr_buf *buf); 183 extern void xdr_shift_buf(struct xdr_buf *, size_t); 206 extern void _copy_from_pages(char *p, struct page **pages, size_t pgbase, 207 size_t len); 235 extern __be32 *xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes); 237 size_t nbytes); 239 extern void xdr_truncate_encode(struct xdr_stream *xdr, size_t len); 249 extern void xdr_set_scratch_buffer(struct xdr_stream *xdr, void *buf, size_t buflen); 250 extern __be32 *xdr_inline_decode(struct xdr_stream *xdr, size_t nbyte [all...] |
/kernel/linux/linux-6.6/drivers/net/dsa/sja1105/ |
H A D | sja1105_static_config.h | 434 size_t (*packing)(void *buf, void *entry_ptr, enum packing_op op); 435 size_t unpacked_entry_size; 436 size_t packed_entry_size; 437 size_t max_entry_count; 442 size_t entry_count; 459 size_t sja1105_table_header_packing(void *buf, void *hdr, enum packing_op op); 462 size_t 493 int sja1105_table_resize(struct sja1105_table *table, size_t new_count); 495 u32 sja1105_crc32(const void *buf, size_t len); 497 void sja1105_pack(void *buf, const u64 *val, int start, int end, size_t le [all...] |
/third_party/lz4/examples/ |
H A D | frameCompress.c | 32 static void safe_fwrite(void* buf, size_t eltSize, size_t nbElt, FILE* f) in safe_fwrite() 34 size_t const writtenSize = fwrite(buf, eltSize, nbElt, f); in safe_fwrite() 35 size_t const expectedSize = eltSize * nbElt; in safe_fwrite() 60 void* inBuff, size_t inChunkSize, in compress_file_internal() 61 void* outBuff, size_t outCapacity, in compress_file_internal() 73 { size_t const headerSize = LZ4F_compressBegin(ctx, outBuff, outCapacity, &kPrefs); in compress_file_internal() 86 size_t compressedSize; in compress_file_internal() 99 size_t const readSize = fread(inBuff, 1, inSize, f_unc); in compress_file_internal() 110 size_t cons in compress_file_internal() [all...] |
/third_party/pulseaudio/src/modules/bluetooth/ |
H A D | a2dp-codec-aptx-gst.c | 455 static size_t get_block_size(void *codec_info, size_t link_mtu) { in get_block_size() 457 size_t frame_count = (link_mtu / 4); in get_block_size() 462 static size_t get_encoded_block_size(void *codec_info, size_t input_size) { in get_encoded_block_size() 469 static size_t get_block_size_hd(void *codec_info, size_t link_mtu) { in get_block_size_hd() 471 size_t rtp_size = sizeof(struct rtp_header); in get_block_size_hd() 472 size_t frame_count = (link_mtu - rtp_size) / 6; in get_block_size_hd() 477 static size_t get_encoded_block_size_h [all...] |
/third_party/skia/third_party/externals/spirv-cross/ |
H A D | spirv_cross_containers.hpp | 54 template <typename T, size_t N> 98 T &operator[](size_t i) SPIRV_CROSS_NOEXCEPT 103 const T &operator[](size_t i) const SPIRV_CROSS_NOEXCEPT 113 size_t size() const SPIRV_CROSS_NOEXCEPT 196 size_t buffer_size = 0; 203 template <typename T, size_t N = 8> 215 auto count = size_t(arg_list_end - arg_list_begin); in SmallVector() 217 for (size_t i = 0; i < count; i++, arg_list_begin++) in SmallVector() 250 for (size_t i = 0; i < other.buffer_size; i++) 273 for (size_t [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | StringRef.cpp | 20 const size_t StringRef::npos; 41 static int ascii_strncasecmp(const char *LHS, const char *RHS, size_t Length) { in ascii_strncasecmp() 42 for (size_t I = 0; I < Length; ++I) { in ascii_strncasecmp() 72 size_t StringRef::find_lower(char C, size_t From) const { in find_lower() 79 for (size_t I = 0, E = std::min(Length, RHS.Length); I != E; ++I) { 84 size_t J; 147 size_t StringRef::find(StringRef Str, size_t From) const { 152 size_t Siz [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | StringRef.cpp | 22 const size_t StringRef::npos; 27 static int ascii_strncasecmp(const char *LHS, const char *RHS, size_t Length) { in ascii_strncasecmp() 28 for (size_t I = 0; I < Length; ++I) { in ascii_strncasecmp() 58 size_t StringRef::find_lower(char C, size_t From) const { in find_lower() 65 for (size_t I = 0, E = std::min(Length, RHS.Length); I != E; ++I) { 70 size_t J; 133 size_t StringRef::find(StringRef Str, size_t From) const { 138 size_t Siz [all...] |
/third_party/musl/ldso/ |
H A D | dynlink.c | 26 static size_t ldso_page_size; 57 size_t args[2]; 68 size_t *dynv; 73 size_t phentsize; 80 size_t *lazy, lazy_cnt; 82 size_t map_len; 94 size_t ndeps_direct; 95 size_t next_dep; 99 size_t tls_id; 100 size_t relro_star [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | dma-mapping.h | 104 size_t offset, size_t size, enum dma_data_direction dir, 106 void dma_unmap_page_attrs(struct device *dev, dma_addr_t addr, size_t size, 114 size_t size, enum dma_data_direction dir, unsigned long attrs); 115 void dma_unmap_resource(struct device *dev, dma_addr_t addr, size_t size, 117 void dma_sync_single_for_cpu(struct device *dev, dma_addr_t addr, size_t size, 120 size_t size, enum dma_data_direction dir); 125 void *dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, 127 void dma_free_attrs(struct device *dev, size_t size, void *cpu_addr, 129 void *dmam_alloc_attrs(struct device *dev, size_t siz [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/ |
H A D | eap_eke_common.c | 183 static int eap_eke_prf(u8 prf, const u8 *key, size_t key_len, const u8 *data, in eap_eke_prf() 184 size_t data_len, const u8 *data2, size_t data2_len, in eap_eke_prf() 188 size_t len[2]; in eap_eke_prf() 189 size_t num_elem = 1; in eap_eke_prf() 208 static int eap_eke_prf_hmac_sha1(const u8 *key, size_t key_len, const u8 *data, in eap_eke_prf_hmac_sha1() 209 size_t data_len, u8 *res, size_t len) in eap_eke_prf_hmac_sha1() 214 size_t vlen[3]; in eap_eke_prf_hmac_sha1() 249 static int eap_eke_prf_hmac_sha256(const u8 *key, size_t key_le [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/ |
H A D | eap_eke_common.c | 183 static int eap_eke_prf(u8 prf, const u8 *key, size_t key_len, const u8 *data, in eap_eke_prf() 184 size_t data_len, const u8 *data2, size_t data2_len, in eap_eke_prf() 188 size_t len[2]; in eap_eke_prf() 189 size_t num_elem = 1; in eap_eke_prf() 208 static int eap_eke_prf_hmac_sha1(const u8 *key, size_t key_len, const u8 *data, in eap_eke_prf_hmac_sha1() 209 size_t data_len, u8 *res, size_t len) in eap_eke_prf_hmac_sha1() 214 size_t vlen[3]; in eap_eke_prf_hmac_sha1() 249 static int eap_eke_prf_hmac_sha256(const u8 *key, size_t key_le [all...] |
/kernel/linux/linux-5.10/drivers/android/ |
H A D | binder_alloc.h | 53 size_t data_size; 54 size_t offsets_size; 55 size_t extra_buffers_size; 104 size_t free_async_space; 106 size_t buffer_size; 109 size_t pages_high; 121 size_t data_size, 122 size_t offsets_size, 123 size_t extra_buffers_size, 150 static inline size_t [all...] |
/kernel/linux/linux-5.10/drivers/mtd/chips/ |
H A D | map_rom.c | 18 static int maprom_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *); 19 static int maprom_write (struct mtd_info *, loff_t, size_t, size_t *, const u_char *); 23 static int maprom_point (struct mtd_info *mtd, loff_t from, size_t len, 24 size_t *retlen, void **virt, resource_size_t *phys); 25 static int maprom_unpoint(struct mtd_info *mtd, loff_t from, size_t len); 72 static int maprom_point(struct mtd_info *mtd, loff_t from, size_t len, in maprom_point() 73 size_t *retlen, void **virt, resource_size_t *phys) in maprom_point() 86 static int maprom_unpoint(struct mtd_info *mtd, loff_t from, size_t le [all...] |
/kernel/linux/linux-5.10/tools/perf/trace/beauty/ |
H A D | sockaddr.c | 13 static size_t af_inet__scnprintf(struct sockaddr *sa, char *bf, size_t size) in af_inet__scnprintf() 21 static size_t af_inet6__scnprintf(struct sockaddr *sa, char *bf, size_t size) in af_inet6__scnprintf() 26 size_t printed = scnprintf(bf, size, ", port: %d, addr: %s", ntohs(sin6->sin6_port), in af_inet6__scnprintf() 36 static size_t af_local__scnprintf(struct sockaddr *sa, char *bf, size_t size) in af_local__scnprintf() 42 static size_t (*af_scnprintfs[])(struct sockaddr *sa, char *bf, size_t size) = { 48 static size_t syscall_arg__scnprintf_augmented_sockadd [all...] |
/kernel/linux/linux-6.6/drivers/mtd/chips/ |
H A D | map_rom.c | 19 static int maprom_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *); 20 static int maprom_write (struct mtd_info *, loff_t, size_t, size_t *, const u_char *); 24 static int maprom_point (struct mtd_info *mtd, loff_t from, size_t len, 25 size_t *retlen, void **virt, resource_size_t *phys); 26 static int maprom_unpoint(struct mtd_info *mtd, loff_t from, size_t len); 73 static int maprom_point(struct mtd_info *mtd, loff_t from, size_t len, in maprom_point() 74 size_t *retlen, void **virt, resource_size_t *phys) in maprom_point() 87 static int maprom_unpoint(struct mtd_info *mtd, loff_t from, size_t le [all...] |
/kernel/linux/linux-6.6/drivers/android/ |
H A D | binder_alloc.h | 56 size_t data_size; 57 size_t offsets_size; 58 size_t extra_buffers_size; 108 size_t free_async_space; 110 size_t buffer_size; 112 size_t pages_high; 125 size_t data_size, 126 size_t offsets_size, 127 size_t extra_buffers_size, 154 static inline size_t [all...] |
/kernel/linux/linux-6.6/tools/perf/trace/beauty/ |
H A D | sockaddr.c | 13 static size_t af_inet__scnprintf(struct sockaddr *sa, char *bf, size_t size) in af_inet__scnprintf() 21 static size_t af_inet6__scnprintf(struct sockaddr *sa, char *bf, size_t size) in af_inet6__scnprintf() 26 size_t printed = scnprintf(bf, size, ", port: %d, addr: %s", ntohs(sin6->sin6_port), in af_inet6__scnprintf() 36 static size_t af_local__scnprintf(struct sockaddr *sa, char *bf, size_t size) in af_local__scnprintf() 42 static size_t (*af_scnprintfs[])(struct sockaddr *sa, char *bf, size_t size) = { 48 static size_t syscall_arg__scnprintf_augmented_sockadd [all...] |
/kernel/linux/linux-6.6/tools/include/linux/ |
H A D | overflow.h | 82 static inline __must_check size_t array_size(size_t a, size_t b) in array_size() 84 size_t bytes; in array_size() 104 static inline __must_check size_t array3_size(size_t a, size_t b, size_t c) in array3_size() 106 size_t bytes; in array3_size() 116 static inline __must_check size_t __ab_c_siz [all...] |
/third_party/gn/src/gn/ |
H A D | string_output_buffer.cc | 17 size_t data_size = size(); in str() 19 for (size_t nn = 0; nn < pages_.size(); ++nn) { in str() 20 size_t wanted_size = std::min(kPageSize, data_size - nn * kPageSize); in str() 26 void StringOutputBuffer::Append(const char* str, size_t len) { in Append() 37 size_t size = std::min(page_free_size(), str.size()); in Append() 57 size_t data_size = size(); in ContentsEqual() 60 static_cast<size_t>(file_size) != data_size) { in ContentsEqual() 69 size_t page_count = pages_.size(); in ContentsEqual() 71 for (size_t nn = 0; nn < page_count; ++nn) { in ContentsEqual() 72 size_t wanted_siz in ContentsEqual() [all...] |
/third_party/libwebsockets/include/libwebsockets/ |
H A D | lws-cache-ttl.h | 77 size_t size, lws_usec_t expiry, void **ppay); 83 size_t payload_size; 87 size_t tag_size; 98 * \param psize: pointer to size_t to receive length of serialized result list 133 const void **pdata, size_t *psize); 141 * \param psize: pointer to a size_t to be set to the payload size 154 const void **pdata, size_t *psize); 193 size_t size; /* set before using walk api */ 195 size_t payload_len; 196 size_t tag_le [all...] |
/third_party/mesa3d/src/imagination/rogue/ |
H A D | rogue_util.h | 184 size_t start; 185 size_t num; 198 size_t num_ranges; 208 static inline size_t 211 size_t total_bits = 0U; 213 for (size_t u = 0U; u < rangelist->num_ranges; ++u) 225 static inline size_t rogue_byte_num(const struct rogue_bitrange *bitrange) 250 static inline size_t rogue_byte_index(const struct rogue_bitrange *bitrange, 251 size_t num_bytes) 268 static inline size_t rogue_bit_offse [all...] |
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/ |
H A D | mman.h | 110 void *mmap (void *, size_t, int, int, int, off_t); 111 int munmap (void *, size_t); 113 int mprotect (void *, size_t, int); 114 int msync (void *, size_t, int); 116 int posix_madvise (void *, size_t, int); 118 int mlock (const void *, size_t); 119 int munlock (const void *, size_t); 124 void *mremap (void *, size_t, size_t, int, ...); 125 int remap_file_pages (void *, size_t, in [all...] |