/frameworks/base/tools/streaming_proto/java/ |
D | main.cpp | 20 make_outer_class_name(const FileDescriptorProto& file_descriptor) in make_outer_class_name() argument 22 string name = file_descriptor.options().java_outer_classname(); in make_outer_class_name() 24 name = to_camel_case(file_base_name(file_descriptor.name())); in make_outer_class_name() 28 file_descriptor.name().c_str()); in make_outer_class_name() 39 make_java_package(const FileDescriptorProto& file_descriptor) { in make_java_package() argument 40 if (file_descriptor.options().has_java_package()) { in make_java_package() 41 return file_descriptor.options().java_package(); in make_java_package() 43 return file_descriptor.package(); in make_java_package() 51 make_file_name(const FileDescriptorProto& file_descriptor, const string& class_name) in make_file_name() argument 53 string const package = make_java_package(file_descriptor); in make_file_name() [all …]
|
/frameworks/base/tools/streaming_proto/cpp/ |
D | main.cpp | 16 make_filename(const FileDescriptorProto& file_descriptor) in make_filename() argument 18 return file_descriptor.name() + ".h"; in make_filename() 123 write_header_file(CodeGeneratorResponse* response, const FileDescriptorProto& file_descriptor) in write_header_file() argument 128 text << "// source: " << file_descriptor.name() << endl << endl; in write_header_file() 130 string header = "ANDROID_" + replace_string(file_descriptor.name(), '/', '_'); in write_header_file() 138 vector<string> namespaces = split(file_descriptor.package(), '.'); in write_header_file() 145 N = file_descriptor.enum_type_size(); in write_header_file() 147 write_enum(text, file_descriptor.enum_type(i), ""); in write_header_file() 150 N = file_descriptor.message_type_size(); in write_header_file() 152 write_message(text, file_descriptor.message_type(i), ""); in write_header_file() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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);
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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() 349 const FileDescriptor* file_descriptor = in FindFileContainingSymbol() local 351 if (file_descriptor == NULL) { in FindFileContainingSymbol() 356 return PyFileDescriptor_FromDescriptor(file_descriptor); in FindFileContainingSymbol() 369 const FileDescriptor* file_descriptor = in AddFileDescriptor() local 371 if (!file_descriptor) { in AddFileDescriptor() 374 if (file_descriptor != in AddFileDescriptor() 375 self->pool->FindFileByName(file_descriptor->name())) { in AddFileDescriptor() [all …]
|
D | descriptor.h | 64 const FileDescriptor* file_descriptor); 74 const FileDescriptor* file_descriptor, PyObject* serialized_pb);
|
D | descriptor.cc | 1225 namespace file_descriptor { namespace 1359 (destructor)file_descriptor::Dealloc, // tp_dealloc 1382 file_descriptor::Methods, // tp_methods 1384 file_descriptor::Getters, // tp_getset 1397 const FileDescriptor* file_descriptor) { in PyFileDescriptor_FromDescriptor() argument 1398 return PyFileDescriptor_FromDescriptorWithSerializedPb(file_descriptor, in PyFileDescriptor_FromDescriptor() 1403 const FileDescriptor* file_descriptor, PyObject *serialized_pb) { in PyFileDescriptor_FromDescriptorWithSerializedPb() argument 1406 &PyFileDescriptor_Type, file_descriptor, &was_created); in PyFileDescriptor_FromDescriptorWithSerializedPb()
|
D | descriptor_containers.h | 86 namespace file_descriptor {
|
D | descriptor_containers.cc | 1496 namespace file_descriptor { namespace
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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 | 97 def RegisterFileDescriptor(self, file_descriptor): argument 106 self.pool.AddFileDescriptor(file_descriptor)
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | message.cc | 123 bool Message::ParseFromFileDescriptor(int file_descriptor) { in ParseFromFileDescriptor() argument 124 io::FileInputStream input(file_descriptor); in ParseFromFileDescriptor() 128 bool Message::ParsePartialFromFileDescriptor(int file_descriptor) { in ParsePartialFromFileDescriptor() argument 129 io::FileInputStream input(file_descriptor); in ParsePartialFromFileDescriptor() 165 bool Message::SerializeToFileDescriptor(int file_descriptor) const { in SerializeToFileDescriptor() 166 io::FileOutputStream output(file_descriptor); in SerializeToFileDescriptor() 170 bool Message::SerializePartialToFileDescriptor(int file_descriptor) const { in SerializePartialToFileDescriptor() 171 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;
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/ |
D | descriptor_pool_test.py | 292 def _CheckDefaultValue(file_descriptor): argument 293 default_value = (file_descriptor 302 file_descriptor = symbol_database.Default().pool.FindFileByName( 304 self.assertIs(file_descriptor, descriptor_pool_test1_pb2.DESCRIPTOR) 305 _CheckDefaultValue(file_descriptor) 312 file_descriptor = self.pool.FindFileByName( 314 _CheckDefaultValue(file_descriptor) 616 file_descriptor = descriptor_pb2.FileDescriptorProto() 617 descriptor_pb2.DESCRIPTOR.CopyToProto(file_descriptor) 618 pool.Add(file_descriptor) [all …]
|
D | descriptor_test.py | 136 file_descriptor = unittest_custom_options_pb2.DESCRIPTOR 148 file_options = file_descriptor.GetOptions() 179 self.assertTrue(file_descriptor.has_options) 327 file_descriptor = unittest_custom_options_pb2.DESCRIPTOR 338 file_options = file_descriptor.GetOptions().Extensions[
|
D | reflection_test.py | 2923 file_descriptor = descriptor_pb2.FileDescriptorProto() 2924 text_format.Merge(file_descriptor_str, file_descriptor) 2925 return file_descriptor.SerializeToString() 2936 file_descriptor = descriptor_pb2.FileDescriptorProto() 2937 file_descriptor.ParseFromString(self._GetSerializedFileDescriptor('A')) 2939 file_descriptor.message_type[0]) 2953 file_descriptor = descriptor_pb2.FileDescriptorProto() 2954 file_descriptor.ParseFromString(self._GetSerializedFileDescriptor('B')) 2956 file_descriptor.message_type[0]) 2968 file_descriptor = descriptor_pb2.FileDescriptorProto() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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 | 442 int file_descriptor; in WriteAllToDisk() local 444 file_descriptor = in WriteAllToDisk() 446 } while (file_descriptor < 0 && errno == EINTR); in WriteAllToDisk() 448 if (file_descriptor < 0) { in WriteAllToDisk() 458 write_result = write(file_descriptor, data, size); in WriteAllToDisk() 485 if (close(file_descriptor) != 0) { in WriteAllToDisk() 502 int file_descriptor; in WriteAllToZip() local 504 file_descriptor = in WriteAllToZip() 506 } while (file_descriptor < 0 && errno == EINTR); in WriteAllToZip() 508 if (file_descriptor < 0) { in WriteAllToZip() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/ |
D | objectivec_file.cc | 93 const FileDescriptor* file_descriptor = file->Descriptor(); in AddFile() local 96 if (IsProtobufLibraryBundledProtoFile(file_descriptor)) { in AddFile() 98 FilePathBasename(file_descriptor) + extension); in AddFile() 109 proto_file_to_framework_name_.find(file_descriptor->name()); in AddFile() 113 FilePathBasename(file_descriptor) + extension); in AddFile() 120 FilePathBasename(file_descriptor) + extension); in AddFile()
|
/frameworks/base/core/jni/ |
D | android_content_res_ApkAssets.cpp | 60 static jlong NativeLoadFromFd(JNIEnv* env, jclass /*clazz*/, jobject file_descriptor, in NativeLoadFromFd() argument 69 int fd = jniGetFDFromFileDescriptor(env, file_descriptor); in NativeLoadFromFd()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
|
/frameworks/native/opengl/libs/EGL/ |
D | eglApi.cpp | 558 EGLNativeFileDescriptorKHR file_descriptor) { in eglCreateStreamFromFileDescriptorKHR() argument 562 return cnx->platform.eglCreateStreamFromFileDescriptorKHR(dpy, file_descriptor); in eglCreateStreamFromFileDescriptorKHR()
|
D | egl_platform_entries.cpp | 2142 EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor) in eglCreateStreamFromFileDescriptorKHRImpl() argument 2151 dp->disp.dpy, file_descriptor); in eglCreateStreamFromFileDescriptorKHRImpl()
|
/frameworks/native/opengl/include/EGL/ |
D | eglext.h | 401 …REATESTREAMFROMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor); 404 … eglCreateStreamFromFileDescriptorKHR (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor);
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/js/ |
D | js_generator.cc | 219 const FileDescriptor* file_descriptor, in GetPrefix() argument 224 prefix = GetPath(options, file_descriptor); in GetPrefix()
|