Searched refs:one (Results 101 - 125 of 687) sorted by relevance

1234567891011>>

/external/guava/guava-tests/test/com/google/common/cache/
H A DCacheStatsTest.java61 CacheStats one = new CacheStats(11, 13, 17, 19, 23, 27);
64 CacheStats diff = two.minus(one);
78 assertEquals(new CacheStats(0, 0, 0, 0, 0, 0), one.minus(two));
82 CacheStats one = new CacheStats(11, 13, 15, 13, 11, 9);
85 CacheStats sum = two.plus(one);
99 assertEquals(sum, one.plus(two));
/external/icu/icu4c/source/samples/ustring/
H A Dustring.cpp423 UnicodeString one((UChar32)0x24001);
425 UnicodeString two=one;
427 // set "one" to contain the 3 UChars from readonly
429 one.setTo(readonly, UPRV_LENGTHOF(readonly));
433 one+=UnicodeString(writeable, UPRV_LENGTHOF(writeable));
434 one+=one;
435 one+=one;
436 printf("length of longer string: %d\n", one
[all...]
/external/v8/src/
H A Dfast-dtoa.cc93 // and v (the input number). They are guaranteed to be precise up to one unit.
94 // In fact the error is guaranteed to be strictly less than one unit.
106 // representations, and one is closer to both w_low and w_high, then we know
134 // representations close to w, but we cannot decide which one is closer.
340 // * if more than one decimal representation gives the minimal number of
341 // decimal digits then the one closest to W (where W is the correct value
371 // low, w and high are imprecise, but by less than one ulp (unit in the last
395 DiyFp one = DiyFp(static_cast<uint64_t>(1) << -w.e(), w.e()); local
396 // Division by one is a shift.
397 uint32_t integrals = static_cast<uint32_t>(too_high.f() >> -one
503 DiyFp one = DiyFp(static_cast<uint64_t>(1) << -w.e(), w.e()); local
[all...]
/external/v8/test/mjsunit/
H A Dsmi-ops-inlined.js442 var one = 1;
460 assertEquals(pos_non_smi / 2, (pos_non_smi) >> one);
461 assertEquals(pos_non_smi / 2, (pos_non_smi) >>> one);
462 assertEquals(-0x1194D800, (pos_non_smi) << one);
470 assertEquals(pos_non_smi / 2, (pos_non_smi + 0.5) >> one);
471 assertEquals(pos_non_smi / 2, (pos_non_smi + 0.5) >>> one);
472 assertEquals(-0x1194D800, (pos_non_smi + 0.5) << one);
478 assertEquals(neg_non_smi / 2, (neg_non_smi) >> one);
479 assertEquals(neg_non_smi / 2 + 0x100000000 / 2, (neg_non_smi) >>> one);
480 assertEquals(0x1194D800, (neg_non_smi) << one);
[all...]
H A Dsmi-ops.js449 var one = 1;
467 assertEquals(pos_non_smi / 2, (pos_non_smi) >> one);
468 assertEquals(pos_non_smi / 2, (pos_non_smi) >>> one);
469 assertEquals(-0x1194D800, (pos_non_smi) << one);
477 assertEquals(pos_non_smi / 2, (pos_non_smi + 0.5) >> one);
478 assertEquals(pos_non_smi / 2, (pos_non_smi + 0.5) >>> one);
479 assertEquals(-0x1194D800, (pos_non_smi + 0.5) << one);
485 assertEquals(neg_non_smi / 2, (neg_non_smi) >> one);
486 assertEquals(neg_non_smi / 2 + 0x100000000 / 2, (neg_non_smi) >>> one);
487 assertEquals(0x1194D800, (neg_non_smi) << one);
[all...]
/external/fdlibm/
H A De_j0.c32 * to compute the worse one.)
73 one = 1.0, variable
100 if(ix>=0x7ff00000) return one/(x*x);
124 if(huge+x>one) { /* raise inexact if x != 0 */
125 if(ix<0x3e400000) return one; /* |x|<2**-27 */
126 else return one - 0.25*x*x;
131 s = one+z*(S01+z*(S02+z*(S03+z*S04)));
133 return one + z*(-0.25+(r/s));
136 return((one+u)*(one
[all...]
H A Ds_modf.c27 static const double one = 1.0; variable
29 static double one = 1.0; variable
63 *iptr = x*one;
H A De_asin.c52 one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */ variable
87 if(huge+x>one) return x;/* return x with inexact if x!=0*/
91 q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4)));
96 w = one-ieee_fabs(x);
99 q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4)));
/external/llvm/unittests/ADT/
H A DAPIntTest.cpp104 APInt one(128, 1, true);
105 EXPECT_EQ(127u, one.countLeadingZeros());
106 EXPECT_EQ(0u, one.countLeadingOnes());
107 EXPECT_EQ(1u, one.getActiveBits());
108 EXPECT_EQ(0u, one.countTrailingZeros());
109 EXPECT_EQ(1u, one.countTrailingOnes());
110 EXPECT_EQ(1u, one.countPopulation());
111 EXPECT_EQ(1, one.getSExtValue());
112 EXPECT_EQ(1u, one.getZExtValue());
119 const APInt one(
[all...]
/external/clang/test/CXX/over/over.over/
H A Dp2-resolve-single-template-id.cpp27 void one() { } function in namespace:DontAllowUnresolvedOverloadedExpressionInAnUnusedExpression
37 one; // expected-warning {{expression result unused}}
46 one; // expected-warning {{expression result unused}}
66 void one() { } function
79 { static_cast<void>(one); }
80 { (void)(one); }
92 { (void) reinterpret_cast<ptrdiff_t>(one); }
93 { (void) reinterpret_cast<int (*)(char, double)>(one); }
/external/clang/utils/VtableTest/
H A DMakefile4 all: one
20 one: test-gcc.sum test-clang.sum
/external/compiler-rt/test/BlocksRuntime/
H A Dcopyconstructor.C66 TestObject one; local
68 void (^b)(void) = ^{ printf("my const copy of one is %d\n", one.version()); };
/external/dexmaker/src/dx/java/com/android/dx/dex/code/form/
H A DForm35c.java160 RegisterSpec one = regs.get(i);
161 result += one.getCategory();
168 if (!unsignedFitsInNibble(one.getReg() + one.getCategory() - 1)) {
177 * Returns a register list which is equivalent to the given one,
197 RegisterSpec one = orig.get(i);
198 result.set(wordAt, one);
199 if (one.getCategory() == 2) {
201 RegisterSpec.make(one.getReg() + 1, Type.VOID));
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/
H A Dtoken.ml5 (* The lexer returns these 'Kwd' if it is an unknown character, otherwise one of
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/
H A Dtoken.ml5 (* The lexer returns these 'Kwd' if it is an unknown character, otherwise one of
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/
H A Dtoken.ml5 (* The lexer returns these 'Kwd' if it is an unknown character, otherwise one of
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_bld_alpha.c77 alpha = lp_build_clamp(&bld, alpha, bld.zero, bld.one);
78 ref = lp_build_clamp(&bld, ref, bld.zero, bld.one);
/external/clang/test/Modules/
H A Dnormal-module-map.cpp44 return extra_a + one + decltype_val;
/external/clang/test/SemaCXX/
H A Dcxx0x-initializer-aggregates.cpp3 struct one { char c[1]; }; struct
63 one overloaded(A);
66 static_assert(sizeof(overloaded({1, 2})) == sizeof(one), "bad overload");
70 static_assert(sizeof(overloaded({1})) == sizeof(one), "bad overload");
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
H A DBlockAddresses.java131 BasicBlock one = blocks.get(i);
132 int label = one.getLabel();
133 Insn insn = one.getInsns().get(0);
137 SourcePosition pos = one.getLastInsn().getPosition();
/external/libcxx/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/
H A DErrorCodeEnum.pass.cpp21 zero, one, two enumerator in enum:testing
/external/libcxx/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.modifiers/
H A DErrorCodeEnum.pass.cpp21 zero, one, two enumerator in enum:testing
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
H A DInsnList.java105 * Returns an instance that is identical to this one, except that
118 Insn one = (Insn) get0(i);
119 if (one != null) {
120 result.set0(i, one.withRegisterOffset(delta));
/external/strace/tests/
H A Dmmsg.c17 char one[] = "one"; local
23 .iov_base = one,
24 .iov_len = sizeof(one) - 1
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
H A DDfpField.java2 * Licensed to the Apache Software Foundation (ASF) under one or more
103 * so each one is equivalent to 4 decimal digits.
111 private final Dfp one; field in class:DfpField
194 this.one = new Dfp(this, 1);
388 * @param nans code of the value, must be one of {@link Dfp#INFINITE},
407 return one;
596 * @param one constant with value 1 at desired precision
601 private static Dfp computePi(final Dfp one, final Dfp two, final Dfp three) { argument
604 Dfp yk = sqrt2.subtract(one);
619 final Dfp oneMinusY4 = one
643 computeExp(final Dfp a, final Dfp one) argument
726 computeLn(final Dfp a, final Dfp one, final Dfp two) argument
[all...]

Completed in 743 milliseconds

1234567891011>>