Home
last modified time | relevance | path

Searched refs:mOut (Results 1 – 17 of 17) sorted by relevance

/cts/libs/json/src/com/android/json/stream/
DJsonWriter.java129 protected final Writer mOut; field in JsonWriter
155 this.mOut = out; in JsonWriter()
221 mOut.write(openBracket); in open()
240 mOut.write(closeBracket); in close()
291 mOut.write("null"); in nullValue()
302 mOut.write(value ? "true" : "false"); in value()
318 mOut.append(Double.toString(value)); in value()
329 mOut.write(Long.toString(value)); in value()
338 mOut.flush(); in flush()
347 mOut.close(); in close()
[all …]
DNewlineDelimitedJsonWriter.java147 mOut.write(NEW_LINE); in newlineDelimited()
156 mOut.close(); in close()
181 mOut.append(','); in beforeValue()
186 mOut.append(mSeparator); in beforeValue()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DClearObjectTest.java42 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { in forEach() argument
45 ms_clear.forEach_clear_element(mOut); in forEach()
48 ms_clear.forEach_clear_type(mOut); in forEach()
51 ms_clear.forEach_clear_allocation(mOut); in forEach()
54 ms_clear.forEach_clear_sampler(mOut); in forEach()
57 ms_clear.forEach_clear_script(mOut); in forEach()
65 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testClearObjectElement() local
68 forEach(TEST_ID_ELEMENT, mIn, mOut); in testClearObjectElement()
72 mOut.copyTo(tmpArray); in testClearObjectElement()
78 mOut.destroy(); in testClearObjectElement()
[all …]
DSetObjectTest.java29 private Allocation mOut; field in SetObjectTest
59 if (mOut != null) { in tearDown()
60 mOut.destroy(); in tearDown()
79 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testSetObjectElement()
81 ms_set.forEach_set_object_element(mIn, mOut); in testSetObjectElement()
86 mOut.copyTo(tmpArray); in testSetObjectElement()
99 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testSetObjectType()
102 ms_set.forEach_set_object_type(mIn, mOut); in testSetObjectType()
107 mOut.copyTo(tmpArray); in testSetObjectType()
122 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testSetObjectAllocation()
[all …]
DIsObjectTest.java30 private Allocation mOut; field in IsObjectTest
58 if (mOut != null) { in tearDown()
59 mOut.destroy(); in tearDown()
78 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testIsObjectElement()
80 ms_is_object.forEach_is_object_element(mIn, mOut); in testIsObjectElement()
85 mOut.copyTo(tmpArray); in testIsObjectElement()
98 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testIsObjectType()
101 ms_is_object.forEach_is_object_type(mIn, mOut); in testIsObjectType()
106 mOut.copyTo(tmpArray); in testIsObjectType()
122 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testIsObjectAllocation()
[all …]
DGetElementAt.java28 private Allocation mOut; field in GetElementAt
37 if (mOut != null) { in tearDown()
38 mOut.destroy(); in tearDown()
53 public void forEach(int testId, Allocation mOut) throws RSRuntimeException { in forEach() argument
56 script_x.forEach_root(mOut); in forEach()
59 script_xy.forEach_root(mOut); in forEach()
78 mOut = Allocation.createTyped(mRS, gIn.getType()); in testX()
81 forEach(TEST_ID_X, mOut); in testX()
84 mOut.copyTo(out); in testX()
99 mOut = Allocation.createTyped(mRS, gIn.getType()); in testXY()
[all …]
DLaunchClip.java30 int[] mOut; field in LaunchClip
86 mOut = new int[t.getCount()]; in setup()
200 mAout.copyTo(mOut); in testWrite1D()
202 verifyRange(sc, mOut); in testWrite1D()
212 mAout.copyTo(mOut); in testWrite1DAdapter1D()
214 verifyRange(sc, mOut); in testWrite1DAdapter1D()
225 mAout.copyTo(mOut); in testWrite2D()
227 verifyRange(sc, mOut); in testWrite2D()
238 mAout.copyTo(mOut); in testWrite2DAdapter1D()
240 verifyRange(sc, mOut); in testWrite2DAdapter1D()
[all …]
DInitTest.java25 private Allocation mOut; field in InitTest
29 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { in forEach() argument
30 script.forEach_root(mIn, mOut); in forEach()
39 mOut= Allocation.createSized(mRS, Element.F32(mRS), INPUTSIZE); in testInitTest()
48 forEach(0, mIn, mOut); in testInitTest()
51 mOut.copyTo(out); in testInitTest()
55 mOut.destroy(); in testInitTest()
DAllocationResize.java27 private Allocation mOut; field in AllocationResize
31 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { in forEach() argument
32 mScript.forEach_root(mIn, mOut); in forEach()
42 mOut = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE*2); in testResize()
44 mOut.resize(INPUTSIZE); in testResize()
55 forEach(0, mIn, mOut); in testResize()
59 mOut.copyTo(outArray); in testResize()
DGetAllocationTest.java37 Allocation mOut = Allocation.createTyped(mRS, mTemp.getType()); in testGetAllocation() local
40 ms.set_alloc_out(mOut); in testGetAllocation()
44 mOut.copyTo(out); in testGetAllocation()
52 mOut.destroy(); in testGetAllocation()
DRsPackColorTo8888Test.java41 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { in forEach() argument
44 script_f32.forEach_pack_color_to_8888_rgb(mIn, mOut); in forEach()
47 script_f32.forEach_pack_color_to_8888_rgba(mIn, mOut); in forEach()
50 script_f32.forEach_pack_color_to_8888_f32_3(mIn, mOut); in forEach()
53 script_f32.forEach_pack_color_to_8888_f32_4(mIn, mOut); in forEach()
DallocationCopy2DRange.rscript8 rs_allocation mOut;
11 rsAllocationCopy2DRange(mOut, 0, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X,
DRsUnpackColor8888Test.java37 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { in forEach() argument
38 script.forEach_root(mIn, mOut); in forEach()
DRSBaseCompute.java408 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { in forEach() argument
/cts/tests/tests/rscpp/librscpptest/
Drs_jni_object.cpp50 sp<Allocation> mOut = Allocation::createSized(mRS, Element::I32(mRS), ObjectNum); in Java_android_cts_rscpp_RSObjectTest_testClearObjectElement() local
52 ms_clear->forEach_clear_element(mOut); in Java_android_cts_rscpp_RSObjectTest_testClearObjectElement()
55 mOut->copy1DTo(tmpArray); in Java_android_cts_rscpp_RSObjectTest_testClearObjectElement()
78 sp<Allocation> mOut = Allocation::createSized(mRS, Element::I32(mRS), ObjectNum); in Java_android_cts_rscpp_RSObjectTest_testClearObjectType() local
80 ms_clear->forEach_clear_type(mOut); in Java_android_cts_rscpp_RSObjectTest_testClearObjectType()
83 mOut->copy1DTo(tmpArray); in Java_android_cts_rscpp_RSObjectTest_testClearObjectType()
105 sp<Allocation> mOut = Allocation::createSized(mRS, Element::I32(mRS), ObjectNum); in Java_android_cts_rscpp_RSObjectTest_testClearObjectAllocation() local
109 ms_clear->forEach_clear_allocation(mOut); in Java_android_cts_rscpp_RSObjectTest_testClearObjectAllocation()
112 mOut->copy1DTo(tmpArray); in Java_android_cts_rscpp_RSObjectTest_testClearObjectAllocation()
136 sp<Allocation> mOut = Allocation::createSized(mRS, Element::I32(mRS), ObjectNum); in Java_android_cts_rscpp_RSObjectTest_testClearObjectSampler() local
[all …]
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2025/
DIPCThreadState.h128 Parcel mOut; variable
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java1435 private final UsbEndpoint mOut; field in UsbDeviceTestActivity.ReceiverThread
1458 mOut = out; in ReceiverThread()
1498 if (!request.getEndpoint().equals(mOut)) { in run()
1520 if (request.getEndpoint().equals(mOut)) { in run()