| /developtools/profiler/device/services/ipc/src/ |
| D | proto_encoder_plugin_generator.cpp | 179 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/ |
| D | proto_reader_plugin.cpp | 108 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 …]
|
| D | proto_reader_plugin.h | 93 std::string GetFieldNumberConstant(const FieldDescriptor* field);
|
| /developtools/profiler/device/plugins/ftrace_plugin/src/ |
| D | ftrace_parser.cpp | 134 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/ |
| D | ftrace_format_parser.py | 94 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 …]
|
| D | ftrace_proto_generator.py | 174 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/ |
| D | ftrace_processor.cpp | 302 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 …]
|
| D | ftrace_processor.h | 56 bool HandleFieldType(const std::string& type, FieldFormat& field);
|
| /developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/ |
| D | v4l2.proto | 28 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/ |
| D | v4l2.proto | 28 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/ |
| D | v4l2.proto | 28 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/ |
| D | ftrace_v4l2_event_formatter.cpp | 47 …__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/ |
| D | smaps_stats.cpp | 215 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/ |
| D | io_stats.cpp | 301 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/ |
| D | README.md | 108 # 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/ |
| D | compare.py | 88 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/ |
| D | compare.py | 88 for field, standard_field in fields, standard_fields: 89 if field>standard_field:
|
| /developtools/profiler/protos/types/plugins/diskio_data/ |
| D | diskio_plugin_config.proto | 21 int32 unspeci_fied = 1; // Reserved field, not used
|
| /developtools/smartperf_host/trace_streamer/src/protos/types/plugins/diskio_data/ |
| D | diskio_plugin_config.proto | 21 int32 unspeci_fied = 1; // Reserved field, not used
|
| /developtools/profiler/device/plugins/native_daemon/test/ |
| D | native_daemon.gni | 28 "-Wmissing-field-initializers",
|
| /developtools/profiler/protos/types/plugins/hilog_data/ |
| D | hilog_plugin_config.proto | 33 Type device_type = 1 [deprecated = true]; // deprecated field, not used.
|
| /developtools/integration_verification/tools/startup_guard/config_parser_mgr/cfg/ |
| D | config_parser.py | 261 for field in fields: 262 if json_node.get(field) : 263 self[field] = json_node.get(field)
|
| /developtools/hdc/ |
| D | hdc.gni | 30 "-Wmissing-field-initializers",
|
| /developtools/profiler/device/plugins/ftrace_plugin/include/ |
| D | ftrace_parser.h | 100 bool ParseFieldType(const std::string& type, FieldFormat& field); 102 static void ParseProtoType(FieldFormat& field);
|
| /developtools/ace_ets2bundle/ |
| D | README.md | 67 …` in the `pages` directory. And then add the following lines to `"pages"` field in `manifest.json`:
|