Home
last modified time | relevance | path

Searched refs:typ (Results 1 – 25 of 32) sorted by relevance

12

/aosp12/frameworks/compile/slang/tests/P_math_int/
H A Dmath_int.rscript39 #define TEST4_1(ret, typ, fnc) \
40 ret = fnc(typ); \
43 ret##4 = fnc(typ##4);
46 typ = fnc(typ, typ); \
47 typ##2 = fnc(typ##2, typ##2); \
48 typ##3 = fnc(typ##3, typ##3); \
49 typ##4 = fnc(typ##4, typ##4);
52 typ = fnc(typ, typ); \
53 typ##2 = fnc(typ##2, typ); \
54 typ##3 = fnc(typ##3, typ); \
[all …]
/aosp12/build/blueprint/
H A Dprovider.go47 typ reflect.Type member
82 typ := reflect.TypeOf(exampleValue)
87 typ: typ,
120 provider.typ))
123 provider.typ))
129 provider.typ, provider.mutator))
132 provider.typ, provider.mutator))
135 provider.typ, provider.mutator))
139 if typ := reflect.TypeOf(value); typ != provider.typ {
141 provider.typ, typ))
[all …]
H A Dcontext.go546 typ := reflect.TypeOf(singleton)
547 for typ.Kind() == reflect.Ptr {
548 typ = typ.Elem()
550 return typ.PkgPath()
554 typ := reflect.TypeOf(singleton)
555 for typ.Kind() == reflect.Ptr {
556 typ = typ.Elem()
558 return typ.PkgPath() + "." + typ.Name()
/aosp12/build/blueprint/bootstrap/bpdoc/
H A Dbpdoc_test.go11 typ string member
73 typ: "string",
77 typ: "",
81 typ: "string",
89 typ: "string",
101 typ: "string",
105 typ: "string",
121 typ: "string",
125 typ: "string",
131 typ: "string",
[all …]
H A Dproperties.go213 typ, innerProps, err := getType(f.Type)
220 Type: typ,
231 func getType(expr ast.Expr) (typ string, innerProps []Property, err error) {
245 typ = "list of " + elt
247 typ = "interface"
249 typ = a.Name
256 typ = fmt.Sprintf("%T", expr)
259 return typ, innerProps, nil
H A Dreader.go129 for _, typ := range goPkg.Types {
130 for _, fn := range typ.Funcs {
H A Dbpdoc.go202 typ := structValue.Type()
204 field := typ.Field(i)
/aosp12/build/soong/android/soongconfig/
H A Dmodules.go278 props := reflect.New(typ)
329 if typ != nil {
332 Type: typ,
340 var typ reflect.Type
342 typ = reflect.StructOf(fields)
352 if typ != nil {
353 return reflect.PtrTo(typ)
361 if typ := typeForPropertyFromPropertyStruct(ps, property); typ != nil {
362 return typ
577 sTyp := typ.Elem()
[all …]
H A Dmodules_test.go178 typ := typeForPropertyFromPropertyStruct(tt.ps, tt.property)
180 if typ != nil {
181 got = typ.String()
279 typ := createAffectablePropertiesType(tt.affectableProperties, []interface{}{tt.factoryProps})
281 if typ != nil {
282 got = typ.String()
/aosp12/system/bt/vendor_libs/test_vendor_lib/test/
H A Dh4_parser_unittest.cc72 uint8_t typ = (uint8_t)PacketType::ACL; in TEST_F() local
73 ASSERT_TRUE(parser_.Consume(&typ, 1)); in TEST_F()
80 uint8_t typ = (uint8_t)PacketType::ACL; in TEST_F() local
81 ASSERT_TRUE(parser_.Consume(&typ, 1)); in TEST_F()
85 ASSERT_TRUE(parser_.Consume(&typ, 1)); in TEST_F()
93 ASSERT_TRUE(parser_.Consume(&typ, 1)); in TEST_F()
126 uint8_t typ = (uint8_t)packetType; in TEST_F() local
127 ASSERT_TRUE(parser_.Consume(&typ, 1)); in TEST_F()
/aosp12/build/blueprint/proptools/
H A Dclone.go49 typ := dstValue.Type()
50 if srcValue.Type() != typ {
55 for i, field := range typeFields(typ) {
150 typ := structValue.Type()
152 for i, field := range typeFields(typ) {
211 typ := srcValue.Type()
212 for i, field := range typeFields(typ) {
271 func typeFields(typ reflect.Type) []reflect.StructField {
278 if typeFields, ok := typeFieldCache.Load(typ); ok {
286 typeFields[i] = typ.Field(i)
[all …]
H A Dfilter.go97 typ := field.Type
100 typ = typ.Elem()
102 nestedTypes, subFiltered := filterPropertyStruct(typ, subPrefix, subMaxTypeNameSize, predicate)
H A Dfilter_test.go549 typ := reflect.StructOf(filteredFields)
550 if test.maxTypeNameSize > 0 && len(typ.String()) > test.maxTypeNameSize {
552 typ.String(), test.maxTypeNameSize, len(typ.String()))
554 out = append(out, reflect.Zero(typ).Interface())
H A Dunpack.go387 func propertyToValue(typ reflect.Type, property *parser.Property) (reflect.Value, error) {
390 isPtr := typ.Kind() == reflect.Ptr
392 baseType = typ.Elem()
394 baseType = typ
433 …f("cannot assign %s value %s to %s property %s", property.Value.Type(), property.Value, kind, typ),
/aosp12/build/soong/finder/fs/
H A Dreaddir.go96 typ, ok := direntType(rec)
118 mode, modeExists := direntTypeToFileMode(typ)
194 func direntTypeToFileMode(typ uint64) (os.FileMode, bool) {
197 switch typ {
/aosp12/build/soong/android/
H A Dvariable.go691 typ, _ := variablePropTypeMap.Once(NewCustomOnceKey(key), func() interface{} {
696 if typ == nil {
701 return reflect.New(typ).Interface()
707 typ, _ := proptools.FilterPropertyStruct(reflect.TypeOf(productVariables),
732 return typ
H A Ddepset_generic.go113 func newDepSetBuilder(order DepSetOrder, typ interface{}) *depSetBuilder {
114 empty := reflect.Zero(reflect.TypeOf(typ))
/aosp12/frameworks/base/tests/JankBench/scripts/external/
H A Dstatistics.py159 for typ, values in groupby(data, type):
160 T = _coerce(T, typ) # or raise TypeError
/aosp12/frameworks/base/tools/apilint/
H A Ddeprecated_at_birth.py70 self.typ = raw[0]
104 self.typ = raw[0]
/aosp12/build/soong/androidmk/androidmk/
H A Dandroidmk.go392 typ bpparser.Type) (bpparser.Expression, error) {
396 switch typ {
/aosp12/build/blueprint/parser/
H A Dparser.go250 func (p *parser) parseModule(typ string, typPos scanner.Position) *Module {
270 Type: typ,
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DSurfaceFreezer.java269 mAnimation.startAnimation(mSurfaceControl, t, type, (typ, ani) -> { }); in startAnimation()
/aosp12/bionic/libc/dns/nameser/
H A Dns_print.c508 u_int typ, algorithm, labels, footprint; in ns_sprintrrf() local
517 typ = ns_get16(rdata); rdata += NS_INT16SZ; in ns_sprintrrf()
522 p_type((int)typ), algorithm, labels, t); in ns_sprintrrf()
/aosp12/bionic/libc/tzcode/
H A Dlocaltime.c494 unsigned char typ = *p++; in tzloadbody() local
495 if (sp->typecnt <= typ) in tzloadbody()
498 sp->types[timecnt++] = typ; in tzloadbody()
/aosp12/build/make/tools/droiddoc/templates-pdk/assets/
H A Dandroid-developer-core.css1174 .typ { color: #606; }
1189 .typ { color: #404; font-weight: bold; }

12