Home
last modified time | relevance | path

Searched refs:_dir (Results 1 – 22 of 22) sorted by relevance

/external/python/cpython2/Lib/plat-mac/
Dappletrawmain.py22 _dir = os.path.split(sys.executable)[0] # removes "python" variable
23 _dir = os.path.split(_dir)[0] # Removes "MacOS" variable
24 _dir = os.path.join(_dir, 'Resources') variable
27 _dir = os.path.split(sys.argv[0])[0] variable
33 sys.path.insert(0, _dir)
41 __file__ = os.path.join(_dir, '__main__.py')
47 del argvemulator, os, sys, _dir
50 __file__ = os.path.join(_dir, '__main__.pyc')
63 del argvemulator, os, sys, marshal, _dir, _fp
Dpimp.py126 self._dir = dir
141 exitstatus = _cmd(output, self._dir,
193 self._dir = dir
212 if _cmd(output, self._dir, cmd):
227 if oldprefix[:len(self._dir)] == self._dir:
228 oldprefix2 = oldprefix[len(self._dir):]
255 tf.extract(member, self._dir)
/external/eigen/bench/btl/cmake/
DMacroOptionalAddSubdirectory.cmake19 MACRO (MACRO_OPTIONAL_ADD_SUBDIRECTORY _dir )
20 GET_FILENAME_COMPONENT(_fullPath ${_dir} ABSOLUTE)
23 OPTION(BUILD_${_dir} "Build directory ${_dir}" ${ARGV1})
25 OPTION(BUILD_${_dir} "Build directory ${_dir}" TRUE)
27 IF(BUILD_${_dir})
28 ADD_SUBDIRECTORY(${_dir})
29 ENDIF(BUILD_${_dir})
/external/python/cpython2/Lib/test/
Dtest_old_mailbox.py29 self._dir = test_support.TESTFN
30 os.mkdir(self._dir)
31 os.mkdir(os.path.join(self._dir, "cur"))
32 os.mkdir(os.path.join(self._dir, "tmp"))
33 os.mkdir(os.path.join(self._dir, "new"))
39 os.rmdir(os.path.join(self._dir, "cur"))
40 os.rmdir(os.path.join(self._dir, "tmp"))
41 os.rmdir(os.path.join(self._dir, "new"))
42 os.rmdir(self._dir)
49 tmpname = os.path.join(self._dir, "tmp", filename)
[all …]
Dtest_mailbox.py1929 self._dir = test_support.TESTFN
1930 if os.path.isdir(self._dir):
1931 test_support.rmtree(self._dir)
1932 if os.path.isfile(self._dir):
1933 test_support.unlink(self._dir)
1934 os.mkdir(self._dir)
1935 os.mkdir(os.path.join(self._dir, "cur"))
1936 os.mkdir(os.path.join(self._dir, "tmp"))
1937 os.mkdir(os.path.join(self._dir, "new"))
1943 test_support.rmdir(os.path.join(self._dir, "cur"))
[all …]
/external/skqp/infra/bots/assets/
Dasset_utils.py253 self._dir = os.path.join(ASSETS_DIR, self._name)
258 return os.path.join(self._dir, VERSION_FILENAME)
311 if os.path.isdir(asset._dir):
314 print 'Creating asset in %s' % asset._dir
315 os.mkdir(asset._dir)
318 dst = os.path.join(asset._dir, script)
336 if not os.path.isdir(self._dir):
344 subprocess.check_call([utils.GIT, 'rm', '-rf', self._dir])
345 if os.path.isdir(self._dir):
346 shutil.rmtree(self._dir)
/external/skia/infra/bots/assets/
Dasset_utils.py276 self._dir = os.path.join(ASSETS_DIR, self._name)
281 return os.path.join(self._dir, VERSION_FILENAME)
334 if os.path.isdir(asset._dir):
337 print('Creating asset in %s' % asset._dir)
338 os.mkdir(asset._dir)
341 dst = os.path.join(asset._dir, script)
359 if not os.path.isdir(self._dir):
367 subprocess.check_call([utils.GIT, 'rm', '-rf', self._dir])
368 if os.path.isdir(self._dir):
369 shutil.rmtree(self._dir)
/external/ipsec-tools/src/racoon/
Dpolicy.h112 #define KEY_SETSECSPIDX(_dir, s, d, ps, pd, ulp, _priority, _created, idx) \ argument
115 (idx)->dir = (_dir); \
125 #define KEY_SETSECSPIDX(_dir, s, d, ps, pd, ulp, _created, idx) \ argument
128 (idx)->dir = (_dir); \
/external/pigweed/pw_tokenizer/py/
Ddatabase_test.py145 self._dir = Path(tempfile.mkdtemp('_pw_tokenizer_test'))
146 self._csv = self._dir / 'db.csv'
152 shutil.rmtree(self._dir)
181 binary = self._dir / 'db.bin'
193 to_add = self._dir / 'add_this.csv'
/external/python/asn1crypto/dev/
Dlint.py28 for _dir in [package_name, 'dev', 'tests']:
29 for root, _, filenames in os.walk(_dir):
/external/erofs-utils/lib/
Dxattr.c444 DIR *_dir; in erofs_count_all_xattrs_from_path() local
447 _dir = opendir(path); in erofs_count_all_xattrs_from_path()
448 if (!_dir) { in erofs_count_all_xattrs_from_path()
464 dp = readdir(_dir); in erofs_count_all_xattrs_from_path()
502 closedir(_dir); in erofs_count_all_xattrs_from_path()
Dinode.c920 DIR *_dir; in erofs_mkfs_build_tree() local
955 _dir = opendir(dir->i_srcpath); in erofs_mkfs_build_tree()
956 if (!_dir) { in erofs_mkfs_build_tree()
968 dp = readdir(_dir); in erofs_mkfs_build_tree()
995 closedir(_dir); in erofs_mkfs_build_tree()
1047 closedir(_dir); in erofs_mkfs_build_tree()
/external/skia/infra/bots/
Dutils.py65 self._dir = d
70 os.chdir(self._dir)
/external/skqp/infra/bots/
Dutils.py63 self._dir = d
68 os.chdir(self._dir)
/external/python/cpython2/Demo/turtle/
DturtleDemo.py171 _dir, entries = entry[0], entry[1:]
176 command = loadexample(os.path.join(_dir,e)))
178 label=_dir[6:], menu = CmdBtn.menu.choices, font=menufont)
/external/pigweed/pw_build/
Dfacade.gni107 _dir = get_path_info(get_label_info(":$target_name", "dir"), "name")
108 if (target_name == _dir) {
113 _varname = _dir + "_<FACADE_NAME>_BACKEND"
/external/rust/cxx/gen/build/src/
Ddeps.rs95 dirs.sort_by_key(|(sort_key, _dir)| *sort_key); in direct_dependencies()
/external/python/cpython3/Lib/test/
Dtest_mailbox.py2134 self._dir = support.TESTFN
2135 if os.path.isdir(self._dir):
2136 support.rmtree(self._dir)
2137 elif os.path.isfile(self._dir):
2138 support.unlink(self._dir)
2139 os.mkdir(self._dir)
2140 os.mkdir(os.path.join(self._dir, "cur"))
2141 os.mkdir(os.path.join(self._dir, "tmp"))
2142 os.mkdir(os.path.join(self._dir, "new"))
2148 support.rmdir(os.path.join(self._dir, "cur"))
[all …]
/external/vboot_reference/tests/futility/
Dtest_sign_firmware.sh45 loemdir=${TMP}.${base}_dir
/external/python/mock/mock/tests/
Dtestmagicmethods.py465 def _dir(self): function
467 mock.__dir__ = _dir
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestmagicmethods.py425 def _dir(self): function
427 mock.__dir__ = _dir
/external/curl/
DCMakeLists.txt759 foreach(_dir ${GSS_LINK_DIRECTORIES})
760 set(_LINKER_FLAGS_STR "${_LINKER_FLAGS_STR} -L\"${_dir}\"")