Home | History | Annotate | Download | only in i18n

Lines Matching full:spec

148 ActionFunction(CollatorSpec *spec, uint32_t value1, const char* string,
154 _processLocaleElement(CollatorSpec *spec, uint32_t value, const char* string,
160 spec->locElements[value][len++] = uprv_tolower(*string);
162 spec->locElements[value][len++] = *string;
176 _processRFC3066Locale(CollatorSpec *spec, uint32_t, const char* string,
186 uprv_strncpy(spec->locale, string, end-string);
195 _processCollatorOption(CollatorSpec *spec, uint32_t option, const char* string,
198 spec->options[option] = ucol_sit_letterToAttributeValue(*string, status);
247 _processVariableTop(CollatorSpec *spec, uint32_t value1, const char* string, UErrorCode *status)
253 spec->variableTopString[i++] = readHexCodeUnit(&string, status);
255 spec->variableTopStringLen = i;
260 spec->variableTopValue = readHexCodeUnit(&string, status);
263 spec->variableTopSet = TRUE;
300 const char* ucol_sit_readOption(const char *start, CollatorSpec *spec,
307 spec->entries[i].start = start;
308 const char* end = options[i].action(spec, options[i].attr, start+1, status);
309 spec->entries[i].len = (int32_t)(end - start);
321 void ucol_sit_initCollatorSpecs(CollatorSpec *spec)
324 uprv_memset(spec, 0, sizeof(CollatorSpec));
328 spec->options[i] = UCOL_DEFAULT;