Lines Matching refs:sym
152 for sym in syms:
153 if sym.name in self.rev_r_dic:
155 dep_name = self.rev_r_dic[sym.name]
415 sym = node.item
416 if not isinstance(sym, kconfiglib.Symbol):
419 if sym.config_string:
420 val = sym.str_value
421 if sym.orig_type in (kconfiglib.BOOL, kconfiglib.TRISTATE) and val == 'n':
423 elif sym.orig_type == kconfiglib.STRING:
425 elif sym.orig_type == kconfiglib.HEX:
427 write('set({}{} "{}")\n'.format(prefix, sym.name, val))
429 configs_list.append(prefix + sym.name)
430 dep_opt = deprecated_options.get_deprecated_option(sym.name)
448 sym = node.item
449 if not isinstance(sym, kconfiglib.Symbol):
452 if sym.config_string:
453 val = sym.str_value
454 if sym.type in [kconfiglib.BOOL, kconfiglib.TRISTATE]:
456 elif sym.type == kconfiglib.HEX:
458 elif sym.type == kconfiglib.INT:
460 config_dict[sym.name] = val
528 sym = node.item
529 new_json['name'] = sym.name
533 if len(sym.ranges) > 0:
536 for min_range, max_range, cond_expr in sym.ranges:
542 sym = node.item
544 if len(sym.ranges) > 0:
547 for min_range, max_range, cond_expr in sym.ranges:
549 base = 16 if sym.type == kconfiglib.HEX else 10
554 'type': kconfiglib.TYPE_TO_STR[sym.type],
555 'name': sym.name,