/external/python/cpython3/Python/ |
D | structmember.c | 140 long long_val = PyLong_AsLong(v); in PyMember_SetOne() 151 long long_val = PyLong_AsLong(v); in PyMember_SetOne() 160 long long_val = PyLong_AsLong(v); in PyMember_SetOne() 169 long long_val = PyLong_AsLong(v); in PyMember_SetOne() 178 long long_val = PyLong_AsLong(v); in PyMember_SetOne() 192 ulong_val = PyLong_AsLong(v); in PyMember_SetOne() 205 *(long*)addr = PyLong_AsLong(v); in PyMember_SetOne() 217 *(unsigned long*)addr = PyLong_AsLong(v); in PyMember_SetOne() 281 *(unsigned long long*)addr = value = PyLong_AsLong(v); in PyMember_SetOne()
|
D | getargs.c | 687 ival = PyLong_AsLong(arg); in convertsimple() 724 ival = PyLong_AsLong(arg); in convertsimple() 761 ival = PyLong_AsLong(arg); in convertsimple() 815 ival = PyLong_AsLong(arg); in convertsimple()
|
/external/python/cpython3/Include/ |
D | longobject.h | 23 PyAPI_FUNC(long) PyLong_AsLong(PyObject *); 36 #define PyLong_AS_LONG(op) PyLong_AsLong(op) 42 #define PyLong_AsPid PyLong_AsLong 46 #define PyLong_AsPid PyLong_AsLong
|
/external/python/cpython3/Lib/ctypes/test/ |
D | test_python_api.py | 49 pythonapi.PyLong_AsLong.argtypes = (py_object,) 50 pythonapi.PyLong_AsLong.restype = c_long 52 res = pythonapi.PyLong_AsLong(42)
|
/external/python/cpython3/Modules/ |
D | termios.c | 165 mode.c_iflag = (tcflag_t) PyLong_AsLong(PyList_GetItem(term, 0)); in termios_tcsetattr() 166 mode.c_oflag = (tcflag_t) PyLong_AsLong(PyList_GetItem(term, 1)); in termios_tcsetattr() 167 mode.c_cflag = (tcflag_t) PyLong_AsLong(PyList_GetItem(term, 2)); in termios_tcsetattr() 168 mode.c_lflag = (tcflag_t) PyLong_AsLong(PyList_GetItem(term, 3)); in termios_tcsetattr() 169 ispeed = (speed_t) PyLong_AsLong(PyList_GetItem(term, 4)); in termios_tcsetattr() 170 ospeed = (speed_t) PyLong_AsLong(PyList_GetItem(term, 5)); in termios_tcsetattr() 188 mode.c_cc[i] = (cc_t) PyLong_AsLong(v); in termios_tcsetattr()
|
D | fcntlmodule.c | 397 l.l_start = PyLong_AsLong(startobj); in fcntl_lockf_impl() 401 PyLong_AsLong(startobj); in fcntl_lockf_impl() 408 l.l_len = PyLong_AsLong(lenobj); in fcntl_lockf_impl() 412 PyLong_AsLong(lenobj); in fcntl_lockf_impl()
|
D | _posixsubprocess.c | 126 iter_fd = PyLong_AsLong(py_fd); in _sanity_check_python_fd_sequence() 148 long middle_fd = PyLong_AsLong(PyTuple_GET_ITEM(fd_sequence, middle)); in _is_fd_in_sorted_fd_sequence() 167 long fd = PyLong_AsLong(fdobj); in make_inheritable() 230 int keep_fd = PyLong_AsLong(py_keep_fd); in _close_fds_by_brute_force()
|
D | _opcode.c | 34 oparg_int = (int)PyLong_AsLong(oparg); in _opcode_stack_effect_impl()
|
D | resource.c | 145 rl_out->rlim_cur = PyLong_AsLong(curobj); in py2rlimit() 148 rl_out->rlim_max = PyLong_AsLong(maxobj); in py2rlimit()
|
D | socketmodule.h | 168 #define PyLong_AsSocket_t(fd) (SOCKET_T)PyLong_AsLong(fd)
|
/external/python/cpython2/Python/ |
D | structmember.c | 264 ulong_val = PyLong_AsLong(v); in PyMember_SetOne() 277 *(long*)addr = PyLong_AsLong(v); in PyMember_SetOne() 289 *(unsigned long*)addr = PyLong_AsLong(v); in PyMember_SetOne()
|
/external/python/cpython3/Objects/ |
D | rangeobject.c | 774 long index = PyLong_AsLong(state); in rangeiter_setstate() 1045 lstart = PyLong_AsLong(r->start); in range_iter() 1050 lstop = PyLong_AsLong(r->stop); in range_iter() 1055 lstep = PyLong_AsLong(r->step); in range_iter() 1104 lstart = PyLong_AsLong(range->start); in range_reverse() 1109 lstop = PyLong_AsLong(range->stop); in range_reverse() 1114 lstep = PyLong_AsLong(range->step); in range_reverse()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | py_exception_registry.cc | 33 TF_Code code = static_cast<TF_Code>(PyLong_AsLong(key)); in Init()
|
/external/python/cpython3/Doc/includes/ |
D | run-func.c | 42 printf("Result of call: %ld\n", PyLong_AsLong(pValue)); in main()
|
/external/python/cpython2/Include/ |
D | longobject.h | 23 PyAPI_FUNC(long) PyLong_AsLong(PyObject *);
|
/external/python/cpython2/Modules/_io/ |
D | _iomodule.h | 129 # define PyLong_AsOff_t PyLong_AsLong
|
D | fileio.c | 782 pos = PyLong_AsLong(posobj); in portable_lseek() 911 pos = PyLong_AsLong(posobj); in fileio_truncate()
|
/external/python/cpython3/Modules/_io/ |
D | _iomodule.c | 395 isatty = PyLong_AsLong(res); in _io_open_impl() 413 buffering = PyLong_AsLong(blksize_obj); in _io_open_impl()
|
D | _iomodule.h | 120 # define PyLong_AsOff_t PyLong_AsLong
|
D | fileio.c | 899 pos = PyLong_AsLong(posobj); 1013 pos = PyLong_AsLong(posobj);
|
/external/python/cpython3/Modules/_ctypes/ |
D | callbacks.c | 477 retval = PyLong_AsLong(result); in Call_GetClassObject() 532 retval = PyLong_AsLong(result); in Call_CanUnloadNow()
|
/external/protobuf/python/google/protobuf/pyext/ |
D | repeated_composite_container.cc | 53 #define PyInt_AsLong PyLong_AsLong 276 from = to = PyLong_AsLong(slice); in AssignSubscript()
|
D | repeated_scalar_container.cc | 303 from = to = PyLong_AsLong(slice); in Subscript() 455 from = to = PyLong_AsLong(slice); in AssSubscript()
|
/external/python/cpython2/Objects/ |
D | intobject.c | 160 return PyLong_AsLong(op); in PyInt_AsLong() 169 val = PyLong_AsLong((PyObject *)io); in PyInt_AsLong() 1128 ival = PyLong_AsLong(tmp); in int_subtype_new()
|
/external/python/cpython2/PC/os2vacpp/ |
D | python.def | 233 PyLong_AsLong
|