/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | hashmap.c | 66 size_t bkt; in hashmap__clear() 85 size_t hashmap__size(const struct hashmap *map) in hashmap__size() 90 size_t hashmap__capacity(const struct hashmap *map) in hashmap__capacity() 105 size_t new_cap_bits, new_cap; in hashmap_grow() 106 size_t h, bkt; in hashmap_grow() 131 const long key, size_t hash, in hashmap_find_entry() 159 size_t h; in hashmap_insert() 209 size_t h; in hashmap_find() 224 size_t h; in hashmap_delete()
|
/kernel/linux/linux-6.6/tools/perf/util/intel-pt-decoder/ |
H A D | intel-pt-log.c | 29 size_t buf_sz; 30 size_t head; 96 static ssize_t log_buf__write(void *cookie, const char *buf, size_t size) in log_buf__write() 99 size_t sz = size; in log_buf__write() 105 size_t space = b->buf_sz - b->head; in log_buf__write() 106 size_t n = min(space, sz); in log_buf__write() 146 static bool remove_first_line(const char **p, size_t *n) in remove_first_line() 158 static void write_lines(const char *p, size_t n, FILE *fp, bool *remove_first) in write_lines() 228 size_t len = intel_pt_insn->length; in __intel_pt_log_insn()
|
/third_party/gn/src/base/ |
H A D | environment.cc | 112 size_t ParseEnvLine(const NativeEnvironmentString::value_type* input, in ParseEnvLine() 115 size_t cur = 0; in ParseEnvLine() 156 size_t cur_env = 0; in AlterEnvironment() 160 size_t line_length = ParseEnvLine(line, &key); in AlterEnvironment() 194 std::vector<size_t> result_indices; // Line indices into value_storage. in AlterEnvironment() 199 for (size_t i = 0; env[i]; i++) { in AlterEnvironment() 200 size_t line_length = ParseEnvLine(env[i], &key); in AlterEnvironment() 222 size_t pointer_count_required = in AlterEnvironment() 234 for (size_t i = 0; i < result_indices.size(); i++) in AlterEnvironment()
|
/third_party/backends/backend/ |
H A D | snapscan.h | 373 size_t phys_buf_sz; /* physical buffer size */ 374 size_t buf_sz; /* effective buffer size */ 375 size_t expected_read_bytes; /* expected amount of data in a single read */ 376 size_t read_bytes; /* amount of actual data read */ 377 size_t bytes_remaining; /* remaining bytes expected from scanner */ 378 size_t actual_res; /* actual resolution */ 379 size_t lines; /* number of scan lines */ 380 size_t bytes_per_line; /* bytes per scan line */ 381 size_t pixels_per_line; /* pixels per scan line */
|
/third_party/curl/docs/examples/ |
H A D | http2-upload.c | 54 size_t bytes_read; /* count up */ 60 void dump(const char *text, int num, unsigned char *ptr, size_t size, in dump() 63 size_t i; in dump() 64 size_t c; in dump() 109 char *data, size_t size, in my_trace() 163 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *userp) in read_callback() 166 size_t retcode = fread(ptr, size, nmemb, i->in); in read_callback()
|
/third_party/libbpf/src/ |
H A D | hashmap.c | 66 size_t bkt; in hashmap__clear() 85 size_t hashmap__size(const struct hashmap *map) in hashmap__size() 90 size_t hashmap__capacity(const struct hashmap *map) in hashmap__capacity() 105 size_t new_cap_bits, new_cap; in hashmap_grow() 106 size_t h, bkt; in hashmap_grow() 131 const long key, size_t hash, in hashmap_find_entry() 159 size_t h; in hashmap_insert() 209 size_t h; in hashmap_find() 224 size_t h; in hashmap_delete()
|
/third_party/lzma/CPP/7zip/Common/ |
H A D | CWrappers.cpp | 76 static SRes MyRead(ISeqInStreamPtr pp, void *data, size_t *size) throw()
in MyRead() 88 static size_t MyWrite(ISeqOutStreamPtr pp, const void *data, size_t size) throw()
in MyWrite() 121 static SRes InStreamWrap_Read(ISeekInStreamPtr pp, void *data, size_t *size) throw()
in InStreamWrap_Read() 172 Lim = Cur = Buf = (Byte *)::MidAlloc((size_t)size);
in Alloc() 184 Processed += (size_t)(Cur - Buf);
in ReadByteFromNewBlock() 226 BufBase = (Byte *)::MidAlloc((size_t)size);
265 bool CByteOutBufWrap::Alloc(size_t size) throw()
in Alloc() 280 const size_t size = (size_t)(Cu in Flush() [all...] |
/third_party/lzma/CPP/7zip/UI/FileManager/ |
H A D | ExtractCallback.h | 37 size_t _size;
42 bool ReAlloc_KeepData(size_t newSize, size_t keepSize)
in ReAlloc_KeepData() 60 size_t Size() const { return _size; }
in Size() 102 size_t _pos;
130 file.Data.ReAlloc_KeepData((size_t)file.Size, (size_t)file.Size);
in CloseMemFile() 144 size_t GetMemStreamWrittenSize() const { return _pos; }
in GetMemStreamWrittenSize() 159 size_t GetPos() const { return _pos; }
in GetPos()
|
/third_party/mbedtls/library/ |
H A D | bignum_mod_raw.c | 45 size_t input_length, in mbedtls_mpi_mod_raw_read() 80 size_t output_length, in mbedtls_mpi_mod_raw_write() 126 const size_t T_limbs = BITS_TO_LIMBS(N->bits) * 2; in mbedtls_mpi_mod_raw_mul() 148 size_t mbedtls_mpi_mod_raw_inv_prime_working_limbs(size_t AN_limbs) in mbedtls_mpi_mod_raw_inv_prime_working_limbs() 160 size_t AN_limbs, in mbedtls_mpi_mod_raw_inv_prime() 221 int (*f_rng)(void *, unsigned char *, size_t), in mbedtls_mpi_mod_raw_random() 235 const size_t t_limbs = mbedtls_mpi_core_montmul_working_limbs(N->limbs); in mbedtls_mpi_mod_raw_to_mont_rep() 251 const size_t t_limbs = mbedtls_mpi_core_montmul_working_limbs(N->limbs); in mbedtls_mpi_mod_raw_from_mont_rep()
|
/third_party/node/src/ |
H A D | jsvm_node_api.h | 96 size_t location_len, 98 size_t message_len); 115 size_t argc, 121 size_t length, 127 size_t length, 134 size_t length, 144 size_t* length); 207 size_t max_queue_size, 208 size_t initial_thread_count,
|
H A D | node_api.h | 115 size_t location_len, 117 size_t message_len); 132 size_t argc, 138 size_t length, 142 size_t length, 148 size_t length, 158 size_t* length); 220 size_t max_queue_size, 221 size_t initial_thread_count,
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | pthread.h | 156 int pthread_attr_getguardsize(const pthread_attr_t *__restrict, size_t *__restrict); 157 int pthread_attr_setguardsize(pthread_attr_t *, size_t); 158 int pthread_attr_getstacksize(const pthread_attr_t *__restrict, size_t *__restrict); 159 int pthread_attr_setstacksize(pthread_attr_t *, size_t); 162 int pthread_attr_getstack(const pthread_attr_t *__restrict, void **__restrict, size_t *__restrict); 163 int pthread_attr_setstack(pthread_attr_t *, void *, size_t); 224 int pthread_getaffinity_np(pthread_t, size_t, struct cpu_set_t *); 225 int pthread_setaffinity_np(pthread_t, size_t, const struct cpu_set_t *); 228 int pthread_getname_np(pthread_t, char *, size_t);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | pthread.h | 156 int pthread_attr_getguardsize(const pthread_attr_t *__restrict, size_t *__restrict); 157 int pthread_attr_setguardsize(pthread_attr_t *, size_t); 158 int pthread_attr_getstacksize(const pthread_attr_t *__restrict, size_t *__restrict); 159 int pthread_attr_setstacksize(pthread_attr_t *, size_t); 162 int pthread_attr_getstack(const pthread_attr_t *__restrict, void **__restrict, size_t *__restrict); 163 int pthread_attr_setstack(pthread_attr_t *, void *, size_t); 224 int pthread_getaffinity_np(pthread_t, size_t, struct cpu_set_t *); 225 int pthread_setaffinity_np(pthread_t, size_t, const struct cpu_set_t *); 228 int pthread_getname_np(pthread_t, char *, size_t);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | pthread.h | 156 int pthread_attr_getguardsize(const pthread_attr_t *__restrict, size_t *__restrict); 157 int pthread_attr_setguardsize(pthread_attr_t *, size_t); 158 int pthread_attr_getstacksize(const pthread_attr_t *__restrict, size_t *__restrict); 159 int pthread_attr_setstacksize(pthread_attr_t *, size_t); 162 int pthread_attr_getstack(const pthread_attr_t *__restrict, void **__restrict, size_t *__restrict); 163 int pthread_attr_setstack(pthread_attr_t *, void *, size_t); 224 int pthread_getaffinity_np(pthread_t, size_t, struct cpu_set_t *); 225 int pthread_setaffinity_np(pthread_t, size_t, const struct cpu_set_t *); 228 int pthread_getname_np(pthread_t, char *, size_t);
|
/third_party/nghttp2/lib/ |
H A D | nghttp2_helper.c | 122 void nghttp2_downcase(uint8_t *s, size_t len) { in nghttp2_downcase() 123 size_t i; in nghttp2_downcase() 414 int nghttp2_check_header_name(const uint8_t *name, size_t len) { in nghttp2_check_header_name() 502 int nghttp2_check_header_value(const uint8_t *value, size_t len) { in nghttp2_check_header_value() 512 int nghttp2_check_header_value_rfc9113(const uint8_t *value, size_t len) { in nghttp2_check_header_value_rfc9113() 593 int nghttp2_check_method(const uint8_t *value, size_t len) { in nghttp2_check_method() 674 int nghttp2_check_path(const uint8_t *value, size_t len) { in nghttp2_check_path() 752 int nghttp2_check_authority(const uint8_t *value, size_t len) { in nghttp2_check_authority() 762 uint8_t *nghttp2_cpymem(uint8_t *dest, const void *src, size_t len) { in nghttp2_cpymem()
|
/third_party/node/deps/brotli/c/enc/ |
H A D | command.h | 32 static BROTLI_INLINE uint16_t GetInsertLengthCode(size_t insertlen) { in GetInsertLengthCode() 49 static BROTLI_INLINE uint16_t GetCopyLengthCode(size_t copylen) { in GetCopyLengthCode() 83 static BROTLI_INLINE void GetLengthCode(size_t insertlen, size_t copylen, in GetLengthCode() 121 const BrotliDistanceParams* dist, size_t insertlen, in InitCommand() 122 size_t copylen, int copylen_code_delta, size_t distance_code) { in InitCommand() 134 insertlen, (size_t)((int)copylen + copylen_code_delta), in InitCommand() 138 static BROTLI_INLINE void InitInsertCommand(Command* self, size_t insertlen) { in InitInsertCommand()
|
/third_party/node/deps/icu-small/source/tools/escapesrc/ |
H A D | escapesrc.cpp | 130 size_t &pos, in appendUtf8() 131 size_t chars) { in appendUtf8() 133 for(size_t i=0;i<chars;i++) { in appendUtf8() 149 size_t i = 0; in appendUtf8() 151 for(size_t t = 0; t<i; t++) { in appendUtf8() 164 bool fixu8(std::string &linestr, size_t origpos, size_t &endpos) { in fixu8() 165 size_t pos = origpos + 3; in fixu8() 208 bool fixAt(std::string &linestr, size_t pos) { in fixAt() 209 size_t origpo in fixAt() [all...] |
/third_party/node/deps/nghttp2/lib/ |
H A D | nghttp2_helper.c | 122 void nghttp2_downcase(uint8_t *s, size_t len) { in nghttp2_downcase() 123 size_t i; in nghttp2_downcase() 412 int nghttp2_check_header_name(const uint8_t *name, size_t len) { in nghttp2_check_header_name() 500 int nghttp2_check_header_value(const uint8_t *value, size_t len) { in nghttp2_check_header_value() 510 int nghttp2_check_header_value_rfc9113(const uint8_t *value, size_t len) { in nghttp2_check_header_value_rfc9113() 591 int nghttp2_check_method(const uint8_t *value, size_t len) { in nghttp2_check_method() 672 int nghttp2_check_path(const uint8_t *value, size_t len) { in nghttp2_check_path() 750 int nghttp2_check_authority(const uint8_t *value, size_t len) { in nghttp2_check_authority() 760 uint8_t *nghttp2_cpymem(uint8_t *dest, const void *src, size_t len) { in nghttp2_cpymem()
|
/third_party/node/deps/ngtcp2/nghttp3/lib/ |
H A D | nghttp3_stream.h | 85 size_t left; 226 size_t outq_idx; 287 const uint8_t *src, size_t srclen, int fin); 297 nghttp3_vec *vec, size_t veccnt); 314 size_t nvlen); 328 int nghttp3_stream_ensure_chunk(nghttp3_stream *stream, size_t need); 334 int nghttp3_stream_add_outq_offset(nghttp3_stream *stream, size_t n); 359 size_t srclen); 361 size_t nghttp3_stream_get_buffered_datalen(nghttp3_stream *stream);
|
/third_party/icu/icu4c/source/tools/escapesrc/ |
H A D | escapesrc.cpp | 130 size_t &pos, in appendUtf8() 131 size_t chars) { in appendUtf8() 133 for(size_t i=0;i<chars;i++) { in appendUtf8() 149 size_t i = 0; in appendUtf8() 151 for(size_t t = 0; t<i; t++) { in appendUtf8() 164 bool fixu8(std::string &linestr, size_t origpos, size_t &endpos) { in fixu8() 165 size_t pos = origpos + 3; in fixu8() 208 bool fixAt(std::string &linestr, size_t pos) { in fixAt() 209 size_t origpo in fixAt() [all...] |
/third_party/musl/libc-test/src/functional/ |
H A D | test-malloc-info-stats-print.h | 84 for (size_t i = 0; i < SIZES_COUNT; i++) { in get_main_thread_test_results() 88 for (size_t i = 0; i < SIZES_COUNT; i++) { in get_main_thread_test_results() 112 for (size_t i = 0; i < SIZES_COUNT; i++) { in get_different_threads_test_results() 116 for (size_t i = 0; i < SIZES_COUNT; i++) { in get_different_threads_test_results() 121 for (size_t i = 0; i < SIZES_COUNT; i++) { in get_different_threads_test_results() 127 for (size_t i = 0; i < SIZES_COUNT; i++) { in get_different_threads_test_results() 137 for (size_t i = 0; i < SIZES_COUNT; i++) { in allocate_and_abandon() 159 static int validate_allocated_size(size_t size, malloc_thread_stats_t *stats) in validate_allocated_size() 172 for (size_t i = 0; i < SIZES_COUNT; i++) { in validate_different_threads_test_results()
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
H A D | fopen.c | 44 size_t wrsize = fwrite(wstring, sizeof(char), strlen(wstring), fptr); in fopen_0100() 62 size_t wrsize = fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in fopen_0100() 100 size_t wrsize = fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in fopen_0300() 131 size_t wrsize = fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in fopen_0400() 163 size_t wrsize = fwrite(wstring, sizeof(char), strlen(wstring), fptr); in fopen_0500() 175 size_t wrsize = fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in fopen_0500() 217 size_t wrsize = fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in fopen_0600() 278 size_t wrsize = fwrite(wstring, sizeof(char), strlen(wstring), fptr); in fopen_0900() 290 size_t wrsize = fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in fopen_0900()
|
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/ |
H A D | cipher_rc4_hmac_md5_hw.c | 20 #define NO_PAYLOAD_LENGTH ((size_t)-1) 36 const uint8_t *key, size_t keylen) in cipher_hw_rc4_hmac_md5_initkey() 51 const unsigned char *in, size_t len) in cipher_hw_rc4_hmac_md5_cipher() 57 size_t rc4_off = MOD - 1 - (ks->x & (MOD - 1)); in cipher_hw_rc4_hmac_md5_cipher() 58 size_t md5_off = MD5_CBLOCK - ctx->md.num, blocks; in cipher_hw_rc4_hmac_md5_cipher() 61 size_t plen = ctx->payload_length; in cipher_hw_rc4_hmac_md5_cipher() 166 unsigned char *aad, size_t aad_len) in cipher_hw_rc4_hmac_md5_tls_init() 192 size_t len) in cipher_hw_rc4_hmac_md5_init_mackey() 230 const PROV_CIPHER_HW *ossl_prov_cipher_hw_rc4_hmac_md5(size_t keybits) in ossl_prov_cipher_hw_rc4_hmac_md5()
|
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | mem.c | 177 void *CRYPTO_malloc(size_t num, const char *file, int line) in CRYPTO_malloc() 199 void *CRYPTO_zalloc(size_t num, const char *file, int line) in CRYPTO_zalloc() 210 void *CRYPTO_realloc(void *str, size_t num, const char *file, int line) in CRYPTO_realloc() 228 void *CRYPTO_clear_realloc(void *str, size_t old_len, size_t num, in CRYPTO_clear_realloc() 266 void CRYPTO_clear_free(void *str, size_t num, const char *file, int line) in CRYPTO_clear_free() 301 void CRYPTO_mem_debug_malloc(void *addr, size_t num, int flag, in CRYPTO_mem_debug_malloc() 307 void CRYPTO_mem_debug_realloc(void *addr1, void *addr2, size_t num, int flag, in CRYPTO_mem_debug_realloc() 333 int CRYPTO_mem_leaks_cb(int (*cb)(const char *str, size_t len, void *u), in CRYPTO_mem_leaks_cb()
|
/third_party/libcoap/src/ |
H A D | coap_notls.c | 178 size_t data_len COAP_UNUSED) { in coap_dtls_send() 209 size_t data_len COAP_UNUSED in coap_dtls_receive() 218 size_t data_len COAP_UNUSED in coap_dtls_hello() 255 size_t data_len COAP_UNUSED) { in coap_tls_write() 267 size_t data_len COAP_UNUSED) { in coap_tls_read() 273 size_t ofs; 296 size_t data_len) { in coap_digest_update() 353 size_t *max_result_len) { in coap_crypto_aead_encrypt() 367 size_t *max_result_len) { in coap_crypto_aead_decrypt()
|