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

1 2

  /bionic/tests/
ftw_test.cpp 50 void sanity_check_ftw(const char* fpath, const struct stat* sb, int tflag) {
51 ASSERT_TRUE(fpath != NULL);
55 EXPECT_TRUE(tflag == FTW_D || tflag == FTW_DNR || tflag == FTW_DP) << fpath;
57 EXPECT_EQ(FTW_SL, tflag) << fpath;
59 EXPECT_EQ(FTW_F, tflag) << fpath;
63 void sanity_check_nftw(const char* fpath, const struct stat* sb, int tflag, struct FTW* ftwbuf) {
64 sanity_check_ftw(fpath, sb, tflag);
65 ASSERT_EQ('/', fpath[ftwbuf->base - 1]) << fpath;
68 int check_ftw(const char* fpath, const struct stat* sb, int tflag)
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
test_cors.py 99 fpath = self.CreateTempFile(contents=self.empty_doc1)
100 self.RunGsUtil(self._set_cmd_prefix + [fpath, suri(bucket_uri)])
107 fpath = self.CreateTempFile(contents=self.empty_doc2)
108 self.RunGsUtil(self._set_cmd_prefix + [fpath, suri(bucket_uri)])
115 fpath = self.CreateTempFile(contents=self.cors_doc)
116 self.RunGsUtil(self._set_cmd_prefix + [fpath, suri(bucket_uri)])
123 fpath = self.CreateTempFile(contents=self.xml_cors_doc)
124 stderr = self.RunGsUtil(self._set_cmd_prefix + [fpath, suri(bucket_uri)],
130 fpath = self.CreateTempFile(contents=self.cors_bad)
131 stderr = self.RunGsUtil(self._set_cmd_prefix + [fpath, suri(bucket_uri)]
    [all...]
test_lifecycle.py 81 fpath = self.CreateTempFile(contents=self.empty_doc1)
82 self.RunGsUtil(['lifecycle', 'set', fpath, suri(bucket_uri)])
89 fpath = self.CreateTempFile(contents=self.lifecycle_doc)
90 self.RunGsUtil(['lifecycle', 'set', fpath, suri(bucket_uri)])
97 fpath = self.CreateTempFile(contents=self.lifecycle_doc_bucket_style)
98 self.RunGsUtil(['lifecycle', 'set', fpath, suri(bucket_uri)])
105 fpath = self.CreateTempFile(contents=self.lifecycle_created_before_doc)
106 self.RunGsUtil(['lifecycle', 'set', fpath, suri(bucket_uri)])
113 fpath = self.CreateTempFile(contents=self.bad_doc)
114 stderr = self.RunGsUtil(['lifecycle', 'set', fpath, suri(bucket_uri)]
    [all...]
test_file_part.py 32 fpath = self.CreateTempFile(file_name=filename, contents=contents)
35 fp = FilePart(fpath, start_pos, part_length)
45 fpath = self.CreateTempFile(file_name=filename, contents=contents)
46 fp = FilePart(fpath, start_pos, part_length)
77 fpath = self.CreateTempFile(file_name=filename, contents=contents)
80 fp = FilePart(fpath, start_pos, part_length)
test_cp.py 267 fpath = self.CreateTempFile(contents='bar')
268 stderr = self.RunGsUtil(['cp', '-n', fpath, suri(key_uri)],
272 stderr = self.RunGsUtil(['cp', '-n', suri(key_uri), fpath],
274 with open(fpath, 'r') as f:
279 fpath = self.CreateTempFile(contents='foo')
282 stderr = self.RunGsUtil(['cp', fpath, invalid_bucket_uri],
405 fpath = self.CreateTempFile(contents='foo/bar\n')
406 self.RunGsUtil(['cp', fpath, dsturi])
423 fpath = self.CreateTempFile(contents='foo/bar\n')
445 self.RunGsUtil(['-h', 'Content-Type:image/gif', 'cp', fpath, dsturi]
    [all...]
test_Doption.py 38 fpath = self.CreateTempFile(contents=file_contents)
43 ['-D', 'cp', fpath, suri(bucket_uri)], return_stderr=True)
44 print 'command line:' + ' '.join(['-D', 'cp', fpath, suri(bucket_uri)])
53 fpath = self.CreateTempFile(contents='a1b2c3d4')
57 ['-D', 'cp', fpath, suri(bucket_uri)], return_stderr=True)
test_copy_helper_funcs.py 92 fpath = self.CreateTempFile(file_name='foo', contents=contents)
96 fpath, tracker_file_lock)
103 fpath = self.CreateTempFile(file_name='foo', contents='')
106 fpath, tracker_file_lock)
test_du.py 224 fpath = self.CreateTempFile(contents='*sub2/five*\n*sub1/four')
230 'du', '-X', fpath, suri(bucket_uri)], return_stdout=True)
  /external/toybox/toys/other/
lsattr.c 141 char *fpath = NULL; local
150 fpath = dirtree_path(root, NULL);
153 print_file_attr(fpath);
156 xprintf("\n%s:\n", fpath);
157 free(fpath);
161 free(fpath);
252 char *fpath = NULL; local
266 fpath = dirtree_path(root, NULL);
267 if (-1 == (fd=open(fpath, O_RDONLY | O_NONBLOCK))) {
268 free(fpath);
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/gslib/
__init__.py 99 fpath = os.path.join(PROGRAM_FILES_DIR, filename)
100 if os.path.isfile(fpath):
101 with open(fpath, 'r') as f:
105 fpath = None
106 return (fpath, content.strip())
  /system/core/tzdatacheck/
tzdatacheck.cpp 82 static int deleteFn(const char* fpath, const struct stat*, int typeflag, struct FTW*) {
83 LOG(DEBUG) << "Inspecting " << fpath;
87 LOG(DEBUG) << "Unlinking " << fpath;
88 if (unlink(fpath)) {
89 PLOG(WARNING) << "Failed to unlink file/symlink " << fpath;
94 LOG(DEBUG) << "Removing dir " << fpath;
95 if (rmdir(fpath)) {
96 PLOG(WARNING) << "Failed to remove dir " << fpath;
100 LOG(WARNING) << "Unsupported file type " << fpath << ": " << typeflag;
  /system/extras/pagecache/
dumpcache.c 42 static struct file_info *get_file_info(const char* fpath, size_t file_size) {
59 info->name = malloc(strlen(fpath) + 1);
64 strcpy(info->name, fpath);
74 static int store_num_cached(const char* fpath, const struct stat *sb) {
76 fd = open (fpath, O_RDONLY);
96 struct file_info *info = get_file_info(fpath, sb->st_size);
107 static int scan_entry(const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf) {
109 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)
  /external/chromium-trace/catapult/third_party/gsutil/gslib/tests/testcase/
base.py 138 fpath = os.path.join(tmpdir, file_name)
140 fpath = os.path.join(tmpdir, *file_name)
141 if not os.path.isdir(os.path.dirname(fpath)):
142 os.makedirs(os.path.dirname(fpath))
144 with open(fpath, 'wb') as f:
148 return fpath
  /external/v8/build/util/
java_action.py 42 fpath, _ = os.path.split(command)
43 if fpath:
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/gs/
test_basic.py 94 fpath = os.path.join(tmpdir, key_name)
95 fp = open(fpath, 'wb')
99 fp = open(fpath)
121 fpath = os.path.join(tmpdir, 'foobar1')
152 fp = open(fpath, 'wb')
156 fp = open(fpath, 'rb')
293 fpath = os.path.join(tmpdir, 'foobar')
294 fp = open(fpath, 'wb')
297 fp = open(fpath)
  /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);
  /external/chromium-trace/catapult/third_party/coverage/coverage/
files.py 197 def match(self, fpath):
198 """Does `fpath` indicate a file in one of our trees?"""
200 if fpath.startswith(d):
201 if fpath == d:
204 if fpath[len(d)] == os.sep:
261 def match(self, fpath):
262 """Does `fpath` match one of our file name patterns?"""
263 return self.re.match(fpath) is not None
  /external/opencv3/modules/viz/src/vtk/
vtkTrajectorySource.cpp 90 const Affine3f* fpath = _traj.getMat().ptr<Affine3f>(); local
94 points.at<Vec3f>(i) = fpath[i].translation();
  /external/chromium-trace/catapult/third_party/gsutil/gslib/commands/
perfdiag.py 491 temp_file_dict[fpath].md5, tempfile_data[fpath].file_size.
493 temp_file_dict[fpath].data
500 fd, fpath = tempfile.mkstemp(suffix='.bin', prefix=prefix,
513 with open(fpath, 'rb') as fp:
517 temp_file_dict[fpath] = FileDataTuple(file_size, md5, data)
519 self.temporary_files.add(fpath)
520 return fpath
546 fpath = self._MakeTempFile(file_size, mem_metadata=True, mem_data=True)
547 self.latency_files.append(fpath)
    [all...]
  /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);
  /external/mksh/src/
exec.c 734 if (!tp->u.fpath) {
741 if (include(tp->u.fpath, 0, NULL, false) < 0) {
756 tp->u.fpath, cstrerror(errno));
769 "function not defined by", tp->u.fpath);
1148 char *fpath; local
1153 /* prevent FPATH search below */
1167 if ((fpath = str_val(global("FPATH"))) == null) {
1168 tp->u.fpath = NULL;
1171 tp->u.fpath = search_path(name, fpath, R_OK
    [all...]
  /tools/test/connectivity/acts/framework/acts/bin/
act.py 285 def _parse_test_file(fpath):
287 with open(fpath, 'r') as f:
  /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...]

Completed in 1239 milliseconds

1 2