Searched refs:newdata (Results 1 – 2 of 2) sorted by relevance
97 newdata = malloc (sizeof *newdata in _nl_intern_locale_data()99 if (newdata == NULL) in _nl_intern_locale_data()103 newdata->filesize = datasize; in _nl_intern_locale_data()106 newdata->usage_count = 0; in _nl_intern_locale_data()107 newdata->use_translit = 0; in _nl_intern_locale_data()115 free (newdata); in _nl_intern_locale_data()151 newdata->values[cnt].string = newdata->filedata + idx; in _nl_intern_locale_data()156 newdata->values[cnt].word = in _nl_intern_locale_data()161 return newdata; in _nl_intern_locale_data()279 newdata->alloc = alloc; in _nl_load_locale()[all …]
272 struct __locale_data *newdata[__LC_LAST]; in setlocale() local341 if (newdata[category] == NULL) in setlocale()355 if (newdata[category]->usage_count != UNDELETABLE) in setlocale()356 newdata[category]->usage_count = UNDELETABLE; in setlocale()382 setdata (category, newdata[category]); in setlocale()408 struct __locale_data *newdata = NULL; in setlocale() local414 newdata = _nl_find_locale (locale_path, locale_path_len, category, in setlocale()416 if (newdata == NULL) in setlocale()424 if (newdata->usage_count != UNDELETABLE) in setlocale()425 newdata->usage_count = UNDELETABLE; in setlocale()[all …]
Completed in 6 milliseconds