Home
last modified time | relevance | path

Searched refs:val (Results 1 – 25 of 45) sorted by relevance

12

/cts/suite/audio_quality/lib/include/task/
DTaskCase.h62 inline Value(double val): mType(ETypeDouble) { in Value() argument
63 setDouble(val); in Value()
65 inline Value(int64_t val): mType(ETypeI64) { in Value() argument
66 setInt64(val); in Value()
74 inline void setDouble(double val) { in setDouble() argument
75 mValue[0] = val; in setDouble()
83 inline void setInt64(int64_t val) { in setInt64() argument
85 data[0] = val; in setInt64()
106 bool registerValue(const android::String8& name, Value& val);
107 bool updateValue(const android::String8& name, Value& val);
[all …]
/cts/suite/audio_quality/lib/src/audio/
DAudioSignalFactory.cpp34 double val = sin(multiplier * i) * maxPositive; in generateSineWave() local
35 *data = (int16_t)val; in generateSineWave()
38 *data = (int16_t)val; in generateSineWave()
57 int val = rand(); in generateWhiteNoise() local
58 val = (int16_t)((val - middle) * maxPositive / middle); in generateWhiteNoise()
59 *data = val; in generateWhiteNoise()
62 *data = val; in generateWhiteNoise()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_enter/
DTest_monitor_enter.java165 private int val; field in TestRunnable2
166 TestRunnable2(T_monitor_enter_2 t2, int val) { in TestRunnable2() argument
168 this.val = val; in TestRunnable2()
173 t2.run(val); in run()
/cts/suite/audio_quality/lib/src/
DSignalProcessingImpl.cpp143 TaskCase::Value* val = reinterpret_cast<TaskCase::Value*>(inputs[i]); in run() local
144 bool isI64 = (val->getType() == TaskCase::Value::ETypeI64); in run()
147 mBuffer.write<int64_t>(val->getInt64()); in run()
149 mBuffer.write<double>(val->getDouble()); in run()
221 TaskCase::Value* val = reinterpret_cast<TaskCase::Value*>(outputs[i]); in run() local
223 if (!read((char*)val->getPtr(), sizeof(int64_t))) { in run()
228 val->setType(TaskCase::Value::ETypeI64); in run()
230 val->setType(TaskCase::Value::ETypeDouble); in run()
/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
24 return val; in run()
DT_sget_2.d19 .field public static val F
24 sput v0, dot.junit.opcodes.sget.d.T_sget_2.val F
38 sget v1, dot.junit.opcodes.sget.d.T_sget_2.val F
/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
24 return val; in run()
DT_iget_2.java21 public float val = 123.0f; field in T_iget_2
24 return val; in run()
DT_iget_2.d19 .field public val F
32 iput v0, v1, dot.junit.opcodes.iget.d.T_iget_2.val F
40 iget v1, v3, dot.junit.opcodes.iget.d.T_iget_2.val F
DT_iget_9.d19 .field public val F
37 iget v1, v0, dot.junit.opcodes.iget.d.T_iget_9.val F
/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
24 return val; in run()
DT_invoke_static_4.d19 .field static val J
25 sput-wide v0, dot.junit.opcodes.invoke_static.d.T_invoke_static_4.val J
39 sget-wide v2, dot.junit.opcodes.invoke_static.d.T_invoke_static_4.val J
/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
24 return val; in run()
DT_sget_wide_2.d19 .field public static val D
24 sput-wide v0, dot.junit.opcodes.sget_wide.d.T_sget_wide_2.val D
38 sget-wide v1, dot.junit.opcodes.sget_wide.d.T_sget_wide_2.val D
/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
24 return val; in run()
DT_iget_wide_2.d19 .field public val D
27 iput-wide v0, v2, dot.junit.opcodes.iget_wide.d.T_iget_wide_2.val D
35 iget-wide v1, v3, dot.junit.opcodes.iget_wide.d.T_iget_wide_2.val D
/cts/suite/audio_quality/lib/src/task/
DTaskCase.cpp177 bool TaskCase::registerValue(const android::String8& orig, Value& val) in registerValue() argument
184 return registerGeneric<Value>(mValueList, translated, val); in registerValue()
187 bool TaskCase::updateValue(const android::String8& orig, Value& val) in updateValue() argument
193 return updateGeneric<Value>(mValueList, translated, val); in updateValue()
196 bool TaskCase::findValue(const android::String8& orig, Value& val) in findValue() argument
202 return findGeneric<Value>(mValueList, translated, val); in findValue()
224 bool TaskCase::findIndex(const android::String8& name, int& val) in findIndex() argument
226 return findGeneric<int>(mIndexList, name, val); in findIndex()
259 int val; in translateVarName() local
260 if (!findIndex(indexName, val)) { in translateVarName()
[all …]
/cts/tools/dasm/src/dasm/tokens/
Dnumber_token.java25 public number_token(int term_num, Number val) { in number_token() argument
27 number_val = val; in number_token()
/cts/tools/dasm/src/dasm/
DDAsm.java540 void addOpcode(String name, String val) throws DasmError { in addOpcode() argument
542 System.out.println("addOpcode(" + name + ", " + val + ")"); in addOpcode()
549 reg_num = getRegNumberFromString(val); in addOpcode()
552 + val + ")"); in addOpcode()
561 LabelTableEntry lte = labels_table.get(val); in addOpcode()
566 labels_table.put(val, lte); in addOpcode()
573 throwDasmError("Bad arguments for instruction " + name + "(" + val in addOpcode()
582 void addRelativeGoto(String name, int val) throws DasmError { in addRelativeGoto() argument
584 System.out.println("addRelativeGoto(" + name + ", " + val + ")"); in addRelativeGoto()
588 if (val == 0) in addRelativeGoto()
[all …]
/cts/suite/audio_quality/test_description/
Dprocessing_main.py101 val = self.readDouble()
102 inputData.append(val)
169 val = struct.unpack("<d", raw)
170 return val[0]
185 def sendDouble(self, val): argument
186 raw = struct.pack("<d", val)
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DDegreesTest.java72 double val = (double)in[idx] * (180.0 / Math.PI); in getRefArray() local
73 ref[idxRef] = (float)val; in getRefArray()
DRadiansTest.java72 double val = (double)in[idx] * (Math.PI / 180.0); in getRefArray() local
73 ref[idxRef] = (float)val; in getRefArray()
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Dearley-boyer.js106 function sc_putpropBang(sym, key, val) { argument
112 ht[key] = val;
617 function sc_setCarBang(p, val) { argument
618 p.car = val;
624 function sc_setCdrBang(p, val) { argument
625 p.cdr = val;
1050 function sc_isCharStringEqual(cs1, cs2) { return cs1.val === cs2.val; }
1051 function sc_isCharStringLess(cs1, cs2) { return cs1.val < cs2.val; }
1052 function sc_isCharStringGreater(cs1, cs2) { return cs1.val > cs2.val; }
1053 function sc_isCharStringLessEqual(cs1, cs2) { return cs1.val <= cs2.val; }
[all …]
/cts/suite/cts/deviceTests/filesystemperf/src/com/android/cts/filesystemperf/
DFileUtil.java52 int val = mRandom.nextInt(); in generateRandomData() local
55 buffer[i * 4] = (byte)(val & 0x000000ff); in generateRandomData()
56 buffer[i * 4 + 1] = (byte)((val & 0x0000ff00) >> 8); in generateRandomData()
57 buffer[i * 4 + 2] = (byte)((val & 0x00ff0000) >> 16); in generateRandomData()
58 buffer[i * 4 + 3] = (byte)((val & 0xff000000) >> 24); in generateRandomData()
59 val++; in generateRandomData()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct_range/
DTSuper.java23 public int val; field in TSuper

12