/ast/src/cmd/at/ |
H A D | crontab.sh | 33 temp=${TMPDIR:-/tmp}/cron$$ 169 edit) trap "rm -f '$temp'" 0 1 2 3 15 173 fi > "$temp" 174 ${VISUAL:-${EDITOR:-vi}} "$temp" 185 replace)trap "rm -f '$temp'" 0 1 2 3 15 187 -) temp=$file ;; 188 "") cat > "$temp" ;; 189 *) cat "$replace" > "$temp" ;; 191 test -s "$temp" 208 done < "$temp" [all...] |
/ast/src/lib/libcs/ |
H A D | csping.c | 39 sfsprintf(state->temp, sizeof(state->path), "/dev/tcp/%s/inet.echo", name); 40 if ((fd = csopen(state, state->temp, 0)) < 0) return -1; 41 n = (cswrite(state, fd, M, N) != N || csread(state, fd, state->temp, N, CS_LINE) != N || strncmp(M, state->temp, N)) ? -1 : 0;
|
H A D | csaddr.c | 208 s = state->temp; 209 sx = &state->temp[sizeof(state->temp) - 1]; 239 if (sp = csinfo(state, state->temp, NiL)) 259 sfsprintf(state->temp, sizeof(state->temp), "%s.%s", CS_HOST_GATEWAY, name); 260 if (addr = realaddr(state, state->temp)) 262 name = state->temp; 265 sfsprintf(state->temp, sizeof(state->temp), " [all...] |
H A D | cssend.c | 187 s = state->temp; 188 s += sfsprintf(s, sizeof(state->temp), "%lu %d", getpid(), n); 197 s += sfsprintf(s, sizeof(state->temp) - (s - state->temp), " %d", j); 201 s += sfsprintf(s, sizeof(state->temp) - (s - state->temp), " %d", fds[i]); 202 s += sfsprintf(s, sizeof(state->temp) - (s - state->temp), "\n"); 203 n = s - state->temp; 204 messagef((state->id, NiL, -8, "send(%d, %-*.*s) call", fd, n - 1, n - 1, state->temp)); [all...] |
H A D | csname.c | 117 strncpy(state->temp, s, sizeof(state->temp) - 1); 118 *(t = state->temp + (t - s)) = 0; 119 s = state->temp;
|
H A D | csrecv.c | 331 s = state->temp; 332 if ((i = recv(fd, s, sizeof(state->temp), 0)) <= 0) 337 if (i >= sizeof(state->temp)) 338 i = sizeof(state->temp) - 1; 347 s = state->temp; 350 sfsprintf(s, sizeof(state->temp), CS_PROC_FD_FMT, pid, fds[i]);
|
H A D | cslib.h | 56 char temp[CS_NAME_MAX];/* lib work buffer */
|
/ast/src/lib/libast/comp/ |
H A D | mktemp.c | 44 temp(char* buf, int* fdp) function 76 return temp(buf, NiL); 84 return *temp(buf, &fd) ? fd : -1;
|
/ast/src/cmd/mailx/ |
H A D | quit.c | 127 char* temp; local 165 sfprintf(state.path.temp, "%s/%d", state.path.mail, mp - state.msg.list + 1); 166 temp = struse(state.path.temp); 168 rm(temp); 174 note(SYSTEM, "%s", temp); 179 rm(temp); 180 if (rename(move, temp)) 181 note(SYSTEM, "%s", temp); 194 temp [all...] |
H A D | cmd2.c | 241 char* temp; local 329 sfprintf(state.path.temp, "%s/%d", file, mh.next); 330 temp = struse(state.path.temp); 331 if (fp = fileopen(temp, "MEw")) { 333 note(SYSTEM, "%s", temp); 614 sfprintf(state.path.temp, "%s/%s", state.var.attachments, name); 615 name = expand(struse(state.path.temp), 1); 628 sfprintf(state.path.temp, "%s/%s", name, s); 629 s = struse(state.path.temp); [all...] |
H A D | collect.c | 174 * On return, make the edit file the new temp file. 238 sfprintf(state.path.temp, "~/%s", s); 239 s = expand(struse(state.path.temp), 1); 559 sfprintf(state.path.temp, "%s<%s", e, s); 561 sfprintf(state.path.temp, "|"); 565 sfprintf(state.path.temp, ";"); 574 sfprintf(state.path.temp, "uuencode -h -x %s", (code & CODE_QP) ? "quoted-printable " : "base64 "); 576 shquote(state.path.temp, t); 577 sfputc(state.path.temp, ' '); 578 shquote(state.path.temp, [all...] |
H A D | local.c | 109 sfprintf(state.path.temp, "%-.*s/.", i, mail); 110 if (!access(struse(state.path.temp), F_OK)) 120 sfprintf(state.path.temp, "%s/.", dir[i]); 121 if (!access(struse(state.path.temp), F_OK)) 128 sfprintf(state.path.temp, "%-.*s/%s", n, mail, user); 129 return savestr(struse(state.path.temp));
|
H A D | misc.c | 338 char temp[LINESIZE]; local 360 strncopy(user = temp, addr, sizeof(temp));
|
H A D | vars.c | 209 sfprintf(state.path.temp, "no%s", vp->name); 210 printf("%16s\n", struse(state.path.temp)); 623 sfprintf(state.path.temp, "%s -oi", _PATH_SENDMAIL); 624 state.var.sendmail = varkeep(struse(state.path.temp));
|
/ast/src/lib/libast/misc/ |
H A D | findlib.h | 70 char temp[PATH_MAX]; member in struct:__anon278 87 char temp[PATH_MAX]; member in struct:__anon279
|
H A D | fastfind.c | 253 if (pathpath(fp->encode.file, "", PATH_EXECUTE|PATH_READ|PATH_WRITE, fp->encode.temp, sizeof(fp->encode.temp)) && 254 !stat(fp->encode.temp, &st) && st.st_uid == uid && (st.st_mode & S_IWUSR)) 256 sfsprintf(fp->encode.file, sizeof(fp->encode.file), "%s%s", fp->encode.temp, b); 271 * FF_old generates temp data that is read 286 * the rest generate into a temp file that 297 if (!pathtemp(fp->encode.temp, sizeof(fp->encode.temp), p, "ff", &fd)) 308 (*fp->disc->errorf)(fp, fp->disc, ERROR_SYSTEM|2, "%s: cannot open tmp file", fp->encode.temp); 413 b = (s = fp->decode.temp) [all...] |
/ast/src/lib/libvgraph/ |
H A D | kpvdebug.h | 44 #define KPV(temp) (temp) /* debugging stuff that should be removed */
|
/ast/src/lib/libast/include/ |
H A D | debug.h | 55 #define DEBUG_TEMP(temp) (temp) /* debugging stuff that should be removed */
|
/ast/src/lib/libtksh/src/ |
H A D | init.c | 260 Tcl_DString temp; local 270 Tcl_DStringInit(&temp); 271 fullName = Tcl_TranslateFileName(interp, fileName, &temp); 296 Tcl_DStringFree(&temp);
|
/ast/src/cmd/std/ |
H A D | shar.sh | 408 temp=/tmp/shar\$\$; dtemp=/tmp/.shar\$\$ 409 trap "rm -f \$temp \$dtemp; exit" EXIT HUP INT QUIT TERM 411 then cat > \$temp <<\!!! 420 else cat > \$temp <<\!!! 431 \$cksum $files | sed 's=[^ ]*/==' | diff -b \$temp - >\$dtemp
|
/ast/src/cmd/pax/ |
H A D | options.h | 175 Value_t temp; member in struct:Option_s
|
/ast/src/cmd/coshell/ |
H A D | schedule.c | 39 #define H_TEMP 50 /* temp hysterisis % */ 40 #define W_TEMP 4 /* temp window bit size */ 234 if (!(scan & ((1<<W_TEMP) - 1))) ap->temp >>= W_TEMP; 240 if (!ap->home && (!xp || ap->temp < PCT(xp->temp, H_TEMP) || (ap->mode & SHELL_DENIED) || matched && xm && PCT(ap->temp, H_TEMP) < xp->temp && ap->rank > xp->rank)) 277 ap->temp += (((unsigned long)1)<<(CHAR_BIT * sizeof(ap->temp) - W_TEMP)); 612 if (((Coshell_t*)a)->temp > ((Coshell_ [all...] |
/ast/src/lib/libtk/generic/ |
H A D | tkCanvLine.c | 1340 double dx, dy, length, sinTheta, cosTheta, temp; 1389 temp = shapeC*sinTheta; 1390 poly[2] = poly[0] - shapeB*cosTheta + temp; 1391 poly[8] = poly[2] - 2*temp; 1392 temp = shapeC*cosTheta; 1393 poly[3] = poly[1] - shapeB*sinTheta - temp; 1394 poly[9] = poly[3] + 2*temp; 1435 temp = shapeC*sinTheta; 1436 poly[2] = poly[0] - shapeB*cosTheta + temp; 1437 poly[8] = poly[2] - 2*temp; 1327 double dx, dy, length, sinTheta, cosTheta, temp; local [all...] |
H A D | tkGrid.c | 83 int temp; /* This is a temporary value used for member in struct:SlotInfo 372 int temp = column; 373 column = column2, column2 = temp; 376 int temp = row; 377 row = row2, row2 = temp; 1036 slotPtr[slot].temp = slotPtr[slot].weight; 1038 slotPtr[slot].temp = 0; 1054 if (slotPtr[slot].temp == 0) { 1057 weight += slotPtr[slot].temp; 1061 / slotPtr[slot].temp; 371 int temp = column; local 375 int temp = row; local [all...] |
/ast/src/lib/libtk/library/ |
H A D | console.tcl | 161 set temp [.console index "end - 1 char"] 169 set temp [.console index output] 178 .console mark set output $temp
|