Home
last modified time | relevance | path

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

/frameworks/base/tools/streaming_proto/java/
Dmain.cpp20 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/
Dmain.cpp16 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/base/core/jni/
Dandroid_content_res_ApkAssets.cpp250 jobject file_descriptor, jstring friendly_name, in NativeLoadFromFd() argument
259 int fd = jniGetFDFromFileDescriptor(env, file_descriptor); in NativeLoadFromFd()
304 jobject file_descriptor, jstring friendly_name, in NativeLoadFromFdOffset() argument
326 int fd = jniGetFDFromFileDescriptor(env, file_descriptor); in NativeLoadFromFdOffset()
Dandroid_util_AssetManager.cpp593 jobject file_descriptor) { in NativeOpenXmlAssetFd() argument
594 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.cpp2029 EGLNativeFileDescriptorKHR file_descriptor) { in eglCreateStreamFromFileDescriptorKHRImpl() argument
2036 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);