/third_party/spirv-tools/test/diff/ |
H A D | lcs_test.cpp | 29 size_t expected_match_count) { in VerifyMatch() 33 size_t match_count = in VerifyMatch() 38 size_t src_cur = 0; in VerifyMatch() 39 size_t dst_cur = 0; in VerifyMatch() 40 size_t matches_seen = 0; in VerifyMatch() 68 size_t match_count = in TEST() 82 size_t match_count = in TEST() 96 size_t match_count = in TEST() 110 size_t match_count = in TEST() 124 size_t match_coun in TEST() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
H A D | pkcs1.c | 18 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, in pkcs1_generate_encryption_block() 19 const u8 *in, size_t inlen, in pkcs1_generate_encryption_block() 20 u8 *out, size_t *outlen) in pkcs1_generate_encryption_block() 22 size_t ps_len; in pkcs1_generate_encryption_block() 82 int use_private, const u8 *in, size_t inlen, in pkcs1_encrypt() 83 u8 *out, size_t *outlen) in pkcs1_encrypt() 85 size_t modlen; in pkcs1_encrypt() 98 const u8 *in, size_t inlen, in pkcs1_v15_private_key_decrypt() 99 u8 *out, size_t *outlen) in pkcs1_v15_private_key_decrypt() 135 const u8 *crypt, size_t crypt_le in pkcs1_decrypt_public_key() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | wpa_auth_i.h | 82 size_t last_rx_eapol_key_len; 107 size_t wpa_ie_len; 109 size_t rsnxe_len; 126 size_t xxkey_len; 132 size_t r0kh_id_len; 139 const u8 *ies, size_t ies_len); 157 size_t fils_key_auth_len; 230 size_t wpa_ie_len; 275 int wpa_write_rsn_ie(struct wpa_auth_config *conf, u8 *buf, size_t len, 277 int wpa_write_rsnxe(struct wpa_auth_config *conf, u8 *buf, size_t le [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
H A D | pkcs1.c | 18 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, in pkcs1_generate_encryption_block() 19 const u8 *in, size_t inlen, in pkcs1_generate_encryption_block() 20 u8 *out, size_t *outlen) in pkcs1_generate_encryption_block() 22 size_t ps_len; in pkcs1_generate_encryption_block() 82 int use_private, const u8 *in, size_t inlen, in pkcs1_encrypt() 83 u8 *out, size_t *outlen) in pkcs1_encrypt() 85 size_t modlen; in pkcs1_encrypt() 98 const u8 *in, size_t inlen, in pkcs1_v15_private_key_decrypt() 99 u8 *out, size_t *outlen) in pkcs1_v15_private_key_decrypt() 135 const u8 *crypt, size_t crypt_le in pkcs1_decrypt_public_key() [all...] |
/third_party/libbpf/src/ |
H A D | bpf.h | 38 int libbpf_set_memlock_rlim(size_t memlock_bytes); 41 size_t sz; /* size of this struct for forward/backward compatibility */ 65 size_t sz; /* size of this struct for forward/backward compatibility */ 105 size_t :0; member 111 const struct bpf_insn *insns, size_t insn_cnt, 121 size_t sz; /* size of this struct for forward/backward compatibility */ 133 size_t :0; member 137 LIBBPF_API int bpf_btf_load(const void *btf_data, size_t btf_size, 156 size_t sz; /* size of this struct for forward/backward compatibility */ 288 size_t s 293 size_t :0; global() member 307 size_t :0; global() member 331 size_t :0; global() member 341 size_t :0; global() member 424 size_t :0; global() member 472 size_t :0; global() member 572 size_t :0; global() member [all...] |
/third_party/mbedtls/library/ |
H A D | x509_create.c | 28 size_t name_len; /* Length of 'name', without trailing 0 byte. */ 101 static const x509_attr_descriptor_t *x509_attr_descr_from_name(const char *name, size_t name_len) in x509_attr_descr_from_name() 141 size_t *data_len) in parse_attribute_value_string() 172 *data_len = (size_t) (d - data); in parse_attribute_value_string() 203 size_t len, in parse_attribute_value_hex_der_encoded() 205 size_t data_size, in parse_attribute_value_hex_der_encoded() 206 size_t *data_len, in parse_attribute_value_hex_der_encoded() 215 size_t const der_length = len / 2; in parse_attribute_value_hex_der_encoded() 234 for (size_t i = 0; i < der_length; i++) { in parse_attribute_value_hex_der_encoded() 259 for (size_t in parse_attribute_value_hex_der_encoded() [all...] |
H A D | ecdsa.c | 204 const unsigned char *buf, size_t blen) in derive_mpi() 207 size_t n_size = (grp->nbits + 7) / 8; in derive_mpi() 208 size_t use_size = blen > n_size ? n_size : blen; in derive_mpi() 245 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, in mbedtls_ecdsa_sign_restartable() 246 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, in mbedtls_ecdsa_sign_restartable() 247 int (*f_rng_blind)(void *, unsigned char *, size_t), in mbedtls_ecdsa_sign_restartable() 381 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, in mbedtls_ecdsa_sign() 382 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng) in mbedtls_ecdsa_sign() 399 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, in mbedtls_ecdsa_sign_det_restartable() 401 int (*f_rng_blind)(void *, unsigned char *, size_t), in mbedtls_ecdsa_sign_det_restartable() [all...] |
/third_party/node/src/ |
H A D | blob_serializer_deserializer-inl.h | 110 size_t count = static_cast<size_t>(ReadArithmetic<size_t>()); in ReadVector() 133 size_t length = ReadArithmetic<size_t>(); in ReadString() 155 void BlobDeserializer<Impl>::ReadArithmetic(T* out, size_t count) { in ReadArithmetic() 163 size_t size = sizeof(T) * count; in ReadArithmetic() 177 std::vector<Number> BlobDeserializer<Impl>::ReadArithmeticVector(size_t count) { in ReadArithmeticVector() 188 std::vector<T> BlobDeserializer<Impl>::ReadNonArithmeticVector(size_t count) { in ReadNonArithmeticVector() 195 for (size_t in ReadNonArithmeticVector() [all...] |
/third_party/nghttp2/lib/ |
H A D | nghttp2_buf.c | 40 int nghttp2_buf_init2(nghttp2_buf *buf, size_t initial, nghttp2_mem *mem) { in nghttp2_buf_init2() 54 int nghttp2_buf_reserve(nghttp2_buf *buf, size_t new_cap, nghttp2_mem *mem) { in nghttp2_buf_reserve() 56 size_t cap; in nghttp2_buf_reserve() 84 void nghttp2_buf_wrap_init(nghttp2_buf *buf, uint8_t *begin, size_t len) { in nghttp2_buf_wrap_init() 91 static int buf_chain_new(nghttp2_buf_chain **chain, size_t chunk_length, in buf_chain_new() 116 int nghttp2_bufs_init(nghttp2_bufs *bufs, size_t chunk_length, size_t max_chunk, in nghttp2_bufs_init() 121 int nghttp2_bufs_init2(nghttp2_bufs *bufs, size_t chunk_length, in nghttp2_bufs_init2() 122 size_t max_chunk, size_t offse in nghttp2_bufs_init2() [all...] |
/third_party/node/deps/nghttp2/lib/ |
H A D | nghttp2_buf.c | 40 int nghttp2_buf_init2(nghttp2_buf *buf, size_t initial, nghttp2_mem *mem) { in nghttp2_buf_init2() 54 int nghttp2_buf_reserve(nghttp2_buf *buf, size_t new_cap, nghttp2_mem *mem) { in nghttp2_buf_reserve() 56 size_t cap; in nghttp2_buf_reserve() 84 void nghttp2_buf_wrap_init(nghttp2_buf *buf, uint8_t *begin, size_t len) { in nghttp2_buf_wrap_init() 91 static int buf_chain_new(nghttp2_buf_chain **chain, size_t chunk_length, in buf_chain_new() 116 int nghttp2_bufs_init(nghttp2_bufs *bufs, size_t chunk_length, size_t max_chunk, in nghttp2_bufs_init() 121 int nghttp2_bufs_init2(nghttp2_bufs *bufs, size_t chunk_length, in nghttp2_bufs_init2() 122 size_t max_chunk, size_t offse in nghttp2_bufs_init2() [all...] |
/third_party/node/deps/v8/src/base/ |
H A D | virtual-address-space.cc | 76 Address VirtualAddressSpace::AllocatePages(Address hint, size_t size, in AllocatePages() 77 size_t alignment, in AllocatePages() 88 void VirtualAddressSpace::FreePages(Address address, size_t size) { in FreePages() 95 bool VirtualAddressSpace::SetPagePermissions(Address address, size_t size, in SetPagePermissions() 104 bool VirtualAddressSpace::AllocateGuardRegion(Address address, size_t size) { in AllocateGuardRegion() 117 void VirtualAddressSpace::FreeGuardRegion(Address address, size_t size) { in FreeGuardRegion() 129 Address hint, size_t size, PagePermissions permissions, in AllocateSharedPages() 140 void VirtualAddressSpace::FreeSharedPages(Address address, size_t size) { in FreeSharedPages() 148 Address hint, size_t size, size_t alignmen in AllocateSubspace() [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | memory-measurement.cc | 30 void AddTotal(size_t estimate, size_t lower_bound, size_t upper_bound) { in AddTotal() 34 void AddCurrent(size_t estimate, size_t lower_bound, size_t upper_bound) { in AddCurrent() 39 void AddOther(size_t estimate, size_t lower_bound, size_t upper_bound) { in AddOther() 57 Handle<JSObject> NewResult(size_t estimat [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/ |
H A D | sskdf.c | 59 size_t secret_len; 61 size_t info_len; 63 size_t salt_len; 64 size_t out_len; /* optional KMAC parameter */ 95 const unsigned char *z, size_t z_len, in SSKDF_hash_kdm() 96 const unsigned char *info, size_t info_len, in SSKDF_hash_kdm() 98 unsigned char *derived_key, size_t derived_key_len) in SSKDF_hash_kdm() 101 size_t counter, out_len, len = derived_key_len; in SSKDF_hash_kdm() 115 out_len = (size_t)hlen; in SSKDF_hash_kdm() 160 size_t custom_le in kmac_init() [all...] |
/third_party/openssl/providers/implementations/kdfs/ |
H A D | sskdf.c | 59 size_t secret_len; 61 size_t info_len; 63 size_t salt_len; 64 size_t out_len; /* optional KMAC parameter */ 95 const unsigned char *z, size_t z_len, in SSKDF_hash_kdm() 96 const unsigned char *info, size_t info_len, in SSKDF_hash_kdm() 98 unsigned char *derived_key, size_t derived_key_len) in SSKDF_hash_kdm() 101 size_t counter, out_len, len = derived_key_len; in SSKDF_hash_kdm() 115 out_len = (size_t)hlen; in SSKDF_hash_kdm() 160 size_t custom_le in kmac_init() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
H A D | containers_test.cpp | 28 ASSERT_EQ(vector.size(), size_t(0)); in TEST_F() 66 ASSERT_EQ(vector.size(), size_t(4)); in TEST_F() 72 ASSERT_EQ(vector.size(), size_t(3)); in TEST_F() 78 ASSERT_EQ(vector.size(), size_t(2)); in TEST_F() 84 ASSERT_EQ(vector.size(), size_t(1)); in TEST_F() 90 ASSERT_EQ(vector.size(), size_t(0)); in TEST_F() 100 ASSERT_EQ(vector.size(), size_t(4)); in TEST_F() 106 ASSERT_EQ(vector.size(), size_t(3)); in TEST_F() 112 ASSERT_EQ(vector.size(), size_t(2)); in TEST_F() 118 ASSERT_EQ(vector.size(), size_t( in TEST_F() [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | avstring.h | 84 char *av_strnstr(const char *haystack, const char *needle, size_t hay_length); 101 size_t av_strlcpy(char *dst, const char *src, size_t size); 119 size_t av_strlcat(char *dst, const char *src, size_t size); 133 size_t av_strlcatf(char *dst, size_t size, const char *fmt, ...) av_printf_format(3, 4); 141 static inline size_t av_strnlen(const char *s, size_t len) in av_strnlen() 143 size_t in av_strnlen() [all...] |
/third_party/curl/lib/ |
H A D | escape.c | 59 size_t length; in curl_easy_escape() 68 length = (inlength?(size_t)inlength:strlen(string)); in curl_easy_escape() 120 CURLcode Curl_urldecode(const char *string, size_t length, in Curl_urldecode() 121 char **ostring, size_t *olen, in Curl_urldecode() 124 size_t alloc; in Curl_urldecode() 184 size_t inputlen = (size_t)length; in curl_easy_unescape() 185 size_t outputlen; in curl_easy_unescape() 192 if(outputlen <= (size_t) INT_MAX) in curl_easy_unescape() 216 void Curl_hexencode(const unsigned char *src, size_t le [all...] |
/third_party/libwebsockets/lib/core/ |
H A D | alloc.c | 32 static size_t allocated; 78 void *lws_realloc(void *ptr, size_t size, const char *reason) in lws_realloc() 83 void *lws_malloc(size_t size, const char *reason) in lws_malloc() 93 void *lws_zalloc(size_t size, const char *reason) in lws_zalloc() 101 void lws_set_allocator(void *(*cb)(void *ptr, size_t size, const char *reason)) in lws_set_allocator() 108 _realloc(void *ptr, size_t size, const char *reason) in _realloc() 150 void *(*_lws_realloc)(void *ptr, size_t size, const char *reason) = _realloc; 152 void *lws_realloc(void *ptr, size_t size, const char *reason) in lws_realloc() 157 void *lws_zalloc(size_t size, const char *reason) in lws_zalloc() 167 void lws_set_allocator(void *(*cb)(void *ptr, size_t siz [all...] |
/third_party/mbedtls/3rdparty/everest/library/ |
H A D | x25519.c | 59 int mbedtls_x25519_make_params( mbedtls_x25519_context *ctx, size_t *olen, in mbedtls_x25519_make_params() 60 unsigned char *buf, size_t blen, in mbedtls_x25519_make_params() 61 int( *f_rng )(void *, unsigned char *, size_t), in mbedtls_x25519_make_params() 107 size_t olen = 0; in mbedtls_x25519_get_params() 119 int mbedtls_x25519_calc_secret( mbedtls_x25519_context *ctx, size_t *olen, in mbedtls_x25519_calc_secret() 120 unsigned char *buf, size_t blen, in mbedtls_x25519_calc_secret() 121 int( *f_rng )(void *, unsigned char *, size_t), in mbedtls_x25519_calc_secret() 145 int mbedtls_x25519_make_public( mbedtls_x25519_context *ctx, size_t *olen, in mbedtls_x25519_make_public() 146 unsigned char *buf, size_t blen, in mbedtls_x25519_make_public() 147 int( *f_rng )(void *, unsigned char *, size_t), in mbedtls_x25519_make_public() [all...] |
/third_party/jerryscript/jerry-core/api/ |
H A D | jerry-debugger-transport.c | 37 size_t send_message_header_size, /**< header bytes reserved for outgoing messages */ in jerry_debugger_transport_add() 38 size_t max_send_message_size, /**< maximum number of bytes transmitted in a message */ in jerry_debugger_transport_add() 39 size_t receive_message_header_size, /**< header bytes reserved for incoming messages */ in jerry_debugger_transport_add() 40 size_t max_receive_message_size) /**< maximum number of bytes received in a message */ in jerry_debugger_transport_add() 49 size_t max_send_size; in jerry_debugger_transport_add() 50 size_t max_receive_size; in jerry_debugger_transport_add() 159 size_t message_length) /**< message length in bytes */ in jerry_debugger_transport_send() 166 size_t max_send_size = JERRY_CONTEXT (debugger_max_send_size); in jerry_debugger_transport_send() 170 size_t fragment_length = (message_length <= max_send_size ? message_length in jerry_debugger_transport_send() 224 size_t message_total_lengt in jerry_debugger_transport_receive_completed() [all...] |
/third_party/node/src/crypto/ |
H A D | crypto_clienthello.cc | 27 void ClientHelloParser::Parse(const uint8_t* data, size_t avail) { in Parse() 47 bool ClientHelloParser::ParseRecordHeader(const uint8_t* data, size_t avail) { in ParseRecordHeader() 75 void ClientHelloParser::ParseHeader(const uint8_t* data, size_t avail) { in ParseHeader() 130 size_t len) { in ParseExtension() 142 for (size_t offset = 2; offset < 2 + server_names_len; ) { in ParseExtension() 169 bool ClientHelloParser::ParseTLSClientHello(const uint8_t* data, size_t avail) { in ParseTLSClientHello() 173 size_t session_offset = body_offset_ + 4 + 2 + 32; in ParseTLSClientHello() 182 size_t cipher_offset = session_offset + 1 + session_size_; in ParseTLSClientHello() 190 size_t comp_offset = cipher_offset + 2 + cipher_len; in ParseTLSClientHello() 197 size_t extension_offse in ParseTLSClientHello() [all...] |
/third_party/node/deps/brotli/c/enc/ |
H A D | histogram.c | 21 size_t idx_; 22 size_t type_; 23 size_t length_; 44 const Command* cmds, const size_t num_commands, in BrotliBuildHistogramsWithContext() 46 const BlockSplit* dist_split, const uint8_t* ringbuffer, size_t start_pos, in BrotliBuildHistogramsWithContext() 47 size_t mask, uint8_t prev_byte, uint8_t prev_byte2, in BrotliBuildHistogramsWithContext() 51 size_t pos = start_pos; in BrotliBuildHistogramsWithContext() 55 size_t i; in BrotliBuildHistogramsWithContext() 62 size_t j; in BrotliBuildHistogramsWithContext() 68 size_t contex in BrotliBuildHistogramsWithContext() [all...] |
/third_party/node/deps/base64/base64/lib/ |
H A D | lib.c | 34 , size_t srclen in base64_stream_encode() 36 , size_t *outlen in base64_stream_encode() 46 , size_t *outlen in base64_stream_encode_final() 84 , size_t srclen in base64_stream_decode() 86 , size_t *outlen in base64_stream_decode() 105 , size_t srclen in base64_encode() 107 , size_t *outlen in base64_encode() 111 size_t s; in base64_encode() 112 size_t t; in base64_encode() 138 , size_t srcle in base64_decode() [all...] |
/third_party/mesa3d/src/util/ |
H A D | os_memory_fd.c | 49 size_t size; 50 size_t offset; 102 os_malloc_aligned_fd(size_t size, size_t alignment, int *fd, char const *fd_name, char const *driver_id) in os_malloc_aligned_fd() 106 size_t alloc_size, offset; in os_malloc_aligned_fd() 113 * alloc_size = size + alignment + sizeof(struct memory_header) + sizeof(size_t) in os_malloc_aligned_fd() 117 const size_t header_size = sizeof(struct memory_header) + sizeof(size_t); in os_malloc_aligned_fd() 144 offset = (size_t)((uintptr_t)buf - (uintptr_t)ptr); in os_malloc_aligned_fd() 148 ((size_t*)bu in os_malloc_aligned_fd() [all...] |
/third_party/lwip/src/apps/altcp_tls/ |
H A D | altcp_tls_mbedtls_mem.c | 87 size_t c; 88 size_t len; 93 size_t allocedBytes; 94 size_t allocCnt; 95 size_t maxBytes; 96 size_t totalBytes; 103 tls_malloc(size_t c, size_t len) in tls_malloc() 107 size_t alloc_size; in tls_malloc() 190 altcp_mbedtls_alloc_config(size_t siz [all...] |