/external/autotest/server/cros/ap_configurators/ |
D | pyauto_utils.py | 31 _path = '' variable in ExistingPathReplacer 44 self._path = path 45 if os.path.exists(self._path): 47 assert os.path.isdir(self._path), '%s is not a directory' % self._path 49 assert os.path.isfile(self._path), '%s is not a file' % self._path 51 self._backup_basename = os.path.basename(self._path) 52 self._backup_dir = tempfile.mkdtemp(dir=os.path.dirname(self._path), 54 logging.info('Backing up %s in %s' % (self._path, self._backup_dir)) 55 shutil.move(self._path, 64 logging.info('Reinstating backup from %s to %s' % (from_path, self._path)) [all …]
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | device_blacklist.py | 18 self._path = path 28 if not os.path.exists(self._path): 32 with open(self._path, 'r') as f: 36 os.remove(self._path) 40 self._path, blacklist) 52 with open(self._path, 'w') as f: 69 ','.join(devices), self._path, reason) 77 logger.info('Resetting blacklist %s', self._path) 79 if os.path.exists(self._path): 80 os.remove(self._path)
|
/external/skqp/experimental/canvaskit/htmlcanvas/ |
D | path2d.js | 145 this._path = null; 147 this._path = CanvasKit.MakePathFromSVGString(path); 149 this._path = path._getPath().copy(); 151 this._path = new CanvasKit.SkPath(); 155 return this._path; 165 this._path.addPath(path2d._getPath(), [transform.a, transform.c, transform.e, 170 arc(this._path, x, y, radius, startAngle, endAngle, ccw); 174 arcTo(this._path, x1, y1, x2, y2, radius); 178 bezierCurveTo(this._path, cp1x, cp1y, cp2x, cp2y, x, y); 182 closePath(this._path); [all …]
|
/external/skia/modules/canvaskit/htmlcanvas/ |
D | path2d.js | 145 this._path = null; 147 this._path = CanvasKit.MakePathFromSVGString(path); 149 this._path = path._getPath().copy(); 151 this._path = new CanvasKit.SkPath(); 155 return this._path; 165 this._path.addPath(path2d._getPath(), [transform.a, transform.c, transform.e, 170 arc(this._path, x, y, radius, startAngle, endAngle, ccw); 174 arcTo(this._path, x1, y1, x2, y2, radius); 178 bezierCurveTo(this._path, cp1x, cp1y, cp2x, cp2y, x, y); 182 closePath(this._path); [all …]
|
/external/lzma/CPP/Windows/ |
D | FileDir.h | 67 FString _path; variable 72 const FString &GetPath() const { return _path; } in GetPath() 82 FString _path; variable 86 const FString &GetPath() const { return _path; } in GetPath() 95 FString _path; variable 101 GetCurrentDir(_path); in CCurrentDirRestorer() 109 if (s != _path) in ~CCurrentDirRestorer() 110 SetCurrentDir(_path); in ~CCurrentDirRestorer()
|
D | FileDir.cpp | 336 bool CreateComplexDir(CFSTR _path) in CreateComplexDir() argument 341 DWORD attrib = NFind::GetFileAttrib(_path); in CreateComplexDir() 348 if (IsDriveRootPath_SuperAllowed(_path)) in CreateComplexDir() 351 unsigned prefixSize = GetRootPrefixSize(_path); in CreateComplexDir() 357 FString path (_path); in CreateComplexDir() 641 if (!CreateTempFile(prefix, false, _path, outFile)) in Create() 654 if (!CreateTempFile(tempPath + namePrefix, true, _path, outFile)) in CreateRandomInTempFolder() 664 _mustBeDeleted = !DeleteFileAlways(_path); in Remove() 681 return MyMoveFile(_path, name); in MoveTo() 700 if (!CreateTempFile(tempPath + prefix, true, _path, NULL)) in Create() [all …]
|
/external/lzma/CPP/7zip/UI/GUI/ |
D | ExtractDialog.cpp | 188 _path.Attach(GetItem(IDC_EXTRACT_PATH)); in OnInit() 209 _path.SetText(pathPrefix); in OnInit() 213 _path.AddString(_info.Paths[i]); in OnInit() 278 _path.GetText(currentPath); in OnButtonSetPath() 284 _path.SetCurSel(-1); in OnButtonSetPath() 286 _path.SetText(resultPath); in OnButtonSetPath() 352 _path.GetText(s); in OnOK() 356 int currentItem = _path.GetCurSel(); in OnOK() 359 _path.GetText(s); in OnOK() 360 if (_path.GetCount() >= kHistorySize) in OnOK() [all …]
|
/external/python/cpython2/Lib/ |
D | mailbox.py | 45 self._path = os.path.abspath(os.path.expanduser(path)) 251 'tmp': os.path.join(self._path, 'tmp'), 252 'new': os.path.join(self._path, 'new'), 253 'cur': os.path.join(self._path, 'cur'), 255 if not os.path.exists(self._path): 257 os.mkdir(self._path, 0700) 261 raise NoSuchMailboxError(self._path) 286 dest = os.path.join(self._path, subdir, uniq + suffix) 310 os.remove(os.path.join(self._path, self._lookup(key))) 340 tmp_path = os.path.join(self._path, temp_subpath) [all …]
|
/external/python/cpython3/Lib/ |
D | mailbox.py | 38 self._path = os.path.abspath(os.path.expanduser(path)) 273 'tmp': os.path.join(self._path, 'tmp'), 274 'new': os.path.join(self._path, 'new'), 275 'cur': os.path.join(self._path, 'cur'), 277 if not os.path.exists(self._path): 279 os.mkdir(self._path, 0o700) 283 raise NoSuchMailboxError(self._path) 308 dest = os.path.join(self._path, subdir, uniq + suffix) 333 os.remove(os.path.join(self._path, self._lookup(key))) 360 tmp_path = os.path.join(self._path, temp_subpath) [all …]
|
/external/ltp/android/tools/ |
D | check_success_build.py | 36 _path = None variable in Module 62 self._path = self._header[1] 83 print " Module build failed: " + os.path.basename(self._path) 100 os.path.basename(self._path)) 115 "assuming build success: " + self._path 129 return os.path.isfile(self._output_dir + self._path)
|
/external/parameter-framework/upstream/utility/windows/ |
D | DynamicLibrary.cpp | 40 DynamicLibrary::DynamicLibrary(const std::string &path) : _path(osSanitizePathName(path)) in DynamicLibrary() 44 HMODULE module = LoadLibrary(_path.c_str()); in DynamicLibrary() 50 throw std::runtime_error(_path + ": cannot open shared object file."); in DynamicLibrary() 69 throw std::runtime_error(_path + ": undefined symbol: " + symbol); in osGetSymbol()
|
/external/libyuv/files/ |
D | setup_links.py | 149 self._path = path 158 log('Planning to remove %s: %s', filesystem_type, self._path) 160 log('Removing %s: %s', filesystem_type, self._path) 163 os.remove(self._path) 170 self._path = path 174 logging.warn('Planning to remove directory: %s', self._path) 176 logging.warn('Removing directory: %s', self._path) 182 subprocess.check_call(['rd', '/q', '/s', self._path], shell=True) 184 shutil.rmtree(self._path) 191 self._path = path [all …]
|
/external/webrtc/ |
D | setup_links.py | 170 self._path = path 179 log('Planning to remove %s: %s', filesystem_type, self._path) 181 log('Removing %s: %s', filesystem_type, self._path) 184 os.remove(self._path) 191 self._path = path 195 logging.warn('Planning to remove directory: %s', self._path) 197 logging.warn('Removing directory: %s', self._path) 203 subprocess.check_call(['rd', '/q', '/s', self._path], shell=True) 205 shutil.rmtree(self._path) 212 self._path = path [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_mailbox.py | 54 self._path = test_support.TESTFN 55 self._delete_recursively(self._path) 56 self._box = self._factory(self._path) 60 self._delete_recursively(self._path) 144 self._box = self._factory(self._path, factory=rfc822.Message) 438 self._box = self._factory(self._path) 459 return self._path + '.lock' 512 self.assertTrue(os.path.exists(os.path.join(self._path, 'cur', '%s%sfoo' % 559 box = mailbox.Maildir(self._path, factory=FakeMessage) 567 self._box = mailbox.Maildir(self._path) [all …]
|
D | test_old_mailbox.py | 122 self._path = test_support.TESTFN 125 os.unlink(self._path) 129 with open(self._path, 'w') as f: 147 with open(self._path, 'r') as f:
|
/external/python/cpython3/Lib/test/ |
D | test_mailbox.py | 54 self._path = support.TESTFN 55 self._delete_recursively(self._path) 56 self._box = self._factory(self._path) 60 self._delete_recursively(self._path) 234 self._box = self._factory(self._path) 528 self._box = self._factory(self._path) 549 return self._path + '.lock' 598 self.assertEqual(os.listdir(os.path.join(self._path, 'tmp')), []) 606 self.assertTrue(os.path.exists(os.path.join(self._path, 'cur', '%s%sfoo' % 653 box = mailbox.Maildir(self._path, factory=FakeMessage) [all …]
|
/external/fonttools/Tests/ufoLib/ |
D | UFOZ_test.py | 61 self._path = s 64 return tostr(self._path, sys.getfilesystemencoding()) 69 assert reader._path == path.__fspath__() 72 assert writer._path == path.__fspath__() 99 assert writer._path == "<memfs>"
|
/external/libxcam/xcore/ |
D | analyzer_loader.cpp | 30 _path = strndup (lib_path, XCAM_MAX_STR_SIZE); in AnalyzerLoader() 38 if (_path) in ~AnalyzerLoader() 39 xcam_free (_path); in ~AnalyzerLoader() 94 …XCAM_LOG_DEBUG ("get symbol(%s) failed from lib(%s), reason:%s", _symbol, XCAM_STR (_path), dlerro… in get_symbol()
|
D | analyzer_loader.h | 40 return _path; in get_lib_path() 51 char *_path; variable
|
/external/scapy/.travis/ |
D | test.sh | 65 for _path in /sbin /usr/sbin /usr/local/sbin /Users/travis/Library/Python/2.7/bin; do 66 [ -d "$_path" ] && echo "$PATH" | grep -qvE "(^|:)$_path(:|$)" && export PATH="$PATH:$_path"
|
/external/apache-commons-bcel/src/main/java/org/apache/bcel/util/ |
D | ClassPathRepository.java | 36 private ClassPath _path = null; field in ClassPathRepository 40 _path = path; in ClassPathRepository() 89 return loadClass(_path.getInputStream(className), className); in loadClass() 154 return _path; in getClassPath()
|
D | MemorySensitiveClassPathRepository.java | 38 private ClassPath _path = null; field in MemorySensitiveClassPathRepository 42 this._path = path; in MemorySensitiveClassPathRepository() 95 return loadClass(_path.getInputStream(className), className); in loadClass() 161 return _path; in getClassPath()
|
/external/autotest/client/cros/ |
D | device_jail_utils.py | 80 self._path = match.group(1) 86 self._path = match.group(1) 110 dev_file_wrapper[0] = OSFile(self._path, os.O_RDWR) 157 '--remove={0}'.format(self._path)])
|
D | cros_disks.py | 450 self._path = path 465 os.path.join(base_dir, self._path)) 482 os.path.join(base_dir, self._path)) 501 path = os.path.join(base_dir, self._path) if self._path else base_dir 503 if self._path: 517 path = os.path.join(base_dir, self._path) if self._path else base_dir 535 path = os.path.join(base_dir, self._path) 545 path = os.path.join(base_dir, self._path)
|
/external/openssh/regress/ |
D | forward-control.sh | 12 _path=$1 14 while test ! -f $_path ; do 15 test $_n -eq 1 && trace "waiting for $_path to appear"
|