Lines Matching refs:Take
65 auto str = Take<PythonString>(str_obj); in As()
319 *this = Take<PythonBytes>(PyBytes_FromStringAndSize(data, bytes.size())); in SetBytes()
336 *this = Take<PythonByteArray>(PyByteArray_FromStringAndSize(str, length)); in PythonByteArray()
379 return Take<PythonString>(str); in FromUTF8()
528 *this = Take<PythonInteger>(PyLong_FromLongLong(value)); in SetInteger()
561 *this = Take<PythonBoolean>(PyBool_FromLong(value)); in SetValue()
574 *this = Take<PythonList>(PyList_New(0)); in PythonList()
578 *this = Take<PythonList>(PyList_New(list_size)); in PythonList()
630 *this = Take<PythonTuple>(PyTuple_New(0)); in PythonTuple()
634 *this = Take<PythonTuple>(PyTuple_New(tuple_size)); in PythonTuple()
701 *this = Take<PythonDictionary>(PyDict_New()); in PythonDictionary()
819 return Take<PythonModule>(mod); in Import()
1308 auto pybuffer = Take<PythonObject>(pybuffer_p); in Write()
1553 return Take<PythonFile>(file_obj); in FromFile()
1568 Take<PythonObject>(o); in Init()
1593 auto code_ref = Take<PythonObject>(code); in runStringOneLine()
1605 return Take<PythonObject>(result); in runStringOneLine()
1618 return Take<PythonObject>(result); in runStringMultiLine()