Lines Matching refs:offset
107 size_t offset = 0; in _compose_locale() local
120 offset = pLanguage->length; in _compose_locale()
135 if( offset + pCountry->length + 1 < n ) in _compose_locale()
137 strcpy( buffer + offset++, "_" ); in _compose_locale()
138 strcpy( buffer + offset, pCountry->buffer ); in _compose_locale()
139 offset += pCountry->length; in _compose_locale()
155 if( offset + pVariant->length + 1 < n ) in _compose_locale()
157 strcpy( buffer + offset, pVariant->buffer ); in _compose_locale()
158 offset += pVariant->length; in _compose_locale()
189 size_t offset = 2; in _parse_locale() local
195 offset = 3; in _parse_locale()
198 …rtl_string2UString( &pLanguage, locale, offset, RTL_TEXTENCODING_ASCII_US, OSTRING_TO_OUSTRING_CVT… in _parse_locale()
202 if( len >= offset+3 && '_' == locale[offset] ) in _parse_locale()
204 …rtl_string2UString( &pCountry, locale + offset + 1, 2, RTL_TEXTENCODING_ASCII_US, OSTRING_TO_OUSTR… in _parse_locale()
206 offset += 3; in _parse_locale()
210 if( len > offset ) { in _parse_locale()
211 …rtl_string2UString( &pVariant, locale + offset, len - offset, RTL_TEXTENCODING_ASCII_US, OSTRING_T… in _parse_locale()