/third_party/ffmpeg/libavdevice/ |
H A D | libcdio.c | 45 cdrom_drive_t *drive; member 63 s->drive = cdio_cddap_identify(ctx->url, CDDA_MESSAGE_LOGIT, &err); in read_header() 64 if (!s->drive) { in read_header() 65 av_log(ctx, AV_LOG_ERROR, "Could not open drive %s.\n", ctx->url); in read_header() 72 if ((ret = cdio_cddap_open(s->drive)) < 0 || !s->drive->opened) { in read_header() 73 av_log(ctx, AV_LOG_ERROR, "Could not open disk in drive %s.\n", ctx->url); in read_header() 77 cdio_cddap_verbose_set(s->drive, CDDA_MESSAGE_LOGIT, CDDA_MESSAGE_LOGIT); in read_header() 79 cdio_cddap_speed_set(s->drive, s->speed); in read_header() 81 s->paranoia = cdio_paranoia_init(s->drive); in read_header() [all...] |
/third_party/python/Lib/ |
H A D | nturl2path.py | 21 # No drive specifier, just convert slashes 34 drive = comp[0][-1].upper() 36 path = drive + ':' 62 # No drive specifier, just convert slashes and quote the name 75 drive = urllib.parse.quote(comp[0].upper()) 77 path = '///' + drive + ':'
|
H A D | ntpath.py | 99 # Absolute: UNC, device, and paths with a drive and root. 100 # LEGACY BUG: isabs("/x") should be false since the path has no drive. 135 # Same drive in different case 151 # Split a path in a drive specification (a drive letter followed by a 155 """Split a pathname into drive/UNC sharepoint and relative path specifiers. 163 If the path contained a drive letter, drive_or_unc will contain everything 170 Paths cannot contain both a drive letter and a UNC path. 277 # Any drive letter root (eg c:\) 282 # detected drive lette [all...] |
H A D | glob.py | 82 # drive or UNC path. Prevent an infinite recursion if a drive or UNC path 242 # Metacharacters do not work in the drive part and shouldn't be escaped. 243 drive, pathname = os.path.splitdrive(pathname) 248 return drive + pathname
|
H A D | pathlib.py | 26 _WINERROR_NOT_READY = 21 # drive exists but is not accessible 77 # If no drive is present, try to find one in the previous 97 (drive, root, parts) tuples. Return a new (drive, root, parts) tuple. 104 # Same drive => second path is relative to the first 220 drive = path.drive 221 if len(drive) == 2 and drive[1] == ':': 222 # It's a path on a local drive 610 drive = property(attrgetter('_drv'), global() variable in PurePath [all...] |
/third_party/jerryscript/jerry-port/default/ |
H A D | default-module.c | 108 char drive[_MAX_DRIVE]; in jerry_port_normalize_path() local 117 drive, in jerry_port_normalize_path() 125 strncat (path_p, drive, _MAX_DRIVE); in jerry_port_normalize_path()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_aexciter.c | 42 double drive; member 58 { "drive", "set harmonics", OFFSET(drive), AV_OPT_TYPE_DOUBLE, {.dbl=8.5}, 0.1, 10, A }, 81 double blend, double drive, in set_params() 87 p->rdrive = 12.0 / drive; in set_params() 239 set_params(&s->cp[i], s->blend, s->drive, inlink->sample_rate, in config_input() 80 set_params(ChannelParams *p, double blend, double drive, double srate, double freq, double ceil) set_params() argument
|
/third_party/python/Lib/distutils/ |
H A D | dir_util.py | 207 drive, path = os.path.splitdrive(path) 209 path = drive + path[1:]
|
H A D | util.py | 151 (drive, path) = os.path.splitdrive(pathname)
|
/third_party/ntfs-3g/libntfs-3g/ |
H A D | reparse.c | 386 * Check whether a drive letter has been defined in .NTFS-3G 396 char *drive; in ntfs_drive_letter() local 403 drive = (char*)NULL; in ntfs_drive_letter() 404 sz = ntfs_ucstombs(&letter, 1, &drive, 0); in ntfs_drive_letter() 407 if ((*drive >= 'a') && (*drive <= 'z')) in ntfs_drive_letter() 408 *drive += 'A' - 'a'; in ntfs_drive_letter() 409 strcat(defines,drive); in ntfs_drive_letter() 422 if (drive) in ntfs_drive_letter() 423 free(drive); in ntfs_drive_letter() [all...] |
/third_party/googletest/googletest/test/ |
H A D | googletest-filepath-test.cc | 375 // Find a drive that doesn't exist. Start with 'Z' to avoid common ones. in TEST() 376 for (char drive = 'Z'; drive >= 'A'; drive--) in TEST() 377 if (_chdrive(drive - 'A' + 1) == -1) { in TEST() 379 non_drive[0] = drive; in TEST()
|
/third_party/gn/src/base/files/ |
H A D | file_util_win.cc | 425 // will find a drive letter which maps to the path's device, so in NormalizeFilePath() 426 // that we return a path starting with a drive letter. in NormalizeFilePath() 432 // Get the mapping of drive letters to device paths. in DevicePathToDriveLetterPath() 437 DLOG(ERROR) << "Failed to get drive mapping."; in DevicePathToDriveLetterPath() 441 // The drive mapping is a sequence of null terminated strings. in DevicePathToDriveLetterPath() 445 char16_t drive[] = u" :"; in DevicePathToDriveLetterPath() local 447 // For each string in the drive mapping, get the junction that links in DevicePathToDriveLetterPath() 449 // know that |drive| is the real path prefix. in DevicePathToDriveLetterPath() 451 drive[0] = drive_map_ptr[0]; // Copy the drive lette in DevicePathToDriveLetterPath() [all...] |
/third_party/gptfdisk/ |
H A D | gptcurses.cc | 753 string drive="Disk Drive: "; in DrawMenu() local 754 drive += device; in DrawMenu() 762 move(2, (COLS - drive.length()) / 2); in DrawMenu() 763 printw("%s", drive.c_str()); in DrawMenu()
|
/third_party/python/Lib/test/ |
H A D | test_py_compile.py | 63 # on different drives. Therefore we need to switch to the drive where 65 drive = os.path.splitdrive(self.source_path)[0] 66 if drive: 67 os.chdir(drive)
|
H A D | test_ntpath.py | 325 # gh-88013: call ntpath.realpath with binary drive name may raise a 326 # TypeError. The drive should not exist to reproduce the bug. 332 raise OSError("No free drive letters available") 714 drive, _ = ntpath.splitdrive(cwd_dir) 715 tester('ntpath.abspath("/abc/")', drive + "\\abc") 845 # (or any other volume root). The drive-relative 849 drive, path = ntpath.splitdrive(test_cwd) 851 self.assertFalse(ntpath.ismount(drive.lower())) 852 self.assertFalse(ntpath.ismount(drive.upper()))
|
H A D | ssl_servers.py | 59 (e.g. drive or directory names) are ignored. (XXX They should 70 drive, word = os.path.splitdrive(word)
|
H A D | test_pathlib.py | 135 # Second part has a root but not drive. 485 self.assertEqual(P('a/b').drive, '') 486 self.assertEqual(P('/a/b').drive, '') 487 self.assertEqual(P('').drive, '') 857 self.assertFalse(P('d:/b.py').match('c:/*.py')) # wrong drive 970 self.assertEqual(P('c:').drive, 'c:') 971 self.assertEqual(P('c:a/b').drive, 'c:') 972 self.assertEqual(P('c:/').drive, 'c:') 973 self.assertEqual(P('c:/a/b/').drive, 'c:') 974 self.assertEqual(P('//a/b').drive, '\\\\ [all...] |
/third_party/gn/src/gn/ |
H A D | filesystem_utils.cc | 107 // Check drive letter. in DoesBeginWindowsDriveLetter() 138 // which means foo relative to the current directory of the C drive but in GetPathComponents() 190 // Windows absolute path contains ':' after drive letter. Remove it to in AppendFixedAbsolutePathSuffix() 648 int drive = _getdrive(); in GetPathWithDriveLetter() local 649 DCHECK(drive > 0 && drive <= 26); in GetPathWithDriveLetter() 653 ret.push_back('A' + drive - 1); in GetPathWithDriveLetter() 698 // drive letters. A relative path cannot span over different drives. in MakeRelativePath() 709 // If the drive letters are differnet, we have no choice but use in MakeRelativePath()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-aat-layout-morx-table.hh | 172 driver.drive (&dc); in apply() 328 driver.drive (&dc); in apply() 580 driver.drive (&dc); in apply() 823 driver.drive (&dc); in apply()
|
H A D | hb-aat-layout-kerx-table.hh | 353 driver.drive (&dc); in apply() 597 driver.drive (&dc); in apply()
|
/third_party/ltp/testcases/kdump/lib/lkdtm/ |
H A D | lkdtm.c | 188 int jp_generic_ide_ioctl(ide_drive_t * drive, struct file *file, in jp_generic_ide_ioctl() argument
|
/third_party/lzma/CPP/Windows/ |
H A D | FileFind.cpp | 191 w:\* - ERROR_PATH_NOT_FOUND, if there is no such drive w:
394 C:\ - OK, if there is such drive,
395 D:\ - ERROR_PATH_NOT_FOUND, if there is no such drive,
481 FChar drive[4] = { path[4], ':', '\\', 0 };
in Find() local 483 if (NSystem::MyGetDiskFreeSpace(drive, clusterSize, totalSize, freeSize))
in Find()
|
/third_party/python/Lib/test/test_importlib/ |
H A D | test_util.py | 772 drive = '' 774 drive = 'C:' 776 f'{drive}{prefix}' for prefix in pycache_prefixes] 780 path = drive + os.path.join(
|
/third_party/curl/projects/ |
H A D | generate.bat | 35 rem Check we are not running on a network drive
398 echo Error: This batch file cannot run from a network drive
|
/third_party/python/ |
H A D | setup.py | 738 drive = path[0].lower() 740 return "/" + drive + left
|