/external/autotest/client/cros/multimedia/ |
video_facade_native.py | 69 def prepare_playback(self, file_path, fullscreen=True): 72 @param file_path: The path to the file. 89 video_src_path=file_path) 126 def prepare_arc_playback(self, file_path, fullscreen=True): 132 @param file_path: Path to the file to be played on Cros host. 136 self._arc_resource.play_video.prepare_playback(file_path, fullscreen)
|
/external/python/cpython3/Lib/test/test_importlib/ |
util.py | 28 EXTENSIONS.file_path = None 36 file_path = os.path.join(path, filename) 37 if os.path.exists(file_path): 41 EXTENSIONS.file_path = file_path 349 file_path = temp_dir 351 file_path = os.path.join(file_path, directory) 352 if not os.path.exists(file_path): 353 os.mkdir(file_path) [all...] |
/external/sfntly/cpp/src/sfntly/port/ |
file_input_stream.h | 47 virtual bool Open(const char* file_path);
|
/external/sfntly/cpp/src/test/ |
test_font_utils.cc | 83 void SerializeToFile(MemoryOutputStream* output_stream, const char* file_path) { 84 assert(file_path); 89 fopen_s(&output_file, file_path, "wb"); 91 output_file = fopen(file_path, "wb");
|
/external/skia/tools/skdiff/ |
skdiff_utils.h | 25 sk_sp<SkData> read_file(const char* file_path);
|
/external/skqp/tools/skdiff/ |
skdiff_utils.h | 25 sk_sp<SkData> read_file(const char* file_path);
|
/external/tensorflow/tensorflow/python/debug/lib/ |
source_remote.py | 34 def _load_debugged_source_file(file_path, source_file_proto): 35 file_stat = gfile.Stat(file_path) 37 source_file_proto.file_path = file_path 41 with gfile.Open(file_path, "r") as f: 64 file_path, lineno, func_name, line_text = frame 66 file_id=_string_to_id(file_path, string_to_id), 159 for file_path in source_file_paths: 161 file_path, debugged_source_files.source_files.add())
|
/hardware/qcom/gps/msm8960/utils/ |
loc_target.cpp | 63 static int read_a_line(const char * file_path, char * line, int line_size) 69 fp = fopen(file_path, "r" ); 71 LOC_LOGE("open failed: %s: %s\n", file_path, strerror(errno)); 79 LOC_LOGD("cat %s: %s", file_path, line);
|
/system/update_engine/common/ |
hardware_interface.h | 25 #include <base/files/file_path.h>
|
hwid_override.cc | 22 #include <base/files/file_path.h>
|
/test/vts/drivers/hal/common/include/utils/ |
InterfaceSpecUtil.h | 33 bool ParseInterfaceSpec(const char* file_path,
|
/test/vts/drivers/hal/common/utils/ |
InterfaceSpecUtil.cpp | 36 bool ParseInterfaceSpec(const char* file_path, 38 ifstream in_file(file_path); 41 LOG(ERROR) << "Unable to open file. " << file_path; 50 LOG(ERROR) << "Can't parse a given proto file " << file_path;
|
/test/vts/utils/python/common/ |
list_utils.py | 99 def LoadListFromCommentedTextFile(file_path, 113 file_path: string, path to file 138 if not os.path.isfile(file_path): 140 file_path) 143 with open(file_path, 'r') as f:
|
/tools/tradefederation/core/atest/ |
module_info.py | 98 file_path = module_file 99 if not file_path: 100 module_info_target, file_path = self._discover_mod_file_and_target( 102 with open(file_path) as json_file:
|
/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
base_config.py | 74 def __init__(self, file_path, writable=False): 81 file_path: Path to a file containing a json dictionary in the expected 94 self._config_path = file_path 101 raise exceptions.EmptyConfigError(file_path) 105 with open(file_path, 'r') as f: 108 raise exceptions.EmptyConfigError(file_path) 113 '%s' % (config_type, self.GetConfigType(), file_path)) 358 def _FormatPath(cls, file_path): 359 """ Format |file_path| for the current file system. 364 if not file_path [all...] |
/external/autotest/client/bin/ |
site_sysinfo_unittest.py | 50 def append_text_to_file(self, text, file_path): 54 @param file_path: path to the file. 57 dir_name = os.path.dirname(file_path) 60 with open(file_path, 'a') as f: 73 for file_name, file_path in zip(self.new_files, 75 self.append_text_to_file(file_name, file_path) 84 for file_name, file_path in zip(self.existing_files, 86 self.append_text_to_file(file_name, file_path) 95 for file_name, file_path in zip(self.existing_files+self.new_files, 97 file_path = file_path.replace('src', 'dest' [all...] |
/external/google-breakpad/src/client/windows/unittests/ |
dump_analysis.h | 43 explicit DumpAnalysis(const std::wstring& file_path) 44 : dump_file_(file_path), dump_file_view_(NULL), dump_file_mapping_(NULL),
|
/external/libmojo/base/ |
path_service.cc | 14 #include "base/files/file_path.h" 237 FilePath file_path = path; local 245 if (!PathExists(file_path) && !CreateDirectory(file_path)) 251 file_path = MakeAbsoluteFilePath(file_path); 252 if (file_path.empty()) 255 DCHECK(file_path.IsAbsolute()); 263 path_data->overrides[key] = file_path;
|
/external/skia/infra/bots/ |
utils.py | 135 file_path = os.path.join(*path) 136 if not os.path.exists(file_path): 141 file_path = os.path.normcase(file_path) 144 ['cmd.exe', '/c', 'rd', '/q', '/s', file_path])) 145 if not subprocess.call(['cmd.exe', '/c', 'rd', '/q', '/s', file_path]): 191 for root, dirs, files in os.walk(file_path, topdown=False): 201 remove_with_retry(os.rmdir, file_path)
|
/external/skqp/infra/bots/ |
utils.py | 135 file_path = os.path.join(*path) 136 if not os.path.exists(file_path): 141 file_path = os.path.normcase(file_path) 144 ['cmd.exe', '/c', 'rd', '/q', '/s', file_path])) 145 if not subprocess.call(['cmd.exe', '/c', 'rd', '/q', '/s', file_path]): 191 for root, dirs, files in os.walk(file_path, topdown=False): 201 remove_with_retry(os.rmdir, file_path)
|
/kernel/tests/devicetree/early_mount/ |
dt_early_mount_test.py | 32 def ReadFile(file_path): 33 with open(file_path, 'r') as f:
|
/test/vts/compilation_tools/vtsc/ |
VtsCompilerUtils.h | 55 extern int vts_fs_mkdirs(char* file_path, mode_t mode); 64 // Returns a string which remove given base_path from file_path if included. 65 string RemoveBaseDir(const string& file_path, const string& base_path);
|
/system/extras/puncture_fs/ |
puncture_fs.c | 78 char file_path[FILENAME_MAX]; local 83 sprintf(file_path, "%s/file_%lu", dir_path, id); 84 fd = open(file_path, O_WRONLY | O_CREAT | O_SYNC, 0777); 90 fprintf(stderr, "\nerrno: %d. Failed to create %s\n", errno, file_path); 98 errno, base_length, file_path); 108 errno, size - length, file_path); 115 fprintf(stderr, "\nFailed to close %s\n", file_path);
|
/development/vndk/tools/sourcedr/sourcedr/ |
codesearch.py | 234 def _sanitize_code(self, file_path): 235 with open(file_path, 'rb') as f: 237 file_name = os.path.basename(file_path) 252 file_path = os.path.relpath(match.group(1), 256 ret += file_path + b':' + line_no + b':' + code + b'\n' 274 file_path = match.group(1) 278 if self._path_filter.should_skip(file_path): 282 file_path) 286 suspect[abs_file_path].append((file_path, line_no, code)) 291 for file_path, entries in suspect [all...] |
/device/google/wahoo/thermal/ |
sensors.cpp | 51 std::string* file_path) const { 56 *file_path = ""; 64 *file_path = std::get<0>(sensor_name_to_data_map_.at(sensor_name));
|