Home
last modified time | relevance | path

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

1234

/frameworks/rs/driver/runtime/ll64/
Dallocation.ll4 %struct.rs_allocation = type { i64*, i64*, i64*, i64* }
6 declare i8* @rsOffset(%struct.rs_allocation* nocapture readonly %a, i32 %sizeOf, i32 %x, i32 %y, i3…
7 declare i8* @rsOffsetNs(%struct.rs_allocation* nocapture readonly %a, i32 %x, i32 %y, i32 %z)
38 define void @rsSetElementAtImpl_char(%struct.rs_allocation* nocapture readonly %a, i8 signext %val,…
39 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 1, i32 %x, i32 %y, i32 %z) #2
44 define signext i8 @rsGetElementAtImpl_char(%struct.rs_allocation* nocapture readonly %a, i32 %x, i3…
45 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 1, i32 %x, i32 %y, i32 %z) #2
51 define void @rsSetElementAtImpl_char2(%struct.rs_allocation* nocapture readonly %a, i16 %val, i32 %…
52 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 2, i32 %x, i32 %y, i32 %z) #2
59 define <2 x i8> @rsGetElementAtImpl_char2(%struct.rs_allocation* nocapture readonly %a, i32 %x, i32…
[all …]
/frameworks/base/services/net/java/android/net/netlink/
DStructNlAttr.java55 final StructNlAttr struct = new StructNlAttr(byteBuffer.order()); in peek() local
60 struct.nla_len = byteBuffer.getShort(); in peek()
61 struct.nla_type = byteBuffer.getShort(); in peek()
67 if (struct.nla_len < NLA_HEADERLEN) { in peek()
71 return struct; in peek()
75 final StructNlAttr struct = peek(byteBuffer); in parse() local
76 if (struct == null || byteBuffer.remaining() < struct.getAlignedLength()) { in parse()
83 int valueLen = ((int) struct.nla_len) & 0xffff; in parse()
86 struct.nla_value = new byte[valueLen]; in parse()
87 byteBuffer.get(struct.nla_value, 0, valueLen); in parse()
[all …]
DStructNlMsgHdr.java87 final StructNlMsgHdr struct = new StructNlMsgHdr(); in parse() local
88 struct.nlmsg_len = byteBuffer.getInt(); in parse()
89 struct.nlmsg_type = byteBuffer.getShort(); in parse()
90 struct.nlmsg_flags = byteBuffer.getShort(); in parse()
91 struct.nlmsg_seq = byteBuffer.getInt(); in parse()
92 struct.nlmsg_pid = byteBuffer.getInt(); in parse()
94 if (struct.nlmsg_len < STRUCT_SIZE) { in parse()
98 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()
DStructNdMsg.java112 final StructNdMsg struct = new StructNdMsg(); in parse() local
113 struct.ndm_family = byteBuffer.get(); in parse()
116 struct.ndm_ifindex = byteBuffer.getInt(); in parse()
117 struct.ndm_state = byteBuffer.getShort(); in parse()
118 struct.ndm_flags = byteBuffer.get(); in parse()
119 struct.ndm_type = byteBuffer.get(); in parse()
120 return struct; in parse()
DStructNlMsgErr.java46 final StructNlMsgErr struct = new StructNlMsgErr(); in parse() local
47 struct.error = byteBuffer.getInt(); in parse()
48 struct.msg = StructNlMsgHdr.parse(byteBuffer); in parse()
49 return struct; in parse()
/frameworks/compile/libbcc/tests/libbcc/
Dtest_reduce_general_metadata.ll42 %struct.MinAndMax.0 = type { %struct.IndexedVal.1, %struct.IndexedVal.1 }
43 %struct.IndexedVal.1 = type { float, i32 }
45 …r = internal unnamed_addr constant %struct.MinAndMax.0 { %struct.IndexedVal.1 { float 0.000000e+00…
46struct.MinAndMax.0*)* @fMMInit to i8*), i8* bitcast (void (float*, float, float)* @dpAccum to i8*)…
89 define internal void @fMMInit(%struct.MinAndMax.0* nocapture %accum) #0 {
90 %1 = bitcast %struct.MinAndMax.0* %accum to i8*
91 ….p0i8.p0i8.i64(i8* %1, i8* bitcast (%struct.MinAndMax.0* @fMMInit.r to i8*), i64 16, i32 4, i1 fal…
99 define internal void @fMMAccumulator(%struct.MinAndMax.0* nocapture %accum, float %in, i32 %x) #0 {
100 %1 = getelementptr inbounds %struct.MinAndMax.0, %struct.MinAndMax.0* %accum, i64 0, i32 0, i32 0
107 %5 = getelementptr inbounds %struct.MinAndMax.0, %struct.MinAndMax.0* %accum, i64 0, i32 0, i32 1
[all …]
Dtest_reduce_general_cleanup.ll26 %struct.MinAndMax = type { %struct.IndexedVal, %struct.IndexedVal }
27 %struct.IndexedVal = type { float, i32 }
32 @.rs.reduce_fn.fMMInit = global i8* bitcast (void (%struct.MinAndMax*)* @fMMInit to i8*), align 4
33 @.rs.reduce_fn.fMMAccumulator = global i8* bitcast (void (%struct.MinAndMax*, float, i32)* @fMMAccu…
34 @.rs.reduce_fn.fMMCombiner = global i8* bitcast (void (%struct.MinAndMax*, %struct.MinAndMax*)* @fM…
35 @.rs.reduce_fn.fMMOutConverter = global i8* bitcast (void (<2 x i32>*, %struct.MinAndMax*)* @fMMOut…
78 define internal void @fMMInit(%struct.MinAndMax* nocapture %accum) #0 {
80 %2 = bitcast %struct.MinAndMax* %accum to i32*
82 %3 = getelementptr inbounds %struct.MinAndMax, %struct.MinAndMax* %accum, i32 0, i32 0, i32 1
85 %5 = getelementptr inbounds %struct.MinAndMax, %struct.MinAndMax* %accum, i32 0, i32 1
[all …]
Dtbaa-through-alloca.ll21 %struct.int5.0 = type { [5 x i32] }
24 define void @add1_int5(%struct.int5.0* noalias nocapture sret %agg.result, %struct.int5.0* nocaptur…
29 %2 = getelementptr inbounds %struct.int5.0, %struct.int5.0* %in, i64 0, i32 0, i64 %indvars.iv
30 ; CHECK: MayAlias: %load_from_input{{.*}} <-> store %struct.int5.0 %input, %struct.int5.0* %input_s…
39 %5 = bitcast %struct.int5.0* %agg.result to i8*
40 %6 = bitcast %struct.int5.0* %in to i8*
41 …tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* %5, i8* %6, i64 20, i32 4, i1 false), !tbaa.struct !…
/frameworks/rs/rsov/compiler/tests/rs_allocation/
Dgetdimx_64.ll20 %struct.rs_allocation.1 = type { i64*, i64*, i64*, i64* }
22 @g = common global %struct.rs_allocation.1 zeroinitializer, align 8
33 %tmp = alloca %struct.rs_allocation.1, align 8
34 %0 = bitcast %struct.rs_allocation.1* %tmp to i8*
35 …py.p0i8.p0i8.i64(i8* %0, i8* bitcast (%struct.rs_allocation.1* @g to i8*), i64 32, i32 8, i1 false…
36 %call = call i32 @_Z19rsAllocationGetDimX13rs_allocation(%struct.rs_allocation.1* %tmp) #0
40 declare i32 @_Z19rsAllocationGetDimX13rs_allocation(%struct.rs_allocation.1*) unnamed_addr
48 tail call void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation.1* @g) #0
52 declare void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation.1*) unnamed_addr
Dread_write.ll12 %struct.rs_allocation = type { i32* }
14 @r = common global %struct.rs_allocation zeroinitializer, align 4
15 @w = common global %struct.rs_allocation zeroinitializer, align 4
21 %.unpack = load i32, i32* bitcast (%struct.rs_allocation* @r to i32*), align 4
29 %.unpack6 = load i32, i32* bitcast (%struct.rs_allocation* @w to i32*), align 4
42 tail call void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation* nonnull @r) #2
43 tail call void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation* nonnull @w) #2
47 declare void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation*) #1
Dmulti_read.ll12 %struct.rs_allocation = type { i32* }
14 @a1 = common global %struct.rs_allocation zeroinitializer, align 4
15 @a2 = common global %struct.rs_allocation zeroinitializer, align 4
25 %.unpack = load i32, i32* bitcast (%struct.rs_allocation* @a1 to i32*), align 4
32 %.unpack16 = load i32, i32* bitcast (%struct.rs_allocation* @a2 to i32*), align 4
51 tail call void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation* nonnull @a1) #2
52 tail call void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation* nonnull @a2) #2
56 declare void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation*) #1
Daccess_same.ll12 %struct.rs_allocation = type { i32* }
14 @a1 = common global %struct.rs_allocation zeroinitializer, align 4
24 %.unpack = load i32, i32* bitcast (%struct.rs_allocation* @a1 to i32*), align 4
31 %.unpack14 = load i32, i32* bitcast (%struct.rs_allocation* @a1 to i32*), align 4
51 tail call void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation* nonnull @a1) #2
55 declare void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation*) #1
Dwrite.ll12 %struct.rs_allocation = type { i32* }
14 @alloc = common global %struct.rs_allocation zeroinitializer, align 4
24 %.unpack = load i32, i32* bitcast (%struct.rs_allocation* @alloc to i32*), align 4
35 tail call void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation* nonnull @alloc) #2
39 declare void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation*) #1
Dread.ll12 %struct.rs_allocation = type { i32* }
14 @alloc = common global %struct.rs_allocation zeroinitializer, align 4
24 %.unpack = load i32, i32* bitcast (%struct.rs_allocation* @alloc to i32*), align 4
42 tail call void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation* nonnull @alloc) #2
46 declare void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation*) #1
Drewrite_getdim.ll20 %struct.rs_allocation = type { i32* }
22 @g = common global %struct.rs_allocation zeroinitializer, align 4
33 %.unpack = load i32, i32* bitcast (%struct.rs_allocation* @g to i32*), align 4
44 tail call void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation* nonnull @g) #2
48 declare void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation*) local_unnamed_addr #1
Dgetdimx.ll12 %struct.rs_allocation = type { i32* }
29 @g = common global %struct.rs_allocation zeroinitializer, align 4
49 tail call void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation* nonnull @g) #2
53 declare void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation*) local_unnamed_addr #1
/frameworks/minikin/tools/
Dmk_hyb_file.py31 import struct
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.pack('<4I', *data)]
[all …]
/frameworks/compile/slang/tests/F_reflection3264_struct_mismatch/
Dstderr.txt.expect1 … error: global variable 'aa' has type 'int' for 32-bit targets but type 'struct t' for 64-bit targ…
2 … error: global variable 'bb' has type 'int' for 32-bit targets but type 'struct q' for 64-bit targ…
3 … error: global variable 'cc' has type 'int' for 32-bit targets but type 'struct b' for 64-bit targ…
4 reflection3264_struct_mismatch.rs:22:5: error: global variable 'dd' has type 'struct j' for 32-bit …
5 reflection3264_struct_mismatch.rs:23:5: error: global variable 'ee' has type 'struct f' for 32-bit …
6 reflection3264_struct_mismatch.rs:24:5: error: global variable 'ff' has type 'struct o' for 32-bit …
/frameworks/compile/slang/tests/F_incompatible_handles/
Dstderr.txt.expect1 …rror: assigning to 'rs_allocation' (aka 'struct rs_allocation') from incompatible type 'rs_element…
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
Dballs.rsh2 typedef struct __attribute__((packed, aligned(4))) Ball {
15 typedef struct BallGrid {
/frameworks/compile/slang/tests/F_reduce_general_bad_accumulator/
Dstderr.txt.expect5 …ete)' (reduce_general_bad_accumulator.rs:27:12) parameter 'accum' (type 'struct Incomplete *') mus…
6 …Out)' (reduce_general_bad_accumulator.rs:32:12) parameter 'accum' (type 'struct Incomplete *') mus…
12 …Obj)' (reduce_general_bad_accumulator.rs:54:12) parameter 'accum' (type 'struct rs_element *') mus…
13 …Out)' (reduce_general_bad_accumulator.rs:59:12) parameter 'accum' (type 'struct rs_element *') mus…
/frameworks/compile/slang/tests/F_fs_types/
Dfs_types.fs6 struct s {
13 struct s myS;
/frameworks/compile/slang/tests/P_reduce_general_struct/
DScriptC_reduce_general_struct.java.expect22 package struct;
28 import struct.reduce_general_structBitCode;
86 // ain1 = "/* struct <> */ val"
91 // ain1 = "/* struct <> */ val"
/frameworks/compile/slang/tests/F_reduce_general_bad_result/
Dstderr.txt.expect15 …(redAlloc)' (reduce_general_bad_result.rs:214:12) parameter 'out' (type 'struct rs_allocation *') …
16 …llocArray)' (reduce_general_bad_result.rs:222:12) parameter 'out' (type 'struct rs_allocation (*)[…
17 …StructObj)' (reduce_general_bad_result.rs:234:12) parameter 'out' (type 'struct StructObj1 *') mus…
18 …tObjArray)' (reduce_general_bad_result.rs:247:12) parameter 'out' (type 'struct StructObj2 (*)[10]…
28 …ncomplete)' (reduce_general_bad_result.rs:383:12) parameter 'out' (type 'struct Incomplete *') mus…

1234