/external/dynamic_depth/internal/xmpmeta/ |
D | file.cc | 12 FILE* file_descriptor = fopen(filename.c_str(), "wb"); in WriteStringToFileOrDie() local 13 if (!file_descriptor) { in WriteStringToFileOrDie() 16 fwrite(data.c_str(), 1, data.size(), file_descriptor); in WriteStringToFileOrDie() 17 fclose(file_descriptor); in WriteStringToFileOrDie() 21 FILE* file_descriptor = fopen(filename.c_str(), "r"); in ReadFileToStringOrDie() local 23 if (!file_descriptor) { in ReadFileToStringOrDie() 28 fseek(file_descriptor, 0L, SEEK_END); in ReadFileToStringOrDie() 29 int num_bytes = ftell(file_descriptor); in ReadFileToStringOrDie() 33 fseek(file_descriptor, 0L, SEEK_SET); in ReadFileToStringOrDie() 35 fread(&((*data)[0]), sizeof((*data)[0]), num_bytes, file_descriptor); in ReadFileToStringOrDie() [all …]
|
/external/python/apitools/apitools/gen/ |
D | extended_descriptor.py | 162 def _WriteFile(file_descriptor, package, version, proto_printer): argument 164 proto_printer.PrintPreamble(package, version, file_descriptor) 165 _PrintEnums(proto_printer, file_descriptor.enum_types) 166 _PrintMessages(proto_printer, file_descriptor.message_types) 168 file_descriptor.enum_types, file_descriptor.package) 171 file_descriptor.message_types, file_descriptor.package)) 176 def WriteMessagesFile(file_descriptor, package, version, printer): argument 178 _WriteFile(file_descriptor, package, version, 182 def WritePythonFile(file_descriptor, package, version, printer): argument 184 _WriteFile(file_descriptor, package, version, [all …]
|
/external/protobuf/python/google/protobuf/pyext/ |
D | descriptor_pool.cc | 228 const FileDescriptor* file_descriptor = in FindFileByName() local 230 if (file_descriptor == NULL) { in FindFileByName() 236 return PyFileDescriptor_FromDescriptor(file_descriptor); in FindFileByName() 315 const FileDescriptor* file_descriptor = in FindFileContainingSymbol() local 317 if (file_descriptor == NULL) { in FindFileContainingSymbol() 322 return PyFileDescriptor_FromDescriptor(file_descriptor); in FindFileContainingSymbol() 335 const FileDescriptor* file_descriptor = in AddFileDescriptor() local 337 if (!file_descriptor) { in AddFileDescriptor() 340 if (file_descriptor != in AddFileDescriptor() 341 self->pool->FindFileByName(file_descriptor->name())) { in AddFileDescriptor() [all …]
|
D | descriptor.h | 62 const FileDescriptor* file_descriptor); 68 const FileDescriptor* file_descriptor, PyObject* serialized_pb);
|
D | descriptor.cc | 1220 namespace file_descriptor { namespace 1349 (destructor)file_descriptor::Dealloc, // tp_dealloc 1372 file_descriptor::Methods, // tp_methods 1374 file_descriptor::Getters, // tp_getset 1387 const FileDescriptor* file_descriptor) { in PyFileDescriptor_FromDescriptor() argument 1388 return PyFileDescriptor_FromDescriptorWithSerializedPb(file_descriptor, in PyFileDescriptor_FromDescriptor() 1393 const FileDescriptor* file_descriptor, PyObject *serialized_pb) { in PyFileDescriptor_FromDescriptorWithSerializedPb() argument 1396 &PyFileDescriptor_Type, file_descriptor, &was_created); in PyFileDescriptor_FromDescriptorWithSerializedPb()
|
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/ |
D | PeerConnectionFactory.java | 146 public boolean startAecDump(int file_descriptor) { in startAecDump() argument 147 return nativeStartAecDump(nativeFactory, file_descriptor); in startAecDump() 159 public boolean startRtcEventLog(int file_descriptor) { in startRtcEventLog() argument 160 return nativeStartRtcEventLog(nativeFactory, file_descriptor); in startRtcEventLog() 253 private static native boolean nativeStartAecDump(long nativeFactory, int file_descriptor); in nativeStartAecDump() argument 257 private static native boolean nativeStartRtcEventLog(long nativeFactory, int file_descriptor); in nativeStartRtcEventLog() argument
|
/external/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_impl.cc | 79 FileInputStream::FileInputStream(int file_descriptor, int block_size) in FileInputStream() argument 80 : copying_input_(file_descriptor), in FileInputStream() 107 int file_descriptor) in CopyingFileInputStream() argument 108 : file_(file_descriptor), in CopyingFileInputStream() 175 FileOutputStream::FileOutputStream(int file_descriptor, int block_size) in FileOutputStream() argument 176 : copying_output_(file_descriptor), in FileOutputStream() 206 int file_descriptor) in CopyingFileOutputStream() argument 207 : 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/protobuf/python/google/protobuf/ |
D | descriptor_pool.py | 324 file_descriptor = descriptor.FileDescriptor( 345 for message_type in file_descriptor.message_types_by_name.values(): 347 for enum_type in file_descriptor.enum_types_by_name.values(): 364 message_type, file_proto.package, file_descriptor, scope, 366 file_descriptor.message_types_by_name[message_desc.name] = ( 370 file_descriptor.enum_types_by_name[enum_type.name] = ( 372 file_descriptor, None, scope)) 378 file_descriptor.package, extension_proto.extendee, scope) 380 file_descriptor.package, scope) 381 file_descriptor.extensions_by_name[extension_desc.name] = ( [all …]
|
D | symbol_database.py | 112 def RegisterFileDescriptor(self, file_descriptor): argument 121 self.pool.AddFileDescriptor(file_descriptor)
|
/external/protobuf/src/google/protobuf/ |
D | message.cc | 125 bool Message::ParseFromFileDescriptor(int file_descriptor) { in ParseFromFileDescriptor() argument 126 io::FileInputStream input(file_descriptor); in ParseFromFileDescriptor() 130 bool Message::ParsePartialFromFileDescriptor(int file_descriptor) { in ParsePartialFromFileDescriptor() argument 131 io::FileInputStream input(file_descriptor); in ParsePartialFromFileDescriptor() 167 bool Message::SerializeToFileDescriptor(int file_descriptor) const { in SerializeToFileDescriptor() 168 io::FileOutputStream output(file_descriptor); in SerializeToFileDescriptor() 172 bool Message::SerializePartialToFileDescriptor(int file_descriptor) const { in SerializePartialToFileDescriptor() 173 io::FileOutputStream output(file_descriptor); in SerializePartialToFileDescriptor()
|
D | message.h | 268 bool ParseFromFileDescriptor(int file_descriptor); 271 bool ParsePartialFromFileDescriptor(int file_descriptor); 281 bool SerializeToFileDescriptor(int file_descriptor) const; 283 bool SerializePartialToFileDescriptor(int file_descriptor) const;
|
/external/libchrome/base/memory/ |
D | shared_memory_handle_android.cc | 30 const base::FileDescriptor& file_descriptor, in SharedMemoryHandle() argument 34 DCHECK_GE(file_descriptor.fd, 0); in SharedMemoryHandle() 35 file_descriptor_ = file_descriptor; in SharedMemoryHandle()
|
D | shared_memory_handle_posix.cc | 18 const base::FileDescriptor& file_descriptor, in SharedMemoryHandle() argument 21 : file_descriptor_(file_descriptor), guid_(guid), size_(size) {} in SharedMemoryHandle()
|
/external/grpc-grpc/src/core/lib/security/security_connector/ |
D | load_system_roots_linux.cc | 122 int file_descriptor = open(roots_filenames[i].path, O_RDONLY); in CreateRootCertsBundle() local 123 if (file_descriptor != -1) { in CreateRootCertsBundle() 127 read(file_descriptor, bundle_string + bytes_read, cert_file_size); in CreateRootCertsBundle()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | importer.cc | 481 int file_descriptor; in OpenDiskFile() local 483 file_descriptor = open(filename.c_str(), O_RDONLY); in OpenDiskFile() 484 } while (file_descriptor < 0 && errno == EINTR); in OpenDiskFile() 485 if (file_descriptor >= 0) { in OpenDiskFile() 486 io::FileInputStream* result = new io::FileInputStream(file_descriptor); in OpenDiskFile()
|
D | command_line_interface.cc | 444 int file_descriptor; in WriteAllToDisk() local 446 file_descriptor = in WriteAllToDisk() 448 } while (file_descriptor < 0 && errno == EINTR); in WriteAllToDisk() 450 if (file_descriptor < 0) { in WriteAllToDisk() 460 write_result = write(file_descriptor, data, size); in WriteAllToDisk() 487 if (close(file_descriptor) != 0) { in WriteAllToDisk() 504 int file_descriptor; in WriteAllToZip() local 506 file_descriptor = in WriteAllToZip() 508 } while (file_descriptor < 0 && errno == EINTR); in WriteAllToZip() 510 if (file_descriptor < 0) { in WriteAllToZip() [all …]
|
/external/libbrillo/brillo/streams/ |
D | file_stream.cc | 287 StreamPtr FileStream::FromFileDescriptor(int file_descriptor, in FromFileDescriptor() argument 291 if (file_descriptor < 0 || file_descriptor >= FD_SETSIZE) { in FromFileDescriptor() 298 int fd_flags = HANDLE_EINTR(fcntl(file_descriptor, F_GETFL)); in FromFileDescriptor() 314 if (HANDLE_EINTR(fcntl(file_descriptor, F_SETFL, fd_flags)) < 0) { in FromFileDescriptor() 321 new FileDescriptor{file_descriptor, own_descriptor}}; in FromFileDescriptor()
|
/external/protobuf/python/google/protobuf/internal/ |
D | descriptor_pool_test.py | 291 def _CheckDefaultValue(file_descriptor): argument 292 default_value = (file_descriptor 301 file_descriptor = symbol_database.Default().pool.FindFileByName( 303 self.assertIs(file_descriptor, descriptor_pool_test1_pb2.DESCRIPTOR) 304 _CheckDefaultValue(file_descriptor) 311 file_descriptor = self.pool.FindFileByName( 313 _CheckDefaultValue(file_descriptor) 615 file_descriptor = descriptor_pb2.FileDescriptorProto() 616 descriptor_pb2.DESCRIPTOR.CopyToProto(file_descriptor) 617 pool.Add(file_descriptor)
|
/external/perfetto/src/perfetto_cmd/ |
D | pbtxt_to_pb.cc | 645 for (const auto& file_descriptor : file_descriptor_set.file()) { in PbtxtToPb() local 646 for (const auto& enum_descriptor : file_descriptor.enum_type()) { in PbtxtToPb() 648 "." + file_descriptor.package() + "." + enum_descriptor.name(); in PbtxtToPb() 651 for (const auto& descriptor : file_descriptor.message_type()) { in PbtxtToPb() 653 "." + file_descriptor.package() + "." + descriptor.name(); in PbtxtToPb()
|
/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;
|
D | FileDescriptorStringLoader.java | 1 package com.bumptech.glide.load.model.file_descriptor;
|
/external/zlib/src/contrib/iostream/ |
D | zfstream.cpp | 60 gzfilebuf *gzfilebuf::attach( int file_descriptor, in attach() argument 93 if ( (file = gzdopen(file_descriptor, char_mode)) == NULL ) in attach()
|
/external/glide/library/src/main/java/com/bumptech/glide/ |
D | Glide.java | 30 import com.bumptech.glide.load.model.file_descriptor.FileDescriptorFileLoader; 31 import com.bumptech.glide.load.model.file_descriptor.FileDescriptorResourceLoader; 32 import com.bumptech.glide.load.model.file_descriptor.FileDescriptorStringLoader; 33 import com.bumptech.glide.load.model.file_descriptor.FileDescriptorUriLoader;
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_map_field.cc | 43 const FileDescriptor* file_descriptor = field_descriptor->file(); in IsProto3Field() local 44 return file_descriptor->syntax() == FileDescriptor::SYNTAX_PROTO3; in IsProto3Field()
|