/third_party/mbedtls/programs/cipher/ |
H A D | cipher_aead_demo.c | 94 void print_buf(const char *title, unsigned char *buf, size_t len) in print_buf() 97 for (size_t i = 0; i < len; i++) { in print_buf() 128 size_t *tag_len) in aead_prepare() 169 static void aead_info(const mbedtls_cipher_context_t *ctx, size_t tag_len) in aead_info() 188 static int aead_encrypt(mbedtls_cipher_context_t *ctx, size_t tag_len, in aead_encrypt() 189 const unsigned char *iv, size_t iv_len, in aead_encrypt() 190 const unsigned char *ad, size_t ad_len, in aead_encrypt() 191 const unsigned char *part1, size_t part1_len, in aead_encrypt() 192 const unsigned char *part2, size_t part2_len) in aead_encrypt() 195 size_t ole in aead_encrypt() [all...] |
/third_party/nghttp2/examples/ |
H A D | deflate.c | 42 size_t nvlen); 45 size_t inlen, int final); 95 size_t nvlen) { in deflate() 98 size_t buflen; in deflate() 99 size_t outlen; in deflate() 100 size_t i; in deflate() 101 size_t sum; in deflate() 132 outlen = (size_t)rv; in deflate() 168 size_t inlen, int final) { in inflate_header_block() 174 size_t procle in inflate_header_block() [all...] |
/third_party/lzma/C/ |
H A D | LzFindOpt.c | 45 UInt32 * Z7_FASTCALL GetMatchesSpecN_1(const Byte *lenLimit, size_t pos, const Byte *cur, CLzRef *son,
46 UInt32 _cutValue, UInt32 *d, size_t _maxLen, const UInt32 *hash, const UInt32 *limit, const UInt32 *size, UInt32 *posRes)
62 CLzRef *ptr1 = son + ((size_t)pos << 1) - CYC_TO_POS_OFFSET * 2;
71 CLzRef *ptr0 = son + ((size_t)(pos) << 1) - CYC_TO_POS_OFFSET * 2 + 1;
72 CLzRef *ptr1 = son + ((size_t)(pos) << 1) - CYC_TO_POS_OFFSET * 2;
83 CLzRef *pair = son + ((size_t)(((ptrdiff_t)pos - CYC_TO_POS_OFFSET) + diff) << 1);
131 CLzRef *ptr = son + ((size_t)(pos) << 1) - CYC_TO_POS_OFFSET * 2;
213 we use size_t for (pos) and (_cyclicBufferPos_ instead of UInt32
217 UInt32 * Z7_FASTCALL GetMatchesSpecN_2(const Byte *lenLimit, size_t pos, const Byte *cur, CLzRef *son,
218 UInt32 _cutValue, UInt32 *d, size_t _maxLe [all...] |
/third_party/node/deps/v8/src/heap/cppgc/ |
H A D | gc-info-table.cc | 27 constexpr size_t kEntrySize = sizeof(GCInfo); 75 size_t GCInfoTable::MaxTableSize() const { in MaxTableSize() 83 constexpr size_t memory_wanted = kInitialWantedLimit * kEntrySize; in InitialTableLimit() 84 const size_t initial_limit = in InitialTableLimit() 88 std::min(static_cast<size_t>(kMaxIndex), initial_limit)); in InitialTableLimit() 94 const size_t old_committed_size = limit_ * kEntrySize; in Resize() 95 const size_t new_committed_size = new_limit * kEntrySize; in Resize() 102 const size_t table_size_delta = new_committed_size - old_committed_size; in Resize() 108 const size_t read_only_delta = current_table_end - read_only_table_end_; in Resize() 121 void GCInfoTable::CheckMemoryIsZeroed(uintptr_t* base, size_t le [all...] |
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | params_from_text.c | 25 const char *value, size_t value_n, in prepare_from_text() 28 size_t *buf_n, BIGNUM **tmpbn, int *found) in prepare_from_text() 31 size_t buf_bits; in prepare_from_text() 81 buf_bits = (size_t)BN_num_bits(*tmpbn); in prepare_from_text() 121 size_t hexdigits = strlen(value); in prepare_from_text() 138 const char *value, size_t value_n, int ishex, in construct_from_text() 139 void *buf, size_t buf_n, BIGNUM *tmpbn) in construct_from_text() 167 size_t i = buf_n; in construct_from_text() 184 size_t l = 0; in construct_from_text() 206 size_t value_ in OSSL_PARAM_allocate_from_text() [all...] |
/third_party/node/deps/openssl/openssl/crypto/bio/ |
H A D | bf_prefix.c | 15 static int prefix_write(BIO *b, const char *out, size_t outl, 16 size_t *numwritten); 17 static int prefix_read(BIO *b, char *buf, size_t size, size_t *numread); 76 static int prefix_read(BIO *b, char *in, size_t size, size_t *numread) in prefix_read() 81 static int prefix_write(BIO *b, const char *out, size_t outl, in prefix_write() 82 size_t *numwritten) in prefix_write() 107 size_t i; in prefix_write() 115 size_t dontcar in prefix_write() [all...] |
/third_party/python/Include/cpython/ |
H A D | abstract.h | 54 (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1)) 57 PyVectorcall_NARGS(size_t n) in PyVectorcall_NARGS() 67 size_t nargsf, 84 size_t nargsf, 101 size_t nargsf, PyObject *kwnames); 106 size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET; in PyObject_CallMethodNoArgs() 114 size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET; in PyObject_CallMethodOneArg() 142 size_t nargsf, PyObject *kwnames) in _PyObject_VectorcallMethodId() 154 size_t nargs in _PyObject_CallMethodIdNoArgs() [all...] |
/third_party/openssl/crypto/bio/ |
H A D | bf_prefix.c | 15 static int prefix_write(BIO *b, const char *out, size_t outl, 16 size_t *numwritten); 17 static int prefix_read(BIO *b, char *buf, size_t size, size_t *numread); 76 static int prefix_read(BIO *b, char *in, size_t size, size_t *numread) in prefix_read() 81 static int prefix_write(BIO *b, const char *out, size_t outl, in prefix_write() 82 size_t *numwritten) in prefix_write() 107 size_t i; in prefix_write() 115 size_t dontcar in prefix_write() [all...] |
/third_party/skia/src/core/ |
H A D | SkFontDescriptor.cpp | 30 size_t length; in read_string() 46 static bool write_uint(SkWStream* stream, size_t n, uint32_t id) { in write_uint() 51 static size_t SK_WARN_UNUSED_RESULT read_id(SkStream* stream) { in read_id() 52 size_t i; in read_id() 58 size_t styleBits; in Deserialize() 64 size_t coordinateCount; in Deserialize() 67 size_t index; in Deserialize() 70 for (size_t id; (id = read_id(stream)) != kSentinel;) { in Deserialize() 87 for (size_t i = 0; i < coordinateCount; ++i) { in Deserialize() 103 size_t lengt in Deserialize() [all...] |
/third_party/skia/src/sksl/analysis/ |
H A D | SkSLCheckProgramUnrolledSize.cpp | 37 static constexpr size_t kExpressionCost = 1; in CheckProgramUnrolledSize() 38 static constexpr size_t kStatementCost = 1; in CheckProgramUnrolledSize() 39 static constexpr size_t kUnknownCost = -1; in CheckProgramUnrolledSize() 40 static constexpr size_t kProgramSizeLimit = 100000; in CheckProgramUnrolledSize() 41 static constexpr size_t kProgramStackDepthLimit = 50; in CheckProgramUnrolledSize() 49 size_t functionSize() const { in CheckProgramUnrolledSize() 117 size_t originalFunctionSize = fFunctionSize; in CheckProgramUnrolledSize() 160 size_t expressionCost = kExpressionCost; in CheckProgramUnrolledSize() 168 size_t originalFunctionSize = fFunctionSize; in CheckProgramUnrolledSize() 186 size_t fFunctionSiz in CheckProgramUnrolledSize() [all...] |
/third_party/skia/third_party/externals/dawn/src/common/ |
H A D | BitSetIterator.h | 34 template <size_t N, typename T> 58 static constexpr size_t kBitsPerWord = sizeof(uint32_t) * 8; 75 template <size_t N, typename T> 79 template <size_t N, typename T> 83 template <size_t N, typename T> 89 template <size_t N, typename T> 99 template <size_t N, typename T> 107 template <size_t N, typename T> 112 template <size_t N, typename T> 117 template <size_t [all...] |
/third_party/vixl/src/ |
H A D | code-generation-scopes-vixl.h | 68 size_t size, in CodeBufferCheckScope() 91 size_t size, in Open() 138 size_t limit_; 159 size_t size, in EmissionCheckScope() 184 size_t size, in Open() 209 size_t size, in Open() 238 size_t size, in EmissionCheckScope() 258 size_t size, in ExactAssemblyScope() 272 size_t size, in Open() 298 size_t siz in ExactAssemblyScope() [all...] |
/third_party/skia/modules/skottie/src/animator/ |
H A D | ShapeKeyframeAnimator.cpp | 26 enum ShapeEncodingInfo : size_t { 37 static size_t shape_encoding_len(size_t vertex_count) { in shape_encoding_len() 52 static bool parse_encoding_len(const skjson::Value& jv, size_t* len) { in parse_encoding_len() 62 static bool parse_encoding_data(const skjson::Value& jv, size_t data_len, float data[]) { in parse_encoding_data() 77 auto parse_point = [](const skjson::ArrayValue* ja, size_t i, float* x, float* y) { in parse_encoding_data() 88 auto parse_optional_point = [&parse_point](const skjson::ArrayValue* ja, size_t i, in parse_encoding_data() 99 for (size_t i = 0; i < jvs->size(); ++i) { in parse_encoding_data() 129 auto addCubic = [&](size_t from_vertex, size_t to_verte in operator SkPath() [all...] |
/third_party/rust/crates/regex/bench/src/ffi/ |
H A D | pcre2.rs | 7 use libc::{c_int, c_void, size_t}; 12 ovector: *mut size_t, 28 offset: size_t, 34 let mut error_offset: size_t = 0; in new() 125 const BUF_LEN: size_t = 256; in fmt() 164 len: size_t, in pcre2_compile_8() 167 error_offset: *mut size_t, in pcre2_compile_8() 181 -> *mut size_t; in pcre2_get_ovector_pointer_8() 188 length: size_t, in pcre2_jit_match_8() 189 startoffset: size_t, in pcre2_jit_match_8() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | config_ssid.h | 160 size_t ssid_len; 177 size_t num_bssid_ignore; 183 size_t num_bssid_accept; 343 size_t wep_key_len[NUM_WEP_KEYS]; 677 size_t num_p2p_clients; 942 size_t mka_ckn_len; 949 size_t mka_cak_len; 975 size_t roaming_consortium_selection_len; 1039 size_t dpp_netaccesskey_len; 1056 size_t dpp_csign_le [all...] |
/third_party/mbedtls/library/ |
H A D | ssl_tls13_generic.c | 52 size_t *buf_len) in mbedtls_ssl_tls13_fetch_handshake_msg() 92 size_t extensions_len; in mbedtls_ssl_tls13_is_supported_versions_ext_present_in_exts() 121 size_t extension_data_len; in mbedtls_ssl_tls13_is_supported_versions_ext_present_in_exts() 176 size_t transcript_hash_len, in ssl_tls13_create_verify_structure() 178 size_t *verify_buffer_len, in ssl_tls13_create_verify_structure() 181 size_t idx; in ssl_tls13_create_verify_structure() 216 size_t verify_buffer_len) in ssl_tls13_parse_certificate_verify() 222 size_t signature_len; in ssl_tls13_parse_certificate_verify() 227 size_t verify_hash_len; in ssl_tls13_parse_certificate_verify() 342 size_t verify_buffer_le in mbedtls_ssl_tls13_process_certificate_verify() [all...] |
/third_party/elfutils/tests/ |
H A D | addsections.c | 40 setshstrndx (Elf *elf, size_t ndx) in setshstrndx() 73 add_sections (const char *name, size_t nr, int use_mmap, size_t sec_size) in add_sections() 97 size_t shstrndx; in add_sections() 116 size_t new_shstrtab_size = (shstrtab_data->d_size in add_sections() 126 size_t extra_idx = shstrtab_data->d_size; in add_sections() 127 size_t old_shstrtab_idx = extra_idx + strlen (".extra") + 1; in add_sections() 142 size_t shstrtab_idx = shdr->sh_name; in add_sections() 153 size_t bufsz; in add_sections() 172 size_t cn in add_sections() [all...] |
/third_party/curl/tests/http/clients/ |
H A D | ws-data.c | 44 void dump(const char *text, unsigned char *ptr, size_t size, in dump() 47 size_t i; in dump() 48 size_t c; in dump() 92 static CURLcode send_binary(CURL *curl, char *buf, size_t buflen) in send_binary() 94 size_t nwritten; in send_binary() 102 static CURLcode recv_binary(CURL *curl, char *exp_data, size_t exp_len) in recv_binary() 106 size_t r_offset, nread; in recv_binary() 162 size_t sent; in websocket_close() 169 static CURLcode data_echo(CURL *curl, size_t plen_min, size_t plen_ma [all...] |
/third_party/curl/lib/ |
H A D | http.h | 60 size_t delta, 66 const size_t hlen, /* len of the keyword in bytes */ 68 const size_t clen); /* len of the content in bytes */ 75 const size_t thislen); 150 const char *buf, size_t blen, 229 const char *buf, size_t blen, 230 size_t *pconsumed, 259 CURLcode Curl_http_decode_status(int *pstatus, const char *s, size_t len); 278 const char *method, size_t m_len, 279 const char *scheme, size_t s_le [all...] |
/third_party/benchmark/src/ |
H A D | string_util.cc | 55 for (size_t i = 0; i < arraysize(kBigSIUnits); ++i) { in ToExponentAndMantissa() 70 for (size_t i = 0; i < arraysize(kSmallSIUnits); ++i) { in ToExponentAndMantissa() 128 if (static_cast<std::size_t>(ret) < local_buff.size()) in StrFormatImp() 133 std::size_t size = static_cast<std::size_t>(ret) + 1; in StrFormatImp() 158 size_t first = 0; in StrSplit() 159 size_t next = str.find(delim); in StrSplit() 175 unsigned long stoul(const std::string& str, size_t* pos, int base) { in stoul() 196 *pos = static_cast<size_t>(strEnd - strStart); in stoul() 201 int stoi(const std::string& str, size_t* po [all...] |
/third_party/json/tests/thirdparty/Fuzzer/ |
H A D | FuzzerUtil.cpp | 27 void PrintHexArray(const uint8_t *Data, size_t Size, in PrintHexArray() 29 for (size_t i = 0; i < Size; i++) in PrintHexArray() 49 void PrintASCII(const uint8_t *Data, size_t Size, const char *PrintAfter) { in PrintASCII() 50 for (size_t i = 0; i < Size; i++) in PrintASCII() 59 bool ToASCII(uint8_t *Data, size_t Size) { in ToASCII() 61 for (size_t i = 0; i < Size; i++) { in ToASCII() 75 bool IsASCII(const uint8_t *Data, size_t Size) { in IsASCII() 76 for (size_t i = 0; i < Size; i++) in IsASCII() 84 size_t L = 0, R = Str.size() - 1; // We are parsing the range [L,R]. in ParseOneDictionaryEntry() 98 for (size_t Po in ParseOneDictionaryEntry() [all...] |
/third_party/node/src/ |
H A D | node_blob.h | 23 size_t length; 24 size_t offset; 50 size_t length); 63 BaseObjectPtr<Blob> Slice(Environment* env, size_t start, size_t end); 65 inline size_t length() const { return length_; } in length() 71 size_t length) in BlobTransferData() 86 size_t length_ = 0; 96 size_t length); 100 size_t length [all...] |
/third_party/musl/src/stdio/ |
H A D | fmemopen.c | 10 size_t pos, len, size; 30 base = (size_t [3]){0, c->pos, c->len}[whence]; in mseek() 35 static size_t mread(FILE *f, unsigned char *buf, size_t len) in mread() 38 size_t rem = c->len - c->pos; in mread() 56 static size_t mreadx(FILE *f, unsigned char *buf, size_t len) in mreadx() 59 size_t rem = c->len - c->pos; in mreadx() 70 static size_t mwrite(FILE *f, const unsigned char *buf, size_t le [all...] |
/third_party/musl/src/string/ |
H A D | memmem.c | 5 static char *twobyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) in twobyte_memmem() 13 static char *threebyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) in threebyte_memmem() 22 static char *fourbyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) in fourbyte_memmem() 35 ((a)[(size_t)(b)/(8*sizeof *(a))] op (size_t)1<<((size_t)(b)%(8*sizeof *(a)))) 37 static char *twoway_memmem(const unsigned char *h, const unsigned char *z, const unsigned char *n, size_t l) in twoway_memmem() 39 size_t i, ip, jp, k, p, ms, p0, mem, mem0; in twoway_memmem() 40 size_t byteset[32 / sizeof(size_t)] in twoway_memmem() [all...] |
/third_party/ltp/testcases/kernel/syscalls/fallocate/ |
H A D | fallocate04.c | 23 static size_t block_size; 24 static size_t buf_size; 42 static size_t get_allocsize(void) in get_allocsize() 62 static void check_file_data(const char exp_buf[], size_t size) in check_file_data() 101 size_t alloc_size0 = get_allocsize(); in test02() 130 size_t alloc_size1 = get_allocsize(); in test02() 156 size_t alloc_size0 = get_allocsize(); in test03() 172 size_t alloc_size1 = get_allocsize(); in test03() 193 size_t alloc_size0 = get_allocsize(); in test04() 206 size_t alloc_size in test04() [all...] |