Lines Matching refs:target
1876 magnet_env_get_uri_path_raw (buffer * const dest, const buffer * const target) in magnet_env_get_uri_path_raw() argument
1878 const uint32_t len = buffer_clen(target); in magnet_env_get_uri_path_raw()
1879 const char * const qmark = memchr(target->ptr, '?', len); in magnet_env_get_uri_path_raw()
1880 buffer_copy_string_len(dest, target->ptr, in magnet_env_get_uri_path_raw()
1881 qmark ? (uint32_t)(qmark - target->ptr) : len); in magnet_env_get_uri_path_raw()
1891 const uint32_t len = buffer_clen(&r->target); in magnet_env_set_uri_path_raw()
1892 const char * const qmark = memchr(r->target.ptr, '?', len); in magnet_env_set_uri_path_raw()
1895 len - (uint32_t)(qmark - r->target.ptr)); in magnet_env_set_uri_path_raw()
1896 buffer_copy_string_len(&r->target, val->ptr, val->len); in magnet_env_set_uri_path_raw()
1898 buffer_append_string_buffer(&r->target, r->tmp_buf); in magnet_env_set_uri_path_raw()
1957 magnet_env_get_uri_path_raw(dest, &r->target); in magnet_env_get_buffer_by_id()
1966 case MAGNET_ENV_REQUEST_URI: dest = &r->target; break; in magnet_env_get_buffer_by_id()