/third_party/elfutils/tests/ |
H A D | newdata.c | 36 static size_t DATA_LEN = 16; 39 add_section_data (Elf *elf, char *buf, size_t len) in add_section_data() 171 check_section_size (Elf *elf, size_t size) in check_section_size() 199 check_section_data (Elf *elf, char *data, size_t len, size_t times) in check_section_data() 209 for (size_t i = 0; i < times; i++) in check_section_data()
|
H A D | elfcopy.c | 40 setshstrndx (Elf *elf, size_t ndx) in setshstrndx() 141 size_t shstrndx; in copy_elf() 154 size_t phnum; in copy_elf() 169 for (size_t cnt = 0; cnt < phnum; ++cnt) in copy_elf() 188 size_t shnum; in copy_elf() 207 size_t last_off = 0; in copy_elf()
|
H A D | fillfile.c | 37 static size_t stridx = 0; 40 static size_t 43 size_t lastidx = stridx; in add_strtab_entry() 44 size_t size = strlen (str) + 1; in add_strtab_entry() 191 for (size_t i = 0; i < data->d_size; i++) in check_data() 288 size_t shdrstrndx; in check_elf()
|
/third_party/elfutils/libelf/ |
H A D | elf32_getshdr.c | 60 size_t shnum; in ElfW2() 64 size_t size = shnum * sizeof (ElfW2(LIBELFBITS,Shdr)); in ElfW2() 136 for (size_t cnt = 0; cnt < shnum; ++cnt) in ElfW2() 175 if (unlikely ((size_t) n != size)) in ElfW2() 185 for (size_t cnt = 0; cnt < shnum; ++cnt) in ElfW2() 214 for (size_t cnt = 0; cnt < shnum; ++cnt) in ElfW2()
|
/third_party/curl/tests/libtest/ |
H A D | lib537.c | 102 static void rlim2str(char *buf, size_t len, rlim_t val) in rlim2str() 227 memchunk = malloc(sizeof(*memchunk) * (size_t)nitems); 265 /* verify that we won't overflow size_t in malloc() */ 267 if((size_t)(num_open.rlim_max) > ((size_t)-1) / sizeof(*fd)) { 270 "file descriptors, would overflow size_t", strbuff1); 283 fd = malloc(sizeof(*fd) * (size_t)(num_open.rlim_max)); 362 tmpfd = realloc(fd, sizeof(*fd) * (size_t)(num_open.rlim_max));
|
H A D | mk-lib1521.pl | 92 static size_t writecb(char *buffer, size_t size, size_t nitems, 102 static size_t readcb(char *buffer, 103 size_t size, 104 size_t nitems,
|
/third_party/ffmpeg/libavfilter/ |
H A D | opencl.c | 178 size_t log_length; in ff_opencl_filter_load_program() 209 size_t pos, len, rb; in ff_opencl_filter_load_program_from_file() 264 size_t *work_size, in ff_opencl_filter_work_size_from_image() 270 size_t width, height; in ff_opencl_filter_work_size_from_image() 299 cle = clGetImageInfo(image, CL_IMAGE_WIDTH, sizeof(size_t), in ff_opencl_filter_work_size_from_image() 307 cle = clGetImageInfo(image, CL_IMAGE_HEIGHT, sizeof(size_t), in ff_opencl_filter_work_size_from_image()
|
/third_party/backends/backend/ |
H A D | ibm-scsi.c | 155 inquiry (int fd, void *buf, size_t * buf_size) in inquiry() 203 static size_t select_size = sizeof(select_data); 224 static size_t wl_size = 1; in trigger_scan() 269 static size_t iwd_size; in get_window() 288 read_data (int fd, void *buf, size_t * buf_size) in read_data() 334 size_t ssd_size = sizeof(ssd); in get_data_status()
|
H A D | kvs1025_usb.c | 205 size_t len; in kv_usb_escape() 234 size_t size = header->data_size + 12; in kv_usb_escape() 235 size_t size_read = size; in kv_usb_escape() 265 size_t size = header->data_size + 12; in kv_usb_escape() 266 size_t size_written = size; in kv_usb_escape() 303 size_t len = 16; in kv_usb_escape()
|
H A D | ricoh-scsi.c | 141 inquiry (int fd, void *buf, size_t * buf_size) in inquiry() 187 static size_t select_size = sizeof(select_data); 208 static size_t wl_size = 1; in trigger_scan() 251 static size_t rwd_size; in get_window() 270 read_data (int fd, void *buf, size_t * buf_size) in read_data() 305 size_t ssd_size = sizeof(ssd); in get_data_status()
|
H A D | sceptre.h | 313 size_t buffer_size; /* allocated size of buffer */ 337 size_t bytes_left; /* number of bytes left to give to the backend */ 339 size_t real_bytes_left; /* number of bytes left the scanner will return. */ 342 size_t image_size; /* allocated size of image */ 343 size_t image_begin; /* first significant byte in image */ 344 size_t image_end; /* first free byte in image */
|
/third_party/curl/lib/ |
H A D | parsedate.c | 211 static int checkday(const char *check, size_t len) in checkday() 222 size_t ilen = strlen(what[0]); in checkday() 231 static int checkmonth(const char *check, size_t len) in checkmonth() 249 static int checktz(const char *check, size_t len) in checktz() 257 size_t ilen = strlen(what->name); in checktz() 379 size_t len = 0; in parsedate()
|
H A D | pingpong.c | 168 size_t write_len; in Curl_pp_vsendf() 211 Curl_debug(data, CURLINFO_HEADER_OUT, s, (size_t)bytes_written); in Curl_pp_vsendf() 256 size_t buflen, in pingpong_read() 281 size_t *size) /* size of the response */ in Curl_pp_readresp() 292 size_t full = Curl_dyn_len(&pp->recvbuf); in Curl_pp_readresp() 330 size_t length = nl - line + 1; in Curl_pp_readresp()
|
/third_party/googletest/googlemock/include/gmock/internal/ |
H A D | gmock-internal-utils.h | 359 template <typename Element, size_t N> 425 template <typename F, typename Tuple, size_t... Idx> 462 static constexpr size_t ArgumentCount = sizeof...(Args); 463 template <size_t I> 472 constexpr size_t Function<R(Args...)>::ArgumentCount; 478 template <size_t I, typename T>
|
/third_party/mbedtls/library/ |
H A D | ssl_cookie.c | 101 int (*f_rng)(void *, unsigned char *, size_t), in mbedtls_ssl_cookie_setup() 162 const unsigned char *cli_id, size_t cli_id_len) in ssl_cookie_hmac() 187 const unsigned char *cli_id, size_t cli_id_len) in mbedtls_ssl_cookie_write() 192 size_t sign_mac_length = 0; in mbedtls_ssl_cookie_write() 275 const unsigned char *cookie, size_t cookie_len, in mbedtls_ssl_cookie_check() 276 const unsigned char *cli_id, size_t cli_id_len) in mbedtls_ssl_cookie_check()
|
H A D | ssl_cache.c | 39 size_t session_id_len, in ssl_cache_find_entry() 76 size_t session_id_len, in mbedtls_ssl_cache_get() 132 size_t session_id_len, in ssl_cache_pick_writing_slot() 248 size_t session_id_len, in mbedtls_ssl_cache_set() 255 size_t session_serialized_len = 0; in mbedtls_ssl_cache_set() 323 size_t session_id_len) in mbedtls_ssl_cache_remove()
|
/third_party/libbpf/src/ |
H A D | libbpf_probes.c | 104 const struct bpf_insn *insns, size_t insns_cnt, in probe_prog_load() 105 char *log_buf, size_t log_buf_sz) in probe_prog_load() 211 const size_t insn_cnt = ARRAY_SIZE(insns); in libbpf_probe_bpf_prog_type() 221 int libbpf__load_raw_btf(const char *raw_types, size_t types_len, in libbpf__load_raw_btf() 222 const char *str_sec, size_t str_len) in libbpf__load_raw_btf() 410 const size_t insn_cnt = ARRAY_SIZE(insns); in libbpf_probe_bpf_helper()
|
/third_party/mbedtls/tests/src/ |
H A D | helpers.c | 553 size_t obufmax, in mbedtls_test_unhexify() 555 size_t *len) in mbedtls_test_unhexify() 613 unsigned char *mbedtls_test_zero_alloc(size_t len) in mbedtls_test_zero_alloc() 616 size_t actual_len = (len != 0) ? len : 1; in mbedtls_test_zero_alloc() 626 unsigned char *mbedtls_test_unhexify_alloc(const char *ibuf, size_t *olen) in mbedtls_test_unhexify_alloc() 629 size_t len; in mbedtls_test_unhexify_alloc()
|
/third_party/json/tests/src/ |
H A D | unit-unicode1.cpp | 26 const auto codepoint_to_unicode = [](std::size_t cp) 42 for (std::size_t cp = 0; cp <= 0x10FFFFu; ++cp) 112 for (std::size_t cp = 0xD800u; cp <= 0xDBFFu; ++cp) 124 for (std::size_t cp1 = 0xD800u; cp1 <= 0xDBFFu; ++cp1) 126 for (std::size_t cp2 = 0x0000u; cp2 <= 0xFFFFu; ++cp2) 144 for (std::size_t cp = 0xDC00u; cp <= 0xDFFFu; ++cp)
|
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-smd/ |
H A D | multi.c | 56 multi_myss_rx(void *userobj, const uint8_t *buf, size_t len, int flags) in multi_myss_rx() 61 size_t al; in multi_myss_rx() 140 multi_myss_tx(void *userobj, lws_ss_tx_ordinal_t ord, uint8_t *buf, size_t *len, in multi_myss_tx() 237 multi_myss_rx_monitor(void *userobj, const uint8_t *buf, size_t len, int flags) in multi_myss_rx_monitor() 241 size_t al; in multi_myss_rx_monitor() 288 void *buf, size_t len) in direct_smd_cb()
|
/third_party/node/deps/v8/third_party/zlib/google/ |
H A D | zip_writer.cc | 195 const size_t n = std::min<size_t>(paths.size(), 50); in AddMixedEntries() 203 for (size_t i = 0; i < n; i++) { in AddMixedEntries() 235 const size_t n = std::min<size_t>(paths.size(), 50); in AddFileEntries() 245 for (size_t i = 0; i < n; i++) { in AddFileEntries()
|
/third_party/node/test/js-native-api/test_reference/ |
H A D | test_reference.c | 41 size_t argc = 1; in CreateSymbol() 55 size_t argc = 1; in CreateSymbolFor() 59 size_t description_length; in CreateSymbolFor() 108 size_t argc = 1; in CheckExternal() 132 size_t argc = 2; in CreateReference() 203 size_t argc = 1; in ValidateDeleteBeforeFinalize()
|
/third_party/node/deps/v8/tools/debug_helper/ |
H A D | debug-helper-internal.h | 55 std::string decompressed_type, size_t offset, uint8_t num_bits, in StructProperty() 72 size_t offset_; 84 size_t num_values, size_t size, in ObjectProperty() 112 size_t num_values_; 113 size_t size_;
|
/third_party/node/deps/zlib/google/ |
H A D | zip_writer.cc | 195 const size_t n = std::min<size_t>(paths.size(), 50); in AddMixedEntries() 203 for (size_t i = 0; i < n; i++) { in AddMixedEntries() 235 const size_t n = std::min<size_t>(paths.size(), 50); in AddFileEntries() 245 for (size_t i = 0; i < n; i++) { in AddFileEntries()
|
/third_party/musl/src/fdsan/linux/ |
H A D | fdsan.c | 60 static struct FdEntry* get_fd_entry(size_t idx) in get_fd_entry() 80 size_t required_count = max - FdTableSize; in get_fd_entry() 81 size_t required_size = sizeof(struct FdTableOverflow) + required_count * sizeof(struct FdEntry); in get_fd_entry() 82 size_t aligned_size = ALIGN(required_size, PAGE_SIZE); in get_fd_entry() 83 size_t aligned_count = (aligned_size - sizeof(struct FdTableOverflow)) / sizeof(struct FdEntry); in get_fd_entry() 101 size_t offset = idx - FdTableSize; in get_fd_entry()
|