Home
last modified time | relevance | path

Searched refs:lexerState (Results 1 – 25 of 74) sorted by relevance

123

/dports/devel/rgbds/rgbds/src/asm/
H A Dlexer.c658 lexerState->captureBuf = realloc(lexerState->captureBuf, lexerState->captureCapacity); in reallocCaptureBuf()
830 if (lexerState->offset + distance >= lexerState->size) in peekInternal()
939 if (lexerState->captureSize + 1 >= lexerState->captureCapacity) in shiftChar()
942 lexerState->captureBuf[lexerState->captureSize] = peek(); in shiftChar()
954 if (lexerState->expansions->offset > lexerState->expansions->size) { in shiftChar()
961 lexerState->expansions = lexerState->expansions->parent; in shiftChar()
1001 return lexerState ? lexerState->path : NULL; in lexer_GetFileName()
1016 if (!lexerState) in lexer_DumpStringExpansions()
2377 if (lexerState->atLineStart && !lexerState->expansions) in yylex()
2408 if (lexerState->isMmapped && !lexerState->expansions) { in startCapture()
[all …]
H A Dfstack.c29 struct LexerState *lexerState; member
263 lexer_DeleteState(context->lexerState); in yywrap()
275 lexer_SetState(contextStack->lexerState); in yywrap()
336 contextStack->lexerState = lexer_OpenFile(fileInfo->name); in fstk_RunInclude()
337 if (!contextStack->lexerState) in fstk_RunInclude()
339 lexer_SetStateAtEOL(contextStack->lexerState); in fstk_RunInclude()
408 if (!contextStack->lexerState) in fstk_RunMacro()
410 lexer_SetStateAtEOL(contextStack->lexerState); in fstk_RunMacro()
441 if (!contextStack->lexerState) in newReptContext()
443 lexer_SetStateAtEOL(contextStack->lexerState); in newReptContext()
[all …]
/dports/devel/universal-ctags/ctags-p5.9.20211128.0/parsers/
H A Drust.c84 } lexerState; typedef
139 static void advanceChar (lexerState *lexer) in advanceChar()
183 static void scanWhitespace (lexerState *lexer) in scanWhitespace()
194 static void scanComments (lexerState *lexer) in scanComments()
238 static void scanIdentifier (lexerState *lexer) in scanIdentifier()
252 static void scanString (lexerState *lexer) in scanString()
267 static void scanRawString (lexerState *lexer) in scanRawString()
419 static void initLexer (lexerState *lexer) in initLexer()
429 static void deInitLexer (lexerState *lexer) in deInitLexer()
833 static void skipMacro (lexerState *lexer) in skipMacro()
[all …]
H A Djulia.c173 } lexerState; typedef
216 static void advanceChar (lexerState *lexer) in advanceChar()
301 static bool isTypeDecl (lexerState *lexer) in isTypeDecl()
313 static bool isNewLine (lexerState *lexer) in isNewLine()
320 static bool skipNewLine (lexerState *lexer) in skipNewLine()
334 static void skipComment (lexerState *lexer) in skipComment()
448 static void scanCommand (lexerState *lexer) in scanCommand()
455 static void scanString (lexerState *lexer) in scanString()
838 static void initLexer (lexerState *lexer) in initLexer()
970 static void skipBody (lexerState *lexer) in skipBody()
[all …]
/dports/devel/geany-legacy/geany-1.37.1/ctags/parsers/
H A Drust.c85 } lexerState; typedef
141 static void advanceChar (lexerState *lexer) in advanceChar()
185 static void scanWhitespace (lexerState *lexer) in scanWhitespace()
196 static void scanComments (lexerState *lexer) in scanComments()
240 static void scanIdentifier (lexerState *lexer) in scanIdentifier()
254 static void scanString (lexerState *lexer) in scanString()
269 static void scanRawString (lexerState *lexer) in scanRawString()
421 static void initLexer (lexerState *lexer) in initLexer()
431 static void deInitLexer (lexerState *lexer) in deInitLexer()
813 static void skipMacro (lexerState *lexer) in skipMacro()
[all …]
/dports/devel/geany/geany-1.38/ctags/parsers/
H A Dgeany_rust.c84 } lexerState; typedef
140 static void advanceChar (lexerState *lexer) in advanceChar()
184 static void scanWhitespace (lexerState *lexer) in scanWhitespace()
195 static void scanComments (lexerState *lexer) in scanComments()
239 static void scanIdentifier (lexerState *lexer) in scanIdentifier()
253 static void scanString (lexerState *lexer) in scanString()
268 static void scanRawString (lexerState *lexer) in scanRawString()
420 static void initLexer (lexerState *lexer) in initLexer()
430 static void deInitLexer (lexerState *lexer) in deInitLexer()
812 static void skipMacro (lexerState *lexer) in skipMacro()
[all …]
H A Dgeany_julia.c173 } lexerState; typedef
216 static void advanceChar (lexerState *lexer) in advanceChar()
301 static bool isTypeDecl (lexerState *lexer) in isTypeDecl()
313 static bool isNewLine (lexerState *lexer) in isNewLine()
320 static bool skipNewLine (lexerState *lexer) in skipNewLine()
334 static void skipComment (lexerState *lexer) in skipComment()
448 static void scanCommand (lexerState *lexer) in scanCommand()
455 static void scanString (lexerState *lexer) in scanString()
838 static void initLexer (lexerState *lexer) in initLexer()
970 static void skipBody (lexerState *lexer) in skipBody()
[all …]
/dports/x11-wm/fvwm3/fvwm3-1.0.4/bin/FvwmPrompt/vendor/github.com/flynn-archive/go-shlex/
H A Dshlex.go41 type lexerState int type
84 STATE_START lexerState = 0
85 STATE_INWORD lexerState = 1
86 STATE_ESCAPING lexerState = 2
87 STATE_ESCAPING_QUOTED lexerState = 3
88 STATE_QUOTED_ESCAPING lexerState = 4
89 STATE_QUOTED lexerState = 5
90 STATE_COMMENT lexerState = 6
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vic/vendor/github.com/docker/docker/vendor/github.com/flynn-archive/go-shlex/
H A Dshlex.go41 type lexerState int type
84 STATE_START lexerState = 0
85 STATE_INWORD lexerState = 1
86 STATE_ESCAPING lexerState = 2
87 STATE_ESCAPING_QUOTED lexerState = 3
88 STATE_QUOTED_ESCAPING lexerState = 4
89 STATE_QUOTED lexerState = 5
90 STATE_COMMENT lexerState = 6
/dports/net/syncthing/syncthing-1.18.1/syncthing/vendor/github.com/flynn-archive/go-shlex/
H A Dshlex.go41 type lexerState int type
84 STATE_START lexerState = 0
85 STATE_INWORD lexerState = 1
86 STATE_ESCAPING lexerState = 2
87 STATE_ESCAPING_QUOTED lexerState = 3
88 STATE_QUOTED_ESCAPING lexerState = 4
89 STATE_QUOTED lexerState = 5
90 STATE_COMMENT lexerState = 6
/dports/sysutils/docker/docker-ce-18.09.5/components/cli/vendor/github.com/flynn-archive/go-shlex/
H A Dshlex.go41 type lexerState int type
84 STATE_START lexerState = 0
85 STATE_INWORD lexerState = 1
86 STATE_ESCAPING lexerState = 2
87 STATE_ESCAPING_QUOTED lexerState = 3
88 STATE_QUOTED_ESCAPING lexerState = 4
89 STATE_QUOTED lexerState = 5
90 STATE_COMMENT lexerState = 6
/dports/games/libretro-yabause/yabause-ea5b118/yabause/src/libretro/libretro-common/formats/json/
H A Djsonsax_full.c1428 parser->lexerState = LEXING_WHITESPACE; in JSON_Parser_ProcessToken()
1558 switch (parser->lexerState) in JSON_Parser_ProcessCodepoint()
1595 parser->lexerState = LEXING_LITERAL; in JSON_Parser_ProcessCodepoint()
1601 parser->lexerState = LEXING_LITERAL; in JSON_Parser_ProcessCodepoint()
1607 parser->lexerState = LEXING_LITERAL; in JSON_Parser_ProcessCodepoint()
1612 parser->lexerState = LEXING_STRING; in JSON_Parser_ProcessCodepoint()
1876 parser->lexerState++; in JSON_Parser_ProcessCodepoint()
2254 if (parser->lexerState != LEXING_WHITESPACE) in JSON_Parser_FlushLexer()
3454 LexerState lexerState = LEXING_WHITESPACE; in JSON_Writer_OutputNumber() local
3470 lexerState = LexNumberCharacter(lexerState, c); in JSON_Writer_OutputNumber()
[all …]
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burner/libretro/libretro-common/formats/json/
H A Djsonsax_full.c1393 parser->lexerState = LEXING_WHITESPACE; in JSON_Parser_ProcessToken()
1523 switch (parser->lexerState) in JSON_Parser_ProcessCodepoint()
1560 parser->lexerState = LEXING_LITERAL; in JSON_Parser_ProcessCodepoint()
1566 parser->lexerState = LEXING_LITERAL; in JSON_Parser_ProcessCodepoint()
1572 parser->lexerState = LEXING_LITERAL; in JSON_Parser_ProcessCodepoint()
1577 parser->lexerState = LEXING_STRING; in JSON_Parser_ProcessCodepoint()
1841 parser->lexerState++; in JSON_Parser_ProcessCodepoint()
2219 if (parser->lexerState != LEXING_WHITESPACE) in JSON_Parser_FlushLexer()
3419 LexerState lexerState = LEXING_WHITESPACE; in JSON_Writer_OutputNumber() local
3435 lexerState = LexNumberCharacter(lexerState, c); in JSON_Writer_OutputNumber()
[all …]
/dports/games/retroarch/RetroArch-1.9.7/libretro-common/formats/json/
H A Djsonsax_full.c1393 parser->lexerState = LEXING_WHITESPACE; in JSON_Parser_ProcessToken()
1523 switch (parser->lexerState) in JSON_Parser_ProcessCodepoint()
1560 parser->lexerState = LEXING_LITERAL; in JSON_Parser_ProcessCodepoint()
1566 parser->lexerState = LEXING_LITERAL; in JSON_Parser_ProcessCodepoint()
1572 parser->lexerState = LEXING_LITERAL; in JSON_Parser_ProcessCodepoint()
1577 parser->lexerState = LEXING_STRING; in JSON_Parser_ProcessCodepoint()
1841 parser->lexerState++; in JSON_Parser_ProcessCodepoint()
2219 if (parser->lexerState != LEXING_WHITESPACE) in JSON_Parser_FlushLexer()
3419 LexerState lexerState = LEXING_WHITESPACE; in JSON_Writer_OutputNumber() local
3435 lexerState = LexNumberCharacter(lexerState, c); in JSON_Writer_OutputNumber()
[all …]
/dports/emulators/libretro-vice/vice-libretro-5725415/libretro-common/formats/json/
H A Djsonsax_full.c1428 parser->lexerState = LEXING_WHITESPACE; in JSON_Parser_ProcessToken()
1558 switch (parser->lexerState) in JSON_Parser_ProcessCodepoint()
1595 parser->lexerState = LEXING_LITERAL; in JSON_Parser_ProcessCodepoint()
1601 parser->lexerState = LEXING_LITERAL; in JSON_Parser_ProcessCodepoint()
1607 parser->lexerState = LEXING_LITERAL; in JSON_Parser_ProcessCodepoint()
1612 parser->lexerState = LEXING_STRING; in JSON_Parser_ProcessCodepoint()
1876 parser->lexerState++; in JSON_Parser_ProcessCodepoint()
2254 if (parser->lexerState != LEXING_WHITESPACE) in JSON_Parser_FlushLexer()
3454 LexerState lexerState = LEXING_WHITESPACE; in JSON_Writer_OutputNumber() local
3470 lexerState = LexNumberCharacter(lexerState, c); in JSON_Writer_OutputNumber()
[all …]
/dports/games/libretro-cap32/libretro-cap32-ad7397f/libretro-common/formats/json/
H A Djsonsax_full.c1428 parser->lexerState = LEXING_WHITESPACE; in JSON_Parser_ProcessToken()
1558 switch (parser->lexerState) in JSON_Parser_ProcessCodepoint()
1595 parser->lexerState = LEXING_LITERAL; in JSON_Parser_ProcessCodepoint()
1601 parser->lexerState = LEXING_LITERAL; in JSON_Parser_ProcessCodepoint()
1607 parser->lexerState = LEXING_LITERAL; in JSON_Parser_ProcessCodepoint()
1612 parser->lexerState = LEXING_STRING; in JSON_Parser_ProcessCodepoint()
1876 parser->lexerState++; in JSON_Parser_ProcessCodepoint()
2254 if (parser->lexerState != LEXING_WHITESPACE) in JSON_Parser_FlushLexer()
3454 LexerState lexerState = LEXING_WHITESPACE; in JSON_Writer_OutputNumber() local
3470 lexerState = LexNumberCharacter(lexerState, c); in JSON_Writer_OutputNumber()
[all …]
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burner/libretro/libretro-common/formats/json/
H A Djsonsax_full.c1428 parser->lexerState = LEXING_WHITESPACE; in JSON_Parser_ProcessToken()
1558 switch (parser->lexerState) in JSON_Parser_ProcessCodepoint()
1595 parser->lexerState = LEXING_LITERAL; in JSON_Parser_ProcessCodepoint()
1601 parser->lexerState = LEXING_LITERAL; in JSON_Parser_ProcessCodepoint()
1607 parser->lexerState = LEXING_LITERAL; in JSON_Parser_ProcessCodepoint()
1612 parser->lexerState = LEXING_STRING; in JSON_Parser_ProcessCodepoint()
1876 parser->lexerState++; in JSON_Parser_ProcessCodepoint()
2254 if (parser->lexerState != LEXING_WHITESPACE) in JSON_Parser_FlushLexer()
3454 LexerState lexerState = LEXING_WHITESPACE; in JSON_Writer_OutputNumber() local
3470 lexerState = LexNumberCharacter(lexerState, c); in JSON_Writer_OutputNumber()
[all …]
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/libretro-common/formats/json/
H A Djsonsax_full.c1393 parser->lexerState = LEXING_WHITESPACE; in JSON_Parser_ProcessToken()
1523 switch (parser->lexerState) in JSON_Parser_ProcessCodepoint()
1560 parser->lexerState = LEXING_LITERAL; in JSON_Parser_ProcessCodepoint()
1566 parser->lexerState = LEXING_LITERAL; in JSON_Parser_ProcessCodepoint()
1572 parser->lexerState = LEXING_LITERAL; in JSON_Parser_ProcessCodepoint()
1577 parser->lexerState = LEXING_STRING; in JSON_Parser_ProcessCodepoint()
1841 parser->lexerState++; in JSON_Parser_ProcessCodepoint()
2219 if (parser->lexerState != LEXING_WHITESPACE) in JSON_Parser_FlushLexer()
3419 LexerState lexerState = LEXING_WHITESPACE; in JSON_Writer_OutputNumber() local
3435 lexerState = LexNumberCharacter(lexerState, c); in JSON_Writer_OutputNumber()
[all …]
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/libretro-common/formats/json/
H A Djsonsax_full.c1393 parser->lexerState = LEXING_WHITESPACE; in JSON_Parser_ProcessToken()
1523 switch (parser->lexerState) in JSON_Parser_ProcessCodepoint()
1560 parser->lexerState = LEXING_LITERAL; in JSON_Parser_ProcessCodepoint()
1566 parser->lexerState = LEXING_LITERAL; in JSON_Parser_ProcessCodepoint()
1572 parser->lexerState = LEXING_LITERAL; in JSON_Parser_ProcessCodepoint()
1577 parser->lexerState = LEXING_STRING; in JSON_Parser_ProcessCodepoint()
1841 parser->lexerState++; in JSON_Parser_ProcessCodepoint()
2219 if (parser->lexerState != LEXING_WHITESPACE) in JSON_Parser_FlushLexer()
3419 LexerState lexerState = LEXING_WHITESPACE; in JSON_Writer_OutputNumber() local
3435 lexerState = LexNumberCharacter(lexerState, c); in JSON_Writer_OutputNumber()
[all …]
/dports/devel/rgbds/rgbds/include/asm/
H A Dlexer.h17 extern struct LexerState *lexerState;
22 return lexerState; in lexer_GetState()
27 lexerState = state; in lexer_SetState()
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/plugins/cppeditor/
H A Dcpphighlighter.cpp53 int lexerState = 0, initialBraceDepth = 0; in highlightBlock() local
55 lexerState = previousBlockState_ & 0xff; in highlightBlock()
64 int initialLexerState = lexerState; in highlightBlock()
66 lexerState = tokenize.state(); // refresh lexer state in highlightBlock()
77 setCurrentBlockState((braceDepth << 8) | lexerState); in highlightBlock()
187 && (tokens.size() > 1 || !lexerState)) { in highlightBlock()
228 if (!initialLexerState && lexerState && !tokens.isEmpty()) { in highlightBlock()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/SPIRV-Tools/src/utils/vscode/src/parser/
H A Dparser.go166 lexerState anonMember
171 type lexerState struct { struct
213 func (l *lexer) save() lexerState {
214 return l.lexerState
218 func (l *lexer) restore(s lexerState) {
219 l.lexerState = s
355 l := lexer{source: source, lexerState: lexerState{pos: Position{1, 1}}}
/dports/devel/intel-graphics-compiler/SPIRV-Tools/utils/vscode/src/parser/
H A Dparser.go166 lexerState anonMember
171 type lexerState struct { struct
213 func (l *lexer) save() lexerState {
214 return l.lexerState
218 func (l *lexer) restore(s lexerState) {
219 l.lexerState = s
355 l := lexer{source: source, lexerState: lexerState{pos: Position{1, 1}}}
/dports/devel/liteide/liteide-x37.4/liteidex/src/plugins/golangedit/
H A Dgolanghighlighter.cpp153 int lexerState = 0, initialBraceDepth = 0; in highlightBlockHelper() local
155 lexerState = previousBlockState_ & 0xff; in highlightBlockHelper()
179 int initialLexerState = lexerState; in highlightBlockHelper()
181 lexerState = tokenize.state(); // refresh lexer state in highlightBlockHelper()
192 setCurrentBlockState((braceDepth << 8) | lexerState); in highlightBlockHelper()
295 if (initialLexerState && i == 0 && (tokens.size() > 1 || !lexerState)) { in highlightBlockHelper()
320 if (initialLexerState && i == 0 && (tokens.size() > 1 || !lexerState)) { in highlightBlockHelper()
377 if (!initialLexerState && lexerState && !tokens.isEmpty()) { in highlightBlockHelper()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/parser/
H A Dparser.go166 lexerState anonMember
171 type lexerState struct { struct
213 func (l *lexer) save() lexerState {
214 return l.lexerState
218 func (l *lexer) restore(s lexerState) {
219 l.lexerState = s
355 l := lexer{source: source, lexerState: lexerState{pos: Position{1, 1}}}

123