Home
last modified time | relevance | path

Searched refs:vers (Results 1 – 25 of 519) sorted by relevance

12345678910>>...21

/netbsd-src/external/gpl2/xcvs/dist/src/
H A Dclassify.c20 Vers_TS * vers);
45 Vers_TS *vers; in Classify_File() local
49 vers = Version_TS (finfo, options, tag, date, in Classify_File()
52 if (vers->vn_user == NULL) in Classify_File()
55 if (vers->vn_rcs == NULL) in Classify_File()
58 if (vers->ts_user == NULL) in Classify_File()
66 if (!force_tag_match || !(vers->tag || vers->date)) in Classify_File()
80 if (!force_tag_match || !(vers->tag || vers->date)) in Classify_File()
87 else if (RCS_isdead (vers->srcfile, vers->vn_rcs)) in Classify_File()
90 if (vers->ts_user == NULL) in Classify_File()
[all …]
H A Ddiff.c44 static enum diff_file diff_file_nodiff (struct file_info *finfo, Vers_TS *vers,
487 Vers_TS *vers; in diff_fileproc() local
497 vers = Version_TS (finfo, NULL, NULL, NULL, 1, 0); in diff_fileproc()
544 else if (vers->vn_user == NULL) in diff_fileproc()
548 && vers->srcfile != NULL) in diff_fileproc()
562 (vers->vn_rcs == NULL in diff_fileproc()
564 : RCS_branch_head (vers->srcfile, vers->vn_rcs)); in diff_fileproc()
565 exists = head != NULL && !RCS_isdead (vers->srcfile, head); in diff_fileproc()
592 else if (vers->vn_user[0] == '0' && vers->vn_user[1] == '\0') in diff_fileproc()
597 if (vers->srcfile != NULL) in diff_fileproc()
[all …]
H A Dadd.c65 Vers_TS *vers; in add() local
351 vers = Version_TS (&finfo, options, NULL, NULL, 1, 0); in add()
352 if (vers->vn_user == NULL) in add()
355 if (vers->vn_rcs == NULL) in add()
358 if (vers->ts_user == NULL) in add()
383 if (vers->options == NULL || *vers->options == '\0') in add()
391 if (vers->options) in add()
392 free (vers->options); in add()
393 vers->options = wrap_rcsoption (finfo.file, 1); in add()
397 if (vers->nonbranch) in add()
[all …]
H A Dno_diff.c28 No_Difference (struct file_info *finfo, Vers_TS *vers) in No_Difference() argument
38 if (vers->ts_user != NULL in No_Difference()
39 && strcmp (vers->ts_user, "Is-modified") == 0) in No_Difference()
42 if (!vers->srcfile || !vers->srcfile->path) in No_Difference()
48 if (preserve_perms && special_file_mismatch (finfo, vers->vn_user, NULL)) in No_Difference()
52 if (vers->entdata && vers->entdata->options) in No_Difference()
53 options = xstrdup (vers->entdata->options); in No_Difference()
58 retcode = RCS_cmp_file (vers->srcfile, vers->vn_user, NULL, NULL, options, in No_Difference()
65 vers->vn_user ? vers->vn_user : vers->vn_rcs, ts, in No_Difference()
66 options, vers->tag, vers->date, NULL); in No_Difference()
[all …]
H A Dupdate.c66 static int merge_file (struct file_info *finfo, Vers_TS *vers);
67 static int scratch_file (struct file_info *finfo, Vers_TS *vers);
603 Vers_TS *vers; in update_fileproc() local
606 aflag, &vers, pipeout); in update_fileproc()
612 if (!access_allowed (finfo->file, finfo->repository, vers->tag, 5, in update_fileproc()
677 retval = checkout_file (finfo, vers, 0, 0, 0); in update_fileproc()
703 retval = merge_file (finfo, vers); in update_fileproc()
712 bakname = backup_file (finfo->file, vers->vn_user); in update_fileproc()
724 retval = checkout_file (finfo, vers, 0, 0, 1); in update_fileproc()
728 if (vers->ts_conflict) in update_fileproc()
[all …]
H A Dremove.c161 Vers_TS *vers; in remove_fileproc() local
176 vers = Version_TS (finfo, NULL, NULL, NULL, 0, 0); in remove_fileproc()
178 if (vers->ts_user != NULL) in remove_fileproc()
185 else if (vers->vn_user == NULL) in remove_fileproc()
190 else if (vers->vn_user[0] == '0' && vers->vn_user[1] == '\0') in remove_fileproc()
212 else if (vers->vn_user[0] == '-') in remove_fileproc()
218 else if (vers->tag != NULL && isdigit ((unsigned char) *vers->tag)) in remove_fileproc()
232 finfo->fullname, vers->tag); in remove_fileproc()
234 else if (vers->date != NULL) in remove_fileproc()
240 finfo->fullname, vers->date); in remove_fileproc()
[all …]
H A Dstatus.c128 Vers_TS *vers; in status_fileproc() local
131 status = Classify_File (finfo, NULL, NULL, NULL, 1, 0, &vers, 0); in status_fileproc()
137 if (!access_allowed (finfo->file, finfo->repository, vers->tag, 5, in status_fileproc()
209 if (vers->ts_user == NULL) in status_fileproc()
225 if (vers->vn_user == NULL) in status_fileproc()
231 else if (vers->vn_user[0] == '0' && vers->vn_user[1] == '\0') in status_fileproc()
236 cvs_output (vers->vn_user, 0); in status_fileproc()
239 if (!server_active && strlen (vers->ts_rcs) > 0) in status_fileproc()
247 buf = Xasprintf ("%s UTC", vers->ts_rcs); in status_fileproc()
254 if (vers->vn_rcs == NULL) in status_fileproc()
[all …]
H A Dcheckin.c33 Vers_TS *vers; in Checkin() local
114 vers = Version_TS (finfo, NULL, tag, NULL, 1, set_time); in Checkin()
115 if (strcmp (vers->options, "-V4") == 0) in Checkin()
116 vers->options[0] = '\0'; in Checkin()
117 Register (finfo->entries, finfo->file, vers->vn_rcs, vers->ts_user, in Checkin()
118 vers->options, vers->tag, vers->date, NULL); in Checkin()
119 history_write (type, NULL, vers->vn_rcs, in Checkin()
168 server_updated (finfo, vers, SERVER_UPDATED, in Checkin()
178 freevers_ts (&vers); in Checkin()
H A Dcommit.c219 Vers_TS *vers; in find_fileproc() local
242 vers = Version_TS (&xfinfo, NULL, saved_tag, NULL, 0, 0); in find_fileproc()
243 if (vers->vn_user == NULL) in find_fileproc()
245 if (vers->ts_user == NULL) in find_fileproc()
250 freevers_ts (&vers); in find_fileproc()
253 if (vers->vn_user[0] == '-') in find_fileproc()
255 if (vers->ts_user != NULL) in find_fileproc()
260 freevers_ts (&vers); in find_fileproc()
266 else if (strcmp (vers->vn_user, "0") == 0) in find_fileproc()
268 if (vers->ts_user == NULL) in find_fileproc()
[all …]
H A Dls.c341 Vers_TS *vers; in ls_fileproc() local
363 vers = Version_TS (finfo, NULL, show_tag, show_date, 1, 0); in ls_fileproc()
367 if (vers->vn_rcs && (!show_dead_revs || long_format)) in ls_fileproc()
368 isdead = RCS_isdead (finfo->rcs, vers->vn_rcs); in ls_fileproc()
371 if (!vers->vn_rcs || (!show_dead_revs && isdead)) in ls_fileproc()
373 freevers_ts (&vers); in ls_fileproc()
402 char *outdate = entries_time (RCS_getrevtime (finfo->rcs, vers->vn_rcs, in ls_fileproc()
405 filename, vers->vn_rcs, in ls_fileproc()
406 outdate, vers->options, in ls_fileproc()
415 vers->options[0] != '\0' ? vers->options in ls_fileproc()
[all …]
H A Dtag.c605 Vers_TS *vers; in check_fileproc() local
618 switch (Classify_File (finfo, NULL, NULL, NULL, 1, 0, &vers, 0)) in check_fileproc()
633 freevers_ts (&vers); in check_fileproc()
638 vers = Version_TS (finfo, NULL, NULL, NULL, 0, 0); in check_fileproc()
667 if (vers->srcfile == NULL) in check_fileproc()
671 freevers_ts (&vers); in check_fileproc()
681 ti->tag = xstrdup (numtag ? numtag : vers->tag); in check_fileproc()
683 ti->rev = xstrdup (vers->vn_user); in check_fileproc()
685 ti->rev = RCS_getversion (vers->srcfile, numtag, date, in check_fileproc()
690 ti->oldrev = RCS_getversion (vers->srcfile, symtag, NULL, 1, NULL); in check_fileproc()
[all …]
H A Dimport.c32 char *vers);
688 Vers_TS *vers; in update_rcs_file() local
702 vers = Version_TS (&finfo, NULL, vbranch, NULL, 1, 0); in update_rcs_file()
703 if (vers->vn_rcs != NULL in update_rcs_file()
704 && !RCS_isdead (vers->srcfile, vers->vn_rcs)) in update_rcs_file()
720 expand = (vers->srcfile->expand != NULL in update_rcs_file()
721 && vers->srcfile->expand[0] == 'b') ? "-kb" : "-ko"; in update_rcs_file()
722 different = RCS_cmp_file (vers->srcfile, vers->vn_rcs, NULL, in update_rcs_file()
737 if (add_tags (vers->srcfile, vfile, vtag, targc, targv)) in update_rcs_file()
740 freevers_ts (&vers); in update_rcs_file()
[all …]
/netbsd-src/usr.bin/rpcgen/
H A Drpc_hout.c173 version_list *vers; in pargdef() local
179 for (vers = def->def.pr.versions; vers != NULL; vers = vers->next) { in pargdef()
180 for (plist = vers->procs; plist != NULL; plist = plist->next) { in pargdef()
195 for (vers = def->def.pr.versions; vers != NULL; vers = vers->next) { in pargdef()
196 for (plist = vers->procs; plist != NULL; plist = plist->next) { in pargdef()
272 version_list *vers; in define_printed() local
275 for (vers = start; vers != NULL; vers = vers->next) { in define_printed()
276 for (proc = vers->procs; proc != NULL; proc = proc->next) { in define_printed()
311 version_list *vers; in pprogramdef() local
317 for (vers = def->def.pr.versions; vers != NULL; vers = vers->next) { in pprogramdef()
[all …]
/netbsd-src/sys/arch/powerpc/oea/
H A Dcpu_subr.c288 u_int pvr, vers; in cpu_features_probe() local
295 vers = pvr >> 16; in cpu_features_probe()
297 if ((vers >= IBMRS64II && vers <= IBM970GX) || vers == MPC620 || in cpu_features_probe()
298 vers == IBMCELL || vers == IBMPOWER6P5) { in cpu_features_probe()
303 } else if (vers == MPC601) { in cpu_features_probe()
306 } else if (MPC745X_P(vers)) { in cpu_features_probe()
307 if (vers ! in cpu_features_probe()
334 u_int pvr, vers; cpu_features_enable() local
417 u_int assoc, pvr, vers; cpu_probe_cache() local
499 u_int pvr, vers; cpu_attach_common() local
570 u_int pvr, vers; cpu_setup() local
901 uint16_t vers, rev, revfmt; cpu_identify() local
972 uint16_t vers; cpu_enable_l2cr() local
1060 u_int vers = (pvr >> 16) & 0xffff; cpu_config_l2cr() local
1120 cpu_config_l3cr(int vers) cpu_config_l3cr() argument
1206 u_int pvr, vers; cpu_get_dfs() local
1229 u_int dfs_mask, pvr, vers; cpu_set_dfs() local
[all...]
/netbsd-src/sys/lib/libsa/
H A Drpc.c116 rpc_call(struct iodesc *d, n_long prog, n_long vers, n_long proc, in rpc_call() argument
131 prog, vers, proc); in rpc_call()
134 port = rpc_getport(d, prog, vers); in rpc_call()
177 call->rp_vers = htonl(vers); in rpc_call()
309 #define rpc_pmap_getcache(addr, prog, vers) (-1) argument
310 #define rpc_pmap_putcache(addr, prog, vers, port) argument
322 u_int vers; /* host order */ member
334 rpc_pmap_getcache(struct in_addr addr, u_int prog, u_int vers) in rpc_pmap_getcache() argument
340 pl->prog == prog && pl->vers == vers ) in rpc_pmap_getcache()
356 rpc_pmap_putcache(struct in_addr addr, u_int prog, u_int vers, int port) in rpc_pmap_putcache() argument
[all …]
/netbsd-src/external/bsd/am-utils/dist/amd/
H A Dget_args.c68 char *vers = NULL; in get_version_string() local
83 vers = xmalloc(len); in get_version_string()
84 xsnprintf(vers, len, "%s\n%s\n%s\n%s\n", in get_version_string()
91 xstrlcat(vers, tmpbuf, len); in get_version_string()
93 xstrlcat(vers, tmpbuf, len); in get_version_string()
96 xstrlcat(vers, tmpbuf, len); in get_version_string()
99 xstrlcat(vers, tmpbuf, len); in get_version_string()
102 xstrlcat(vers, tmpbuf, len); in get_version_string()
105 xstrlcat(vers, tmpbuf, len); in get_version_string()
108 xstrlcat(vers, tmpbuf, len); in get_version_string()
[all …]
/netbsd-src/usr.sbin/rpcbind/
H A Drpcb_stat.c103 rpcbs_getaddr(rpcvers_t rtype, rpcprog_t prog, rpcvers_t vers, in rpcbs_getaddr() argument
115 if ((al->prog == prog) && (al->vers == vers) && in rpcbs_getaddr()
133 al->vers = vers; in rpcbs_getaddr()
148 rpcvers_t vers, rpcproc_t proc, char *netid, rpcblist_ptr rbl) in rpcbs_rmtcall() argument
160 if ((rl->prog == prog) && (rl->vers == vers) && in rpcbs_rmtcall()
164 (rbl->rpcb_map.r_vers != vers)) in rpcbs_rmtcall()
182 rl->vers = vers; in rpcbs_rmtcall()
186 (rbl->rpcb_map.r_vers != vers)) { in rpcbs_rmtcall()
/netbsd-src/external/bsd/am-utils/dist/m4/
H A Dupdate_build_version7 vers=1
11 egrep AMU_BUILD_VERSION $file | while read a b vers
13 vers=`expr $vers + 1`
16 echo '#define AMU_BUILD_VERSION '$vers >> $file
21 echo '#define AMU_BUILD_VERSION '$vers >> $file
/netbsd-src/sys/fs/nfs/nlm/
H A Dnlm_advlock.c79 rpcvers_t vers, struct timeval *timo, int retries,
83 rpcvers_t vers, struct timeval *timo, int retries,
87 rpcvers_t vers, struct timeval *timo, int retries,
94 rpcvers_t vers, size_t fhlen, void *fh, off_t size,
210 rpcvers_t vers; in nlm_advlock_internal() local
236 vers = NLM_VERS4; in nlm_advlock_internal()
238 vers = NLM_VERS; in nlm_advlock_internal()
257 host = nlm_find_host_by_name(servername, sa, vers); in nlm_advlock_internal()
308 error = nlm_setlock(host, &ext, vers, &timo, retries, in nlm_advlock_internal()
313 error = nlm_clearlock(host, &ext, vers, &timo, in nlm_advlock_internal()
[all …]
/netbsd-src/usr.bin/rpcinfo/
H A Drpcinfo.c117 rpcvers_t vers; member
316 local_rpcb(rpcprog_t prog, rpcvers_t vers) argument
333 return clnt_vc_create(sock, &nbuf, prog, vers, 0, 0);
338 clnt_com_create(struct sockaddr_in *addr, rpcprog_t prog, rpcvers_t vers, argument
344 clnt = clnttcp_create(addr, UL(prog), UL(vers), fdp, 0, 0);
350 clnt = clntudp_create(addr, UL(prog), UL(vers), to, fdp);
354 if (vers == MIN_VERS)
359 (unsigned long)prog, (unsigned long)vers, m);
379 rpcprog_t prognum, vers, minvers, maxvers; local
394 vers = MIN_VERS;
[all …]
/netbsd-src/sys/conf/
H A Dnewvers.mk15 .if !target(vers.o)
16 newvers: vers.o
17 vers.o: ${SYSTEM_OBJ:O} Makefile $S/conf/newvers.sh \
19 ${_MKMSG_CREATE} vers.c
23 ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c
/netbsd-src/lib/libc/rpc/
H A Drpc_soc.c108 clnt_com_create(struct sockaddr_in *raddr, rpcprog_t prog, rpcvers_t vers, in clnt_com_create() argument
142 sport = pmap_getport(raddr, (u_long)prog, (u_long)vers, in clnt_com_create()
156 cl = clnt_tli_create(fd, nconf, &bindaddr, prog, vers, in clnt_com_create()
184 clntudp_bufcreate(struct sockaddr_in *raddr, u_long prog, u_long vers, struct timeval wait, int *so… in clntudp_bufcreate() argument
191 cl = clnt_com_create(raddr, (rpcprog_t)prog, (rpcvers_t)vers, sockp, in clntudp_bufcreate()
209 clnttcp_create(struct sockaddr_in *raddr, u_long prog, u_long vers, int *sockp, in clnttcp_create() argument
212 return clnt_com_create(raddr, (rpcprog_t)prog, (rpcvers_t)vers, sockp, in clnttcp_create()
217 clntraw_create(u_long prog, u_long vers) in clntraw_create() argument
219 return clnt_raw_create((rpcprog_t)prog, (rpcvers_t)vers); in clntraw_create()
407 u_long vers, /* version number */ in clnt_broadcast() argument
[all …]
H A Dclnt_generic.c155 rpcvers_t vers, /* version number */ in clnt_create() argument
181 clnt = clnt_tp_create(hostname, prog, vers, nconf); in clnt_create()
228 rpcvers_t vers, /* version number */ in clnt_tp_create() argument
245 if ((svcaddr = __rpcb_findaddr(prog, vers, nconf, hostname, in clnt_tp_create()
252 prog, vers, 0, 0); in clnt_tp_create()
267 (void) CLNT_CONTROL(cl, CLSET_VERS, (void *)&vers); in clnt_tp_create()
271 prog, vers, 0, 0); in clnt_tp_create()
296 rpcvers_t vers, /* version number */ in clnt_tli_create() argument
343 cl = clnt_vc_create(fd, svcaddr, prog, vers, sendsz, recvsz); in clnt_tli_create()
349 cl = clnt_dg_create(fd, svcaddr, prog, vers, sendsz, recvsz); in clnt_tli_create()
H A Dsvc.c248 svc_reg(SVCXPRT *xprt, const rpcprog_t prog, const rpcvers_t vers, in svc_reg() argument
280 if ((s = svc_find(prog, vers, &prev, netid)) != NULL) { in svc_reg()
305 s->sc_vers = vers; in svc_reg()
315 dummy = rpcb_set(prog, vers, __UNCONST(nconf), in svc_reg()
326 svc_unreg(const rpcprog_t prog, const rpcvers_t vers) in svc_unreg() argument
332 (void) rpcb_unset(prog, vers, NULL); in svc_unreg()
334 while ((s = svc_find(prog, vers, &prev, NULL)) != NULL) { in svc_unreg()
357 svc_register(SVCXPRT *xprt, u_long prog, u_long vers, in svc_register() argument
366 if ((s = svc_find((rpcprog_t)prog, (rpcvers_t)vers, &prev, NULL)) != in svc_register()
377 s->sc_vers = (rpcvers_t)vers; in svc_register()
[all …]
/netbsd-src/usr.bin/ktrace/
H A Dktrace.c84 int vers; in main() local
95 vers = 2; in main()
182 vers = atoi(optarg); in main()
227 (void)do_ktrace(outfile, vers, ops, trpoints, pid, block); in main()
241 if (do_ktrace(outfile, vers, ops, trpoints, getpid(), block) == 1) { in main()
246 (void)do_ktrace(outfile, vers, ops, trpoints, getpid(), block); in main()
251 (void)do_ktrace(outfile, vers, ops, trpoints, pid, block); in main()
321 do_ktrace(const char *tracefile, int vers, int ops, int trpoints, int pid, in do_ktrace() argument
325 ops |= vers << KTRFAC_VER_SHIFT; in do_ktrace()

12345678910>>...21