/build/make/tools/product_config/src/com/android/build/config/ |
D | Value.java | 49 public Value(VarType varType, Str str) { in Value() argument 51 mStr = str; in Value() 76 public static String normalize(String str) { in normalize() argument 77 if (str == null) { in normalize() 80 return SPACES.matcher(str.trim()).replaceAll(" ").trim(); in normalize() 86 public static Str normalize(Str str) { in normalize() argument 87 if (str == null) { in normalize() 90 return new Str(str.getPosition(), normalize(str.toString())); in normalize() 149 public static String oneLinePerWord(Str str, String nullValue) { in oneLinePerWord() argument 150 if (str == null) { in oneLinePerWord() [all …]
|
/build/blueprint/ |
D | ninja_strings.go | 58 func simpleNinjaString(str string) ninjaString { 59 return literalNinjaString(str) 64 str string member 95 func parseNinjaString(scope scope, str string) (ninjaString, error) { 97 n := strings.Count(str, "$") 99 if strings.HasPrefix(str, " ") { 100 str = "$" + str 102 return literalNinjaString(str), nil 111 str: str, 117 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() {
|
/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/scripts/ |
D | conv_linker_config.py | 100 type=str, 106 type=str, 116 type=str, 126 type=str, 132 type=str, 137 type=str, 142 type=str, 152 type=str, 158 type=str, 163 type=str, [all …]
|
D | jsonmodify.py | 49 class SetValue(str): 55 class Replace(str): 62 class Remove(str): 69 class AppendList(str):
|
/build/soong/cc/symbolfile/ |
D | __init__.py | 32 ApiMap = Mapping[str, int] 33 Arch = NewType('Arch', str) 34 Tag = NewType('Tag', str) 58 name: str 66 name: str 67 base: Optional[str] 72 def get_tags(line: str) -> List[Tag]: argument 89 def decode_api_level(api: str, api_map: ApiMap) -> int: argument 120 decoded = str(decode_api_level(value, api_map)) 127 def split_tag(tag: Tag) -> Tuple[str, str]: [all …]
|
/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/soong/android/ |
D | sdk_version.go | 214 func SdkSpecFrom(ctx EarlyModuleContext, str string) SdkSpec { 215 switch str { 225 sep := strings.LastIndex(str, "_") 229 return SdkSpec{SdkInvalid, NoneApiLevel, str} 233 kindString = str[0:sep] 235 versionString := str[sep+1 : len(str)] 252 return SdkSpec{SdkInvalid, NoneApiLevel, str} 257 return SdkSpec{SdkInvalid, apiLevel, str} 259 return SdkSpec{kind, apiLevel, str}
|
D | util.go | 343 func substPattern(pat, repl, str string) string { 346 if str == pat { 349 return str 351 in := str 352 trimmed := str 356 return str 363 return str 375 func matchPattern(pat, str string) bool { 378 return pat == str 380 return strings.HasPrefix(str, pat[:i]) && strings.HasSuffix(str, pat[i+1:])
|
/build/bazel/examples/android_app/java/com/app/ |
D | jni_dep.cc | 22 jstring NewStringLatin1(JNIEnv *env, const char *str) { in NewStringLatin1() argument 23 int len = strlen(str); in NewStringLatin1() 28 str1[i] = (unsigned char)str[i]; in NewStringLatin1()
|
/build/pesto/experiments/prepare_bazel_test_env/ |
D | bazelenv.py | 62 def build(self, build_targets: Set[str]) -> None: argument 73 str(self.soong_executable), "--build-mode", "--all-modules", 204 def stage(self, mapping: Dict[str, str]): argument 228 def read_value_from_template_var(cls, line: str) -> str: argument 256 global_prebuilts_dir: pathlib.Path, prebuilts_dir_name: str): argument 287 def stage(self, mapping: Dict[str, str]): argument 354 prebuilts_dir_name: str 381 prebuilts_dir_name: str, argument 407 def stage(self, mapping: Dict[str, str]) -> None: argument 422 def build_targets(self) -> Set[str]: [all …]
|
/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.assertEqual("# 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 | 108 sys.stderr.write(str(p) + "\n") 131 p.delete("overridden by %s" % str(overriding_props[0])) 145 sys.stderr.write("%s\n" % str(p)) 148 p.delete("overridden by %s" % str(overriding_props[0])) 152 p.delete("overridden by %s" % str(optional_props[-1])) 194 assignment = str(self).rsplit("\n", 1)[-1] 249 f.write(str(p) + "\n") 256 parser.add_argument("disallowed_keys", metavar="KEY", type=str, nargs="*") 261 sys.stderr.write("bad command line: " + str(argv) + "\n")
|
/build/soong/sdk/ |
D | bp_test.go | 49 str := &propertyStruct{} 50 str.X = proptools.StringPtr("taxi") 51 str.Y = intPtr(1729) 52 str.Sub.X = proptools.StringPtr("taxi") 53 str.Sub.Y = intPtr(1729) 54 return str 133 str := propertyStructFixture().(*propertyStruct) 135 func() { set.AddProperty("new", *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 | build_image.py | 270 build_command.extend(["-T", str(prop_dict["timestamp"])]) 316 build_command.extend(["-T", str(prop_dict["timestamp"])]) 355 build_command.extend(["-T", str(prop_dict["timestamp"])]) 367 build_command.append(str(0)) 371 build_command.append(str(len(sldc_flags))) 472 prop_dict["partition_size"] = str(size) 473 prop_dict["image_size"] = str(size) 475 prop_dict["extfs_inode_count"] = str(GetInodeUsage(in_dir)) 516 prop_dict["extfs_inode_count"] = str(inodes) 517 prop_dict["partition_size"] = str(size) [all …]
|
D | check_partition_sizes.py | 47 self.desc = str(desc) 49 self.expr = str(expr) 155 "+".join(str(size) for size in size_list), 166 "+".join(str(size) for size in partition_size_list), 255 "+".join(str(size) for size in group_size_list), 270 "+".join(str(size) for size in 282 if isinstance(inp, str):
|
/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/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/bazel/rules/ |
D | lunch.bzl | 32 str(_ALLOWED_SPECIAL_CHARACTERS) + 34 str(env_value)) 49 item[0] + " = \"" + str(item[1]) + "\""
|
/build/soong/ui/tracer/ |
D | status.go | 71 str := result.Action.Description 73 str = result.Action.Outputs[0] 77 Name: str,
|