/dports/japanese/groff/groff-1.18.1.1/src/roff/troff/ |
H A D | div.cc | 227 dl_reg_contents = max_width.to_units(); in ~macro_diversion() 228 dn_reg_contents = vertical_position.to_units(); in ~macro_diversion() 388 nl_reg_contents = vertical_position.to_units(); in output() 407 nl_reg_contents = vertical_position.to_units(); in output() 453 nl_reg_contents = vertical_position.to_units(); in space() 590 nl_reg_contents = vertical_position.to_units(); in begin_page() 644 curenv->add_html_tag(0, ".po", n.to_units()); in page_offset() 763 curenv->add_html_tag(1, ".sp", n.to_units()); in space_request() 948 *res = topdiv->get_page_offset().to_units(); in get_value() 965 *res = topdiv->get_page_length().to_units(); in get_value() [all …]
|
H A D | number.cc | 424 ? curdiv->get_vertical_position().to_units() in parse_term() 425 : curenv->get_input_line_position().to_units()); in parse_term() 608 *v = scale(*v, em.is_zero() ? hresolution : em.to_units(), divisor); in parse_term() 614 *v = scale(*v, em.is_zero() ? hresolution : em.to_units(), divisor*100); in parse_term() 621 *v = scale(*v, en.is_zero() ? hresolution : en.to_units(), divisor); in parse_term() 625 *v = scale(*v, curenv->get_vertical_spacing().to_units(), divisor); in parse_term()
|
H A D | node.cc | 874 hpos = h.to_units(); in moveto() 875 vpos = v.to_units(); in moveto() 893 put(before.to_units()); in really_print_line() 895 put(after.to_units()); in really_print_line() 908 hpos += n.to_units(); in right() 913 vpos += n.to_units(); in down() 1003 int kk = k.to_units(); in put_char_width() 1006 hpos += w.to_units() + kk; in put_char_width() 1434 put(point[i].h.to_units()); in draw() 1436 put(point[i].v.to_units()); in draw() [all …]
|
H A D | env.cc | 240 int font_size::to_units() in to_units() function in font_size 1173 st_reg_contents = -min.to_units(); in width_registers() 1174 sb_reg_contents = -max.to_units(); in width_registers() 1175 rst_reg_contents = -real_min.to_units(); in width_registers() 1176 rsb_reg_contents = -real_max.to_units(); in width_registers() 2157 && desired_space.to_units() > 0) { in distribute_space() 2424 m->append_int(l.to_units()); in add_html_tag_tabs() 2428 m->append_int(l.to_units()); in add_html_tag_tabs() 2432 m->append_int(l.to_units()); in add_html_tag_tabs() 3246 *val = (curenv->*func)().to_units(); in get_value() [all …]
|
H A D | hvunits.h | 27 units to_units(); 56 units to_units(); 88 inline units vunits::to_units() in to_units() function 197 inline units hunits::to_units() in to_units() function
|
H A D | env.h | 36 int to_units(); 240 int get_size() { return size.to_units(); } in get_size()
|
/dports/textproc/groff/groff-1.22.4/src/roff/troff/ |
H A D | div.cpp | 241 dl_reg_contents = max_width.to_units(); in ~macro_diversion() 242 dn_reg_contents = vertical_position.to_units(); in ~macro_diversion() 403 nl_reg_contents = vertical_position.to_units(); in output() 422 nl_reg_contents = vertical_position.to_units(); in output() 462 if (curenv->get_vertical_spacing().to_units()) in space() 463 curenv->seen_space += n.to_units() in space() 464 / curenv->get_vertical_spacing().to_units(); in space() 605 nl_reg_contents = vertical_position.to_units(); in begin_page() 961 *res = topdiv->get_page_offset().to_units(); in get_value() 978 *res = topdiv->get_page_length().to_units(); in get_value() [all …]
|
H A D | env.cpp | 258 int font_size::to_units() in to_units() function in font_size 1079 st_reg_contents = -min.to_units(); in width_registers() 1080 sb_reg_contents = -max.to_units(); in width_registers() 1081 rst_reg_contents = -real_min.to_units(); in width_registers() 1082 rsb_reg_contents = -real_max.to_units(); in width_registers() 2082 && desired_space.to_units() > 0) { in distribute_space() 2262 curenv->line_length.to_units()); in dump_troff_state() 3076 *val = (curenv->*func)().to_units(); in get_value() 3091 *val = (curenv->*func)().to_units(); in get_value() 3272 prev_vertical_spacing.to_units()); in print_env() [all …]
|
H A D | number.cpp | 423 ? curdiv->get_vertical_position().to_units() in parse_term() 424 : curenv->get_input_line_position().to_units()); in parse_term() 607 *v = scale(*v, em.is_zero() ? hresolution : em.to_units(), divisor); in parse_term() 613 *v = scale(*v, em.is_zero() ? hresolution : em.to_units(), divisor*100); in parse_term() 620 *v = scale(*v, en.is_zero() ? hresolution : en.to_units(), divisor); in parse_term() 624 *v = scale(*v, curenv->get_vertical_spacing().to_units(), divisor); in parse_term()
|
H A D | node.cpp | 902 hpos = h.to_units(); in moveto() 903 vpos = v.to_units(); in moveto() 944 put(before.to_units()); in really_print_line() 946 put(after.to_units()); in really_print_line() 959 hpos += n.to_units(); in right() 964 vpos += n.to_units(); in down() 1050 int kk = k.to_units(); in put_char_width() 1474 put(point[i].h.to_units()); in draw() 1476 put(point[i].v.to_units()); in draw() 1711 check_output_limits(x.to_units(), y.to_units()); in copy_file() [all …]
|
H A D | hvunits.h | 26 units to_units(); 55 units to_units(); 87 inline units vunits::to_units() in to_units() function 196 inline units hunits::to_units() in to_units() function
|
H A D | mtsm.cpp | 126 value = v.to_units(); in set() 274 s += as_string(l.to_units()); in add_tag_ta() 278 s += as_string(l.to_units()); in add_tag_ta() 282 s += as_string(l.to_units()); in add_tag_ta()
|
/dports/news/sabnzbdplus/SABnzbd-3.3.0/tests/ |
H A D | test_misc.py | 120 assert "1 K" == misc.to_units(1024) 121 assert "1 KBla" == misc.to_units(1024, postfix="Bla") 122 assert "1.0 M" == misc.to_units(1024 * 1024) 123 assert "1.0 M" == misc.to_units(1024 * 1024 + 10) 124 assert "10.0 M" == misc.to_units(1024 * 1024 * 10) 125 assert "100.0 M" == misc.to_units(1024 * 1024 * 100) 126 assert "9.8 G" == misc.to_units(1024 * 1024 * 10000) 127 assert "1024.0 P" == misc.to_units(1024 ** 6) 130 assert 100 == misc.from_units(misc.to_units(100)) 131 assert 1024 == misc.from_units(misc.to_units(1024)) [all …]
|
/dports/math/R-cran-units/units/R/ |
H A D | tidyverse.R | 61 to_units = units(to) functionVar 63 if (!ud_are_convertible(x_units, to_units)) 68 out = set_units(x, to_units, mode = "standard") 75 set_units(out, to_units, mode = "standard")
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/tools/swarming_client/tools/ |
H A D | isolateserver_load_test.py | 67 graph.to_units(self._columns[1]).rjust(6), 84 print('Total size : %s' % graph.to_units(total_size)) 86 print('Average size: %s' % graph.to_units(total_size / len(sizes))) 87 print('Largest item: %s' % graph.to_units(max(sizes))) 97 ' %s (%s)' % (i[0], graph.to_units(i[1])) for i in failures))
|
/dports/science/py-qcelemental/qcelemental-0.24.0/qcelemental/tests/ |
H A D | test_datum.py | 61 assert compare_values(expected, dataset[inp[0]].to_units(inp[1]), atol=1.0e-9) 147 assert compare_values(np.array([0, 0, 1.0]), onedebye.to_units("D")) 148 …assert compare_values(np.array([[0, 0, 1.0], [0, 0, 0], [0, 0, 0]]), onebuckingham.to_units("D Å"))
|
/dports/math/py-Pyomo/Pyomo-6.1.2/pyomo/core/tests/unit/ |
H A D | test_units.py | 517 m.dx_con = Constraint(expr = m.dx == m.vx*u.convert(m.t, to_units=u.s)) 518 m.dy_con = Constraint(expr = m.dy == m.vy*u.convert(m.t, to_units=u.s) 519 … + 0.5*(u.convert(m.a, to_units=u.m/u.s**2))*(u.convert(m.t, to_units=u.s))**2) 523 u.convert(m.a, to_units=u.kg) 536 foo = u.convert(m.x, to_units=u.dimensionless) 537 foo = u.convert(m.x, to_units=None) 538 foo = u.convert(m.x, to_units=1.0) 540 foo = u.convert(m.x, to_units=u.kg) 543 foo = u.convert(m.y, to_units=u.dimensionless) 545 foo = u.convert(m.y, to_units=None) [all …]
|
/dports/news/sabnzbdplus/SABnzbd-3.3.0/sabnzbd/ |
H A D | sabtray.py | 31 from sabnzbd.misc import to_units 100 mb_left = to_units(bytes_left) 101 speed = to_units(bpsnow)
|
H A D | api.py | 53 to_units, 504 to_units(grand), 505 to_units(month), 506 to_units(week), 507 to_units(day), 1288 slot["size"] = to_units(bytes_total, "B") 1289 slot["sizeleft"] = to_units(bytesleft, "B") 1605 header["speed"] = to_units(bytespersec) 1608 header["sizeleft"] = to_units(bytesleft, "B") 1609 header["size"] = to_units(bytes_total, "B") [all …]
|
H A D | sabtraylinux.py | 46 from sabnzbd.misc import to_units 100 mb_left = to_units(bytes_left) 101 speed = to_units(bpsnow)
|
H A D | emailer.py | 34 from sabnzbd.misc import to_units, split_host, time_format 237 parm["size"] = "%sB" % to_units(bytes_downloaded)
|
/dports/math/py-yt/yt-4.0.1/yt/fields/ |
H A D | magnetic_field.py | 273 to_units = unit_system["magnetic_field_mks"] 275 to_units = unit_system["magnetic_field_cgs"] 276 units = unit_system[to_units.dimensions]
|
/dports/math/py-Pyomo/Pyomo-6.1.2/pyomo/util/tests/ |
H A D | test_check_units.py | 60 m.dx_con = Constraint(expr = m.dx == m.vx*u.convert(m.t, to_units=u.s)) 61 m.dy_con = Constraint(expr = m.dy == m.vy*u.convert(m.t, to_units=u.s) 62 … + 0.5*(u.convert(m.a, to_units=u.m/u.s**2))*(u.convert(m.t, to_units=u.s))**2)
|
/dports/math/py-Pyomo/Pyomo-6.1.2/pyomo/core/base/ |
H A D | units_container.py | 1294 def convert(self, src, to_units=None): argument 1312 to_pint_unit = self._get_pint_units(to_units) 1331 def convert_value(self, num_value, from_units=None, to_units=None): argument 1359 to_pint_unit = self._get_pint_units(to_units) 1378 % (from_units, to_units))
|
/dports/science/py-qcelemental/qcelemental-0.24.0/qcelemental/ |
H A D | vanderwaals_radii.py | 125 return qca.to_units(units)
|