Home
last modified time | relevance | path

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

123456

/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.c56 char *curdir = NULL; in getipckey() local
61 curdir = getcwd(curdir, size); in getipckey()
62 if (curdir == NULL) in getipckey()
80 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/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/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.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/python/cpython2/Tools/scripts/
Dlll.py12 if name not in (os.curdir, os.pardir):
18 if not args: args = [os.curdir]
/external/guice/util/
DcompareBuilds.sh43 curdir=`pwd`
85 cd "$curdir"
/external/skia/tools/
Dmerge_static_libs.py27 curdir = os.getcwd()
49 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
Dcompileall.py53 name != os.curdir and name != os.pardir and \
125 if (not dir or dir == os.curdir) and skip_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/cpython2/Lib/test/
Dtest_aepack.py66 o = Carbon.File.FSSpec(os.curdir)
78 o = Carbon.File.FSSpec(os.curdir).NewAliasMinimal()
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_posix.py134 self.assertTrue(posix.statvfs(os.curdir))
391 posix.chdir(os.curdir)
396 self.assertIn(test_support.TESTFN, posix.lsdir(os.curdir))
425 self.assertTrue(posix.tempnam(os.curdir))
426 self.assertTrue(posix.tempnam(os.curdir, 'blah'))
511 curdir = os.getcwd()
553 os.chdir(curdir)
Dtest_glob.py73 res = glob.glob(os.path.join(os.curdir, '*'))
78 tmp = os.listdir(fsdecode(os.curdir))
82 res = glob.glob(os.path.join(fsdecode(os.curdir), u'*'))
/external/python/cpython2/Lib/distutils/
Dfilelist.py39 def findall(self, dir=os.curdir):
256 def findall(dir = os.curdir):
272 if dir != os.curdir: # avoid the dreaded "./" syndrome
/external/python/cpython2/Demo/threads/
Dfind.py109 args = [os.curdir]
139 if name not in (os.curdir, os.pardir):
/external/python/cpython2/Mac/BuildScript/
Dbuild-installer.py765 curdir = os.getcwd()
804 os.chdir(curdir)
975 curdir = os.getcwd()
1007 fn = os.path.join(curdir, patch)
1018 fn = os.path.join(curdir, patchscript)
1090 os.chdir(curdir)
1141 curdir = os.getcwd()
1326 os.chdir(curdir)
1362 curdir = os.getcwd()
1450 os.chdir(curdir)
/external/antlr/antlr-3.4/runtime/Python/
Dez_setup.py60 version=DEFAULT_VERSION, download_base=DEFAULT_URL, to_dir=os.curdir,
101 version=DEFAULT_VERSION, download_base=DEFAULT_URL, to_dir=os.curdir,

123456