/external/v8/test/webkit/ |
D | math-transforms-expected.txt | 29 PASS values.someInt * 1 is +values.someInt 30 PASS values.someInt * 1 is 42 31 PASS 1 * values.someInt is +values.someInt 32 PASS 1 * values.someInt is 42 33 PASS values.someFloat * 1 is +values.someFloat 34 PASS values.someFloat * 1 is 42.42 35 PASS 1 * values.someFloat is +values.someFloat 36 PASS 1 * values.someFloat is 42.42 37 PASS values.one * 1 is +values.one 38 PASS values.one * 1 is 1 [all …]
|
D | math-transforms.js | 30 var values = { variable 49 for (var name in values) { 53 shouldBe("values." + name + " * 1", stringify(values[numForStr])); 56 shouldBe("1 * values." + name, stringify(values[numForStr])); 59 for (var name1 in values) { 61 for (var name2 in values) { 65 … shouldBe("+values." + name1 + " * values." + name2, stringify(values[name1] * values[name2])); 67 … shouldBe("values." + name1 + " * +values." + name2, stringify(values[name1] * values[name2])); 69 … shouldBe("+values." + name1 + " * +values." + name2, stringify(values[name1] * values[name2])); 72 … shouldBe("+values." + name1 + " / values." + name2, stringify(values[name1] / values[name2])); [all …]
|
/external/linux-tools-perf/src/tools/perf/util/ |
D | values.c | 6 void perf_read_values_init(struct perf_read_values *values) in perf_read_values_init() argument 8 values->threads_max = 16; in perf_read_values_init() 9 values->pid = malloc(values->threads_max * sizeof(*values->pid)); in perf_read_values_init() 10 values->tid = malloc(values->threads_max * sizeof(*values->tid)); in perf_read_values_init() 11 values->value = malloc(values->threads_max * sizeof(*values->value)); in perf_read_values_init() 12 if (!values->pid || !values->tid || !values->value) in perf_read_values_init() 14 values->threads = 0; in perf_read_values_init() 16 values->counters_max = 16; in perf_read_values_init() 17 values->counterrawid = malloc(values->counters_max in perf_read_values_init() 18 * sizeof(*values->counterrawid)); in perf_read_values_init() [all …]
|
/external/proguard/src/proguard/evaluation/ |
D | Stack.java | 38 protected Value[] values; field in Stack 49 values = new Value[maxSize]; in Stack() 59 this(stack.values.length); in Stack() 82 if (maxSize > values.length) in reset() 85 values = new Value[maxSize]; in reset() 101 if (other.values.length > values.length) in copy() 104 values = new Value[other.values.length]; in copy() 108 System.arraycopy(other.values, 0, this.values, 0, other.currentSize); in copy() 133 Value thisValue = this.values[index]; in generalize() 139 Value otherValue = other.values[index]; in generalize() [all …]
|
/external/valgrind/none/tests/x86/ |
D | gen_insn_test.pl | 218 my @values = split(/,/, $3); 237 foreach my $value (@values) 255 my @values = split(/,/, $3); 274 foreach my $value (@values) 288 my @values = split(/,/, $2); 290 $values[0] = oct($values[0]) if $values[0] =~ /^0/; 291 $values[1] = oct($values[1]) if $values[1] =~ /^0/; 293 $eflagsmask = sprintf "0x%08x", $values[0] ^ 0xffffffff; 294 $eflagsset = sprintf "0x%08x", $values[1]; 299 my @values = split(/,/, $2); [all …]
|
/external/valgrind/none/tests/amd64/ |
D | gen_insn_test.pl | 241 my @values = split(/,/, $3); 260 foreach my $value (@values) 278 my @values = split(/,/, $3); 297 foreach my $value (@values) 311 my @values = split(/,/, $2); 313 $values[0] = oct($values[0]) if $values[0] =~ /^0/; 314 $values[1] = oct($values[1]) if $values[1] =~ /^0/; 316 $eflagsmask = sprintf "0x%08x", $values[0] ^ 0xffffffff; 317 $eflagsset = sprintf "0x%08x", $values[1]; 322 my @values = split(/,/, $2); [all …]
|
/external/proguard/src/proguard/evaluation/value/ |
D | InstructionOffsetValue.java | 36 private int[] values; field in InstructionOffsetValue 46 this.values = new int[] { value }; in InstructionOffsetValue() 50 public InstructionOffsetValue(int[] values) in InstructionOffsetValue() argument 52 this.values = values; in InstructionOffsetValue() 58 return values == null ? 0 : values.length; in instructionOffsetCount() 64 return values[index]; in instructionOffset() 74 if (values != null) in contains() 76 for (int index = 0; index < values.length; index++) in contains() 78 if (values[index] == value) in contains() 97 if (values != null) in minimumValue() [all …]
|
D | DetailedArrayReferenceValue.java | 38 private final Value[] values; field in DetailedArrayReferenceValue 64 this.values = new Value[arrayLength.value()]; in DetailedArrayReferenceValue() 66 for (int index = 0; index < values.length; index++) in DetailedArrayReferenceValue() 68 values[index] = initialValueFactory.createValue(elementType); in DetailedArrayReferenceValue() 74 this.values = null; in DetailedArrayReferenceValue() 132 if (values != null && in arrayLoad() 137 index < values.length) in arrayLoad() 139 return values[index]; in arrayLoad() 149 if (values != null) in arrayStore() 155 index < values.length) in arrayStore() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/ |
D | StatUtils.java | 90 public static double sum(final double[] values) { in sum() argument 91 return SUM.evaluate(values); in sum() 108 public static double sum(final double[] values, final int begin, in sum() argument 110 return SUM.evaluate(values, begin, length); in sum() 124 public static double sumSq(final double[] values) { in sumSq() argument 125 return SUM_OF_SQUARES.evaluate(values); in sumSq() 142 public static double sumSq(final double[] values, final int begin, in sumSq() argument 144 return SUM_OF_SQUARES.evaluate(values, begin, length); in sumSq() 157 public static double product(final double[] values) { in product() argument 158 return PRODUCT.evaluate(values); in product() [all …]
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
D | api_params.c | 262 const VGfloat * values) in vegaSetfv() argument 268 if ((count && !values) || !count_in_bounds(type, count) || !is_aligned(values)) { in vegaSetfv() 293 vegaSeti(type, floor(values[0])); in vegaSetfv() 298 VGuint *x = (VGuint*)values; in vegaSetfv() 300 state->scissor_rects[i].f = values[i]; in vegaSetfv() 311 state->color_transform_values[i] = values[i]; in vegaSetfv() 317 state->stroke.line_width.f = values[0]; in vegaSetfv() 318 state->stroke.line_width.i = float_to_int_floor(*((VGuint*)(values))); in vegaSetfv() 321 state->stroke.miter_limit.f = values[0]; in vegaSetfv() 322 state->stroke.miter_limit.i = float_to_int_floor(*((VGuint*)(values))); in vegaSetfv() [all …]
|
/external/guava/guava-tests/benchmark/com/google/common/math/ |
D | StatsBenchmark.java | 37 double mean(double[] values) { in mean() argument 39 for (double value : values) { in mean() 42 return sum / values.length; in mean() 47 double mean(double[] values) { in mean() argument 50 for (double value : values) { in mean() 56 return sum / values.length; in mean() 61 double mean(double[] values) { in mean() argument 62 double mean = values[0]; in mean() 63 for (int i = 1; i < values.length; i++) { in mean() 64 mean = mean + (values[i] - mean) / (i + 1); in mean() [all …]
|
/external/v8/test/mjsunit/compiler/ |
D | division-by-constant.js | 65 function PushSymmetric(values, x) { argument 66 values.push(x, -x); 69 function PushRangeSymmetric(values, from, to) { argument 71 PushSymmetric(values, x); 76 var values = [ 86 PushSymmetric(values, 1 << shift); 89 PushRangeSymmetric(values, 1, 32); 91 PushRangeSymmetric(values, 100, 109); 92 PushRangeSymmetric(values, 1000, 1009); 93 PushRangeSymmetric(values, 10000, 10009); [all …]
|
/external/marisa-trie/v0_1_5/tests/ |
D | io-test.cc | 29 double values[] = { 345, 456 }; in TestFilename() local 30 writer.write(values, 2); in TestFilename() 31 EXCEPT(writer.write(values, 1U << 30), MARISA_ALPHA_SIZE_ERROR); in TestFilename() 56 double values[3]; in TestFilename() local 57 reader.read(values, 3); in TestFilename() 58 ASSERT(values[0] == 345); in TestFilename() 59 ASSERT(values[1] == 456); in TestFilename() 60 ASSERT(values[2] == 567); in TestFilename() 73 const double *values; in TestFilename() local 74 mapper.map(&values, 3); in TestFilename() [all …]
|
/external/marisa-trie/tests/ |
D | io-test.cc | 28 double values[] = { 345, 456 }; in TestFilename() local 29 writer.write(values, 2); in TestFilename() 30 EXCEPT(writer.write(values, 1U << 30), MARISA_SIZE_ERROR); in TestFilename() 55 double values[3]; in TestFilename() local 56 reader.read(values, 3); in TestFilename() 57 ASSERT(values[0] == 345); in TestFilename() 58 ASSERT(values[1] == 456); in TestFilename() 59 ASSERT(values[2] == 567); in TestFilename() 72 const double *values; in TestFilename() local 73 mapper.map(&values, 3); in TestFilename() [all …]
|
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/ |
D | AnnotationNode.java | 60 public List values; field in AnnotationNode 76 AnnotationNode(final List values) { in AnnotationNode() argument 77 this.values = values; in AnnotationNode() 85 if (values == null) { in visit() 86 values = new ArrayList(this.desc != null ? 2 : 1); in visit() 89 values.add(name); in visit() 91 values.add(value); in visit() 99 if (values == null) { in visitEnum() 100 values = new ArrayList(this.desc != null ? 2 : 1); in visitEnum() 103 values.add(name); in visitEnum() [all …]
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _c_v_t.py | 11 values = array.array("h") 12 values.fromstring(data) 14 values.byteswap() 15 self.values = values 18 values = self.values[:] 20 values.byteswap() 21 return values.tostring() 24 for i in range(len(self.values)): 25 value = self.values[i] 31 self.values = array.array("h") [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/ |
D | SemiVariance.java | 178 public double evaluate(final double[] values) { in evaluate() argument 179 if (values == null) { in evaluate() 182 return evaluate(values, 0, values.length); in evaluate() 201 public double evaluate(final double[] values, final int start, final int length) { in evaluate() argument 202 double m = (new Mean()).evaluate(values, start, length); in evaluate() 203 return evaluate(values, m, varianceDirection, biasCorrected, 0, values.length); in evaluate() 217 public double evaluate(final double[] values, Direction direction) { in evaluate() argument 218 double m = (new Mean()).evaluate(values); in evaluate() 219 return evaluate (values, m, direction, biasCorrected, 0, values.length); in evaluate() 234 public double evaluate(final double[] values, final double cutoff) { in evaluate() argument [all …]
|
D | Variance.java | 215 public double evaluate(final double[] values) { in evaluate() argument 216 if (values == null) { in evaluate() 219 return evaluate(values, 0, values.length); in evaluate() 243 public double evaluate(final double[] values, final int begin, final int length) { in evaluate() argument 247 if (test(values, begin, length)) { in evaluate() 253 double m = mean.evaluate(values, begin, length); in evaluate() 254 var = evaluate(values, m, begin, length); in evaluate() 302 public double evaluate(final double[] values, final double[] weights, in evaluate() argument 307 if (test(values, weights,begin, length)) { in evaluate() 313 double m = mean.evaluate(values, weights, begin, length); in evaluate() [all …]
|
/external/deqp/data/gles2/shaders/ |
D | keywords.test | 8 values {} 25 values {} 42 values {} 59 values {} 76 values {} 93 values {} 110 values {} 127 values {} 144 values {} 161 values {} [all …]
|
/external/deqp/scripts/khr_util/ |
D | gen_str_util.py | 29 def allValuesUndefined (definitions, values): argument 30 for value in values: 35 def anyValueDefined (definitions, values): argument 36 return not allValuesUndefined(definitions, values) 46 for groupName, values in enumGroups: 47 if anyValueDefined(definitions, values): 53 for groupName, values in bitfieldGroups: 54 if anyValueDefined(definitions, values): 60 for groupName, values in enumGroups: 61 if anyValueDefined(definitions, values): [all …]
|
/external/aac/libAACenc/src/ |
D | bit_cnt.cpp | 109 static void FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11(const SHORT *RESTRICT values, in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11() argument 127 t0= values[i+0]; in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11() 128 t1= values[i+1]; in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11() 129 t2= values[i+2]; in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11() 130 t3= values[i+3]; in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11() 185 static void FDKaacEnc_count3_4_5_6_7_8_9_10_11(const SHORT *RESTRICT values, in FDKaacEnc_count3_4_5_6_7_8_9_10_11() argument 203 t0= values[i+0]; in FDKaacEnc_count3_4_5_6_7_8_9_10_11() 204 t1= values[i+1]; in FDKaacEnc_count3_4_5_6_7_8_9_10_11() 205 t2= values[i+2]; in FDKaacEnc_count3_4_5_6_7_8_9_10_11() 206 t3= values[i+3]; in FDKaacEnc_count3_4_5_6_7_8_9_10_11() [all …]
|
/external/deqp/data/gles3/shaders/ |
D | keywords.test | 8 values {} 26 values {} 44 values {} 62 values {} 80 values {} 98 values {} 116 values {} 134 values {} 152 values {} 170 values {} [all …]
|
/external/easymock/src/org/easymock/ |
D | Capture.java | 35 private final List<T> values = new ArrayList<T>(2); field in Capture 58 values.clear(); in reset() 65 return !values.isEmpty(); in hasCaptured() 77 if (values.isEmpty()) { in getValue() 80 if (values.size() > 1) { in getValue() 84 return values.get(values.size() - 1); in getValue() 94 return values; in getValues() 108 values.add(value); in setValue() 112 values.add(value); in setValue() 119 values.add(value); in setValue() [all …]
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
D | p5.cpp | 245 void test_unexpanded_exprs(Types ...values) { in test_unexpanded_exprs() argument 247 (void)(values + 0); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs() 248 (void)(0 + values); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs() 251 values.f(); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs() 253 x.f(values); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs() 258 …(void)static_cast<Types&>(values); // expected-error{{expression contains unexpanded parameter pac… in test_unexpanded_exprs() 261 …(void)dynamic_cast<Types&>(values); // expected-error{{expression contains unexpanded parameter pa… in test_unexpanded_exprs() 264 …(void)reinterpret_cast<Types&>(values); // expected-error{{expression contains unexpanded paramete… in test_unexpanded_exprs() 267 …(void)const_cast<Types&>(values); // expected-error{{expression contains unexpanded parameter pack… in test_unexpanded_exprs() 271 (void)typeid(values); // expected-error{{expression contains unexpanded parameter pack 'values'}} in test_unexpanded_exprs() [all …]
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
D | IntList.java | 29 private int[] values; field in IntList 87 values = new int[initialCapacity]; in IntList() 103 result = (result * 31) + values[i]; in hashCode() 131 if (values[i] != otherList.values[i]) { in equals() 150 sb.append(values[i]); in toString() 177 return values[n]; in get() 198 values[n] = value; in set() 219 values[size++] = value; in add() 222 sorted = (value >= values[size - 2]); in add() 242 System.arraycopy (values, n, values, n+1, size - n); in insert() [all …]
|