Home
last modified time | relevance | path

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

12

/build/kati/
Dthread_local.h44 #define DEFINE_THREAD_LOCAL(Type, name) thread_local Type name argument
53 template <typename Type>
55 delete reinterpret_cast<Type>(ptr); in ThreadLocalDestructor()
58 template<typename Type, pthread_key_t* key>
60 if (pthread_key_create(key, ThreadLocalDestructor<Type>)) in ThreadLocalInit()
64 template<typename Type, pthread_key_t* key, pthread_once_t* once>
67 Type& Ref() { in Ref()
70 Type Get() { in Get()
73 void Set(const Type& value) { in Set()
76 Type* GetPointer() { in GetPointer()
[all …]
Dvar.go80 Type: v.op,
116 Type: "simple",
170 return serializableVar{Type: ""}
224 Type: "recursive",
278 return serializableVar{Type: "undefined"}
Dexpr.go60 return serializableVar{Type: "literal", V: string(s)}
77 return serializableVar{Type: "tmpval", V: string(t)}
107 r := serializableVar{Type: "expr"}
175 Type: "varref",
213 return serializableVar{Type: "paramref", V: strconv.Itoa(int(p))}
269 Type: "varsubst",
703 return serializableVar{Type: ""}
Dserialize.go109 Type string member
382 switch sv.Type {
487 op: sv.Type,
632 size += len(v.Type)
/build/blueprint/parser/
Dparser_test.go42 Type: Ident{"foo", mkpos(3, 2, 3)},
57 Type: Ident{"foo", mkpos(3, 2, 3)},
65 Type: String,
83 Type: Ident{"foo", mkpos(3, 2, 3)},
91 Type: Bool,
110 Type: Ident{"foo", mkpos(3, 2, 3)},
118 Type: List,
123 Type: String,
128 Type: String,
133 Type: String,
[all …]
Dmodify.go18 if value.Type != List {
19 panic("expected list value, got " + value.Type.String())
23 if v.Type != String {
24 panic("expected string in list, got " + value.Type.String())
35 Type: String,
44 if value.Type != List {
45 panic("expected list value, got " + value.Type.String())
49 if v.Type != String {
50 panic("expected string in list, got " + value.Type.String())
Dparser.go247 module.Type = Ident{typ, typPos}
317 if value1.Type != value2.Type {
319 value1.Type, value2.Type)
327 switch value1.Type {
341 value1.Type)
434 value.Type = Bool
437 value.Type = Bool
460 value.Type = String
473 value.Type = List
482 if p.eval && element.Type != String {
[all …]
Dsort.go88 if value.Type == Map {
93 } else if value.Type != List {
103 if v.Type != String {
137 if v.Type != String {
Dprinter.go99 p.printToken(module.Type.Name, module.Type.Pos)
110 switch value.Type {
126 panic(fmt.Errorf("bad property type: %d", value.Type))
/build/soong/androidmk/cmd/androidmk/
Dvalues.go14 Type: bpparser.String,
24 if val1.Type == bpparser.String && val2.Type == bpparser.List {
26 Type: bpparser.List,
29 } else if val2.Type == bpparser.String && val1.Type == bpparser.List {
31 Type: bpparser.List,
34 } else if val1.Type != val2.Type {
39 Type: val1.Type,
64 Type: bpparser.String,
91 Type: bpparser.String,
96 Type: bpparser.List,
[all …]
Dandroid.go87 if value.Type != bpparser.String {
88 return nil, fmt.Errorf("isLocalAbsPath expected a string, got %d", value.Type)
94 Type: bpparser.String,
107 if firstOperand.Type != bpparser.String {
128 return value.Type == bpparser.List && value.Expression == nil && value.Variable == "" &&
134 Type: bpparser.List,
137 Type: bpparser.List,
173 Type: bpparser.String,
287 Type: bpparser.Bool,
292 Type: bpparser.Bool,
Dandroidmk.go226 appendVariable := assignment.Type == "+="
289 file.module.Type = bpparser.Ident{
366 Type: bpparser.Map,
/build/blueprint/proptools/
Dclone.go23 result := reflect.New(structValue.Type())
29 typ := dstValue.Type()
30 if srcValue.Type() != typ {
53 if field.Type.Elem().Kind() != reflect.String {
57 newSlice := reflect.MakeSlice(field.Type, srcFieldValue.Len(),
77 if srcFieldValue.Type().Elem().Kind() != reflect.Struct {
82 if dstFieldValue.IsNil() || dstFieldValue.Elem().Type() != srcFieldValue.Type() {
85 newValue := reflect.New(srcFieldValue.Type()).Elem()
116 newValue := reflect.New(srcFieldValue.Type())
131 typ := structValue.Type()
[all …]
Dextend.go132 if dstValue.Type() != srcValue.Type() {
164 srcType := srcValue.Type()
180 dstType := dstValue.Type()
199 dstFieldValue.Type(), srcFieldValue.Type())
220 ptrKind := srcFieldValue.Type().Elem().Kind()
222 if srcFieldValue.Type() != dstFieldValue.Type() {
224 dstFieldValue.Type(), srcFieldValue.Type())
244 if sameTypes && dstFieldValue.Type() != srcFieldValue.Type() {
246 dstFieldValue.Type(), srcFieldValue.Type())
257 if srcFieldValue.Type() != dstFieldValue.Type() {
[all …]
Dtypeequal.go27 if v1.Type() != v2.Type() {
40 if v1.Type() != v2.Type() {
46 if v1.Type().Elem().Kind() != reflect.Struct {
/build/blueprint/
Dunpack.go125 structType := structValue.Type()
149 elemType := field.Type.Elem()
158 elemType := fieldValue.Type()
164 switch ptrKind := fieldValue.Type().Elem().Kind(); ptrKind {
234 switch ptrKind := fieldValue.Type().Elem().Kind(); ptrKind {
236 newValue := reflect.New(fieldValue.Type().Elem())
240 newValue := reflect.New(fieldValue.Type().Elem())
279 if property.Value.Type != parser.Bool {
282 property.Value.Pos, property.Value.Type, parser.Bool,
293 if property.Value.Type != parser.String {
[all …]
Dbuild.ninja.in56 # Type: bootstrap_go_package
82 # Type: bootstrap_go_package
109 # Type: bootstrap_go_package
129 # Type: bootstrap_go_package
144 # Type: bootstrap_go_package
161 # Type: bootstrap_go_package
176 # Type: bootstrap_go_package
194 # Type: bootstrap_core_go_binary
217 # Type: bootstrap_core_go_binary
240 # Type: bootstrap_core_go_binary
[all …]
Dcontext.go859 switch assignment.Value.Type {
864 if value.Type != parser.String {
879 panic(fmt.Errorf("unknown value type: %d", assignment.Value.Type))
888 switch assignment.Value.Type {
897 panic(fmt.Errorf("unknown value type: %d", assignment.Value.Type))
1029 typeName := moduleDef.Type.Name
1039 Pos: moduleDef.Type.Pos,
1063 module.pos = moduleDef.Type.Pos
2944 Type: {{.typeName}}
/build/blueprint/bootstrap/bpdoc/
Dbpdoc.go102 Type string member
131 return docs.Name == other.Name && docs.Type == other.Type && docs.Tag == other.Tag &&
148 panic(fmt.Errorf("property %q does not exist in %q", fieldName, defaults.Type()))
151 if reflect.DeepEqual(f.Interface(), reflect.Zero(f.Type()).Interface()) {
155 if f.Type().Kind() == reflect.Interface {
159 if f.Type().Kind() == reflect.Ptr {
163 if f.Type().Kind() == reflect.Struct {
220 func newDocs(t *doc.Type) (*PropertyStructDocs, error) { argument
227 structType, ok := typeSpec.Type.(*ast.StructType)
247 if t, ok := f.Type.(*ast.Ident); ok {
[all …]
/build/soong/androidmk/parser/
Dmakething.go23 Type string member
75 return target + a.Name.Dump() + a.Type + a.Value.Dump()
/build/blueprint/bpmodify/
Dbpmodify.go126 if prop.Name.Name == "name" && prop.Value.Type == parser.String {
155 if value.Type != parser.List {
157 paramName, moduleName, value.Type.String())}
/build/soong/
Dbuild.ninja.in68 # Type: bootstrap_go_package
159 # Type: bootstrap_go_package
187 # Type: bootstrap_go_package
208 # Type: bootstrap_go_package
224 # Type: bootstrap_go_package
290 # Type: bootstrap_go_package
351 # Type: bootstrap_go_package
420 # Type: bootstrap_core_go_binary
444 # Type: bootstrap_core_go_binary
468 # Type: bootstrap_core_go_binary
[all …]
/build/tools/droiddoc/templates-sdk-dev/
Dsampleindex.cs32 <?cs if:file.Type != "dir" ?>
/build/soong/common/
Dvariable.go133 name := variableValues.Type().Field(i).Name
/build/tools/droiddoc/templates-sdk/
Dsampleindex.cs37 <?cs if:file.Type != "dir" ?>

12