/build/blueprint/parser/ |
D | modify.go | 17 func AddStringToList(value *Value, s string) (modified bool) { 18 if value.Type != List { 19 panic("expected list value, got " + value.Type.String()) 22 for _, v := range value.ListValue { 24 panic("expected string in list, got " + value.Type.String()) 34 value.ListValue = append(value.ListValue, Value{ 36 Pos: value.EndPos, 43 func RemoveStringFromList(value *Value, s string) (modified bool) { 44 if value.Type != List { 45 panic("expected list value, got " + value.Type.String()) [all …]
|
D | sort.go | 35 func SortList(file *File, value Value) { 36 for i := 0; i < len(value.ListValue); i++ { 38 line := value.ListValue[i].Pos.Line 40 for j = i + 1; j < len(value.ListValue); j++ { 41 if value.ListValue[j].Pos.Line > line+1 { 44 line = value.ListValue[j].Pos.Line 47 nextPos := value.EndPos 48 if j < len(value.ListValue) { 49 nextPos = value.ListValue[j].Pos 51 sortSubList(value.ListValue[i:j], nextPos, file) [all …]
|
D | parser.go | 190 value := p.parseExpression() 193 assignment.Value = value 194 assignment.OrigValue = value 292 value := p.parseExpression() 295 property.Value = value 301 func (p *parser) parseExpression() (value Value) { 302 value = p.parseValue() 305 return p.parseOperator(value) 307 return value 314 value := Value{} [all …]
|
D | printer.go | 104 func (p *printer) printValue(value Value) { 105 if value.Variable != "" { 106 p.printToken(value.Variable, value.Pos) 107 } else if value.Expression != nil { 108 p.printExpression(*value.Expression) 110 switch value.Type { 113 if value.BoolValue { 118 p.printToken(s, value.Pos) 120 p.printToken(strconv.Quote(value.StringValue), value.Pos) 122 p.printList(value.ListValue, value.Pos, value.EndPos) [all …]
|
/build/soong/androidmk/cmd/androidmk/ |
D | android.go | 78 f func(file *bpFile, prefix string, value *mkparser.MakeString, append bool) error 86 func localAbsPath(value bpparser.Value) (*bpparser.Value, error) { 87 if value.Type != bpparser.String { 88 return nil, fmt.Errorf("isLocalAbsPath expected a string, got %d", value.Type) 91 if value.Expression == nil { 92 if value.Variable == "LOCAL_PATH" { 101 if value.Expression.Operator != '+' { 105 firstOperand := value.Expression.Args[0] 106 secondOperand := value.Expression.Args[1] 127 func emptyList(value *bpparser.Value) bool { [all …]
|
/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/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/tools/ |
D | post_process_props.py | 60 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 | 102 for value in file_hash: 103 for filename in value: 130 for value in file_hash: 131 print >> output_file, '<tr id="id%d"><td class="same-license">' % id_table.get(value[0]) 134 for filename in value: 139 print >> output_file, html_escape(open(value[0]).read()) 157 for value in file_hash: 160 for filename in value: 163 print >> output_file, open(value[0]).read()
|
/build/tools/releasetools/ |
D | sign_target_files_apks.py | 333 key, value = line.split("=", 1) 336 pieces = value.split("/") 338 value = "/".join(pieces) 341 pieces = value.split("/") 343 value = "/".join(pieces) 345 pieces = value.split("/") 347 value = "/".join(pieces) 349 pieces = value.split(" ") 352 value = " ".join(pieces) 354 value = EditTags(value) [all …]
|
D | sign_target_files_apks | 333 key, value = line.split("=", 1) 336 pieces = value.split("/") 338 value = "/".join(pieces) 341 pieces = value.split("/") 343 value = "/".join(pieces) 345 pieces = value.split("/") 347 value = "/".join(pieces) 349 pieces = value.split(" ") 352 value = " ".join(pieces) 354 value = EditTags(value) [all …]
|
D | edify_generator.py | 80 def AssertOemProperty(self, name, value): argument 84 if not value: 92 name=name, value=value) 99 name=name, value=value) 210 key, value = option.split("=", 1) 211 mount_dict[key] = value
|
/build/blueprint/ |
D | ninja_defs.go | 150 value, err := parseNinjaString(scope, params.Command) 154 r.Variables["command"] = value 157 value, err = parseNinjaString(scope, params.Depfile) 161 r.Variables["depfile"] = value 169 value, err = parseNinjaString(scope, params.Description) 173 r.Variables["description"] = value 185 value, err = parseNinjaString(scope, params.Rspfile) 189 r.Variables["rspfile"] = value 193 value, err = parseNinjaString(scope, params.RspfileContent) 198 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)
|
D | singleton_ctx.go | 37 Variable(pctx PackageContext, name, value string) 45 SetNinjaBuildDir(pctx PackageContext, value string) 115 func (s *singletonContext) Variable(pctx PackageContext, name, value string) { 118 v, err := s.scope.AddLocalVariable(name, value) 156 func (s *singletonContext) SetNinjaBuildDir(pctx PackageContext, value string) { 159 ninjaValue, err := parseNinjaString(s.scope, value)
|
/build/soong/androidmk/parser/ |
D | parser.go | 199 value := SimpleMakeString("", p.scanner.Position) 209 value.appendString(p.scanner.TokenText()) 215 value.appendString(" ") 221 value.appendString(`\` + string(p.tok)) 233 value.appendString(p.scanner.TokenText()) 238 return value 248 value := SimpleMakeString("", p.scanner.Position) 264 value.appendString(")") 280 value.appendString(p.scanner.TokenText()) 287 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/tools/signapk/src/com/android/signapk/ |
D | ZipUtils.java | 156 private static void setUnsignedInt32(ByteBuffer buffer, int offset, long value) { in setUnsignedInt32() argument 157 if ((value < 0) || (value > 0xffffffffL)) { in setUnsignedInt32() 158 throw new IllegalArgumentException("uint32 value of out range: " + value); in setUnsignedInt32() 160 buffer.putInt(buffer.position() + offset, (int) value); in setUnsignedInt32()
|
/build/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/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/blueprint/bpmodify/ |
D | bpmodify.go | 153 func processParameter(value *parser.Value, paramName, moduleName string, 155 if value.Type != parser.List { 157 paramName, moduleName, value.Type.String())} 160 if value.Variable != "" { 165 if value.Expression != nil { 170 wasSorted := parser.ListIsSorted(*value) 173 m := parser.AddStringToList(value, a) 178 m := parser.RemoveStringFromList(value, r) 183 parser.SortList(file, *value)
|
/build/core/ |
D | checktree | 34 def __init__(self,value): argument 35 self.value = value 37 return repr(self.value)
|
/build/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/proptools/ |
D | extend.go | 346 value := reflect.ValueOf(in) 347 if value.Kind() != reflect.Ptr { 350 value = value.Elem() 351 if value.Kind() != reflect.Struct { 354 return value, nil
|