/external/python/cpython2/Objects/ |
D | intobject.c | 150 return PyInt_AS_LONG((PyIntObject*) op); in PyInt_AsLong() 179 val = PyInt_AS_LONG(io); in PyInt_AsLong() 214 return PyInt_AS_LONG((PyIntObject*) op); in PyInt_AsSsize_t() 251 val = PyInt_AS_LONG(io); in PyInt_AsSsize_t() 266 return PyInt_AS_LONG((PyIntObject*) op); in PyInt_AsUnsignedLongMask() 296 val = PyInt_AS_LONG(io); in PyInt_AsUnsignedLongMask() 311 return PyInt_AS_LONG((PyIntObject*) op); in PyInt_AsUnsignedLongLongMask() 341 val = PyInt_AS_LONG(io); in PyInt_AsUnsignedLongLongMask() 427 lng = PyInt_AS_LONG(obj); \ 861 vv = PyLong_FromLong(PyInt_AS_LONG(v)); in int_lshift() [all …]
|
D | longobject.c | 805 x = PyInt_AS_LONG(vv); in PyLong_AsVoidPtr() 821 x = PyInt_AS_LONG(vv); in PyLong_AsVoidPtr() 1155 *a = (PyLongObject *) PyLong_FromLong(PyInt_AS_LONG(v)); in convert_binop() 1165 *b = (PyLongObject *) PyLong_FromLong(PyInt_AS_LONG(w)); in convert_binop() 3418 c = (PyLongObject *)PyLong_FromLong(PyInt_AS_LONG(x)); in long_pow() 3938 *pw = PyLong_FromLong(PyInt_AS_LONG(*pw)); in long_coerce()
|
D | floatobject.c | 316 *dbl = (double)PyInt_AS_LONG(obj); in convert_to_double() 443 long jj = PyInt_AS_LONG(w); in float_richcompare()
|
D | complexobject.c | 498 pc->real = PyInt_AS_LONG(obj); in to_complex()
|
D | abstract.c | 1728 long value = PyInt_AS_LONG(res); 1755 long value = PyInt_AS_LONG(int_instance);
|
D | unicodeobject.c | 4198 long value = PyInt_AS_LONG(x); in PyUnicode_DecodeCharmap() 4545 long value = PyInt_AS_LONG(x); in charmapencode_lookup() 4623 outstart[(*outpos)++] = (char)PyInt_AS_LONG(rep); in charmapencode_output() 4965 long value = PyInt_AS_LONG(x); in charmaptranslate_lookup() 5029 *(*outp)++ = (Py_UNICODE)PyInt_AS_LONG(*res); in charmaptranslate_output()
|
/external/python/cpython2/Python/ |
D | symtable.c | 92 PyInt_AS_LONG(ste->ste_id), ste->ste_lineno); in ste_repr() 313 return (PyInt_AS_LONG(v) >> SCOPE_OFF) & SCOPE_MASK; in PyST_GetScope() 460 flags = PyInt_AS_LONG(v); in analyze_cells() 538 flags = PyInt_AS_LONG(v); in update_symbols() 541 i = PyInt_AS_LONG(w); in update_symbols() 568 PyInt_AS_LONG(o) & (DEF_BOUND | DEF_GLOBAL)) { in update_symbols() 569 long i = PyInt_AS_LONG(o) | DEF_FREE_CLASS; in update_symbols() 668 long flags = PyInt_AS_LONG(v); in analyze_block() 890 val = PyInt_AS_LONG(o); in symtable_add_def() 919 val |= PyInt_AS_LONG(o); in symtable_add_def()
|
D | ceval.c | 1467 a = PyInt_AS_LONG(v); in PyEval_EvalFrameEx() 1468 b = PyInt_AS_LONG(w); in PyEval_EvalFrameEx() 1501 a = PyInt_AS_LONG(v); in PyEval_EvalFrameEx() 1502 b = PyInt_AS_LONG(w); in PyEval_EvalFrameEx() 1715 a = PyInt_AS_LONG(v); in PyEval_EvalFrameEx() 1716 b = PyInt_AS_LONG(w); in PyEval_EvalFrameEx() 1747 a = PyInt_AS_LONG(v); in PyEval_EvalFrameEx() 1748 b = PyInt_AS_LONG(w); in PyEval_EvalFrameEx() 2131 why = (enum why_code) PyInt_AS_LONG(v); in PyEval_EvalFrameEx() 2558 a = PyInt_AS_LONG(v); in PyEval_EvalFrameEx() [all …]
|
D | bltinmodule.c | 2343 long i_result = PyInt_AS_LONG(result); in builtin_sum() 2355 long b = PyInt_AS_LONG(item); in builtin_sum() 2397 f_result += (double)PyInt_AS_LONG(item); in builtin_sum()
|
D | compile.c | 392 scope = (PyInt_AS_LONG(v) >> SCOPE_OFF) & SCOPE_MASK; in dictbytype() 394 if (scope == scope_type || PyInt_AS_LONG(v) & flag) { in dictbytype() 1256 return PyInt_AS_LONG(v); in compiler_lookup_arg() 3753 i = PyInt_AS_LONG(v); in dict_keys_inorder()
|
D | marshal.c | 240 long x = PyInt_AS_LONG((PyIntObject *)v); in w_object()
|
/external/python/cpython2/Include/ |
D | intobject.h | 52 #define PyInt_AS_LONG(op) (((PyIntObject *)(op))->ob_ival) macro
|
/external/python/cpython2/Modules/ |
D | cgensupport.c | 72 *p_arg = PyInt_AS_LONG((PyIntObject *)v); in extractdouble() 93 *p_arg = (float) PyInt_AS_LONG((PyIntObject *)v); in extractfloat()
|
D | cPickle.c | 762 c_value = PyInt_AS_LONG((PyIntObject*)value); in get() 1009 long l = PyInt_AS_LONG((PyIntObject *)args); in save_bool() 1025 long l = PyInt_AS_LONG((PyIntObject *)args); in save_int() 2254 code = PyInt_AS_LONG(py_code); in save_global() 2908 ik = PyInt_AS_LONG((PyIntObject*)k); in Pickle_getvalue() 2928 ik = PyInt_AS_LONG((PyIntObject *)k); in Pickle_getvalue() 2957 ik = PyInt_AS_LONG((PyIntObject *) in Pickle_getvalue() 2973 ik = PyInt_AS_LONG((PyIntObject*)k); in Pickle_getvalue()
|
D | itertoolsmodule.c | 3316 PyInt_AS_LONG(long_step) != 1) { in count_new() 3328 (PyInt_Check(long_step) && PyInt_AS_LONG(long_step) == 1)); in count_new() 3403 if (PyInt_Check(lz->long_step) && PyInt_AS_LONG(lz->long_step) == 1) { in count_repr()
|
D | _testcapimodule.c | 104 if (PyInt_AS_LONG(anint) != NLIST-1-i) { in test_list_api() 139 i = PyInt_AS_LONG(v) + 1; in test_dict_inner()
|
D | _hotshot.c | 804 fileno = PyInt_AS_LONG(PyTuple_GET_ITEM(obj, 0)); in get_fileno()
|
D | _tkinter.c | 1100 return Tcl_NewLongObj(PyInt_AS_LONG(value)); in AsObj() 2173 return PyBool_FromLong(PyInt_AS_LONG(arg)); in Tkapp_GetBoolean()
|
/external/python/cpython2/Doc/c-api/ |
D | int.rst | 94 .. c:function:: long PyInt_AS_LONG(PyObject *io)
|
D | dict.rst | 183 int i = PyInt_AS_LONG(value) + 1;
|
/external/python/cpython2/Modules/_io/ |
D | _iomodule.c | 555 result = (Py_off_t) PyInt_AS_LONG(value); in PyNumber_AsOff_t()
|
/external/libxml2/python/ |
D | types.c | 611 ret = xmlXPathNewFloat((double) PyInt_AS_LONG(obj)); in libxml_xmlXPathObjectPtrConvert()
|
/external/python/cpython2/Doc/data/ |
D | refcounts.dat | 541 PyInt_AS_LONG:long::: 542 PyInt_AS_LONG:PyIntObject*:io:0:
|
/external/python/cpython2/Modules/_ctypes/ |
D | _ctypes.c | 1400 length = PyInt_AS_LONG(proto); in PyCArrayType_new() 2319 stgdict->flags = PyInt_AS_LONG(ob) | TYPEFLAG_ISPOINTER; in make_funcptrtype_dict() 3701 flag = PyInt_AS_LONG(PyTuple_GET_ITEM(item, 0)); in _build_callargs()
|
D | callproc.c | 656 pa->value.i = PyInt_AS_LONG(obj); in ConvParam()
|