Lines Matching refs:num_fields
38 for (CeedInt i = 0; i < ctx->num_fields; i++) { in CeedQFunctionContextGetFieldIndex()
69 if (ctx->num_fields == 0) { in CeedQFunctionContextRegisterGeneric()
72 } else if (ctx->num_fields == ctx->max_fields) { in CeedQFunctionContextRegisterGeneric()
76 CeedCall(CeedCalloc(1, &ctx->field_labels[ctx->num_fields])); in CeedQFunctionContextRegisterGeneric()
92 CeedCall(CeedStringAllocCopy(field_name, (char **)&ctx->field_labels[ctx->num_fields]->name)); in CeedQFunctionContextRegisterGeneric()
93 …CeedCall(CeedStringAllocCopy(field_description, (char **)&ctx->field_labels[ctx->num_fields]->desc… in CeedQFunctionContextRegisterGeneric()
94 ctx->field_labels[ctx->num_fields]->type = field_type; in CeedQFunctionContextRegisterGeneric()
95 ctx->field_labels[ctx->num_fields]->offset = field_offset; in CeedQFunctionContextRegisterGeneric()
96 ctx->field_labels[ctx->num_fields]->size = field_size * num_values; in CeedQFunctionContextRegisterGeneric()
97 ctx->field_labels[ctx->num_fields]->num_values = num_values; in CeedQFunctionContextRegisterGeneric()
98 ctx->num_fields++; in CeedQFunctionContextRegisterGeneric()
866 …Labels(CeedQFunctionContext ctx, const CeedContextFieldLabel **field_labels, CeedInt *num_fields) { in CeedQFunctionContextGetAllFieldLabels() argument
868 *num_fields = ctx->num_fields; in CeedQFunctionContextGetAllFieldLabels()
964 for (CeedInt i = 0; i < ctx->num_fields; i++) { in CeedQFunctionContextView()
1007 for (CeedInt i = 0; i < (*ctx)->num_fields; i++) { in CeedQFunctionContextDestroy()