/external/python/cpython2/Modules/_ctypes/ |
D | _ctypes_test.c | 7 #if defined(HAVE_LONG_LONG) && !defined(PY_LONG_LONG) 8 #define PY_LONG_LONG LONG_LONG macro 258 EXPORT(PY_LONG_LONG) _testfunc_q_bhilfdq(signed char b, short h, int i, long l, float f, in _testfunc_q_bhilfdq() 259 double d, PY_LONG_LONG q) in _testfunc_q_bhilfdq() 261 return (PY_LONG_LONG)(b + h + i + l + f + d + q); in _testfunc_q_bhilfdq() 264 EXPORT(PY_LONG_LONG) _testfunc_q_bhilfd(signed char b, short h, int i, long l, float f, double d) in _testfunc_q_bhilfd() 266 return (PY_LONG_LONG)(b + h + i + l + f + d); in _testfunc_q_bhilfd() 279 EXPORT(PY_LONG_LONG) _testfunc_callback_q_qf(PY_LONG_LONG value, in _testfunc_callback_q_qf() 280 PY_LONG_LONG (*func)(PY_LONG_LONG)) in _testfunc_callback_q_qf() argument 282 PY_LONG_LONG sum = 0; in _testfunc_callback_q_qf() [all …]
|
D | cfield.c | 401 get_longlong(PyObject *v, PY_LONG_LONG *p) in get_longlong() 403 PY_LONG_LONG x; in get_longlong() 419 get_ulonglong(PyObject *v, unsigned PY_LONG_LONG *p) in get_ulonglong() 421 unsigned PY_LONG_LONG x; in get_ulonglong() 428 if (x == (unsigned PY_LONG_LONG)-1 && PyErr_Occurred()) in get_ulonglong() 909 PY_LONG_LONG val; in q_set() 910 PY_LONG_LONG x; in q_set() 914 x = SET(PY_LONG_LONG, x, val, size); in q_set() 922 PY_LONG_LONG val; in q_set_sw() 923 PY_LONG_LONG field; in q_set_sw() [all …]
|
D | ctypes.h | 48 #if defined(HAVE_LONG_LONG) && !defined(PY_LONG_LONG) 49 #define PY_LONG_LONG LONG_LONG macro 73 PY_LONG_LONG ll; 345 PY_LONG_LONG q;
|
/external/python/cpython2/Include/ |
D | longobject.h | 50 PyAPI_FUNC(PyObject *) PyLong_FromLongLong(PY_LONG_LONG); 51 PyAPI_FUNC(PyObject *) PyLong_FromUnsignedLongLong(unsigned PY_LONG_LONG); 52 PyAPI_FUNC(PY_LONG_LONG) PyLong_AsLongLong(PyObject *); 53 PyAPI_FUNC(unsigned PY_LONG_LONG) PyLong_AsUnsignedLongLong(PyObject *); 54 PyAPI_FUNC(unsigned PY_LONG_LONG) PyLong_AsUnsignedLongLongMask(PyObject *); 55 PyAPI_FUNC(PY_LONG_LONG) PyLong_AsLongLongAndOverflow(PyObject *, int *);
|
D | pyport.h | 68 #ifndef PY_LONG_LONG 69 #define PY_LONG_LONG long long macro 171 typedef unsigned PY_LONG_LONG Py_uintptr_t; 172 typedef PY_LONG_LONG Py_intptr_t;
|
D | intobject.h | 49 PyAPI_FUNC(unsigned PY_LONG_LONG) PyInt_AsUnsignedLongLongMask(PyObject *);
|
/external/python/cpython2/Python/ |
D | structmember.c | 128 v = PyLong_FromLongLong(*(PY_LONG_LONG *)addr); in PyMember_GetOne() 131 v = PyLong_FromUnsignedLongLong(*(unsigned PY_LONG_LONG *)addr); in PyMember_GetOne() 338 PY_LONG_LONG value; in PyMember_SetOne() 339 *(PY_LONG_LONG*)addr = value = PyLong_AsLongLong(v); in PyMember_SetOne() 345 unsigned PY_LONG_LONG value; in PyMember_SetOne() 349 *(unsigned PY_LONG_LONG*)addr = value = PyLong_AsUnsignedLongLong(v); in PyMember_SetOne() 351 *(unsigned PY_LONG_LONG*)addr = value = PyInt_AsLong(v); in PyMember_SetOne() 352 if ((value == (unsigned PY_LONG_LONG)-1) && PyErr_Occurred()) in PyMember_SetOne()
|
D | modsupport.c | 374 return PyLong_FromLongLong((PY_LONG_LONG)va_arg(*p_va, PY_LONG_LONG)); in do_mkvalue() 377 return PyLong_FromUnsignedLongLong((PY_LONG_LONG)va_arg(*p_va, unsigned PY_LONG_LONG)); in do_mkvalue()
|
D | getargs.c | 782 PY_LONG_LONG *p = va_arg( *p_va, PY_LONG_LONG * ); in convertsimple() 783 PY_LONG_LONG ival; in convertsimple() 787 if (ival == (PY_LONG_LONG)-1 && PyErr_Occurred() ) { in convertsimple() 796 unsigned PY_LONG_LONG *p = va_arg(*p_va, unsigned PY_LONG_LONG *); in convertsimple() 797 unsigned PY_LONG_LONG ival; in convertsimple()
|
/external/python/cpython2/Modules/ |
D | _lsprof.c | 17 static PY_LONG_LONG 48 static PY_LONG_LONG 52 PY_LONG_LONG ret; in hpTimer() 79 PY_LONG_LONG tt; 80 PY_LONG_LONG it; 90 PY_LONG_LONG tt; /* total time in this entry */ 91 PY_LONG_LONG it; /* inline time in this entry (not in subcalls) */ 99 PY_LONG_LONG t0; 100 PY_LONG_LONG subt; 130 static PY_LONG_LONG CallExternalTimer(ProfilerObject *pObj) in CallExternalTimer() [all …]
|
D | _struct.c | 84 typedef struct { char c; PY_LONG_LONG x; } s_long_long; 85 #define LONG_LONG_ALIGN (sizeof(s_long_long) - sizeof(PY_LONG_LONG)) 235 get_longlong(PyObject *v, PY_LONG_LONG *p) in get_longlong() 237 PY_LONG_LONG x; in get_longlong() 245 if (x == (PY_LONG_LONG)-1 && PyErr_Occurred()) in get_longlong() 254 get_ulonglong(PyObject *v, unsigned PY_LONG_LONG *p) in get_ulonglong() 256 unsigned PY_LONG_LONG x; in get_ulonglong() 264 if (x == (unsigned PY_LONG_LONG)-1 && PyErr_Occurred()) in get_ulonglong() 431 PY_LONG_LONG x; in nu_longlong() 434 return PyInt_FromLong(Py_SAFE_DOWNCAST(x, PY_LONG_LONG, long)); in nu_longlong() [all …]
|
D | addrinfo.h | 145 #define _SS_ALIGNSIZE (sizeof(PY_LONG_LONG)) 162 PY_LONG_LONG __ss_align; /* force desired structure storage alignment */
|
D | resource.c | 136 (PY_LONG_LONG) rl.rlim_cur, in resource_getrlimit() 137 (PY_LONG_LONG) rl.rlim_max); in resource_getrlimit() 336 v = PyLong_FromLongLong((PY_LONG_LONG) RLIM_INFINITY); in initresource()
|
D | _testcapimodule.c | 74 CHECK_SIZEOF(SIZEOF_LONG_LONG, PY_LONG_LONG); in test_config() 540 #define TYPENAME PY_LONG_LONG 735 PY_LONG_LONG value; in test_long_long_and_overflow() 899 PY_LONG_LONG value; in test_L_code() 1169 PY_LONG_LONG value; in getargs_L() 1178 unsigned PY_LONG_LONG value; in getargs_K() 2103 CHECK_1_FORMAT("%llu", unsigned PY_LONG_LONG); in test_string_from_format() 2104 CHECK_1_FORMAT("%lld", PY_LONG_LONG); in test_string_from_format() 2810 PY_LONG_LONG longlong_member; 2811 unsigned PY_LONG_LONG ulonglong_member;
|
D | sha512module.c | 22 #ifdef PY_LONG_LONG /* If no PY_LONG_LONG, don't compile anything! */ 37 typedef unsigned PY_LONG_LONG SHA_INT64; /* 64-bit integer */ 124 ( ((((x) & Py_ULL(0xFFFFFFFFFFFFFFFF))>>((unsigned PY_LONG_LONG)(y) & 63)) | \ 125 ((x)<<((unsigned PY_LONG_LONG)(64-((y) & 63))))) & Py_ULL(0xFFFFFFFFFFFFFFFF)) 129 #define R(x, n) (((x) & Py_ULL(0xFFFFFFFFFFFFFFFF)) >> ((unsigned PY_LONG_LONG)n))
|
D | mmapmodule.c | 97 PY_LONG_LONG offset; 397 PY_LONG_LONG size; in mmap_size_method() 408 size = (((PY_LONG_LONG)high)<<32) + low; in mmap_size_method() 1244 PY_LONG_LONG offset = 0, size; in new_mmap_object() 1355 size = (((PY_LONG_LONG) high) << 32) + low; in new_mmap_object()
|
/external/python/cpython2/PC/ |
D | pyconfig.h | 286 #define PY_LONG_LONG long long macro 313 #ifndef PY_LONG_LONG 314 # define PY_LONG_LONG __int64 macro 424 #define PY_UINT64_T unsigned PY_LONG_LONG 441 #define PY_INT64_T PY_LONG_LONG
|
/external/python/cpython2/Modules/_io/ |
D | _iomodule.h | 102 typedef PY_LONG_LONG Py_off_t; 107 # define PY_OFF_T_COMPAT PY_LONG_LONG /* type compatible with off_t */ 126 # define PY_OFF_T_COMPAT PY_LONG_LONG
|
/external/python/cpython3/PC/ |
D | pyconfig.h | 222 #define PY_LONG_LONG long long macro 248 #ifndef PY_LONG_LONG 249 # define PY_LONG_LONG __int64 macro
|
/external/python/cpython2/Doc/c-api/ |
D | long.rst | 68 .. c:function:: PyObject* PyLong_FromLongLong(PY_LONG_LONG v) 74 .. c:function:: PyObject* PyLong_FromUnsignedLongLong(unsigned PY_LONG_LONG v) 149 .. c:function:: PY_LONG_LONG PyLong_AsLongLongAndOverflow(PyObject *pylong, int *overflow) 186 .. c:function:: PY_LONG_LONG PyLong_AsLongLong(PyObject *pylong) 198 .. c:function:: unsigned PY_LONG_LONG PyLong_AsUnsignedLongLong(PyObject *pylong) 223 .. c:function:: unsigned PY_LONG_LONG PyLong_AsUnsignedLongLongMask(PyObject *io)
|
D | int.rst | 108 .. c:function:: unsigned PY_LONG_LONG PyInt_AsUnsignedLongLongMask(PyObject *io)
|
/external/python/cpython2/Objects/ |
D | longobject.c | 787 return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG)p); in PyLong_FromVoidPtr() 818 PY_LONG_LONG x; in PyLong_AsVoidPtr() 841 #define PY_ABS_LLONG_MIN (0-(unsigned PY_LONG_LONG)PY_LLONG_MIN) 846 PyLong_FromLongLong(PY_LONG_LONG ival) in PyLong_FromLongLong() 849 unsigned PY_LONG_LONG abs_ival; in PyLong_FromLongLong() 850 unsigned PY_LONG_LONG t; /* unsigned so >> doesn't propagate sign bit */ in PyLong_FromLongLong() 857 abs_ival = (unsigned PY_LONG_LONG)(-1-ival) + 1; in PyLong_FromLongLong() 861 abs_ival = (unsigned PY_LONG_LONG)ival; in PyLong_FromLongLong() 889 PyLong_FromUnsignedLongLong(unsigned PY_LONG_LONG ival) in PyLong_FromUnsignedLongLong() 892 unsigned PY_LONG_LONG t; in PyLong_FromUnsignedLongLong() [all …]
|
D | intobject.c | 306 unsigned PY_LONG_LONG 311 unsigned PY_LONG_LONG val; in PyInt_AsUnsignedLongLongMask() 321 return (unsigned PY_LONG_LONG)-1; in PyInt_AsUnsignedLongLongMask() 326 return (unsigned PY_LONG_LONG)-1; in PyInt_AsUnsignedLongLongMask() 332 return (unsigned PY_LONG_LONG)-1; in PyInt_AsUnsignedLongLongMask() 340 return (unsigned PY_LONG_LONG)-1; in PyInt_AsUnsignedLongLongMask()
|
/external/python/cpython3/Include/ |
D | pyport.h | 44 #ifndef PY_LONG_LONG 45 #define PY_LONG_LONG long long macro
|
/external/python/cpython2/Modules/_sqlite/ |
D | util.c | 143 PY_LONG_LONG value = PyLong_AsLongLongAndOverflow(py_val, &overflow); in _pysqlite_long_as_int64()
|