| /freebsd/contrib/bmake/unit-tests/ |
| H A D | hanoi-include.exp | 1 Move the upper disk from stack A to stack C. 2 Move the upper disk from stack A to stack B. 3 Move the upper disk from stack C to stack B. 4 Move the upper disk from stack A to stack C. 5 Move the upper disk from stack B to stack A. 6 Move the upper disk from stack B to stack C. 7 Move the upper disk from stack A to stack C. 8 Move the upper disk from stack A to stack B. 9 Move the upper disk from stack C to stack B. 10 Move the upper disk from stack C to stack A. [all …]
|
| /freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc/ |
| H A D | tst.dofmax.ksh | 59 let upper=1 61 while enable $upper ; do 62 let lower=upper 63 let upper=upper+upper 64 echo success at $lower, raised to $upper 70 while [[ "$lower" -lt "$upper" ]]; do 71 let guess=$(((lower + upper) / 2)) 72 echo "lower is $lower; upper is $upper; guess is $guess\c" 75 if [[ $((upper - lower)) -le 2 ]]; then 76 let upper=guess [all …]
|
| /freebsd/tests/sys/fs/unionfs/ |
| H A D | unionfs_test.sh | 50 local upper=$1 53 atf_check mount -t unionfs ${upper} ${lower} 88 unionfs_mkfs upper 91 unionfs_mount upper lower 93 atf_check touch upper/file 94 atf_check mkdir upper/dir 99 atf_check test -f upper/dir/file 113 unionfs_mkfs upper 114 atf_check cp -p /usr/bin/true upper/upper 119 unionfs_mount upper lower [all …]
|
| /freebsd/sys/netgraph/ |
| H A D | ng_car.c | 85 struct hookinfo upper; /* hook to upper layers */ member 207 priv->upper.hook = NULL; in ng_car_constructor() 208 priv->upper.dest = NULL; in ng_car_constructor() 209 priv->upper.tc = priv->upper.conf.cbs = NG_CAR_CBS_MIN; in ng_car_constructor() 210 priv->upper.te = priv->upper.conf.ebs = NG_CAR_EBS_MIN; in ng_car_constructor() 211 priv->upper.conf.cir = NG_CAR_CIR_DFLT; in ng_car_constructor() 212 priv->upper.conf.green_action = NG_CAR_ACTION_FORWARD; in ng_car_constructor() 213 priv->upper.conf.yellow_action = NG_CAR_ACTION_FORWARD; in ng_car_constructor() 214 priv->upper.conf.red_action = NG_CAR_ACTION_DROP; in ng_car_constructor() 215 priv->upper.conf.mode = 0; in ng_car_constructor() [all …]
|
| H A D | ng_pipe.c | 36 * The node has two hooks, upper and lower. Traffic flowing from upper to 102 struct hookinfo upper; 274 bzero(&priv->upper, sizeof(priv->upper)); in ngp_newhook() 275 priv->upper.hook = hook; in ngp_newhook() 276 NG_HOOK_SET_PRIVATE(hook, &priv->upper); in ngp_newhook() 322 bcopy(&priv->upper.stats, &stats->downstream, in ngp_rcvmsg() 328 bzero(&priv->upper.stats, in ngp_rcvmsg() 329 sizeof(priv->upper in ngp_rcvmsg() 101 struct hookinfo upper; global() member [all...] |
| /freebsd/crypto/openssl/crypto/rand/ |
| H A D | rand_uniform.c | 25 uint32_t ossl_rand_uniform_uint32(OSSL_LIB_CTX *ctx, uint32_t upper, int *err) in ossl_rand_uniform_uint32() argument 33 if (!ossl_assert(upper > 0)) { in ossl_rand_uniform_uint32() 37 if (ossl_unlikely(upper == 1)) in ossl_rand_uniform_uint32() 56 prod = (uint64_t)upper * rand; in ossl_rand_uniform_uint32() 59 if (ossl_likely(f <= 1 + ~upper)) /* 1+~upper == -upper but compilers whine */ in ossl_rand_uniform_uint32() 81 prod = (uint64_t)upper * rand; in ossl_rand_uniform_uint32() 101 uint32_t ossl_rand_range_uint32(OSSL_LIB_CTX *ctx, uint32_t lower, uint32_t upper, in ossl_rand_range_uint32() argument 104 if (!ossl_assert(lower < upper)) { in ossl_rand_range_uint32() 108 return lower + ossl_rand_uniform_uint32(ctx, upper - lower, err); in ossl_rand_range_uint32()
|
| /freebsd/contrib/llvm-project/libc/src/__support/ |
| H A D | freetrie.h | 52 Node *upper; variable 74 LIBC_INLINE SizeRange upper() const { return {min + width / 2, width / 2}; } in upper() function 137 cur = &(*cur)->upper; in push() 138 cur_range = cur_range.upper(); in push() 146 node->lower = node->upper = nullptr; in push() 193 !cur->upper || in find_best_fit() 197 (best_fit && cur_range.upper().min >= best_fit->size()); in find_best_fit() 214 cur = cur->upper; in find_best_fit() 215 cur_range = cur_range.upper(); in find_best_fit() 225 cur_range.upper().max() < deferred_upper_range.min) && in find_best_fit() [all …]
|
| H A D | freetrie.cpp | 23 while (leaf->lower || leaf->upper) in remove() 24 leaf = leaf->lower ? leaf->lower : leaf->upper; in remove() 40 new_node->upper = node->upper; in remove() 50 node->parent->lower == node ? node->parent->lower : node->parent->upper; in replace_node() 60 if (node->upper) in replace_node() 61 node->upper->parent = new_node; in replace_node()
|
| /freebsd/sys/dev/isci/scil/ |
| H A D | sci_util.h | 106 U32 upper = sci_cb_physical_address_upper((physical_address)); \ 109 upper += 1; \ 112 sci_cb_make_physical_address(physical_address, upper, lower); \ 123 U32 upper = sci_cb_physical_address_upper((physical_address)); \ 126 upper -= 1; \ 129 sci_cb_make_physical_address(physical_address, upper, lower); \
|
| /freebsd/lib/libc/db/btree/ |
| H A D | bt_split.c | 104 h->linp[skip] = h->upper -= ilen; in __bt_split() 105 dest = (char *)h + h->upper; in __bt_split() 204 if ((u_int32_t)(h->upper - h->lower) < nbytes + sizeof(indx_t)) { in __bt_split() 223 h->linp[skip] = h->upper -= nbytes; in __bt_split() 229 h->linp[skip] = h->upper -= nbytes; in __bt_split() 254 h->linp[skip] = h->upper -= nbytes; in __bt_split() 272 h->linp[skip] = h->upper -= nbytes; in __bt_split() 346 r->upper = t->bt_psize; in bt_page() 382 l->upper = t->bt_psize; in bt_page() 450 l->upper = r->upper = t->bt_psize; in bt_root() [all …]
|
| /freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/btree/ |
| H A D | bt_split.c | 113 h->linp[skip] = h->upper -= ilen; in __bt_split() 114 dest = (char *)h + h->upper; in __bt_split() 213 if ((u_int32_t)h->upper - (u_int32_t)h->lower in __bt_split() 233 h->linp[skip] = h->upper -= nbytes; in __bt_split() 239 h->linp[skip] = h->upper -= nbytes; in __bt_split() 264 h->linp[skip] = h->upper -= nbytes; in __bt_split() 282 h->linp[skip] = h->upper -= nbytes; in __bt_split() 356 r->upper = t->bt_psize; in bt_page() 395 l->upper = t->bt_psize; in bt_page() 463 l->upper = r->upper = t->bt_psize; in bt_root() [all …]
|
| /freebsd/contrib/bsnmp/snmp_mibII/ |
| H A D | mibII_ifstack.c | 36 mib_ifstack_create(const struct mibif *lower, const struct mibif *upper) in mib_ifstack_create() argument 44 stack->index.subs[0] = upper ? upper->index : 0; in mib_ifstack_create() 55 mib_ifstack_delete(const struct mibif *lower, const struct mibif *upper) in mib_ifstack_delete() argument 60 if (stack->index.subs[0] == (upper ? upper->index : 0) && in mib_ifstack_delete()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
| H A D | LVRange.cpp | 33 << hexValue(RangeEntry.upper()) << "]\n"; in startSearch() 36 RangesTree.insert(RangeEntry.lower(), RangeEntry.upper(), in startSearch() 112 if (LowerAddress >= RangeEntry.lower() && UpperAddress < RangeEntry.upper()) in getEntry() 121 UpperAddress == RangeEntry.upper()) in hasEntry() 136 return lhs.upper() < rhs.upper(); in sort() 153 OS << format("[0x%08x,0x%08x] ", RangeEntry.lower(), RangeEntry.upper()) in print()
|
| /freebsd/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_sched.cpp | 598 T upper = *pupper; in __kmp_dist_for_static_init() local 608 *plastiter = *plower <= upper && *pupperDist > upper - incr; in __kmp_dist_for_static_init() 609 if (*pupperDist > upper) in __kmp_dist_for_static_init() 610 *pupperDist = upper; // tracker C73258 in __kmp_dist_for_static_init() 619 *plastiter = *plower >= upper && *pupperDist < upper - incr; in __kmp_dist_for_static_init() 620 if (*pupperDist < upper) in __kmp_dist_for_static_init() 621 *pupperDist = upper; // tracker C73258 in __kmp_dist_for_static_init() 669 T upper = *pupperDist; in __kmp_dist_for_static_init() local 679 !(*plower <= upper && *pupper > upper - incr)) in __kmp_dist_for_static_init() 681 if (*pupper > upper) in __kmp_dist_for_static_init() [all …]
|
| /freebsd/contrib/unbound/util/ |
| H A D | timehist.c | 80 hist->buckets[i].upper = last; in dosetup() 122 if(timeval_smaller(tv, &hist->buckets[i].upper)) { in timehist_insert() 140 (int)hist->buckets[i].upper.tv_sec, in timehist_print() 141 (int)hist->buckets[i].upper.tv_usec, in timehist_print() 163 (int)hist->buckets[i].upper.tv_sec, in timehist_log() 164 (int)hist->buckets[i].upper.tv_usec, in timehist_log() 204 up = (double)hist->buckets[i].upper.tv_sec + in timehist_quartile() 205 (double)hist->buckets[i].upper.tv_usec/1000000.; in timehist_quartile()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/ |
| H A D | ARMTargetDefEmitter.cpp | 122 auto AEK = Rec->getValueAsString("ArchExtKindSpelling").upper(); in emitARMTargetDef() 134 auto AEK = Rec->getValueAsString("ArchExtKindSpelling").upper(); in emitARMTargetDef() 169 OS << ", " << FeatRec->getValueAsString("ArchExtKindSpelling").upper(); in emitARMTargetDef() 184 auto LaterAEK = Rec->getValueAsString("ArchExtKindSpelling").upper(); in emitARMTargetDef() 187 OS << " {" << EarlierAEK->upper() << ", " << LaterAEK << "},\n"; in emitARMTargetDef() 204 return Minor == 0 ? "ARMV" + std::to_string(Major) + Profile.upper() in emitARMTargetDef() 206 std::to_string(Minor) + Profile.upper(); in emitARMTargetDef() 215 const std::string ProfileUpper = Rec->getValueAsString("Profile").upper(); in emitARMTargetDef() 244 OS << "AArch64::" << E->getValueAsString("ArchExtKindSpelling").upper() in emitARMTargetDef() 344 const auto AEK = E->getValueAsString("ArchExtKindSpelling").upper(); in emitARMTargetDef()
|
| /freebsd/contrib/bearssl/T0/ |
| H A D | CPU.cs | 82 rsp = rsp.upper; in Exit() 170 internal Frame upper; field in CPU.Frame 175 internal Frame(Frame upper, int numLocals) in Frame() argument 177 this.upper = upper; in Frame()
|
| /freebsd/usr.sbin/bsdinstall/scripts/ |
| H A D | docsinstall | 93 local lang desc upper status 100 upper=$( echo "$lang" | awk '{print toupper($0)}' ) 102 en) f_getvar DIST_DOC_$upper:-on status ;; 103 *) f_getvar DIST_DOC_$upper:-off status
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/JITLoader/GDB/ |
| H A D | JITLoaderGDB.cpp | 239 uint64_t upper = 0; in updateSectionLoadAddress() local 242 vmaddrheuristic, lower, upper); in updateSectionLoadAddress() 245 if (upper > max_addr) in updateSectionLoadAddress() 246 max_addr = upper; in updateSectionLoadAddress() 250 section_sp->SetByteSize(upper - lower); in updateSectionLoadAddress() 262 uint64_t upper = lower + section_sp->GetByteSize(); in updateSectionLoadAddress() local 265 if (upper > max_addr) in updateSectionLoadAddress() 266 max_addr = upper; in updateSectionLoadAddress() 347 uint64_t upper = 0; in ReadJITDescriptorImpl() local 350 upper); in ReadJITDescriptorImpl()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Process/POSIX/ |
| H A D | CrashReason.cpp | 17 std::optional<lldb::addr_t> upper = in GetCrashReasonString() local 21 std::optional<lldb::addr_t> upper; in GetCrashReasonString() 27 reinterpret_cast<uintptr_t>(info.si_addr), lower, upper); in GetCrashReasonString()
|
| /freebsd/crypto/libecc/scripts/ |
| H A D | expand_libecc.py | 1082 … test_name = sig_alg_name + "_" + hashfunc_name + "_" + curve.name.upper() + "_" + str(test_num) 1091 out_vectors += "#ifdef WITH_HASH_"+hashfunc_name.upper()+"\n" 1092 out_vectors += "#ifdef WITH_CURVE_"+curve.name.upper()+"\n" 1093 out_vectors += "#ifdef WITH_SIG_"+sig_alg_name.upper()+"\n" 1121 out_name += "#ifdef WITH_HASH_"+hashfunc_name.upper()+"/* For "+test_name+" */\n" 1122 out_name += "#ifdef WITH_CURVE_"+curve.name.upper()+"/* For "+test_name+" */\n" 1123 out_name += "#ifdef WITH_SIG_"+sig_alg_name.upper()+"/* For "+test_name+" */\n" 1140 out_vectors += "#ifdef WITH_HASH_"+hashfunc_name.upper()+"\n" 1141 out_vectors += "#ifdef WITH_CURVE_"+curve.name.upper()+"\n" 1142 out_vectors += "#ifdef WITH_SIG_"+sig_alg_name.upper()+"\n" [all …]
|
| /freebsd/contrib/sendmail/libsm/ |
| H A D | mpeix.c | 268 char *upper; local 277 if ((upper = (char *)malloc(i + 1)) != NULL) 285 upper[i] = '.'; 288 upper[i] = toupper(name[i]); 297 else if ((result = getpwnam(upper)) != NULL) 308 free(upper);
|
| /freebsd/sys/dev/e1000/ |
| H A D | em_txrx.c | 107 status = txr->tx_base[cur].upper.fields.status; in em_dump_rs() 120 if (txr->tx_base[i].upper.fields.status & in em_dump_rs() 415 ctxd->upper.data = htole32(txd_upper); in em_isc_txd_encap() 425 ctxd->upper.data = htole32(txd_upper); in em_isc_txd_encap() 435 ctxd->upper.data = htole32(txd_upper); in em_isc_txd_encap() 500 status = txr->tx_base[cur].upper.fields.status; in em_isc_txd_credits_update() 530 status = txr->tx_base[cur].upper.fields.status; in em_isc_txd_credits_update() 588 rxd->wb.upper.status_error = 0; in em_isc_rxd_refill() 644 staterr = le32toh(rxd->wb.upper.status_error); in em_isc_rxd_available() 740 staterr = le32toh(rxd->wb.upper.status_error); in em_isc_rxd_pkt_get() [all …]
|
| /freebsd/stand/libsa/ |
| H A D | printf.c | 51 static char *ksprintn (char *buf, uintmax_t num, int base, int *len, int upper); 196 ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper) in ksprintn() argument 204 *++p = upper ? toupper(c) : c; in ksprintn() 260 int dwidth, upper; in kvprintf() local 289 sign = 0; dot = 0; dwidth = 0; upper = 0; in kvprintf() 463 upper = 1; in kvprintf() 515 p = ksprintn(nbuf, num, base, &n, upper); in kvprintf()
|
| /freebsd/crypto/openssl/crypto/ffc/ |
| H A D | ffc_key_validate.c | 102 int ossl_ffc_validate_private_key(const BIGNUM *upper, const BIGNUM *priv, in ossl_ffc_validate_private_key() argument 109 if (priv == NULL || upper == NULL) { in ossl_ffc_validate_private_key() 117 if (BN_cmp(priv, upper) >= 0) { in ossl_ffc_validate_private_key()
|