/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
read-checksum-from-png | 37 for filename in sys.argv[1:]: 38 with open(filename, 'r') as filehandle: 39 print "%s: %s" % (read_checksum_from_png.read_checksum(filehandle), filename)
|
/external/chromium_org/third_party/webrtc/voice_engine/test/auto_test/ |
resource_manager.cc | 16 std::string filename = "audio_long16.pcm"; local 18 long_audio_file_path_ = "/sdcard/" + filename; 25 resource_path + "data/voice_engine/" + filename;
|
/external/chromium_org/tools/ |
include_tracer.py | 140 def Walk(seen, filename, parent, indent): 141 """Returns the size of |filename| plus the size of all files included by 142 |filename| and prints the include tree of |filename| to stdout. Every file 147 # .proto(devel) filename translation 148 if filename.endswith('.pb.h'): 149 basename = filename[:-5] 151 filename = basename + '.proto' 153 print 'could not find ', filename 156 if filename in seen [all...] |
/external/deqp/framework/delibs/destream/ |
deFileStream.h | 36 void deFileIOStream_init (deIOStream* stream, const char* filename, deFileMode mode); 37 void deFileInStream_init (deInStream* stream, const char* filename, deFileMode mode); 38 void deFileOutStream_init (deOutStream* stream, const char* filename, deFileMode mode);
|
/development/ndk/platforms/android-9/include/android/ |
storage_manager.h | 98 typedef void (*AStorageManager_obbCallbackFunc)(const char* filename, const int32_t state, void* data); 103 void AStorageManager_mountObb(AStorageManager* mgr, const char* filename, const char* key, 109 void AStorageManager_unmountObb(AStorageManager* mgr, const char* filename, const int force, 115 int AStorageManager_isObbMounted(AStorageManager* mgr, const char* filename); 120 const char* AStorageManager_getMountedObbPath(AStorageManager* mgr, const char* filename);
|
/external/llvm/lib/Support/ |
ToolOutputFile.cpp | 19 tool_output_file::CleanupInstaller::CleanupInstaller(const char *filename) 20 : Filename(filename), Keep(false) { 22 if (Filename != "-") 23 sys::RemoveFileOnSignal(Filename); 28 if (!Keep && Filename != "-") 29 sys::fs::remove(Filename); 33 if (Filename != "-") 34 sys::DontRemoveFileOnSignal(Filename); 37 tool_output_file::tool_output_file(const char *filename, std::string &ErrorInfo [all...] |
/external/opencv/otherlibs/highgui/ |
grfmt_imageio.h | 21 GrFmtImageIOReader( const char* filename ); 37 GrFmtImageIOWriter( const char* filename ); 52 bool CheckFile( const char* filename ); 54 GrFmtReader* NewReader( const char* filename ); 55 GrFmtWriter* NewWriter( const char* filename );
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
data.py | 37 # Construct the filename that will be used for data file storage, if we 39 self.filename = basename or ".coverage" 40 self.filename = os.path.abspath(self.filename) 74 self.lines, self.arcs = self._read_file(self.filename) 88 filename = self.filename 90 filename += "." + suffix 91 self.write_file(filename) 96 if self.filename and os.path.exists(self.filename) [all...] |
/external/llvm/utils/lint/ |
common_lint.py | 7 def VerifyLineLength(filename, lines, max_length): 12 filename: the file under consideration as string 17 A list of tuples with format [(filename, line number, msg), ...] with any 25 lint.append((filename, line_num, 30 def VerifyTabs(filename, lines): 34 filename: the file under consideration as string 46 lint.append((filename, line_num, 'Tab found instead of whitespace')) 51 def VerifyTrailingWhitespace(filename, lines): 55 filename: the file under consideration as string 59 A list of tuples with format [(filename, line number, msg), ...] with an [all...] |
generic_lint.py | 12 def RunOnFile(self, filename, lines): 13 common_lint.VerifyLineLength(filename, lines, 15 common_lint.VerifyTrailingWhitespace(filename, lines)
|
/external/openfst/src/script/ |
text-io.cc | 32 const string& filename, 34 ifstream strm(filename.c_str()); 36 LOG(ERROR) << "ReadPotentials: Can't open file: " << filename; 53 << "file = " << filename << ", line = " << nline; 57 ssize_t s = StrToInt64(col[0], filename, nline, false); 68 bool WritePotentials(const string& filename, 71 if (!filename.empty()) { 72 strm = new ofstream(filename.c_str()); 74 LOG(ERROR) << "WritePotentials: Can't open file: " << filename; 86 << (filename.empty() ? "standard output" : filename) [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
error_state_mock.h | 23 const char* filename, int line, 26 const char* filename, int line, 29 const char* filename, 36 const char* filename, 43 const char* file, int line, const char* filename)); 45 const char* file, int line, const char* filename)); 47 const char* file, int line, const char* filename));
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_pipe_flush.c | 54 char filename[256]; local 58 util_snprintf(filename, sizeof(filename), "cbuf%u_%04u", i, frame_no); 59 debug_dump_surface_bmp(&svga->pipe, filename, fb->cbufs[i]); 63 util_snprintf(filename, sizeof(filename), "zsbuf_%04u", frame_no); 64 debug_dump_surface_bmp(&svga->pipe, filename, fb->zsbuf);
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_pipe_flush.c | 54 char filename[256]; local 58 util_snprintf(filename, sizeof(filename), "cbuf%u_%04u", i, frame_no); 59 debug_dump_surface_bmp(&svga->pipe, filename, fb->cbufs[i]); 63 util_snprintf(filename, sizeof(filename), "zsbuf_%04u", frame_no); 64 debug_dump_surface_bmp(&svga->pipe, filename, fb->zsbuf);
|
/external/chromium_org/third_party/icu/source/tools/genrb/ |
rbutil.c | 29 const char *filename) 31 const char *lastSlash = uprv_strrchr(filename, U_FILE_SEP_CHAR) + 1; 33 if(lastSlash>filename) { 34 uprv_strncpy(dirname, filename, (lastSlash - filename)); 35 *(dirname + (lastSlash - filename)) = '\0'; 44 const char *filename) 47 const char *lastSlash = uprv_strrchr(filename, U_FILE_SEP_CHAR) + 1; 50 if(lastSlash>filename) { 53 uprv_strcpy(basename, filename); [all...] |
/external/chromium_org/v8/tools/testrunner/server/ |
signatures.py | 34 def ReadFileAndSignature(filename): 35 with open(filename, "rb") as f: 37 signature_file = filename + ".signature" 39 os.path.getmtime(signature_file) < os.path.getmtime(filename)): 42 (signature_file, private_key, filename), 50 def VerifySignature(filename, file_contents, signature, pubkeyfile): 51 with open(filename, "wb") as f: 53 signature_file = filename + ".foreign_signature" 57 (pubkeyfile, signature_file, filename), 62 os.remove(filename) [all...] |
/external/icu/icu4c/source/tools/genrb/ |
rbutil.c | 29 const char *filename) 31 const char *lastSlash = uprv_strrchr(filename, U_FILE_SEP_CHAR) + 1; 33 if(lastSlash>filename) { 34 uprv_strncpy(dirname, filename, (lastSlash - filename)); 35 *(dirname + (lastSlash - filename)) = '\0'; 44 const char *filename) 47 const char *lastSlash = uprv_strrchr(filename, U_FILE_SEP_CHAR) + 1; 50 if(lastSlash>filename) { 53 uprv_strcpy(basename, filename); [all...] |
/external/bison/lib/ |
open.c | 31 orig_open (const char *filename, int flags, mode_t mode) 33 return open (filename, flags, mode); 53 open (const char *filename, int flags, ...) 81 if (strcmp (filename, "/dev/null") == 0) 82 filename = "NUL"; 86 /* If the filename ends in a slash and one of O_CREAT, O_WRONLY, O_RDWR 94 "The special filename dot shall refer to the directory specified by 109 size_t len = strlen (filename); 110 if (len > 0 && filename[len - 1] == '/') 118 fd = orig_open (filename, flags, mode) [all...] |
/external/doclava/src/com/google/doclava/ |
DocFile.java | 30 public static String readFile(String filename) { 32 File f = new File(filename); 57 public static String getPathRoot(String filename) { 61 int langStart = filename.indexOf("/" + t + "/"); 63 int langEnd = filename.indexOf("/", langStart + 1); 64 filename = filename.substring(langEnd + 1); 68 return filename; 182 String filename = outfile; local 185 filename = getPathRoot(filename) [all...] |
/bionic/tests/ |
TemporaryFile.h | 40 unlink(filename); 45 fd = open(filename, O_RDWR); 49 char filename[1024]; member in class:GenericTemporaryFile 53 snprintf(filename, sizeof(filename), "%s/TemporaryFile-XXXXXX", tmp_dir); 54 fd = mk_fn(filename);
|
/external/eigen/scripts/ |
relicense.py | 55 print 'SKIPPED', filename 57 filename = os.path.join(root, basename) 58 fo = file(filename) 64 fo = file(filename, "w") 67 print 'UPDATED', filename 69 print ' ', filename
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_helper.c | 43 int mm_camera_dump_image(void *addr, uint32_t size, char *filename) 45 int file_fd = open(filename, O_RDWR | O_CREAT, 0777); 53 CDBG("%s: %s, size=%d\n", __func__, filename, size);
|
/external/chromium_org/android_webview/native/ |
aw_media_url_interceptor.cc | 23 std::string filename(url); 24 ReplaceFirstSubstringAfterOffset(&filename, 0, asset_file_prefix, ""); 25 return AwAssets::OpenAsset(filename, fd, offset, size);
|
/external/chromium_org/mojo/tools/pylib/ |
transitive_hash.py | 26 def _file_hash(filename): 28 _logging.debug("Hashing %s ...", filename) 29 rv = subprocess.check_output(['sha256sum', '-b', filename]).split(None, 1)[0] 34 def _get_dependencies(filename): 36 _logging.debug("Getting dependencies for %s ...", filename) 37 lines = subprocess.check_output(['ldd', filename]).splitlines() 48 def transitive_hash(filename): 53 to_hash = [filename] 80 for filename in argv[1:]: 82 print transitive_hash(filename), filenam [all...] |
/external/chromium_org/mojo/public/tools/bindings/pylib/mojom_tests/support/ |
find_files.py | 16 for filename in fnmatch.filter(filenames, pattern): 17 matches.append(join(dirpath, filename)) 26 for filename in FindFiles(argv[1], argv[2]): 27 print filename
|