Home
last modified time | relevance | path

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

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_univnewlines2k.py53 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
Dtest_univnewlines.py63 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
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/
DGrammar.txt17 #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
Dfixer_util.py70 return Leaf(token.NEWLINE, u"\n")
74 return Leaf(token.NEWLINE, u"")
Dpatcomp.py35 skip = set((token.NEWLINE, token.INDENT, token.DEDENT))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Grammar/
DGrammar17 # 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
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dcleanfuture.py159 NEWLINE = tokenize.NEWLINE
169 while type in (COMMENT, NL, NEWLINE):
179 while type in (COMMENT, NL, NEWLINE):
211 if type is not NEWLINE:
Dcheckappend.py113 NEWLINE=tokenize.NEWLINE, argument
158 if type is NEWLINE:
Dreindent.py261 NEWLINE=tokenize.NEWLINE, argument
265 if type == NEWLINE:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/
Dfix_metaclass.py96 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'))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dtabnanny.py276 NEWLINE = tokenize.NEWLINE
282 if type == NEWLINE:
Dtokenize.py201 if tok_type in (NEWLINE, NL):
213 if toknum in (NEWLINE, NL):
236 elif toknum in (NEWLINE, NL):
371 yield (NL if parenlev > 0 else NEWLINE,
Dsmtpd.py93 NEWLINE = '\n' variable
177 self.__data = NEWLINE.join(data)
355 data = NEWLINE.join(lines)
Dtoken.py17 NEWLINE = 4 variable
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dtokenize.py211 if tok_type in (NEWLINE, NL):
219 startline = token[0] in (NEWLINE, NL)
242 elif toknum in (NEWLINE, NL):
379 yield (NL if parenlev > 0 else NEWLINE,
Dtoken.py15 NEWLINE = 4 variable
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
Dlistnode.c53 if (TYPE(n) == NEWLINE) { in list1node()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/
Dtoken.py13 NEWLINE = 4 variable
Dtokenize.py206 if tok_type in (NEWLINE, NL):
218 if toknum in (NEWLINE, NL):
232 elif toknum in (NEWLINE, NL):
447 newline = NEWLINE
Dpgen.py150 while self.type == token.NEWLINE:
156 self.expect(token.NEWLINE)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/
Dlistnode.c53 if (TYPE(n) == NEWLINE) { in list1node()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dtoken.h16 #define NEWLINE 4 macro
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dtoken.h16 #define NEWLINE 4 macro
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/parser/
Dexample.py189 (token.NEWLINE, '')
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/i18n/
Dpygettext.py399 elif ttype not in (tokenize.NEWLINE, tokenize.INDENT,
424 token.NEWLINE, tokenize.NL]:

12