| /dragonfly/sys/libprop/ |
| HD | prop_kern.c | 45 _prop_object_externalize_to_pref(prop_object_t obj, struct plistref *pref, in _prop_object_externalize_to_pref() argument 64 pref->pref_plist = buf; in _prop_object_externalize_to_pref() 65 pref->pref_len = strlen(buf) + 1; in _prop_object_externalize_to_pref() 127 struct plistref pref; in _prop_object_send_ioctl() local 131 error = _prop_object_externalize_to_pref(obj, &pref, &buf); in _prop_object_send_ioctl() 135 if (ioctl(fd, cmd, &pref) == -1) in _prop_object_send_ioctl() 180 _prop_object_internalize_from_pref(const struct plistref *pref, in _prop_object_internalize_from_pref() argument 187 if (pref->pref_len == 0) { in _prop_object_internalize_from_pref() 195 buf = pref->pref_plist; in _prop_object_internalize_from_pref() 196 buf[pref->pref_len - 1] = '\0'; /* extra insurance */ in _prop_object_internalize_from_pref() [all …]
|
| /dragonfly/contrib/byacc/ |
| HD | 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() 263 if (pref->prec > 0 && p->prec > 0) in remove_conflicts() 265 if (pref->prec < p->prec) in remove_conflicts() 267 pref->suppressed = 2; in remove_conflicts() 268 pref = p; in remove_conflicts() 270 else if (pref->prec > p->prec) in remove_conflicts() [all …]
|
| /dragonfly/usr.sbin/makefs/ffs/ |
| HD | 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() 269 error = ffs_alloc(ip, lbn, pref, (int)fs->fs_bsize, &newb); in ffs_balloc_ufs1() 298 pref = ffs_blkpref_ufs1(ip, lbn, indirs[num].in_off, &bap[0]); in ffs_balloc_ufs1() 299 error = ffs_alloc(ip, lbn, pref, (int)fs->fs_bsize, &newb); in ffs_balloc_ufs1() 342 daddr_t newb, pref, nb; in ffs_balloc_ufs2() local [all …]
|
| /dragonfly/libexec/dma/ |
| HD | 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/ |
| HD | 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() 1191 return pref; in find_allocno_pref() 1199 ira_pref_t pref; in ira_create_pref() local 1201 pref = pref_pool.allocate (); in ira_create_pref() 1202 pref->num = ira_prefs_num; in ira_create_pref() 1203 pref->allocno = a; in ira_create_pref() 1204 pref->hard_regno = hard_regno; in ira_create_pref() 1205 pref->freq = freq; in ira_create_pref() [all …]
|
| HD | ira-costs.c | 92 static enum reg_class *pref; variable 504 rtx_insn *insn, enum reg_class *pref) in record_reg_classes() argument 709 if (pref) in record_reg_classes() 711 enum reg_class pref_class = pref[COST_INDEX (REGNO (op))]; in record_reg_classes() 948 if (pref) in record_reg_classes() 950 enum reg_class pref_class = pref[COST_INDEX (REGNO (op))]; in record_reg_classes() 1282 record_operand_costs (rtx_insn *insn, enum reg_class *pref) in record_operand_costs() argument 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() [all …]
|
| /dragonfly/sys/vfs/ext2fs/ |
| HD | 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/ |
| HD | 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/ |
| HD | 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.34/libiberty/ |
| HD | 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/ |
| HD | 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.27/libiberty/ |
| HD | 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/ |
| HD | 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/ |
| HD | 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/ |
| HD | 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/ |
| HD | 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/ |
| HD | 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()
|
| HD | table.c | 277 char pref, in ag_check() argument 302 nc_ag.ag_pref = pref; in ag_check() 389 if (pref <= ag->ag_pref) { in ag_check() 394 ag->ag_pref = pref; in ag_check() 436 && ag->ag_pref == pref in ag_check() 464 } else if (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 [all …]
|
| /dragonfly/usr.bin/diff/ |
| HD | diffreg.c | 215 static int pref, suff; /* length of prefix and suffix */ variable 528 for (pref = 0; pref < len[0] && pref < len[1] && in prune() 529 file[0][pref + 1].value == file[1][pref + 1].value; in prune() 530 pref++) in prune() 532 for (suff = 0; suff < len[0] - pref && suff < len[1] - pref && in prune() 537 sfile[j] = file[j] + pref; in prune() 538 slen[j] = len[j] - pref - suff; in prune() 686 J[i] = i <= pref ? i : in unravel() 689 J[q->x + pref] = q->y + pref; in unravel()
|
| /dragonfly/contrib/gcc-4.7/gcc/ |
| HD | 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() 581 enum reg_class pref_class = pref[COST_INDEX (REGNO (op))]; in record_reg_classes() 847 if (pref) in record_reg_classes() 849 enum reg_class pref_class = pref[COST_INDEX (REGNO (op))]; in record_reg_classes() 1216 record_operand_costs (rtx insn, enum reg_class *pref) in record_operand_costs() argument 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() [all …]
|
| /dragonfly/contrib/tcsh-6/ |
| HD | 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/ |
| HD | 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/ |
| HD | chkdeps.rb | 45 minv, pref, maxv = vers 73 $stderr.puts "#{modname} depend #{depname} #{minv} #{pref} #{maxv} not found"
|
| /dragonfly/usr.bin/top/ |
| HD | 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/ |
| HD | 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()
|