Searched refs:struct (Results 1 - 25 of 37) sorted by relevance

12

/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
H A Dbitfield.rs34 struct NoBitfield {
42 struct NoBitfield junk; // just to make this an exported type
45 struct Bitfield {
53 struct NoBitfield nbf;
54 struct Bitfield bf;
59 static struct NoBitfield *nbf;
60 static struct Bitfield * bf;
H A Dstruct_field.rs19 // Ensure that we can reflect correct Java code for a struct with
20 // multiple fields of type struct. Java sets the script global
25 struct InnerOne {
31 typedef struct InnerOne s_innerOne;
33 struct InnerTwo {
35 struct InnerOne innerOne;
38 struct Outer {
39 struct InnerOne innerOneA;
41 struct InnerOne innerOneB;
42 struct InnerTw
[all...]
H A Dkernel_struct.rs19 struct simpleStruct {
28 struct simpleStruct *ain;
29 struct simpleStruct *aout;
33 void init_vars(struct simpleStruct *out, uint32_t x) {
40 struct simpleStruct RS_KERNEL
41 root(struct simpleStruct in, uint32_t x) {
42 struct simpleStruct s;
H A Dstruct_field_simple.rs19 struct Simple {
24 struct Simple simple;
H A Drstypes.rs30 struct my_struct {
57 struct my_struct structTest;
H A Dstruct.rs19 typedef struct Point2 {
H A Dforeach_multi.rs19 struct RetStruct {
54 struct RetStruct RS_KERNEL
60 struct RetStruct retval;
156 struct RetStruct *result = (struct RetStruct*)rsGetElementAt(aout3, i);
H A Dsmall_struct.rs17 // Same as small_struct_2.rs except for location of padding in struct small_struct[_2].
30 typedef struct small_struct {
38 typedef struct struct_of_struct {
H A Dsmall_struct_2.rs17 // Same as small_struct.rs except for location of padding in struct small_struct[_2].
30 typedef struct small_struct_2 {
38 typedef struct struct_of_struct_2 {
H A Dsingle_source_ref_count.rs64 static struct testS {
/frameworks/rs/tests/lldb/java/Allocations/src/rs/
H A Dallocs.rs20 struct simpleStruct {
25 struct complexStruct {
26 struct simpleStruct s;
31 struct complexStruct *g_complexStruct_in;
32 struct complexStruct *g_complexStruct_out;
64 struct complexStruct __attribute__((kernel))
65 struct_kernel(struct complexStruct in, uint32_t x)
67 struct complexStruct complex_out;
68 struct simpleStruct simple_out;
/frameworks/base/services/net/java/android/net/netlink/
H A DStructNlMsgErr.java27 * struct nlmsgerr
46 final StructNlMsgErr struct = new StructNlMsgErr();
47 struct.error = byteBuffer.getInt();
48 struct.msg = StructNlMsgHdr.parse(byteBuffer);
49 return struct;
H A DStructNdaCacheInfo.java26 * struct nda_cacheinfo
46 final StructNdaCacheInfo struct = new StructNdaCacheInfo();
47 struct.ndm_used = byteBuffer.getInt();
48 struct.ndm_confirmed = byteBuffer.getInt();
49 struct.ndm_updated = byteBuffer.getInt();
50 struct.ndm_refcnt = byteBuffer.getInt();
51 return struct;
H A DStructNlAttr.java29 * struct nlattr
46 // This is used for scanning over a packed set of struct nlattr's,
55 final StructNlAttr struct = new StructNlAttr(byteBuffer.order());
60 struct.nla_len = byteBuffer.getShort();
61 struct.nla_type = byteBuffer.getShort();
67 if (struct.nla_len < NLA_HEADERLEN) {
71 return struct;
75 final StructNlAttr struct = peek(byteBuffer);
76 if (struct == null || byteBuffer.remaining() < struct
[all...]
H A DStructNlMsgHdr.java24 * struct nlmsghdr
87 final StructNlMsgHdr struct = new StructNlMsgHdr();
88 struct.nlmsg_len = byteBuffer.getInt();
89 struct.nlmsg_type = byteBuffer.getShort();
90 struct.nlmsg_flags = byteBuffer.getShort();
91 struct.nlmsg_seq = byteBuffer.getInt();
92 struct.nlmsg_pid = byteBuffer.getInt();
94 if (struct.nlmsg_len < STRUCT_SIZE) {
98 return struct;
H A DStructNdMsg.java25 * struct ndmsg
112 final StructNdMsg struct = new StructNdMsg();
113 struct.ndm_family = byteBuffer.get();
116 struct.ndm_ifindex = byteBuffer.getInt();
117 struct.ndm_state = byteBuffer.getShort();
118 struct.ndm_flags = byteBuffer.get();
119 struct.ndm_type = byteBuffer.get();
120 return struct;
/frameworks/rs/script_api/include/
H A Drs_object_types.rsh54 typedef struct rs_element _RS_OBJECT_DECL rs_element;
63 typedef struct rs_type _RS_OBJECT_DECL rs_type;
72 typedef struct rs_allocation _RS_OBJECT_DECL rs_allocation;
81 typedef struct rs_sampler _RS_OBJECT_DECL rs_sampler;
90 typedef struct rs_script _RS_OBJECT_DECL rs_script;
138 RS_TYPE_NONE = 0, // Element is a complex type, i.e. a struct.
H A Drs_time.rsh48 typedef struct {
H A Drs_value_types.rsh506 typedef struct {
518 typedef struct {
530 typedef struct {
/frameworks/hardware/interfaces/vr/composer/1.0/
H A DIVrComposerClient.hal27 struct BufferMetadata {
/frameworks/compile/slang/tests/P_reduce_general_struct/
H A DScriptC_reduce_general_struct.java.expect22 package struct;
28 import struct.reduce_general_structBitCode;
86 // ain1 = "/* struct <> */ val"
91 // ain1 = "/* struct <> */ val"
/frameworks/minikin/tools/
H A Dmk_hyb_file.py31 import struct namespace
127 return b''.join(struct.pack('B', x) for x in pattern)
316 return struct.pack('<6I', *data)
329 result = [struct.pack('<3I', 0, min_ch, max_ch + 1)]
331 result.append(struct.pack('<B', b))
335 result = [struct.pack('<2I', 1, len(ch_map))]
338 result.append(struct.pack('<I', data))
354 result = [struct.pack('<6I', 0, char_mask, link_shift, link_mask, pattern_shift, n_trie)]
373 result.append(struct.pack('<I', packed))
402 result = [struct
[all...]
/frameworks/compile/mclinker/lib/Support/Unix/
H A DSystem.inc28 struct utsname info;
/frameworks/rs/tests/lldb/java/Reduction/src/com/android/rs/lldbreductiontest/
H A Dreduce_common.rsh23 typedef struct MinUserType {
/frameworks/ml/nn/tools/test_generator/
H A Dvts_generator.py31 import struct namespace
119 binit += [int(x) for x in struct.pack(fmt, f)]

Completed in 334 milliseconds

12