Home
last modified time | relevance | path

Searched refs:NEWLINE (Results 1 – 25 of 67) sorted by relevance

123

/external/chromium_org/tools/grit/grit/format/policy_templates/writers/
Dreg_writer_unittest.py23 NEWLINE = '\r\n' variable in RegWriterUnittest
70 expected_output = self.NEWLINE.join([
98 expected_output = self.NEWLINE.join([
123 expected_output = self.NEWLINE.join([
152 expected_output = self.NEWLINE.join([
183 expected_output = self.NEWLINE.join([
208 expected_output = self.NEWLINE.join([
243 expected_output = self.NEWLINE.join([
270 expected_output = self.NEWLINE.join([
305 expected_output = self.NEWLINE.join([
Dreg_writer.py27 NEWLINE = '\r\n' variable in RegWriter
109 return self.NEWLINE.join(all)
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/
Dglcpp-parse.output19 7 expanded_line: IF_EXPANDED expression NEWLINE
20 8 | ELIF_EXPANDED expression NEWLINE
21 9 | LINE_EXPANDED integer_constant NEWLINE
22 10 | LINE_EXPANDED integer_constant integer_constant NEWLINE
24 11 control_line: HASH_DEFINE OBJ_IDENTIFIER replacement_list NEWLINE
25 12 | HASH_DEFINE FUNC_IDENTIFIER '(' ')' replacement_list NEWLINE
26 13 | HASH_DEFINE FUNC_IDENTIFIER '(' identifier_list ')' replacement_list NEWLINE
27 14 | HASH_UNDEF IDENTIFIER NEWLINE
28 15 | HASH_LINE pp_tokens NEWLINE
29 16 | HASH_IF conditional_tokens NEWLINE
[all …]
Dglcpp-parse.h61 NEWLINE = 279, enumerator
99 #define NEWLINE 279 macro
/external/antlr/antlr-3.4/runtime/Perl5/examples/expr/
DExpr.g16 stat: expr NEWLINE { print "$expr.value\n"; }
17 | ID '=' expr NEWLINE
19 | NEWLINE
49 NEWLINE:'\r'? '\n' ;
/external/antlr/antlr-3.4/runtime/Perl5/examples/mexpr/
DMExpr.g9 stat: expr NEWLINE { print "$expr.value\n"; }
10 | NEWLINE
27 NEWLINE:'\r'? '\n' ;
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/
DDebugGrammar.g353 stat: expr NEWLINE -> expr
54 | ID '=' expr NEWLINE -> ^('=' ID expr)
55 | func NEWLINE -> func
56 | NEWLINE -> // ignore
94 NEWLINE
DProfileGrammar.g353 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/
Dexpr.t23 stat: expr NEWLINE { print "$expr.value\n"; }
24 | ID '=' expr NEWLINE
26 | NEWLINE
56 NEWLINE:'\r'? '\n' ;
/external/chromium_org/third_party/mesa/src/src/glsl/glcpp/
Dglcpp-lex.l74 NEWLINE [\n]
114 <COMMENT>[^*\n]*\n { yylineno++; yycolumn = 0; return NEWLINE; }
116 <COMMENT>"*"+[^*/\n]*\n { yylineno++; yycolumn = 0; return NEWLINE; }
294 return NEWLINE;
301 return NEWLINE;
Dglcpp-parse.y163 …HASH_VERSION IDENTIFIER IF_EXPANDED INTEGER INTEGER_STRING LINE_EXPANDED NEWLINE OTHER PLACEHOLDER…
203 IF_EXPANDED expression NEWLINE {
206 | ELIF_EXPANDED expression NEWLINE {
209 | LINE_EXPANDED integer_constant NEWLINE {
217 | LINE_EXPANDED integer_constant integer_constant NEWLINE {
230 HASH_DEFINE OBJ_IDENTIFIER replacement_list NEWLINE {
233 | HASH_DEFINE FUNC_IDENTIFIER '(' ')' replacement_list NEWLINE {
236 | HASH_DEFINE FUNC_IDENTIFIER '(' identifier_list ')' replacement_list NEWLINE {
239 | HASH_UNDEF IDENTIFIER NEWLINE {
247 | HASH_LINE pp_tokens NEWLINE {
[all …]
/external/mesa3d/src/glsl/glcpp/
Dglcpp-lex.l74 NEWLINE [\n]
114 <COMMENT>[^*\n]*\n { yylineno++; yycolumn = 0; return NEWLINE; }
116 <COMMENT>"*"+[^*/\n]*\n { yylineno++; yycolumn = 0; return NEWLINE; }
294 return NEWLINE;
301 return NEWLINE;
Dglcpp-parse.y163 …HASH_VERSION IDENTIFIER IF_EXPANDED INTEGER INTEGER_STRING LINE_EXPANDED NEWLINE OTHER PLACEHOLDER…
203 IF_EXPANDED expression NEWLINE {
206 | ELIF_EXPANDED expression NEWLINE {
209 | LINE_EXPANDED integer_constant NEWLINE {
217 | LINE_EXPANDED integer_constant integer_constant NEWLINE {
230 HASH_DEFINE OBJ_IDENTIFIER replacement_list NEWLINE {
233 | HASH_DEFINE FUNC_IDENTIFIER '(' ')' replacement_list NEWLINE {
236 | HASH_DEFINE FUNC_IDENTIFIER '(' identifier_list ')' replacement_list NEWLINE {
239 | HASH_UNDEF IDENTIFIER NEWLINE {
247 | HASH_LINE pp_tokens NEWLINE {
[all …]
/external/deqp/framework/randomshaders/
DrsgShader.cpp97 … 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()
DrsgStatement.cpp205 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/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
DPython.g77 : 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 '#'
Drhino-python.extensions44 ... 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/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/JavaCompat/
DExpr.g379 stat: expr NEWLINE {JSystem.@out.println($expr.value);}
80 | ID '=' expr NEWLINE
82 | NEWLINE
109 NEWLINE:'\r'? '\n' ;
/external/chromium_org/third_party/angle/src/compiler/preprocessor/
DTokenizer.l77 NEWLINE \n|\r|\r\n
100 <COMMENT>{NEWLINE} { ++yylineno; }
226 {NEWLINE} {
232 \\{NEWLINE} { ++yylineno; }
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Dstreams.rb367 NEWLINE = ?\n.ord constant in ANTLR3.StringStream
482 if c == NEWLINE
535 @position.zero? or @data[ @position - 1 ] == NEWLINE
543 @data[ @position ] == NEWLINE #if @position < @data.length
/external/mesa3d/src/glsl/glcpp/tests/
D102-garbage-after-endif.c.expected1 0:2(8): preprocessor error: syntax error, unexpected IDENTIFIER, expecting NEWLINE
D103-garbage-after-else.c.expected1 0:2(7): preprocessor error: syntax error, unexpected IDENTIFIER, expecting NEWLINE
/external/chromium_org/third_party/mesa/src/src/glsl/glcpp/tests/
D102-garbage-after-endif.c.expected1 0:2(8): preprocessor error: syntax error, unexpected IDENTIFIER, expecting NEWLINE
D103-garbage-after-else.c.expected1 0:2(7): preprocessor error: syntax error, unexpected IDENTIFIER, expecting NEWLINE
/external/doclava/src/com/google/doclava/
DProofread.java30 static final String NEWLINE = "\n" + INDENT; field in Proofread
69 s = m.replaceAll(NEWLINE); in writeIndented()

123