Home
last modified time | relevance | path

Searched refs:JCF (Results 1 – 17 of 17) sorted by relevance

/openbsd-src/gnu/usr.bin/gcc/gcc/java/
H A Djcf.h102 struct JCF;
103 typedef int (*jcf_filbuf_t) PARAMS ((struct JCF*, int needed));
122 typedef struct JCF { struct
137 } JCF; argument
140 #define JCF_SEEN_IN_ZIP(JCF) ((JCF)->zipd != NULL) argument
147 #define JPOOL_SIZE(JCF) CPOOL_COUNT(&(JCF)->cpool) argument
148 #define JPOOL_TAG(JCF, INDEX) ((JCF)->cpool.tags[INDEX]) argument
151 #define JPOOL_UINT(JCF, INDEX) CPOOL_UINT(&(JCF)->cpool, INDEX) /*deprecated*/ argument
154 #define JPOOL_USHORT1(JCF, INDEX) CPOOL_USHORT1(&(JCF)->cpool, INDEX) argument
157 #define JPOOL_USHORT2(JCF, INDEX) CPOOL_USHORT2(&(JCF)->cpool, INDEX) argument
[all …]
H A Djcf-reader.c29 static int get_attribute PARAMS ((JCF *));
30 static int jcf_parse_preamble PARAMS ((JCF *));
31 static int jcf_parse_constant_pool PARAMS ((JCF *));
32 static void jcf_parse_class PARAMS ((JCF *));
33 static int jcf_parse_fields PARAMS ((JCF *));
34 static int jcf_parse_one_method PARAMS ((JCF *));
35 static int jcf_parse_methods PARAMS ((JCF *));
36 static int jcf_parse_final_attributes PARAMS ((JCF *));
38 static int peek_attribute PARAMS ((JCF *, int, const char *, int));
41 static void skip_attribute PARAMS ((JCF *, int));
[all …]
H A Djcf-parse.c52 #define JPOOL_UTF(JCF, INDEX) CPOOL_UTF(&(JCF)->cpool, INDEX) argument
53 #define JPOOL_UTF_LENGTH(JCF, INDEX) IDENTIFIER_LENGTH (JPOOL_UTF (JCF, INDEX)) argument
54 #define JPOOL_UTF_DATA(JCF, INDEX) \ argument
55 ((const unsigned char *) IDENTIFIER_POINTER (JPOOL_UTF (JCF, INDEX)))
56 #define HANDLE_CONSTANT_Utf8(JCF, INDEX, LENGTH) \ argument
59 JCF_FILL (JCF, (LENGTH)+1); /* Make sure we read 1 byte beyond string. */ \
60 text = (JCF)->read_ptr; \
63 (JCF)->cpool.data[INDEX] = (jword) get_identifier (text); \
65 JCF_SKIP (JCF, LENGTH); } while (0)
87 static struct JCF main_jcf[1];
[all …]
H A Djcf-dump.c91 static void print_constant_terse PARAMS ((FILE*, JCF*, int, int));
92 static void print_constant PARAMS ((FILE *, JCF *, int, int));
93 static void print_constant_ref PARAMS ((FILE *, JCF *, int));
94 static void disassemble_method PARAMS ((JCF*, const unsigned char *, int));
95 static void print_name PARAMS ((FILE*, JCF*, int));
96 static void print_signature PARAMS ((FILE*, JCF*, int, int));
97 static int utf8_equal_string PARAMS ((struct JCF*, int, const char *));
101 static void process_class PARAMS ((struct JCF *));
102 static void print_constant_pool PARAMS ((struct JCF *));
103 static void print_exception_table PARAMS ((struct JCF *,
[all …]
H A Dgjavah.c90 struct JCF *current_jcf;
121 static void print_field_info PARAMS ((FILE*, JCF*, int, int, JCF_u2));
122 static void print_mangled_classname PARAMS ((FILE*, JCF*, const char*, int));
123 static int print_cxx_classname PARAMS ((FILE*, const char*, JCF*, int));
124 static void print_method_info PARAMS ((FILE*, JCF*, int, int, JCF_u2));
125 static void print_c_decl PARAMS ((FILE*, JCF*, int, int, int, const char *,
127 static void print_stub_or_jni PARAMS ((FILE*, JCF*, int, int, int,
129 static void print_full_cxx_name PARAMS ((FILE*, JCF*, int, int, int,
131 static void decompile_method PARAMS ((FILE*, JCF*, int));
132 static void add_class_decl PARAMS ((FILE*, JCF*, JCF_u2));
[all …]
H A Djcf-io.c47 JCF *jcf AND int count ATTRIBUTE_UNUSED)
58 JCF *jcf)
71 JCF *jcf AND int count)
153 JCF *jcf AND const char *zipfile AND const char *zipmember
188 JCF *jcf AND ZipDirectory *zipd AND ZipFile *zipf)
236 const char *filename AND JCF *jcf AND int fd AND const char *dep_name)
272 char *filename AND JCF *jcf AND const char *dep_name)
434 const char *classname AND int classname_length AND JCF *jcf AND int source_ok)
494 JCF _jcf;
676 JCF *jcf)
H A Dzipfile.h64 extern int read_zip_member PARAMS ((JCF*, ZipDirectory*, ZipFile *));
65 extern int open_in_zip PARAMS ((struct JCF *, const char *,
H A Djava-tree.h40 struct JCF;
229 extern struct JCF *current_jcf;
1071 struct JCF * GTY ((skip (""))) jcf;
1109 extern tree get_constant PARAMS ((struct JCF*, int));
1110 extern tree get_name_constant PARAMS ((struct JCF*, int));
1111 extern tree get_class_constant PARAMS ((struct JCF*, int));
1112 extern tree parse_signature PARAMS ((struct JCF *jcf, int sig_index));
1232 extern int verify_jvm_instructions PARAMS ((struct JCF *, const unsigned char *, long));
1237 extern int maybe_adjust_start_pc PARAMS ((struct JCF *, int, int, int));
1245 extern int verify_constant_pool PARAMS ((struct JCF *));
[all …]
H A Dexpr.c78 static void java_push_constant_from_pool PARAMS ((struct JCF *, int));
83 static unsigned char peek_opcode_at_pc PARAMS ((struct JCF *, int, int));
2693 JCF *jcf; in note_instructions()
2839 JCF *jcf; in expand_byte_code()
2950 JCF *jcf; in java_push_constant_from_pool()
3284 JCF *jcf; in peek_opcode_at_pc()
3322 struct JCF *jcf; in maybe_adjust_start_pc()
H A Dlang.c231 JCF *current_jcf;
H A Dparse.h769 struct JCF *current_jcf; /* CU jcf */
H A Dlex.c128 memset (current_jcf, 0, sizeof (JCF));
H A Dverify.c420 JCF* jcf; in verify_jvm_instructions()
H A Ddecl.c1595 JCF *jcf; in give_name_to_locals()
H A DChangeLog2907 * jcf-parse.c (gcc_mark_jcf): Test for a finished JCF.
2908 * jcf.h (typedef struct JCF): New bitfield `finished.'
3373 * jcf.h (typedef struct JCF): `seen_in_zip' and `java_source'
3977 (struct JCF): Declare zipd field to have type struct ZipDirectory.
3988 (process_zip_dir): Update for removed and added JCF fields.
5813 * jcf.h (JCF): Constify filename and classname.
7453 * jcf.h (typedef struct JCF): Field `outofsynch' deleted.
9376 * parse.h: use `struct JCF', not plain `JCF'.
12913 modified to the CPool structure in the JCF could be used.
13683 * jcf.h: (typedef struct JCF): New flag outofsynch. Fixed typo in
[all …]
H A Dparse.c10420 JCF *saved_jcf = current_jcf;
H A Dparse.y6855 JCF *saved_jcf = current_jcf;