Home
last modified time | relevance | path

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

123456789

/external/v8/
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')
/external/ltp/testcases/kernel/mem/hugetlb/lib/
Dhugetlb.c67 char *curdir = NULL; in getipckey() local
72 curdir = getcwd(curdir, size); in getipckey()
73 if (curdir == NULL) in getipckey()
91 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/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/
Dgen_archrast.py153 curdir = os.path.dirname(os.path.abspath(__file__))
154 template_file = os.sep.join([curdir, 'templates', 'gen_ar_event.hpp'])
164 curdir = os.path.dirname(os.path.abspath(__file__))
165 template_file = os.sep.join([curdir, 'templates', 'gen_ar_event.cpp'])
175 curdir = os.path.dirname(os.path.abspath(__file__))
176 template_file = os.sep.join([curdir, 'templates', 'gen_ar_eventhandler.hpp'])
187 curdir = os.path.dirname(os.path.abspath(__file__))
188 template_file = os.sep.join([curdir, 'templates', 'gen_ar_eventhandlerfile.hpp'])
/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
403 curdir = b'.'
407 curdir = '.'
416 if not name or name == curdir:
461 curdir = b'.'
465 curdir = '.'
470 start = curdir
482 return curdir
503 curdir = b'.'
506 curdir = '.'
[all …]
Dntpath.py11 curdir = '.' variable
456 curdir = b'.'
462 curdir = '.'
482 if not comps[i] or comps[i] == curdir:
496 comps.append(curdir)
541 curdir = b'.'
545 curdir = '.'
549 start = curdir
575 return curdir
602 curdir = b'.'
[all …]
/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/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/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/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/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/cpython3/Tools/scripts/
Dlll.py12 if name not in (os.curdir, os.pardir):
18 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/python/cpython3/Lib/test/test_import/
D__init__.py161 sys.path.insert(0, os.curdir)
217 sys.path.insert(0, os.curdir)
264 sys.path.insert(0, os.curdir)
303 sys.path.insert(0, os.curdir)
345 sys.path.insert(0, os.curdir)
771 sys.path.insert(0, os.curdir)
775 assert sys.path[0] == os.curdir, 'Unexpected sys.path[0]'
832 os.path.join(os.curdir, os.path.relpath(pyc_file)))
840 self.assertEqual(m.__cached__, os.path.join(os.curdir, pyc_file))
856 os.path.join(os.curdir, os.path.relpath(pyc_file)))
[all …]
/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.py27 curdir = os.getcwd()
49 os.chdir(curdir)
/external/python/cpython2/Lib/
Dposixpath.py30 curdir = '.' variable
387 if not name or name == curdir:
424 def relpath(path, start=curdir):
438 return curdir
Dglob.py49 for name in glob1(os.curdir, basename):
73 dirname = os.curdir
/external/autotest/site_utils/lib/
Dinfra.py27 curdir = os.getcwd()
33 os.chdir(curdir)
/external/python/cpython2/Demo/pdist/
DFSProxy.py28 skipnames = (os.curdir, os.pardir)
116 files = os.listdir(os.curdir)
120 files = os.listdir(os.curdir)
125 files = os.listdir(os.curdir)
/external/python/cpython3/Lib/distutils/tests/
Dtest_build_ext.py386 curdir = os.getcwd()
387 wanted = os.path.join(curdir, 'src', 'lxml', 'etree' + ext)
393 cmd.build_lib = os.path.join(curdir, 'tmpdir')
394 wanted = os.path.join(curdir, 'tmpdir', 'lxml', 'etree' + ext)
403 wanted = os.path.join(curdir, 'tmpdir', 'twisted', 'runner',
410 wanted = os.path.join(curdir, 'twisted', 'runner', 'portmap' + ext)
/external/python/cpython2/Lib/test/
Dtest_import.py100 sys.path.insert(0, os.curdir)
117 sys.path.insert(0, os.curdir)
145 sys.path.insert(0, os.curdir)
228 sys.path.insert(0, os.curdir)
245 sys.path.insert(0, os.curdir)
339 sys.path.insert(0, os.curdir)
362 sys.path.insert(0, os.curdir)

123456789