Lines Matching defs:name
20 static void predefined_sizeof(const char *name, const char *suffix, unsigned bits)
24 snprintf(buf, sizeof(buf), "__SIZEOF_%s%s__", name, suffix);
28 static void predefined_width(const char *name, struct symbol *type)
32 snprintf(buf, sizeof(buf), "__%s_WIDTH__", name);
36 static void predefined_max(const char *name, struct symbol *type)
43 snprintf(buf, sizeof(buf), "__%s_MAX__", name);
47 static void predefined_min(const char *name, struct symbol *type)
52 snprintf(buf, sizeof(buf), "__%s_MIN__", name);
55 add_pre_buffer("#weak_define %s (-__%s_MAX__ - 1)\n", buf, name);
60 static void predefined_type(const char *name, struct symbol *type)
63 add_pre_buffer("#weak_define __%s_TYPE__ %s\n", name, typename);
66 static void predefined_ctype(const char *name, struct symbol *type, int flags)
72 predefined_sizeof(name, suffix, bits);
75 predefined_max(name, type);
77 predefined_min(name, type);
79 predefined_type(name, type);
81 predefined_width(name, type);