Searched refs:out_len (Results 1 - 2 of 2) sorted by relevance

/forgerock/web-agents-v4/source/
H A Dadmin_iis.c67 size_t out_len = WideCharToMultiByte(CP_UTF8, 0, wstr, -1, NULL, 0, NULL, NULL); local
71 if (out_len > 0) {
72 tmp = (char *) malloc(out_len);
73 WideCharToMultiByte(CP_UTF8, 0, wstr, -1, tmp, (DWORD) out_len, NULL, NULL);
74 tmp[out_len - 1] = 0;
76 *outlen = out_len - 1;
85 size_t out_len = MultiByteToWideChar(CP_UTF8, 0, str, -1, NULL, 0); local
89 if (out_len > 0) {
90 tmp = (wchar_t *) malloc(sizeof (wchar_t) * out_len);
91 MultiByteToWideChar(CP_UTF8, 0, str, -1, tmp, (DWORD) out_len);
[all...]
/forgerock/web-agents-v4/source/iis/
H A Dagent.c64 int ret_len, out_len = wstr != NULL ? local
67 if (out_len > 0) {
68 tmp = r == NULL ? (char *) malloc(out_len + 1) : (char *) alloc_request(r, out_len + 1);
70 memset(tmp, 0, out_len);
71 ret_len = WideCharToMultiByte(CP_UTF8, 0, wstr, -1, tmp, (DWORD) out_len, NULL, NULL);
81 int ret_len, out_len = str != NULL ? MultiByteToWideChar(CP_UTF8, 0, str, -1, NULL, 0) : 0; local
83 if (out_len > 0) {
84 tmp = (wchar_t *) alloc_request(r, sizeof (wchar_t) * out_len + 1);
86 memset(tmp, 0, sizeof (wchar_t) * out_len
[all...]

Completed in 54 milliseconds