Lines Matching refs:WCHAR
55 bool contains(WCHAR const * paths, WCHAR const * path, WCHAR const * pathEnd) { in contains()
56 WCHAR const * q = path; in contains()
57 for (WCHAR const * p = paths;; ++p) { in contains()
58 WCHAR c = *p; in contains()
85 void extendLoaderEnvironment(WCHAR * binPath, WCHAR * iniDirectory) { in extendLoaderEnvironment()
89 WCHAR * iniDirEnd = tools::filename(iniDirectory); in extendLoaderEnvironment()
90 WCHAR name[MAX_PATH + MY_LENGTH(L".bin")]; in extendLoaderEnvironment()
92 WCHAR * nameEnd = name; in extendLoaderEnvironment()
93 for (WCHAR * p = iniDirEnd; *p != L'\0'; ++p) { in extendLoaderEnvironment()
109 WCHAR path[MAX_PATH]; in extendLoaderEnvironment()
110 WCHAR * pathEnd = tools::buildPath( in extendLoaderEnvironment()
116 WCHAR pad[2 * MAX_PATH + maxEnv]; in extendLoaderEnvironment()
118 WCHAR * padEnd = NULL; in extendLoaderEnvironment()
119 WCHAR env[maxEnv]; in extendLoaderEnvironment()
147 WCHAR * pad2 = exclude1 ? pad : padEnd + 1; in extendLoaderEnvironment()
166 WCHAR * p = exclude2 ? pad2 - 1 : padEnd; in extendLoaderEnvironment()