Lines Matching refs:L

45     *buffer++ = L'"';  in encode()
49 if (c == L'\0') { in encode()
51 } else if (c == L'"') { in encode()
54 *buffer++ = L'\\'; in encode()
56 *buffer++ = L'\\'; in encode()
57 *buffer++ = L'"'; in encode()
59 } else if (c == L'\\') { in encode()
60 *buffer++ = L'\\'; in encode()
70 *buffer++ = L'\\'; in encode()
72 *buffer++ = L'"'; in encode()
87 *pathEnd = L'\0';
88 n = GetEnvironmentVariableW(L"UNO_PATH", NULL, 0);
91 !SetEnvironmentVariableW(L"UNO_PATH", path))
97 wchar_t bootstrap[MY_LENGTH(L"vnd.sun.star.pathname:") + MAX_PATH] =
98 L"vnd.sun.star.pathname:"; //TODO: overflow
100 bootstrap + MY_LENGTH(L"vnd.sun.star.pathname:"), path, pathEnd,
101 MY_STRING(L"fundamental.ini"));
110 MY_STRING(L"python-core-" MY_PYVERSION L"\\lib"));
119 L"python-core-" MY_PYVERSION L"\\lib\\site-packages"));
128 MY_STRING(L"python-core-" MY_PYVERSION L"\\lib\\lib-dynload"));
135 MY_STRING(L"python-core-" MY_PYVERSION L"\\lib\\lib-dynload"));
143 MY_STRING(L"python-core-" MY_PYVERSION));
152 L"python-core-" MY_PYVERSION L"\\bin\\python.bin"));
155 L"python-core-" MY_PYVERSION L"\\bin\\python.exe"));
161 std::size_t clSize = MY_LENGTH(L"\"") + 4 * (pythonexeEnd - pythonexe) +
162 MY_LENGTH(L"\"\0"); //TODO: overflow
167 clSize += MY_LENGTH(L" \"") + 4 * strlen(argv[i]) +
169 clSize += MY_LENGTH(L" \"") + 4 * wcslen(argv[i]) +
171 MY_LENGTH(L"\""); //TODO: overflow
179 *cp++ = L' ';
191 *cp = L'\0';
192 n = GetEnvironmentVariableW(L"PATH", NULL, 0);
198 orig = L"";
202 GetEnvironmentVariableW(L"PATH", orig, n) != n - 1)
208 (pathEnd - path) + MY_LENGTH(L";") +
209 (n == 0 ? 0 : MY_LENGTH(L";") + (n - 1)) + 1]; //TODO: overflow
211 wsprintfW(value, L"%s%s%s", path, n == 0 ? L"" : L";", orig);
213 if (!SetEnvironmentVariableW(L"PATH", value)) {
220 n = GetEnvironmentVariableW(L"PYTHONPATH", NULL, 0);
225 orig = L"";
229 GetEnvironmentVariableW(L"PYTHONPATH", orig, n) != n - 1)
236 (path1End - path1) + MY_LENGTH(L";") + (pythonpath2End - pythonpath2) +
237 MY_LENGTH(L";") + (pythonpath4End - pythonpath4) +
238 MY_LENGTH(L";") + (pythonpath5End - pythonpath5) +
239 MY_LENGTH(L";") + (pythonpath3End - pythonpath3) +
240 (n == 0 ? 0 : MY_LENGTH(L";") + (n - 1)) + 1]; //TODO: overflow
242 value, L"%s;%s;%s;%s;%s%s%s", path1, pythonpath2, pythonpath4,
244 n == 0 ? L"" : L";", orig);
248 MY_LENGTH(L";") + (pythonpath3End - pythonpath3) +
249 (n == 0 ? 0 : MY_LENGTH(L";") + (n - 1)) + 1]; //TODO: overflow
251 value, L"%s;%s%s%s", pythonpath2, pythonpath3,
252 n == 0 ? L"" : L";", orig);
254 if (!SetEnvironmentVariableW(L"PYTHONPATH", value)) {
261 if (!SetEnvironmentVariableW(L"PYTHONHOME", pythonhome)) {
264 n = GetEnvironmentVariableW(L"URE_BOOTSTRAP", NULL, 0);
267 !SetEnvironmentVariableW(L"URE_BOOTSTRAP", bootstrap))