Lines Matching defs:ip
185 INSTALLED_PYTHON * ip;
187 for (i = 0, ip = installed_pythons; i < num_installed_pythons; i++, ip++) {
188 if (_wcsicmp(path, ip->executable) == 0) {
189 result = ip;
206 INSTALLED_PYTHON * ip, * pip;
217 ip = &installed_pythons[num_installed_pythons];
230 wcsncpy_s(ip->version, MAX_VERSION_SIZE, ip_version,
241 data_size = sizeof(ip->executable) - 1;
243 (LPBYTE)ip->executable, &data_size);
252 if (ip->executable[data_size - 1] == L'\\')
254 /* ip->executable is data_size long */
257 _snwprintf_s(&ip->executable[data_size],
261 attrs = GetFileAttributesW(ip->executable);
265 ip->executable, message);
270 ip->executable, attrs);
272 else if (find_existing_python(ip->executable)) {
274 found\n", ip->executable);
278 ok = GetBinaryTypeW(ip->executable, &attrs);
281 ip->executable);
285 ip->bits = 64;
287 ip->bits = 32;
289 ip->bits = 0;
290 if (ip->bits == 0) {
293 ip->executable, attrs);
296 if (wcschr(ip->executable, L' ') != NULL) {
298 n = wcslen(ip->executable);
299 memmove(&ip->executable[1],
300 ip->executable, n * sizeof(wchar_t));
301 ip->executable[0] = L'\"';
302 ip->executable[n + 1] = L'\"';
303 ip->executable[n + 2] = L'\0';
307 ip->executable, ip->bits);
309 pip = ip++;
314 *ip = *pip;
368 INSTALLED_PYTHON * ip = installed_pythons;
375 for (i = 0; i < num_installed_pythons; i++, ip++) {
376 n = wcslen(ip->version);
379 if ((wcsncmp(ip->version, wanted_ver, n) == 0) &&
381 ((bits == 0) || (ip->bits == bits))) {
382 result = ip;
1138 INSTALLED_PYTHON * ip;
1146 ip = find_by_magic((((unsigned char)buffer[1]) << 8 |
1148 if (ip != NULL) {
1150 ip->version);
1151 invoke_child(ip->executable, NULL, cmdline);
1289 ip = locate_python(command, TRUE);
1290 if (ip == NULL) {
1295 invoke_child(ip->executable, suffix, cmdline);
1357 INSTALLED_PYTHON * ip;
1495 ip = locate_python(&p[1], FALSE);
1496 if (ip == NULL)
1499 executable = ip->executable;
1522 ip = locate_python(L"", FALSE);
1523 if (ip == NULL)
1525 executable = ip->executable;