HomeSort by relevance Sort by last modified time
    Searched defs:file (Results 276 - 300 of 1272) sorted by null

<<11121314151617181920>>

  /external/chromium_org/net/disk_cache/blockfile/
block_files_unittest.cc 3 // found in the LICENSE file.
21 for (base::FilePath file = iter.Next(); !file.value().empty();
22 file = iter.Next()) {
42 // Fill up the 32-byte block file (use three files).
68 // Fill up the 32-byte block file (use three files).
113 // At this point, there are kNumEntries / 2 entries on the file, randomly
117 MappedFile* file = files.GetFile(address); local
118 ASSERT_TRUE(NULL != file);
121 reinterpret_cast<BlockFileHeader*>(file->buffer())
213 MappedFile* file = files.GetFile(address); local
    [all...]
  /external/chromium_org/net/quic/
quic_in_memory_cache.cc 3 // found in the LICENSE file.
113 FilePath file = file_list.Next(); local
114 for (; !file.empty(); file = file_list.Next()) {
116 if (file.value().find(FILE_PATH_LITERAL("/.svn/")) != string::npos) {
121 base::ReadFileToString(file, &file_contents);
124 LOG(WARNING) << "File '" << file.value() << "' too large: "
133 LOG(DFATAL) << "Headers invalid or empty, ignoring: " << file.value();
153 base = file.AsUTF8Unsafe()
    [all...]
  /external/chromium_org/net/ssl/
openssl_ssl_util.cc 3 // found in the LICENSE file.
161 if (error_info.file != NULL)
162 dict->SetString("file", error_info.file);
204 const char* file; local
207 error_code = ERR_get_error_line(&file, &line);
210 out_error_info->file = file;
215 out_error_info->file = file;
    [all...]
  /external/chromium_org/net/tools/dump_cache/
cache_dumper.cc 3 // found in the LICENSE file.
52 // If the path starts with the long file header, skip over that
103 base::FilePath::StringType file = entry_path_.value(); local
105 entry_ = CreateFileW(file.c_str(), GENERIC_WRITE|GENERIC_READ, 0, 0,
108 wprintf(L"CreateFileW (%s) failed: %d\n", file.c_str(), GetLastError());
172 // Skip this entry if it was truncated (results in an empty file).
  /external/chromium_org/ppapi/tests/
test_broker.cc 3 // found in the LICENSE file.
83 bool ReadMessage(PlatformFile file, size_t message_len, char* message) {
88 return ::ReadFile(file, message, size, &read, NULL) && read == size;
94 ssize_t read = HANDLE_EINTR(::read(file, message + total_read,
104 bool WriteMessage(PlatformFile file, size_t message_len, const char* message) {
109 return ::WriteFile(file, message, size, &written, NULL) && written == size;
115 ssize_t written = HANDLE_EINTR(::write(file, message + total_written,
125 bool VerifyMessage(PlatformFile file, size_t message_len, const char* message) {
127 bool success = ReadMessage(file, message_len, message_received) &&
133 bool ClosePlatformFile(PlatformFile file) {
296 PlatformFile file = IntToPlatformFile(handle); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/fileapi/
File.cpp 27 #include "core/fileapi/File.h"
40 static String getContentTypeFromFileName(const String& name, File::ContentTypeLookupPolicy policy)
45 if (policy == File::WellKnownContentTypes)
48 ASSERT(policy == File::AllContentTypes);
63 static PassOwnPtr<BlobData> createBlobDataForFile(const String& path, File::ContentTypeLookupPolicy policy)
68 static PassOwnPtr<BlobData> createBlobDataForFileWithName(const String& path, const String& fileSystemName, File::ContentTypeLookupPolicy policy)
76 blobData->setContentType(getContentTypeFromFileName(fileSystemName, File::WellKnownContentTypes));
84 blobData->setContentType(getContentTypeFromFileName(fileSystemURL.path(), File::WellKnownContentTypes));
89 PassRefPtrWillBeRawPtr<File> File::createWithRelativePath(const String& path, const String& relativePath
91 RefPtrWillBeRawPtr<File> file = adoptRefWillBeNoop(new File(path, File::AllContentTypes, File::IsUserVisible)); local
    [all...]
  /external/chromium_org/third_party/angle/src/common/
utilities.cpp 4 // found in the LICENSE file.
469 FILE* file = fopen(path, "w"); local
470 if (!file)
476 fwrite(content, sizeof(char), size, file);
477 fclose(file);
  /external/chromium_org/third_party/icu/source/common/
dictionarydata.h 82 UCharsDictionaryMatcher(const UChar *c, UDataMemory *f) : characters(c), file(f) { }
89 UDataMemory *file; member in class:UCharsDictionaryMatcher
96 // the transform constant should be the constant read from the file, not a masked version!
99 : characters(c), transformConstant(t), file(f) { }
109 UDataMemory *file; member in class:BytesDictionaryMatcher
121 * A dictionary .dict data file contains a byte-serialized BytesTrie or
128 * A .dict file begins with a standard ICU data file header
132 * After the header, the file contains the following parts.
142 * Each byte offset marks the start of the next part in the data file,
    [all...]
  /external/chromium_org/third_party/icu/source/tools/toolutil/
filestrm.c 9 * File FILESTRM.C
34 FILE *file = fopen(filename, mode); local
35 return (FileStream*)file;
47 FILE* result = _wfopen(filename, mode);
52 FILE *result;
76 fclose((FILE*)fileStream);
82 FILE* temp = fopen(filename, "r");
97 FILE* file = tmpfile()
    [all...]
unewdata.c 8 * file name: unewdata.c
28 FileStream *file; member in struct:UNewDataMemory
84 /* open the output file */
100 pData->file=T_FileStream_open(filename, "wb");
101 if(pData->file==NULL) {
120 T_FileStream_write(pData->file, &pData->headerSize, 4);
123 T_FileStream_write(pData->file, pInfo, pInfo->size);
127 T_FileStream_write(pData->file, comment, commentLength);
135 T_FileStream_write(pData->file, bytes, headerSize);
150 if(pData->file!=NULL)
    [all...]
uparse.c 8 * file name: uparse.c
16 * This file provides a parser for files that are delimited by one single
77 FileStream *file; local
93 file=T_FileStream_stdin();
95 file=T_FileStream_open(filename, "r");
97 if(file==NULL) {
102 while(T_FileStream_readLine(file, line, sizeof(line))!=NULL) {
177 T_FileStream_close(file);
  /external/chromium_org/third_party/leveldatabase/src/db/
table_cache.cc 3 // found in the LICENSE file. See the AUTHORS file for names of contributors.
15 RandomAccessFile* file; member in struct:leveldb::TableAndFile
22 delete tf->file;
54 RandomAccessFile* file = NULL; local
56 s = env_->NewRandomAccessFile(fname, &file);
59 if (env_->NewRandomAccessFile(old_fname, &file).ok()) {
64 s = Table::Open(*options_, file, file_size, &table);
69 delete file;
71 // or somebody repairs the file, we recover automatically
    [all...]
  /external/chromium_org/third_party/leveldatabase/src/util/
env.cc 3 // found in the LICENSE file. See the AUTHORS file for names of contributors.
39 WritableFile* file; local
40 Status s = env->NewWritableFile(fname, &file);
44 s = file->Append(data);
46 s = file->Sync();
49 s = file->Close();
51 delete file; // Will auto-close if we did not close above
70 SequentialFile* file; local
71 Status s = env->NewSequentialFile(fname, &file);
    [all...]
  /external/chromium_org/third_party/libvpx/source/libvpx/vpx_mem/include/
vpx_mem_tracker.h 5 * that can be found in the LICENSE file in the root of the source
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
30 char *file; member in struct:mem_block
65 char * file, unsigned int line)
68 file - the file addr was referenced from
69 line - the line in file addr was referenced from
70 Adds memory address addr, it's size, file and line it came from
74 char *file, unsigned int line
    [all...]
  /external/chromium_org/third_party/opus/src/celt/dump_modes/
dump_modes.c 51 void dump_modes(FILE *file, CELTMode **modes, int nb_modes)
54 fprintf(file, "/* The contents of this file was automatically generated by dump_modes.c\n");
55 fprintf(file, " with arguments:");
59 fprintf(file, " %d %d",mode->Fs,mode->shortMdctSize*mode->nbShortMdcts);
61 fprintf(file, "\n It contains static definitions for some pre-defined modes. */\n");
62 fprintf(file, "#include \"modes.h\"\n");
63 fprintf(file, "#include \"rate.h\"\n");
65 fprintf(file, "\n")
300 FILE *file; local
    [all...]
  /external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
plugin.cc 73 CodeGeneratorResponse::File* file = response_->add_file(); local
74 file->set_name(filename);
75 return new io::StringOutputStream(file->mutable_content());
80 CodeGeneratorResponse::File* file = response_->add_file(); local
81 file->set_name(filename);
82 file->set_insertion_point(insertion_point);
83 return new io::StringOutputStream(file->mutable_content());
115 const FileDescriptor* file = pool.BuildFile(request.proto_file(i)) local
137 const FileDescriptor* file = parsed_files[i]; local
    [all...]
  /external/chromium_org/third_party/protobuf/src/google/protobuf/
message_unittest.cc 110 int file = open(filename.c_str(), O_RDONLY | O_BINARY); local
113 EXPECT_TRUE(message.ParseFromFileDescriptor(file));
116 EXPECT_GE(close(file), 0);
123 int file = open(filename.c_str(), O_RDONLY | O_BINARY); local
126 EXPECT_TRUE(message.ParseFromFileDescriptor(file));
129 EXPECT_GE(close(file), 0);
342 FileDescriptorProto file; local
343 file.set_name("foo.proto");
344 file.add_message_type()->set_name("Foo");
345 const Descriptor* descriptor = pool.BuildFile(file)->message_type(0)
    [all...]
  /external/chromium_org/third_party/protobuf/src/google/protobuf/testing/
file.cc 32 // emulates google3/file/base/file.cc
34 #include <google/protobuf/testing/file.h>
40 #include <windows.h> // Find*File(). :(
61 bool File::Exists(const string& name) {
65 bool File::ReadFileToString(const string& name, string* output) {
67 FILE* file = fopen(name.c_str(), "rb"); local
68 if (file == NULL) return false;
71 size_t n = fread(buffer, 1, sizeof(buffer), file);
86 FILE* file = fopen(name.c_str(), "wb"); local
    [all...]
  /external/chromium_org/third_party/skia/experimental/LightSymbolsUtil/lightsymbols/
lightsymbols.cc 41 HANDLE h = (HANDLE)GetCurrentThreadId(); // f, keep handle so I don't have to recompie tyhe whole app; update toi DWORD one I really need changes in header file
58 FILE* log = fopen("d:\\edisonn\\log.txt", "wt");
63 FILE* file = fopen(getenv(LIGHT_SYMBOLS_FILE), "rt"); local
64 if (file == NULL) {
76 if (fscanf(file, "%i", &id) == 0) break;
82 fgets(szLine, 10000, file);
86 fclose(file);
87 file = fopen(getenv(LIGHT_SYMBOLS_FILE), "rt");
88 if (file == NULL) {
    [all...]
  /external/chromium_org/third_party/skia/src/ports/
SkOSFile_win.cpp 5 * found in the LICENSE file.
34 int fileno = _fileno((FILE*)f);
39 HANDLE file = (HANDLE)_get_osfhandle(fileno); local
40 if (INVALID_HANDLE_VALUE == file) {
46 if (0 == GetFileInformationByHandle(file, &info)) {
80 HANDLE file = (HANDLE)_get_osfhandle(fileno); local
81 if (INVALID_HANDLE_VALUE == file) {
86 if (0 == GetFileSizeEx(file, &fileSize)) {
87 //TODO: use SK_TRACEHR(GetLastError(), "Could not get file size.") to report.
94 SkAutoWinMMap mmap(CreateFileMapping(file, NULL, PAGE_READONLY, 0, 0, NULL))
    [all...]
  /external/chromium_org/third_party/skia/tests/
StreamTest.cpp 5 * found in the LICENSE file.
47 ERRORF(reporter, "Failed to create tmp file %s\n", path.c_str());
66 FILE* file = ::fopen(path.c_str(), "rb"); local
67 SkFILEStream stream(file, SkFILEStream::kCallerPasses_Ownership);
  /external/chromium_org/third_party/skia/tools/
sk_tool_utils_font.cpp 5 * found in the LICENSE file.
71 const char* file = NULL; local
76 file = sub.fFile;
80 if (!file) {
84 file = gSubFonts[gDefaultFontIndex].fFile;
86 SkString filepath(GetResourcePath(file));
120 " * found in the LICENSE file.\n"
125 static FILE* font_header() {
130 FILE* out = fopen(pathStr.c_str(), "w");
136 FILE* out = font_header()
    [all...]
  /external/chromium_org/third_party/webrtc/modules/audio_processing/test/
test_utils.h 5 * that can be found in the LICENSE file in the root of the source
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
37 #error "Need to convert samples to little-endian when writing to PCM file"
47 FILE* file_handle_;
85 static inline FILE* OpenFile(const std::string& filename, const char* mode) {
86 FILE* file = fopen(filename.c_str(), mode); local
87 if (!file) {
88 printf("Unable to open file %s\n", filename.c_str())
    [all...]
  /external/chromium_org/third_party/webrtc/test/testsupport/
fileutils_unittest.cc 5 * that can be found in the LICENSE file in the root of the source
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
67 FILE* file = fopen(file_it->c_str(), "wb"); local
68 ASSERT_TRUE(file != NULL) << "Failed to write file: " << file_it->c_str();
69 ASSERT_GT(fprintf(file, "%s", "Dummy data"), 0);
70 fclose(file);
166 ASSERT_EQ(0u, webrtc::test::GetFileSize("non-existing-file.tmp"))
    [all...]
  /external/chromium_org/third_party/zlib/contrib/minizip/
ioapi.c 85 FILE* file = NULL; local
97 file = fopen(filename, mode_fopen);
98 return file;
103 FILE* file = NULL; local
115 file = fopen64((const char*)filename, mode_fopen);
116 return file;
123 ret = (uLong)fread(buf, 1, (size_t)size, (FILE *)stream);
130 ret = (uLong)fwrite(buf, 1, (size_t)size, (FILE *)stream)
    [all...]

Completed in 743 milliseconds

<<11121314151617181920>>