Home
last modified time | relevance | path

Searched refs:from_len (Results 1 – 13 of 13) 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.c183 socklen_t *from_len) in distributed_net_recvfrom() argument
196 return lwip_recvfrom_internal(sock, buf, buf_len, flags, from, from_len); in distributed_net_recvfrom()
217 if (from != NULL && from_len != NULL) { in distributed_net_recvfrom()
218 if (*from_len > addr_from_len) { in distributed_net_recvfrom()
219 *from_len = addr_from_len; in distributed_net_recvfrom()
221 (void)memcpy_s(from, *from_len, &addr_from, *from_len); in distributed_net_recvfrom()
235 if (from != NULL && from_len != NULL) { in distributed_net_recvfrom()
236 (void)memcpy_s(from, *from_len, &addr_from, MIN(addr_from_len, *from_len)); in distributed_net_recvfrom()
237 if (*from_len >= sizeof(struct sockaddr_in) - SIN_ZERO_LEN) { in distributed_net_recvfrom()
240 if (*from_len > sizeof(struct sockaddr_in)) { in distributed_net_recvfrom()
[all …]
/third_party/boost/boost/log/expressions/formatters/
Dchar_decorator.hpp94 unsigned int from_len, to_len; member
127 lens.from_len = static_cast< unsigned int >(std::distance(b, e)); in pattern_replacer()
157 lens.from_len = static_cast< unsigned int >(std::distance(b, e)); in pattern_replacer()
186 const unsigned int from_len = it->from_len, to_len = it->to_len; in operator ()() local
187 const char_type* const to_chars = from_chars + from_len; in operator ()()
188 …pos = str.find(from_chars, start_pos, from_len); pos != string_type::npos; pos = str.find(from_cha… in operator ()()
190 str.replace(pos, from_len, to_chars, to_len); in operator ()()
/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.h73 socklen_t *from_len);
/third_party/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_ev_driver_windows.cc268 struct sockaddr* from, ares_socklen_t* from_len) { in RecvFrom() argument
290 GPR_ASSERT(*from_len <= recv_from_source_addr_len_); in RecvFrom()
292 *from_len = recv_from_source_addr_len_; in RecvFrom()
789 ares_socklen_t* from_len, void* user_data) { in RecvFrom() argument
794 from_len); in RecvFrom()
/third_party/curl/lib/vquic/
Dquiche.c364 socklen_t from_len; in process_ingress() local
373 from_len = sizeof(from); in process_ingress()
376 (struct sockaddr *)&from, &from_len); in process_ingress()
388 recv_info.from_len = from_len; in process_ingress()
/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/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.c327 ares_socklen_t *from_len) in socket_recvfrom() argument
331 flags, from, from_len, in socket_recvfrom()
335 return recvfrom(s, data, data_len, flags, from, from_len); in socket_recvfrom()
/third_party/boost/tools/build/src/engine/
Dbuiltins.cpp1583 const auto from_len = from.length(); in replace_all() local
1588 str.replace(pos, from_len, to); in replace_all()