/netbsd/external/gpl2/xcvs/dist/src/ |
H A D | classify.c | 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() 134 RCS_isdead (vers->srcfile, vers->vn_rcs)) in Classify_File() 181 || RCS_isdead (vers->srcfile, vers->vn_rcs)) in Classify_File() 229 if (vers->vn_rcs == NULL || RCS_isdead (vers->srcfile, vers->vn_rcs)) in Classify_File() 241 else if (strcmp (vers->ts_user, vers->ts_rcs) in Classify_File() 291 ? vers->ts_conflict : vers->ts_rcs)) in Classify_File() 412 if (aflag || vers->tag || vers->date) in sticky_ck() 423 vers->options, vers->tag, vers->date, vers->ts_conflict); in sticky_ck() [all …]
|
H A D | diff.c | 564 : RCS_branch_head (vers->srcfile, vers->vn_rcs)); in diff_fileproc() 592 else if (vers->vn_user[0] == '0' && vers->vn_user[1] == '\0') in diff_fileproc() 609 : RCS_branch_head (vers->srcfile, vers->vn_rcs)); in diff_fileproc() 661 if (!vers->vn_rcs && !vers->srcfile) in diff_fileproc() 674 else if (!strcmp (vers->ts_user, vers->ts_rcs)) in diff_fileproc() 985 if (vers->vn_rcs != NULL && vers->srcfile != NULL) in diff_file_nodiff() 986 use_rev1 = RCS_branch_head (vers->srcfile, vers->vn_rcs); in diff_file_nodiff() 1001 if (vers->vn_rcs && vers->srcfile) in diff_file_nodiff() 1002 use_rev2 = RCS_branch_head (vers->srcfile, vers->vn_rcs); in diff_file_nodiff() 1175 && strcmp (vers->ts_rcs, vers->ts_user) == 0 in diff_file_nodiff() [all …]
|
H A D | add.c | 65 Vers_TS *vers; in add() local 383 if (vers->options == NULL || *vers->options == '\0') in add() 401 vers->tag); in add() 434 if (vers->tag) in add() 455 else if (RCS_isdead (vers->srcfile, vers->vn_rcs)) in add() 545 vers->tag); in add() 557 vers->options, vers->tag, vers->date, NULL); in add() 593 else if (vers->vn_user[0] == '0' && vers->vn_user[1] == '\0') in add() 633 vers->vn_user, vers->tag, in add() 657 vers->tag, vers->date, NULL); in add() [all …]
|
H A D | no_diff.c | 28 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 D | update.c | 1916 "Result of merge", vers->options, vers->tag, vers->date, cp); in RegisterMerge() 2013 vers->options, vers->vn_user, vers->vn_rcs); in merge_file() 2035 vers->vn_user = xstrdup (vers->vn_rcs); in merge_file() 2112 vers->tag ? vers->tag : "", in join_file() 2114 vers->vn_rcs ? vers->vn_rcs : "", in join_file() 2224 || RCS_isdead (vers->srcfile, vers->vn_user)) in join_file() 2238 && strcmp (vers->ts_user, vers->ts_rcs) != 0)) in join_file() 2306 vers->options, vers->tag, vers->date, vers->ts_conflict); in join_file() 2342 && strcmp (vers->ts_user, vers->ts_rcs) == 0 in join_file() 2442 vers->vn_user, vers->tag, in join_file() [all …]
|
H A D | remove.c | 161 Vers_TS *vers; in remove_fileproc() local 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() 268 vers->options, vers->tag, vers->date, vers->ts_conflict); in remove_fileproc() [all …]
|
H A D | status.c | 128 Vers_TS *vers; in status_fileproc() local 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() 254 if (vers->vn_rcs == NULL) in status_fileproc() 259 cvs_output (vers->vn_rcs, 0); in status_fileproc() 264 node = findnode(vers->srcfile->versions,vers->vn_rcs); in status_fileproc() 279 if (vers->entdata) in status_fileproc() 283 edata = vers->entdata; in status_fileproc() 286 if (vers->vn_rcs == NULL) in status_fileproc() [all …]
|
H A D | checkin.c | 33 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 D | commit.c | 219 Vers_TS *vers; in find_fileproc() local 250 freevers_ts (&vers); in find_fileproc() 287 freevers_ts (&vers); in find_fileproc() 291 && (args->force || strcmp (vers->ts_user, vers->ts_rcs) != 0)) in find_fileproc() 301 freevers_ts (&vers); in find_fileproc() 743 freevers_ts (vers); in classify_file_internal() 810 Vers_TS *vers; in check_fileproc() local 876 if (vers->date) in check_fileproc() 927 if (vers->tag && isdigit ((unsigned char) *vers->tag)) in check_fileproc() 1064 if (vers->tag) in check_fileproc() [all …]
|
H A D | ls.c | 341 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() 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() 420 out->footer = Xasprintf (" %-9.9s%s %s%s", vers->vn_rcs, in ls_fileproc() [all …]
|
H A D | tag.c | 605 Vers_TS *vers; in check_fileproc() local 633 freevers_ts (&vers); in check_fileproc() 667 if (vers->srcfile == NULL) in check_fileproc() 671 freevers_ts (&vers); in check_fileproc() 683 ti->rev = xstrdup (vers->vn_user); in check_fileproc() 723 freevers_ts (&vers); in check_fileproc() 1226 Vers_TS *vers; in tag_fileproc() local 1282 symtag, vers->srcfile->path, in tag_fileproc() 1293 vers->srcfile->path); in tag_fileproc() 1315 version = vers->vn_user; in tag_fileproc() [all …]
|
/netbsd/usr.bin/rpcgen/ |
H A D | rpc_hout.c | 173 version_list *vers; in pargdef() local 179 for (vers = def->def.pr.versions; vers != NULL; vers = vers->next) { in pargdef() 195 for (vers = def->def.pr.versions; vers != NULL; vers = vers->next) { in pargdef() 272 version_list *vers; in define_printed() local 275 for (vers = start; vers != NULL; vers = vers->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() 320 locase(def->def_name), vers->vers_num); in pprogramdef() 324 puldefine(vers->vers_name, vers->vers_num); in pprogramdef() 338 for (vers = def->def.pr.versions; vers != NULL; vers = vers->next) { in pprogramdef() [all …]
|
/netbsd/sys/arch/powerpc/oea/ |
H A D | cpu_subr.c | 284 if ((vers >= IBMRS64II && vers <= IBM970GX) || vers == MPC620 || in cpu_features_probe() 285 vers == IBMCELL || vers == IBMPOWER6P5) { in cpu_features_probe() 305 } else if (vers == IBM750FX || vers == IBM750GX) { in cpu_features_probe() 415 switch (vers) { in cpu_probe_cache() 599 switch (vers) { in cpu_setup() 674 switch (vers) { in cpu_setup() 686 switch (vers) { in cpu_setup() 706 switch (vers) { in cpu_setup() 823 if (vers == MPC750 || vers == IBM750FX || vers == IBM750GX) in cpu_setup() 916 cpu = vers; in cpu_identify() [all …]
|
/netbsd/sys/lib/libsa/ |
H A D | rpc.c | 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 340 pl->prog == prog && pl->vers == vers ) in rpc_pmap_getcache() 375 pl->vers = vers; in rpc_pmap_putcache() 390 n_long vers; /* call version */ in rpc_getport() member 425 args->vers = htonl(vers); in rpc_getport() [all …]
|
/netbsd/external/bsd/am-utils/dist/amd/ |
H A D | get_args.c | 68 char *vers = NULL; in get_version_string() local 83 vers = xmalloc(len); 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() 112 xstrlcat(vers, tmpbuf, len); in get_version_string() [all …]
|
/netbsd/usr.sbin/rpcbind/ |
H A D | rpcb_stat.c | 103 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/external/bsd/am-utils/dist/m4/ |
H A D | update_build_version | 7 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/sys/fs/nfs/nlm/ |
H A D | nlm_advlock.c | 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() 313 error = nlm_clearlock(host, &ext, vers, &timo, in nlm_advlock_internal() 325 error = nlm_setlock(host, &ext, vers, in nlm_advlock_internal() 571 if (vers == NLM_VERS4) { in nlm_test_rpc() 602 if (vers == NLM_VERS4) { in nlm_lock_rpc() 631 if (vers == NLM_VERS4) { in nlm_cancel_rpc() 658 if (vers == NLM_VERS4) { in nlm_unlock_rpc() 878 stat = nlm_cancel_rpc(vers, &cancel, in nlm_setlock() [all …]
|
/netbsd/usr.bin/rpcinfo/ |
H A D | rpcinfo.c | 117 rpcvers_t vers; member 354 if (vers == MIN_VERS) 394 vers = MIN_VERS; 448 for (vers = minvers; vers <= maxvers; vers++) { 628 rpcvers_t vers; local 648 if (vl->vers == vers) 655 vl->vers = vers; 727 int vers; local 731 vers = RPCBVERS4; 745 vers = PMAPVERS; [all …]
|
/netbsd/sys/conf/ |
H A D | newvers.mk | 15 .if !target(vers.o) 16 newvers: vers.o 17 vers.o: ${SYSTEM_OBJ:O} Makefile $S/conf/newvers.sh \ 19 ${_MKMSG_CREATE} vers.c 22 ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c
|
/netbsd/lib/libc/rpc/ |
H A D | rpc_soc.c | 112 clnt_com_create(struct sockaddr_in *raddr, rpcprog_t prog, rpcvers_t vers, in clnt_com_create() argument 146 sport = pmap_getport(raddr, (u_long)prog, (u_long)vers, in clnt_com_create() 160 cl = clnt_tli_create(fd, nconf, &bindaddr, prog, vers, in clnt_com_create() 188 clntudp_bufcreate(struct sockaddr_in *raddr, u_long prog, u_long vers, struct timeval wait, int *so… in clntudp_bufcreate() argument 195 cl = clnt_com_create(raddr, (rpcprog_t)prog, (rpcvers_t)vers, sockp, in clntudp_bufcreate() 213 clnttcp_create(struct sockaddr_in *raddr, u_long prog, u_long vers, int *sockp, in clnttcp_create() argument 216 return clnt_com_create(raddr, (rpcprog_t)prog, (rpcvers_t)vers, sockp, in clnttcp_create() 221 clntraw_create(u_long prog, u_long vers) in clntraw_create() argument 223 return clnt_raw_create((rpcprog_t)prog, (rpcvers_t)vers); in clntraw_create() 411 u_long vers, /* version number */ in clnt_broadcast() argument [all …]
|
H A D | clnt_generic.c | 155 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 D | svc.c | 285 if ((s = svc_find(prog, vers, &prev, netid)) != NULL) { in svc_reg() 310 s->sc_vers = vers; in svc_reg() 320 dummy = rpcb_set(prog, vers, __UNCONST(nconf), in svc_reg() 331 svc_unreg(const rpcprog_t prog, const rpcvers_t vers) in svc_unreg() argument 337 (void) rpcb_unset(prog, vers, NULL); in svc_unreg() 362 svc_register(SVCXPRT *xprt, u_long prog, u_long vers, in svc_register() argument 382 s->sc_vers = (rpcvers_t)vers; in svc_register() 389 return (pmap_set(prog, vers, protocol, xprt->xp_port)); in svc_register() 398 svc_unregister(u_long prog, u_long vers) in svc_unregister() argument 414 (void)pmap_unset(prog, vers); in svc_unregister() [all …]
|
/netbsd/usr.bin/ktrace/ |
H A D | ktrace.c | 84 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()
|
/netbsd/lib/libcurses/ |
H A D | genfileioh.awk | 32 function mangle_vers(vers) { 33 sub("^.*\\$NetBSD", "NetBSD", vers); 34 sub("\\$[^$]*$", "", vers); 35 return vers;
|