Lines Matching refs:fields
60 TracingFieldFormat* fields; member
129 std::vector<TracingFieldFormat> fields; member
380 tracing_info.field_names.resize(format.fields.size()); in CreateEvents()
381 tracing_info.fields.resize(format.fields.size()); in CreateEvents()
382 for (size_t i = 0; i < format.fields.size(); ++i) { in CreateEvents()
383 tracing_info.field_names[i] = format.fields[i].name; in CreateEvents()
384 TracingFieldFormat& field = tracing_info.fields[i]; in CreateEvents()
386 field.offset = format.fields[i].offset; in CreateEvents()
387 field.elem_size = format.fields[i].elem_size; in CreateEvents()
388 field.elem_count = format.fields[i].elem_count; in CreateEvents()
389 field.is_signed = format.fields[i].is_signed; in CreateEvents()
391 if (tracing_info.fields.empty()) { in CreateEvents()
394 TracingFieldFormat& field = tracing_info.fields.back(); in CreateEvents()
397 tracing_info.data_format.field_count = tracing_info.fields.size(); in CreateEvents()
398 tracing_info.data_format.fields = &tracing_info.fields[0]; in CreateEvents()
402 tracing_info.data_format.fields = nullptr; in CreateEvents()