/third_party/python/Lib/ctypes/test/ |
D | test_cfuncs.py | 20 self._dll.tf_b.argtypes = (c_byte,) 26 self._dll.tf_bb.argtypes = (c_byte, c_byte) 32 self._dll.tf_B.argtypes = (c_ubyte,) 38 self._dll.tf_bB.argtypes = (c_byte, c_ubyte) 44 self._dll.tf_h.argtypes = (c_short,) 50 self._dll.tf_bh.argtypes = (c_byte, c_short) 56 self._dll.tf_H.argtypes = (c_ushort,) 62 self._dll.tf_bH.argtypes = (c_byte, c_ushort) 68 self._dll.tf_i.argtypes = (c_int,) 74 self._dll.tf_bi.argtypes = (c_byte, c_int) [all …]
|
D | test_prototypes.py | 50 func.argtypes = None 80 func.argtypes = POINTER(c_int), 84 func.argtypes = c_char_p, 87 func.argtypes = POINTER(c_short), 90 func.argtypes = POINTER(c_double), 96 func.argtypes = POINTER(c_char), 111 func.argtypes = c_char_p, 126 func.argtypes = c_void_p, 146 func.argtypes = c_void_p, 158 func.argtypes = c_void_p, [all …]
|
D | test_functions.py | 60 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double] 68 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 76 f.argtypes = [c_int, c_int, POINTER(c_int)] 83 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 109 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 121 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 133 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_longdouble] 147 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 153 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double, c_longlong] 159 f.argtypes = None [all …]
|
D | test_as_parameter.py | 24 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double] 32 f.argtypes = [POINTER(c_int)] 75 f.argtypes = None 89 f.argtypes = [c_int, MyCallback] 114 f.argtypes = [c_int, MyCallback] 132 f.argtypes = [c_longlong, MyCallback] 155 dll._testfunc_byval.argtypes = (POINT, POINTER(POINT)) 167 dll.ret_2h_func.argtypes = [S2H] 187 dll.ret_8i_func.argtypes = [S8I]
|
D | test_errno.py | 18 libc_open.argtypes = c_char_p, c_int 34 libc_open.argtypes = c_char_p, c_int 49 GetModuleHandle.argtypes = [c_wchar_p] 62 GetModuleHandle.argtypes = [c_wchar_p]
|
D | test_python_api.py | 24 PyBytes_FromStringAndSize.argtypes = c_char_p, c_py_ssize_t 31 pythonapi.PyBytes_FromString.argtypes = (c_char_p,) 49 pythonapi.PyLong_AsLong.argtypes = (py_object,) 71 PyOS_snprintf.argtypes = POINTER(c_char), c_size_t, c_char_p
|
D | test_structures.py | 421 func.argtypes = (Test,) 451 func.argtypes = (Test,) 478 func.argtypes = (X,) 519 func.argtypes = (Test2,) 532 func.argtypes = (Test3,) 548 func.argtypes = (Test3B,) 615 func.argtypes = (Test4,) 623 func.argtypes = (Test5,) 632 func.argtypes = (POINTER(Test4),) 642 func.argtypes = (POINTER(Test4),) [all …]
|
D | test_unicode.py | 12 wcslen.argtypes = [ctypes.c_wchar_p] 41 func.argtypes = [ctypes.c_char_p] 45 func.argtypes = None
|
D | test_libc.py | 14 lib.my_sqrt.argtypes = c_double, 22 lib.my_qsort.argtypes = c_void_p, c_size_t, c_size_t, comparefunc
|
D | test_stringptr.py | 52 strchr.argtypes = c_char_p, c_char 58 strchr.argtypes = POINTER(c_char), c_char
|
D | test_callbacks.py | 170 integrate.argtypes = (c_double, c_double, CALLBACK, c_long) 218 func.argtypes = (c_int, c_int, c_int, c_int, c_int, CALLBACK) 235 func.argtypes = (c_double, c_double, c_double, 276 func.argtypes = (X, CALLBACK)
|
D | test_funcptr.py | 22 self.assertEqual(x.argtypes, (c_int, c_int)) 99 strchr.argtypes = (c_char_p, c_char)
|
D | test_win32.py | 114 PointInRect.argtypes = [POINTER(RECT), POINT] 118 ReturnRect.argtypes = [c_int, RECT, POINTER(RECT), POINT, RECT,
|
/third_party/libffi/testsuite/libffi.bhaible/ |
D | test-call.c | 79 #define FFI_PREP_CIF(cif,argtypes,rettype) \ argument 80 …if (ffi_prep_cif(&(cif),ABI_NUM,sizeof(argtypes)/sizeof(argtypes[0]),&rettype,argtypes) != FFI_OK)… 150 ffi_type* argtypes[] = { &ffi_type_sint }; in int_tests() local 152 FFI_PREP_CIF(cif,argtypes,ffi_type_sint); in int_tests() 169 ffi_type* argtypes[] = { &ffi_type_sint, &ffi_type_sint }; in int_tests() local 171 FFI_PREP_CIF(cif,argtypes,ffi_type_sint); in int_tests() 188 ffi_type* argtypes[] = { &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type_sint }; in int_tests() local 190 FFI_PREP_CIF(cif,argtypes,ffi_type_sint); in int_tests() 207 …ffi_type* argtypes[] = { &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type… in int_tests() local 209 FFI_PREP_CIF(cif,argtypes,ffi_type_sint); in int_tests() [all …]
|
D | test-callback.c | 79 #define FFI_PREP_CIF(cif,argtypes,rettype) \ argument 80 …if (ffi_prep_cif(&(cif),ABI_NUM,sizeof(argtypes)/sizeof(argtypes[0]),&rettype,argtypes) != FFI_OK)… 1311 ffi_type* argtypes[] = { &ffi_type_sint }; in main() local 1313 FFI_PREP_CIF(cif,argtypes,ffi_type_sint); in main() 1329 ffi_type* argtypes[] = { &ffi_type_sint, &ffi_type_sint }; in main() local 1331 FFI_PREP_CIF(cif,argtypes,ffi_type_sint); in main() 1347 ffi_type* argtypes[] = { &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type_sint }; in main() local 1349 FFI_PREP_CIF(cif,argtypes,ffi_type_sint); in main() 1365 …ffi_type* argtypes[] = { &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type… in main() local 1367 FFI_PREP_CIF(cif,argtypes,ffi_type_sint); in main() [all …]
|
/third_party/pulseaudio/src/tests/ |
D | volume-ui.py | 20 _to_name.argtypes = [c_void_p] 24 _to_pretty_name.argtypes = [c_void_p] 28 _snprint.argtypes = [c_char_p, c_ulong, c_void_p] 32 _position_to_string.argtypes = [c_uint] 36 _position_to_pretty_string.argtypes = [c_uint] 40 _can_balance.argtypes = [c_void_p] 44 _can_fade.argtypes = [c_void_p] 48 _parse.argtypes = [c_void_p, c_char_p] 88 _snprint.argtypes = [c_char_p, c_ulong, c_void_p] 92 _max.argtypes = [c_void_p] [all …]
|
/third_party/python/Lib/test/ |
D | test_type_comments.py | 386 self.assertEqual(tree.argtypes, []) 390 self.assertEqual(len(tree.argtypes), 1) 391 arg = tree.argtypes[0] 397 self.assertEqual(tree.argtypes[0].id, "int") 398 self.assertEqual(tree.argtypes[1].id, "str") 399 self.assertEqual(tree.argtypes[2].id, "Any") 403 self.assertEqual(tree.argtypes[0].id, "int") 405 self.assertEqual(tree.argtypes[0].id, "int") 407 self.assertEqual(tree.argtypes[0].id, "int") 408 self.assertEqual(tree.argtypes[1].id, "str")
|
D | test_code.py | 356 RequestCodeExtraIndex.argtypes = (freefunc,) 360 SetExtra.argtypes = (ctypes.py_object, ctypes.c_ssize_t, ctypes.c_voidp) 364 GetExtra.argtypes = (ctypes.py_object, ctypes.c_ssize_t,
|
/third_party/python/Lib/ctypes/ |
D | __init__.py | 76 def CFUNCTYPE(restype, *argtypes, **kw): argument 100 return _c_functype_cache[(restype, argtypes, flags)] 103 _argtypes_ = argtypes 106 _c_functype_cache[(restype, argtypes, flags)] = CFunctionType 114 def WINFUNCTYPE(restype, *argtypes, **kw): argument 124 return _win_functype_cache[(restype, argtypes, flags)] 127 _argtypes_ = argtypes 130 _win_functype_cache[(restype, argtypes, flags)] = WinFunctionType 501 def PYFUNCTYPE(restype, *argtypes): argument 503 _argtypes_ = argtypes
|
/third_party/libffi/testsuite/libffi.closures/ |
D | cls_many_mixed_float_double.c | 38 ffi_type *argtypes[12] = {&ffi_type_double, &ffi_type_float, &ffi_type_double, in main() local 47 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 12, &ffi_type_double, argtypes) == FFI_OK); in main()
|
/third_party/node/deps/npm/node_modules/dashdash/lib/ |
D | dashdash.js | 766 assert.optionalArrayOfString(args.argtypes, 'args.argtypes'); 771 argtypes: args.argtypes, property 818 assert.optionalArrayOfString(args.argtypes, 'args.argtypes'); 873 if (args.argtypes) { 875 context, args.argtypes.join(' '))); 904 assert.optionalArrayOfString(args.argtypes, 'args.argtypes'); 912 argtypes: args.argtypes property
|
/third_party/python/Modules/_ctypes/ |
D | _ctypes.c | 2497 stgdict->argtypes = ob; in make_funcptrtype_dict() 3327 Py_CLEAR(self->argtypes); in PyCFuncPtr_set_argtypes() 3334 Py_XSETREF(self->argtypes, ob); in PyCFuncPtr_set_argtypes() 3343 if (self->argtypes) { in PyCFuncPtr_get_argtypes() 3344 Py_INCREF(self->argtypes); in PyCFuncPtr_get_argtypes() 3345 return self->argtypes; in PyCFuncPtr_get_argtypes() 3349 if (dict->argtypes) { in PyCFuncPtr_get_argtypes() 3350 Py_INCREF(dict->argtypes); in PyCFuncPtr_get_argtypes() 3351 return dict->argtypes; in PyCFuncPtr_get_argtypes() 3455 PyObject *argtypes; in _validate_paramflags() local [all …]
|
D | ctypes.h | 93 PyObject *argtypes; member 205 PyObject *argtypes; /* tuple of CDataObjects */ member 277 PyObject *argtypes,
|
/third_party/libxml2/ |
D | gentest.py | 516 argtypes = {} variable 523 if not argtypes.has_key(type): 524 argtypes[type] = func 548 if (name == None) or ((name not in argtypes) and (name not in rettypes)): 552 if argtypes.has_key(name) and is_known_param_type(name) == 0:
|
/third_party/ltp/tools/sparse/sparse-src/ |
D | evaluate.h | 33 int evaluate_arguments(struct symbol_list *argtypes, struct expression_list *args);
|