/external/valgrind/helgrind/tests/ |
D | tc23_bogus_condwait.c | 10 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[0]); in main() 78 r= pthread_cond_wait(&cv, &mx[2] ); in main()
|
D | locked_vs_unlocked3.c | 19 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()
|
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()
|
D | hg01_all_ok.c | 6 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()
|
D | locked_vs_unlocked1.c | 12 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()
|
D | tc20_verifywrap.c | 44 pthread_mutex_t mx, mx2, mx3, mx4; in main() local 92 r= pthread_mutex_init( &mx, &mxa ); in main()
|
/external/valgrind/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/deqp/framework/delibs/debase/ |
D | deInt32.h | 110 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()
|
D | deMath.h | 76 …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/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/eigen/unsupported/Eigen/src/MatrixFunctions/ |
D | MatrixFunctionAtomic.h | 115 RealScalar mx = 0; in taylorConverged() local 117 mx = (std::max)(mx, std::abs(m_f(m_Ashifted(i, i) + m_avgEival, static_cast<int>(s+r)))); in taylorConverged() 120 delta = (std::max)(delta, mx / rfactorial); in taylorConverged()
|
/external/chromium-trace/trace-viewer/tracing/third_party/components/webcomponentsjs/ |
D | CustomElements.js | 239 var mx = mutations[0]; 240 if (mx && mx.type === "childList" && mx.addedNodes) { 241 if (mx.addedNodes) { 242 var d = mx.addedNodes[0]; 252 mutations.forEach(function(mx) { argument 253 if (mx.type === "childList") { 254 forEach(mx.addedNodes, function(n) { 260 forEach(mx.removedNodes, function(n) {
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_upnp_ssdp.c | 459 int mx) in msearchreply_state_machine_start() argument 482 next_timeout_msec = (1000 * mx * (os_random() & 0xFF)) >> 8; in msearchreply_state_machine_start() 533 int mx = 0; in ssdp_parse_msearch() local 642 mx = atol(data); in ssdp_parse_msearch() 648 if (!got_host || !got_st || !got_man || !got_mx || mx < 0) { in ssdp_parse_msearch() 650 "%d mx=%d", got_host, got_st, got_man, got_mx, mx); in ssdp_parse_msearch() 658 if (mx > 120) in ssdp_parse_msearch() 659 mx = 120; /* UPnP-arch-DeviceArchitecture, 1.2.3 */ in ssdp_parse_msearch() 660 msearchreply_state_machine_start(sm, client, mx); in ssdp_parse_msearch()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
D | BasicPeriodFormatter.java | 83 int mx = TimeUnit.MILLISECOND.ordinal; in format() local 85 int mf = 1 << mx; in format() 90 counts[sx] += (counts[mx]-1)/1000; in format() 101 counts[sx] += (counts[mx]-1)/1000; in format()
|
/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/skia/src/core/ |
D | SkBitmapProcState.cpp | 839 unsigned mx, unsigned my) { in check_scale_nofilter() argument 845 SkASSERT(xptr[i] < mx); in check_scale_nofilter() 850 unsigned mx, unsigned my) { in check_scale_filter() argument 861 SkASSERT(x0 < mx); in check_scale_filter() 862 SkASSERT(x1 < mx); in check_scale_filter() 867 unsigned mx, unsigned my) { in check_affine_nofilter() argument 872 SkASSERT(x < mx); in check_affine_nofilter() 878 unsigned mx, unsigned my) { in check_affine_filter() argument 889 SkASSERT(x0 < mx); in check_affine_filter() 890 SkASSERT(x1 < mx); in check_affine_filter() [all …]
|
/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/jmonkeyengine/engine/src/core-data/Common/MatDefs/Shadow/ |
D | PostShadowPSSM.frag | 85 vec2 mx = mix( gather.xz, gather.yw, f.x ); 86 return mix( mx.x, mx.y, f.y );
|
D | PostShadowPSSM15.frag | 98 vec2 mx = mix( gather.xz, gather.yw, f.x ); 99 return mix( mx.x, mx.y, f.y );
|
/external/libcxx/src/ |
D | locale.cpp | 1493 const extern_type* frm, const extern_type* end, size_t mx) const in do_length() 1495 return static_cast<int>(min<size_t>(mx, static_cast<size_t>(end-frm))); in do_length() 1728 const extern_type* frm, const extern_type* frm_end, size_t mx) const in do_length() 1731 for (size_t nwchar_t = 0; nwchar_t < mx && frm != frm_end; ++nwchar_t) in do_length() 2179 size_t mx, unsigned long Maxcode = 0x10FFFF, in utf8_to_utf16_length() argument 2189 for (size_t nchar16_t = 0; frm_nxt < frm_end && nchar16_t < mx; ++nchar16_t) in utf8_to_utf16_length() 2240 if (frm_end-frm_nxt < 4 || mx-nchar16_t < 2) in utf8_to_utf16_length() 2449 size_t mx, unsigned long Maxcode = 0x10FFFF, in utf8_to_ucs4_length() argument 2459 for (size_t nchar32_t = 0; frm_nxt < frm_end && nchar32_t < mx; ++nchar32_t) in utf8_to_ucs4_length() 2674 size_t mx, unsigned long Maxcode = 0x10FFFF, in utf8_to_ucs2_length() argument [all …]
|
/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()
|
/external/deqp/modules/gles2/scripts/ |
D | genutil.py | 115 def uniformVec4(self, count, mn, mx): argument 116 …ret = [Vec4(random.uniform(mn, mx), random.uniform(mn, mx), random.uniform(mn, mx), random.uniform… 118 ret[1].x = mx 119 ret[2].x = (mn + mx) * 0.5 134 def glslClamp(x, mn, mx): return mn if (x < mn) else mx if (x > mx) else x argument
|
/external/dnsmasq/src/ |
D | option.c | 2905 struct mx_srv_record *mx; in read_opts() local 2910 for (mx = daemon->mxnames; mx; mx = mx->next) in read_opts() 2911 if (!mx->issrv && hostname_isequal(mx->name, buff)) in read_opts() 2914 if ((daemon->mxtarget || (daemon->options & OPT_LOCALMX)) && !mx) in read_opts() 2916 mx = opt_malloc(sizeof(struct mx_srv_record)); in read_opts() 2917 mx->next = daemon->mxnames; in read_opts() 2918 mx->issrv = 0; in read_opts() 2919 mx->target = NULL; in read_opts() 2920 mx->name = opt_string_alloc(buff); in read_opts() 2921 daemon->mxnames = mx; in read_opts() [all …]
|
/external/linux-tools-perf/src/tools/perf/ |
D | builtin-report.c | 85 struct mem_info *mi, *mx; in perf_report__add_mem_hist_entry() local 139 mx = he->mem_info; in perf_report__add_mem_hist_entry() 141 notes = symbol__annotation(mx->daddr.sym); in perf_report__add_mem_hist_entry() 142 if (notes->src == NULL && symbol__alloc_hist(mx->daddr.sym) < 0) in perf_report__add_mem_hist_entry() 145 err = symbol__inc_addr_samples(mx->daddr.sym, in perf_report__add_mem_hist_entry() 146 mx->daddr.map, in perf_report__add_mem_hist_entry() 148 mx->daddr.al_addr); in perf_report__add_mem_hist_entry()
|
/external/sonivox/jet_tools/JetCreator/ |
D | JetCtrls.py | 398 self.mx = maximums 440 if int(self.time[self.iCtrl].GetValue()) > self.mx[self.iCtrl]: 441 self.time[self.iCtrl].SetValue(str(self.mx[self.iCtrl])) 450 if int(self.time[self.iCtrl].GetValue()) < self.mx[self.iCtrl]: 505 self.mx = (m,b,t) 508 return "%d:%d:%d" % self.mx
|