HomeSort by relevance Sort by last modified time
    Searched refs:fpath (Results 1 - 25 of 30) sorted by null

1 2

  /external/autotest/client/cros/video/
helper_logger.py 39 fpath = '/sys/module/s5p_mfc/parameters/debug'
40 if os.path.exists(fpath):
41 vlog.add_log([fpath],
49 fpath = '/sys/module/rockchip_vpu/parameters/debug'
50 if os.path.exists(fpath):
51 vlog.add_log([fpath],
59 fpath = '/sys/module/rk3288_vpu/parameters/debug'
60 if os.path.exists(fpath):
61 vlog.add_log([fpath],
67 fpath = '/sys/module/go2001/parameters/go2001_debug_level
    [all...]
  /bionic/tests/
ftw_test.cpp 52 void sanity_check_ftw(const char* fpath, const struct stat* sb, int tflag) {
53 ASSERT_TRUE(fpath != NULL);
60 EXPECT_EQ(-1, stat(fpath, &sb));
66 if (access(fpath, R_OK) == 0) {
67 EXPECT_TRUE(tflag == FTW_D || tflag == FTW_DP) << fpath << ' ' << tflag;
69 EXPECT_EQ(FTW_DNR, tflag) << fpath;
72 EXPECT_EQ(FTW_SL, tflag) << fpath;
74 EXPECT_EQ(FTW_F, tflag) << fpath;
78 void sanity_check_nftw(const char* fpath, const struct stat* sb, int tflag, FTW* ftwbuf) {
79 sanity_check_ftw(fpath, sb, tflag)
    [all...]
  /external/ltp/testcases/commands/file/
file_test.sh 46 local fpath
51 fpath="$TST_DATAROOT/$fname"
53 fpath="$fname"
56 EXPECT_PASS file "$fpath" \> file.out
  /external/toybox/toys/other/
lsattr.c 144 char *fpath = NULL; local
153 fpath = dirtree_path(root, NULL);
156 print_file_attr(fpath);
159 xprintf("\n%s:\n", fpath);
160 free(fpath);
164 free(fpath);
255 char *fpath = NULL; local
269 fpath = dirtree_path(root, NULL);
270 if (-1 == (fd=open(fpath, O_RDONLY | O_NONBLOCK))) {
271 free(fpath);
    [all...]
  /frameworks/native/libs/vr/libpdx_default_transport/private/pdx/default_transport/
service_utility.h 50 // Sends the sysprop_change message to the service at fpath, so it re-reads
55 static int PokeService(const char* fpath, const struct stat* /*sb*/,
61 auto utility = ServiceUtility::Create(fpath, &error);
64 ALOGE("ServiceUtility::PokeService: Failed to open %s: %s.", fpath,
75 fpath, status.GetErrorMessage().c_str());
  /system/extras/pagecache/
dumpcache.c 43 static struct file_info *get_file_info(const char* fpath, size_t file_size) {
60 info->name = malloc(strlen(fpath) + 1);
65 strcpy(info->name, fpath);
75 static int store_num_cached(const char* fpath, const struct stat *sb) {
77 fd = open (fpath, O_RDONLY);
80 fprintf(stderr, "Could not open file: %s\n", fpath);
98 struct file_info *info = get_file_info(fpath, sb->st_size);
110 static int scan_entry(const char *fpath, const struct stat *sb, int typeflag,
113 store_num_cached(fpath, sb);
  /external/llvm/utils/
wciia.py 72 def find_owners(fpath):
82 if fpath == path:
89 if len(fpath) < len(path):
90 rpos = path.find(fpath)
llvm-compilers-check 116 def is_executable(fpath):
117 return os.path.exists(fpath) and os.access(fpath, os.X_OK)
  /prebuilts/go/darwin-x86/src/os/
path_test.go 35 fpath := path + "/file"
36 f, err := Create(fpath)
38 t.Fatalf("create %q: %s", fpath, err)
43 err = MkdirAll(fpath, 0777)
45 t.Fatalf("MkdirAll %q: no error", fpath)
49 t.Fatalf("MkdirAll %q returned %T, not *PathError", fpath, err)
51 if filepath.Clean(perr.Path) != filepath.Clean(fpath) {
52 t.Fatalf("MkdirAll %q returned wrong error path: %q not %q", fpath, filepath.Clean(perr.Path), filepath.Clean(fpath))
56 ffpath := fpath + "/subdir
    [all...]
  /prebuilts/go/linux-x86/src/os/
path_test.go 35 fpath := path + "/file"
36 f, err := Create(fpath)
38 t.Fatalf("create %q: %s", fpath, err)
43 err = MkdirAll(fpath, 0777)
45 t.Fatalf("MkdirAll %q: no error", fpath)
49 t.Fatalf("MkdirAll %q returned %T, not *PathError", fpath, err)
51 if filepath.Clean(perr.Path) != filepath.Clean(fpath) {
52 t.Fatalf("MkdirAll %q returned wrong error path: %q not %q", fpath, filepath.Clean(perr.Path), filepath.Clean(fpath))
56 ffpath := fpath + "/subdir
    [all...]
  /external/v8/src/inspector/build/
compile-scripts.py 64 def is_exe(fpath):
65 return path.isfile(fpath) and os.access(fpath, os.X_OK)
67 fpath, fname = path.split(program)
68 if fpath:
  /system/timezone/tzdatacheck/
tzdatacheck.cpp 175 static int deleteFn(const char* fpath, const struct stat*, int typeflag, struct FTW*) {
176 LOG(DEBUG) << "Inspecting " << fpath;
180 LOG(DEBUG) << "Unlinking " << fpath;
181 if (unlink(fpath)) {
182 PLOG(WARNING) << "Failed to unlink file/symlink " << fpath;
187 LOG(DEBUG) << "Removing dir " << fpath;
188 if (rmdir(fpath)) {
189 PLOG(WARNING) << "Failed to remove dir " << fpath;
193 LOG(WARNING) << "Unsupported file type " << fpath << ": " << typeflag;
  /external/libcap-ng/libcap-ng-0.7/utils/
filecap.c 44 static int check_file(const char *fpath,
52 int fd = open(fpath, O_RDONLY|O_CLOEXEC);
64 printf("%s ", fpath);
  /prebuilts/go/darwin-x86/src/go/internal/gccgoimporter/
importer.go 75 func openExportFile(fpath string) (reader io.ReadSeeker, closer io.Closer, err error) {
76 f, err := os.Open(fpath)
105 cmd := exec.Command("ar", "p", fpath)
125 err = fmt.Errorf("%s: .go_export section not found", fpath)
148 fpath, err := findExportFile(searchpaths, pkgpath)
153 reader, closer, err := openExportFile(fpath)
174 p.init(fpath, reader, imports)
196 // p.init(fpath, suffixreader, nil)
  /prebuilts/go/linux-x86/src/go/internal/gccgoimporter/
importer.go 75 func openExportFile(fpath string) (reader io.ReadSeeker, closer io.Closer, err error) {
76 f, err := os.Open(fpath)
105 cmd := exec.Command("ar", "p", fpath)
125 err = fmt.Errorf("%s: .go_export section not found", fpath)
148 fpath, err := findExportFile(searchpaths, pkgpath)
153 reader, closer, err := openExportFile(fpath)
174 p.init(fpath, reader, imports)
196 // p.init(fpath, suffixreader, nil)
  /external/vboot_reference/cgpt/
cgpt_nor.c 188 static int remove_file_or_dir(const char *fpath, const struct stat *sb,
190 return remove(fpath);
  /test/vts/runners/host/
config_parser.py 187 def _parse_test_file(fpath):
191 fpath: A string that is the path to the test file to parse.
197 with open(fpath, 'r') as f:
  /tools/test/connectivity/acts/framework/acts/
config_parser.py 287 def parse_test_file(fpath):
291 fpath: A string that is the path to the test file to parse.
296 with open(fpath, 'r') as f:
  /external/mksh/src/
exec.c 703 if (!tp->u.fpath) {
712 if (include(tp->u.fpath, 0, NULL, false) < 0 ||
724 cp = tp->u.fpath;
728 "function not defined by", tp->u.fpath);
1161 char *fpath; local
1170 /* prevent FPATH search below */
1184 if ((fpath = str_val(global(TFPATH))) == null) {
1185 tp->u.fpath = NULL;
1188 tp->u.fpath = search_path(name, fpath, R_OK
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_zipfile.py 368 for fpath, fdata in SMALL_TEST_DATA:
369 zipfp.writestr(fpath, fdata)
372 for fpath, fdata in SMALL_TEST_DATA:
373 writtenfile = zipfp.extract(fpath)
376 if os.path.isabs(fpath):
377 correctfile = os.path.join(os.getcwd(), fpath[1:])
379 correctfile = os.path.join(os.getcwd(), fpath)
393 for fpath, fdata in SMALL_TEST_DATA:
394 zipfp.writestr(fpath, fdata)
398 for fpath, fdata in SMALL_TEST_DATA:
    [all...]
  /external/python/cpython2/Lib/test/
test_zipfile.py 442 for fpath, fdata in SMALL_TEST_DATA:
443 zipfp.writestr(fpath, fdata)
446 for fpath, fdata in SMALL_TEST_DATA:
447 writtenfile = zipfp.extract(fpath)
450 correctfile = os.path.join(os.getcwd(), fpath)
465 for fpath, fdata in SMALL_TEST_DATA:
466 zipfp.writestr(fpath, fdata)
470 for fpath, fdata in SMALL_TEST_DATA:
471 outfile = os.path.join(os.getcwd(), fpath)
616 for fpath, fdata in SMALL_TEST_DATA
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_zipfile.py 393 for fpath, fdata in SMALL_TEST_DATA:
394 zipfp.writestr(fpath, fdata)
397 for fpath, fdata in SMALL_TEST_DATA:
398 writtenfile = zipfp.extract(fpath)
401 correctfile = os.path.join(os.getcwd(), fpath)
415 for fpath, fdata in SMALL_TEST_DATA:
416 zipfp.writestr(fpath, fdata)
420 for fpath, fdata in SMALL_TEST_DATA:
421 outfile = os.path.join(os.getcwd(), fpath)
565 for fpath, fdata in SMALL_TEST_DATA
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_zipfile.py 393 for fpath, fdata in SMALL_TEST_DATA:
394 zipfp.writestr(fpath, fdata)
397 for fpath, fdata in SMALL_TEST_DATA:
398 writtenfile = zipfp.extract(fpath)
401 correctfile = os.path.join(os.getcwd(), fpath)
415 for fpath, fdata in SMALL_TEST_DATA:
416 zipfp.writestr(fpath, fdata)
420 for fpath, fdata in SMALL_TEST_DATA:
421 outfile = os.path.join(os.getcwd(), fpath)
565 for fpath, fdata in SMALL_TEST_DATA
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_zipfile.py 393 for fpath, fdata in SMALL_TEST_DATA:
394 zipfp.writestr(fpath, fdata)
397 for fpath, fdata in SMALL_TEST_DATA:
398 writtenfile = zipfp.extract(fpath)
401 correctfile = os.path.join(os.getcwd(), fpath)
415 for fpath, fdata in SMALL_TEST_DATA:
416 zipfp.writestr(fpath, fdata)
420 for fpath, fdata in SMALL_TEST_DATA:
421 outfile = os.path.join(os.getcwd(), fpath)
565 for fpath, fdata in SMALL_TEST_DATA
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_zipfile.py 393 for fpath, fdata in SMALL_TEST_DATA:
394 zipfp.writestr(fpath, fdata)
397 for fpath, fdata in SMALL_TEST_DATA:
398 writtenfile = zipfp.extract(fpath)
401 correctfile = os.path.join(os.getcwd(), fpath)
415 for fpath, fdata in SMALL_TEST_DATA:
416 zipfp.writestr(fpath, fdata)
420 for fpath, fdata in SMALL_TEST_DATA:
421 outfile = os.path.join(os.getcwd(), fpath)
565 for fpath, fdata in SMALL_TEST_DATA
    [all...]

Completed in 1019 milliseconds

1 2