Home
last modified time | relevance | path

Searched refs:struct (Results 1 – 14 of 14) sorted by relevance

/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DStructNlAttr.java52 final StructNlAttr struct = new StructNlAttr(byteBuffer.order()); in peek() local
57 struct.nla_len = byteBuffer.getShort(); in peek()
58 struct.nla_type = byteBuffer.getShort(); in peek()
64 if (struct.nla_len < NLA_HEADERLEN) { in peek()
68 return struct; in peek()
72 final StructNlAttr struct = peek(byteBuffer); in parse() local
73 if (struct == null || byteBuffer.remaining() < struct.getAlignedLength()) { in parse()
80 int valueLen = ((int) struct.nla_len) & 0xffff; in parse()
83 struct.nla_value = new byte[valueLen]; in parse()
84 byteBuffer.get(struct.nla_value, 0, valueLen); in parse()
[all …]
DStructNlMsgHdr.java86 final StructNlMsgHdr struct = new StructNlMsgHdr(); in parse() local
87 struct.nlmsg_len = byteBuffer.getInt(); in parse()
88 struct.nlmsg_type = byteBuffer.getShort(); in parse()
89 struct.nlmsg_flags = byteBuffer.getShort(); in parse()
90 struct.nlmsg_seq = byteBuffer.getInt(); in parse()
91 struct.nlmsg_pid = byteBuffer.getInt(); in parse()
93 if (struct.nlmsg_len < STRUCT_SIZE) { in parse()
97 return struct; in parse()
DStructNdMsg.java111 final StructNdMsg struct = new StructNdMsg(); in parse() local
112 struct.ndm_family = byteBuffer.get(); in parse()
115 struct.ndm_ifindex = byteBuffer.getInt(); in parse()
116 struct.ndm_state = byteBuffer.getShort(); in parse()
117 struct.ndm_flags = byteBuffer.get(); in parse()
118 struct.ndm_type = byteBuffer.get(); in parse()
119 return struct; in parse()
DStructNdaCacheInfo.java46 final StructNdaCacheInfo struct = new StructNdaCacheInfo(); in parse() local
47 struct.ndm_used = byteBuffer.getInt(); in parse()
48 struct.ndm_confirmed = byteBuffer.getInt(); in parse()
49 struct.ndm_updated = byteBuffer.getInt(); in parse()
50 struct.ndm_refcnt = byteBuffer.getInt(); in parse()
51 return struct; in parse()
DStructNlMsgErr.java42 final StructNlMsgErr struct = new StructNlMsgErr(); in parse() local
43 struct.error = byteBuffer.getInt(); in parse()
44 struct.msg = StructNlMsgHdr.parse(byteBuffer); in parse()
45 return struct; in parse()
DStructInetDiagMsg.java48 StructInetDiagMsg struct = new StructInetDiagMsg(); in parse() local
49 struct.idiag_uid = byteBuffer.getInt(IDIAG_UID_OFFSET); in parse()
50 return struct; in parse()
/packages/services/Car/tools/hidl_parser/
Dparser.py165 def __init__(self, struct): argument
166 self.name = struct.header.name
167 self.struct = struct
170 return self.struct.__str__()
303 for struct in t[2]:
304 if not isinstance(struct, StructDecl): continue
305 structs[struct.header.name] = struct
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dencoding.md42 struct UTF8;
45 struct UTF16;
48 struct UTF16LE;
51 struct UTF16BE;
54 struct UTF32;
57 struct UTF32LE;
60 struct UTF32BE;
Dsax.md62 struct MyHandler {
302 struct MessageHandler
411 struct CapitalizeFilter {
DDoxyfile.in386 # When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or
387 # enum is documented as struct, union, or enum with the name of the typedef. So
388 # typedef struct TypeS {} TypeT, will appear in the documentation as a struct
390 # namespace, or class. And the struct will be named TypeS. This can typically be
484 # (class|struct|union) declarations. If set to NO these declarations will be
/packages/services/Car/tools/emulator/
Dvhal_emulator.py82 import struct
119 msgHdr = struct.pack('!I', msgLen)
158 msgLen, = struct.unpack('!I', b)
/packages/modules/DnsResolver/
DREADME-DoT.md14 `DnsTlsTransport` for each server (represented by a `DnsTlsServer` struct) and
52 The query method writes a struct (containing a pointer to the query) to the pipe
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile276 # When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum
277 # is documented as struct, union, or enum with the name of the typedef. So
278 # typedef struct TypeS {} TypeT, will appear in the documentation as a struct
280 # namespace, or class. And the struct will be named TypeS. This can typically
360 # friend (class|struct|union) declarations.
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile276 # When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum
277 # is documented as struct, union, or enum with the name of the typedef. So
278 # typedef struct TypeS {} TypeT, will appear in the documentation as a struct
280 # namespace, or class. And the struct will be named TypeS. This can typically
360 # friend (class|struct|union) declarations.