Home
last modified time | relevance | path

Searched refs:Number (Results 1 – 25 of 835) sorted by relevance

12345678910>>...34

/external/chromium_org/v8/test/webkit/fast/js/
DtoString-number-expected.txt24 Test the conversion performed by the function Number.prototype.toString.
29 PASS Number(0).toString() is "0"
30 PASS Number.prototype.toString.call(0) is "0"
31 PASS Number.prototype.toString.call(new Number(0)) is "0"
32 PASS Number("0").toString() is "0"
33 PASS Number(0).toString(10) is "0"
34 PASS Number(0).toString(2) is "0"
35 PASS Number.prototype.toString.call(0, 2) is "0"
36 PASS Number.prototype.toString.call(new Number(0), 2) is "0"
37 PASS Number(0).toString(36) is "0"
[all …]
Dprimitive-property-access-edge-cases-expected.txt29 PASS checkGet(1, Number) is true
32 PASS checkSet(1, Number) is true
35 PASS checkGetStrict(1, Number) is true
38 PASS checkSetStrict(1, Number) is true
41 PASS checkRead(1, Number) is true
44 PASS checkWrite(1, Number) is true
47 PASS checkReadStrict(1, Number) is true
50 PASS checkWriteStrict(1, Number) threw exception TypeError: Cannot assign to read only property 'fo…
53 PASS checkNumericGet(1, Number) is true
56 FAIL checkNumericSet(1, Number) should be true. Was false.
[all …]
/external/chromium_org/v8/test/webkit/fast/js/kde/
DNumber-expected.txt29 PASS Number() is 0
30 PASS Number(1) is 1
31 PASS Number(1.1) is 1.1
32 PASS Number('1.2') is 1.2
33 PASS isNaN(Number('a')) is true
34 PASS (new Number()).valueOf() is 0
35 PASS (new Number(.4)).valueOf() is 0.4
36 PASS (new Number('1.')).valueOf() is 1
37 PASS isNaN(new Number('a')) is true
38 PASS isNaN(Number.NaN) is true
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DImmutableClassToInstanceMapTest.java51 public Map<Class, Number> create(Object... elements) { in suite()
52 ImmutableClassToInstanceMap.Builder<Number> builder in suite()
55 Entry<Class, Number> entry = (Entry<Class, Number>) object; in suite()
82 Map<Class<? extends Number>, Number> in = Maps.newHashMap(); in testCopyOf_map_valid()
83 in.put(Number.class, 0); in testCopyOf_map_valid()
85 ClassToInstanceMap<Number> map = ImmutableClassToInstanceMap.copyOf(in); in testCopyOf_map_valid()
88 Number zero = map.getInstance(Number.class); in testCopyOf_map_valid()
98 Map<Class<? extends Number>, Number> nullKey = Collections.singletonMap( in testCopyOf_map_nulls()
99 null, (Number) 1.0); in testCopyOf_map_nulls()
106 Map<? extends Class<? extends Number>, Number> nullValue in testCopyOf_map_nulls()
[all …]
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dpagemap.h70 typedef uintptr_t Number; typedef
79 bool Ensure(Number x, size_t n) { in Ensure()
91 void* get(Number k) const { in get()
102 void set(Number k, void* v) { in set()
108 void* Next(Number k) const { in Next()
137 typedef uintptr_t Number; typedef
144 void* get(Number k) const { in get()
145 const Number i1 = k >> LEAF_BITS; in get()
146 const Number i2 = k & (LEAF_LENGTH-1); in get()
153 void set(Number k, void* v) { in set()
[all …]
Daddressmap-inl.h148 typedef uintptr_t Number; typedef
172 static const Number kClusterSize = 1 << (kBlockBits + kClusterBits);
178 Number id; // Cluster ID
202 static int HashInt(Number x) { in HashInt()
213 Cluster* FindCluster(Number address, bool create) { in FindCluster()
215 const Number cluster_id = address >> (kBlockBits + kClusterBits); in FindCluster()
235 static int BlockID(Number address) { in BlockID()
295 const Number num = reinterpret_cast<Number>(key); in FindMutable()
309 const Number num = reinterpret_cast<Number>(key); in Insert()
341 const Number num = reinterpret_cast<Number>(key); in FindAndRemove()
[all …]
/external/chromium_org/third_party/tcmalloc/chromium/src/
Dpagemap.h76 typedef uintptr_t Number; typedef
85 bool Ensure(Number x, size_t n) { in Ensure()
97 void* get(Number k) const { in get()
108 void set(Number k, void* v) { in set()
114 void* Next(Number k) const { in Next()
163 typedef uintptr_t Number; typedef
209 bool Ensure(Number x, size_t n) { in Ensure()
293 void* get(Number k) const { in get()
304 void set(Number k, void* v) { in set()
309 void* Next(Number k) const { in Next()
[all …]
Daddressmap-inl.h148 typedef uintptr_t Number; typedef
172 static const Number kClusterSize = 1 << (kBlockBits + kClusterBits);
178 Number id; // Cluster ID
202 static int HashInt(Number x) { in HashInt()
213 Cluster* FindCluster(Number address, bool create) { in FindCluster()
215 const Number cluster_id = address >> (kBlockBits + kClusterBits); in FindCluster()
235 static int BlockID(Number address) { in BlockID()
295 const Number num = reinterpret_cast<Number>(key); in FindMutable()
309 const Number num = reinterpret_cast<Number>(key); in Insert()
341 const Number num = reinterpret_cast<Number>(key); in FindAndRemove()
[all …]
/external/oprofile/events/arm/armv7-ca9/
Devents5 event:0x40 counters:1,2,3,4,5,6 um:zero minimum:500 name:JAVA_BC_EXEC : Number of Java bytecodes de…
6 event:0x41 counters:1,2,3,4,5,6 um:zero minimum:500 name:JAVA_SFTBC_EXEC : Number of software Java …
7 event:0x42 counters:1,2,3,4,5,6 um:zero minimum:500 name:JAVA_BB_EXEC : Number of Jazelle taken bra…
9 event:0x50 counters:1,2,3,4,5,6 um:zero minimum:500 name:CO_LF_MISS : Number of coherent linefill r…
10 event:0x51 counters:1,2,3,4,5,6 um:zero minimum:500 name:CO_LF_HIT : Number of coherent linefill re…
12 event:0x60 counters:1,2,3,4,5,6 um:zero minimum:500 name:IC_DEP_STALL : Number of cycles where CPU …
13 event:0x61 counters:1,2,3,4,5,6 um:zero minimum:500 name:DC_DEP_STALL : Number of cycles where CPU …
14 event:0x63 counters:1,2,3,4,5,6 um:zero minimum:500 name:STREX_PASS : Number of STREX instructions …
15 event:0x64 counters:1,2,3,4,5,6 um:zero minimum:500 name:STREX_FAILS : Number of STREX instructions…
16 event:0x65 counters:1,2,3,4,5,6 um:zero minimum:500 name:DATA_EVICT : Number of eviction requests d…
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowMatrixCursor.java38 Number numberValue = (Number) get(column); in getLong()
44 Number numberValue = (Number) get(column); in getShort()
50 Number numberValue = (Number) get(column); in getInt()
56 Number numberValue = (Number) get(column); in getFloat()
62 Number numberValue = (Number) get(column); in getDouble()
/external/mockito/src/org/mockito/internal/matchers/
DEqualsWithDelta.java14 public class EqualsWithDelta extends ArgumentMatcher<Number> implements Serializable {
17 private final Number wanted;
19 private final Number delta;
21 public EqualsWithDelta(Number value, Number delta) { in EqualsWithDelta()
27 Number actualNumber = (Number) actual; in matches()
/external/easymock/src/org/easymock/internal/matchers/
DEqualsWithDelta.java26 private final Number expected;
28 private final Number delta;
30 public EqualsWithDelta(Number value, Number delta) { in EqualsWithDelta()
36 Number actualNumber = (Number) actual; in matches()
/external/oprofile/events/ppc/e300/
Devents16 event:0x1f counters:0,1,2,3 um:zero minimum:500 name:CACHEINHIBITED_ACCESSES_TRANSLATED : Number of…
19 …s:0,1,2,3 um:zero minimum:500 name:BIU_MASTER_REQUESTS : Number of master transactions. (Number of…
20 …,2,3 um:zero minimum:500 name:BIU_MASTER_I_REQUESTS : Number of master I-Side transactions. (Numbe…
21 …,2,3 um:zero minimum:500 name:BIU_MASTER_D_REQUESTS : Number of master D-Side transactions. (Numbe…
22 …BIU_MASTER_RETRIES : Number of transactions which were initiated by this processor which were retr…
23 event:0x4a counters:0,1,2,3 um:zero minimum:500 name:SNOOP_PUSHES : Number of snoop pushes from all…
28 event:0x56 counters:0,1,2,3 um:zero minimum:500 name:INTERRUPTS : Number of interrupts taken
29 event:0x57 counters:0,1,2,3 um:zero minimum:500 name:EXTERNAL_INTERRUPTS : Number of external input…
30 event:0x58 counters:0,1,2,3 um:zero minimum:500 name:CRITICAL_INTERRUPTS : Number of critical input…
31 event:0x59 counters:0,1,2,3 um:zero minimum:500 name:SC_TRAP_INTERRUPTS : Number of system call and…
[all …]
/external/chromium_org/v8/test/webkit/
Ddate-constructor-expected.txt50 PASS Number(new Date(new Date(Infinity, 1, 1, 1, 1, 1, 1, 1, 1)).getTime() - timeZoneOffset) is Num…
51 PASS Number(new Date(new Date(1, Infinity, 1, 1, 1, 1, 1, 1, 1)).getTime() - timeZoneOffset) is Num…
52 PASS Number(new Date(new Date(1, 1, Infinity, 1, 1, 1, 1, 1, 1)).getTime() - timeZoneOffset) is Num…
53 PASS Number(new Date(new Date(1, 1, 1, Infinity, 1, 1, 1, 1, 1)).getTime() - timeZoneOffset) is Num…
54 PASS Number(new Date(new Date(1, 1, 1, 1, Infinity, 1, 1, 1, 1)).getTime() - timeZoneOffset) is Num…
55 PASS Number(new Date(new Date(1, 1, 1, 1, 1, Infinity, 1, 1, 1)).getTime() - timeZoneOffset) is Num…
56 PASS Number(new Date(new Date(1, 1, 1, 1, 1, 1, Infinity, 1, 1)).getTime() - timeZoneOffset) is Num…
57 PASS Number(new Date(new Date(1, 1, 1, 1, 1, 1, 1, 1, Infinity)).getTime() - timeZoneOffset) is -21…
Dprototypes-expected.txt30 PASS (0).__proto__ is Number.prototype
34 PASS (new Number).__proto__ is Number.prototype
39 PASS Number.prototype.__proto__ is Object.prototype
44 PASS Number.__proto__ is Object.__proto__
51 PASS Object.getPrototypeOf(new Number) is Number.prototype
56 PASS Object.getPrototypeOf(Number.prototype) is Object.prototype
61 PASS Object.getPrototypeOf(Number) is Object.__proto__
64 PASS Number.prototype.isPrototypeOf(0) is false
68 PASS Number.prototype.isPrototypeOf(new Number) is true
73 PASS Object.prototype.isPrototypeOf(Number.prototype) is true
[all …]
Dmath-expected.txt34 PASS Math.abs(Number.MIN_VALUE) is Number.MIN_VALUE
35 PASS Math.abs(-Number.MIN_VALUE) is Number.MIN_VALUE
36 PASS Math.abs(Number.MAX_VALUE) is Number.MAX_VALUE
37 PASS Math.abs(-Number.MAX_VALUE) is Number.MAX_VALUE
79 PASS Math.ceil(Number.MIN_VALUE) is 1
80 PASS Math.ceil(-Number.MIN_VALUE) is -0
81 PASS Math.ceil(Number.MAX_VALUE) is Number.MAX_VALUE
82 PASS Math.ceil(-Number.MAX_VALUE) is -Number.MAX_VALUE
103 PASS Math.floor(Number.MIN_VALUE) is 0
104 PASS Math.floor(-Number.MIN_VALUE) is -1
[all …]
/external/chromium_org/third_party/WebKit/Source/wtf/
DFunctionalTest.cpp203 class Number : public RefCounted<Number> { class
205 static PassRefPtr<Number> create(int value) in create()
207 return adoptRef(new Number(value)); in create()
210 ~Number() in ~Number()
218 explicit Number(int value) in Number() function in __anonaca759540111::Number
226 static int multiplyNumberByTwo(Number* number) in multiplyNumberByTwo()
233 RefPtr<Number> five = Number::create(5); in TEST()
237 Function<int()> multiplyFourByTwoFunction = bind(multiplyNumberByTwo, Number::create(4)); in TEST()
240 RefPtr<Number> six = Number::create(6); in TEST()
/external/chromium_org/v8/test/cctest/
Dtest-decls.cc246 0, EXPECT_RESULT, Number::New(CcTest::isolate(), 0)); in TEST()
268 EXPECT_RESULT, Number::New(CcTest::isolate(), 0)); in TEST()
296 0, EXPECT_RESULT, Number::New(isolate, 0)); in TEST()
316 0, 0, EXPECT_RESULT, Number::New(isolate, 0)); in TEST()
378 0, EXPECT_RESULT, Number::New(CcTest::isolate(), 0)); in TEST()
398 0, 0, EXPECT_RESULT, Number::New(CcTest::isolate(), 0)); in TEST()
427 Number::New(CcTest::isolate(), 87)); in TEST()
443 EXPECT_RESULT, Number::New(CcTest::isolate(), 0)); in TEST()
459 EXPECT_RESULT, Number::New(CcTest::isolate(), 0)); in TEST()
536 Number::New(CcTest::isolate(), 0)); in TEST()
[all …]
/external/clang/test/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/
Dp2.cpp34 struct Number { // expected-note 2 {{candidate}} struct
35 explicit Number(double d) : d(d) {} in Number() function
38 Number zero(0.0f);
39 void g(Number); // expected-note 2{{passing argument to parameter here}}
43 Numbers::Number n = Numbers::zero; in test2() argument
54 Numbers::Number n = Numbers::zero; in test3()
/external/oprofile/events/ppc/e500v2/
Devents11 event:0xb counters:0,1,2,3 um:zero minimum:500 name:COMPLETION_REDIRECTS : Number of completion buf…
27 event:0x1b counters:0,1,2,3 um:zero minimum:500 name:LOADS_TRANSLATED : Number of cacheable L* or E…
28 event:0x1c counters:0,1,2,3 um:zero minimum:500 name:STORES_TRANSLATED : Number of cacheable ST* or…
29 event:0x1d counters:0,1,2,3 um:zero minimum:500 name:TOUCHES_TRANSLATED : Number of cacheable DCBT …
30 event:0x1e counters:0,1,2,3 um:zero minimum:500 name:CACHEOPS_TRANSLATED : Number of dcba, dcbf, dc…
31 event:0x1f counters:0,1,2,3 um:zero minimum:500 name:CACHEINHIBITED_ACCESSES_TRANSLATED : Number of…
32 event:0x20 counters:0,1,2,3 um:zero minimum:500 name:GUARDED_LOADS_TRANSLATED : Number of guarded l…
33 event:0x21 counters:0,1,2,3 um:zero minimum:500 name:WRITETHROUGH_STORES_TRANSLATED : Number of wri…
34 event:0x22 counters:0,1,2,3 um:zero minimum:500 name:MISALIGNED_ACCESSES_TRANSLATED : Number of mis…
39 event:0x27 counters:0,1,2,3 um:zero minimum:500 name:STORES_COMPLETED : Number of cacheable ST* or …
[all …]
/external/oprofile/events/ppc/e500/
Devents11 event:0xb counters:0,1,2,3 um:zero minimum:500 name:COMPLETION_REDIRECTS : Number of completion buf…
27 event:0x1b counters:0,1,2,3 um:zero minimum:500 name:LOADS_TRANSLATED : Number of cacheable L* or E…
28 event:0x1c counters:0,1,2,3 um:zero minimum:500 name:STORES_TRANSLATED : Number of cacheable ST* or…
29 event:0x1d counters:0,1,2,3 um:zero minimum:500 name:TOUCHES_TRANSLATED : Number of cacheable DCBT …
30 event:0x1e counters:0,1,2,3 um:zero minimum:500 name:CACHEOPS_TRANSLATED : Number of dcba, dcbf, dc…
31 event:0x1f counters:0,1,2,3 um:zero minimum:500 name:CACHEINHIBITED_ACCESSES_TRANSLATED : Number of…
32 event:0x20 counters:0,1,2,3 um:zero minimum:500 name:GUARDED_LOADS_TRANSLATED : Number of guarded l…
33 event:0x21 counters:0,1,2,3 um:zero minimum:500 name:WRITETHROUGH_STORES_TRANSLATED : Number of wri…
34 event:0x22 counters:0,1,2,3 um:zero minimum:500 name:MISALIGNED_ACCESSES_TRANSLATED : Number of mis…
39 event:0x27 counters:0,1,2,3 um:zero minimum:500 name:STORES_COMPLETED : Number of cacheable ST* or …
[all …]
/external/chromium_org/chrome/renderer/
Dloadtimes_extension_bindings.cc111 v8::Number::New(isolate, in GetLoadTimes()
115 v8::Number::New(isolate, in GetLoadTimes()
119 v8::Number::New(isolate, in GetLoadTimes()
123 v8::Number::New( in GetLoadTimes()
128 v8::Number::New(isolate, in GetLoadTimes()
132 v8::Number::New(isolate, in GetLoadTimes()
136 v8::Number::New( in GetLoadTimes()
185 v8::Number::New(isolate, floor(start.ToDoubleT() * 1000))); in GetCSI()
187 v8::Number::New(isolate, floor(onload.ToDoubleT() * 1000))); in GetCSI()
189 v8::Number::New(isolate, page.InMillisecondsF())); in GetCSI()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/instruction/
DDexBackedArrayPayload.java65 public List<Number> getArrayElements() { in getArrayElements()
68 abstract class ReturnedList extends FixedSizeList<Number> { in getArrayElements()
77 public Number readItem(int index) { in getArrayElements()
85 public Number readItem(int index) { in getArrayElements()
93 public Number readItem(int index) { in getArrayElements()
101 public Number readItem(int index) { in getArrayElements()
/external/llvm/lib/CodeGen/AsmPrinter/
DAddressPool.h24 unsigned Number; member
26 AddressPoolEntry(unsigned Number, bool TLS) : Number(Number), TLS(TLS) {} in AddressPoolEntry()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/instruction/
DImmutableArrayPayload.java48 @Nonnull protected final ImmutableList<Number> arrayElements;
51 @Nullable List<Number> arrayElements) { in ImmutableArrayPayload()
54 …this.arrayElements = arrayElements==null ? ImmutableList.<Number>of() : ImmutableList.copyOf(array… in ImmutableArrayPayload()
58 @Nullable ImmutableList<Number> arrayElements) { in ImmutableArrayPayload()
77 @Nonnull @Override public List<Number> getArrayElements() { return arrayElements; } in getArrayElements()

12345678910>>...34