Home
last modified time | relevance | path

Searched refs:fields (Results 1 – 25 of 83) sorted by relevance

1234

/system/bt/gd/packet/parser/
DAndroid.bp4 "fields/array_field.cc",
5 "fields/vector_field.cc",
6 "fields/body_field.cc",
7 "fields/checksum_field.cc",
8 "fields/checksum_start_field.cc",
9 "fields/count_field.cc",
10 "fields/custom_field.cc",
11 "fields/custom_field_fixed_size.cc",
12 "fields/enum_field.cc",
13 "fields/fixed_enum_field.cc",
[all …]
DREADME12 extract the fields that are defined in the pdl file. Builders check the input
17 Checksum fields need to implement the following three static methods:
25 - Size fields for a variable length field MUST come before the definition
28 - Payload fields must be byte-aligned unless they have an unknown size.
29 Body fields are allowed to not be byte aligned.
33 - Can not have to fields with the same name anywhere in the in an inheritence chain
35 - Can't handle size for Body type fields yet since they might not be byte aligned.
56 Custom fields need the folowing functions:
Dstruct_def.h30 StructDef(std::string name, FieldList fields);
31 StructDef(std::string name, FieldList fields, StructDef* parent);
Dparent_def.h31 ParentDef(std::string name, FieldList fields);
32 ParentDef(std::string name, FieldList fields, ParentDef* parent);
Dpacket_def.h29 PacketDef(std::string name, FieldList fields);
30 PacketDef(std::string name, FieldList fields, PacketDef* parent);
Dstruct_def.cc22 StructDef::StructDef(std::string name, FieldList fields) : StructDef(name, fields, nullptr) {} in StructDef() argument
23 StructDef::StructDef(std::string name, FieldList fields, StructDef* parent) in StructDef() argument
24 : ParentDef(name, fields, parent), total_size_(GetSize(true)) {} in StructDef()
Dfield_list.h33 FieldList(std::vector<PacketField*> fields) { in FieldList() argument
34 for (PacketField* field : fields) { in FieldList()
/system/core/init/
Dmount_handler.cpp48 auto fields = android::base::Split(line, " "); in ParseMount() local
49 while (fields.size() < 3) fields.emplace_back(""); in ParseMount()
50 if (fields[0] == "/dev/root") { in ParseMount()
54 fields[0] = path; in ParseMount()
58 fields[0] = entry->blk_device; in ParseMount()
62 if (android::base::StartsWith(fields[0], "/dev/")) { in ParseMount()
63 if (std::string link; android::base::Readlink(fields[0], &link)) { in ParseMount()
64 fields[0] = link; in ParseMount()
67 return MountHandlerEntry(fields[0], fields[1], fields[2]); in ParseMount()
/system/core/storaged/
Dstoraged_uid_monitor.cpp61 std::vector<std::string> fields = Split(s, " "); in parse_uid_io_stats() local
62 if (fields.size() < 11 || in parse_uid_io_stats()
63 !ParseUint(fields[0], &uid) || in parse_uid_io_stats()
64 !ParseUint(fields[1], &io[FOREGROUND].rchar) || in parse_uid_io_stats()
65 !ParseUint(fields[2], &io[FOREGROUND].wchar) || in parse_uid_io_stats()
66 !ParseUint(fields[3], &io[FOREGROUND].read_bytes) || in parse_uid_io_stats()
67 !ParseUint(fields[4], &io[FOREGROUND].write_bytes) || in parse_uid_io_stats()
68 !ParseUint(fields[5], &io[BACKGROUND].rchar) || in parse_uid_io_stats()
69 !ParseUint(fields[6], &io[BACKGROUND].wchar) || in parse_uid_io_stats()
70 !ParseUint(fields[7], &io[BACKGROUND].read_bytes) || in parse_uid_io_stats()
[all …]
/system/timezone/
Dupdate-tzdata.py73 fields = line.split()
74 if fields:
75 if fields[0] == 'Link':
76 links.append('%s %s %s' % (fields[0], fields[1], fields[2]))
77 zones.append(fields[2])
78 elif fields[0] == 'Zone':
79 zones.append(fields[1])
/system/core/init/test_service/
Dtest_service.cpp48 std::map<std::string, std::string> fields; in main() local
56 fields[field] = value; in main()
64 auto f = fields.find(argv[i]); in main()
65 if (f != fields.end()) { in main()
/system/extras/simpleperf/
Dreport_lib_interface.cpp60 TracingFieldFormat* fields; member
130 std::vector<TracingFieldFormat> fields; member
402 tracing_info.field_names.resize(format.fields.size()); in CreateEvents()
403 tracing_info.fields.resize(format.fields.size()); in CreateEvents()
404 for (size_t i = 0; i < format.fields.size(); ++i) { in CreateEvents()
405 tracing_info.field_names[i] = format.fields[i].name; in CreateEvents()
406 TracingFieldFormat& field = tracing_info.fields[i]; in CreateEvents()
408 field.offset = format.fields[i].offset; in CreateEvents()
409 field.elem_size = format.fields[i].elem_size; in CreateEvents()
410 field.elem_count = format.fields[i].elem_count; in CreateEvents()
[all …]
Dtracing.h60 std::vector<TracingField> fields; member
76 for (const auto& field : fields) { in GetField()
83 return fields[0]; in GetField()
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DZoneTabFile.java52 String[] fields = mappingLine.split("\t"); in parse() local
53 if (fields.length < 3) { in parse()
56 CountryEntry countryEntry = new CountryEntry(fields[0], fields[2]); in parse()
/system/extras/libjsonpb/verify/
Dverify.cpp104 auto&& fields = in AllFieldsAreKnown()
114 if (json_value.size() != static_cast<size_t>(fields.size())) { in AllFieldsAreKnown()
116 << json_value.size() << " but message has size " << fields.size() in AllFieldsAreKnown()
122 std::unique_ptr<Message> scratch_space(fields.NewMessage()); in AllFieldsAreKnown()
123 for (int i = 0; i < fields.size(); ++i) { in AllFieldsAreKnown()
125 auto res = AllFieldsAreKnown(fields.Get(i, scratch_space.get()), in AllFieldsAreKnown()
/system/bt/gd/packet/parser/fields/
Dgroup_field.cc19 GroupField::GroupField(ParseLocation loc, std::list<PacketField*>* fields) in GroupField() argument
20 : PacketField("Groups have no name", loc), fields_(fields) {} in GroupField()
/system/iorap/src/serialize/
DTraceFile.proto15 syntax = "proto2"; // use required fields, which aren't in proto3.
21 // TODO: should these fields be 'packed' for "smaller encoding" ?
/system/extras/libjsonpb/parse/
DAndroid.bp23 // how to ignore unknown fields yet. Use it only for testing purposes.
24 // TODO(b/123664216): Make it understand unknown fields when libprotobuf is
/system/extras/libjsonpb/
DREADME.md7 unknown fields in a JSON file cannot be ignored. Do **NOT** use this library in
45 `libjsonpbparse` is updated to ignore unknown fields in JSON files, all parsing
56 - Whether there are fields unknown to the schema. All fields in the JSON file
91 - JSON arrays should be repeated fields.
/system/core/libpackagelistparser/
Dpackagelistparser.cpp71 int fields = in parse_line() local
82 if (fields < 6) { in parse_line()
/system/chre/apps/test/common/chre_cross_validator_wifi/src/
Dchre_cross_validator_wifi_manager.cc234 const pb_field_t *fields, in encodeAndSendMessageToHost() argument
237 if (!pb_get_encoded_size(&encodedSize, fields, message)) { in encodeAndSendMessageToHost()
245 if (!pb_encode(&ostream, fields, message)) { in encodeAndSendMessageToHost()
/system/extras/simpleperf/scripts/
Dprofile_pb2.py35 fields=[
157 fields=[
195 fields=[
240 fields=[
285 fields=[
379 fields=[
431 fields=[
469 fields=[
/system/media/camera/docs/
Dcamera_device_info.mako82 // Start of codegen fields
103 // End of codegen fields
/system/core/libstats/pull/include/
Dstats_pull_atom_callback.h98 int32_t* fields);
/system/update_engine/scripts/update_payload/
Dupdate_metadata_pb2.py93 fields=[
131 fields=[
168 fields=[
199 fields=[
237 fields=[
303 fields=[
391 fields=[
527 fields=[
572 fields=[
610 fields=[

1234