/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
Integers.java | 8 public static int rotateLeft(int i, int distance) 10 return Integer.rotateLeft(i, distance); 13 public static int rotateRight(int i, int distance) 15 return Integer.rotateRight(i, distance);
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/delta/ |
DeltaCoder.java | 17 final int distance; field in class:DeltaCoder 21 DeltaCoder(int distance) { 22 if (distance < DISTANCE_MIN || distance > DISTANCE_MAX) 25 this.distance = distance;
|
DeltaDecoder.java | 13 public DeltaDecoder(int distance) { 14 super(distance); 20 buf[i] += history[(distance + pos) & DISTANCE_MASK];
|
DeltaEncoder.java | 13 public DeltaEncoder(int distance) { 14 super(distance); 19 byte tmp = history[(distance + pos) & DISTANCE_MASK];
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
DeltaOptions.java | 19 * is the delta distance, which you should set to match your data. 22 * For example, with distance = 2 and eight-byte input 31 * Smallest supported delta calculation distance. 36 * Largest supported delta calculation distance. 40 private int distance = DISTANCE_MIN; field in class:DeltaOptions 43 * Creates new Delta options and sets the delta distance to 1 byte. 48 * Creates new Delta options and sets the distance to the given value. 50 public DeltaOptions(int distance) throws UnsupportedOptionsException { 51 setDistance(distance); 55 * Sets the delta distance in bytes. The new distance must be i [all...] |
DeltaDecoder.java | 15 private final int distance; field in class:DeltaDecoder 22 distance = (props[0] & 0xFF) + 1; 30 return new DeltaInputStream(in, distance);
|
/external/vulkan-validation-layers/libs/glm/gtx/ |
closest_point.inl | 23 T LineLength = distance(a, b); 27 // Project Vector to LineDirection to get the distance of point from a 28 T Distance = dot(Vector, LineDirection); 30 if(Distance <= T(0)) return a; 31 if(Distance >= LineLength) return b; 32 return a + LineDirection * Distance;
|
extend.inl | 17 genType const & Distance 20 return Origin + (Source - Origin) * Distance; 28 T const & Distance 31 return Origin + (Source - Origin) * Distance; 39 T const & Distance 42 return Origin + (Source - Origin) * Distance; 50 T const & Distance 53 return Origin + (Source - Origin) * Distance;
|
/prebuilts/ndk/r16/sources/third_party/vulkan/src/libs/glm/gtx/ |
closest_point.inl | 23 T LineLength = distance(a, b); 27 // Project Vector to LineDirection to get the distance of point from a 28 T Distance = dot(Vector, LineDirection); 30 if(Distance <= T(0)) return a; 31 if(Distance >= LineLength) return b; 32 return a + LineDirection * Distance;
|
extend.inl | 17 genType const & Distance 20 return Origin + (Source - Origin) * Distance; 28 T const & Distance 31 return Origin + (Source - Origin) * Distance; 39 T const & Distance 42 return Origin + (Source - Origin) * Distance; 50 T const & Distance 53 return Origin + (Source - Origin) * Distance;
|
/external/flatbuffers/tests/MyGame/Example/ |
Ability.java | 17 public long distance() { return (long)bb.getInt(bb_pos + 4) & 0xFFFFFFFFL; } method in class:Ability 18 public void mutateDistance(long distance) { bb.putInt(bb_pos + 4, (int)distance); } 20 public static int createAbility(FlatBufferBuilder builder, long id, long distance) { 22 builder.putInt((int)distance);
|
Ability.cs | 20 public uint Distance { get { return __p.bb.GetUint(__p.bb_pos + 4); } } 21 public void MutateDistance(uint distance) { __p.bb.PutUint(__p.bb_pos + 4, distance); } 23 public static Offset<Ability> CreateAbility(FlatBufferBuilder builder, uint Id, uint Distance) { 25 builder.PutUint(Distance);
|
/external/skia/src/core/ |
SkDistanceFieldGen.h | 12 // the max magnitude for the distance field 13 // distance values are limited to the range (-SK_DistanceFieldMagnitude, SK_DistanceFieldMagnitude] 15 // we need to pad around the original glyph to allow our maximum distance of 18 // the rect we render with is inset from the distance field glyph size to allow for bilerp 22 // The distance field is constructed as unsigned char values, 28 /** Given 8-bit mask data, generate the associated distance field 30 * @param distanceField The distance field to be generated. Should already be allocated 32 * @param image 8-bit mask we're using to generate the distance field. 41 /** Given 1-bit mask data, generate the associated distance field 43 * @param distanceField The distance field to be generated. Should already be allocate [all...] |
SkPathMeasure.cpp | 231 SkScalar distance, int mint, int maxt, int ptIndex) { 237 distance = this->compute_quad_segs(tmp, distance, mint, halft, ptIndex); 238 distance = this->compute_quad_segs(&tmp[2], distance, halft, maxt, ptIndex); 240 SkScalar d = SkPoint::Distance(pts[0], pts[2]); 241 SkScalar prevD = distance; 242 distance += d; 243 if (distance > prevD) { 245 seg->fDistance = distance; 304 SkScalar distance = 0; local [all...] |
/external/skqp/src/core/ |
SkDistanceFieldGen.h | 12 // the max magnitude for the distance field 13 // distance values are limited to the range (-SK_DistanceFieldMagnitude, SK_DistanceFieldMagnitude] 15 // we need to pad around the original glyph to allow our maximum distance of 18 // the rect we render with is inset from the distance field glyph size to allow for bilerp 22 // The distance field is constructed as unsigned char values, 28 /** Given 8-bit mask data, generate the associated distance field 30 * @param distanceField The distance field to be generated. Should already be allocated 32 * @param image 8-bit mask we're using to generate the distance field. 41 /** Given 1-bit mask data, generate the associated distance field 43 * @param distanceField The distance field to be generated. Should already be allocate [all...] |
SkPathMeasure.cpp | 231 SkScalar distance, int mint, int maxt, int ptIndex) { 237 distance = this->compute_quad_segs(tmp, distance, mint, halft, ptIndex); 238 distance = this->compute_quad_segs(&tmp[2], distance, halft, maxt, ptIndex); 240 SkScalar d = SkPoint::Distance(pts[0], pts[2]); 241 SkScalar prevD = distance; 242 distance += d; 243 if (distance > prevD) { 245 seg->fDistance = distance; 304 SkScalar distance = 0; local [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAbsListView.java | 25 public void smoothScrollBy(int distance, int duration) { 26 this.lastSmoothScrollByDistance = distance; 49 * Robolectric accessor for the last smoothScrollBy distance 51 * @return int distance
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowAbsListView.java | 25 public void smoothScrollBy(int distance, int duration) { 26 this.lastSmoothScrollByDistance = distance; 49 * Robolectric accessor for the last smoothScrollBy distance 51 * @return int distance
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestDistance.rs | 26 return distance(inLeftVector, inRightVector); 31 return distance(inLeftVector, inRightVector); 36 return distance(inLeftVector, inRightVector); 41 return distance(inLeftVector, inRightVector); 46 return distance(inLeftVector, inRightVector); 51 return distance(inLeftVector, inRightVector); 56 return distance(inLeftVector, inRightVector); 61 return distance(inLeftVector, inRightVector);
|
/external/skia/src/gpu/ |
GrDistanceFieldGenFromVector.h | 19 /** Given a vector path, generate the associated distance field. 21 * @param distanceField The distance field to be generated. Should already be allocated 23 * @param path The path we're using to generate the distance field. 25 * @param width Width of the distance field. 26 * @param height Height of the distance field. 27 * @param rowBytes Size of each row in the distance field, in bytes.
|
/external/skqp/src/gpu/ |
GrDistanceFieldGenFromVector.h | 19 /** Given a vector path, generate the associated distance field. 21 * @param distanceField The distance field to be generated. Should already be allocated 23 * @param path The path we're using to generate the distance field. 25 * @param width Width of the distance field. 26 * @param height Height of the distance field. 27 * @param rowBytes Size of each row in the distance field, in bytes.
|
/external/libcxx/test/std/containers/unord/unord.multiset/ |
local_iterators.pass.cpp | 48 assert(std::distance(i, j) == 0); 53 assert(std::distance(i, j) == 2); 61 assert(std::distance(i, j) == 2); 69 assert(std::distance(i, j) == 1); 75 assert(std::distance(i, j) == 1); 81 assert(std::distance(i, j) == 0); 86 assert(std::distance(i, j) == 0); 106 assert(std::distance(i, j) == 0); 111 assert(std::distance(i, j) == 2); 119 assert(std::distance(i, j) == 2) [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/unord/unord.multiset/ |
local_iterators.pass.cpp | 48 assert(std::distance(i, j) == 0); 53 assert(std::distance(i, j) == 2); 61 assert(std::distance(i, j) == 2); 69 assert(std::distance(i, j) == 1); 75 assert(std::distance(i, j) == 1); 81 assert(std::distance(i, j) == 0); 86 assert(std::distance(i, j) == 0); 106 assert(std::distance(i, j) == 0); 111 assert(std::distance(i, j) == 2); 119 assert(std::distance(i, j) == 2) [all...] |
/external/libcxx/test/std/containers/sequences/list/list.ops/ |
splice_pos_list.pass.cpp | 29 assert(distance(l1.begin(), l1.end()) == 0); 31 assert(distance(l2.begin(), l2.end()) == 0); 38 assert(distance(l1.begin(), l1.end()) == 1); 40 assert(distance(l2.begin(), l2.end()) == 0); 49 assert(distance(l1.begin(), l1.end()) == 2); 51 assert(distance(l2.begin(), l2.end()) == 0); 62 assert(distance(l1.begin(), l1.end()) == 3); 64 assert(distance(l2.begin(), l2.end()) == 0); 77 assert(distance(l1.begin(), l1.end()) == 1); 79 assert(distance(l2.begin(), l2.end()) == 0) [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/sequences/list/list.ops/ |
splice_pos_list.pass.cpp | 29 assert(distance(l1.begin(), l1.end()) == 0); 31 assert(distance(l2.begin(), l2.end()) == 0); 38 assert(distance(l1.begin(), l1.end()) == 1); 40 assert(distance(l2.begin(), l2.end()) == 0); 49 assert(distance(l1.begin(), l1.end()) == 2); 51 assert(distance(l2.begin(), l2.end()) == 0); 62 assert(distance(l1.begin(), l1.end()) == 3); 64 assert(distance(l2.begin(), l2.end()) == 0); 77 assert(distance(l1.begin(), l1.end()) == 1); 79 assert(distance(l2.begin(), l2.end()) == 0) [all...] |