/device/linaro/bootloader/edk2/BeagleBoardPkg/Tools/ |
D | makefile | 13 all: GenerateImage replace 18 replace: replace.c target 19 $(CC) $(CCFLAGS) $(LDFLAGS) -o replace.exe replace.c 22 del GenerateImage.exe generate_image.obj replace.exe replace.obj
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/TexasInstruments/BeagleBoard/Tools/ |
D | makefile | 13 all: GenerateImage replace 18 replace: replace.c target 19 $(CC) $(CCFLAGS) $(LDFLAGS) -o replace.exe replace.c 22 del GenerateImage.exe generate_image.obj replace.exe replace.obj
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_strop.py | 58 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) 72 self.assertTrue(replace("one!two!three!", '!', '@', 0) 74 self.assertTrue(replace("one!two!three!", '!', '@') 76 self.assertTrue(replace("one!two!three!", 'x', '@') 78 self.assertTrue(replace("one!two!three!", 'x', '@', 2)
|
D | test_datetime.py | 1069 self.assertEqual(base, base.replace()) 1078 got = base.replace(**{name: newval}) 1084 self.assertRaises(ValueError, base.replace, year=2001) 1271 def replace(self, *args): member in TestDateTime.test_strftime_with_bad_tzname_replace.MyTzInfo.tzname.MyStr 1614 self.assertEqual(base, base.replace()) 1627 got = base.replace(**{name: newval}) 1633 self.assertRaises(ValueError, base.replace, year=2001) 1938 self.assertEqual(base, base.replace()) 1948 got = base.replace(**{name: newval}) 1954 self.assertRaises(ValueError, base.replace, hour=24) [all …]
|
D | inspect_fodder2.py | 8 def replace(func): function 20 @replace
|
D | test_strftime.py | 25 new_text = new_text.replace(re.escape(ampm), ampm) 26 new_text = new_text.replace('\%', '%') 27 new_text = new_text.replace('\:', ':') 28 new_text = new_text.replace('\?', '?')
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/ |
D | fix_imports.py | 120 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))
|
D | fix_renames.py | 23 for module, replace in MAPPING.items(): 24 for old_attr, new_attr in replace.items(): 70 attr_name.replace(Name(new_attr, prefix=attr_name.prefix))
|
D | fix_next.py | 55 attr.replace(Name(u"__next__", prefix=attr.prefix)) 59 node.replace(Call(Name(u"next", prefix=node.prefix), base)) 62 name.replace(n) 72 attr.replace(Name(u"__next__"))
|
D | fix_xreadlines.py | 23 no_call.replace(Name(u"__iter__", prefix=no_call.prefix)) 25 node.replace([x.clone() for x in results["call"]])
|
D | fix_itertools.py | 40 func.parent.replace(func) 43 func.replace(Name(func.value[1:], prefix=prefix))
|
D | fix_idioms.py | 114 one.replace(Name(u"True", prefix=one.prefix)) 123 list_call.replace(Name(u"sorted", prefix=list_call.prefix)) 127 simple_expr.replace(Call(Name(u"sorted"), [new],
|
D | fix_tuple_params.py | 74 tuple_arg.replace(n) 119 args.replace(inner) 127 args.replace(new_param.clone()) 134 n.replace(new)
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/PomAdapter/ |
D | DecPomAlignment.py | 387 IncludePath = IncludePath.replace('\\', '/') 761 ReplaceValue = ReplaceValue.replace('EQ', 'x ==') 762 ReplaceValue = ReplaceValue.replace('LT', 'x <') 763 ReplaceValue = ReplaceValue.replace('LE', 'x <=') 764 ReplaceValue = ReplaceValue.replace('GT', 'x >') 765 ReplaceValue = ReplaceValue.replace('GE', 'x >=') 766 ReplaceValue = ReplaceValue.replace('XOR', 'x ^') 768 ReplaceValue = ReplaceValue.replace('EQ', '==') 769 ReplaceValue = ReplaceValue.replace('NE', '!=') 770 ReplaceValue = ReplaceValue.replace('LT', '<') [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
D | CommentParsing.py | 186 Comment = Comment.replace(SkipTag, '', 1) 255 Comment = Comment.replace(MatchedStr, MacroReplaceDict[Macro]) 270 ValidRange = Comment.replace(TAB_PCD_VALIDRANGE, "", 1).strip() 306 ValidValueExpr = Comment.replace(TAB_PCD_VALIDLIST, "", 1).strip() 309 … ValidValue = Comment.replace(TAB_PCD_VALIDLIST, "", 1).replace(TAB_COMMA_SPLIT, TAB_SPACE_SPLIT) 337 Expression = Comment.replace(TAB_PCD_EXPRESSION, "", 1).strip() 360 PromptStr = Comment.replace(TAB_PCD_PROMPT, "", 1).strip() 486 Comment = Comment.replace('##', '#').replace(' ', ' ').replace(' ', '#').strip('# ') 560 HelpText = HelpText.replace(Token, '') 565 HelpText = HelpText.replace(Token, '') [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/wsgiref/ |
D | headers.py | 22 value = value.replace('\\', '\\\\').replace('"', r'\"') 166 parts.append(k.replace('_', '-')) 168 parts.append(_formatparam(k.replace('_', '-'), v))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/sax/ |
D | saxutils.py | 27 s = s.replace(key, value) 39 data = data.replace("&", "&") 40 data = data.replace(">", ">") 41 data = data.replace("<", "<") 53 data = data.replace("<", "<") 54 data = data.replace(">", ">") 58 return data.replace("&", "&") 76 data = '"%s"' % data.replace('"', """)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | locale.py | 285 s = s.replace('<', sign) 287 s = s.replace('>', sign) 293 return s.replace('<', '').replace('>', '') 304 string = string.replace(ts, '') 308 string = string.replace(dd, '.') 354 fullname = fullname.replace(':', '.') 363 norm_encoding = encoding.replace('-', '') 364 norm_encoding = norm_encoding.replace('_', '')
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
D | google.py | 13 arg = arg.replace('+', '%2B') 16 arg = arg.replace(' ', '+')
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/ |
D | UniClassObject.py | 407 Line = Line.replace(u'\\\\', BACK_SLASH_PLACEHOLDER) 417 Line = Line.replace(u'/langdef', u'#langdef') 418 Line = Line.replace(u'/string', u'#string') 419 Line = Line.replace(u'/language', u'#language') 420 Line = Line.replace(u'/include', u'#include') 422 Line = Line.replace(UNICODE_WIDE_CHAR, WIDE_CHAR) 423 Line = Line.replace(UNICODE_NARROW_CHAR, NARROW_CHAR) 424 Line = Line.replace(UNICODE_NON_BREAKING_CHAR, NON_BREAKING_CHAR) 426 Line = Line.replace(u'\\r\\n', CR + LF) 427 Line = Line.replace(u'\\n', CR + LF) [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/ |
D | RmPkg.py | 55 Input = Input.replace('\r', '').replace('\n', '') 249 Input = Input.replace('\r', '').replace('\n', '') 261 Input = Input.replace('\r', '').replace('\n', '')
|
D | InstallPkg.py | 81 Input = Input.replace('\r', '').replace('\n', '') 84 Input = Input.replace('\r', '').replace('\n', '') 107 Input = Input.replace('\r', '').replace('\n', '') 110 Input = Input.replace('\r', '').replace('\n', '') 124 Input = Input.replace('\r', '').replace('\n', '') 127 Input = Input.replace('\r', '').replace('\n', '') 276 Module.SetModulePath(Module.GetModulePath().replace(Path, NewModulePath, 1)) 496 Input = Input.replace('\r', '').replace('\n', '') 599 Input = Input.replace('\r', '').replace('\n', '') 740 ConvertPath(FileName.replace(FromPath, NewPath, 1)))) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | locale.py | 291 s = s.replace('<', sign) 293 s = s.replace('>', sign) 299 return s.replace('<', '').replace('>', '') 310 string = string.replace(ts, '') 314 string = string.replace(dd, '.') 385 code = code.replace(':', '.') 399 norm_encoding = encoding.replace('-', '') 400 norm_encoding = norm_encoding.replace('_', '')
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/ |
D | Parser.py | 277 IfLine = IfLine.replace("\"", '') 278 IfLine = IfLine.replace("(", '') 279 IfLine = IfLine.replace(")", '') 333 Line = Line.replace("&&", "and") 334 Line = Line.replace("||", "or") 442 …Variable = Record[0].replace('PeiServicesInstallPpi', '').replace('(', '').replace(')', '').replac… 514 Key = Key[Key.rfind(' ') : ].strip().replace('&', '') 516 List = GetSplitValueList(Value.replace('\n', ''), TAB_COMMA_SPLIT) 735 … return Parameter[1:].replace('{', '').replace('}', '').replace('\r', '').replace('\n', '').strip() 839 newGuid = newGuid.replace(old, new)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/sax/ |
D | saxutils.py | 20 s = s.replace(key, value) 32 data = data.replace("&", "&") 33 data = data.replace(">", ">") 34 data = data.replace("<", "<") 46 data = data.replace("<", "<") 47 data = data.replace(">", ">") 51 return data.replace("&", "&") 69 data = '"%s"' % data.replace('"', """)
|