Home
last modified time | relevance | path

Searched refs:new (Results 1 – 25 of 276) sorted by relevance

12345678910>>...12

/frameworks/compile/slang/tests/P_reduce_general_accumulator/
DScriptC_reduce_general_accumulator.java.expect52 int[] outArray = new int[1];
88 throw new RSIllegalArgumentException("Array \"in1\" is null!");
95 result.mTempIns = new Allocation[]{ain1};
108 throw new RSRuntimeException("Type mismatch with I32!");
112 reduce(mExportReduceIdx_my_half, new Allocation[]{ain1}, aout, sc);
113 return new result_int(aout);
121 throw new RSIllegalArgumentException("Array \"in1\" is null!");
128 result.mTempIns = new Allocation[]{ain1};
141 throw new RSRuntimeException("Type mismatch with I32!");
145 reduce(mExportReduceIdx_my_half2, new Allocation[]{ain1}, aout, sc);
[all …]
/frameworks/compile/slang/tests/P_reduce_general_input/
DScriptC_reduce_general_input.java.expect120 int[] outArray = new int[1];
156 throw new RSIllegalArgumentException("Array \"in1\" is null!");
163 result.mTempIns = new Allocation[]{ain1};
176 throw new RSRuntimeException("Type mismatch with F16!");
180 reduce(mExportReduceIdx_my_half_0, new Allocation[]{ain1}, aout, sc);
181 return new result_int(aout);
189 throw new RSIllegalArgumentException("Array \"in1\" is null!");
196 result.mTempIns = new Allocation[]{ain1};
209 throw new RSRuntimeException("Type mismatch with F16!");
213 reduce(mExportReduceIdx_my_half_1, new Allocation[]{ain1}, aout, sc);
[all …]
DScriptField_MyStruct.java.expect46 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
48 Element.Builder eb = new Element.Builder(rs);
76 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
90 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
91 Type.Builder b = new Type.Builder(rs, obj.mElement);
101 return new Type.Builder(rs, e);
105 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
108 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
121 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
127 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
[all …]
/frameworks/compile/slang/tests/P_reduce_general_inputs/
DScriptC_reduce_general_inputs.java.expect92 int[] outArray = new int[1];
129 throw new RSIllegalArgumentException("Array \"in1\" is null!");
136 throw new RSIllegalArgumentException("Array \"in2\" is null!");
140 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
147 result.mTempIns = new Allocation[]{ain1, ain2};
163 throw new RSRuntimeException("Type mismatch with F16!");
167 throw new RSRuntimeException("Type mismatch with F16!");
178 throw new RSRuntimeException("Dimension mismatch between parameters ain1 and ain2!");
183 reduce(mExportReduceIdx_my_half_half_0, new Allocation[]{ain1, ain2}, aout, sc);
184 return new result_int(aout);
[all …]
DScriptField_MyStruct.java.expect46 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
48 Element.Builder eb = new Element.Builder(rs);
76 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
90 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
91 Type.Builder b = new Type.Builder(rs, obj.mElement);
101 return new Type.Builder(rs, e);
105 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
108 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
121 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
127 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
[all …]
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptC_reduce_general_result.java.expect118 byte[] outArray = new byte[7];
120 boolean[] result = new boolean[7];
159 byte[] outArray = new byte[7];
195 byte[] outArray = new byte[14];
197 Byte2[] result = new Byte2[7];
199 result[Idx] = new Byte2(outArray[2*Idx+0], outArray[2*Idx+1]);
236 byte[] outArray = new byte[28];
238 Byte4[] result = new Byte4[7];
240 …result[Idx] = new Byte4(outArray[4*Idx+0], outArray[4*Idx+1], outArray[4*Idx+2], outArray[4*Idx+3]…
277 double[] outArray = new double[7];
[all …]
DScriptField_MyStruct.java.expect46 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
48 Element.Builder eb = new Element.Builder(rs);
76 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
90 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
91 Type.Builder b = new Type.Builder(rs, obj.mElement);
101 return new Type.Builder(rs, e);
105 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
108 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
121 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
127 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
[all …]
/frameworks/compile/slang/tests/P_struct_field/
DScriptField_Outer.java.expect45 innerOneA = new ScriptField_InnerOne.Item();
46 innerOneB = new ScriptField_InnerOne.Item();
47 innerTwo3 = new ScriptField_InnerTwo.Item[3];
49 innerTwo3[$ct] = new ScriptField_InnerTwo.Item();
52 innerTwo2 = new ScriptField_InnerTwo.Item[2];
54 innerTwo2[$ct] = new ScriptField_InnerTwo.Item();
57 innerOne4 = new ScriptField_InnerOne.Item[4];
59 innerOne4[$ct] = new ScriptField_InnerOne.Item();
62 innerOneC = new ScriptField_InnerOne.Item();
69 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
[all …]
DScriptField_InnerOne.java.expect47 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
49 Element.Builder eb = new Element.Builder(rs);
77 ScriptField_InnerOne obj = new ScriptField_InnerOne(rs);
91 ScriptField_InnerOne obj = new ScriptField_InnerOne(rs);
92 Type.Builder b = new Type.Builder(rs, obj.mElement);
102 return new Type.Builder(rs, e);
106 ScriptField_InnerOne obj = new ScriptField_InnerOne(rs);
109 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
122 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
128 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
[all …]
DScriptField_InnerTwo.java.expect40 innerOne = new ScriptField_InnerOne.Item();
47 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
49 Element.Builder eb = new Element.Builder(rs);
78 ScriptField_InnerTwo obj = new ScriptField_InnerTwo(rs);
92 ScriptField_InnerTwo obj = new ScriptField_InnerTwo(rs);
93 Type.Builder b = new Type.Builder(rs, obj.mElement);
103 return new Type.Builder(rs, e);
107 ScriptField_InnerTwo obj = new ScriptField_InnerTwo(rs);
110 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
125 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples/
DScriptC_reduce_general_examples.java.expect60 int[] outArray = new int[256];
62 long[] result = new long[256];
101 float[] outArray = new float[1];
137 int[] outArray = new int[1];
173 int[] outArray = new int[2];
175 mResult = new Int2(outArray[0], outArray[1]);
209 throw new RSIllegalArgumentException("Array \"in1\" is null!");
216 result.mTempIns = new Allocation[]{ain1};
229 throw new RSRuntimeException("Type mismatch with I32!");
233 reduce(mExportReduceIdx_addint, new Allocation[]{ain1}, aout, sc);
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
DScriptC_reduce_general_examples_backward.java.expect60 int[] outArray = new int[256];
62 long[] result = new long[256];
101 float[] outArray = new float[1];
137 int[] outArray = new int[1];
173 int[] outArray = new int[2];
175 mResult = new Int2(outArray[0], outArray[1]);
209 throw new RSIllegalArgumentException("Array \"in1\" is null!");
216 result.mTempIns = new Allocation[]{ain1};
229 throw new RSRuntimeException("Type mismatch with I32!");
233 reduce(mExportReduceIdx_addint, new Allocation[]{ain1}, aout, sc);
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/
DScriptC_reduce_general_examples_explicit.java.expect58 int[] outArray = new int[256];
60 long[] result = new long[256];
99 float[] outArray = new float[1];
135 int[] outArray = new int[1];
171 throw new RSIllegalArgumentException("Array \"in1\" is null!");
178 result.mTempIns = new Allocation[]{ain1};
191 throw new RSRuntimeException("Type mismatch with I32!");
195 reduce(mExportReduceIdx_addint_init, new Allocation[]{ain1}, aout, sc);
196 return new result_int(aout);
204 throw new RSIllegalArgumentException("Array \"in1\" is null!");
[all …]
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/
DScriptField_Divergent.java.expect44 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
46 Element.Builder eb = new Element.Builder(rs);
82 ScriptField_Divergent obj = new ScriptField_Divergent(rs);
96 ScriptField_Divergent obj = new ScriptField_Divergent(rs);
97 Type.Builder b = new Type.Builder(rs, obj.mElement);
107 return new Type.Builder(rs, e);
111 ScriptField_Divergent obj = new ScriptField_Divergent(rs);
114 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
129 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
135 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
[all …]
DScriptField_DivergentNest.java.expect38 d = new ScriptField_Divergent.Item();
45 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
47 Element.Builder eb = new Element.Builder(rs);
83 ScriptField_DivergentNest obj = new ScriptField_DivergentNest(rs);
97 ScriptField_DivergentNest obj = new ScriptField_DivergentNest(rs);
98 Type.Builder b = new Type.Builder(rs, obj.mElement);
108 return new Type.Builder(rs, e);
112 ScriptField_DivergentNest obj = new ScriptField_DivergentNest(rs);
115 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
134 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
[all …]
DScriptField_NonDivergent.java.expect43 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
45 Element.Builder eb = new Element.Builder(rs);
72 ScriptField_NonDivergent obj = new ScriptField_NonDivergent(rs);
86 ScriptField_NonDivergent obj = new ScriptField_NonDivergent(rs);
87 Type.Builder b = new Type.Builder(rs, obj.mElement);
97 return new Type.Builder(rs, e);
101 ScriptField_NonDivergent obj = new ScriptField_NonDivergent(rs);
104 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
116 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
122 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
[all …]
DScriptC_reflection3264_divergent.java.expect74 FieldPacker fp = new FieldPacker(40);
79 int []__dimArr = new int[1];
96 FieldPacker fp = new FieldPacker(16);
113 FieldPacker fp = new FieldPacker(160);
118 int []__dimArr = new int[1];
150 FieldPacker fp = new FieldPacker((RenderScript.getPointerSize() == 8) ? 320 : 40);
155 int []__dimArr = new int[1];
172 FieldPacker fp = new FieldPacker(8);
175 int []__dimArr = new int[1];
192 FieldPacker fp = new FieldPacker(80);
[all …]
/frameworks/compile/slang/tests/P_reflection3264_divergent/
DScriptField_NonDivergent.java.expect46 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
48 Element.Builder eb = new Element.Builder(rs);
75 ScriptField_NonDivergent obj = new ScriptField_NonDivergent(rs);
89 ScriptField_NonDivergent obj = new ScriptField_NonDivergent(rs);
90 Type.Builder b = new Type.Builder(rs, obj.mElement);
100 return new Type.Builder(rs, e);
104 ScriptField_NonDivergent obj = new ScriptField_NonDivergent(rs);
107 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
119 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
125 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
[all …]
DScriptField_Divergent.java.expect47 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
49 Element.Builder eb = new Element.Builder(rs);
85 ScriptField_Divergent obj = new ScriptField_Divergent(rs);
99 ScriptField_Divergent obj = new ScriptField_Divergent(rs);
100 Type.Builder b = new Type.Builder(rs, obj.mElement);
110 return new Type.Builder(rs, e);
114 ScriptField_Divergent obj = new ScriptField_Divergent(rs);
117 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
132 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
138 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
[all …]
DScriptField_DivergentNest.java.expect41 d = new ScriptField_Divergent.Item();
48 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
50 Element.Builder eb = new Element.Builder(rs);
86 ScriptField_DivergentNest obj = new ScriptField_DivergentNest(rs);
100 ScriptField_DivergentNest obj = new ScriptField_DivergentNest(rs);
101 Type.Builder b = new Type.Builder(rs, obj.mElement);
111 return new Type.Builder(rs, e);
115 ScriptField_DivergentNest obj = new ScriptField_DivergentNest(rs);
118 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
137 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
[all …]
DScriptC_reflection3264_divergent.java.expect77 FieldPacker fp = new FieldPacker(40);
82 int []__dimArr = new int[1];
99 FieldPacker fp = new FieldPacker(16);
116 FieldPacker fp = new FieldPacker(160);
121 int []__dimArr = new int[1];
153 FieldPacker fp = new FieldPacker(sIs64Bit ? 320 : 40);
158 int []__dimArr = new int[1];
175 FieldPacker fp = new FieldPacker(8);
178 int []__dimArr = new int[1];
195 FieldPacker fp = new FieldPacker(80);
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples_halter/
DScriptC_reduce_general_examples_halter.java.expect54 int[] outArray = new int[1];
90 int[] outArray = new int[2];
92 mResult = new Int2(outArray[0], outArray[1]);
126 throw new RSIllegalArgumentException("Array \"in1\" is null!");
133 result.mTempIns = new Allocation[]{ain1};
146 throw new RSRuntimeException("Type mismatch with I32!");
150 reduce(mExportReduceIdx_fz, new Allocation[]{ain1}, aout, sc);
151 return new result_int(aout);
159 throw new RSIllegalArgumentException("Array \"in1\" is null!");
166 result.mTempIns = new Allocation[]{ain1};
[all …]
/frameworks/compile/slang/tests/P_reduce_general_duplicate_array/
DScriptC_reduce_general_duplicate_array.java.expect52 int[] outArray = new int[4];
88 throw new RSIllegalArgumentException("Array \"in1\" is null!");
95 result.mTempIns = new Allocation[]{ain1};
108 throw new RSRuntimeException("Type mismatch with I32!");
112 reduce(mExportReduceIdx_sumDec, new Allocation[]{ain1}, aout, sc);
113 return new resultArray4_int(aout);
121 throw new RSIllegalArgumentException("Array \"in1\" is null!");
128 result.mTempIns = new Allocation[]{ain1};
141 throw new RSRuntimeException("Type mismatch with I32!");
145 reduce(mExportReduceIdx_sumInc, new Allocation[]{ain1}, aout, sc);
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyConfig.h121 mDefaultOutputDevice = new DeviceDescriptor(AUDIO_DEVICE_OUT_SPEAKER); in setDefault()
123 sp<DeviceDescriptor> defaultInputDevice = new DeviceDescriptor(AUDIO_DEVICE_IN_BUILTIN_MIC); in setDefault()
125 sp<AudioProfile> micProfile = new AudioProfile( in setDefault()
131 sp<HwModule> module = new HwModule(AUDIO_HARDWARE_MODULE_ID_PRIMARY, 2 /*halVersionMajor*/); in setDefault()
134 sp<OutputProfile> outProfile = new OutputProfile("primary"); in setDefault()
136 new AudioProfile(AUDIO_FORMAT_PCM_16_BIT, AUDIO_CHANNEL_OUT_STEREO, 44100)); in setDefault()
141 sp<InputProfile> inProfile = new InputProfile("primary"); in setDefault()
/frameworks/av/media/libstagefright/rtsp/
DMyTransmitter.h81 mConn(new ARTSPConnection), in MyTransmitter()
104 sp<AMessage> reply = new AMessage('conn', this); in MyTransmitter()
111 sp<MediaSource> source = new VideoSource(width, height); in MyTransmitter()
113 sp<AMessage> encMeta = new AMessage; in MyTransmitter()
121 sp<ALooper> encLooper = new ALooper; in MyTransmitter()
235 sp<AMessage> reply = new AMessage('anno', this); in issueAnnounce()
356 (new AMessage('quit', this))->post(); in onMessageReceived()
387 (new AMessage('quit', this))->post(); in onMessageReceived()
397 (new AMessage('quit', this))->post(); in onMessageReceived()
420 sp<AMessage> reply = new AMessage('setu', this); in onMessageReceived()
[all …]

12345678910>>...12