Searched refs:field_data (Results 1 – 14 of 14) sorted by relevance
/third_party/nghttp2/third-party/url-parser/ |
D | url_parser.c | 449 size_t buflen = u->field_data[UF_HOST].off + u->field_data[UF_HOST].len; in http_parse_host() 453 u->field_data[UF_HOST].len = 0; in http_parse_host() 457 for (p = buf + u->field_data[UF_HOST].off; p < buf + buflen; p++) { in http_parse_host() 467 u->field_data[UF_HOST].off = (uint16_t)(p - buf); in http_parse_host() 469 u->field_data[UF_HOST].len++; in http_parse_host() 474 u->field_data[UF_HOST].off = (uint16_t)(p - buf); in http_parse_host() 476 u->field_data[UF_HOST].len++; in http_parse_host() 481 u->field_data[UF_HOST].len++; in http_parse_host() 486 u->field_data[UF_PORT].off = (uint16_t)(p - buf); in http_parse_host() 487 u->field_data[UF_PORT].len = 0; in http_parse_host() [all …]
|
D | url_parser.h | 81 } field_data[UF_MAX]; member
|
/third_party/nghttp2/examples/ |
D | libevent-client.c | 107 stream_data->authoritylen = u->field_data[UF_HOST].len; in create_http2_stream_data() 109 memcpy(stream_data->authority, &uri[u->field_data[UF_HOST].off], in create_http2_stream_data() 110 u->field_data[UF_HOST].len); in create_http2_stream_data() 113 (size_t)snprintf(stream_data->authority + u->field_data[UF_HOST].len, in create_http2_stream_data() 120 stream_data->pathlen = u->field_data[UF_PATH].len; in create_http2_stream_data() 124 stream_data->pathlen += (size_t)(u->field_data[UF_QUERY].len + 1); in create_http2_stream_data() 129 memcpy(stream_data->path, &uri[u->field_data[UF_PATH].off], in create_http2_stream_data() 130 u->field_data[UF_PATH].len); in create_http2_stream_data() 135 stream_data->path[stream_data->pathlen - u->field_data[UF_QUERY].len - 1] = in create_http2_stream_data() 138 u->field_data[UF_QUERY].len, in create_http2_stream_data() [all …]
|
/third_party/boost/libs/beast/test/bench/parser/nodejs-parser/ |
D | http_parser.c | 2260 size_t buflen = u->field_data[UF_HOST].off + u->field_data[UF_HOST].len; in http_parse_host() 2262 u->field_data[UF_HOST].len = 0; in http_parse_host() 2266 for (p = buf + u->field_data[UF_HOST].off; p < buf + buflen; p++) { in http_parse_host() 2276 u->field_data[UF_HOST].off = p - buf; in http_parse_host() 2278 u->field_data[UF_HOST].len++; in http_parse_host() 2283 u->field_data[UF_HOST].off = p - buf; in http_parse_host() 2285 u->field_data[UF_HOST].len++; in http_parse_host() 2290 u->field_data[UF_HOST].len++; in http_parse_host() 2295 u->field_data[UF_PORT].off = p - buf; in http_parse_host() 2296 u->field_data[UF_PORT].len = 0; in http_parse_host() [all …]
|
D | http_parser.h | 296 } field_data[UF_MAX]; member
|
/third_party/nghttp2/src/ |
D | http2.cc | 277 dest.assign(url + u->field_data[field].off, u->field_data[field].len); in copy_url_component() 640 auto field = &u.field_data[UF_HOST]; in rewrite_location_uri() 653 field = &u.field_data[UF_PATH]; in rewrite_location_uri() 658 field = &u.field_data[UF_QUERY]; in rewrite_location_uri() 663 field = &u.field_data[UF_FRAGMENT]; in rewrite_location_uri() 677 field = &u.field_data[UF_PATH]; in rewrite_location_uri() 681 field = &u.field_data[UF_QUERY]; in rewrite_location_uri() 686 field = &u.field_data[UF_FRAGMENT]; in rewrite_location_uri() 1599 auto &f = u.field_data[UF_PATH]; in get_pure_path_component() 1658 auto &f = u.field_data[UF_PATH]; in construct_push_component() [all …]
|
D | util.cc | 608 if (u1.field_data[field].len != u2.field_data[field].len) { in fieldeq() 611 return memcmp(uri1 + u1.field_data[field].off, in fieldeq() 612 uri2 + u2.field_data[field].off, u1.field_data[field].len) == 0; in fieldeq() 625 auto &f = u.field_data[field]; in fieldeq() 635 return StringRef{uri + u.field_data[field].off, u.field_data[field].len}; in get_uri_field() 661 o.write(uri + u.field_data[field].off, u.field_data[field].len); in write_uri_field()
|
D | nghttp.cc | 253 path.append(uri.c_str() + u.field_data[UF_QUERY].off, in make_reqpath() 254 u.field_data[UF_QUERY].len); in make_reqpath() 327 return memchr(uri.c_str() + u.field_data[UF_HOST].off, ':', in is_ipv6_literal_addr() 328 u.field_data[UF_HOST].len); in is_ipv6_literal_addr()
|
D | shrpx_https_upstream.cc | 304 auto &fdata = u.field_data[UF_QUERY]; in rewrite_request_host_path_from_uri()
|
/third_party/python/Modules/ |
D | _csv.c | 1069 join_append_data(WriterObj *self, unsigned int field_kind, const void *field_data, in join_append_data() argument 1104 for (i = 0; field_data && (i < field_len); i++) { in join_append_data() 1105 Py_UCS4 c = PyUnicode_READ(field_kind, field_data, i); in join_append_data() 1183 const void *field_data = NULL; in join_append() local 1191 field_data = PyUnicode_DATA(field); in join_append() 1194 rec_len = join_append_data(self, field_kind, field_data, field_len, in join_append() 1203 self->rec_len = join_append_data(self, field_kind, field_data, field_len, in join_append()
|
/third_party/grpc/third_party/upb/upb/ |
D | decode.int.h | 128 data = table_p->fasttable[idx].field_data ^ tag; in fastdecode_tagdispatch()
|
D | msg.h | 59 uint64_t field_data; member
|
D | def.c | 1052 l->fasttable[0].field_data = 0; in make_layout()
|
/third_party/nghttp2/doc/sources/ |
D | tutorial-client.rst | 277 MAKE_NV(":scheme", &uri[u->field_data[UF_SCHEMA].off], 278 u->field_data[UF_SCHEMA].len),
|