/external/python/cpython2/Python/ |
D | structmember.c | 212 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()
|
D | dynload_beos.c | 58 image_id id = (image_id)PyInt_AsLong( item ); in beos_nuke_dyn()
|
D | traceback.c | 271 limit = PyInt_AsLong(limitv); in PyTraceBack_Print()
|
D | getargs.c | 633 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/ |
D | cgensupport.c | 47 *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()
|
D | termios.c | 166 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()
|
D | resource.c | 173 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()
|
D | fcntlmodule.c | 347 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()
|
D | svmodule.c | 694 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()
|
D | dlmodule.c | 111 alist[i-1] = PyInt_AsLong(v); in dl_call()
|
/external/python/cpython2/Lib/ctypes/test/ |
D | test_python_api.py | 51 pythonapi.PyInt_AsLong.argtypes = (py_object,) 52 pythonapi.PyInt_AsLong.restype = c_long 54 res = pythonapi.PyInt_AsLong(42)
|
/external/python/cpython2/RISCOS/Modules/ |
D | drawfmodule.c | 194 { 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()
|
D | swimodule.c | 84 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/tensorflow/tensorflow/python/ |
D | pywrap_tfe.i | 256 long sz = PyInt_AsLong($input); 258 $1->resize(PyInt_AsLong($input), nullptr);
|
/external/python/cpython2/Doc/includes/ |
D | run-func.c | 42 printf("Result of call: %ld\n", PyInt_AsLong(pValue)); in main()
|
/external/python/cpython2/Include/ |
D | intobject.h | 44 PyAPI_FUNC(long) PyInt_AsLong(PyObject *);
|
/external/python/cpython2/Objects/ |
D | structseq.c | 17 #define VISIBLE_SIZE_TP(tp) PyInt_AsLong( \ 20 #define REAL_SIZE_TP(tp) PyInt_AsLong( \ 24 #define UNNAMED_FIELDS_TP(tp) PyInt_AsLong( \
|
D | fileobject.c | 793 offset = PyInt_AsLong(off_index); in file_seek() 796 PyLong_AsLongLong(off_index) : PyInt_AsLong(off_index); in file_seek() 853 newsize = PyInt_AsLong(newsizeobj); in file_truncate() 857 PyInt_AsLong(newsizeobj); in file_truncate() 2229 new = PyInt_AsLong(value); in set_softspace() 2574 oldflag = PyInt_AsLong(v); in PyFile_SoftSpace()
|
/external/python/cpython2/Modules/_ctypes/ |
D | callbacks.c | 564 retval = PyInt_AsLong(result); in Call_GetClassObject() 625 retval = PyInt_AsLong(result); in Call_CanUnloadNow()
|
/external/brotli/python/ |
D | _brotli.cc | 12 #define PyInt_AsLong PyLong_AsLong macro 18 long value = PyInt_AsLong(o); in as_bounded_int()
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/include/ |
D | cext.h | 161 #define PyInt_AsSsize_t(arg) (int)PyInt_AsLong(arg)
|
/external/python/cpython2/Modules/_sqlite/ |
D | row.c | 93 _idx = PyInt_AsLong(idx); in pysqlite_row_subscript()
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/include/ |
D | cext.h | 199 #define PyInt_AsSsize_t(arg) (int)PyInt_AsLong(arg)
|
/external/tensorflow/tensorflow/python/platform/ |
D | base.i | 173 $1 = static_cast<uint64>(PyInt_AsLong($input));
|
/external/tensorflow/tensorflow/python/client/ |
D | tf_session.i | 769 ranks_local.push_back((int) PyInt_AsLong(item)); 794 types_local.push_back((TF_DataType) PyInt_AsLong(item));
|