/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/include/ |
H A D | png_image_chunk_utils.h | 49 static DataBuf GetRawTextFromZtxtChunk(const DataBuf &chunkData, size_t keySize, 53 static DataBuf GetRawTextFromTextChunk(const DataBuf &chunkData, size_t keySize, DataBuf &rawText); 56 static DataBuf GetRawTextFromItxtChunk(const DataBuf &chunkData, size_t keySize, 60 static DataBuf GetRawTextFromChunk(const DataBuf &chunkData, size_t keySize, 64 static bool FindExifKeyword(const byte *keyword, size_t size); 67 static size_t VerifyExifIdCode(DataBuf &exifInfo, size_t exifInfoLength); 79 static const char *GetExifInfoLen(const char *sourcePtr, size_t *lengthOut, const char *endPtr); 82 static int ConvertAsciiToInt(const char *sourcePtr, size_t exifInfoLength, unsigned char *destPtr);
|
/foundation/resourceschedule/ffrt/src/eu/ |
H A D | execute_unit.h | 40 if (likely(wManager[static_cast<size_t>(DevType::CPU)])) { in NotifyTaskAdded() 41 wManager[static_cast<size_t>(DevType::CPU)]->NotifyTaskAdded(qos); in NotifyTaskAdded() 47 if (likely(wManager[static_cast<size_t>(DevType::CPU)])) { in NotifyWorkers() 48 wManager[static_cast<size_t>(DevType::CPU)]->NotifyWorkers(qos, number); in NotifyWorkers() 55 wManager[static_cast<size_t>(DevType::CPU)]->NotifyLocalTaskAdded(qos); in NotifyLocalTaskAdded() 61 return wManager[static_cast<size_t>(DevType::CPU)]->GetSleepCtl(qos); in GetSleepCtl() 66 return wManager[static_cast<size_t>(DevType::CPU)]->GetGroupCtl(); in GetGroupCtl() 71 return wManager[static_cast<size_t>(DevType::CPU)]->GetCPUMonitor(); in GetCPUMonitor() 82 std::array<std::unique_ptr<WorkerManager>, static_cast<size_t>(DevType::DEVMAX)> wManager;
|
/foundation/distributedhardware/distributed_camera/common/include/utils/ |
H A D | data_buffer.h | 30 explicit DataBuffer(size_t capacity); 32 size_t Size() const; 33 size_t Offset() const; 34 size_t Capacity() const; 36 int32_t SetRange(size_t offset, size_t size); 49 size_t capacity_ = 0; 50 size_t rangeOffset_ = 0; 51 size_t rangeLength_ = 0;
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | swiotlb.h | 39 extern int swiotlb_late_init_with_default_size(size_t default_size); 51 size_t mapping_size, size_t alloc_size, 56 size_t mapping_size, 57 size_t alloc_size, 63 size_t size, enum dma_data_direction dir, 67 size_t size, enum dma_data_direction dir, unsigned long attrs); 80 size_t swiotlb_max_mapping_size(struct device *dev); 95 static inline size_t swiotlb_max_mapping_size(struct device *dev) in swiotlb_max_mapping_size()
|
/kernel/linux/linux-5.10/include/linux/sched/ |
H A D | sysctl.h | 23 void *buffer, size_t *lenp, loff_t *ppos); 41 int write, void __user *buffer, size_t *length, loff_t *ppos); 69 void *buffer, size_t *length, loff_t *ppos); 102 size_t *lenp, loff_t *ppos); 104 size_t *lenp, loff_t *ppos); 106 void *buffer, size_t *lenp, loff_t *ppos); 108 size_t *lenp, loff_t *ppos); 110 size_t *lenp, loff_t *ppos); 115 void *buffer, size_t *lenp, loff_t *ppos);
|
/kernel/linux/linux-6.6/include/keys/ |
H A D | system_keyring.h | 53 void __init add_to_secondary_keyring(const char *source, const void *data, size_t len); 57 static inline void __init add_to_secondary_keyring(const char *source, const void *data, size_t len) in add_to_secondary_keyring() 78 extern int mark_hash_blacklisted(const u8 *hash, size_t hash_len, 80 extern int is_hash_blacklisted(const u8 *hash, size_t hash_len, 82 extern int is_binary_blacklisted(const u8 *hash, size_t hash_len); 84 static inline int is_hash_blacklisted(const u8 *hash, size_t hash_len, in is_hash_blacklisted() 90 static inline int is_binary_blacklisted(const u8 *hash, size_t hash_len) in is_binary_blacklisted() 97 extern int add_key_to_revocation_list(const char *data, size_t size); 100 static inline int add_key_to_revocation_list(const char *data, size_t size) in add_key_to_revocation_list()
|
/kernel/linux/linux-6.6/drivers/platform/surface/aggregator/ |
H A D | ssh_parser.h | 26 size_t len; 27 size_t cap; 39 static inline void sshp_buf_init(struct sshp_buf *buf, u8 *ptr, size_t cap) in sshp_buf_init() 57 static inline int sshp_buf_alloc(struct sshp_buf *buf, size_t cap, gfp_t flags) in sshp_buf_alloc() 93 static inline void sshp_buf_drop(struct sshp_buf *buf, size_t n) in sshp_buf_drop() 111 static inline size_t sshp_buf_read_from_fifo(struct sshp_buf *buf, in sshp_buf_read_from_fifo() 114 size_t n; in sshp_buf_read_from_fifo() 137 static inline void sshp_buf_span_from(struct sshp_buf *buf, size_t offset, in sshp_buf_span_from() 148 size_t maxlen);
|
/kernel/linux/linux-6.6/include/sound/ |
H A D | memalloc.h | 64 size_t bytes; /* buffer size in bytes */ 71 static inline unsigned int snd_sgbuf_aligned_pages(size_t size) in snd_sgbuf_aligned_pages() 78 enum dma_data_direction dir, size_t size, 82 size_t size, struct snd_dma_buffer *dmab) in snd_dma_alloc_pages() 87 int snd_dma_alloc_pages_fallback(int type, struct device *dev, size_t size, 102 dma_addr_t snd_sgbuf_get_addr(struct snd_dma_buffer *dmab, size_t offset); 103 struct page *snd_sgbuf_get_page(struct snd_dma_buffer *dmab, size_t offset); 110 size_t size); 113 snd_devm_alloc_pages(struct device *dev, int type, size_t size) in snd_devm_alloc_pages()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | symbol_fprintf.c | 10 size_t symbol__fprintf(struct symbol *sym, FILE *fp) in symbol__fprintf() 19 size_t __symbol__fprintf_symname_offs(const struct symbol *sym, in __symbol__fprintf_symname_offs() 25 size_t length; in __symbol__fprintf_symname_offs() 43 size_t symbol__fprintf_symname_offs(const struct symbol *sym, in symbol__fprintf_symname_offs() 50 size_t __symbol__fprintf_symname(const struct symbol *sym, in __symbol__fprintf_symname() 57 size_t symbol__fprintf_symname(const struct symbol *sym, FILE *fp) in symbol__fprintf_symname() 62 size_t dso__fprintf_symbols_by_name(struct dso *dso, in dso__fprintf_symbols_by_name() 65 size_t ret = 0; in dso__fprintf_symbols_by_name() 67 for (size_t i = 0; i < dso->symbol_names_len; i++) { in dso__fprintf_symbols_by_name()
|
/test/xts/device_attest_lite/services/core/include/network/ |
H A D | attest_coap.h | 59 size_t buffer; 60 size_t len; 72 size_t len; 78 size_t len; 83 size_t len; /* needed buffer length if serializing to a buffer */ 93 size_t len; /* len indicates the size of filled data */ 94 size_t size; /* size indicates the Max PDU length */ 107 int32_t CoapDecode(CoapPacket* pkt, const uint8_t* buf, size_t bufLen); 109 int32_t CoapGetExtensionLen(uint8_t param, size_t *length);
|
/third_party/curl/lib/ |
H A D | sendf.h | 59 size_t len) WARN_UNUSED_RESULT; 109 const char *buf, size_t nbytes); 112 size_t cwriter_size; /* sizeof() allocated struct Curl_cwriter */ 142 size_t Curl_cwriter_count(struct Curl_easy *data, Curl_cwriter_phase phase); 160 const char *buf, size_t nbytes); 170 const char *buf, size_t nbytes); 177 char *buf, size_t buffersize, 183 const void *mem, size_t len, 190 size_t blen,
|
/third_party/gn/src/base/strings/ |
H A D | utf_string_conversion_utils.cc | 58 size_t WriteUnicodeCharacter(uint32_t code_point, std::string* output) { in WriteUnicodeCharacter() 66 size_t char_offset = output->length(); in WriteUnicodeCharacter() 67 size_t original_char_offset = char_offset; in WriteUnicodeCharacter() 78 size_t WriteUnicodeCharacter(uint32_t code_point, std::u16string* output) { in WriteUnicodeCharacter() 85 size_t char_offset = output->length(); in WriteUnicodeCharacter() 95 size_t src_len, in PrepareForUTF8Output() 110 template void PrepareForUTF8Output(const char16_t*, size_t, std::string*); 114 size_t src_len, in PrepareForUTF16Or32Output() 130 template void PrepareForUTF16Or32Output(const char*, size_t, std::u16string*);
|
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_dmix_x86_64.h | 39 volatile signed int *sum, size_t dst_step, in MIX_AREAS_16() 40 size_t src_step, size_t sum_step) in MIX_AREAS_16() 161 volatile signed int *sum, size_t dst_step, in MIX_AREAS_32() 162 size_t src_step, size_t sum_step) in MIX_AREAS_32() 297 volatile signed int *sum, size_t dst_step, in MIX_AREAS_24() 298 size_t src_step, size_t sum_step) in MIX_AREAS_24()
|
/third_party/backends/backend/ |
H A D | stv680.h | 124 size_t buffer_size; /* size of the buffer */ 128 size_t output_size; /* size of the output */ 131 size_t image_size; /* allocated size of image */ 132 size_t image_begin; /* first significant byte in image */ 133 size_t image_end; /* first free byte in image */ 137 size_t windoww_size; /* size of window write */ 138 size_t windowr_size; /* size of window read */ 169 size_t bytes_left; /* number of bytes left to give to the backend */ 170 size_t real_bytes_left; /* number of bytes left the vidcam will return. */
|
/third_party/libwebsockets/include/libwebsockets/ |
H A D | lws-x509.h | 112 lws_x509_parse_from_pem(struct lws_x509_cert *x509, const void *pem, size_t len); 168 void *pem, size_t len, const char *passphrase); 182 union lws_tls_cert_info_results *buf, size_t len); 203 union lws_tls_cert_info_results *buf, size_t len); 224 union lws_tls_cert_info_results *buf, size_t len); 252 * \param privkey_len: pointer to size_t set to the length of the privkey_pem 268 uint8_t *csr, size_t csr_len, char **privkey_pem, 269 size_t *privkey_len); 291 const char *mem_cert, size_t len_mem_cert, 292 const char *mem_privkey, size_t len_mem_privke [all...] |
H A D | lws-genrsa.h | 134 size_t in_len, uint8_t *out); 151 size_t in_len, uint8_t *out); 169 size_t in_len, uint8_t *out, size_t out_max); 187 size_t in_len, uint8_t *out, size_t out_max); 209 const uint8_t *sig, size_t sig_len); 230 uint8_t *sig, size_t sig_len); 254 uint8_t *pkey_asn1, size_t pkey_asn1_len);
|
/third_party/libwebsockets/lib/cose/ |
H A D | private-lib-cose.h | 85 size_t payload_pos; 86 size_t payload_stash_size; 92 size_t mac_pos; 93 size_t sig_agg_pos; 109 size_t rem_pay; 113 size_t along; 129 lws_cose_val_alg_hash(lws_cose_sig_alg_t *alg, const uint8_t *in, size_t in_len); 134 size_t against_len); 141 lws_cose_sign_alg_hash(lws_cose_sig_alg_t *alg, const uint8_t *in, size_t in_len);
|
/third_party/mbedtls/library/ |
H A D | x509_internal.h | 46 int mbedtls_x509_sig_alg_gets(char *buf, size_t size, const mbedtls_x509_buf *sig_oid, 50 int mbedtls_x509_key_size_helper(char *buf, size_t buf_size, const char *name); 51 int mbedtls_x509_set_extension(mbedtls_asn1_named_data **head, const char *oid, size_t oid_len, 53 size_t val_len); 59 const char *oid, size_t oid_len, 60 unsigned char *sig, size_t size, 74 int mbedtls_x509_info_subject_alt_name(char **buf, size_t *size, 78 int mbedtls_x509_info_cert_type(char **buf, size_t *size, 80 int mbedtls_x509_info_key_usage(char **buf, size_t *size,
|
H A D | cipher_wrap.h | 84 int (*cbc_func)(void *ctx, mbedtls_operation_t mode, size_t length, 91 int (*cfb_func)(void *ctx, mbedtls_operation_t mode, size_t length, size_t *iv_off, 98 int (*ofb_func)(void *ctx, size_t length, size_t *iv_off, 106 int (*ctr_func)(void *ctx, size_t length, size_t *nc_off, 113 int (*xts_func)(void *ctx, mbedtls_operation_t mode, size_t length, 120 int (*stream_func)(void *ctx, size_t length,
|
/third_party/lzma/C/ |
H A D | Sort.c | 10 size_t s = (k << 1); \
17 void HeapSort(UInt32 *p, size_t size)
in HeapSort() 23 size_t i = size / 2;
in HeapSort() 27 size_t k = i;
in HeapSort() 35 size_t k = 1;
in HeapSort() 45 size_t k = (p[3] > p[2]) ? 3 : 2;
in HeapSort() 63 void HeapSort64(UInt64 *p, size_t size)
in HeapSort64() 69 size_t i = size / 2;
in HeapSort64() 73 size_t k = i;
in HeapSort64() 81 size_t in HeapSort64() [all...] |
/third_party/mbedtls/include/mbedtls/ |
H A D | entropy.h | 87 typedef int (*mbedtls_entropy_f_source_ptr)(void *data, unsigned char *output, size_t len, 88 size_t *olen); 96 size_t MBEDTLS_PRIVATE(size); /**< Amount received in bytes */ 97 size_t MBEDTLS_PRIVATE(threshold); /**< Minimum bytes required before release */ 126 unsigned char *output, size_t len, size_t *olen); 162 size_t threshold, int strong); 185 int mbedtls_entropy_func(void *data, unsigned char *output, size_t len); 198 const unsigned char *data, size_t len);
|
/third_party/ltp/lib/ |
H A D | tst_fill_file.c | 33 int tst_fill_fd(int fd, char pattern, size_t bs, size_t bcount) in tst_fill_fd() 35 size_t i; in tst_fill_fd() 59 int tst_prealloc_size_fd(int fd, size_t bs, size_t bcount) in tst_prealloc_size_fd() 75 int tst_fill_file(const char *path, char pattern, size_t bs, size_t bcount) in tst_fill_file() 98 int tst_prealloc_file(const char *path, size_t bs, size_t bcount) in tst_prealloc_file()
|
/third_party/musl/src/linux/ |
H A D | xattr.c | 4 ssize_t getxattr(const char *path, const char *name, void *value, size_t size) in getxattr() 9 ssize_t lgetxattr(const char *path, const char *name, void *value, size_t size) in lgetxattr() 14 ssize_t fgetxattr(int filedes, const char *name, void *value, size_t size) in fgetxattr() 19 ssize_t listxattr(const char *path, char *list, size_t size) in listxattr() 24 ssize_t llistxattr(const char *path, char *list, size_t size) in llistxattr() 29 ssize_t flistxattr(int filedes, char *list, size_t size) in flistxattr() 34 int setxattr(const char *path, const char *name, const void *value, size_t size, int flags) in setxattr() 39 int lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags) in lsetxattr() 44 int fsetxattr(int filedes, const char *name, const void *value, size_t size, int flags) in fsetxattr()
|
/third_party/node/deps/cares/src/lib/ |
H A D | ares_library_init.c | 50 static void *default_malloc(size_t size) in default_malloc() 60 static void *default_realloc(void *p, size_t size) in default_realloc() 73 void *(*ares_malloc)(size_t size) = default_malloc; 74 void *(*ares_realloc)(void *ptr, size_t size) = default_realloc; 77 void *ares_malloc_zero(size_t size) in ares_malloc_zero() 87 void *ares_realloc_zero(void *ptr, size_t orig_size, size_t new_size) in ares_realloc_zero() 116 int ares_library_init_mem(int flags, void *(*amalloc)(size_t size), in ares_library_init_mem() 118 void *(*arealloc)(void *ptr, size_t size)) in ares_library_init_mem()
|
/third_party/mesa3d/src/microsoft/clc/ |
H A D | clc_compiler.h | 66 size_t num_uavs; 67 size_t num_srvs; 68 size_t num_samplers; 72 size_t size; 75 size_t num_consts; 83 size_t num_const_samplers; 84 size_t local_mem_size; 85 size_t priv_mem_size; 102 size_t size;
|