Searched refs:filename (Results 276 - 300 of 2469) sorted by relevance

<<11121314151617181920>>

/external/skia/gm/
H A DcopyTo4444.cpp33 SkString filename = SkOSPath::SkPathJoin( local
35 if (!SkImageDecoder::DecodeFile(filename.c_str(), &bm,
/external/compiler-rt/lib/profile/
H A DGCDAProfiling.c51 static char *filename = NULL; variable
153 char *filename = 0; local
173 filename = malloc(prefix_len + 1 + strlen(orig_filename) + 1);
174 strcpy(filename, prefix);
177 strcat(filename, "/");
185 strcat(filename, fname);
187 return filename;
190 static void recursive_mkdir(char *filename) { argument
193 for (i = 1; filename[i] != '\0'; ++i) {
194 if (filename[
[all...]
/external/qemu/block/
H A Draw-win32.c76 static int raw_open(BlockDriverState *bs, const char *filename, int flags) argument
95 s->hfile = CreateFile(filename, access_flags,
209 static int raw_create(const char *filename, QEMUOptionParameter *options) argument
222 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY,
280 static int find_device_type(BlockDriverState *bs, const char *filename) argument
286 if (strstart(filename, "\\\\.\\", &p) ||
287 strstart(filename, "//./", &p)) {
306 static int hdev_probe_device(const char *filename) argument
308 if (strstart(filename, "/dev/cdrom", NULL))
310 if (is_windows_drive(filename))
315 hdev_open(BlockDriverState *bs, const char *filename, int flags) argument
[all...]
/external/chromium/chrome/browser/safe_browsing/
H A Dprefix_set_unittest.cc68 // a temporary file, and return the filename in |filenamep|.
74 FilePath filename = temp_dir_.path().AppendASCII("PrefixSetTest");
77 if (!prefix_set.WriteFile(filename))
80 *filenamep = filename;
128 // Open |filename| and increment the int32 at |offset| by |inc|.
130 void ModifyAndCleanChecksum(const FilePath& filename, long offset, int inc) { argument
132 ASSERT_TRUE(file_util::GetFileSize(filename, &size_64));
134 file_util::ScopedFILE file(file_util::OpenFile(filename, "r+b"));
140 ASSERT_TRUE(file_util::GetFileSize(filename, &new_size_64));
310 FilePath filename; local
322 FilePath filename; local
344 FilePath filename; local
356 FilePath filename; local
368 FilePath filename; local
380 FilePath filename; local
393 FilePath filename; local
406 FilePath filename; local
422 FilePath filename; local
[all...]
/external/e2fsprogs/lib/blkid/
H A Dcache.c78 int blkid_get_cache(blkid_cache *ret_cache, const char *filename) argument
93 filename ? filename : "default cache"));
101 if (filename && !strlen(filename))
102 filename = 0;
103 if (!filename)
104 filename = safe_getenv("BLKID_FILE");
105 if (!filename)
106 filename
[all...]
/external/oprofile/libpp/
H A Dprofile.cpp41 count_type profile_t::sample_count(string const & filename) argument
45 open_sample_file(filename, samples_db);
60 enum profile_type profile_t::is_spu_sample_file(string const & filename) argument
64 open_sample_file(filename, samples_db);
73 void profile_t::open_sample_file(string const & filename, odb_t & db) argument
77 opd_header head = read_header(filename);
87 int rc = odb_open(&db, filename.c_str(), ODB_RDONLY,
91 throw op_fatal_error(filename + ": " + strerror(rc));
94 void profile_t::add_sample_file(string const & filename) argument
98 open_sample_file(filename, samples_d
[all...]
/external/chromium_org/tools/clang/plugins/
H A DChromeClassTester.cpp128 std::string filename; local
129 if (!GetFilename(record_location, &filename))
132 if (ends_with(filename, ".cc") || ends_with(filename, ".cpp") ||
133 ends_with(filename, ".mm")) {
241 std::string filename; local
242 if (!GetFilename(loc, &filename)) {
243 // If the filename cannot be determined, simply treat this as a banned
251 if (filename == "<scratch space>")
255 if (ends_with(filename, "
294 GetFilename(SourceLocation loc, std::string* filename) argument
[all...]
/external/chromium_org/v8/src/
H A Dv8utils.cc126 const char* filename) {
129 OS::PrintError("Cannot read from file %s.\n", filename);
152 char* ReadCharsFromFile(const char* filename, argument
156 FILE* file = OS::FOpen(filename, "rb");
157 char* result = ReadCharsFromFile(file, size, extra_space, verbose, filename);
163 byte* ReadBytes(const char* filename, int* size, bool verbose) { argument
164 char* chars = ReadCharsFromFile(filename, size, 0, verbose);
182 Vector<const char> ReadFile(const char* filename, argument
186 char* result = ReadCharsFromFile(filename, &size, 1, verbose);
214 int AppendChars(const char* filename, argument
122 ReadCharsFromFile(FILE* file, int* size, int extra_space, bool verbose, const char* filename) argument
231 WriteChars(const char* filename, const char* str, int size, bool verbose) argument
248 WriteBytes(const char* filename, const byte* bytes, int size, bool verbose) argument
[all...]
/external/chromium_org/tools/grit/grit/format/
H A Dhtml_inline.py35 '<link rel="stylesheet"[^>]+?href="(?P<filename>[^"]*)".*?>(\s*</link>)?',
38 '<include[^>]+?src="(?P<filename>[^"\']*)".*?>(\s*</include>)?',
41 r'<(?!script)(?:[^>]+?\s)src=(?P<quote>")(?P<filename>[^"\']*)\1',
45 'href=(?P<quote>")(?P<filename>[^"\']*)\1',
79 Takes a regex match for src="filename", attempts to read the file
80 at 'filename' and returns the src attribute with the file inlined
85 src_match: regex match object with 'filename' and 'quote' named capturing
91 It will still add the filename to |inlined_files|.
96 filename = src_match.group('filename')
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/Misc/
H A DStats.cs115 public static void WriteReport( string filename, string data ) argument
117 string absoluteFilename = GetAbsoluteFileName( filename );
123 public static string GetAbsoluteFileName( string filename )
128 filename;
/external/ceres-solver/internal/ceres/
H A Dtest_util.h66 string TestFileAbsolutePath(const string& filename);
/external/chromium_org/chrome/browser/install_verification/win/
H A Dmodule_list.cc48 wchar_t filename[MAX_PATH]; local
51 if (::GetModuleFileName(modules_[i], filename, MAX_PATH) &&
52 filename[0]) {
58 filename,
/external/chromium_org/chrome/browser/translate/
H A Dtranslate_event_details.h20 // The source filename where this event was created.
21 std::string filename; member in struct:TranslateEventDetails
23 // The source line in |filename| where this event was created.
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dappengine_blobstore.py30 filename = files.blobstore.create()
31 with files.open(filename, 'a') as f:
33 files.finalize(filename)
34 blob_key = files.blobstore.get_blob_key(filename)
/external/chromium_org/chromeos/
H A Dchromeos_test_utils.h19 const std::string& filename,
/external/chromium_org/content/browser/accessibility/
H A Dbrowser_accessibility_state_impl_win.cc58 TCHAR filename[MAX_PATH]; local
59 GetModuleFileName(modules[i], filename, sizeof(filename));
60 base::string16 module_name(base::FilePath(filename).BaseName().value());
/external/chromium_org/content/browser/speech/
H A Dinput_tag_speech_browsertest.cc36 void LoadAndStartSpeechRecognitionTest(const char* filename) { argument
40 GURL test_url = GetTestUrl("speech", filename);
66 void RunSpeechRecognitionTest(const char* filename) { argument
70 LoadAndStartSpeechRecognitionTest(filename);
/external/chromium_org/ppapi/
H A Dgenerate_ppapi_size_checks.py36 def __init__(self, filename="", start_line=-1, end_line=-1):
37 self.filename = os.path.normpath(filename)
95 def __init__(self, filename):
96 self.filename = filename
116 """Apply the patch by writing it to self.filename."""
118 sourcefile = open(self.filename, "r")
136 newsource = open(self.filename, "w")
158 elif typeinfo.source_location.filename
[all...]
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DDataLog.cpp54 const char* filename = DATA_LOG_FILENAME; local
56 const char* filename = getenv("WTF_DATA_LOG_FILENAME");
60 snprintf(actualFilename, sizeof(actualFilename), "%s.%d.txt", filename, getpid());
62 if (filename) {
/external/chromium_org/third_party/WebKit/Tools/Scripts/
H A Dimport-w3c-performance-wg-tests79 for filename in files:
80 with open(os.path.join(source_directory, root, filename), 'r') as in_file:
81 with open(os.path.join(destination_directory, root, filename), 'w') as out_file:
83 if filename.endswith(('.htm', '.html', '.css', '.js', '.php')):
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Ddiskcache_win32.cc94 bool DiskCacheWin32::FileExists(const std::string& filename) const {
95 DWORD result = ::GetFileAttributes(ToUtf16(filename).c_str());
99 bool DiskCacheWin32::DeleteFile(const std::string& filename) const {
100 return ::DeleteFile(ToUtf16(filename).c_str()) != 0;
H A Dpathutils_unittest.cc38 EXPECT_TRUE (path.filename().empty());
45 EXPECT_FALSE(path.filename().empty());
52 EXPECT_TRUE (path.filename().empty());
59 EXPECT_TRUE (path.filename().empty());
/external/chromium_org/third_party/libxml/src/include/libxml/
H A DDOCBparser.h59 docbSAXParseFile (const char *filename,
64 docbParseFile (const char *filename,
77 const char *filename,
85 docbCreateFileParserCtxt(const char *filename,
/external/chromium_org/third_party/libxml/src/
H A DtestModule.c44 xmlChar filename[PATH_MAX]; local
48 /* build the module filename, and confirm the module exists */
49 xmlStrPrintf(filename, sizeof(filename),
54 module = xmlModuleOpen((const char*)filename, 0);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_dl.h58 util_dl_open(const char *filename);

Completed in 1010 milliseconds

<<11121314151617181920>>