Searched refs:replace (Results 1 - 25 of 930) sorted by relevance

1234567891011>>

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/
H A Dfix_xreadlines.py23 no_call.replace(Name(u"__iter__", prefix=no_call.prefix))
25 node.replace([x.clone() for x in results["call"]])
H A Dfix_itertools.py40 func.parent.replace(func)
43 func.replace(Name(func.value[1:], prefix=prefix))
H A Dfix_buffer.py22 name.replace(Name(u"memoryview", prefix=name.prefix))
H A Dfix_funcattrs.py20 attr.replace(Name((u"__%s__" % attr.value[5:]),
H A Dfix_getcwdu.py19 name.replace(Name(u"getcwd", prefix=name.prefix))
H A Dfix_methodattrs.py24 attr.replace(Name(new, prefix=attr.prefix))
H A Dfix_nonzero.py21 name.replace(new)
H A Dfix_raw_input.py17 name.replace(Name(u"input", prefix=name.prefix))
H A Dfix_imports.py120 self.replace = {}
127 import_mod.replace(Name(new_name, prefix=import_mod.prefix))
131 self.replace[mod_name] = new_name
143 new_name = self.replace.get(bare_name.value)
145 bare_name.replace(Name(new_name, prefix=bare_name.prefix))
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/
H A Dfix_xreadlines.py23 no_call.replace(Name(u"__iter__", prefix=no_call.prefix))
25 node.replace([x.clone() for x in results["call"]])
H A Dfix_itertools.py40 func.parent.replace(func)
43 func.replace(Name(func.value[1:], prefix=prefix))
H A Dfix_buffer.py22 name.replace(Name(u"memoryview", prefix=name.prefix))
H A Dfix_funcattrs.py20 attr.replace(Name((u"__%s__" % attr.value[5:]),
H A Dfix_getcwdu.py19 name.replace(Name(u"getcwd", prefix=name.prefix))
H A Dfix_methodattrs.py24 attr.replace(Name(new, prefix=attr.prefix))
H A Dfix_nonzero.py21 name.replace(new)
H A Dfix_raw_input.py17 name.replace(Name(u"input", prefix=name.prefix))
H A Dfix_imports.py120 self.replace = {}
127 import_mod.replace(Name(new_name, prefix=import_mod.prefix))
131 self.replace[mod_name] = new_name
143 new_name = self.replace.get(bare_name.value)
145 bare_name.replace(Name(new_name, prefix=bare_name.prefix))
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/data/fixers/myfixes/
H A Dfix_parrot.py13 name.replace(Name("cheese", name.prefix))
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/data/fixers/myfixes/
H A Dfix_parrot.py13 name.replace(Name("cheese", name.prefix))
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_strop.py58 replace = strop.replace
59 self.assertTrue(replace("one!two!three!", '!', '@', 1)
61 self.assertTrue(replace("one!two!three!", '!', '@', 2)
63 self.assertTrue(replace("one!two!three!", '!', '@', 3)
65 self.assertTrue(replace("one!two!three!", '!', '@', 4)
68 # CAUTION: a replace count of 0 means infinity only to strop,
69 # not to the string .replace() method or to the
70 # string.replace() function.
72 self.assertTrue(replace("on
[all...]
H A Dinspect_fodder2.py8 def replace(func): function
20 @replace
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_strop.py58 replace = strop.replace
59 self.assertTrue(replace("one!two!three!", '!', '@', 1)
61 self.assertTrue(replace("one!two!three!", '!', '@', 2)
63 self.assertTrue(replace("one!two!three!", '!', '@', 3)
65 self.assertTrue(replace("one!two!three!", '!', '@', 4)
68 # CAUTION: a replace count of 0 means infinity only to strop,
69 # not to the string .replace() method or to the
70 # string.replace() function.
72 self.assertTrue(replace("on
[all...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/sqlite3/
H A Ddump.py40 # qtable = table_name.replace("'", "''")
44 # sql.replace("''")))
49 table_name_ident = table_name.replace('"', '""')
54 ",".join("""'||quote("{0}")||'""".format(col.replace('"', '""')) for col in column_names))
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/sqlite3/
H A Ddump.py40 # qtable = table_name.replace("'", "''")
44 # sql.replace("''")))
49 table_name_ident = table_name.replace('"', '""')
54 ",".join("""'||quote("{0}")||'""".format(col.replace('"', '""')) for col in column_names))

Completed in 488 milliseconds

1234567891011>>