Lines Matching refs:xstrndup
19 xstrndup(char *string, size_t length) in xstrndup() function
60 u->scheme = xstrndup(string, ptr - string); in uri_from_string()
74 u->host_part = xstrndup(string, end - string); in uri_from_string()
79 u->user_part = xstrndup(string, host-string); in uri_from_string()
81 u->host_part = xstrndup(host + 1, in uri_from_string()
93 u->password = xstrndup(password + 1, in uri_from_string()
97 u->user = xstrndup(user, password - user); in uri_from_string()
109 u->port = xstrndup(port + 1, path - port - 1); in uri_from_string()
112 u->host = xstrndup(host, port - host); in uri_from_string()
132 u->fragment = xstrndup(fragment + 1, in uri_from_string()
137 u->path = xstrndup(path, end - path); in uri_from_string()