/build/blueprint/ |
D | ninja_strings.go | 57 func simpleNinjaString(str string) ninjaString { 58 return literalNinjaString(str) 63 str string member 94 func parseNinjaString(scope scope, str string) (ninjaString, error) { 96 n := strings.Count(str, "$") 98 if strings.HasPrefix(str, " ") { 99 str = "$" + str 101 return literalNinjaString(str), nil 110 str: str, 116 for i := 0; i < len(str); i++ { [all …]
|
D | live_tracker.go | 179 for _, str := range list { 180 err := l.addNinjaStringDeps(str) 188 func (l *liveTracker) addNinjaStringDeps(str ninjaString) error { 189 for _, v := range str.Variables() {
|
D | ninja_strings_test.go | 207 str := strings.Repeat("a", 10) 210 str += "${a" + strconv.Itoa(i) + "}" 212 ns, _ := parseNinjaString(scope, str)
|
/build/soong/ui/terminal/ |
D | smart_status.go | 110 str := s.formatter.message(level, message) 116 s.print(str) 118 s.statusLine(str) 125 str := action.Description 126 if str == "" { 127 str = action.Command 140 s.statusLine(progress + str) 144 str := result.Description 145 if str == "" { 146 str = result.Command [all …]
|
D | simple_status.go | 49 str := result.Description 50 if str == "" { 51 str = result.Command 54 progress := s.formatter.progress(counts) + str
|
/build/make/tools/droiddoc/templates-pdk/assets/ |
D | microtemplate.js | 6 this.tmpl = function tmpl(str, data){ argument 9 var fn = !/\W/.test(str) ? 10 cache[str] = cache[str] || 11 tmpl(document.getElementById(str).innerHTML) : 22 str
|
/build/soong/ui/build/ |
D | util.go | 115 func singleUnquote(str string) (string, bool) { 116 if len(str) < 2 || str[0] != '\'' || str[len(str)-1] != '\'' { 119 return str[1 : len(str)-1], true 123 func decodeKeyValue(str string) (string, string, bool) { 124 idx := strings.IndexRune(str, '=') 128 return str[:idx], str[idx+1:], true
|
/build/soong/python/tests/ |
D | py-cmd_test.py | 68 … sys.path[2], os.path.join(sys.executable, 'lib', 'python' + str(sys.version_info[0]) + str(sys.ve… 69 …s.path[3], os.path.join(sys.executable, 'lib', 'python' + str(sys.version_info[0]) + '.' + str(sys… 70 …s.path[4], os.path.join(sys.executable, 'lib', 'python' + str(sys.version_info[0]) + '.' + str(sys… 71 …s.path[5], os.path.join(sys.executable, 'lib', 'python' + str(sys.version_info[0]) + '.' + str(sys…
|
/build/make/tools/ |
D | test_post_process_props.py | 31 self.assertEqual("# this is comment", str(p)) 39 self.assertEqual("a=b", str(p)) 47 self.assertEqual("a?=b", str(p)) 56 self.assertTrue("# a comment\n#a=b", str(p)) 117 "Original value: true\nfoo=NewValue", str(foo_prop)) 128 str(last_prop)) 136 "#foo=true", str(props_to_delete)) 144 "#qux?=1", str(props_to_delete)) 160 str(props_to_be_overridden)) 187 str(props_to_be_overridden)) [all …]
|
D | post_process_props.py | 69 sys.stderr.write(str(p) + "\n") 92 p.delete("overridden by %s" % str(overriding_props[0])) 106 sys.stderr.write("%s\n" % str(p)) 109 p.delete("overridden by %s" % str(overriding_props[0])) 113 p.delete("overridden by %s" % str(optional_props[-1])) 155 assignment = str(self).rsplit("\n", 1)[-1] 210 f.write(str(p) + "\n") 217 parser.add_argument("disallowed_keys", metavar="KEY", type=str, nargs="*") 221 sys.stderr.write("bad command line: " + str(argv) + "\n")
|
D | event_log_tags.py | 59 self.AddError(str(e)) 104 self.AddError(str(e)) 123 if not isinstance(data, str):
|
D | merge-event-log-tags.py | 52 print str(err) 146 def hashname(str): argument 147 d = hashlib.md5(str).digest()[:4]
|
/build/soong/android/ |
D | util.go | 314 func substPattern(pat, repl, str string) string { 317 if str == pat { 320 return str 322 in := str 323 trimed := str 327 return str 334 return str 346 func matchPattern(pat, str string) bool { 349 return pat == str 351 return strings.HasPrefix(str, pat[:i]) && strings.HasSuffix(str, pat[i+1:])
|
D | util_test.go | 247 str string 251 str: "a-example", 255 str: "b-example", 259 str: "X-example", 265 t.Run(testCase.str, func(t *testing.T) { 266 out := HasAnyPrefix(testCase.str, prefixes) 269 t.Errorf(" str: %#v", testCase.str)
|
/build/make/tools/releasetools/ |
D | rangelib.py | 36 if isinstance(data, str): 150 out.append(str(s)) 152 out.append(str(s) + "-" + str(e-1)) 157 return str(len(self.data)) + "," + ",".join(str(i) for i in self.data) 298 out = out.union(RangeSet(str(s1) + "-" + str(e1-1)))
|
D | check_partition_sizes.py | 46 self.desc = str(desc) 48 self.expr = str(expr) 143 "+".join(str(size) for size in size_list), 154 "+".join(str(size) for size in partition_size_list), 237 "+".join(str(size) for size in group_size_list), 251 if isinstance(inp, str):
|
D | test_rangelib.py | 100 self.assertEqual(str(RangeSet("0-9")), "0-9") 101 self.assertEqual(str(RangeSet("2-10 12")), "2-10 12") 102 self.assertEqual(str(RangeSet("11 2-10 12 1 0")), "0-12") 103 self.assertEqual(str(RangeSet("")), "empty")
|
D | build_image.py | 265 build_command.extend(["-T", str(prop_dict["timestamp"])]) 334 build_command.extend(["-T", str(prop_dict["timestamp"])]) 427 prop_dict["partition_size"] = str(size) 428 prop_dict["image_size"] = str(size) 430 prop_dict["extfs_inode_count"] = str(GetInodeUsage(in_dir)) 471 prop_dict["extfs_inode_count"] = str(inodes) 472 prop_dict["partition_size"] = str(size) 477 prop_dict["partition_size"] = str(size) 486 prop_dict["image_size"] = str(max_image_size) 526 d[dest_p] = str(glob_dict[src_p])
|
D | verity_utils.py | 43 cmd = ["fec", "-s", str(image_size)] 49 cmd = ["build_verity_tree", "-s", str(image_size)] 55 cmd = ["build_verity_metadata", "size", str(image_size)] 84 cmd = ["fec", "-e", "-p", str(padding_size), sparse_image_path, 100 cmd = ["build_verity_metadata", "build", str(image_size), 464 str(partition_size), "--calc_max_image_size"] 492 "--partition_size", str(self.partition_size), 569 'partition_size': str(partition_size),
|
/build/soong/ui/logger/ |
D | logger.go | 72 Output(calldepth int, str string) error 221 func (s *stdLogger) Output(calldepth int, str string) error { 222 s.stderr.Output(calldepth+1, str) 223 return s.fileLogger.Output(calldepth+1, str) 228 func (s *stdLogger) VerboseOutput(calldepth int, str string) error { 230 s.stderr.Output(calldepth+1, str) 232 return s.fileLogger.Output(calldepth+1, str)
|
/build/soong/java/ |
D | sdk.go | 270 func sdkSpecFrom(str string) sdkSpec { 271 switch str { 274 return sdkSpec{sdkPrivate, sdkVersionNone, str} 276 return sdkSpec{sdkNone, sdkVersionNone, str} 278 return sdkSpec{sdkCorePlatform, sdkVersionNone, str} 281 sep := strings.LastIndex(str, "_") 285 return sdkSpec{sdkInvalid, sdkVersionNone, str} 289 kindString = str[0:sep] 291 versionString := str[sep+1 : len(str)] 308 return sdkSpec{sdkInvalid, sdkVersionNone, str} [all …]
|
/build/soong/scripts/ |
D | jsonmodify.py | 49 class SetValue(str): 55 class Replace(str): 62 class Remove(str): 69 class AppendList(str):
|
/build/blueprint/gotestmain/ |
D | gotestmain.go | 142 func MatchString(pat, str string) (result bool, err error) { 150 return matchRe.MatchString(str), nil 153 func (matchString) MatchString(pat, str string) (bool, error) { 154 return MatchString(pat, str)
|
/build/soong/ui/tracer/ |
D | status.go | 71 str := result.Action.Description 73 str = result.Action.Outputs[0] 77 Name: str,
|
/build/make/tools/warn/ |
D | html_writer.py | 269 writer('Number of classified warnings: <b>' + str(known) + '</b><br>') 270 writer('Number of skipped warnings: <b>' + str(skipped) + '</b><br>') 271 writer('Number of unclassified warnings: <b>' + str(unknown) + '</b><br>') 276 writer('Total number of warnings: <b>' + str(total) + '</b>' + extra_msg) 331 writer('<tr><td class="c' + str(cur_row_class) + '">' + t + '</td></tr>') 550 writer(str(n) + ',') 577 writer(str(x) + ',')
|