Home
last modified time | relevance | path

Searched refs:sym (Results 1 – 25 of 598) sorted by relevance

12345678910>>...24

/external/toybox/kconfig/
Dsymbol.c38 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
58 sym = sym_lookup("ARCH", 0); in sym_init()
59 sym->type = S_STRING; in sym_init()
60 sym->flags |= SYMBOL_AUTO; in sym_init()
63 sym_add_default(sym, p); in sym_init()
65 sym = sym_lookup("KERNELVERSION", 0); in sym_init()
66 sym->type = S_STRING; in sym_init()
67 sym->flags |= SYMBOL_AUTO; in sym_init()
[all …]
Dconfdata.c54 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()
[all …]
Dconf.c67 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, no)) { in conf_askvalue()
[all …]
Dmenu.c44 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->name ? sym->name : "<choice>", in menu_set_type()
119 sym_type_name(sym->type), sym_type_name(type)); in menu_set_type()
124 struct property *prop = prop_alloc(type, current_entry->sym); in menu_add_prop()
[all …]
Dexpr.c15 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 == e2->left.sym && in __expr_eliminate_eq()
149 (e1->left.sym == &symbol_yes || e1->left.sym == &symbol_no)) in __expr_eliminate_eq()
203 return e1->left.sym == e2->left.sym && e1->right.sym == e2->right.sym; in expr_eq()
205 return e1->left.sym == e2->left.sym; in expr_eq()
[all …]
Dmconf.c347 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->rev_dep.expr) { in get_symbol_str()
[all …]
Dexpr.h40 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 argument
115 struct symbol *sym; member
125 #define for_all_properties(sym, st, tok) \ argument
126 for (st = sym->prop; st; st = st->next) \
128 #define for_all_defaults(sym, st) for_all_properties(sym, st, P_DEFAULT) argument
129 #define for_all_choices(sym, st) for_all_properties(sym, st, P_CHOICE) argument
130 #define for_all_prompts(sym, st) \ argument
131 for (st = sym->prop; st; st = st->next) \
138 struct symbol *sym; member
[all …]
Dlkc.h80 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
[all …]
/external/llvm/test/MC/AArch64/
Darm64-elf-relocs.s4 add x0, x2, #:lo12:sym
8 add x5, x7, #:dtprel_lo12:sym
12 add x9, x12, #:dtprel_lo12_nc:sym
16 add x20, x30, #:tprel_lo12:sym
20 add x9, x12, #:tprel_lo12_nc:sym
24 add x5, x0, #:tlsdesc_lo12:sym
28 add x0, x2, #:lo12:sym+8
32 add x5, x7, #:dtprel_lo12:sym+1
36 add x9, x12, #:dtprel_lo12_nc:sym+2
40 add x20, x30, #:tprel_lo12:sym+12
[all …]
/external/ltp/pan/
Dsymbol.c95 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()
124 static struct sym *find_key1(struct sym *sym, char *key) in find_key1() argument
126 while (sym != NULL) in find_key1()
127 if (strcmp(sym->key, key) == 0) in find_key1()
128 return (sym); in find_key1()
130 sym = sym->next; in find_key1()
137 static int add_key(SYM sym, char *key, void *data) in add_key() argument
[all …]
/external/valgrind/coregrind/m_demangle/
Ddemangle.c199 Bool VG_(maybe_Z_demangle) ( const HChar* sym, in VG_()
214 SizeT len = VG_(strlen)(sym) + 1; in VG_()
245 valid = sym[0] == '_' in VG_()
246 && sym[1] == 'v' in VG_()
247 && sym[2] == 'g' in VG_()
248 && (sym[3] == 'r' || sym[3] == 'w') in VG_()
249 && VG_(isdigit)(sym[4]) in VG_()
250 && VG_(isdigit)(sym[5]) in VG_()
251 && VG_(isdigit)(sym[6]) in VG_()
252 && VG_(isdigit)(sym[7]) in VG_()
[all …]
/external/mesa3d/src/mesa/program/
Dsymbol_table.c88 struct symbol *sym = scope->symbols; in _mesa_symbol_table_pop_scope() local
95 while (sym != NULL) { in _mesa_symbol_table_pop_scope()
96 struct symbol *const next = sym->next_with_same_scope; in _mesa_symbol_table_pop_scope()
98 sym->name); in _mesa_symbol_table_pop_scope()
99 if (sym->next_with_same_name) { in _mesa_symbol_table_pop_scope()
103 hte->key = sym->next_with_same_name->name; in _mesa_symbol_table_pop_scope()
104 hte->data = sym->next_with_same_name; in _mesa_symbol_table_pop_scope()
107 free(sym->name); in _mesa_symbol_table_pop_scope()
110 free(sym); in _mesa_symbol_table_pop_scope()
111 sym = next; in _mesa_symbol_table_pop_scope()
[all …]
/external/libunwind_llvm/src/
DUnwind_AppleExtras.cpp46 #define NOT_HERE_BEFORE_5_0(sym) \ argument
47 extern const char sym##_tmp30 __asm("$ld$hide$os3.0$_" #sym ); \
48 __attribute__((visibility("default"))) const char sym##_tmp30 = 0; \
49 extern const char sym##_tmp31 __asm("$ld$hide$os3.1$_" #sym ); \
50 __attribute__((visibility("default"))) const char sym##_tmp31 = 0; \
51 extern const char sym##_tmp32 __asm("$ld$hide$os3.2$_" #sym );\
52 __attribute__((visibility("default"))) const char sym##_tmp32 = 0; \
53 extern const char sym##_tmp40 __asm("$ld$hide$os4.0$_" #sym ); \
54 __attribute__((visibility("default"))) const char sym##_tmp40 = 0; \
55 extern const char sym##_tmp41 __asm("$ld$hide$os4.1$_" #sym ); \
[all …]
/external/bison/src/
Dsymtab.c177 symbol_type_set (symbol *sym, uniqstr type_name, location loc) in symbol_type_set() argument
181 if (sym->type_name) in symbol_type_set()
182 symbol_redeclaration (sym, "%type", sym->type_location, loc); in symbol_type_set()
184 sym->type_name = type_name; in symbol_type_set()
185 sym->type_location = loc; in symbol_type_set()
194 symbol_destructor_set (symbol *sym, code_props const *destructor) in symbol_destructor_set() argument
196 if (sym->destructor.code) in symbol_destructor_set()
197 symbol_redeclaration (sym, "%destructor", sym->destructor.location, in symbol_destructor_set()
199 sym->destructor = *destructor; in symbol_destructor_set()
222 symbol_destructor_get (symbol const *sym) in symbol_destructor_get() argument
[all …]
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/
Dsymshift.pl196 ($sym,$rest) = ($1,$2);
204 $sym = translate($table,$sym,$id);
205 if ($shifted{$sym}) {
206 $otherplane = int($shifted{$sym} / 256);
207 …print STDERR "symbol \"$sym\" was allready assigned to plane of \"$table{$otherplane}\" ($otherpla…
209 $shifted{$sym} = $shifted;
210 $sym{$shifted} = $sym;
225 foreach $sym (keys %{$notpredicted{$table}}) {
226 $id = $notpredicted{$table}{$sym};
228 $shifted{$sym} = $shifted unless $shifted{$sym};
[all …]
/external/compiler-rt/lib/builtins/
Dapple_versioning.c16 #define NOT_HERE_BEFORE_10_6(sym) argument
17 #define NOT_HERE_IN_10_8_AND_EARLIER(sym) \ argument
18 extern const char sym##_tmp61 __asm("$ld$hide$os6.1$_" #sym ); \
19 __attribute__((visibility("default"))) const char sym##_tmp61 = 0; \
20 extern const char sym##_tmp60 __asm("$ld$hide$os6.0$_" #sym ); \
21 __attribute__((visibility("default"))) const char sym##_tmp60 = 0; \
22 extern const char sym##_tmp51 __asm("$ld$hide$os5.1$_" #sym ); \
23 __attribute__((visibility("default"))) const char sym##_tmp51 = 0; \
24 extern const char sym##_tmp50 __asm("$ld$hide$os5.0$_" #sym ); \
25 __attribute__((visibility("default"))) const char sym##_tmp50 = 0;
[all …]
/external/llvm/test/MC/Sparc/
Dsparc-relocations.s7 ! CHECK-OBJ: 0x{{[0-9,A-F]+}} R_SPARC_LO10 sym
8 ! CHECK-OBJ: 0x{{[0-9,A-F]+}} R_SPARC_HI22 sym
9 ! CHECK-OBJ: 0x{{[0-9,A-F]+}} R_SPARC_H44 sym
10 ! CHECK-OBJ: 0x{{[0-9,A-F]+}} R_SPARC_M44 sym
11 ! CHECK-OBJ: 0x{{[0-9,A-F]+}} R_SPARC_L44 sym
12 ! CHECK-OBJ: 0x{{[0-9,A-F]+}} R_SPARC_HH22 sym
13 ! CHECK-OBJ: 0x{{[0-9,A-F]+}} R_SPARC_HM10 sym
20 ! CHECK: or %g1, %lo(sym), %g3 ! encoding: [0x86,0x10,0b011000AA,A]
21 … ! CHECK-NEXT: ! fixup A - offset: 0, value: %lo(sym), kind: fixup_sparc_lo10
22 or %g1, %lo(sym), %g3
[all …]
/external/llvm/test/tools/llvm-readobj/
Dgnu-relocations.test8 ELF32-NEXT: 00000002 00000500 R_386_NONE 00000000 sym
9 ELF32-NEXT: 00000008 00000501 R_386_32 00000000 sym
10 ELF32-NEXT: 0000000e 00000502 R_386_PC32 00000000 sym
11 ELF32-NEXT: 00000014 00000503 R_386_GOT32 00000000 sym
12 ELF32-NEXT: 0000001a 00000504 R_386_PLT32 00000000 sym
13 ELF32-NEXT: 00000020 00000505 R_386_COPY 00000000 sym
14 ELF32-NEXT: 00000026 00000506 R_386_GLOB_DAT 00000000 sym
15 ELF32-NEXT: 0000002c 00000507 R_386_JUMP_SLOT 00000000 sym
16 ELF32-NEXT: 00000032 00000508 R_386_RELATIVE 00000000 sym
17 ELF32-NEXT: 00000038 00000509 R_386_GOTOFF 00000000 sym
[all …]
/external/mesa3d/src/glx/apple/
Dapple_cgl.c49 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(h, "CGLGetCurrentContext"); in apple_cgl_init()
[all …]
/external/vixl/examples/aarch32/
Ddisasm-a32.cc85 void insert(const Symbol& sym) { in insert() argument
86 VIXL_ASSERT(find(sym.GetAddress()) == end()); in insert()
88 std::make_pair(sym.GetMemoryAddress(), sym)); in insert()
135 const Elf32_Sym* sym = reinterpret_cast<const Elf32_Sym*>( in LocateSymbols() local
138 if ((sym[snum].st_shndx > 0) && (sym[snum].st_shndx < ehdr->e_shnum) && in LocateSymbols()
139 (sym[snum].st_value != 0) && in LocateSymbols()
140 (shdr[sym[snum].st_shndx].sh_type == SHT_PROGBITS) && in LocateSymbols()
141 ((ELF32_ST_BIND(sym[snum].st_info) == STB_LOCAL) || in LocateSymbols()
142 (ELF32_ST_BIND(sym[snum].st_info) == STB_GLOBAL)) && in LocateSymbols()
143 (ELF32_ST_TYPE(sym[snum].st_info) == STT_FUNC)) { in LocateSymbols()
[all …]
/external/zlib/src/
Dinftrees.c41 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]]++] = (unsigned short)sym;
201 sym = 0; /* starting code symbol */
219 if ((int)(work[sym]) < end) {
221 here.val = work[sym];
223 else if ((int)(work[sym]) > end) {
224 here.op = (unsigned char)(extra[work[sym]]);
[all …]
/external/pdfium/third_party/zlib_v128/
Dinftrees.c41 unsigned sym; /* index of code symbols */ in inflate_table() local
109 for (sym = 0; sym < codes; sym++) in inflate_table()
110 count[lens[sym]]++; in inflate_table()
146 for (sym = 0; sym < codes; sym++) in inflate_table()
147 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; in inflate_table()
201 sym = 0; /* starting code symbol */ in inflate_table()
219 if ((int)(work[sym]) < end) { in inflate_table()
221 here.val = work[sym]; in inflate_table()
223 else if ((int)(work[sym]) > end) { in inflate_table()
224 here.op = (unsigned char)(extra[work[sym]]); in inflate_table()
[all …]
/external/python/cpython2/Modules/zlib/
Dinftrees.c41 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]]++] = (unsigned short)sym;
201 sym = 0; /* starting code symbol */
219 if ((int)(work[sym]) < end) {
221 here.val = work[sym];
223 else if ((int)(work[sym]) > end) {
224 here.op = (unsigned char)(extra[work[sym]]);
[all …]
/external/elfutils/libdwfl/
Ddwfl_module_getsym.c33 __libdwfl_getsym (Dwfl_Module *mod, int ndx, GElf_Sym *sym, GElf_Addr *addr, in __libdwfl_getsym() argument
95 sym = gelf_getsymshndx (symdata, symxndxdata, tndx, sym, &shndx); in __libdwfl_getsym()
97 if (unlikely (sym == NULL)) in __libdwfl_getsym()
103 if (sym->st_shndx != SHN_XINDEX) in __libdwfl_getsym()
104 shndx = sym->st_shndx; in __libdwfl_getsym()
109 && (sym->st_shndx == SHN_XINDEX in __libdwfl_getsym()
110 || (sym->st_shndx < SHN_LORESERVE && sym->st_shndx != SHN_UNDEF))) in __libdwfl_getsym()
122 GElf_Addr st_value = sym->st_value & ebl_func_addr_mask (mod->ebl); in __libdwfl_getsym()
125 && (GELF_ST_TYPE (sym->st_info) == STT_FUNC in __libdwfl_getsym()
126 || (GELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC in __libdwfl_getsym()
[all …]
Ddwfl_module_addrsym.c128 GElf_Addr value, GElf_Sym *sym, in try_sym_value() argument
135 if (value + sym->st_size > state->min_label) in try_sym_value()
136 state->min_label = value + sym->st_size; in try_sym_value()
138 if (sym->st_size == 0 || state->addr - value < sym->st_size) in try_sym_value()
144 || binding_value (state->closest_sym) < binding_value (sym)) in try_sym_value()
146 if (sym->st_size != 0) in try_sym_value()
148 *state->closest_sym = *sym; in try_sym_value()
164 state->sizeless_sym = *sym; in try_sym_value()
175 else if (sym->st_size != 0 in try_sym_value()
177 && ((state->closest_sym->st_size > sym->st_size in try_sym_value()
[all …]

12345678910>>...24