Home
last modified time | relevance | path

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

12345

/external/skia/src/core/
DSkMatrixPriv.h20 static bool SK_WARN_UNUSED_RESULT InverseMapRect(const SkMatrix& mx, in InverseMapRect() argument
22 if (mx.getType() <= SkMatrix::kTranslate_Mask) { in InverseMapRect()
23 SkScalar tx = mx.getTranslateX(); in InverseMapRect()
24 SkScalar ty = mx.getTranslateY(); in InverseMapRect()
33 if (mx.invert(&inverse)) { in InverseMapRect()
40 static void MapPointsWithStride(const SkMatrix& mx, SkPoint pts[], size_t stride, int count) { in MapPointsWithStride() argument
44 SkMatrix::TypeMask tm = mx.getType(); in MapPointsWithStride()
50 const SkScalar tx = mx.getTranslateX(); in MapPointsWithStride()
51 const SkScalar ty = mx.getTranslateY(); in MapPointsWithStride()
62 SkMatrix::MapXYProc proc = mx.getMapXYProc(); in MapPointsWithStride()
[all …]
DSkBitmapProcState.cpp517 unsigned mx, unsigned my) { in check_scale_nofilter() argument
523 SkASSERT(xptr[i] < mx); in check_scale_nofilter()
528 unsigned mx, unsigned my) { in check_scale_filter() argument
539 SkASSERT(x0 < mx); in check_scale_filter()
540 SkASSERT(x1 < mx); in check_scale_filter()
545 unsigned mx, unsigned my) { in check_affine_nofilter() argument
550 SkASSERT(x < mx); in check_affine_nofilter()
556 unsigned mx, unsigned my) { in check_affine_filter() argument
567 SkASSERT(x0 < mx); in check_affine_filter()
568 SkASSERT(x1 < mx); in check_affine_filter()
[all …]
/external/valgrind/helgrind/tests/
Dtc23_bogus_condwait.c10 pthread_mutex_t mx[4]; variable
40 int r= pthread_mutex_lock( &mx[2] ); assert(!r); in grab_the_lock()
42 r= pthread_mutex_unlock( &mx[2] ); assert(!r); in grab_the_lock()
51 r= pthread_mutex_init(&mx[0], NULL); assert(!r); in main()
52 r= pthread_mutex_init(&mx[1], NULL); assert(!r); in main()
53 r= pthread_mutex_init(&mx[2], NULL); assert(!r); in main()
54 r= pthread_mutex_init(&mx[3], NULL); assert(!r); in main()
69 r= pthread_cond_wait(&cv, (pthread_mutex_t*)(4 + (char*)&mx[0]) ); in main()
72 r= pthread_cond_wait(&cv, &mx[3]); in main()
78 r= pthread_cond_wait(&cv, &mx[2] ); in main()
Dlocked_vs_unlocked3.c19 pthread_mutex_t mx; variable
26 r= pthread_mutex_lock(&mx); assert(!r); in child_fn1()
27 r= pthread_mutex_lock(&mx); assert(!r); in child_fn1()
29 r= pthread_mutex_unlock(&mx); assert(!r); in child_fn1()
30 r= pthread_mutex_unlock(&mx); assert(!r); in child_fn1()
51 r= pthread_mutex_init(&mx, &attr); assert(!r); in main()
59 r= pthread_mutex_destroy(&mx); assert(!r); in main()
Dtc04_free_lock.c36 pthread_mutex_t mx = PTHREAD_MUTEX_INITIALIZER; in bar() local
38 pthread_mutex_lock( &mx ); in bar()
45 pthread_mutex_t mx; in foo() local
46 pthread_mutex_init( &mx, NULL ); in foo()
47 pthread_mutex_lock( &mx ); in foo()
Dhg01_all_ok.c6 static pthread_mutex_t mx = PTHREAD_MUTEX_INITIALIZER; variable
19 pthread_mutex_lock(&mx); in th()
29 pthread_mutex_unlock(&mx); in th()
38 pthread_mutex_lock(&mx); in main()
39 pthread_mutex_unlock(&mx); in main()
Dlocked_vs_unlocked1.c12 pthread_mutex_t mx = PTHREAD_MUTEX_INITIALIZER; variable
18 if (arg) pthread_mutex_lock(&mx); in child_fn()
20 if (arg) pthread_mutex_unlock(&mx); in child_fn()
/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()
DProgressDialog2.cpp436 int mx, my; in OnSize() local
440 mx = r.left; in OnSize()
449 int xSizeClient = xSize - mx * 2; in OnSize()
461 ChangeSubWindowSizeX(GetItem(IDT_PROGRESS_STATUS), xSize - mx * 2); in OnSize()
462 ChangeSubWindowSizeX(GetItem(IDT_PROGRESS_FILE_NAME), xSize - mx * 2); in OnSize()
463 ChangeSubWindowSizeX(GetItem(IDC_PROGRESS1), xSize - mx * 2); in OnSize()
466 int mx2 = mx; in OnSize()
487 int xx = xSize - mx * 2; in OnSize()
495 _messageList.Move(mx, y, xx, ySize2); in OnSize()
499 int xPos = xSize - mx; in OnSize()
[all …]
/external/valgrind/none/tests/
Dpth_mutexspeed.c10 pthread_mutex_t mx = PTHREAD_MUTEX_INITIALIZER; in main() local
13 r = pthread_mutex_lock(&mx); in main()
14 r |= pthread_mutex_unlock(&mx); in main()
/external/skia/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/syslinux/com32/lib/syslinux/
Dmovebits.c226 struct syslinux_movelist *mp, **mpp, *mx, *np; in shuffle_dealias() local
244 for (mx = *fraglist; mx != mp; mx = mx->next) { in shuffle_dealias()
245 dprintf("mx -> (%#x,%#x,%#x)\n", mx->dst, mx->src, mx->len); in shuffle_dealias()
250 xs = mx->src; in shuffle_dealias()
251 xe = mx->src + mx->len - 1; in shuffle_dealias()
287 mp->src = mx->dst + (ps - xs); in shuffle_dealias()
/external/deqp/framework/delibs/debase/
DdeInt32.h110 DE_INLINE deBool deInRange32 (int a, int mn, int mx) in deInRange32() argument
112 return (a >= mn) && (a <= mx); in deInRange32()
124 DE_INLINE deBool deInBounds32 (int a, int mn, int mx) in deInBounds32() argument
126 return (a >= mn) && (a < mx); in deInBounds32()
136 DE_INLINE int deClamp32 (int a, int mn, int mx) in deClamp32() argument
138 DE_ASSERT(mn <= mx); in deClamp32()
140 if (a > mx) return mx; in deClamp32()
DdeMath.h76 …INLINE float deFloatClamp (float x, float mn, float mx) { return (x <= mn) ? mn : ((x >= mx) ? m… in deFloatClamp() argument
81 …INLINE double deClamp (double x, double mn, double mx) { return (x <= mn) ? mn : ((x >= mx) ? m… in deClamp() argument
/external/wpa_supplicant_8/src/wps/
Dwps_upnp_ssdp.c449 int mx) in msearchreply_state_machine_start() argument
472 next_timeout_msec = (1000 * mx * (os_random() & 0xFF)) >> 8; in msearchreply_state_machine_start()
523 int mx = 0; in ssdp_parse_msearch() local
632 mx = atol(data); in ssdp_parse_msearch()
638 if (!got_host || !got_st || !got_man || !got_mx || mx < 0) { in ssdp_parse_msearch()
640 "%d mx=%d", got_host, got_st, got_man, got_mx, mx); in ssdp_parse_msearch()
648 if (mx > 120) in ssdp_parse_msearch()
649 mx = 120; /* UPnP-arch-DeviceArchitecture, 1.2.3 */ in ssdp_parse_msearch()
650 msearchreply_state_machine_start(sm, client, mx); in ssdp_parse_msearch()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DBasicPeriodFormatter.java87 int mx = TimeUnit.MILLISECOND.ordinal; in format() local
89 int mf = 1 << mx; in format()
94 counts[sx] += (counts[mx]-1)/1000; in format()
105 counts[sx] += (counts[mx]-1)/1000; in format()
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
DBasicPeriodFormatter.java88 int mx = TimeUnit.MILLISECOND.ordinal; in format() local
90 int mf = 1 << mx; in format()
95 counts[sx] += (counts[mx]-1)/1000; in format()
106 counts[sx] += (counts[mx]-1)/1000; in format()
/external/blktrace/btt/
Dbtt_plot.py100 def check(mn, mx, v): argument
105 if mx == None or v > mx: mx = v
106 return mn, mx, v
/external/skia/experimental/docs/
DinterpolatorFunctions.js38 var mx = ex * 27 - ax * 8 - dx;
42 var bx = (mx * 2 - nx) / 18;
44 var cx = (nx * 2 - mx) / 18;
/external/llvm/test/CodeGen/X86/
Dinline-asm-x-scalar.ll9 …%tmp53 = tail call i32 asm "ucomiss $1, $3\0Acmovae $2, $0 ", "=r,mx,mr,x,0,~{dirflag},~{fpsr},~{…
14 …tail call void asm sideeffect "ucomiss $0, $1", "mx,x,~{dirflag},~{fpsr},~{flags},~{cc}"( float 0x…
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
Dinline-asm-x-scalar.ll9 …%tmp53 = tail call i32 asm "ucomiss $1, $3\0Acmovae $2, $0 ", "=r,mx,mr,x,0,~{dirflag},~{fpsr},~{…
14 …tail call void asm sideeffect "ucomiss $0, $1", "mx,x,~{dirflag},~{fpsr},~{flags},~{cc}"( float 0x…
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifierUtil.cpp277 const Vec3 mx = abs(dPdx) * size.asFloat(); in calcLodBounds() local
283 scaleXBounds[0] = de::max(de::abs(mx[0]), de::max(de::abs(mx[1]), de::abs(mx[2]))); in calcLodBounds()
286 scaleXBounds[1] = de::abs(mx[0]) + de::abs(mx[1]) + de::abs(mx[2]); in calcLodBounds()
/external/gemmlowp/test/
Dcorrectness_meta_gemm.cc214 void q_suite(int mi, int ni, int ki, int mx, int nx, int kx, int md, int nd, in q_suite() argument
218 for (int m = mi; m < mx; m += md) { in q_suite()
228 void f_suite(int mi, int ni, int ki, int mx, int nx, int kx, int md, int nd, in f_suite() argument
232 for (int m = mi; m < mx; m += md) { in f_suite()
242 void i32_suite(int mi, int ni, int ki, int mx, int nx, int kx, int md, int nd, in i32_suite() argument
246 for (int m = mi; m < mx; m += md) { in i32_suite()
/external/dnsmasq/src/
Doption.c2878 struct mx_srv_record *mx; in read_opts() local
2883 for (mx = daemon->mxnames; mx; mx = mx->next) in read_opts()
2884 if (!mx->issrv && hostname_isequal(mx->name, buff)) in read_opts()
2887 if ((daemon->mxtarget || (daemon->options & OPT_LOCALMX)) && !mx) in read_opts()
2889 mx = opt_malloc(sizeof(struct mx_srv_record)); in read_opts()
2890 mx->next = daemon->mxnames; in read_opts()
2891 mx->issrv = 0; in read_opts()
2892 mx->target = NULL; in read_opts()
2893 mx->name = opt_string_alloc(buff); in read_opts()
2894 daemon->mxnames = mx; in read_opts()
[all …]
/external/libcxx/src/
Dlocale.cpp1484 const extern_type* frm, const extern_type* end, size_t mx) const in do_length()
1486 return static_cast<int>(min<size_t>(mx, static_cast<size_t>(end-frm))); in do_length()
1680 const extern_type* frm, const extern_type* frm_end, size_t mx) const in do_length()
1683 for (size_t nwchar_t = 0; nwchar_t < mx && frm != frm_end; ++nwchar_t) in do_length()
2123 size_t mx, unsigned long Maxcode = 0x10FFFF, in utf8_to_utf16_length() argument
2133 for (size_t nchar16_t = 0; frm_nxt < frm_end && nchar16_t < mx; ++nchar16_t) in utf8_to_utf16_length()
2184 if (frm_end-frm_nxt < 4 || mx-nchar16_t < 2) in utf8_to_utf16_length()
2393 size_t mx, unsigned long Maxcode = 0x10FFFF, in utf8_to_ucs4_length() argument
2403 for (size_t nchar32_t = 0; frm_nxt < frm_end && nchar32_t < mx; ++nchar32_t) in utf8_to_ucs4_length()
2618 size_t mx, unsigned long Maxcode = 0x10FFFF, in utf8_to_ucs2_length() argument
[all …]

12345