Home
last modified time | relevance | path

Searched refs:PyInt_AsLong (Results 1 – 25 of 78) sorted by relevance

1234

/external/python/cpython2/Python/
Dstructmember.c212 long long_val = PyInt_AsLong(v); in PyMember_SetOne()
223 long long_val = PyInt_AsLong(v); in PyMember_SetOne()
232 long long_val = PyInt_AsLong(v); in PyMember_SetOne()
241 long long_val = PyInt_AsLong(v); in PyMember_SetOne()
250 long long_val = PyInt_AsLong(v); in PyMember_SetOne()
351 *(unsigned PY_LONG_LONG*)addr = value = PyInt_AsLong(v); in PyMember_SetOne()
Ddynload_beos.c58 image_id id = (image_id)PyInt_AsLong( item ); in beos_nuke_dyn()
Dtraceback.c271 limit = PyInt_AsLong(limitv); in PyTraceBack_Print()
Dgetargs.c633 ival = PyInt_AsLong(arg); in convertsimple()
670 ival = PyInt_AsLong(arg); in convertsimple()
707 ival = PyInt_AsLong(arg); in convertsimple()
759 ival = PyInt_AsLong(arg); in convertsimple()
/external/python/cpython2/Modules/
Dcgensupport.c47 *p_arg = PyInt_AsLong(args); in PyArg_GetLong()
187 p_arg[i] = PyInt_AsLong(w); in PyArg_GetLongArray()
200 p_arg[i] = PyInt_AsLong(w); in PyArg_GetLongArray()
224 p_arg[i] = (short) PyInt_AsLong(w); in PyArg_GetShortArray()
237 p_arg[i] = (short) PyInt_AsLong(w); in PyArg_GetShortArray()
Dtermios.c166 mode.c_iflag = (tcflag_t) PyInt_AsLong(PyList_GetItem(term, 0)); in termios_tcsetattr()
167 mode.c_oflag = (tcflag_t) PyInt_AsLong(PyList_GetItem(term, 1)); in termios_tcsetattr()
168 mode.c_cflag = (tcflag_t) PyInt_AsLong(PyList_GetItem(term, 2)); in termios_tcsetattr()
169 mode.c_lflag = (tcflag_t) PyInt_AsLong(PyList_GetItem(term, 3)); in termios_tcsetattr()
170 ispeed = (speed_t) PyInt_AsLong(PyList_GetItem(term, 4)); in termios_tcsetattr()
171 ospeed = (speed_t) PyInt_AsLong(PyList_GetItem(term, 5)); in termios_tcsetattr()
189 mode.c_cc[i] = (cc_t) PyInt_AsLong(v); in termios_tcsetattr()
Dresource.c173 rl.rlim_cur = PyInt_AsLong(curobj); in resource_setrlimit()
176 rl.rlim_max = PyInt_AsLong(maxobj); in resource_setrlimit()
182 PyLong_AsLongLong(curobj) : PyInt_AsLong(curobj); in resource_setrlimit()
186 PyLong_AsLongLong(maxobj) : PyInt_AsLong(maxobj); in resource_setrlimit()
Dfcntlmodule.c347 l.l_start = PyInt_AsLong(startobj); in fcntl_lockf()
351 PyInt_AsLong(startobj); in fcntl_lockf()
358 l.l_len = PyInt_AsLong(lenobj); in fcntl_lockf()
362 PyInt_AsLong(lenobj); in fcntl_lockf()
Dsvmodule.c694 case 0: mapp[i].red = PyInt_AsLong(cell); break; in sv_LoadMap()
695 case 1: mapp[i].blue = PyInt_AsLong(cell); break; in sv_LoadMap()
696 case 2: mapp[i].green = PyInt_AsLong(cell); break; in sv_LoadMap()
764 PVbuffer[i] = PyInt_AsLong(v); in doParams()
Ddlmodule.c111 alist[i-1] = PyInt_AsLong(v); in dl_call()
Dreadline.c735 result = PyInt_AsLong(r); in on_hook()
805 (r != Py_None && PyInt_AsLong(r) == -1 && PyErr_Occurred())) { in on_completion_display_matches_hook()
/external/python/cpython2/Lib/ctypes/test/
Dtest_python_api.py51 pythonapi.PyInt_AsLong.argtypes = (py_object,)
52 pythonapi.PyInt_AsLong.restype = c_long
54 res = pythonapi.PyInt_AsLong(42)
/external/python/cpython2/RISCOS/Modules/
Ddrawfmodule.c194 { dash_pattern->elements[i]=(int)PyInt_AsLong(PyTuple_GetItem(dp,i)); in DrawF_Path()
203 *pe++=PyInt_AsLong(p); in DrawF_Path()
206 *pe++=PyInt_AsLong(PyTuple_GetItem(p,0)); in DrawF_Path()
207 *pe++=PyInt_AsLong(PyTuple_GetItem(p,1)); in DrawF_Path()
354 *dtable=(char)PyInt_AsLong(key); in DrawF_FontTable()
439 value=(int)PyInt_AsLong(par); in SetWord()
448 q=(int)PyInt_AsLong(par); in SetWord()
Dswimodule.c84 p[k]=PyInt_AsLong(q); in PyBlock_New()
255 ((long*)(b->block))[i]=PyInt_AsLong(v); in block_ass_item()
273 p[i+k]=PyInt_AsLong(q); in block_ass_slice()
/external/python/cpython2/Include/
Dintobject.h41 PyAPI_FUNC(long) PyInt_AsLong(PyObject *);
/external/python/cpython2/Doc/includes/
Drun-func.c42 printf("Result of call: %ld\n", PyInt_AsLong(pValue)); in main()
/external/python/cpython2/Objects/
Dstructseq.c17 #define VISIBLE_SIZE_TP(tp) PyInt_AsLong( \
20 #define REAL_SIZE_TP(tp) PyInt_AsLong( \
24 #define UNNAMED_FIELDS_TP(tp) PyInt_AsLong( \
Dfileobject.c783 offset = PyInt_AsLong(off_index); in file_seek()
786 PyLong_AsLongLong(off_index) : PyInt_AsLong(off_index); in file_seek()
843 newsize = PyInt_AsLong(newsizeobj); in file_truncate()
847 PyInt_AsLong(newsizeobj); in file_truncate()
2208 new = PyInt_AsLong(value); in set_softspace()
2529 oldflag = PyInt_AsLong(v); in PyFile_SoftSpace()
Dintobject.c143 PyInt_AsLong(register PyObject *op) in PyInt_AsLong() function
188 long result = PyInt_AsLong(obj); in _PyInt_AsInt()
218 return PyInt_AsLong(op); in PyInt_AsSsize_t()
/external/brotli/python/
D_brotli.cc12 #define PyInt_AsLong PyLong_AsLong macro
18 long value = PyInt_AsLong(o); in as_bounded_int()
/external/python/cpython2/Modules/_ctypes/
Dcallbacks.c564 retval = PyInt_AsLong(result); in Call_GetClassObject()
625 retval = PyInt_AsLong(result); in Call_CanUnloadNow()
/external/python/cpython2/Modules/_sqlite/
Drow.c93 _idx = PyInt_AsLong(idx); in pysqlite_row_subscript()
/external/protobuf/python/google/protobuf/pyext/
Drepeated_scalar_container.cc299 from = to = PyInt_AsLong(slice); in Subscript()
451 from = to = PyInt_AsLong(slice); in AssSubscript()
/external/python/cpython2/PC/os2vacpp/
Dpython.def214 PyInt_AsLong
/external/libnl/python/netlink/
Dcapi.i624 result = (int)PyInt_AsLong(resobj); in nl_recv_msg_handler()
660 result = (int)PyInt_AsLong(resobj); in nl_recv_err_handler()

1234