/external/tpm2/generator/ |
D | structure_generator.py | 380 if self.new_type in declared_types: 385 out_file.write(self._MARSHAL_DECLARATION % {'type': self.new_type}) 386 declared_types.add(self.new_type) 425 def __init__(self, old_type, new_type): argument 434 self.new_type = new_type 445 if self.new_type in marshalled_types: 449 'new_type': self.new_type}) 452 'new_type': self.new_type}) 453 marshalled_types.add(self.new_type) 493 def __init__(self, old_type, new_type): argument [all …]
|
D | tpm_table.py | 262 def _AddTypedef(self, old_type, new_type): argument 264 self._AddToHfile('typedef %s %s;' % (old_type, new_type)) 266 if new_type != 'BOOL': 267 self._type_map[new_type] = Typedef(old_type, new_type) 268 self._SetBaseType(old_type, self._type_map[new_type]) 534 new_type = '%s_%s_%s' % (name_prefix, alg_base, name_suffix) 535 self._AddTypedef(self._title_type, new_type)
|
D | structure_generator_test.py | 151 self.assertEqual(tpm_obj.new_type, 'UINT16') 154 self.assertEqual(tpm_obj.new_type, 'TPMA_LOCALITY') 159 self.assertEqual(tpm_obj.new_type, 'const_type') 164 self.assertEqual(tpm_obj.new_type, 'TPMI_DH_OBJECT')
|
/external/e2fsprogs/lib/blkid/ |
D | dev.c | 131 char *new_type, *new_value; in blkid_dev_set_search() local 136 new_type = malloc(strlen(search_type)+1); in blkid_dev_set_search() 138 if (!new_type || !new_value) { in blkid_dev_set_search() 139 free(new_type); in blkid_dev_set_search() 143 strcpy(new_type, search_type); in blkid_dev_set_search() 147 iter->search_type = new_type; in blkid_dev_set_search()
|
/external/selinux/libsepol/src/ |
D | link.c | 441 type_datum_t *type, *base_type, *new_type = NULL; in type_copy_callback() local 480 if ((new_type = in type_copy_callback() 481 (type_datum_t *) calloc(1, sizeof(*new_type))) == NULL) { in type_copy_callback() 484 new_type->primary = type->primary; in type_copy_callback() 485 new_type->flags = type->flags; in type_copy_callback() 486 new_type->flavor = type->flavor; in type_copy_callback() 490 new_type->s.value = state->base->p_types.nprim + 1; in type_copy_callback() 494 (hashtab_datum_t) new_type); in type_copy_callback() 499 base_type = new_type; in type_copy_callback() 504 if ((new_type = calloc(1, sizeof(*new_type))) == NULL) { in type_copy_callback() [all …]
|
D | expand.c | 79 type_datum_t *type, *new_type; in type_copy_callback() local 105 new_type = (type_datum_t *) malloc(sizeof(type_datum_t)); in type_copy_callback() 106 if (!new_type) { in type_copy_callback() 111 memset(new_type, 0, sizeof(type_datum_t)); in type_copy_callback() 113 new_type->flavor = type->flavor; in type_copy_callback() 114 new_type->flags = type->flags; in type_copy_callback() 115 new_type->s.value = ++state->out->p_types.nprim; in type_copy_callback() 116 if (new_type->s.value > UINT16_MAX) { in type_copy_callback() 118 free(new_type); in type_copy_callback() 122 new_type->primary = 1; in type_copy_callback() [all …]
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_conv.c | 621 struct lp_type new_type; in lp_build_conv() local 623 new_type = tmp_type; in lp_build_conv() 624 new_type.sign = dst_type.sign; in lp_build_conv() 625 new_type.width = dst_type.width; in lp_build_conv() 626 new_type.length = dst_type.length; in lp_build_conv() 628 lp_build_resize(gallivm, tmp_type, new_type, tmp, num_srcs, tmp, num_dsts); in lp_build_conv() 630 tmp_type = new_type; in lp_build_conv()
|
/external/v8/test/cctest/ |
D | test-field-type-tracking.cc | 775 Handle<HeapType> new_type = in TEST() local 780 ? HeapType::Union(current_type, new_type, isolate) in TEST() 785 Representation::HeapObject(), new_type, Representation::HeapObject(), in TEST() 790 Handle<HeapType> new_type = HeapType::Class(Map::Create(isolate, 0), isolate); in TEST() local 794 new_type, Representation::HeapObject(), any_type, false); in TEST() 1146 Handle<HeapType> new_type = in TEST() local 1151 ? HeapType::Union(current_type, new_type, isolate) in TEST() 1156 Representation::HeapObject(), new_type, Representation::HeapObject(), in TEST() 1161 Handle<HeapType> new_type = HeapType::Class(Map::Create(isolate, 0), isolate); in TEST() local 1165 new_type, Representation::HeapObject(), any_type, false); in TEST()
|
/external/google-breakpad/src/testing/scripts/generator/cpp/ |
D | ast.py | 1204 new_type = ctor(token.start, token.end, name, fields, 1209 return new_type 1210 name = new_type 1373 new_type = tokens 1375 new_type = self.converter.ToType(tokens)[0] 1377 new_type, self.namespace_stack)
|
/external/opencv3/modules/core/test/ |
D | test_umat.cpp | 171 int new_type = CV_MAKE_TYPE(randomInt(CV_8S,CV_64F),randomInt(1,4)); in TEST_P() local 172 ub = UMat(dims, sz, new_type); in TEST_P()
|
/external/v8/test/cctest/compiler/ |
D | test-js-typed-lowering.cc | 316 Type* new_type = NodeProperties::GetType(new_input); in CheckToI32() local 318 CHECK(new_type->Is(expected_type)); in CheckToI32()
|
/external/v8/src/compiler/ |
D | register-allocator.cc | 2157 UsePositionType new_type = UsePositionType::kAny; in BuildLiveRanges() local 2160 new_type = UsePositionType::kRequiresRegister; in BuildLiveRanges() 2162 pos->set_type(new_type, true); in BuildLiveRanges()
|
/external/v8/src/crankshaft/ |
D | hydrogen-instructions.h | 546 void set_type(HType new_type) { in set_type() argument 547 DCHECK(new_type.IsSubtypeOf(type_)); in set_type() 548 type_ = new_type; in set_type()
|
/external/v8/src/ |
D | objects.cc | 3943 HeapType* new_type = new_descriptors->GetFieldType(i); in TryUpdate() local 3946 if (FieldTypeIsCleared(new_details.representation(), new_type)) { in TryUpdate() 3953 !old_type->NowIs(new_type)) { in TryUpdate() 3959 if (!new_type->NowContains(old_value)) { in TryUpdate() 3967 HeapType* new_type = new_descriptors->GetFieldType(i); in TryUpdate() local 3968 DCHECK(HeapType::Any()->Is(new_type)); in TryUpdate() 19718 PropertyCellType new_type = UpdatedType(cell, value, original_details); in UpdateCell() local 19722 details = details.set_cell_type(new_type); in UpdateCell() 19727 if (!invalidate && (old_type != new_type || in UpdateCell()
|