Lines Matching refs:MY_LENGTH
41 #define MY_LENGTH(s) (sizeof (s) / sizeof *(s) - 1) macro
42 #define MY_STRING(s) (s), MY_LENGTH(s)
97 wchar_t bootstrap[MY_LENGTH(L"vnd.sun.star.pathname:") + MAX_PATH] =
100 bootstrap + MY_LENGTH(L"vnd.sun.star.pathname:"), path, pathEnd,
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
208 (pathEnd - path) + MY_LENGTH(L";") +
209 (n == 0 ? 0 : MY_LENGTH(L";") + (n - 1)) + 1]; //TODO: overflow
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
248 MY_LENGTH(L";") + (pythonpath3End - pythonpath3) +
249 (n == 0 ? 0 : MY_LENGTH(L";") + (n - 1)) + 1]; //TODO: overflow