/third_party/elfutils/tests/ |
H A D | emptyfile.c | 37 static size_t stridx = 0; 40 static size_t 43 size_t lastidx = stridx; in add_string() 44 size_t size = strlen (str) + 1; in add_string() 241 size_t shstrndx; in check_elf()
|
/third_party/ffmpeg/libavutil/ |
H A D | md5.c | 101 static void body(uint32_t ABCD[4], const uint8_t *src, size_t nblocks) in body() 106 for (size_t n = 0; n < nblocks; n++) { in body() 151 void av_md5_update(AVMD5 *ctx, const uint8_t *src, size_t len) in av_md5_update() 177 size_t nblocks = len / 64; in av_md5_update() 201 void av_md5_sum(uint8_t *dst, const uint8_t *src, size_t len) in av_md5_sum()
|
/third_party/gn/src/base/files/ |
H A D | file_util.cc | 66 (memcmp(buffer1, buffer2, static_cast<size_t>(file1.gcount())))) { in ContentsEqual() 119 size_t max_size) { in ReadFileToStringWithMaxSize() 139 size_t bytes_read_this_pass; in ReadFileToStringWithMaxSize() 140 size_t bytes_read_so_far = 0; in ReadFileToStringWithMaxSize() 177 std::numeric_limits<size_t>::max()); in ReadFileToString()
|
/third_party/gn/src/gn/ |
H A D | label.cc | 70 size_t next_to_last_slash = loc.rfind('/', loc.size() - 2); in ComputeTargetNameFromDep() 103 size_t offset = 0; in Resolve() 106 size_t drive_letter_pos = input[0] == '/' ? 1 : 0; in Resolve() 116 size_t path_separator = input.find_first_of(":(", offset); in Resolve() 126 size_t toolchain_separator = input.find('(', path_separator); in Resolve()
|
/third_party/glslang/glslang/Include/ |
H A D | glslang_c_interface.h | 178 size_t header_length; 184 size_t include_depth); 188 const char* includer_name, size_t include_depth); 272 GLSLANG_EXPORT void glslang_program_add_source_text(glslang_program_t* program, glslang_stage_t stage, const char* text, size_t len); 277 GLSLANG_EXPORT size_t glslang_program_SPIRV_get_size(glslang_program_t* program);
|
/third_party/backends/backend/escl/ |
H A D | escl_status.c | 38 size_t size; 42 * \fn static size_t memory_callback_s(void *contents, size_t size, size_t nmemb, void *userp) 47 static size_t 48 memory_callback_s(void *contents, size_t size, size_t nmemb, void *userp) in memory_callback_s() 50 size_t realsize = size * nmemb; in memory_callback_s()
|
/third_party/NuttX/drivers/usbdev/gadget/ |
H A D | usbd_hid.c | 49 static ssize_t hid_read(FAR struct file *filep, FAR char *buffer, size_t buflen); 50 static ssize_t hid_write(FAR struct file *filep, FAR const char *buffer, size_t buflen); 130 struct hid_queue_node *hid_queue_node_alloc(size_t len) in hid_queue_node_alloc() 234 static ssize_t hid_read(FAR struct file *filep, FAR char *buffer, size_t buflen) in hid_read() 272 static ssize_t hid_write(FAR struct file *filep, FAR const char *buffer, size_t buflen) in hid_write()
|
/third_party/libwebsockets/lib/plat/freertos/ |
H A D | freertos-sockets.c | 203 size_t addrlen) in lws_interface_to_sa() 295 lws_plat_rawudp_broadcast(uint8_t *p, const uint8_t *canned, size_t canned_len, in lws_plat_rawudp_broadcast() 296 size_t n, int fd, const char *iface) in lws_plat_rawudp_broadcast() 335 lws_plat_mbedtls_net_send(void *ctx, const uint8_t *buf, size_t len) in lws_plat_mbedtls_net_send() 360 lws_plat_mbedtls_net_recv(void *ctx, unsigned char *buf, size_t len) in lws_plat_mbedtls_net_recv()
|
/third_party/libuv/src/unix/ |
H A D | async.c | 131 errno, (size_t)loop, w->fd, __FILE__, __func__, __LINE__); in uv__async_io() 196 errno, (size_t)loop, fd, __FILE__, __func__, __LINE__); in uv__async_send() 229 UV_LOGI("open:%{public}zu, pipefd[0]:%{public}d", (size_t)loop, pipefd[0]); in uv__async_start() 250 UV_LOGI("close:%{public}zu, async_wfd:%{public}d", (size_t)loop, loop->async_wfd); in uv__async_stop() 268 UV_LOGI("close:%{public}zu, async_io_wfd:%{public}d", (size_t)loop, loop->async_io_watcher.fd); in uv__async_stop()
|
/third_party/mesa3d/include/android_stub/log/ |
H A D | log_event_list.h | 75 size_t maxlen); 85 android_log_context create_android_log_parser(const char* msg, size_t len); 95 const char* msg, size_t len); 235 bool AppendString(const char* value, size_t len) { in AppendString() 267 bool Append(const char* value, size_t len) { in Append()
|
/third_party/libcoap/src/ |
H A D | coap_cache.c | 23 is_cache_key(uint16_t option_type, size_t cache_ignore_count, in is_cache_key() 25 size_t i; in is_cache_key() 50 size_t count) { in coap_cache_ignore_options() 76 size_t cache_ignore_count) { in coap_cache_derive_key_w_ignore() 114 size_t len; in coap_cache_derive_key_w_ignore()
|
/third_party/libcoap/tests/ |
H A D | test_wellknown.c | 37 size_t buflen, offset, ofs; in t_wellknown1() 86 size_t buflen, offset, ofs; in t_wellknown2() 142 size_t buflen = sizeof(buf); in t_wellknown3() 143 size_t offset; in t_wellknown3() 171 size_t buflen = sizeof(buf); in t_wellknown4()
|
/third_party/mbedtls/include/psa/ |
H A D | crypto_struct.h | 174 size_t MBEDTLS_PRIVATE(ad_remaining); 175 size_t MBEDTLS_PRIVATE(body_remaining); 208 size_t MBEDTLS_PRIVATE(capacity); 257 * Public interfaces use size_t, but internally we use a smaller type. */ 406 size_t bits) in psa_set_key_bits() 415 static inline size_t psa_get_key_bits( in psa_get_key_bits()
|
/third_party/lame/misc/ |
H A D | mlame_corr.c | 26 void analyze_stereo ( const stereo* p, size_t len, korr_t* k ) in analyze_stereo() 47 void analyze_dstereo ( const stereo* p, size_t len, korr_t* k ) in analyze_dstereo() 73 void analyze_mono ( const mono* p, size_t len, korr_t* k ) in analyze_mono() 91 void analyze_dmono ( const mono* p, size_t len, korr_t* k ) in analyze_dmono() 173 size_t samples; in readfile()
|
/third_party/jerryscript/jerry-ext/debugger/ |
H A D | debugger-tcp.c | 150 size_t message_length) /**< message length in bytes */ in jerryx_debugger_tcp_send() 190 message_length -= (size_t) sent_bytes; in jerryx_debugger_tcp_send() 207 size_t buffer_size = JERRY_DEBUGGER_TRANSPORT_MAX_BUFFER_SIZE - receive_context_p->received_length; in jerryx_debugger_tcp_receive() 227 receive_context_p->received_length += (size_t) length; in jerryx_debugger_tcp_receive() 358 size_t size = sizeof (jerryx_debugger_transport_tcp_t); in jerryx_debugger_tcp_create()
|
H A D | debugger-serial.c | 258 size_t message_length) /**< message length in bytes */ in jerryx_debugger_serial_send() 281 message_length -= (size_t) sent_bytes; in jerryx_debugger_serial_send() 298 size_t buffer_size = JERRY_DEBUGGER_TRANSPORT_MAX_BUFFER_SIZE - receive_context_p->received_length; in jerryx_debugger_serial_receive() 312 receive_context_p->received_length += (size_t) length; in jerryx_debugger_serial_receive() 370 size_t size = sizeof (jerryx_debugger_transport_serial_t); in jerryx_debugger_serial_create()
|
/third_party/jerryscript/jerry-ext/module/ |
H A D | module.c | 236 size_t resolver_count, /**< number of resolvers in @p resolvers */ in jerryx_module_resolve_local() 239 size_t index; in jerryx_module_resolve_local() 240 size_t canonical_names_used = 0; in jerryx_module_resolve_local() 341 size_t resolver_count) /**< number of resolvers in @p resolvers */ in jerryx_module_resolve() 352 size_t resolver_count) /**< number of resolvers in @p resolvers */ in jerryx_module_clear_cache()
|
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-certinfo/ |
H A D | minimal-http-client-certinfo.c | 24 void *user, void *in, size_t len) in callback_http() 85 lwsl_hexdump_notice(ci->ns.name, (size_t)ci->ns.len); in callback_http() 90 lwsl_hexdump_notice(ci->ns.name, (size_t)ci->ns.len); in callback_http() 95 lwsl_hexdump_notice(ci->ns.name, (size_t)ci->ns.len); in callback_http() 100 lwsl_hexdump_notice(ci->ns.name, (size_t)ci->ns.len); in callback_http()
|
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-hugeurl/ |
H A D | minimal-secure-streams.c | 20 static size_t hugeurl_size = 4000; 148 size_t comp; 168 size_t l = ctx->npos; in lws_httpbin_json_cb() 202 myss_rx(void *userobj, const uint8_t *buf, size_t len, int flags) in myss_rx() 403 hugeurl_size = (size_t)atol(p); in main()
|
/third_party/libwebsockets/lib/roles/http/ |
H A D | private-lib-roles-http.h | 223 size_t pending_return_headers_len; 224 size_t prh_content_length; 336 lws_http_string_to_known_header(const char *s, size_t slen); 339 lws_http_date_render_from_unix(char *buf, size_t len, const time_t *t); 342 lws_http_date_parse_unix(const char *b, size_t len, time_t *t);
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_dsh/ |
H A D | main.c | 16 size_t size; in test1() 170 size_t size; in test4() 258 size_t size; in test5() 285 size = (size_t)((lws_xos(&xos) & 127) + 1); in test5() 294 size = (size_t)((lws_xos(&xos) & 127) + 1); in test5()
|
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-post/ |
H A D | minimal-secure-streams-post.c | 269 size_t pos; 270 size_t len; 294 myss_rx(void *userobj, const uint8_t *buf, size_t len, int flags) in myss_rx() 314 myss_tx(void *userobj, lws_ss_tx_ordinal_t ord, uint8_t *buf, size_t *len, in myss_tx() 402 size_t size; in app_system_state_nf()
|
/third_party/node/test/js-native-api/test_array/ |
H A D | test_array.c | 7 size_t argc = 2; in TestGetElement() 50 size_t argc = 2; in TestHasElement() 89 size_t argc = 2; in TestDeleteElement() 124 size_t argc = 1; in New() 152 size_t argc = 1; in NewWithLength()
|
/third_party/node/src/ |
H A D | node_wasi.h | 82 void CheckAllocatedSize(size_t previous_size) const; 83 void IncreaseAllocatedSize(size_t size); 84 void DecreaseAllocatedSize(size_t size); 96 uvwasi_errno_t backingStore(char** store, size_t* byte_length); 100 size_t current_uvwasi_memory_ = 0;
|
/third_party/node/src/quic/ |
H A D | bindingdata.h | 28 constexpr size_t kDefaultMaxPacketLength = NGTCP2_MAX_UDP_PAYLOAD_SIZE; 126 void CheckAllocatedSize(size_t previous_size) const; 127 void IncreaseAllocatedSize(size_t size); 128 void DecreaseAllocatedSize(size_t size); 168 size_t current_ngtcp2_memory_ = 0;
|