Lines Matching refs:Str
112 IN CHAR16 *Str, in GetParamByNodeName() argument
125 if (StrnCmp (Str, NodeName, NodeNameLength) != 0) { in GetParamByNodeName()
129 ParamStr = Str + NodeNameLength; in GetParamByNodeName()
185 CHAR16 *Str; in SplitStr() local
188 Str = *List; in SplitStr()
189 ReturnStr = Str; in SplitStr()
191 if (IS_NULL (*Str)) { in SplitStr()
198 while (!IS_NULL (*Str)) { in SplitStr()
199 if (*Str == Separator) { in SplitStr()
202 Str++; in SplitStr()
205 if (*Str == Separator) { in SplitStr()
209 *Str = '\0'; in SplitStr()
210 Str++; in SplitStr()
216 *List = Str; in SplitStr()
257 CHAR16 *Str; in GetNextDeviceNodeStr() local
261 Str = *DevicePath; in GetNextDeviceNodeStr()
262 if (IS_NULL (*Str)) { in GetNextDeviceNodeStr()
269 while (!IS_NULL (*Str)) { in GetNextDeviceNodeStr()
270 if (!IS_SLASH (*Str) && in GetNextDeviceNodeStr()
271 !IS_COMMA (*Str) && in GetNextDeviceNodeStr()
272 !IS_LEFT_PARENTH (*Str) && in GetNextDeviceNodeStr()
273 !IS_RIGHT_PARENTH (*Str)) { in GetNextDeviceNodeStr()
276 Str++; in GetNextDeviceNodeStr()
279 ReturnStr = Str; in GetNextDeviceNodeStr()
285 while (!IS_NULL (*Str)) { in GetNextDeviceNodeStr()
286 if ((IS_COMMA (*Str) || IS_SLASH (*Str)) && (ParenthesesStack == 0)) { in GetNextDeviceNodeStr()
290 if (IS_LEFT_PARENTH (*Str)) { in GetNextDeviceNodeStr()
292 } else if (IS_RIGHT_PARENTH (*Str)) { in GetNextDeviceNodeStr()
296 Str++; in GetNextDeviceNodeStr()
306 if (IS_COMMA (*Str)) { in GetNextDeviceNodeStr()
308 *Str = '\0'; in GetNextDeviceNodeStr()
309 Str++; in GetNextDeviceNodeStr()
312 if (!IS_NULL (*Str)) { in GetNextDeviceNodeStr()
313 *Str = '\0'; in GetNextDeviceNodeStr()
314 Str++; in GetNextDeviceNodeStr()
318 *DevicePath = Str; in GetNextDeviceNodeStr()
337 IN CHAR16 *Str in IsHexStr() argument
343 while ((*Str != 0) && *Str == ' ') { in IsHexStr()
344 Str ++; in IsHexStr()
349 while ((*Str != 0) && *Str == '0') { in IsHexStr()
350 Str ++; in IsHexStr()
353 return (BOOLEAN) (*Str == 'x' || *Str == 'X'); in IsHexStr()
368 IN CHAR16 *Str in Strtoi() argument
371 if (IsHexStr (Str)) { in Strtoi()
372 return StrHexToUintn (Str); in Strtoi()
374 return StrDecimalToUintn (Str); in Strtoi()
389 IN CHAR16 *Str, in Strtoi64() argument
393 if (IsHexStr (Str)) { in Strtoi64()
394 *Data = StrHexToUint64 (Str); in Strtoi64()
396 *Data = StrDecimalToUint64 (Str); in Strtoi64()
412 IN CHAR16 *Str, in StrToAscii() argument
419 while (!IS_NULL (*Str)) { in StrToAscii()
420 *(Dest++) = (CHAR8) *(Str++); in StrToAscii()
3651 CHAR16 *Str; in UefiDevicePathLibConvertTextToDevicePath() local
3666 Str = DevicePathStr; in UefiDevicePathLibConvertTextToDevicePath()
3667 while ((DeviceNodeStr = GetNextDeviceNodeStr (&Str, &IsInstanceEnd)) != NULL) { in UefiDevicePathLibConvertTextToDevicePath()