HomeSort by relevance Sort by last modified time
    Searched refs:file_ (Results 1 - 25 of 256) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/chromium_org/sandbox/win/sandbox_poc/pocdll/
utils.h 17 file_ = NULL;
22 if (file_) {
23 fflush(file_);
24 fclose(file_);
31 if (file_) {
55 file_ = _fdopen(c_file_handle, mode);
56 return file_;
60 FILE* file_; member in class:HandleToFile
  /external/chromium_org/content/browser/download/
save_file.cc 14 // the default download directory when initializing |file_|.
18 : file_(base::FilePath(),
38 return file_.Initialize(base::FilePath());
43 return file_.AppendDataToFile(data, data_len);
47 return file_.Rename(full_path);
51 file_.Detach();
55 file_.Cancel();
59 file_.Finish();
64 // file_.SetClientGuid() method first.
65 file_.AnnotateWithSourceInformation()
    [all...]
  /external/chromium_org/base/files/
memory_mapped_file_posix.cc 18 : file_(kInvalidPlatformFileValue),
27 if (fstat(file_, &file_stat) == kInvalidPlatformFileValue) {
28 DLOG(ERROR) << "Couldn't fstat " << file_ << ", errno " << errno;
34 mmap(NULL, length_, PROT_READ, MAP_SHARED, file_, 0));
36 DLOG(ERROR) << "Couldn't mmap " << file_ << ", errno " << errno;
46 if (file_ != kInvalidPlatformFileValue)
47 ignore_result(HANDLE_EINTR(close(file_)));
51 file_ = kInvalidPlatformFileValue;
memory_mapped_file_win.cc 16 : file_(INVALID_HANDLE_VALUE),
25 file_ = CreatePlatformFile(file_name, PLATFORM_FILE_OPEN | PLATFORM_FILE_READ,
28 if (file_ == kInvalidPlatformFileValue) {
48 if (file_ == INVALID_HANDLE_VALUE)
51 length_ = ::GetFileSize(file_, NULL);
55 file_mapping_ = ::CreateFileMapping(file_, NULL, PAGE_READONLY | flags,
79 if (file_ != INVALID_HANDLE_VALUE)
80 ::CloseHandle(file_);
83 file_mapping_ = file_ = INVALID_HANDLE_VALUE;
memory_mapped_file.cc 32 file_ = file;
47 file_ = CreatePlatformFile(file_name, PLATFORM_FILE_OPEN | PLATFORM_FILE_READ,
50 if (file_ == kInvalidPlatformFileValue) {
  /external/chromium_org/third_party/ots/test/
file-stream.h 16 : file_(stream), position_(0) {
23 if (::fwrite(data, length, 1, file_) == 1) {
32 if (!::_fseeki64(file_, position, SEEK_SET)) {
37 if (!::fseeko(file_, position, SEEK_SET)) {
50 FILE * const file_; member in class:ots::FILEStream
  /external/chromium_org/media/filters/
file_data_source.cc 19 DCHECK(!file_.IsValid());
21 if (!file_.Initialize(file_path))
30 DCHECK(!file_.IsValid());
32 if (!file_.Initialize(file))
50 if (force_read_errors_ || !file_.IsValid()) {
55 int64 file_size = file_.length();
65 memcpy(data, file_.data() + position, clamped_size);
70 *size_out = file_.length();
83 if (host() && file_.IsValid()) {
84 host()->SetTotalBytes(file_.length())
    [all...]
  /external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/
cpp_file.cc 55 : file_(file),
86 SplitStringUsing(file_->package(), ".", &package_parts_);
92 string filename_identifier = FilenameIdentifier(file_->name());
104 "filename", file_->name(),
133 if (file_->message_type_count() > 0) {
134 if (HasDescriptorMethods(file_)) {
146 if (HasUnknownFields(file_)) {
151 if (HasDescriptorMethods(file_) && HasEnumDefinitions(file_)) {
156 if (HasGenericServices(file_)) {
    [all...]
  /external/protobuf/src/google/protobuf/compiler/java/
java_file.cc 89 : file_(file),
102 for (int i = 0; i < file_->enum_type_count() && !found_conflict; i++) {
103 if (file_->enum_type(i)->name() == classname_) {
107 for (int i = 0; i < file_->message_type_count() && !found_conflict; i++) {
108 if (file_->message_type(i)->name() == classname_) {
112 for (int i = 0; i < file_->service_count() && !found_conflict; i++) {
113 if (file_->service(i)->name() == classname_) {
119 error->assign(file_->name());
140 "filename", file_->name());
158 "lite", HasDescriptorMethods(file_) ? "" : "Lite")
    [all...]
  /art/compiler/
file_output_stream.cc 26 FileOutputStream::FileOutputStream(File* file) : OutputStream(file->GetPath()), file_(file) {}
29 return file_->WriteFully(buffer, byte_count);
33 return lseek(file_->Fd(), offset, static_cast<int>(whence));
  /external/chromium_org/chrome/browser/extensions/api/serial/
serial_connection.cc 32 file_(base::kInvalidPlatformFileValue) {
50 file_ = base::CreatePlatformFile(file_path,
55 if (file_ == base::kInvalidPlatformFileValue) {
62 if (file_ != base::kInvalidPlatformFileValue) {
63 base::ClosePlatformFile(file_);
64 file_ = base::kInvalidPlatformFileValue;
70 return base::ReadPlatformFileAtCurrentPos(file_, io_buffer->data(),
78 return base::WritePlatformFileAtCurrentPos(file_, io_buffer->data(),
83 base::FlushPlatformFile(file_);
serial_connection_win.cc 18 if (!::SetCommTimeouts(file_, &timeouts))
23 if (!GetCommState(file_, &dcb))
52 if (!SetCommState(file_, &dcb))
60 if (!GetCommModemStatus(file_, &dwModemStatus))
70 if (!EscapeCommFunction(file_, control_signals.dtr ? SETDTR : CLRDTR))
74 if (!EscapeCommFunction(file_, control_signals.rts ? SETRTS : CLRRTS))
  /external/sfntly/cpp/src/sfntly/port/
file_input_stream.cc 27 : file_(NULL),
41 if (file_) {
42 fclose(file_);
45 file_ = NULL;
59 if (!file_) {
65 if (feof(file_)) {
72 size_t length = fread(&value, 1, 1, file_);
83 if (!file_) {
89 if (feof(file_)) {
99 int32_t actual_read = fread(&((*b)[offset]), 1, read_count, file_);
    [all...]
  /external/protobuf/src/google/protobuf/compiler/cpp/
cpp_file.cc 55 : file_(file),
86 SplitStringUsing(file_->package(), ".", &package_parts_);
92 string filename_identifier = FilenameIdentifier(file_->name());
104 "filename", file_->name(),
135 if (HasDescriptorMethods(file_)) {
140 if (HasGenericServices(file_)) {
146 for (int i = 0; i < file_->dependency_count(); i++) {
149 "dependency", StripProto(file_->dependency(i)->name()));
164 "adddescriptorsname", GlobalAddDescriptorsName(file_->name()),
173 "assigndescriptorsname", GlobalAssignDescriptorsName(file_->name())
    [all...]
  /external/chromium_org/content/browser/tracing/
trace_subscriber_stdio.cc 22 file_(0) {}
25 DCHECK(!file_);
28 file_ = file_util::OpenFile(path_, "w+");
54 return file_ && (0 == ferror(file_));
58 if (file_) {
59 fclose(file_);
60 file_ = 0;
69 size_t written = fwrite(output_str.data(), 1, output_str.size(), file_);
71 LOG(ERROR) << "Error " << ferror(file_) << " in fwrite() to trace file"
78 FILE* file_; member in class:content::TraceSubscriberStdioImpl
    [all...]
  /external/chromium_org/tools/gn/
location.h 18 : file_(NULL),
23 : file_(file),
28 const InputFile* file() const { return file_; }
33 return other.file_ == file_ &&
39 DCHECK(file_ == other.file_);
46 const InputFile* file_; // Null when unset. member in class:Location
  /external/chromium_org/courgette/
memory_allocator.cc 18 TempFile::TempFile() : file_(base::kInvalidPlatformFileValue) {
27 base::ClosePlatformFile(file_);
28 file_ = base::kInvalidPlatformFileValue;
33 DCHECK(file_ == base::kInvalidPlatformFileValue);
44 file_ = base::CreatePlatformFile(path, flags, &created, &error_code);
45 if (file_ == base::kInvalidPlatformFileValue)
52 return file_ != base::kInvalidPlatformFileValue;
56 return file_;
60 return base::TruncatePlatformFile(file_, size);
123 if (!file_.Create() |
    [all...]
  /external/chromium/base/
event_recorder.cc 51 DCHECK(!file_);
52 file_ = file_util::OpenFile(filename, "wb+");
53 if (!file_) {
66 file_util::CloseFile(file_);
86 DCHECK(file_ != NULL);
87 file_util::CloseFile(file_);
88 file_ = NULL;
102 DCHECK(!file_);
103 file_ = file_util::OpenFile(filename, "rb");
104 if (!file_) {
    [all...]
  /external/chromium_org/base/
event_recorder_win.cc 51 DCHECK(!file_);
52 file_ = file_util::OpenFile(filename, "wb+");
53 if (!file_) {
66 file_util::CloseFile(file_);
86 DCHECK(file_ != NULL);
87 file_util::CloseFile(file_);
88 file_ = NULL;
102 DCHECK(!file_);
103 file_ = file_util::OpenFile(filename, "rb");
104 if (!file_) {
    [all...]
  /external/chromium_org/net/disk_cache/
mapped_file.h 63 explicit ScopedFlush(MappedFile* file) : file_(file) {}
65 file_->Flush();
68 MappedFile* file_; member in class:disk_cache::ScopedFlush
  /external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/java/
java_file.cc 136 : file_(file),
150 for (int i = 0; i < file_->enum_type_count() && !found_conflict; i++) {
151 if (file_->enum_type(i)->name() == classname_) {
155 for (int i = 0; i < file_->message_type_count() && !found_conflict; i++) {
156 if (file_->message_type(i)->name() == classname_) {
160 for (int i = 0; i < file_->service_count() && !found_conflict; i++) {
161 if (file_->service(i)->name() == classname_) {
167 error->assign(file_->name());
188 "filename", file_->name());
206 "lite", HasDescriptorMethods(file_) ? "" : "Lite")
    [all...]
  /external/protobuf/src/google/protobuf/compiler/javanano/
javanano_file.cc 89 : file_(file),
99 file_->CopyTo(&file_proto);
101 error->assign(file_->name());
108 if (file_->service_count() != 0) {
109 error->assign(file_->name());
115 if (!IsOuterClassNeeded(params_, file_)) {
120 if (!params_.has_java_outer_classname(file_->name())
121 && file_->message_type_count() == 1
122 && file_->enum_type_count() == 0 && file_->extension_count() == 0)
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/base/
filelock.cc 38 : path_(path), file_(file) {
51 if (file_) {
53 file_->Close();
55 file_.reset();
  /external/marisa-trie/lib/marisa/
writer.cc 15 : file_(NULL), fd_(-1), stream_(NULL), needs_fclose_(false) {}
18 : file_(file), fd_(-1), stream_(NULL), needs_fclose_(false) {}
21 : file_(NULL), fd_(fd), stream_(NULL), needs_fclose_(false) {}
24 : file_(NULL), fd_(-1), stream_(stream), needs_fclose_(false) {}
28 ::fclose(file_);
60 file_ = file;
70 Swap(&file_, &rhs->file_);
90 } else if (file_ != NULL) {
91 if ((::fwrite(data, 1, size, file_) != size) || (::fflush(file_) != 0))
    [all...]
  /external/marisa-trie/v0_1_5/lib/marisa_alpha/
writer.cc 15 : file_(NULL), fd_(-1), stream_(NULL), needs_fclose_(false) {}
18 : file_(file), fd_(-1), stream_(NULL), needs_fclose_(false) {}
21 : file_(NULL), fd_(fd), stream_(NULL), needs_fclose_(false) {}
24 : file_(NULL), fd_(-1), stream_(stream), needs_fclose_(false) {}
28 ::fclose(file_);
60 file_ = file;
70 Swap(&file_, &rhs->file_);
90 } else if (file_ != NULL) {
91 if ((::fwrite(data, 1, size, file_) != size) || (::fflush(file_) != 0))
    [all...]

Completed in 5353 milliseconds

1 2 3 4 5 6 7 8 91011