/external/chromium_org/net/tools/dump_cache/ |
dump_files.cc | 3 // found in the LICENSE file. 32 // Reads the |header_size| bytes from the beginning of file |name|. 34 net::FileStream file(NULL); 35 file.OpenSync(name, base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ); 36 if (!file.IsOpen()) { 37 printf("Unable to open file %s\n", name.MaybeAsASCII().c_str()); 41 int read = file.ReadSync(header, header_size); 43 printf("Unable to read file %s\n", name.MaybeAsASCII().c_str()); 69 disk_cache::MappedFile* file = block_files.GetFile(address); local 70 if (!file) 236 disk_cache::MappedFile* file = block_files_.GetFile(address); local 261 disk_cache::MappedFile* file = block_files_.GetFile(address); local [all...] |
/external/chromium_org/net/tools/quic/ |
quic_in_memory_cache.cc | 3 // found in the LICENSE file. 136 FilePath file = file_list.Next(); local 137 while (!file.empty()) { 139 if (file.value().find("/.svn/") != std::string::npos) { 140 file = file_list.Next(); 147 base::ReadFileToString(file, &file_contents); 164 LOG(DFATAL) << "Did not frame entire message from file: " << file.value() 169 // Didn't frame whole file. Assume remainder is body. 177 StringPiece base = file.value() [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/ |
test_importer.py | 68 3. Each reftest has its own copy of its reference file following the naming conventions 72 test file (in the same directory) 81 - On subsequent imports, this file is read to determine if files have been removed in the newer changesets. 85 # FIXME: Change this file to use the Host abstractions rather that os, sys, shutils, etc. 247 # Add the ref file, following WebKit style. 258 # Update any support files that need to move as well to remain relative to the -expected file. 333 _log.info('Skipping import of existing file ' + new_filepath) namespace 335 # FIXME: Maybe doing a file diff is in order here for existing files? 348 shutil.copyfile(orig_filepath, new_filepath) # The file was unmodified. 422 _log.info('Deleting file removed from the W3C repo: %s', deleted_file [all...] |
/external/chromium_org/third_party/icu/source/common/ |
brkeng.cpp | 296 UDataMemory *file = udata_open(U_ICUDATA_BRKITR, ext, dictnbuff, &status); local 299 file, status);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_debug_memory.c | 29 * @file 57 const char *file; member in struct:debug_memory_header 110 debug_malloc(const char *file, unsigned line, const char *function, 119 file, line, function, 125 hdr->file = file; 146 debug_free(const char *file, unsigned line, const char *function, 158 file, line, function, 167 hdr->file, hdr->line, hdr->function, 182 debug_calloc(const char *file, unsigned line, const char *function [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/i915/drm/ |
i915_drm_batchbuffer.c | 191 FILE *file = fopen(i915_drm_winsys(ibatch->iws)->dump_raw_file, "a"); local 192 if (file) { 193 fwrite(batch->base.map, used, 1, file); 194 fclose(file);
|
/external/chromium_org/third_party/mesa/src/src/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); 237 String file() const { return file_; } function in class:testing::internal::InternalRunDeathTestFlag
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
extension_set_unittest.cc | 571 unittest::TestAllExtensions::descriptor()->file()->name()); 605 // Now build the file, using the generated pool as an underlay. 607 const FileDescriptor* file = dynamic_pool.BuildFile(dynamic_proto); local 608 ASSERT_TRUE(file != NULL); 693 file->FindExtensionByName("message_extension"); 711 file->FindExtensionByName("dynamic_message_extension");
|
/external/chromium_org/third_party/skia/src/effects/ |
SkEmbossMask.cpp | 6 * found in the LICENSE file. 55 FILE* file = ::fopen("SkEmbossMask_Table.h", "w"); local 56 SkASSERT(file); 57 ::fprintf(file, "#include \"SkTypes.h\"\n\n"); 58 ::fprintf(file, "static const U16 gInvSqrtTable[128 * 128] = {\n"); 62 ::fprintf(file, "\t"); 66 ::fprintf(file, "0x%04X", value); 68 ::fprintf(file, ", "); 71 ::fprintf(file, "\n") [all...] |
/external/chromium_org/tools/gn/ |
loader.cc | 3 // found in the LICENSE file. 36 // Identifies one time a file is loaded in a given toolchain so we don't load 41 : file(f), 46 if (file.value() == other.file.value()) 48 return file < other.file; 51 SourceFile file; member in struct:LoaderImpl::LoadID 112 void LoaderImpl::Load(const SourceFile& file, 116 LoadID load_id(file, toolchain_name) [all...] |
/external/chromium_org/tools/win/split_link/ |
split_link.cc | 3 // found in the LICENSE file. 184 HANDLE file = CreateFile( local 186 if (file == INVALID_HANDLE_VALUE) 187 Fallback(L"couldn't open file"); 189 if (!GetFileSizeEx(file, &file_size)) 190 Fallback(L"couldn't get file size"); 194 if (!ReadFile(file, buffer, *length, &bytes_read, NULL)) 195 Fallback(L"couldn't read file"); 232 Fallback(L"couldn't find a response file in argv");
|
/external/chromium_org/v8/samples/ |
shell.cc | 144 // function is called. This function loads the content of the file named in 152 v8::String::Utf8Value file(args[0]); 153 if (*file == NULL) { 155 v8::String::NewFromUtf8(args.GetIsolate(), "Error loading file")); 158 v8::Handle<v8::String> source = ReadFile(args.GetIsolate(), *file); 161 v8::String::NewFromUtf8(args.GetIsolate(), "Error loading file")); 170 // JavaScript file. 174 v8::String::Utf8Value file(args[i]); 175 if (*file == NULL) { 177 v8::String::NewFromUtf8(args.GetIsolate(), "Error loading file")); 219 FILE* file = fopen(name, "rb"); local [all...] |
/external/chromium_org/v8/src/ |
v8utils.cc | 48 void PrintF(FILE* out, const char* format, ...) { 65 void Flush(FILE* out) { 122 char* ReadCharsFromFile(FILE* file, 127 if (file == NULL || fseek(file, 0, SEEK_END) != 0) { 129 OS::PrintError("Cannot read from file %s.\n", filename); 134 // Get the size of the file and rewind it. 135 *size = ftell(file); 136 rewind(file); 156 FILE* file = OS::FOpen(filename, "rb"); local [all...] |
/external/chromium_org/v8/test/cctest/ |
cctest.cc | 42 CcTest::CcTest(TestFunction* callback, const char* file, const char* name, 47 char *basename = strrchr(const_cast<char *>(file), '/'); 49 basename = strrchr(const_cast<char *>(file), '\\'); 52 basename = v8::internal::StrDup(file); 112 current->file(), current->name(), current->dependency()); 114 printf("%s/%s<\n", current->file(), current->name()); 159 char* file = arg_copy; local 164 && strcmp(test->file(), file) == 0 173 // Run all tests with the specified file or test name [all...] |
/external/chromium_org/webkit/browser/blob/ |
local_file_stream_reader_unittest.cc | 3 // found in the LICENSE file. 139 base::PlatformFile file = base::CreatePlatformFile( local 144 ASSERT_NE(base::kInvalidPlatformFileValue, file); 145 base::ClosePlatformFile(file); 173 // Touch file so that the file's modification time becomes different 215 // Touch file so that the file's modification time becomes different
|
/external/chromium_org/webkit/browser/fileapi/ |
native_file_util.cc | 3 // found in the LICENSE file. 37 // Copies a file |from| to |to|, and ensure the written content is synced to 175 // If parent dir of file doesn't exist. 183 // If file exists at the path. 191 // Since some file systems don't support permission setting, we do not treat 231 PlatformFile file = local 240 DCHECK_NE(base::kInvalidPlatformFileValue, file); 241 if (!base::TruncatePlatformFile(file, length)) 243 base::ClosePlatformFile(file);
|
sandbox_prioritized_origin_database.cc | 3 // found in the LICENSE file. 29 base::PlatformFile file = base::CreatePlatformFile( local 34 base::ScopedPlatformFileCloser closer(&file); 36 file == base::kInvalidPlatformFileValue) 38 base::TruncatePlatformFile(file, 0); 41 base::WritePlatformFile(file, 0, static_cast<const char*>(pickle.data()), 43 base::FlushPlatformFile(file); 169 // (This means the origin file corruption causes data loss
|
/external/clang/lib/ARCMigrate/ |
FileRemapper.cpp | 1 //===--- FileRemapper.cpp - File Remapping Helper -------------------------===// 5 // This file is distributed under the University of Illinois Open Source 71 return report("Error opening file: " + infoFile, Diag); 80 return report("Invalid file data: '" + lines[idx+1] + "' not a number", 88 return report("File does not exist: " + fromFilename, Diag); 94 return report("File does not exist: " + toFilename, Diag); 100 return report("File was modified: " + fromFilename, Diag); 153 return report("Could not create file: " + tempPath.str(), Diag); 181 return report(StringRef("File does not exist: ") + origFE->getName(), 233 void FileRemapper::remap(const FileEntry *file, llvm::MemoryBuffer *memBuf) 249 const FileEntry *file = FileMgr->getFile(filePath); local [all...] |
/external/clang/lib/Edit/ |
Commit.cpp | 5 // This file is distributed under the University of Illinois Open Source 329 // Try to load the file buffer. 331 StringRef file = SourceMgr.getBufferData(Offs.getFID(), &invalidTemp); local 336 return file.substr(Offs.getOffset()).startswith(text);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_symbolizer.h | 5 // This file is distributed under the University of Illinois Open Source 38 char *file; member in struct:__sanitizer::AddressInfo
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
AnnotationItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 60 * {@code null-ok;} encoded form, ready for writing to a file; set during 143 public void addContents(DexFile file) { 144 type = file.getTypeIds().intern(annotation.getType()); 145 ValueEncoder.addContents(file, annotation); 164 * Write a (listing file) annotation for this instance to the given 187 protected void writeTo0(DexFile file, AnnotatedOutput out) { 212 ValueEncoder encoder = new ValueEncoder(file, out);
|
DebugInfoItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 64 public void addContents(DexFile file) { 94 * @param file {@code non-null;} the file to use for referencing other sections 98 public void annotateTo(DexFile file, AnnotatedOutput out, String prefix) { 99 encode(file, prefix, null, out, false); 114 protected void writeTo0(DexFile file, AnnotatedOutput out) { 122 encode(file, null, null, out, true); 131 * @param file {@code null-ok;} file to refer to during encodin [all...] |
EncodedField.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 77 * ever appear in the same list (or same file, even).</p> 99 public void addContents(DexFile file) { 100 FieldIdsSection fieldIds = file.getFieldIds(); 133 public int encode(DexFile file, AnnotatedOutput out, 135 int fieldIdx = file.getFieldIds().indexOf(field);
|
EncodedMethod.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 87 * ever appear in the same list (or same file, even).</p> 116 public void addContents(DexFile file) { 117 MethodIdsSection methodIds = file.getMethodIds(); 118 MixedItemSection wordData = file.getWordData(); 159 public int encode(DexFile file, AnnotatedOutput out, 161 int methodIdx = file.getMethodIds().indexOf(method);
|
ItemType.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file;
|