| /OK3568_Linux_fs/yocto/poky/scripts/lib/wic/ |
| H A D | ksparser.py | 52 raise ArgumentError(None, message) 68 raise ArgumentTypeError("Invalid size: %r" % arg) 85 raise ArgumentTypeError("Invalid size: %r" % arg) 96 raise ArgumentTypeError("Invalid value: %r" % arg) 99 raise ArgumentTypeError("Overhead factor should be > 1.0" % arg) 111 raise ArgumentTypeError("file not found: %s" % arg) 125 raise ArgumentTypeError(error) 128 raise ArgumentTypeError(error) 175 # ----extra-space and --overhead-factor should also raise a parser 221 raise KickStartError('%s:%d: %s' % \ [all …]
|
| H A D | filemap.py | 48 raise IOError("Unable to determine block size") 93 raise Error("cannot get information about file '%s': %s" 99 raise Error("cannot get block size for '%s': %s" 108 raise Error("cannot flush image file '%s': %s" 114 raise Error("cannot synchronize image file '%s': %s " 131 raise Error("cannot open image file '%s': %s" 143 raise Error("the method is not implemented") 156 raise Error("the method is not implemented") 178 raise ErrorNotSupp("the kernel or file-system does not support " 181 raise [all …]
|
| /OK3568_Linux_fs/u-boot/scripts/dtc/pylibfdt/ |
| H A D | libfdt.i_shipped | 69 """Raise an error if the return value is -ve 75 quiet: Errors to ignore (empty to raise on all errors) 85 raise FdtException(val) 89 """Raise an error if the return value is NULL 96 quiet: Errors to ignore (empty to raise on all errors) 109 raise FdtException(val) 123 All methods raise an FdtException if an error occurs. To avoid this 139 quiet: Errors to ignore (empty to raise on all errors) 155 quiet: Errors to ignore (empty to raise on all errors) 170 quiet: Errors to ignore (empty to raise on all errors) [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/pysh/ |
| H A D | pyshlex.py | 143 Otherwise, raise NeedMore. 170 raise NeedMore() 174 raise NeedMore() 181 raise NeedMore() 197 raise NeedMore() 200 raise NeedMore() 212 raise NeedMore() 219 raise NeedMore() 230 raise NeedMore() 234 raise NeedMore() [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/compress/ |
| H A D | _pipecompress.py | 44 raise ValueError("Invalid mode: %r" % (mode,)) 47 raise ValueError("Argument 'encoding' not supported in binary mode") 49 raise ValueError("Argument 'errors' not supported in binary mode") 51 raise ValueError("Argument 'newline' not supported in binary mode") 59 raise TypeError("filename must be a str or bytes object, or a file") 95 raise ValueError("Invalid mode: {!r}".format(mode)) 105 raise ValueError("Invalid mode %r" % mode) 139 raise CompressionError("Process died with %d" % returncode) 176 raise OSError( 188 raise OSError(
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/layerindexlib/ |
| H A D | __init__.py | 53 raise LayerIndexException("Must be initialized with bb.data.") 73 raise TypeError("Can not add different types.") 116 raise LayerIndexUrlError(url, "empty url") 146 raise LayerIndexFetchError(url, e) 149 raise LayerIndexFetchError(url, e) 164 raise LayerIndexFetchError(url, "%s: %s" % (e, reason)) 167 … raise LayerIndexFetchError(url, "Unexpected exception: [Error %s] %s" % (error, reason)) 169 raise LayerIndexFetchError(url, "Unable to fetch OSError exception: %s" % e) 210 raise LayerIndexException("No LayerIndex Plugins available") 227 raise LayerIndexException("No plugins support %s" % indexURI) [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oe/ |
| H A D | terminal.py | 40 raise UnsupportedTerminal(self.name) 42 raise 55 raise UnsupportedTerminal(self.name) 128 raise UnsupportedTerminal('tmux is not installed') 131 raise UnsupportedTerminal('tmux is not running') 134 raise UnsupportedTerminal('tmux pane too small or tmux < 1.9 version is being used') 146 raise UnsupportedTerminal('tmux is not installed') 149 raise UnsupportedTerminal('tmux is not running') 160 raise UnsupportedTerminal('tmux is not installed') 194 raise UnsupportedTerminal('OE_TERMINAL_CUSTOMCMD not set') [all …]
|
| H A D | types.py | 41 raise TypeError("choice accepts a string, not '%s'" % type(value)) 46 raise ValueError("Invalid choice '%s'. Valid choices: %s" % 92 raise ValueError("Invalid regex flag '%s'" % flag) 103 raise ValueError("Invalid regex value '%s': %s" % 119 raise TypeError("boolean accepts a string, not '%s'" % type(value)) 126 raise ValueError("Invalid boolean value '%s'" % value) 161 raise ValueError("{0}: {1}".format(value, os.strerror(errno.ENOENT)))
|
| H A D | patch.py | 33 raise NotFoundError(dir) 47 raise CmdError(cmd, exitstatus >> 8, "stdout: %s\nstderr: %s" % (stdout, stderr)) 86 raise NotImplementedError() 91 raise PatchError("Patch file must be specified in patch import.") 105 raise NotImplementedError() 108 raise NotImplementedError() 111 raise NotImplementedError() 179 raise PatchError('Unable to decode %s' % patchfile) 249 raise bb.BBHandledException("Applying '%s' failed:\n%s" % 338 raise PatchError('Unable to find a character encoding to decode %s' % patchfile) [all …]
|
| /OK3568_Linux_fs/u-boot/tools/binman/etype/ |
| H A D | entry.py | 87 raise ValueError("Unknown entry type '%s' in node '%s'" % 104 raise ValueError("Node '%s': Alignment %s must be a power of two" % 110 raise ValueError("Node '%s': Alignment size %s must be a power " 145 self.Raise('No position set with pos-unset: should another ' 163 self.Raise("Entry contents size is %#x (%d) but entry size is " 169 self.Raise("Size %#x (%d) does not match align-size %#x (%d)" % 172 self.Raise("Position %#x (%d) does not match align %#x (%d)" % 177 def Raise(self, msg): member in Entry 178 """Convenience function to raise an error referencing a node""" 179 raise ValueError("Node '%s': %s" % (self._node.path, msg))
|
| /OK3568_Linux_fs/yocto/poky/scripts/ |
| H A D | wic | 112 raise WicError("Can't build rootfs as bitbake is not in the $PATH") 123 raise WicError("The following build artifacts are not specified: %s" % 135 raise WicError("Couldn't verify build environment, exiting") 158 raise WicError("Image name is not specified, exiting. " 171 raise WicError("Unable to find the location of the native tools sysroot") 178 raise WicError("No image named %s found, exiting. (Use 'wic list images' " 190 raise WicError("--rootfs-dir (-r) not found, exiting") 192 raise WicError("--bootimg-dir (-b) not found, exiting") 194 raise WicError("--kernel-dir (-k) not found, exiting") 196 raise WicError("--native-sysroot (-n) not found, exiting") [all …]
|
| H A D | runqemu | 24 """Custom exception to raise on known errors.""" 114 …raise RunQemuError("TUN control device %s is unavailable; you may need to enable TUN (e.g. sudo mo… 117 …raise RunQemuError("TUN control device %s is not writable, please fix (e.g. sudo chmod 666 %s)" % … 336 raise RunQemuError("Conflicting: FSTYPE %s and %s" % (self.fstype, fst)) 392 raise RunQemuError("Can't find FSTYPE from: %s" % p) 404 raise RunQemuError("Unknown path arg %s" % p) 411 raise RunQemuError("Maybe conflicted MACHINE: %s vs %s" % (self.get('MACHINE'), arg)) 413 raise RunQemuError("Unknown arg: %s" % arg) 442 raise RunQemuError("bitbake -e %s" % self.bitbake_e) 464 …raise RunQemuError("Could not determine the path to dri drivers on the host via pkg-config.\nPleas… [all …]
|
| /OK3568_Linux_fs/kernel/scripts/gdb/linux/ |
| H A D | rbtree.py | 17 raise gdb.GdbError("Must be struct rb_root not {}".format(root.type)) 33 raise gdb.GdbError("Must be struct rb_root not {}".format(root.type)) 58 raise gdb.GdbError("Must be struct rb_node not {}".format(node.type)) 81 raise gdb.GdbError("Must be struct rb_node not {}".format(node.type)) 112 raise gdb.GdbError("No entry in tree") 132 raise gdb.GdbError("No entry in tree") 152 raise gdb.GdbError("No entry in tree") 172 raise gdb.GdbError("No entry in tree")
|
| /OK3568_Linux_fs/yocto/poky/scripts/lib/wic/plugins/source/ |
| H A D | isoimage-isohybrid.py | 101 raise WicError("configfile is specified " 152 raise WicError("Couldn't find DEPLOY_DIR_IMAGE, exiting.") 156 raise WicError("Couldn't find IMAGE_BASENAME, exiting.") 160 raise WicError("Couldn't find INITRAMFS_FSTYPES, exiting.") 188 raise WicError("Couldn't find or build initrd, exiting.") 247 raise WicError("Couldn't find --rootfs-dir, exiting.") 255 raise WicError("Couldn't find --rootfs-dir=%s connection " 262 raise WicError("Couldn't find IMAGE_ROOTFS, exiting.") 276 raise WicError("Couldn't find DEPLOY_DIR_IMAGE, exiting") 317 raise WicError("Coludn't find target architecture") [all …]
|
| H A D | bootimg-efi.py | 52 raise WicError("configfile is specified but failed to " 60 raise WicError("Couldn't find DEPLOY_DIR_IMAGE, exiting") 133 raise WicError("Couldn't find DEPLOY_DIR_IMAGE, exiting") 158 raise WicError("configfile is specified but failed to " 214 raise WicError("unrecognized bootimg-efi loader: %s" % source_params['loader']) 216 raise WicError("bootimg-efi requires a loader, none specified") 240 raise WicError('Malformed boot file entry: %s' % src_entry) 282 raise WicError("Couldn't find DEPLOY_DIR_IMAGE, exiting") 297 … raise WicError("initrd= must be specified when create-unified-kernel-image=true, exiting") 302 raise WicError("Unified Kernel Image EFI stub not found, exiting") [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/ |
| H A D | manifest.py | 35 raise e 47 raise OSError 95 raise IOError 105 raise IOError 107 raise self.skipTest("{}: Error in obtaining manifest dirs"\ 138 if not os.path.isfile(mpath): raise IOError 145 if not os.path.exists(revdir): raise IOError 147 raise self.skipTest("{}: Error in obtaining manifest dirs"\
|
| /OK3568_Linux_fs/kernel/scripts/ |
| H A D | spdxcheck.py | 51 raise SPDXException(el, 'Duplicate License Identifier: %s' %lid) 62 … raise SPDXException(None, 'Exception %s missing license %s' %(exception, lic)) 68 … raise SPDXException(el, 'Exception %s is missing SPDX-Licenses' %exception) 104 raise ParserException(tok, 'Invalid License ID') 108 raise ParserException(tok, 'Invalid Exception ID') 110 raise ParserException(tok, 'Exception not valid for license %s' %self.lastid) 131 raise ParserException(tok, 'Missing parentheses') 146 raise ParserException(tok, 'Invalid token') 158 raise ParserException(None, 'Unfinished license expression') 160 raise ParserException(p, 'Syntax error')
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/core/ |
| H A D | loader.py | 24 # For our purposes, it is better to raise the exceptions in the loading 31 exec("""def _make_failed_test(%s): raise exception""" % ', '.join(_failed_test_args)) 38 raise ImportError("Duplicated %s module found in %s" % (module, path)) 84 raise TypeError('module_paths must be a str or a list of str') 109 raise Exception("Decorator %s isn't registered" \ 220 raise TypeError("Test cases should not be derived from TestSuite." \ 224 raise TypeError("Test %s is not derived from %s" % \ 249 test is found, raise an exception when not found. 265 raise OEQATestNotFound("Not found %s in loaded test cases" % \ 290 raise ImportError(msg % module.__name__)
|
| /OK3568_Linux_fs/yocto/poky/scripts/lib/devtool/ |
| H A D | standard.py | 37 …raise argparse_oe.ArgumentUsageError('At least one of recipename, srctree, fetchuri or -f/--fetch … 45 raise DevtoolError('URI specified as positional argument as well as -f/--fetch') 51 raise DevtoolError('URI specified as positional argument as well as -f/--fetch') 63 … raise DevtoolError('The -S/--srcrev option is only valid when fetching from an SCM repository') 65 … raise DevtoolError('The -B/--srcbranch option is only valid when fetching from an SCM repository') 73 raise DevtoolError('URI specified as positional argument as well as -f/--fetch') 80 raise DevtoolError("recipe %s is already in your workspace" % 84 raise DevtoolError(reason) 99 raise DevtoolError("Cannot fetch into source tree path %s as " 103 raise DevtoolError("Cannot fetch into source tree path %s as " [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/ |
| H A D | persist_data.py | 26 raise Exception("sqlite3 version 3.3.0 or later is required.") 57 raise 134 raise StopIteration 165 raise KeyError(key) 171 raise KeyError(key) 178 raise TypeError('Only string keys are supported') 180 raise TypeError('Only string values are supported') 211 raise NotImplementedError()
|
| /OK3568_Linux_fs/u-boot/scripts/ |
| H A D | avbtool.py | 384 raise AvbError('Error getting public key: {}'.format(perr)) 387 raise AvbError('Unexpected modulus output') 412 raise AvbError('Only RSA keys with exponent 65537 are supported.') 447 raise AvbError('Algorithm with name {} is not supported.' 451 raise AvbError('Key size of key ({} bits) does not match key size ' 472 raise AvbError('Error signing') 491 raise AvbError('Error signing: {}'.format(perr)) 494 raise AvbError('Error signing: Invalid length of signature') 514 raise AvbError('Unknown algorithm type {}'.format(alg_type)) 533 raise AvbError('Unsupported algorithm type {}'.format(alg_type)) [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/fetch2/ |
| H A D | npm.py | 146 raise MissingParameterError("Parameter 'package' required", ud.url) 153 raise MissingParameterError("Parameter 'version' required", ud.url) 156 raise ParameterError("Invalid 'version' parameter", ud.url) 192 raise FetchError("Unavailable package %s" % pkgver, ud.url) 199 raise FetchError(error.get("summary"), ud.url) 206 raise ParameterError("Invalid 'version' parameter", ud.url) 211 raise FetchError("Invalid view from npm: %s" % str(e), ud.url) 217 raise FetchError("Invalid 'dist.tarball' in view", ud.url) 231 raise FetchError("Invalid 'dist.integrity' in view", ud.url)
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/core/ |
| H A D | rtw_mp_ioctl.c | 73 _irqlevel_changed_(&oldirql, RAISE); in oid_rt_pro_write_bb_reg_hdl() 106 _irqlevel_changed_(&oldirql, RAISE); in oid_rt_pro_read_bb_reg_hdl() 151 _irqlevel_changed_(&oldirql, RAISE); in oid_rt_pro_write_rf_reg_hdl() 189 _irqlevel_changed_(&oldirql, RAISE); in oid_rt_pro_read_rf_reg_hdl() 229 _irqlevel_changed_(&oldirql, RAISE); in oid_rt_pro_set_data_rate_hdl() 265 _irqlevel_changed_(&oldirql, RAISE); in oid_rt_pro_start_test_hdl() 287 _irqlevel_changed_(&oldirql, RAISE); in oid_rt_pro_stop_test_hdl() 323 _irqlevel_changed_(&oldirql, RAISE); in oid_rt_pro_set_channel_direct_call_hdl() 357 _irqlevel_changed_(&oldirql, RAISE); in oid_rt_set_bandwidth_hdl() 386 _irqlevel_changed_(&oldirql, RAISE); in oid_rt_pro_set_antenna_bb_hdl() [all …]
|
| /OK3568_Linux_fs/buildroot/package/python3/ |
| H A D | 0011-Add-importlib-fix-for-PEP-3147-issue.patch | 46 - raise NotImplementedError('sys.implementation.cache_tag is None') 71 - raise NotImplementedError('sys.implementation.cache_tag is None') 83 - raise ValueError(f'{_PYCACHE} not bottom-level directory in ' 87 - raise ValueError(f'expected only 2 or 3 dots in {pycache_filename!r}') 91 - raise ValueError("optimization portion of filename does not start " 95 - raise ValueError(f"optimization level {optimization!r} is not an "
|
| /OK3568_Linux_fs/tools/linux/Linux_SecurityAVB/scripts/ |
| H A D | avbtool | 379 raise AvbError('Error getting public key: {}'.format(perr)) 382 raise AvbError('Unexpected modulus output') 408 raise AvbError('Only RSA keys with exponent 65537 are supported.') 438 raise AvbError('Unknown algorithm type {}'.format(alg_type)) 469 raise AvbError('Error signing') 488 raise AvbError('Error signing: {}'.format(perr)) 491 raise AvbError('Error signing: Invalid length of signature') 601 raise ValueError('RAW chunk cannot have fill_data set.') 603 raise ValueError('RAW chunk must have input_offset set.') 606 raise ValueError('FILL chunk must have fill_data set.') [all …]
|