/external/webrtc/tools_webrtc/vim/ |
D | webrtc.ycm_extra_conf.py | 93 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/ |
D | hugetlb.c | 93 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/ |
D | test_robind.sh | 145 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/ |
D | test_glob.py | 73 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/ |
D | posixpath.py | 16 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 …]
|
D | ntpath.py | 11 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/ |
D | tst_dataroot02.c | 43 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()
|
D | tst_dataroot03.c | 43 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/ |
D | libipc.c | 53 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/ |
D | compatibility.py | 16 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/ |
D | test_zdist.py | 64 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/ |
D | glob.py | 96 dirname = os.curdir.encode('ASCII') 98 dirname = os.curdir 133 dirname = binary_type(os.curdir, 'ASCII') 135 dirname = os.curdir
|
/external/ltp/lib/ |
D | tst_resource.c | 44 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/ |
D | test_build_ext.py | 341 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/ |
D | lll.py | 12 if name not in (os.curdir, os.pardir): 17 if not args: args = [os.curdir]
|
/external/python/cpython2/Tools/scripts/ |
D | lll.py | 12 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/ |
D | util.py | 40 if not os.curdir in path: 41 path.insert(0, os.curdir)
|
/external/guice/util/ |
D | compareBuilds.sh | 43 curdir=`pwd` 85 cd "$curdir"
|
/external/skqp/tools/ |
D | merge_static_libs.py | 27 curdir = os.getcwd() 49 os.chdir(curdir)
|
/external/skia/tools/ |
D | merge_static_libs.py | 31 curdir = os.getcwd() 53 os.chdir(curdir)
|
/external/python/cpython2/Lib/ |
D | glob.py | 49 for name in glob1(os.curdir, basename): 73 dirname = os.curdir
|
D | posixpath.py | 30 curdir = '.' variable 387 if not name or name == curdir: 424 def relpath(path, start=curdir): 438 return curdir
|
/external/autotest/site_utils/lib/ |
D | infra.py | 27 curdir = os.getcwd() 33 os.chdir(curdir)
|
/external/python/cpython3/Lib/test/test_import/ |
D | __init__.py | 183 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/ |
D | proximate.pass.cpp | 54 const path curdir = cwd.filename(); in TEST_CASE() local 71 {"a", parent_cwd, curdir / "a"}, in TEST_CASE()
|