Home
last modified time | relevance | path

Searched refs:fpath (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
Dtest_cors.py99 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 …]
Dtest_lifecycle.py81 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 …]
Dtest_cp.py267 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 …]
Dtest_file_part.py32 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)
Dtest_Doption.py38 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)
Dtest_copy_helper_funcs.py92 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)
Dtest_du.py224 fpath = self.CreateTempFile(contents='*sub2/five*\n*sub1/four')
230 'du', '-X', fpath, suri(bucket_uri)], return_stdout=True)
Dtest_ls.py375 fpath = self.CreateTempFile(contents=file_contents, file_name='foo.txt')
377 self.RunGsUtil(['cp', '-z', 'txt', suri(fpath), suri(key_uri)])
/external/toybox/toys/other/
Dlsattr.c141 char *fpath = NULL; in retell_dir() local
150 fpath = dirtree_path(root, NULL); in retell_dir()
153 print_file_attr(fpath); in retell_dir()
156 xprintf("\n%s:\n", fpath); in retell_dir()
157 free(fpath); in retell_dir()
161 free(fpath); in retell_dir()
252 char *fpath = NULL; in update_attr() local
266 fpath = dirtree_path(root, NULL); in update_attr()
267 if (-1 == (fd=open(fpath, O_RDONLY | O_NONBLOCK))) { in update_attr()
268 free(fpath); in update_attr()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/gslib/
D__init__.py99 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())
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/testcase/
Dbase.py138 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/libcxx/cmake/Modules/
DHandleLibCXXABI.cmake34 foreach(fpath ${LIBCXX_ABILIB_FILES})
37 if (EXISTS "${incpath}/${fpath}")
39 get_filename_component(dstdir ${fpath} PATH)
40 get_filename_component(ifile ${fpath} NAME)
41 file(COPY "${incpath}/${fpath}"
44 install(FILES "${CMAKE_BINARY_DIR}/include/${fpath}"
48 list(APPEND abilib_headers "${CMAKE_BINARY_DIR}/include/${fpath}")
52 message(WARNING "Failed to find ${fpath}")
/external/llvm/utils/
Dwciia.py72 def find_owners(fpath): argument
82 if fpath == path:
89 if len(fpath) < len(path):
90 rpos = path.find(fpath)
Dllvm-compilers-check116 def is_executable(fpath): argument
117 return os.path.exists(fpath) and os.access(fpath, os.X_OK)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/gs/
Dtest_basic.py94 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/chromium-trace/catapult/third_party/coverage/coverage/
Dfiles.py197 def match(self, fpath): argument
200 if fpath.startswith(d):
201 if fpath == d:
204 if fpath[len(d)] == os.sep:
261 def match(self, fpath): argument
263 return self.re.match(fpath) is not None
/external/libcap-ng/libcap-ng-0.7/utils/
Dfilecap.c44 static int check_file(const char *fpath, in check_file() argument
52 int fd = open(fpath, O_RDONLY|O_CLOEXEC); in check_file()
64 printf("%s ", fpath); in check_file()
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/
Dperfdiag.py500 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)
602 for fpath in self.temporary_files:
603 os.remove(fpath)
695 for fpath in self.latency_files:
[all …]
/external/opencv3/modules/viz/src/vtk/
DvtkTrajectorySource.cpp90 const Affine3f* fpath = _traj.getMat().ptr<Affine3f>(); in ExtractPoints() local
94 points.at<Vec3f>(i) = fpath[i].translation(); in ExtractPoints()
/external/mksh/src/
Dexec.c734 if (!tp->u.fpath) { in comexec()
741 if (include(tp->u.fpath, 0, NULL, false) < 0) { in comexec()
756 tp->u.fpath, cstrerror(errno)); in comexec()
769 "function not defined by", tp->u.fpath); in comexec()
1148 char *fpath; in findcom() local
1167 if ((fpath = str_val(global("FPATH"))) == null) { in findcom()
1168 tp->u.fpath = NULL; in findcom()
1171 tp->u.fpath = search_path(name, fpath, R_OK, in findcom()
1212 (fpath = str_val(global("FPATH"))) != null && in findcom()
1213 (npath.ro = search_path(name, fpath, R_OK, in findcom()
[all …]
Dedit.c457 char *pat, *fpath; in x_command_glob() local
474 if ((fpath = str_val(global("FPATH"))) != null) in x_command_glob()
475 glob_path(flags, pat, &w, fpath); in x_command_glob()
/external/vboot_reference/cgpt/
Dcgpt_nor.c188 static int remove_file_or_dir(const char *fpath, const struct stat *sb, in remove_file_or_dir() argument
190 return remove(fpath); in remove_file_or_dir()
/external/compiler-rt/test/BlocksRuntime/
Dtestfilerunner.m197 char fpath[1024];
205 sprintf(fpath, "DYLD_FRAMEWORK_PATH=%s", frameworkPath);
206 myenv[counter++] = fpath;
/external/autotest/client/cros/
Dpower_status.py1505 fpath = tstats.fields[kname][0]
1506 new_meas = TempMeasurement(domain, fpath)
/external/curl/docs/
DKNOWN_BUGS205 <password>, and <fpath> components, encoded as "%00". The problem is that

12