/dragonfly/sys/libprop/ |
H A D | prop_kern.c | 64 pref->pref_plist = buf; in _prop_object_externalize_to_pref() 127 struct plistref pref; in _prop_object_send_ioctl() local 187 if (pref->pref_len == 0) { in _prop_object_internalize_from_pref() 195 buf = pref->pref_plist; in _prop_object_internalize_from_pref() 289 struct plistref pref; in prop_array_recv_ioctl() local 291 rv = ioctl(fd, cmd, &pref); in prop_array_recv_ioctl() 312 struct plistref pref; in prop_dictionary_recv_ioctl() local 314 rv = ioctl(fd, cmd, &pref); in prop_dictionary_recv_ioctl() 336 struct plistref pref; in prop_dictionary_sendrecv_ioctl() local 399 error = copyin(pref->pref_plist, buf, pref->pref_len); in _prop_object_copyin() [all …]
|
/dragonfly/contrib/byacc/ |
H A D | mkpar.c | 231 action *p, *pref = 0; in remove_conflicts() local 244 pref = NULL; in remove_conflicts() 251 pref = p; in remove_conflicts() 259 StartBacktrack(pref); in remove_conflicts() 261 else if (pref != 0 && pref->action_code == SHIFT) in remove_conflicts() 267 pref->suppressed = 2; in remove_conflicts() 268 pref = p; in remove_conflicts() 276 pref->suppressed = 2; in remove_conflicts() 277 pref = p; in remove_conflicts() 285 pref->suppressed = 2; in remove_conflicts() [all …]
|
/dragonfly/usr.sbin/makefs/ffs/ |
H A D | ffs_balloc.c | 90 makefs_daddr_t newb, pref; in ffs_balloc_ufs1() local 210 pref = 0; in ffs_balloc_ufs1() 228 pref = ffs_blkpref_ufs1(ip, lbn, 0, (int32_t *)0); in ffs_balloc_ufs1() 229 error = ffs_alloc(ip, lbn, pref, (int)fs->fs_bsize, &newb); in ffs_balloc_ufs1() 267 if (pref == 0) in ffs_balloc_ufs1() 268 pref = ffs_blkpref_ufs1(ip, lbn, 0, (int32_t *)0); in ffs_balloc_ufs1() 342 daddr_t newb, pref, nb; in ffs_balloc_ufs2() local 462 pref = 0; in ffs_balloc_ufs2() 480 pref = ffs_blkpref_ufs2(ip, lbn, 0, (int64_t *)0); in ffs_balloc_ufs2() 519 if (pref == 0) in ffs_balloc_ufs2() [all …]
|
/dragonfly/libexec/dma/ |
H A D | dns.c | 56 v = ha->pref - hb->pref; in sort_pref() 66 add_host(int pref, const char *host, int port, struct mx_hostentry **he, size_t *ps) in add_host() argument 110 p->pref = pref; in add_host() 143 int pref; in dns_get_mx_list() local 203 pref = ns_get16(cp); in dns_get_mx_list() 210 err = add_host(pref, outname, port, &hosts, &nhosts); in dns_get_mx_list() 288 printf("%d\t%s\t%s\n", p->pref, p->host, p->addr); in main()
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | ira-build.c | 1187 ira_pref_t pref; in find_allocno_pref() local 1189 for (pref = ALLOCNO_PREFS (a); pref != NULL; pref = pref->next_pref) in find_allocno_pref() 1190 if (pref->allocno == a && pref->hard_regno == hard_regno) in find_allocno_pref() 1209 return pref; in ira_create_pref() 1246 ALLOCNO_NUM (pref->allocno), ALLOCNO_REGNO (pref->allocno), in print_pref() 1247 pref->hard_regno, pref->freq); in print_pref() 1282 for (pref = ALLOCNO_PREFS (a); pref != NULL; pref = pref->next_pref) in print_allocno_prefs() 1283 fprintf (f, " pref%d:hr%d@%d", pref->num, pref->hard_regno, pref->freq); in print_allocno_prefs() 1311 pref->num, pref->hard_regno, pref->freq); in ira_remove_pref() 1319 ALLOCNO_PREFS (pref->allocno) = pref->next_pref; in ira_remove_pref() [all …]
|
H A D | ira-costs.c | 92 static enum reg_class *pref; variable 709 if (pref) in record_reg_classes() 948 if (pref) in record_reg_classes() 1340 xconstraints, insn, pref); in record_operand_costs() 1344 constraints, insn, pref); in record_operand_costs() 1492 record_operand_costs (insn, pref); in scan_one_insn() 1651 pref = pref_buffer; in find_costs_and_classes() 1666 pref = NULL; in find_costs_and_classes() 1724 pref = pref_buffer; in find_costs_and_classes() 1919 pref[i] = (best_cost > i_mem_cost in find_costs_and_classes() [all …]
|
/dragonfly/sys/vfs/ext2fs/ |
H A D | ext2_balloc.c | 81 e2fs_daddr_t *bap, pref; in ext2_balloc() local 150 pref = 0; in ext2_balloc() 164 pref = ext2_blkpref(ip, lbn, indirs[0].in_off + in ext2_balloc() 166 if ((error = ext2_alloc(ip, lbn, pref, fs->e2fs_bsize, cred, in ext2_balloc() 207 if (pref == 0) in ext2_balloc() 208 pref = ext2_blkpref(ip, lbn, indirs[i].in_off, bap, in ext2_balloc() 210 error = ext2_alloc(ip, lbn, pref, (int)fs->e2fs_bsize, cred, &newb); in ext2_balloc() 251 pref = ext2_blkpref(ip, lbn, indirs[i].in_off, &bap[0], in ext2_balloc() 254 lbn, pref, (int)fs->e2fs_bsize, cred, &newb)) != 0) { in ext2_balloc()
|
/dragonfly/sys/vfs/ufs/ |
H A D | ffs_balloc.c | 78 ufs_daddr_t newb, *bap, pref; in ffs_balloc() local 218 pref = 0; in ffs_balloc() 251 pref = ffs_blkpref(ip, lbn, 0, NULL); in ffs_balloc() 257 if ((error = ffs_alloc(ip, lbn, pref, (int)fs->fs_bsize, in ffs_balloc() 305 if (pref == 0) in ffs_balloc() 306 pref = ffs_blkpref(ip, lbn, 0, NULL); in ffs_balloc() 308 ffs_alloc(ip, lbn, pref, (int)fs->fs_bsize, cred, &newb)) != 0) { in ffs_balloc() 362 pref = ffs_blkpref(ip, lbn, indirs[i].in_off, &bap[0]); in ffs_balloc() 364 lbn, pref, (int)fs->fs_bsize, cred, &newb); in ffs_balloc()
|
/dragonfly/contrib/gcc-4.7/libiberty/ |
H A D | stack-limit.c | 46 stack_limit_increase (unsigned long pref) in stack_limit_increase() argument 53 && rlim.rlim_cur < pref in stack_limit_increase() 56 rlim.rlim_cur = pref; in stack_limit_increase()
|
/dragonfly/contrib/binutils-2.27/libiberty/ |
H A D | stack-limit.c | 47 stack_limit_increase (unsigned long pref ATTRIBUTE_UNUSED) in stack_limit_increase() 54 && rlim.rlim_cur < pref in stack_limit_increase() 57 rlim.rlim_cur = pref; in stack_limit_increase()
|
/dragonfly/contrib/gdb-7/libiberty/ |
H A D | stack-limit.c | 47 stack_limit_increase (unsigned long pref ATTRIBUTE_UNUSED) in stack_limit_increase() 54 && rlim.rlim_cur < pref in stack_limit_increase() 57 rlim.rlim_cur = pref; in stack_limit_increase()
|
/dragonfly/contrib/binutils-2.34/libiberty/ |
H A D | stack-limit.c | 47 stack_limit_increase (unsigned long pref ATTRIBUTE_UNUSED) in stack_limit_increase() 54 && rlim.rlim_cur < pref in stack_limit_increase() 57 rlim.rlim_cur = pref; in stack_limit_increase()
|
/dragonfly/contrib/gcc-8.0/libiberty/ |
H A D | stack-limit.c | 47 stack_limit_increase (unsigned long pref ATTRIBUTE_UNUSED) in stack_limit_increase() 54 && rlim.rlim_cur < pref in stack_limit_increase() 57 rlim.rlim_cur = pref; in stack_limit_increase()
|
/dragonfly/sys/kern/ |
H A D | vfs_quota.c | 334 struct plistref pref; in sys_vquotactl() local 345 error = copyin(vqa->pref, &pref, sizeof(pref)); in sys_vquotactl() 346 error = prop_dictionary_copyin(&pref, &dict); in sys_vquotactl() 408 error = prop_dictionary_copyout(&pref, dict); in sys_vquotactl() 409 error = copyout(&pref, vqa->pref, sizeof(pref)); in sys_vquotactl()
|
/dragonfly/crypto/libressl/ssl/ |
H A D | t1_lib.c | 445 tls1_get_group_lists(const SSL *ssl, const uint16_t **pref, size_t *preflen, in tls1_get_group_lists() argument 455 tls1_get_group_list(ssl, (server_pref == 0), pref, preflen); in tls1_get_group_lists() 478 const uint16_t *pref, *supp; in tls1_count_shared_groups() local 480 if (!tls1_get_group_lists(ssl, &pref, &preflen, &supp, &supplen)) in tls1_count_shared_groups() 485 if (!tls1_group_id_present(pref[i], supp, supplen)) in tls1_count_shared_groups() 488 if (!ssl_security_shared_group(ssl, pref[i])) in tls1_count_shared_groups() 504 const uint16_t *pref, *supp; in tls1_group_by_index() local 506 if (!tls1_get_group_lists(ssl, &pref, &preflen, &supp, &supplen)) in tls1_group_by_index() 511 if (!tls1_group_id_present(pref[i], supp, supplen)) in tls1_group_by_index() 514 if (!ssl_security_fn(ssl, pref[i])) in tls1_group_by_index() [all …]
|
/dragonfly/sys/dev/misc/tbridge/ |
H A D | tbridge.c | 242 struct plistref *pref; in tbridge_dev_ioctl() local 249 pref = (struct plistref *)ap->a_data; in tbridge_dev_ioctl() 258 error = prop_dictionary_copyin_ioctl(pref, ap->a_cmd, in tbridge_dev_ioctl() 292 error = prop_dictionary_copyout_ioctl(pref, ap->a_cmd, in tbridge_dev_ioctl()
|
/dragonfly/sbin/routed/ |
H A D | rdisc.c | 559 n_long pref, /* signed and in network order */ in parse_ad() argument 590 pref = UNSIGN_PREF(ntohl(pref)); in parse_ad() 592 if (pref == 0 || life < MinMaxAdvertiseInterval) { in parse_ad() 593 pref = 0; in parse_ad() 617 || (pref > drp->dr_pref in parse_ad() 643 new_drp->dr_recv_pref = pref; in parse_ad() 645 new_drp->dr_pref = PREF(pref,ifp); in parse_ad() 779 n_long pref; in send_adv() local 794 pref = UNSIGN_PREF(ifp->int_rdisc_pref); in send_adv() 795 u.ad.icmp_ad_info[0].icmp_ad_pref = htonl(SIGN_PREF(PREF(pref, ifp))); in send_adv()
|
H A D | table.c | 277 char pref, in ag_check() argument 302 nc_ag.ag_pref = pref; in ag_check() 394 ag->ag_pref = pref; in ag_check() 436 && ag->ag_pref == pref in ag_check() 503 ag->ag_pref = pref; in ag_check() 504 pref = x; in ag_check() 587 nag->ag_pref = pref; in ag_check() 1367 char metric, pref; in walk_kern() local 1382 pref = 1; in walk_kern() 1401 pref = 0; in walk_kern() [all …]
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | ira-costs.c | 96 static enum reg_class *pref; variable 413 rtx insn, enum reg_class *pref) in record_reg_classes() argument 579 if (pref) in record_reg_classes() 847 if (pref) in record_reg_classes() 1271 xconstraints, insn, pref); in record_operand_costs() 1275 constraints, insn, pref); in record_operand_costs() 1338 record_operand_costs (insn, pref); in scan_one_insn() 1509 pref = pref_buffer; in find_costs_and_classes() 1524 pref = NULL; in find_costs_and_classes() 1582 pref = pref_buffer; in find_costs_and_classes() [all …]
|
/dragonfly/contrib/tcsh-6/ |
H A D | sh.exec.c | 361 char pref[2]; in texec() local 409 if ((nread = xread(fd, pref, 2)) == 2) { in texec() 410 if (!isprint((unsigned char)pref[0]) && in texec() 411 (pref[0] != '\n' && pref[0] != '\t')) { in texec() 434 pref[0] = '#'; in texec() 435 pref[1] = '\0'; in texec() 441 pref[0] != '#' || pref[1] != '!' || hashbang(fd, &vp) == -1) { in texec() 456 && pref[0] != '#' in texec()
|
/dragonfly/sys/vfs/nfs/ |
H A D | nfs_vfsops.c | 486 u_int32_t pref, max; in nfs_fsinfo() local 500 pref = fxdr_unsigned(u_int32_t, fsp->fs_wtpref); in nfs_fsinfo() 501 if (pref < nmp->nm_wsize && pref >= NFS_FABLKSIZE) in nfs_fsinfo() 502 nmp->nm_wsize = roundup2(pref, NFS_FABLKSIZE); in nfs_fsinfo() 509 pref = fxdr_unsigned(u_int32_t, fsp->fs_rtpref); in nfs_fsinfo() 510 if (pref < nmp->nm_rsize && pref >= NFS_FABLKSIZE) in nfs_fsinfo() 511 nmp->nm_rsize = roundup2(pref, NFS_FABLKSIZE); in nfs_fsinfo() 518 pref = fxdr_unsigned(u_int32_t, fsp->fs_dtpref); in nfs_fsinfo() 519 if (pref < nmp->nm_readdirsize && pref >= NFS_DIRBLKSIZ) in nfs_fsinfo() 520 nmp->nm_readdirsize = roundup2(pref, NFS_DIRBLKSIZ); in nfs_fsinfo()
|
/dragonfly/tools/tools/chkmoddeps/ |
H A D | chkdeps.rb | 45 minv, pref, maxv = vers 73 $stderr.puts "#{modname} depend #{depname} #{minv} #{pref} #{maxv} not found"
|
/dragonfly/usr.bin/top/ |
H A D | m_dragonfly.c | 170 static struct kinfo_proc **pref; variable 282 pref = NULL; in machine_init() 542 pref = (struct kinfo_proc **)realloc(pref, sizeof(struct kinfo_proc *) in get_process_info() 544 if (pref == NULL || pbase == NULL) { in get_process_info() 567 prefp = pref; in get_process_info() 667 qsort((char *)pref, active_procs, sizeof(struct kinfo_proc *), in get_process_info() 675 handle.next_proc = pref; in get_process_info() 1166 prefp = pref; in proc_owner()
|
/dragonfly/contrib/wpa_supplicant/src/ap/ |
H A D | mbo_ap.c | 49 info->pref = buf[len - 2]; in mbo_ap_parse_non_pref_chan() 78 MAC2STR(sta->addr), info->op_class, info->pref, in mbo_ap_parse_non_pref_chan() 136 count, info->op_class, info->pref, in mbo_ap_get_info()
|
/dragonfly/games/number/ |
H A D | number.c | 255 static const char *pref[] = { "", "ten-", "hundred-" }; in pfract() local 265 printf("%s%sths.\n", pref[len % 3], name3[len / 3]); in pfract()
|