/system/media/camera/docs/ |
CameraMetadataKeys.mako | 32 # Dedent fixes markdown not to generate code blocks. Then do the rest. 35 description = dedent(entry.description) + "\n\n" 38 details = dedent(entry.details)
|
metadata_helpers_test.py | 210 self.assertEquals("bar\nline1\nline2", dedent("bar\n line1\n line2")) 212 self.assertEquals("bar\nline1\nline2", dedent(" bar\n line1\n line2")) 214 self.assertEquals("bar\n line1\nline2", dedent(" bar\n line1\n line2"))
|
/external/ply/ply/example/GardenSnake/ |
GardenSnake.py | 70 'DEDENT', 162 # I implemented INDENT / DEDENT generation as a post-processing filter 227 # Synthesize a DEDENT tag 230 def DEDENT(lineno): 231 return _new_token("DEDENT", lineno) 240 # Track the indentation level and emit the right INDENT / DEDENT events. 258 # only track the depth here. Don't indent/dedent 303 yield DEDENT(token.lineno) 310 # Must dedent any remaining levels 314 yield DEDENT(token.lineno [all...] |
/external/swiftshader/third_party/LLVM/test/Scripts/ |
coff-dump.py | 246 def dedent(): function 445 dedent() 473 dedent() 497 dedent() 526 dedent() 559 dedent()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/ |
fix_metaclass.py | 8 For one-liner classes ('class X: pass') there is no indent/dedent so
137 if isinstance(node, Leaf) and node.type != token.DEDENT:
224 suite.children[-1].type == token.DEDENT):
|
/external/python/cpython2/Lib/lib2to3/fixes/ |
fix_metaclass.py | 8 For one-liner classes ('class X: pass') there is no indent/dedent so 137 if isinstance(node, Leaf) and node.type != token.DEDENT: 224 suite.children[-1].type == token.DEDENT):
|
/external/python/cpython3/Lib/lib2to3/fixes/ |
fix_metaclass.py | 8 For one-liner classes ('class X: pass') there is no indent/dedent so 137 if isinstance(node, Leaf) and node.type != token.DEDENT: 224 suite.children[-1].type == token.DEDENT):
|
/prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/fixes/ |
fix_metaclass.py | 8 For one-liner classes ('class X: pass') there is no indent/dedent so 137 if isinstance(node, Leaf) and node.type != token.DEDENT: 224 suite.children[-1].type == token.DEDENT):
|
/prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/fixes/ |
fix_metaclass.py | 8 For one-liner classes ('class X: pass') there is no indent/dedent so 137 if isinstance(node, Leaf) and node.type != token.DEDENT: 224 suite.children[-1].type == token.DEDENT):
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_metaclass.py | 8 For one-liner classes ('class X: pass') there is no indent/dedent so 137 if isinstance(node, Leaf) and node.type != token.DEDENT: 224 suite.children[-1].type == token.DEDENT):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_metaclass.py | 8 For one-liner classes ('class X: pass') there is no indent/dedent so 137 if isinstance(node, Leaf) and node.type != token.DEDENT: 224 suite.children[-1].type == token.DEDENT):
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
reindent.py | 260 DEDENT=tokenize.DEDENT,
268 # (NL | COMMENT)* (INDENT | DEDENT+)?
275 elif type == DEDENT:
|
/external/autotest/utils/ |
reindent.py | 259 DEDENT=tokenize.DEDENT, 267 # (NL | COMMENT)* (INDENT | DEDENT+)? 274 elif type == DEDENT:
|
/external/python/cpython2/Doc/library/ |
textwrap.rst | 17 and a utility function :func:`dedent`. If you're just wrapping or filling one 52 An additional utility function, :func:`dedent`, is provided to remove 56 .. function:: dedent(text) 78 print repr(dedent(s)) # prints 'hello\n world\n'
|
token.rst | 52 DEDENT
|
/external/python/cpython2/Lib/idlelib/ |
Bindings.py | 56 ('_Dedent Region', '<<dedent-region>>'),
|
/external/python/cpython2/Lib/test/ |
test_timeit.py | 6 from textwrap import dedent 233 self.assertEqual(s, dedent("""\ 287 self.assertEqual(s, dedent("""\ 295 self.assertEqual(s, dedent("""\
|
/external/python/cpython2/Tools/scripts/ |
reindent.py | 271 DEDENT=tokenize.DEDENT, 279 # (NL | COMMENT)* (INDENT | DEDENT+)? 286 elif type == DEDENT:
|
/external/python/cpython3/Doc/library/ |
token.rst | 53 DEDENT
|
/external/python/cpython3/Lib/idlelib/ |
mainmenu.py | 58 ('_Dedent Region', '<<dedent-region>>'),
|
/external/python/cpython3/Lib/test/test_email/ |
test_pickleable.py | 48 msg_params['parsed'] = (email.message_from_string(textwrap.dedent("""\
|
/external/tensorflow/tensorflow/tools/docs/ |
build_docs_test.py | 56 msg = textwrap.dedent("""\
|
/frameworks/base/tools/incident_report/ |
printer.cpp | 109 Out::dedent() function in class:Out
|
/sdk/eclipse/ |
dictionary.txt | 70 dedent
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/ |
Grammar.txt | 21 #diagram:token DEDENT
99 suite: simple_stmt | NEWLINE INDENT stmt+ DEDENT
|