Searched refs:filename (Results 1 - 25 of 1510) sorted by relevance

1234567891011>>

/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/
H A Dtest_input.py35 def __init__(self, filename, timeout):
38 filename: Full path to the test.
41 # FIXME: filename should really be test_name as a relative path.
42 self.filename = filename
/external/valgrind/main/none/tests/
H A Dfdleak_creat.c8 char filename[24]; local
12 sprintf(filename, "/tmp/file.%d", getpid());
13 DO( creat(filename, 0) );
14 DO( unlink(filename) );
/external/chromium/testing/gmock/scripts/generator/cpp/
H A Dutils.py30 def ReadFile(filename, print_error=True):
33 fp = open(filename)
40 print('Error reading %s: %s' % (filename, sys.exc_info()[1]))
/external/dropbear/
H A Dkeyimport.h37 int import_write(const char *filename, sign_key *key, char *passphrase,
39 sign_key *import_read(const char *filename, char *passphrase, int filetype);
40 int import_encrypted(const char* filename, int filetype);
/external/e2fsprogs/tests/progs/
H A Dhold_inode.c24 char *filename; local
30 filename = argv[1];
31 if (stat(filename, &statbuf) < 0) {
32 perror(filename);
36 if (!opendir(filename)) {
37 perror(filename);
41 if (open(filename, O_RDONLY) < 0) {
42 perror(filename);
/external/webkit/Tools/Scripts/webkitpy/common/system/
H A Dzip_mock.py37 def insert(self, filename, content):
38 self._files[filename] = content
43 def open(self, filename):
44 return FileSetFileHandle(self, filename)
46 def read(self, filename):
47 return self._files[filename]
49 def extract(self, filename, path):
50 full_path = self._filesystem.join(path, filename)
51 contents = self.open(filename).contents()
54 def delete(self, filename)
[all...]
H A Ddirectoryfileset.py36 def _full_path(self, filename):
37 assert self._is_under(self._path, filename)
38 return self._filesystem.join(self._path, filename)
48 def _is_under(self, dir, filename):
49 return bool(self._filesystem.relpath(self._filesystem.join(dir, filename), dir))
51 def open(self, filename):
52 return FileSetFileHandle(self, filename, self._filesystem)
57 def read(self, filename):
58 return self._filesystem.read_text_file(self._full_path(filename))
60 def extract(self, filename, pat
[all...]
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/
H A DBaseResourceLoader.java37 * Default implementation returns the filename as the ResourceLoaders that subclass this class
38 * tend to assume they are the only ResourceLoader in use. Or at least that the filename is the
42 public Object getKey(String filename) { argument
43 return filename;
50 public Object getResourceVersionId(String filename) { argument
51 return filename;
/external/libvorbis/test/
H A Dwrite_read.h18 /* Write supplied data to an Ogg/Vorbis file with specified filename at
20 void write_vorbis_data_or_die (const char *filename, int srate, float q,
26 void read_vorbis_data_or_die (const char *filename, int srate,
/external/webkit/Source/WebCore/platform/gtk/
H A DKURLGtk.cpp31 gchar* filename = g_filename_from_uri(m_string.utf8().data(), 0, 0); local
32 if (!filename)
35 String path = filenameToString(filename);
36 g_free(filename);
/external/webkit/Source/WebCore/loader/mac/
H A DLoaderNSURLExtras.mm54 // Get the filename from the URL. Try the lastPathComponent first.
56 NSString *filename = filenameByFixingIllegalCharacters(lastPathComponent);
59 if ([filename length] == 0 || [lastPathComponent isEqualToString:@"/"]) {
62 filename = filenameByFixingIllegalCharacters(host);
63 if ([filename length] == 0) {
64 // Can't make a filename using this URL, use "unknown".
65 filename = copyImageUnknownFileLabel();
69 // For example, if the filename ends up being the host, we wouldn't want to correct ".com" in "www.apple.com".
70 extension = [filename pathExtension];
73 // No mime type reported. Just return the filename w
[all...]
/external/chromium/base/
H A Devent_recorder_stubs.cc14 bool EventRecorder::StartRecording(const FilePath& filename) { argument
21 bool EventRecorder::StartPlayback(const FilePath& filename) { argument
/external/dropbear/libtommath/
H A Dgen.pl9 foreach my $filename (glob "bn*.c") {
10 open( SRC, "<$filename" ) or die "Couldn't open $filename for reading: $!";
11 print OUT "/* Start: $filename */\n";
13 print OUT "\n/* End: $filename */\n\n";
14 close SRC or die "Error closing $filename after reading: $!";
/external/icu4c/tools/genrb/
H A Drbutil.h23 void get_dirname(char *dirname, const char *filename);
24 void get_basename(char *basename, const char *filename);
/external/mdnsresponder/mDNSShared/
H A DPlatformCommon.h18 extern void ReadDDNSSettingsFromConfFile(mDNS *const m, const char *const filename, domainname *const hostname, domainname *const domain, mDNSBool *DomainDiscoveryDisabled);
/external/chromium/net/tools/flip_server/
H A Dspdy_util.cc22 std::string filename; local
25 filename = UrlToFilenameEncoder::Encode(
28 filename = UrlToFilenameEncoder::Encode(uri, method + "_/", false);
30 return filename;
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
H A DSFTPv3DirectoryEntry.java19 public String filename; field in class:SFTPv3DirectoryEntry
/external/srec/srec/Session/include/
H A DSR_Session.h41 * @param filename File to read session information from
45 SREC_SESSION_API ESR_ReturnCode SR_SessionCreate(const LCHAR* filename);
/external/llvm/utils/lint/
H A Dgeneric_lint.py12 def RunOnFile(self, filename, lines):
13 common_lint.VerifyLineLength(filename, lines,
15 common_lint.VerifyTrailingWhitespace(filename, lines)
H A Dcommon_lint.py7 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, lin
[all...]
/external/webkit/Tools/Scripts/
H A Dread-checksum-from-png37 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/llvm/lib/Support/
H A DToolOutputFile.cpp18 tool_output_file::CleanupInstaller::CleanupInstaller(const char *filename) argument
19 : Filename(filename), Keep(false) {
36 tool_output_file::tool_output_file(const char *filename, std::string &ErrorInfo, argument
38 : Installer(filename),
39 OS(filename, ErrorInfo, Flags) {
/external/opencv/otherlibs/highgui/
H A Dgrfmt_imageio.h21 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/openfst/src/script/
H A Dtext-io.cc32 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, argument
71 if (!filename.empty()) {
72 strm = new ofstream(filename.c_str());
74 LOG(ERROR) << "WritePotentials: Can't open file: " << filename;
86 << (filename
31 ReadPotentials(const string &weight_type, const string& filename, vector<WeightClass>* potential) argument
[all...]
/external/webkit/Source/WebCore/storage/
H A DOriginUsageRecord.h55 DatabaseEntry(const String& filename) : filename(filename) { } argument
56 DatabaseEntry(const String& filename, unsigned long long size) : filename(filename), size(size) { } argument
57 String filename; member in struct:WebCore::OriginUsageRecord::DatabaseEntry

Completed in 665 milliseconds

1234567891011>>