Home
last modified time | relevance | path

Searched refs:string (Results 1 – 25 of 34) sorted by relevance

12

/scripts/genksyms/
Dgenksyms.c59 static struct string_list *mk_node(const char *string);
178 strcmp(defn->string, "}") == 0 && in is_unknown_symbol()
180 strcmp(defn->string, "UNKNOWN") == 0 && in is_unknown_symbol()
182 strcmp(defn->string, "{") == 0); in is_unknown_symbol()
325 free(node->string); in free_node()
338 static struct string_list *mk_node(const char *string) in mk_node() argument
343 newnode->string = xstrdup(string); in mk_node()
372 newnode->string = xstrdup(node->string); in copy_node()
397 if (a->tag != b->tag || strcmp(a->string, b->string)) in equal_list()
412 .string = buffer, in read_node()
[all …]
Dparse.y58 add_symbol(i->string, type, b, is_extern); in record_compound()
294 current_name = (*$1)->string;
303 current_name = (*$1)->string;
472 const char *name = strdup((*$1)->string);
477 const char *name = strdup((*$1)->string);
493 { export_symbol((*$3)->string); $$ = $5; }
Dgenksyms.h30 char *string; member
Dlex.l103 cur_node->string = memcpy(xmalloc(L+1), T, L+1); \
105 find_symbol(cur_node->string, SYM_ENUM_CONST, 1)?\
/scripts/gdb/linux/
Ddevice.py26 return dev_init_name.string()
27 return dev['kobj']['name'].string()
51 if item['name'].string() == name:
58 if item['name'].string() == name:
106 gdb.write('bus {}:\t{}\n'.format(bus['name'].string(), bus))
126 gdb.write("class {}:\t{}\n".format(cls['name'].string(), cls))
157 name = name.string()
158 bus = get_bus_by_name(bus.string())
171 name = name.string()
172 cls = get_class_by_name(cls.string())
Dmodules.py36 if module['name'].string() == name:
51 mod_name = mod_name.string()
79 name=module['name'].string(),
89 name=use['source']['name'].string()))
Dproc.py30 gdb.write(gdb.parse_and_eval("saved_command_line").string() + "\n")
45 gdb.write(gdb.parse_and_eval("(char *)linux_banner").string())
77 res['name'].string() + "\n")
115 for key, string in lst.items():
117 opts += string
175 devname = vfs['mnt_devname'].string()
191 fstype = superblock['s_type']['name'].string()
Dclk.py33 clk['name'].string(),
66 if child['name'].string() == name:
73 name = name.string()
Dgenpd.py17 path = kobj['name'].string()
60 genpd['name'].string(),
Dutils.py66 return container_of(ptr, gdb.lookup_type(typename.string()).pointer(),
67 elementname.string())
196 return p + d['d_iname'].string()
Dsymbols.py30 module_name = module['name'].string()
99 attrs[n]['battr']['attr']['name'].string(): attrs[n]['address']
111 module_name = module['name'].string()
Dtasks.py81 task["comm"].string()))
Dcpus.py153 var_ptr = gdb.parse_and_eval("&" + var_name.string())
/scripts/
Dshow_delta13 import string
49 (time_str, rest) = string.split(line[1:],']',1)
50 time = string.atof(time_str)
114 if string.find(rest, base_str)==1:
Dcheckkconfigsymbols.py210 def yel(string): argument
214 return "\033[33m%s\033[0m" % string if COLOR else string
217 def red(string): argument
221 return "\033[31m%s\033[0m" % string if COLOR else string
DKconfig.include52 # $(m32-flag): -m32 if the compiler supports it, or an empty string otherwise.
53 # $(m64-flag): -m64 if the compiler supports it, or an empty string otherwise.
Dconfig22 --set-str option string
Dcheckpatch.pl897 my ($string) = @_;
899 return trim($string) if ($string =~ /^\s*0[0-7]{3,3}\s*$/);
906 while ($string =~ /\b(($single_mode_perms_string_search)\b(?:\s*\|\s*)?\s*)/g) {
907 $curpos = pos($string);
1094 my ($string) = @_;
1095 return "" if (!defined($string));
1097 while ($string =~ /^\s*\(.*\)\s*$/) {
1098 $string =~ s@^\s*\(\s*@@;
1099 $string =~ s@\s*\)\s*$@@;
1102 $string =~ s@\s+@ @g;
[all …]
DKbuild.include36 # Quote a string to pass it to C files. foo => '"foo"'
216 # string if equal. User may override this check using make KBUILD_NOCMDDEP=1
227 # Replace >'< with >'\''< to be able to enclose the whole string in '...'
298 # When a Kconfig string contains a filename, it is suitable for
305 # we *do* need to escape any spaces in the string. So, for example:
/scripts/kconfig/
Dlexer.l147 yylval.string = text;
152 yylval.string = expand_token(yytext, yyleng);
153 if (strlen(yylval.string))
155 free(yylval.string);
162 yylval.string = text;
Dparser.y37 char *string; member
45 %token <string> T_HELPTEXT
46 %token <string> T_WORD
47 %token <string> T_WORD_QUOTE
85 %token <string> T_ASSIGN_VAL
98 %type <string> end
100 %type <string> word_opt assign_val
Dnconf.h79 const char *string,
/scripts/dtc/libfdt/
Dlibfdt_env.h85 static inline size_t fdt_strnlen(const char *string, size_t max_count) in fdt_strnlen() argument
87 const char *p = memchr(string, 0, max_count); in fdt_strnlen()
88 return p ? p - string : max_count; in fdt_strnlen()
/scripts/dtc/
Dflattree.c37 void (*string)(void *, const char *, int); member
94 .string = bin_emit_string,
212 .string = asm_emit_string,
249 emit->string(etarget, tree->fullpath, 0); in flatten_tree()
251 emit->string(etarget, tree->name, 0); in flatten_tree()
282 emit->string(etarget, tree->name, tree->basenamelen); in flatten_tree()
/scripts/atomic/
Datomics.tbl3 # Where meta contains a string of variants to generate.

12