/ast/src/lib/libast/vec/ |
H A D | vecfree.c | 41 vecfree(register char** vec, int retain) argument 43 if (vec) 45 if (*(vec -= 2) && !retain) free(*vec); 46 free(vec);
|
H A D | vecargs.c | 35 * insert the string vector vec between 45 vecargs(register char** vec, int* argcp, char*** argvp) argument 53 if (!vec) return(-1); 54 if ((num = (char**)(*(vec - 1)) - vec) > 0) 58 vecfree(vec, 0); 64 ovec = vec; 65 while (s = *argv = *vec++) 74 else vecfree(vec, 0);
|
H A D | vecstring.c | 41 register char** vec; local 43 if (!str || !*str || !(buf = strdup(str))) vec = 0; 44 else if (!(vec = vecload(buf))) free(buf); 45 return(vec);
|
H A D | vecfile.c | 43 register char** vec; local 47 vec = 0; 55 vec = vecload(buf); 57 if (!vec) free(buf); 61 return(vec);
|
H A D | vecload.c | 52 char** vec; local 54 vec = 0; 81 vec = ++p; 93 *(vec - 1) = (char*)p; 95 return(vec);
|
/ast/src/lib/libast/stdio/ |
H A D | _stdfun.c | 63 if (!vp->vec[1]) 70 if (bp && (vp->vec[1] = (Fun_f)dlsym(bp, vp->name))) 74 if (!(vp->vec[1] = (Fun_f)dlsym(np, vp->name)))
|
H A D | stdhdr.h | 52 Fun_f vec[2]; member in struct:Funvec_s 65 return ((_s_f)_v.vec[_i])a; \ 76 return ((_s_f)_v.vec[_i])a; \ 88 ((_s_f)_v.vec[_i])a; \
|
/ast/src/lib/libast/path/ |
H A D | pathtemp.c | 89 char** vec; member in struct:__anon300 127 tmp.dir = tmp.vec; 157 if (tmp.vec) 159 free(tmp.vec); 160 tmp.vec = 0; 169 if (tmp.vec) 171 free(tmp.vec); 172 tmp.vec = 0; 187 if (!tmp.vec) 198 if (!(tmp.vec [all...] |
/ast/src/lib/libbz/ |
H A D | huffman.c | 182 Int32 n, vec, i; local 184 vec = 0; 187 if (length[i] == n) { code[i] = vec; vec++; }; 188 vec <<= 1; 202 Int32 pp, i, j, vec; local 215 vec = 0; 218 vec += (base[i+1] - base[i]); 219 limit[i] = vec-1; 220 vec << [all...] |
/ast/src/cmd/mailx/ |
H A D | main.c | 177 struct argvec vec; local 191 initargs(&vec); 192 getargs(&vec, op->name); 193 if (endargs(&vec) > 0) { 195 set(vec.argv); 210 struct argvec vec; local 214 initargs(&vec); 215 getargs(&vec, op->name); 216 if (endargs(&vec) > 0) { 218 set(vec [all...] |
H A D | proc.c | 487 struct argvec vec; local 492 initargs(&vec); 493 getargs(&vec, cmd); 495 addarg(&vec, a0); 497 addarg(&vec, a1); 499 addarg(&vec, a2); 502 endargs(&vec); 503 cmd = vec.argv[0]; 504 args = vec.argv;
|
H A D | lex.c | 384 struct argvec vec; local 522 initargs(&vec); 523 getargs(&vec, s); 524 if ((c = endargs(&vec)) < 0) 541 e = (*com->c_func)(vec.argv);
|
H A D | mailx.h | 703 int* vec; /* Current message vector */ member in struct:__anon136::__anon140
|
/ast/src/lib/libz/ |
H A D | crc32.c | 69 unsigned long vec)); 342 local unsigned long gf2_matrix_times(mat, vec) 344 unsigned long vec; 349 while (vec) { 350 if (vec & 1) 352 vec >>= 1;
|
/ast/src/cmd/nmake/ |
H A D | expand.c | 787 Sfio_t* vec; local 800 vec = sfstropen(); 817 putptr(vec, r); 820 putptr(vec, 0); 822 for (v = (char**)sfstrbase(vec); r = (Rule_t*)*v;) 867 for (v = (char**)sfstrbase(vec); s = *v++;) 895 for (w = (char**)sfstrbase(vec); s = *w++;) 909 for (w = (char**)sfstrbase(vec); s = *w++;) 931 sfstrclose(vec); 954 Sfio_t* vec; local 1211 order_all(Sfio_t* xp, Sfio_t* tmp, Sfio_t* vec, Hash_table_t* tab, Rule_t* d, char* makefiles, char* skip, unsigned int flags) argument 1236 order_scan(Sfio_t* xp, Sfio_t* tmp, Sfio_t* vec, Hash_table_t* tab, Rule_t* d, Rule_t* r, char* makefiles, char* skip, unsigned int flags) argument 1292 order_find(Sfio_t* xp, Sfio_t* tmp, Sfio_t* vec, Hash_table_t* tab, char* dir, char* files, char* makefiles, char* skip, unsigned int flags) argument 1401 Sfio_t* vec; local [all...] |
H A D | option.c | 1953 Sfio_t* vec; local 1957 vec = sfstropen(); 1961 putptr(vec, strdup(sfstruse(internal.tmp))); 2008 putptr(vec, strdup(s)); 2025 putptr(vec, strdup(sfstruse(internal.tmp))); 2033 putptr(vec, x->option); 2041 putptr(vec, "-f"); 2042 putptr(vec, state.makefile); 2046 putptr(vec, "-f"); 2047 putptr(vec, [all...] |
H A D | parse.c | 116 Sfio_t* vec; /* for loop args tmp */ member in struct:Control_s::__anon169::__anon171 224 if (cp->loop.f.vec) 226 sfstrclose(cp->loop.f.vec); 1063 if (pp->cp->loop.f.vec) 1065 sfstrclose(pp->cp->loop.f.vec); 1083 pp->cp->loop.f.vec = 0; 1095 pp->cp->loop.f.vec = tp = sfstropen();
|
H A D | rule.c | 803 char* vec[2]; local 813 vec[1] = 0; 833 *(v = vec) = s;
|
/ast/src/cmd/ksh93/sh/ |
H A D | main.c | 74 struct sigvec vec; local 75 if(sigvec(sig,NIL(struct sigvec*),&vec)>=0 && vec.sv_mask) 77 vec.sv_mask = 0; 78 sigvec(sig,&vec,NIL(struct sigvec*));
|
/ast/src/lib/libast/regex/ |
H A D | regnexec.c | 144 #define vector(t,v,i) (((i)<(v)->max)?(t*)((v)->vec+(i)*(v)->siz):(t*)vecseek(&(v),i)) 162 v->vec = (char*)v + sizeof(Vector_t); 180 v->vec = (char*)v + sizeof(Vector_t); 182 return v->vec + index * v->siz; 837 ((Pos_t*)env->pos->vec + env->pos->cur - 1)->serial = catcher.serial = rex->re.group.expr.binary.serial; 1054 (Pos_t*)env->bestpos->vec, 1055 (Pos_t*)env->pos->vec, 1056 (Pos_t*)env->bestpos->vec+env->bestpos->cur, 1057 (Pos_t*)env->pos->vec+env->pos->cur, 1070 memcpy(env->bestpos->vec, en [all...] |
H A D | reglib.h | 305 char* vec; /* the data */ member in struct:Vector_s
|
/ast/src/cmd/std/ |
H A D | ls.c | 930 static Ftw_t** vec; local 942 if (!(vec = newof(vec, Ftw_t*, vecsiz, 0))) 945 x = vec;
|
/ast/src/lib/libast/ |
H A D | Makefile | 18 regex sfio stdio string tm uwin vec vmalloc
|