/third_party/ltp/tools/sparse/sparse-src/ |
H A D | ctags.c | 37 static void examine_symbol(struct symbol *sym); 68 static inline void show_symbol_tag(FILE *fp, struct symbol *sym) in show_symbol_tag() argument 70 fprintf(fp, "%s\t%s\t%d;\"\t%c\tfile:\n", show_ident(sym->ident), in show_symbol_tag() 71 stream_name(sym->pos.stream), sym->pos.line, (int)sym->kind); in show_symbol_tag() 76 struct symbol *sym; in show_tags() local 91 FOR_EACH_PTR(list, sym) { in show_tags() 92 if (ident == sym->ident && pos.line == sym in show_tags() 104 add_tag(struct symbol *sym) add_tag() argument 114 struct symbol *sym; examine_members() local 122 examine_symbol(struct symbol *sym) examine_symbol() argument 171 examine_namespace(struct symbol *sym) examine_namespace() argument 204 struct symbol *sym; examine_symbol_list() local [all...] |
H A D | symbol.c | 50 void access_symbol(struct symbol *sym) in access_symbol() argument 52 if (sym->ctype.modifiers & MOD_INLINE) { in access_symbol() 53 if (!sym->accessed) { in access_symbol() 54 add_symbol(&translation_unit_used_list, sym); in access_symbol() 55 sym->accessed = 1; in access_symbol() 62 struct symbol *sym; in lookup_symbol() local 64 for (sym = ident->symbols; sym; sym = sym in lookup_symbol() 80 struct symbol *sym = __alloc_symbol(0); alloc_symbol() local 99 lay_out_union(struct symbol *sym, struct struct_union_info *info) lay_out_union() argument 110 bitfield_base_size(struct symbol *sym) bitfield_base_size() argument 122 lay_out_struct(struct symbol *sym, struct struct_union_info *info) lay_out_struct() argument 184 examine_anonymous_member(struct symbol *sym) examine_anonymous_member() argument 204 examine_struct_union_type(struct symbol *sym, int advance) examine_struct_union_type() argument 257 examine_base_type(struct symbol *sym) examine_base_type() argument 290 examine_array_type(struct symbol *sym) examine_array_type() argument 317 examine_bitfield_type(struct symbol *sym) examine_bitfield_type() argument 345 merge_type(struct symbol *sym, struct symbol *base_type) merge_type() argument 450 get_symbol_initializer(struct symbol *sym) get_symbol_initializer() argument 476 examine_node_type(struct symbol *sym) examine_node_type() argument 514 examine_enum_type(struct symbol *sym) examine_enum_type() argument 528 examine_pointer_type(struct symbol *sym) examine_pointer_type() argument 544 examine_typeof(struct symbol *sym) examine_typeof() argument 567 examine_symbol_type(struct symbol * sym) examine_symbol_type() argument 644 examine_pointer_target(struct symbol *sym) examine_pointer_target() argument 685 inherit_declaration(struct symbol *sym, struct symbol *prev) inherit_declaration() argument 693 check_declaration(struct symbol *sym) check_declaration() argument 724 inherit_static(struct symbol *sym) inherit_static() argument 745 bind_symbol_with_scope(struct symbol *sym, struct ident *ident, enum namespace ns, struct scope *scope) bind_symbol_with_scope() argument 779 bind_symbol(struct symbol *sym, struct ident *ident, enum namespace ns) bind_symbol() argument 793 struct symbol *sym = lookup_symbol(ident, namespace); create_symbol() local 960 struct symbol *sym = ctype->ptr; init_ctype() local [all...] |
H A D | c2xml.c | 44 static void examine_symbol(struct symbol *sym, xmlNodePtr node); 65 static xmlNodePtr new_sym_node(struct symbol *sym, const char *name, xmlNodePtr parent) in new_sym_node() argument 68 const char *ident = show_ident(sym->ident); in new_sym_node() 71 assert(sym != NULL); in new_sym_node() 80 if (sym->ident && ident) in new_sym_node() 82 newProp(node, "file", stream_name(sym->pos.stream)); in new_sym_node() 84 newNumProp(node, "start-line", sym->pos.line); in new_sym_node() 85 newNumProp(node, "start-col", sym->pos.pos); in new_sym_node() 87 if (sym->endpos.type) { in new_sym_node() 88 newNumProp(node, "end-line", sym in new_sym_node() 102 struct symbol *sym; examine_members() local 109 examine_modifiers(struct symbol *sym, xmlNodePtr node) examine_modifiers() argument 158 examine_layout(struct symbol *sym, xmlNodePtr node) examine_layout() argument 170 examine_symbol(struct symbol *sym, xmlNodePtr node) examine_symbol() argument 237 examine_macro(struct symbol *sym, xmlNodePtr node) examine_macro() argument 251 examine_namespace(struct symbol *sym) examine_namespace() argument 290 struct symbol *sym; examine_symbol_list() local [all...] |
H A D | test-dissect.c | 19 static void print_usage(struct position *pos, struct symbol *sym, unsigned mode) in print_usage() argument 38 static char symscope(struct symbol *sym) in symscope() argument 40 if (sym_is_local(sym)) { in symscope() 42 warning(sym->pos, "no context"); in symscope() 48 static void r_symbol(unsigned mode, struct position *pos, struct symbol *sym) in r_symbol() argument 50 print_usage(pos, sym, mode); in r_symbol() 52 if (!sym->ident) in r_symbol() 53 sym->ident = built_in_ident("__asm__"); in r_symbol() 56 symscope(sym), sym in r_symbol() 81 r_member(unsigned mode, struct position *pos, struct symbol *sym, struct symbol *mem) r_member() argument 103 r_symdef(struct symbol *sym) r_symdef() argument 108 r_memdef(struct symbol *sym, struct symbol *mem) r_memdef() argument [all...] |
H A D | scope.c | 44 void set_current_scope(struct symbol *sym) in set_current_scope() argument 46 sym->scope = block_scope; in set_current_scope() 49 void bind_scope(struct symbol *sym, struct scope *scope) in bind_scope() argument 51 sym->scope = scope; in bind_scope() 52 add_symbol(&scope->symbols, sym); in bind_scope() 56 void rebind_scope(struct symbol *sym, struct scope *new) in rebind_scope() argument 58 struct scope *old = sym->scope; in rebind_scope() 64 delete_ptr_list_entry((struct ptr_list**) &old->symbols, sym, 1); in rebind_scope() 66 bind_scope(sym, new); in rebind_scope() 100 static void remove_symbol_scope(struct symbol *sym) in remove_symbol_scope() argument 113 struct symbol *sym; end_scope() local 153 struct symbol *sym; end_label_scope() local [all...] |
H A D | graph.c | 82 printf("%s store(%s)", s, show_ident(insn->src->sym->ident)); in graph_ep() 89 printf("%s load(%s)", s, show_ident(insn->src->sym->ident)); in graph_ep() 138 internal == !(insn->func->sym->ctype.modifiers & MOD_EXTERN)) { in graph_calls() 141 struct symbol * sym; in graph_calls() local 143 for (sym = insn->func->sym->ident->symbols; in graph_calls() 144 sym; sym = sym->next_id) { in graph_calls() 145 if (sym in graph_calls() 169 struct symbol *sym; main() local [all...] |
H A D | show-parse.c | 44 static int show_symbol_expr(struct symbol *sym); 47 static void do_debug_symbol(struct symbol *sym, int indent) in do_debug_symbol() argument 71 if (!sym) in do_debug_symbol() 74 indent, indent_string, typestr[sym->type], in do_debug_symbol() 75 sym->bit_size, sym->ctype.alignment, in do_debug_symbol() 76 modifier_string(sym->ctype.modifiers), show_ident(sym->ident), in do_debug_symbol() 77 show_as(sym->ctype.as), in do_debug_symbol() 78 sym, stream_nam in do_debug_symbol() 101 debug_symbol(struct symbol *sym) debug_symbol() argument 178 show_struct_member(struct symbol *sym) show_struct_member() argument 186 struct symbol *sym; show_symbol_list() local 237 struct symbol *sym; global() member 273 builtin_typename(struct symbol *sym) builtin_typename() argument 283 builtin_type_suffix(struct symbol *sym) builtin_type_suffix() argument 303 do_show_type(struct symbol *sym, struct type_name *name) do_show_type() argument 441 show_type(struct symbol *sym) show_type() argument 452 show_typename(struct symbol *sym) show_typename() argument 463 show_symbol(struct symbol *sym) show_symbol() argument 536 struct symbol *sym; show_switch_statement() local 580 struct symbol *sym; show_symbol_decl() local 770 struct symbol *sym = fn->unop->symbol; show_call_expression() local 897 show_initialization(struct symbol *sym, struct expression *expr) show_initialization() argument 954 show_symbol_expr(struct symbol *sym) show_symbol_expr() argument 973 show_symbol_init(struct symbol *sym) show_symbol_init() argument 1111 show_symbol_expr_init(struct symbol *sym) show_symbol_expr_init() argument [all...] |
H A D | inline.c | 53 static struct symbol *copy_symbol(struct position pos, struct symbol *sym) in copy_symbol() argument 55 if (!sym) in copy_symbol() 56 return sym; in copy_symbol() 57 if (sym->ctype.modifiers & (MOD_STATIC | MOD_EXTERN | MOD_TOPLEVEL | MOD_INLINE)) in copy_symbol() 58 return sym; in copy_symbol() 59 if (!sym->replace) { in copy_symbol() 60 warning(pos, "unreplaced symbol '%s'", show_ident(sym->ident)); in copy_symbol() 61 return sym; in copy_symbol() 63 return sym->replace; in copy_symbol() 69 struct symbol *sym; in copy_symbol_list() local 89 struct symbol *sym = copy_symbol(expr->pos, expr->symbol); copy_expression() local 160 struct symbol *sym = expr->cast_type; copy_expression() local 312 unset_replace(struct symbol *sym) unset_replace() argument 325 struct symbol *sym; unset_replace_list() local 339 struct symbol *sym; copy_one_statement() local 394 struct symbol *sym = copy_symbol(stmt->pos, stmt->ret_target); copy_one_statement() local 489 struct symbol *sym = orig; create_copy_symbol() local 504 struct symbol *sym; create_symbol_list() local 513 inline_function(struct expression *expr, struct symbol *sym) inline_function() argument 570 uninline(struct symbol *sym) uninline() argument [all...] |
H A D | sparse-llvm.c | 28 static LLVMTypeRef symbol_type(struct symbol *sym); 30 static LLVMTypeRef func_return_type(struct symbol *sym) in func_return_type() argument 32 return symbol_type(sym->ctype.base_type); in func_return_type() 35 static LLVMTypeRef sym_func_type(struct symbol *sym) in sym_func_type() argument 37 int n_arg = symbol_list_size(sym->arguments); in sym_func_type() 39 LLVMTypeRef ret_type = func_return_type(sym); in sym_func_type() 43 FOR_EACH_PTR(sym->arguments, arg) { in sym_func_type() 49 return LLVMFunctionType(ret_type, arg_type, n_arg, sym->variadic); in sym_func_type() 52 static LLVMTypeRef sym_array_type(struct symbol *sym) in sym_array_type() argument 57 base_type = sym in sym_array_type() 70 sym_struct_type(struct symbol *sym) sym_struct_type() argument 97 sym_union_type(struct symbol *sym) sym_union_type() argument 114 sym_ptr_type(struct symbol *sym) sym_ptr_type() argument 127 sym_basetype_type(struct symbol *sym) sym_basetype_type() argument 175 symbol_type(struct symbol *sym) symbol_type() argument 240 data_linkage(struct symbol *sym) data_linkage() argument 248 function_linkage(struct symbol *sym) function_linkage() argument 283 get_sym_value(LLVMModuleRef module, struct symbol *sym) get_sym_value() argument 1120 struct symbol *sym = ep->name; output_fn() local 1190 output_data(LLVMModuleRef module, struct symbol *sym) output_data() argument 1206 struct symbol *sym = initializer->symbol; output_data() local 1251 is_prototype(struct symbol *sym) is_prototype() argument 1260 struct symbol *sym; compile() local [all...] |
/third_party/toybox/kconfig/ |
H A D | symbol.c | 38 void sym_add_default(struct symbol *sym, const char *def) in sym_add_default() argument 40 struct property *prop = prop_alloc(P_DEFAULT, sym); in sym_add_default() 47 struct symbol *sym; in sym_init() local 59 sym = sym_lookup("ARCH", 0); in sym_init() 60 sym->type = S_STRING; in sym_init() 61 sym->flags |= SYMBOL_AUTO; in sym_init() 64 sym_add_default(sym, p); in sym_init() 67 sym = sym_lookup("KERNELVERSION", 0); in sym_init() 68 sym->type = S_STRING; in sym_init() 69 sym in sym_init() 80 sym_get_type(struct symbol *sym) sym_get_type() argument 114 sym_get_choice_prop(struct symbol *sym) sym_get_choice_prop() argument 123 sym_get_default_prop(struct symbol *sym) sym_get_default_prop() argument 135 sym_get_range_prop(struct symbol *sym) sym_get_range_prop() argument 147 sym_get_range_val(struct symbol *sym, int base) sym_get_range_val() argument 163 sym_validate_range(struct symbol *sym) sym_validate_range() argument 196 sym_calc_visibility(struct symbol *sym) sym_calc_visibility() argument 226 sym_calc_choice(struct symbol *sym) sym_calc_choice() argument 265 sym_calc_value(struct symbol *sym) sym_calc_value() argument 379 struct symbol *sym; sym_clear_all_valid() local 389 sym_set_changed(struct symbol *sym) sym_set_changed() argument 402 struct symbol *sym; sym_set_all_changed() local 409 sym_tristate_within_range(struct symbol *sym, tristate val) sym_tristate_within_range() argument 428 sym_set_tristate_value(struct symbol *sym, tristate val) sym_set_tristate_value() argument 464 sym_toggle_tristate_value(struct symbol *sym) sym_toggle_tristate_value() argument 487 sym_string_valid(struct symbol *sym, const char *str) sym_string_valid() argument 530 sym_string_within_range(struct symbol *sym, const char *str) sym_string_within_range() argument 572 sym_set_string_value(struct symbol *sym, const char *newval) sym_set_string_value() argument 621 sym_get_string_value(struct symbol *sym) sym_get_string_value() argument 644 sym_is_changable(struct symbol *sym) sym_is_changable() argument 725 struct symbol *sym, **sym_arr = NULL; sym_re_search() local 764 struct symbol *sym; sym_check_expr_deps() local 792 sym_check_deps(struct symbol *sym) sym_check_deps() argument 833 prop_alloc(enum prop_type type, struct symbol *sym) prop_alloc() argument [all...] |
H A D | confdata.c | 54 struct symbol *sym; in conf_expand_value() local 68 sym = sym_lookup(name, 0); in conf_expand_value() 69 sym_calc_value(sym); in conf_expand_value() 70 strcat(res_value, sym_get_string_value(sym)); in conf_expand_value() 99 struct symbol *sym; in conf_read_simple() local 119 name = conf_expand_value(prop->expr->left.sym->name); in conf_read_simple() 139 for_all_symbols(i, sym) { in conf_read_simple() 140 sym->flags |= SYMBOL_CHANGED; in conf_read_simple() 141 sym->flags &= ~(def_flags|SYMBOL_VALID); in conf_read_simple() 142 if (sym_is_choice(sym)) in conf_read_simple() 320 struct symbol *sym; conf_read() local 400 struct symbol *sym; conf_write() local 579 struct symbol *sym; conf_split_config() local 690 struct symbol *sym; conf_write_autoconf() local [all...] |
H A D | expr.c | 15 struct expr *expr_alloc_symbol(struct symbol *sym) in expr_alloc_symbol() argument 20 e->left.sym = sym; in expr_alloc_symbol() 48 e->left.sym = s1; in expr_alloc_comp() 49 e->right.sym = s2; in expr_alloc_comp() 85 e->left.sym = org->left.sym; in expr_copy() 86 e->right.sym = org->right.sym; in expr_copy() 148 e1->left.sym in __expr_eliminate_eq() 778 expr_contains_symbol(struct expr *dep, struct symbol *sym) expr_contains_symbol() argument 802 expr_depends_symbol(struct expr *dep, struct symbol *sym) expr_depends_symbol() argument 882 expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym) expr_trans_compare() argument 1082 expr_print_file_helper(void *data, struct symbol *sym, const char *str) expr_print_file_helper() argument 1092 expr_print_gstr_helper(void *data, struct symbol *sym, const char *str) expr_print_gstr_helper() argument [all...] |
H A D | menu.c | 44 void menu_add_entry(struct symbol *sym) in menu_add_entry() argument 50 menu->sym = sym; in menu_add_entry() 93 if (e->left.sym == &symbol_mod) in menu_check_dep() 109 struct symbol *sym = current_entry->sym; in menu_set_type() local 111 if (sym->type == type) in menu_set_type() 113 if (sym->type == S_UNKNOWN) { in menu_set_type() 114 sym->type = type; in menu_set_type() 118 sym in menu_set_type() 155 menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep) menu_add_symbol() argument 178 menu_range_valid_sym(struct symbol *sym, struct symbol *sym2) menu_range_valid_sym() argument 184 sym_check_prop(struct symbol *sym) sym_check_prop() argument 231 struct symbol *sym; menu_finalize() local 371 struct symbol *sym; menu_is_visible() local [all...] |
H A D | conf.c | 67 static void conf_askvalue(struct symbol *sym, const char *def) in conf_askvalue() argument 69 enum symbol_type type = sym_get_type(sym); in conf_askvalue() 72 if (!sym_has_value(sym)) in conf_askvalue() 78 if (!sym_is_changable(sym)) { in conf_askvalue() 90 if (sym_has_value(sym)) { in conf_askvalue() 97 if (sym_has_value(sym)) { in conf_askvalue() 124 if (sym_tristate_within_range(sym, yes)) { in conf_askvalue() 132 if (sym_tristate_within_range(sym, mod)) { in conf_askvalue() 139 if (sym_tristate_within_range(sym, yes)) { in conf_askvalue() 147 if (sym_tristate_within_range(sym, n in conf_askvalue() 173 struct symbol *sym = menu->sym; conf_string() local 207 struct symbol *sym = menu->sym; conf_sym() local 281 struct symbol *sym, *def_sym; conf_choice() local 410 struct symbol *sym; conf() local 472 struct symbol *sym; check_conf() local [all...] |
H A D | mconf.c | 347 if (menu->sym) { in get_prompt_str() 348 str_printf(r, " (%s [=%s])", menu->sym->name ? in get_prompt_str() 349 menu->sym->name : "<choice>", in get_prompt_str() 350 sym_get_string_value(menu->sym)); in get_prompt_str() 357 static void get_symbol_str(struct gstr *r, struct symbol *sym) in get_symbol_str() argument 362 str_printf(r, "Symbol: %s [=%s]\n", sym->name, in get_symbol_str() 363 sym_get_string_value(sym)); in get_symbol_str() 364 for_all_prompts(sym, prop) in get_symbol_str() 367 for_all_properties(sym, prop, P_SELECT) { in get_symbol_str() 377 if (sym in get_symbol_str() 387 struct symbol *sym; get_relations_str() local 427 struct symbol *sym; build_conf() local 587 struct symbol *sym; conf() local 699 struct symbol *sym = menu->sym; show_help() local 863 struct symbol *sym; main() local [all...] |
H A D | expr.h | 40 struct symbol *sym; member 85 #define for_all_symbols(i, sym) for (i = 0; i < 257; i++) for (sym = symbol_hash[i]; sym; sym = sym->next) if (sym->type != S_OTHER) 115 struct symbol *sym; member 125 #define for_all_properties(sym, st, tok) \ 126 for (st = sym 138 struct symbol *sym; global() member [all...] |
H A D | lkc.h | 80 void menu_add_entry(struct symbol *sym); 86 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep); 110 void sym_set_changed(struct symbol *sym); 111 struct symbol *sym_check_deps(struct symbol *sym); 112 struct property *prop_alloc(enum prop_type type, struct symbol *sym); 115 static inline tristate sym_get_tristate_value(struct symbol *sym) in sym_get_tristate_value() argument 117 return sym->curr.tri; in sym_get_tristate_value() 121 static inline struct symbol *sym_get_choice_value(struct symbol *sym) in sym_get_choice_value() argument 123 return (struct symbol *)sym->curr.val; in sym_get_choice_value() 131 static inline bool sym_is_choice(struct symbol *sym) in sym_is_choice() argument 136 sym_is_choice_value(struct symbol *sym) sym_is_choice_value() argument 141 sym_is_optional(struct symbol *sym) sym_is_optional() argument 146 sym_has_value(struct symbol *sym) sym_has_value() argument [all...] |
/third_party/ltp/pan/ |
H A D | symbol.c | 90 sym_error = "sym header malloc failed!"; in newsym() 95 h->sym = NULL; in newsym() 100 static struct sym *mknode(struct sym *next, char *key, void *data) in mknode() 102 struct sym *n; in mknode() 104 if ((n = malloc(sizeof(struct sym))) == NULL) { in mknode() 105 sym_error = "sym node malloc failed!"; in mknode() 114 sym_error = "sym node strdup(key) failed!"; in mknode() 124 static struct sym *find_key1(struct sym *sy argument 137 add_key(SYM sym, char *key, void *data) add_key() argument 194 sym_put(SYM sym, char *key, void *data, int flags) sym_put() argument 265 sym_get(SYM sym, char *key) sym_get() argument 317 sym_seq(SYM sym, DBT * key, DBT * data, int flags) sym_seq() argument 380 sym_dump(SYM sym, int depth) sym_dump() argument 403 sym_dump_s(SYM sym, int depth) sym_dump_s() argument 441 sym_rm(SYM sym, int flags) sym_rm() argument [all...] |
/third_party/mesa3d/src/mesa/program/ |
H A D | symbol_table.c | 90 struct symbol *sym = scope->symbols; in _mesa_symbol_table_pop_scope() local 97 while (sym != NULL) { in _mesa_symbol_table_pop_scope() 98 struct symbol *const next = sym->next_with_same_scope; in _mesa_symbol_table_pop_scope() 100 sym->name); in _mesa_symbol_table_pop_scope() 101 if (sym->next_with_same_name) { in _mesa_symbol_table_pop_scope() 105 hte->key = sym->next_with_same_name->name; in _mesa_symbol_table_pop_scope() 106 hte->data = sym->next_with_same_name; in _mesa_symbol_table_pop_scope() 109 free(sym->name); in _mesa_symbol_table_pop_scope() 112 free(sym); in _mesa_symbol_table_pop_scope() 113 sym in _mesa_symbol_table_pop_scope() 153 struct symbol *const sym = find_symbol(table, name); _mesa_symbol_table_symbol_scope() local 168 struct symbol *const sym = find_symbol(table, name); _mesa_symbol_table_find_symbol() local 181 struct symbol *sym = find_symbol(table, name); _mesa_symbol_table_add_symbol() local 221 struct symbol *sym = find_symbol(table, name); _mesa_symbol_table_replace_symbol() local 237 struct symbol *sym = find_symbol(table, name); _mesa_symbol_table_add_global_symbol() local [all...] |
/third_party/ltp/tools/sparse/ |
H A D | sparse-ltp.c | 92 static bool check_symbol_deprecated(const struct symbol *const sym) in check_symbol_deprecated() argument 95 const struct ident *id = sym->ident; in check_symbol_deprecated() 105 warning(sym->pos, in check_symbol_deprecated() 116 static void check_symbol_visibility(const struct symbol *const sym) in check_symbol_visibility() argument 118 const unsigned long mod = sym->ctype.modifiers; in check_symbol_visibility() 119 const char *const name = show_ident(sym->ident); in check_symbol_visibility() 129 warning(sym->pos, in check_symbol_visibility() 139 warning(sym->pos, in check_symbol_visibility() 145 if (sym->same_symbol) in check_symbol_visibility() 148 if (sym in check_symbol_visibility() 157 unwrap_base_type(const struct symbol *sym) unwrap_base_type() argument 172 is_terminated_with_null_struct(const struct symbol *const sym) is_terminated_with_null_struct() argument 193 check_struct_array_initializer(const struct symbol *const sym) check_struct_array_initializer() argument 203 check_test_struct(const struct symbol *const sym) check_test_struct() argument 251 do_symbol_checks(struct symbol *sym) do_symbol_checks() argument 263 struct symbol *sym; process_symbols() local [all...] |
/third_party/FreeBSD/sys/sys/ |
H A D | linker_set.h | 67 #define __MAKE_SET_QV(set, sym, qv) \ 71 __set_##set##_sym_##sym __section(".set_" #set) \ 73 __used = &(sym) 74 #define __MAKE_SET(set, sym) __MAKE_SET_QV(set, sym, __MAKE_SET_CONST) 82 #define TEXT_SET(set, sym) __MAKE_SET(set, sym) 83 #define DATA_SET(set, sym) __MAKE_SET(set, sym) 84 #define DATA_WSET(set, sym) __MAKE_SET_Q [all...] |
/third_party/mesa3d/src/glx/apple/ |
H A D | apple_cgl.c | 49 sym(void *h, const char *name) in sym() function 88 apple_cgl.get_version = sym(h, "CGLGetVersion"); in apple_cgl_init() 99 apple_cgl.choose_pixel_format = sym(h, "CGLChoosePixelFormat"); in apple_cgl_init() 100 apple_cgl.destroy_pixel_format = sym(h, "CGLDestroyPixelFormat"); in apple_cgl_init() 102 apple_cgl.clear_drawable = sym(h, "CGLClearDrawable"); in apple_cgl_init() 103 apple_cgl.flush_drawable = sym(h, "CGLFlushDrawable"); in apple_cgl_init() 105 apple_cgl.create_context = sym(h, "CGLCreateContext"); in apple_cgl_init() 106 apple_cgl.destroy_context = sym(h, "CGLDestroyContext"); in apple_cgl_init() 108 apple_cgl.set_current_context = sym(h, "CGLSetCurrentContext"); in apple_cgl_init() 109 apple_cgl.get_current_context = sym( in apple_cgl_init() [all...] |
/third_party/libbpf/src/ |
H A D | elf.c | 190 struct elf_sym *ret = &iter->sym; in elf_sym_iter_next() 191 GElf_Sym *sym = &ret->sym; in elf_sym_iter_next() local 202 if (!gelf_getsym(iter->syms, idx, sym)) in elf_sym_iter_next() 204 if (GELF_ST_TYPE(sym->st_info) != iter->st_type) in elf_sym_iter_next() 206 name = elf_strptr(iter->elf, iter->strtabidx, sym->st_name); in elf_sym_iter_next() 209 sym_scn = elf_getscn(iter->elf, sym->st_shndx); in elf_sym_iter_next() 215 if(memcpy(sym,iter->sysms->d_buf + idx,sizeof(GElf_Sym) == NULL) { in elf_sym_iter_next() 218 if(((sym->st_info) & 0xf) != iter->st_type) { in elf_sym_iter_next() 225 name = elfio_string_get_string(strstring, sym in elf_sym_iter_next() 293 symbol_match(struct elf_sym_iter *iter, int sh_type, struct elf_sym *sym, const char *name, size_t name_len, const char *lib_ver) symbol_match() argument 336 elf_sym_offset(struct elf_sym *sym) elf_sym_offset() argument 391 struct elf_sym *sym; elf_find_func_offset() local 515 struct elf_sym *sym; elf_resolve_syms_offsets() local 596 struct elf_sym *sym; elf_resolve_pattern_offsets() local [all...] |
/third_party/node/deps/v8/third_party/zlib/ |
H A D | inftrees.c | 41 unsigned sym; /* index of code symbols */ local 109 for (sym = 0; sym < codes; sym++) 110 count[lens[sym]]++; 146 for (sym = 0; sym < codes; sym++) 147 if (lens[sym] != 0) work[offs[lens[sym]] [all...] |
/third_party/node/deps/zlib/ |
H A D | inftrees.c | 36 unsigned sym; /* index of code symbols */ in inflate_table() local 104 for (sym = 0; sym < codes; sym++) in inflate_table() 105 count[lens[sym]]++; in inflate_table() 141 for (sym = 0; sym < codes; sym++) in inflate_table() 142 if (lens[sym] != 0) work[offs[lens[sym]] in inflate_table() [all...] |