Home
last modified time | relevance | path

Searched refs:tagLen (Results 1 - 13 of 13) sorted by relevance

/third_party/musl/Benchmark/musl/
H A Dlibc_hilog.cpp104 static int SendMessage(HilogMsg *header, const char *tag, uint16_t tagLen, const char *fmt, uint16_t fmtLen) in SendMessage() argument
117 header->len = sizeof(HilogMsg) + tagLen + fmtLen; in SendMessage()
118 header->tag_len = tagLen; in SendMessage()
124 vec[1].iov_len = tagLen; // 1 : index of log tag in SendMessage()
138 size_t tagLen = strnlen(tag, MAX_TAG_LEN - 1); in HiLogAdapterPrintArgs1() local
149 return SendMessage(&header, tag, tagLen + 1, buf, logLen + 1); in HiLogAdapterPrintArgs1()
/third_party/musl/porting/linux/user/src/hilog/
H A Dhilog_adapter.c100 static int SendMessage(HilogMsg *header, const char *tag, uint16_t tagLen, const char *fmt, uint16_t fmtLen) in SendMessage() argument
113 header->len = sizeof(HilogMsg) + tagLen + fmtLen; in SendMessage()
114 header->tag_len = tagLen; in SendMessage()
120 vec[1].iov_len = tagLen; // 1 : index of log tag in SendMessage()
135 size_t tagLen = strnlen(tag, MAX_TAG_LEN - 1); in HiLogAdapterPrintArgs() local
146 return SendMessage(&header, tag, tagLen + 1, buf, logLen + 1); in HiLogAdapterPrintArgs()
/third_party/musl/src/hilog/linux/
H A Dhilog_adapter.c145 static int SendMessage(HilogMsg *header, const char *tag, uint16_t tagLen, const char *fmt, uint16_t fmtLen) in SendMessage() argument
173 header->len = sizeof(HilogMsg) + tagLen + fmtLen; in SendMessage()
174 header->tag_len = tagLen; in SendMessage()
180 vec[1].iov_len = tagLen; // 1 : index of log tag in SendMessage()
198 size_t tagLen = strnlen(tag, MAX_TAG_LEN - 1); in HiLogAdapterPrintArgs() local
209 return SendMessage(&header, tag, tagLen + 1, buf, logLen + 1); in HiLogAdapterPrintArgs()
/third_party/icu/icu4c/source/common/
H A Duloc_tag.cpp305 ultag_parse(const char* tag, int32_t tagLen, int32_t* parsedLen, UErrorCode* status);
2020 ultag_parse(const char* tag, int32_t tagLen, int32_t* parsedLen, UErrorCode* status) { in ultag_parse() argument
2040 if (tagLen < 0) { in ultag_parse()
2041 tagLen = (int32_t)uprv_strlen(tag); in ultag_parse()
2045 tagBuf = (char*)uprv_malloc(tagLen + 1); in ultag_parse()
2051 if (tagLen > 0) { in ultag_parse()
2052 uprv_memcpy(tagBuf, tag, tagLen); in ultag_parse()
2054 *(tagBuf + tagLen) = 0; in ultag_parse()
2067 if (tagLen < MINLEN) { in ultag_parse()
2079 if (tagLen < checkLegacyLe in ultag_parse()
2780 ulocimp_forLanguageTag(const char* langtag, int32_t tagLen, icu::ByteSink& sink, int32_t* parsedLength, UErrorCode* status) ulocimp_forLanguageTag() argument
[all...]
H A Dulocimp.h137 * @param tagLen the length of langtag, or -1 to call uprv_strlen().
148 int32_t tagLen,
/third_party/node/deps/icu-small/source/common/
H A Duloc_tag.cpp305 ultag_parse(const char* tag, int32_t tagLen, int32_t* parsedLen, UErrorCode* status);
1998 ultag_parse(const char* tag, int32_t tagLen, int32_t* parsedLen, UErrorCode* status) { in ultag_parse() argument
2018 if (tagLen < 0) { in ultag_parse()
2019 tagLen = (int32_t)uprv_strlen(tag); in ultag_parse()
2023 tagBuf = (char*)uprv_malloc(tagLen + 1); in ultag_parse()
2029 if (tagLen > 0) { in ultag_parse()
2030 uprv_memcpy(tagBuf, tag, tagLen); in ultag_parse()
2032 *(tagBuf + tagLen) = 0; in ultag_parse()
2045 if (tagLen < MINLEN) { in ultag_parse()
2057 if (tagLen < checkLegacyLe in ultag_parse()
2724 ulocimp_forLanguageTag(const char* langtag, int32_t tagLen, icu::ByteSink& sink, int32_t* parsedLength, UErrorCode* status) ulocimp_forLanguageTag() argument
[all...]
H A Dulocimp.h142 * @param tagLen the length of langtag, or -1 to call uprv_strlen().
153 int32_t tagLen,
/third_party/icu/icu4c/source/tools/gencnval/
H A Dgencnval.c186 getTagNumber(const char *tag, uint16_t tagLen);
531 getTagNumber(const char *tag, uint16_t tagLen) { in getTagNumber() argument
534 UBool preferredName = ((tagLen > 0) ? (tag[tagLen - 1] == '*') : (false)); in getTagNumber()
543 tagLen--; in getTagNumber()
548 if (uprv_strlen(currTag) == tagLen && !uprv_strnicmp(currTag, tag, tagLen)) { in getTagNumber()
560 atag = allocString(&tagBlock, tag, tagLen); in getTagNumber()
567 else if (tagLen > 0 && strcmp(tag, ALL_TAG_STR) != 0) { in getTagNumber()
/third_party/skia/third_party/externals/icu/source/tools/gencnval/
H A Dgencnval.c185 getTagNumber(const char *tag, uint16_t tagLen);
530 getTagNumber(const char *tag, uint16_t tagLen) { in getTagNumber() argument
533 UBool preferredName = ((tagLen > 0) ? (tag[tagLen - 1] == '*') : (FALSE)); in getTagNumber()
542 tagLen--; in getTagNumber()
547 if (uprv_strlen(currTag) == tagLen && !uprv_strnicmp(currTag, tag, tagLen)) { in getTagNumber()
559 atag = allocString(&tagBlock, tag, tagLen); in getTagNumber()
566 else if (tagLen > 0 && strcmp(tag, ALL_TAG_STR) != 0) { in getTagNumber()
/third_party/skia/third_party/externals/icu/source/common/
H A Duloc_tag.cpp305 ultag_parse(const char* tag, int32_t tagLen, int32_t* parsedLen, UErrorCode* status);
2020 ultag_parse(const char* tag, int32_t tagLen, int32_t* parsedLen, UErrorCode* status) { in ultag_parse() argument
2040 if (tagLen < 0) { in ultag_parse()
2041 tagLen = (int32_t)uprv_strlen(tag); in ultag_parse()
2045 tagBuf = (char*)uprv_malloc(tagLen + 1); in ultag_parse()
2051 if (tagLen > 0) { in ultag_parse()
2052 uprv_memcpy(tagBuf, tag, tagLen); in ultag_parse()
2054 *(tagBuf + tagLen) = 0; in ultag_parse()
2067 if (tagLen < MINLEN) { in ultag_parse()
2079 if (tagLen < checkLegacyLe in ultag_parse()
2776 ulocimp_forLanguageTag(const char* langtag, int32_t tagLen, icu::ByteSink& sink, int32_t* parsedLength, UErrorCode* status) ulocimp_forLanguageTag() argument
[all...]
H A Dulocimp.h137 * @param tagLen the length of langtag, or -1 to call uprv_strlen().
148 int32_t tagLen,
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/charsetdet/
H A DDetectingViewer.java192 int tagLen = tag.length; in openTag()
196 for (b = 0; b < tagLen && b < bufRem; b += 1) { in openTag()
202 return b == tagLen; in openTag()
/third_party/mesa3d/include/android_stub/log/
H A Dlogprint.h64 size_t tagLen; member

Completed in 18 milliseconds