Home | History | Annotate | Download | only in i18n

Lines Matching full:spec

144 ActionFunction(CollatorSpec *spec, uint32_t value1, const char* string,
150 _processLocaleElement(CollatorSpec *spec, uint32_t value, const char* string,
156 spec->locElements[value][len++] = uprv_tolower(*string);
158 spec->locElements[value][len++] = *string;
172 _processRFC3066Locale(CollatorSpec *spec, uint32_t, const char* string,
182 uprv_strncpy(spec->locale, string, end-string);
191 _processCollatorOption(CollatorSpec *spec, uint32_t option, const char* string,
194 spec->options[option] = ucol_sit_letterToAttributeValue(*string, status);
234 _processVariableTop(CollatorSpec *spec, uint32_t value1, const char* string, UErrorCode *status)
240 spec->variableTopString[i++] = readHexCodeUnit(&string, status);
242 spec->variableTopStringLen = i;
247 spec->variableTopValue = readHexCodeUnit(&string, status);
250 spec->variableTopSet = TRUE;
286 const char* ucol_sit_readOption(const char *start, CollatorSpec *spec,
293 spec->entries[i].start = start;
294 const char* end = options[i].action(spec, options[i].attr, start+1, status);
295 spec->entries[i].len = end - start;
304 void ucol_sit_initCollatorSpecs(CollatorSpec *spec)
307 uprv_memset(spec, 0, sizeof(CollatorSpec));
311 spec->options[i] = UCOL_DEFAULT;