Searched refs:baseNameSize (Results 1 – 1 of 1) sorted by relevance
1016 … int32_t baseNameSize = uloc_getBaseName(fullName, baseName, ULOC_FULLNAME_CAPACITY, &status); in getBaseName() local1017 if(baseNameSize >= ULOC_FULLNAME_CAPACITY) { in getBaseName()1018 ((Locale *)this)->baseName = (char *)uprv_malloc(sizeof(char) * baseNameSize + 1); in getBaseName()1022 uloc_getBaseName(fullName, baseName, baseNameSize+1, &status); in getBaseName()1024 baseName[baseNameSize] = 0; in getBaseName()1030 ((Locale*)this)->variantBegin = baseNameSize; in getBaseName()