Home
last modified time | relevance | path

Searched refs:Converter (Results 1 – 25 of 116) sorted by relevance

12345

/external/doclava/src/com/google/doclava/
DConverter.java26 public class Converter { class
38 Converter.obtainClass(classDocs[i]); in makeInfo()
58 mRootClasses = Converter.convertClasses(r.classes()); in makeInfo()
78 cl.init(Converter.obtainType(c), in initClass()
79 new ArrayList<ClassInfo>(Arrays.asList(Converter.convertClasses(c.interfaces()))), in initClass()
80 new ArrayList<TypeInfo>(Arrays.asList(Converter.convertTypes(c.interfaceTypes()))), in initClass()
81 new ArrayList<ClassInfo>(Arrays.asList(Converter.convertClasses(c.innerClasses()))), in initClass()
83 Converter.convertMethods(c.constructors(false)))), in initClass()
84 new ArrayList<MethodInfo>(Arrays.asList(Converter.convertMethods(c.methods(false)))), in initClass()
85 new ArrayList<MethodInfo>(Arrays.asList(Converter.convertMethods(annotationElements))), in initClass()
[all …]
/external/chromium_org/gin/
Dconverter.cc23 Handle<Value> Converter<bool>::ToV8(Isolate* isolate, bool val) { in ToV8()
27 bool Converter<bool>::FromV8(Isolate* isolate, Handle<Value> val, bool* out) { in FromV8()
32 Handle<Value> Converter<int32_t>::ToV8(Isolate* isolate, int32_t val) { in ToV8()
36 bool Converter<int32_t>::FromV8(Isolate* isolate, Handle<Value> val, in FromV8()
44 Handle<Value> Converter<uint32_t>::ToV8(Isolate* isolate, uint32_t val) { in ToV8()
48 bool Converter<uint32_t>::FromV8(Isolate* isolate, Handle<Value> val, in FromV8()
56 Handle<Value> Converter<int64_t>::ToV8(Isolate* isolate, int64_t val) { in ToV8()
60 bool Converter<int64_t>::FromV8(Isolate* isolate, Handle<Value> val, in FromV8()
70 Handle<Value> Converter<uint64_t>::ToV8(Isolate* isolate, uint64_t val) { in ToV8()
74 bool Converter<uint64_t>::FromV8(Isolate* isolate, Handle<Value> val, in FromV8()
[all …]
Dconverter.h18 struct Converter {}; struct
21 struct GIN_EXPORT Converter<bool> {
30 struct GIN_EXPORT Converter<int32_t> {
39 struct GIN_EXPORT Converter<uint32_t> {
48 struct GIN_EXPORT Converter<int64_t> {
58 struct GIN_EXPORT Converter<uint64_t> {
68 struct GIN_EXPORT Converter<double> {
77 struct GIN_EXPORT Converter<base::StringPiece> {
84 struct GIN_EXPORT Converter<std::string> {
93 struct GIN_EXPORT Converter<v8::Handle<v8::Function> > {
[all …]
Dconverter_unittest.cc36 EXPECT_TRUE(Converter<bool>::ToV8(instance_->isolate(), true)->StrictEquals( in TEST_F()
38 EXPECT_TRUE(Converter<bool>::ToV8(instance_->isolate(), false)->StrictEquals( in TEST_F()
60 EXPECT_TRUE(Converter<bool>::FromV8(instance_->isolate(), in TEST_F()
65 EXPECT_TRUE(Converter<bool>::FromV8(instance_->isolate(), in TEST_F()
76 EXPECT_TRUE(Converter<int32_t>::ToV8(instance_->isolate(), in TEST_F()
102 bool success = Converter<int32_t>::FromV8(instance_->isolate(), in TEST_F()
119 Converter<std::vector<int> >::ToV8(instance_->isolate(), expected)); in TEST_F()
128 EXPECT_TRUE(Converter<std::vector<int> >::FromV8(instance_->isolate(), in TEST_F()
/external/chromium_org/third_party/WebKit/Source/wtf/
DStringHasher.h91 …template<typename T, UChar Converter(T)> void addCharactersAssumingAligned(const T* data, unsigned… in addCharactersAssumingAligned()
99 addCharactersAssumingAligned(Converter(data[0]), Converter(data[1])); in addCharactersAssumingAligned()
104 addCharacter(Converter(*data)); in addCharactersAssumingAligned()
112 template<typename T, UChar Converter(T)> void addCharactersAssumingAligned(const T* data) in addCharactersAssumingAligned()
119 addCharacter(Converter(a)); in addCharactersAssumingAligned()
122 addCharactersAssumingAligned(Converter(a), Converter(b)); in addCharactersAssumingAligned()
131 template<typename T, UChar Converter(T)> void addCharacters(const T* data, unsigned length) in addCharacters()
135 addCharactersAssumingAligned(m_pendingCharacter, Converter(*data++)); in addCharacters()
138 addCharactersAssumingAligned<T, Converter>(data, length); in addCharacters()
146 template<typename T, UChar Converter(T)> void addCharacters(const T* data) in addCharacters()
[all …]
/external/openfst/src/include/fst/script/
Dregister.h38 template<class Reader, class Creator, class Converter>
42 Converter converter;
44 FstClassRegEntry(Reader r, Creator cr, Converter co) : in FstClassRegEntry()
49 template<class Reader, class Creator, class Converter>
52 FstClassRegEntry<Reader, Creator, Converter>,
54 Converter> > {
64 Converter GetConverter(const string &arc_type) const { in GetConverter()
88 typedef FstClassImplBase *(*Converter)(const FstClass &other); typedef
90 typedef FstClassRegEntry<Reader, Creator, Converter> Entry;
93 typedef FstClassIORegister<Reader, Creator, Converter> Register;
[all …]
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
DSimplexCollisionShape.java8 import com.jme3.bullet.util.Converter;
74 …cShape = new BU_Simplex1to4(Converter.convert(vector1), Converter.convert(vector2), Converter.conv… 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.java37 import com.jme3.bullet.util.Converter;
70 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()
DCylinderCollisionShape.java37 import com.jme3.bullet.util.Converter;
104 cShape = new CylinderShapeX(Converter.convert(halfExtents)); in createShape()
107 cShape = new CylinderShape(Converter.convert(halfExtents)); in createShape()
110 cShape = new CylinderShapeZ(Converter.convert(halfExtents)); in createShape()
113 cShape.setLocalScaling(Converter.convert(getScale())); in createShape()
DGImpactCollisionShape.java37 import com.jme3.bullet.util.Converter;
72 bulletMesh = Converter.convert(mesh); in createCollisionMesh()
86 return Converter.convert(bulletMesh); in createJmeMesh()
127 cShape.setLocalScaling(Converter.convert(worldScale)); in createShape()
129 cShape.setLocalScaling(Converter.convert(getScale())); in createShape()
DPlaneCollisionShape.java9 import com.jme3.bullet.util.Converter;
54 cShape = new StaticPlaneShape(Converter.convert(plane.getNormal()),plane.getConstant()); in createShape()
55 cShape.setLocalScaling(Converter.convert(getScale())); in createShape()
DBoxCollisionShape.java35 import com.jme3.bullet.util.Converter;
82 cShape = new BoxShape(Converter.convert(halfExtents)); in createShape()
83 cShape.setLocalScaling(Converter.convert(getScale())); in createShape()
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/joints/
DSixDofJoint.java39 import com.jme3.bullet.util.Converter;
82 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()
[all …]
DConeJoint.java37 import com.jme3.bullet.util.Converter;
126 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()
DHingeJoint.java36 import com.jme3.bullet.util.Converter;
153 Converter.convert(pivotA), Converter.convert(pivotB), in createJoint()
154 Converter.convert(axisA), Converter.convert(axisB)); in createJoint()
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/joints/motors/
DTranslationalLimitMotor.java34 import com.jme3.bullet.util.Converter;
54 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/collision/
DPhysicsCollisionEvent.java35 import com.jme3.bullet.util.Converter;
151 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/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/
DPhysicsRigidBody.java44 import com.jme3.bullet.util.Converter;
154 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()
[all …]
DPhysicsGhostObject.java39 import com.jme3.bullet.util.Converter;
66 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()
[all …]
DPhysicsCharacter.java41 import com.jme3.bullet.util.Converter;
67 private Transform tempTrans = new Transform(Converter.convert(new Matrix3f()));
103 character.warp(Converter.convert(location, tempVec)); in warp()
115 character.setWalkDirection(Converter.convert(walkDirection, tempVec)); in setWalkDirection()
209 Converter.convert(tempTrans.origin, physicsLocation.getTranslation()); in getPhysicsLocation()
218 Converter.convert(tempTrans.origin, physicsLocation.getTranslation()); in getPhysicsLocation()
/external/openfst/src/include/fst/
Dregister.h47 typedef Fst<A> *(*Converter)(const Fst<A> &fst); typedef
50 Converter converter;
52 FstRegisterEntry(Reader r, Converter c) : reader(r), converter(c) { } in FstRegisterEntry()
62 typedef typename FstRegisterEntry<A>::Converter Converter; typedef
68 const Converter GetConverter(const string &type) const { in GetConverter()
120 const typename FstRegister<A>::Converter in Convert()
/external/chromium_org/mojo/apps/js/bindings/
Dhandle.cc9 v8::Handle<v8::Value> Converter<mojo::Handle>::ToV8(v8::Isolate* isolate, in ToV8()
11 return Converter<MojoHandle>::ToV8(isolate, val.value()); in ToV8()
14 bool Converter<mojo::Handle>::FromV8(v8::Isolate* isolate, in FromV8()
17 return Converter<MojoHandle>::FromV8(isolate, val, out->mutable_value()); in FromV8()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/
Dnv50_ir_from_sm4.cpp39 class Converter : public BuildUtil class
42 Converter(Program *, struct nv50_ir_prog_info *);
43 ~Converter();
167 Converter::g3dPrim(const unsigned prim, unsigned *patchSize) const in g3dPrim()
195 Converter::cvtInterpMode(enum sm4_interpolation mode) const in cvtInterpMode()
230 Converter::cvtRoundingMode(enum sm4_opcode op) const in cvtRoundingMode()
243 Converter::cvtCondCode(enum sm4_opcode op) const in cvtCondCode()
266 Converter::inferSrcType(enum sm4_opcode op) const in inferSrcType()
327 Converter::inferDstType(enum sm4_opcode op) const in inferDstType()
352 Converter::cvtOpcode(enum sm4_opcode op) const in cvtOpcode()
[all …]
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_from_sm4.cpp39 class Converter : public BuildUtil class
42 Converter(Program *, struct nv50_ir_prog_info *);
43 ~Converter();
167 Converter::g3dPrim(const unsigned prim, unsigned *patchSize) const in g3dPrim()
195 Converter::cvtInterpMode(enum sm4_interpolation mode) const in cvtInterpMode()
230 Converter::cvtRoundingMode(enum sm4_opcode op) const in cvtRoundingMode()
243 Converter::cvtCondCode(enum sm4_opcode op) const in cvtCondCode()
266 Converter::inferSrcType(enum sm4_opcode op) const in inferSrcType()
327 Converter::inferDstType(enum sm4_opcode op) const in inferDstType()
352 Converter::cvtOpcode(enum sm4_opcode op) const in cvtOpcode()
[all …]
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/infos/
DRigidBodyMotionState.java37 import com.jme3.bullet.util.Converter;
51 private Transform motionStateTrans = new Transform(Converter.convert(new Matrix3f()));
88 Converter.convert(worldTrans.origin, worldLocation); in setWorldTransform()
89 Converter.convert(worldTrans.basis, worldRotation); in setWorldTransform()

12345