/illumos-gate/usr/src/lib/libast/common/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 | 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);
|
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);
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | mincore.c | 38 mincore(caddr_t addr, int len, char *vec) argument 47 if (_syscall(SYS_mincore, addr, len, vec) == 0) { 50 vec[i] &= INCORE;
|
/illumos-gate/usr/src/lib/libbc/libc/gen/sys5/ |
H A D | sighold.c | 61 struct sigvec vec; local 67 if (sigvec(sig, (struct sigvec *)0, &vec) < 0) 69 vec.sv_handler = SIG_IGN; 70 if (sigvec(sig, &vec, (struct sigvec *)0) < 0)
|
H A D | sleep.c | 17 #define setvec(vec, a) \ 18 vec.sv_handler = a; vec.sv_mask = vec.sv_onstack = 0 39 struct sigvec vec, ovec; local 68 setvec(vec, sleepx); 69 (void) sigvec(SIGALRM, &vec, &ovec);
|
/illumos-gate/usr/src/lib/libbc/libc/gen/4.2/ |
H A D | sleep.c | 12 #define setvec(vec, a) \ 13 vec.sv_handler = a; vec.sv_mask = vec.sv_onstack = 0 25 struct sigvec vec, ovec; local 49 setvec(vec, sleepx); 50 (void) sigvec(SIGALRM, &vec, &ovec);
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | usleep.c | 19 #define setvec(vec, a) \ 20 vec.sv_handler = a; vec.sv_mask = vec.sv_onstack = 0 37 struct sigvec vec, ovec; local 61 setvec(vec, sleepx); 62 (void) sigvec(SIGALRM, &vec, &ovec);
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | systat.c | 52 char *vec[5]; local 62 if (getargs(line, vec, 4) == 4) { 63 count = atoi(vec[1]); 64 presretry = atol(vec[3]);
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xenbus_probe.c | 128 otherend_changed(struct xenbus_watch *watch, const char **vec, unsigned int len) argument 138 strncmp(dev->otherend, vec[XS_WATCH_PATH], strlen(dev->otherend))) { 140 printf("Ignoring watch at %s", vec[XS_WATCH_PATH]); 149 state, dev->otherend_watch.node, vec[XS_WATCH_PATH]);
|
/illumos-gate/usr/src/lib/libsendfile/common/ |
H A D | sendfile.c | 45 _sendfilev(int sock, const struct sendfilevec *vec, int sfvcnt, size_t *xferred) argument 50 error = __systemcall(&rval, SYS_sendfilev, SENDFILEV, sock, vec, 93 _sendfilev64(int sock, const struct sendfilevec64 *vec, int sfvcnt, argument 99 error = __systemcall(&rval, SYS_sendfilev, SENDFILEV64, sock, vec,
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | mem_config_stubs.c | 48 kphysm_setup_func_register(kphysm_setup_vector_t *vec, void *arg) argument 55 kphysm_setup_func_unregister(kphysm_setup_vector_t *vec, void *arg) argument
|
/illumos-gate/usr/src/lib/libast/common/stdio/ |
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; \
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | mach_kdi.c | 50 kdi_idt_write(gate_desc_t *gate, uint_t vec) argument 63 idt[vec] = *gate;
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | mach_kdi.c | 68 uint_t vec; local 70 for (vec = 0; vec < nidt; vec++, idt++) 71 xen_idt_write(idt, vec); 75 kdi_idt_write(gate_desc_t *gate, uint_t vec) argument 83 idt[vec] = *gate; 85 xen_idt_write(gate, vec);
|
/illumos-gate/usr/src/common/bzip2/ |
H A D | huffman.c | 158 Int32 n, vec, i; local 160 vec = 0; 163 if (length[i] == n) { code[i] = vec; vec++; }; 164 vec <<= 1; 178 Int32 pp, i, j, vec; local 191 vec = 0; 194 vec += (base[i+1] - base[i]); 195 limit[i] = vec-1; 196 vec << [all...] |
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.set.c | 113 exportpath(adrof(S_path /* "path" */)->vec); 158 xfree(v->vec[subscr - 1]); 159 v->vec[subscr - 1] = globone(p); 172 if (subscr < 1 || subscr > blklen(v->vec)) 246 asx(vp, subscr, operate(op, gv->vec[subscr - 1], p)); 249 asx(vp, subscr, operate(op, getvx(vp, subscr)->vec[subscr - 1], p)); 254 exportpath(adrof(S_path /* "path" */)->vec); 288 tchar *vec[5]; local 289 tchar **v = vec; 390 return (vp == 0 || vp->vec[ [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/ |
H A D | nsc_ncallio.h | 94 nsc_vec_t vec[2]; member in struct:nsc_ncio_bufh
|
/illumos-gate/usr/src/lib/libast/common/path/ |
H A D | pathtemp.c | 89 char** vec; member in struct:__anon2659 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...] |
/illumos-gate/usr/src/lib/libshell/common/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*));
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | mvcur.c | 63 #define zero_seq(seq) ((seq)->end = (seq)->vec, (seq)->cost = 0) 66 int vec[VECTOR_SIZE]; /* vector of operations */ member in struct:Sequence 83 int* vptr = seq2->vec; 343 for (ptr = seq->vec; ptr < seq->end; ) {
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | mvcur.c | 67 #define zero_seq(seq) ((seq)->end = (seq)->vec, (seq)->cost = 0) 70 int vec[VECTOR_SIZE]; /* vector of operations */ member in struct:Sequence 86 int *vptr = seq2->vec; 339 for (ptr = seq->vec; ptr < seq->end; ) {
|
/illumos-gate/usr/src/cmd/power/ |
H A D | parse.c | 270 char **vec, *arg, *cp; local 298 for (vec = line_args; *vec; vec++) 299 mesg(MDEBUG, " \"%s\"\n", *vec);
|