Lines Matching refs:strndup
63 u->scheme = strndup(string, ptr - string);
78 u->host_part = strndup(string, end - string);
83 u->user_part = strndup(string, host-string);
85 u->host_part = strndup(host + 1,
97 u->password = strndup(password + 1,
101 u->user = strndup(user, password - user);
113 u->port = strndup(port + 1, path - port - 1);
116 u->host = strndup(host, port - host);
138 u->fragment = strndup(fragment + 1,
143 u->path = strndup(path, end - path);