/developtools/profiler/device/services/ipc/src/ |
H A 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() 187 // field->is_repeated() in GenerateFunction() 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 in GenerateFunction() 307 GetParamType(const FieldDescriptor* field) GetParamType() argument 342 GetInnerType(const FieldDescriptor* field, bool packed = false) GetInnerType() argument [all...] |
/developtools/profiler/device/plugins/ftrace_plugin/src/ |
H A D | ftrace_parser.cpp | 115 for (auto& field : format.fields) { in ParseHeaderPageFormat() 116 if (field.name == "timestamp") { in ParseHeaderPageFormat() 117 pageHeaderFormat_.timestamp = field; in ParseHeaderPageFormat() 118 } else if (field.name == "commit") { in ParseHeaderPageFormat() 119 pageHeaderFormat_.commit = field; in ParseHeaderPageFormat() 121 } else if (field.name == "overwrite") { in ParseHeaderPageFormat() 122 pageHeaderFormat_.overwrite = field; in ParseHeaderPageFormat() 126 CHECK_TRUE(commitFound, false, "commit field not found!"); in ParseHeaderPageFormat() 132 // return the size value of commit field read from events/header_page in GetHeaderPageCommitSize() 139 std::string fieldLinePrefix = "field in ParseEventFormat() 251 ParseSepcialIntType(FieldFormat& field, const std::string& type, const std::string& typeName) ParseSepcialIntType() argument 291 ParseCommonIntType(FieldFormat& field, bool sign) ParseCommonIntType() argument 312 ParseKernelAddrField(FieldFormat& field, const std::string& type) ParseKernelAddrField() argument 326 ParseFieldType(const std::string& type, FieldFormat& field) ParseFieldType() argument 369 ParseProtoType(FieldFormat& field) ParseProtoType() argument [all...] |
/developtools/smartperf_host/trace_streamer/src/proto_reader/protoc_plugin/ |
H A 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 in WriteEnum() local 261 const FieldDescriptor *field = descriptor->field(i); WriteFunc() local 311 GetFieldNumberConstant(const FieldDescriptor *field) GetFieldNumberConstant() argument [all...] |
H A D | proto_reader_plugin.h | 93 std::string GetFieldNumberConstant(const FieldDescriptor *field);
|
/developtools/profiler/device/plugins/ftrace_plugin/tools/ |
H A D | ftrace_format_parser.py | 94 def __init__(self, event, field, name, offset, size, signed): 96 self.field = field 104 self.event, self.field, self.name, self.offset, self.size, self.signed 115 Common.logger.fatal("zero size field {}!".format(self)) 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) [all...] |
H A 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/ |
H A D | ftrace_processor.cpp | 116 TS_CHECK_TRUE(commitExist, false, "commit field not exist!"); in HandleHeaderPageFormat() 122 // return the size value (8B on 64bit device, 4B on 32bit device) of commit field read from events/header_page in HeaderPageCommitSize() 272 if (fieldName == "field") { in HandleFieldFormat() 303 static bool ParseSepcialIntType(FieldFormat &field, const std::string &type, const std::string &typeName) in ParseSepcialIntType() argument 306 field.filedType = FIELD_TYPE_BOOL; in ParseSepcialIntType() 311 if (field.size == sizeof(uint32_t)) { in ParseSepcialIntType() 312 field.filedType = FIELD_TYPE_INODE32; in ParseSepcialIntType() 314 } else if (field.size == sizeof(uint64_t)) { in ParseSepcialIntType() 315 field.filedType = FIELD_TYPE_INODE64; in ParseSepcialIntType() 321 if (field in ParseSepcialIntType() 343 ParseCommonIntType(FieldFormat &field, bool sign) ParseCommonIntType() argument 364 ParseKernelAddrField(FieldFormat &field, const std::string &type) ParseKernelAddrField() argument 378 HandleFieldType(const std::string &type, FieldFormat &field) HandleFieldType() argument [all...] |
H A D | ftrace_processor.h | 73 bool HandleFieldType(const std::string &type, FieldFormat &field); 114 const std::string fieldLinePrefix_ = "field:";
|
/developtools/integration_verification/tools/opensource_tools/src/ |
H A D | generate_readme_opensource.py | 25 for field in fields: 26 value = ask_question(f"{field}: ") 27 component[field] = value
|
H A D | validate_readme_opensource.py | 59 for field in REQUIRED_FIELDS: 60 if field not in component: 61 errors.append(f"Component {idx + 1} is missing required field: {field}") 112 logging.error(f"{readme_path}: Missing 'Name' field in software data.") 126 for field in ["Name", "License", "Version Number", "Upstream URL"]: 127 expected_value = reference_data.get(field) 128 actual_value = software_data.get(field) 131 f"{readme_path}: Field '{field}' mismatch for '{name}'. Expected: '{expected_value}', Found: '{actual_value}'" 148 logging.error(f"{readme_path}: 'License File' field i [all...] |
/developtools/profiler/device/plugins/memory_plugin/src/ |
H A D | smaps_stats.cpp | 216 char field[64]; in GetMemUsageField() local 219 int ret = sscanf_s(pLine, "%63s %n", field, sizeof(field), &len); in GetMemUsageField() 220 size_t dataIndex = strlen(field) > 1 ? strlen(field) - 1 : 0; in GetMemUsageField() 221 if (ret == 1 && *field && field[dataIndex] == ':') { in GetMemUsageField() 223 std::string strfield(field); in GetMemUsageField() 224 switch (field[0]) { in GetMemUsageField()
|
/developtools/profiler/device/plugins/diskio_plugin/src/ |
H A 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/profiler/device/plugins/ftrace_plugin/tools/device_kernel_version/default/event_formatters/ |
H A D | ftrace_v4l2_event_formatter.cpp | 32 "v4l2_dqbuf: minor = %d, index = %u, type = %s, bytesused = %u, flags = %s, field = %s, timestamp = " 47 __print_symbolic(msg.field(), {0, "ANY"}, {1, "NONE"}, {2, "TOP"}, {3, "BOTTOM"}, {4, "INTERLACED"}, 69 "v4l2_qbuf: minor = %d, index = %u, type = %s, bytesused = %u, flags = %s, field = %s, timestamp = %" PRIu64 83 __print_symbolic(msg.field(), {0, "ANY"}, {1, "NONE"}, {2, "TOP"}, {3, "BOTTOM"}, {4, "INTERLACED"}, 105 "vb2_v4l2_buf_done: minor=%d flags = %s, field = %s, timestamp = %" PRIu64 114 __print_symbolic(msg.field(), {0, "ANY"}, {1, "NONE"}, {2, "TOP"}, {3, "BOTTOM"}, {4, "INTERLACED"}, 136 "vb2_v4l2_buf_queue: minor=%d flags = %s, field = %s, timestamp = %" PRIu64 145 __print_symbolic(msg.field(), {0, "ANY"}, {1, "NONE"}, {2, "TOP"}, {3, "BOTTOM"}, {4, "INTERLACED"}, 168 "vb2_v4l2_dqbuf: minor=%d flags = %s, field = %s, timestamp = %" PRIu64 177 __print_symbolic(msg.field(), { [all...] |
/developtools/integration_verification/tools/startup_guard/config_parser_mgr/cfg/ |
H A D | config_parser.py | 281 for field in fields: 282 if json_node.get(field) : 283 self[field] = json_node.get(field)
|
/developtools/profiler/device/plugins/ftrace_plugin/include/ |
H A D | ftrace_parser.h | 100 bool ParseFieldType(const std::string& type, FieldFormat& field); 101 static void ParseProtoType(FieldFormat& field);
|
/developtools/profiler/device/plugins/ftrace_plugin/tools/device_kernel_version/default/ |
H A D | ftrace_cpp_generator.py | 751 field_info.field.startswith("char {}[".format(field_name)) 752 | field_info.field.startswith("const char {}[".format(field_name)) 753 | field_info.field.startswith("char *") 754 | field_info.field.startswith("const char *")
|
/developtools/hdc/hdc_rust/src/cffi/ |
H A D | serial_struct_define.h | 563 message.Visit([&](const auto &field) { WriteField(value, field, out); }); 718 message.Visit([&](const auto &field) { ReadField(value, tag, wireType, field, in); });
|
/developtools/hdc/src/common/ |
H A D | serial_struct_define.h | 560 message.Visit([&](const auto &field) { WriteField(value, field, out); }); 715 message.Visit([&](const auto &field) { ReadField(value, tag, wireType, field, in); });
|
/developtools/profiler/hiebpf/include/ |
H A D | vmlinux.h | 29591 struct ftrace_event_field *field; member 30078 struct ftrace_event_field *field; member 97553 struct acpi_object_region_field field; global() member 133640 __le32 field[4]; global() member 139571 int field; global() member 139576 int field; global() member [all...] |