Home
last modified time | relevance | path

Searched refs:convert (Results 1 – 25 of 810) sorted by relevance

12345678910>>...33

/external/toybox/toys/other/
Dfree.c26 static unsigned long long convert(unsigned long d)
42 "Swap:%16llu%12llu%12llu\n", convert(in.totalram), in free_main()
43 convert(in.totalram-in.freeram), convert(in.freeram), convert(in.sharedram), in free_main()
44 convert(in.bufferram), convert(in.totalram - in.freeram - in.bufferram), in free_main()
45 convert(in.freeram + in.bufferram), convert(in.totalswap), in free_main()
46 convert(in.totalswap - in.freeswap), convert(in.freeswap)); in free_main()
/external/guava/guava-tests/test/com/google/common/base/
DConverterTest.java61 assertEquals(LONG_VAL, STR_TO_LONG.convert(STR_VAL)); in testConverter()
62 assertEquals(STR_VAL, STR_TO_LONG.reverse().convert(LONG_VAL)); in testConverter()
82 assertEquals(STR_VAL, reverseConverter.convert(LONG_VAL)); in testReverse()
83 assertEquals(LONG_VAL, reverseConverter.reverse().convert(STR_VAL)); in testReverse()
132 assertEquals(LONG_VAL, converter.convert(new StringWrapper(STR_VAL))); in testAndThen()
133 assertEquals(STR_VAL, converter.reverse().convert(LONG_VAL).value); in testAndThen()
146 assertSame(STR_VAL, stringIdentityConverter.convert(STR_VAL)); in testIdentityConverter()
147 assertSame(STR_VAL, stringIdentityConverter.reverse().convert(STR_VAL)); in testIdentityConverter()
164 assertNull(converter.convert(null)); in testFrom()
165 assertNull(converter.reverse().convert(null)); in testFrom()
[all …]
DEnumsTest.java143 assertEquals(TestEnum.CHEETO, converter.convert("CHEETO")); in testStringConverter_convert()
144 assertEquals(TestEnum.HONDA, converter.convert("HONDA")); in testStringConverter_convert()
145 assertEquals(TestEnum.POODLE, converter.convert("POODLE")); in testStringConverter_convert()
146 assertNull(converter.convert(null)); in testStringConverter_convert()
147 assertNull(converter.reverse().convert(null)); in testStringConverter_convert()
153 converter.convert("xxx"); in testStringConverter_convertError()
161 assertEquals("CHEETO", converter.reverse().convert(TestEnum.CHEETO)); in testStringConverter_reverse()
162 assertEquals("HONDA", converter.reverse().convert(TestEnum.HONDA)); in testStringConverter_reverse()
163 assertEquals("POODLE", converter.reverse().convert(TestEnum.POODLE)); in testStringConverter_reverse()
175 assertNull(converter.convert(null)); in testStringConverter_nullConversions()
[all …]
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/
DConverter.java54 public static com.jme3.math.Vector3f convert(javax.vecmath.Vector3f oldVec) { in convert() method in Converter
56 convert(oldVec, newVec); in convert()
60 …public static com.jme3.math.Vector3f convert(javax.vecmath.Vector3f oldVec, com.jme3.math.Vector3f… in convert() method in Converter
67 public static javax.vecmath.Vector3f convert(com.jme3.math.Vector3f oldVec) { in convert() method in Converter
69 convert(oldVec, newVec); in convert()
73 …public static javax.vecmath.Vector3f convert(com.jme3.math.Vector3f oldVec, javax.vecmath.Vector3f… in convert() method in Converter
80 …public static javax.vecmath.Quat4f convert(com.jme3.math.Quaternion oldQuat, javax.vecmath.Quat4f … in convert() method in Converter
88 public static javax.vecmath.Quat4f convert(com.jme3.math.Quaternion oldQuat) { in convert() method in Converter
90 convert(oldQuat, newQuat); in convert()
94 …public static com.jme3.math.Quaternion convert(javax.vecmath.Quat4f oldQuat, com.jme3.math.Quatern… in convert() method in Converter
[all …]
/external/netperf/
Dnetsh.c497 local_send_align = convert(arg1); in scan_cmd_line()
500 local_recv_align = convert(arg2); in scan_cmd_line()
506 remote_send_align = convert(arg1); in scan_cmd_line()
509 remote_recv_align = convert(arg2); in scan_cmd_line()
545 demo_units = convert(arg2); in scan_cmd_line()
566 iteration_max = convert(arg1); in scan_cmd_line()
569 iteration_min = convert(arg2); in scan_cmd_line()
585 confidence_level = convert(arg1); in scan_cmd_line()
592 interval = (double) convert(arg2)/100; in scan_cmd_line()
607 loc_dirty_count = convert(arg1); in scan_cmd_line()
[all …]
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
DSimplexCollisionShape.java74 …= new BU_Simplex1to4(Converter.convert(vector1), Converter.convert(vector2), Converter.convert(vec… in createShape()
76 …cShape = new BU_Simplex1to4(Converter.convert(vector1), Converter.convert(vector2), Converter.conv… in createShape()
78 cShape = new BU_Simplex1to4(Converter.convert(vector1), Converter.convert(vector2)); in createShape()
80 cShape = new BU_Simplex1to4(Converter.convert(vector1)); in createShape()
82 cShape.setLocalScaling(Converter.convert(getScale())); in createShape()
DCompoundCollisionShape.java70 Transform transA = new Transform(Converter.convert(new Matrix3f())); in addChildShape()
71 Converter.convert(location, transA.origin); in addChildShape()
85 Transform transA = new Transform(Converter.convert(rotation)); in addChildShape()
86 Converter.convert(location, transA.origin); in addChildShape()
87 Converter.convert(rotation, transA.basis); in addChildShape()
96 Transform transA = new Transform(Converter.convert(rotation)); in addChildShapeDirect()
97 Converter.convert(location, transA.origin); in addChildShapeDirect()
98 Converter.convert(rotation, transA.basis); in addChildShapeDirect()
138 cShape.setLocalScaling(Converter.convert(getScale())); in read()
/external/jmonkeyengine/engine/src/bullet-native/
Dcom_jme3_bullet_collision_shapes_SimplexCollisionShape.cpp52 jmeBulletUtil::convert(env, vector1, &vec1); in Java_com_jme3_bullet_collision_shapes_SimplexCollisionShape_createShape__Lcom_jme3_math_Vector3f_2()
66 jmeBulletUtil::convert(env, vector1, &vec1); in Java_com_jme3_bullet_collision_shapes_SimplexCollisionShape_createShape__Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2()
68 jmeBulletUtil::convert(env, vector2, &vec2); in Java_com_jme3_bullet_collision_shapes_SimplexCollisionShape_createShape__Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2()
81 jmeBulletUtil::convert(env, vector1, &vec1); in Java_com_jme3_bullet_collision_shapes_SimplexCollisionShape_createShape__Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2()
83 jmeBulletUtil::convert(env, vector2, &vec2); in Java_com_jme3_bullet_collision_shapes_SimplexCollisionShape_createShape__Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2()
85 jmeBulletUtil::convert(env, vector3, &vec3); in Java_com_jme3_bullet_collision_shapes_SimplexCollisionShape_createShape__Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2()
98 jmeBulletUtil::convert(env, vector1, &vec1); in Java_com_jme3_bullet_collision_shapes_SimplexCollisionShape_createShape__Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2()
100 jmeBulletUtil::convert(env, vector2, &vec2); in Java_com_jme3_bullet_collision_shapes_SimplexCollisionShape_createShape__Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2()
102 jmeBulletUtil::convert(env, vector3, &vec3); in Java_com_jme3_bullet_collision_shapes_SimplexCollisionShape_createShape__Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2()
104 jmeBulletUtil::convert(env, vector4, &vec4); in Java_com_jme3_bullet_collision_shapes_SimplexCollisionShape_createShape__Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2()
Dcom_jme3_bullet_joints_SixDofJoint.cpp89 jmeBulletUtil::convert(env, vector, &vec); in Java_com_jme3_bullet_joints_SixDofJoint_setLinearUpperLimit()
107 jmeBulletUtil::convert(env, vector, &vec); in Java_com_jme3_bullet_joints_SixDofJoint_setLinearLowerLimit()
125 jmeBulletUtil::convert(env, vector, &vec); in Java_com_jme3_bullet_joints_SixDofJoint_setAngularUpperLimit()
143 jmeBulletUtil::convert(env, vector, &vec); in Java_com_jme3_bullet_joints_SixDofJoint_setAngularLowerLimit()
160 jmeBulletUtil::convert(env, pivotA, &transA.getOrigin()); in Java_com_jme3_bullet_joints_SixDofJoint_createJoint()
161 jmeBulletUtil::convert(env, rotA, &transA.getBasis()); in Java_com_jme3_bullet_joints_SixDofJoint_createJoint()
163 jmeBulletUtil::convert(env, pivotB, &transB.getOrigin()); in Java_com_jme3_bullet_joints_SixDofJoint_createJoint()
164 jmeBulletUtil::convert(env, rotB, &transB.getBasis()); in Java_com_jme3_bullet_joints_SixDofJoint_createJoint()
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/joints/
DSixDofJoint.java82 Transform transA = new Transform(Converter.convert(rotA)); in SixDofJoint()
83 Converter.convert(pivotA, transA.origin); in SixDofJoint()
84 Converter.convert(rotA, transA.basis); in SixDofJoint()
86 Transform transB = new Transform(Converter.convert(rotB)); in SixDofJoint()
87 Converter.convert(pivotB, transB.origin); in SixDofJoint()
88 Converter.convert(rotB, transB.basis); in SixDofJoint()
102 Transform transA = new Transform(Converter.convert(new Matrix3f())); in SixDofJoint()
103 Converter.convert(pivotA, transA.origin); in SixDofJoint()
105 Transform transB = new Transform(Converter.convert(new Matrix3f())); in SixDofJoint()
106 Converter.convert(pivotB, transB.origin); in SixDofJoint()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DEnumsTest.java103 assertEquals(TestEnum.CHEETO, converter.convert("CHEETO")); in testStringConverter_convert()
104 assertEquals(TestEnum.HONDA, converter.convert("HONDA")); in testStringConverter_convert()
105 assertEquals(TestEnum.POODLE, converter.convert("POODLE")); in testStringConverter_convert()
106 assertNull(converter.convert(null)); in testStringConverter_convert()
107 assertNull(converter.reverse().convert(null)); in testStringConverter_convert()
113 converter.convert("xxx"); in testStringConverter_convertError()
121 assertEquals("CHEETO", converter.reverse().convert(TestEnum.CHEETO)); in testStringConverter_reverse()
122 assertEquals("HONDA", converter.reverse().convert(TestEnum.HONDA)); in testStringConverter_reverse()
123 assertEquals("POODLE", converter.reverse().convert(TestEnum.POODLE)); in testStringConverter_reverse()
128 assertNull(converter.convert(null)); in testStringConverter_nullConversions()
[all …]
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/
DPhysicsRigidBody.java154 Converter.convert(location, tempTrans.origin); in setPhysicsLocation()
165 Converter.convert(rotation, tempTrans.basis); in setPhysicsRotation()
176 Converter.convert(rotation, tempTrans.basis); in setPhysicsRotation()
204 return Converter.convert(tempTrans.origin, location); in getPhysicsLocation()
216 return Converter.convert(tempTrans.basis, rotation); in getPhysicsRotationMatrix()
236 return Converter.convert(tempTrans.basis, rotation); in getPhysicsRotation()
248 return Converter.convert(tempTrans.origin, location); in getInterpolatedPhysicsLocation()
260 return Converter.convert(tempTrans.basis, rotation); in getInterpolatedPhysicsRotation()
344 return Converter.convert(tempVec, gravity); in getGravity()
354 rBody.setGravity(Converter.convert(gravity, tempVec)); in setGravity()
[all …]
DPhysicsGhostObject.java66 protected Transform tempTrans = new Transform(Converter.convert(new Matrix3f()));
109 Converter.convert(location, tempTrans.origin); in setPhysicsLocation()
119 Converter.convert(rotation, tempTrans.basis); in setPhysicsRotation()
129 Converter.convert(rotation, tempTrans.basis); in setPhysicsRotation()
148 Converter.convert(tempTrans.origin, physicsLocation.getTranslation()); in getPhysicsLocation()
160 Converter.convert(tempTrans.getRotation(tempRot), physicsLocation.getRotation()); in getPhysicsRotation()
172 Converter.convert(tempTrans.getRotation(tempRot), physicsLocation.getRotation()); in getPhysicsRotationMatrix()
181 Converter.convert(tempTrans.origin, physicsLocation.getTranslation()); in getPhysicsLocation()
190 Converter.convert(tempTrans.getRotation(tempRot), physicsLocation.getRotation()); in getPhysicsRotation()
196 Converter.convert(tempTrans.getRotation(tempRot), physicsLocation.getRotation()); in getPhysicsRotationMatrix()
/external/llvm/test/CodeGen/AArch64/
Df16-convert.ll10 %tmp1 = tail call float @llvm.convert.from.fp16.f32(i16 %tmp)
21 %conv = tail call double @llvm.convert.from.fp16.f64(i16 %tmp)
34 %tmp1 = tail call float @llvm.convert.from.fp16.f32(i16 %tmp)
47 %conv = tail call double @llvm.convert.from.fp16.f64(i16 %tmp)
59 %tmp1 = tail call float @llvm.convert.from.fp16.f32(i16 %tmp)
71 %conv = tail call double @llvm.convert.from.fp16.f64(i16 %tmp)
83 %tmp1 = tail call float @llvm.convert.from.fp16.f32(i16 %tmp)
95 %conv = tail call double @llvm.convert.from.fp16.f64(i16 %tmp)
107 %tmp1 = tail call float @llvm.convert.from.fp16.f32(i16 %tmp)
119 %conv = tail call double @llvm.convert.from.fp16.f64(i16 %tmp)
[all …]
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/joints/motors/
DTranslationalLimitMotor.java54 return Converter.convert(motor.lowerLimit); in getLowerLimit()
58 Converter.convert(lowerLimit, motor.lowerLimit); in setLowerLimit()
62 return Converter.convert(motor.upperLimit); in getUpperLimit()
66 Converter.convert(upperLimit, motor.upperLimit); in setUpperLimit()
70 return Converter.convert(motor.accumulatedImpulse); in getAccumulatedImpulse()
74 Converter.convert(accumulatedImpulse, motor.accumulatedImpulse); in setAccumulatedImpulse()
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
DIntsTest.java360 assertEquals((Integer) 1, converter.convert("1")); in testStringConverter_convert()
361 assertEquals((Integer) 0, converter.convert("0")); in testStringConverter_convert()
362 assertEquals((Integer) (-1), converter.convert("-1")); in testStringConverter_convert()
363 assertEquals((Integer) 255, converter.convert("0xff")); in testStringConverter_convert()
364 assertEquals((Integer) 255, converter.convert("0xFF")); in testStringConverter_convert()
365 assertEquals((Integer) (-255), converter.convert("-0xFF")); in testStringConverter_convert()
366 assertEquals((Integer) 255, converter.convert("#0000FF")); in testStringConverter_convert()
367 assertEquals((Integer) 438, converter.convert("0666")); in testStringConverter_convert()
372 Ints.stringConverter().convert("notanumber"); in testStringConverter_convertError()
379 assertNull(Ints.stringConverter().convert(null)); in testStringConverter_nullConversions()
[all …]
DShortsTest.java368 assertEquals((Short) (short) 1, converter.convert("1")); in testStringConverter_convert()
369 assertEquals((Short) (short) 0, converter.convert("0")); in testStringConverter_convert()
370 assertEquals((Short) (short) (-1), converter.convert("-1")); in testStringConverter_convert()
371 assertEquals((Short) (short) 255, converter.convert("0xff")); in testStringConverter_convert()
372 assertEquals((Short) (short) 255, converter.convert("0xFF")); in testStringConverter_convert()
373 assertEquals((Short) (short) (-255), converter.convert("-0xFF")); in testStringConverter_convert()
374 assertEquals((Short) (short) 255, converter.convert("#0000FF")); in testStringConverter_convert()
375 assertEquals((Short) (short) 438, converter.convert("0666")); in testStringConverter_convert()
380 Shorts.stringConverter().convert("notanumber"); in testStringConverter_convertError()
387 assertNull(Shorts.stringConverter().convert(null)); in testStringConverter_nullConversions()
[all …]
DLongsTest.java381 assertEquals((Long) 1L, converter.convert("1")); in testStringConverter_convert()
382 assertEquals((Long) 0L, converter.convert("0")); in testStringConverter_convert()
383 assertEquals((Long) (-1L), converter.convert("-1")); in testStringConverter_convert()
384 assertEquals((Long) 255L, converter.convert("0xff")); in testStringConverter_convert()
385 assertEquals((Long) 255L, converter.convert("0xFF")); in testStringConverter_convert()
386 assertEquals((Long) (-255L), converter.convert("-0xFF")); in testStringConverter_convert()
387 assertEquals((Long) 255L, converter.convert("#0000FF")); in testStringConverter_convert()
388 assertEquals((Long) 438L, converter.convert("0666")); in testStringConverter_convert()
393 Longs.stringConverter().convert("notanumber"); in testStringConverter_convertError()
400 assertNull(Longs.stringConverter().convert(null)); in testStringConverter_nullConversions()
[all …]
/external/iputils/
Dtftpsubs.c100 int readit(FILE * file, struct tftphdr **dpp, int convert) in readit() argument
109 read_ahead(file, convert); /* fill it */ in readit()
121 void read_ahead(FILE *file, int convert) in read_ahead() argument
136 if (convert == 0) { in read_ahead()
167 int writeit(FILE *file, struct tftphdr **dpp, int ct, int convert) in writeit() argument
172 write_behind(file, convert); /* flush it */ in writeit()
184 int write_behind(FILE *file, int convert) in write_behind() argument
206 if (convert == 0) in write_behind()
/external/llvm/test/CodeGen/NVPTX/
Dfp16.ll3 declare float @llvm.convert.from.fp16.f32(i16) nounwind readnone
4 declare double @llvm.convert.from.fp16.f64(i16) nounwind readnone
5 declare i16 @llvm.convert.to.fp16.f32(float) nounwind readnone
6 declare i16 @llvm.convert.to.fp16.f64(double) nounwind readnone
12 %cvt = call float @llvm.convert.from.fp16.f32(i16 %val) nounwind readnone
22 %cvt = call double @llvm.convert.from.fp16.f64(i16 %val) nounwind readnone
32 %cvt = call i16 @llvm.convert.to.fp16.f32(float %val) nounwind readnone
42 %cvt = call i16 @llvm.convert.to.fp16.f64(double %val) nounwind readnone
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/
DPhysicsCollisionEvent.java151 return Converter.convert(cp.lateralFrictionDir1); in getLateralFrictionDir1()
155 return Converter.convert(cp.lateralFrictionDir2); in getLateralFrictionDir2()
167 return Converter.convert(cp.localPointA); in getLocalPointA()
171 return Converter.convert(cp.localPointB); in getLocalPointB()
175 return Converter.convert(cp.normalWorldOnB); in getNormalWorldOnB()
187 return Converter.convert(cp.positionWorldOnA); in getPositionWorldOnA()
191 return Converter.convert(cp.positionWorldOnB); in getPositionWorldOnB()
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DStopwatch.java209 return desiredUnit.convert(elapsedNanos(), NANOSECONDS); in elapsed()
213 if (DAYS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit()
216 if (HOURS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit()
219 if (MINUTES.convert(nanos, NANOSECONDS) > 0) { in chooseUnit()
222 if (SECONDS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit()
225 if (MILLISECONDS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit()
228 if (MICROSECONDS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit()
/external/guava/guava-tests/test/com/google/common/primitives/
DShortsTest.java433 assertEquals((Short) (short) 1, converter.convert("1")); in testStringConverter_convert()
434 assertEquals((Short) (short) 0, converter.convert("0")); in testStringConverter_convert()
435 assertEquals((Short) (short) (-1), converter.convert("-1")); in testStringConverter_convert()
436 assertEquals((Short) (short) 255, converter.convert("0xff")); in testStringConverter_convert()
437 assertEquals((Short) (short) 255, converter.convert("0xFF")); in testStringConverter_convert()
438 assertEquals((Short) (short) (-255), converter.convert("-0xFF")); in testStringConverter_convert()
439 assertEquals((Short) (short) 255, converter.convert("#0000FF")); in testStringConverter_convert()
440 assertEquals((Short) (short) 438, converter.convert("0666")); in testStringConverter_convert()
445 Shorts.stringConverter().convert("notanumber"); in testStringConverter_convertError()
452 assertNull(Shorts.stringConverter().convert(null)); in testStringConverter_nullConversions()
[all …]
DLongsTest.java409 assertEquals((Long) 1L, converter.convert("1")); in testStringConverter_convert()
410 assertEquals((Long) 0L, converter.convert("0")); in testStringConverter_convert()
411 assertEquals((Long) (-1L), converter.convert("-1")); in testStringConverter_convert()
412 assertEquals((Long) 255L, converter.convert("0xff")); in testStringConverter_convert()
413 assertEquals((Long) 255L, converter.convert("0xFF")); in testStringConverter_convert()
414 assertEquals((Long) (-255L), converter.convert("-0xFF")); in testStringConverter_convert()
415 assertEquals((Long) 255L, converter.convert("#0000FF")); in testStringConverter_convert()
416 assertEquals((Long) 438L, converter.convert("0666")); in testStringConverter_convert()
421 Longs.stringConverter().convert("notanumber"); in testStringConverter_convertError()
428 assertNull(Longs.stringConverter().convert(null)); in testStringConverter_nullConversions()
[all …]
/external/llvm/test/CodeGen/X86/
Dcvt16.ll24 %1 = tail call i16 @llvm.convert.to.fp16.f32(float %src)
37 %2 = tail call float @llvm.convert.from.fp16.f32(i16 %1)
48 %1 = tail call i16 @llvm.convert.to.fp16.f32(float %src)
49 %2 = tail call float @llvm.convert.from.fp16.f32(i16 %1)
64 %2 = tail call double @llvm.convert.from.fp16.f64(i16 %1)
78 %val = tail call i16 @llvm.convert.to.fp16.f64(double %src)
86 declare float @llvm.convert.from.fp16.f32(i16) nounwind readnone
87 declare i16 @llvm.convert.to.fp16.f32(float) nounwind readnone
88 declare double @llvm.convert.from.fp16.f64(i16) nounwind readnone
89 declare i16 @llvm.convert.to.fp16.f64(double) nounwind readnone

12345678910>>...33