HomeSort by relevance Sort by last modified time
    Searched refs:EPSILON (Results 1 - 25 of 37) sorted by null

1 2

  /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...]
CompositeGrammar.java 78 * like EPSILON. Char/String literals and token types overlap in the same
127 typeToTokenList.set(Label.NUM_FAUX_LABELS+Label.EPSILON, Label.EPSILON_STR);
136 tokenIDToTypeMap.put("<EPSILON>", Utils.integer(Label.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/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
ANTLRv3Tree.g 124 | ^(ALT EPSILON EOA)
195 | ^(ALT EPSILON EOA)
ANTLRv3.g 48 EPSILON;
217 | -> ^(ALT[prevToken,"ALT"] EPSILON[prevToken,"EPSILON"] EOA["EOA"])
364 | /* empty rewrite */ -> ^(ALT["ALT"] EPSILON["EPSILON"] EOA["EOA"])
DefineGrammarItemsWalker.g 458 | EPSILON
603 : {grammar.buildAST()}? => ^( a=ALT ( ( rewrite_element )+ | EPSILON ) EOA )
674 : ^( ALT EPSILON EOA )
TreeToNFAConverter.g 134 Transition e = new Transition( Label.EPSILON, n );
138 Transition followEdge = new Transition( Label.EPSILON, following );
245 start.addTransition(new Transition(Label.EPSILON, g.left));
259 g.right.addTransition(new Transition(Label.EPSILON,end));
373 | EPSILON {$g = factory.build_Epsilon();}
ANTLR.g 84 EPSILON;
696 | // epsilon alt
697 -> ^(ALT[$start,"ALT"] EPSILON[input.LT(-1),"epsilon"] EOA[input.LT(-1),"<end-of-alt>"])
926 -> {!stream_rewrite_element.hasNext()}? ^(ALT[LT(1),"ALT"] EPSILON["epsilon"] EOA["<end-of-alt>"])
930 -> ^(ALT[LT(1),"ALT"] EPSILON["epsilon"] EOA["<end-of-alt>"])
LeftRecursiveRuleWalker.g 259 | EPSILON
  /external/chromium_org/ui/gfx/
interpolated_transform.cc 18 static const double EPSILON = 1e-6;
22 return remainder < EPSILON || 90.0 - remainder < EPSILON;
26 return fabs(value) < 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/chromium_org/third_party/opus/src/celt/
arch.h 102 #define EPSILON 1
142 #define EPSILON 1e-15f
vq.c 212 if (!(sum > EPSILON && sum < 64))
353 opus_val32 E = EPSILON;
384 Emid = Eside = EPSILON;
  /frameworks/base/services/input/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)
  /frameworks/base/core/java/android/widget/
EdgeEffect.java 74 private static final float EPSILON = 0.001f;
392 if (t >= 1.f - 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) {
  /external/antlr/antlr-3.4/gunit/src/main/antlr3/org/antlr/gunit/swingui/parsers/
ANTLRv3.g 49 EPSILON;
221 | -> ^(ALT[prevToken,"ALT"] EPSILON[prevToken,"EPSILON"] EOA["EOA"])
360 | /* empty rewrite */ -> ^(ALT["ALT"] EPSILON["EPSILON"] EOA["EOA"])
  /external/pixman/pixman/
pixman-matrix.c 659 pixman_fixed_t epsilon)
666 return t <= epsilon;
669 #define EPSILON (pixman_fixed_t) (2)
671 #define IS_SAME(a, b) (within_epsilon (a, b, EPSILON))
672 #define IS_ZERO(a) (within_epsilon (a, 0, EPSILON))
673 #define IS_ONE(a) (within_epsilon (a, F (1), EPSILON))
675 (within_epsilon (a, F (1), EPSILON) || \
676 within_epsilon (a, F (-1), EPSILON) || \
  /frameworks/native/services/surfaceflinger/
Transform.cpp 47 static const float EPSILON = 0.0f;
50 return fabs(f) <= EPSILON;

Completed in 1033 milliseconds

1 2