Home
last modified time | relevance | path

Searched refs:locale_len (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/lib/libc/port/i18n/
H A Dgettext_gnu.c295 size_t locale_len; in handle_lang() local
311 locale_len = strlen(p); in handle_lang()
312 p += locale_len; in handle_lang()
314 locale_len = q - p; in handle_lang()
315 p += locale_len + 1; in handle_lang()
317 if (locale_len >= MAXPATHLEN || locale_len == 0) { in handle_lang()
321 (void) memcpy(locale, op, locale_len); in handle_lang()
322 locale[locale_len] = '\0'; in handle_lang()
H A Dgettext_real.c333 size_t nlspath_len, domain_len, locale_len, path_len; in process_nlspath() local
376 locale_len = strlen(cur_msgloc); in process_nlspath()
531 nnp->locale = malloc(locale_len + 1); in process_nlspath()
536 (void) memcpy(nnp->locale, cur_msgloc, locale_len + 1); in process_nlspath()
/titanic_44/usr/src/cmd/zoneadmd/
H A Dzcons.c513 get_client_ident(int clifd, pid_t *pid, char *locale, size_t locale_len, in get_client_ident() argument
523 assert(locale == NULL && locale_len == 0); in get_client_ident()
571 (void) strlcpy(locale, bufp, locale_len); in get_client_ident()
577 accept_client(int servfd, pid_t *pid, char *locale, size_t locale_len, in accept_client() argument
588 if (get_client_ident(connfd, pid, locale, locale_len, in accept_client()