/dports/multimedia/aegisub/aegisub-3.2.2/tests/tests/ |
H A D | dialogue_lexer.cpp | 47 tok_str("hello there", false, in TEST() 174 tok_str("{\\b\\b", false, in TEST() 203 tok_str("{a}b", false, in TEST() 210 tok_str("{a\\b}c", false, in TEST() 221 tok_str("}", false, in TEST() 225 tok_str("{{", false, in TEST() 286 tok_str("$a", true, in TEST() 319 tok_str("{foo$bar", true, in TEST() 327 tok_str("!5!", true, in TEST() 331 tok_str("!5", true, in TEST() [all …]
|
H A D | syntax_highlight.cpp | 133 tok_str("abc{def}ghi", false, in TEST() 184 tok_str("$a", true, in TEST() 188 tok_str("{\\pos($x,$y)}a", true, in TEST() 201 tok_str("{\\fn$fn}a", true, in TEST() 210 tok_str("{foo$bar}", true, in TEST() 217 tok_str("{foo$bar", true, in TEST() 224 tok_str("!5!", true, in TEST() 228 tok_str("!5", true, in TEST() 232 tok_str("!x * 10!", true, in TEST() 250 tok_str("{\\b1!'}'!a", true, in TEST() [all …]
|
/dports/math/sc-im/sc-im-0.8.2/doc/grammar_yacc_tools/ |
H A D | y2l | 202 tok_str = tok_pstr; 263 return tok_str; 304 transtab[tok_str] = "\"" tolower(tok_str) "\""; 305 DBG(1, tok_str ": Defined as " transtab[tok_str] "."); 308 symbol = tok_str; 375 transtab[tok_str] = "\"" tolower(tok_str) "\""; 376 DBG(1, tok_str ": Defined as " transtab[tok_str] "."); 528 old_str = tok_str; 531 tok_str = old_str; 539 if (tok_str ~ /^@/) [all …]
|
/dports/textproc/y2l/y2l-1.2/ |
H A D | y2l | 203 tok_str = tok_pstr; 264 return tok_str; 305 transtab[tok_str] = "\"" tolower(tok_str) "\""; 306 DBG(1, tok_str ": Defined as " transtab[tok_str] "."); 309 symbol = tok_str; 376 transtab[tok_str] = "\"" tolower(tok_str) "\""; 377 DBG(1, tok_str ": Defined as " transtab[tok_str] "."); 529 old_str = tok_str; 532 tok_str = old_str; 540 if (tok_str ~ /^@/) [all …]
|
/dports/net-mgmt/kismet/kismet-2016-07-R1/ |
H A D | kismet_json.cc | 54 tk.tok_str = ""; in JSON_parse() 70 tk.tok_str += in_json[x]; in JSON_parse() 84 tk.tok_str = ""; in JSON_parse() 103 tk.tok_str = ""; in JSON_parse() 183 tk.tok_str += in_json[x]; in JSON_parse() 190 tk.tok_str += in_json[x]; in JSON_parse() 211 tk.tok_str = "true"; in JSON_parse() 214 tk.tok_str = ""; in JSON_parse() 226 tk.tok_str = "false"; in JSON_parse() 229 tk.tok_str = ""; in JSON_parse() [all …]
|
/dports/x11/kanshi/kanshi-v1.2.0/ |
H A D | parser.c | 68 parser->tok_str[parser->tok_str_len] = ch; in parser_append_tok_ch() 84 parser->tok_str[parser->tok_str_len] = '\0'; in parser_read_quoted() 115 parser->tok_str[parser->tok_str_len] = '\0'; in parser_read_line() 171 parser->tok_str[0] = ch; in parser_next_token() 298 output->name = strdup(parser->tok_str); in parse_profile_output() 310 char *value = parser->tok_str; in parse_profile_output() 341 const char *key_str = parser->tok_str; in parse_profile_output() 394 command->command = strdup(parser->tok_str); in parse_profile_command() 412 profile->name = strdup(parser->tok_str); in parse_profile() 444 const char *directive = parser->tok_str; in parse_profile() [all …]
|
/dports/security/opencryptoki/opencryptoki-3.11.0/usr/sbin/pkcsslotd/ |
H A D | pkcsslotd_util.c | 23 char *tok_str; in PopulateCKInfo() local 47 tok_str = strtok(package_version_tmp, "."); in PopulateCKInfo() 48 if (tok_str) { in PopulateCKInfo() 49 lib_major = (CK_BYTE) atoi(tok_str); in PopulateCKInfo() 50 tok_str = strtok(NULL, "."); in PopulateCKInfo() 51 if (tok_str) { in PopulateCKInfo() 52 lib_minor = (CK_BYTE) atoi(tok_str); in PopulateCKInfo()
|
/dports/databases/py-gdbm/Python-3.8.12/Tools/scripts/ |
H A D | highlight.py | 34 kind = tok_str = '' 38 prev_tok_type, prev_tok_str = tok_type, tok_str 39 tok_type, tok_str, (srow, scol), (erow, ecol), logical_lineno = tok 43 elif tok_type == tokenize.OP and tok_str[:1] not in '{}[](),.:;@': 50 if tok_str in ('def', 'class', 'import', 'from'): 54 elif keyword.iskeyword(tok_str): 56 elif is_builtin(tok_str) and prev_tok_str != '.': 61 text, written = tok_str, (erow, ecol)
|
/dports/databases/py-sqlite3/Python-3.8.12/Tools/scripts/ |
H A D | highlight.py | 34 kind = tok_str = '' 38 prev_tok_type, prev_tok_str = tok_type, tok_str 39 tok_type, tok_str, (srow, scol), (erow, ecol), logical_lineno = tok 43 elif tok_type == tokenize.OP and tok_str[:1] not in '{}[](),.:;@': 50 if tok_str in ('def', 'class', 'import', 'from'): 54 elif keyword.iskeyword(tok_str): 56 elif is_builtin(tok_str) and prev_tok_str != '.': 61 text, written = tok_str, (erow, ecol)
|
/dports/lang/python-tools/Python-3.8.12/Tools/scripts/ |
H A D | highlight.py | 34 kind = tok_str = '' 38 prev_tok_type, prev_tok_str = tok_type, tok_str 39 tok_type, tok_str, (srow, scol), (erow, ecol), logical_lineno = tok 43 elif tok_type == tokenize.OP and tok_str[:1] not in '{}[](),.:;@': 50 if tok_str in ('def', 'class', 'import', 'from'): 54 elif keyword.iskeyword(tok_str): 56 elif is_builtin(tok_str) and prev_tok_str != '.': 61 text, written = tok_str, (erow, ecol)
|
/dports/lang/python311/Python-3.11.0a3/Tools/scripts/ |
H A D | highlight.py | 34 kind = tok_str = '' 38 prev_tok_type, prev_tok_str = tok_type, tok_str 39 tok_type, tok_str, (srow, scol), (erow, ecol), logical_lineno = tok 43 elif tok_type == tokenize.OP and tok_str[:1] not in '{}[](),.:;@': 50 if tok_str in ('def', 'class', 'import', 'from'): 54 elif keyword.iskeyword(tok_str): 56 elif is_builtin(tok_str) and prev_tok_str != '.': 61 text, written = tok_str, (erow, ecol)
|
/dports/lang/python37/Python-3.7.12/Tools/scripts/ |
H A D | highlight.py | 34 kind = tok_str = '' 38 prev_tok_type, prev_tok_str = tok_type, tok_str 39 tok_type, tok_str, (srow, scol), (erow, ecol), logical_lineno = tok 43 elif tok_type == tokenize.OP and tok_str[:1] not in '{}[](),.:;@': 50 if tok_str in ('def', 'class', 'import', 'from'): 54 elif keyword.iskeyword(tok_str): 56 elif is_builtin(tok_str) and prev_tok_str != '.': 61 text, written = tok_str, (erow, ecol)
|
/dports/lang/python38/Python-3.8.12/Tools/scripts/ |
H A D | highlight.py | 34 kind = tok_str = '' 38 prev_tok_type, prev_tok_str = tok_type, tok_str 39 tok_type, tok_str, (srow, scol), (erow, ecol), logical_lineno = tok 43 elif tok_type == tokenize.OP and tok_str[:1] not in '{}[](),.:;@': 50 if tok_str in ('def', 'class', 'import', 'from'): 54 elif keyword.iskeyword(tok_str): 56 elif is_builtin(tok_str) and prev_tok_str != '.': 61 text, written = tok_str, (erow, ecol)
|
/dports/lang/python39/Python-3.9.9/Tools/scripts/ |
H A D | highlight.py | 34 kind = tok_str = '' 38 prev_tok_type, prev_tok_str = tok_type, tok_str 39 tok_type, tok_str, (srow, scol), (erow, ecol), logical_lineno = tok 43 elif tok_type == tokenize.OP and tok_str[:1] not in '{}[](),.:;@': 50 if tok_str in ('def', 'class', 'import', 'from'): 54 elif keyword.iskeyword(tok_str): 56 elif is_builtin(tok_str) and prev_tok_str != '.': 61 text, written = tok_str, (erow, ecol)
|
/dports/lang/python310/Python-3.10.1/Tools/scripts/ |
H A D | highlight.py | 34 kind = tok_str = '' 38 prev_tok_type, prev_tok_str = tok_type, tok_str 39 tok_type, tok_str, (srow, scol), (erow, ecol), logical_lineno = tok 43 elif tok_type == tokenize.OP and tok_str[:1] not in '{}[](),.:;@': 50 if tok_str in ('def', 'class', 'import', 'from'): 54 elif keyword.iskeyword(tok_str): 56 elif is_builtin(tok_str) and prev_tok_str != '.': 61 text, written = tok_str, (erow, ecol)
|
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Tools/scripts/ |
H A D | highlight.py | 34 kind = tok_str = '' 38 prev_tok_type, prev_tok_str = tok_type, tok_str 39 tok_type, tok_str, (srow, scol), (erow, ecol), logical_lineno = tok 43 elif tok_type == tokenize.OP and tok_str[:1] not in '{}[](),.:;@': 50 if tok_str in ('def', 'class', 'import', 'from'): 54 elif keyword.iskeyword(tok_str): 56 elif is_builtin(tok_str) and prev_tok_str != '.': 61 text, written = tok_str, (erow, ecol)
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/lldb/source/Plugins/Language/ClangCommon/ |
H A D | ClangHighlighter.cpp | 50 const clang::Token &token, llvm::StringRef tok_str, in determineClangStyle() argument 67 else if (highlighter.isKeyword(tok_str)) in determineClangStyle() 223 llvm::StringRef tok_str = line.substr(start, token.getLength()); in Highlight() local 226 if (tok_str.empty()) in Highlight() 231 llvm::StringRef to_print = tok_str; in Highlight() 236 options.selected.Apply(storage, tok_str); in Highlight() 242 determineClangStyle(*this, token, tok_str, options, in_pp_directive); in Highlight()
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/lldb/source/Plugins/Language/ClangCommon/ |
H A D | ClangHighlighter.cpp | 50 const clang::Token &token, llvm::StringRef tok_str, in determineClangStyle() argument 67 else if (highlighter.isKeyword(tok_str)) in determineClangStyle() 223 llvm::StringRef tok_str = line.substr(start, token.getLength()); in Highlight() local 226 if (tok_str.empty()) in Highlight() 231 llvm::StringRef to_print = tok_str; in Highlight() 236 options.selected.Apply(storage, tok_str); in Highlight() 242 determineClangStyle(*this, token, tok_str, options, in_pp_directive); in Highlight()
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/lldb/source/Plugins/Language/ClangCommon/ |
H A D | ClangHighlighter.cpp | 50 const clang::Token &token, llvm::StringRef tok_str, in determineClangStyle() argument 67 else if (highlighter.isKeyword(tok_str)) in determineClangStyle() 223 llvm::StringRef tok_str = line.substr(start, token.getLength()); in Highlight() local 226 if (tok_str.empty()) in Highlight() 231 llvm::StringRef to_print = tok_str; in Highlight() 236 options.selected.Apply(storage, tok_str); in Highlight() 242 determineClangStyle(*this, token, tok_str, options, in_pp_directive); in Highlight()
|
/dports/devel/llvm12/llvm-project-12.0.1.src/lldb/source/Plugins/Language/ClangCommon/ |
H A D | ClangHighlighter.cpp | 50 const clang::Token &token, llvm::StringRef tok_str, in determineClangStyle() argument 67 else if (highlighter.isKeyword(tok_str)) in determineClangStyle() 223 llvm::StringRef tok_str = line.substr(start, token.getLength()); in Highlight() local 226 if (tok_str.empty()) in Highlight() 231 llvm::StringRef to_print = tok_str; in Highlight() 236 options.selected.Apply(storage, tok_str); in Highlight() 242 determineClangStyle(*this, token, tok_str, options, in_pp_directive); in Highlight()
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/lldb/source/Plugins/Language/ClangCommon/ |
H A D | ClangHighlighter.cpp | 50 const clang::Token &token, llvm::StringRef tok_str, in determineClangStyle() argument 67 else if (highlighter.isKeyword(tok_str)) in determineClangStyle() 223 llvm::StringRef tok_str = line.substr(start, token.getLength()); in Highlight() local 226 if (tok_str.empty()) in Highlight() 231 llvm::StringRef to_print = tok_str; in Highlight() 236 options.selected.Apply(storage, tok_str); in Highlight() 242 determineClangStyle(*this, token, tok_str, options, in_pp_directive); in Highlight()
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/lldb/source/Plugins/Language/ClangCommon/ |
H A D | ClangHighlighter.cpp | 50 const clang::Token &token, llvm::StringRef tok_str, in determineClangStyle() argument 67 else if (highlighter.isKeyword(tok_str)) in determineClangStyle() 223 llvm::StringRef tok_str = line.substr(start, token.getLength()); in Highlight() local 226 if (tok_str.empty()) in Highlight() 231 llvm::StringRef to_print = tok_str; in Highlight() 236 options.selected.Apply(storage, tok_str); in Highlight() 242 determineClangStyle(*this, token, tok_str, options, in_pp_directive); in Highlight()
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/lldb/source/Plugins/Language/ClangCommon/ |
H A D | ClangHighlighter.cpp | 50 const clang::Token &token, llvm::StringRef tok_str, in determineClangStyle() argument 67 else if (highlighter.isKeyword(tok_str)) in determineClangStyle() 223 llvm::StringRef tok_str = line.substr(start, token.getLength()); in Highlight() local 226 if (tok_str.empty()) in Highlight() 231 llvm::StringRef to_print = tok_str; in Highlight() 236 options.selected.Apply(storage, tok_str); in Highlight() 242 determineClangStyle(*this, token, tok_str, options, in_pp_directive); in Highlight()
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/lldb/source/Plugins/Language/ClangCommon/ |
H A D | ClangHighlighter.cpp | 50 const clang::Token &token, llvm::StringRef tok_str, in determineClangStyle() argument 67 else if (highlighter.isKeyword(tok_str)) in determineClangStyle() 223 llvm::StringRef tok_str = line.substr(start, token.getLength()); in Highlight() local 226 if (tok_str.empty()) in Highlight() 231 llvm::StringRef to_print = tok_str; in Highlight() 236 options.selected.Apply(storage, tok_str); in Highlight() 242 determineClangStyle(*this, token, tok_str, options, in_pp_directive); in Highlight()
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/lldb/source/Plugins/Language/ClangCommon/ |
H A D | ClangHighlighter.cpp | 49 const clang::Token &token, llvm::StringRef tok_str, in determineClangStyle() argument 66 else if (highlighter.isKeyword(tok_str)) in determineClangStyle() 222 llvm::StringRef tok_str = line.substr(start, token.getLength()); in Highlight() local 225 if (tok_str.empty()) in Highlight() 230 llvm::StringRef to_print = tok_str; in Highlight() 235 options.selected.Apply(storage, tok_str); in Highlight() 241 determineClangStyle(*this, token, tok_str, options, in_pp_directive); in Highlight()
|