• Home
  • Raw
  • Download

Lines Matching refs:ccp

231 	const char *ccp, **wp;  in main_init()  local
275 ccp = kshname; in main_init()
277 while ((i = ccp[argi++])) { in main_init()
279 ccp += argi; in main_init()
284 Flag(FLOGIN) = (ord(*ccp) == ORD('-')) || (ord(*kshname) == ORD('-')); in main_init()
285 if (ord(*ccp) == ORD('-')) in main_init()
286 ++ccp; in main_init()
287 if (!*ccp) in main_init()
288 ccp = empty_argv[0]; in main_init()
316 if (!builtin_name_cmp(ccp, builtin_name)) { in main_init()
318 ccp = builtin_name; in main_init()
329 if (ksh_eq(*ccp, 'R', 'r')) { in main_init()
330 ++ccp; in main_init()
335 if (ksh_eq(ccp[0], 'S', 's') && in main_init()
336 ksh_eq(ccp[1], 'H', 'h')) { in main_init()
600 l->argv[0] = ccp; in main_init()
617 ccp = null; in main_init()
623 ccp = setlocale(LC_CTYPE, ""); in main_init()
625 if (!isuc(ccp)) in main_init()
626 ccp = nl_langinfo(CODESET); in main_init()
628 if (!isuc(ccp)) in main_init()
629 ccp = null; in main_init()
636 if (ccp == null) in main_init()
637 ccp = str_val(global("LC_ALL")); in main_init()
638 if (ccp == null) in main_init()
639 ccp = str_val(global("LC_CTYPE")); in main_init()
640 if (ccp == null) in main_init()
641 ccp = str_val(global("LANG")); in main_init()
642 UTFMODE = isuc(ccp); in main_init()
2134 const char *ccp; in recheck_ctype() local
2137 ccp = str_val(global("LC_ALL")); in recheck_ctype()
2138 if (ccp == null) in recheck_ctype()
2139 ccp = str_val(global("LC_CTYPE")); in recheck_ctype()
2140 if (ccp == null) in recheck_ctype()
2141 ccp = str_val(global("LANG")); in recheck_ctype()
2142 UTFMODE = isuc(ccp); in recheck_ctype()
2144 ccp = setlocale(LC_CTYPE, ccp); in recheck_ctype()
2146 if (!isuc(ccp)) in recheck_ctype()
2147 ccp = nl_langinfo(CODESET); in recheck_ctype()
2149 if (isuc(ccp)) in recheck_ctype()