Home
last modified time | relevance | path

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

12345

/third_party/node/deps/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')
/third_party/openssl/test/recipes/
D40-test_rehash.t30 ok(run(app(["openssl", "rehash", curdir()])),
36 ok(run(app(["openssl", "rehash", curdir()])),
41 ok(run(app(["openssl", "rehash", curdir()])),
47 chmod 0500, curdir();
53 isnt(run(app(["openssl", "rehash", curdir()])), 1,
56 chmod 0700, curdir(); # make it writable again, so cleanup works
76 catfile(curdir(),
D60-test_x509_store.t43 copy(srctop_file("test", "certs", "$_.pem"), curdir());
45 ok(run(app([qw(openssl rehash), curdir()])), "Rehashing");
48 ok(verify("ee-cert", "sslserver", curdir(), ["ca-cert"], "-show_chain"),
52 ok(!verify("ca-root2", "any", curdir(), [], "-show_chain"));
D90-test_store.t283 catdir(curdir(), 'rehash')])));
287 catdir(curdir(), 'rehash')])));
290 catdir(curdir(), 'rehash')])));
293 catdir(curdir(), 'rehash')])));
297 catdir(curdir(), 'rehash')])));
301 catdir(curdir(), 'rehash')])));
528 mkdir(catdir(curdir(), 'rehash'))
530 catdir(curdir(), 'rehash'))
532 catdir(curdir(), 'rehash'))
533 && run(app(['openssl', 'rehash', catdir(curdir(), 'rehash')]))
/third_party/ltp/testcases/kernel/mem/hugetlb/lib/
Dhugetlb.c52 char *curdir = NULL; in getipckey() local
57 curdir = getcwd(curdir, size); in getipckey()
58 if (curdir == NULL) in getipckey()
76 ipc_key = ftok(curdir, ascii_a + random() % 26); in getipckey()
/third_party/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/*
/third_party/python/Lib/
Dposixpath.py16 curdir = '.' variable
403 curdir = b'.'
407 curdir = '.'
416 if not name or name == curdir:
473 curdir = b'.'
477 curdir = '.'
482 start = curdir
494 return curdir
515 curdir = b'.'
518 curdir = '.'
[all …]
Dntpath.py11 curdir = '.' variable
469 curdir = b'.'
475 curdir = '.'
496 if not comps[i] or comps[i] == curdir:
510 comps.append(curdir)
698 curdir = b'.'
702 curdir = '.'
706 start = curdir
732 return curdir
759 curdir = b'.'
[all …]
Dshutil.py969 if path != os.curdir:
1067 base_dir = os.curdir
1432 curdir = os.curdir
1434 curdir = os.fsencode(curdir)
1435 if curdir not in path:
1436 path.insert(0, curdir)
/third_party/python/Lib/test/
Dtest_glob.py115 res = glob.glob(os.path.join(os.curdir, '*'))
120 res = glob.glob(os.path.join(os.fsencode(os.curdir), b'*'))
271 eq(self.rglob(os.curdir, '**'),
272 self.joins((os.curdir, ''), *((os.curdir,) + i for i in full)))
303 eq(glob.glob(join(os.curdir, '**'), recursive=True),
304 [join(os.curdir, '')] + [join(os.curdir, *i) for i in full])
305 eq(glob.glob(join(os.curdir, '**', ''), recursive=True),
306 [join(os.curdir, '')] + [join(os.curdir, *i) for i in dirs])
307 eq(glob.glob(join(os.curdir, '**', '*'), recursive=True),
308 [join(os.curdir, *i) for i in full])
[all …]
/third_party/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()
/third_party/ltp/libs/libltpipc/
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()
/third_party/musl/ndk-test/script/
Dbuild.py61 for curdir, dirs, files in os.walk(file_path):
70 copy_tar_out = os.path.join(find_dir,'target',name,os.path.basename(curdir))
74 tar_out = os.path.join(curdir,dirname)
96 for curdir, dirs, files in os.walk(del_file_path):
100 shutil.rmtree(os.path.join(curdir,dirname))
/third_party/mtdev/patch/
Dapply_patch.sh30 curdir=$(pwd)
35 echo "curdir: $curdir"
83 cd $curdir
/third_party/libinput/patch/
Dapply_patch.sh30 curdir=$(pwd)
35 echo "curdir: $curdir"
83 cd $curdir
/third_party/libwebsockets/minimal-examples/
DCMakeLists.txt24 MACRO(SUBDIRLIST result curdir)
25 FILE(GLOB children RELATIVE ${curdir} ${curdir}/*)
29 IF (IS_DIRECTORY ${curdir}/${child})
/third_party/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()
/third_party/python/Tools/scripts/
Dlll.py12 if name not in (os.curdir, os.pardir):
17 if not args: args = [os.curdir]
/third_party/skia/tools/
Dmerge_static_libs.py31 curdir = os.getcwd()
53 os.chdir(curdir)
/third_party/python/Lib/distutils/tests/
Dtest_build_ext.py412 curdir = os.getcwd()
413 wanted = os.path.join(curdir, 'src', 'lxml', 'etree' + ext)
419 cmd.build_lib = os.path.join(curdir, 'tmpdir')
420 wanted = os.path.join(curdir, 'tmpdir', 'lxml', 'etree' + ext)
429 wanted = os.path.join(curdir, 'tmpdir', 'twisted', 'runner',
436 wanted = os.path.join(curdir, 'twisted', 'runner', 'portmap' + ext)
/third_party/python/Lib/test/test_import/
D__init__.py184 sys.path.insert(0, os.curdir)
240 sys.path.insert(0, os.curdir)
287 sys.path.insert(0, os.curdir)
326 sys.path.insert(0, os.curdir)
368 sys.path.insert(0, os.curdir)
848 sys.path.insert(0, os.curdir)
852 assert sys.path[0] == os.curdir, 'Unexpected sys.path[0]'
909 os.path.join(os.getcwd(), os.curdir, os.path.relpath(pyc_file)))
917 self.assertEqual(m.__cached__, os.path.join(os.getcwd(), os.curdir, pyc_file))
933 os.path.join(os.getcwd(), os.curdir, os.path.relpath(pyc_file)))
[all …]
/third_party/python/Lib/distutils/
Dfilelist.py38 def findall(self, dir=os.curdir):
258 def findall(dir=os.curdir):
264 if dir == os.curdir:
/third_party/python/Mac/BuildScript/
Dbuild-installer.py723 curdir = os.getcwd()
762 os.chdir(curdir)
939 curdir = os.getcwd()
971 fn = os.path.join(curdir, patch)
982 fn = os.path.join(curdir, patchscript)
1051 os.chdir(curdir)
1128 curdir = os.getcwd()
1377 os.chdir(curdir)
1407 curdir = os.getcwd()
1495 os.chdir(curdir)
/third_party/python/Lib/idlelib/idle_test/
Dtest_grep.py63 filelist = list(ff(os.curdir, filename, False))
64 self.assertIn(os.path.join(os.curdir, filename), filelist)

12345