Home
last modified time | relevance | path

Searched refs:b2 (Results 1 – 25 of 259) sorted by relevance

1234567891011

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/wagyu/0.4.3/include/mapbox/geometry/wagyu/
H A Dintersect_util.hpp35 inline void swap_rings(bound<T>& b1, bound<T>& b2) { in swap_rings() argument
37 b1.ring = b2.ring; in swap_rings()
38 b2.ring = ring; in swap_rings()
42 inline void swap_sides(bound<T>& b1, bound<T>& b2) { in swap_sides() argument
44 b1.side = b2.side; in swap_sides()
45 b2.side = side; in swap_sides()
81 bool operator()(bound_ptr<T> const& b1, bound_ptr<T> const& b2) { in operator ()()
82 return !(b1->current_x > b2->current_x && in operator ()()
83 !slopes_equal(*(b1->current_edge), *(b2->current_edge))); in operator ()()
95 void operator()(bound_ptr<T> const& b1, bound_ptr<T> const& b2) { in operator ()()
[all …]
H A Dring_util.hpp358 bound<T>& b2, in add_local_minimum_point() argument
362 if (is_horizontal(*b2.current_edge) || (b1.current_edge->dx > b2.current_edge->dx)) { in add_local_minimum_point()
364 b2.last_point = pt; in add_local_minimum_point()
365 b2.ring = b1.ring; in add_local_minimum_point()
367 b2.side = edge_right; in add_local_minimum_point()
369 add_point(b2, active_bounds, pt, rings); in add_local_minimum_point()
371 b1.ring = b2.ring; in add_local_minimum_point()
373 b2.side = edge_left; in add_local_minimum_point()
510 bound<T>& b2, in append_ring() argument
515 ring_ptr<T> outRec2 = b2.ring; in append_ring()
[all …]
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/allwinner/camera/CameraUI/
H A Dunicodeandutf8.cpp17 char b1, b2, b3, b4, b5, b6; in enc_utf8_to_unicode_one() local
29 b2 = *(pInput + 1); in enc_utf8_to_unicode_one()
30 if ( (b2 & 0xE0) != 0x80 ) in enc_utf8_to_unicode_one()
32 *pOutput = (b1 << 6) + (b2 & 0x3F); in enc_utf8_to_unicode_one()
37 b2 = *(pInput + 1); in enc_utf8_to_unicode_one()
39 if ( ((b2 & 0xC0) != 0x80) || ((b3 & 0xC0) != 0x80) ) in enc_utf8_to_unicode_one()
41 *pOutput = (b2 << 6) + (b3 & 0x3F); in enc_utf8_to_unicode_one()
42 *(pOutput+1) = (b1 << 4) + ((b2 >> 2) & 0x0F); in enc_utf8_to_unicode_one()
46 b2 = *(pInput + 1); in enc_utf8_to_unicode_one()
49 if ( ((b2 & 0xC0) != 0x80) || ((b3 & 0xC0) != 0x80) in enc_utf8_to_unicode_one()
[all …]
/OK3568_Linux_fs/buildroot/dl/stressapptest/git/src/
H A Dadler32memcpy.cc78 void AdlerChecksum::Set(uint64 a1, uint64 a2, uint64 b1, uint64 b2) { in Set() argument
82 b2_ = b2; in Set()
100 uint64 b2 = 0; in CalculateAdlerChecksum() local
114 b2 = b2 + a2; in CalculateAdlerChecksum()
116 b2 = b2 + a2; in CalculateAdlerChecksum()
119 checksum->Set(a1, a2, b1, b2); in CalculateAdlerChecksum()
138 uint64 b2 = 0; in AdlerMemcpyC() local
153 b2 = b2 + a2; in AdlerMemcpyC()
155 b2 = b2 + a2; in AdlerMemcpyC()
159 checksum->Set(a1, a2, b1, b2); in AdlerMemcpyC()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeorectangle/
H A Dtst_qgeorectangle.cpp144 QGeoRectangle b2 = QGeoRectangle(b1); in copy_constructor() local
146 QCOMPARE(b2.topLeft(), QGeoCoordinate(10.0, 0.0)); in copy_constructor()
147 QCOMPARE(b2.bottomRight(), QGeoCoordinate(0.0, 10.0)); in copy_constructor()
149 b2.setTopLeft(QGeoCoordinate(30.0, 0.0)); in copy_constructor()
150 b2.setBottomRight(QGeoCoordinate(0.0, 30.0)); in copy_constructor()
176 QGeoRectangle b2 = QGeoRectangle(QGeoCoordinate(20.0, 0.0), in assignment() local
179 QVERIFY(b1 != b2); in assignment()
181 b2 = b1; in assignment()
182 QCOMPARE(b2.topLeft(), QGeoCoordinate(10.0, 0.0)); in assignment()
183 QCOMPARE(b2.bottomRight(), QGeoCoordinate(0.0, 10.0)); in assignment()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/bind/
H A Dmem_fn_template.hpp264 template<class U, class B1, class B2> R call(U & u, T const *, B1 & b1, B2 & b2) const in BOOST_MEM_FN_NAME()
266 BOOST_MEM_FN_RETURN (u.*f_)(b1, b2); in BOOST_MEM_FN_NAME()
269 template<class U, class B1, class B2> R call(U & u, void const *, B1 & b1, B2 & b2) const in BOOST_MEM_FN_NAME()
271 BOOST_MEM_FN_RETURN (get_pointer(u)->*f_)(b1, b2); in BOOST_MEM_FN_NAME()
328 template<class U, class B1, class B2> R call(U & u, T const *, B1 & b1, B2 & b2) const in BOOST_MEM_FN_NAME()
330 BOOST_MEM_FN_RETURN (u.*f_)(b1, b2); in BOOST_MEM_FN_NAME()
333 template<class U, class B1, class B2> R call(U & u, void const *, B1 & b1, B2 & b2) const in BOOST_MEM_FN_NAME()
335 BOOST_MEM_FN_RETURN (get_pointer(u)->*f_)(b1, b2); in BOOST_MEM_FN_NAME()
377 …template<class U, class B1, class B2, class B3> R call(U & u, T const *, B1 & b1, B2 & b2, B3 & b3… in BOOST_MEM_FN_NAME()
379 BOOST_MEM_FN_RETURN (u.*f_)(b1, b2, b3); in BOOST_MEM_FN_NAME()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/strategies/geographic/
H A Dintersection.hpp231 point2_t b1, b2; in apply() local
236 detail::assign_point_from_index<1>(b, b2); in apply()
238 return apply(a, b, policy, robust_policy, a1, a2, b1, b2); in apply()
253 Point1 a1, Point1 a2, Point2 b1, Point2 b2) const in apply()
256 bool is_b_reversed = get<1>(b1) > get<1>(b2); in apply()
265 std::swap(b1, b2); in apply()
268 return apply<Policy>(a, b, a1, a2, b1, b2, is_a_reversed, is_b_reversed); in apply()
283 Point2 const& b1, Point2 const& b2, in apply()
300 bool b_is_point = equals_point_point(b1, b2); in apply()
304 return equals_point_point(a1, b2) in apply()
[all …]
/OK3568_Linux_fs/kernel/drivers/atm/
H A Dfore200e.h71 #define BITFIELD2(b1, b2) b1; b2; argument
72 #define BITFIELD3(b1, b2, b3) b1; b2; b3; argument
73 #define BITFIELD4(b1, b2, b3, b4) b1; b2; b3; b4; argument
74 #define BITFIELD5(b1, b2, b3, b4, b5) b1; b2; b3; b4; b5; argument
75 #define BITFIELD6(b1, b2, b3, b4, b5, b6) b1; b2; b3; b4; b5; b6; argument
77 #define BITFIELD2(b1, b2) b2; b1; argument
78 #define BITFIELD3(b1, b2, b3) b3; b2; b1; argument
79 #define BITFIELD4(b1, b2, b3, b4) b4; b3; b2; b1; argument
80 #define BITFIELD5(b1, b2, b3, b4, b5) b5; b4; b3; b2; b1; argument
81 #define BITFIELD6(b1, b2, b3, b4, b5, b6) b6; b5; b4; b3; b2; b1; argument
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/util/
H A Dmat4.cpp313 double b0 = b[0], b1 = b[1], b2 = b[2], b3 = b[3]; in multiply() local
314 out[0] = b0 * a00 + b1 * a10 + b2 * a20 + b3 * a30; in multiply()
315 out[1] = b0 * a01 + b1 * a11 + b2 * a21 + b3 * a31; in multiply()
316 out[2] = b0 * a02 + b1 * a12 + b2 * a22 + b3 * a32; in multiply()
317 out[3] = b0 * a03 + b1 * a13 + b2 * a23 + b3 * a33; in multiply()
319 b0 = b[4]; b1 = b[5]; b2 = b[6]; b3 = b[7]; in multiply()
320 out[4] = b0 * a00 + b1 * a10 + b2 * a20 + b3 * a30; in multiply()
321 out[5] = b0 * a01 + b1 * a11 + b2 * a21 + b3 * a31; in multiply()
322 out[6] = b0 * a02 + b1 * a12 + b2 * a22 + b3 * a32; in multiply()
323 out[7] = b0 * a03 + b1 * a13 + b2 * a23 + b3 * a33; in multiply()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/strategies/spherical/
H A Dintersection.hpp244 point2_t b1, b2; in apply() local
250 detail::assign_point_from_index<1>(b, b2); in apply()
252 return apply(a, b, policy, robust_policy, a1, a2, b1, b2); in apply()
268 Point1 const& a1, Point1 const& a2, Point2 const& b1, Point2 const& b2) in apply()
282 bool b_is_point = equals_point_point(b1, b2); in apply()
286 return equals_point_point(a1, b2) in apply()
303 vec3d_t const b2v = calc_policy.template to_cart3d<vec3d_t>(b2); in apply()
384 return equals_point_point(a1, b2) in apply()
436 return collinear_one_degenerated<Policy, calc_t>(a, true, b1, b2, a1, a2, b1v, b2v, in apply()
442 return collinear_one_degenerated<Policy, calc_t>(b, false, a1, a2, b1, b2, a1v, a2v, in apply()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/overlaps/
H A Dimplementation.hpp50 static inline void apply(Box1 const& b1, Box2 const& b2, in apply()
60 coordinate_type2 const& min2 = get<min_corner, Dimension>(b2); in apply()
61 coordinate_type2 const& max2 = get<max_corner, Dimension>(b2); in apply()
98 >::apply(b1, b2, overlaps, one_in_two, two_in_one); in apply()
117 static inline bool apply(Box1 const& b1, Box2 const& b2, Strategy const& /*strategy*/) in apply()
126 >::apply(b1, b2, overlaps, within1, within2); in apply()
/OK3568_Linux_fs/kernel/block/
H A Dblk-integrity.c124 struct blk_integrity *b2 = &gd2->queue->integrity; in blk_integrity_compare() local
126 if (!b1->profile && !b2->profile) in blk_integrity_compare()
129 if (!b1->profile || !b2->profile) in blk_integrity_compare()
132 if (b1->interval_exp != b2->interval_exp) { in blk_integrity_compare()
135 1 << b1->interval_exp, 1 << b2->interval_exp); in blk_integrity_compare()
139 if (b1->tuple_size != b2->tuple_size) { in blk_integrity_compare()
142 b1->tuple_size, b2->tuple_size); in blk_integrity_compare()
146 if (b1->tag_size && b2->tag_size && (b1->tag_size != b2->tag_size)) { in blk_integrity_compare()
149 b1->tag_size, b2->tag_size); in blk_integrity_compare()
153 if (b1->profile != b2->profile) { in blk_integrity_compare()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/include/asm/
H A Dxor.h26 : "=r" (src), "=r" (b1), "=r" (b2) \
28 __XOR(a1, b1); __XOR(a2, b2);
32 : "=r" (src), "=r" (b1), "=r" (b2), "=r" (b3), "=r" (b4) \
34 __XOR(a1, b1); __XOR(a2, b2); __XOR(a3, b3); __XOR(a4, b4)
55 register unsigned int b2 __asm__("r9"); in xor_arm4regs_2()
76 register unsigned int b2 __asm__("r9"); in xor_arm4regs_3()
96 register unsigned int b2 __asm__("lr"); in xor_arm4regs_4()
115 register unsigned int b2 __asm__("lr"); in xor_arm4regs_5()
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dbiquads.c190 p->b0 = p->b1 = p->b2 = p->a1 = p->a2 = 0; in start()
220 p->b2 = (1 - cos(w0))/2; in start()
229 p->b2 = (1 + cos(w0))/2; in start()
238 p->b2 = -sin(w0)/2; in start()
247 p->b2 = -alpha; in start()
256 p->b2 = 1; in start()
265 p->b2 = 1 + alpha; in start()
276 p->b2 = 1 - alpha*A; in start()
287 p->b2 = A*( (A+1) - (A-1)*cos(w0) - 2*sqrt(A)*alpha ); in start()
300 p->b2 = A*( (A+1) + (A-1)*cos(w0) - 2*sqrt(A)*alpha ); in start()
[all …]
H A Ddeemph.plt87 b2 = A * ((A + 1.) + (A - 1.) * cos(w0) - 2. * sqrt(A) * alpha)
91 b2 = b2 / a0
101 Hb(f) = sqrt((b0*b0 + b1*b1 + b2*b2 +\
102 2.*(b0*b1 + b1*b2)*cos(f*o) + 2.*(b0*b2)* cos(2.*f*o)) /\
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Dnand_ecc.c394 unsigned char b0, b1, b2, bit_addr; in __nand_correct_data() local
412 b2 = read_ecc[2] ^ calc_ecc[2]; in __nand_correct_data()
419 if ((b0 | b1 | b2) == 0) in __nand_correct_data()
424 ((eccsize_mult == 1 && ((b2 ^ (b2 >> 1)) & 0x54) == 0x54) || in __nand_correct_data()
425 (eccsize_mult == 2 && ((b2 ^ (b2 >> 1)) & 0x55) == 0x55))) { in __nand_correct_data()
446 byte_addr = (addressbits[b2 & 0x3] << 8) + in __nand_correct_data()
448 bit_addr = addressbits[b2 >> 2]; in __nand_correct_data()
455 if ((bitsperbyte[b0] + bitsperbyte[b1] + bitsperbyte[b2]) == 1) in __nand_correct_data()
/OK3568_Linux_fs/kernel/drivers/isdn/mISDN/
H A Ddsp_biquad.h20 int32_t b2; member
27 int32_t gain, int32_t a1, int32_t a2, int32_t b1, int32_t b2) in biquad2_init() argument
33 bq->b2 = b2; in biquad2_init()
45 y = z0 + bq->z1 * bq->b1 + bq->z2 * bq->b2; in biquad2()
/OK3568_Linux_fs/external/xserver/Xi/
H A Dgetfctl.c237 xBellFeedbackState *b2; in CopySwapBellFeedback() local
239 b2 = (xBellFeedbackState *) * buf; in CopySwapBellFeedback()
240 b2->class = BellFeedbackClass; in CopySwapBellFeedback()
241 b2->length = sizeof(xBellFeedbackState); in CopySwapBellFeedback()
242 b2->id = b->ctrl.id; in CopySwapBellFeedback()
243 b2->percent = b->ctrl.percent; in CopySwapBellFeedback()
244 b2->pitch = b->ctrl.pitch; in CopySwapBellFeedback()
245 b2->duration = b->ctrl.duration; in CopySwapBellFeedback()
247 swaps(&b2->length); in CopySwapBellFeedback()
248 swaps(&b2->pitch); in CopySwapBellFeedback()
[all …]
/OK3568_Linux_fs/kernel/tools/vm/
H A Dslabinfo.c804 char b1[20], b2[20], b3[20], b4[20]; in totals() local
980 store_size(b1, total_size);store_size(b2, total_waste); in totals()
982 printf("Memory used: %15s # Loss : %15s MRatio:%6s%%\n", b1, b2, b3); in totals()
984 store_size(b1, total_objects);store_size(b2, total_partobj); in totals()
986 printf("# Objects : %15s # PartObj: %15s ORatio:%6s%%\n", b1, b2, b3); in totals()
994 store_size(b1, avg_objects);store_size(b2, min_objects); in totals()
997 b1, b2, b3, b4); in totals()
999 store_size(b1, avg_slabs);store_size(b2, min_slabs); in totals()
1002 b1, b2, b3, b4); in totals()
1004 store_size(b1, avg_partial);store_size(b2, min_partial); in totals()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/detail/
H A Dcall_traits.hpp47 template <typename T, bool isp, bool b1, bool b2>
53 template <typename T, bool isp, bool b2>
54 struct ct_imp<T, isp, true, b2>
65 template <typename T, bool b1, bool b2>
66 struct ct_imp<T, true, b1, b2>
/OK3568_Linux_fs/kernel/tools/arch/x86/lib/
H A Dinsn.c181 insn_byte_t b2 = peek_nbyte_next(insn_byte_t, insn, 1); in insn_get_prefixes() local
188 if (X86_MODRM_MOD(b2) != 3) in insn_get_prefixes()
192 insn->vex_prefix.bytes[1] = b2; in insn_get_prefixes()
194 b2 = peek_nbyte_next(insn_byte_t, insn, 2); in insn_get_prefixes()
195 insn->vex_prefix.bytes[2] = b2; in insn_get_prefixes()
196 b2 = peek_nbyte_next(insn_byte_t, insn, 3); in insn_get_prefixes()
197 insn->vex_prefix.bytes[3] = b2; in insn_get_prefixes()
200 if (insn->x86_64 && X86_VEX_W(b2)) in insn_get_prefixes()
204 b2 = peek_nbyte_next(insn_byte_t, insn, 2); in insn_get_prefixes()
205 insn->vex_prefix.bytes[2] = b2; in insn_get_prefixes()
[all …]
/OK3568_Linux_fs/kernel/arch/x86/lib/
H A Dinsn.c181 insn_byte_t b2 = peek_nbyte_next(insn_byte_t, insn, 1); in insn_get_prefixes() local
188 if (X86_MODRM_MOD(b2) != 3) in insn_get_prefixes()
192 insn->vex_prefix.bytes[1] = b2; in insn_get_prefixes()
194 b2 = peek_nbyte_next(insn_byte_t, insn, 2); in insn_get_prefixes()
195 insn->vex_prefix.bytes[2] = b2; in insn_get_prefixes()
196 b2 = peek_nbyte_next(insn_byte_t, insn, 3); in insn_get_prefixes()
197 insn->vex_prefix.bytes[3] = b2; in insn_get_prefixes()
200 if (insn->x86_64 && X86_VEX_W(b2)) in insn_get_prefixes()
204 b2 = peek_nbyte_next(insn_byte_t, insn, 2); in insn_get_prefixes()
205 insn->vex_prefix.bytes[2] = b2; in insn_get_prefixes()
[all …]
/OK3568_Linux_fs/kernel/crypto/
H A Dxor.c83 do_xor_speed(struct xor_block_template *tmpl, void *b1, void *b2) in do_xor_speed() argument
99 tmpl->do_2(BENCH_SIZE, b1, b2); in do_xor_speed()
121 void *b1, *b2; in calibrate_xor_blocks() local
138 b2 = b1 + 2*PAGE_SIZE + BENCH_SIZE; in calibrate_xor_blocks()
145 #define xor_speed(templ) do_xor_speed((templ), b1, b2) in calibrate_xor_blocks()
/OK3568_Linux_fs/kernel/arch/s390/include/asm/
H A Dvx-insn.h263 GR_NUM b2, "%r0"
266 .word (b2 << 12) | (\disp)
295 GR_NUM b2, \base
297 .word (b2 << 12) | (\disp)
305 GR_NUM b2, \base
307 .word (b2 << 12) | (\disp)
346 GR_NUM b2, \base
349 .word (b2 << 12) | (\disp)
369 GR_NUM b2, \base /* Base register */
371 .word (b2 << 12) | (\disp)
[all …]
/OK3568_Linux_fs/kernel/arch/arm/crypto/
H A Daes-neonbs-core.S80 .macro in_bs_ch, b0, b1, b2, b3, b4, b5, b6, b7
81 veor \b2, \b2, \b1
84 veor \b6, \b6, \b2
91 veor \b2, \b2, \b7
96 .macro out_bs_ch, b0, b1, b2, b3, b4, b5, b6, b7
100 veor \b2, \b2, \b0
106 veor \b2, \b2, \b5
110 .macro inv_in_bs_ch, b6, b1, b2, b4, b7, b0, b3, b5
115 veor \b2, \b2, \b5
118 veor \b2, \b2, \b0
[all …]

1234567891011