Home
last modified time | relevance | path

Searched full:pickle (Results 1 – 25 of 25) sorted by relevance

/Zephyr-latest/scripts/
Dmake_bugs_pickle.py9 import pickle
29 them to a new pickle file as a list of github.Issue.Issue objects.
36 - pickle: https://docs.python.org/3/library/pickle.html
40 help='''file to write pickle data to (default:
59 pickle.dump(open_bugs, out_file)
Ddump_bugs_pickle.py9 import pickle
20 parser.add_argument('pickle_file', metavar='PICKLE-FILE', type=Path,
21 help='pickle file containing list of issues')
39 return [issue for issue in pickle.load(f) if
/Zephyr-latest/.github/workflows/
Dbug_snapshot.yaml4 # Make a snapshot of open bugs as a python pickle file, compressed
18 name: Make bugs pickle
34 BUGS_PICKLE_FILENAME="zephyr-bugs-$(date -I).pickle.xz"
66 echo "Bug pickle is available at: ${PUBLISH_DOWNLOAD_URI}" >> ${GITHUB_STEP_SUMMARY}
/Zephyr-latest/scripts/dts/
Dgen_edt.py24 import pickle
77 parser.add_argument("--edt-pickle-out",
91 # Writes the edt object in pickle format to out_file.
94 # Pickle protocol version 4 is the default as of Python 3.8
102 pickle.dump(edt, f, protocol=4)
Dgen_dts_cmake.py44 import pickle
74 parser.add_argument("--edt-pickle", required=True,
84 edt = pickle.load(f)
Dgen_defines.py20 import pickle
41 edt = pickle.load(f)
137 parser.add_argument("--edt-pickle",
/Zephyr-latest/scripts/coccinelle/
Dfind_functions.cocci28 import pickle
120 with open("function_names.pickle", "wb") as f:
124 pickle.dump(data, f, pickle.HIGHEST_PROTOCOL)
Dfind_dev_usage.cocci21 import pickle
34 with open("function_names.pickle", "rb") as f:
35 data = pickle.load(f)
/Zephyr-latest/cmake/modules/
Ddts.cmake19 # serialized edtlib.EDT object in Python's pickle format
20 # (https://docs.python.org/3/library/pickle.html)
58 # - ${PROJECT_BINARY_DIR}/edt.pickle exists
110 # The edtlib.EDT object in pickle format.
111 set(EDT_PICKLE ${PROJECT_BINARY_DIR}/edt.pickle)
299 --edt-pickle-out ${EDT_PICKLE}.new
320 --edt-pickle ${EDT_PICKLE}
361 --edt-pickle ${EDT_PICKLE}
/Zephyr-latest/scripts/build/
Dcheck_init_priorities.py25 import pickle
31 # This is needed to load edt.pickle files.
227 edt_pickle: name of the EDT pickle file
237 edt = pickle.load(f)
313 parser.add_argument("--edt-pickle", default=pathlib.Path("edt.pickle"),
Dgen_device_deps.py32 import pickle
36 # This is needed to load edt.pickle files.
124 edtser = os.path.join(os.path.split(args.kernel)[0], "edt.pickle")
126 edt = pickle.load(f)
Dcheck_init_priorities_test.py247 @mock.patch("pickle.load")
256 validator = check_init_priorities.Validator("path", "pickle", mock_log)
260 mock_open.assert_called_once_with(pathlib.Path("pickle"), "rb")
/Zephyr-latest/scripts/generate_usb_vif/
Dgenerate_vif.py7 EDT.pickle generated at build and generates a XML file containing USB VIF policies"""
12 import pickle
248 parser.add_argument("--edt-pickle", required=True,
264 edt = pickle.load(f)
/Zephyr-latest/scripts/west_commands/runners/
Dbossac.py10 import pickle
98 edt_pickle = b / 'zephyr' / 'edt.pickle'
107 edt = pickle.load(f)
/Zephyr-latest/cmake/
Dvif.cmake12 --edt-pickle ${EDT_PICKLE}
/Zephyr-latest/modules/hal_nordic/nrf-regtool/
Dnrf-regtoolConfig.cmake10 --edt-pickle-file ${EDT_PICKLE}
/Zephyr-latest/scripts/tests/twister/
Dtest_runner.py520 os.path.join('domain', 'build', 'dir', 'zephyr', 'edt.pickle'),
525 b'dummy edt pickle contents',
535 os.path.join('build', 'dir', 'zephyr', 'edt.pickle'),
540 b'dummy edt pickle contents',
549 os.path.join('build', 'dir', 'zephyr', 'edt.pickle'),
553 b'dummy edt pickle contents',
589 os.path.join('build', 'dir', 'zephyr', 'edt.pickle'),
594 b'dummy edt pickle contents',
603 os.path.join('build', 'dir', 'zephyr', 'edt.pickle'),
608 b'dummy edt pickle contents',
[all …]
/Zephyr-latest/soc/silabs/silabs_sim3/sim3u/
Dgen_crossbar_config.py49 import pickle
249 edt = pickle.load(f)
/Zephyr-latest/scripts/west_commands/
Dsign.py9 import pickle
27 # This is needed to load edt.pickle files.
341 edt_pickle = b / 'zephyr' / 'edt.pickle'
347 edt = pickle.load(f)
/Zephyr-latest/scripts/ci/
Dpylintrc19 # Do not pickle collected data for comparisons
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Drunner.py11 import pickle
779 edt_pickle = os.path.join(domain_build, "zephyr", "edt.pickle")
788 edt_pickle = os.path.join(self.build_dir, "zephyr", "edt.pickle")
839 edt = pickle.load(f)
1105 # to make it work with pickle
Dtestplan.py48 # This is needed to load edt.pickle files.
/Zephyr-latest/scripts/kconfig/
Dkconfigfunctions.py10 import pickle
30 edt = pickle.load(f)
/Zephyr-latest/doc/releases/
Drelease-notes-4.0.rst397 * ``--edt-pickle-out``
/Zephyr-latest/scripts/dts/python-devicetree/src/devicetree/
Dedtlib.py1920 The standard library's pickle module can be used to marshal and