Home
last modified time | relevance | path

Searched refs:Type (Results 1 – 25 of 55) sorted by relevance

123

/build/soong/symbol_inject/
Dpe_symboldata_test.go56 &pe.Symbol{Name: ".file", Value: 0x35, SectionNumber: -2, Type: 0x0, StorageClass: 0x67},
57 …&pe.Symbol{Name: "__mingw_invalidParameterHandler", Value: 0x0, SectionNumber: 1, Type: 0x20, Stor…
58 &pe.Symbol{Name: "pre_c_init", Value: 0x10, SectionNumber: 1, Type: 0x20, StorageClass: 0x3},
59 &pe.Symbol{Name: "managedapp", Value: 0x8, SectionNumber: 6, Type: 0x0, StorageClass: 0x3},
60 &pe.Symbol{Name: "pre_cpp_init", Value: 0x130, SectionNumber: 1, Type: 0x20, StorageClass: 0x3},
61 &pe.Symbol{Name: "envp", Value: 0x18, SectionNumber: 6, Type: 0x0, StorageClass: 0x3},
62 &pe.Symbol{Name: "argv", Value: 0x20, SectionNumber: 6, Type: 0x0, StorageClass: 0x3},
63 &pe.Symbol{Name: "argc", Value: 0x28, SectionNumber: 6, Type: 0x0, StorageClass: 0x3},
64 &pe.Symbol{Name: "startinfo", Value: 0x0, SectionNumber: 6, Type: 0x0, StorageClass: 0x3},
65 &pe.Symbol{Name: "argret", Value: 0x10, SectionNumber: 6, Type: 0x0, StorageClass: 0x3},
[all …]
Delf.go26 Type() elf.Type methodSpec
44 func (f elfFileWrapper) Type() elf.Type { func
45 return f.File.Type
51 t elf.Type
56 func (f mockElfFile) Type() elf.Type { return f.t } func
99 switch elfFile.Type() {
117 return nil, fmt.Errorf("unsupported elf file type %d", elfFile.Type())
143 fmt.Printf("\tt: %#v,\n", elfFile.Type)
Delf_symboldata_test.go33 …elf.SectionHeader{Name: "", Type: elf.SHT_NULL, Flags: 0x0, Addr: 0x0, Offset: 0x0, Size: 0x0, Lin…
34 …elf.SectionHeader{Name: ".interp", Type: elf.SHT_PROGBITS, Flags: elf.SHF_ALLOC, Addr: 0x400238, O…
35 …elf.SectionHeader{Name: ".note.ABI-tag", Type: elf.SHT_NOTE, Flags: elf.SHF_ALLOC, Addr: 0x400254,…
36 …elf.SectionHeader{Name: ".hash", Type: elf.SHT_HASH, Flags: elf.SHF_ALLOC, Addr: 0x400278, Offset:…
37 …elf.SectionHeader{Name: ".dynsym", Type: elf.SHT_DYNSYM, Flags: elf.SHF_ALLOC, Addr: 0x4002a0, Off…
38 …elf.SectionHeader{Name: ".dynstr", Type: elf.SHT_STRTAB, Flags: elf.SHF_ALLOC, Addr: 0x400300, Off…
39 …elf.SectionHeader{Name: ".gnu.version", Type: elf.SHT_GNU_VERSYM, Flags: elf.SHF_ALLOC, Addr: 0x40…
40 …elf.SectionHeader{Name: ".gnu.version_r", Type: elf.SHT_GNU_VERNEED, Flags: elf.SHF_ALLOC, Addr: 0…
41 …elf.SectionHeader{Name: ".rela.dyn", Type: elf.SHT_RELA, Flags: elf.SHF_ALLOC, Addr: 0x400368, Off…
42 …elf.SectionHeader{Name: ".rela.plt", Type: elf.SHT_RELA, Flags: elf.SHF_ALLOC + elf.SHF_INFO_LINK,…
[all …]
Dmacho_symboldata_test.go45 macho.Symbol{Name: "__mh_execute_header", Type: 0xf, Sect: 0x1, Desc: 0x10, Value: 0x100000000},
46 macho.Symbol{Name: "_main", Type: 0xf, Sect: 0x1, Desc: 0x0, Value: 0x100000f50},
47 macho.Symbol{Name: "_soong_build_number", Type: 0xf, Sect: 0x8, Desc: 0x0, Value: 0x100001020},
48 macho.Symbol{Name: "_write", Type: 0x1, Sect: 0x0, Desc: 0x100, Value: 0x0},
49 macho.Symbol{Name: "dyld_stub_binder", Type: 0x1, Sect: 0x0, Desc: 0x100, Value: 0x0},
80 macho.Symbol{Name: "__mh_execute_header", Type: 0xf, Sect: 0x1, Desc: 0x10, Value: 0x100000000},
81 macho.Symbol{Name: "_main", Type: 0xf, Sect: 0x1, Desc: 0x0, Value: 0x100000f30},
82 macho.Symbol{Name: "_symbol1", Type: 0xf, Sect: 0x8, Desc: 0x0, Value: 0x100001020},
83 macho.Symbol{Name: "_symbol2", Type: 0xf, Sect: 0x8, Desc: 0x0, Value: 0x1000010a0},
84 macho.Symbol{Name: "_write", Type: 0x1, Sect: 0x0, Desc: 0x100, Value: 0x0},
[all …]
Dpe_test.go58 …&pe.Symbol{Name: "_soong_build_number", Value: 0x20, SectionNumber: 2, Type: 0x0, StorageClass: 0x…
59 &pe.Symbol{Name: ".data", Value: 0x20, SectionNumber: 2, Type: 0x0, StorageClass: 0x3},
60 …&pe.Symbol{Name: "_adb_device_banner", Value: 0xa0, SectionNumber: 2, Type: 0x0, StorageClass: 0x2…
78 …&pe.Symbol{Name: "soong_build_number", Value: 0x20, SectionNumber: 2, Type: 0x0, StorageClass: 0x2…
97 …&pe.Symbol{Name: "soong_build_number", Value: 0x20, SectionNumber: 2, Type: 0x0, StorageClass: 0x2…
98 …&pe.Symbol{Name: "_adb_device_banner", Value: 0x30, SectionNumber: 3, Type: 0x0, StorageClass: 0x2…
116 …&pe.Symbol{Name: "_adb_device_banner", Value: 0xa0, SectionNumber: 2, Type: 0x0, StorageClass: 0x2…
117 …&pe.Symbol{Name: "soong_build_number", Value: 0x20, SectionNumber: 2, Type: 0x0, StorageClass: 0x2…
/build/blueprint/proptools/
Dclone.go27 if !isStructPtr(structValue.Type()) {
28 panic(fmt.Errorf("CloneProperties expected *struct, got %s", structValue.Type()))
30 result := reflect.New(structValue.Type().Elem())
39 if !isStructPtr(dstValue.Type()) {
40 panic(fmt.Errorf("CopyProperties expected dstValue *struct, got %s", dstValue.Type()))
42 if !isStructPtr(srcValue.Type()) {
43 panic(fmt.Errorf("CopyProperties expected srcValue *struct, got %s", srcValue.Type()))
49 typ := dstValue.Type()
50 if srcValue.Type() != typ {
73 newSlice := reflect.MakeSlice(field.Type, srcFieldValue.Len(),
[all …]
Dfilter.go32 x.field.Name, x.field.Type.String(), strconv.Quote(string(x.field.Tag)),
53 if isStruct(field.Type) || isStructPtr(field.Type) {
57 field.Type.String(), len(field.Type.String()), maxTypeNameSize-structNameSize))
84 if isStructPtr(field.Type) {
89 if ptrToStruct || isStruct(field.Type) {
97 typ := field.Type
112 field.Type = nestedType
131 nameSize += len(field.Type.String())
144 func FilterPropertyStruct(prop reflect.Type, predicate FilterFieldPredicate) (filteredProp reflect. argument
156 func filterPropertyStruct(prop reflect.Type, prefix string, maxNameSize int, argument
[all …]
Dunpack.go78 if !isStructPtr(valueObject.Type()) {
80 valueObject.Type()))
149 …if t := propValue.Values[0].Type(); t == parser.StringType || t == parser.Int64Type || t == parser…
184 structType := structValue.Type()
227 elemType := fieldValue.Type()
233 switch ptrKind := fieldValue.Type().Elem().Kind(); ptrKind {
239 fieldValue = reflect.New(fieldValue.Type().Elem())
258 if field.Anonymous && isStruct(fieldValue.Type()) {
282 if isStruct(fieldValue.Type()) {
287 } else if isSlice(fieldValue.Type()) {
[all …]
Dextend.go214 if dstValue.Type() != srcValue.Type() {
250 srcType := srcValue.Type()
277 if isStructPtr(srcFieldValue.Type()) {
288 dstType := dstValue.Type()
326 if isStructPtr(dstFieldValue.Type()) {
328 dstFieldValue = reflect.New(dstFieldValue.Type().Elem())
337 if sameTypes && dstFieldValue.Type() != srcFieldValue.Type() {
339 dstFieldValue.Type(), srcFieldValue.Type())
346 if srcFieldValue.Type() != dstFieldValue.Type() {
348 dstFieldValue.Type(), srcFieldValue.Type())
[all …]
Dtypeequal.go27 if v1.Type() != v2.Type() {
40 if v1.Type() != v2.Type() {
46 if v1.Type().Elem().Kind() != reflect.Struct {
Dproptools.go117 func isStruct(t reflect.Type) bool { argument
121 func isStructPtr(t reflect.Type) bool { argument
125 func isSlice(t reflect.Type) bool { argument
Dfilter_test.go284 var expected []reflect.Type
304 Type: reflect.TypeOf(""),
311 Type: reflect.TypeOf(StringPtr("")),
318 Type: reflect.TypeOf(struct{ foo string }{}),
324 Type: reflect.TypeOf(&struct{ foo string }{}),
336 …if g, w := fieldToTypeNameSize(test.field, false), len(typeName)-len(test.field.Type.String()); g …
Dtag.go46 func propertyIndexesWithTag(t reflect.Type, key, value string) [][]int { argument
51 ft := field.Type
/build/soong/android/soongconfig/
Dmodules.go82 switch def.Type {
287 Type: c.variableValuesType(),
293 Type: reflect.StructOf(fields),
308 …eAffectablePropertiesType(affectableProperties []string, factoryProps []interface{}) reflect.Type {
312 var recurse func(prefix string, aps []string) ([]string, reflect.Type)
313 recurse = func(prefix string, aps []string) ([]string, reflect.Type) {
325 var nestedType reflect.Type
335 Type: nestedType,
343 Type: typ,
349 var typ reflect.Type
[all …]
/build/soong/bpfix/bpfix/
Dbpfix.go266 if mod.Type != "java_import" {
271 mod.Type = "java_import_host"
291 mod.Type = "android_library_import"
308 if mod.Type != "cts_support_package" && mod.Type != "cts_package" &&
309 mod.Type != "cts_target_java_library" &&
310 mod.Type != "cts_host_java_library" {
316 switch mod.Type {
318 mod.Type = "android_test"
321 mod.Type = "android_test"
324 mod.Type = "java_library"
[all …]
/build/blueprint/parser/
Dast.go60 Type string member
79 return fmt.Sprintf("%s@%s-%s{%s}", m.Type,
119 Type() Type methodSpec
136 if a.Type() != b.Type() {
159 type Type int type
162 BoolType Type = iota + 1
170 func (t Type) String() string {
207 func (x *Operator) Type() Type { func
208 return x.Args[0].Type()
241 func (x *Variable) Type() Type { return x.Value.Type() } func
[all …]
Dmodify.go26 if v.Type() != StringType {
27 panic(fmt.Errorf("expected string in list, got %s", v.Type()))
46 if v.Type() != StringType {
47 panic(fmt.Errorf("expected string in list, got %s", v.Type()))
Dparser_test.go44 Type: "foo",
62 Type: "foo",
91 Type: "foo",
121 Type: "foo",
152 Type: "foo",
213 Type: "foo",
297 Type: "foo",
359 Type: "foo",
421 Type: "foo",
490 Type: "foo",
[all …]
/build/blueprint/bootstrap/bpdoc/
Dproperties.go56 return p.Name == other.Name && p.Type == other.Type && p.Tag == other.Tag &&
73 panic(fmt.Errorf("property %q does not exist in %q", fieldName, defaults.Type()))
76 if reflect.DeepEqual(f.Interface(), reflect.Zero(f.Type()).Interface()) {
160 func newPropertyStruct(t *doc.Type) (*PropertyStruct, error) { argument
167 structType, ok := typeSpec.Type.(*ast.StructType)
187 if t, ok := f.Type.(*ast.Ident); ok {
207 t := f.Type
224 typ = fmt.Sprintf("%T", f.Type)
229 Type: typ,
Dbpdoc.go55 Type string member
119 t := v.Type()
132 nestedType := nestedValue.Type()
160 typ := structValue.Type()
/build/soong/android/
Dpath_properties.go57 panic(fmt.Errorf("type %s is not a pointer to a struct", v.Type()))
87 v.Type().FieldByIndex(i).Name, v.Type(), sv.Type()))
/build/soong/androidmk/androidmk/
Dvalues.go45 if val1.Type() == bpparser.StringType && val2.Type() == bpparser.ListType {
49 } else if val2.Type() == bpparser.StringType && val1.Type() == bpparser.ListType {
53 } else if val1.Type() != val2.Type() {
/build/soong/java/
Dproto.go77 switch String(p.Proto.Type) {
92 String(p.Proto.Type))
104 switch String(p.Proto.Type) {
118 String(p.Proto.Type))
/build/soong/cc/
Dproto.go66 switch String(p.Proto.Type) {
101 String(p.Proto.Type))
128 switch String(p.Proto.Type) {
146 String(p.Proto.Type))
/build/soong/cmd/host_bionic_inject/
Dhost_bionic_inject.go94 if prog.Type == elf.PT_INTERP {
137 if lprog.Type != elf.PT_LOAD {
145 if prog.Type != elf.PT_LOAD {

123