80 if (
c >=
'a' &&
c <=
'f')
83 if (
c >=
'0' &&
c <=
'9')
94 if ((in_end - in_start) != 36)
97 for (
i = 0, cp = in_start;
i < 16;
i++) {
101 if (
i == 4 ||
i == 6 ||
i == 8 ||
i == 10)
107 if (hi == -1 || lo == -1)
110 uu[
i] = (hi << 4) + lo;
122 for (
int i = 0;
i < 16;
i++) {
125 if (
i == 4 ||
i == 6 ||
i == 8 ||
i == 10)
#define attribute_nonstring
#define i(width, name, range_min, range_max)
char * av_stristr(const char *s1, const char *s2)
Locate the first case-independent occurrence in the string haystack of the string needle.
static av_const int av_tolower(int c)
Locale-independent conversion of ASCII characters to lowercase.
int av_uuid_parse(const char *in, AVUUID uu)
Parses a string representation of a UUID formatted according to IETF RFC 4122 into an AVUUID.
int av_uuid_urn_parse(const char *in, AVUUID uu)
Parses a URN representation of a UUID, as specified at IETF RFC 4122, into an AVUUID.
static int xdigit_to_int(char c)
int av_uuid_parse_range(const char *in_start, const char *in_end, AVUUID uu)
Parses a string representation of a UUID formatted according to IETF RFC 4122 into an AVUUID.
static attribute_nonstring const char hexdigits_lower[16]
void av_uuid_unparse(const AVUUID uuid, char *out)
Serializes a AVUUID into a string representation according to IETF RFC 4122.
UUID parsing and serialization utilities.
uint8_t AVUUID[AV_UUID_LEN]