Home
last modified time | relevance | path

Searched refs:xstrdup (Results 1 – 20 of 20) sorted by relevance

/linux-6.15/scripts/kconfig/
H A Dpreprocess.c51 e->name = xstrdup(name); in env_add()
52 e->value = xstrdup(value); in env_add()
76 return xstrdup(e->value); in env_expand()
89 return xstrdup(value); in env_expand()
122 return xstrdup(""); in do_error_if()
134 return xstrdup(""); in do_info()
143 return xstrdup(buf); in do_lineno()
183 return xstrdup(buf); in do_shell()
191 return xstrdup(""); in do_warning_if()
437 res = xstrdup(""); in eval_clause()
[all …]
H A Dparser.y479 /* empty */ { $$ = xstrdup(""); };
H A Dconfdata.c285 sym->def[def].val = xstrdup(p); in conf_set_sym_val()
H A Dsymbol.c920 new_name = xstrdup(name); in sym_lookup()
/linux-6.15/scripts/dtc/
H A Ddtc-lexer.l85 srcpos_set_line(xstrdup(fn.val), atoi(line) - 1);
149 yylval.labelref = xstrdup(yytext);
199 yylval.labelref = xstrdup(yytext+1);
206 yylval.labelref = xstrdup(yytext+2);
224 yylval.propnodename = xstrdup((yytext[0] == '\\') ?
H A Dsrcpos.c107 fullname = xstrdup(fname); in try_open()
155 fullname = xstrdup("<stdin>"); in srcfile_relative_open()
224 node->dirname = xstrdup(dirname); in srcfile_add_search_path()
H A Dfstree.c57 newchild = name_node(newchild, xstrdup(de->d_name)); in read_fstree()
H A Dutil.h65 extern char *xstrdup(const char *s);
H A Dflattree.c661 return xstrdup(inb->base + offset); in flat_read_stringtable()
744 node->name = xstrdup(nodename_from_path(parent_flatname, in unflatten_tree()
747 node->name = xstrdup(flatname); in unflatten_tree()
H A Dlivetree.c46 new->name = xstrdup(name); in build_property()
59 new->name = xstrdup(name); in build_property_delete()
123 node->name = xstrdup(name); in name_node()
H A Dutil.c26 char *xstrdup(const char *s) in xstrdup() function
/linux-6.15/scripts/include/
H A Dxalloc.h35 static inline char *xstrdup(const char *s) in xstrdup() function
/linux-6.15/scripts/gendwarfksyms/
H A Dkabi.c210 rule->target = xstrdup(get_rule_field(&rule_str, &left)); in kabi_read_rules()
211 rule->value = xstrdup(get_rule_field(&rule_str, &left)); in kabi_read_rules()
H A Ddie.c140 df->data.str = xstrdup(str); in die_map_add_string()
H A Dtypes.c124 e->name = xstrdup(name); in type_map_add()
H A Ddwarf.c204 cache->fqn = xstrdup(fqn->fqn); in update_fqn()
1139 fqn = xstrdup(name); in resolve_fqns()
/linux-6.15/scripts/genksyms/
H A Dgenksyms.h81 #define xstrdup(str) ({ char *__str = strdup(str); \ macro
H A Dgenksyms.c270 sym->name = xstrdup(name); in __add_symbol()
334 newnode->string = xstrdup(string); in mk_node()
363 newnode->string = xstrdup(node->string); in copy_node()
H A Dlex.l167 source_file = xstrdup(cur_filename);
/linux-6.15/scripts/mod/
H A Dmodpost.c363 s->namespace = xstrdup(namespace); in sym_add_exported()
634 char *munged = xstrdup(symname); in handle_symbol()