Home
last modified time | relevance | path

Searched refs:size_t (Results 1 - 25 of 17927) sorted by relevance

12345678910>>...718

/kernel/linux/linux-6.6/lib/zstd/common/
H A Dhuf.h20 #include "zstd_deps.h" /* size_t */
51 HUF_PUBLIC_API size_t HUF_compress(void* dst, size_t dstCapacity,
52 const void* src, size_t srcSize);
64 HUF_PUBLIC_API size_t HUF_decompress(void* dst, size_t originalSize,
65 const void* cSrc, size_t cSrcSize);
70 HUF_PUBLIC_API size_t HUF_compressBound(size_t size); /*< maximum compressed size (worst case) */
73 HUF_PUBLIC_API unsigned HUF_isError(size_t cod
[all...]
H A Dfse.h23 #include "zstd_deps.h" /* size_t, ptrdiff_t */
64 FSE_PUBLIC_API size_t FSE_compress(void* dst, size_t dstCapacity,
65 const void* src, size_t srcSize);
77 FSE_PUBLIC_API size_t FSE_decompress(void* dst, size_t dstCapacity,
78 const void* cSrc, size_t cSrcSize);
84 FSE_PUBLIC_API size_t FSE_compressBound(size_t size); /* maximum compressed size */
87 FSE_PUBLIC_API unsigned FSE_isError(size_t cod
[all...]
/kernel/linux/linux-5.10/lib/zstd/
H A Dhuf.h44 #include <linux/types.h> /* size_t */
48 size_t HUF_compressBound(size_t size); /**< maximum compressed size (worst case) */
51 unsigned HUF_isError(size_t code); /**< tells if a return value is an error code */
57 size_t HUF_compress4X_wksp(void *dst, size_t dstSize, const void *src, size_t srcSize, unsigned maxSymbolValue, unsigned tableLog, void *workSpace,
58 size_t wkspSize); /**< `workSpace` must be a table of at least HUF_COMPRESS_WORKSPACE_SIZE_U32 unsigned */
104 size_t HUF_decompress4X_DCtx_wksp(HUF_DTable *dctx, void *dst, size_t dstSiz
[all...]
H A Dfse.h46 #include <linux/types.h> /* size_t, ptrdiff_t */
69 FSE_PUBLIC_API size_t FSE_compressBound(size_t size); /* maximum compressed size */
72 FSE_PUBLIC_API unsigned FSE_isError(size_t code); /* tells if a return value is an error code */
100 FSE_PUBLIC_API unsigned FSE_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue);
107 FSE_PUBLIC_API size_t FSE_normalizeCount(short *normalizedCounter, unsigned tableLog, const unsigned *count, size_t srcSize, unsigned maxSymbolValue);
112 FSE_PUBLIC_API size_t FSE_NCountWriteBound(unsigned maxSymbolValue, unsigned tableLog);
118 FSE_PUBLIC_API size_t FSE_writeNCount(void *buffer, size_t bufferSiz
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dzstd.h21 #include <linux/types.h> /* size_t */
47 * Functions that return size_t can be checked for errors using ZSTD_isError()
88 size_t ZSTD_compressBound(size_t srcSize);
90 * ZSTD_isError() - tells if a size_t function result is an error code
95 static __attribute__((unused)) unsigned int ZSTD_isError(size_t code) in ZSTD_isError()
97 return code > (size_t)-ZSTD_error_maxCode; in ZSTD_isError()
107 size_t functionResult) in ZSTD_getErrorCode()
191 unsigned long long estimatedSrcSize, size_t dictSize);
205 unsigned long long estimatedSrcSize, size_t dictSiz
[all...]
H A Duio.h17 size_t iov_len;
30 size_t iov_offset;
31 size_t count;
42 size_t iov_offset;
43 size_t count;
107 * overflow a size_t when added together.
109 static inline size_t iov_length(const struct iovec *iov, unsigned long nr_segs) in iov_length()
112 size_t ret = 0; in iov_length()
128 size_t iov_iter_copy_from_user_atomic(struct page *page,
129 struct iov_iter *i, unsigned long offset, size_t byte
[all...]
H A Dstring.h6 #include <linux/types.h> /* for size_t */
12 extern void *memdup_user(const void __user *, size_t);
13 extern void *vmemdup_user(const void __user *, size_t);
14 extern void *memdup_user_nul(const void __user *, size_t);
28 size_t strlcpy(char *, const char *, size_t);
31 ssize_t strscpy(char *, const char *, size_t);
35 ssize_t strscpy_pad(char *dest, const char *src, size_t count);
44 extern size_t strlcat(char *, const char *, __kernel_size_t);
56 extern int strncasecmp(const char *s1, const char *s2, size_t
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dzstd_lib.h16 #include <linux/types.h> /* size_t */
113 ZSTDLIB_API size_t ZSTD_compress( void* dst, size_t dstCapacity,
114 const void* src, size_t srcSize,
123 ZSTDLIB_API size_t ZSTD_decompress( void* dst, size_t dstCapacity,
124 const void* src, size_t compressedSize);
151 ZSTDLIB_API unsigned long long ZSTD_getFrameContentSize(const void *src, size_t srcSize);
159 ZSTDLIB_API unsigned long long ZSTD_getDecompressedSize(const void* src, size_t srcSize);
167 ZSTDLIB_API size_t ZSTD_findFrameCompressedSiz
[all...]
H A Duio.h19 size_t iov_len;
36 size_t iov_offset;
37 size_t count;
48 size_t iov_offset;
77 size_t count;
154 * overflow a size_t when added together.
156 static inline size_t iov_length(const struct iovec *iov, unsigned long nr_segs) in iov_length()
159 size_t ret = 0; in iov_length()
166 size_t copy_page_from_iter_atomic(struct page *page, size_t offse
[all...]
H A Dzstd.h35 size_t zstd_compress_bound(size_t src_size);
38 * zstd_is_error() - tells if a size_t function result is an error code
43 unsigned int zstd_is_error(size_t code);
56 zstd_error_code zstd_get_error_code(size_t code);
64 const char *zstd_get_error_name(size_t code);
154 size_t zstd_cctx_workspace_bound(const zstd_compression_parameters *parameters);
165 zstd_cctx *zstd_init_cctx(void *workspace, size_t workspace_size);
180 size_t zstd_compress_cctx(zstd_cctx *cctx, void *dst, size_t dst_capacit
[all...]
H A Dfortify-string.h15 void __read_overflow2_field(size_t avail, size_t wanted) __compiletime_warning("detected read beyond size of field (2nd parameter); maybe use struct_group()?");
17 void __write_overflow_field(size_t avail, size_t wanted) __compiletime_warning("detected write beyond size of field (1st parameter); maybe use struct_group()?");
22 size_t __ret = SIZE_MAX; \
23 const size_t __p_size = __member_size(p); \
26 size_t __p_len = __p_size - 1; \
145 const size_t p_size = __member_size(p); in strncpy()
167 const size_t p_size = __member_size(p); in strnlen()
168 const size_t p_le in strnlen()
[all...]
H A Dstring.h6 #include <linux/types.h> /* for size_t */
15 extern void *memdup_user(const void __user *, size_t);
16 extern void *vmemdup_user(const void __user *, size_t);
17 extern void *memdup_user_nul(const void __user *, size_t);
28 static inline void *memdup_array_user(const void __user *src, size_t n, size_t size) in memdup_array_user()
30 size_t nbytes; in memdup_array_user()
47 static inline void *vmemdup_array_user(const void __user *src, size_t n, size_t size) in vmemdup_array_user()
49 size_t nbyte in vmemdup_array_user()
[all...]
/kernel/linux/linux-6.6/tools/perf/trace/beauty/
H A Dbeauty.h30 size_t strarray__scnprintf(struct strarray *sa, char *bf, size_t size, const char *intfmt, bool show_prefix, int val);
31 size_t strarray__scnprintf_suffix(struct strarray *sa, char *bf, size_t size, const char *intfmt, bool show_suffix, int val);
32 size_t strarray__scnprintf_flags(struct strarray *sa, char *bf, size_t size, bool show_prefix, unsigned long flags);
34 bool strarray__strtoul(struct strarray *sa, char *bf, size_t size, u64 *ret);
35 bool strarray__strtoul_flags(struct strarray *sa, char *bf, size_t size, u64 *ret);
57 size_t strarrays__scnprintf(struct strarrays *sas, char *bf, size_t siz
[all...]
/kernel/linux/linux-5.10/tools/perf/trace/beauty/
H A Dbeauty.h30 size_t strarray__scnprintf(struct strarray *sa, char *bf, size_t size, const char *intfmt, bool show_prefix, int val);
31 size_t strarray__scnprintf_suffix(struct strarray *sa, char *bf, size_t size, const char *intfmt, bool show_suffix, int val);
32 size_t strarray__scnprintf_flags(struct strarray *sa, char *bf, size_t size, bool show_prefix, unsigned long flags);
34 bool strarray__strtoul(struct strarray *sa, char *bf, size_t size, u64 *ret);
35 bool strarray__strtoul_flags(struct strarray *sa, char *bf, size_t size, u64 *ret);
57 size_t strarrays__scnprintf(struct strarrays *sas, char *bf, size_t siz
[all...]
/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_lazy.h32 size_t ZSTD_compressBlock_btlazy2(
34 void const* src, size_t srcSize);
35 size_t ZSTD_compressBlock_lazy2(
37 void const* src, size_t srcSize);
38 size_t ZSTD_compressBlock_lazy(
40 void const* src, size_t srcSize);
41 size_t ZSTD_compressBlock_greedy(
43 void const* src, size_t srcSize);
44 size_t ZSTD_compressBlock_lazy2_row(
46 void const* src, size_t srcSiz
[all...]
H A Dhuf_compress.c44 unsigned HUF_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue) in HUF_optimalTableLog()
55 static void* HUF_alignUpWorkspace(void* workspace, size_t* workspaceSizePtr, size_t align) in HUF_alignUpWorkspace()
57 size_t const mask = align - 1; in HUF_alignUpWorkspace()
58 size_t const rem = (size_t)workspace & mask; in HUF_alignUpWorkspace()
59 size_t const add = (align - rem) & mask; in HUF_alignUpWorkspace()
65 assert(((size_t)aligned & mask) == 0); in HUF_alignUpWorkspace()
89 static size_t HUF_compressWeights(void* dst, size_t dstSiz
[all...]
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-uclogic-rdesc.h27 extern const size_t uclogic_rdesc_wp4030u_fixed_size;
31 extern const size_t uclogic_rdesc_wp5540u_fixed_size;
35 extern const size_t uclogic_rdesc_wp8060u_fixed_size;
45 extern const size_t uclogic_rdesc_wp1062_fixed_size;
52 extern const size_t uclogic_rdesc_pf1209_fixed_size;
61 extern const size_t uclogic_rdesc_twhl850_fixed0_size;
65 extern const size_t uclogic_rdesc_twhl850_fixed1_size;
69 extern const size_t uclogic_rdesc_twhl850_fixed2_size;
77 extern const size_t uclogic_rdesc_twha60_fixed0_size;
81 extern const size_t uclogic_rdesc_twha60_fixed1_siz
[all...]
/kernel/linux/linux-6.6/lib/zstd/decompress/
H A Dzstd_decompress.c87 static size_t ZSTD_DDictHashSet_getIndex(const ZSTD_DDictHashSet* hashSet, U32 dictID) { in ZSTD_DDictHashSet_getIndex()
97 static size_t ZSTD_DDictHashSet_emplaceDDict(ZSTD_DDictHashSet* hashSet, const ZSTD_DDict* ddict) { in ZSTD_DDictHashSet_emplaceDDict()
99 size_t idx = ZSTD_DDictHashSet_getIndex(hashSet, dictID); in ZSTD_DDictHashSet_emplaceDDict()
100 const size_t idxRangeMask = hashSet->ddictPtrTableSize - 1; in ZSTD_DDictHashSet_emplaceDDict()
123 static size_t ZSTD_DDictHashSet_expand(ZSTD_DDictHashSet* hashSet, ZSTD_customMem customMem) { in ZSTD_DDictHashSet_expand()
124 size_t newTableSize = hashSet->ddictPtrTableSize * DDICT_HASHSET_RESIZE_FACTOR; in ZSTD_DDictHashSet_expand()
127 size_t oldTableSize = hashSet->ddictPtrTableSize; in ZSTD_DDictHashSet_expand()
128 size_t i; in ZSTD_DDictHashSet_expand()
149 size_t idx = ZSTD_DDictHashSet_getIndex(hashSet, dictID); in ZSTD_DDictHashSet_getDDict()
150 const size_t idxRangeMas in ZSTD_DDictHashSet_getDDict()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/pauth/
H A Dhelper.h12 size_t keyia;
13 size_t keyib;
14 size_t keyda;
15 size_t keydb;
16 size_t keyg;
22 size_t keyia_sign(size_t val);
23 size_t keyib_sign(size_t val);
24 size_t keyda_sig
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/pauth/
H A Dhelper.h12 size_t keyia;
13 size_t keyib;
14 size_t keyda;
15 size_t keydb;
16 size_t keyg;
22 size_t keyia_sign(size_t val);
23 size_t keyib_sign(size_t val);
24 size_t keyda_sig
[all...]
/kernel/linux/linux-5.10/arch/s390/include/asm/
H A Dstring.h22 void *memcpy(void *dest, const void *src, size_t n);
23 void *memset(void *s, int c, size_t n);
24 void *memmove(void *dest, const void *src, size_t n);
43 int memcmp(const void *s1, const void *s2, size_t n);
45 size_t strlcat(char *dest, const char *src, size_t n);
46 size_t strlcpy(char *dest, const char *src, size_t size);
47 char *strncat(char *dest, const char *src, size_t n);
48 char *strncpy(char *dest, const char *src, size_t
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dcompress.h32 size_t zstd_compress_stream_to_records(struct zstd_data *data, void *dst, size_t dst_size,
33 void *src, size_t src_size, size_t max_record_size,
34 size_t process_header(void *record, size_t increment));
36 size_t zstd_decompress_stream(struct zstd_data *data, void *src, size_t src_size,
37 void *dst, size_t dst_size);
51 size_t zstd_compress_stream_to_record
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dcompress.h32 size_t zstd_compress_stream_to_records(struct zstd_data *data, void *dst, size_t dst_size,
33 void *src, size_t src_size, size_t max_record_size,
34 size_t process_header(void *record, size_t increment));
36 size_t zstd_decompress_stream(struct zstd_data *data, void *src, size_t src_size,
37 void *dst, size_t dst_size);
51 size_t zstd_compress_stream_to_record
[all...]
/kernel/linux/linux-6.6/arch/s390/include/asm/
H A Dstring.h22 void *memcpy(void *dest, const void *src, size_t n);
23 void *memset(void *s, int c, size_t n);
24 void *memmove(void *dest, const void *src, size_t n);
41 int memcmp(const void *s1, const void *s2, size_t n);
43 size_t strlcat(char *dest, const char *src, size_t n);
44 char *strncat(char *dest, const char *src, size_t n);
45 char *strncpy(char *dest, const char *src, size_t n);
70 void *__memcpy(void *dest, const void *src, size_t n);
71 void *__memset(void *s, int c, size_t
[all...]
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-uclogic-rdesc.h27 extern const size_t uclogic_rdesc_wp4030u_fixed_size;
31 extern const size_t uclogic_rdesc_wp5540u_fixed_size;
35 extern const size_t uclogic_rdesc_wp8060u_fixed_size;
45 extern const size_t uclogic_rdesc_wp1062_fixed_size;
52 extern const size_t uclogic_rdesc_pf1209_fixed_size;
61 extern const size_t uclogic_rdesc_twhl850_fixed0_size;
65 extern const size_t uclogic_rdesc_twhl850_fixed1_size;
69 extern const size_t uclogic_rdesc_twhl850_fixed2_size;
77 extern const size_t uclogic_rdesc_twha60_fixed0_size;
81 extern const size_t uclogic_rdesc_twha60_fixed1_siz
[all...]

Completed in 13 milliseconds

12345678910>>...718