Searched refs:vec (Results 1 - 25 of 28) sorted by relevance

12

/osnet-11/usr/src/lib/libast/common/vec/
H A Dvecfree.c41 vecfree(register char** vec, int retain) argument
43 if (vec)
45 if (*(vec -= 2) && !retain) free(*vec);
46 free(vec);
H A Dvecargs.c35 * 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 Dvecstring.c41 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 Dvecfile.c43 register char** vec; local
47 vec = 0;
55 vec = vecload(buf);
57 if (!vec) free(buf);
61 return(vec);
H A Dvecload.c52 char** vec; local
54 vec = 0;
81 vec = ++p;
93 *(vec - 1) = (char*)p;
95 return(vec);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dvec.t7 print vec($foo,0,1) == 0 ? "ok 1\n" : "not ok 1\n";
9 vec($foo,0,1) = 1;
12 print vec($foo,0,1) == 1 ? "ok 5\n" : "not ok 5\n";
14 print vec($foo,20,1) == 0 ? "ok 6\n" : "not ok 6\n";
15 vec($foo,20,1) = 1;
16 print vec($foo,20,1) == 1 ? "ok 7\n" : "not ok 7\n";
18 print vec($foo,1,8) == 0 ? "ok 9\n" : "not ok 9\n";
19 vec($foo,1,8) = 0xf1;
20 print vec($foo,1,8) == 0xf1 ? "ok 10\n" : "not ok 10\n";
22 print vec(
[all...]
H A Dtie.t235 # Interaction of tie and vec
240 vec($b,1,1)=1;
242 vec($a,1,1)=0;
243 vec($b,1,1)=0;
/osnet-11/usr/src/lib/libast/common/stdio/
H A D_stdfun.c63 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 Dstdhdr.h52 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; \
/osnet-11/usr/src/lib/libast/common/path/
H A Dpathtemp.c89 char** vec; member in struct:__anon1176
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...]
/osnet-11/usr/src/lib/libsendfile/common/
H A Dsendfile.c45 _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,
/osnet-11/usr/src/lib/libc/port/gen/
H A Dttyname.c640 entry_t *vec; local
693 vec = realloc(dir_vec, sz);
694 if (vec == NULL) {
701 dir_vec = vec;
713 vec->name = buf;
714 vec->flags = 0;
736 vec->flags |= MATCH_MM;
739 vec->flags |= MATCH_FS;
742 vec->flags |= MATCH_INO;
751 if (strncmp(vec
[all...]
/osnet-11/usr/src/common/mpi/
H A Dmpprime.h68 mp_err mpp_divis_vector(mp_int *a, const mp_digit *vec, int size, int *which);
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dmvcur.c63 #define zero_seq(seq) ((seq)->end = (seq)->vec, (seq)->cost = 0)
66 int vec[VECTOR_SIZE]; /* vector of operations */ member in struct:Sequence
82 int *vptr = seq2->vec;
335 for (ptr = seq->vec; ptr < seq->end; ) {
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dmvcur.c59 #define zero_seq(seq) ((seq)->end = (seq)->vec, (seq)->cost = 0)
62 int vec[VECTOR_SIZE]; /* vector of operations */ member in struct:Sequence
79 int* vptr = seq2->vec;
339 for (ptr = seq->vec; ptr < seq->end; ) {
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dmain.c77 struct sigvec vec; local
78 if(sigvec(sig,NIL(struct sigvec*),&vec)>=0 && vec.sv_mask)
80 vec.sv_mask = 0;
81 sigvec(sig,&vec,NIL(struct sigvec*));
/osnet-11/usr/src/lib/libsasl/include/
H A Dplugin_common.h152 int _plug_iovec_to_buf(const sasl_utils_t *utils, const struct iovec *vec,
/osnet-11/usr/src/lib/libsasl/plugin/
H A Dplugin_common.c236 int _plug_iovec_to_buf(const sasl_utils_t *utils, const struct iovec *vec, argument
244 if(!utils || !vec || !output) {
262 out->curlen += vec[i].iov_len;
275 memcpy(pos, vec[i].iov_base, vec[i].iov_len);
276 pos += vec[i].iov_len;
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_connect.c713 char **vec; local
752 vec = NULL;
755 vec = calloc(i + 1, sizeof (char *));
756 if (vec == NULL) {
762 if ((vec[i] = strdup(value[i]))
764 __s_api_free2dArray(vec);
765 vec = NULL;
769 if (vec == NULL) {
776 sinfo->controls = vec;
778 sinfo->saslMechanisms = vec;
[all...]
/osnet-11/usr/src/lib/libast/
H A DMakefile.com563 common/vec/vecargs.o \
564 common/vec/vecfile.o \
565 common/vec/vecfree.o \
566 common/vec/vecload.o \
567 common/vec/vecstring.o \
613 common/vec \
/osnet-11/usr/src/lib/libast/common/regex/
H A Dregnexec.c144 #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...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Safe/t/
H A Dsafeops.t181 vec vec
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/t/
H A DFunctions.t107 vec
/osnet-11/usr/src/lib/libsasl/lib/
H A Dsaslint.h639 int _iovec_to_buf(const _sasl_global_context_t *gctx, const struct iovec *vec,
642 int _iovec_to_buf(const struct iovec *vec,
/osnet-11/usr/src/lib/libcmd/common/
H A Dls.c915 static Ftw_t** vec; local
927 if (!(vec = newof(vec, Ftw_t*, vecsiz, 0)))
930 x = vec;

Completed in 53 milliseconds

12