Home
last modified time | relevance | path

Searched refs:file_descriptor (Results 1 – 25 of 37) sorted by relevance

12

/third_party/protobuf/ruby/tests/
Dbasic_proto2.rb265 file_descriptor = TestMessage.descriptor.file_descriptor
266 assert nil != file_descriptor
267 assert_equal "tests/basic_test_proto2.proto", file_descriptor.name
268 assert_equal :proto2, file_descriptor.syntax
270 file_descriptor = TestEnum.descriptor.file_descriptor
271 assert nil != file_descriptor
272 assert_equal "tests/basic_test_proto2.proto", file_descriptor.name
273 assert_equal :proto2, file_descriptor.syntax
Dbasic.rb512 file_descriptor = TestMessage.descriptor.file_descriptor
513 assert nil != file_descriptor
514 assert_equal "tests/basic_test.proto", file_descriptor.name
515 assert_equal :proto3, file_descriptor.syntax
517 file_descriptor = TestEnum.descriptor.file_descriptor
518 assert nil != file_descriptor
519 assert_equal "tests/basic_test.proto", file_descriptor.name
520 assert_equal :proto3, file_descriptor.syntax
/third_party/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl.cc85 FileInputStream::FileInputStream(int file_descriptor, int block_size) in FileInputStream() argument
86 : copying_input_(file_descriptor), impl_(&copying_input_, block_size) {} in FileInputStream()
101 int file_descriptor) in CopyingFileInputStream() argument
102 : file_(file_descriptor), in CopyingFileInputStream()
167 FileOutputStream::FileOutputStream(int file_descriptor, int block_size) in FileOutputStream() argument
168 : copying_output_(file_descriptor), impl_(&copying_output_, block_size) {} in FileOutputStream()
188 int file_descriptor) in CopyingFileOutputStream() argument
189 : file_(file_descriptor), in CopyingFileOutputStream()
Dzero_copy_stream_impl.h72 explicit FileInputStream(int file_descriptor, int block_size = -1);
101 CopyingFileInputStream(int file_descriptor);
149 explicit FileOutputStream(int file_descriptor, int block_size = -1);
183 CopyingFileOutputStream(int file_descriptor);
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.cc266 const FileDescriptor* file_descriptor = in FindFileByName() local
269 if (file_descriptor == NULL) { in FindFileByName()
272 return PyFileDescriptor_FromDescriptor(file_descriptor); in FindFileByName()
407 const FileDescriptor* file_descriptor = in FindFileContainingSymbol() local
410 if (file_descriptor == NULL) { in FindFileContainingSymbol()
417 return PyFileDescriptor_FromDescriptor(file_descriptor); in FindFileContainingSymbol()
487 const FileDescriptor* file_descriptor = in AddFileDescriptor() local
489 if (!file_descriptor) { in AddFileDescriptor()
492 if (file_descriptor != in AddFileDescriptor()
494 file_descriptor->name())) { in AddFileDescriptor()
[all …]
Ddescriptor.h67 const FileDescriptor* file_descriptor);
77 const FileDescriptor* file_descriptor, PyObject* serialized_pb);
Ddescriptor.cc1318 namespace file_descriptor { namespace
1459 (destructor)file_descriptor::Dealloc, // tp_dealloc
1482 file_descriptor::Methods, // tp_methods
1484 file_descriptor::Getters, // tp_getset
1497 const FileDescriptor* file_descriptor) { in PyFileDescriptor_FromDescriptor() argument
1498 return PyFileDescriptor_FromDescriptorWithSerializedPb(file_descriptor, in PyFileDescriptor_FromDescriptor()
1503 const FileDescriptor* file_descriptor, PyObject *serialized_pb) { in PyFileDescriptor_FromDescriptorWithSerializedPb() argument
1506 &PyFileDescriptor_Type, file_descriptor, &was_created); in PyFileDescriptor_FromDescriptorWithSerializedPb()
Ddescriptor_containers.h86 namespace file_descriptor {
/third_party/protobuf/python/google/protobuf/
Ddescriptor_pool.py745 file_descriptor = descriptor.FileDescriptor(
770 message_type, file_proto.package, file_descriptor, scope,
772 file_descriptor.message_types_by_name[message_desc.name] = (
776 file_descriptor.enum_types_by_name[enum_type.name] = (
778 file_descriptor, None, scope, True))
782 extension_proto, file_proto.package, index, file_descriptor,
785 file_descriptor.package, extension_proto.extendee, scope)
787 file_descriptor.package, scope)
788 file_descriptor.extensions_by_name[extension_desc.name] = (
791 file_descriptor)
[all …]
Dsymbol_database.py122 def RegisterFileDescriptor(self, file_descriptor): argument
130 self.pool._InternalAddFileDescriptor(file_descriptor)
/third_party/protobuf/src/google/protobuf/
Dmessage_lite.cc276 bool MessageLite::ParseFromFileDescriptor(int file_descriptor) { in ParseFromFileDescriptor() argument
277 io::FileInputStream input(file_descriptor); in ParseFromFileDescriptor()
281 bool MessageLite::ParsePartialFromFileDescriptor(int file_descriptor) { in ParsePartialFromFileDescriptor() argument
282 io::FileInputStream input(file_descriptor); in ParsePartialFromFileDescriptor()
425 bool MessageLite::SerializeToFileDescriptor(int file_descriptor) const { in SerializeToFileDescriptor()
426 io::FileOutputStream output(file_descriptor); in SerializeToFileDescriptor()
430 bool MessageLite::SerializePartialToFileDescriptor(int file_descriptor) const { in SerializePartialToFileDescriptor()
431 io::FileOutputStream output(file_descriptor); in SerializePartialToFileDescriptor()
Dmessage_lite.h287 int file_descriptor);
291 int file_descriptor);
395 bool SerializeToFileDescriptor(int file_descriptor) const;
397 bool SerializePartialToFileDescriptor(int file_descriptor) const;
/third_party/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py417 def _CheckDefaultValue(file_descriptor): argument
418 default_value = (file_descriptor
427 file_descriptor = symbol_database.Default().pool.FindFileByName(
429 self.assertIs(file_descriptor, descriptor_pool_test1_pb2.DESCRIPTOR)
430 _CheckDefaultValue(file_descriptor)
443 file_descriptor = self.pool.FindFileByName(
445 _CheckDefaultValue(file_descriptor)
530 file_descriptor = unittest_pb2.DESCRIPTOR
532 file_descriptor.message_types_by_name['TestAllTypes'])
534 file_descriptor.enum_types_by_name['ForeignEnum'])
[all …]
Ddescriptor_test.py146 file_descriptor = unittest_custom_options_pb2.DESCRIPTOR
160 file_options = file_descriptor.GetOptions()
191 self.assertTrue(file_descriptor.has_options)
352 file_descriptor = unittest_custom_options_pb2.DESCRIPTOR
363 file_options = file_descriptor.GetOptions().Extensions[
441 file_descriptor = unittest_pb2.DESCRIPTOR
455 file_descriptor.has_options = False
/third_party/protobuf/src/google/protobuf/compiler/
Dimporter.cc502 int file_descriptor; in OpenDiskFile() local
504 file_descriptor = open(filename.c_str(), O_RDONLY); in OpenDiskFile()
505 } while (file_descriptor < 0 && errno == EINTR); in OpenDiskFile()
506 if (file_descriptor >= 0) { in OpenDiskFile()
507 io::FileInputStream* result = new io::FileInputStream(file_descriptor); in OpenDiskFile()
Dcommand_line_interface.cc470 int file_descriptor; in WriteAllToDisk() local
472 file_descriptor = in WriteAllToDisk()
474 } while (file_descriptor < 0 && errno == EINTR); in WriteAllToDisk()
476 if (file_descriptor < 0) { in WriteAllToDisk()
486 write_result = write(file_descriptor, data, size); in WriteAllToDisk()
513 if (close(file_descriptor) != 0) { in WriteAllToDisk()
530 int file_descriptor; in WriteAllToZip() local
532 file_descriptor = in WriteAllToZip()
534 } while (file_descriptor < 0 && errno == EINTR); in WriteAllToZip()
536 if (file_descriptor < 0) { in WriteAllToZip()
[all …]
/third_party/protobuf/src/google/protobuf/util/
Ddelimited_message_util.cc42 int file_descriptor) { in SerializeDelimitedToFileDescriptor() argument
43 io::FileOutputStream output(file_descriptor); in SerializeDelimitedToFileDescriptor()
Ddelimited_message_util.h67 const MessageLite& message, int file_descriptor);
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_map_field.cc45 const FileDescriptor* file_descriptor = field_descriptor->file(); in IsProto3Field() local
46 return file_descriptor->syntax() == FileDescriptor::SYNTAX_PROTO3; in IsProto3Field()
/third_party/zlib/contrib/iostream/
Dzfstream.cpp60 gzfilebuf *gzfilebuf::attach( int file_descriptor, in attach() argument
93 if ( (file = gzdopen(file_descriptor, char_mode)) == NULL ) in attach()
/third_party/skia/third_party/externals/egl-registry/extensions/KHR/
DEGL_KHR_stream_cross_process_fd.txt100 EGLNativeFileDescriptorKHR file_descriptor);
160 EGLNativeFileDescriptorKHR file_descriptor);
162 to create an EGLStreamKHR handle. <file_descriptor> must be a
171 <file_descriptor> or the file descriptor from which
172 <file_descriptor> was duplicated.
184 - EGL_BAD_ATTRIBUTE is generated if <file_descriptor> is
187 - EGL_BAD_ATTRIBUTE is generated if <file_descriptor> is
191 - EGL_BAD_ATTRIBUTE is generated if <file_descriptor> has
/third_party/EGL/extensions/KHR/
DEGL_KHR_stream_cross_process_fd.txt100 EGLNativeFileDescriptorKHR file_descriptor);
160 EGLNativeFileDescriptorKHR file_descriptor);
162 to create an EGLStreamKHR handle. <file_descriptor> must be a
171 <file_descriptor> or the file descriptor from which
172 <file_descriptor> was duplicated.
184 - EGL_BAD_ATTRIBUTE is generated if <file_descriptor> is
187 - EGL_BAD_ATTRIBUTE is generated if <file_descriptor> is
191 - EGL_BAD_ATTRIBUTE is generated if <file_descriptor> has
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Ddescriptor_test.py139 file_descriptor = unittest_custom_options_pb2.DESCRIPTOR
150 file_options = file_descriptor.GetOptions()
321 file_descriptor = unittest_custom_options_pb2.DESCRIPTOR
332 file_options = file_descriptor.GetOptions().Extensions[
/third_party/curl/lib/
Dftp.h93 FILE *file_descriptor; member
/third_party/libabigail/tests/data/test-read-dwarf/
DPR22015-libboost_iostreams.so.abi138 …ress-size='64' path='src/third_party/boost-1.60.0/libs/iostreams/src/file_descriptor.cpp' comp-dir…
2464 …cl name='file_descriptor' size-in-bits='128' visibility='default' filepath='src/third_party/boost-…
2466 …-id-2' filepath='src/third_party/boost-1.60.0/boost/iostreams/device/file_descriptor.hpp' line='51…
2469 …d-275' filepath='src/third_party/boost-1.60.0/boost/iostreams/device/file_descriptor.hpp' line='50…
2472 …fault' filepath='src/third_party/boost-1.60.0/boost/iostreams/device/file_descriptor.hpp' line='14…
2475 …'file_descriptor' mangled-name='_ZN5boost9iostreams15file_descriptorC2Ev' filepath='src/third_part…
2481file_descriptor' mangled-name='_ZN5boost9iostreams15file_descriptorC2EiNS0_21file_descriptor_flags…
2489file_descriptor' mangled-name='_ZN5boost9iostreams15file_descriptorC2ERKNSt7__cxx1112basic_stringI…
2497file_descriptor' mangled-name='_ZN5boost9iostreams15file_descriptorC2EPKcSt13_Ios_Openmode' filepa…
2505file_descriptor' mangled-name='_ZN5boost9iostreams15file_descriptorC2ERKS1_' filepath='src/third_p…
[all …]

12