/haiku-buildtools/legacy/gcc/gcc/java/ |
H A D | constants.c | 42 set_constant_entry (cpool, index, tag, value) 43 CPool *cpool; 48 if (cpool->data == NULL) 50 cpool->capacity = 100; 51 cpool->tags = (uint8*) xmalloc (sizeof(uint8) * cpool->capacity); 52 cpool->data = (jword*) xmalloc (sizeof(jword) * cpool->capacity); 53 cpool->count = 1; 55 if (index >= cpool [all...] |
H A D | jcf-reader.c | 164 jcf->cpool.tags = ALLOC (JPOOL_SIZE (jcf)); 165 jcf->cpool.data = ALLOC (sizeof (jword) * JPOOL_SIZE (jcf)); 166 jcf->cpool.tags[0] = 0; 180 jcf->cpool.tags[i] = constant_kind; 185 jcf->cpool.data[i] = JCF_readu2 (jcf); 191 jcf->cpool.data[i] = JCF_readu2 (jcf); 192 jcf->cpool.data[i] |= JCF_readu2 (jcf) << 16; 196 jcf->cpool.data[i] = JCF_readu4 (jcf); 200 jcf->cpool.data[i] = JCF_readu4 (jcf); 202 jcf->cpool [all...] |
H A D | jcf.h | 104 CPool cpool; member in struct:JCF 113 #define JPOOL_SIZE(JCF) CPOOL_COUNT(&(JCF)->cpool) 114 #define JPOOL_TAG(JCF, INDEX) ((JCF)->cpool.tags[INDEX]) 117 #define JPOOL_UINT(JCF, INDEX) CPOOL_UINT(&(JCF)->cpool, INDEX) /*deprecated*/ 120 #define JPOOL_USHORT1(JCF, INDEX) CPOOL_USHORT1(&(JCF)->cpool, INDEX) 123 #define JPOOL_USHORT2(JCF, INDEX) CPOOL_USHORT2(&(JCF)->cpool, INDEX) 147 CPOOL_FINISH(&(JCF)->cpool); \ 160 CPOOL_INIT(&(JCF)->cpool), (JCF)->java_source = 0)
|
H A D | jcf-write.c | 233 CPool cpool; member in struct:jcf_partial 724 i = find_constant1 (&state->cpool, CONSTANT_Integer, i & 0xFFFFFFFF); 736 return find_constant2 (&state->cpool, CONSTANT_Long, 751 return find_constant1 (&state->cpool, CONSTANT_Integer, 763 return find_constant1 (&state->cpool, CONSTANT_Float, words[0]); 768 return find_constant2 (&state->cpool, CONSTANT_Double, 775 return find_string_constant (&state->cpool, value); 810 int index = find_fieldref_index (&state->cpool, field); 1484 push_constant1 (find_string_constant (&state->cpool, exp), state); 2073 int index = find_class_constant (&state->cpool, TREE_OPERAN [all...] |
H A D | jcf-parse.c | 39 #define JPOOL_UTF(JCF, INDEX) CPOOL_UTF(&(JCF)->cpool, INDEX) 50 (JCF)->cpool.data[INDEX] = (jword) get_identifier (text); \ 231 return (tree) jcf->cpool.data[index]; 370 jcf->cpool.data [index] = (jword) value; 409 jcf->cpool.data[i] = (jword) this_class; 438 jcf->cpool.data[i] = (jword) type; 442 type = (tree) jcf->cpool.data[i];
|
H A D | verify.c | 841 tree field_signature = COMPONENT_REF_SIGNATURE (¤t_jcf->cpool, index); 847 int clindex = COMPONENT_REF_CLASS_INDEX (¤t_jcf->cpool, 923 tree sig = COMPONENT_REF_SIGNATURE (¤t_jcf->cpool, index); 925 (current_jcf, COMPONENT_REF_CLASS_INDEX (¤t_jcf->cpool, 927 tree method_name = COMPONENT_REF_NAME (¤t_jcf->cpool, index);
|
H A D | jcf-dump.c | 99 if (CPOOL_INDEX_IN_RANGE (&jcf->cpool, index) 356 if (! CPOOL_INDEX_IN_RANGE (&jcf->cpool, index)) 387 if (! CPOOL_INDEX_IN_RANGE (&jcf->cpool, n))
|
H A D | expr.c | 1571 tree method_signature = COMPONENT_REF_SIGNATURE(¤t_jcf->cpool, method_ref_index); 1572 tree method_name = COMPONENT_REF_NAME (¤t_jcf->cpool, method_ref_index); 1574 (current_jcf, COMPONENT_REF_CLASS_INDEX(¤t_jcf->cpool, method_ref_index)); 1681 COMPONENT_REF_CLASS_INDEX (¤t_jcf->cpool, 1684 tree field_name = COMPONENT_REF_NAME (¤t_jcf->cpool, field_ref_index); 1685 tree field_signature = COMPONENT_REF_SIGNATURE (¤t_jcf->cpool,
|
/haiku-buildtools/gcc/gcc/java/ |
H A D | constants.c | 54 set_constant_entry (CPool *cpool, int index, int tag, jword value) argument 56 if (cpool->data == NULL) 58 cpool->capacity = 100; 59 cpool->tags = ggc_cleared_vec_alloc<uint8> (cpool->capacity); 60 cpool->data = ggc_cleared_vec_alloc<cpool_entry> (cpool->capacity); 61 cpool->count = 1; 63 if (index >= cpool->capacity) 65 int old_cap = cpool 87 find_constant1(CPool *cpool, int tag, jword value) argument 103 find_constant2(CPool *cpool, int tag, jword word1, jword word2) argument 120 find_tree_constant(CPool *cpool, int tag, tree value) argument 136 find_utf8_constant(CPool *cpool, tree name) argument 144 find_class_or_string_constant(CPool *cpool, int tag, tree name) argument 159 find_class_constant(CPool *cpool, tree type) argument 168 find_string_constant(CPool *cpool, tree string) argument 179 find_name_and_type_constant(CPool *cpool, tree name, tree type) argument 191 find_fieldref_index(CPool *cpool, tree decl) argument 204 find_methodref_index(CPool *cpool, tree decl) argument 210 find_methodref_with_class_index(CPool *cpool, tree decl, tree mclass) argument 234 count_constant_pool_bytes(CPool *cpool) argument 279 write_constant_pool(CPool *cpool, unsigned char *buffer, int length) argument 344 CPool *cpool = TYPE_CPOOL (klass); local 373 find_name_and_type_constant_tree(CPool *cpool, tree name, tree type) argument [all...] |
H A D | jcf-reader.c | 343 jcf->cpool.tags = (uint8 *) ggc_alloc_atomic (JPOOL_SIZE (jcf)); 344 jcf->cpool.data = (cpool_entry *) ggc_internal_cleared_alloc 346 jcf->cpool.tags[0] = 0; 360 jcf->cpool.tags[i] = constant_kind; 365 jcf->cpool.data[i].w = JCF_readu2 (jcf); 371 jcf->cpool.data[i].w = JCF_readu2 (jcf); 372 jcf->cpool.data[i].w |= JCF_readu2 (jcf) << 16; 376 jcf->cpool.data[i].w = JCF_readu4 (jcf); 380 jcf->cpool.data[i].w = JCF_readu4 (jcf); 382 jcf->cpool [all...] |
H A D | jcf.h | 121 CPool cpool; member in struct:JCF 133 #define JPOOL_SIZE(JCF) CPOOL_COUNT(&(JCF)->cpool) 134 #define JPOOL_TAG(JCF, INDEX) ((JCF)->cpool.tags[INDEX]) 137 #define JPOOL_UINT(JCF, INDEX) CPOOL_UINT(&(JCF)->cpool, INDEX) /*deprecated*/ 140 #define JPOOL_USHORT1(JCF, INDEX) CPOOL_USHORT1(&(JCF)->cpool, INDEX) 143 #define JPOOL_USHORT2(JCF, INDEX) CPOOL_USHORT2(&(JCF)->cpool, INDEX) 168 CPOOL_FINISH(&(JCF)->cpool); \ 182 CPOOL_INIT(&(JCF)->cpool), (JCF)->zipd = 0, \
|
H A D | jcf-parse.c | 73 #define JPOOL_UTF(JCF, INDEX) CPOOL_UTF(&(JCF)->cpool, INDEX) 84 (JCF)->cpool.data[INDEX].t = get_identifier ((const char *) text); \ 493 handle_long_constant (JCF *jcf, CPool *cpool, enum cpool_tag kind, 499 index = find_constant1 (cpool, kind, JPOOL_LONG (jcf, index)); 504 index = find_constant2 (cpool, kind, 508 index = find_constant2 (cpool, kind, 522 CPool *cpool = cpool_for_class (output_class); 527 if (! CPOOL_INDEX_IN_RANGE (&jcf->cpool, index)) 578 index = handle_long_constant (jcf, cpool, CONSTANT_Long, index, 583 index = handle_long_constant (jcf, cpool, CONSTANT_Doubl 490 handle_long_constant(JCF *jcf, CPool *cpool, enum cpool_tag kind, int index, bool big_endian) argument 519 CPool *cpool = cpool_for_class (output_class); local [all...] |
H A D | expr.c | 2432 = COMPONENT_REF_SIGNATURE(¤t_jcf->cpool, method_ref_index); 2433 tree method_name = COMPONENT_REF_NAME (¤t_jcf->cpool, 2437 COMPONENT_REF_CLASS_INDEX(¤t_jcf->cpool, 2851 COMPONENT_REF_CLASS_INDEX (¤t_jcf->cpool, 2855 tree field_name = COMPONENT_REF_NAME (¤t_jcf->cpool, field_ref_index); 2856 tree field_signature = COMPONENT_REF_SIGNATURE (¤t_jcf->cpool, 3742 tree cpool; 3751 cpool = build1 (INDIRECT_REF, TREE_TYPE (d), cpool_ptr); 3752 TREE_THIS_NOTRAP (cpool) = 1; 3753 TYPE_CPOOL_DATA_REF (output_class) = cpool; 3738 tree cpool; local [all...] |
H A D | jcf-dump.c | 128 if (CPOOL_INDEX_IN_RANGE (&jcf->cpool, index) 688 if (! CPOOL_INDEX_IN_RANGE (&jcf->cpool, index)) 731 if (! CPOOL_INDEX_IN_RANGE (&jcf->cpool, n))
|
H A D | java-tree.h | 144 /* The cpool->data[i] for a ResolvedString points to a STRING_CST. */ 147 /* The cpool->data[i] for a ResolvedClass points to a RECORD_TYPE. */ 843 #define TYPE_CPOOL(T) (TYPE_LANG_SPECIFIC (T)->cpool) 893 struct CPool *cpool; variable in typeref:struct:CPool
|