Home
last modified time | relevance | path

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

12345678

/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/scripts/
Dgen_archrast.py171 curdir = os.path.dirname(os.path.abspath(__file__))
172 template_file = os.sep.join([curdir, 'templates', 'ar_event_h.template'])
181 curdir = os.path.dirname(os.path.abspath(__file__))
182 template_file = os.sep.join([curdir, 'templates', 'ar_event_cpp.template'])
191 curdir = os.path.dirname(os.path.abspath(__file__))
192 template_file = os.sep.join([curdir, 'templates', 'ar_eventhandler_h.template'])
202 curdir = os.path.dirname(os.path.abspath(__file__))
203 template_file = os.sep.join([curdir, 'templates', 'ar_eventhandlerfile_h.template'])
/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.py30 curdir = '.' variable
394 curdir = b'.'
398 curdir = '.'
407 if not name or name == curdir:
452 curdir = b'.'
456 curdir = '.'
461 start = curdir
473 return curdir
494 curdir = b'.'
497 curdir = '.'
[all …]
Dntpath.py24 curdir = '.' variable
477 curdir = b'.'
483 curdir = '.'
503 if not comps[i] or comps[i] == curdir:
517 comps.append(curdir)
564 curdir = b'.'
568 curdir = '.'
572 start = curdir
598 return curdir
625 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/cpython2/Lib/distutils/tests/
Dtest_build_ext.py340 curdir = os.getcwd()
341 wanted = os.path.join(curdir, 'src', 'lxml', 'etree' + ext)
347 cmd.build_lib = os.path.join(curdir, 'tmpdir')
348 wanted = os.path.join(curdir, 'tmpdir', 'lxml', 'etree' + ext)
357 wanted = os.path.join(curdir, 'tmpdir', 'twisted', 'runner',
364 wanted = os.path.join(curdir, 'twisted', 'runner', 'portmap' + ext)
376 curdir = os.getcwd()
378 wanted = os.path.join(curdir, 'src', 'lxml', 'etree' + ext)
401 curdir = os.getcwd()
403 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/cpython2/Tools/scripts/
Dlll.py12 if name not in (os.curdir, os.pardir):
18 if not args: args = [os.curdir]
/external/python/cpython3/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__.py130 sys.path.insert(0, os.curdir)
186 sys.path.insert(0, os.curdir)
216 sys.path.insert(0, os.curdir)
255 sys.path.insert(0, os.curdir)
297 sys.path.insert(0, os.curdir)
668 sys.path.insert(0, os.curdir)
672 assert sys.path[0] == os.curdir, 'Unexpected sys.path[0]'
728 os.path.join(os.curdir, os.path.relpath(pyc_file)))
734 self.assertEqual(m.__cached__, os.path.join(os.curdir, pyc_file))
750 os.path.join(os.curdir, os.path.relpath(pyc_file)))
[all …]
/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/guice/util/
DcompareBuilds.sh43 curdir=`pwd`
85 cd "$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/python/cpython3/Lib/distutils/tests/
Dtest_build_ext.py377 curdir = os.getcwd()
378 wanted = os.path.join(curdir, 'src', 'lxml', 'etree' + ext)
384 cmd.build_lib = os.path.join(curdir, 'tmpdir')
385 wanted = os.path.join(curdir, 'tmpdir', 'lxml', 'etree' + ext)
394 wanted = os.path.join(curdir, 'tmpdir', 'twisted', 'runner',
401 wanted = os.path.join(curdir, 'twisted', 'runner', 'portmap' + ext)
/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/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)
Dtest_aepack.py66 o = Carbon.File.FSSpec(os.curdir)
78 o = Carbon.File.FSSpec(os.curdir).NewAliasMinimal()

12345678