Home
last modified time | relevance | path

Searched refs:cur_dir (Results 1 – 17 of 17) sorted by relevance

/external/strace/tests-m32/
Dgetcwd.c15 char cur_dir[PATH_MAX + 1]; in main() local
18 res = syscall(__NR_getcwd, cur_dir, sizeof(cur_dir)); in main()
24 print_quoted_string(cur_dir); in main()
25 printf(", %zu) = %ld\n", sizeof(cur_dir), res); in main()
27 res = syscall(__NR_getcwd, cur_dir, 0); in main()
28 printf("getcwd(%p, 0) = %s\n", cur_dir, sprintrc(res)); in main()
33 res = syscall(__NR_getcwd, (void *) -1L, sizeof(cur_dir)); in main()
35 (void *) -1L, sizeof(cur_dir), sprintrc(res)); in main()
/external/strace/tests-mx32/
Dgetcwd.c15 char cur_dir[PATH_MAX + 1]; in main() local
18 res = syscall(__NR_getcwd, cur_dir, sizeof(cur_dir)); in main()
24 print_quoted_string(cur_dir); in main()
25 printf(", %zu) = %ld\n", sizeof(cur_dir), res); in main()
27 res = syscall(__NR_getcwd, cur_dir, 0); in main()
28 printf("getcwd(%p, 0) = %s\n", cur_dir, sprintrc(res)); in main()
33 res = syscall(__NR_getcwd, (void *) -1L, sizeof(cur_dir)); in main()
35 (void *) -1L, sizeof(cur_dir), sprintrc(res)); in main()
/external/strace/tests/
Dgetcwd.c15 char cur_dir[PATH_MAX + 1]; in main() local
18 res = syscall(__NR_getcwd, cur_dir, sizeof(cur_dir)); in main()
24 print_quoted_string(cur_dir); in main()
25 printf(", %zu) = %ld\n", sizeof(cur_dir), res); in main()
27 res = syscall(__NR_getcwd, cur_dir, 0); in main()
28 printf("getcwd(%p, 0) = %s\n", cur_dir, sprintrc(res)); in main()
33 res = syscall(__NR_getcwd, (void *) -1L, sizeof(cur_dir)); in main()
35 (void *) -1L, sizeof(cur_dir), sprintrc(res)); in main()
/external/curl/tests/
Dpathhelp.pm137 my $cur_dir;
140 chomp($cur_dir = `bash -c 'pwd -W'`);
146 $cur_dir .= '/' if length($cur_dir) > 3;
150 $cur_dir = `cmd "/c;" echo %__CD__%`;
151 if($? != 0 || substr($cur_dir, 0, 1) eq '%') {
156 $cur_dir =~ s{\n|\r}{}g;
159 $cur_dir =~ s{\\}{/}g;
161 return $cur_dir;
375 my $cur_dir = `pwd -L`;
380 chomp($cur_dir);
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/
Dgen_knobs.py39 cur_dir = os.path.dirname(os.path.abspath(__file__))
40 template_cpp = os.path.join(cur_dir, 'templates', 'gen_knobs.cpp')
41 template_h = os.path.join(cur_dir, 'templates', 'gen_knobs.h')
Dgen_llvm_types.py308 cur_dir = os.path.dirname(os.path.abspath(__file__))
309 template = os.path.join(cur_dir, 'templates', 'gen_llvm.hpp')
/external/tensorflow/tensorflow/lite/experimental/micro/tools/make/targets/ecm3531/
Dflash_program37 cur_dir = os.getcwd() variable
39 elf_file = cur_dir + '/../../gen/ecm3531_cortex-m3/bin/' + sys.argv[1]
Dload_program37 cur_dir = os.getcwd() variable
39 elf_file = cur_dir + '/../../gen/ecm3531_cortex-m3/bin/' + sys.argv[1]
/external/mesa3d/src/mesa/main/
Dget_hash_generator.py35 cur_dir = os.path.dirname(sys.argv[0]) variable
36 param_desc_file = "%s/get_hash_params.py" % cur_dir
38 GLAPI = "%s/../../mapi/glapi/gen" % cur_dir
/external/dtc/
Dsrcpos.c100 const char *cur_dir = NULL; in fopen_any_on_path() local
107 cur_dir = current_srcfile->dir; in fopen_any_on_path()
108 fullname = try_open(cur_dir, fname, fp); in fopen_any_on_path()
/external/u-boot/scripts/dtc/
Dsrcpos.c100 const char *cur_dir = NULL; in fopen_any_on_path() local
107 cur_dir = current_srcfile->dir; in fopen_any_on_path()
108 fullname = try_open(cur_dir, fname, fp); in fopen_any_on_path()
/external/swiftshader/third_party/LLVM/lib/Support/Unix/
DPathV2.inc465 dirent *cur_dir = ::readdir(reinterpret_cast<DIR *>(it.IterationHandle));
466 if (cur_dir == 0 && errno != 0) {
468 } else if (cur_dir != 0) {
469 StringRef name(cur_dir->d_name, NAMLEN(cur_dir));
/external/llvm/lib/Support/Unix/
DPath.inc536 dirent *cur_dir = ::readdir(reinterpret_cast<DIR *>(it.IterationHandle));
537 if (cur_dir == nullptr && errno != 0) {
539 } else if (cur_dir != nullptr) {
540 StringRef name(cur_dir->d_name, NAMLEN(cur_dir));
/external/python/cpython3/Lib/unittest/test/
Dtest_program.py382 cur_dir = os.getcwd()
385 return os.path.join(cur_dir, name)
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DPath.inc552 dirent *cur_dir = ::readdir(reinterpret_cast<DIR *>(it.IterationHandle));
553 if (cur_dir == nullptr && errno != 0) {
555 } else if (cur_dir != nullptr) {
556 StringRef name(cur_dir->d_name, NAMLEN(cur_dir));
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/
DPath.inc696 dirent *cur_dir = ::readdir(reinterpret_cast<DIR *>(it.IterationHandle));
697 if (cur_dir == nullptr && errno != 0) {
699 } else if (cur_dir != nullptr) {
700 StringRef name(cur_dir->d_name);
/external/google-styleguide/cpplint/
Dcpplint_unittest.py4292 cur_dir = os.getcwd()
4311 os.chdir(cur_dir)