Home
last modified time | relevance | path

Searched refs:distance (Results 1 – 25 of 400) sorted by relevance

12345678910>>...16

/openbsd/src/games/hunt/hunt/
Dotto.c110 int distance; member
205 if (itemp->distance == -1) { in stop_look()
206 itemp->distance = dist; in stop_look()
220 if (itemp->distance == -1 || (!side in stop_look()
223 itemp->distance = dist; in stop_look()
237 itemp->distance = dist; in stop_look()
250 if (itemp->distance == -1) { in stop_look()
251 itemp->distance = dist; in stop_look()
266 itemp->distance = -1; in ottolook()
287 for (r = row - 1; r > row - itemp->distance; r--) in ottolook()
[all …]
/openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.mike/
Dp9732a.C21 int distance();
27 int euler::distance() { in distance() function
35 return e.distance(); in main()
/openbsd/src/sys/lib/libz/
Ddeflate.h341 # define _tr_tally_dist(s, distance, length, flush) \ argument
343 ush dist = (ush)(distance); \
360 # define _tr_tally_dist(s, distance, length, flush) \ argument
362 ush dist = (ush)(distance); \
374 # define _tr_tally_dist(s, distance, length, flush) \ argument
375 flush = _tr_tally(s, distance, length)
/openbsd/src/lib/libz/
Ddeflate.h341 # define _tr_tally_dist(s, distance, length, flush) \ argument
343 ush dist = (ush)(distance); \
360 # define _tr_tally_dist(s, distance, length, flush) \ argument
362 ush dist = (ush)(distance); \
374 # define _tr_tally_dist(s, distance, length, flush) \ argument
375 flush = _tr_tally(s, distance, length)
/openbsd/src/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/zlib-src/
Ddeflate.h340 # define _tr_tally_dist(s, distance, length, flush) \ argument
342 ush dist = (ush)(distance); \
359 # define _tr_tally_dist(s, distance, length, flush) \ argument
361 ush dist = (ush)(distance); \
373 # define _tr_tally_dist(s, distance, length, flush) \ argument
374 flush = _tr_tally(s, distance, length)
/openbsd/src/gnu/gcc/gcc/
Dddg.c154 int latency, distance = 0; in create_ddg_dependence() local
164 distance = 1; in create_ddg_dependence()
175 e = create_ddg_edge (src_node, dest_node, t, dt, latency, distance); in create_ddg_dependence()
199 dep_type d_t, dep_data_type d_dt, int distance) in create_ddg_dep_no_link() argument
213 e = create_ddg_edge (from, to, d_t, d_dt, l, distance); in create_ddg_dep_no_link()
214 if (distance > 0) in create_ddg_dep_no_link()
564 dep_c, e->latency, e->distance, INSN_UID (e->dest->insn)); in print_ddg_edge()
611 if (e->distance > 0) in vcg_print_ddg()
618 fprintf (file, "label: \"%d_%d\"}\n", e->latency, e->distance); in vcg_print_ddg()
636 e->distance = d; in create_ddg_edge()
[all …]
/openbsd/src/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/pat_trie_/
Dsplit_fn_imps.hpp79 other.m_size = std::distance(other.PB_DS_CLASS_C_DEC::begin(), in split()
160 std::distance(p_internal_nd->begin(), child_it) + 1; in rec_split()
165 std::distance(p_internal_nd->begin(), p_internal_nd->end()) - in rec_split()
187 _GLIBCXX_DEBUG_ASSERT(std::distance(p_internal_nd->begin(), in rec_split()
190 if (std::distance(p_internal_nd->begin(), p_internal_nd->end()) > 1) in rec_split()
Dinternal_node.hpp238 if (static_cast<size_t>(std::distance(b_it, e_it)) <= m_e_ind) in get_pref_pos()
493 const size_type num_es = std::distance(b_it, e_it); in should_be_mine()
536 const size_type num_children = std::distance(begin(), end()); in rightmost_descendant()
582 … _GLIBCXX_DEBUG_ASSERT(static_cast<size_type>(std::distance(pref_b_it(), pref_e_it())) == m_e_ind); in assert_valid_imp()
583 _GLIBCXX_DEBUG_ASSERT(std::distance(begin(), end()) >= 2); in assert_valid_imp()
592 …_GLIBCXX_DEBUG_ASSERT(static_cast<size_type>(std::distance(child_ret.first, child_ret.second)) >= … in assert_valid_imp()
Derase_fn_imps.hpp77 _GLIBCXX_DEBUG_ASSERT(std::distance(p_nd->begin(), p_nd->end()) >= 1); in erase_fixup()
78 if (std::distance(p_nd->begin(), p_nd->end()) == 1) in erase_fixup()
106 _GLIBCXX_DEBUG_ASSERT(std::distance(p_nd->begin(), p_nd->end()) > 1); in erase_fixup()
/openbsd/src/games/sail/
Dmisc.c46 #define distance(x,y) (abs(x) >= abs(y) ? abs(x) + abs(y)/2 : abs(y) + abs(x)/2) macro
62 result = bb = distance(bow2r - bow1r, bow2c - bow1c); in range()
68 bs = distance((bow2r - stern1r), (bow2c - stern1c)); in range()
69 sb = distance((bow1r - stern2r), (bow1c - stern2c)); in range()
70 ss = distance((stern2r - stern1r) ,(stern2c - stern1c)); in range()
/openbsd/src/sys/dev/usb/
Duwacom.c232 int i, j, x, y, dx, dy, dz, dw, pressure, distance; in uwacom_intr() local
240 distance = hid_get_data(data, len, &ms->sc_loc_w); in uwacom_intr()
246 sc->sc_w = distance; in uwacom_intr()
254 dw = sc->sc_w - distance; in uwacom_intr()
259 sc->sc_w = distance; in uwacom_intr()
274 if (x != 0 || y != 0 || pressure != 0 || distance != 0 || in uwacom_intr()
/openbsd/src/gnu/lib/libstdc++/libstdc++/testsuite/23_containers/
Ddeque_ctor.cc134 VERIFY(0 == std::distance(u.begin(), u.end())); in defaultConstructorCheckPOD()
156 VERIFY(0 == std::distance(u.begin(), u.end())); in defaultConstructorCheck()
196 VERIFY(copyBaseSize == std::distance(a.begin(), a.end())); in copyConstructorCheck()
284 X::size_type rangeSize = std::distance(i, j); in rangeConstructorCheckForwardIterator()
413 X::size_type rangeSize = std::distance(i, j); in rangeAssignmentCheck()
/openbsd/src/usr.sbin/eigrpd/
Drde_dual.c285 route->distance, route->rdistance); in route_new()
367 uint64_t distance; in route_composite_metric() local
381 distance = (uint64_t) operand1 + (uint64_t) operand2 + in route_composite_metric()
388 distance *= operand4; in route_composite_metric()
392 if (distance >> 32) in route_composite_metric()
393 distance = ((uint32_t )(~0)); in route_composite_metric()
395 return ((uint32_t) distance); in route_composite_metric()
437 route->distance = route_composite_metric(eigrp->kvalues, delay, in route_update_metrics()
639 if (route->distance > in rt_update_fib()
686 rn->successor.fdistance = successor->distance; in rt_set_successor()
[all …]
/openbsd/src/usr.sbin/tcpdump/
Dprint-ntp.c133 TCHECK2(bp->distance, 0); in ntp_print()
139 TCHECK(bp->distance); in ntp_print()
141 p_sfix(&bp->distance); in ntp_print()
/openbsd/src/gnu/llvm/llvm/include/llvm/Support/
DParallel.h119 RandomAccessIterator Mid = Start + (std::distance(Start, End) / 2); in medianOf3()
131 if (std::distance(Start, End) < detail::MinParallelSize || Depth == 0) { in parallel_quick_sort()
158 llvm::Log2_64(std::distance(Start, End)) + 1); in parallel_sort()
174 size_t NumInputs = std::distance(Begin, End); in parallel_transform_reduce()
/openbsd/src/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/ov_tree_map_/
Dconstructors_destructor_fn_imps.hpp140 const size_type len = std::distance(first_it, last_it); in copy_from_ordered_range()
184 const size_type len = std::distance(first_it, last_it) in copy_from_ordered_range()
185 + std::distance(other_first_it, other_last_it); in copy_from_ordered_range()
/openbsd/src/gnu/usr.bin/perl/cpan/CPAN/lib/App/
DCpan.pm1586 my $distance;
1594 unless( defined $distance ) {
1600 $distance = \&{ join "::", @$try[0,1] };
1606 unless( $distance ) {
1629 my $distance = $distance->( $target, $guess );
1630 next if $distance > $_threshold;
1631 $guesses{$guess} = $distance;
/openbsd/src/gnu/llvm/llvm/utils/yaml-bench/
DYAMLBench.cpp60 unsigned distance; member
61 indent(unsigned d) : distance(d) {} in indent()
65 for (unsigned i = 0; i < in.distance; ++i) in operator <<()
/openbsd/src/gnu/lib/libstdc++/libstdc++/testsuite/27_io/
Dostream_inserter_other.cc176 virtual std::streamsize showmanyc() { return std::distance(it, str.end()); } in showmanyc()
193 std::streamsize ret = std::distance(it, str.end()); in showmanyc()
215 std::streamsize ret = std::distance(it, str.end()); in showmanyc()
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/backward/
Diterator.h146 using std::distance;
147 using __gnu_cxx::distance; // 3-parameter extension
/openbsd/src/gnu/gcc/libstdc++-v3/include/backward/
Diterator.h146 using std::distance;
147 using __gnu_cxx::distance; // 3-parameter extension
/openbsd/src/gnu/llvm/compiler-rt/lib/xray/
Dxray_utils.cpp52 auto TotalBytes = std::distance(Begin, End); in WriteAll()
143 auto TotalBytes = std::distance(Begin, End);
/openbsd/src/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/trie_policy/
Dtrie_policy_base.hpp167 std::distance(b_l, e_l); in common_prefix_len()
170 std::distance(b_r, e_r); in common_prefix_len()
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/bits/
Dstl_algo.h1785 advance(__begin, distance(__middle, __end)); in __inplace_stable_partition()
1829 advance(__begin, distance(__middle, __end)); in __stable_partition_adaptive()
2786 _DistanceType __len = distance(__first, __last); in lower_bound()
2830 _DistanceType __len = distance(__first, __last); in lower_bound()
2871 _DistanceType __len = distance(__first, __last); in upper_bound()
2915 _DistanceType __len = distance(__first, __last); in upper_bound()
2963 _DistanceType __len = distance(__first, __last); in equal_range()
3018 _DistanceType __len = distance(__first, __last); in equal_range()
3228 __len22 = distance(__middle, __second_cut); in __merge_without_buffer()
3234 __len11 = distance(__first, __first_cut); in __merge_without_buffer()
[all …]
/openbsd/src/gnu/usr.bin/texinfo/info/
Decho-area.c676 register int i, counter, distance; in ea_kill_text() local
691 distance = to - from; in ea_kill_text()
692 killed_text = (char *)xmalloc (1 + distance); in ea_kill_text()
693 strncpy (killed_text, &input_line[from], distance); in ea_kill_text()
694 killed_text[distance] = '\0'; in ea_kill_text()
700 input_line[i] = input_line[i + distance]; in ea_kill_text()
702 input_line_end -= distance; in ea_kill_text()

12345678910>>...16