Home
last modified time | relevance | path

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

/frameworks/base/tools/streaming_proto/java/
Djava_proto_stream_code_generator.cpp46 static string make_outer_class_name(const FileDescriptorProto& file_descriptor, in make_outer_class_name() argument
48 string name = file_descriptor.options().java_outer_classname(); in make_outer_class_name()
57 name = to_camel_case(file_base_name(file_descriptor.name())); in make_outer_class_name()
64 file_descriptor.name().c_str()); in make_outer_class_name()
74 static string make_java_package(const FileDescriptorProto& file_descriptor) { in make_java_package() argument
75 if (file_descriptor.options().has_java_package()) { in make_java_package()
76 return file_descriptor.options().java_package(); in make_java_package()
78 return file_descriptor.package(); in make_java_package()
85 static string make_file_name(const FileDescriptorProto& file_descriptor, const string& class_name) { in make_file_name() argument
86 string const package = make_java_package(file_descriptor); in make_file_name()
[all …]
/frameworks/base/tools/streaming_proto/cpp/
Dmain.cpp16 make_filename(const FileDescriptorProto& file_descriptor) in make_filename() argument
18 return file_descriptor.name() + ".h"; in make_filename()
123 const FileDescriptorProto& file_descriptor) { in write_header_file() argument
127 text << "// source: " << file_descriptor.name() << endl << endl; in write_header_file()
129 string header = "ANDROID_" + replace_string(file_descriptor.name(), '/', '_'); in write_header_file()
137 vector<string> namespaces = split(file_descriptor.package(), '.'); in write_header_file()
144 N = file_descriptor.enum_type_size(); in write_header_file()
146 write_enum(text, file_descriptor.enum_type(i), ""); in write_header_file()
149 N = file_descriptor.message_type_size(); in write_header_file()
151 write_message(text, file_descriptor.message_type(i), ""); in write_header_file()
[all …]
/frameworks/base/core/jni/
Dandroid_content_res_ApkAssets.cpp270 jobject file_descriptor, jstring friendly_name, in NativeLoadFromFd() argument
279 int fd = jniGetFDFromFileDescriptor(env, file_descriptor); in NativeLoadFromFd()
324 jobject file_descriptor, jstring friendly_name, in NativeLoadFromFdOffset() argument
346 int fd = jniGetFDFromFileDescriptor(env, file_descriptor); in NativeLoadFromFdOffset()
Dandroid_util_AssetManager.cpp648 jobject file_descriptor) { in NativeOpenXmlAssetFd() argument
649 int fd = jniGetFDFromFileDescriptor(env, file_descriptor); in NativeOpenXmlAssetFd()
/frameworks/native/libs/binder/rust/src/
Dparcel.rs30 mod file_descriptor; module
34 pub use self::file_descriptor::ParcelFileDescriptor;
/frameworks/native/opengl/libs/EGL/
DeglApi.cpp554 EGLNativeFileDescriptorKHR file_descriptor) { in eglCreateStreamFromFileDescriptorKHR() argument
558 return cnx->platform.eglCreateStreamFromFileDescriptorKHR(dpy, file_descriptor); in eglCreateStreamFromFileDescriptorKHR()
Degl_platform_entries.cpp2031 EGLNativeFileDescriptorKHR file_descriptor) { in eglCreateStreamFromFileDescriptorKHRImpl() argument
2038 result = cnx->egl.eglCreateStreamFromFileDescriptorKHR(dp->disp.dpy, file_descriptor); in eglCreateStreamFromFileDescriptorKHRImpl()
/frameworks/native/opengl/include/EGL/
Deglext.h401 …REATESTREAMFROMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor);
404 … eglCreateStreamFromFileDescriptorKHR (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor);