Home | History | Annotate | Download | only in MIDLWrapper

Lines Matching refs:envp

11 int wmain(int argc, wchar_t* argv[], wchar_t* envp[])
18 for (int i = 0; envp[i]; ++i)
19 if (!wcsncmp(envp[i], L"PATH=", 5)) {
29 wchar_t* vcbin = wcsstr(envp[pathIndex], L"WebKitTools\\vcbin");
38 wchar_t* afterLeadingSemiColon = wcsrchr(envp[pathIndex], ';');
40 afterLeadingSemiColon = envp[pathIndex] + 5; // +5 for the length of "PATH="
46 size_t pathLength = wcslen(envp[pathIndex]);
50 trailingSemiColon = envp[pathIndex] + pathLength;
60 wchar_t* s = envp[pathIndex];
68 envp[pathIndex] = newPath;
71 fwprintf(stderr, L"New path: %s\n", envp[pathIndex]);
85 return _wspawnvpe(_P_WAIT, L"midl", newArgv, envp);