Searched refs:drive_letter (Results 1 – 3 of 3) sorted by relevance
170 my $drive_letter = `cmd "/c;" echo %__CD__:~0,2%`;171 if($? != 0 || substr($drive_letter, 1, 1) ne ':') {176 return substr($drive_letter, 0, 2);
230 WCHAR drive_letter, env_var[4]; in uv_chdir() local296 drive_letter = 0; in uv_chdir()298 drive_letter = utf16_buffer[0]; in uv_chdir()301 drive_letter = utf16_buffer[0] - L'a' + L'A'; in uv_chdir()304 drive_letter = 0; in uv_chdir()307 if (drive_letter != 0) { in uv_chdir()310 env_var[1] = drive_letter; in uv_chdir()
225 char *drive_letter = _alloca (drive_letter_size); in _g_win32_fill_statbuf_from_handle_info() local241 wctomb (drive_letter, drive_letter_w) == 1) in _g_win32_fill_statbuf_from_handle_info()242 statbuf->st_dev = toupper (drive_letter[0]) - 'A'; /* 0 means A: drive */ in _g_win32_fill_statbuf_from_handle_info()