Home
last modified time | relevance | path

Searched refs:curdir (Results 1 - 25 of 92) sorted by relevance

1234

/third_party/node/deps/v8/
H A D.ycm_extra_conf.py66 curdir = os.path.normpath(os.path.dirname(filename))
67 while not (PathExists(curdir, 'v8') and PathExists(curdir, 'v8', 'DEPS')
68 and (PathExists(curdir, '.gclient')
69 or PathExists(curdir, 'v8', '.git'))):
70 nextdir = os.path.normpath(os.path.join(curdir, '..'))
71 if nextdir == curdir:
73 curdir = nextdir
74 return os.path.join(curdir, 'v8')
/third_party/ltp/testcases/kernel/fs/fs_readonly/
H A Dtest_robind.sh145 local curdir=$(pwd)
151 export TMPDIR=$curdir/$dir
153 eval $command > $curdir/test.log 2>&1
161 cat $curdir/test.log
171 rm -f $curdir/test.log
172 rm -rf $curdir/$dir/*
/third_party/ltp/testcases/kernel/mem/hugetlb/lib/
H A Dhugetlb.c52 char *curdir = NULL; in getipckey() local
57 curdir = getcwd(curdir, size); in getipckey()
58 if (curdir == NULL) in getipckey()
59 tst_brk(TBROK | TERRNO, "getcwd(curdir)"); in getipckey()
76 ipc_key = ftok(curdir, ascii_a + random() % 26); in getipckey()
/third_party/python/Lib/test/
H A Dtest_glob.py118 res = glob.glob(os.path.join(os.curdir, '*'))
123 res = glob.glob(os.path.join(os.fsencode(os.curdir), b'*'))
285 eq(self.rglob(os.curdir, '**'),
286 self.joins((os.curdir, ''), *((os.curdir,) + i for i in full)))
317 eq(glob.glob(join(os.curdir, '**'), recursive=True),
318 [join(os.curdir, '')] + [join(os.curdir, *i) for i in full])
319 eq(glob.glob(join(os.curdir, '**', ''), recursive=True),
320 [join(os.curdir, '')]
[all...]
/third_party/python/Lib/
H A Dposixpath.py16 curdir = '.' variable
36 "curdir","pardir","sep","pathsep","defpath","altsep","extsep",
424 curdir = b'.'
428 curdir = '.'
437 if not name or name == curdir:
494 curdir = b'.'
498 curdir = '.'
503 start = curdir
515 return curdir
536 curdir
[all...]
H A Dntpath.py11 curdir = '.' variable
31 "curdir","pardir","sep","pathsep","defpath","altsep",
502 curdir = b'.'
507 curdir = '.'
520 if not comps[i] or comps[i] == curdir:
534 comps.append(curdir)
746 curdir = b'.'
750 curdir = '.'
754 start = curdir
780 return curdir
[all...]
H A Dshutil.py998 if arcname != os.curdir:
1115 base_dir = os.curdir
1492 curdir = os.curdir
1494 curdir = os.fsencode(curdir)
1495 if curdir not in path:
1496 path.insert(0, curdir)
/third_party/ltp/lib/tests/
H A Dtst_dataroot03.c43 char curdir[PATH_MAX], tmp[PATH_MAX]; in main() local
45 if (getcwd(curdir, PATH_MAX) == NULL) in main()
51 snprintf(tmp, PATH_MAX, "%s/datafiles", curdir); in main()
H A Dtst_dataroot02.c43 char curdir[PATH_MAX], tmp[PATH_MAX]; in main() local
45 if (getcwd(curdir, PATH_MAX) == NULL) in main()
51 snprintf(tmp, PATH_MAX, "%s/datafiles", curdir); in main()
/third_party/ltp/libs/libltpipc/
H A Dlibipc.c53 char *curdir = NULL; in getipckey() local
59 if (NULL == (curdir = getcwd(curdir, size))) { in getipckey()
73 if ((ipc_key = ftok(curdir, proj_id)) == -1) { in getipckey()
/third_party/ltp/lib/
H A Dtst_resource.c44 char curdir[PATH_MAX]; in tst_dataroot_init() local
57 if (getcwd(curdir, PATH_MAX) == NULL) { in tst_dataroot_init()
62 startdir = curdir; in tst_dataroot_init()
/third_party/python/Tools/scripts/
H A Dlll.py12 if name not in (os.curdir, os.pardir):
17 if not args: args = [os.curdir]
H A Dmkreal.py41 if filename not in (os.curdir, os.pardir):
H A Dlinktree.py58 if name not in (os.curdir, os.pardir):
/third_party/skia/tools/
H A Dmerge_static_libs.py31 curdir = os.getcwd()
53 os.chdir(curdir)
/third_party/openssl/test/
H A Drun_tests.pl24 use File::Spec::Functions qw/catdir catfile curdir abs2rel rel2abs/;
310 $harness->runtests(map { [ abs2rel($_, rel2abs(curdir())), basename($_) ] }
315 $harness->runtests(map { [ abs2rel($_, rel2abs(curdir())), basename($_) ] }
/third_party/python/Lib/distutils/tests/
H A Dtest_build_ext.py414 curdir = os.getcwd()
415 wanted = os.path.join(curdir, 'src', 'lxml', 'etree' + ext)
421 cmd.build_lib = os.path.join(curdir, 'tmpdir')
422 wanted = os.path.join(curdir, 'tmpdir', 'lxml', 'etree' + ext)
431 wanted = os.path.join(curdir, 'tmpdir', 'twisted', 'runner',
438 wanted = os.path.join(curdir, 'twisted', 'runner', 'portmap' + ext)
H A D__init__.py22 here = os.path.dirname(__file__) or os.curdir
/third_party/python/Mac/BuildScript/
H A Dbuild-installer.py722 curdir = os.getcwd()
765 os.chdir(curdir)
948 curdir = os.getcwd()
980 fn = os.path.join(curdir, patch)
991 fn = os.path.join(curdir, patchscript)
1060 os.chdir(curdir)
1137 curdir = os.getcwd()
1386 os.chdir(curdir)
1416 curdir = os.getcwd()
1504 os.chdir(curdir)
[all...]
/third_party/python/Lib/distutils/
H A Dfilelist.py38 def findall(self, dir=os.curdir):
258 def findall(dir=os.curdir):
264 if dir == os.curdir:
H A Darchive_util.py170 if base_dir != os.curdir:
232 base_dir = os.curdir
H A Dutil.py132 return os.curdir
523 curdir = os.getcwd()
528 os.chdir(curdir)
/third_party/python/Lib/idlelib/idle_test/
H A Dtest_grep.py58 # Test os.curdir.
63 filelist = list(ff(os.curdir, filename, False))
64 self.assertIn(os.path.join(os.curdir, filename), filelist)
/third_party/python/Lib/test/test_importlib/
H A Dtest_threaded_import.py238 sys.path.insert(0, os.curdir)
239 self.addCleanup(sys.path.remove, os.curdir)
/third_party/python/Lib/tkinter/
H A Dfiledialog.py122 def go(self, dir_or_file=os.curdir, pattern="*", default="", key=None):
198 if tail == os.curdir: tail = ''
226 self.filter.insert(END, os.path.join(dir or os.curdir, pat or "*"))

Completed in 12 milliseconds

1234