Home
last modified time | relevance | path

Searched refs:short2str (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/contrib/tcsh/
H A Dtw.comp.c73 xprintf("tw_find(%s) \n", short2str(strip(p))); in docomplete()
117 xprintf("%s\t", short2str(p->v_name)); in tw_prlist()
252 xprintf("G%smatch(%s, ", exact ? "" : "n", short2str(str)); in tw_match()
253 xprintf("%s, ", short2str(pat)); in tw_match()
254 xprintf("%s) = %d [%" TCSH_PTRDIFF_T_FMT "d]\n", short2str(estr), rv, in tw_match()
379 stderror(ERR_COMPCOM, short2str(act)); in tw_result()
393 stderror(ERR_COMPCOM, short2str(act)); in tw_result()
437 stderror(ERR_COMPMIS, (int)sep, msg, short2str(str)); in tw_dollar()
496 xprintf("'%s' ", short2str(wl[i])); in tw_complete()
512 xprintf("line: %s\n", short2str(line)); in tw_complete()
[all …]
H A Dsh.dir.c108 char *xcp = short2str(hp); in dinit()
130 swd_ok = stat(short2str(tcp), &swd) == 0; in dinit()
134 if (swd_ok && hp && *hp && stat(short2str(hp), &shp) != -1 && in dinit()
208 stderror(ERR_DIRUS, short2str(**v), dstr, str); in skipargs()
212 stderror(ERR_DIRUS, short2str(**v), dstr, str); in skipargs()
370 if (lstat(short2str(start), &sb) != 0 && errno == ENOENT) in dnormalize()
465 if (0 != stat(short2str(cwd), &exists)) { in dnormalize()
500 if (chdir(short2str(cp)) < 0) in dochngd()
513 if (chdir(tmp = short2str(dp->di_name)) < 0) in dochngd()
592 if (chdir(dptr = short2str(cp)) < 0) in dfollow()
[all …]
H A Dsh.exec.c167 setname(short2str(blk[0])); in doexec()
186 slash = any(short2str(expath), '/'); in doexec()
198 setname(short2str(expath)); in doexec()
334 setname(short2str(expath)); in pexerr()
367 f = short2str(sf); in texec()
479 f = short2str(sf); in texec()
653 uhashlength = atoi(short2str(vv[1])); in dohash()
655 uhashwidth = atoi(short2str(vv[2])); in dohash()
661 hashdebug = atoi(short2str(vv[3])); in dohash()
700 dirp = opendir(short2str(*pv)); in dohash()
[all …]
H A Dtc.os.c125 char *val = getenv(short2str(pathvars[i])); in dosetpath()
132 (void) strcpy(spaths[i], short2str(pathvars[i])); in dosetpath()
143 cmds[i] = strsave(short2str(val)); in dosetpath()
214 xvers = short2str(*v); in dosetxvers()
344 s = short2str(*v); in dosetspath()
437 s = short2str(&v[0][1]); in domigrate()
474 pid = atoi(short2str(cp)); in domigrate()
585 newwarp = short2str(*v); in dowarp()
635 if (*cp == '\0' || setuniverse(short2str(cp)) != 0) in douniverse()
640 if (*cp == '\0' || setuniverse(short2str(cp)) != 0) in douniverse()
[all …]
H A Dtc.sched.c89 str = tprintf(FMT_SCHED, fmt, short2str(buf), tp->t_when, &count); in dosched()
105 count = atoi(short2str(++cp)); in dosched()
136 hours = atoi(short2str(cp)); in dosched()
140 minutes = atoi(short2str(++cp)); in dosched()
H A Ded.refresh.c357 reprintf("Prompt = :%s:\r\n", short2str(Prompt)); in Refresh()
358 reprintf("InputBuf = :%s:\r\n", short2str(InputBuf)); in Refresh()
412 TermH, vcursor_h, vcursor_v, short2str(Vdisplay[0])); in Refresh()
491 num, dat, dlen, short2str(d)); in str_insert()
492 reprintf("s == \"%s\"n", short2str(s)); in str_insert()
505 num, dat, dlen, short2str(d)); in str_insert()
506 reprintf("s == \"%s\"n", short2str(s)); in str_insert()
515 num, dat, dlen, d, short2str(s)); in str_insert()
516 reprintf("s == \"%s\"n", short2str(s)); in str_insert()
535 num, dat, dlen, short2str(d)); in str_delete()
[all …]
H A Dsh.dol.c126 setname(short2str(cp)); in Dfix1()
363 setname(short2str(s)); in dolerror()
578 dolp = (vp || getenv(short2str(name->s))) ? STR1 : STR0; in Dgetdol()
583 np = str2short(getenv(short2str(name->s))); in Dgetdol()
977 char *tmp = short2str(shtemp); in heredoc()
993 tmp = short2str(shtemp); in heredoc()
1069 tmp = short2str(obuf); in heredoc()
1128 tmp = short2str(obuf); in heredoc()
1135 tmp = short2str(obuf); in heredoc()
1144 tmp = short2str(obuf); in heredoc()
H A Dsh.file.c280 spath = short2str(path); in filetype()
368 pw = xgetpwnam(short2str(person)); in tilde()
526 dir_fd = opendir(*tilded_dir ? short2str(tilded_dir) : "."); in tsearch()
602 p1 = strsave(short2str(*(Char *const *) p)); in compare()
603 q1 = strsave(short2str(*(Char *const *) q)); in compare()
H A Dtc.func.c329 if (stat(short2str(tmp), &st) == -1) { in dolist()
420 tv[0] = strsave(short2str(v[1])); in dosettc()
422 tv[1] = strsave(short2str(v[2])); in dosettc()
561 p = short2str(pp->p_command); in find_stop_ed()
760 afsname = short2str(safs); in auto_lock()
1092 if ((logout_time = (unsigned) atoi(short2str(cp)) * 60) > 0) { in setalarm()
1109 if ((lock_time = (unsigned) atoi(short2str(cp)) * 60) > 0) { in setalarm()
1471 pp = xgetpwnam(short2str(us)); in gethomedir()
1485 res = hes_resolve(short2str(us), "filsys"); in gethomedir()
1752 char *sa = strsave(short2str(a)); in collate()
[all …]
H A Dsh.exp.c89 char *name = short2str(fname); in sh_access()
674 if (isa(**vp, ANYOP) && TCSH_STAT(short2str(**vp), &stb)) in filetest()
705 i = isatty(atoi(short2str(ep))); in filetest()
717 if (TCSH_LSTAT(short2str(ep), lst) == -1) { in filetest()
732 if (TCSH_STAT(short2str(ep), st) == -1) { in filetest()
876 filnam = short2str(ep); in filetest()
H A Dsh.func.c84 label.bname = short2str(cp); in isbfunc()
90 backgnd.bname = short2str(cp); in isbfunc()
93 foregnd.bname = short2str(cp); in isbfunc()
267 setname(short2str(p)); in doalias()
364 setname(short2str(STRthen)); in doif()
992 setname(short2str(Sgoal)); in histgetword()
1095 setname(short2str(Sgoal)); in getword()
1504 t = short2str(lp); in dosetenv()
1723 cname = strsave(short2str(name)); in tsetenv()
1724 setenv(cname, short2str(val), 1); in tsetenv()
[all …]
H A Dsh.sem.c156 pathname = short2str(sCName); in execute()
806 setname(short2str(blk[0])); in splicepipe()
855 tmp = strsave(short2str(cp)); in doio()
895 tmp = strsave(short2str(cp)); in doio()
H A Dtw.spell.c147 p = short2str(path); in spdir()
H A Dtw.help.c126 if ((f = xopen(short2str(full.s), O_RDONLY|O_LARGEFILE)) != -1) in do_help()
H A Dtw.init.c220 if ((dirp = opendir(short2str(*pv))) == NULL) in tw_cmd_cmd()
425 tw_cmd_state.dfd = opendir(short2str(*tw_cmd_state.pathv)); in tw_cmd_next()
748 if ((tw_dir_fd = opendir(short2str(*tw_env))) != NULL) in tw_file_next()
H A Dsh.proc.c346 >= atoi(short2str(varval(STRtime)))) in pchild()
1470 signum = strtoul(short2str(sigptr), &ep, 0); in dokill()
1479 setname(short2str(sigptr)); in dokill()
1566 pid = strtol(short2str(cp), &ep, 10); in pkill()
1568 pid = strtoul(short2str(cp), &ep, 0); in pkill()
1683 int idx = atoi(short2str(cp + 1)); in pfind()
H A Dsh.glob.c94 stderror(ERR_UNKUSER, short2str(name)); in globtilde()
400 setname(short2str(str)); in handleone()
516 setname(short2str(str)); in globone()
H A Dtw.parse.c1017 char *ext = short2str(&item.s[exti -= 4]); in tw_collect_items()
1696 if ((dir_fd = opendir(short2str(exp_dir.s))) == NULL) { in t_search()
1748 if (command == SPELL && xgetpwnam(short2str(user_name)) != NULL) { in t_search()
1950 ((*dfd = opendir(short2str(nd))) == NULL)) { in expand_dir()
2028 ptr = short2str(path); in filetype()
2109 cpath = short2str(path); in isadirectory()
H A Dsh.hist.c1303 char *lockpath = strsave(short2str(fname)); in rechist()
1329 if (stat(short2str(fname), &st) != -1) { in rechist()
1344 (void)rename(path, short2str(fname)); in rechist()
1346 (void)ReplaceFile(short2str(fname), path, NULL, 0, NULL, NULL); in rechist()
H A Dtc.str.c197 *dst++ = strsave(short2str(*src));
222 short2str(const Char *src) function
H A Ded.term.c594 cmdname = strsave(short2str(*v++)); in dosetty()
617 stderror(ERR_NAME | ERR_SYSTEM, short2str(v[0]), in dosetty()
666 d = short2str(s); in dosetty()
H A Dtc.decls.h289 extern char *short2str (const Char *);
H A Ded.screen.c553 cv = strsave(short2str(*v)); in EchoTC()
665 arg_rows = atoi(short2str(*v)); in EchoTC()
688 arg_cols = atoi(short2str(*v)); in EchoTC()
696 arg_rows = atoi(short2str(*v)); in EchoTC()
H A Dsh.c1519 return srcfile(short2str(dp), (mflag ? 0 : 1), 0, NULL); in srccat()
1533 ptr = short2str(ep); in srccat()
2208 file = strsave(short2str(f)); in dosource()
2259 char *filename = short2str(*vp); in mailchk()
H A Dtc.bind.c252 if (strcmp(short2str(str), fp->name) == 0) { in parsecmd()

12