Home
last modified time | relevance | path

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

/third_party/musl/Benchmark/musl/
Dlibc_hilog.cpp104 static int SendMessage(HilogMsg *header, const char *tag, uint16_t tagLen, const char *fmt, uint16_… 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/src/hilog/linux/
Dhilog_adapter.c100 static int SendMessage(HilogMsg *header, const char *tag, uint16_t tagLen, const char *fmt, uint16_… 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/porting/linux/user/src/hilog/
Dhilog_adapter.c100 static int SendMessage(HilogMsg *header, const char *tag, uint16_t tagLen, const char *fmt, uint16_… 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/node/deps/icu-small/source/common/
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 < checkLegacyLen) { in ultag_parse()
[all …]
Dulocimp.h153 int32_t tagLen,
/third_party/icu/icu4c/source/common/
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 < checkLegacyLen) { in ultag_parse()
[all …]
Dulocimp.h148 int32_t tagLen,
/third_party/skia/third_party/externals/icu/source/tools/gencnval/
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/icu/icu4c/source/tools/gencnval/
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/common/
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 < checkLegacyLen) { in ultag_parse()
[all …]
Dulocimp.h148 int32_t tagLen,
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/charsetdet/
DDetectingViewer.java192 int tagLen = tag.length; in openTag() local
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/
Dlogprint.h64 size_t tagLen; member