/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_funcptr.py | 17 def func(*args): function in function:CFuncPtrTestCase.test_basic 20 x = X(func) 30 def func(a, b): function in function:CFuncPtrTestCase.test_first 33 s = StdCallback(func) 34 c = CdeclCallback(func)
|
test_refcounts.py | 39 def func(*args): function in function:RefcountTestCase.test_refcount 41 # this is the standard refcount for func 42 self.assertEqual(grc(func), 2) 44 # the CFuncPtr instance holds atr least one refcount on func: 45 f = OtherCallback(func) 46 self.assertTrue(grc(func) > 2) 50 self.assertTrue(grc(func) >= 2) 54 self.assertTrue(grc(func) == 2) 59 x.a = OtherCallback(func) 61 # the CFuncPtr instance holds atr least one refcount on func 89 def func(a, b): function in function:AnotherLeak.test_callback [all...] |
test_simplesubclasses.py | 22 def func(): function in function:Test.test_ignore_retval 25 cb = proto(func) 31 def func(arg): function in function:Test.test_int_callback 35 cb = CFUNCTYPE(None, MyInt)(func) 40 cb = CFUNCTYPE(c_int, c_int)(func)
|
test_unicode.py | 77 func = ctypes.CDLL(_ctypes_test.__file__)._testfunc_p_p variable 82 func.argtypes = [ctypes.c_char_p] 83 func.restype = ctypes.c_char_p 87 func.argtypes = None 88 func.restype = ctypes.c_int 92 self.assertEqual(func("abc"), "abc") 93 self.assertEqual(func(u"abc"), "abc") 94 self.assertRaises(ctypes.ArgumentError, func, u"ab?") 98 self.assertEqual(func("abc"), "abc") 99 self.assertEqual(func(u"abc"), "abc" [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_dis.py | 87 def do_disassembly_test(self, func, expected): 91 dis.dis(func) 130 def func(count): function in function:DisTests.test_big_linenos 132 func = "def foo():\n " + "".join(["\n "] * count + ["spam\n"]) 133 exec func in namespace 139 self.do_disassembly_test(func(i), expected) 144 self.do_disassembly_test(func(i), expected)
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/thread/thread.condition/ |
PR30202_notify_from_pthread_created_thread.pass.cpp | 40 void* func(void*) function 54 int res = pthread_create(&id, 0, &func, nullptr); 67 std::thread t(&func, nullptr);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_funcptr.py | 17 def func(*args): function in function:CFuncPtrTestCase.test_basic 20 x = X(func) 30 def func(a, b): function in function:CFuncPtrTestCase.test_first 33 s = StdCallback(func) 34 c = CdeclCallback(func)
|
test_refcounts.py | 39 def func(*args): function in function:RefcountTestCase.test_refcount 41 # this is the standard refcount for func 42 self.assertEqual(grc(func), 2) 44 # the CFuncPtr instance holds atr least one refcount on func: 45 f = OtherCallback(func) 46 self.assertTrue(grc(func) > 2) 50 self.assertTrue(grc(func) >= 2) 54 self.assertTrue(grc(func) == 2) 59 x.a = OtherCallback(func) 61 # the CFuncPtr instance holds atr least one refcount on func 89 def func(a, b): function in function:AnotherLeak.test_callback [all...] |
test_simplesubclasses.py | 22 def func(): function in function:Test.test_ignore_retval 25 cb = proto(func) 31 def func(arg): function in function:Test.test_int_callback 35 cb = CFUNCTYPE(None, MyInt)(func) 40 cb = CFUNCTYPE(c_int, c_int)(func)
|
test_unicode.py | 77 func = ctypes.CDLL(_ctypes_test.__file__)._testfunc_p_p variable 82 func.argtypes = [ctypes.c_char_p] 83 func.restype = ctypes.c_char_p 87 func.argtypes = None 88 func.restype = ctypes.c_int 92 self.assertEqual(func("abc"), "abc") 93 self.assertEqual(func(u"abc"), "abc") 94 self.assertRaises(ctypes.ArgumentError, func, u"ab?") 98 self.assertEqual(func("abc"), "abc") 99 self.assertEqual(func(u"abc"), "abc" [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_dis.py | 87 def do_disassembly_test(self, func, expected): 91 dis.dis(func) 130 def func(count): function in function:DisTests.test_big_linenos 132 func = "def foo():\n " + "".join(["\n "] * count + ["spam\n"]) 133 exec func in namespace 139 self.do_disassembly_test(func(i), expected) 144 self.do_disassembly_test(func(i), expected)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_funcptr.py | 17 def func(*args): function in function:CFuncPtrTestCase.test_basic 20 x = X(func) 30 def func(a, b): function in function:CFuncPtrTestCase.test_first 33 s = StdCallback(func) 34 c = CdeclCallback(func)
|
test_refcounts.py | 39 def func(*args): function in function:RefcountTestCase.test_refcount 41 # this is the standard refcount for func 42 self.assertEqual(grc(func), 2) 44 # the CFuncPtr instance holds atr least one refcount on func: 45 f = OtherCallback(func) 46 self.assertTrue(grc(func) > 2) 50 self.assertTrue(grc(func) >= 2) 54 self.assertTrue(grc(func) == 2) 59 x.a = OtherCallback(func) 61 # the CFuncPtr instance holds atr least one refcount on func 89 def func(a, b): function in function:AnotherLeak.test_callback [all...] |
test_simplesubclasses.py | 22 def func(): function in function:Test.test_ignore_retval 25 cb = proto(func) 31 def func(arg): function in function:Test.test_int_callback 35 cb = CFUNCTYPE(None, MyInt)(func) 40 cb = CFUNCTYPE(c_int, c_int)(func)
|
test_unicode.py | 77 func = ctypes.CDLL(_ctypes_test.__file__)._testfunc_p_p variable 82 func.argtypes = [ctypes.c_char_p] 83 func.restype = ctypes.c_char_p 87 func.argtypes = None 88 func.restype = ctypes.c_int 92 self.assertEqual(func("abc"), "abc") 93 self.assertEqual(func(u"abc"), "abc") 94 self.assertRaises(ctypes.ArgumentError, func, u"ab?") 98 self.assertEqual(func("abc"), "abc") 99 self.assertEqual(func(u"abc"), "abc" [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_dis.py | 87 def do_disassembly_test(self, func, expected): 91 dis.dis(func) 130 def func(count): function in function:DisTests.test_big_linenos 132 func = "def foo():\n " + "".join(["\n "] * count + ["spam\n"]) 133 exec func in namespace 139 self.do_disassembly_test(func(i), expected) 144 self.do_disassembly_test(func(i), expected)
|
/system/core/adb/ |
fdevent.h | 45 fd_func func; member in struct:fdevent 53 fdevent *fdevent_create(int fd, fd_func func, void *arg); 62 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg);
|
/system/core/libutils/ |
misc.cpp | 75 void (*func)() = nullptr; 78 func = reinterpret_cast<decltype(func)>(dlsym(handle, "do_report_sysprop_change")); 81 return func; 93 static auto func = get_report_sysprop_change_func(); local 94 if (func != nullptr) { 95 (*func)();
|
/system/sepolicy/tools/sepolicy-analyze/ |
sepolicy-analyze.c | 20 int (*func) (int argc, char **argv, policydb_t *policydb); member in struct:__anon3704 57 rc = analyze_components[i].func(argc - 2, argv + 2, &policydb);
|
/toolchain/binutils/binutils-2.27/zlib/contrib/iostream/ |
zfstream.h | 95 gzomanip(gzofstream &(*f)(gzofstream &, T), T v) : func(f), val(v) { } 97 gzofstream &(*func)(gzofstream &, T); member in class:gzomanip 103 return (*m.func)(s, m.val);
|
/bionic/tests/ |
link_test.cpp | 95 uintptr_t func = reinterpret_cast<uintptr_t>(read_exidx_func); local 104 if (func == exidx_func || func == exidx_func + 1) found = true;
|
/device/google/contexthub/firmware/os/inc/ |
syscall.h | 64 SyscallFunc func; member in union:SyscallTable::SyscallTableEntry 75 bool syscallAddFunc(uint32_t path, SyscallFunc func);
|
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/common/aarch64/ |
tegra_helpers.S | 138 func plat_is_my_cpu_primary label 152 func plat_my_core_pos label 169 func plat_get_my_entrypoint label 182 func platform_get_core_pos label 197 func plat_secondary_cold_boot_setup label 209 func platform_mem_init label 221 func plat_crash_console_init label 237 func plat_crash_console_putc label 248 func plat_reset_handler label 310 func tegra_secure_entrypoint _align= label [all...] |
/device/linaro/bootloader/arm-trusted-firmware/plat/socionext/uniphier/ |
uniphier_console.S | 42 func console_core_init label 76 func console_core_putc label 102 func console_core_getc label 123 func console_core_flush label 157 func plat_crash_console_init label 173 func plat_crash_console_putc label 187 func plat_crash_console_flush label 201 func uniphier_console_setup label
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
thread_solaris.h | 20 void (*func)(void *);
member in struct:func_arg 27 void (*func)(void *);
30 func = ((struct func_arg *) funcarg)->func;
33 (*func)(arg);
39 PyThread_start_new_thread(void (*func)(void *), void *arg)
48 funcarg->func = func;
|