Home
last modified time | relevance | path

Searched refs:strip (Results 1 – 25 of 313) sorted by relevance

12345678910>>...13

/device/google/marlin/common/
Dutils.mk17 $(strip \
32 $(strip \
33 $(eval wl:= $(colon)$(subst $(space),$(colon),$(strip $(2)))$(colon)) \
34 $(eval w:= $(colon)$(strip $(1))$(colon)) \
49 $(strip \
50 $(if $(strip $(1)), \
51 $(call match-word,$(call find-word-in-list,$(1),$(2)),$(strip $(1))), \
67 $(strip \
68 $(eval w := $(strip $(1)$(strip $(2)))) \
105 $(strip \
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DParserValidate.py142 if TagName.strip() == '':
144 if TagName.strip() == '*':
174 Family = Family.strip()
235 Path = Path.strip()
424 Word = Word.strip()
488 return IsValidCFormatGuid(Word[Index+4:].strip())
529 if IsValidSimpleWord(String.strip()):
532 if String.strip().startswith('"') and \
533 String.strip().endswith('"'):
535 if String.strip() == "":
[all …]
DCommentParsing.py90 Comment = Comment.strip()
151 return Abstract.strip(), Description.strip(), Copyright.strip(), License.strip()
205 if Value.strip().startswith((TAB_HEX_START, TAB_CAPHEX_START)):
253 Macro = MatchedStr.strip().lstrip('$(').rstrip(')').strip()
270 ValidRange = Comment.replace(TAB_PCD_VALIDRANGE, "", 1).strip()
275 PcdErr.SetValidValueRange((TAB_VALUE_SPLIT.join(ValueList[1:])).strip())
306 ValidValueExpr = Comment.replace(TAB_PCD_VALIDLIST, "", 1).strip()
312 PcdErr.SetValidValue((TAB_VALUE_SPLIT.join(ValueList[1:])).strip())
337 Expression = Comment.replace(TAB_PCD_EXPRESSION, "", 1).strip()
342 PcdErr.SetExpression((TAB_VALUE_SPLIT.join(ValueList[1:])).strip())
[all …]
DUniClassObject.py249 if SubValue.strip():
251 … ' ' * (PreFormatLength + len('#language en-US ')) + '\"%s\\n\"' % SubValue.strip() + '\r\n'
456 Line = Line.strip()
483 Line = Line.strip()
508 if FileIn[LineCount].strip().startswith('#language'):
523 Line = Line[:CommIndex].strip()
644 NewLines.append(Line[:Line.find(u'"')].strip())
653 ExistStrNameList.append(StrName.split()[1].strip())
673 ExistStrNameList.append(StrName.split()[1].strip())
683 NewLines.append((Line[:Line.find(u'#language')]).strip())
[all …]
DString.py23 from string import strip
47 return map(lambda l: l.strip(), String.split(SplitTag, MaxSplit))
279 Line = Line.strip()
298 Line = Line.strip()
315 Line = Line.strip()
328 Line = LineParts[0].strip()
330 Comment = LineParts[1].strip()
341 Comment = Comment.strip()
438 Value = map(strip, LineList[1].split(ValueSplitCharacter))
581 if LineList[Index].strip()[0] == DataType.TAB_COMMENT_SPLIT:
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/Scripts/Ds5/
Dprofile.py32 return int(address.strip("S:").strip("N:").strip("EL2:").strip("EL1:"), 16)
169 line = info_file_str.readline().strip('\n')
177 line = info_file_str.readline().strip('\n')
182 line = info_file_str.readline().strip('\n')
187 line = info_file_str.readline().strip('\n')
189 line = info_file_str.readline().strip('\n')
190 line = info_file_str.readline().strip('\n')
199 line = info_func_str.readline().strip('\n')
204 line = info_func_str.readline().strip('\n')
206 line = info_func_str.readline().strip('\n')
[all …]
Dbuild_report.py25 stripped_line = line.strip()
34 self.PCDs[guid][m.group(2)] = (m.group(6).strip(),m.group(5))
52 if line.strip() == section_header[0]:
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/
DMetaDataParser.py132 Comment = Comment.strip()
188 if not Copyright.strip():
195 if not License.strip():
202 if not Abstract.strip() or Abstract.find('Component description file') > -1:
209 return Abstract.strip(), Description.strip(), Copyright.strip(), License.strip()
242 Line = Line.strip()
255 Line = LineParts[0].strip()
257 Comment = LineParts[1].strip()
268 Comment = Comment.strip()
Dc.py145 FuncName = DeclSplitList[0].strip()
148 FuncName = FuncNamePartList[-1].strip()
188 Name = DeclList[0].strip()
198 Name = DeclList[0].strip()
209 Name = enum.Content[4:LBPos].strip()
225 Name = su.Content[SkipLen:].strip()
228 Name = su.Content[SkipLen:LBPos].strip()
241 TmpStr = td.ToType[LBPos + 1:].strip()
248 TmpStr = TmpStr[StarPos:].strip()
255 Name = Name.lstrip('*').strip()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DTargetTxtClassObject.py90 Line = Line.strip()
95 Key = LineList[0].strip()
97 Value = LineList[1].strip()
106 … Tools_Def = os.path.join(self.ConfDirectoryPath, self.TargetTxtDictionary[Key].strip())
109 …os.path.join(self.ConfDirectoryPath, self.TargetTxtDictionary[Key].replace("Conf/", "", 1).strip())
112 … Tools_Def = os.path.join(self.ConfDirectoryPath, self.TargetTxtDictionary[Key].strip())
116 … Build_Rule = os.path.join(self.ConfDirectoryPath, self.TargetTxtDictionary[Key].strip())
119 …os.path.join(self.ConfDirectoryPath, self.TargetTxtDictionary[Key].replace("Conf/", "", 1).strip())
122 … Build_Rule = os.path.join(self.ConfDirectoryPath, self.TargetTxtDictionary[Key].strip())
DVpdInfoFile.py144 PcdValue = str(Pcd.SkuInfoList[Pcd.SkuInfoList.keys()[i]].DefaultValue).strip()
148 …cd.TokenCName, str(Pcd.SkuInfoList.keys()[i]),str(Offset).strip(), str(Pcd.MaxDatumSize).strip(),P…
172 Line = Line.strip()
181 …cdName, SkuId,Offset, Size, Value = PcdName.strip(), SkuId.strip(),Offset.strip(), Size.strip(), V…
190 …SpaceGuidCName == TokenSpaceName and VpdObject.TokenCName == PcdTokenName.strip() and sku == SkuId:
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/UnitTest/
DCommentGeneratingUnitTest.py217 self.assertEqual(Result.strip(), Expected)
252 self.assertEqual(Result.strip(), Expected)
287 self.assertEqual(Result.strip(), Expected)
311 self.assertEqual(Result.strip(), Expected)
333 self.assertEqual(Result.strip(), Expected.strip())
355 self.assertEqual(Result.strip(), Expected.strip())
389 self.assertEqual(Result.strip(), Expected.strip())
399 self.assertEqual(Result.strip(), Expected.strip())
421 self.assertEqual(Result.strip(), Expected.strip())
466 self.assertEqual(Result.strip(), Expected.strip())
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/
DInfAsBuiltProcess.py50 String = String.strip()
57 String = String.strip()
74 Guid = GuidMatchedObj.group().strip()
75 Version = VersionMatchedObj.group().strip()
123 Line = Line.strip()
246 if InfFile.strip().upper() == CurrentInfFileName.strip().upper():
278 if FileGuidString.strip().upper() == Guid.upper() and \
279 VerString.strip().upper() == Version.upper():
DInfBuildOptionSectionParser.py53 if LineContent.strip() == '':
59 if LineContent.strip().startswith(DT.TAB_COMMENT_SPLIT):
179 if LineContent.strip().startswith("##") and AsBuildOptionFlag:
182 elif LineContent.strip().startswith("#") and AsBuildOptionFlag:
192 if LineContent.strip() == '':
196 if LineContent.strip().startswith("##") and AsBuildOptionFlag:
202 if not LineContent.strip().startswith("#"):
DInfParser.py188 Line = Line.strip()
190 NextLine = FileLinesList[LineNo].strip()
225 …if (Line.startswith(DT.TAB_SPECIAL_COMMENT) or not Line.strip().startswith("#")) and HeaderComment…
281 …if (Line.startswith(DT.TAB_SPECIAL_COMMENT) or not Line.strip().startswith(DT.TAB_COMMENT_SPLIT)) …
437 if SectionItem[0].strip().upper() == DT.TAB_INF_FIXED_PCD.upper() or \
438 SectionItem[0].strip().upper() == DT.TAB_INF_PATCH_PCD.upper() or \
439 SectionItem[0].strip().upper() == DT.TAB_INF_PCD_EX.upper() or \
440 SectionItem[0].strip().upper() == DT.TAB_INF_PCD.upper() or \
441 SectionItem[0].strip().upper() == DT.TAB_INF_FEATURE_PCD.upper():
442 ArchList = GetSplitValueList(SectionItem[1].strip(), ' ')
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dldump.c22 int strip; member
123 DumpString((D->strip) ? NULL : f->source,D); in DumpDebug()
124 n= (D->strip) ? 0 : f->sizelineinfo; in DumpDebug()
126 n= (D->strip) ? 0 : f->sizelocvars; in DumpDebug()
134 n= (D->strip) ? 0 : f->sizeupvalues; in DumpDebug()
162 int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip) in luaU_dump() argument
168 D.strip=strip; in luaU_dump()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenPatchPcdTable/
DGenPatchPcdTable.py57 firstline = lines[0].strip()
70 line = line.strip()
100 if section[0].strip() == efisec[0].strip() and section[0].strip() == '.text':
122 line = line.strip()
163 if pcd[1].strip() == efisec[0].strip():
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
Dc.py140 DeclText = var.Declarator.strip()
143 DeclText = DeclText.lstrip('*').strip()
163 Name = DeclList[0].strip()
173 Name = DeclList[0].strip()
184 Name = enum.Content[4:LBPos].strip()
198 Name = su.Content[SkipLen:].strip()
201 Name = su.Content[SkipLen:LBPos].strip()
214 TmpStr = td.ToType[LBPos+1:].strip()
221 TmpStr = TmpStr[StarPos:].strip()
268 DeclText = ParamName.strip()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Xml/
DIniToXml.py52 Path = Path.strip()
88 Path = TokenList[0].strip().replace('\\', '/')
94 FileList[0] = TokenList[0].strip()
97 if len(Attr) != 2 or not Attr[0].strip() or not Attr[1].strip():
100 Key = Attr[0].strip()
101 Val = Attr[1].strip()
333 Line = FileContent[Index].strip()
338 SectionName = Line[1:-1].strip()
354 TempKey = TokenList[0].strip()
383 if (TokenList[1].strip() == ''):
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/framer/framer/
Dstructparse.py23 assert lines[0].strip() == "typedef struct {"
24 pyhead = lines[1].strip()
29 line = line.strip()
Dstruct.py29 assert lines[0].strip() == "typedef struct {"
30 pyhead = lines[1].strip()
35 line = line.strip()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/BPDG/
DGenVpd.py39 self.PcdCName = PcdCName.strip()
40 self.SkuId = SkuId.strip()
41 self.PcdOffset = PcdOffset.strip()
42 self.PcdSize = PcdSize.strip()
43 self.PcdValue = PcdValue.strip()
44 self.Lineno = Lineno.strip()
45 self.FileName = FileName.strip()
217 ValueString = ValueString.strip()
218 ValueString = ValueString.lstrip('{').strip('}')
220 ValueList = [item.strip() for item in ValueList]
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Object/Parser/
DInfLibraryClassesObject.py142 if LibItem[0].strip() != '':
143 if IsValidLibName(LibItem[0].strip()):
144 if LibItem[0].strip() != 'NULL':
168 if LibItem[1].strip() == '':
178 FeatureFlagRtv = IsValidFeatureFlagExp(LibItem[1].strip())
186 LibItemObj.SetFeatureFlagExp(LibItem[1].strip())
DInfSoucesObject.py48 if Item[4].strip() == '':
58 FeatureFlagRtv = IsValidFeatureFlagExp(Item[4].strip())
68 if Item[3].strip() == '':
78 if Item[2].strip() == '':
88 if IsValidFamily(Item[1].strip()):
92 if Item[1].strip() == "*":
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
Dtest_sdist.py276 if line.strip().startswith('--formats=')]
363 manifest = [line.strip() for line in f.read().split('\n')
364 if line.strip() != '']
382 manifest2 = [line.strip() for line in f.read().split('\n')
383 if line.strip() != '']
400 manifest = [line.strip() for line in f.read().split('\n')
401 if line.strip() != '']
418 manifest = [line.strip() for line in f.read().split('\n')
419 if line.strip() != '']

12345678910>>...13