Searched refs:filename (Results 201 - 225 of 1510) sorted by relevance

1234567891011>>

/external/llvm/utils/lit/lit/
H A DTestFormats.py70 for filename in os.listdir(source_path):
71 filepath = os.path.join(source_path, filename)
74 if not os.path.normcase(filename) in self.test_sub_dir:
117 for filename in os.listdir(source_path):
119 if (filename.startswith('.') or
120 filename in localConfig.excludes):
123 filepath = os.path.join(source_path, filename)
125 base,ext = os.path.splitext(filename)
127 yield Test.Test(testSuite, path_in_suite + (filename,),
174 for filename i
[all...]
/external/opencv/otherlibs/highgui/
H A Dgrfmt_imageio.cpp32 bool GrFmtImageIO::CheckFile( const char* filename )
34 if( !filename ) return false;
40 (const UInt8*)filename,
41 strlen( filename ),
57 GrFmtReader* GrFmtImageIO::NewReader( const char* filename )
59 return new GrFmtImageIOReader( filename );
63 GrFmtWriter* GrFmtImageIO::NewWriter( const char* filename )
65 return new GrFmtImageIOWriter( filename );
71 GrFmtImageIOReader::GrFmtImageIOReader( const char* filename ) : GrFmtReader( filename )
[all...]
/external/openssl/crypto/dso/
H A Ddso_dlfcn.c108 static char *dlfcn_name_converter(DSO *dso, const char *filename);
171 char *filename = DSO_convert_filename(dso, NULL); local
174 if(filename == NULL)
184 ptr = dlopen(filename, flags);
188 ERR_add_error_data(4, "filename(", filename, "): ", dlerror());
197 dso->loaded_filename = filename;
201 if(filename != NULL)
202 OPENSSL_free(filename);
371 static char *dlfcn_name_converter(DSO *dso, const char *filename) argument
[all...]
/external/e2fsprogs/tests/progs/
H A Drandom_exercise.c118 char *filename = state_array[fd].name; local
120 printf("Deleting %s, fd = %d, ino = %u\n", filename, fd,
124 rmdir(filename);
126 unlink(filename);
132 char *filename = state_array[fd].name; local
134 printf("Closing %s, fd = %d, ino = %u\n", filename, fd,
/external/icu4c/tools/genccode/
H A Dgenccode.c84 UOPTION_DEF("filename", 'f', UOPT_REQUIRES_ARG),
128 "\t-f or --filename Specify an alternate base filename. (default: symbolname_typ)\n"
133 const char *message, *filename; local
161 filename=getLongPathname(argv[argc]);
163 fprintf(stdout, message, filename);
168 writeCCode(filename, options[kOptDestDir].value,
174 writeAssemblyCode(filename, options[kOptDestDir].value,
181 writeObjectCode(filename, options[kOptDestDir].value,
192 /* TODO: remove writeCode(filename, option
[all...]
/external/jpeg/
H A Dexample.c72 write_JPEG_file (char * filename, int quality) argument
114 if ((outfile = fopen(filename, "wb")) == NULL) {
115 fprintf(stderr, "can't open %s\n", filename);
284 read_JPEG_file (char * filename) argument
306 if ((infile = fopen(filename, "rb")) == NULL) {
307 fprintf(stderr, "can't open %s\n", filename);
H A Drdswitch.c73 read_quant_tables (j_compress_ptr cinfo, char * filename,
90 if ((fp = fopen(filename, "r")) == NULL) {
91 fprintf(stderr, "Can't open table file %s\n", filename);
98 fprintf(stderr, "Too many tables in file %s\n", filename);
105 fprintf(stderr, "Invalid table data in file %s\n", filename);
116 fprintf(stderr, "Non-numeric data in file %s\n", filename);
158 read_scan_script (j_compress_ptr cinfo, char * filename)
182 if ((fp = fopen(filename, "r")) == NULL) {
183 fprintf(stderr, "Can't open scan definition file %s\n", filename);
191 fprintf(stderr, "Too many scans defined in file %s\n", filename);
[all...]
/external/marisa-trie/lib/marisa/
H A Dwriter.cc32 void Writer::open(const char *filename, bool trunc_flag, argument
35 MARISA_THROW_IF(filename == NULL, MARISA_PARAM_ERROR);
39 ::fopen_s(&file, filename, "rb+");
42 if (::fopen_s(&file, filename, "wb") != 0) {
49 file = ::fopen(filename, "rb+");
52 file = ::fopen(filename, "wb");
/external/marisa-trie/v0_1_5/lib/marisa_alpha/
H A Dwriter.cc32 void Writer::open(const char *filename, bool trunc_flag, argument
35 MARISA_ALPHA_THROW_IF(filename == NULL, MARISA_ALPHA_PARAM_ERROR);
39 ::fopen_s(&file, filename, "rb+");
42 if (::fopen_s(&file, filename, "wb") != 0) {
49 file = ::fopen(filename, "rb+");
52 file = ::fopen(filename, "wb");
/external/oprofile/libpp/
H A Dsymbol_container.cpp41 symbol_container::find(debug_name_id filename, size_t linenr) const argument
46 symbol.sample.file_loc.filename = filename;
61 symbol_container::find(debug_name_id filename) const
66 symbol.sample.file_loc.filename = filename;
/external/qemu/distrib/jpeg-6b/
H A Dexample.c72 write_JPEG_file (char * filename, int quality) argument
114 if ((outfile = fopen(filename, "wb")) == NULL) {
115 fprintf(stderr, "can't open %s\n", filename);
284 read_JPEG_file (char * filename) argument
306 if ((infile = fopen(filename, "rb")) == NULL) {
307 fprintf(stderr, "can't open %s\n", filename);
H A Drdswitch.c73 read_quant_tables (j_compress_ptr cinfo, char * filename,
90 if ((fp = fopen(filename, "r")) == NULL) {
91 fprintf(stderr, "Can't open table file %s\n", filename);
98 fprintf(stderr, "Too many tables in file %s\n", filename);
105 fprintf(stderr, "Invalid table data in file %s\n", filename);
116 fprintf(stderr, "Non-numeric data in file %s\n", filename);
158 read_scan_script (j_compress_ptr cinfo, char * filename)
182 if ((fp = fopen(filename, "r")) == NULL) {
183 fprintf(stderr, "Can't open scan definition file %s\n", filename);
191 fprintf(stderr, "Too many scans defined in file %s\n", filename);
[all...]
/external/skia/gm/
H A Dgm_expectations.h41 SkString filename(path);
42 if (filename.endsWith(SkPATH_SEPARATOR)) {
43 filename.remove(filename.size() - 1, 1);
45 filename.appendf("%c%s%s.%s", SkPATH_SEPARATOR,
47 return filename;
/external/v8/test/es5conform/
H A Dtestcfg.py39 def __init__(self, filename, path, context, root, mode, framework):
41 self.filename = filename
46 return self.filename.endswith('-n.js')
60 result.append(self.filename)
68 return open(self.filename).read()
/external/webkit/Tools/Scripts/webkitpy/common/checkout/
H A Ddiff_parser.py77 first_diff_line: The first filename line of a diff file.
107 def __init__(self, filename):
108 self.filename = filename
126 The field "files" is a dict whose key is the filename and value is
153 filename = file_declaration.group('FilePath')
154 current_file = DiffFile(filename)
155 files[filename] = current_file
/external/chromium/sdch/open-vcdiff/src/
H A Dgflags_reporting.cc210 AddXMLTag(&r, "file", flag.filename);
230 // sorted: first by filename they are defined in, then by flagname.
233 static const char* Basename(const char* filename) { argument
234 const char* sep = strrchr(filename, PATH_SEPARATOR);
235 return sep ? sep + 1 : filename;
238 static string Dirname(const string& filename) { argument
239 string::size_type sep = filename.rfind(PATH_SEPARATOR);
240 return filename.substr(0, (sep == string::npos) ? 0 : sep);
243 // Test whether a filename contains at least one of the substrings.
244 static bool FileMatchesSubstring(const string& filename, argument
[all...]
/external/open-vcdiff/gflags/src/
H A Dgflags_reporting.cc210 AddXMLTag(&r, "file", flag.filename);
230 // sorted: first by filename they are defined in, then by flagname.
233 static const char* Basename(const char* filename) { argument
234 const char* sep = strrchr(filename, PATH_SEPARATOR);
235 return sep ? sep + 1 : filename;
238 static string Dirname(const string& filename) { argument
239 string::size_type sep = filename.rfind(PATH_SEPARATOR);
240 return filename.substr(0, (sep == string::npos) ? 0 : sep);
243 // Test whether a filename contains at least one of the substrings.
244 static bool FileMatchesSubstring(const string& filename, argument
[all...]
/external/openfst/src/include/fst/extensions/far/
H A Dsttable.h54 explicit STTableWriter(const string &filename) argument
55 : stream_(filename.c_str(), ofstream::out | ofstream::binary),
61 << filename;
66 static STTableWriter<T, W> *Create(const string &filename) { argument
67 if (filename.empty()) {
71 return new STTableWriter<T, W>(filename);
173 static STTableReader<T, R> *Open(const string &filename) { argument
174 if (filename.empty()) {
179 filenames.push_back(filename);
329 // Read(istream &strm, const string &filename);
333 ReadSTTableHeader(const string &filename, H *header) argument
[all...]
/external/openssh/
H A Dreadconf.c333 parse_token(const char *cp, const char *filename, int linenum) argument
342 filename, linenum, cp);
354 char *line, const char *filename, int linenum,
383 opcode = parse_token(keyword, filename, linenum);
396 filename, linenum);
399 filename, linenum);
409 fatal("%.200s line %d: Missing yes/no argument.", filename, linenum);
416 fatal("%.200s line %d: Bad yes/no argument.", filename, linenum);
507 filename, linenum);
516 fatal("%.200s line %d: Bad yes/no/ask argument.", filename, linenu
353 process_config_line(Options *options, const char *host, char *line, const char *filename, int linenum, int *activep) argument
1076 read_config_file(const char *filename, const char *host, Options *options, int checkperm) argument
[all...]
/external/chromium/third_party/libjingle/source/talk/base/
H A Dpathutils.cc49 // FOLDER_DELIMS separate folder segments and the filename
80 Pathname::Pathname(const std::string& folder, const std::string& filename) argument
82 SetPathname(folder, filename);
145 const std::string& filename) {
147 SetFilename(filename);
229 std::string Pathname::filename() const { function in class:talk_base::Pathname
230 std::string filename(basename_);
231 filename.append(extension_);
232 return filename;
235 bool Pathname::SetFilename(const std::string& filename) { argument
144 SetPathname(const std::string& folder, const std::string& filename) argument
[all...]
/external/doclava/src/com/google/doclava/
H A DClearPage.java35 * public ClearPage() { String templ = "templates/index.cs"; String filename = "docs/index.html";
78 public static void write(Data data, String templ, String filename, JSilver cs) { argument
79 write(data, templ, filename, false, cs);
82 public static void write(Data data, String templ, String filename) { argument
83 write(data, templ, filename, false, Doclava.jSilver);
86 public static void write(Data data, String templ, String filename, boolean fullPath) { argument
87 write(data, templ, filename, false, Doclava.jSilver);
90 public static void write(Data data, String templ, String filename, boolean fullPath, JSilver cs) { argument
99 int slashcount = countSlashes(filename);
111 data.setValue("filename", filenam
[all...]
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dsymbol-table.h61 static SymbolTableImpl* ReadText(const string& filename);
227 static SymbolTable* ReadText(const string& filename) { argument
228 SymbolTableImpl* impl = SymbolTableImpl::ReadText(filename);
245 static SymbolTable* Read(const string& filename) { argument
246 ifstream strm(filename.c_str());
248 LOG(ERROR) << "SymbolTable::Read: Can't open file " << filename;
251 return Read(strm, filename);
258 bool Write(const string& filename) const {
259 ofstream strm(filename.c_str());
261 LOG(ERROR) << "SymbolTable::Write: Can't open file " << filename;
[all...]
/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/
H A Dtest_result_writer.py39 def write_test_result(port, filename, driver_output,
45 writer = TestResultWriter(port, root_output_dir, filename)
81 writer.copy_file(port.reftest_expected_filename(filename), '-expected.html')
84 writer.copy_file(port.reftest_expected_mismatch_filename(filename), '-expected-mismatch.html')
109 def __init__(self, port, root_output_dir, filename):
112 self._filename = filename
113 self._testname = port.relative_test_filename(filename)
116 """Creates the output directory (if needed) for a given test filename."""
122 """Returns a filename inside the output dir that contains modifier.
128 modifier: a string to replace the extension of filename wit
[all...]
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dtrace.c120 const char *filename; member in struct:bfd_data
148 &data->filename,
160 const char *filename; local
177 filename = data.filename;
178 if (filename) {
179 char *end = os_strrchr(filename, '/');
181 while (*filename && *filename == prg_fname[i] &&
182 filename <
[all...]
/external/wpa_supplicant_8/src/utils/
H A Dtrace.c120 const char *filename; member in struct:bfd_data
148 &data->filename,
160 const char *filename; local
177 filename = data.filename;
178 if (filename) {
179 char *end = os_strrchr(filename, '/');
181 while (*filename && *filename == prg_fname[i] &&
182 filename <
[all...]

Completed in 816 milliseconds

1234567891011>>