/external/u-boot/scripts/kconfig/ |
D | symbol.c | 38 static 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 57 sym = sym_lookup("UNAME_RELEASE", 0); in sym_init() 58 sym->type = S_STRING; in sym_init() 59 sym->flags |= SYMBOL_AUTO; in sym_init() 60 sym_add_default(sym, uts.release); in sym_init() 63 enum symbol_type sym_get_type(struct symbol *sym) in sym_get_type() argument 65 enum symbol_type type = sym->type; in sym_get_type() 68 if (sym_is_choice_value(sym) && sym->visible == yes) in sym_get_type() [all …]
|
D | confdata.c | 86 struct symbol *sym; in conf_expand_value() local 100 sym = sym_lookup(name, 0); in conf_expand_value() 101 sym_calc_value(sym); in conf_expand_value() 102 strcat(res_value, sym_get_string_value(sym)); in conf_expand_value() 126 static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p) in conf_set_sym_val() argument 130 switch (sym->type) { in conf_set_sym_val() 133 sym->def[def].tri = mod; in conf_set_sym_val() 134 sym->flags |= def_flags; in conf_set_sym_val() 140 sym->def[def].tri = yes; in conf_set_sym_val() 141 sym->flags |= def_flags; in conf_set_sym_val() [all …]
|
D | menu.c | 47 void menu_add_entry(struct symbol *sym) in menu_add_entry() argument 53 menu->sym = sym; in menu_add_entry() 61 if (sym) in menu_add_entry() 62 menu_add_symbol(P_SYMBOL, sym, NULL); in menu_add_entry() 97 if (e->left.sym == &symbol_mod) in rewrite_m() 113 struct symbol *sym = current_entry->sym; in menu_set_type() local 115 if (sym->type == type) in menu_set_type() 117 if (sym->type == S_UNKNOWN) { in menu_set_type() 118 sym->type = type; in menu_set_type() 123 sym->name ? sym->name : "<choice>", in menu_set_type() [all …]
|
D | expr.c | 17 struct expr *expr_alloc_symbol(struct symbol *sym) in expr_alloc_symbol() argument 21 e->left.sym = sym; in expr_alloc_symbol() 46 e->left.sym = s1; in expr_alloc_comp() 47 e->right.sym = s2; in expr_alloc_comp() 87 e->left.sym = org->left.sym; in expr_copy() 88 e->right.sym = org->right.sym; in expr_copy() 167 e1->left.sym == e2->left.sym && in __expr_eliminate_eq() 168 (e1->left.sym == &symbol_yes || e1->left.sym == &symbol_no)) in __expr_eliminate_eq() 264 return e1->left.sym == e2->left.sym && e1->right.sym == e2->right.sym; in expr_eq() 266 return e1->left.sym == e2->left.sym; in expr_eq() [all …]
|
D | conf.c | 84 static int conf_askvalue(struct symbol *sym, const char *def) in conf_askvalue() argument 86 enum symbol_type type = sym_get_type(sym); in conf_askvalue() 88 if (!sym_has_value(sym)) in conf_askvalue() 94 if (!sym_is_changable(sym)) { in conf_askvalue() 104 if (sym_has_value(sym)) { in conf_askvalue() 132 struct symbol *sym = menu->sym; in conf_string() local 137 printf("(%s) ", sym->name); in conf_string() 138 def = sym_get_string_value(sym); in conf_string() 139 if (sym_get_string_value(sym)) in conf_string() 141 if (!conf_askvalue(sym, def)) in conf_string() [all …]
|
/external/toybox/kconfig/ |
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 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 …]
|
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() [all …]
|
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, no)) { in conf_askvalue() [all …]
|
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->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 …]
|
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 == 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 …]
|
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->rev_dep.expr) { in get_symbol_str() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/AArch64/ |
D | arm64-elf-relocs.s | 8 add x0, x2, #:lo12:sym 12 add x5, x7, #:dtprel_lo12:sym 16 add x9, x12, #:dtprel_lo12_nc:sym 20 add x20, x30, #:tprel_lo12:sym 24 add x9, x12, #:tprel_lo12_nc:sym 28 add x5, x0, #:tlsdesc_lo12:sym 32 add x0, x2, #:lo12:sym+8 36 add x5, x7, #:dtprel_lo12:sym+1 40 add x9, x12, #:dtprel_lo12_nc:sym+2 44 add x20, x30, #:tprel_lo12:sym+12 [all …]
|
D | arm32-elf-relocs.s | 9 add x0, x2, #:lo12:sym 13 add x5, x7, #:dtprel_lo12:sym 17 add x9, x12, #:dtprel_lo12_nc:sym 21 add x20, x30, #:tprel_lo12:sym 25 add x9, x12, #:tprel_lo12_nc:sym 29 add x5, x0, #:tlsdesc_lo12:sym 33 add x0, x2, #:lo12:sym+8 37 add x5, x7, #:dtprel_lo12:sym+1 41 add x9, x12, #:dtprel_lo12_nc:sym+2 45 add x20, x30, #:tprel_lo12:sym+12 [all …]
|
/external/llvm/test/MC/AArch64/ |
D | arm64-elf-relocs.s | 4 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/iproute2/tc/ |
D | static-syms.h | 1 extern char police_action_util[] __attribute__((weak)); if (!strcmp(sym, "police_action_util")) ret… 2 extern char gact_action_util[] __attribute__((weak)); if (!strcmp(sym, "gact_action_util")) return … 3 extern char mirred_action_util[] __attribute__((weak)); if (!strcmp(sym, "mirred_action_util")) ret… 4 extern char tunnel_key_action_util[] __attribute__((weak)); if (!strcmp(sym, "tunnel_key_action_uti… 5 extern char nat_action_util[] __attribute__((weak)); if (!strcmp(sym, "nat_action_util")) return na… 6 extern char simple_action_util[] __attribute__((weak)); if (!strcmp(sym, "simple_action_util")) ret… 7 extern char ipt_action_util[] __attribute__((weak)); if (!strcmp(sym, "ipt_action_util")) return ip… 8 extern char bpf_action_util[] __attribute__((weak)); if (!strcmp(sym, "bpf_action_util")) return bp… 9 extern char connmark_action_util[] __attribute__((weak)); if (!strcmp(sym, "connmark_action_util"))… 10 extern char ife_action_util[] __attribute__((weak)); if (!strcmp(sym, "ife_action_util")) return if… [all …]
|
/external/ltp/pan/ |
D | symbol.c | 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() 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/mesa3d/src/mesa/program/ |
D | symbol_table.c | 89 struct symbol *sym = scope->symbols; in _mesa_symbol_table_pop_scope() local 96 while (sym != NULL) { in _mesa_symbol_table_pop_scope() 97 struct symbol *const next = sym->next_with_same_scope; in _mesa_symbol_table_pop_scope() 99 sym->name); in _mesa_symbol_table_pop_scope() 100 if (sym->next_with_same_name) { in _mesa_symbol_table_pop_scope() 104 hte->key = sym->next_with_same_name->name; in _mesa_symbol_table_pop_scope() 105 hte->data = sym->next_with_same_name; in _mesa_symbol_table_pop_scope() 108 free(sym->name); in _mesa_symbol_table_pop_scope() 111 free(sym); in _mesa_symbol_table_pop_scope() 112 sym = next; in _mesa_symbol_table_pop_scope() [all …]
|
/external/libunwind_llvm/src/ |
D | Unwind_AppleExtras.cpp | 44 #define NOT_HERE_BEFORE_5_0(sym) \ argument 45 extern const char sym##_tmp30 __asm("$ld$hide$os3.0$_" #sym ); \ 46 __attribute__((visibility("default"))) const char sym##_tmp30 = 0; \ 47 extern const char sym##_tmp31 __asm("$ld$hide$os3.1$_" #sym ); \ 48 __attribute__((visibility("default"))) const char sym##_tmp31 = 0; \ 49 extern const char sym##_tmp32 __asm("$ld$hide$os3.2$_" #sym );\ 50 __attribute__((visibility("default"))) const char sym##_tmp32 = 0; \ 51 extern const char sym##_tmp40 __asm("$ld$hide$os4.0$_" #sym ); \ 52 __attribute__((visibility("default"))) const char sym##_tmp40 = 0; \ 53 extern const char sym##_tmp41 __asm("$ld$hide$os4.1$_" #sym ); \ [all …]
|
/external/iproute2/ip/ |
D | static-syms.h | 1 extern char ipvlan_link_util[] __attribute__((weak)); if (!strcmp(sym, "ipvlan_link_util")) return … 2 extern char can_link_util[] __attribute__((weak)); if (!strcmp(sym, "can_link_util")) return can_li… 3 extern char team_link_util[] __attribute__((weak)); if (!strcmp(sym, "team_link_util")) return team… 4 extern char team_slave_link_util[] __attribute__((weak)); if (!strcmp(sym, "team_slave_link_util"))… 5 extern char macvlan_link_util[] __attribute__((weak)); if (!strcmp(sym, "macvlan_link_util")) retur… 6 extern char macvtap_link_util[] __attribute__((weak)); if (!strcmp(sym, "macvtap_link_util")) retur… 7 extern char vti_link_util[] __attribute__((weak)); if (!strcmp(sym, "vti_link_util")) return vti_li… 8 extern char vcan_link_util[] __attribute__((weak)); if (!strcmp(sym, "vcan_link_util")) return vcan… 9 extern char ifb_link_util[] __attribute__((weak)); if (!strcmp(sym, "ifb_link_util")) return ifb_li… 10 extern char ipoib_link_util[] __attribute__((weak)); if (!strcmp(sym, "ipoib_link_util")) return ip… [all …]
|
/external/libxkbcommon/xkbcommon/src/ |
D | keysym.c | 239 XConvertCase(xkb_keysym_t sym, xkb_keysym_t *lower, xkb_keysym_t *upper); 653 XConvertCase(xkb_keysym_t sym, xkb_keysym_t *lower, xkb_keysym_t *upper) in XConvertCase() argument 656 if (sym < 0x100) { in XConvertCase() 657 UCSConvertCase(sym, lower, upper); in XConvertCase() 662 if ((sym & 0xff000000) == 0x01000000) { in XConvertCase() 663 UCSConvertCase((sym & 0x00ffffff), lower, upper); in XConvertCase() 671 *lower = sym; in XConvertCase() 672 *upper = sym; in XConvertCase() 674 switch(sym >> 8) { in XConvertCase() 677 if (sym == XKB_KEY_Aogonek) in XConvertCase() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Sparc/ |
D | sparc-relocations.s | 7 ! 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 14 ! CHECK-OBJ: 0x{{[0-9,A-F]+}} R_SPARC_13 sym 21 ! CHECK: or %g1, %lo(sym), %g3 ! encoding: [0x86,0x10,0b011000AA,A] 22 … ! CHECK-NEXT: ! fixup A - offset: 0, value: %lo(sym), kind: fixup_sparc_lo10 [all …]
|
/external/compiler-rt/lib/builtins/ |
D | apple_versioning.c | 16 #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/bcc/tests/cc/ |
D | test_c_api.cc | 70 static void _test_ksym(const char *sym, uint64_t addr, void *_) { in _test_ksym() argument 71 if (!strcmp(sym, "startup_64")) in _test_ksym() 94 struct bcc_symbol sym; variable 96 REQUIRE(bcc_resolve_symname("c", "malloc", 0x0, 0, nullptr, &sym) == 0); 97 REQUIRE(string(sym.module).find("libc.so") != string::npos); 98 REQUIRE(sym.module[0] == '/'); 99 REQUIRE(sym.offset != 0); 100 bcc_procutils_free(sym.module); 104 struct bcc_symbol sym; variable 106 REQUIRE(bcc_resolve_symname("bcc", "bcc_procutils_which", 0x0, getpid(), nullptr, &sym) == 0); [all …]
|
/external/llvm/test/MC/Sparc/ |
D | sparc-relocations.s | 7 ! 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/bcc/src/cc/ |
D | bcc_syms.cc | 61 bool KSyms::resolve_addr(uint64_t addr, struct bcc_symbol *sym, bool demangle) { in resolve_addr() argument 72 sym->name = (*it).name.c_str(); in resolve_addr() 74 sym->demangle_name = sym->name; in resolve_addr() 75 sym->module = "kernel"; in resolve_addr() 76 sym->offset = addr - (*it).addr; in resolve_addr() 81 memset(sym, 0, sizeof(struct bcc_symbol)); in resolve_addr() 91 for (Symbol &sym : syms_) { in resolve_name() 92 symnames_[sym.name] = sym.addr; in resolve_name() 190 bool ProcSyms::resolve_addr(uint64_t addr, struct bcc_symbol *sym, in resolve_addr() argument 195 memset(sym, 0, sizeof(struct bcc_symbol)); in resolve_addr() [all …]
|