Home
last modified time | relevance | path

Searched refs:file_descriptor (Results 1 – 6 of 6) 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.cpp60 static jlong NativeLoadFromFd(JNIEnv* env, jclass /*clazz*/, jobject file_descriptor, in NativeLoadFromFd() argument
69 int fd = jniGetFDFromFileDescriptor(env, file_descriptor); in NativeLoadFromFd()
/frameworks/native/opengl/libs/EGL/
DeglApi.cpp555 EGLNativeFileDescriptorKHR file_descriptor) { in eglCreateStreamFromFileDescriptorKHR() argument
559 return cnx->platform.eglCreateStreamFromFileDescriptorKHR(dpy, file_descriptor); in eglCreateStreamFromFileDescriptorKHR()
Degl_platform_entries.cpp2161 EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor) in eglCreateStreamFromFileDescriptorKHRImpl() argument
2170 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);