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