Lines Matching refs:field_label

284 …tFieldLabel(CeedQFunctionContext ctx, const char *field_name, CeedContextFieldLabel *field_label) {  in CeedQFunctionContextGetFieldLabel()  argument
290 *field_label = ctx->field_labels[field_index]; in CeedQFunctionContextGetFieldLabel()
292 *field_label = NULL; in CeedQFunctionContextGetFieldLabel()
309 int CeedQFunctionContextSetGeneric(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, Cee… in CeedQFunctionContextSetGeneric() argument
314 …CeedCheck(field_label->type == field_type, CeedQFunctionContextReturnCeed(ctx), CEED_ERROR_UNSUPPO… in CeedQFunctionContextSetGeneric()
315 …QFunctionContext field with name \"%s\" registered as %s, not registered as %s", field_label->name, in CeedQFunctionContextSetGeneric()
316 CeedContextFieldTypes[field_label->type], CeedContextFieldTypes[field_type]); in CeedQFunctionContextSetGeneric()
319 is_different = memcmp(&data[field_label->offset], values, field_label->size); in CeedQFunctionContextSetGeneric()
323 memcpy(&data[field_label->offset], values, field_label->size); in CeedQFunctionContextSetGeneric()
342 int CeedQFunctionContextGetGenericRead(CeedQFunctionContext ctx, CeedContextFieldLabel field_label,… in CeedQFunctionContextGetGenericRead() argument
347 …CeedCheck(field_label->type == field_type, CeedQFunctionContextReturnCeed(ctx), CEED_ERROR_UNSUPPO… in CeedQFunctionContextGetGenericRead()
348 …QFunctionContext field with name \"%s\" registered as %s, not registered as %s", field_label->name, in CeedQFunctionContextGetGenericRead()
349 CeedContextFieldTypes[field_label->type], CeedContextFieldTypes[field_type]); in CeedQFunctionContextGetGenericRead()
352 *(void **)values = &data[field_label->offset]; in CeedQFunctionContextGetGenericRead()
355 *num_values = field_label->size / sizeof(int); in CeedQFunctionContextGetGenericRead()
358 *num_values = field_label->size / sizeof(double); in CeedQFunctionContextGetGenericRead()
361 *num_values = field_label->size / sizeof(bool); in CeedQFunctionContextGetGenericRead()
379 …textRestoreGenericRead(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, CeedContextFie… in CeedQFunctionContextRestoreGenericRead() argument
382 …CeedCheck(field_label->type == field_type, CeedQFunctionContextReturnCeed(ctx), CEED_ERROR_UNSUPPO… in CeedQFunctionContextRestoreGenericRead()
383 …QFunctionContext field with name \"%s\" registered as %s, not registered as %s", field_label->name, in CeedQFunctionContextRestoreGenericRead()
384 CeedContextFieldTypes[field_label->type], CeedContextFieldTypes[field_type]); in CeedQFunctionContextRestoreGenericRead()
401 int CeedQFunctionContextSetDouble(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, doub… in CeedQFunctionContextSetDouble() argument
402 …CeedCheck(field_label, CeedQFunctionContextReturnCeed(ctx), CEED_ERROR_UNSUPPORTED, "Invalid field… in CeedQFunctionContextSetDouble()
403 CeedCall(CeedQFunctionContextSetGeneric(ctx, field_label, CEED_CONTEXT_FIELD_DOUBLE, values)); in CeedQFunctionContextSetDouble()
419 int CeedQFunctionContextGetDoubleRead(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, … in CeedQFunctionContextGetDoubleRead() argument
420 …CeedCheck(field_label, CeedQFunctionContextReturnCeed(ctx), CEED_ERROR_UNSUPPORTED, "Invalid field… in CeedQFunctionContextGetDoubleRead()
421 …CeedCall(CeedQFunctionContextGetGenericRead(ctx, field_label, CEED_CONTEXT_FIELD_DOUBLE, num_value… in CeedQFunctionContextGetDoubleRead()
436 …ntextRestoreDoubleRead(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, const double *… in CeedQFunctionContextRestoreDoubleRead() argument
437 …CeedCheck(field_label, CeedQFunctionContextReturnCeed(ctx), CEED_ERROR_UNSUPPORTED, "Invalid field… in CeedQFunctionContextRestoreDoubleRead()
438 …CeedCall(CeedQFunctionContextRestoreGenericRead(ctx, field_label, CEED_CONTEXT_FIELD_DOUBLE, value… in CeedQFunctionContextRestoreDoubleRead()
453 int CeedQFunctionContextSetInt32(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, int32… in CeedQFunctionContextSetInt32() argument
454 …CeedCheck(field_label, CeedQFunctionContextReturnCeed(ctx), CEED_ERROR_UNSUPPORTED, "Invalid field… in CeedQFunctionContextSetInt32()
455 CeedCall(CeedQFunctionContextSetGeneric(ctx, field_label, CEED_CONTEXT_FIELD_INT32, values)); in CeedQFunctionContextSetInt32()
471 int CeedQFunctionContextGetInt32Read(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, s… in CeedQFunctionContextGetInt32Read() argument
472 …CeedCheck(field_label, CeedQFunctionContextReturnCeed(ctx), CEED_ERROR_UNSUPPORTED, "Invalid field… in CeedQFunctionContextGetInt32Read()
473 …CeedCall(CeedQFunctionContextGetGenericRead(ctx, field_label, CEED_CONTEXT_FIELD_INT32, num_values… in CeedQFunctionContextGetInt32Read()
488 …ontextRestoreInt32Read(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, const int32_t … in CeedQFunctionContextRestoreInt32Read() argument
489 …CeedCheck(field_label, CeedQFunctionContextReturnCeed(ctx), CEED_ERROR_UNSUPPORTED, "Invalid field… in CeedQFunctionContextRestoreInt32Read()
490 …CeedCall(CeedQFunctionContextRestoreGenericRead(ctx, field_label, CEED_CONTEXT_FIELD_INT32, values… in CeedQFunctionContextRestoreInt32Read()
505 int CeedQFunctionContextSetBoolean(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, boo… in CeedQFunctionContextSetBoolean() argument
506 …CeedCheck(field_label, CeedQFunctionContextReturnCeed(ctx), CEED_ERROR_UNSUPPORTED, "Invalid field… in CeedQFunctionContextSetBoolean()
507 CeedCall(CeedQFunctionContextSetGeneric(ctx, field_label, CEED_CONTEXT_FIELD_BOOL, values)); in CeedQFunctionContextSetBoolean()
523 int CeedQFunctionContextGetBooleanRead(CeedQFunctionContext ctx, CeedContextFieldLabel field_label,… in CeedQFunctionContextGetBooleanRead() argument
524 …CeedCheck(field_label, CeedQFunctionContextReturnCeed(ctx), CEED_ERROR_UNSUPPORTED, "Invalid field… in CeedQFunctionContextGetBooleanRead()
525 …CeedCall(CeedQFunctionContextGetGenericRead(ctx, field_label, CEED_CONTEXT_FIELD_BOOL, num_values,… in CeedQFunctionContextGetBooleanRead()
540 …textRestoreBooleanRead(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, const bool **v… in CeedQFunctionContextRestoreBooleanRead() argument
541 …CeedCheck(field_label, CeedQFunctionContextReturnCeed(ctx), CEED_ERROR_UNSUPPORTED, "Invalid field… in CeedQFunctionContextRestoreBooleanRead()
542 …CeedCall(CeedQFunctionContextRestoreGenericRead(ctx, field_label, CEED_CONTEXT_FIELD_BOOL, values)… in CeedQFunctionContextRestoreBooleanRead()