tag | 27c4009c1e9a1b47cc0e1e836962569918d287f5 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed May 08 00:18:07 2024 -0700 |
object | b99202a0b6a445027b87944c84337c995dccb94e |
Android CTS 14.0 Release 4 (11801623)
commit | b99202a0b6a445027b87944c84337c995dccb94e | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Mar 10 02:22:25 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Mar 10 02:22:25 2023 +0000 |
tree | f7c7d4823a905b00d14ee39cb4477f5c16d85d12 | |
parent | eb95df0cf476f8304ae166829075e8c6ac911119 [diff] | |
parent | 7daa1d2b8e60aebb87dd835cd21ac2687a14f10b [diff] |
Snap for 9719949 from 7daa1d2b8e60aebb87dd835cd21ac2687a14f10b to udc-release Change-Id: I46673761fcb74cfb690c0d2a7a2293ebc5573d76
Same idea as (but implementation not directly based on) the Python shlex module. However, this implementation does not support any of the Python module's customization because it makes parsing slower and is fairly useless. You only get the default settings of shlex.split, which mimic the POSIX shell: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html
This implementation also deviates from the Python version in not treating \r specially, which I believe is more compliant.
The algorithms in this crate are oblivious to UTF-8 high bytes, so they iterate over the bytes directly as a micro-optimization.
Disabling the std
feature (which is enabled by default) will allow the crate to work in no_std
environments, where the alloc
crate, and a global allocator, are available.
The source code in this repository is Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.