Home
last modified time | relevance | path

Searched refs:field (Results 1 – 25 of 33) sorted by relevance

12

/developtools/profiler/device/services/ipc/src/
Dproto_encoder_plugin_generator.cpp179 const FieldDescriptor* field = message->field(i); in GenerateFieldsID() local
181 "name", field->name(), "id", std::to_string(field->number())); in GenerateFieldsID()
189 const FieldDescriptor* field = message->field(i); in GenerateFunction() local
190 if (field->type() == FieldDescriptor::TYPE_MESSAGE) { in GenerateFunction()
192 "mora", field->is_repeated()?"add":"mutable", in GenerateFunction()
193 "typename", field->message_type()->name(), in GenerateFunction()
194 "name", Tolowercase(field->name())); in GenerateFunction()
198 "typename", field->message_type()->name(), in GenerateFunction()
199 "name", field->name()); in GenerateFunction()
202 } else if (field->type() == FieldDescriptor::TYPE_BYTES) { in GenerateFunction()
[all …]
/developtools/smartperf_host/trace_streamer/src/proto_reader/protoc_plugin/
Dproto_reader_plugin.cpp108 if (descriptor->field(i)->type() == FieldDescriptor::TYPE_MESSAGE) { in ParserDependencies()
109 if (!publicImports_.count(descriptor->field(i)->message_type()->file())) { in ParserDependencies()
110 referencedMessages_.insert(descriptor->field(i)->message_type()); in ParserDependencies()
112 } else if (descriptor->field(i)->type() == FieldDescriptor::TYPE_ENUM) { in ParserDependencies()
113 if (!publicImports_.count(descriptor->field(i)->enum_type()->file())) { in ParserDependencies()
114 referencedEnums_.insert(descriptor->field(i)->enum_type()); in ParserDependencies()
212 const FieldDescriptor* field = descriptor->field(i); in WriteDecoder() local
213 maxFieldID = std::max(maxFieldID, field->number()); in WriteDecoder()
249 const FieldDescriptor* field = descriptor->field(i); in WriteEnum() local
250 codePrinter_->Print("$name$ = $id$,\n", "name", GetFieldNumberConstant(field), "id", in WriteEnum()
[all …]
Dproto_reader_plugin.h93 std::string GetFieldNumberConstant(const FieldDescriptor* field);
/developtools/profiler/device/plugins/ftrace_plugin/src/
Dftrace_parser.cpp134 for (auto& field : format.fields) { in ParseHeaderPageFormat() local
135 if (field.name == "timestamp") { in ParseHeaderPageFormat()
136 pageHeaderFormat_.timestamp = field; in ParseHeaderPageFormat()
137 } else if (field.name == "commit") { in ParseHeaderPageFormat()
138 pageHeaderFormat_.commit = field; in ParseHeaderPageFormat()
140 } else if (field.name == "overwrite") { in ParseHeaderPageFormat()
141 pageHeaderFormat_.overwrite = field; in ParseHeaderPageFormat()
326 static bool ParseSepcialIntType(FieldFormat& field, const std::string& type, const std::string& typ… in ParseSepcialIntType() argument
329 field.filedType = FIELD_TYPE_BOOL; in ParseSepcialIntType()
334 if (field.size == sizeof(uint32_t)) { in ParseSepcialIntType()
[all …]
/developtools/profiler/device/plugins/ftrace_plugin/tools/
Dftrace_format_parser.py94 def __init__(self, event, field, name, offset, size, signed): argument
96 self.field = field
104 self.event, self.field, self.name, self.offset, self.size, self.signed
120 re.match(r"char\s+\w+\[\d*\]", self.field)
121 or re.match(r"char\s*\*\s*\w+", self.field)
122 or re.findall(r"char\s*\*\s*", self.field)
123 or re.findall(r"char\[\]", self.field)
124 or re.findall(r"char\s*\w+\[.*\]", self.field)
125 or re.match(r"__u8\s+\w+\[\d+\]", self.field)
126 or re.match(r"__u8\s+\w+\[.*]", self.field)
[all …]
Dftrace_proto_generator.py174 for field in event_format.remain_fields:
175 type_string = field.to_proto_type().to_string()
176 field_name = fix_field_name(field.name)
177 Common.logger.debug(" {}: {}".format(field, type_string))
/developtools/smartperf_host/trace_streamer/src/parser/rawtrace_parser/
Dftrace_processor.cpp302 static bool ParseSepcialIntType(FieldFormat& field, const std::string& type, const std::string& typ… in ParseSepcialIntType() argument
305 field.filedType = FIELD_TYPE_BOOL; in ParseSepcialIntType()
310 if (field.size == sizeof(uint32_t)) { in ParseSepcialIntType()
311 field.filedType = FIELD_TYPE_INODE32; in ParseSepcialIntType()
313 } else if (field.size == sizeof(uint64_t)) { in ParseSepcialIntType()
314 field.filedType = FIELD_TYPE_INODE64; in ParseSepcialIntType()
320 if (field.size == sizeof(uint32_t)) { in ParseSepcialIntType()
321 field.filedType = FIELD_TYPE_DEVID32; in ParseSepcialIntType()
323 } else if (field.size == sizeof(uint64_t)) { in ParseSepcialIntType()
324 field.filedType = FIELD_TYPE_DEVID64; in ParseSepcialIntType()
[all …]
Dftrace_processor.h56 bool HandleFieldType(const std::string& type, FieldFormat& field);
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/
Dv4l2.proto28 uint32 field = 6; field
50 uint32 field = 6; field
69 uint32 field = 3; field
88 uint32 field = 3; field
107 uint32 field = 3; field
126 uint32 field = 3; field
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/default/
Dv4l2.proto28 uint32 field = 6; field
50 uint32 field = 6; field
69 uint32 field = 3; field
88 uint32 field = 3; field
107 uint32 field = 3; field
126 uint32 field = 3; field
/developtools/profiler/protos/types/plugins/ftrace_data/default/
Dv4l2.proto28 uint32 field = 6; field
50 uint32 field = 6; field
69 uint32 field = 3; field
88 uint32 field = 3; field
107 uint32 field = 3; field
126 uint32 field = 3; field
/developtools/profiler/device/plugins/ftrace_plugin/tools/device_kernel_version/default/event_formatters/
Dftrace_v4l2_event_formatter.cpp47 …__print_symbolic(msg.field(), {0, "ANY"}, {1, "NONE"}, {2, "TOP"}, {3, "BOTTOM"}, {4, "INTERLACED"… in __anon7fb2947d0302()
83 …__print_symbolic(msg.field(), {0, "ANY"}, {1, "NONE"}, {2, "TOP"}, {3, "BOTTOM"}, {4, "INTERLACED"… in __anon7fb2947d0502()
114 …__print_symbolic(msg.field(), {0, "ANY"}, {1, "NONE"}, {2, "TOP"}, {3, "BOTTOM"}, {4, "INTERLACED"… in __anon7fb2947d0702()
145 …__print_symbolic(msg.field(), {0, "ANY"}, {1, "NONE"}, {2, "TOP"}, {3, "BOTTOM"}, {4, "INTERLACED"… in __anon7fb2947d0902()
177 …__print_symbolic(msg.field(), {0, "ANY"}, {1, "NONE"}, {2, "TOP"}, {3, "BOTTOM"}, {4, "INTERLACED"… in __anon7fb2947d0b02()
208 …__print_symbolic(msg.field(), {0, "ANY"}, {1, "NONE"}, {2, "TOP"}, {3, "BOTTOM"}, {4, "INTERLACED"… in __anon7fb2947d0d02()
/developtools/profiler/device/plugins/memory_plugin/src/
Dsmaps_stats.cpp215 char field[64]; in GetMemUsageField() local
219 int ret = sscanf_s(pLine, "%63s %n", field, sizeof(field), &len); in GetMemUsageField()
220 if (ret == 1 && *field && field[strlen(field) - 1] == ':') { in GetMemUsageField()
222 std::string strfield(field); in GetMemUsageField()
223 switch (field[0]) { in GetMemUsageField()
/developtools/profiler/device/plugins/diskio_plugin/src/
Dio_stats.cpp301 char field[64]; in ParseLineFields() local
303 int ret = sscanf_s(pTmp, "%63s %n", field, sizeof(field), &len); in ParseLineFields()
304 if (ret == 1 && *field) { in ParseLineFields()
305 name = std::string(field, strlen(field)); in ParseLineFields()
/developtools/syscap_codec/
DREADME.md108 # check syscap field in all components for consistency with arraySyscap in syscap_define.h
111 # check that the SYSCAP field in bundle.json of the specified part is consistent with arraySyscap i…
114 # check the consistency of the syscap field of all components with the "@syscap" property set in *.…
/developtools/integration_verification/cases/smoke/basic/screenshot32/APL_compare_03/
Dcompare.py88 for field, standard_field in fields, standard_fields:
89 if field>standard_field:
/developtools/integration_verification/cases/smoke/basic/screenshot32/xdevice_smoke/APL_compare_03/
Dcompare.py88 for field, standard_field in fields, standard_fields:
89 if field>standard_field:
/developtools/profiler/protos/types/plugins/diskio_data/
Ddiskio_plugin_config.proto21 int32 unspeci_fied = 1; // Reserved field, not used
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/diskio_data/
Ddiskio_plugin_config.proto21 int32 unspeci_fied = 1; // Reserved field, not used
/developtools/profiler/device/plugins/native_daemon/test/
Dnative_daemon.gni28 "-Wmissing-field-initializers",
/developtools/profiler/protos/types/plugins/hilog_data/
Dhilog_plugin_config.proto33 Type device_type = 1 [deprecated = true]; // deprecated field, not used.
/developtools/integration_verification/tools/startup_guard/config_parser_mgr/cfg/
Dconfig_parser.py261 for field in fields:
262 if json_node.get(field) :
263 self[field] = json_node.get(field)
/developtools/hdc/
Dhdc.gni30 "-Wmissing-field-initializers",
/developtools/profiler/device/plugins/ftrace_plugin/include/
Dftrace_parser.h100 bool ParseFieldType(const std::string& type, FieldFormat& field);
102 static void ParseProtoType(FieldFormat& field);
/developtools/ace_ets2bundle/
DREADME.md67 …` in the `pages` directory. And then add the following lines to `"pages"` field in `manifest.json`:

12