Lines Matching refs:JAVA
15 // RUN: %scriptc-filecheck-wrapper --lang=Java --type=small_struct --check-prefix=CHECK-JAVA-STRUCT…
16 // CHECK-JAVA-STRUCT: public static Element createElement(RenderScript rs) {
17 // CHECK-JAVA-STRUCT-NEXT: Element.Builder eb = new Element.Builder(rs);
18 // CHECK-JAVA-STRUCT-NEXT: eb.add(Element.I32(rs), "i");
19 // CHECK-JAVA-STRUCT-NEXT: eb.add(Element.U32(rs), "#rs_padding_1");
20 // CHECK-JAVA-STRUCT-NEXT: eb.add(Element.I64(rs), "l");
21 // CHECK-JAVA-STRUCT-NEXT: return eb.create();
22 // CHECK-JAVA-STRUCT-NEXT: }
24 // RUN: %scriptc-filecheck-wrapper --lang=Java --check-prefix=CHECK-JAVA-INVOKE %s
25 // CHECK-JAVA-INVOKE: public void invoke_checkStruct(int argI, long argL) {
26 // CHECK-JAVA-INVOKE-NEXT: FieldPacker checkStruct_fp = new FieldPacker(16);
27 // CHECK-JAVA-INVOKE-NEXT: checkStruct_fp.addI32(argI);
28 // CHECK-JAVA-INVOKE-NEXT: checkStruct_fp.skip(4);
29 // CHECK-JAVA-INVOKE-NEXT: checkStruct_fp.addI64(argL);
30 // CHECK-JAVA-INVOKE-NEXT: invoke(mExportFuncIdx_checkStruct, checkStruct_fp);
31 // CHECK-JAVA-INVOKE-NEXT: }