/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/cares/cares/test/ |
D | ares-test-parse-mx.cc | 18 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 …]
|
/external/skia/src/core/ |
D | SkYUVMath.cpp | 540 static void make_rgb_to_yuv_matrix_ycbcr(float mx[20], const YUVCoeff& c) { in make_rgb_to_yuv_matrix_ycbcr() 568 memcpy(mx, m, sizeof(m)); in make_rgb_to_yuv_matrix_ycbcr() 569 scale3(mx + 0, scaleY ); in make_rgb_to_yuv_matrix_ycbcr() 570 scale3(mx + 5, Cr * scaleUV); in make_rgb_to_yuv_matrix_ycbcr() 571 scale3(mx + 10, Cb * scaleUV); in make_rgb_to_yuv_matrix_ycbcr() 574 static void make_rgb_to_yuv_matrix_ydzdx(float mx[20], Range range) { in make_rgb_to_yuv_matrix_ydzdx() 595 memcpy(mx, m, sizeof(m)); in make_rgb_to_yuv_matrix_ydzdx() 596 scale3(mx + 0, scaleY ); in make_rgb_to_yuv_matrix_ydzdx() 597 scale3(mx + 5, scaleUV); in make_rgb_to_yuv_matrix_ydzdx() 598 scale3(mx + 10, scaleUV); in make_rgb_to_yuv_matrix_ydzdx() [all …]
|
D | SkMatrixPriv.h | 54 [[nodiscard]] static bool InverseMapRect(const SkMatrix& mx, SkRect* dst, const SkRect& src) { in InverseMapRect() argument 55 if (mx.isScaleTranslate()) { in InverseMapRect() 57 if (mx.getScaleX() == 0.f || mx.getScaleY() == 0.f) { in InverseMapRect() 61 const SkScalar tx = mx.getTranslateX(); in InverseMapRect() 62 const SkScalar ty = mx.getTranslateY(); in InverseMapRect() 69 if (mx.getType() > SkMatrix::kTranslate_Mask) { in InverseMapRect() 70 const SkScalar sx = 1.f / mx.getScaleX(); in InverseMapRect() 71 const SkScalar sy = 1.f / mx.getScaleY(); in InverseMapRect() 87 if (mx.invert(&inverse)) { in InverseMapRect() 112 static void MapPointsWithStride(const SkMatrix& mx, SkPoint pts[], size_t stride, int count) { in MapPointsWithStride() argument [all …]
|
D | SkDraw_atlas.cpp | 139 SkMatrix mx; in drawAtlas() local 140 mx.setRSXform(xform[i]); in drawAtlas() 141 mx.preTranslate(-textures[i].fLeft, -textures[i].fTop); in drawAtlas() 142 mx.postConcat(*fCTM); in drawAtlas() 144 if (!mx.invert(&inv)) { in drawAtlas() 148 fill_rect(mx, *fRC, textures[i], blitter, &scratchPath); in drawAtlas()
|
/external/trusty/musl/src/math/ |
D | fmodl.c | 38 uint64_t i, mx, my; in fmodl() local 39 mx = ux.i.m; in fmodl() 42 i = mx - my; in fmodl() 43 if (mx >= my) { in fmodl() 46 mx = 2*i; in fmodl() 47 } else if (2*mx < mx) { in fmodl() 48 mx = 2*mx - my; in fmodl() 50 mx = 2*mx; in fmodl() 53 i = mx - my; in fmodl() 54 if (mx >= my) { in fmodl() [all …]
|
D | remquol.c | 40 uint64_t i, mx, my; in remquol() local 41 mx = ux.i.m; in remquol() 44 i = mx - my; in remquol() 45 if (mx >= my) { in remquol() 46 mx = 2*i; in remquol() 49 } else if (2*mx < mx) { in remquol() 50 mx = 2*mx - my; in remquol() 54 mx = 2*mx; in remquol() 58 i = mx - my; in remquol() 59 if (mx >= my) { in remquol() [all …]
|
/external/musl/src/math/ |
D | fmodl.c | 38 uint64_t i, mx, my; in fmodl() local 39 mx = ux.i.m; in fmodl() 42 i = mx - my; in fmodl() 43 if (mx >= my) { in fmodl() 46 mx = 2*i; in fmodl() 47 } else if (2*mx < mx) { in fmodl() 48 mx = 2*mx - my; in fmodl() 50 mx = 2*mx; in fmodl() 53 i = mx - my; in fmodl() 54 if (mx >= my) { in fmodl() [all …]
|
D | remquol.c | 40 uint64_t i, mx, my; in remquol() local 41 mx = ux.i.m; in remquol() 44 i = mx - my; in remquol() 45 if (mx >= my) { in remquol() 46 mx = 2*i; in remquol() 49 } else if (2*mx < mx) { in remquol() 50 mx = 2*mx - my; in remquol() 54 mx = 2*mx; in remquol() 58 i = mx - my; in remquol() 59 if (mx >= my) { in remquol() [all …]
|
/external/lzma/CPP/7zip/UI/FileManager/ |
D | CopyDialog.cpp | 40 int mx, my; in OnSize() local 41 GetMargins(8, mx, my); in OnSize() 46 const int x = xSize - mx - bx1; in OnSize() 54 MoveItem(IDB_COPY_SET_PATH, xSize - mx - bx, r.top, bx, RECT_SIZE_Y(r)); in OnSize() 55 ChangeSubWindowSizeX(_path, xSize - mx - mx - bx - mx); in OnSize() 64 staticContol.Move(mx, yPos, xSize - mx * 2, y - 2 - yPos); in OnSize() 68 MoveItem(IDOK, x - mx - bx2, y, bx2, by); in OnSize()
|
D | SplitDialog.cpp | 52 int mx, my; in OnSize() local 53 GetMargins(8, mx, my); in OnSize() 58 int xPos = xSize - mx - bx1; in OnSize() 66 MoveItem(IDB_SPLIT_PATH, xSize - mx - bx, r.top, bx, RECT_SIZE_Y(r)); in OnSize() 67 ChangeSubWindowSizeX(_pathCombo, xSize - mx - mx - bx - mx); in OnSize() 71 MoveItem(IDOK, xPos - mx - bx2, yPos, bx2, by); in OnSize()
|
D | EditDialog.cpp | 30 int mx, my; in OnSize() local 31 GetMargins(8, mx, my); in OnSize() 39 const int x = xSize - mx - bx1; in OnSize() 55 _edit.Move(mx, my, xSize - mx * 2, y - my * 2); in OnSize()
|
D | ComboDialog.cpp | 44 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()
|
D | MessagesDialog.cpp | 64 int mx, my; in OnSize() local 65 GetMargins(8, mx, my); in OnSize() 69 int x = xSize - mx - bx; in OnSize() 74 _messageList.Move(mx, my, xSize - mx * 2, y - my * 2); in OnSize()
|
/external/skia/tools/fonts/ |
D | RandomScalerContext.cpp | 73 GlyphMetrics mx(SkMask::kA8_Format); in generateMetrics() local 74 mx.advance = glyph.advanceVector(); in generateMetrics() 75 mx.bounds = glyph.rect(); in generateMetrics() 76 mx.maskFormat = glyph.maskFormat(); in generateMetrics() 77 mx.extraBits = glyph.extraBits(); in generateMetrics() 80 mx.neverRequestPath = glyph.setPathHasBeenCalled() && !glyph.path(); in generateMetrics() 81 mx.computeFromPath = !mx.neverRequestPath; in generateMetrics() 82 return mx; in generateMetrics() 87 mx.neverRequestPath = true; in generateMetrics() 88 return mx; in generateMetrics() [all …]
|
/external/skia/resources/sksl/realistic/ |
D | HighContrastFilter.rtcf | 12 half mx = max(max(c.r,c.g),c.b), 14 d = mx-mn, 18 // We'd prefer to write these tests like `mx == c.r`, but on some GPUs max(x,y) is 20 half h = (1/6.0) * (mx == mn ? 0.0 : 21 /*mx==c.r*/ c.r >= c.g && c.r >= c.b ? invd * (c.g - c.b) + g_lt_b : 22 /*mx==c.g*/ c.g >= c.b ? invd * (c.b - c.r) + 2.0 23 /*mx==c.b*/ : invd * (c.r - c.g) + 4.0); 24 half sum = mx+mn, 26 s = mx == mn ? 0.0
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/RISCV/ |
D | RISCVInstrInfoVPseudos.td | 76 VReg f2regclass, VReg f4regclass, VReg f8regclass, string mx> { 83 string MX = mx; 1671 defvar mx = mti.LMul.MX; 1672 defvar WriteVLDM_MX = !cast<SchedWrite>("WriteVLDM_" # mx); 1673 defvar ReadVLDX_MX = !cast<SchedRead>("ReadVLDX_" # mx); 1750 defvar mx = mti.LMul.MX; 1751 defvar WriteVSTM_MX = !cast<SchedWrite>("WriteVSTM_" # mx); 1752 defvar ReadVSTX_MX = !cast<SchedRead>("ReadVSTX_" # mx); 1806 defvar mx = mti.LMul.MX; 1807 defvar WriteVMPopV_MX = !cast<SchedWrite>("WriteVMPopV_" # mx); [all …]
|
/external/libdav1d/src/ |
D | mc_tmpl.c | 99 #define GET_H_FILTER(mx) \ argument 100 const int8_t *const fh = !(mx) ? NULL : w > 4 ? \ 101 dav1d_mc_subpel_filters[filter_type & 3][(mx) - 1] : \ 102 dav1d_mc_subpel_filters[3 + (filter_type & 1)][(mx) - 1] 110 GET_H_FILTER(mx); \ 116 const int w, int h, const int mx, const int my, in put_8tap_c() argument 176 const int w, int h, const int mx, int my, in put_8tap_scaled_c() argument 189 int imx = mx, ioff = 0; in put_8tap_scaled_c() 225 const int w, int h, const int mx, const int my, in prep_8tap_c() argument 286 const int w, int h, const int mx, int my, in prep_8tap_scaled_c() argument [all …]
|
D | mc.h | 41 int w, int h, int mx, int my HIGHBD_DECL_SUFFIX) 47 int w, int h, int mx, int my, int dx, int dy HIGHBD_DECL_SUFFIX) 53 const int16_t *abcd, int mx, int my HIGHBD_DECL_SUFFIX) 58 int w, int h, int mx, int my HIGHBD_DECL_SUFFIX) 63 int w, int h, int mx, int my, int dx, int dy HIGHBD_DECL_SUFFIX) 69 const int16_t *abcd, int mx, int my HIGHBD_DECL_SUFFIX) 113 int dst_w, int h, int src_w, int dx, int mx HIGHBD_DECL_SUFFIX)
|
/external/golang-protobuf/reflect/protoreflect/ |
D | value_equal.go | 90 func equalMessage(mx, my Message) bool { argument 91 if mx.Descriptor() != my.Descriptor() { 97 mx.Range(func(fd FieldDescriptor, vx Value) bool { 115 return equalUnknown(mx.GetUnknown(), my.GetUnknown()) 155 mx := make(map[FieldNumber]RawFields) 159 mx[fnum] = append(mx[fnum], x[:n]...) 167 return reflect.DeepEqual(mx, my)
|
/external/skia/tools/viewer/ |
D | ClipSlide.cpp | 217 SkMatrix mx, inv; in clip() local 219 mx.setAll(v.fX, -v.fY, p0.fX, in clip() 222 SkAssertResult(mx.invert(&inv)); in clip() 272 return rec.fResult.detach().makeTransform(mx); in clip() 348 static void compute_half_planes(const SkMatrix& mx, SkScalar width, SkScalar height, in compute_half_planes() argument 350 SkScalar a = mx[0], b = mx[1], c = mx[2], in compute_half_planes() 351 d = mx[3], e = mx[4], f = mx[5], in compute_half_planes() 352 g = mx[6], h = mx[7], i = mx[8]; in compute_half_planes() 374 SkMatrix mx; in draw() local 379 mx.setPolyToPoly(src, fPts, 4); in draw() [all …]
|
/external/libdav1d/tests/checkasm/ |
D | mc.c | 66 ptrdiff_t src_stride, int w, int h, int mx, int my in check_mc() 78 const int mx = (mxy & 1) ? rnd() % 15 + 1 : 0; in check_mc() local 93 mx, my HIGHBD_TAIL_SUFFIX); in check_mc() 95 mx, my HIGHBD_TAIL_SUFFIX); in check_mc() 105 mx, my HIGHBD_TAIL_SUFFIX); in check_mc() 132 int w, int h, int mx, int my HIGHBD_DECL_SUFFIX); in check_mct() 141 const int mx = (mxy & 1) ? rnd() % 15 + 1 : 0; in check_mct() local 151 mx, my HIGHBD_TAIL_SUFFIX); in check_mct() 153 mx, my HIGHBD_TAIL_SUFFIX); in check_mct() 163 mx, my HIGHBD_TAIL_SUFFIX); in check_mct() [all …]
|
/external/golang-protobuf/testing/protocmp/ |
D | xform.go | 235 mx := Message{} 246 mx[s] = transformList(fd, v.List()) 248 mx[s] = transformMap(fd, v.Map()) 250 mx[s] = transformSingular(fd, v) 259 b2, _ := mx[s].(protoreflect.RawFields) 260 mx[s] = append(b2, b[:n]...) 267 s, _ := mx[string(genid.Any_TypeUrl_field_name)].(string) 268 b, _ := mx[string(genid.Any_Value_field_name)].([]byte) 274 mx[string(genid.Any_Value_field_name)] = transformMessage(m2) 279 mx[messageTypeKey] = mt [all …]
|
/external/libgav1/src/utils/ |
D | bit_reader.cc | 75 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/cronet/tot/third_party/llvm-libc/src/src/__support/FPUtil/ |
D | DivisionAndRemainderOperations.h | 58 typename NormalFloat<T>::StorageType mx = normalx.mantissa, in remquo() local 64 typename NormalFloat<T>::StorageType n = mx; in remquo() 75 mx = n - my; in remquo() 76 if (mx == 0) { in remquo() 82 NormalFloat<T> remainder(Sign::POS, exp + normaly.exponent, mx); in remquo()
|
/external/cronet/stable/third_party/llvm-libc/src/src/__support/FPUtil/ |
D | DivisionAndRemainderOperations.h | 58 typename NormalFloat<T>::StorageType mx = normalx.mantissa, in remquo() local 64 typename NormalFloat<T>::StorageType n = mx; in remquo() 75 mx = n - my; in remquo() 76 if (mx == 0) { in remquo() 82 NormalFloat<T> remainder(Sign::POS, exp + normaly.exponent, mx); in remquo()
|