Searched refs:new_type (Results 1 - 21 of 21) sorted by relevance

/external/tpm2/generator/
H A Dstructure_generator.py254 UINT16 %(new_type)s_Marshal(
255 %(new_type)s *source,
266 TPM_RC %(new_type)s_Unmarshal(
267 %(new_type)s *target,
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)
413 new_type: The new type in a typedef statement.
417 TPM_RC %(new_type)s_Unmarshal(
418 %(new_type)
[all...]
H A Dstructure_generator_test.py151 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')
H A Dtpm_table.py262 def _AddTypedef(self, old_type, new_type):
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)
/external/e2fsprogs/lib/blkid/
H A Ddev.c132 char *new_type, *new_value; local
137 new_type = malloc(strlen(search_type)+1);
139 if (!new_type || !new_value) {
140 free(new_type);
144 strcpy(new_type, search_type);
148 iter->search_type = new_type;
/external/selinux/libsepol/src/
H A Dlink.c441 type_datum_t *type, *base_type, *new_type = NULL; local
480 if ((new_type =
481 (type_datum_t *) calloc(1, sizeof(*new_type))) == NULL) {
484 new_type->primary = type->primary;
485 new_type->flags = type->flags;
486 new_type->flavor = type->flavor;
487 /* for attributes, the writing of new_type->types is
490 new_type->s.value = state->base->p_types.nprim + 1;
494 (hashtab_datum_t) new_type);
499 base_type = new_type;
857 type_datum_t *type, *base_type, *new_type = NULL, *target_type; local
1165 type_datum_t *type, *new_type = NULL; local
[all...]
H A Dexpand.c81 type_datum_t *type, *new_type; local
107 new_type = (type_datum_t *) malloc(sizeof(type_datum_t));
108 if (!new_type) {
113 memset(new_type, 0, sizeof(type_datum_t));
115 new_type->flavor = type->flavor;
116 new_type->flags = type->flags;
117 new_type->s.value = ++state->out->p_types.nprim;
118 if (new_type->s.value > UINT16_MAX) {
120 free(new_type);
124 new_type
150 type_datum_t *type, *new_type; local
[all...]
/external/mesa3d/src/compiler/glsl/
H A Dopt_rebalance_tree.cpp290 const glsl_type *const new_type = local
295 assert(new_type != glsl_type::error_type);
296 expr->type = new_type;
H A Dlink_uniform_blocks.cpp314 const glsl_type *new_type = local
317 ub_array->ir->array->type = new_type;
318 return new_type;
H A Dlinker.cpp1416 const glsl_type *new_type = local
1420 var->type = new_type;
1421 var->change_interface_type(new_type);
1425 const glsl_type *new_type = local
1429 var->change_interface_type(new_type);
1430 var->type = update_interface_members_array(var->type, new_type);
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_conv.c912 struct lp_type new_type; local
914 new_type = tmp_type;
915 new_type.sign = dst_type.sign;
916 new_type.width = dst_type.width;
917 new_type.length = dst_type.length;
923 lp_build_resize(gallivm, tmp_type, new_type, tmp, num_srcs, tmp, num_dsts);
925 tmp_type = new_type;
/external/libchrome/base/metrics/
H A Dpersistent_memory_allocator.h565 void Delete(T* obj, uint32_t new_type) { argument
578 bool success = ChangeType(ref, new_type, kTypeIdTransitioning, false);
/external/v8/src/compiler/
H A Dsimplified-lowering.cc415 Type* new_type = type; local
431 new_type = op_typer_.Name(FeedbackTypeOf(node->InputAt(0)), \
440 new_type = \
451 new_type = op_typer_.Name(FeedbackTypeOf(node->InputAt(0))); \
458 new_type = op_typer_.ToNumber(FeedbackTypeOf(node->InputAt(0)));
462 new_type = TypePhi(node);
464 new_type = Weaken(node, type, new_type);
470 new_type = op_typer_.TypeTypeGuard(node->op(),
476 new_type
[all...]
H A Dregister-allocator.cc2416 UsePositionType new_type = UsePositionType::kAny; local
2419 new_type = UsePositionType::kRequiresRegister;
2421 pos->set_type(new_type, true);
/external/google-breakpad/src/testing/scripts/generator/cpp/
H A Dast.py1204 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/googletest/googlemock/scripts/generator/cpp/
H A Dast.py1214 new_type = ctor(token.start, token.end, name, fields,
1219 return new_type
1220 name = new_type
1383 new_type = tokens
1385 new_type = self.converter.ToType(tokens)[0]
1387 new_type, self.namespace_stack)
/external/v8/testing/gmock/scripts/generator/cpp/
H A Dast.py1214 new_type = ctor(token.start, token.end, name, fields,
1219 return new_type
1220 name = new_type
1383 new_type = tokens
1385 new_type = self.converter.ToType(tokens)[0]
1387 new_type, self.namespace_stack)
/external/python/cpython3/Lib/
H A Dtyping.py2151 def new_type(x): function in function:NewType
2154 new_type.__name__ = name
2155 new_type.__supertype__ = tp
2156 return new_type
/external/v8/src/
H A Dlookup.cc360 PropertyCellType new_type = local
362 property_details_ = property_details_.set_cell_type(new_type);
H A Dobjects.cc4166 FieldType* new_type = new_descriptors->GetFieldType(i); local
4168 // knowledge, so we must first generalize the new_type to "Any".
4169 if (FieldTypeIsCleared(new_details.representation(), new_type)) {
4176 !old_type->NowIs(new_type)) {
4183 if (!new_type->NowContains(old_value)) {
4191 FieldType* new_type = new_descriptors->GetFieldType(i); local
4192 DCHECK(new_type->IsAny());
19459 PropertyCellType new_type = UpdatedType(cell, value, original_details); local
19463 details = details.set_cell_type(new_type);
19467 if (!invalidate && (old_type != new_type ||
[all...]
/external/python/cpython3/Modules/
H A D_testcapimodule.c2167 PyObject *new_type, *new_value, *new_tb; local
2170 &new_type, &new_value, &new_tb))
2175 Py_INCREF(new_type);
2178 PyErr_SetExcInfo(new_type, new_value, new_tb);
/external/v8/src/crankshaft/
H A Dhydrogen-instructions.h529 void set_type(HType new_type) {
530 DCHECK(new_type.IsSubtypeOf(type_));
531 type_ = new_type;

Completed in 2325 milliseconds