Home | History | Annotate | Download | only in perf

Lines Matching refs:ad

5414 static void decl_initializer_alloc(CType *type, AttributeDef *ad, int r, 
5446 static int parse_btype(CType *type, AttributeDef *ad);
5447 static void type_decl(CType *type, AttributeDef *ad, int *v, int td);
12024 static void parse_attribute(AttributeDef *ad)
12043 ad->section = find_section(tcc_state, (char *)tokc.cstr->data);
12058 ad->aligned = n;
12062 ad->packed = 1;
12077 ad->func_call = FUNC_CDECL;
12082 ad->func_call = FUNC_STDCALL;
12094 ad->func_call = FUNC_FASTCALL1 + n - 1;
12099 ad->dllexport = 1;
12129 AttributeDef ad;
12193 parse_btype(&btype, &ad);
12199 type_decl(&type1, &ad, &v, TYPE_DIRECT);
12217 if (ad.aligned) {
12218 if (align < ad.aligned)
12219 align = ad.aligned;
12220 } else if (ad.packed) {
12309 static int parse_btype(CType *type, AttributeDef *ad)
12315 memset(ad, 0, sizeof(AttributeDef));
12440 parse_attribute(ad);
12492 static void post_type(CType *type, AttributeDef *ad)
12549 post_type(type, ad);
12551 s = sym_push(SYM_FIELD, type, ad->func_call, l);
12568 post_type(type, ad);
12580 expected. 'type' should contain the basic type. 'ad' is the
12584 static void type_decl(CType *type, AttributeDef *ad, int *v, int td)
12616 parse_attribute(ad);
12623 /* XXX: this is not correct to modify 'ad' at this point, but
12626 parse_attribute(ad);
12627 type_decl(&type1, ad, v, td);
12640 post_type(type, ad);
12642 parse_attribute(ad);
12720 AttributeDef ad;
12723 if (parse_btype(type, &ad)) {
12724 type_decl(type, &ad, &n, TYPE_ABSTRACT);
12733 AttributeDef ad;
12736 if (!parse_btype(type, &ad)) {
12739 type_decl(type, &ad, &n, TYPE_ABSTRACT);
12754 AttributeDef ad;
12826 memset(&ad, 0, sizeof(AttributeDef));
12827 decl_initializer_alloc(&type, &ad, VT_CONST, 2, 0, 0);
12832 if (parse_btype(&type, &ad)) {
12833 type_decl(&type, &ad, &n, TYPE_ABSTRACT);
12845 memset(&ad, 0, sizeof(AttributeDef));
12846 decl_initializer_alloc(&type, &ad, r, 1, 0, 0);
14278 static void decl_initializer_alloc(CType *type, AttributeDef *ad, int r,
14340 if (ad->aligned) {
14341 if (ad->aligned > align)
14342 align = ad->aligned;
14343 } else if (ad->packed) {
14406 sec = ad->section;
14505 AttributeDef ad;
14512 if (!parse_btype(&btype, &ad))
14521 type_decl(&type, &ad, &v, TYPE_DIRECT);
14637 AttributeDef ad;
14640 if (!parse_btype(&btype, &ad)) {
14668 type_decl(&type, &ad, &v, TYPE_DIRECT);
14754 cur_text_section = ad.section;
14760 if (ad.dllexport) {
14775 if (ad.func_call)
14776 ad.func_call;
14799 decl_initializer_alloc(&type, &ad, r,