Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 42) sorted by relevance

12

/scripts/kconfig/
Dutil.c79 gs.s = malloc(sizeof(char) * 64); in str_new()
81 strcpy(gs.s, "\0"); in str_new()
86 struct gstr str_assign(const char *s) in str_assign() argument
89 gs.s = strdup(s); in str_assign()
90 gs.len = strlen(s) + 1; in str_assign()
97 if (gs->s) in str_free()
98 free(gs->s); in str_free()
99 gs->s = NULL; in str_free()
104 void str_append(struct gstr *gs, const char *s) in str_append() argument
107 if (s) { in str_append()
[all …]
Dzconf.l178 printf("%s:%d:warning: multi-line strings not supported\n", zconf_curname(), zconf_lineno());
277 sprintf(fullname, "%s/%s", env, name);
309 printf("%s:%d: can't open file \"%s\"\n", zconf_curname(), zconf_lineno(), name);
317 printf("%s:%d: do not source '%s' from itself\n",
322 printf("%s:%d: file '%s' is already sourced from '%s'\n",
Dzconf.tab.c_shipped3 /* Skeleton implementation for Bison's Yacc-like parsers in C
349 /* Pacify GCC's `empty if-body' warning. */
914 YYFPRINTF (stderr, "%s ", Title); \
972 YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
974 YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
1057 /* YYINITDEPTH -- initial size of the parser's stacks. */
1130 quotes and backslashes, so that it's suitable for yyerror. The
1204 YY_("syntax error, unexpected %s");
1205 YY_("syntax error, unexpected %s, expecting %s");
1206 YY_("syntax error, unexpected %s, expecting %s or %s");
[all …]
Dlkc.h107 char *s; member
110 struct gstr str_assign(const char *s);
112 void str_append(struct gstr *gs, const char *s);
Dzconf.hash.c_shipped25 && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \
228 register const char *s = o + kconf_id_strings;
230 if (*str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0')
Dlex.zconf.c_shipped256 /* When an EOF's been seen but there's still some text to process
301 /* Flag which is used to allow zconfwrap()'s to do buffer switches
842 * down here because we want the user's section 1 to have been scanned first.
922 /* This used to be an fputs(), but since the string might contain NUL's,
1245 printf("%s:%d:warning: multi-line strings not supported\n", zconf_curname(), zconf_lineno());
1349 /* We're scanning a new file or input source. It's
1513 /* don't do the read, it's not guaranteed to return an EOF,
1690 * If this occurs *before* the EOB characters, then it's a
1710 * there's no matching to consider.
1741 c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
[all …]
/scripts/basic/
Ddocproc.c301 char *s; in docsect() local
303 for (s = line; *s; s++) in docsect()
304 if (*s == '\n') in docsect()
305 *s = '\0'; in docsect()
328 char * s; in parse_file() local
331 s = line + 2; in parse_file()
334 while (*s && !isspace(*s)) s++; in parse_file()
335 *s = '\0'; in parse_file()
339 while (*s && !isspace(*s)) s++; in parse_file()
340 *s = '\0'; in parse_file()
[all …]
Dfixdep.c206 char s[PATH_MAX]; in use_config() local
214 memcpy(s, m, slen); s[slen] = 0; in use_config()
216 for (p = s; p < s + slen; p++) { in use_config()
222 printf(" $(wildcard include/config/%s.h) \\\n", s); in use_config()
259 int strrcmp(char *s, char *sub) in strrcmp() argument
261 int slen = strlen(s); in strrcmp()
267 return memcmp(s + slen - sublen, sub, sublen); in strrcmp()
306 char s[PATH_MAX]; in parse_dep_file() local
313 memcpy(s, m, p-m); s[p-m] = 0; in parse_dep_file()
328 memcpy(s, m, p-m); s[p-m] = 0; in parse_dep_file()
[all …]
/scripts/mod/
Dmodpost.c116 char *p, *s; in new_module() local
123 s = strrchr(p, '.'); in new_module()
124 if (s != NULL) in new_module()
125 if (strcmp(s, ".o") == 0) in new_module()
126 *s = '\0'; in new_module()
178 struct symbol *s = NOFAIL(malloc(sizeof(*s) + strlen(name) + 1)); in alloc_symbol() local
180 memset(s, 0, sizeof(*s)); in alloc_symbol()
181 strcpy(s->name, name); in alloc_symbol()
182 s->weak = weak; in alloc_symbol()
183 s->next = next; in alloc_symbol()
[all …]
Dmk_elfconfig.c10 union { short s; char c[2]; } endian_test; in main() member
50 endian_test.s = 0x0102; in main()
Dsumversion.c46 static inline uint32_t lshift(uint32_t x, unsigned int s) in lshift() argument
49 return ((x << s) & 0xFFFFFFFF) | (x >> (32 - s)); in lshift()
67 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument
68 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (uint32_t)0x5A827999,s)) argument
69 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (uint32_t)0x6ED9EBA1,s)) argument
/scripts/
Dkallsyms.c64 static int read_symbol(FILE *in, struct sym_entry *s) in read_symbol() argument
70 rc = fscanf(in, "%llx %c %499s\n", &s->addr, &stype, str); in read_symbol()
86 _text = s->addr; in read_symbol()
88 _stext = s->addr; in read_symbol()
90 _etext = s->addr; in read_symbol()
92 _sinittext = s->addr; in read_symbol()
94 _einittext = s->addr; in read_symbol()
117 s->len = strlen(str) + 1; in read_symbol()
118 s->sym = malloc(s->len + 1); in read_symbol()
119 if (!s->sym) { in read_symbol()
[all …]
Dheaderdep.pl128 printf "%s from %s,\n", $msg, $last->[1] if defined $last;
131 printf "%s from %s:%d%s\n",
137 printf "%s:%d: warning: recursive header inclusion\n",
178 printf "\t%s [label=\"%s\"];\n",
187 printf "\t%s -> %s;\n",
Ddecodecode10 rm -f $T $T.s $T.o $T.oo $T.aa $T.aaa
52 echo -n " .byte 0x" > $T.s
53 echo $beforemark | sed -e 's/ /,0x/g' | sed -e 's/<//g' | sed -e 's/>//g' >> $T.s
54 as $AFLAGS -o $T.o $T.s &> /dev/null
57 rm -f $T.o $T.s $T.ooo
65 echo -n " .byte 0x" > $T.s
66 echo $code >> $T.s
67 as $AFLAGS -o $T.o $T.s &> /dev/null
Dbootgraph.pl153 my ($s, $s2, $s3, $e, $w, $y, $y2, $style);
160 $s = ($start{$key} - $firsttime) * $mult;
161 $s2 = $s + 6;
162 $s3 = $s + 1;
164 $w = $e - $s;
177 print "<rect x=\"$s\" width=\"$w\" y=\"$y\" height=\"115\" style=\"$style_wait\"/>\n";
179 print "<rect x=\"$s\" width=\"$w\" y=\"$y\" height=\"145\" style=\"$style\"/>\n";
Dcheckpatch.pl1366 my $s = $stat;
1367 $s =~ s/{.*$//s;
1370 if ($s =~ /$Ident:\*$/s) {
1373 } elsif ($s =~ /^.\s*$Ident\s*\(/s) {
1376 …} elsif ($prev_values eq 'E' && $s =~ /^.\s*(?:$Storage\s+)?(?:$Inline\s+)?(?:const\s+)?((?:\s*$Id…
1379 possible($type, "A:" . $s);
1382 } elsif ($s =~ /^.(?:$Storage\s+)?(?:$Inline\s+)?(?:const\s+)?($Ident)\b\s*(?!:)/s) {
1383 possible($1, "B:" . $s);
1387 while ($s =~ /\(($Ident)(?:\s+$Sparse)*[\s\*]+\s*\)/sg) {
1388 possible($1, "C:" . $s);
[all …]
Dver_linux23 fdformat --version | awk '{print $NF}' | sed -e s/^util-linux-// -e s/\)$//
26 mount --version | awk '{print $NF}' | sed -e s/^mount-// -e s/\)$//
Dexport_report.pl132 printf("%s\n\n\n","x"x80);
136 printf("%s\n\n\n","x"x80);
153 printf("%s\n\n\n","x"x80);
DMakefile.build120 $(real-objs-m:.o=.s) : modkern_cflags := $(CFLAGS_MODULE)
125 $(real-objs-m:.o=.s) : quiet_modtag := [M]
135 $(multi-objs-m:.o=.s) : modname = $(modname-multi)
139 $(multi-objs-y:.o=.s) : modname = $(modname-multi)
145 $(obj)/%.s: $(src)/%.c FORCE
248 $(real-objs-m:.o=.s): modkern_aflags := $(AFLAGS_MODULE)
253 $(obj)/%.s: $(src)/%.S FORCE
/scripts/tracing/
Ddraw_functrace.py73 s = "%s----%s (%s)\n" % (branch, self._func, self._time)
75 s = "%s----%s\n" % (branch, self._func)
82 s += "%s" % self._children[i].__toString(branch +\
85 s += "%s" % self._children[i].__toString(branch +\
88 return s
/scripts/rt-tester/
Drt-tester.py182 for s in stat:
183 s = s.strip() variable
184 if s.startswith(testop[0]):
186 val = s[2:].strip()
/scripts/genksyms/
Dparse.y217 { struct string_list *s = *$3, *i = *$2, *r; variable
220 add_symbol(i->string, SYM_STRUCT, s, is_extern);
224 { struct string_list *s = *$3, *i = *$2, *r; variable
227 add_symbol(i->string, SYM_UNION, s, is_extern);
231 { struct string_list *s = *$3, *i = *$2, *r; variable
234 add_symbol(i->string, SYM_ENUM, s, is_extern);
Dgenksyms.c127 static unsigned long partial_crc32(const char *s, unsigned long crc) in partial_crc32() argument
129 while (*s) in partial_crc32()
130 crc = partial_crc32_one(*s++, crc); in partial_crc32()
134 static unsigned long crc32(const char *s) in crc32() argument
136 return partial_crc32(s, 0xffffffff) ^ 0xffffffff; in crc32()
282 void free_list(struct string_list *s, struct string_list *e) in free_list() argument
284 while (s != e) { in free_list()
285 struct string_list *next = s->next; in free_list()
286 free_node(s); in free_list()
287 s = next; in free_list()
Dparse.c_shipped3 /* Skeleton implementation for Bison's Yacc-like parsers in C
337 /* Pacify GCC's `empty if-body' warning. */
974 YYFPRINTF (stderr, "%s ", Title); \
1032 YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
1034 YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
1117 /* YYINITDEPTH -- initial size of the parser's stacks. */
1190 quotes and backslashes, so that it's suitable for yyerror. The
1264 YY_("syntax error, unexpected %s");
1265 YY_("syntax error, unexpected %s, expecting %s");
1266 YY_("syntax error, unexpected %s, expecting %s or %s");
[all …]
Dkeywords.c_shipped24 && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \
205 register const char *s = wordlist[key].name;
207 if (*str == *s && !strcmp (str + 1, s + 1))

12