/external/ceres-solver/internal/ceres/ |
D | file.cc | 44 FILE* file_descriptor = fopen(filename.c_str(), "wb"); in WriteStringToFileOrDie() local 45 if (!file_descriptor) { in WriteStringToFileOrDie() 48 fwrite(data.c_str(), 1, data.size(), file_descriptor); in WriteStringToFileOrDie() 49 fclose(file_descriptor); in WriteStringToFileOrDie() 53 FILE* file_descriptor = fopen(filename.c_str(), "r"); in ReadFileToStringOrDie() local 55 if (!file_descriptor) { in ReadFileToStringOrDie() 60 fseek(file_descriptor, 0L, SEEK_END); in ReadFileToStringOrDie() 61 int num_bytes = ftell(file_descriptor); in ReadFileToStringOrDie() 65 fseek(file_descriptor, 0L, SEEK_SET); in ReadFileToStringOrDie() 69 file_descriptor); in ReadFileToStringOrDie() [all …]
|
/external/chromium_org/chromeos/dbus/ |
D | lorgnette_manager_client.cc | 48 dbus::FileDescriptor* file_descriptor = new dbus::FileDescriptor(); in ScanImage() local 49 file_descriptor->PutValue(file); in ScanImage() 55 file_descriptor), in ScanImage() 58 base::Owned(file_descriptor), in ScanImage() 124 static void CheckValidity(dbus::FileDescriptor* file_descriptor) { in CheckValidity() argument 125 file_descriptor->CheckValidity(); in CheckValidity() 130 dbus::FileDescriptor* file_descriptor, in OnCheckValidityScanImage() argument 134 if (!file_descriptor->is_valid()) { in OnCheckValidityScanImage() 145 writer.AppendFileDescriptor(*file_descriptor); in OnCheckValidityScanImage()
|
D | debug_daemon_client.cc | 52 dbus::FileDescriptor* file_descriptor = new dbus::FileDescriptor; in DumpDebugLogs() local 53 file_descriptor->PutValue(file.TakePlatformFile()); in DumpDebugLogs() 59 base::Unretained(file_descriptor)), in DumpDebugLogs() 63 base::Owned(file_descriptor), in DumpDebugLogs() 315 dbus::FileDescriptor* file_descriptor, in OnCheckValidityGetDebugLogs() argument 322 writer.AppendFileDescriptor(*file_descriptor); in OnCheckValidityGetDebugLogs() 472 scoped_ptr<dbus::FileDescriptor> file_descriptor(new dbus::FileDescriptor); in CreateFileDescriptorToStopSystemTracing() local 473 file_descriptor->PutValue(pipe_write_end.TakePlatformFile()); in CreateFileDescriptorToStopSystemTracing() 474 file_descriptor->CheckValidity(); in CreateFileDescriptorToStopSystemTracing() 475 return file_descriptor.Pass(); in CreateFileDescriptorToStopSystemTracing() [all …]
|
/external/protobuf/src/google/protobuf/ |
D | message.cc | 119 bool Message::ParseFromFileDescriptor(int file_descriptor) { in ParseFromFileDescriptor() argument 120 io::FileInputStream input(file_descriptor); in ParseFromFileDescriptor() 124 bool Message::ParsePartialFromFileDescriptor(int file_descriptor) { in ParsePartialFromFileDescriptor() argument 125 io::FileInputStream input(file_descriptor); in ParsePartialFromFileDescriptor() 161 bool Message::SerializeToFileDescriptor(int file_descriptor) const { in SerializeToFileDescriptor() 162 io::FileOutputStream output(file_descriptor); in SerializeToFileDescriptor() 166 bool Message::SerializePartialToFileDescriptor(int file_descriptor) const { in SerializePartialToFileDescriptor() 167 io::FileOutputStream output(file_descriptor); in SerializePartialToFileDescriptor()
|
D | message.h | 260 bool ParseFromFileDescriptor(int file_descriptor); 263 bool ParsePartialFromFileDescriptor(int file_descriptor); 273 bool SerializeToFileDescriptor(int file_descriptor) const; 275 bool SerializePartialToFileDescriptor(int file_descriptor) const;
|
/external/chromium_org/components/metrics/serialization/ |
D | serialization_utils.cc | 172 base::ScopedFD file_descriptor(open(filename.c_str(), in WriteMetricToFile() local 176 if (file_descriptor.get() < 0) { in WriteMetricToFile() 181 fchmod(file_descriptor.get(), READ_WRITE_ALL_FILE_FLAGS); in WriteMetricToFile() 185 if (HANDLE_EINTR(flock(file_descriptor.get(), LOCK_EX)) < 0) { in WriteMetricToFile() 199 if (base::WriteFileDescriptor(file_descriptor.get(), in WriteMetricToFile() 207 file_descriptor.get(), msg.c_str(), msg.length()) != in WriteMetricToFile()
|
/external/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_impl.cc | 77 FileInputStream::FileInputStream(int file_descriptor, int block_size) in FileInputStream() argument 78 : copying_input_(file_descriptor), in FileInputStream() 105 int file_descriptor) in CopyingFileInputStream() argument 106 : file_(file_descriptor), in CopyingFileInputStream() 173 FileOutputStream::FileOutputStream(int file_descriptor, int block_size) in FileOutputStream() argument 174 : copying_output_(file_descriptor), in FileOutputStream() 204 int file_descriptor) in CopyingFileOutputStream() argument 205 : file_(file_descriptor), in CopyingFileOutputStream()
|
D | zero_copy_stream_impl.h | 69 explicit FileInputStream(int file_descriptor, int block_size = -1); 99 CopyingFileInputStream(int file_descriptor); 147 explicit FileOutputStream(int file_descriptor, int block_size = -1); 181 CopyingFileOutputStream(int file_descriptor);
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
D | message.cc | 120 bool Message::ParseFromFileDescriptor(int file_descriptor) { in ParseFromFileDescriptor() argument 121 io::FileInputStream input(file_descriptor); in ParseFromFileDescriptor() 125 bool Message::ParsePartialFromFileDescriptor(int file_descriptor) { in ParsePartialFromFileDescriptor() argument 126 io::FileInputStream input(file_descriptor); in ParsePartialFromFileDescriptor() 162 bool Message::SerializeToFileDescriptor(int file_descriptor) const { in SerializeToFileDescriptor() 163 io::FileOutputStream output(file_descriptor); in SerializeToFileDescriptor() 167 bool Message::SerializePartialToFileDescriptor(int file_descriptor) const { in SerializePartialToFileDescriptor() 168 io::FileOutputStream output(file_descriptor); in SerializePartialToFileDescriptor()
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_impl.cc | 78 FileInputStream::FileInputStream(int file_descriptor, int block_size) in FileInputStream() argument 79 : copying_input_(file_descriptor), in FileInputStream() 106 int file_descriptor) in CopyingFileInputStream() argument 107 : file_(file_descriptor), in CopyingFileInputStream() 174 FileOutputStream::FileOutputStream(int file_descriptor, int block_size) in FileOutputStream() argument 175 : copying_output_(file_descriptor), in FileOutputStream() 205 int file_descriptor) in CopyingFileOutputStream() argument 206 : file_(file_descriptor), in CopyingFileOutputStream()
|
D | zero_copy_stream_impl.h | 69 explicit FileInputStream(int file_descriptor, int block_size = -1); 99 CopyingFileInputStream(int file_descriptor); 147 explicit FileOutputStream(int file_descriptor, int block_size = -1); 181 CopyingFileOutputStream(int file_descriptor);
|
/external/chromium_org/chrome/browser/printing/ |
D | print_view_manager_basic.h | 26 void set_file_descriptor(const base::FileDescriptor& file_descriptor) { in set_file_descriptor() argument 27 file_descriptor_ = file_descriptor; in set_file_descriptor() 31 base::FileDescriptor file_descriptor() const { return file_descriptor_; } in file_descriptor() function
|
D | printing_message_filter.cc | 195 const base::FileDescriptor& file_descriptor = in OnAllocateTempFileForPrinting() 196 print_view_manager->file_descriptor(); in OnAllocateTempFileForPrinting() 197 temp_file_fd->fd = file_descriptor.fd; in OnAllocateTempFileForPrinting() 227 const base::FileDescriptor& file_descriptor = in OnTempFileForPrintingWritten() 228 print_view_manager->file_descriptor(); in OnTempFileForPrintingWritten() 229 PrintingContextAndroid::PdfWritingDone(file_descriptor.fd, true); in OnTempFileForPrintingWritten() 358 int file_descriptor; in OnScriptedPrintReply() local 360 if (base::StringToInt(device_name, &file_descriptor)) { in OnScriptedPrintReply() 364 routing_id, file_descriptor)); in OnScriptedPrintReply()
|
/external/chromium_org/content/public/browser/ |
D | file_descriptor_info.h | 18 FileDescriptorInfo(int id, const base::FileDescriptor& file_descriptor) in FileDescriptorInfo() 20 fd(file_descriptor) { in FileDescriptorInfo()
|
/external/chromium_org/content/renderer/pepper/ |
D | pepper_broker_unittest.cc | 47 base::FileDescriptor file_descriptor(fds[1], true); // Auto close. in TEST_F() local 48 IPC::ChannelHandle valid_channel(kChannelName, file_descriptor); in TEST_F()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | importer.cc | 439 int file_descriptor; in OpenDiskFile() local 441 file_descriptor = open(filename.c_str(), O_RDONLY); in OpenDiskFile() 442 } while (file_descriptor < 0 && errno == EINTR); in OpenDiskFile() 443 if (file_descriptor >= 0) { in OpenDiskFile() 444 io::FileInputStream* result = new io::FileInputStream(file_descriptor); in OpenDiskFile()
|
D | command_line_interface.cc | 312 int file_descriptor; in WriteAllToDisk() local 314 file_descriptor = in WriteAllToDisk() 316 } while (file_descriptor < 0 && errno == EINTR); in WriteAllToDisk() 318 if (file_descriptor < 0) { in WriteAllToDisk() 328 write_result = write(file_descriptor, data, size); in WriteAllToDisk() 355 if (close(file_descriptor) != 0) { in WriteAllToDisk() 372 int file_descriptor; in WriteAllToZip() local 374 file_descriptor = in WriteAllToZip() 376 } while (file_descriptor < 0 && errno == EINTR); in WriteAllToZip() 378 if (file_descriptor < 0) { in WriteAllToZip() [all …]
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/ |
D | importer.cc | 444 int file_descriptor; in OpenDiskFile() local 446 file_descriptor = open(filename.c_str(), O_RDONLY); in OpenDiskFile() 447 } while (file_descriptor < 0 && errno == EINTR); in OpenDiskFile() 448 if (file_descriptor >= 0) { in OpenDiskFile() 449 io::FileInputStream* result = new io::FileInputStream(file_descriptor); in OpenDiskFile()
|
D | command_line_interface.cc | 331 int file_descriptor; in WriteAllToDisk() local 333 file_descriptor = in WriteAllToDisk() 335 } while (file_descriptor < 0 && errno == EINTR); in WriteAllToDisk() 337 if (file_descriptor < 0) { in WriteAllToDisk() 347 write_result = write(file_descriptor, data, size); in WriteAllToDisk() 374 if (close(file_descriptor) != 0) { in WriteAllToDisk() 391 int file_descriptor; in WriteAllToZip() local 393 file_descriptor = in WriteAllToZip() 395 } while (file_descriptor < 0 && errno == EINTR); in WriteAllToZip() 397 if (file_descriptor < 0) { in WriteAllToZip() [all …]
|
/external/chromium_org/third_party/protobuf/python/google/protobuf/ |
D | descriptor_pool.py | 184 file_descriptor = descriptor.FileDescriptor( 214 message_type, file_proto.package, file_descriptor, scope) 215 file_descriptor.message_types_by_name[message_desc.name] = message_desc 218 file_descriptor, None, scope) 224 file_descriptor.message_types_by_name[desc_proto.name] = desc 226 self._file_descriptors[file_proto.name] = file_descriptor
|
/external/chromium_org/dbus/ |
D | BUILD.gn | 16 "file_descriptor.cc", 17 "file_descriptor.h",
|
D | dbus.gyp | 32 'file_descriptor.cc', 33 'file_descriptor.h',
|
/external/glide/library/src/main/java/com/bumptech/glide/ |
D | Glide.java | 27 import com.bumptech.glide.load.model.file_descriptor.FileDescriptorFileLoader; 28 import com.bumptech.glide.load.model.file_descriptor.FileDescriptorModelLoader; 29 import com.bumptech.glide.load.model.file_descriptor.FileDescriptorResourceLoader; 30 import com.bumptech.glide.load.model.file_descriptor.FileDescriptorStringLoader; 31 import com.bumptech.glide.load.model.file_descriptor.FileDescriptorUriLoader;
|
/external/chromium_org/components/nacl/loader/ |
D | nacl_helper_linux.cc | 56 void ReplaceFDWithDummy(int file_descriptor) { in ReplaceFDWithDummy() argument 58 PCHECK(-1 != fcntl(file_descriptor, F_GETFD, 0)); in ReplaceFDWithDummy() 61 PCHECK(-1 != dup2(pipefd[0], file_descriptor)); in ReplaceFDWithDummy()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/file_descriptor/ |
D | FileDescriptorModelLoader.java | 1 package com.bumptech.glide.load.model.file_descriptor;
|