Searched refs:UriLength (Results 1 – 2 of 2) sorted by relevance
1898 UINTN UriLength; in DevPathToTextUri() local1905 UriLength = DevicePathNodeLength (Uri) - sizeof (URI_DEVICE_PATH); in DevPathToTextUri()1906 UriStr = AllocatePool (UriLength + 1); in DevPathToTextUri()1909 CopyMem (UriStr, Uri->Uri, UriLength); in DevPathToTextUri()1910 UriStr[UriLength] = '\0'; in DevPathToTextUri()
3023 UINTN UriLength; in DevPathFromTextUri() local3027 UriLength = StrnLenS (UriStr, MAX_UINT16 - sizeof (URI_DEVICE_PATH)); in DevPathFromTextUri()3031 (UINT16)(sizeof (URI_DEVICE_PATH) + UriLength) in DevPathFromTextUri()3034 while (UriLength-- != 0) { in DevPathFromTextUri()3035 Uri->Uri[UriLength] = (CHAR8)UriStr[UriLength]; in DevPathFromTextUri()