/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
RuleClosureTransition.java | 49 super(Label.EPSILON, ruleStart);
|
Label.java | 36 * tokens. It can be an epsilon transition. It can be a semantic predicate 37 * (which assumes an epsilon transition) or a tree of predicates (in a DFA). 45 public static final int EPSILON = -5; 47 public static final String EPSILON_STR = "<EPSILON>"; 49 /** label is a semantic predicate; implies label is epsilon also */ 75 /** We have labels like EPSILON that are below 0; it's hard to 194 return label==EPSILON; 283 // labels must be the same even if epsilon or set or sempred etc...
|
/external/replicaisland/src/com/replica/replicaisland/ |
Utils.java | 21 private static final float EPSILON = 0.0001f; 24 return close(a, b, EPSILON); 27 public final static boolean close(float a, float b, float epsilon) { 28 return Math.abs(a - b) < epsilon;
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
NFAFactory.java | 40 * No optimization is done to remove unnecessary epsilon edges. 79 * and throw away any epsilon transitions used to link up simple elements. 98 // bypass epsilon transition and point to what the epsilon's 99 // target points to unless that epsilon transition points to 249 transitionBetweenStates(left, right, Label.EPSILON); 254 /** Build what amounts to an epsilon transition with a semantic 273 /** Build what amounts to an epsilon transition with an action. 331 /** From A B build A-e->B (that is, build an epsilon arc from right 343 transitionBetweenStates(A.right, B.left, Label.EPSILON); [all...] |
/packages/inputmethods/LatinIME/native/jni/tests/suggest/core/layout/ |
normal_distribution_2d_test.cpp | 51 static const float EPSILON = 0.01f; 62 EXPECT_NEAR(probabilityDensity0, probabilityDensity1, EPSILON);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
MatrixUtilsTests.java | 28 private static final float EPSILON = 0.00001f; 31 assertEqualsFloat(f0, f1, EPSILON);
|
/external/srec/srec/clib/ |
jacobi.c | 32 #undef EPSILON 33 #define EPSILON 0.00000001 91 if (sum < EPSILON) /* normal convergence */ 115 if ((iter >= 4) && (g < EPSILON*fabs(d[i])) 116 && (g < EPSILON*fabs(d[j]))) 124 if (g < EPSILON*fabs(h))
|
/external/chromium_org/v8/test/mjsunit/ |
math-floor-part1.js | 72 testFloor(0, 1.0 - Number.EPSILON); 79 testFloor(1, 1.0 + Number.EPSILON); 83 testFloor(-1, -1 + Number.EPSILON); 84 testFloor(-2, -1 - Number.EPSILON);
|
number-is.js | 58 assertFalse(Number.isNaN(Number.EPSILON)); 86 assertFalse(Number.isInteger(Number.EPSILON)); 108 assertFalse(Number.isSafeInteger(Number.EPSILON));
|
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
ANTLRv3Tree.g | 124 | ^(ALT EPSILON EOA) 195 | ^(ALT EPSILON EOA)
|
/external/fonttools/Lib/fontTools/pens/ |
pointInsidePen.py | 15 EPSILON = 1e-10 16 ONE_PLUS_EPSILON = 1 + EPSILON 17 ZERO_MINUS_EPSILON = 0 - EPSILON
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
StochasticLinearRankerWithPrior.java | 27 private final float EPSILON = 0.0001f; 141 mAutoAlpha = (mPriorRankerPerf + EPSILON) / (mUserRankerPerf + mPriorRankerPerf + EPSILON);
|
/external/libvorbis/lib/ |
lsp.c | 309 #define EPSILON 10e-7 337 if(denom<EPSILON)denom=EPSILON; 340 if(denom>-(EPSILON))denom=-(EPSILON);
|
/external/eigen/lapack/ |
dlamch.f | 89 INTRINSIC DIGITS, EPSILON, HUGE, MAXEXPONENT, 100 EPS = EPSILON(ZERO) * 0.5 102 EPS = EPSILON(ZERO)
|
slamch.f | 93 INTRINSIC DIGITS, EPSILON, HUGE, MAXEXPONENT, 104 EPS = EPSILON(ZERO) * 0.5 106 EPS = EPSILON(ZERO)
|
/external/chromium_org/ui/gfx/ |
interpolated_transform.cc | 18 static const double EPSILON = 1e-6; 22 return remainder < EPSILON || 90.0 - remainder < EPSILON;
|
/external/chromium_org/third_party/opus/src/celt/ |
arch.h | 103 #define EPSILON 1 144 #define EPSILON 1e-15f
|
vq.c | 212 if (!(sum > EPSILON && sum < 64)) 353 opus_val32 E = EPSILON; 384 Emid = Eside = EPSILON;
|
/external/libopus/celt/ |
arch.h | 103 #define EPSILON 1 144 #define EPSILON 1e-15f
|
vq.c | 212 if (!(sum > EPSILON && sum < 64)) 353 opus_val32 E = EPSILON; 384 Emid = Eside = EPSILON;
|
/frameworks/base/core/java/android/widget/ |
EdgeEffect.java | 74 private static final float EPSILON = 0.001f; 365 if (t >= 1.f - EPSILON) {
|
/frameworks/base/libs/hwui/ |
SpotShadow.cpp | 63 static const float EPSILON = 1e-7; 222 return (bx - ax) * (cy - ay) - (by - ay) * (cx - ax) > EPSILON; 680 // Allow some epsilon here since the later ray intersection did allow for some small 684 return a >= -EPSILON && b >= -EPSILON; 686 return a <= EPSILON && b <= EPSILON; 816 // Normalize these vectors such that we can use epsilon comparison after [all...] |
/frameworks/native/services/inputflinger/tests/ |
InputReader_test.cpp | 34 static const float EPSILON = 0.001f; [all...] |
/external/opencv/cvaux/src/ |
_cvvm.h | 58 /* Epsilon and real zero */ 59 #define EPSILON 1.e-4 60 //#define REAL_ZERO(x) ( (x) < EPSILON && (x) > -EPSILON)
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
EdgeEffect.java | 82 private static final float EPSILON = 0.001f; 359 if (t >= 1.f - EPSILON) {
|