Searched refs:filename (Results 226 - 250 of 2845) sorted by relevance

1234567891011>>

/external/libvpx/libvpx/test/android/
H A Dget_files.py31 def get_file_sha(filename):
34 with open(filename, 'rb') as file:
41 print "Error reading " + filename
45 def download_and_check_sha(url, filename, sha):
46 path = os.path.join(local_resource_path, filename)
49 curl.setopt(pycurl.URL, url + "/" + filename)
107 for filename, sha in itertools.izip(file_names, file_shas):
108 path = os.path.join(local_resource_path, filename)
115 if not download_and_check_sha(url, filename, sha):
/external/mesa3d/scons/
H A Dsource_list.py19 def _reset(self, filename=None):
20 self.filename = filename
26 raise RuntimeError('%s:%d: %s' % (self.filename, self.line_no, msg))
112 def parse(self, filename):
114 if self.filename != filename:
115 fp = open(filename)
120 self._reset(filename)
/external/chromium-trace/trace-viewer/build/
H A Dcheck_grit.py25 for idx, filename in enumerate(grit_files):
26 while filename.startswith("../"):
27 filename = filename[3:]
28 grit_files[idx] = "src/" + filename
/external/chromium_org/chrome/browser/plugins/
H A Dplugins_resource_service.cc33 std::string filename; local
35 filename = "plugins_win.json";
37 filename = "plugins_linux.json";
39 filename = "plugins_mac.json";
47 return GURL(IsTest() ? test_url : kPluginsServerUrl + filename);
/external/chromium_org/third_party/WebKit/Tools/Scripts/
H A Dexport-w3c-performance-wg-tests71 for filename in files:
72 if filename.endswith('-expected.txt'):
74 with open(os.path.join(source_directory, root, filename), 'r') as in_file:
75 with open(os.path.join(destination_directory, root, filename), 'w') as out_file:
80 print 'Exported %s' % os.path.join(root, filename)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dfileset.py29 def __init__(self, fileset, filename, filesystem=None):
30 self._filename = filename
46 def save_to(self, path, filename=None):
47 if filename is None:
54 dest = self._filesystem.join(path, filename)
/external/chromium_org/v8/test/intl/
H A Dtestcfg.py46 for filename in files:
47 if (filename.endswith(".js") and filename != "assert.js" and
48 filename != "utils.js"):
49 testname = os.path.join(dirname[len(self.root) + 1:], filename[:-3])
/external/libmtp/examples/
H A Dsendfile.c46 fprintf(stderr, "usage: sendfile <local filename> <remote filename>\n");
52 char *filename; local
66 filename = basename(from_path);
75 genfile->filename = strdup(filename);
76 genfile->filetype = find_filetype (filename);
/external/libsepol/tests/
H A Dhelpers.c37 char filename[PATH_MAX]; local
40 if (snprintf(filename, PATH_MAX, "policies/%s/%s.mls", test_name, policy_name) < 0) {
44 if (snprintf(filename, PATH_MAX, "policies/%s/%s.std", test_name, policy_name) < 0) {
57 if (read_source_policy(p, filename, test_name)) {
58 fprintf(stderr, "failed to read policy %s\n", filename);
/external/chromium_org/mojo/public/tools/bindings/pylib/mojom/parse/
H A Dparser.py40 def __init__(self, filename, message, lineno=None, snippet=None):
41 Error.__init__(self, filename, message, lineno=lineno,
49 def __init__(self, lexer, source, filename):
52 self.filename = filename
98 p[0] = ast.Module(p[3], p[1], filename=self.filename, lineno=p.lineno(2))
144 p[0] = ast.Attribute(p[1], p[3], filename=self.filename, lineno=p.lineno(1))
226 filename
[all...]
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
H A Dimporter.cc83 // in terms of MultiFileErrorCollector, using a particular filename.
88 SingleFileErrorCollector(const string& filename, argument
90 : filename_(filename),
123 const string& filename, FileDescriptorProto* output) {
124 scoped_ptr<io::ZeroCopyInputStream> input(source_tree_->Open(filename));
127 error_collector_->AddError(filename, -1, 0, "File not found.");
133 SingleFileErrorCollector file_error_collector(filename, error_collector_);
145 output->set_name(filename);
171 const string& filename,
180 owner_->error_collector_->AddError(filename, lin
122 FindFileByName( const string& filename, FileDescriptorProto* output) argument
170 AddError( const string& filename, const string& element_name, const Message* descriptor, ErrorLocation location, const string& message) argument
194 Import(const string& filename) argument
289 ApplyMapping(const string& filename, const string& old_prefix, const string& new_prefix, string* result) argument
403 Open(const string& filename) argument
442 OpenDiskFile( const string& filename) argument
[all...]
/external/protobuf/src/google/protobuf/compiler/
H A Dimporter.cc83 // in terms of MultiFileErrorCollector, using a particular filename.
88 SingleFileErrorCollector(const string& filename, argument
90 : filename_(filename),
123 const string& filename, FileDescriptorProto* output) {
124 scoped_ptr<io::ZeroCopyInputStream> input(source_tree_->Open(filename));
127 error_collector_->AddError(filename, -1, 0, "File not found.");
133 SingleFileErrorCollector file_error_collector(filename, error_collector_);
145 output->set_name(filename);
171 const string& filename,
180 owner_->error_collector_->AddError(filename, lin
122 FindFileByName( const string& filename, FileDescriptorProto* output) argument
170 AddError( const string& filename, const string& element_name, const Message* descriptor, ErrorLocation location, const string& message) argument
194 Import(const string& filename) argument
284 ApplyMapping(const string& filename, const string& old_prefix, const string& new_prefix, string* result) argument
398 Open(const string& filename) argument
437 OpenDiskFile( const string& filename) argument
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/bio/
H A Dfile.c89 static FILE *open_file(const char *filename, const char *mode) { argument
91 int sz, len_0 = (int)strlen(filename) + 1;
94 /* Basically there are three cases to cover: a) filename is pure ASCII
97 * If filename is pure ASCII or real UTF-8 encoded string,
98 * MultiByteToWideChar succeeds and _wfopen works. If filename is locale-ized
102 filename, len_0, NULL, 0)) > 0 ||
104 (sz = MultiByteToWideChar(CP_UTF8, (flags = 0), filename, len_0, NULL,
109 if (MultiByteToWideChar(CP_UTF8, flags, filename, len_0, wfilename, sz) &&
114 errno == EBADF)) /* UTF-8 decode succeeded, but no file, filename
116 return fopen(filename, mod
125 BIO_new_file(const char *filename, const char *mode) argument
331 BIO_read_filename(BIO *bio, const char *filename) argument
336 BIO_write_filename(BIO *bio, const char *filename) argument
341 BIO_append_filename(BIO *bio, const char *filename) argument
346 BIO_rw_filename(BIO *bio, const char *filename) argument
[all...]
/external/chromium_org/third_party/skia/platform_tools/android/bin/
H A Ddownload_utils.py72 def EnsureFileCanBeWritten(filename):
73 directory = os.path.dirname(filename)
78 def WriteData(filename, data):
79 EnsureFileCanBeWritten(filename)
80 f = open(filename, 'wb')
85 def WriteDataFromStream(filename, stream, chunk_size, verbose=True):
86 EnsureFileCanBeWritten(filename)
87 dst = open(filename, 'wb')
217 def HashFile(filename):
221 filename
[all...]
/external/skia/platform_tools/android/bin/
H A Ddownload_utils.py72 def EnsureFileCanBeWritten(filename):
73 directory = os.path.dirname(filename)
78 def WriteData(filename, data):
79 EnsureFileCanBeWritten(filename)
80 f = open(filename, 'wb')
85 def WriteDataFromStream(filename, stream, chunk_size, verbose=True):
86 EnsureFileCanBeWritten(filename)
87 dst = open(filename, 'wb')
217 def HashFile(filename):
221 filename
[all...]
/external/antlr/antlr-3.4/runtime/Perl5/tools/
H A Dport.pl41 my ($filename) = @_;
43 open my $in, '<', $filename or croak "Can't open $filename: $!";
44 if (filetype($filename) =~ /^text\//xms) {
48 croak "Can't binmode $filename: $!";
54 close $in or warn "Can't close $filename: $!";
64 my ($filename) = @_;
67 if (-e $filename) {
68 $resolved_file = $filename;
73 map { File::Spec->catfile($_, $filename) }
[all...]
/external/chromium_org/native_client_sdk/src/examples/tutorial/debugging/
H A Dexample.js32 var filename = map[i - 1].file;
34 // Force filename to 50 chars
35 if (filename) {
36 if (filename.length > 50) {
37 filename = '...' + filename.substr(filename.length - 47);
40 filename = 'Unknown';
42 while (filename.length < 50) {
43 filename
[all...]
/external/chromium_org/third_party/icu/source/tools/toolutil/
H A Dpkg_genc.h76 writeCCode(const char *filename, const char *destdir, const char *optName, const char *optFilename, char *outFilePath);
79 writeAssemblyCode(const char *filename, const char *destdir, const char *optEntryPoint, const char *optFilename, char *outFilePath);
82 writeObjectCode(const char *filename, const char *destdir, const char *optEntryPoint, const char *optMatchArch, const char *optFilename, char *outFilePath);
/external/chromium_org/third_party/libvpx/
H A Dunpack_lib_posix.sh61 filename="${f##*/}"
63 if [ -z "$(echo $filename | grep $1)" ]; then
68 # echo "Extract $filename from archive to $out_dir/$1."
69 $ar p $lib_file $filename > $out_dir/$1
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/os/
H A Dos_misc.c53 /* If the GALLIUM_LOG_FILE environment variable is set to a valid filename,
60 const char *filename = os_get_option("GALLIUM_LOG_FILE"); local
61 if (filename)
62 fout = fopen(filename, "w");
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_dl.c45 util_dl_open(const char *filename) argument
48 return (struct util_dl_library *)dlopen(filename, RTLD_LAZY | RTLD_GLOBAL);
50 return (struct util_dl_library *)LoadLibraryA(filename);
/external/chromium_org/third_party/mesa/src/src/glsl/builtins/tools/
H A Dgenerate_builtins.py27 for filename in glob(path.join(path.join(builtins_dir, 'ir'), '*.ir')):
28 function_name = path.basename(filename).split('.')[0]
29 with open(filename) as f:
33 for filename in glob(path.join(path.join(builtins_dir, 'glsl'), '*.glsl')):
34 function_name = path.basename(filename).split('.')[0]
35 (output, returncode) = run_compiler([filename])
37 sys.stderr.write("Failed to compile builtin: " + filename + "\n")
99 def write_profile(filename, profile):
100 (proto_ir, returncode) = run_compiler([filename])
123 for (filename, profil
[all...]
/external/chromium_org/tools/gyp/test/small/
H A Dgyptest-small.py38 for filename in files_to_test:
40 name = os.path.splitext(os.path.split(filename)[1])[0]
42 full_filename = os.path.join(test._cwd, filename)
/external/chromium_org/tools/idl_parser/
H A Didl_parser_test.py51 for filename in self.filenames:
52 filenode = ParseFile(self.parser, filename)
55 filename)
66 def _TestNode(self, filename, node):
72 filename, value, str(node))
77 filename, value, str(node)))
84 filename, key, expect, actual)
91 filename, lineno, value, quick)
95 for filename in self.filenames:
96 filenode = ParseFile(self.parser, filename)
[all...]
/external/icu/icu4c/source/tools/toolutil/
H A Dpkg_genc.h76 writeCCode(const char *filename, const char *destdir, const char *optName, const char *optFilename, char *outFilePath);
79 writeAssemblyCode(const char *filename, const char *destdir, const char *optEntryPoint, const char *optFilename, char *outFilePath);
82 writeObjectCode(const char *filename, const char *destdir, const char *optEntryPoint, const char *optMatchArch, const char *optFilename, char *outFilePath);

Completed in 6731 milliseconds

1234567891011>>