Home
last modified time | relevance | path

Searched refs:mx (Results 1 – 25 of 215) sorted by relevance

123456789

/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/
Dares-test-parse-mx.cc18 struct ares_mx_reply* mx = nullptr; in TEST_F() local
19 EXPECT_EQ(ARES_SUCCESS, ares_parse_mx_reply(data.data(), data.size(), &mx)); in TEST_F()
20 ASSERT_NE(nullptr, mx); in TEST_F()
21 EXPECT_EQ("mx1.example.com", std::string(mx->host)); in TEST_F()
22 EXPECT_EQ(100, mx->priority); in TEST_F()
24 struct ares_mx_reply* mx2 = mx->next; in TEST_F()
30 ares_free_data(mx); in TEST_F()
59 struct ares_mx_reply* mx = nullptr; in TEST_F() local
60 EXPECT_EQ(ARES_EBADRESP, ares_parse_mx_reply(data.data(), data.size(), &mx)); in TEST_F()
61 ASSERT_EQ(nullptr, mx); in TEST_F()
[all …]
Dares-test-fuzz.c34 struct ares_mx_reply* mx = NULL; in LLVMFuzzerTestOneInput() local
35 ares_parse_mx_reply(data, size, &mx); in LLVMFuzzerTestOneInput()
36 if (mx) ares_free_data(mx); in LLVMFuzzerTestOneInput()
/external/skia/src/core/
DSkMarkerStack.cpp10 void SkMarkerStack::setMarker(uint32_t id, const SkM44& mx, void* boundary) { in setMarker() argument
14 SkAssertResult(mx.invert(&inv)); in setMarker()
23 it->fMatrix = mx; in setMarker()
29 fStack.push_back({boundary, mx, inv, id}); in setMarker()
32 bool SkMarkerStack::findMarker(uint32_t id, SkM44* mx) const { in findMarker()
36 if (mx) { in findMarker()
37 *mx = it->fMatrix; in findMarker()
45 bool SkMarkerStack::findMarkerInverse(uint32_t id, SkM44* mx) const { in findMarkerInverse()
49 if (mx) { in findMarkerInverse()
50 *mx = it->fMatrixInverse; in findMarkerInverse()
DSkMatrixPriv.h47 static bool SK_WARN_UNUSED_RESULT InverseMapRect(const SkMatrix& mx, in InverseMapRect() argument
49 if (mx.getType() <= SkMatrix::kTranslate_Mask) { in InverseMapRect()
50 SkScalar tx = mx.getTranslateX(); in InverseMapRect()
51 SkScalar ty = mx.getTranslateY(); in InverseMapRect()
60 if (mx.invert(&inverse)) { in InverseMapRect()
85 static void MapPointsWithStride(const SkMatrix& mx, SkPoint pts[], size_t stride, int count) { in MapPointsWithStride() argument
89 SkMatrix::TypeMask tm = mx.getType(); in MapPointsWithStride()
95 const SkScalar tx = mx.getTranslateX(); in MapPointsWithStride()
96 const SkScalar ty = mx.getTranslateY(); in MapPointsWithStride()
107 SkMatrix::MapXYProc proc = mx.getMapXYProc(); in MapPointsWithStride()
[all …]
DSkDraw_atlas.cpp78 SkMatrix mx; in drawAtlas() local
79 mx.setRSXform(xform[i]); in drawAtlas()
80 mx.preTranslate(-textures[i].fLeft, -textures[i].fTop); in drawAtlas()
81 SkPreConcatMatrixProvider matrixProvider(*fMatrixProvider, mx); in drawAtlas()
116 SkMatrix mx; in drawAtlas() local
117 mx.setRSXform(xform[i]); in drawAtlas()
118 mx.preTranslate(-textures[i].fLeft, -textures[i].fTop); in drawAtlas()
119 mx.postConcat(fMatrixProvider->localToDevice()); in drawAtlas()
121 if (updator->update(mx, nullptr)) { in drawAtlas()
122 fill_rect(mx, *fRC, textures[i], blitter, &scratchPath); in drawAtlas()
DSkMarkerStack.h20 void setMarker(uint32_t id, const SkM44& mx, void* boundary);
21 bool findMarker(uint32_t id, SkM44* mx) const;
22 bool findMarkerInverse(uint32_t id, SkM44* mx) const;
DSkYUVMath.cpp258 static void make_rgb_to_yuv_matrix(float mx[20], const YUVCoeff& c) { in make_rgb_to_yuv_matrix()
286 memcpy(mx, m, sizeof(m)); in make_rgb_to_yuv_matrix()
287 scale3(mx + 0, scaleY ); in make_rgb_to_yuv_matrix()
288 scale3(mx + 5, Cr * scaleUV); in make_rgb_to_yuv_matrix()
289 scale3(mx + 10, Cb * scaleUV); in make_rgb_to_yuv_matrix()
/external/skqp/src/core/
DSkMatrixPriv.h46 static bool SK_WARN_UNUSED_RESULT InverseMapRect(const SkMatrix& mx, in InverseMapRect() argument
48 if (mx.getType() <= SkMatrix::kTranslate_Mask) { in InverseMapRect()
49 SkScalar tx = mx.getTranslateX(); in InverseMapRect()
50 SkScalar ty = mx.getTranslateY(); in InverseMapRect()
59 if (mx.invert(&inverse)) { in InverseMapRect()
84 static void MapPointsWithStride(const SkMatrix& mx, SkPoint pts[], size_t stride, int count) { in MapPointsWithStride() argument
88 SkMatrix::TypeMask tm = mx.getType(); in MapPointsWithStride()
94 const SkScalar tx = mx.getTranslateX(); in MapPointsWithStride()
95 const SkScalar ty = mx.getTranslateY(); in MapPointsWithStride()
106 SkMatrix::MapXYProc proc = mx.getMapXYProc(); in MapPointsWithStride()
[all …]
/external/lzma/CPP/7zip/UI/FileManager/
DComboDialog.cpp44 int mx, my; in OnSize() local
45 GetMargins(8, mx, my); in OnSize()
50 int x = xSize - mx - bx1; in OnSize()
55 MoveItem(IDOK, x - mx - bx2, y, bx2, by); in OnSize()
56 ChangeSubWindowSizeX(_comboBox, xSize - mx * 2); in OnSize()
/external/llvm-project/llvm/test/CodeGen/AArch64/
Dunfold-masked-merge-vector-variablemask.ll18 %mx = and <1 x i8> %x, %mask
21 %r = or <1 x i8> %mx, %my
38 %mx = and <2 x i8> %x, %mask
41 %r = or <2 x i8> %mx, %my
50 %mx = and <1 x i16> %x, %mask
53 %r = or <1 x i16> %mx, %my
70 %mx = and <4 x i8> %x, %mask
73 %r = or <4 x i8> %mx, %my
86 %mx = and <4 x i8> %x, %mask
89 %r = or <4 x i8> %mx, %my
[all …]
Dunfold-masked-merge-vector-variablemask-const.ll15 %mx = and <4 x i32> %mask, %x
17 %r = or <4 x i32> %mx, %my
40 %mx = and <4 x i32> %notmask, %x
42 %r = or <4 x i32> %mx, %my
68 %mx = and <4 x i32> %mask, %x
70 %r = or <4 x i32> %mx, %my
94 %mx = and <4 x i32> %notmask, %x
96 %r = or <4 x i32> %mx, %my
120 %mx = and <4 x i32> %mask, <i32 -1, i32 -1, i32 -1, i32 -1>
122 %r = or <4 x i32> %mx, %my
[all …]
Dunfold-masked-merge-scalar-variablemask.ll13 %mx = and i8 %x, %mask
16 %r = or i8 %mx, %my
27 %mx = and i16 %x, %mask
30 %r = or i16 %mx, %my
41 %mx = and i32 %x, %mask
44 %r = or i32 %mx, %my
55 %mx = and i64 %x, %mask
58 %r = or i64 %mx, %my
342 %mx = and i32 %mask, %x
344 %r = or i32 %mx, %my
[all …]
Dunfold-masked-merge-scalar-constmask-lowhigh.ll15 %mx = and i8 %x, 15
17 %r = or i8 %mx, %my
27 %mx = and i16 %x, 255
29 %r = or i16 %mx, %my
39 %mx = and i32 %x, 65535
41 %r = or i32 %mx, %my
51 %mx = and i64 %x, 4294967295
53 %r = or i64 %mx, %my
247 %mx = and i32 %x, 65535
249 %r = or i32 %mx, %my
Dunfold-masked-merge-scalar-constmask-innerouter.ll16 %mx = and i8 %x, 60
18 %r = or i8 %mx, %my
29 %mx = and i16 %x, 4080
31 %r = or i16 %mx, %my
42 %mx = and i32 %x, 16776960
44 %r = or i32 %mx, %my
55 %mx = and i64 %x, 281474976645120
57 %r = or i64 %mx, %my
254 %mx = and i32 %x, 16776960
256 %r = or i32 %mx, %my
Dunfold-masked-merge-scalar-constmask-interleavedbits.ll18 %mx = and i8 %x, 85
20 %r = or i8 %mx, %my
33 %mx = and i16 %x, 21845
35 %r = or i16 %mx, %my
46 %mx = and i32 %x, 1431655765
48 %r = or i32 %mx, %my
59 %mx = and i64 %x, 6148914691236517205
61 %r = or i64 %mx, %my
260 %mx = and i32 %x, 1431655765
262 %r = or i32 %mx, %my
/external/skia/samplecode/
DSampleClip.cpp212 SkMatrix mx, inv; in clip() local
214 mx.setAll(v.fX, -v.fY, p0.fX, in clip()
217 SkAssertResult(mx.invert(&inv)); in clip()
267 return rec.fResult.detach().makeTransform(mx); in clip()
342 static void compute_half_planes(const SkMatrix& mx, SkScalar W, SkScalar H, in compute_half_planes() argument
344 SkScalar a = mx[0], b = mx[1], c = mx[2], in compute_half_planes()
345 d = mx[3], e = mx[4], f = mx[5], in compute_half_planes()
346 g = mx[6], h = mx[7], i = mx[8]; in compute_half_planes()
367 SkMatrix mx; in onDrawContent() local
372 mx.setPolyToPoly(src, fPts, 4); in onDrawContent()
[all …]
/external/libgav1/libgav1/src/utils/
Dbit_reader.cc75 bool BitReader::DecodeUnsignedSubexpWithReference(int mx, int reference, in DecodeUnsignedSubexpWithReference() argument
79 if (!DecodeSubexp(mx, control, &v)) return false; in DecodeUnsignedSubexpWithReference()
80 if ((reference << 1) <= mx) { in DecodeUnsignedSubexpWithReference()
83 *value = mx - 1 - InverseRecenter(mx - 1 - reference, v); in DecodeUnsignedSubexpWithReference()
/external/OpenCL-CTS/test_conformance/subgroups/
Dsubgroup_common_templates.h175 static int chk(Ty *x, Ty *y, Ty *mx, Ty *my, cl_int *m, in chk()
198 mx[j] = x[j]; // read host inputs for work_group in chk()
226 tr = mx[ii + lowest_active_id]; in chk()
250 tr = mx[ii + l]; in chk()
264 tr = mx[ii + l]; in chk()
270 tr = mx[ii + l]; in chk()
506 static int chk(Ty *x, Ty *y, Ty *mx, Ty *my, cl_int *m, in chk()
521 mx[j] = x[j]; // read host inputs for work_group in chk()
539 case ShuffleOp::shuffle: tr = mx[ii + l]; break; in chk()
541 case ShuffleOp::shuffle_up: tr = mx[ii + i - l]; break; in chk()
[all …]
Dtest_subgroup_ballot.cpp40 static int chk(Ty *x, Ty *y, Ty *mx, Ty *my, cl_int *m, in chk()
158 static int chk(Ty *x, Ty *y, Ty *mx, Ty *my, cl_int *m, in chk()
183 mx[wi_id] = x[wi_id]; in chk()
216 (mx[wg_offset + wi_id].s0 & bit_mask) > 0 in chk()
220 (mx[wg_offset + wi_id].s1 & bit_mask) > 0 in chk()
224 (mx[wg_offset + wi_id].s2 & bit_mask) > 0 in chk()
228 (mx[wg_offset + wi_id].s3 & bit_mask) > 0 in chk()
285 static int chk(Ty *x, Ty *y, Ty *mx, Ty *my, cl_int *m, in chk()
310 mx[wi_id] = x[wi_id]; // read host inputs for work_group in chk()
461 static int chk(Ty *x, Ty *y, Ty *mx, Ty *my, cl_int *m, in chk()
[all …]
Dtest_subgroup_non_uniform_vote.cpp95 static int chk(T *x, T *y, T *mx, T *my, cl_int *m, in chk()
119 mx[j] = x[j]; // read host inputs for work_group in chk()
154 !compare_ordered<T>(mx[ii + i], 0) ? 1 : 0; in chk()
158 !compare_ordered<T>(mx[ii + i], 0) ? 1 : 0; in chk()
162 mx[ii + i], in chk()
163 mx[ii + *active_work_items.begin()]) in chk()
Dtest_barrier.cpp95 static int chk(cl_int *x, cl_int *y, cl_int *mx, cl_int *my, cl_int *m, in chk()
116 mx[j] = x[j]; in chk()
127 tr = j == 0 ? mx[ii + n - 1 - i] : -mx[ii + i]; in chk()
/external/llvm-project/libclc/generic/lib/math/
Dclc_nextafter.cl16 INT_TYPE mx = sign_bit - ix; \
17 mx = ix < 0 ? mx : ix; \
22 INT_TYPE t = mx + (mx < my ? 1 : -1); \
/external/llvm-project/libc/utils/FPUtil/
DDivisionAndRemainderOperations.h55 typename NormalFloat<T>::UIntType mx = normalx.mantissa, in remquo() local
61 typename NormalFloat<T>::UIntType n = mx; in remquo()
72 mx = n - my; in remquo()
73 if (mx == 0) { in remquo()
79 NormalFloat<T> remainder(exp + normaly.exponent, mx, 0); in remquo()
/external/skqp/gm/
Dhsl.cpp49 mx = max(*r,*g,*b); in set_sat() local
51 return mx == mn ? 0 in set_sat()
52 : (c - mn) * s / (mx - mn); in set_sat()
61 mx = max(*r,*g,*b); in clip_color() local
64 if (mx > 1) { c = l + (c - l) * (1 - l) / (mx - l); } in clip_color()
/external/skia/gm/
Dhsl.cpp57 mx = max(*r,*g,*b); in set_sat() local
59 return mx == mn ? 0 in set_sat()
60 : (c - mn) * s / (mx - mn); in set_sat()
69 mx = max(*r,*g,*b); in clip_color() local
72 if (mx > 1) { c = l + (c - l) * (1 - l) / (mx - l); } in clip_color()

123456789