• Home
  • Raw
  • Download

Lines Matching refs:rf

1454     RFILE rf;  in PyMarshal_ReadShortFromFile()  local
1457 rf.readable = NULL; in PyMarshal_ReadShortFromFile()
1458 rf.fp = fp; in PyMarshal_ReadShortFromFile()
1459 rf.end = rf.ptr = NULL; in PyMarshal_ReadShortFromFile()
1460 rf.buf = NULL; in PyMarshal_ReadShortFromFile()
1461 res = r_short(&rf); in PyMarshal_ReadShortFromFile()
1462 if (rf.buf != NULL) in PyMarshal_ReadShortFromFile()
1463 PyMem_Free(rf.buf); in PyMarshal_ReadShortFromFile()
1470 RFILE rf; in PyMarshal_ReadLongFromFile() local
1472 rf.fp = fp; in PyMarshal_ReadLongFromFile()
1473 rf.readable = NULL; in PyMarshal_ReadLongFromFile()
1474 rf.ptr = rf.end = NULL; in PyMarshal_ReadLongFromFile()
1475 rf.buf = NULL; in PyMarshal_ReadLongFromFile()
1476 res = r_long(&rf); in PyMarshal_ReadLongFromFile()
1477 if (rf.buf != NULL) in PyMarshal_ReadLongFromFile()
1478 PyMem_Free(rf.buf); in PyMarshal_ReadLongFromFile()
1531 RFILE rf; in PyMarshal_ReadObjectFromFile() local
1533 rf.fp = fp; in PyMarshal_ReadObjectFromFile()
1534 rf.readable = NULL; in PyMarshal_ReadObjectFromFile()
1535 rf.depth = 0; in PyMarshal_ReadObjectFromFile()
1536 rf.ptr = rf.end = NULL; in PyMarshal_ReadObjectFromFile()
1537 rf.buf = NULL; in PyMarshal_ReadObjectFromFile()
1538 rf.refs = PyList_New(0); in PyMarshal_ReadObjectFromFile()
1539 if (rf.refs == NULL) in PyMarshal_ReadObjectFromFile()
1541 result = read_object(&rf); in PyMarshal_ReadObjectFromFile()
1542 Py_DECREF(rf.refs); in PyMarshal_ReadObjectFromFile()
1543 if (rf.buf != NULL) in PyMarshal_ReadObjectFromFile()
1544 PyMem_Free(rf.buf); in PyMarshal_ReadObjectFromFile()
1551 RFILE rf; in PyMarshal_ReadObjectFromString() local
1553 rf.fp = NULL; in PyMarshal_ReadObjectFromString()
1554 rf.readable = NULL; in PyMarshal_ReadObjectFromString()
1555 rf.ptr = str; in PyMarshal_ReadObjectFromString()
1556 rf.end = str + len; in PyMarshal_ReadObjectFromString()
1557 rf.buf = NULL; in PyMarshal_ReadObjectFromString()
1558 rf.depth = 0; in PyMarshal_ReadObjectFromString()
1559 rf.refs = PyList_New(0); in PyMarshal_ReadObjectFromString()
1560 if (rf.refs == NULL) in PyMarshal_ReadObjectFromString()
1562 result = read_object(&rf); in PyMarshal_ReadObjectFromString()
1563 Py_DECREF(rf.refs); in PyMarshal_ReadObjectFromString()
1564 if (rf.buf != NULL) in PyMarshal_ReadObjectFromString()
1565 PyMem_Free(rf.buf); in PyMarshal_ReadObjectFromString()
1669 RFILE rf; in marshal_load() local
1688 rf.depth = 0; in marshal_load()
1689 rf.fp = NULL; in marshal_load()
1690 rf.readable = file; in marshal_load()
1691 rf.ptr = rf.end = NULL; in marshal_load()
1692 rf.buf = NULL; in marshal_load()
1693 if ((rf.refs = PyList_New(0)) != NULL) { in marshal_load()
1694 result = read_object(&rf); in marshal_load()
1695 Py_DECREF(rf.refs); in marshal_load()
1696 if (rf.buf != NULL) in marshal_load()
1697 PyMem_Free(rf.buf); in marshal_load()
1743 RFILE rf; in marshal_loads_impl() local
1747 rf.fp = NULL; in marshal_loads_impl()
1748 rf.readable = NULL; in marshal_loads_impl()
1749 rf.ptr = s; in marshal_loads_impl()
1750 rf.end = s + n; in marshal_loads_impl()
1751 rf.depth = 0; in marshal_loads_impl()
1752 if ((rf.refs = PyList_New(0)) == NULL) in marshal_loads_impl()
1754 result = read_object(&rf); in marshal_loads_impl()
1755 Py_DECREF(rf.refs); in marshal_loads_impl()