/external/openssl/crypto/ |
D | ex_data.c | 405 int mx,i; in int_new_ex_data() local 414 mx = sk_CRYPTO_EX_DATA_FUNCS_num(item->meth); in int_new_ex_data() 415 if(mx > 0) in int_new_ex_data() 417 storage = OPENSSL_malloc(mx * sizeof(CRYPTO_EX_DATA_FUNCS*)); in int_new_ex_data() 420 for(i = 0; i < mx; i++) in int_new_ex_data() 425 if((mx > 0) && !storage) in int_new_ex_data() 430 for(i = 0; i < mx; i++) in int_new_ex_data() 448 int mx, j, i; in int_dup_ex_data() local 458 mx = sk_CRYPTO_EX_DATA_FUNCS_num(item->meth); in int_dup_ex_data() 460 if(j < mx) in int_dup_ex_data() [all …]
|
/external/skia/src/ports/ |
D | SkFontHost_ascender.cpp | 30 virtual void generateFontMetrics(SkPaint::FontMetrics* mx, SkPaint::FontMetrics* my); 181 void SkScalerContext_Ascender::generateFontMetrics(SkPaint::FontMetrics* mx, SkPaint::FontMetrics* … in generateFontMetrics() argument 183 if (NULL == mx && NULL == my) in generateFontMetrics() 186 if (mx) in generateFontMetrics() 188 mx->fTop = SkIntToScalar(-16); in generateFontMetrics() 189 mx->fAscent = SkIntToScalar(-16); in generateFontMetrics() 190 mx->fDescent = SkIntToScalar(4); in generateFontMetrics() 191 mx->fBottom = SkIntToScalar(4); in generateFontMetrics() 192 mx->fLeading = 0; in generateFontMetrics() 195 mx->fAvgCharWidth = 0; in generateFontMetrics() [all …]
|
D | SkFontHost_mac_atsui.cpp | 374 void SkScalerContext_Mac::generateFontMetrics(SkPaint::FontMetrics* mx, in generateFontMetrics() argument 394 if (mx) { in generateFontMetrics() 395 mx->fTop = pts[0].fX; in generateFontMetrics() 396 mx->fAscent = pts[1].fX; in generateFontMetrics() 397 mx->fDescent = pts[2].fX; in generateFontMetrics() 398 mx->fBottom = pts[3].fX; in generateFontMetrics() 399 mx->fLeading = pts[4].fX; in generateFontMetrics() 401 mx->fAvgCharWidth = 0; in generateFontMetrics() 402 mx->fXMin = 0; in generateFontMetrics() 403 mx->fXMax = 0; in generateFontMetrics() [all …]
|
D | SkFontHost_FreeType.cpp | 134 virtual void generateFontMetrics(SkPaint::FontMetrics* mx, 1264 void SkScalerContext_FreeType::generateFontMetrics(SkPaint::FontMetrics* mx, in generateFontMetrics() argument 1266 if (NULL == mx && NULL == my) { in generateFontMetrics() 1274 if (mx) { in generateFontMetrics() 1275 sk_bzero(mx, sizeof(SkPaint::FontMetrics)); in generateFontMetrics() 1339 if (mx) { in generateFontMetrics() 1340 mx->fTop = pts[0].fX; in generateFontMetrics() 1341 mx->fAscent = pts[1].fX; in generateFontMetrics() 1342 mx->fDescent = pts[2].fX; in generateFontMetrics() 1343 mx->fBottom = pts[3].fX; in generateFontMetrics() [all …]
|
/external/valgrind/main/helgrind/tests/ |
D | tc23_bogus_condwait.c | 9 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*)(1 + (char*)&mx[0]) ); in main() 72 r= pthread_cond_wait(&cv, &mx[0]); in main() 78 r= pthread_cond_wait(&cv, &mx[2] ); in main()
|
D | hg01_all_ok.c | 5 static pthread_mutex_t mx = PTHREAD_MUTEX_INITIALIZER; variable 11 pthread_mutex_lock(&mx); in th() 13 pthread_mutex_unlock(&mx); in th() 22 pthread_mutex_lock(&mx); in main() 23 pthread_mutex_unlock(&mx); in main()
|
D | tc04_free_lock.c | 36 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()
|
/external/valgrind/main/none/tests/ |
D | pth_mutexspeed.c | 10 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/qemu/distrib/sdl-1.2.12/src/video/gem/ |
D | 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) in do_mouse() argument 311 if ((mx<x2) || (mx>=x2+w2) || (my<y2) || (my>=y2+h2)) { in do_mouse() 324 if ((prevmousex!=mx) || (prevmousey!=my)) { in do_mouse() 328 posx = mx - x2; in do_mouse() 337 prevmousex = mx; in do_mouse()
|
/external/stlport/src/ |
D | codecvt.cpp | 33 size_t mx) const in do_length() 34 { return (int)(min) ( __STATIC_CAST(size_t, (end - from)), mx); } in do_length() 131 size_t mx) const in do_length() 132 { return (int)(min) ((size_t) (end - from), mx); } in do_length()
|
/external/opencv/cv/include/ |
D | cvcompat.h | 258 CvMat mx = cvMat( 1, len, CV_32F, (void*)x ); in cvbCartToPolar() local 259 CvMat my = mx; in cvbCartToPolar() 260 CvMat mm = mx; in cvbCartToPolar() 261 CvMat ma = mx; in cvbCartToPolar() 267 cvCartToPolar( &mx, &my, &mm, angle ? &ma : NULL, 1 ); in cvbCartToPolar() 274 CvMat mx = cvMat( 1, len, CV_32F, (void*)x ); in cvbFastArctan() local 275 CvMat my = mx; in cvbFastArctan() 276 CvMat ma = mx; in cvbFastArctan() 281 cvCartToPolar( &mx, &my, NULL, &ma, 1 ); in cvbFastArctan() 287 CvMat mx = cvMat( 1, len, CV_32F, (void*)x ); in cvbSqrt() local [all …]
|
/external/quake/quake/src/WinQuake/ |
D | gl_vidlinuxglx.cpp | 62 static int mx, my; variable 356 mx += (event.xmotion.x + win_x) * 2; in HandleEvents() 361 mx += ((int)event.xmotion.x - mwx) * 2; in HandleEvents() 366 if (mx || my) in HandleEvents() 434 mx = my = 0; // don't spazz in IN_ActivateMouse() 956 mx = (mx + old_mouse_x) * 0.5; in IN_MouseMove() 959 old_mouse_x = mx; in IN_MouseMove() 962 mx *= sensitivity.value; in IN_MouseMove() 967 cmd->sidemove += m_side.value * mx; in IN_MouseMove() 969 cl.viewangles[YAW] -= m_yaw.value * mx; in IN_MouseMove() [all …]
|
D | gl_vidandroid.cpp | 29 int mx, my; variable 668 mx += (int) gGestureDetector.scrollX(); in AndroidMotionEvent() 686 mx += (int) (20.0f * x); in AndroidTrackballEvent() 746 mouse_x = (mx + old_mouse_x) * 0.5; in IN_MouseMove() 752 mouse_x = mx; in IN_MouseMove() 755 old_mouse_x = mx; in IN_MouseMove() 757 mx = my = 0; // clear for next update in IN_MouseMove()
|
D | in_win.cpp | 583 int mx, my; in IN_MouseMove() local 595 mx = 0; in IN_MouseMove() 623 mx += od.dwData; in IN_MouseMove() 674 mx = current_pos.x - window_center_x + mx_accum; in IN_MouseMove() 685 mouse_x = (mx + old_mouse_x) * 0.5; in IN_MouseMove() 690 mouse_x = mx; in IN_MouseMove() 694 old_mouse_x = mx; in IN_MouseMove() 726 if (mx || my) in IN_MouseMove() 756 int mx, my; in IN_Accumulate() local
|
D | in_dos.cpp | 278 int mx, my; in IN_MouseMove() local 285 mx = (short)regs.x.cx; in IN_MouseMove() 290 mouse_x = (mx + old_mouse_x) * 0.5; in IN_MouseMove() 295 mouse_x = mx; in IN_MouseMove() 298 old_mouse_x = mx; in IN_MouseMove()
|
D | gl_vidlinux.cpp | 94 int mx, my; variable 714 mx += dx; in mousehandler() 820 mouse_x = (mx + old_mouse_x) * 0.5; in IN_MouseMove() 825 mouse_x = mx; in IN_MouseMove() 828 old_mouse_x = mx; in IN_MouseMove() 830 mx = my = 0; // clear for next update in IN_MouseMove()
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_upnp_ssdp.c | 463 int mx) in msearchreply_state_machine_start() argument 486 next_timeout_msec = (1000 * mx * (os_random() & 0xFF)) >> 8; in msearchreply_state_machine_start() 538 int mx = 0; in ssdp_parse_msearch() local 646 mx = atol(data); in ssdp_parse_msearch() 652 if (!got_host || !got_st || !got_man || !got_mx || mx < 0) { in ssdp_parse_msearch() 654 "%d mx=%d", got_host, got_st, got_man, got_mx, mx); in ssdp_parse_msearch() 662 if (mx > 120) in ssdp_parse_msearch() 663 mx = 120; /* UPnP-arch-DeviceArchitecture, 1.2.3 */ in ssdp_parse_msearch() 664 msearchreply_state_machine_start(sm, client, mx); in ssdp_parse_msearch()
|
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
D | wps_upnp_ssdp.c | 475 int mx) in msearchreply_state_machine_start() argument 497 next_timeout_msec = (1000 * mx * (os_random() & 0xFF)) >> 8; in msearchreply_state_machine_start() 555 int mx = 0; in ssdp_parse_msearch() local 658 mx = atol(data); in ssdp_parse_msearch() 664 if (!got_host || !got_st || !got_man || !got_mx || mx < 0) { in ssdp_parse_msearch() 666 "%d mx=%d", got_host, got_st, got_man, got_mx, mx); in ssdp_parse_msearch() 674 if (mx > 120) in ssdp_parse_msearch() 675 mx = 120; /* UPnP-arch-DeviceArchitecture, 1.2.3 */ in ssdp_parse_msearch() 676 msearchreply_state_machine_start(sm, client, mx); in ssdp_parse_msearch()
|
/external/quake/quake/src/QW/client/ |
D | in_win.c | 582 int mx, my; in IN_MouseMove() local 594 mx = 0; in IN_MouseMove() 622 mx += od.dwData; in IN_MouseMove() 673 mx = current_pos.x - window_center_x + mx_accum; in IN_MouseMove() 681 mouse_x = (mx + old_mouse_x) * 0.5; in IN_MouseMove() 686 mouse_x = mx; in IN_MouseMove() 690 old_mouse_x = mx; in IN_MouseMove() 722 if (mx || my) in IN_MouseMove() 752 int mx, my; in IN_Accumulate() local
|
D | gl_vidlinux.c | 95 int mx, my; variable 662 mx += dx; in mousehandler() 768 mouse_x = (mx + old_mouse_x) * 0.5; in IN_MouseMove() 773 mouse_x = mx; in IN_MouseMove() 776 old_mouse_x = mx; in IN_MouseMove() 778 mx = my = 0; // clear for next update in IN_MouseMove()
|
D | gl_vidlinux_svga.c | 93 int mx, my; variable 700 mx += dx; in mousehandler() 806 mouse_x = (mx + old_mouse_x) * 0.5; in IN_MouseMove() 811 mouse_x = mx; in IN_MouseMove() 814 old_mouse_x = mx; in IN_MouseMove() 816 mx = my = 0; // clear for next update in IN_MouseMove()
|
/external/blktrace/btt/ |
D | btt_plot.py | 100 def check(mn, mx, v): argument 105 if mx == None or v > mx: mx = v 106 return mn, mx, v
|
/external/llvm/test/CodeGen/X86/ |
D | inline-asm-x-scalar.ll | 9 …%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/skia/bench/ |
D | MatrixBench.cpp | 237 float mx = fMatrix[SkMatrix::kMScaleX]; in performTest() local 243 dst->fX = SkScalarMulAdd(src->fX, mx, tx); in performTest() 276 float mx = fMatrix[SkMatrix::kMScaleX]; in performTest() local 282 dst->fX = src->fX * mx + tx; in performTest()
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
D | Encodings.java | 163 final int mx = s.length(); in toUpperCaseFast() local 164 char[] chars = new char[mx]; in toUpperCaseFast() 165 for (int i=0; i < mx; i++) { in toUpperCaseFast()
|