Home
last modified time | relevance | path

Searched refs:from_len (Results 1 – 12 of 12) sorted by relevance

/third_party/python/Objects/stringlib/
Dtransmogrify.h395 const char *from_s, Py_ssize_t from_len, in stringlib_replace_delete_substring() argument
408 from_s, from_len, in stringlib_replace_delete_substring()
416 result_len = self_len - (count * from_len); in stringlib_replace_delete_substring()
429 from_s, from_len, in stringlib_replace_delete_substring()
438 start = next + from_len; in stringlib_replace_delete_substring()
494 const char *from_s, Py_ssize_t from_len, in stringlib_replace_substring_in_place() argument
509 from_s, from_len, in stringlib_replace_substring_in_place()
526 memcpy(start, to_s, from_len); in stringlib_replace_substring_in_place()
527 start += from_len; in stringlib_replace_substring_in_place()
532 from_s, from_len, in stringlib_replace_substring_in_place()
[all …]
/third_party/lwip/src/core/distributed_net/
Ddistributed_net_core.c192 socklen_t *from_len) in distributed_net_recvfrom() argument
205 return lwip_recvfrom_internal(sock, buf, buf_len, flags, from, from_len); in distributed_net_recvfrom()
226 if (from != NULL && from_len != NULL) { in distributed_net_recvfrom()
227 if (*from_len > addr_from_len) { in distributed_net_recvfrom()
228 *from_len = addr_from_len; in distributed_net_recvfrom()
230 (void)memcpy_s(from, *from_len, &addr_from, *from_len); in distributed_net_recvfrom()
244 if (from != NULL && from_len != NULL) { in distributed_net_recvfrom()
245 (void)memcpy_s(from, *from_len, &addr_from, MIN(addr_from_len, *from_len)); in distributed_net_recvfrom()
246 if (*from_len >= sizeof(struct sockaddr_in) - SIN_ZERO_LEN) { in distributed_net_recvfrom()
249 if (*from_len > sizeof(struct sockaddr_in)) { in distributed_net_recvfrom()
[all …]
/third_party/lwip/src/apps/smtp/
Dsmtp.c244 u16_t from_len; member
501 if (smtp_verify(s->from, s->from_len, 0) != ERR_OK) { in smtp_send_mail_alloced()
589 size_t from_len = strlen(from); in smtp_send_mail() local
598 mem_len += from_len + to_len + subject_len + body_len + 4; in smtp_send_mail()
612 s->from_len = (u16_t)from_len; in smtp_send_mail()
613 s->to = sto = sfrom + from_len + 1; in smtp_send_mail()
621 MEMCPY(sfrom, from, from_len + 1); in smtp_send_mail()
657 s->from_len = (u16_t)len; in smtp_send_mail_static()
1144 …LWIP_ASSERT("tx_buf overflow detected", s->from_len <= (SMTP_TX_BUF_LEN - SMTP_CMD_MAIL_1_LEN - SM… in smtp_prepare_mail()
1145 *tx_buf_len = (u16_t)(SMTP_CMD_MAIL_1_LEN + SMTP_CMD_MAIL_2_LEN + s->from_len); in smtp_prepare_mail()
[all …]
/third_party/lwip/src/include/lwip/distributed_net/
Ddistributed_net_core.h78 socklen_t *from_len);
/third_party/libwebsockets/lib/roles/http/server/
Drewrite.c22 r->from_len = strlen(from); in lws_rewrite_create()
/third_party/libwebsockets/lib/roles/http/
Dprivate-lib-roles-http.h158 int from_len, to_len; member
/third_party/libuv/src/win/
Dudp.c499 int from_len; in uv__process_udp_recv_req() local
512 from_len = sizeof from; in uv__process_udp_recv_req()
522 &from_len, in uv__process_udp_recv_req()
/third_party/node/deps/uv/src/win/
Dudp.c499 int from_len; in uv__process_udp_recv_req() local
512 from_len = sizeof from; in uv__process_udp_recv_req()
522 &from_len, in uv__process_udp_recv_req()
/third_party/cef/tests/cefclient/browser/
Dtest_runner.cc65 std::string::size_type from_len = from.length(); in StringReplace() local
70 result.replace(pos, from_len, to); in StringReplace()
/third_party/node/deps/cares/src/lib/
Dares_process.c340 ares_socklen_t *from_len) in socket_recvfrom() argument
344 flags, from, from_len, in socket_recvfrom()
348 return recvfrom(s, data, data_len, flags, from, from_len); in socket_recvfrom()
/third_party/curl/lib/vquic/
Dcurl_quiche.c679 recv_info.from_len = remote_addrlen; in recv_pkt()
/third_party/rust/crates/libc/src/
Dpsp.rs4046 from_len: *mut socklen_t, in sceNetInetRecvfrom()