Home
last modified time | relevance | path

Searched refs:fn (Results 1 – 25 of 1101) sorted by relevance

12345678910>>...45

/external/valgrind/helgrind/tests/
Dtc19_shadowmem.c284 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/fdlibm/
De_scalb.c24 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 …]
/external/python/cpython2/Demo/pdist/
Drrcs.py41 for fn in files:
43 func(x, copts, fn)
45 print "%s: %s" % (fn, msg)
47 def checkin(x, copts, fn): argument
48 f = open(fn)
51 new = not x.isvalid(fn)
52 if not new and same(x, copts, fn, data):
53 print "%s: unchanged since last checkin" % fn
55 print "Checking in", fn, "..."
57 messages = x.put(fn, data, message)
[all …]
/external/valgrind/drd/
Ddrd_pthread_intercepts.c535 OrigFn fn; in pthread_create_intercept() local
539 VALGRIND_GET_ORIG_FN(fn); in pthread_create_intercept()
568 CALL_FN_W_WWWW(ret, fn, thread, attr, DRD_(thread_wrapper), &thread_args); in pthread_create_intercept()
599 OrigFn fn; in thr_create_intercept() local
603 VALGRIND_GET_ORIG_FN(fn); in thr_create_intercept()
619 CALL_FN_W_6W(ret, fn, stk, stksize, DRD_(thread_wrapper), &thread_args, in thr_create_intercept()
669 OrigFn fn; in VG_WRAP_FUNCTION_ZZ() local
672 VALGRIND_GET_ORIG_FN(fn); in VG_WRAP_FUNCTION_ZZ()
692 CALL_FN_v_W(fn, ptr); in VG_WRAP_FUNCTION_ZZ()
700 OrigFn fn; in pthread_join_intercept() local
[all …]
Ddrd_qtcore_intercepts.c91 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/
Drtcd.pl67 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/mesa3d/prebuilt-intermediates/main/
Ddispatch.h47 #define SET_by_offset(disp, offset, fn) \ argument
55 ( (_glapi_proc *) (disp) )[offset] = (_glapi_proc) fn; \
2326 static inline void SET_NewList(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum)) { in SET_NewList()
2327 SET_by_offset(disp, _gloffset_NewList, fn); in SET_NewList()
2337 static inline void SET_EndList(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) { in SET_EndList()
2338 SET_by_offset(disp, _gloffset_EndList, fn); in SET_EndList()
2348 static inline void SET_CallList(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) { in SET_CallList()
2349 SET_by_offset(disp, _gloffset_CallList, fn); in SET_CallList()
2359 static inline void SET_CallLists(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLenum, … in SET_CallLists()
2360 SET_by_offset(disp, _gloffset_CallLists, fn); in SET_CallLists()
[all …]
/external/valgrind/callgrind/
Dcontext.c133 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 …]
/external/python/cpython2/Lib/lib2to3/tests/
Dpytree_idempotency.py28 fn = "example.py"
29 tree = dr.parse_file(fn, debug=True)
30 if not diff(fn, tree):
42 fn = mod.__file__
43 if fn.endswith(".pyc"):
44 fn = fn[:-1]
45 if not fn.endswith(".py"):
47 print >>sys.stderr, "Parsing", fn
48 tree = dr.parse_file(fn, debug=True)
49 if diff(fn, tree):
[all …]
/external/valgrind/massif/tests/
Ddeep-D.vgtest2fn=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…
Ddeep-D.post.exp-ppc643fn=a1 --alloc-fn=a2 --alloc-fn=a3 --alloc-fn=a4 --alloc-fn=a5 --alloc-fn=a6 --alloc-fn=a7 --alloc-
Dalloc-fns-B.vgtest2 …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…
Ddeep-C.vgtest2 …=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…
/external/libese/third_party/NXPNFC_P61_JCOP_Kit/src/
DJcopOsDownload.cpp74 static const char fn [] = "JcopOsDwnld::getJcopOsFileInfo"; in getJcopOsFileInfo() local
100 static const char fn [] = "JcopOsDwnld::initialize"; in initialize() local
102 ALOGD ("%s: enter", fn); in initialize()
106 ALOGD("%s: insufficient resources, file not present", fn); in initialize()
120 ALOGD("%s: Memory allocation for IChannel is failed", fn); in initialize()
130 ALOGD("%s: Memory allocation for SendBuf is failed", fn); in initialize()
136 ALOGD("%s: Memory allocation failed", fn); in initialize()
141 ALOGD ("%s: exit", fn); in initialize()
155 static const char fn [] = "JcopOsDwnld::finalize"; in finalize() local
156 ALOGD ("%s: enter", fn); in finalize()
[all …]
DAlaLib.cpp36 static const char fn[] = "ALA_Init"; in ALA_Init() local
39 ALOGD("%s: enter", fn); in ALA_Init()
54 ALOGE("%s: failed", fn); in ALA_Init()
65 ALOGE("%s:Open DWP communication is failed", fn); in ALA_Init()
70 ALOGE("%s:Open DWP communication is success", fn); in ALA_Init()
76 ALOGE("%s: NULL DWP channel", fn); in ALA_Init()
98 static const char fn[] = "ALA_Start"; in ALA_Start() local
103 ALOGE("%s: name is %s", fn, name); in ALA_Start()
105 ALOGE("%s: Dest is %s", fn, dest); in ALA_Start()
115 ALOGE("%s: Exit; status=0x0%X", fn, status); in ALA_Start()
[all …]
DAla.cpp92 static const char fn [] = "Ala_initialize"; in initialize() local
94 ALOGD ("%s: enter", fn); in initialize()
103 ALOGD("%s: Memory allocation failed", fn); in initialize()
118 ALOGD("%s: AID data file does not exists", fn); in initialize()
134 ALOGE ("%s: exit: Error during read AID data", fn); in initialize()
151 ALOGD ("%s: exit", fn); in initialize()
167 static const char fn [] = "Ala_finalize"; in finalize() local
168 ALOGD ("%s: enter", fn); in finalize()
176 ALOGD ("%s: exit", fn); in finalize()
195 static const char fn [] = "Perform_ALA"; in Perform_ALA() local
[all …]
/external/skia/src/core/
DSkColorSpaceXform_A2B.cpp119 SkColorSpaceTransferFn fn = {0,0,0,0,0,0,0}; in SkColorSpaceXform_A2B() local
120 fn.fG = 1; in SkColorSpaceXform_A2B()
121 fn.fA = 0; in SkColorSpaceXform_A2B()
122 fn.fB = 0; in SkColorSpaceXform_A2B()
123 fn.fC = -1; in SkColorSpaceXform_A2B()
124 fn.fD = 1; in SkColorSpaceXform_A2B()
125 fn.fE = 0; in SkColorSpaceXform_A2B()
126 fn.fF = 1; in SkColorSpaceXform_A2B()
127 this->addTransferFns(fn,4); in SkColorSpaceXform_A2B()
154 SkColorSpaceTransferFn fn; in SkColorSpaceXform_A2B() local
[all …]
/external/valgrind/helgrind/
Dhg_intercepts.c332 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/libdaemon/libdaemon/
Ddpid.c63 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/
Dsh-mem-vec128.tmpl.c101 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/
Dcond_ld_st.c353 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/
Dgen.cc155 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/skia/tests/
DParametricStageTest.cpp12 static void check_error(skiatest::Reporter* r, float limit, SkColorSpaceTransferFn fn) { in check_error() argument
24 p.append(SkRasterPipeline::parametric_r, &fn); in check_error()
25 p.append(SkRasterPipeline::parametric_g, &fn); in check_error()
26 p.append(SkRasterPipeline::parametric_b, &fn); in check_error()
27 p.append(SkRasterPipeline::parametric_a, &fn); in check_error()
34 float want = (in[i] <= fn.fD) ? fn.fC * in[i] + fn.fF in check_error()
35 : powf(in[i] * fn.fA + fn.fB, fn.fG) + fn.fE; in check_error()
44 SkColorSpaceTransferFn fn = {0,0,0,0,0,0,0}; in check_error() local
45 fn.fG = gamma; in check_error()
46 fn.fA = 1; in check_error()
[all …]
/external/valgrind/none/tests/x86/
Dx87trigOOR.c114 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/
Dx87trigOOR.c114 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 …]

12345678910>>...45