/external/python/cpython2/Objects/ |
D | intobject.c | 150 return PyInt_AS_LONG((PyIntObject*) op); in PyInt_AsLong() 182 val = PyInt_AS_LONG(io); in PyInt_AsLong() 217 return PyInt_AS_LONG((PyIntObject*) op); in PyInt_AsSsize_t() 254 val = PyInt_AS_LONG(io); in PyInt_AsSsize_t() 269 return PyInt_AS_LONG((PyIntObject*) op); in PyInt_AsUnsignedLongMask() 299 val = PyInt_AS_LONG(io); in PyInt_AsUnsignedLongMask() 314 return PyInt_AS_LONG((PyIntObject*) op); in PyInt_AsUnsignedLongLongMask() 344 val = PyInt_AS_LONG(io); in PyInt_AsUnsignedLongLongMask() 430 lng = PyInt_AS_LONG(obj); \ 864 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 | 315 *dbl = (double)PyInt_AS_LONG(obj); in convert_to_double() 442 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 | 1725 long value = PyInt_AS_LONG(res); 1752 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() 315 return (PyInt_AS_LONG(v) >> SCOPE_OFF) & SCOPE_MASK; in PyST_GetScope() 462 flags = PyInt_AS_LONG(v); in analyze_cells() 540 flags = PyInt_AS_LONG(v); in update_symbols() 543 i = PyInt_AS_LONG(w); in update_symbols() 570 PyInt_AS_LONG(o) & (DEF_BOUND | DEF_GLOBAL)) { in update_symbols() 571 long i = PyInt_AS_LONG(o) | DEF_FREE_CLASS; in update_symbols() 670 long flags = PyInt_AS_LONG(v); in analyze_block() 896 val = PyInt_AS_LONG(o); in symtable_add_def() 925 val |= PyInt_AS_LONG(o); in symtable_add_def()
|
D | ceval.c | 1479 a = PyInt_AS_LONG(v); in PyEval_EvalFrameEx() 1480 b = PyInt_AS_LONG(w); in PyEval_EvalFrameEx() 1513 a = PyInt_AS_LONG(v); in PyEval_EvalFrameEx() 1514 b = PyInt_AS_LONG(w); in PyEval_EvalFrameEx() 1727 a = PyInt_AS_LONG(v); in PyEval_EvalFrameEx() 1728 b = PyInt_AS_LONG(w); in PyEval_EvalFrameEx() 1759 a = PyInt_AS_LONG(v); in PyEval_EvalFrameEx() 1760 b = PyInt_AS_LONG(w); in PyEval_EvalFrameEx() 2143 why = (enum why_code) PyInt_AS_LONG(v); in PyEval_EvalFrameEx() 2570 a = PyInt_AS_LONG(v); in PyEval_EvalFrameEx() [all …]
|
D | bltinmodule.c | 2344 long i_result = PyInt_AS_LONG(result); in builtin_sum() 2356 long b = PyInt_AS_LONG(item); in builtin_sum() 2403 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() 1265 return PyInt_AS_LONG(v); in compiler_lookup_arg() 3754 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/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() 1019 long l = PyInt_AS_LONG((PyIntObject *)args); in save_bool() 1035 long l = PyInt_AS_LONG((PyIntObject *)args); in save_int() 2270 code = PyInt_AS_LONG(py_code); in save_global() 2924 ik = PyInt_AS_LONG((PyIntObject*)k); in Pickle_getvalue() 2944 ik = PyInt_AS_LONG((PyIntObject *)k); in Pickle_getvalue() 2973 ik = PyInt_AS_LONG((PyIntObject *) in Pickle_getvalue() 2989 ik = PyInt_AS_LONG((PyIntObject*)k); in Pickle_getvalue()
|
D | itertoolsmodule.c | 3306 PyInt_AS_LONG(long_step) != 1) { in count_new() 3318 (PyInt_Check(long_step) && PyInt_AS_LONG(long_step) == 1)); in count_new() 3393 if (PyInt_Check(lz->long_step) && PyInt_AS_LONG(lz->long_step) == 1) { in count_repr()
|
D | _testcapimodule.c | 112 if (PyInt_AS_LONG(anint) != NLIST-1-i) { in test_list_api() 147 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()
|
/external/python/cpython2/Include/ |
D | intobject.h | 55 #define PyInt_AS_LONG(op) (((PyIntObject *)(op))->ob_ival) macro
|
/external/python/cffi/c/ |
D | cdlopen.c | 199 nintconsts[i].neg = PyInt_AS_LONG(o) <= 0; in ffiobj_init() 200 nintconsts[i].value = (long long)PyInt_AS_LONG(o); in ffiobj_init()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | py_seq_tensor.cc | 331 *out = PyInt_AS_LONG(v); in ConvertScalar() 409 i = PyInt_AS_LONG(v); in ConvertScalar() 471 *out = static_cast<T>(PyInt_AS_LONG(v)); in ConvertOneFloat()
|
/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/tensorflow/tensorflow/python/eager/ |
D | pywrap_tensor.cc | 133 *out = static_cast<tensorflow::DataType>(PyInt_AS_LONG(v)); in PyIntToDataType()
|
/external/python/cpython2/Doc/data/ |
D | refcounts.dat | 541 PyInt_AS_LONG:long::: 542 PyInt_AS_LONG:PyIntObject*:io:0:
|