Home
last modified time | relevance | path

Searched refs:typeBuf (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/icu/source/common/
Duloc_tag.c703 char typeBuf[MAX_LDML_TYPE_LEN]; in _ldmlTypeToBCP47() local
734 if (typeLen >= sizeof(typeBuf)) { in _ldmlTypeToBCP47()
743 typeBuf[i] = ':'; in _ldmlTypeToBCP47()
745 typeBuf[i] = *(type + i); in _ldmlTypeToBCP47()
748 typeBuf[typeLen] = 0; in _ldmlTypeToBCP47()
749 type = &typeBuf[0]; in _ldmlTypeToBCP47()
772 u_UCharsToChars(uCanonicalType, typeBuf, canonicalTypeLen); in _ldmlTypeToBCP47()
776 if (typeBuf[i] == '/') { in _ldmlTypeToBCP47()
777 typeBuf[i] = ':'; in _ldmlTypeToBCP47()
781 typeBuf[canonicalTypeLen] = 0; in _ldmlTypeToBCP47()
[all …]
/external/icu/icu4c/source/common/
Duloc_tag.c766 char typeBuf[MAX_LDML_TYPE_LEN]; in _ldmlTypeToBCP47() local
797 if (typeLen >= sizeof(typeBuf)) { in _ldmlTypeToBCP47()
806 typeBuf[i] = ':'; in _ldmlTypeToBCP47()
808 typeBuf[i] = *(type + i); in _ldmlTypeToBCP47()
811 typeBuf[typeLen] = 0; in _ldmlTypeToBCP47()
812 type = &typeBuf[0]; in _ldmlTypeToBCP47()
835 u_UCharsToChars(uCanonicalType, typeBuf, canonicalTypeLen); in _ldmlTypeToBCP47()
839 if (typeBuf[i] == '/') { in _ldmlTypeToBCP47()
840 typeBuf[i] = ':'; in _ldmlTypeToBCP47()
844 typeBuf[canonicalTypeLen] = 0; in _ldmlTypeToBCP47()
[all …]
/external/mdnsresponder/mDNSCore/
DDNSCommon.c694 static char typeBuf[MAX_ESCAPED_DOMAIN_NAME]; in ConstructServiceName() local
744 ConvertDomainNameToCString(type, typeBuf); in ConstructServiceName()
745 mDNSASLLog(mDNSNULL, "serviceType.nameTooLong", "noop", typeBuf, ""); in ConstructServiceName()
762 ConvertDomainNameToCString(type, typeBuf); in ConstructServiceName()
763 mDNSASLLog(mDNSNULL, "serviceType.nameWithUnderscore", "noop", typeBuf, ""); in ConstructServiceName()
772 ConvertDomainNameToCString(type, typeBuf); in ConstructServiceName()
773 mDNSASLLog(mDNSNULL, "serviceType.nameWithIllegalCharacters", "noop", typeBuf, ""); in ConstructServiceName()