/external/python/cpython3/Modules/_ctypes/libffi/src/microblaze/ |
H A D | ffi.c | 31 unsigned int, unsigned int, unsigned int*, void (*fn)(void), 151 void ffi_call(ffi_cif* cif, void (*fn)(void), void* rvalue, void** avalue) argument 169 ecif.rvalue, fn, cif->rtype->type, cif->rtype->size); 284 unsigned long fn = 0; local 294 fn = (unsigned long)ffi_closure_SYSV; 296 /* load r11 (temp) with fn */ 297 /* imm fn(upper) */ 298 tramp[0] = 0xb0000000 | ((fn >> 16) & 0xffff); 299 /* addik r11, r0, fn(lower) */ 300 tramp[1] = 0x31600000 | (fn [all...] |
/external/python/cpython3/Modules/_ctypes/libffi/src/moxie/ |
H A D | ffi.c | 123 void (*fn)(void)); 126 void (*fn)(void), 150 cif->flags, ecif.rvalue, fn); 252 unsigned long fn = (long) ffi_closure_eabi; local 258 fn = (unsigned long) ffi_closure_eabi; 264 tramp[4] = fn >> 16; 265 tramp[5] = fn & 0xffff; 125 ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) argument
|
/external/python/cpython3/Modules/_ctypes/libffi/src/sh64/ |
H A D | ffi.c | 247 void (*fn)(void)); 252 void (*fn)(void), 280 ecif.rvalue, fn); 251 ffi_call( ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) argument
|
/external/python/cpython3/Modules/_ctypes/libffi/src/sparc/ |
H A D | ffi.c | 373 unsigned, unsigned *, void (*fn)(void)); 376 unsigned, unsigned *, void (*fn)(void)); 383 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) argument 427 unsigned long f = (unsigned long)fn; 430 call_struct[2] = 0x03000000 | f >> 10; /* sethi %hi(fn), %g1 */ 431 call_struct[3] = 0x9fc06000 | (f & 0x3ff); /* jmp %g1+%lo(fn), %o7 */ 454 cif->flags, rvalue, fn); 460 cif->flags, rvalue, fn); 467 cif->flags, rval, fn); 496 unsigned long fn; local [all...] |
/external/python/cpython3/Modules/_ctypes/libffi/src/vax/ |
H A D | ffi.c | 163 ffi_call (ffi_cif *cif, void (*fn) (), void *rvalue, void **avalue) 183 ffi_call_elfbsd (&ecif, cif->bytes, cif->flags, ecif.rvalue, fn); 247 void *fn; local 261 fn = &ffi_closure_struct_elfbsd; 263 fn = &ffi_closure_elfbsd; 265 /* jmpl #fn */ 268 *(unsigned int *)(tramp + 11) = (unsigned int)fn + 2 -
|
/external/python/cpython3/Modules/_ctypes/libffi_msvc/ |
H A D | ffi.c | 195 void (*fn)()); 204 void (*fn)()); 209 void (*fn)(), 238 cif->flags, ecif.rvalue, fn); 254 cif->flags, ecif.rvalue, fn); 208 ffi_call( ffi_cif *cif, void (*fn)(), void *rvalue, void **avalue) argument
|
/external/skia/src/core/ |
H A D | Sk4px.h | 98 // A generic driver that maps fn over a src array into a dst array. 99 // fn should take an Sk4px (4 src pixels) and return an Sk4px (4 dst pixels). 101 static void MapSrc(int n, SkPMColor* dst, const SkPMColor* src, const Fn& fn) { argument 104 // This looks a bit odd, but it helps loop-invariant hoisting across different calls to fn. 108 Sk4px dst0 = fn(Load4(src+0)), 109 dst4 = fn(Load4(src+4)); 117 fn(Load4(src)).store4(dst); 121 fn(Load2(src)).store2(dst); 125 fn(Load1(src)).store1(dst); 131 // As above, but with dst4' = fn(dst 133 MapDstSrc(int n, SkPMColor* dst, const SkPMColor* src, const Fn& fn) argument 163 MapDstAlpha(int n, SkPMColor* dst, const SkAlpha* a, const Fn& fn) argument 193 MapDstSrcAlpha(int n, SkPMColor* dst, const SkPMColor* src, const SkAlpha* a, const Fn& fn) argument [all...] |
H A D | SkColorSpaceXform_A2B.cpp | 148 auto fn = fAlloc.make<SkColorSpaceTransferFn>(); local 149 SkAssertResult(named_to_parametric(fn, e.gammaNamed())); 151 if (is_just_gamma(*fn)) { 152 fElementsPipeline.append(SkRasterPipeline::gamma, &fn->fG); 154 fElementsPipeline.append(SkRasterPipeline::parametric_r, fn); 155 fElementsPipeline.append(SkRasterPipeline::parametric_g, fn); 156 fElementsPipeline.append(SkRasterPipeline::parametric_b, fn); 178 SkColorSpaceTransferFn fn; local 179 SkAssertResult(gamma_to_parametric(&fn, gammas, channel)); 180 this->addTransferFn(fn, channe 257 SkColorSpaceTransferFn fn; local 267 addTransferFn(const SkColorSpaceTransferFn& fn, int channelIndex) argument 294 buildTableFn(SkTableTransferFn* fn) argument 313 addTableFn(const SkTableTransferFn& fn, int channelIndex) argument [all...] |
H A D | SkThreadedBMPDevice.h | 111 void setDrawFn(DrawFn&& fn) { fDrawFn = std::move(fn); } argument 137 SK_ALWAYS_INLINE void push(const SkRect& rawDrawBounds, Fn&& fn) { argument 142 new (&fElements[fSize++]) DrawElement(fDevice, std::move(fn), rawDrawBounds);
|
/external/skqp/src/core/ |
H A D | Sk4px.h | 98 // A generic driver that maps fn over a src array into a dst array. 99 // fn should take an Sk4px (4 src pixels) and return an Sk4px (4 dst pixels). 101 static void MapSrc(int n, SkPMColor* dst, const SkPMColor* src, const Fn& fn) { argument 104 // This looks a bit odd, but it helps loop-invariant hoisting across different calls to fn. 108 Sk4px dst0 = fn(Load4(src+0)), 109 dst4 = fn(Load4(src+4)); 117 fn(Load4(src)).store4(dst); 121 fn(Load2(src)).store2(dst); 125 fn(Load1(src)).store1(dst); 131 // As above, but with dst4' = fn(dst 133 MapDstSrc(int n, SkPMColor* dst, const SkPMColor* src, const Fn& fn) argument 163 MapDstAlpha(int n, SkPMColor* dst, const SkAlpha* a, const Fn& fn) argument 193 MapDstSrcAlpha(int n, SkPMColor* dst, const SkPMColor* src, const SkAlpha* a, const Fn& fn) argument [all...] |
H A D | SkColorSpaceXform_A2B.cpp | 148 auto fn = fAlloc.make<SkColorSpaceTransferFn>(); local 149 SkAssertResult(named_to_parametric(fn, e.gammaNamed())); 151 if (is_just_gamma(*fn)) { 152 fElementsPipeline.append(SkRasterPipeline::gamma, &fn->fG); 154 fElementsPipeline.append(SkRasterPipeline::parametric_r, fn); 155 fElementsPipeline.append(SkRasterPipeline::parametric_g, fn); 156 fElementsPipeline.append(SkRasterPipeline::parametric_b, fn); 178 SkColorSpaceTransferFn fn; local 179 SkAssertResult(gamma_to_parametric(&fn, gammas, channel)); 180 this->addTransferFn(fn, channe 257 SkColorSpaceTransferFn fn; local 267 addTransferFn(const SkColorSpaceTransferFn& fn, int channelIndex) argument 294 buildTableFn(SkTableTransferFn* fn) argument 313 addTableFn(const SkTableTransferFn& fn, int channelIndex) argument [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
H A D | CalcSpillWeights.cpp | 42 bool CalculateSpillWeights::runOnMachineFunction(MachineFunction &fn) { argument 46 << fn.getFunction()->getName() << '\n'); 49 VirtRegAuxInfo vrai(fn, lis, getAnalysis<MachineLoopInfo>());
|
H A D | ProcessImplicitDefs.cpp | 79 bool ProcessImplicitDefs::runOnMachineFunction(MachineFunction &fn) { argument 83 << ((Value*)fn.getFunction())->getName() << '\n'); 87 TII = fn.getTarget().getInstrInfo(); 88 TRI = fn.getTarget().getRegisterInfo(); 89 MRI = &fn.getRegInfo(); 98 MachineBasicBlock *Entry = fn.begin();
|
/external/tensorflow/tensorflow/compiler/aot/ |
H A D | benchmark.cc | 112 void Benchmark(const Options& options, const BenchmarkFn& fn, Stats* stats) { argument 122 fn();
|
/external/tensorflow/tensorflow/compiler/aot/tests/ |
H A D | tfcompile_test.cc | 392 SplitsComp fn; local 394 fn.set_thread_pool(&device); 396 fn.arg0(0, 0) = 1; 397 fn.arg0(0, 1) = 2; 398 fn.arg0(1, 0) = 3; 399 fn.arg0(1, 1) = 4; 402 fn.arg1(0, 0) = 10; 403 fn.arg1(0, 1) = 20; 404 fn.arg1(1, 0) = 30; 405 fn [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/ |
H A D | tuple_points_to_analysis.h | 122 // Call fn(index, buflist) for every subshape index. 124 void ForEachElement(const Fn& fn) const { 125 tree_.ForEachElement([&fn](const ShapeIndex& index, const Elem& elem) { 126 fn(index, elem.buffers); 130 void ForEachMutableElement(const Fn& fn) { argument 131 tree_.ForEachMutableElement([&fn](const ShapeIndex& index, Elem* elem) { 132 fn(index, &elem->buffers); 136 Status ForEachElementWithStatus(const Fn& fn) const { 138 [&fn](const ShapeIndex& index, const Elem& elem) { 139 return fn(inde [all...] |
/external/tensorflow/tensorflow/compiler/xla/tests/ |
H A D | prng_test.cc | 201 auto fn = build_sum_rng(builder); local 202 builder.Map({param0}, fn, {0});
|
/external/tensorflow/tensorflow/core/debug/ |
H A D | debug_io_utils_test.cc | 365 auto fn = [this, &dump_count, &done_count, &mu, &dump_root_base, &dump_roots, local 401 tp->Schedule(fn);
|
/external/tensorflow/tensorflow/core/framework/ |
H A D | function_testlib.cc | 205 void FunctionTestSchedClosure(std::function<void()> fn) { argument 208 w->Schedule(std::move(fn));
|
H A D | op.h | 246 Status (*fn)(shape_inference::InferenceContext*)) { 247 builder_.SetShapeFn(fn); 271 Status (*fn)(shape_inference::InferenceContext*)) { 245 SetShapeFn( Status (fn)shape_inference::InferenceContext*)) argument 270 SetShapeFn( Status (fn)shape_inference::InferenceContext*)) argument
|
H A D | tensor_testutil.h | 87 // Fills in '*tensor' with a sequence of value of fn(0), fn(1), ... 91 void FillFn(Tensor* tensor, std::function<T(int)> fn) { argument 93 for (int i = 0; i < flat.size(); ++i) flat(i) = fn(i);
|
/external/tensorflow/tensorflow/core/kernels/ |
H A D | matrix_band_part_op.cc | 103 functor::MatrixBandPartFunctor<Device, T> fn; variable 104 fn(context, context->eigen_device<Device>(), num_lower, num_upper,
|
/external/tensorflow/tensorflow/core/lib/core/ |
H A D | threadpool.cc | 96 std::function<void(int64, int64)> fn) { 102 [&fn](Eigen::Index first, Eigen::Index last) { fn(first, last); }); 123 void ThreadPool::Schedule(std::function<void()> fn) { argument 124 CHECK(fn != nullptr); 125 impl_->Schedule(std::move(fn)); 129 std::function<void(int64, int64)> fn) { 130 impl_->ParallelFor(total, cost_per_unit, std::move(fn)); 135 const std::function<void(int64, int64, int)>& fn) { 137 [this, &fn](int6 95 ParallelFor(int64 total, int64 cost_per_unit, std::function<void(int64, int64)> fn) argument 128 ParallelFor(int64 total, int64 cost_per_unit, std::function<void(int64, int64)> fn) argument 133 ParallelForWithWorkerId( int64 total, int64 cost_per_unit, const std::function<void(int64, int64, int)>& fn) argument [all...] |
/external/tensorflow/tensorflow/core/platform/windows/ |
H A D | env.cc | 46 std::function<void()> fn) 47 : thread_(fn) {} 82 std::function<void()> fn) override { 83 return new StdThread(thread_options, name, fn); 45 StdThread(const ThreadOptions& thread_options, const string& name, std::function<void()> fn) argument
|
/external/tensorflow/tensorflow/python/eager/ |
H A D | tape_test.py | 66 def fn(x, y): function in function:TapeTest.testMultiOutput 74 da, db = backprop.gradients_function(fn, [0, 1])(a, b) 131 def fn(x, y): function in function:TapeTest.testTwoOutputs 137 da, db = backprop.gradients_function(fn, [0, 1])(a, b) 150 def fn(x, y): function in function:TapeTest.testGcTwoOutputs 156 grad, = backprop.gradients_function(fn, [0])(logits, labels) 161 def fn(x): function in function:TapeTest.testTfTensor 165 g, = backprop.gradients_function(fn, [0])(t)
|