/external/python/cpython3/Python/ |
D | structmember.c | 139 long long_val = PyLong_AsLong(v); in PyMember_SetOne() 150 long long_val = PyLong_AsLong(v); in PyMember_SetOne() 159 long long_val = PyLong_AsLong(v); in PyMember_SetOne() 168 long long_val = PyLong_AsLong(v); in PyMember_SetOne() 177 long long_val = PyLong_AsLong(v); in PyMember_SetOne() 191 ulong_val = PyLong_AsLong(v); in PyMember_SetOne() 204 *(long*)addr = PyLong_AsLong(v); in PyMember_SetOne() 216 *(unsigned long*)addr = PyLong_AsLong(v); in PyMember_SetOne() 280 *(unsigned long long*)addr = value = PyLong_AsLong(v); in PyMember_SetOne()
|
/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 | 180 mode.c_iflag = (tcflag_t) PyLong_AsLong(PyList_GetItem(term, 0)); in termios_tcsetattr() 181 mode.c_oflag = (tcflag_t) PyLong_AsLong(PyList_GetItem(term, 1)); in termios_tcsetattr() 182 mode.c_cflag = (tcflag_t) PyLong_AsLong(PyList_GetItem(term, 2)); in termios_tcsetattr() 183 mode.c_lflag = (tcflag_t) PyLong_AsLong(PyList_GetItem(term, 3)); in termios_tcsetattr() 184 ispeed = (speed_t) PyLong_AsLong(PyList_GetItem(term, 4)); in termios_tcsetattr() 185 ospeed = (speed_t) PyLong_AsLong(PyList_GetItem(term, 5)); in termios_tcsetattr() 203 mode.c_cc[i] = (cc_t) PyLong_AsLong(v); in termios_tcsetattr()
|
D | fcntlmodule.c | 415 l.l_start = PyLong_AsLong(startobj); in fcntl_lockf_impl() 419 PyLong_AsLong(startobj); in fcntl_lockf_impl() 426 l.l_len = PyLong_AsLong(lenobj); in fcntl_lockf_impl() 430 PyLong_AsLong(lenobj); in fcntl_lockf_impl()
|
D | _opcode.c | 38 oparg_int = (int)PyLong_AsLong(oparg); in _opcode_stack_effect_impl()
|
D | _posixsubprocess.c | 154 iter_fd = PyLong_AsLong(py_fd); in _sanity_check_python_fd_sequence() 176 long middle_fd = PyLong_AsLong(PyTuple_GET_ITEM(fd_sequence, middle)); in _is_fd_in_sorted_fd_sequence() 195 long fd = PyLong_AsLong(fdobj); in make_inheritable() 258 int keep_fd = PyLong_AsLong(py_keep_fd); in _close_fds_by_brute_force()
|
D | resource.c | 142 rl_out->rlim_cur = PyLong_AsLong(curobj); in py2rlimit() 145 rl_out->rlim_max = PyLong_AsLong(maxobj); in py2rlimit()
|
D | socketmodule.h | 222 #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/Modules/clinic/ |
D | _cursesmodule.c.h | 260 attr = PyLong_AsLong(args[1]); in _curses_window_bkgd() 294 attr = PyLong_AsLong(arg); in _curses_window_attroff() 327 attr = PyLong_AsLong(arg); in _curses_window_attron() 360 attr = PyLong_AsLong(arg); in _curses_window_attrset() 407 attr = PyLong_AsLong(args[1]); in _curses_window_bkgdset() 695 attr = PyLong_AsLong(args[1]); in _curses_window_echochar() 2054 long ival = PyLong_AsLong(arg); in _curses_color_content() 2108 long ival = PyLong_AsLong(arg); in _curses_color_pair() 2478 long ival = PyLong_AsLong(args[0]); in _curses_ungetmouse() 2577 long ival = PyLong_AsLong(arg); in _curses_halfdelay() [all …]
|
/external/python/cpython3/Objects/ |
D | rangeobject.c | 808 long index = PyLong_AsLong(state); in rangeiter_setstate() 1080 lstart = PyLong_AsLong(r->start); in range_iter() 1085 lstop = PyLong_AsLong(r->stop); in range_iter() 1090 lstep = PyLong_AsLong(r->step); in range_iter() 1139 lstart = PyLong_AsLong(range->start); in range_reverse() 1144 lstop = PyLong_AsLong(range->stop); in range_reverse() 1149 lstep = PyLong_AsLong(range->step); in range_reverse()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | py_exception_registry.cc | 36 singleton_->exc_types_.emplace(static_cast<TF_Code>(PyLong_AsLong(key)), in Init()
|
/external/llvm-project/lldb/tools/intel-features/scripts/ |
D | python-typemaps.txt | 8 $2 = PyLong_AsLong($input);
|
/external/python/cpython3/Doc/includes/ |
D | run-func.c | 43 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/tensorflow/tensorflow/python/framework/ |
D | python_tensor_converter.cc | 28 #define PY_INT_AS_LONG(x) (PyLong_AsLong(x))
|
D | python_tensor_converter_wrapper.cc | 31 #define PY_INT_AS_LONG(x) (PyLong_AsLong(x))
|
/external/protobuf/python/google/protobuf/pyext/ |
D | descriptor_database.cc | 170 item_value = PyLong_AsLong(item.get()); in FindAllExtensionNumbers()
|
/external/python/cpython2/Modules/_io/ |
D | _iomodule.h | 129 # define PyLong_AsOff_t PyLong_AsLong
|
/external/python/cpython3/Tools/peg_generator/peg_extension/ |
D | peg_extension.c | 122 long count = PyLong_AsLong(value); in dump_memo_stats()
|
/external/python/cpython3/Modules/_io/ |
D | _iomodule.h | 122 # define PyLong_AsOff_t PyLong_AsLong
|
D | _iomodule.c | 406 isatty = PyLong_AsLong(res); in _io_open_impl() 424 buffering = PyLong_AsLong(blksize_obj); in _io_open_impl()
|
/external/python/cpython3/Modules/_ctypes/ |
D | callbacks.c | 526 retval = PyLong_AsLong(result); in Call_GetClassObject() 581 retval = PyLong_AsLong(result); in Call_CanUnloadNow()
|
/external/python/pybind11/docs/advanced/cast/ |
D | custom.rst | 62 value.long_value = PyLong_AsLong(tmp);
|