/ast/src/lib/libast/path/ |
H A D | pathnative.c | 59 char tmp[PATH_MAX]; local 61 cygwin_conv_to_win32_path(path, tmp); 62 if ((n = strlen(tmp)) < siz && buf) 63 memcpy(buf, tmp, n + 1);
|
H A D | pathposix.c | 59 char tmp[PATH_MAX]; local 61 cygwin_conv_to_posix_path(path, tmp); 62 if ((n = strlen(tmp)) < siz && buf) 63 memcpy(buf, tmp, n + 1);
|
H A D | pathsetlink.c | 43 char tmp[PATH_MAX]; local 50 t = tmp; 66 t = tmp;
|
H A D | pathgetlink.c | 61 char tmp[PATH_MAX]; local 64 t = tmp; 75 n = t - tmp; 76 strcpy(buf, tmp); 80 if (t >= &tmp[sizeof(tmp)]) break; 82 if (!match && t < &tmp[sizeof(tmp) - univ_size + 1]) for (n = 0; n < UNIV_MAX; n++)
|
H A D | pathfind.c | 89 char tmp[PATH_MAX]; local 138 sfsprintf(tmp, sizeof(tmp), "%s/%s", dp->dir, name); 139 if (pathpath(tmp, "", PATH_REGULAR, buf, size)) 143 sfsprintf(tmp, sizeof(tmp), "%s/%s.%s", dp->dir, name, type); 144 if (pathpath(tmp, "", PATH_REGULAR, buf, size)) 157 sfsprintf(tmp, sizeof(tmp), "lib/%s/%s", lib, name); 158 if (pathpath(tmp, "", PATH_REGULA [all...] |
/ast/src/lib/libast/string/ |
H A D | swapop.c | 44 char tmp[sizeof(intmax_t)]; local 52 if (!memcmp(internal, swapmem(op, external, tmp, z), z))
|
H A D | swapget.c | 43 unsigned char tmp[sizeof(intmax_t)]; local 47 if (op) swapmem(op, b, d = tmp, n);
|
H A D | strerror.c | 61 #define fmtbuf(n) ((n),tmp) 63 static char tmp[32]; variable
|
/ast/src/lib/libast/sfio/ |
H A D | sfswap.c | 40 Sfio_t tmp; local 91 memcpy((Void_t*)(&tmp),(Void_t*)f1,sizeof(Sfio_t)); 93 memcpy((Void_t*)f2,(Void_t*)(&tmp),sizeof(Sfio_t));
|
H A D | sfpoll.c | 169 struct timeval tmb, *tmp; local 193 tmp = NIL(struct timeval*); 195 { tmp = &tmb; 200 while((np = select(m+1,&rd,&wr,NIL(fd_set*),tmp)) < 0 )
|
/ast/src/lib/libcodex/ |
H A D | codexmeth.c | 41 char tmp[CODEX_NAME]; local 64 sfsprintf(tmp, sizeof(tmp), "%-.*s", s - name, name); 65 if (dll = dllplug("codex", tmp, NiL, RTLD_LAZY, NiL, 0))
|
/ast/src/lib/libcoshell/ |
H A D | procrun.c | 37 register Sfio_t* tmp; local 42 if (!(tmp = sfstropen())) 44 sfputr(tmp, path ? path : "sh", -1); 47 sfputr(tmp, " '", -1); 48 coquote(tmp, s, 0); 49 sfputc(tmp, '\''); 51 if (!(s = costash(tmp))) 54 sfstrclose(tmp);
|
H A D | cosync.c | 45 char tmp[PATH_MAX]; local 60 b = t = tmp; 61 while (t < &tmp[sizeof(tmp) - 1]) 68 while (t < &tmp[sizeof(tmp) - 1] && (*t++ = *s++)); 70 if ((td = open(tmp, O_WRONLY|O_CREAT|O_TRUNC|O_cloexec, 0)) >= 0) 72 unlink(tmp); 119 strcpy(tmp, file); 120 fd = strlen(tmp) [all...] |
/ast/src/lib/libcs/ |
H A D | csinfo.c | 37 char tmp[PATH_MAX]; local 46 sfsprintf(tmp, sizeof(tmp), "%s/%s", n ? csvar(state, CS_VAR_SHARE, 0) : CS_SVC_DIR, file); 47 if (pathpath(tmp, "", PATH_REGULAR|PATH_READ, buf, sizeof(buf)))
|
H A D | msgbuf.c | 63 char tmp[2 * sizeof(unsigned long)]; local 65 s = t = &tmp[elementsof(tmp) - 1];
|
/ast/src/lib/libast/regex/ |
H A D | regcoll.c | 53 char tmp[sizeof(xfm)]; local 96 for (i = 0; i < r && i < sizeof(tmp) - 1; i++) 97 tmp[i] = '0'; 98 tmp[i] = 0; 99 if (mbxfrm(xfm, buf, sizeof(xfm)) >= mbxfrm(xfm, tmp, sizeof(xfm)))
|
/ast/src/lib/libcmd/ |
H A D | revlib.c | 44 Sfio_t *tmp = sftmp(4*SF_BUFSIZE); local 45 if(!tmp) 49 if(sfmove(in, tmp, SF_UNBOUND, -1) < 0 || !sfeof(in) || sferror(tmp)) 51 in = tmp;
|
/ast/src/lib/libpz/ |
H A D | pzsync.c | 37 Sfio_t* tmp; local 69 tmp = pz->tmp; 76 sfputu(tmp, pz->ws.rep); 77 sfputu(tmp, 0); 138 m = sfstrtell(tmp); 139 if (sfwrite(op, sfstrseek(tmp, 0, SEEK_SET), m) != m || sfsync(op))
|
H A D | pzwrite.c | 45 Sfio_t* tmp; local 154 tmp = pz->tmp; 180 * and encode the lo frequency rows in tmp+pz->val 194 sfputu(tmp, pz->ws.rep); 195 sfputu(tmp, j + 1); 201 sfputu(tmp, j + 1); 204 sfputu(tmp, 0);
|
/ast/src/lib/libtk/generic/ |
H A D | tkCanvUtil.c | 77 double tmp; 79 tmp = x - canvasPtr->drawableXOrigin; 80 if (tmp > 0) { 81 tmp += 0.5; 83 tmp -= 0.5; 85 if (tmp > 32767) { 87 } else if (tmp < -32768) { 90 *drawableXPtr = tmp; 93 tmp = y - canvasPtr->drawableYOrigin; 94 if (tmp > 75 double tmp; local 135 double tmp; local [all...] |
H A D | tkArgv.c | 356 char tmp[30]; 400 sprintf(tmp, "%d", *((int *) infoPtr->dst)); 402 tmp, (char *) NULL); 406 sprintf(tmp, "%g", *((double *) infoPtr->dst)); 408 tmp, (char *) NULL); 354 char tmp[30]; local
|
/ast/src/cmd/msgcc/ |
H A D | msgcpp.c | 152 Sfio_t* tmp; local 194 if (!(tmp = sfstropen())) 273 sfprintf(tmp, "#define %s \"%s\"\n", s, pp.token); 274 if (!(s = sfstruse(tmp)))
|
/ast/src/cmd/3d/ |
H A D | link3d.c | 38 char tmp[PATH_MAX+1]; local 71 if (tp != tmp) 75 tp = strncpy(tmp, tp, PATH_MAX); 82 if (tp != tmp) 86 tp = strncpy(tmp, tp, PATH_MAX);
|
H A D | mkdir3d.c | 56 char tmp[PATH_MAX + 1]; local 100 a = tmp; 103 if (b = strrchr(tmp, '/')) 108 if (!pathnext(tmp, NiL, NiL) || ACCESS(tmp, F_OK))
|
H A D | symlink3d.c | 36 char tmp[PATH_MAX + 1]; local 67 if (tp != tmp) 71 tp = strncpy(tmp, tp, PATH_MAX); 78 if (tp != tmp) 82 tp = strncpy(tmp, tp, PATH_MAX);
|