/external/valgrind/main/helgrind/tests/ |
hg01_all_ok.c | 5 static pthread_mutex_t mx = PTHREAD_MUTEX_INITIALIZER; variable 11 pthread_mutex_lock(&mx); 13 pthread_mutex_unlock(&mx); 22 pthread_mutex_lock(&mx); 23 pthread_mutex_unlock(&mx);
|
tc04_free_lock.c | 36 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 */
|
tc23_bogus_condwait.c | 9 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*)(1 + (char*)&mx[0]) ); 71 /* mx is not locked * [all...] |
/external/valgrind/main/none/tests/ |
pth_mutexspeed.c | 10 pthread_mutex_t mx = PTHREAD_MUTEX_INITIALIZER; local 13 r = pthread_mutex_lock(&mx); 14 r |= pthread_mutex_unlock(&mx);
|
/external/skia/src/ports/ |
SkFontHost_ascender.cpp | 30 virtual void generateFontMetrics(SkPaint::FontMetrics* mx, SkPaint::FontMetrics* my); 181 void SkScalerContext_Ascender::generateFontMetrics(SkPaint::FontMetrics* mx, SkPaint::FontMetrics* my) 183 if (NULL == mx && NULL == my) 186 if (mx) 188 mx->fTop = SkIntToScalar(-16); 189 mx->fAscent = SkIntToScalar(-16); 190 mx->fDescent = SkIntToScalar(4); 191 mx->fBottom = SkIntToScalar(4); 192 mx->fLeading = 0; 195 mx->fAvgCharWidth = 0 [all...] |
SkFontHost_mac_atsui.cpp | 96 virtual void generateFontMetrics(SkPaint::FontMetrics* mX, SkPaint::FontMetrics* mY); 374 void SkScalerContext_Mac::generateFontMetrics(SkPaint::FontMetrics* mx, 394 if (mx) { 395 mx->fTop = pts[0].fX; 396 mx->fAscent = pts[1].fX; 397 mx->fDescent = pts[2].fX; 398 mx->fBottom = pts[3].fX; 399 mx->fLeading = pts[4].fX; 401 mx->fAvgCharWidth = 0; 402 mx->fXMin = 0 [all...] |
SkFontHost_FreeType.cpp | 134 virtual void generateFontMetrics(SkPaint::FontMetrics* mx, [all...] |
/external/openssl/crypto/ |
ex_data.c | 405 int mx,i; local 414 mx = sk_CRYPTO_EX_DATA_FUNCS_num(item->meth); 415 if(mx > 0) 417 storage = OPENSSL_malloc(mx * sizeof(CRYPTO_EX_DATA_FUNCS*)); 420 for(i = 0; i < mx; i++) 425 if((mx > 0) && !storage) 430 for(i = 0; i < mx; i++) 448 int mx, j, i; local 458 mx = sk_CRYPTO_EX_DATA_FUNCS_num(item->meth); 460 if(j < mx) 494 int mx,i; local [all...] |
/external/stlport/src/ |
codecvt.cpp | 33 size_t mx) const 34 { return (int)(min) ( __STATIC_CAST(size_t, (end - from)), mx); } 131 size_t mx) const 132 { return (int)(min) ((size_t) (end - from), mx); }
|
/ndk/sources/cxx-stl/stlport/src/ |
codecvt.cpp | 33 size_t mx) const 34 { return (int)(min) ( __STATIC_CAST(size_t, (end - from)), mx); } 131 size_t mx) const 132 { return (int)(min) ((size_t) (end - from), mx); }
|
/external/qemu/distrib/sdl-1.2.12/src/video/gem/ |
SDL_gemevents.c | 53 static void do_mouse(_THIS, short mx, short my, short mb, short ks); 293 static void do_mouse(_THIS, short mx, short my, short mb, short ks) 311 if ((mx<x2) || (mx>=x2+w2) || (my<y2) || (my>=y2+h2)) { 324 if ((prevmousex!=mx) || (prevmousey!=my)) { 328 posx = mx - x2; 337 prevmousex = mx;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SelectionHandles.java | 103 int mx = (x1 + x2) / 2; local 125 mHandles.add(new SelectionHandle(mx, y1, Position.TOP_MIDDLE)); 128 mHandles.add(new SelectionHandle(mx, y2, Position.BOTTOM_MIDDLE));
|
/external/opencv/cv/include/ |
cvcompat.h | 258 CvMat mx = cvMat( 1, len, CV_32F, (void*)x ); local 259 CvMat my = mx; 260 CvMat mm = mx; 261 CvMat ma = mx; 267 cvCartToPolar( &mx, &my, &mm, angle ? &ma : NULL, 1 ); 274 CvMat mx = cvMat( 1, len, CV_32F, (void*)x ); local 275 CvMat my = mx; 276 CvMat ma = mx; 281 cvCartToPolar( &mx, &my, NULL, &ma, 1 ); 287 CvMat mx = cvMat( 1, len, CV_32F, (void*)x ) local 297 CvMat mx = cvMat( 1, len, CV_32F, (void*)x ); local 307 CvMat mx = cvMat( 1, len, CV_32F, (void*)x ); local 317 CvMat mx = cvMat( 1, len, CV_32F, (void*)x ); local 325 CvMat mx = cvMat( 1, len, CV_64F, (void*)x ); local [all...] |
/external/blktrace/btt/ |
btt_plot.py | 100 def check(mn, mx, v): 105 if mx == None or v > mx: mx = v 106 return mn, mx, v
|
/external/quake/quake/src/WinQuake/ |
in_dos.cpp | 278 int mx, my;
local 285 mx = (short)regs.x.cx;
290 mouse_x = (mx + old_mouse_x) * 0.5;
295 mouse_x = mx;
298 old_mouse_x = mx;
|
in_win.cpp | 583 int mx, my;
local 595 mx = 0;
623 mx += od.dwData;
674 mx = current_pos.x - window_center_x + mx_accum;
680 //if (mx || my)
681 // Con_DPrintf("mx=%d, my=%d\n", mx, my);
685 mouse_x = (mx + old_mouse_x) * 0.5;
690 mouse_x = mx;
694 old_mouse_x = mx;
756 int mx, my; local [all...] |
gl_vidlinuxglx.cpp | 62 static int mx, my; variable 356 mx += (event.xmotion.x + win_x) * 2; 361 mx += ((int)event.xmotion.x - mwx) * 2; 366 if (mx || my) 434 mx = my = 0; // don't spazz 956 mx = (mx + old_mouse_x) * 0.5; 959 old_mouse_x = mx; 962 mx *= sensitivity.value; 967 cmd->sidemove += m_side.value * mx; [all...] |
/external/quake/quake/src/QW/client/ |
in_win.c | 582 int mx, my;
local 594 mx = 0;
622 mx += od.dwData;
673 mx = current_pos.x - window_center_x + mx_accum;
681 mouse_x = (mx + old_mouse_x) * 0.5;
686 mouse_x = mx;
690 old_mouse_x = mx;
722 if (mx || my)
752 int mx, my;
local
|
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
wps_upnp_ssdp.c | 462 * @mx: Maximum delay in seconds 465 * A response should be given in randomized portion of min(MX,120) seconds 475 int mx) 496 /* Wait time depending on MX value */ 497 next_timeout_msec = (1000 * mx * (os_random() & 0xFF)) >> 8; 541 * MX:<varies> 555 int mx = 0; local 651 } else if (token_eq(data, "mx")) { 658 mx = atol(data); 664 if (!got_host || !got_st || !got_man || !got_mx || mx < 0) [all...] |
/external/wpa_supplicant_8/src/wps/ |
wps_upnp_ssdp.c | 450 * @mx: Maximum delay in seconds 453 * A response should be given in randomized portion of min(MX,120) seconds 463 int mx) 485 /* Wait time depending on MX value */ 486 next_timeout_msec = (1000 * mx * (os_random() & 0xFF)) >> 8; 522 * MX:<varies> 538 int mx = 0; local 639 } else if (token_eq(data, "mx")) { 646 mx = atol(data); 652 if (!got_host || !got_st || !got_man || !got_mx || mx < 0) [all...] |
/external/skia/bench/ |
MatrixBench.cpp | 237 float mx = fMatrix[SkMatrix::kMScaleX]; local 243 dst->fX = SkScalarMulAdd(src->fX, mx, tx); 276 float mx = fMatrix[SkMatrix::kMScaleX]; local 282 dst->fX = src->fX * mx + tx;
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
Encodings.java | 163 final int mx = s.length(); local 164 char[] chars = new char[mx]; 165 for (int i=0; i < mx; i++) {
|
/external/skia/src/core/ |
SkScalerContext.cpp | 521 void SkScalerContext::getFontMetrics(SkPaint::FontMetrics* mx, 523 this->generateFontMetrics(mx, my); 656 virtual void generateFontMetrics(SkPaint::FontMetrics* mx, 658 if (mx) { 659 sk_bzero(mx, sizeof(*mx));
|
/packages/experimental/DreamTheater/src/com/android/dreamtheater/ |
BouncyDroid.java | 379 Matrix mx = new Matrix(); local 380 mx.setSinCos(-vx/mag, vy/mag); 381 mx.postTranslate(x, y); 382 canvas.setMatrix(mx);
|
/external/dnsmasq/src/ |
option.c | 121 { "mx-host", 1, 0, 'm' }, 122 { "mx-target", 1, 0, 't' }, 236 { 'e', OPT_SELFMX, NULL, gettext_noop("Return self-pointing MX records for local hosts."), NULL }, 257 { 'L', OPT_LOCALMX, NULL, gettext_noop("Return MX records for local hosts."), NULL }, 258 { 'm', ARG_DUP, "host_name,target,pref", gettext_noop("Specify an MX record."), NULL }, 274 { 't', ARG_ONE, "host_name", gettext_noop("Specify default target in an MX record."), NULL }, 2905 struct mx_srv_record *mx; local [all...] |