/external/jline/src/src/test/java/jline/ |
D | TestHistory.java | 22 append("test line 1").op(ConsoleReader.NEWLINE). in testSingleHistory() 23 append("test line 2").op(ConsoleReader.NEWLINE). in testSingleHistory() 24 append("test line 3").op(ConsoleReader.NEWLINE). in testSingleHistory() 25 append("test line 4").op(ConsoleReader.NEWLINE). in testSingleHistory() 26 append("test line 5").op(ConsoleReader.NEWLINE). in testSingleHistory() 59 .op(ConsoleReader.NEWLINE); in testSingleHistory() 68 assertBuffer("XXXtest line 4", b = b.op(ConsoleReader.NEWLINE). in testSingleHistory() 70 assertBuffer("XXXtest line 4", b = b.op(ConsoleReader.NEWLINE). in testSingleHistory() 72 assertBuffer("XXXtest line 4", b = b.op(ConsoleReader.NEWLINE). in testSingleHistory() 74 assertBuffer("XXXtest line 4", b = b.op(ConsoleReader.NEWLINE). in testSingleHistory()
|
/external/python/cpython2/Lib/test/ |
D | test_univnewlines2k.py | 53 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE)) 59 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE)) 69 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE)) 91 NEWLINE = None variable in TestNativeNewlines 97 NEWLINE = '\r' variable in TestCRNewlines 101 NEWLINE = '\n' variable in TestLFNewlines 105 NEWLINE = '\r\n' variable in TestCRLFNewlines 113 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE)) 116 NEWLINE = ('\r', '\n') variable in TestMixedNewlines
|
D | test_univnewlines.py | 63 self.assertEqual(set(fp.newlines), set(self.NEWLINE)) 69 self.assertEqual(set(fp.newlines), set(self.NEWLINE)) 79 self.assertEqual(set(fp.newlines), set(self.NEWLINE)) 93 NEWLINE = '\r' variable in TestCRNewlines 97 NEWLINE = '\n' variable in TestLFNewlines 101 NEWLINE = '\r\n' variable in TestCRLFNewlines 109 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE)) 112 NEWLINE = ('\r', '\n') variable in TestMixedNewlines
|
/external/mesa3d/src/compiler/glsl/glcpp/ |
D | glcpp-lex.l | 123 if (token != NEWLINE && token != SPACE && token != HASH_TOKEN && in glcpp_lex_update_state_per_token() 130 if (token == NEWLINE) { in glcpp_lex_update_state_per_token() 138 if (token == NEWLINE) { in glcpp_lex_update_state_per_token() 180 NEWLINE (\r\n|\n\r|\r|\n) 217 RETURN_TOKEN_NEVER_SKIP (NEWLINE); 265 <COMMENT>[^*\r\n]*{NEWLINE} { yylineno++; yycolumn = 0; parser->commented_newlines++; } 267 <COMMENT>"*"+[^*/\r\n]*{NEWLINE} { yylineno++; yycolumn = 0; parser->commented_newlines++; } 321 <HASH>{NEWLINE} { 326 RETURN_TOKEN_NEVER_SKIP (NEWLINE); 540 <*>{NEWLINE} { [all …]
|
D | glcpp-parse.y | 178 …OKEN GARBAGE IDENTIFIER IF_EXPANDED INTEGER INTEGER_STRING LINE_EXPANDED NEWLINE OTHER PLACEHOLDER… 218 IF_EXPANDED expression NEWLINE { 223 | ELIF_EXPANDED expression NEWLINE { 228 | LINE_EXPANDED integer_constant NEWLINE { 236 | LINE_EXPANDED integer_constant integer_constant NEWLINE { 249 OBJ_IDENTIFIER replacement_list NEWLINE { 252 | FUNC_IDENTIFIER '(' ')' replacement_list NEWLINE { 255 | FUNC_IDENTIFIER '(' identifier_list ')' replacement_list NEWLINE { 265 | HASH_TOKEN LINE pp_tokens NEWLINE { 279 | HASH_TOKEN UNDEF IDENTIFIER NEWLINE { [all …]
|
/external/antlr/antlr-3.4/runtime/Perl5/examples/expr/ |
D | Expr.g | 16 stat: expr NEWLINE { print "$expr.value\n"; } 17 | ID '=' expr NEWLINE 19 | NEWLINE 49 NEWLINE:'\r'? '\n' ;
|
/external/python/cpython2/Grammar/ |
D | Grammar | 17 # NB: compound_stmt in single_input is followed by extra NEWLINE! 18 single_input: NEWLINE | simple_stmt | compound_stmt NEWLINE 19 file_input: (NEWLINE | stmt)* ENDMARKER 20 eval_input: testlist NEWLINE* ENDMARKER 22 decorator: '@' dotted_name [ '(' [arglist] ')' ] NEWLINE 34 simple_stmt: small_stmt (';' small_stmt)* [';'] NEWLINE 78 suite: simple_stmt | NEWLINE INDENT stmt+ DEDENT
|
/external/antlr/antlr-3.4/runtime/Perl5/examples/mexpr/ |
D | MExpr.g | 9 stat: expr NEWLINE { print "$expr.value\n"; } 10 | NEWLINE 27 NEWLINE:'\r'? '\n' ;
|
/external/python/cpython2/Lib/lib2to3/ |
D | Grammar.txt | 17 #diagram:token NEWLINE 29 # NB: compound_stmt in single_input is followed by extra NEWLINE! 30 file_input: (NEWLINE | stmt)* ENDMARKER 31 single_input: NEWLINE | simple_stmt | compound_stmt NEWLINE 32 eval_input: testlist NEWLINE* ENDMARKER 34 decorator: '@' dotted_name [ '(' [arglist] ')' ] NEWLINE 53 simple_stmt: small_stmt (';' small_stmt)* [';'] NEWLINE 99 suite: simple_stmt | NEWLINE INDENT stmt+ DEDENT
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/ |
D | DebugGrammar.g3 | 53 stat: expr NEWLINE -> expr 54 | ID '=' expr NEWLINE -> ^('=' ID expr) 55 | func NEWLINE -> func 56 | NEWLINE -> // ignore 94 NEWLINE
|
D | ProfileGrammar.g3 | 53 stat: expr NEWLINE -> expr 54 | ID '=' expr NEWLINE -> ^('=' ID expr) 55 | func NEWLINE -> func 56 | NEWLINE -> // ignore 94 NEWLINE
|
/external/antlr/antlr-3.4/runtime/Perl5/t/examples/ |
D | expr.t | 23 stat: expr NEWLINE { print "$expr.value\n"; } 24 | ID '=' expr NEWLINE 26 | NEWLINE 56 NEWLINE:'\r'? '\n' ;
|
/external/deqp/framework/randomshaders/ |
D | rsgShader.cpp | 97 … Token::PRECISION << Token::MEDIUM_PRECISION << Token::FLOAT << Token::SEMICOLON << Token::NEWLINE; in tokenize() 106 str << Token::NEWLINE; in tokenize() 111 str << Token::NEWLINE; in tokenize() 144 str << Token::RIGHT_PAREN << Token::NEWLINE; in tokenize()
|
D | rsgStatement.cpp | 205 str << Token::LEFT_BRACE << Token::NEWLINE << Token::INDENT_INC; in tokenize() 210 str << Token::INDENT_DEC << Token::RIGHT_BRACE << Token::NEWLINE; in tokenize() 223 str << Token::SEMICOLON << Token::NEWLINE; in tokenize() 343 str << Token::SEMICOLON << Token::NEWLINE; in tokenize() 463 str << Token::RIGHT_PAREN << Token::NEWLINE; in tokenize() 485 str << Token::NEWLINE; in tokenize() 490 str << Token::NEWLINE << Token::INDENT_INC; in tokenize() 560 str << Token::SEMICOLON << Token::NEWLINE; in tokenize()
|
/external/python/cpython2/Tools/scripts/ |
D | cleanfuture.py | 159 NEWLINE = tokenize.NEWLINE 169 while type in (COMMENT, NL, NEWLINE): 179 while type in (COMMENT, NL, NEWLINE): 211 if type is not NEWLINE:
|
D | checkappend.py | 113 NEWLINE=tokenize.NEWLINE, argument 158 if type is NEWLINE:
|
/external/python/cpython2/Doc/reference/ |
D | toplevel_components.rst | 69 file_input: (NEWLINE | `statement`)* 88 interactive_input: [`stmt_list`] NEWLINE | `compound_stmt` NEWLINE 107 eval_input: `expression_list` NEWLINE* 114 input_input: `expression_list` NEWLINE
|
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
D | Python.g | 77 : NEWLINE 79 | compound_stmt NEWLINE 83 : (NEWLINE | stmt)* 87 : (NEWLINE)* testlist (NEWLINE)* 129 : small_stmt (options {greedy=true;}:SEMI small_stmt)* (SEMI)? NEWLINE 254 | NEWLINE INDENT (stmt)+ DEDENT 538 NEWLINE 590 Only match \n here if we didn't start on left edge; let NEWLINE return that. 600 | {this.startPos>0}?=> '#' (~'\n')* // let NEWLINE handle \n unless char pos==0 for '#'
|
D | rhino-python.extensions | 44 ... 1 COLON NEWLINE INDENT PRINT a NEWLINE DEDENT b ASSIGN 3 ... 49 Upon NEWLINE token from the lexer, however, an INDENT or DEDENT token 50 may need to be sent to the parser. The NEWLINE is the trigger for 51 this class to do it's job. NEWLINE is saved and then the first token 133 // if not a NEWLINE, doesn't signal indent/dedent work; just enqueue 134 if ( t.getType()!=PythonLexer.NEWLINE ) { 144 // save NEWLINE in the queue
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | VTimeZone.java | 245 bw.write(NEWLINE); in write() 252 bw.write(NEWLINE); in write() 256 bw.write(NEWLINE); in write() 421 private static final String NEWLINE = "\r\n"; // CRLF field in VTimeZone 1255 w.write(NEWLINE); in writeZone() 1535 writer.write(NEWLINE); in writeZonePropsByTime() 1555 writer.write(NEWLINE); in writeZonePropsByDOM() 1576 writer.write(NEWLINE); in writeZonePropsByDOW() 1661 writer.write(NEWLINE); in writeZonePropsByDOW_GEQ_DOM_sub() 1813 writer.write(NEWLINE); in beginZoneProps() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | VTimeZone.java | 224 bw.write(NEWLINE); in write() 231 bw.write(NEWLINE); in write() 235 bw.write(NEWLINE); in write() 390 private static final String NEWLINE = "\r\n"; // CRLF field in VTimeZone 1224 w.write(NEWLINE); in writeZone() 1504 writer.write(NEWLINE); in writeZonePropsByTime() 1524 writer.write(NEWLINE); in writeZonePropsByDOM() 1545 writer.write(NEWLINE); in writeZonePropsByDOW() 1630 writer.write(NEWLINE); in writeZonePropsByDOW_GEQ_DOM_sub() 1782 writer.write(NEWLINE); in beginZoneProps() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/JavaCompat/ |
D | Expr.g3 | 79 stat: expr NEWLINE {JSystem.@out.println($expr.value);} 80 | ID '=' expr NEWLINE 82 | NEWLINE 109 NEWLINE:'\r'? '\n' ;
|
/external/swiftshader/src/OpenGL/compiler/preprocessor/ |
D | Tokenizer.l | 93 NEWLINE \n|\r|\r\n 116 <COMMENT>{NEWLINE} { ++yylineno; } 242 {NEWLINE} { 248 \\{NEWLINE} { ++yylineno; }
|
/external/python/cpython2/Lib/ |
D | tokenize.py | 217 elif tok_type in (NEWLINE, NL): 228 if tok_type in (NEWLINE, NL): 236 startline = token[0] in (NEWLINE, NL) 259 elif toknum in (NEWLINE, NL): 396 yield (NL if parenlev > 0 else NEWLINE,
|
/external/python/cpython2/Lib/lib2to3/fixes/ |
D | fix_metaclass.py | 96 if node.children and node.children[-1].type == token.NEWLINE: 220 node.append_child(Leaf(token.NEWLINE, u'\n')) 228 suite.insert_child(-1, Leaf(token.NEWLINE, u'\n'))
|