/openbmc/linux/lib/zstd/common/ |
H A D | huf.h | 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 code); /*< tells if a return value is an error … 74 HUF_PUBLIC_API const char* HUF_getErrorName(size_t code); /*< provides error code string (useful f… 83 HUF_PUBLIC_API size_t HUF_compress2 (void* dst, size_t dstCapacity, 84 const void* src, size_t srcSize, 92 HUF_PUBLIC_API size_t HUF_compress4X_wksp (void* dst, size_t dstCapacity, [all …]
|
H A D | fse.h | 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 code); /* tells if a return value is an error … 88 FSE_PUBLIC_API const char* FSE_getErrorName(size_t code); /* provides error code string (useful f… 102 FSE_PUBLIC_API size_t FSE_compress2 (void* dst, size_t dstSize, const void* src, size_t srcSize, un… 132 FSE_PUBLIC_API unsigned FSE_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbo… 145 FSE_PUBLIC_API size_t FSE_normalizeCount(short* normalizedCounter, unsigned tableLog, [all …]
|
/openbmc/linux/include/linux/ |
H A D | zstd_lib.h | 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_findFrameCompressedSize(const void* src, size_t srcSize); 172 ZSTDLIB_API size_t ZSTD_compressBound(size_t srcSize); /*!< maximum compressed size in worst c… 173 ZSTDLIB_API unsigned ZSTD_isError(size_t code); /*!< tells if a `size_t` function resul… 174 ZSTDLIB_API const char* ZSTD_getErrorName(size_t code); /*!< provides readable string from an e… [all …]
|
H A D | uio.h | 19 size_t iov_len; 36 size_t iov_offset; 37 size_t count; 48 size_t iov_offset; 77 size_t count; 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 offset, 167 size_t bytes, struct iov_iter *i); 168 void iov_iter_advance(struct iov_iter *i, size_t bytes); [all …]
|
H A D | zstd.h | 35 size_t zstd_compress_bound(size_t src_size); 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_capacity, 181 const void *src, size_t src_size, const zstd_parameters *parameters); 193 size_t zstd_dctx_workspace_bound(void); 204 zstd_dctx *zstd_init_dctx(void *workspace, size_t workspace_size); [all …]
|
H A D | string.h | 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 nbytes; in vmemdup_array_user() 69 size_t strlcpy(char *, const char *, size_t); 72 ssize_t strscpy(char *, const char *, size_t); 76 ssize_t strscpy_pad(char *dest, const char *src, size_t count); [all …]
|
H A D | fortify-string.h | 15 void __read_overflow2_field(size_t avail, size_t wanted) __compiletime_warning("detected read beyon… 17 void __write_overflow_field(size_t avail, size_t wanted) __compiletime_warning("detected write beyo… 22 size_t __ret = SIZE_MAX; \ 23 const size_t __p_size = __member_size(p); \ 26 size_t __p_len = __p_size - 1; \ 159 const size_t p_size = __member_size(p); in strncpy() 181 const size_t p_size = __member_size(p); in strnlen() 182 const size_t p_len = __compiletime_strlen(p); in strnlen() 183 size_t ret; in strnlen() 223 const size_t p_size = __member_size(p); in __fortify_strlen() [all …]
|
H A D | dma-map-ops.h | 26 void *(*alloc)(struct device *dev, size_t size, 29 void (*free)(struct device *dev, size_t size, void *vaddr, 31 struct page *(*alloc_pages)(struct device *dev, size_t size, 34 void (*free_pages)(struct device *dev, size_t size, struct page *vaddr, 36 struct sg_table *(*alloc_noncontiguous)(struct device *dev, size_t size, 39 void (*free_noncontiguous)(struct device *dev, size_t size, 42 void *, dma_addr_t, size_t, unsigned long attrs); 45 void *cpu_addr, dma_addr_t dma_addr, size_t size, 49 unsigned long offset, size_t size, 52 size_t size, enum dma_data_direction dir, [all …]
|
/openbmc/linux/tools/perf/trace/beauty/ |
H A D | beauty.h | 30 size_t strarray__scnprintf(struct strarray *sa, char *bf, size_t size, const char *intfmt, bool sho… 31 size_t strarray__scnprintf_suffix(struct strarray *sa, char *bf, size_t size, const char *intfmt, b… 32 size_t strarray__scnprintf_flags(struct strarray *sa, char *bf, size_t size, bool show_prefix, unsi… 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 size, const char *intfmt, bool … 59 bool strarrays__strtoul(struct strarrays *sas, char *bf, size_t size, u64 *ret); 61 size_t pid__scnprintf_fd(struct trace *trace, pid_t pid, int fd, char *bf, size_t size); 124 size_t syscall_arg__scnprintf_strarray_flags(char *bf, size_t size, struct syscall_arg *arg); 127 bool syscall_arg__strtoul_strarray(char *bf, size_t size, struct syscall_arg *arg, u64 *ret); [all …]
|
/openbmc/slpd-lite/ |
H A D | slp_meta.hpp | 6 constexpr size_t VERSION_2 = 2; 16 constexpr size_t MAX_LEN = 255; 24 constexpr size_t SIZE_VERSION = 1; 25 constexpr size_t SIZE_LENGTH = 1; 26 constexpr size_t SIZE_FLAGS = 2; 27 constexpr size_t SIZE_EXT = 3; 28 constexpr size_t SIZE_XID = 2; 29 constexpr size_t SIZE_LANG = 2; 31 constexpr size_t OFFSET_VERSION = 0; 32 constexpr size_t OFFSET_FUNCTION = 1; [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | iov.h | 22 size_t iov_size(const struct iovec *iov, const unsigned int iov_cnt); 36 size_t iov_from_buf_full(const struct iovec *iov, unsigned int iov_cnt, 37 size_t offset, const void *buf, size_t bytes); 38 size_t iov_to_buf_full(const struct iovec *iov, const unsigned int iov_cnt, 39 size_t offset, void *buf, size_t bytes); 41 static inline size_t 43 size_t offset, const void *buf, size_t bytes) in iov_from_buf() 54 static inline size_t 56 size_t offset, void *buf, size_t bytes) in iov_to_buf() 76 size_t iov_memset(const struct iovec *iov, const unsigned int iov_cnt, [all …]
|
/openbmc/linux/lib/zstd/compress/ |
H A D | zstd_lazy.h | 32 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 srcSize); [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-uclogic-rdesc.h | 27 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_size; [all …]
|
H A D | hid-uclogic-rdesc.c | 63 const size_t uclogic_rdesc_wp4030u_fixed_size = 140 const size_t uclogic_rdesc_wp5540u_fixed_size = 217 const size_t uclogic_rdesc_wp8060u_fixed_size = 265 const size_t uclogic_rdesc_wp1062_fixed_size = 342 const size_t uclogic_rdesc_pf1209_fixed_size = 388 const size_t uclogic_rdesc_twhl850_fixed0_size = 428 const size_t uclogic_rdesc_twhl850_fixed1_size = 454 const size_t uclogic_rdesc_twhl850_fixed2_size = 503 const size_t uclogic_rdesc_twha60_fixed0_size = 531 const size_t uclogic_rdesc_twha60_fixed1_size = [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ncp/libowfat/ |
H A D | 0001-replace-__pure__-with-compiler-attribute-pure.patch | 34 /* for size_t: */ 47 -size_t byte_chr(const void* haystack, size_t len, char needle) __pure__; 48 +size_t byte_chr(const void* haystack, size_t len, char needle) __PURE; 52 -size_t byte_rchr(const void* haystack,size_t len,char needle) __pure__; 53 +size_t byte_rchr(const void* haystack,size_t len,char needle) __PURE; 57 @@ -34,14 +40,14 @@ void byte_copyr(void* out, size_t len, c 61 -int byte_diff(const void* a, size_t len, const void* b) __pure__; 62 +int byte_diff(const void* a, size_t len, const void* b) __PURE; 65 void byte_zero(void* out, size_t len); 69 -int byte_equal_notimingattack(const void* a, size_t len,const void* b) __pure__; [all …]
|
/openbmc/libcper/include/libcper/generator/sections/ |
H A D | gen-section.h | 12 size_t generate_section_generic(void **location); 13 size_t generate_section_ia32x64(void **location); 14 size_t generate_section_arm(void **location); 15 size_t generate_section_memory(void **location); 16 size_t generate_section_memory2(void **location); 17 size_t generate_section_pcie(void **location); 18 size_t generate_section_pci_bus(void **location); 19 size_t generate_section_pci_dev(void **location); 20 size_t generate_section_firmware(void **location); 21 size_t generate_section_dmar_generic(void **location); [all …]
|
/openbmc/qemu/audio/ |
H A D | audio_int.h | 60 size_t pos, size; 76 size_t pos_emul, pending_emul, size_emul; 78 size_t samples; 93 size_t total_samples_captured; 98 size_t pos_emul, pending_emul, size_emul; 100 size_t samples; 113 size_t total_hw_samples_mixed; 129 size_t total_hw_samples_acquired; 151 size_t voice_size_out; 152 size_t voice_size_in; [all …]
|
/openbmc/linux/lib/zstd/decompress/ |
H A D | zstd_decompress.c | 87 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 idxRangeMask = hashSet->ddictPtrTableSize - 1; in ZSTD_DDictHashSet_getDDict() [all …]
|
/openbmc/linux/tools/testing/selftests/arm64/pauth/ |
H A D | helper.h | 12 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_sign(size_t val); 25 size_t keydb_sign(size_t val); 26 size_t keyg_sign(size_t val);
|
/openbmc/libpldm/include/libpldm/ |
H A D | bios_table.h | 28 pldm_bios_table_iter_create(const void *table, size_t length, 92 size_t pldm_bios_table_string_entry_encode_length(uint16_t string_length); 106 int pldm_bios_table_string_entry_encode(void *entry, size_t entry_length, 137 size_t size); 146 pldm_bios_table_string_find_by_string(const void *table, size_t length, 155 pldm_bios_table_string_find_by_handle(const void *table, size_t length, 187 pldm_bios_table_attr_find_by_handle(const void *table, size_t length, 197 pldm_bios_table_attr_find_by_string_handle(const void *table, size_t length, 220 size_t pldm_bios_table_attr_entry_enum_encode_length(uint8_t pv_num, 235 void *entry, size_t entry_length, [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | compress.h | 32 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_records(struct zstd_data *data __maybe_unused, in zstd_compress_stream_to_records() 52 void *dst __maybe_unused, size_t dst_size __maybe_unused, in zstd_compress_stream_to_records() 53 void *src __maybe_unused, size_t src_size __maybe_unused, in zstd_compress_stream_to_records() 54 size_t max_record_size __maybe_unused, in zstd_compress_stream_to_records() 55 size_t process_header(void *record, size_t increment) __maybe_unused) in zstd_compress_stream_to_records() [all …]
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | string.h | 22 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 n); 72 void *__memmove(void *dest, const void *src, size_t n); [all …]
|
/openbmc/qemu/util/ |
H A D | iov.c | 25 size_t iov_from_buf_full(const struct iovec *iov, unsigned int iov_cnt, in iov_from_buf_full() 26 size_t offset, const void *buf, size_t bytes) in iov_from_buf_full() 28 size_t done; in iov_from_buf_full() 32 size_t len = MIN(iov[i].iov_len - offset, bytes - done); in iov_from_buf_full() 44 size_t iov_to_buf_full(const struct iovec *iov, const unsigned int iov_cnt, in iov_to_buf_full() 45 size_t offset, void *buf, size_t bytes) in iov_to_buf_full() 47 size_t done; in iov_to_buf_full() 51 size_t len = MIN(iov[i].iov_len - offset, bytes - done); in iov_to_buf_full() 63 size_t iov_memset(const struct iovec *iov, const unsigned int iov_cnt, in iov_memset() 64 size_t offset, int fillc, size_t bytes) in iov_memset() [all …]
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | cyttsp4_core.h | 241 size_t ofs; /* abs byte offset */ 242 size_t size; /* size in bits */ 243 size_t max; /* max value */ 244 size_t bofs; /* bit offset */ 248 size_t chip_type; 249 size_t cmd_ofs; 250 size_t rep_ofs; 251 size_t rep_sz; 252 size_t num_btns; 253 size_t num_btn_regs; /* ceil(num_btns/4) */ [all …]
|
/openbmc/u-boot/lib/ |
H A D | tpm-v1.c | 40 const size_t mode_offset = 10; in tpm1_startup() 126 const size_t index_offset = 12; in tpm1_nv_define_space() 127 const size_t perm_offset = 70; in tpm1_nv_define_space() 128 const size_t size_offset = 77; in tpm1_nv_define_space() 151 const size_t index_offset = 10; in tpm1_nv_read_value() 152 const size_t length_offset = 18; in tpm1_nv_read_value() 153 const size_t data_size_offset = 10; in tpm1_nv_read_value() 154 const size_t data_offset = 14; in tpm1_nv_read_value() 156 size_t response_length = sizeof(response); in tpm1_nv_read_value() 186 const size_t command_size_offset = 2; in tpm1_nv_write_value() [all …]
|