Lines Matching defs:ret
310 int ret = 0;
347 ret = -1;
367 ret = -1;
373 ret = -1;
389 return ret;
400 int ret = -1;
455 ret = 0;
469 return ret;
827 int ret;
833 ret = pack_from_list(mview, items, format, itemsize);
835 if (ret < 0)
1872 int ret = -1;
1913 ret = copy_buffer(dest, &src);
1918 return ret;
1924 PyObject *ret, *key, *tmp;
1941 ret = PyTuple_New(4);
1942 if (ret == NULL)
1949 PyTuple_SET_ITEM(ret, i, tmp);
1952 return ret;
1955 Py_DECREF(ret);
2089 int ret = PyBuffer_IsContiguous(&nd->head->base, 'C');
2091 if (ret != ND_C_CONTIGUOUS(nd->head->flags)) {
2096 return PyBool_FromLong(ret);
2103 int ret = PyBuffer_IsContiguous(&nd->head->base, 'F');
2105 if (ret != ND_FORTRAN_CONTIGUOUS(nd->head->flags)) {
2110 return PyBool_FromLong(ret);
2117 int ret = PyBuffer_IsContiguous(&nd->head->base, 'A');
2119 if (ret != ND_ANY_CONTIGUOUS(nd->head->flags)) {
2124 return PyBool_FromLong(ret);
2161 PyObject *ret = NULL;
2186 ret = PyBytes_FromStringAndSize(mem, src->len);
2191 return ret;
2308 PyObject *ret = NULL, *bufobj, *seq;
2347 ret = unpack_single(ptr, view.format, view.itemsize);
2351 return ret;
2432 PyObject *ret = NULL;
2461 ret = PyBytes_FromStringAndSize(buf, view.len);
2466 return ret;
2507 PyObject *ret;
2561 ret = equal ? Py_True : Py_False;
2562 Py_INCREF(ret);
2563 return ret;
2571 PyObject *ret = NULL;
2587 ret = PyBuffer_IsContiguous(base, ord) ? Py_True : Py_False;
2596 ret = PyBuffer_IsContiguous(&view, ord) ? Py_True : Py_False;
2600 Py_INCREF(ret);
2601 return ret;