Searched refs:lookahead (Results 1 - 13 of 13) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/tools/jstat/
H A DParser.java85 private Token lookahead; field in class:Parser
119 * push back the lookahead token and restore the lookahead token
123 lookahead = previous;
128 * retrieve the next token, placing the token value in the lookahead
134 previous = lookahead;
135 lookahead = new Token(st.ttype, st.sval, st.nval);
136 log(ldebug, "lookahead = " + lookahead);
145 if ((lookahead
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DAttributeValueTemplate.java86 String lookahead = null;
91 // Use lookahead if available
92 if (lookahead != null) {
93 t = lookahead;
94 lookahead = null;
105 lookahead = tokenizer.nextToken();
106 if (lookahead.equals("{")) {
107 buffer.append(lookahead); // replace {{ by {
108 lookahead = null;
126 lookahead
[all...]
/openjdk7/jdk/src/share/classes/javax/crypto/
H A DCryptoPolicyParser.java71 private int lookahead; field in class:CryptoPolicyParser
138 lookahead = st.nextToken();
139 while (lookahead != StreamTokenizer.TT_EOF) {
318 switch (lookahead) {
369 switch (lookahead) {
375 lookahead = st.nextToken();
393 switch (lookahead) {
401 lookahead = st.nextToken();
405 lookahead = st.nextToken();
413 lookahead
[all...]
/openjdk7/jdk/src/share/classes/com/sun/security/auth/
H A DPolicyParser.java103 private int lookahead; field in class:PolicyParser
186 lookahead = st.nextToken();
187 while (lookahead != StreamTokenizer.TT_EOF) {
486 switch (lookahead) {
523 switch (lookahead) {
535 lookahead = st.nextToken();
538 lookahead = st.nextToken();
541 lookahead = st.nextToken();
549 lookahead = st.nextToken();
552 lookahead
[all...]
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DPolicyParser.java107 private int lookahead; field in class:PolicyParser
199 lookahead = st.nextToken();
200 while (lookahead != StreamTokenizer.TT_EOF) {
687 switch (lookahead) {
724 switch (lookahead) {
737 lookahead = st.nextToken();
740 lookahead = st.nextToken();
743 lookahead = st.nextToken();
752 lookahead = st.nextToken();
755 lookahead
[all...]
/openjdk7/jdk/src/share/classes/com/sun/security/auth/login/
H A DConfigFile.java94 private int lookahead; field in class:ConfigFile
381 lookahead = nextToken();
382 while (lookahead != StreamTokenizer.TT_EOF) {
399 lookahead = nextToken();
449 lookahead = nextToken();
488 switch(lookahead) {
505 lookahead = nextToken();
518 lookahead = nextToken();
531 lookahead = nextToken();
544 lookahead
[all...]
/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/
H A Ddeflate.c138 /* Minimum amount of lookahead, except at the end of the input file.
368 * s->lookahead stays null, so s->ins_h will be recomputed at the next
810 if (strm->avail_in != 0 || s->lookahead != 0 ||
1026 s->lookahead = 0;
1045 * OUT assertion: the match length is not greater than s->lookahead.
1094 if ((uInt)nice_match > s->lookahead) nice_match = s->lookahead;
1096 Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
1104 * for insufficient lookahead only occur occasionally for performance
1107 * However the length of the match is limited to the lookahead, s
[all...]
H A Ddeflate.h182 uInt lookahead; /* number of valid bytes ahead in window */ member in struct:internal_state
296 /* Minimum amount of lookahead, except at the end of the input file.
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/
H A DNamespaceSupport2.java394 private String lookahead=null; field in class:PrefixForUriEnumerator
408 if(lookahead!=null)
416 lookahead=prefix;
427 String tmp=lookahead;
428 lookahead=null;
/openjdk7/jaxp/src/com/sun/java_cup/internal/runtime/
H A Dlr_parser.java45 * (using the current state and the current lookahead Symbol as indexes) to
51 * table is consulted (using the new state and current lookahead Symbol as
269 /** The current lookahead Symbol. */
415 * @param cur_token the current lookahead Symbol.
427 * @param cur_token the current lookahead Symbol.
845 * found, then we fail. Next a small number of "lookahead" or "parse
851 * to "parse ahead" though the buffered lookahead Symbols. The "parse ahead"
875 /* read ahead to create lookahead we can parse multiple times */
889 if (lookahead[0].sym == EOF_sym())
904 /* do the real parse (including actions) across the lookahead */
982 protected Symbol lookahead[]; field in class:lr_parser
[all...]
/openjdk7/jdk/src/share/classes/sun/text/normalizer/
H A DRuleCharacterIterator.java197 c = Utility.unescapeAt(lookahead(), offset);
274 * options. This is useful in conjunction with the lookahead() method.
296 * sequence of calls is to call skipIgnored(), then call lookahead(), then
297 * parse the string returned by lookahead(), then call jumpahead() to
302 public String lookahead() { method in class:RuleCharacterIterator
312 * This is useful in conjunction with the lookahead() method.
H A DUnicodeSet.java1840 String patStr = chars.lookahead();
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/compiler/
H A DXPathParser.java292 final boolean lookahead(char c, int n) method in class:XPathParser
393 * @param n number of tokens to lookahead. Must be
399 private final boolean lookahead(String s, int n) method in class:XPathParser
406 String lookahead = (String) m_ops.m_tokenQueue.elementAt(m_queueMark + (n - 1));
408 isToken = (lookahead != null) ? lookahead.equals(s) : (s == null);
876 if (tokenIs('!') && lookahead('=', 1))
1446 else if (lookahead('(', 1) || (lookahead(':', 1) && lookahead('(',
[all...]

Completed in 58 milliseconds