Home
last modified time | relevance | path

Searched refs:CharIndex (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Lib/test/
Dpystone.py120 CharIndex = 'A'
121 while CharIndex <= Char2Glob:
122 if EnumLoc == Func1(CharIndex, 'C'):
124 CharIndex = chr(ord(CharIndex)+1)
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DLexer.cs66 … return input.Substring(state.tokenStartCharIndex, CharIndex - state.tokenStartCharIndex);
200 …en t = new CommonToken(input, state.type, state.channel, state.tokenStartCharIndex, CharIndex - 1); in Emit()
259 public virtual int CharIndex { property in Antlr.Runtime.Lexer
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DLexer.cs74 … return input.Substring( state.tokenStartCharIndex, CharIndex - state.tokenStartCharIndex );
250 … t = new CommonToken( input, state.type, state.channel, state.tokenStartCharIndex, CharIndex - 1 ); in Emit()
320 public virtual int CharIndex property in Antlr.Runtime.Lexer
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/
DSlimLexer.cs70 … return input.Substring( state.tokenStartCharIndex, CharIndex - state.tokenStartCharIndex );
329 public int CharIndex property in Antlr.Runtime.SlimLexer
/external/pdfium/core/fpdftext/
Dcpdf_textpage.h100 int TextIndexFromCharIndex(int CharIndex) const;
Dcpdf_textpage.cpp222 int CPDF_TextPage::TextIndexFromCharIndex(int CharIndex) const { in TextIndexFromCharIndex()
227 if (m_CharIndex[i + 1] + m_CharIndex[i] > CharIndex) { in TextIndexFromCharIndex()
228 if (CharIndex - m_CharIndex[i] < 0) in TextIndexFromCharIndex()
231 return CharIndex - m_CharIndex[i] + count - m_CharIndex[i + 1]; in TextIndexFromCharIndex()
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DCSharp3.stg1020 int <label>Start = CharIndex;<\n>
1024 <label> = new <labelType>(input, TokenTypes.Invalid, TokenChannels.Default, <label>Start, CharIndex
1084 int <label>Start<elementIndex> = CharIndex;<\n>
1088 …pe>(input, TokenTypes.Invalid, TokenChannels.Default, <label>Start<elementIndex>, CharIndex-1);<\n>
1105 int <label>Start<elementIndex> = CharIndex;<\n>
1109 … = new <labelType>(input, EOF, TokenChannels.Default, <label>Start<elementIndex>, CharIndex-1);<\n>
1713 lexerRulePropertyRef_stop(scope,attr) ::= "(CharIndex-1)"
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DCSharp2.stg1040 int <label>Start = CharIndex;<\n>
1044 <label> = new <labelType>(input, TokenTypes.Invalid, TokenChannels.Default, <label>Start, CharIndex
1104 int <label>Start<elementIndex> = CharIndex;<\n>
1108 …pe>(input, TokenTypes.Invalid, TokenChannels.Default, <label>Start<elementIndex>, CharIndex-1);<\n>
1125 int <label>Start<elementIndex> = CharIndex;<\n>
1129 … = new <labelType>(input, EOF, TokenChannels.Default, <label>Start<elementIndex>, CharIndex-1);<\n>
1731 lexerRulePropertyRef_stop(scope,attr) ::= "(CharIndex-1)"
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
DDelphi.stg1113 Locals.AsInteger['<label>Start'] := CharIndex;
1115 … TToken.INVALID_TOKEN_TYPE, TToken.DEFAULT_CHANNEL, Locals.AsInteger['<label>Start'], CharIndex-1);
1177 Locals.AsInteger['<label>Start<elementIndex>'] := CharIndex;
1180 Locals.AsInteger['<label>Start<elementIndex>'], CharIndex - 1);
1195 Locals.AsInteger['<label>Start<elementIndex>'] := CharIndex;
1197 …e(Input, EOF, TToken.DEFAULT_CHANNEL, Locals.AsInteger['<label>Start<elementIndex>'], CharIndex-1);
1760 lexerRulePropertyRef_stop(scope,attr) ::= "(CharIndex-1)"
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.pas1120 property CharIndex: Integer read GetCharIndex; property
2473 property CharIndex: Integer read GetCharIndex; property