Home
last modified time | relevance | path

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

12345678910>>...22

/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/mesa3d/src/mesa/program/
Dsymbol_table.c140 struct symbol *sym; in check_symbol_table() local
142 for (sym = scope->symbols in check_symbol_table()
143 ; sym != NULL in check_symbol_table()
144 ; sym = sym->next_with_same_name) { in check_symbol_table()
145 const struct symbol_header *const hdr = sym->hdr; in check_symbol_table()
162 struct symbol *sym = scope->symbols; in _mesa_symbol_table_pop_scope() local
169 while (sym != NULL) { in _mesa_symbol_table_pop_scope()
170 struct symbol *const next = sym->next_with_same_scope; in _mesa_symbol_table_pop_scope()
171 struct symbol_header *const hdr = sym->hdr; in _mesa_symbol_table_pop_scope()
173 assert(hdr->symbols == sym); in _mesa_symbol_table_pop_scope()
[all …]
/external/valgrind/coregrind/m_demangle/
Ddemangle.c151 Bool VG_(maybe_Z_demangle) ( const HChar* sym, in VG_()
166 SizeT len = VG_(strlen)(sym) + 1; in VG_()
197 valid = sym[0] == '_' in VG_()
198 && sym[1] == 'v' in VG_()
199 && sym[2] == 'g' in VG_()
200 && (sym[3] == 'r' || sym[3] == 'w') in VG_()
201 && VG_(isdigit)(sym[4]) in VG_()
202 && VG_(isdigit)(sym[5]) in VG_()
203 && VG_(isdigit)(sym[6]) in VG_()
204 && VG_(isdigit)(sym[7]) in VG_()
[all …]
/external/libunwind_llvm/src/
DUnwind_AppleExtras.cpp45 #define NOT_HERE_BEFORE_5_0(sym) \ argument
46 extern const char sym##_tmp30 __asm("$ld$hide$os3.0$_" #sym ); \
47 __attribute__((visibility("default"))) const char sym##_tmp30 = 0; \
48 extern const char sym##_tmp31 __asm("$ld$hide$os3.1$_" #sym ); \
49 __attribute__((visibility("default"))) const char sym##_tmp31 = 0; \
50 extern const char sym##_tmp32 __asm("$ld$hide$os3.2$_" #sym );\
51 __attribute__((visibility("default"))) const char sym##_tmp32 = 0; \
52 extern const char sym##_tmp40 __asm("$ld$hide$os4.0$_" #sym ); \
53 __attribute__((visibility("default"))) const char sym##_tmp40 = 0; \
54 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/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/opencv3/3rdparty/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/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/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 …]
/external/llvm/test/tools/dsymutil/
Dyaml-object-address-rewrite.test14 # CHECK-NEXT: sym: _main, objAddr: 0x0000000000000000, binAddr: 0x0000000100000EA0, size: 0x00000024
18 # CHECK-DAG: sym: _foo, objAddr: 0x0000000000000020, binAddr: 0x0000000100000ED0, size: 0x00000050
19 # CHECK-DAG: sym: _private_int, objAddr: 0x0000000000000560, binAddr: 0x0000000100001004, size: 0…
20 # CHECK-DAG: sym: _inc, objAddr: 0x0000000000000070, binAddr: 0x0000000100000F20, size: 0x00000017
21 # CHECK-DAG: sym: _baz, objAddr: 0x0000000000000310, binAddr: 0x0000000100001000, size: 0x00000000
22 # CHECK-NOT: { sym:
26 # CHECK-DAG: sym: _val, objAddr: 0x0000000000000004, binAddr: 0x0000000100001008, size: 0x00000000
27 # CHECK-DAG: sym: _bar, objAddr: 0x0000000000000020, binAddr: 0x0000000100000F40, size: 0x00000050
28 # CHECK-DAG: sym: _inc, objAddr: 0x0000000000000070, binAddr: 0x0000000100000F90, size: 0x00000019
29 # CHECK-NOT: { sym:
[all …]
/external/zlib/src/contrib/infback9/
Dinftree9.c41 unsigned sym; /* index of code symbols */ local
111 for (sym = 0; sym < codes; sym++)
112 count[lens[sym]]++;
140 for (sym = 0; sym < codes; sym++)
141 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
195 sym = 0; /* starting code symbol */
213 if ((int)(work[sym]) < end) {
215 this.val = work[sym];
217 else if ((int)(work[sym]) > end) {
218 this.op = (unsigned char)(extra[work[sym]]);
[all …]
/external/elfutils/tests/
Ddwflsyms.c32 gelf_type (GElf_Sym *sym) in gelf_type() argument
34 switch (GELF_ST_TYPE (sym->st_info)) in gelf_type()
56 gelf_bind (GElf_Sym *sym) in gelf_bind() argument
58 switch (GELF_ST_BIND (sym->st_info)) in gelf_bind()
72 gelf_bind_order (GElf_Sym *sym) in gelf_bind_order() argument
74 switch (GELF_ST_BIND (sym->st_info)) in gelf_bind_order()
122 GElf_Sym sym; in list_syms() local
126 const char *name = dwfl_module_getsym (mod, ndx, &sym, &shndxp); in list_syms()
129 ndx, gelf_type (&sym), gelf_bind (&sym), name, in list_syms()
130 sym.st_size, sym.st_value); in list_syms()
[all …]

12345678910>>...22