Lines Matching defs:nfields
338 int ninterfaces, nfields, nmethods;
374 nfields = value_as_long (value_struct_elt (&temp, NULL, "field_count", NULL, "structure"));
375 nfields += TYPE_N_BASECLASSES (type);
376 nfields++; /* Add one for dummy "class" field. */
377 TYPE_NFIELDS (type) = nfields;
379 TYPE_ALLOC (type, sizeof (struct field) * nfields);
381 memset (TYPE_FIELDS (type), 0, sizeof (struct field) * nfields);
384 (B_TYPE *) TYPE_ALLOC (type, B_BYTES (nfields));
385 B_CLRALL (TYPE_FIELD_PRIVATE_BITS (type), nfields);
388 (B_TYPE *) TYPE_ALLOC (type, B_BYTES (nfields));
389 B_CLRALL (TYPE_FIELD_PROTECTED_BITS (type), nfields);
392 (B_TYPE *) TYPE_ALLOC (type, B_BYTES (nfields));
393 B_CLRALL (TYPE_FIELD_IGNORE_BITS (type), nfields);
420 nfields--; /* First set up dummy "class" field. */
421 SET_FIELD_PHYSADDR (TYPE_FIELD (type, nfields),
423 TYPE_FIELD_NAME (type, nfields) = "class";
424 TYPE_FIELD_TYPE (type, nfields) = VALUE_TYPE (clas);
425 SET_TYPE_FIELD_PRIVATE (type, nfields);
427 for (i = TYPE_N_BASECLASSES (type); i < nfields; i++)