/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
H A D | Integers.java | 5 public static int rotateLeft(int i, int distance) argument 7 return Integer.rotateLeft(i, distance); 10 public static int rotateRight(int i, int distance) argument 12 return Integer.rotateRight(i, distance);
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/ |
H A D | AreaUtils.java | 55 * @param distance The distance from camera to object. 59 public static float calcScreenArea(BoundingVolume bound, float distance, float screenWidth) { argument 61 return calcScreenArea((BoundingSphere) bound, distance, screenWidth); 63 return calcScreenArea((BoundingBox) bound, distance, screenWidth); 68 private static float calcScreenArea(BoundingSphere bound, float distance, float screenWidth) { argument 74 float radius = (bound.getRadius() * screenWidth) / (distance * 2); 78 private static float calcScreenArea(BoundingBox bound, float distance, float screenWidth) { argument 83 return ((radiusSquare * screenWidth * screenWidth) / (distance * distance * [all...] |
/external/openfst/src/bin/ |
H A D | fstshortestpath.cc | 62 vector<WeightClass> distance; local 87 s::ShortestPath(*ifst, &ofst, &distance, opts);
|
/external/openfst/src/script/ |
H A D | shortest-distance.cc | 19 #include <fst/script/shortest-distance.h> 25 void ShortestDistance(const FstClass &fst, vector<WeightClass> *distance, argument 27 ShortestDistanceArgs1 args(fst, distance, opts); 34 void ShortestDistance(const FstClass &ifst, vector<WeightClass> *distance, argument 36 ShortestDistanceArgs2 args(ifst, distance, reverse, delta);
|
H A D | rmepsilon.cc | 41 void RmEpsilon(MutableFstClass *fst, vector<WeightClass> *distance, argument 43 RmEpsilonArgs3 args(fst, distance, opts);
|
H A D | shortest-path.cc | 25 vector<WeightClass> *distance, 29 ShortestPathArgs1 args(ifst, ofst, distance, opts); 24 ShortestPath(const FstClass &ifst, MutableFstClass *ofst, vector<WeightClass> *distance, const ShortestPathOptions &opts) argument
|
/external/v8/test/mjsunit/ |
H A D | debug-backtrace-text.js | 48 function distance(p, q) { function 56 a=[1,2,distance]; 79 // 0: Call distance on Point where distance is a property on the prototype 80 // 1: Call distance on Point where distance is a direct property 85 assertEquals("#<Array>[2](aka distance)(p=#<Point>, q=#<Point>)", exec_state.frame(2).invocationText());
|
/external/aac/libMpegTPEnc/src/ |
H A D | tpenc_adts.cpp | 268 int distance; local 273 /* Write distance to current data block */ 276 distance = FDKgetValidBits(hBs) - (56 + (hAdts->num_raw_blocks)*16 + 16); 277 FDKwriteBits(&bsWriter, distance>>3, 16);
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | AttackAtDistanceComponent.java | 79 public void setupAttack(float distance, float delay, float duration, boolean requireFacing) { argument 80 mAttackDistance = distance;
|
H A D | HitPlayerComponent.java | 73 public void setup(float distance, HitReactionComponent hitReact, int hitType, boolean hitPlayer) { argument 74 mDistance2 = distance * distance;
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowAbsListView.java | 25 public void smoothScrollBy(int distance, int duration) { argument 26 this.lastSmoothScrollByDistance = distance; 49 * Robolectric accessor for the last smoothScrollBy distance 51 * @return int distance
|
/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
H A D | ParametrizedLine.h | 68 /** \returns the squared distance of a point \a p to its projection onto the line \c *this. 69 * \sa distance() 76 /** \returns the distance of a point \a p to its projection onto the line \c *this. 79 RealScalar distance(const VectorType& p) const { return ei_sqrt(squaredDistance(p)); } function in class:Eigen::ParametrizedLine
|
/external/guava/guava/src/com/google/common/collect/ |
H A D | DiscreteDomain.java | 29 * operations: {@link #next}, {@link #previous} and {@link #distance}, according 71 @Override public long distance(Integer start, Integer end) { method in class:DiscreteDomain.IntegerDomain 118 @Override public long distance(Long start, Long end) { method in class:DiscreteDomain.LongDomain 175 @Override public long distance(BigInteger start, BigInteger end) { method in class:DiscreteDomain.BigIntegerDomain 220 * next(next(next(start)))}, then {@code distance(start, end) == 3} and {@code 221 * distance(end, start) == -3}. As well, {@code distance(a, a)} is always 227 * @return the distance as described above, or {@link Long#MIN_VALUE} or 228 * {@link Long#MAX_VALUE} if the distance is too small or too large, 231 public abstract long distance( method in class:DiscreteDomain [all...] |
/external/jmonkeyengine/engine/src/android/com/jme3/util/ |
H A D | FastInteger.java | 240 * @param distance 245 public static int rotateLeft(int i, int distance) { argument 246 if (distance == 0) { 251 * implicitly masked with 0x1F, which the negation of 'distance' is 254 return ((i << distance) | (i >>> (-distance))); 263 * @param distance 268 public static int rotateRight(int i, int distance) { argument 269 if (distance == 0) { 274 * implicitly masked with 0x1F, which the negation of 'distance' i [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
H A D | Line.java | 126 public float distance(Vector3f point) {
method in class:Line
|
H A D | LineSegment.java | 98 public float distance(Vector3f point) {
method in class:LineSegment 102 public float distance(LineSegment ls) {
method in class:LineSegment 106 public float distance(Ray r) {
method in class:LineSegment
|
/external/lzma/CS/7zip/Compress/LZ/ |
H A D | IMatchFinder.cs | 13 UInt32 GetMatchLen(Int32 index, UInt32 distance, UInt32 limit);
argument
|
H A D | LzOutWindow.cs | 80 public void CopyBlock(uint distance, uint len)
argument 82 uint pos = _pos - distance - 1;
102 public byte GetByte(uint distance)
argument 104 uint pos = _pos - distance - 1;
|
/external/lzma/Java/SevenZip/Compression/LZ/ |
H A D | OutWindow.java | 56 public void CopyBlock(int distance, int len) throws IOException
argument 58 int pos = _pos - distance - 1;
78 public byte GetByte(int distance)
argument 80 int pos = _pos - distance - 1;
|
/external/openfst/src/include/fst/ |
H A D | push.h | 31 #include <fst/shortest-distance.h> 40 // the output of ShortestDistance. 'distance' is the shortest distance from the 46 const vector<typename Arc::Weight> &distance, 49 return fst.Start() < distance.size() ? 50 distance[fst.Start()] : Arc::Weight::Zero(); 53 for (typename Arc::StateId s = 0; s < distance.size(); ++s) 54 sum = Plus(sum, Times(distance[s], fst.Final(s))); 102 vector<typename Arc::Weight> distance; local 103 ShortestDistance(*fst, &distance, typ 44 ComputeTotalWeight( const Fst<Arc> &fst, const vector<typename Arc::Weight> &distance, bool reverse) argument [all...] |
/external/openfst/src/include/fst/script/ |
H A D | prune.h | 35 const vector<WeightClass> *distance; member in struct:fst::script::PruneOptions 42 distance(d), 50 // If the original opts.distance is not NULL, a new distance will be 61 vector<Weight> *distance = 0; local 63 if (opts.distance) { 64 distance = new vector<Weight>(opts.distance->size()); 65 for (unsigned i = 0; i < opts.distance->size(); ++i) { 66 (*distance)[ [all...] |
/external/eigen/Eigen/src/Geometry/ |
H A D | ParametrizedLine.h | 79 /** \returns the squared distance of a point \a p to its projection onto the line \c *this. 80 * \sa distance() 87 /** \returns the distance of a point \a p to its projection onto the line \c *this. 90 RealScalar distance(const VectorType& p) const { using std::sqrt; return sqrt(squaredDistance(p)); } function in class:Eigen::ParametrizedLine
|
/external/jmonkeyengine/engine/src/core/com/jme3/collision/ |
H A D | CollisionResult.java | 52 private float distance; field in class:CollisionResult 55 public CollisionResult(Geometry geometry, Vector3f contactPoint, float distance, int triangleIndex) { argument 58 this.distance = distance; 62 public CollisionResult(Vector3f contactPoint, float distance) { argument 64 this.distance = distance; 83 this.distance = dist; 102 if (distance < other.distance) [all...] |
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/ |
H A D | MapModel2D.java | 139 // Get the distance between position and the centre for calculating 141 double distance = NavCalculator.computeLongDiff(centre.getLongitude(), 144 // Use the distance from the centre to calculate the pixel x co-ordinate 145 double distanceInPixels = (distance / minutesPerPixel); 220 // Get the distance between position and the centre 221 double xDistance = distance(xCentre, p.getX()); 222 double yDistance = distance(pixelCentre.getY(), p.getY()); 252 * Calculates distance between two points on the map in pixels 255 * @return distance the distance betwee 258 private double distance(double a, double b) { method in class:MapModel2D [all...] |
/external/llvm/utils/yaml-bench/ |
H A D | YAMLBench.cpp | 56 unsigned distance; member in struct:indent 57 indent(unsigned d) : distance(d) {} 61 for (unsigned i = 0; i < in.distance; ++i)
|