Home
last modified time | relevance | path

Searched refs:curdir (Results 1 – 25 of 227) sorted by relevance

12345678910

/external/webrtc/tools_webrtc/vim/
Dwebrtc.ycm_extra_conf.py93 curdir = os.path.normpath(os.path.dirname(filename))
94 while not (os.path.basename(curdir) == 'src'
95 and PathExists(curdir, 'DEPS')
96 and (PathExists(curdir, '..', '.gclient')
97 or PathExists(curdir, '.git'))):
98 nextdir = os.path.normpath(os.path.join(curdir, '..'))
99 if nextdir == curdir:
101 curdir = nextdir
102 return curdir
/external/ltp/testcases/kernel/mem/hugetlb/lib/
Dhugetlb.c93 char *curdir = NULL; in getipckey() local
98 curdir = getcwd(curdir, size); in getipckey()
99 if (curdir == NULL) in getipckey()
117 ipc_key = ftok(curdir, ascii_a + random() % 26); in getipckey()
/external/ltp/testcases/kernel/fs/fs_readonly/
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/*
/external/python/cpython3/Lib/test/
Dtest_glob.py73 res = glob.glob(os.path.join(os.curdir, '*'))
78 res = glob.glob(os.path.join(os.fsencode(os.curdir), b'*'))
221 eq(self.rglob(os.curdir, '**'),
222 self.joins((os.curdir, ''), *((os.curdir,) + i for i in full)))
253 eq(glob.glob(join(os.curdir, '**'), recursive=True),
254 [join(os.curdir, '')] + [join(os.curdir, *i) for i in full])
255 eq(glob.glob(join(os.curdir, '**', ''), recursive=True),
256 [join(os.curdir, '')] + [join(os.curdir, *i) for i in dirs])
257 eq(glob.glob(join(os.curdir, '**', '*'), recursive=True),
258 [join(os.curdir, *i) for i in full])
[all …]
/external/python/cpython3/Lib/
Dposixpath.py16 curdir = '.' variable
399 curdir = b'.'
403 curdir = '.'
412 if not name or name == curdir:
457 curdir = b'.'
461 curdir = '.'
466 start = curdir
478 return curdir
499 curdir = b'.'
502 curdir = '.'
[all …]
Dntpath.py11 curdir = '.' variable
456 curdir = b'.'
462 curdir = '.'
483 if not comps[i] or comps[i] == curdir:
497 comps.append(curdir)
683 curdir = b'.'
687 curdir = '.'
691 start = curdir
717 return curdir
744 curdir = b'.'
[all …]
/external/ltp/lib/tests/
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()
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()
/external/ltp/testcases/kernel/syscalls/ipc/lib/
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()
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/
Dcompatibility.py16 def _relpath_nt(path, start=os.path.curdir):
41 return os.path.curdir
47 def _relpath_posix(path, start=os.path.curdir):
61 return os.path.curdir
/external/python/cffi/testing/cffi1/
Dtest_zdist.py64 def check_produced_files(self, content, curdir=None): argument
65 if curdir is None:
66 curdir = str(self.udir)
68 for name in os.listdir(curdir):
71 found_so = os.path.join(curdir, name)
88 os.path.join(curdir, name),)
92 os.path.isfile(os.path.join(curdir, name)))
94 subdir = os.path.join(curdir, name)
100 curdir, content.keys())
/external/python/setuptools/setuptools/
Dglob.py96 dirname = os.curdir.encode('ASCII')
98 dirname = os.curdir
133 dirname = binary_type(os.curdir, 'ASCII')
135 dirname = os.curdir
/external/ltp/lib/
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()
/external/python/cpython2/Lib/distutils/tests/
Dtest_build_ext.py341 curdir = os.getcwd()
342 wanted = os.path.join(curdir, 'src', 'lxml', 'etree' + ext)
348 cmd.build_lib = os.path.join(curdir, 'tmpdir')
349 wanted = os.path.join(curdir, 'tmpdir', 'lxml', 'etree' + ext)
358 wanted = os.path.join(curdir, 'tmpdir', 'twisted', 'runner',
365 wanted = os.path.join(curdir, 'twisted', 'runner', 'portmap' + ext)
377 curdir = os.getcwd()
379 wanted = os.path.join(curdir, 'src', 'lxml', 'etree' + ext)
402 curdir = os.getcwd()
404 wanted = os.path.join(curdir, 'src', 'lxml', 'etree' + ext)
/external/python/cpython3/Tools/scripts/
Dlll.py12 if name not in (os.curdir, os.pardir):
17 if not args: args = [os.curdir]
/external/python/cpython2/Tools/scripts/
Dlll.py12 if name not in (os.curdir, os.pardir):
18 if not args: args = [os.curdir]
/external/llvm-project/lldb/third_party/Python/module/ptyprocess-0.6.0/ptyprocess/
Dutil.py40 if not os.curdir in path:
41 path.insert(0, os.curdir)
/external/guice/util/
DcompareBuilds.sh43 curdir=`pwd`
85 cd "$curdir"
/external/skqp/tools/
Dmerge_static_libs.py27 curdir = os.getcwd()
49 os.chdir(curdir)
/external/skia/tools/
Dmerge_static_libs.py31 curdir = os.getcwd()
53 os.chdir(curdir)
/external/python/cpython2/Lib/
Dglob.py49 for name in glob1(os.curdir, basename):
73 dirname = os.curdir
Dposixpath.py30 curdir = '.' variable
387 if not name or name == curdir:
424 def relpath(path, start=curdir):
438 return curdir
/external/autotest/site_utils/lib/
Dinfra.py27 curdir = os.getcwd()
33 os.chdir(curdir)
/external/python/cpython3/Lib/test/test_import/
D__init__.py183 sys.path.insert(0, os.curdir)
239 sys.path.insert(0, os.curdir)
286 sys.path.insert(0, os.curdir)
325 sys.path.insert(0, os.curdir)
367 sys.path.insert(0, os.curdir)
846 sys.path.insert(0, os.curdir)
850 assert sys.path[0] == os.curdir, 'Unexpected sys.path[0]'
907 os.path.join(os.curdir, os.path.relpath(pyc_file)))
915 self.assertEqual(m.__cached__, os.path.join(os.curdir, pyc_file))
931 os.path.join(os.curdir, os.path.relpath(pyc_file)))
[all …]
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.proximate/
Dproximate.pass.cpp54 const path curdir = cwd.filename(); in TEST_CASE() local
71 {"a", parent_cwd, curdir / "a"}, in TEST_CASE()

12345678910