Home
last modified time | relevance | path

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

123

/scripts/tests/twister_blackbox/test_data/tests/san/asan/src/
A Dmain.c21 char *s = malloc(10); in helper() local
23 strcpy(s, "123456789"); in helper()
24 s[9] = '0'; in helper()
25 free(s); in helper()
26 strcpy(s, "Hello"); in helper()
27 printf("string is: %s\n", s); in helper()
/scripts/kconfig/
A Dmenuconfig.py1592 s = s.strip()
1597 s = "0x" + s
2596 s = ""
2770 s += (len(s) - 1)*"="
2907 s = s[:i-1] + s[i:]
2911 s = s[:i] + s[i+1:]
2916 s = s[:new_i] + s[i:]
2920 s = s[:i]
2923 s = s[i:]
2928 s = s[:i] + c + s[i:]
[all …]
A Dguiconfig.py830 s = "({}) {}".format(sym.str_value, s)
857 return s
1130 s = s.encode("utf-8", "ignore")
1189 s = "0x" + s
2110 s = ""
2116 return s
2184 s = ""
2197 return s
2216 s = ""
2234 return s
[all …]
A Dkconfig.py255 selectors = [s for s in split_expr(dep_expr, OR) if expr_value(s) == 2]
266 selectors = [s for s in split_expr(dep_expr, OR) if expr_value(s) == 2]
276 selectors = [s for s in split_expr(dep_expr, OR) if expr_value(s) == 2]
A Dkconfiglib.py2355 if s.isspace() or s.lstrip().startswith("#"):
2444 if "$" not in s and "\\" not in s:
2454 s, end_i = self._expand_str(s, i)
2532 while i < len(s) and s[i].isspace():
2609 s = s.lstrip()
2614 s, i = self._expand_macro(s, i, ())
2675 s, i = self._expand_macro(s, i, args)
2685 s, end_i = self._expand_name_iter(s, i)
2694 while end_i < len(s) and s[end_i].isspace():
2710 s, i = self._expand_macro(s, match.start(), ())
[all …]
/scripts/tests/twister_blackbox/test_data/tests/san/lsan/src/
A Dmain.c19 char *s = malloc(100); in helper() local
21 s[0] = '!'; in helper()
22 s[1] = '\0'; in helper()
23 printf("string is: %s\n", s); in helper()
/scripts/dts/python-devicetree/tests/test-bindings-init/
A Ddiamond.yaml17 # Diamond's left:
21 # Diamond's right:
25 # Diamond's top:
30 # Diamond's left:
34 # Diamond's right:
38 # Diamond's top:
43 # Diamond's left:
47 # Diamond's right:
51 # Diamond's top:
60 # Diamond's left.
[all …]
A Dvnd,thing.yaml16 description: The Thing's child-binding.
20 description: The Thing's grandchild-binding.
/scripts/
A Dlist_hardware.py56 for s in f.get('series', []):
74 for s in data.get('series', []):
142 if s.name == es.name:
143 s.extend(es)
149 for s in self._socs:
150 if s.name == es.name:
151 s.extend(es)
170 return next(s for s in self._socs if s.name == name)
338 for s in systems.get_series():
341 for s in systems.get_socs():
[all …]
A Drequirements-base.txt3 # While technically west isn't required it's considered in base since it's
34 # it's west
A Dlist_boards.py124 for s in self.socs:
125 if s.name == soc_qualifier:
126 node = s
276 socs = [Soc.from_soc(systems.get_soc(s['name']), s.get('variants', []))
396 for s in board.socs:
397 if s.cpuclusters:
398 for c in s.cpuclusters:
399 id_str = s.name + '/' + c.name
404 qualifiers_list.append(s.name)
405 for v in s.variants:
[all …]
A Dcheckpatch.pl3659 my $s = $stat;
3660 $s =~ s/{.*$//s;
3692 my $ctx = $s;
3790 $s =~ s/$;/ /g;
3800 $s =~ s/\n./\n/gs;
3813 $s =~ s/^\s*{//;
5107 $s =~ s/\n.*//g;
5146 my $s = $1;
5197 $s =~ s/\n.*//g;
6407 my $s = $stat;
[all …]
/scripts/west_commands/
A Drun_tests.py34 ' '.join(shlex.quote(s) for s in mypy),
38 ' '.join(shlex.quote(s) for s in pytest),
/scripts/tests/twister_blackbox/test_data/tests/san/val/src/
A Dmain.c25 char *s = malloc(10); in ZTEST() local
27 strcpy(s, "123456789"); in ZTEST()
28 printf("string is: %s\n", s); in ZTEST()
/scripts/utils/
A Dtwister_to_list.py39 s = val.split()
40 if len(s) > 1:
41 conf[field] = s
/scripts/west_commands/completion/
A Dwest-completion.ps15 $s = { variable
45 Register-ArgumentCompleter -Native -CommandName west -ScriptBlock $s variable
/scripts/dts/
A Dgen_defines.py147 s = f"""\
165 s += """
183 s = f"""\
191 s += f"""
196 s += f"""
216 out_comment(s)
978 def str2ident(s: str) -> str:
1040 if "\n" in s:
1072 def escape(s: str) -> str:
1094 def err(s: str) -> NoReturn:
[all …]
A Dgen_edt.py109 def err(s: str) -> NoReturn:
110 raise Exception(s)
/scripts/west_commands/zspdx/
A Dspdxids.py22 def convertToSPDXIDSafe(s): argument
33 return "".join([getSPDXIDSafeCharacter(c) for c in s])
/scripts/native_simulator/common/src/include/
A Dnsi_utils.h15 #define NSI_STRINGIFY(s) _NSI_STRINGIFY(s) argument
A Dnsi_host_trampolines.h38 char *nsi_host_strdup(const char *s);
/scripts/dts/python-devicetree/src/devicetree/
A Ddtlib.py236 s += line
241 s += "};"
243 return s
614 return s + ";"
616 s += " ="
678 return s + ";"
963 s = "/dts-v1/;\n"
966 s += "\n"
1807 def _ref2node(self, s): argument
1810 if s[0] == "{":
[all …]
/scripts/native_simulator/common/src/
A Dnsi_host_trampolines.c69 char *nsi_host_strdup(const char *s) in nsi_host_strdup() argument
71 return strdup(s); in nsi_host_strdup()
/scripts/build/
A Dfile2hex.py50 s = ", ".join("0x" + str(x) for x in list_or_iterator)
53 return "\n".join(s[i:i+47] for i in range(0, len(s), 48))
/scripts/coccinelle/
A Dderef_null.cocci97 msg="ERROR: %s is NULL but dereferenced." % (x)
107 msg="ERROR: %s is NULL but dereferenced." % (x)
112 @s depends on !context && (org || report) exists@
152 p << s.p;
157 msg="ERROR: %s is NULL but dereferenced." % (x)
161 p << s.p;
166 msg="ERROR: %s is NULL but dereferenced." % (x)

Completed in 62 milliseconds

123