Home
last modified time | relevance | path

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

12345678910>>...24

/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()
DjmeBulletUtil.h42 static void convert(JNIEnv* env, jobject in, btVector3* out);
43 static void convert(JNIEnv* env, const btVector3* in, jobject out);
44 static void convert(JNIEnv* env, jobject in, btMatrix3x3* out);
45 static void convert(JNIEnv* env, const btMatrix3x3* in, jobject out);
/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 …]
DConeJoint.java126 Transform transA = new Transform(Converter.convert(rotA)); in createJoint()
127 Converter.convert(pivotA, transA.origin); in createJoint()
128 Converter.convert(rotA, transA.basis); in createJoint()
130 Transform transB = new Transform(Converter.convert(rotB)); in createJoint()
131 Converter.convert(pivotB, transB.origin); in createJoint()
132 Converter.convert(rotB, transB.basis); in createJoint()
/external/qemu/distrib/sdl-1.2.15/src/audio/mint/
DSDL_mintaudio.c71 if (audio->convert.needed) { in SDL_MintAudio_Callback()
74 if ( audio->convert.src_format == AUDIO_U8 ) { in SDL_MintAudio_Callback()
79 SDL_memset(audio->convert.buf, silence, audio->convert.len); in SDL_MintAudio_Callback()
81 (Uint8 *)audio->convert.buf,audio->convert.len); in SDL_MintAudio_Callback()
82 SDL_ConvertAudio(&audio->convert); in SDL_MintAudio_Callback()
83 SDL_memcpy(buffer, audio->convert.buf, audio->convert.len_cvt); in SDL_MintAudio_Callback()
/external/qemu/distrib/sdl-1.2.15/src/audio/
DSDL_audio.c144 if ( audio->convert.needed ) { in SDL_RunAudio()
145 if ( audio->convert.src_format == AUDIO_U8 ) { in SDL_RunAudio()
150 stream_len = audio->convert.len; in SDL_RunAudio()
181 if ( audio->convert.needed ) { in SDL_RunAudio()
182 if ( audio->convert.buf ) { in SDL_RunAudio()
183 stream = audio->convert.buf; in SDL_RunAudio()
203 if ( audio->convert.needed ) { in SDL_RunAudio()
204 SDL_ConvertAudio(&audio->convert); in SDL_RunAudio()
209 SDL_memcpy(stream, audio->convert.buf, in SDL_RunAudio()
210 audio->convert.len_cvt); in SDL_RunAudio()
[all …]
/external/chromium/chrome/browser/ui/cocoa/
Dbase_view_unittest.mm33 NSRect convert = NSMakeRect(10, 10, 50, 50);
34 gfx::Rect converted = [view_ flipNSRectToRect:convert];
37 EXPECT_EQ(converted.width(), convert.size.width);
38 EXPECT_EQ(converted.height(), convert.size.height);
42 EXPECT_EQ(back_again.origin.x, convert.origin.x);
43 EXPECT_EQ(back_again.origin.y, convert.origin.y);
44 EXPECT_EQ(back_again.size.width, convert.size.width);
45 EXPECT_EQ(back_again.size.height, convert.size.height);
/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/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/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/qemu/distrib/sdl-1.2.15/src/audio/macrom/
DSDL_romaudio.c127 if ( audio->convert.needed ) { in mix_buffer()
129 (Uint8 *)audio->convert.buf,audio->convert.len); in mix_buffer()
130 SDL_ConvertAudio(&audio->convert); in mix_buffer()
131 if ( audio->convert.len_cvt != audio->spec.size ) { in mix_buffer()
134 SDL_memcpy(buffer, audio->convert.buf, audio->convert.len_cvt); in mix_buffer()
345 if ( audio->convert.needed ) { in sndDoubleBackProc()
347 (Uint8 *)audio->convert.buf,audio->convert.len); in sndDoubleBackProc()
348 SDL_ConvertAudio(&audio->convert); in sndDoubleBackProc()
350 if ( audio->convert.len_cvt != audio->spec.size ) { in sndDoubleBackProc()
354 SDL_memcpy(newbuf->dbSoundData, audio->convert.buf, in sndDoubleBackProc()
[all …]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/threegpp26244/
DLocationInformationBox.java94 …return 22 + Utf8.convert(name).length + Utf8.convert(astronomicalBody).length + Utf8.convert(addit… in getContentSize()
115 byteBuffer.put(Utf8.convert(name)); in getContent()
121 byteBuffer.put(Utf8.convert(astronomicalBody)); in getContent()
123 byteBuffer.put(Utf8.convert(additionalNotes)); in getContent()
/external/llvm/test/CodeGen/ARM/
Dfp16.ll16 %2 = tail call float @llvm.convert.from.fp16(i16 %0)
19 %3 = tail call float @llvm.convert.from.fp16(i16 %1)
23 %5 = tail call i16 @llvm.convert.to.fp16(float %4)
30 declare float @llvm.convert.from.fp16(i16) nounwind readnone
32 declare i16 @llvm.convert.to.fp16(float) nounwind readnone
/external/guava/guava/src/com/google/common/base/
DStopwatch.java157 return desiredUnit.convert(elapsedNanos(), NANOSECONDS); in elapsedTime()
189 double value = (double) nanos / NANOSECONDS.convert(1, unit); in toString()
197 if (SECONDS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit()
200 if (MILLISECONDS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit()
203 if (MICROSECONDS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit()
/external/eigen/test/eigen2/
Deigen2_cholesky.cpp46 convert<MatrixType>(symm, gSymm); in cholesky()
47 convert<MatrixType>(symm, gMatA); in cholesky()
48 convert<VectorType>(vecB, gVecB); in cholesky()
49 convert<VectorType>(vecB, gVecX); in cholesky()
53 convert(gVecX, _vecX); in cholesky()
56 convert(gVecB, _vecB); in cholesky()
Deigen2_eigensolver.cpp53 convert<MatrixType>(symmA, gSymmA); in selfadjointeigensolver()
54 convert<MatrixType>(symmB, gSymmB); in selfadjointeigensolver()
55 convert<MatrixType>(symmA, gEvec); in selfadjointeigensolver()
59 convert(gEval, _eval); in selfadjointeigensolver()
60 convert(gEvec, _evec); in selfadjointeigensolver()
71 convert(gEval, _eval); in selfadjointeigensolver()
72 convert(gEvec, _evec); in selfadjointeigensolver()
/external/qemu/distrib/sdl-1.2.15/src/audio/baudio/
DSDL_beaudio.cc110 if ( audio->convert.needed ) { in FillSound()
113 (Uint8 *)audio->convert.buf,audio->convert.len); in FillSound()
115 SDL_ConvertAudio(&audio->convert); in FillSound()
116 SDL_memcpy(stream,audio->convert.buf,audio->convert.len_cvt); in FillSound()
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/
DTimeUnit.java22 public long convert(long d, TimeUnit u) { return u.toNanos(d); } in convert() method
33 public long convert(long d, TimeUnit u) { return u.toMicros(d); } in convert() method
44 public long convert(long d, TimeUnit u) { return u.toMillis(d); } in convert() method
55 public long convert(long d, TimeUnit u) { return u.toSeconds(d); } in convert() method
66 public long convert(long d, TimeUnit u) { return u.toMinutes(d); } in convert() method
77 public long convert(long d, TimeUnit u) { return u.toHours(d); } in convert() method
88 public long convert(long d, TimeUnit u) { return u.toDays(d); } in convert() method
111 public long convert(long sourceDuration, TimeUnit sourceUnit) { in convert() method in TimeUnit
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/geometry/
Dvertexconversion.h33 static T convert(T x) in convert() function
46 static ToT convert(FromT x) in convert() function
59 static T convert(T x)
72 static float convert(T x)
98 static float convert(FromType x)
196 out[elementindex] = Converter::convert(in[elementindex]);

12345678910>>...24