Lines Matching defs:uri
74 const char *uri;
75 /* Parsed result of the |uri| */
77 /* The authority portion of the |uri|, not NULL-terminated */
79 /* The path portion of the |uri|, including query, not
97 static http2_stream_data *create_http2_stream_data(const char *uri,
103 stream_data->uri = uri;
109 memcpy(stream_data->authority, &uri[u->field_data[UF_HOST].off],
129 memcpy(stream_data->path, &uri[u->field_data[UF_PATH].off],
139 &uri[u->field_data[UF_QUERY].off], u->field_data[UF_QUERY].len);
418 const char *uri = stream_data->uri;
422 MAKE_NV(":scheme", &uri[u->field_data[UF_SCHEMA].off],
568 /* Get resource denoted by the |uri|. The debug and error messages are
570 static void run(const char *uri) {
579 /* Parse the |uri| and stores its components in |u| */
580 rv = http_parser_parse_url(uri, strlen(uri), 0, &u);
582 errx(1, "Could not parse URI %s", uri);
584 host = strndup(&uri[u.field_data[UF_HOST].off], u.field_data[UF_HOST].len);
596 session_data->stream_data = create_http2_stream_data(uri, &u);