Home
last modified time | relevance | path

Searched refs:len_path (Results 1 – 3 of 3) sorted by relevance

/reactos/dll/win32/winhttp/
H A Durl.c140 DWORD len_base, len_path; in escape_url() local
145 if (!escape_string( p, *len - len_base, NULL, &len_path )) return ERROR_INVALID_PARAMETER; in escape_url()
150 len_path = 0; in escape_url()
153 if (!(*ret = heap_alloc( (len_base + len_path + 1) * sizeof(WCHAR) ))) return ERROR_OUTOFMEMORY; in escape_url()
156 if (p) escape_string( p, *len - (p - url), *ret + len_base, &len_path ); in escape_url()
157 (*ret)[len_base + len_path] = 0; in escape_url()
159 *len = len_base + len_path; in escape_url()
H A Drequest.c2163 DWORD len, len_path = 0, len_query = 0; in build_wire_path() local
2173 len_path = strlenW( path ); in build_wire_path()
2177 len_path -= len_query; in build_wire_path()
2188 *ret_len = str_to_wire( full_path, len - len_path - len_query, NULL, 0 ); in build_wire_path()
2189 if (path) *ret_len += str_to_wire( path, len_path, NULL, path_flags ); in build_wire_path()
2194 len = str_to_wire( full_path, len - len_path - len_query, ret, 0 ); in build_wire_path()
2206 DWORD i, len_path; in build_wire_request() local
2208 if (!(path = build_wire_path( request, &len_path ))) return NULL; in build_wire_request()
2211 *len += len_path + 1; /* ' ' */ in build_wire_request()
2228 memcpy( ptr, path, len_path ); in build_wire_request()
[all …]
/reactos/dll/win32/wbemprox/
H A Dbuiltin.c2319 UINT len_path = 0, len_segment = lstrlenW( segment ); in append_path() local
2323 if (path) len_path = lstrlenW( path ); in append_path()
2324 if (!(ret = heap_alloc( (len_path + len_segment + 2) * sizeof(WCHAR) ))) return NULL; in append_path()
2325 if (path && len_path) in append_path()
2327 memcpy( ret, path, len_path * sizeof(WCHAR) ); in append_path()
2328 ret[len_path] = '\\'; in append_path()
2329 *len += len_path + 1; in append_path()