Lines Matching refs:wstring
65 bool HTTPUpload::SendRequest(const wstring &url, in SendRequest()
66 const map<wstring, wstring> ¶meters, in SendRequest() argument
67 const wstring &upload_file, in SendRequest()
68 const wstring &file_part_name, in SendRequest()
70 wstring *response_body, in SendRequest()
138 wstring boundary = GenerateMultipartBoundary(); in SendRequest()
139 wstring content_type_header = GenerateRequestHeader(boundary); in SendRequest()
197 bool HTTPUpload::ReadResponse(HINTERNET request, wstring *response) { in ReadResponse()
244 wstring HTTPUpload::GenerateMultipartBoundary() { in GenerateMultipartBoundary()
259 return wstring(temp); in GenerateMultipartBoundary()
263 wstring HTTPUpload::GenerateRequestHeader(const wstring &boundary) { in GenerateRequestHeader()
264 wstring header = L"Content-Type: multipart/form-data; boundary="; in GenerateRequestHeader()
270 bool HTTPUpload::GenerateRequestBody(const map<wstring, wstring> ¶meters, in GenerateRequestBody() argument
271 const wstring &upload_file, in GenerateRequestBody()
272 const wstring &file_part_name, in GenerateRequestBody()
273 const wstring &boundary, in GenerateRequestBody()
288 for (map<wstring, wstring>::const_iterator pos = parameters.begin(); in GenerateRequestBody()
323 bool HTTPUpload::GetFileContents(const wstring &filename, in GetFileContents()
359 wstring HTTPUpload::UTF8ToWide(const string &utf8) { in UTF8ToWide()
361 return wstring(); in UTF8ToWide()
368 return wstring(); in UTF8ToWide()
374 wstring result(buf); in UTF8ToWide()
380 string HTTPUpload::WideToMBCP(const wstring &wide, unsigned int cp) { in WideToMBCP()
403 bool HTTPUpload::CheckParameters(const map<wstring, wstring> ¶meters) { in CheckParameters() argument
404 for (map<wstring, wstring>::const_iterator pos = parameters.begin(); in CheckParameters()
406 const wstring &str = pos->first; in CheckParameters()