Home
last modified time | relevance | path

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

/linux-6.1.9/scripts/kconfig/
Dpreprocess.c49 e->name = xstrdup(name); in env_add()
50 e->value = xstrdup(value); in env_add()
74 return xstrdup(e->value); in env_expand()
87 return xstrdup(value); in env_expand()
117 return xstrdup(""); in do_error_if()
122 return xstrdup(current_file->name); in do_filename()
129 return xstrdup(""); in do_info()
138 return xstrdup(buf); in do_lineno()
178 return xstrdup(buf); in do_shell()
187 return xstrdup(""); in do_warning_if()
[all …]
Dutil.c25 file->name = xstrdup(name); in file_lookup()
109 char *xstrdup(const char *s) in xstrdup() function
Dlkc.h60 char *xstrdup(const char *s);
Dqconf.cc1400 configname = xstrdup(conf_get_configname()); in ConfigMainWindow()
1551 configname = xstrdup(name); in loadConfig()
1586 configname = xstrdup(name); in saveConfigAs()
Dsymbol.c153 sym->curr.val = xstrdup(str); in sym_validate_range()
829 new_name = xstrdup(name); in sym_lookup()
Dparser.y472 /* empty */ { $$ = xstrdup(""); };
Dconfdata.c274 sym->def[def].val = xstrdup(p); in conf_set_sym_val()
/linux-6.1.9/scripts/dtc/
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] == '\\') ?
Dfstree.c46 prop = build_property(xstrdup(de->d_name), in read_fstree()
57 newchild = name_node(newchild, xstrdup(de->d_name)); in read_fstree()
Dsrcpos.c105 fullname = xstrdup(fname); in try_open()
153 fullname = xstrdup("<stdin>"); in srcfile_relative_open()
222 node->dirname = xstrdup(dirname); in srcfile_add_search_path()
Dutil.h63 extern char *xstrdup(const char *s);
Dflattree.c619 str = xstrdup(inb->ptr); in flat_read_string()
661 return xstrdup(inb->base + offset); in flat_read_stringtable()
728 return xstrdup(cpath + plen); in nodename_from_path()
Dutil.c26 char *xstrdup(const char *s) in xstrdup() function
Dlivetree.c789 name_node(node, xstrdup(name)); in build_and_name_child_node()
/linux-6.1.9/scripts/genksyms/
Dgenksyms.h76 #define xstrdup(str) ({ char *__str = strdup(str); \ macro
Dgenksyms.c343 newnode->string = xstrdup(string); in mk_node()
372 newnode->string = xstrdup(node->string); in copy_node()
485 subsym = add_reference_symbol(xstrdup(sym->string), sym->tag, in read_reference()
Dlex.l159 source_file = xstrdup(cur_filename);