Searched defs:fn (Results 251 - 275 of 547) sorted by relevance

<<11121314151617181920>>

/external/python/cpython2/Modules/
H A D_functoolsmodule.c94 PyObject *fn; member in struct:__anon19376
127 pto->fn = func;
149 Py_XDECREF(pto->fn);
162 assert (PyCallable_Check(pto->fn));
197 ret = PyObject_Call(pto->fn, argappl, kwappl);
206 Py_VISIT(pto->fn);
219 {"func", T_OBJECT, OFF(fn), READONLY,
279 return Py_BuildValue("O(O)(OOOO)", Py_TYPE(pto), pto->fn, pto->fn,
287 PyObject *fn, *fnarg local
[all...]
/external/python/cpython3/Lib/test/
H A Dtest_shelve.py44 fn = "shelftemp.db" variable in class:TestCase
47 for f in glob.glob(self.fn+"*"):
66 s = shelve.open(self.fn, protocol=0)
74 s = shelve.open(self.fn, protocol=1)
82 s = shelve.open(self.fn, protocol=2)
172 fn = "shelftemp.db" variable in class:TestShelveBase
185 x= shelve.open(self.fn+str(self.counter), **self._args)
193 for f in glob.glob(self.fn+"*"):
H A Dtest_sys_setprofile.py18 def fn(*args): function in function:TestGetProfile.test_setget
21 sys.setprofile(fn)
22 self.assertIs(sys.getprofile(), fn)
/external/python/cpython3/Modules/_ctypes/libffi/src/ia64/
H A Dffi.c277 ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) argument
388 ffi_call_unix (stack, rvalue, fn, cif->flags);
/external/python/cpython3/Modules/_ctypes/libffi/src/mips/
H A Dffi.c591 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) argument
613 cif->flags, ecif.rvalue, fn);
645 cif->flags, rvalue_copy, fn);
673 void * fn; local
679 fn = ffi_closure_O32;
690 fn = ffi_closure_N32;
694 /* lui $25,high(fn) */
695 tramp[0] = 0x3c190000 | ((unsigned)fn >> 16);
696 /* ori $25,low(fn) */
697 tramp[1] = 0x37390000 | ((unsigned)fn
[all...]
/external/python/cpython3/Modules/_ctypes/libffi/src/pa/
H A Dffi.c374 void (*fn)(void));
376 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) argument
403 debug(3, "Calling ffi_call_pa32: ecif=%p, bytes=%u, flags=%u, rvalue=%p, fn=%p\n", &ecif, cif->bytes, cif->flags, ecif.rvalue, (void *)fn);
405 cif->flags, ecif.rvalue, fn);
/external/python/cpython3/Modules/_ctypes/libffi/src/s390/
H A Dffi.c92 void (*fn)(void));
502 void (*fn)(void),
526 ret_type, ecif.rvalue, fn);
501 ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) argument
/external/python/cpython3/Modules/_ctypes/libffi/src/sh/
H A Dffi.c410 unsigned, unsigned, unsigned *, void (*fn)(void));
412 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) argument
438 fn);
/external/python/cpython3/Modules/_ctypes/libffi/src/tile/
H A Dffi.c145 ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) argument
203 cif->bytes - (NUM_ARG_REGS * FFI_SIZEOF_ARG), fn);
/external/python/cpython3/Modules/_ctypes/libffi/src/x86/
H A Dffi.c333 unsigned, unsigned, unsigned *, void (*fn)(void));
337 unsigned, unsigned, unsigned, unsigned *, void (*fn)(void));
340 unsigned, unsigned, unsigned *, void (*fn)(void));
343 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) argument
378 cif->flags, ecif.rvalue, fn);
385 ecif.rvalue, fn);
413 ecif.rvalue, fn);
419 fn);
778 ffi_raw_call(ffi_cif *cif, void (*fn)(void), void *rvalue, ffi_raw *fake_avalue) argument
814 cif->flags, ecif.rvalue, fn);
[all...]
/external/skia/gm/
H A Dreadpixels.cpp97 SkColorSpaceTransferFn fn; local
98 fn.fA = 1.f; fn.fB = 0.f; fn.fC = 0.f; fn.fD = 0.f; fn.fE = 0.f; fn.fF = 0.f; fn.fG = 1.8f;
99 return SkColorSpace::MakeRGB(fn, toXYZD50);
/external/skia/include/private/
H A DSkTHash.h123 // Call fn on every entry in the table. You may mutate the entries, but be very careful.
125 void foreach(Fn&& fn) { argument
128 fn(&fSlots[i].val);
133 // Call fn on every entry in the table. You may not mutate anything.
135 void foreach(Fn&& fn) const {
138 fn(fSlots[i].val);
259 // Call fn on every key/value pair in the table. You may mutate the value but not the key.
261 void foreach(Fn&& fn) { argument
262 fTable.foreach([&fn](Pair* p){ fn(
[all...]
/external/skia/src/codec/
H A DSkAndroidCodec.cpp175 SkColorSpaceTransferFn fn; local
176 if (prefColorSpace && prefColorSpace->isNumericalTransferFn(&fn)) {
181 if (encodedSpace->isNumericalTransferFn(&fn)) {
/external/skia/src/images/
H A DSkImageEncoderFns.h425 SkColorSpaceTransferFn fn; local
427 if (cs->isNumericalTransferFn(&fn) && cs->toXYZD50(&toXYZD50)) {
428 return SkICC::WriteToICC(fn, toXYZD50);
/external/skia/src/jumper/
H A DSkJumper.h79 MAYBE_MSABI void (*fn)(SkJumper_CallbackCtx* self, int active_pixels/*<= SkJumper_kMaxStride*/); member in struct:SkJumper_CallbackCtx
81 // When called, fn() will have our active pixels available in rgba.
82 // When fn() returns, the pipeline will read back those active pixels from read_from.
/external/skia/tests/
H A DColorSpaceTest.cpp208 SkColorSpaceTransferFn fn; local
209 fn.fA = 1.0f;
210 fn.fB = 0.0f;
211 fn.fC = 1.0f;
212 fn.fD = 0.5f;
213 fn.fE = 0.0f;
214 fn.fF = 0.0f;
215 fn.fG = 1.0f;
217 test_serialize(r, SkColorSpace::MakeRGB(fn, toXYZ).get(), false);
231 SkColorSpaceTransferFn fn; local
393 SkColorSpaceTransferFn fn; local
413 SkColorSpaceTransferFn fn; local
[all...]
H A DICCTest.cpp111 static inline void test_write_icc(skiatest::Reporter* r, const SkColorSpaceTransferFn& fn, argument
113 sk_sp<SkData> profile = SkICC::WriteToICC(fn, toXYZD50);
120 sk_sp<SkColorSpace> reference = SkColorSpace::MakeRGB(fn, toXYZD50);
/external/skqp/gm/
H A Dreadpixels.cpp96 SkColorSpaceTransferFn fn; local
97 fn.fA = 1.f; fn.fB = 0.f; fn.fC = 0.f; fn.fD = 0.f; fn.fE = 0.f; fn.fF = 0.f; fn.fG = 1.8f;
98 return SkColorSpace::MakeRGB(fn, toXYZD50);
/external/skqp/include/private/
H A DSkTHash.h123 // Call fn on every entry in the table. You may mutate the entries, but be very careful.
125 void foreach(Fn&& fn) { argument
128 fn(&fSlots[i].val);
133 // Call fn on every entry in the table. You may not mutate anything.
135 void foreach(Fn&& fn) const {
138 fn(fSlots[i].val);
259 // Call fn on every key/value pair in the table. You may mutate the value but not the key.
261 void foreach(Fn&& fn) { argument
262 fTable.foreach([&fn](Pair* p){ fn(
[all...]
/external/skqp/src/codec/
H A DSkAndroidCodec.cpp175 SkColorSpaceTransferFn fn; local
176 if (prefColorSpace && prefColorSpace->isNumericalTransferFn(&fn)) {
181 if (encodedSpace->isNumericalTransferFn(&fn)) {
/external/skqp/src/images/
H A DSkImageEncoderFns.h425 SkColorSpaceTransferFn fn; local
427 if (cs->isNumericalTransferFn(&fn) && cs->toXYZD50(&toXYZD50)) {
428 return SkICC::WriteToICC(fn, toXYZD50);
/external/skqp/src/jumper/
H A DSkJumper.h73 MAYBE_MSABI void (*fn)(SkJumper_CallbackCtx* self, int active_pixels/*<= SkJumper_kMaxStride*/); member in struct:SkJumper_CallbackCtx
75 // When called, fn() will have our active pixels available in rgba.
76 // When fn() returns, the pipeline will read back those active pixels from read_from.
/external/skqp/tests/
H A DColorSpaceTest.cpp208 SkColorSpaceTransferFn fn; local
209 fn.fA = 1.0f;
210 fn.fB = 0.0f;
211 fn.fC = 1.0f;
212 fn.fD = 0.5f;
213 fn.fE = 0.0f;
214 fn.fF = 0.0f;
215 fn.fG = 1.0f;
217 test_serialize(r, SkColorSpace::MakeRGB(fn, toXYZ).get(), false);
231 SkColorSpaceTransferFn fn; local
393 SkColorSpaceTransferFn fn; local
413 SkColorSpaceTransferFn fn; local
[all...]
H A DICCTest.cpp111 static inline void test_write_icc(skiatest::Reporter* r, const SkColorSpaceTransferFn& fn, argument
113 sk_sp<SkData> profile = SkICC::WriteToICC(fn, toXYZD50);
120 sk_sp<SkColorSpace> reference = SkColorSpace::MakeRGB(fn, toXYZD50);
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
H A DBlockFrequencyImpl.h262 void doFunction(FunctionT *fn, BlockProbInfoT *bpi) { argument
263 Fn = fn;
272 BlockT *EntryBlock = fn->begin();

Completed in 6892 milliseconds

<<11121314151617181920>>