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