/build/soong/androidmk/androidmk/ |
D | android.go | 90 for key, val := range properties { 91 rewriteProperties[key] = includeVariable(bpVariable{val, propertyType}) 233 func splitBpList(val bpparser.Expression, keyFunc listSplitFunc) (lists map[string]bpparser.Express… 236 switch val := val.(type) { 238 listsA, err := splitBpList(val.Args[0], keyFunc) 243 listsB, err := splitBpList(val.Args[1], keyFunc) 260 expression := val.Copy().(*bpparser.Operator) 268 key, value, err := keyFunc(val) 280 for _, v := range val.Values { 293 panic(fmt.Errorf("unexpected type %t", val)) [all …]
|
D | values.go | 64 var val bpparser.Expression 68 val = stringToStringValue(ms.Strings[0]) 76 val, err = addValues(val, stringToStringValue(ret[0])) 94 val, err = addValues(val, tmp) 103 val, err = addValues(val, tmp) 110 return val, nil 179 val := listOfListValues[0] 182 val, err = addValues(val, tmp) 188 return val, nil
|
D | androidmk.go | 341 var val bpparser.Expression 342 val, err = makeVariableToBlueprint(file, assignment.Value, bpparser.ListType) 344 err = setVariable(file, appendVariable, prefix, name, val, false) 366 …val, err := makeVariableToBlueprint(file, mkparser.SimpleMakeString("false", mkparser.NoPos), bppa… 368 err = setVariable(file, false, disabledPrefix, "enabled", val, true) 391 func makeVariableToBlueprint(file *bpFile, val *mkparser.MakeString, 398 exp, err = makeToListExpression(val, file) 400 exp, err = makeToStringExpression(val, file) 402 exp, err = makeToBoolExpression(val, file) 433 val, err := addValues(*oldValue, value) [all …]
|
/build/soong/android/ |
D | variable_test.go | 27 val interface{} member 35 val: 0, 40 val: 1, 45 val: 2, 50 val: false, 55 val: true, 60 val: -1, 66 val: 1, 71 val: 1, 76 val: "abc", [all …]
|
D | bazel_handler.go | 454 for val, _ := range context.requests { 455 labelString := fmt.Sprintf("\"@%s\"", val.label) 456 archString := getArchString(val) 485 for val, _ := range context.requests { 486 cqueryId := getCqueryId(val) 488 requestTypeToCqueryIdEntries[val.requestType] = 489 append(requestTypeToCqueryIdEntries[val.requestType], mapEntryString) 647 for val, _ := range context.requests { 648 if cqueryResult, ok := cqueryResults[getCqueryId(val)]; ok { 649 context.results[val] = string(cqueryResult) [all …]
|
D | variable.go | 536 val := productVariables.FieldByName(name) 537 if !val.IsValid() || val.Kind() != reflect.Ptr || val.IsNil() { 541 val = val.Elem() 544 if val.Kind() == reflect.Bool && val.Bool() == false { 552 a.setVariableProperties(mctx, property, variableValue, val.Interface())
|
D | expand_test.go | 31 if val, ok := vars[s]; ok { 32 return val, s == "escape", nil
|
/build/make/tools/zipalign/ |
D | ZipEntry.h | 107 void setMarked(bool val) { mMarked = val; } in setMarked() argument 119 static inline void putShortLE(uint8_t* buf, uint16_t val) { in putShortLE() argument 120 buf[0] = (uint8_t) val; in putShortLE() 121 buf[1] = (uint8_t) (val >> 8); in putShortLE() 123 static inline void putLongLE(uint8_t* buf, uint32_t val) { in putLongLE() argument 124 buf[0] = (uint8_t) val; in putLongLE() 125 buf[1] = (uint8_t) (val >> 8); in putLongLE() 126 buf[2] = (uint8_t) (val >> 16); in putLongLE() 127 buf[3] = (uint8_t) (val >> 24); in putLongLE()
|
/build/make/tools/ |
D | product_debug.py | 21 def break_lines(key, val): argument 24 return (key,val) 25 return (key, "\n".join(val.split())) 48 + "\n".join([ "<tr><th>%(key)s</th><td>%(val)s</td></tr>" % { "key": key, "val": val } 49 for key,val in variables]) 83 variables = [break_lines(key,val) for key,val in variables]
|
D | compare_fileslist.py | 21 val = None 24 if not val: 25 val = v 27 if val != v:
|
D | post_process_props.py | 34 val = prop_list.get_value("persist.sys.usb.config") 35 if "adb" not in val: 36 if val == "": 37 val = "adb" 39 val = val + ",adb" 40 prop_list.put("persist.sys.usb.config", val)
|
/build/make/tools/droiddoc/templates-pdk/assets/ |
D | android-developer-resource-browser.js | 24 var keywords = $(this).val().split(/\s+/g); 202 var val = p[1] ? decodeURIComponent(p[1]) : p[1]; 203 if (val === '0') 204 val = 0; 205 if (val === '1') 206 val = 1; 211 params[key].push(val); 213 params[key] = val;
|
D | android-developer-docs.js | 113 var val = document.cookie.substring(valStart, valEnd); 114 return val; 120 function writeCookie(cookie, val, section, expiration) { argument 121 if (val==undefined) return; 128 …document.cookie = cookie_namespace + section + cookie + "=" + val + "; expires=" + expiration+"; p…
|
/build/make/tools/ziptime/ |
D | ZipEntry.h | 59 static inline void putShortLE(uint8_t* buf, uint16_t val) { in putShortLE() argument 60 buf[0] = (uint8_t) val; in putShortLE() 61 buf[1] = (uint8_t) (val >> 8); in putShortLE()
|
/build/make/tools/product_config/src/com/android/build/config/ |
D | Options.java | 193 final String val = getNextNonFlagArg(); in requireNextStringArg() local 194 if (val == null) { in requireNextStringArg() 197 return val; in requireNextStringArg() 201 final String val = getNextNonFlagArg(); in requireNextNumberArg() local 202 if (val == null) { in requireNextNumberArg() 206 return Integer.parseInt(val); in requireNextNumberArg() 208 throw new ParseException(arg + " requires a numeric argument. found: " + val); in requireNextNumberArg()
|
D | MakeWriter.java | 118 Var(String name, Str val) { in Var() argument 120 this.val = val; in Var() 123 final Str val; field in MakeWriter.Var 135 out.println(var.val.getPosition() + var.name + " := " + var.val); in writeStrVars()
|
D | FlattenConfig.java | 345 final StringBuilder val = new StringBuilder(); in flattenInheritsFrom() local 350 val.append(' '); in flattenInheritsFrom() 352 val.append(child); in flattenInheritsFrom() 354 mVariables.put(varName, new Value(VarType.UNKNOWN, new Str(val.toString()))); in flattenInheritsFrom() 458 final Value val = mVariables.get(varName); in setDefaultKnownVars() local 459 if (val == null) { in setDefaultKnownVars()
|
/build/soong/androidmk/parser/ |
D | scope.go | 35 if val, ok := s.variables[name]; ok { 36 return val 39 } else if val, ok := builtinScope[name]; ok { 40 return val
|
/build/soong/scripts/ |
D | gen_ndk_backedby_apex.sh | 34 val="$1" 37 if [ "$x" = "$val" ]; then
|
D | jsonmodify.py | 50 def apply(self, obj, val): argument 52 cur[key] = val 56 def apply(self, obj, val): argument 59 cur[key] = val
|
/build/soong/java/config/ |
D | error_prone.go | 34 func errorProneVar(name string, val *[]string, sep string) { 36 return strings.Join(*val, sep)
|
/build/soong/sdk/ |
D | bp_test.go | 57 func checkPropertySetFixture(t *testing.T, val interface{}, hasTags bool) { 58 set := val.(*bpPropertySet) 77 for name, val := range map[string]interface{}{ 84 set.AddProperty(name, val) 85 android.AssertDeepEquals(t, "wrong value", val, set.getValue(name))
|
D | bp.go | 72 val := reflect.ValueOf(value) 73 switch val.Kind() { 80 derefValue := reflect.Indirect(val)
|
/build/make/core/ |
D | product_config.rbc | 71 for attr, val in sorted(cfg.items()): 72 __print_attr(attr, val) 75 for attr, val in sorted(globals.items()): 77 __print_attr(attr, val) 203 for attr, val in cfg.items(): 205 if type(val) != "list": 209 cfg[attr] = _value_expand(configs, attr, val) 211 old_val = val 212 new_val = _value_expand(configs, attr, val) 346 for attr, val in cfg.items(): [all …]
|
/build/soong/cc/ |
D | compdb.go | 119 if val, err := evalAndSplitVariable(ctx, arg); err == nil { 120 out = append(out, val...)
|