/external/chromium_org/chrome/renderer/extensions/ |
user_script_slave.cc | 3 // found in the LICENSE file. 227 const UserScript::File& file = scripts_[i]->css_scripts()[j]; local 228 std::string content = file.GetContent().as_string(); 309 UserScript::File &file = script->js_scripts()[j]; local 310 std::string content = file.GetContent().as_string(); 321 WebScriptSource(WebString::fromUTF8(content), file.url()));
|
/external/chromium_org/chrome/renderer/spellchecker/ |
spellcheck_unittest.cc | 3 // found in the LICENSE file. 58 base::PlatformFile file = base::CreatePlatformFile( local 68 spell_check_->Init(file, std::set<std::string>(), language); [all...] |
/external/chromium_org/chrome/test/chromedriver/chrome/ |
zip_internal.cc | 3 // found in the LICENSE file. 40 HANDLE file = 0; local 59 file = CreateFile(filename16.c_str(), desired_access, share_mode, 63 if (file == INVALID_HANDLE_VALUE) 64 file = NULL; 66 if (file != NULL) { 68 file_ret.hf = file; 72 CloseHandle(file); 81 // Callback function for zlib that opens a file stream from a file descriptor 83 FILE* file = NULL; local [all...] |
/external/chromium_org/chromeos/network/ |
network_event_log.cc | 3 // found in the LICENSE file. 32 LogEntry(const std::string& file, 52 std::string file; member in struct:chromeos::network_event_log::__anon7249::LogEntry 61 LogEntry::LogEntry(const std::string& file, 66 : file(file), 82 std::string filestr = format_html ? net::EscapeForHTML(file) : file; 83 line += base::StringPrintf("%s:%d ", file.c_str(), file_line); 94 output->SetString("file", [all...] |
/external/chromium_org/cloud_print/service/win/ |
cloud_print_service.cc | 3 // found in the LICENSE file. 332 base::FilePath file = user_data_dir.Append(chrome::kServiceStateFileName); local 337 bool is_valid = base::ReadFileToString(file, &contents) && 341 LOG(INFO) << file.value() << ": " << contents; 354 size_t written = file_util::WriteFile(file, new_contents.c_str(),
|
/external/chromium_org/content/browser/renderer_host/pepper/ |
quota_reservation_unittest.cc | 3 // found in the LICENSE file. 107 base::PlatformFile file = CreatePlatformFile( local 112 ASSERT_TRUE(base::TruncatePlatformFile(file, size)); 113 ASSERT_TRUE(base::ClosePlatformFile(file)); 152 // 2) Open a file, grow it, close it, and reserve quota with correct sizes. 170 // Open a file, refresh the reservation, extend the file, and close it. 177 max_written_offsets[kFile1ID] = file_size; // 1 file open.
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
TracingControllerAndroid.java | 3 // found in the LICENSE file. 21 import java.io.File; 37 * <li>Add "-e file /foo/bar/xyzzy" to log trace data to a specific file. 50 private static final String FILE_EXTRA = "file"; 110 * Returns the path of the current output file. Null if isTracing() false. 117 * Start profiling to a new file in the Downloads directory. 137 File dir = Environment.getExternalStoragePublicDirectory( 139 File file = new File local [all...] |
/external/chromium_org/media/video/capture/linux/ |
video_capture_device_linux.cc | 3 // found in the LICENSE file. 219 FILE* file = fopen(path.c_str(), "rb"); local 220 if (!file) 222 const bool success = fread(id_buf, kVidPidSize, 1, file) == 1; 223 fclose(file); 474 // First argument to select is the highest numbered file descriptor +1.
|
/external/chromium_org/net/base/ |
file_stream_unittest.cc | 3 // found in the LICENSE file. 55 // FileStreamContexts must be asynchronously closed on the file task runner 70 base::PlatformFile file = base::kInvalidPlatformFileValue; local 77 file = stream.GetPlatformFileForTesting(); 79 EXPECT_NE(base::kInvalidPlatformFileValue, file); 81 // The file should be closed. 82 EXPECT_FALSE(base::GetPlatformFileInfo(file, &info)); 86 base::PlatformFile file = base::kInvalidPlatformFileValue; local 92 file = stream.GetPlatformFileForTesting(); 93 EXPECT_NE(base::kInvalidPlatformFileValue, file); 102 base::PlatformFile file = base::kInvalidPlatformFileValue; local 122 base::PlatformFile file = base::kInvalidPlatformFileValue; local 150 base::PlatformFile file = base::CreatePlatformFile( local 174 base::PlatformFile file = base::CreatePlatformFile( local 1129 base::PlatformFile file = base::CreatePlatformFile( local 1157 base::PlatformFile file = base::CreatePlatformFile( local [all...] |
/external/chromium_org/net/disk_cache/simple/ |
simple_index_file_unittest.cc | 3 // found in the LICENSE file. 265 // Tests that after an upgrade the backend has the index file put in place. 271 // Write an old fake index file. 273 base::PlatformFile file = base::CreatePlatformFile( local 282 file, 0, reinterpret_cast<char*>(&file_contents), sizeof(file_contents)); 283 ASSERT_TRUE(base::ClosePlatformFile(file)); 286 // Write the index file. The format is incorrect, but for transitioning from 326 // Verify that the index file exists. 331 // Verify that the version of the index file is correct.
|
/external/chromium_org/sandbox/win/src/ |
file_policy_test.cc | 3 // found in the LICENSE file. 29 // Creates a file using different desired access. Returns if the call succeeded 70 HANDLE file = ::CreateFileW(full_path.c_str(), GENERIC_READ, kSharing, local 73 if (INVALID_HANDLE_VALUE != file) { 74 ::CloseHandle(file); 86 // Creates the file in parameter using the NtCreateFile api and returns if the 97 base::string16 file(argv[0]); 98 if (0 != _wcsnicmp(file.c_str(), kNTObjManPrefix, kNTObjManPrefixLen)) 99 file = MakePathToSys(argv[0], true); 102 RtlInitUnicodeString(&object_name, file.c_str()) 215 base::string16 file = MakePathToSys(argv[0], true); local 540 HANDLE file = ::CreateFile(temp_file.c_str(), FILE_ALL_ACCESS, local [all...] |
win_utils.cc | 3 // found in the LICENSE file. 208 // The file does not exist, but maybe a sub path needs to be expanded. 270 HANDLE file = ::CreateFileW(path.c_str(), 0, local 273 if (file == INVALID_HANDLE_VALUE) 275 bool rv = GetPathFromHandle(file, nt_path); 276 ::CloseHandle(file);
|
/external/chromium_org/testing/gtest/include/gtest/internal/ |
gtest-death-test-internal.h | 34 // This header file defines internal utilities needed for implementing 80 const char* file, int line, DeathTest** test); 144 const char* file, int line, DeathTest** test) = 0; 151 const char* file, int line, DeathTest** test); 248 const std::string& file() const { return file_; } function in class:testing::internal::InternalRunDeathTestFlag
|
/external/chromium_org/testing/gtest/src/ |
gtest-filepath.cc | 69 // noted, a file path can contain either kind of path separators, or a mixture 116 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns 117 // FilePath("dir/file"). If a case-insensitive extension is not 145 // Example: FilePath("path/to/file").RemoveDirectoryName() returns 146 // FilePath("file"). If there is no directory part ("just_a_file"), it returns 147 // the FilePath unmodified. If there is no file part ("just_a_dir/") it 156 // Example: FilePath("path/to/file").RemoveFileName() returns "path/to/". 159 // not have a file, like "just/a/dir/", it returns the FilePath unmodified. 182 std::string file; local 184 file = base_name.string() + "." + extension [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/ |
utilities.cpp | 5 // found in the LICENSE file. 760 FILE* file = fopen(path, "w"); local 761 if (!file) 767 fwrite(content, sizeof(char), size, file); 768 fclose(file);
|
/external/chromium_org/third_party/icu/source/common/ |
brkiter.cpp | 7 * File TXTBDRY.CPP 18 // This file was generated from the java source file BreakIterator.java 82 // Get the string object naming the rules file 114 UDataMemory* file = udata_open(U_ICUDATA_BRKITR, ext, fnbuff, &status); local 121 result = new RuleBasedBreakIterator(file, status); 138 udata_close(file);
|
umapfile.c | 12 * Memory mapped file wrappers for use by the ICU Data Implementation 78 * Memory Mapped File support. Platform dependent implementation of * 86 return FALSE; /* no file access */ 97 const char *path /* File path to be opened/mapped */ 101 HANDLE file; local 108 /* open the input file */ 109 file=CreateFileA(path, GENERIC_READ, FILE_SHARE_READ, NULL, 112 if(file==INVALID_HANDLE_VALUE) { 132 /* create an unnamed Windows file-mapping object for the specified file */ 234 FILE *file; local [all...] |
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
pkg_gencmn.c | 26 /* ICU package data file format (.dat files) ------------------------------- *** 28 Description of the data format after the usual ICU data file header 33 A .dat package file contains a simple Table of Contents of item names, 57 the .dat file length, and the length of all previous items is the difference 85 } File; 88 static File *files = NULL; 122 FileStream *in, *file; local 144 fprintf(stderr, "gencmn: unable to open input file %s\n", dataFile); 151 printf("generating %s_%s.c (table of contents source file)\n", name, type); 153 printf("generating %s.%s (common data file with table of contents)\n", name, type) 398 FileStream *file; local [all...] |
toolutil.cpp | 8 * file name: toolutil.c 18 * This file contains utility functions for ICU tools like genccode. 92 HANDLE file=FindFirstFileA(pathname, &info); local 93 if(file!=INVALID_HANDLE_VALUE) { 95 /* this file has a short name, get and use the long one */ 104 FindClose(file);
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
leveldb_main.cc | 3 // found in the LICENSE file. See the AUTHORS file for names of contributors. 45 // Print contents of a log file. (*func)() is called on every record. 48 SequentialFile* file; local 49 Status s = env->NewSequentialFile(fname, &file); 55 log::Reader reader(file, &reporter, true, 0); 63 delete file; 126 RandomAccessFile* file = NULL; local 130 s = env->NewRandomAccessFile(fname, &file); 137 s = Table::Open(Options(), file, file_size, &table) [all...] |
/external/chromium_org/third_party/leveldatabase/src/table/ |
table.cc | 3 // found in the LICENSE file. See the AUTHORS file for names of contributors. 29 RandomAccessFile* file; member in struct:leveldb::Table::Rep 39 RandomAccessFile* file, 44 return Status::InvalidArgument("file is too short to be an sstable"); 49 Status s = file->Read(size - Footer::kEncodedLength, Footer::kEncodedLength, 61 s = ReadBlock(file, ReadOptions(), footer.index_handle(), &contents); 72 rep->file = file; 96 if (!ReadBlock(rep_->file, opt, footer.metaindex_handle(), &contents).ok()) [all...] |
table_builder.cc | 3 // found in the LICENSE file. See the AUTHORS file for names of contributors. 23 WritableFile* file; member in struct:leveldb::TableBuilder::Rep 50 file(f), 63 TableBuilder::TableBuilder(const Options& options, WritableFile* file) 64 : rep_(new Rep(options, file)) { 132 r->status = r->file->Flush(); 140 // File format contains a sequence of blocks where each block has: 181 r->status = r->file->Append(block_contents); 188 r->status = r->file->Append(Slice(trailer, kBlockTrailerSize)) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
flags.h | 92 Flag(const char* file, const char* name, const char* comment, 96 const char* file() const { return file_; } function in class:Flag 212 // If file != NULL, prints information for all flags defined in file; 215 static void Print(const char* file, bool print_current_value);
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
webrtcvoe.h | 107 webrtc::VoEFile* file, 120 file_(file), 135 webrtc::VoEFile* file() const { return file_.get(); } function in class:cricket::VoEWrapper
|
/external/chromium_org/third_party/libxml/src/ |
error.c | 78 vfprintf((FILE *)xmlGenericErrorContext, msg, args); 108 * One can simply force messages to be emitted to another FILE * than 109 * stderr by setting @ctx to this file handle and @handler to NULL. 149 * Displays the associated file and line informations for the current input 246 char *file = NULL; local 263 file = err->file; 293 if (file != NULL) 294 channel(data, "%s:%d: ", file, line); 426 * @file: the file source of the error (or NULL 949 char *message, *file, *str1, *str2, *str3; local [all...] |