/frameworks/base/tools/aapt2/tools/consumers/ |
positional_arguments.py | 13 def matches(self, file_path): 14 dirname, basename = os.path.split(file_path)
|
/frameworks/base/tools/aapt2/tools/ |
extract_unicode_properties.py | 93 for file_path in sys.argv[1:]: 94 with open(file_path) as f:
|
/art/oatdump/ |
oatdump_test.h | 143 std::string file_path = GetExecutableFilePath(flavor, "oatdump"); local 145 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; 148 std::vector<std::string> exec_argv = { file_path };
|
/bootable/recovery/tests/manual/ |
recovery_test.cpp | 127 std::string file_path = dir_path + namelist[n]->d_name; local 128 files.push_back(file_path); 143 std::string file_path = GetParam(); variable 144 fp = fopen(file_path.c_str(), "rbe");
|
/build/make/tools/releasetools/ |
validate_target_files.py | 48 def ValidateFileAgainstSha1(input_tmp, file_name, file_path, expected_sha1): 52 unpacked_name = os.path.join(input_tmp, file_path) 178 file_path='IMAGES/boot.img', 185 file_path='IMAGES/recovery.img',
|
/external/libbrillo/brillo/ |
cryptohome.h | 10 #include <base/files/file_path.h>
|
/external/libbrillo/brillo/daemons/ |
daemon.cc | 10 #include <base/files/file_path.h>
|
/external/puffin/src/include/puffin/ |
utils.h | 41 bool LocateDeflatesInZlibBlocks(const std::string& file_path,
|
/hardware/qcom/gps/msm8998/utils/ |
loc_target.cpp | 71 static int read_a_line(const char * file_path, char * line, int line_size) 77 fp = fopen(file_path, "r" ); 79 LOC_LOGE("open failed: %s: %s\n", file_path, strerror(errno)); 87 LOC_LOGD("cat %s: %s", file_path, line);
|
/prebuilts/ndk/ |
update.py | 97 file_path = os.path.join(path, file_name) 98 remove(file_path) 103 file_path = os.path.join(path, file_name) 104 remove(file_path)
|
/system/update_engine/common/ |
hwid_override_unittest.cc | 21 #include <base/files/file_path.h>
|
/system/update_engine/ |
p2p_manager.h | 24 #include <base/files/file_path.h>
|
/system/update_engine/update_manager/ |
real_random_provider.cc | 24 #include <base/files/file_path.h>
|
/test/vts/utils/python/mirror/ |
mirror_object.py | 136 file_path=target_filename,
|
/test/vts-testcase/fuzz/script/config/ |
config_gen.py | 84 file_path = os.path.join(base_dir, file_name) 86 old_config[file_path] = self._GetPlansFromConfig(file_path) 88 os.remove(file_path)
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
linux_dumper.cc | 224 char* file_path, 228 my_strlcpy(file_path, mapping.name, file_path_size); 242 // file_path := /path/to/ARCHIVE.APK/libname.so 243 if (my_strlen(file_path) + 1 + my_strlen(file_name) < file_path_size) { 244 my_strlcat(file_path, "/", file_path_size); 245 my_strlcat(file_path, file_name, file_path_size); 249 // file_path := /path/to/libname.so 251 const char* basename = my_strrchr(file_path, '/'); 252 basename = basename == NULL ? file_path : (basename + 1);
|
/test/vts/compilation_tools/vtsc/ |
VtsCompilerUtils.cpp | 504 int vts_fs_mkdirs(char* file_path, mode_t mode) { 507 for (p = strchr(file_path + 1, '/'); p; p = strchr(p + 1, '/')) { 509 if (mkdir(file_path, mode) == -1) { 543 // Returns a string which remove given base_path from file_path if included. 544 string RemoveBaseDir(const string& file_path, const string& base_path) { 545 if (strncmp(file_path.c_str(), base_path.c_str(), base_path.length())) { 546 return file_path; 549 result = &file_path.c_str()[base_path.length()];
|
/external/tensorflow/tensorflow/python/profiler/ |
pprof_profiler.py | 114 # Maps tuples in the form (file_path, function_name, start_line_number) 118 def index_of(self, file_path, function_name, function_start_line): 122 file_path: (string) Path to file where the function is defined. 129 function_key = (file_path, function_name, function_start_line) 138 function.filename = self._string_table.index_of(file_path) 161 # Maps tuples in the form (file_path, called_function_name, line_number) 166 self, file_path, line_number, called_function_name, called_file_path, 171 file_path: (string) Path to file that makes the call. 174 `file_path` and `line_number`. 183 location_key = (file_path, called_function_name, line_number [all...] |
/external/webrtc/webrtc/base/ |
filerotatingstream.cc | 244 std::string file_path = file_names_[current_file_index_]; local 258 if (!file_stream_->Open(file_path, mode, &error)) { 259 std::cerr << "Failed to open: " << file_path << "Error: " << error 343 Pathname file_path(dir_path_, file_name.str()); 344 return file_path.pathname();
|
/external/adhd/scripts/ |
ini_editor.py | 345 file_path: The path of this ini config file. 355 self.file_path = input_file 585 self.args.section, ini.file_path) 605 self.args.section, ini.file_path) 614 'Writing output file in-place at %s ? [y/n]' % ini.file_path) 617 output_file = ini.file_path 619 output_file = ini.file_path + self.args.output_suffix
|
/external/toolchain-utils/cros_utils/ |
misc.py | 91 def GetInsideChrootPath(chromeos_root, file_path): 92 if not file_path.startswith(GetChrootPath(chromeos_root)): 94 (file_path, chromeos_root)) 95 return file_path[len(GetChrootPath(chromeos_root)):] 98 def GetOutsideChrootPath(chromeos_root, file_path): 99 return os.path.join(GetChrootPath(chromeos_root), file_path.lstrip('/'))
|
/system/core/logwrapper/ |
logwrap.c | 293 int *chld_sts, int log_target, bool abbreviated, char *file_path) { 330 if ((log_target & LOG_FILE) && !file_path) { 331 /* No file_path specified, clear the LOG_FILE bit */ 336 fd = open(file_path, O_WRONLY | O_CREAT, 0664); 338 ERROR("Cannot log to file %s\n", file_path); 476 int log_target, bool abbreviated, char *file_path, 552 abbreviated, file_path);
|
/external/python/cpython3/Lib/test/test_importlib/source/ |
test_file_loader.py | 174 file_path = '_temp.py' 175 with open(file_path, 'w') as file: 179 loader = self.machinery.SourceFileLoader('_temp', file_path) 183 self.assertEqual(file_path, mod.__file__) 184 self.assertEqual(self.util.cache_from_source(file_path), 187 os.unlink(file_path) 188 pycache = os.path.dirname(self.util.cache_from_source(file_path)) 316 file_path = mapping['_temp'] if not del_source else bc_path 318 self.import_(file_path, '_temp') 325 file_path = mapping['_temp'] if not del_source else bytecode_pat [all...] |
/art/libartbase/base/unix_file/ |
fd_file.h | 173 // Opens file 'file_path' using 'flags' and 'mode'. 174 bool Open(const std::string& file_path, int flags); 175 bool Open(const std::string& file_path, int flags, mode_t mode);
|
/bionic/tools/versioner/src/ |
Preprocessor.cpp | 476 llvm::StringRef file_path = file_it.first; local 484 loc.end = findNextSemicolon(file_lines[file_path], loc.end); 490 mergeGuards(file_lines[file_path], guard_map); 492 if (!file_path.startswith(src_dir)) { 493 errx(1, "input file %s is not in %s\n", file_path.str().c_str(), src_dir.c_str()); 497 llvm::StringRef rel_path = file_path.substr(src_dir.size(), file_path.size() - src_dir.size()); 500 rewriteFile(output_path, file_lines[file_path], guard_map);
|