/build/soong/ui/build/ |
D | environment.go | 49 func (e *Environment) Set(key, value string) { 51 *e = append(*e, key+"="+value) 82 if value, ok := e.Get(key); ok { 83 return value == "1" || value == "y" || value == "yes" || value == "on" || value == "true" 90 if value, ok := e.Get(key); ok { 91 return value == "0" || value == "n" || value == "no" || value == "off" || value == "false" 129 key, value, ok := decodeKeyValue(cmd[1]) 138 value, ok = singleUnquote(value) 143 e.Set(key, value)
|
D | make.go | 67 if key, value, ok := decodeKeyValue(line); ok { 68 if value, ok = singleUnquote(value); ok { 69 ret[key] = value 70 ctx.Verboseln(key, value)
|
/build/kati/testcase/ |
D | value.mk | 14 echo $(value FOO) 15 echo $(value FOO BAR) 16 echo $(value FOO,BAR) 17 echo $(value $(FOOREF)) 20 echo $(value @) 25 $(info $(value X))
|
/build/kati/ |
D | thread_local.h | 73 void Set(const Type& value) { in Set() argument 74 Ref() = value; in Set() 78 Type* value = reinterpret_cast<Type*>(pthread_getspecific(*key)); in GetPointer() local 79 if (value) return value; in GetPointer() 81 value = new Type(); in GetPointer() 82 int error = pthread_setspecific(*key, value); in GetPointer() 85 return value; in GetPointer()
|
D | var.go | 94 value []string member 102 func (v *simpleVar) String() string { return strings.Join(v.value, " ") } 105 for _, v := range v.value { 123 d.Int(len(v.value)) 124 for _, v := range v.value { 140 v.value = append(v.value, abuf.String()) 151 v.value = append(v.value, abuf.String()) 157 value []byte member 164 func (v *automaticVar) String() string { return string(v.value) } 166 w.Write(v.value) [all …]
|
/build/soong/androidmk/cmd/androidmk/ |
D | android.go | 133 func emptyList(value bpparser.Expression) bool { 134 if list, ok := value.(*bpparser.List); ok { 175 key, value, err := keyFunc(val) 179 if value.Type() == bpparser.ListType { 180 lists[key] = value 183 Values: []bpparser.Expression{value}, 188 key, value, err := keyFunc(v) 196 l.(*bpparser.List).Values = append(l.(*bpparser.List).Values, value) 206 func splitLocalGlobalPath(value bpparser.Expression) (string, bpparser.Expression, error) { 207 switch v := value.(type) { [all …]
|
/build/soong/android/ |
D | onceper.go | 31 func (once *OncePer) Once(key interface{}, value func() interface{}) interface{} { 55 v := value() 63 func (once *OncePer) OnceStringSlice(key interface{}, value func() []string) []string { 64 return once.Once(key, func() interface{} { return value() }).([]string) 67 func (once *OncePer) Once2StringSlice(key interface{}, value func() ([]string, []string)) ([]string… 71 s[0], s[1] = value()
|
D | makevars.go | 54 StrictRaw(name, value string) 55 CheckRaw(name, value string) 94 value string member 191 fmt.Fprintf(buf, "SOONG_%s := %s\n", v.name, v.value) 214 fmt.Fprintf(buf, "SOONG_%s := %s\n", v.name, v.value) 231 func (c *makeVarsContext) addVariableRaw(name, value string, strict, sort bool) { 234 value: value, 241 value, err := c.Eval(ninjaStr) 245 c.addVariableRaw(name, value, strict, sort) 254 func (c *makeVarsContext) StrictRaw(name, value string) { [all …]
|
D | config.go | 307 value := c.Getenv(key) 308 return value == "1" || value == "y" || value == "yes" || value == "on" || value == "true" 312 value := c.Getenv(key) 313 return value == "0" || value == "n" || value == "no" || value == "off" || value == "false"
|
/build/make/tools/ |
D | post_process_props.py | 65 for key, value in buildprops.iteritems(): 67 if len(value) > PROP_VALUE_MAX: 71 sys.stderr.write("%s (%d)\n" % (value, len(value))) 85 key, value = line.split("=", 1) 86 props[key] = value 96 def put(self, name, value): argument 100 self.lines[i] = key + value 102 self.lines.append(key + value)
|
D | generate-notice-files.py | 85 for value in file_hash: 86 for filename in value: 113 for value in file_hash: 114 print >> output_file, '<tr id="id%d"><td class="same-license">' % id_table.get(value[0]) 117 for filename in value: 122 print >> output_file, html_escape(open(value[0]).read()) 140 for value in file_hash: 143 for filename in value: 146 print >> output_file, open(value[0]).read()
|
/build/blueprint/ |
D | ninja_defs.go | 153 value, err := parseNinjaString(scope, params.Command) 157 r.Variables["command"] = value 160 value, err = parseNinjaString(scope, params.Depfile) 164 r.Variables["depfile"] = value 172 value, err = parseNinjaString(scope, params.Description) 176 r.Variables["description"] = value 188 value, err = parseNinjaString(scope, params.Rspfile) 192 r.Variables["rspfile"] = value 196 value, err = parseNinjaString(scope, params.RspfileContent) 201 r.Variables["rspfile_content"] = value [all …]
|
D | live_tracker.go | 71 for _, value := range def.Args { 72 err = l.addNinjaStringDeps(value) 105 for _, value := range def.Variables { 106 err = l.addNinjaStringDeps(value) 139 value, err := v.value(l.config) 150 l.variables[v] = value 152 err = l.addNinjaStringDeps(value)
|
/build/make/tools/releasetools/ |
D | sign_target_files_apks.py | 411 key, value = line.split("=", 1) 414 pieces = value.split("/") 416 value = "/".join(pieces) 419 pieces = value.split("/") 421 value = "/".join(pieces) 423 pieces = value.split("/") 425 value = "/".join(pieces) 427 pieces = value.split(" ") 430 value = " ".join(pieces) 432 value = EditTags(value) [all …]
|
D | sign_target_files_apks | 411 key, value = line.split("=", 1) 414 pieces = value.split("/") 416 value = "/".join(pieces) 419 pieces = value.split("/") 421 value = "/".join(pieces) 423 pieces = value.split("/") 425 value = "/".join(pieces) 427 pieces = value.split(" ") 430 value = " ".join(pieces) 432 value = EditTags(value) [all …]
|
/build/blueprint/parser/ |
D | parser.go | 214 value := p.parseExpression() 218 assignment.Value = value 219 assignment.OrigValue = value 318 value := p.parseExpression() 322 property.Value = value 328 func (p *parser) parseExpression() (value Expression) { 329 value = p.parseValue() 332 return p.parseOperator(value) 334 return value 341 value := value1 [all …]
|
/build/soong/androidmk/parser/ |
D | parser.go | 216 value := SimpleMakeString("", p.pos()) 222 value.appendString(p.scanner.TokenText()) 232 value.appendString(" ") 238 value.appendString(`\` + string(p.tok)) 250 value.appendString(p.scanner.TokenText()) 255 return value, p.pos() 265 value := SimpleMakeString("", p.pos()) 279 value.appendString(")") 294 value.appendString(p.scanner.TokenText()) 300 value.appendString(" ") [all …]
|
D | scope.go | 7 Set(name, value string) 30 func (s *scope) Set(name, value string) { 31 s.variables[name] = value
|
/build/make/tools/droiddoc/test/stubs/expected/com/android/stubs/ |
D | Annot.java | 3 @java.lang.annotation.Retention(value=java.lang.annotation.RetentionPolicy.RUNTIME) 4 @java.lang.annotation.Target(value={java.lang.annotation.ElementType.TYPE}) 7 java.lang.String value() default "yo\u1234"; in value() method
|
/build/make/tools/fs_config/ |
D | fs_config_generator.py | 76 def in_any_range(value, ranges): argument 90 return any(lower <= value <= upper for (lower, upper) in ranges) 141 def __init__(self, identifier, value, found): argument 153 self.value = value 155 self.normalized_value = str(int(value, 0)) 164 and self.value == other.value and self.found == other.found \ 299 value = chunks[2] 306 self._handle_oem_range(identifier, value) 310 self._handle_aid(identifier, value) 316 def _handle_aid(self, identifier, value): argument [all …]
|
/build/blueprint/proptools/ |
D | extend.go | 465 value, err := getStruct(in) 467 value := reflect.ValueOf(in) 468 newValue := reflect.New(value.Type().Elem()) 469 value.Set(newValue) 472 return value, err 476 value := reflect.ValueOf(in) 477 if value.Kind() != reflect.Ptr { 480 if value.Type().Elem().Kind() != reflect.Struct { 483 if value.IsNil() { 486 value = value.Elem() [all …]
|
/build/make/tools/ijar/ |
D | classfile.cc | 585 BaseTypeElementValue *value = new BaseTypeElementValue; in Read() local 586 value->const_value_ = constant(get_u2be(p)); in Read() 587 return value; in Read() 599 EnumTypeElementValue *value = new EnumTypeElementValue; in Read() local 600 value->type_name_ = constant(get_u2be(p)); in Read() 601 value->const_name_ = constant(get_u2be(p)); in Read() 602 return value; in Read() 620 ClassTypeElementValue *value = new ClassTypeElementValue; in Read() local 621 value->class_info_ = constant(get_u2be(p)); in Read() 622 return value; in Read() [all …]
|
/build/make/core/ |
D | checktree | 34 def __init__(self,value): argument 35 self.value = value 37 return repr(self.value)
|
/build/make/tools/droiddoc/templates-pdk/assets/ |
D | search_autocomplete.js | 107 var text = search.value.replace(/(^ +)|( +$)/g, ''); 249 if(obj.value == DEFAULT_TEXT){ 250 obj.value = ""; 254 if(obj.value == ""){ 255 obj.value = DEFAULT_TEXT; 263 var query = document.getElementById('search_autocomplete').value;
|
/build/blueprint/bootstrap/ |
D | config.go | 23 func bootstrapVariable(name, template string, value func() string) blueprint.Variable { 28 return value(), nil
|