/external/valgrind/helgrind/tests/ |
D | tc19_shadowmem.c | 284 void*(*fn)(void*) = info->child; in steer() local 288 if (wot == 0) return fn(info); in steer() 290 if (wot == 1) return fn(info); in steer() 292 if (wot == 2) return fn(info); in steer() 294 if (wot == 3) return fn(info); in steer() 296 if (wot == 4) return fn(info); in steer() 298 if (wot == 5) return fn(info); in steer() 300 if (wot == 6) return fn(info); in steer() 302 if (wot == 7) return fn(info); in steer() 304 if (wot == 8) return fn(info); in steer() [all …]
|
/external/opencv3/modules/core/src/opencl/runtime/generator/ |
D | common.py | 69 for fn in fns: 70 fn['params_full'] = list(fn['params']) 71 for i in range(len(fn['params'])): 72 p = fn['params'][i] 75 fn['params'][i] = p 81 fn['params'][i] = ' '.join(parts) 102 for fn in fns: 103 if fn['name'] == line: 105 fn['enabled'] = True 135 for fn in fns: [all …]
|
/external/fdlibm/ |
D | e_scalb.c | 24 double __ieee754_scalb(double x, int fn) in __ieee754_scalb() argument 26 double __ieee754_scalb(x,fn) in __ieee754_scalb() 27 double x; int fn; in __ieee754_scalb() 31 double __ieee754_scalb(double x, double fn) 33 double __ieee754_scalb(x,fn) 34 double x, fn; 39 return ieee_scalbn(x,fn); 41 if (ieee_isnan(x)||ieee_isnan(fn)) return x*fn; 42 if (!ieee_finite(fn)) { 43 if(fn>0.0) return x*fn; [all …]
|
D | w_scalb.c | 26 double ieee_scalb(double x, int fn) /* wrapper scalb */ in ieee_scalb() argument 28 double ieee_scalb(double x, double fn) /* wrapper scalb */ in ieee_scalb() 31 double ieee_scalb(x,fn) /* wrapper scalb */ in ieee_scalb() 33 double x; int fn; in ieee_scalb() 35 double x,fn; 40 return __ieee754_scalb(x,fn); 43 z = __ieee754_scalb(x,fn); 46 return __kernel_standard(x,(double)fn,32); /* scalb overflow */ 49 return __kernel_standard(x,(double)fn,33); /* scalb underflow */ 52 if(!ieee_finite(fn)) errno = ERANGE;
|
/external/valgrind/drd/ |
D | drd_pthread_intercepts.c | 537 OrigFn fn; in pthread_create_intercept() local 541 VALGRIND_GET_ORIG_FN(fn); in pthread_create_intercept() 562 CALL_FN_W_WWWW(ret, fn, thread, attr, DRD_(thread_wrapper), &thread_args); in pthread_create_intercept() 593 OrigFn fn; in thr_create_intercept() local 597 VALGRIND_GET_ORIG_FN(fn); in thr_create_intercept() 613 CALL_FN_W_6W(ret, fn, stk, stksize, DRD_(thread_wrapper), &thread_args, in thr_create_intercept() 663 OrigFn fn; in VG_WRAP_FUNCTION_ZZ() local 666 VALGRIND_GET_ORIG_FN(fn); in VG_WRAP_FUNCTION_ZZ() 686 CALL_FN_v_W(fn, ptr); in VG_WRAP_FUNCTION_ZZ() 694 OrigFn fn; in pthread_join_intercept() local [all …]
|
D | drd_qtcore_intercepts.c | 91 OrigFn fn; in QT4CORE_FUNC() local 92 VALGRIND_GET_ORIG_FN(fn); in QT4CORE_FUNC() 95 CALL_FN_W_WW(ret, fn, mutex, mode); in QT4CORE_FUNC() 106 OrigFn fn; in QT4CORE_FUNC() local 107 VALGRIND_GET_ORIG_FN(fn); in QT4CORE_FUNC() 110 CALL_FN_W_WW(ret, fn, mutex, mode); in QT4CORE_FUNC() 120 OrigFn fn; in QT4CORE_FUNC() local 121 VALGRIND_GET_ORIG_FN(fn); in QT4CORE_FUNC() 124 CALL_FN_W_W(ret, fn, mutex); in QT4CORE_FUNC() 134 OrigFn fn; in QT4CORE_FUNC() local [all …]
|
/external/libvpx/libvpx/build/make/ |
D | rtcd.pl | 67 my $fn=$_[0]; 70 eval "\$${fn}_${opt}=${fn}_${opt}"; 75 my $fn = splice(@_, -2, 1); 76 $ALL_FUNCS{$fn} = \@_; 77 specialize $fn, "c"; 81 foreach my $fn (keys %ALL_FUNCS) { 83 my $ofn = eval "\$${fn}_${opt}"; 88 my $best = eval "\$${fn}_default"; 95 eval "\$${fn}_default=${fn}_${opt}"; 96 eval "\$${fn}_${opt}_link='true'"; [all …]
|
/external/valgrind/callgrind/ |
D | context.c | 133 static UWord cxt_hash_val(fn_node** fn, UInt size) in cxt_hash_val() argument 137 while(*fn != 0) { in cxt_hash_val() 138 hash = (hash<<7) + (hash>>25) + (UWord)(*fn); in cxt_hash_val() 139 fn--; in cxt_hash_val() 147 static Bool is_cxt(UWord hash, fn_node** fn, Context* cxt) in is_cxt() argument 155 cxt_fn = &(cxt->fn[0]); in is_cxt() 156 while((*fn != 0) && (count>0)) { in is_cxt() 157 if (*cxt_fn != *fn) return False; in is_cxt() 158 fn--; in is_cxt() 168 static Context* new_cxt(fn_node** fn) in new_cxt() argument [all …]
|
D | fn.c | 344 fn_node* fn = (fn_node*) CLG_MALLOC("cl.fn.nfnnd.1", in new_fn_node() local 346 fn->name = VG_(strdup)("cl.fn.nfnnd.2", fnname); in new_fn_node() 349 fn->number = CLG_(stat).distinct_fns; in new_fn_node() 350 fn->last_cxt = 0; in new_fn_node() 351 fn->pure_cxt = 0; in new_fn_node() 352 fn->file = file; in new_fn_node() 353 fn->next = next; in new_fn_node() 355 fn->dump_before = False; in new_fn_node() 356 fn->dump_after = False; in new_fn_node() 357 fn->zero_before = False; in new_fn_node() [all …]
|
/external/valgrind/massif/tests/ |
D | deep-D.vgtest | 2 …fn=a1 --alloc-fn=a2 --alloc-fn=a3 --alloc-fn=a4 --alloc-fn=a5 --alloc-fn=a6 --alloc-fn=a7 --alloc-… 3 vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyl…
|
D | deep-D.post.exp-ppc64 | 3 …fn=a1 --alloc-fn=a2 --alloc-fn=a3 --alloc-fn=a4 --alloc-fn=a5 --alloc-fn=a6 --alloc-fn=a7 --alloc-…
|
D | alloc-fns-B.vgtest | 2 …n=0 --alloc-fn=a4 --alloc-fn=b4 --alloc-fn=b3 --alloc-fn=c4 --alloc-fn=c3 --alloc-fn=c2 --alloc-fn… 3 vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyl…
|
D | deep-C.vgtest | 2 …=B --alloc-fn=a3 --alloc-fn=a4 --alloc-fn=a5 --alloc-fn=a6 --alloc-fn=a7 --alloc-fn=a8 --alloc-fn=… 3 vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyl…
|
D | deep-B.vgtest | 2 …stacks=no --time-unit=B --alloc-fn=a6 --alloc-fn=a7 --alloc-fn=a8 --alloc-fn=a9 --alloc-fn=a10 --a… 3 vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyl…
|
/external/valgrind/helgrind/ |
D | hg_intercepts.c | 332 OrigFn fn; in I_WRAP_SONAME_FNNAME_ZZ() local 335 VALGRIND_GET_ORIG_FN(fn); in I_WRAP_SONAME_FNNAME_ZZ() 355 CALL_FN_v_W(fn, ptr); in I_WRAP_SONAME_FNNAME_ZZ() 367 void*(*fn)(void*) = (void*(*)(void*))xargs[0]; in mythread_wrapper() local 389 return (void*) fn( (void*)arg ); in mythread_wrapper() 406 OrigFn fn; in pthread_create_WRK() local 409 VALGRIND_GET_ORIG_FN(fn); in pthread_create_WRK() 427 CALL_FN_W_WWWW(ret, fn, thread,attr,mythread_wrapper,&xargs[0]); in pthread_create_WRK() 494 OrigFn fn; in thr_create_WRK() local 497 VALGRIND_GET_ORIG_FN(fn); in thr_create_WRK() [all …]
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
D | NonVolatileStore.cpp | 65 std::string fn = get_storage_location(); in nfc_hal_nv_co_read() local 68 fn.append (filename_prefix); in nfc_hal_nv_co_read() 69 if (fn.length() > 200) in nfc_hal_nv_co_read() 74 snprintf (filename, sizeof(filename), "%s%u", fn.c_str(), block); in nfc_hal_nv_co_read() 123 std::string fn = get_storage_location(); in nfc_hal_nv_co_write() local 127 fn.append (filename_prefix); in nfc_hal_nv_co_write() 128 if (fn.length() > 200) in nfc_hal_nv_co_write() 133 snprintf (filename, sizeof(filename), "%s%u", fn.c_str(), block); in nfc_hal_nv_co_write() 198 std::string fn = get_storage_location(); in delete_hal_non_volatile_store() local 208 fn.append (filename_prefix); in delete_hal_non_volatile_store() [all …]
|
/external/libdaemon/libdaemon/ |
D | dpid.c | 63 static char *fn = NULL; in daemon_pid_file_proc_default() local 64 free(fn); in daemon_pid_file_proc_default() 65 asprintf(&fn, "%s/%s.pid", VARRUN, daemon_pid_file_ident ? daemon_pid_file_ident : "unknown"); in daemon_pid_file_proc_default() 67 static char fn[PATH_MAX]; in daemon_pid_file_proc_default() 68 …snprintf(fn, sizeof(fn), "%s/%s.pid", VARRUN, daemon_pid_file_ident ? daemon_pid_file_ident : "unk… in daemon_pid_file_proc_default() 71 return fn; in daemon_pid_file_proc_default() 100 const char *fn; in daemon_pid_file_is_running() local 108 if (!(fn = daemon_pid_file_proc())) { in daemon_pid_file_is_running() 113 if ((fd = open(fn, O_RDWR, 0644)) < 0) { in daemon_pid_file_is_running() 114 if ((fd = open(fn, O_RDONLY, 0644)) < 0) { in daemon_pid_file_is_running() [all …]
|
/external/valgrind/memcheck/tests/common/ |
D | sh-mem-vec128.tmpl.c | 101 static void apply ( void(*fn)(U4,Bool), U4 arg1, Bool arg2 ) in apply() 104 case 0: CFENCE; fn(arg1, arg2); CFENCE; break; in apply() 105 case 1: CFENCE; fn(arg1, arg2); CFENCE; break; in apply() 106 case 2: CFENCE; fn(arg1, arg2); CFENCE; break; in apply() 107 case 3: CFENCE; fn(arg1, arg2); CFENCE; break; in apply() 108 case 4: CFENCE; fn(arg1, arg2); CFENCE; break; in apply() 109 case 5: CFENCE; fn(arg1, arg2); CFENCE; break; in apply() 110 case 6: CFENCE; fn(arg1, arg2); CFENCE; break; in apply() 111 case 7: CFENCE; fn(arg1, arg2); CFENCE; break; in apply() 112 case 8: CFENCE; fn(arg1, arg2); CFENCE; break; in apply() [all …]
|
/external/valgrind/memcheck/tests/ |
D | cond_ld_st.c | 353 void do_test_case_steer ( void (*fn)(int,Bool,const TestCase*), in do_test_case_steer() 357 if (i == 0) { fn(i,isLd,tc); return; }; in do_test_case_steer() 359 if (i == 1) { fn(i,isLd,tc); return; }; in do_test_case_steer() 361 if (i == 2) { fn(i,isLd,tc); return; }; in do_test_case_steer() 363 if (i == 3) { fn(i,isLd,tc); return; }; in do_test_case_steer() 365 if (i == 4) { fn(i,isLd,tc); return; }; in do_test_case_steer() 367 if (i == 5) { fn(i,isLd,tc); return; }; in do_test_case_steer() 369 if (i == 6) { fn(i,isLd,tc); return; }; in do_test_case_steer() 371 if (i == 7) { fn(i,isLd,tc); return; }; in do_test_case_steer() 373 if (i == 8) { fn(i,isLd,tc); return; }; in do_test_case_steer() [all …]
|
/external/clang/utils/VtableTest/ |
D | gen.cc | 155 int fn = old_func + random() % FUNCSPACING + 1; in gs() local 156 funcs[i] = fn; in gs() 161 || !base_present[ret_type][ret_types[s][fn]]) in gs() 162 if (ret_types[s][fn]) { in gs() 164 ret_types[s][fn], fn); in gs() 165 ret_type = ret_types[s][fn]; in gs() 169 printf(" // Wow found one for s%d for fun%d.\n", s, fn); in gs() 170 ret_types[s][fn] = ret_type; in gs() 176 … g(fn); g("(char *t) { mix(\"vfn this offset\", (char *)this - t); mix(\"vfn uuid\", "); g(++uuid); in gs() 181 final_override[s][fn] = s; in gs() [all …]
|
/external/v8/test/promises-aplus/lib/ |
D | mocha.js | 81 function TestCase(name, before, fn, after, isRegular) { argument 84 this.fn = fn; 90 TestCase.prototype.RunFunction = function(suite, fn, postAction) { argument 91 if (!fn) { 96 if (fn.length === 0) { 98 fn(); 102 fn(postAction); 132 this.RunFunction(suite, this.fn, function(e) { 175 described.cases[i].fn, 221 describe = function(description, fn) { argument [all …]
|
/external/v8/test/webkit/ |
D | toString-prefix-postfix-preserve-parens.js | 108 function testToString(fn) { argument 111 shouldBe("unevalf(eval(unevalf("+fn+")))", "unevalf(" + fn + ")"); 116 shouldBeTrue("/.*\\(+x\\)*, y\\)/.test(unevalf("+fn+"))"); 120 function testToStringAndRTFailure(fn) argument 122 testToString(fn); 125 shouldThrow(""+fn+ "(1, 2, 3);"); 128 shouldThrow("eval(unevalf("+fn+ "))(1, 2, 3);"); 131 function testToStringAndReturn(fn, p1, p2, retval) argument 134 testToString(fn); 137 shouldBe("" + fn + "(" + p1 + ", " + p2 +");", retval); [all …]
|
/external/valgrind/none/tests/x86/ |
D | x87trigOOR.c | 114 void try ( char* name, void(*fn)(Res*,double), double d ) in try() 117 fn(&r, d); in try() 134 void (*fn)(Res*,double) = fns[i]; in main() local 136 try( name, fn, 0.0 ); in main() 137 try( name, fn, 0.123 ); in main() 138 try( name, fn, -0.456 ); in main() 139 try( name, fn, 37.0 ); in main() 140 try( name, fn, -53.0 ); in main() 143 try( name, fn, limit * 0.900000 ); in main() 144 try( name, fn, limit * 0.999999 ); in main() [all …]
|
/external/valgrind/none/tests/amd64/ |
D | x87trigOOR.c | 114 void try ( char* name, void(*fn)(Res*,double), double d ) in try() 117 fn(&r, d); in try() 134 void (*fn)(Res*,double) = fns[i]; in main() local 136 try( name, fn, 0.0 ); in main() 137 try( name, fn, 0.123 ); in main() 138 try( name, fn, -0.456 ); in main() 139 try( name, fn, 37.0 ); in main() 140 try( name, fn, -53.0 ); in main() 143 try( name, fn, limit * 0.900000 ); in main() 144 try( name, fn, limit * 0.999999 ); in main() [all …]
|
/external/skia/src/core/ |
D | SkTaskGroup.cpp | 42 static void Add(std::function<void(void)> fn, SkAtomic<int32_t>* pending) { in Add() argument 44 return fn(); in Add() 46 gGlobal->add(fn, pending); in Add() 49 static void Batch(int N, std::function<void(int)> fn, SkAtomic<int32_t>* pending) { in Batch() argument 51 for (int i = 0; i < N; i++) { fn(i); } in Batch() 54 gGlobal->batch(N, fn, pending); in Batch() 81 work.fn(); in Wait() 95 std::function<void(void)> fn; // A function to call member 125 void add(std::function<void(void)> fn, SkAtomic<int32_t>* pending) { in add() argument 126 Work work = { fn, pending }; in add() [all …]
|