Home
last modified time | relevance | path

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

/external/icu4c/common/
Duloc_tag.c789 char typeBuf[MAX_LDML_TYPE_LEN]; in _ldmlTypeToBCP47() local
820 if (typeLen >= sizeof(typeBuf)) { in _ldmlTypeToBCP47()
829 typeBuf[i] = ':'; in _ldmlTypeToBCP47()
831 typeBuf[i] = *(type + i); in _ldmlTypeToBCP47()
834 typeBuf[typeLen] = 0; in _ldmlTypeToBCP47()
835 type = &typeBuf[0]; in _ldmlTypeToBCP47()
858 u_UCharsToChars(uCanonicalType, typeBuf, canonicalTypeLen); in _ldmlTypeToBCP47()
862 if (typeBuf[i] == '/') { in _ldmlTypeToBCP47()
863 typeBuf[i] = ':'; in _ldmlTypeToBCP47()
867 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()