Home
last modified time | relevance | path

Searched refs:basetype (Results 1 – 20 of 20) sorted by relevance

/external/python/cpython2/Tools/bgen/bgen/
DbgenObjectDefinition.py8 basetype = None variable in ObjectDefinition
108 if self.basetype:
143 if self.basetype:
144 Output("%s.tp_dealloc((PyObject *)self);", self.basetype)
218 if self.basetype:
219 Output("%s.tp_base = &%s;", self.typename, self.basetype)
388 if self.basetype:
389 Output("if (%s.tp_init)", self.basetype)
391 Output("if ( (*%s.tp_init)(_self, _args, _kwds) < 0) return -1;", self.basetype)
426 if self.basetype:
[all …]
/external/python/cpython2/Mac/Modules/cf/
Dcfsupport.py338 basetype = "CFTypeRef_Type" variable in CFArrayRefObjectDefinition
350 basetype = "CFArrayRef_Type" variable in CFMutableArrayRefObjectDefinition
362 basetype = "CFTypeRef_Type" variable in CFDictionaryRefObjectDefinition
374 basetype = "CFDictionaryRef_Type" variable in CFMutableDictionaryRefObjectDefinition
386 basetype = "CFTypeRef_Type" variable in CFDataRefObjectDefinition
410 basetype = "CFDataRef_Type" variable in CFMutableDataRefObjectDefinition
422 basetype = "CFTypeRef_Type" variable in CFStringRefObjectDefinition
456 basetype = "CFStringRef_Type" variable in CFMutableStringRefObjectDefinition
472 basetype = "CFTypeRef_Type" variable in CFURLRefObjectDefinition
/external/bcc/src/cc/frontends/p4/compiler/
DebpfParser.py60 basetype = ebpfStack.basetype
65 basetype = ebpfHeader.type
68 ebpfField = basetype.getField(e.name)
349 basetype = ebpfStack.basetype
352 basetype = ebpfHeader.type
357 for field in basetype.fields:
DebpfInstance.py80 self.basetype = factory.build(hlirInstance.header_type, False)
81 assert isinstance(self.basetype, EbpfType)
87 self.basetype.declareArray(serializer, self.name, self.arraySize)
DebpfDeparser.py106 basetype = ebpfStack.basetype
109 basetype = ebpfHeader.type
113 for field in basetype.fields:
DebpfTable.py107 basetype = ebpfStack.basetype
112 basetype = ebpfHeader.type
115 ebpfField = basetype.getField(fieldname)
DebpfAction.py333 fieldtype = stackInstance.basetype.getField(argument.name)
367 fieldtype = stackInstance.basetype
/external/mesa3d/src/gallium/drivers/r600/sb/
Dsb_ra_init.cpp44 typedef uint32_t basetype; typedef in r600_sb::regbits
45 static const unsigned bt_bytes = sizeof(basetype);
51 basetype dta[size];
125 dta[ih] |= ((basetype)1u << il); in set()
132 dta[ih] &= ~((basetype)1u << il); in clear()
138 return dta[ih] & ((basetype)1u << il); in get()
144 basetype bm = 1u << il; in set()
191 basetype cd = dta[elt]; in find_free_chans()
203 unsigned p = __builtin_ctz(cd) & ~(basetype)3u; in find_free_chans()
226 basetype cd = dta[elt]; in find_free_chan_by_mask()
[all …]
Dsb_valtable.cpp376 basetype d = data[w]; in set_chk()
377 basetype dn = (d & ~(1 << b)) | (bit << b); in set_chk()
397 basetype clear_mask = (~(basetype)0u) << (bit_size % bt_bits); in resize()
411 basetype d = data[w] >> b; in find_bit()
Dsb_ir.h222 typedef uint32_t basetype; typedef
223 static const unsigned bt_bits = sizeof(basetype) << 3;
224 std::vector<basetype> data;
/external/tcpdump/
Dprint-snmp.c891 SmiBasetype basetype; member
952 static int smi_check_type(SmiBasetype basetype, int be) in smi_check_type() argument
956 for (i = 0; smi2betab[i].basetype != SMI_BASETYPE_UNKNOWN; i++) { in smi_check_type()
957 if (smi2betab[i].basetype == basetype && smi2betab[i].be == be) { in smi_check_type()
970 switch (smiType->basetype) { in smi_check_a_range()
1118 if (! smi_check_type(smiType->basetype, elem->type)) { in smi_print_value()
1136 if (smiType->basetype == SMI_BASETYPE_BITS) { in smi_print_value()
1162 if (smiType->basetype == SMI_BASETYPE_ENUM) { in smi_print_value()
/external/python/cpython3/Lib/test/
Dtest_bytes.py1724 self.assertTrue(issubclass(self.type2test, self.basetype))
1725 self.assertIsInstance(self.type2test(), self.basetype)
1752 s2 = self.basetype().join([s1])
1754 self.assertIs(type(s2), self.basetype, type(s2))
1758 self.assertIs(type(s3), self.basetype)
1791 class B1(self.basetype):
1793 me = self.basetype.__new__(cls, value)
1802 class B2(self.basetype):
1804 if self.basetype is not bytes:
1805 self.basetype.__init__(me, *args, **kwargs)
[all …]
Dtest_set.py76 self.assertEqual(type(u), self.basetype)
106 self.assertEqual(type(i), self.basetype)
151 self.assertEqual(type(i), self.basetype)
178 self.assertEqual(type(i), self.basetype)
370 basetype = set variable in TestSet
418 self.assertEqual(type(dup), self.basetype)
657 basetype = set variable in TestSetSubclass
671 basetype = frozenset variable in TestFrozenSet
756 basetype = frozenset variable in TestFrozenSetSubclass
/external/clang/test/SemaCXX/
Dtypo-correction.cpp46 …Derived() : basetype() {} // expected-error{{initializer 'basetype' does not name a non-static dat… in Derived()
/external/python/cpython3/Lib/unittest/
Dcase.py123 def _is_subtype(expected, basetype): argument
125 return all(_is_subtype(e, basetype) for e in expected)
126 return isinstance(expected, type) and issubclass(expected, basetype)
/external/flatbuffers/src/
Didl_gen_cpp.cpp2387 const auto basetype = GenTypeBasic( in GenCreateParam() local
2389 code += "_fbb.CreateVectorScalarCast<" + basetype + in GenCreateParam()
Didl_gen_rust.cpp846 const std::string basetype = GetTypeBasic(field.value.type); in TableBuilderAddFuncDefaultValue() local
Didl_parser.cpp1742 BaseType basetype) { in CheckClash() argument
1751 if (field && field->value.type.base_type == basetype) in CheckClash()
/external/clang/lib/Sema/
DSemaDeclCXX.cpp1482 ParsedType basetype, SourceLocation BaseLoc, in ActOnBaseSpecifier() argument
1512 GetTypeFromParser(basetype, &TInfo); in ActOnBaseSpecifier()
/external/clang/include/clang/Sema/
DSema.h5489 ParsedType basetype,