Home
last modified time | relevance | path

Searched defs:val (Results 1 – 25 of 73) sorted by relevance

123

/cts/tests/tests/proto/src/android/util/proto/cts/
DProtoOutputStreamSwitchedWriteTest.java43 abstract void write(Number val, long fieldId, ProtoOutputStream po); in write()
151 public void write(Number val, long fieldId, ProtoOutputStream po) { in SWITCHED.add()
157 public void write(Number val, long fieldId, ProtoOutputStream po) { in SWITCHED.add()
163 public void write(Number val, long fieldId, ProtoOutputStream po) { in SWITCHED.add()
169 public void write(Number val, long fieldId, ProtoOutputStream po) { in SWITCHED.add()
175 private static void testAWrite(Number val, long fieldId, in testAWrite()
195 public static void testWrites(Number val) { in testWrites()
262 private void testString(int id, String val, in testString()
285 private void testRepeatedString(int id, String val, in testRepeatedString()
DProtoOutputStreamBoolTest.java74 public void testWriteCompat(boolean val) throws Exception { in testWriteCompat()
82 po.writeBool(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testWriteCompat() local
149 public void testRepeatedCompat(boolean[] val) throws Exception { in testRepeatedCompat()
158 po.writeRepeatedBool(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val[i]); in testRepeatedCompat() local
191 private void writePackedBool(ProtoOutputStream po, int fieldId, boolean val) { in writePackedBool()
235 public void testPackedCompat(boolean[] val) throws Exception { in testPackedCompat()
243 po.writePackedBool(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testPackedCompat() local
DProtoOutputStreamFixed32Test.java89 public void testWriteCompat(int val) throws Exception { in testWriteCompat()
97 po.writeFixed32(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testWriteCompat() local
188 public void testRepeatedCompat(int[] val) throws Exception { in testRepeatedCompat()
197 po.writeRepeatedFixed32(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val[i]); in testRepeatedCompat() local
230 private void writePackedFixed32(ProtoOutputStream po, int fieldId, int val) { in writePackedFixed32()
291 public void testPackedCompat(int[] val) throws Exception { in testPackedCompat()
299 po.writePackedFixed32(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testPackedCompat() local
DProtoOutputStreamSFixed32Test.java89 public void testWriteCompat(int val) throws Exception { in testWriteCompat()
97 po.writeSFixed32(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testWriteCompat() local
188 public void testRepeatedCompat(int[] val) throws Exception { in testRepeatedCompat()
197 po.writeRepeatedSFixed32(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val[i]); in testRepeatedCompat() local
230 private void writePackedSFixed32(ProtoOutputStream po, int fieldId, int val) { in writePackedSFixed32()
292 public void testPackedCompat(int[] val) throws Exception { in testPackedCompat()
300 po.writePackedSFixed32(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testPackedCompat() local
DProtoOutputStreamInt32Test.java91 public void testWriteCompat(int val) throws Exception { in testWriteCompat()
99 po.writeInt32(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testWriteCompat() local
194 public void testRepeatedCompat(int[] val) throws Exception { in testRepeatedCompat()
203 po.writeRepeatedInt32(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val[i]); in testRepeatedCompat() local
236 private void writePackedInt32(ProtoOutputStream po, int fieldId, int val) { in writePackedInt32()
307 public void testPackedCompat(int[] val) throws Exception { in testPackedCompat()
315 po.writePackedInt32(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testPackedCompat() local
DProtoOutputStreamFloatTest.java125 public void testWriteCompat(float val) throws Exception { in testWriteCompat()
133 po.writeFloat(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testWriteCompat() local
259 public void testRepeatedCompat(float[] val) throws Exception { in testRepeatedCompat()
268 po.writeRepeatedFloat(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val[i]); in testRepeatedCompat() local
301 private void writePackedFloat(ProtoOutputStream po, int fieldId, float val) { in writePackedFloat()
389 public void testPackedCompat(float[] val) throws Exception { in testPackedCompat()
397 po.writePackedFloat(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testPackedCompat() local
DProtoOutputStreamEnumTest.java94 public void testWriteCompat(int val) throws Exception { in testWriteCompat()
102 po.writeEnum(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testWriteCompat() local
200 public void testRepeatedCompat(int[] val) throws Exception { in testRepeatedCompat()
209 po.writeRepeatedEnum(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val[i]); in testRepeatedCompat() local
246 private void writePackedEnum(ProtoOutputStream po, int fieldId, int val) { in writePackedEnum()
320 public void testPackedCompat(int[] val) throws Exception { in testPackedCompat()
328 po.writePackedEnum(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testPackedCompat() local
DProtoOutputStreamFixed64Test.java106 public void testWriteCompat(long val) throws Exception { in testWriteCompat()
114 po.writeFixed64(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testWriteCompat() local
237 public void testRepeatedCompat(long[] val) throws Exception { in testRepeatedCompat()
246 po.writeRepeatedFixed64(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val[i]); in testRepeatedCompat() local
279 private void writePackedFixed64(ProtoOutputStream po, int fieldId, long val) { in writePackedFixed64()
368 public void testPackedCompat(long[] val) throws Exception { in testPackedCompat()
376 po.writePackedFixed64(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testPackedCompat() local
DProtoOutputStreamSInt32Test.java89 public void testWriteCompat(int val) throws Exception { in testWriteCompat()
97 po.writeSInt32(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testWriteCompat() local
188 public void testRepeatedCompat(int[] val) throws Exception { in testRepeatedCompat()
197 po.writeRepeatedSInt32(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val[i]); in testRepeatedCompat() local
230 private void writePackedSInt32(ProtoOutputStream po, int fieldId, int val) { in writePackedSInt32()
291 public void testPackedCompat(int[] val) throws Exception { in testPackedCompat()
299 po.writePackedSInt32(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testPackedCompat() local
DProtoOutputStreamInt64Test.java103 public void testWriteCompat(long val) throws Exception { in testWriteCompat()
111 po.writeInt64(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testWriteCompat() local
227 public void testRepeatedCompat(long[] val) throws Exception { in testRepeatedCompat()
236 po.writeRepeatedInt64(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val[i]); in testRepeatedCompat() local
269 private void writePackedInt64(ProtoOutputStream po, int fieldId, long val) { in writePackedInt64()
360 public void testPackedCompat(long[] val) throws Exception { in testPackedCompat()
368 po.writePackedInt64(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testPackedCompat() local
DProtoOutputStreamUInt64Test.java103 public void testWriteCompat(long val) throws Exception { in testWriteCompat()
111 po.writeUInt64(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testWriteCompat() local
227 public void testRepeatedCompat(long[] val) throws Exception { in testRepeatedCompat()
236 po.writeRepeatedUInt64(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val[i]); in testRepeatedCompat() local
269 private void writePackedUInt64(ProtoOutputStream po, int fieldId, long val) { in writePackedUInt64()
360 public void testPackedCompat(long[] val) throws Exception { in testPackedCompat()
368 po.writePackedUInt64(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testPackedCompat() local
DProtoOutputStreamSFixed64Test.java106 public void testWriteCompat(long val) throws Exception { in testWriteCompat()
114 po.writeSFixed64(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testWriteCompat() local
236 public void testRepeatedCompat(long[] val) throws Exception { in testRepeatedCompat()
245 po.writeRepeatedSFixed64(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val[i]); in testRepeatedCompat() local
278 private void writePackedSFixed64(ProtoOutputStream po, int fieldId, long val) { in writePackedSFixed64()
367 public void testPackedCompat(long[] val) throws Exception { in testPackedCompat()
375 po.writePackedSFixed64(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testPackedCompat() local
DProtoOutputStreamDoubleTest.java131 public void testWriteCompat(double val) throws Exception { in testWriteCompat()
139 po.writeDouble(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testWriteCompat() local
283 public void testRepeatedCompat(double[] val) throws Exception { in testRepeatedCompat()
292 po.writeRepeatedDouble(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val[i]); in testRepeatedCompat() local
325 private void writePackedDouble(ProtoOutputStream po, int fieldId, double val) { in writePackedDouble()
429 public void testPackedCompat(double[] val) throws Exception { in testPackedCompat()
437 po.writePackedDouble(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testPackedCompat() local
DProtoOutputStreamUInt32Test.java89 public void testWriteCompat(int val) throws Exception { in testWriteCompat()
97 po.writeUInt32(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testWriteCompat() local
188 public void testRepeatedCompat(int[] val) throws Exception { in testRepeatedCompat()
197 po.writeRepeatedUInt32(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val[i]); in testRepeatedCompat() local
230 private void writePackedUInt32(ProtoOutputStream po, int fieldId, int val) { in writePackedUInt32()
291 public void testPackedCompat(int[] val) throws Exception { in testPackedCompat()
299 po.writePackedUInt32(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testPackedCompat() local
DProtoOutputStreamSInt64Test.java102 public void testWriteCompat(long val) throws Exception { in testWriteCompat()
110 po.writeSInt64(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testWriteCompat() local
223 public void testRepeatedCompat(long[] val) throws Exception { in testRepeatedCompat()
232 po.writeRepeatedSInt64(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val[i]); in testRepeatedCompat() local
265 private void writePackedSInt64(ProtoOutputStream po, int fieldId, long val) { in writePackedSInt64()
345 public void testPackedCompat(long[] val) throws Exception { in testPackedCompat()
353 po.writePackedSInt64(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testPackedCompat() local
DProtoOutputStreamBytesTest.java89 public void testWriteCompat(byte[] val) throws Exception { in testWriteCompat()
97 po.writeBytes(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testWriteCompat() local
193 public void testRepeatedCompat(byte[][] val) throws Exception { in testRepeatedCompat()
202 po.writeRepeatedBytes(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val[i]); in testRepeatedCompat() local
DProtoOutputStreamStringTest.java127 public void testWriteCompat(String val) throws Exception { in testWriteCompat()
135 po.writeString(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testWriteCompat() local
225 public void testRepeatedCompat(String[] val) throws Exception { in testRepeatedCompat()
234 po.writeRepeatedString(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val[i]); in testRepeatedCompat() local
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DFloat16Utils.java42 static boolean isFloat16NaN(short val) { in isFloat16NaN()
48 static boolean isFloat16Infinite(short val) { in isFloat16Infinite()
54 static boolean isFloat16SubNormal(short val) { in isFloat16SubNormal()
59 static boolean isFloat16Zero(short val) { in isFloat16Zero()
64 static boolean isFloat16Negative(short val) { in isFloat16Negative()
69 static boolean isFloat16FiniteNonZero(short val) { in isFloat16FiniteNonZero()
73 static float convertFloat16ToFloat(short val) { in convertFloat16ToFloat()
103 static double convertFloat16ToDouble(short val) { in convertFloat16ToDouble()
/cts/suite/audio_quality/lib/include/task/
DTaskCase.h62 inline explicit Value(double val): mType(ETypeDouble) { in Value()
65 inline explicit Value(int64_t val): mType(ETypeI64) { in Value()
74 inline void setDouble(double val) { in setDouble()
83 inline void setInt64(int64_t val) { in setInt64()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_wide/d/
DT_iget_wide_2.java21 public double val = 123.0d; field in T_iget_wide_2
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget/d/
DT_sget_2.java21 public static float val = 123.0f; field in T_sget_2
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_static/d/
DT_invoke_static_4.java21 static long val = 123456789l; field in T_invoke_static_4
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget/d/
DT_iget_9.java21 public float val = 123.0f; field in T_iget_9
DT_iget_2.java21 public float val = 123.0f; field in T_iget_2
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_wide/d/
DT_sget_wide_2.java21 public static double val = 123.0d; field in T_sget_wide_2

123