HomeSort by: relevance | last modified time | path
    Searched refs:FdtSw (Results 1 - 2 of 2) sorted by relevancy

  /src/external/gpl2/dtc/dist/tests/
pylibfdt_tests.py 14 from libfdt import Fdt, FdtSw, FdtException, QUIET_NOTFOUND, QUIET_ALL
501 # First check the minimum size and also the FdtSw() constructor
503 self.assertEquals(-libfdt.NOSPACE, FdtSw(3))
505 sw = FdtSw()
561 self.assertTrue(len(fdt.as_bytearray()) > FdtSw.INC_SIZE * 2)
  /src/external/gpl2/dtc/dist/pylibfdt/
libfdt.i 127 This is a base class used by FdtRw (read-write access) and FdtSw
135 FdtSw - for creating a new FDT, as well as allowing read-only access
728 class FdtSw(FdtRo):
741 sw = FdtSw()
758 """Create a new FdtSw object
767 FdtSw object on success, else integer error code (if not raising)
771 fdtsw = bytearray(size_hint)
772 err = check_err(fdt_create(fdtsw, size_hint))
775 self._fdt = fdtsw
778 """Convert a FdtSw into an Fdt so it can be accessed as norma
    [all...]

Completed in 27 milliseconds