Home
last modified time | relevance | path

Searched refs:toInt32 (Results 1 – 25 of 3069) sorted by relevance

12345678910>>...123

/dports/biology/ugene/ugene-40.1/src/plugins/test_runner/src/
H A DGTestScriptWrapper.cpp48 …lick(widget, (Qt::MouseButton)ctx->argument(1).toInt32(), (Qt::KeyboardModifiers)ctx->argument(2). in qtestMouseClickE()
91 …lick(widget, (Qt::MouseButton)ctx->argument(1).toInt32(), (Qt::KeyboardModifiers)ctx->argument(2). in qtestMouseDClickE()
171 …ress(widget, (Qt::MouseButton)ctx->argument(1).toInt32(), (Qt::KeyboardModifiers)ctx->argument(2). in qtestMousePressE()
214 …ease(widget, (Qt::MouseButton)ctx->argument(1).toInt32(), (Qt::KeyboardModifiers)ctx->argument(2). in qtestMouseReleaseE()
257 …st::keyClick(widget, (Qt::Key)ctx->argument(1).toInt32(), (Qt::KeyboardModifiers)ctx->argument(2). in qtestKeyClickE()
262 …st::keyClick(widget, (Qt::Key)ctx->argument(1).toInt32(), (Qt::KeyboardModifiers)ctx->argument(2). in qtestKeyClickE()
328 …Test::keyEvent((QTest::KeyAction)ctx->argument(0).toInt32(), widget, (Qt::Key)ctx->argument(2).toI… in qtestKeyEventE()
333 …yAction)ctx->argument(0).toInt32(), widget, (Qt::Key)ctx->argument(2).toInt32(), (Qt::KeyboardModi… in qtestKeyEventE()
338 …yAction)ctx->argument(0).toInt32(), widget, (Qt::Key)ctx->argument(2).toInt32(), (Qt::KeyboardModi… in qtestKeyEventE()
371 …st::keyPress(widget, (Qt::Key)ctx->argument(1).toInt32(), (Qt::KeyboardModifiers)ctx->argument(2). in qtestKeyPressE()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/nashorn/src/jdk/nashorn/internal/runtime/test/
H A DJSTypeTest.java145 assertEquals(JSType.toInt32(+0.0), 0); in testToInt32()
146 assertEquals(JSType.toInt32(-0.0), 0); in testToInt32()
147 assertEquals(JSType.toInt32(Double.NaN), 0); in testToInt32()
154 assertEquals(JSType.toInt32(4294967295.0d), -1); in testToInt32()
155 assertEquals(JSType.toInt32(4294967296.0d), 0); in testToInt32()
156 assertEquals(JSType.toInt32(4294967297.0d), 1); in testToInt32()
157 assertEquals(JSType.toInt32(-4294967295.0d), 1); in testToInt32()
158 assertEquals(JSType.toInt32(-4294967296.0d), 0); in testToInt32()
159 assertEquals(JSType.toInt32(-4294967297.d), -1); in testToInt32()
161 assertEquals(JSType.toInt32(4294967296.6d), 0); in testToInt32()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/nashorn/src/jdk/nashorn/internal/runtime/test/
H A DJSTypeTest.java145 assertEquals(JSType.toInt32(+0.0), 0); in testToInt32()
146 assertEquals(JSType.toInt32(-0.0), 0); in testToInt32()
147 assertEquals(JSType.toInt32(Double.NaN), 0); in testToInt32()
154 assertEquals(JSType.toInt32(4294967295.0d), -1); in testToInt32()
155 assertEquals(JSType.toInt32(4294967296.0d), 0); in testToInt32()
156 assertEquals(JSType.toInt32(4294967297.0d), 1); in testToInt32()
157 assertEquals(JSType.toInt32(-4294967295.0d), 1); in testToInt32()
158 assertEquals(JSType.toInt32(-4294967296.0d), 0); in testToInt32()
159 assertEquals(JSType.toInt32(-4294967297.d), -1); in testToInt32()
161 assertEquals(JSType.toInt32(4294967296.6d), 0); in testToInt32()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/nashorn/src/jdk/nashorn/internal/runtime/test/
H A DJSTypeTest.java145 assertEquals(JSType.toInt32(+0.0), 0); in testToInt32()
146 assertEquals(JSType.toInt32(-0.0), 0); in testToInt32()
147 assertEquals(JSType.toInt32(Double.NaN), 0); in testToInt32()
154 assertEquals(JSType.toInt32(4294967295.0d), -1); in testToInt32()
155 assertEquals(JSType.toInt32(4294967296.0d), 0); in testToInt32()
156 assertEquals(JSType.toInt32(4294967297.0d), 1); in testToInt32()
157 assertEquals(JSType.toInt32(-4294967295.0d), 1); in testToInt32()
158 assertEquals(JSType.toInt32(-4294967296.0d), 0); in testToInt32()
159 assertEquals(JSType.toInt32(-4294967297.d), -1); in testToInt32()
161 assertEquals(JSType.toInt32(4294967296.6d), 0); in testToInt32()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/nashorn/src/jdk/nashorn/internal/runtime/test/
H A DJSTypeTest.java145 assertEquals(JSType.toInt32(+0.0), 0); in testToInt32()
146 assertEquals(JSType.toInt32(-0.0), 0); in testToInt32()
147 assertEquals(JSType.toInt32(Double.NaN), 0); in testToInt32()
154 assertEquals(JSType.toInt32(4294967295.0d), -1); in testToInt32()
155 assertEquals(JSType.toInt32(4294967296.0d), 0); in testToInt32()
156 assertEquals(JSType.toInt32(4294967297.0d), 1); in testToInt32()
157 assertEquals(JSType.toInt32(-4294967295.0d), 1); in testToInt32()
158 assertEquals(JSType.toInt32(-4294967296.0d), 0); in testToInt32()
159 assertEquals(JSType.toInt32(-4294967297.d), -1); in testToInt32()
161 assertEquals(JSType.toInt32(4294967296.6d), 0); in testToInt32()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/nashorn/src/jdk/nashorn/internal/runtime/test/
H A DJSTypeTest.java145 assertEquals(JSType.toInt32(+0.0), 0); in testToInt32()
146 assertEquals(JSType.toInt32(-0.0), 0); in testToInt32()
147 assertEquals(JSType.toInt32(Double.NaN), 0); in testToInt32()
154 assertEquals(JSType.toInt32(4294967295.0d), -1); in testToInt32()
155 assertEquals(JSType.toInt32(4294967296.0d), 0); in testToInt32()
156 assertEquals(JSType.toInt32(4294967297.0d), 1); in testToInt32()
157 assertEquals(JSType.toInt32(-4294967295.0d), 1); in testToInt32()
158 assertEquals(JSType.toInt32(-4294967296.0d), 0); in testToInt32()
159 assertEquals(JSType.toInt32(-4294967297.d), -1); in testToInt32()
161 assertEquals(JSType.toInt32(4294967296.6d), 0); in testToInt32()
[all …]
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/nashorn/test/src/jdk/nashorn/internal/runtime/test/
H A DJSTypeTest.java144 assertEquals(JSType.toInt32(+0.0), 0); in testToInt32()
145 assertEquals(JSType.toInt32(-0.0), 0); in testToInt32()
146 assertEquals(JSType.toInt32(Double.NaN), 0); in testToInt32()
153 assertEquals(JSType.toInt32(4294967295.0d), -1); in testToInt32()
154 assertEquals(JSType.toInt32(4294967296.0d), 0); in testToInt32()
155 assertEquals(JSType.toInt32(4294967297.0d), 1); in testToInt32()
156 assertEquals(JSType.toInt32(-4294967295.0d), 1); in testToInt32()
157 assertEquals(JSType.toInt32(-4294967296.0d), 0); in testToInt32()
158 assertEquals(JSType.toInt32(-4294967297.d), -1); in testToInt32()
160 assertEquals(JSType.toInt32(4294967296.6d), 0); in testToInt32()
[all …]
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/nashorn/test/src/jdk/nashorn/internal/runtime/test/
H A DJSTypeTest.java144 assertEquals(JSType.toInt32(+0.0), 0); in testToInt32()
145 assertEquals(JSType.toInt32(-0.0), 0); in testToInt32()
146 assertEquals(JSType.toInt32(Double.NaN), 0); in testToInt32()
153 assertEquals(JSType.toInt32(4294967295.0d), -1); in testToInt32()
154 assertEquals(JSType.toInt32(4294967296.0d), 0); in testToInt32()
155 assertEquals(JSType.toInt32(4294967297.0d), 1); in testToInt32()
156 assertEquals(JSType.toInt32(-4294967295.0d), 1); in testToInt32()
157 assertEquals(JSType.toInt32(-4294967296.0d), 0); in testToInt32()
158 assertEquals(JSType.toInt32(-4294967297.d), -1); in testToInt32()
160 assertEquals(JSType.toInt32(4294967296.6d), 0); in testToInt32()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/qa/core/objectpositioning/
H A Dobjectpositioning.cxx66 sal_Int32 nBodyBottom = getXPath(pXmlDoc, "//body/infos/bounds", "bottom").toInt32(); in CPPUNIT_TEST_FIXTURE()
68 = getXPath(pXmlDoc, "//anchored/SwAnchoredDrawObject/bounds", "bottom").toInt32(); in CPPUNIT_TEST_FIXTURE()
124 sal_Int32 nBodyBottom = getXPath(pXmlDoc, "//body/infos/bounds", "bottom").toInt32(); //14989 in CPPUNIT_TEST_FIXTURE()
128 .toInt32(); //16124 in CPPUNIT_TEST_FIXTURE()
131 .toInt32(); //15699 in CPPUNIT_TEST_FIXTURE()
200 .toInt32(); //17122 in CPPUNIT_TEST_FIXTURE()
205 .toInt32(); //16272 in CPPUNIT_TEST_FIXTURE()
230 .toInt32(); //17098 in CPPUNIT_TEST_FIXTURE()
256 .toInt32(); //16124 in CPPUNIT_TEST_FIXTURE()
259 .toInt32(); //14185 in CPPUNIT_TEST_FIXTURE()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/writerfilter/source/rtftok/
H A Drtfsdrimport.cxx202 switch (aValue.toInt32()) in applyProperty()
225 switch (aValue.toInt32()) in applyProperty()
243 bFilled = aValue.toInt32() == 1; in applyProperty()
308 nType = iter->second.toInt32(); in initShape()
459 switch (rProperty.second.toInt32()) in resolve()
489 nSize = aToken.toInt32(); in resolve()
491 nCount = aToken.toInt32(); in resolve()
654 switch (rProperty.second.toInt32()) in resolve()
685 switch (rProperty.second.toInt32()) in resolve()
834 nSize = aToken.toInt32(); in resolve()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/writerfilter/source/rtftok/
H A Drtfsdrimport.cxx204 switch (aValue.toInt32()) in applyProperty()
227 switch (aValue.toInt32()) in applyProperty()
245 bFilled = aValue.toInt32() == 1; in applyProperty()
311 nType = iter->second.toInt32(); in initShape()
461 switch (rProperty.second.toInt32()) in resolve()
491 nSize = aToken.toInt32(); in resolve()
493 nCount = aToken.toInt32(); in resolve()
656 switch (rProperty.second.toInt32()) in resolve()
687 switch (rProperty.second.toInt32()) in resolve()
836 nSize = aToken.toInt32(); in resolve()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/oox/source/drawingml/
H A Dtransform2dcontext.cxx67 …etTextBody()->getTextProperties().moTextOffLeft = GetCoordinate( sXValue.toInt32() - mrShape.getPo… in onCreateContext()
69 …tTextBody()->getTextProperties().moTextOffUpper = GetCoordinate( sYValue.toInt32() - mrShape.getPo… in onCreateContext()
79 …)->getTextProperties().moTextOffRight = GetCoordinate(mrShape.getSize().Width - sXValue.toInt32()); in onCreateContext()
85 …->getTextProperties().moTextOffLower = GetCoordinate(mrShape.getSize().Height - sYValue.toInt32()); in onCreateContext()
100 …on( awt::Point( rAttribs.getString( XML_x ).get().toInt32(), rAttribs.getString( XML_y ).get().toI… in onCreateContext()
103 …ze( awt::Size( rAttribs.getString( XML_cx ).get().toInt32(), rAttribs.getString( XML_cy ).get().to… in onCreateContext()
106 …on( awt::Point( rAttribs.getString( XML_x ).get().toInt32(), rAttribs.getString( XML_y ).get().toI… in onCreateContext()
109 …ze( awt::Size( rAttribs.getString( XML_cx ).get().toInt32(), rAttribs.getString( XML_cy ).get().to… in onCreateContext()
/dports/editors/libreoffice/libreoffice-7.2.6.2/oox/source/drawingml/
H A Dtransform2dcontext.cxx66 …etTextBody()->getTextProperties().moTextOffLeft = GetCoordinate( sXValue.toInt32() - mrShape.getPo… in onCreateContext()
68 …tTextBody()->getTextProperties().moTextOffUpper = GetCoordinate( sYValue.toInt32() - mrShape.getPo… in onCreateContext()
78 …)->getTextProperties().moTextOffRight = GetCoordinate(mrShape.getSize().Width - sXValue.toInt32()); in onCreateContext()
84 …->getTextProperties().moTextOffLower = GetCoordinate(mrShape.getSize().Height - sYValue.toInt32()); in onCreateContext()
99 …on( awt::Point( rAttribs.getString( XML_x ).get().toInt32(), rAttribs.getString( XML_y ).get().toI… in onCreateContext()
102 …ze( awt::Size( rAttribs.getString( XML_cx ).get().toInt32(), rAttribs.getString( XML_cy ).get().to… in onCreateContext()
105 …on( awt::Point( rAttribs.getString( XML_x ).get().toInt32(), rAttribs.getString( XML_y ).get().toI… in onCreateContext()
109 sal_Int32 nChExtCx = rAttribs.getString(XML_cx).get().toInt32(); in onCreateContext()
114 sal_Int32 nChExtCy = rAttribs.getString(XML_cy).get().toInt32(); in onCreateContext()
/dports/editors/libreoffice/libreoffice-7.2.6.2/oox/source/docprop/
H A Ddocprophandler.cxx101 aOslDTime.Year = static_cast<sal_Int16>(aChars.copy( 0, 4 ).toInt32()); in GetDateTimeFromW3CDTF()
105 aOslDTime.Month = static_cast<sal_uInt16>(aChars.copy( 5, 2 ).toInt32()); in GetDateTimeFromW3CDTF()
109 aOslDTime.Day = static_cast<sal_uInt16>(aChars.copy( 8, 2 ).toInt32()); in GetDateTimeFromW3CDTF()
261 aProp.Value <<= aChars.toInt32(); in UpdateDocStatistic()
481 static_cast<sal_Int16>(aChars.toInt32()) ); in characters()
572 if ( aChars.toInt32() != 0 ) in characters()
579 if ( aChars.toInt32() != 0 ) in characters()
586 if ( aChars.toInt32() != 0 ) in characters()
593 if ( aChars.toInt32() != 0 ) in characters()
600 if ( aChars.toInt32() != 0 ) in characters()
[all …]
/dports/misc/actiona/actiona-3.10.1/actiontools/code/
H A Drect.cpp48 context->argument(1).toInt32(), in constructor()
49 context->argument(2).toInt32(), in constructor()
50 context->argument(3).toInt32())); in constructor()
82 return QRect(context->argument(0).toInt32(), in parameter()
83 context->argument(1).toInt32(), in parameter()
84 context->argument(2).toInt32(), in parameter()
85 context->argument(3).toInt32()); in parameter()
316 … return mRect.contains(QPoint(context()->argument(0).toInt32(), context()->argument(1).toInt32())); in contains()
319 context()->argument(1).toInt32(), in contains()
320 context()->argument(2).toInt32(), in contains()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/
H A DNativeDataView.java144 return new NativeDataView(arrBuf, JSType.toInt32(args[1])); in constructor()
146 return new NativeDataView(arrBuf, JSType.toInt32(args[1]), JSType.toInt32(args[2])); in constructor()
206 return getBuffer(self).get(JSType.toInt32(byteOffset)); in getInt8()
238 return 0xFF & getBuffer(self).get(JSType.toInt32(byteOffset)); in getUint8()
271 return getBuffer(self, littleEndian).getShort(JSType.toInt32(byteOffset)); in getInt16()
371 return getBuffer(self, littleEndian).getInt(JSType.toInt32(byteOffset)); in getInt32()
583 getBuffer(self).put(JSType.toInt32(byteOffset), (byte)JSType.toInt32(value)); in setInt8()
619 getBuffer(self).put(JSType.toInt32(byteOffset), (byte)JSType.toInt32(value)); in setUint8()
656 … getBuffer(self, littleEndian).putShort(JSType.toInt32(byteOffset), (short)JSType.toInt32(value)); in setInt16()
712 … getBuffer(self, littleEndian).putShort(JSType.toInt32(byteOffset), (short)JSType.toInt32(value)); in setUint16()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/
H A DNativeDataView.java144 return new NativeDataView(arrBuf, JSType.toInt32(args[1])); in constructor()
146 return new NativeDataView(arrBuf, JSType.toInt32(args[1]), JSType.toInt32(args[2])); in constructor()
206 return getBuffer(self).get(JSType.toInt32(byteOffset)); in getInt8()
238 return 0xFF & getBuffer(self).get(JSType.toInt32(byteOffset)); in getUint8()
271 return getBuffer(self, littleEndian).getShort(JSType.toInt32(byteOffset)); in getInt16()
371 return getBuffer(self, littleEndian).getInt(JSType.toInt32(byteOffset)); in getInt32()
583 getBuffer(self).put(JSType.toInt32(byteOffset), (byte)JSType.toInt32(value)); in setInt8()
619 getBuffer(self).put(JSType.toInt32(byteOffset), (byte)JSType.toInt32(value)); in setUint8()
656 … getBuffer(self, littleEndian).putShort(JSType.toInt32(byteOffset), (short)JSType.toInt32(value)); in setInt16()
712 … getBuffer(self, littleEndian).putShort(JSType.toInt32(byteOffset), (short)JSType.toInt32(value)); in setUint16()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/
H A DNativeDataView.java144 return new NativeDataView(arrBuf, JSType.toInt32(args[1])); in constructor()
146 return new NativeDataView(arrBuf, JSType.toInt32(args[1]), JSType.toInt32(args[2])); in constructor()
206 return getBuffer(self).get(JSType.toInt32(byteOffset)); in getInt8()
238 return 0xFF & getBuffer(self).get(JSType.toInt32(byteOffset)); in getUint8()
271 return getBuffer(self, littleEndian).getShort(JSType.toInt32(byteOffset)); in getInt16()
371 return getBuffer(self, littleEndian).getInt(JSType.toInt32(byteOffset)); in getInt32()
583 getBuffer(self).put(JSType.toInt32(byteOffset), (byte)JSType.toInt32(value)); in setInt8()
619 getBuffer(self).put(JSType.toInt32(byteOffset), (byte)JSType.toInt32(value)); in setUint8()
656 … getBuffer(self, littleEndian).putShort(JSType.toInt32(byteOffset), (short)JSType.toInt32(value)); in setInt16()
712 … getBuffer(self, littleEndian).putShort(JSType.toInt32(byteOffset), (short)JSType.toInt32(value)); in setUint16()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/
H A DNativeDataView.java144 return new NativeDataView(arrBuf, JSType.toInt32(args[1])); in constructor()
146 return new NativeDataView(arrBuf, JSType.toInt32(args[1]), JSType.toInt32(args[2])); in constructor()
206 return getBuffer(self).get(JSType.toInt32(byteOffset)); in getInt8()
238 return 0xFF & getBuffer(self).get(JSType.toInt32(byteOffset)); in getUint8()
271 return getBuffer(self, littleEndian).getShort(JSType.toInt32(byteOffset)); in getInt16()
371 return getBuffer(self, littleEndian).getInt(JSType.toInt32(byteOffset)); in getInt32()
583 getBuffer(self).put(JSType.toInt32(byteOffset), (byte)JSType.toInt32(value)); in setInt8()
619 getBuffer(self).put(JSType.toInt32(byteOffset), (byte)JSType.toInt32(value)); in setUint8()
656 … getBuffer(self, littleEndian).putShort(JSType.toInt32(byteOffset), (short)JSType.toInt32(value)); in setInt16()
712 … getBuffer(self, littleEndian).putShort(JSType.toInt32(byteOffset), (short)JSType.toInt32(value)); in setUint16()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/
H A DNativeDataView.java144 return new NativeDataView(arrBuf, JSType.toInt32(args[1])); in constructor()
146 return new NativeDataView(arrBuf, JSType.toInt32(args[1]), JSType.toInt32(args[2])); in constructor()
206 return getBuffer(self).get(JSType.toInt32(byteOffset)); in getInt8()
238 return 0xFF & getBuffer(self).get(JSType.toInt32(byteOffset)); in getUint8()
271 return getBuffer(self, littleEndian).getShort(JSType.toInt32(byteOffset)); in getInt16()
371 return getBuffer(self, littleEndian).getInt(JSType.toInt32(byteOffset)); in getInt32()
583 getBuffer(self).put(JSType.toInt32(byteOffset), (byte)JSType.toInt32(value)); in setInt8()
619 getBuffer(self).put(JSType.toInt32(byteOffset), (byte)JSType.toInt32(value)); in setUint8()
656 … getBuffer(self, littleEndian).putShort(JSType.toInt32(byteOffset), (short)JSType.toInt32(value)); in setInt16()
712 … getBuffer(self, littleEndian).putShort(JSType.toInt32(byteOffset), (short)JSType.toInt32(value)); in setUint16()
[all …]
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/nashorn/src/jdk/nashorn/internal/objects/
H A DNativeDataView.java144 return new NativeDataView(arrBuf, JSType.toInt32(args[1])); in constructor()
146 return new NativeDataView(arrBuf, JSType.toInt32(args[1]), JSType.toInt32(args[2])); in constructor()
206 return getBuffer(self).get(JSType.toInt32(byteOffset)); in getInt8()
238 return 0xFF & getBuffer(self).get(JSType.toInt32(byteOffset)); in getUint8()
271 return getBuffer(self, littleEndian).getShort(JSType.toInt32(byteOffset)); in getInt16()
371 return getBuffer(self, littleEndian).getInt(JSType.toInt32(byteOffset)); in getInt32()
583 getBuffer(self).put(JSType.toInt32(byteOffset), (byte)JSType.toInt32(value)); in setInt8()
619 getBuffer(self).put(JSType.toInt32(byteOffset), (byte)JSType.toInt32(value)); in setUint8()
656 … getBuffer(self, littleEndian).putShort(JSType.toInt32(byteOffset), (short)JSType.toInt32(value)); in setInt16()
712 … getBuffer(self, littleEndian).putShort(JSType.toInt32(byteOffset), (short)JSType.toInt32(value)); in setUint16()
[all …]
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/nashorn/src/jdk/nashorn/internal/objects/
H A DNativeDataView.java144 return new NativeDataView(arrBuf, JSType.toInt32(args[1])); in constructor()
146 return new NativeDataView(arrBuf, JSType.toInt32(args[1]), JSType.toInt32(args[2])); in constructor()
206 return getBuffer(self).get(JSType.toInt32(byteOffset)); in getInt8()
238 return 0xFF & getBuffer(self).get(JSType.toInt32(byteOffset)); in getUint8()
271 return getBuffer(self, littleEndian).getShort(JSType.toInt32(byteOffset)); in getInt16()
371 return getBuffer(self, littleEndian).getInt(JSType.toInt32(byteOffset)); in getInt32()
583 getBuffer(self).put(JSType.toInt32(byteOffset), (byte)JSType.toInt32(value)); in setInt8()
619 getBuffer(self).put(JSType.toInt32(byteOffset), (byte)JSType.toInt32(value)); in setUint8()
656 … getBuffer(self, littleEndian).putShort(JSType.toInt32(byteOffset), (short)JSType.toInt32(value)); in setInt16()
712 … getBuffer(self, littleEndian).putShort(JSType.toInt32(byteOffset), (short)JSType.toInt32(value)); in setUint16()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sal/qa/rtl/strings/
H A Dtest_strings_toint.cxx31 CPPUNIT_ASSERT_EQUAL(sal_Int32(0), T("-2147483649").toInt32()); in testToInt32Overflow()
32 CPPUNIT_ASSERT_EQUAL(SAL_MIN_INT32, T("-2147483648").toInt32()); in testToInt32Overflow()
33 CPPUNIT_ASSERT_EQUAL(SAL_MIN_INT32 + 1, T("-2147483647").toInt32()); in testToInt32Overflow()
34 CPPUNIT_ASSERT_EQUAL(SAL_MAX_INT32 - 1, T("2147483646").toInt32()); in testToInt32Overflow()
35 CPPUNIT_ASSERT_EQUAL(SAL_MAX_INT32, T("2147483647").toInt32()); in testToInt32Overflow()
36 CPPUNIT_ASSERT_EQUAL(sal_Int32(0), T("2147483648").toInt32()); in testToInt32Overflow()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sal/qa/rtl/strings/
H A Dtest_strings_toint.cxx31 CPPUNIT_ASSERT_EQUAL(sal_Int32(0), T("-2147483649").toInt32()); in testToInt32Overflow()
32 CPPUNIT_ASSERT_EQUAL(SAL_MIN_INT32, T("-2147483648").toInt32()); in testToInt32Overflow()
33 CPPUNIT_ASSERT_EQUAL(SAL_MIN_INT32 + 1, T("-2147483647").toInt32()); in testToInt32Overflow()
34 CPPUNIT_ASSERT_EQUAL(SAL_MAX_INT32 - 1, T("2147483646").toInt32()); in testToInt32Overflow()
35 CPPUNIT_ASSERT_EQUAL(SAL_MAX_INT32, T("2147483647").toInt32()); in testToInt32Overflow()
36 CPPUNIT_ASSERT_EQUAL(sal_Int32(0), T("2147483648").toInt32()); in testToInt32Overflow()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/JavaScriptCore/runtime/
H A DDateConstructor.cpp111 int year = JSC::toInt32(doubleArguments[0]); in constructDate()
113 t.month = JSC::toInt32(doubleArguments[1]); in constructDate()
115 t.hour = JSC::toInt32(doubleArguments[3]); in constructDate()
116 t.minute = JSC::toInt32(doubleArguments[4]); in constructDate()
117 t.second = JSC::toInt32(doubleArguments[5]); in constructDate()
189 int year = JSC::toInt32(doubleArguments[0]); in dateUTC()
191 t.month = JSC::toInt32(doubleArguments[1]); in dateUTC()
192 t.monthDay = (n >= 3) ? JSC::toInt32(doubleArguments[2]) : 1; in dateUTC()
193 t.hour = JSC::toInt32(doubleArguments[3]); in dateUTC()
194 t.minute = JSC::toInt32(doubleArguments[4]); in dateUTC()
[all …]

12345678910>>...123