Home
last modified time | relevance | path

Searched refs:unboxPrimitive (Results 1 – 25 of 76) sorted by relevance

1234

/dports/textproc/kibana7/kibana-7.16.2-darwin-x86_64/node_modules/unbox-primitive/
H A DREADME.md15 var unboxPrimitive = require('unbox-primitive');
18 assert.equal(unboxPrimitive(new Boolean(false)), false);
19 assert.equal(unboxPrimitive(new String('f')), 'f');
20 assert.equal(unboxPrimitive(new Number(42)), 42);
22 assert.equal(unboxPrimitive(Object(s)), s);
23 assert.equal(unboxPrimitive(new BigInt(42)), 42n);
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/
H A DTestConstantReflectionProvider.java125 JavaConstant unboxed = c.isNull() ? null : constantReflection.unboxPrimitive(c); in unboxTest()
136 assertEquals(prim.value, constantReflection.unboxPrimitive(box.value)); in unboxTest()
139 assertNull(constantReflection.unboxPrimitive(JavaConstant.NULL_POINTER)); in unboxTest()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/
H A DTestConstantReflectionProvider.java125 JavaConstant unboxed = c.isNull() ? null : constantReflection.unboxPrimitive(c); in unboxTest()
136 assertEquals(prim.value, constantReflection.unboxPrimitive(box.value)); in unboxTest()
139 assertNull(constantReflection.unboxPrimitive(JavaConstant.NULL_POINTER)); in unboxTest()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/
H A DTestConstantReflectionProvider.java125 JavaConstant unboxed = c.isNull() ? null : constantReflection.unboxPrimitive(c); in unboxTest()
136 assertEquals(prim.value, constantReflection.unboxPrimitive(box.value)); in unboxTest()
139 assertNull(constantReflection.unboxPrimitive(JavaConstant.NULL_POINTER)); in unboxTest()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/
H A DTestConstantReflectionProvider.java125 JavaConstant unboxed = c.isNull() ? null : constantReflection.unboxPrimitive(c); in unboxTest()
136 assertEquals(prim.value, constantReflection.unboxPrimitive(box.value)); in unboxTest()
139 assertNull(constantReflection.unboxPrimitive(JavaConstant.NULL_POINTER)); in unboxTest()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/
H A DTestConstantReflectionProvider.java125 JavaConstant unboxed = c.isNull() ? null : constantReflection.unboxPrimitive(c); in unboxTest()
136 assertEquals(prim.value, constantReflection.unboxPrimitive(box.value)); in unboxTest()
139 assertNull(constantReflection.unboxPrimitive(JavaConstant.NULL_POINTER)); in unboxTest()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/
H A DTestConstantReflectionProvider.java125 JavaConstant unboxed = c.isNull() ? null : constantReflection.unboxPrimitive(c); in unboxTest()
136 assertEquals(prim.value, constantReflection.unboxPrimitive(box.value)); in unboxTest()
139 assertNull(constantReflection.unboxPrimitive(JavaConstant.NULL_POINTER)); in unboxTest()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/
H A DTestConstantReflectionProvider.java125 JavaConstant unboxed = c.isNull() ? null : constantReflection.unboxPrimitive(c); in unboxTest()
136 assertEquals(prim.value, constantReflection.unboxPrimitive(box.value)); in unboxTest()
139 assertNull(constantReflection.unboxPrimitive(JavaConstant.NULL_POINTER)); in unboxTest()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/
H A DTestConstantReflectionProvider.java125 JavaConstant unboxed = c.isNull() ? null : constantReflection.unboxPrimitive(c); in unboxTest()
136 assertEquals(prim.value, constantReflection.unboxPrimitive(box.value)); in unboxTest()
139 assertNull(constantReflection.unboxPrimitive(JavaConstant.NULL_POINTER)); in unboxTest()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/
H A DHotSpotConstantReflectionProvider.java128 public JavaConstant unboxPrimitive(JavaConstant source) { in unboxPrimitive() method in HotSpotConstantReflectionProvider
135 return runtime.getReflection().unboxPrimitive((HotSpotObjectConstantImpl) source); in unboxPrimitive()
H A DSharedLibraryJVMCIReflection.java332 JavaConstant unboxPrimitive(HotSpotObjectConstantImpl source) { in unboxPrimitive() method in SharedLibraryJVMCIReflection
333 Object box = runtime().compilerToVm.unboxPrimitive(source); in unboxPrimitive()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/
H A DHotSpotConstantReflectionProvider.java128 public JavaConstant unboxPrimitive(JavaConstant source) { in unboxPrimitive() method in HotSpotConstantReflectionProvider
135 return runtime.getReflection().unboxPrimitive((HotSpotObjectConstantImpl) source); in unboxPrimitive()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/
H A DHotSpotConstantReflectionProvider.java128 public JavaConstant unboxPrimitive(JavaConstant source) { in unboxPrimitive() method in HotSpotConstantReflectionProvider
135 return runtime.getReflection().unboxPrimitive((HotSpotObjectConstantImpl) source); in unboxPrimitive()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/
H A DHotSpotConstantReflectionProvider.java128 public JavaConstant unboxPrimitive(JavaConstant source) { in unboxPrimitive() method in HotSpotConstantReflectionProvider
135 return runtime.getReflection().unboxPrimitive((HotSpotObjectConstantImpl) source); in unboxPrimitive()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/
H A DHotSpotConstantReflectionProvider.java130 public JavaConstant unboxPrimitive(JavaConstant source) { in unboxPrimitive() method in HotSpotConstantReflectionProvider
137 return runtime.getReflection().unboxPrimitive((HotSpotObjectConstantImpl) source); in unboxPrimitive()
H A DSharedLibraryJVMCIReflection.java307 JavaConstant unboxPrimitive(HotSpotObjectConstantImpl source) { in unboxPrimitive() method in SharedLibraryJVMCIReflection
308 Object box = runtime().compilerToVm.unboxPrimitive(source); in unboxPrimitive()
H A DHotSpotJVMCIReflection.java90 abstract JavaConstant unboxPrimitive(HotSpotObjectConstantImpl source); in unboxPrimitive() method in HotSpotJVMCIReflection
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.meta/src/jdk/vm/ci/meta/
H A DConstantReflectionProvider.java85 JavaConstant unboxPrimitive(JavaConstant source); in unboxPrimitive() method
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.meta/src/jdk/vm/ci/meta/
H A DConstantReflectionProvider.java85 JavaConstant unboxPrimitive(JavaConstant source); in unboxPrimitive() method
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.meta/src/jdk/vm/ci/meta/
H A DConstantReflectionProvider.java85 JavaConstant unboxPrimitive(JavaConstant source); in unboxPrimitive() method
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.meta/src/jdk/vm/ci/meta/
H A DConstantReflectionProvider.java85 JavaConstant unboxPrimitive(JavaConstant source); in unboxPrimitive() method
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.meta/src/jdk/vm/ci/meta/
H A DConstantReflectionProvider.java85 JavaConstant unboxPrimitive(JavaConstant source); in unboxPrimitive() method
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.meta/src/jdk/vm/ci/meta/
H A DConstantReflectionProvider.java85 JavaConstant unboxPrimitive(JavaConstant source); in unboxPrimitive() method
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.meta/src/jdk/vm/ci/meta/
H A DConstantReflectionProvider.java85 JavaConstant unboxPrimitive(JavaConstant source); in unboxPrimitive() method
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.meta/src/jdk/vm/ci/meta/
H A DConstantReflectionProvider.java85 JavaConstant unboxPrimitive(JavaConstant source); in unboxPrimitive() method

1234