Lines Matching refs:NameString
82 IN CONST CHAR16 *NameString in GetExecuatableFileName() argument
87 if (NameString == NULL) { in GetExecuatableFileName()
94 if (StrnCmp(NameString+StrLen(NameString)-StrLen(L".efi"), L".efi", StrLen(L".efi"))==0) { in GetExecuatableFileName()
95 Buffer = AllocateCopyPool(StrSize(NameString), NameString); in GetExecuatableFileName()
96 } else if (StrnCmp(NameString+StrLen(NameString)-StrLen(L".man"), L".man", StrLen(L".man"))==0) { in GetExecuatableFileName()
97 Buffer = AllocateCopyPool(StrSize(NameString), NameString); in GetExecuatableFileName()
103 Buffer = AllocateZeroPool(StrSize(NameString) + StrLen(L".efi")*sizeof(CHAR16)); in GetExecuatableFileName()
106 (StrSize(NameString) + StrLen(L".efi")*sizeof(CHAR16))/sizeof(CHAR16), in GetExecuatableFileName()
107 NameString, in GetExecuatableFileName()
108 StrLen(NameString) in GetExecuatableFileName()
111 (StrSize(NameString) + StrLen(L".efi")*sizeof(CHAR16))/sizeof(CHAR16), in GetExecuatableFileName()