/third_party/boost/libs/poly_collection/test/ |
D | test_algorithm_impl.hpp | 376 void test_for_each_n_algorithm(ToInt to_int,PolyCollection& p) in test_for_each_n_algorithm() argument 383 auto acc1=compose(to_int,[&](int x){res1+=x;}); in test_for_each_n_algorithm() 384 auto acc2=compose(to_int,[&](int x){res2+=x;}); in test_for_each_n_algorithm() 398 void test_for_each_n_algorithms(ToInt to_int,PolyCollection& p) in test_for_each_n_algorithms() argument 401 to_int,p),0)...); in test_for_each_n_algorithms() 403 to_int,const_cast<const PolyCollection&>(p)),0)...); in test_for_each_n_algorithms() 410 void test_copy_algorithm(ToInt to_int,PolyCollection& p,Args&&... args) in test_copy_algorithm() argument 419 auto insert1=compose(to_int,[&](int x){v1.push_back(x);}); in test_copy_algorithm() 420 auto insert2=compose(to_int,[&](int x){v2.push_back(x);}); in test_copy_algorithm() 437 void test_copy_algorithms(ToInt to_int,PolyCollection& p,Args&&... args) in test_copy_algorithms() argument [all …]
|
/third_party/boost/boost/polygon/ |
D | isotropy.hpp | 362 inline unsigned int to_int(void) const { return val_; } in to_int() function in boost::polygon::direction_1d 382 inline unsigned int to_int() const { return (val_); } in to_int() function in boost::polygon::orientation_2d 419 inline unsigned int to_int(void) const { return val_; } in to_int() function in boost::polygon::direction_2d 428 return direction_2d(direction_2d_enum(val_ ^ 3 ^ (val_ >> 1) ^ t.to_int())); in turn() 444 direction_1d::direction_1d(const direction_2d& that) : val_(that.to_int() & 1) {} in direction_1d() 446 orientation_2d::orientation_2d(const direction_2d& that) : val_(that.to_int() >> 1) {} in orientation_2d() 449 return direction_2d(direction_2d_enum((val_ << 1) + dir.to_int())); in get_direction() 459 inline orientation_3d(orientation_2d ori) : val_(ori.to_int()) {} in orientation_3d() 468 inline unsigned int to_int() const { return (val_); } in to_int() function in boost::polygon::orientation_3d 480 inline direction_3d(direction_2d that) : val_(that.to_int()) {} in direction_3d() [all …]
|
D | transform.hpp | 97 atr_ = tmp[orient.to_int()]; in axis_transformation() 107 atr_ = tmp[dir.to_int()]; in axis_transformation() 218 int bit2 = (static_cast<orientation_2d>(horizontal_dir).to_int()) != 0; in set_directions() 219 int bit1 = !(vertical_dir.to_int() & 1); in set_directions() 220 int bit0 = !(horizontal_dir.to_int() & 1); in set_directions() 277 return scale_[orient.to_int()]; in get() 282 scale_[orient.to_int()] = value; in set() 321 scale_[orientation_2d(dirs[i]).to_int()] = tmp[i]; in transform()
|
D | rectangle_data.hpp | 47 return ranges_[orient.to_int()]; } in get() 49 return ranges_[orientation_2d(dir).to_int()].get(direction_1d(dir)); in get() 52 return ranges_[orientation_2d(dir).to_int()].set(direction_1d(dir), value); in set()
|
D | interval_data.hpp | 55 return coords_[dir.to_int()]; in get() 59 coords_[dir.to_int()] = value; in set()
|
D | segment_data.hpp | 56 return points_[dir.to_int()]; in get() 60 points_[dir.to_int()] = point; in set()
|
D | point_data.hpp | 75 return coords_[orient.to_int()]; in get() 79 coords_[orient.to_int()] = value; in set()
|
/third_party/boost/libs/detail/test/ |
D | binary_search_test.cpp | 76 inline unsigned to_int(unsigned x) { return x; } in to_int() function 77 inline unsigned to_int(const std::string& x) { return atoi(x.c_str()); } in to_int() function 84 return to_int(a1) < to_int(a2); in operator ()() 90 return to_int(x) < y; in operator <() 95 return y < to_int(x); in operator <() 212 unsigned value = to_int(*p); in test_loop() 219 BOOST_TEST(to_int(*p) < key); in test_loop() 224 BOOST_TEST(to_int(*p) == key); in test_loop() 228 BOOST_TEST(to_int(*p) > key); in test_loop()
|
/third_party/harfbuzz/src/ |
D | hb-ot-layout-gdef-table.hh | 527 bool has_data () const { return version.to_int (); } in has_data() 556 bool has_mark_sets () const { return version.to_int () >= 0x00010002u && markGlyphSetsDef != 0; } in has_mark_sets() 558 …{ return version.to_int () >= 0x00010002u && (this+markGlyphSetsDef).covers (set_index, glyph_id);… in mark_set_covers() 560 bool has_var_store () const { return version.to_int () >= 0x00010003u && varStore != 0; } in has_var_store() 562 { return version.to_int () >= 0x00010003u ? this+varStore : Null (VariationStore); } in get_var_store() 608 (version.to_int () >= 0x00010002u ? markGlyphSetsDef.static_size : 0) + in get_size() 609 (version.to_int () >= 0x00010003u ? varStore.static_size : 0); in get_size() 618 if (version.to_int () < 0x00010003u || !varStore) return; in remap_layout_variation_indices() 652 if (version.to_int () >= 0x00010002u) in subset() 656 version.to_int () == 0x00010002u) in subset() [all …]
|
D | hb-ot-post-table.hh | 103 version = table->version.to_int (); in init() 245 bool has_data () const { return version.to_int (); } in has_data() 251 (version.to_int () == 0x00010000 || in sanitize() 252 (version.to_int () == 0x00020000 && v2X.sanitize (c)) || in sanitize() 253 version.to_int () == 0x00030000))); in sanitize()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-layout-gdef-table.hh | 525 bool has_data () const { return version.to_int (); } in has_data() 554 bool has_mark_sets () const { return version.to_int () >= 0x00010002u && markGlyphSetsDef != 0; } in has_mark_sets() 556 …{ return version.to_int () >= 0x00010002u && (this+markGlyphSetsDef).covers (set_index, glyph_id);… in mark_set_covers() 558 bool has_var_store () const { return version.to_int () >= 0x00010003u && varStore != 0; } in has_var_store() 560 { return version.to_int () >= 0x00010003u ? this+varStore : Null (VariationStore); } in get_var_store() 606 (version.to_int () >= 0x00010002u ? markGlyphSetsDef.static_size : 0) + in get_size() 607 (version.to_int () >= 0x00010003u ? varStore.static_size : 0); in get_size() 616 if (version.to_int () < 0x00010003u || !varStore) return; in remap_layout_variation_indices() 650 if (version.to_int () >= 0x00010002u) in subset() 654 version.to_int () == 0x00010002u) in subset() [all …]
|
D | hb-ot-post-table.hh | 121 version = table->version.to_int (); in init() 263 bool has_data () const { return version.to_int (); } in has_data() 269 (version.to_int () == 0x00010000 || in sanitize() 270 (version.to_int () == 0x00020000 && v2X.sanitize (c)) || in sanitize() 271 version.to_int () == 0x00030000))); in sanitize()
|
/third_party/flutter/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-layout-gdef-table.hh | 354 bool has_data () const { return version.to_int (); } in has_data() 383 bool has_mark_sets () const { return version.to_int () >= 0x00010002u && markGlyphSetsDef != 0; } in has_mark_sets() 385 …{ return version.to_int () >= 0x00010002u && (this+markGlyphSetsDef).covers (set_index, glyph_id);… in mark_set_covers() 387 bool has_var_store () const { return version.to_int () >= 0x00010003u && varStore != 0; } in has_var_store() 389 { return version.to_int () >= 0x00010003u ? this+varStore : Null(VariationStore); } in get_var_store() 435 (version.to_int () >= 0x00010002u ? markGlyphSetsDef.static_size : 0) + in get_size() 436 (version.to_int () >= 0x00010003u ? varStore.static_size : 0); in get_size() 450 if (version.to_int () >= 0x00010002u) in subset() 453 if (version.to_int () >= 0x00010003u) in subset() 468 (version.to_int () < 0x00010002u || markGlyphSetsDef.sanitize (c, this)) && in sanitize() [all …]
|
D | hb-ot-post-table.hh | 106 version = table->version.to_int (); in init() 252 (version.to_int () == 0x00010000 || in sanitize() 253 (version.to_int () == 0x00020000 && v2X.sanitize (c)) || in sanitize() 254 version.to_int () == 0x00030000))); in sanitize()
|
/third_party/libpsl/include/ |
D | meson.build | 3 major = version_arr[0].to_int() 4 minor = version_arr[1].to_int() 5 patch = version_arr[2].to_int()
|
/third_party/boost/boost/numeric/interval/detail/ |
D | ia64_rounding_control.hpp | 55 static float to_int(const float& x) { return rintf(x); } in to_int() function 63 static double to_int(const double& r) { return rint(r); } in to_int() function 71 static long double to_int(const long double& r) { return rintl(r); } in to_int() function
|
D | ppc_rounding_control.hpp | 73 static float to_int(const float& x) { return rintf(x); } in to_int() function 81 static double to_int(const double& r) { return rint(r); } in to_int() function 89 static long double to_int(const long double& r) { return rint(r); } in to_int() function
|
D | sparc_rounding_control.hpp | 87 static float to_int(const float& x) { return rintf(x); } in to_int() function 95 static double to_int(const double& x) { return rint(x); } in to_int() function 103 static long double to_int(const long double& x) { return rint(x); } in to_int() function
|
D | alpha_rounding_control.hpp | 87 static float to_int(const float& x) { return rintf(x); } in to_int() function 95 static double to_int(const double& r) { return rint(r); } in to_int() function 103 static long double to_int(const long double& r) { return rintl(r); } in to_int() function
|
/third_party/boost/libs/hana/example/functional/ |
D | lockstep.cpp | 10 constexpr int to_int(char c) { in to_int() function 18 static_assert(hana::lockstep(hana::plus)(to_int, increment)('3', 4) == 3 + 5, "");
|
/third_party/openssl/crypto/conf/ |
D | conf_lib.c | 294 int (*to_int)(const CONF *, char) = &default_to_int; in NCONF_get_number_e() local 309 if (conf->meth->to_int != NULL) in NCONF_get_number_e() 310 to_int = conf->meth->to_int; in NCONF_get_number_e() 313 const int d = to_int(conf, *str); in NCONF_get_number_e()
|
/third_party/boost/libs/hana/example/misc/ |
D | nth.cpp | 12 constexpr int to_int(char c) in to_int() function 19 number += to_int(arr[N - 1 - i]) * base; in parse()
|
/third_party/boost/boost/numeric/interval/ |
D | rounded_arith.hpp | 71 T int_down(const T& x) { this->downward(); return this->to_int(x); } in int_down() 72 T int_up (const T& x) { this->upward(); return this->to_int(x); } in int_up() 108 T int_down(const T& x) { return -this->to_int(-x); } in int_down() 109 T int_up (const T& x) { return this->to_int(x); } in int_up()
|
/third_party/weston/ |
D | meson.build | 19 if libweston_major > version_weston_arr[0].to_int() 20 if libweston_major > version_weston_arr[0].to_int() + 1 24 elif libweston_major == version_weston_arr[0].to_int() 25 libweston_revision = version_weston_arr[2].to_int()
|
/third_party/gstreamer/gstplugins_bad/ext/wildmidi/ |
D | meson.build | 12 wildmidi_ver_maj = ''.join(wildmidi_ver_maj.split('L')).to_int() # '0L' -> 0 13 wildmidi_ver_min = ''.join(wildmidi_ver_min.split('L')).to_int() # '4L' -> 4
|