Searched defs:mx (Results 1 - 25 of 39) sorted by relevance

12

/external/valgrind/none/tests/
H A Dpth_mutexspeed.c10 pthread_mutex_t mx = PTHREAD_MUTEX_INITIALIZER; local
13 r = pthread_mutex_lock(&mx);
14 r |= pthread_mutex_unlock(&mx);
/external/valgrind/helgrind/tests/
H A Dhg01_all_ok.c6 static pthread_mutex_t mx = PTHREAD_MUTEX_INITIALIZER; variable
19 pthread_mutex_lock(&mx);
29 pthread_mutex_unlock(&mx);
38 pthread_mutex_lock(&mx);
39 pthread_mutex_unlock(&mx);
H A Dlocked_vs_unlocked1.c12 pthread_mutex_t mx = PTHREAD_MUTEX_INITIALIZER; variable
18 if (arg) pthread_mutex_lock(&mx);
20 if (arg) pthread_mutex_unlock(&mx);
H A Dtc04_free_lock.c36 pthread_mutex_t mx = PTHREAD_MUTEX_INITIALIZER; local
37 // pthread_mutex_init( &mx, NULL );
38 pthread_mutex_lock( &mx );
39 /* now just abandon mx */
45 pthread_mutex_t mx; local
46 pthread_mutex_init( &mx, NULL );
47 pthread_mutex_lock( &mx );
48 /* now just abandon mx */
H A Dlocked_vs_unlocked3.c19 pthread_mutex_t mx; variable
26 r= pthread_mutex_lock(&mx); assert(!r);
27 r= pthread_mutex_lock(&mx); assert(!r);
29 r= pthread_mutex_unlock(&mx); assert(!r);
30 r= pthread_mutex_unlock(&mx); assert(!r);
51 r= pthread_mutex_init(&mx, &attr); assert(!r);
59 r= pthread_mutex_destroy(&mx); assert(!r);
H A Dtc20_verifywrap.c44 pthread_mutex_t mx, mx2, mx3, mx4; local
92 r= pthread_mutex_init( &mx, &mxa );
H A Dtc23_bogus_condwait.c10 pthread_mutex_t mx[4]; variable
40 int r= pthread_mutex_lock( &mx[2] ); assert(!r);
42 r= pthread_mutex_unlock( &mx[2] ); assert(!r);
51 r= pthread_mutex_init(&mx[0], NULL); assert(!r);
52 r= pthread_mutex_init(&mx[1], NULL); assert(!r);
53 r= pthread_mutex_init(&mx[2], NULL); assert(!r);
54 r= pthread_mutex_init(&mx[3], NULL); assert(!r);
68 /* mx is bogus */
69 r= pthread_cond_wait(&cv, (pthread_mutex_t*)(4 + (char*)&mx[0]) );
71 /* mx i
[all...]
H A Dtc19_shadowmem.c19 pthread_mutex_t mx; variable
37 r= pthread_mutex_lock( &mx ); assert(!r);
39 r= pthread_mutex_unlock( &mx ); assert(!r);
61 r= pthread_mutex_lock( &mx ); assert(!r);
63 r= pthread_mutex_unlock( &mx ); assert(!r);
85 r= pthread_mutex_lock( &mx ); assert(!r);
87 r= pthread_mutex_unlock( &mx ); assert(!r);
109 r= pthread_mutex_lock( &mx ); assert(!r);
111 r= pthread_mutex_unlock( &mx ); assert(!r);
142 pthread_mutex_init( &mx, NUL
[all...]
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
H A DMatrixFunctionAtomic.h115 RealScalar mx = 0; local
117 mx = (std::max)(mx, std::abs(m_f(m_Ashifted(i, i) + m_avgEival, static_cast<int>(s+r))));
120 delta = (std::max)(delta, mx / rfactorial);
/external/deqp/framework/delibs/debase/
H A DdeInt32.h102 * \brief Check if a value is in the <b>inclusive<b> range [mn, mx].
105 * \param mx Range maximum value.
106 * \return True if (a >= mn) and (a <= mx), false otherwise.
110 DE_INLINE deBool deInRange32 (int a, int mn, int mx) argument
112 return (a >= mn) && (a <= mx);
116 * \brief Check if a value is in the half-inclusive bounds [mn, mx[.
119 * \param mx Range maximum value.
120 * \return True if (a >= mn) and (a < mx), false otherwise.
124 DE_INLINE deBool deInBounds32 (int a, int mn, int mx) argument
126 return (a >= mn) && (a < mx);
136 deClamp32(int a, int mn, int mx) argument
[all...]
H A DdeMath.h76 DE_INLINE float deFloatClamp (float x, float mn, float mx) { return (x <= mn) ? mn : ((x >= mx) ? mx : x); } argument
81 DE_INLINE double deClamp (double x, double mn, double mx) { return (x <= mn) ? mn : ((x >= mx) ? mx : x); } argument
/external/libcxx/src/
H A Dios.cpp164 const size_t mx = std::numeric_limits<size_t>::max() / sizeof(_Tp); local
165 if (__req_size < mx/2)
168 return mx;
/external/skia/src/core/
H A DSkBitmapProcShader.cpp66 TileMode mx = (TileMode)buffer.readUInt(); local
68 return SkShader::CreateBitmapShader(bm, mx, my, &lm);
H A DSkPictureShader.cpp128 TileMode mx = (TileMode)buffer.read32(); local
133 return SkPictureShader::Create(picture, mx, my, &lm, &tile);
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_upnp_ssdp.c446 * @mx: Maximum delay in seconds
459 int mx)
482 next_timeout_msec = (1000 * mx * (os_random() & 0xFF)) >> 8;
533 int mx = 0; local
635 } else if (token_eq(data, "mx")) {
642 mx = atol(data);
648 if (!got_host || !got_st || !got_man || !got_mx || mx < 0) {
650 "%d mx=%d", got_host, got_st, got_man, got_mx, mx);
658 if (mx > 12
457 msearchreply_state_machine_start(struct upnp_wps_device_sm *sm, struct sockaddr_in *client, int mx) argument
[all...]
/external/wpa_supplicant_8/src/wps/
H A Dwps_upnp_ssdp.c446 * @mx: Maximum delay in seconds
459 int mx)
482 next_timeout_msec = (1000 * mx * (os_random() & 0xFF)) >> 8;
533 int mx = 0; local
635 } else if (token_eq(data, "mx")) {
642 mx = atol(data);
648 if (!got_host || !got_st || !got_man || !got_mx || mx < 0) {
650 "%d mx=%d", got_host, got_st, got_man, got_mx, mx);
658 if (mx > 12
457 msearchreply_state_machine_start(struct upnp_wps_device_sm *sm, struct sockaddr_in *client, int mx) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_upnp_ssdp.c446 * @mx: Maximum delay in seconds
459 int mx)
482 next_timeout_msec = (1000 * mx * (os_random() & 0xFF)) >> 8;
533 int mx = 0; local
635 } else if (token_eq(data, "mx")) {
642 mx = atol(data);
648 if (!got_host || !got_st || !got_man || !got_mx || mx < 0) {
650 "%d mx=%d", got_host, got_st, got_man, got_mx, mx);
658 if (mx > 12
457 msearchreply_state_machine_start(struct upnp_wps_device_sm *sm, struct sockaddr_in *client, int mx) argument
[all...]
/external/linux-tools-perf/src/tools/perf/
H A Dbuiltin-report.c85 struct mem_info *mi, *mx; local
139 mx = he->mem_info;
141 notes = symbol__annotation(mx->daddr.sym);
142 if (notes->src == NULL && symbol__alloc_hist(mx->daddr.sym) < 0)
145 err = symbol__inc_addr_samples(mx->daddr.sym,
146 mx->daddr.map,
148 mx->daddr.al_addr);
/external/wpa_supplicant_8/hostapd/src/utils/
H A Deloop.c334 static struct pollfd * find_pollfd(struct pollfd **pollfds_map, int fd, int mx) argument
336 if (fd < mx && fd >= 0)
/external/wpa_supplicant_8/src/utils/
H A Deloop.c334 static struct pollfd * find_pollfd(struct pollfd **pollfds_map, int fd, int mx) argument
336 if (fd < mx && fd >= 0)
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Deloop.c334 static struct pollfd * find_pollfd(struct pollfd **pollfds_map, int fd, int mx) argument
336 if (fd < mx && fd >= 0)
/external/dnsmasq/src/
H A Drfc1035.c940 /* check if name matches local names ie from /etc/hosts or DHCP or local mx names. */
944 struct mx_srv_record *mx; local
953 for (mx = daemon->mxnames; mx; mx = mx->next)
954 if (hostname_isequal(name, mx->name))
/external/skia/experimental/AndroidPathRenderer/
H A DAndroidPathRenderer.cpp685 float mx = (p1c1c2x + p2c1c2x) * 0.5f; local
690 mx, my, p1c1c2x, p1c1c2y,
693 mx, my, p2c1c2x, p2c1c2y,
718 float mx = (acx + bcx) * 0.5f; local
721 RecursiveQuadraticBezierVertices(ax, ay, mx, my, acx, acy,
723 RecursiveQuadraticBezierVertices(mx, my, bx, by, bcx, bcy,
/external/boringssl/src/crypto/x509/
H A Dx509_vfy.c777 X509 *mx; local
781 mx = lookup_cert_match(ctx, x);
782 if (mx)
784 (void)sk_X509_set(ctx->chain, 0, mx);
/external/clang/test/CXX/drs/
H A Ddr3xx.cpp915 A::B mx; member in struct:dr372::example4::X

Completed in 2494 milliseconds

12