/packages/apps/Launcher3/ |
update_gallery_files.py | 48 for file_path in files.split(): 49 dir = os.path.dirname(file_path) 50 if file_path.find('exif') != -1 or file_path.find('common') != -1: 51 file_path = 'gallerycommon/' + file_path variable 52 cmd = 'cp %s/%s WallpaperPicker/%s/' % (gallery_dir, file_path, dir)
|
update_system_wallpaper_cropper.py | 51 for file_path in files.split(): 52 file_path = src_dir + file_path variable 53 dir = os.path.dirname(file_path) 56 cmd = 'cp %s %s/%s' % (file_path, framework_dir, dir)
|
/external/skia/tools/ |
sanitize_source_files.py | 85 def TrailingWhitespaceRemover(line, file_path, line_number): 89 print 'Removing trailing whitespace in %s:%s' % (file_path, line_number) 93 def CrlfReplacer(line, file_path, line_number): 96 print 'Replacing CRLF with LF in %s:%s' % (file_path, line_number) 100 def TabReplacer(line, file_path, line_number): 103 print 'Replacing Tab with whitespace in %s:%s' % (file_path, line_number) 117 def EOFOneAndOnlyOneNewlineAdder(file_content, file_path): 122 print 'Added exactly one newline to %s' % file_path 126 def SvnEOLChecker(file_content, file_path): 129 'svn propget svn:eol-style %s' % file_path) [all...] |
skdiff_utils.h | 26 SkData* read_file(const char* file_path);
|
/ndk/sources/android/crazy_linker/src/ |
crazy_linker_line_reader.h | 31 void Open(const char* file_path);
|
/development/testrunner/test_defs/ |
test_defs.py | 46 def Parse(self, file_path): 50 file_path: absolute file path to parse 52 ParseError if file_path cannot be parsed 55 doc = xml.dom.minidom.parse(file_path) 58 logger.Log("test file %s does not exist" % file_path) 61 logger.Log("Error Parsing xml file: %s " % file_path) 64 logger.Log("Error Parsing xml file: %s Reason: %s" % (file_path, e.msg)) 120 def Parse(file_path): 124 file_path: string absolute file path 126 a TestDefinitions object containing data parsed from file_path [all...] |
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/vinn/ |
d8_runner_unittest.py | 75 file_path = self.GetTestFilePath('simple.js') 80 d8_runner.ExecuteFile(file_path, stdout=f) 87 file_path = self.GetTestFilePath('simple.js') 92 d8_runner.RunFile(file_path, stdout=f) 99 file_path = self.GetTestFilePath('print_file_content.js') 101 output = d8_runner.ExecuteFile(file_path, source_paths=[self.test_data_dir], 107 file_path = self.GetTestFilePath('load_simple_html.js') 108 output = d8_runner.ExecuteFile(file_path, source_paths=[self.test_data_dir]) 117 file_path = self.GetTestFilePath('load_simple_js.js') 118 output = d8_runner.ExecuteFile(file_path, source_paths=[self.test_data_dir] [all...] |
d8_bootstrap.js | 169 // Try a dummy read to check whether file_path exists. 181 * Strips the starting '/' in file_path if |file_path| is meant to be a 184 * @param {string} file_path path to some file, can be relative or absolute 186 * @return {string} the file_path with starting '/' removed if |file_path| 187 * does not exist or the original |file_path| otherwise. 189 function _stripStartingSlashIfNeeded(file_path) { 190 if (file_path.substring(0, 1) !== '/') { 191 return file_path; [all...] |
d8_runner.py | 92 def ExecuteFile(file_path, source_paths=None, js_args=None, 94 """Execute JavaScript program in |file_path|. 97 file_path: string file_path that contains path the .js or .html file to be 107 res = RunFile(file_path, source_paths, js_args, stdout, stdin) 111 def RunFile(file_path, source_paths=None, js_args=None, stdout=subprocess.PIPE, 113 """Runs JavaScript program in |file_path|. 120 assert os.path.isfile(file_path) 123 _, extension = os.path.splitext(file_path) 126 'unsupported file type: %s' % (file_path, extension) [all...] |
/external/sfntly/cpp/src/test/ |
test_utils.h | 62 // static OutputStream createOutputStream(const char* file_path); 70 static void CreateNewFile(const char* file_path); 107 static const char* Extension(const char* file_path);
|
test_font_utils.h | 35 void SerializeToFile(MemoryOutputStream* output_stream, const char* file_path);
|
test_utils.cc | 33 // OutputStream CreateOutputStream(const char *file_path) { 37 // void TestUtils::CreateNewFile(const char* file_path) { 84 const char* TestUtils::Extension(const char* file_path) { 85 if (!file_path) 87 return strrchr(file_path, EXTENSION_SEPARATOR);
|
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");
|
/art/imgdiag/ |
imgdiag_test.cc | 82 std::string file_path = GetImgDiagFilePath(); local 83 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; 97 std::vector<std::string> exec_argv = { file_path, diff_pid_args, boot_image_args };
|
/system/core/logwrapper/include/logwrap/ |
logwrap.h | 49 * file_path argument, otherwise pass NULL). These are bit fields, 54 * file_path: if log_target has the LOG_FILE bit set, then this parameter 72 int log_target, bool abbreviated, char *file_path);
|
/external/owasp/sanitizer/tools/ |
googlecode_upload.py | 110 def encode_upload_request(fields, file_path): 134 file_name = os.path.basename(file_path) 135 f = open(file_path, 'rb') 155 def upload_find_auth(file_path, project_name, summary, labels=None, 159 file_path, project_name, summary, and labels are passed as-is to upload. 162 file_path: The local path to the file. 194 status, reason, url = upload(file_path, project_name, user_name, password, 235 file_path = args[0] 242 status, reason, url = upload_find_auth(file_path, options.project,
|
/external/v8/build/ |
gyp_v8 | 51 def apply_gyp_environment(file_path=None): 55 if not file_path or not os.path.exists(file_path): 57 file_contents = open(file_path).read() 61 e.filename = os.path.abspath(file_path) 73 var, os.path.abspath(file_path)
|
/art/oatdump/ |
oatdump_test.cc | 62 std::string file_path = GetOatDumpFilePath(); local 64 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; 66 std::vector<std::string> exec_argv = { file_path };
|
/development/testrunner/coverage/ |
coverage_targets.py | 55 def Parse(self, file_path): 59 file_path: absolute file path to parse 61 errors.ParseError if file_path cannot be parsed 64 doc = xml.dom.minidom.parse(file_path) 67 logger.Log('Results file %s does not exist' % file_path) 70 logger.Log('Error Parsing xml file: %s ' % file_path) 125 """parses out a file_path class from given path to xml"""
|
/external/sfntly/cpp/src/sfntly/port/ |
file_input_stream.h | 47 virtual bool Open(const char* file_path);
|
/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);
|
/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),
|
/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);
|
/external/google-breakpad/src/client/linux/crash_generation/ |
crash_generation_server.h | 50 const string* file_path);
|
/external/google-breakpad/src/client/mac/crash_generation/ |
crash_generation_server.h | 64 const std::string &file_path);
|