Searched refs:subtagLen (Results 1 – 1 of 1) sorted by relevance
39 static bool isSubtag(const char* buf, size_t bufLen, const char* subtag, size_t subtagLen) { in isSubtag() argument40 if (bufLen < subtagLen) { in isSubtag()43 if (strncmp(buf, subtag, subtagLen) != 0) { in isSubtag()46 return (bufLen == subtagLen || buf[subtagLen] == '\0' || buf[subtagLen] == '-' || in isSubtag()47 buf[subtagLen] == '_'); in isSubtag()