Home
last modified time | relevance | path

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

12345678910>>...24

/aosp_15_r20/external/rust/android-crates-io/crates/arbitrary/src/
Dlib.rs31 pub mod unstructured; module
33 pub use unstructured::Unstructured;
57 /// Generate arbitrary structured values from raw, unstructured data.
61 /// raw, unstructured bytes provided by a fuzzer.
105 /// [`Unstructured`][crate::Unstructured] type helps you with these tasks.
114 /// use arbitrary::{Arbitrary, Result, Unstructured};
120 /// fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> {
137 /// Generate an arbitrary value of `Self` from the given unstructured data.
141 /// raw data in an `Unstructured`, and then you can call `<MyType as
143 /// from that unstructured data.
[all …]
Dunstructured.rs9 //! Wrappers around raw, unstructured bytes.
16 /// A source of unstructured data.
18 /// An `Unstructured` helps `Arbitrary` implementations interpret raw data
21 /// string" (the raw data wrapped by an `Unstructured`) results in a small
25 /// `Unstructured` is deterministic: given the same raw data, the same series of
27 /// like running out of memory). However, `Unstructured` does not guarantee
31 /// You shouldn't generally need to use an `Unstructured` unless you are writing
42 /// Below is what translating the fuzzer's raw input into an `Unstructured` and
47 /// use arbitrary::{Arbitrary, Unstructured};
61 /// // Wrap it in an `Unstructured`.
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/arbitrary/
DCHANGELOG.md91 * Fixed a bug where `Unstructured::int_in_range` could return out-of-range
107 * The `Unstructured::arbitrary_loop` method will consume fewer bytes of input
112 * Fixed a bug where `Unstructured::int_in_range` could return out-of-range
160 * Added the `Unstructured::ratio` method to generate a boolean that is `true` at
163 * Added the `Unstructured::arbitrary_loop` method to call a function an
174 * Fixed documentation for `Unstructured::fill_bytes`. We forgot to update this
203 * Use fewer bytes for `Unstructured::int_in_range()` [#80](https://github.com/rust-fuzz/arbitrary/p…
227 * Rename `Unstructured#get_bytes` to `Unstructured#bytes`. [#70](https://github.com/rust-fuzz/arbit…
228 * Passing an empty slice of choices to `Unstructured#choose` returns an error. Previously it would …
260 `Unstructured::{int_in_range, choose, etc..}`.
[all …]
DREADME.md5 …<p><strong>The trait for generating structured data from arbitrary, unstructured input.</strong></…
81 // fn(&mut Unstructured) -> arbitrary::Result<T>
88 #[arbitrary(with = |u: &mut Unstructured| u.int_in_range(0..=64))]
92 fn arbitrary_b(u: &mut Unstructured) -> arbitrary::Result<u8> {
104 use arbitrary::{Arbitrary, Result, Unstructured};
114 fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> {
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/qr_code-2.0.0/src/
H A Dfuzz.rs6 fn arbitrary(u: &mut arbitrary::Unstructured<'_>) -> arbitrary::Result<Self> { in arbitrary()
50 fn arbitrary(u: &mut arbitrary::Unstructured<'_>) -> arbitrary::Result<Self> { in arbitrary()
72 fn arbitrary(u: &mut arbitrary::Unstructured<'_>) -> arbitrary::Result<Self> { in arbitrary()
109 let unstructured = arbitrary::Unstructured::new(&data[..]); in test_fuzz_decode_check() localVariable
110 let qr_code_data = crate::QrCodeData::arbitrary_take_rest(unstructured).unwrap(); in test_fuzz_decode_check()
128 let unstructured = arbitrary::Unstructured::new(&data[..]); in test_fuzz_split_merge_rt() localVariable
129 let (version, bytes) = <(i16, Vec<u8>)>::arbitrary_take_rest(unstructured).unwrap(); in test_fuzz_split_merge_rt()
/aosp_15_r20/out/soong/.intermediates/hardware/interfaces/radio/1.4/android.hardware.radio-V1.4-java_gen_java/gen/srcs/android/hardware/radio/V1_4/
DPdpProtocolType.java30 * Transfer of Unstructured data to the Data Network via N6
32 public static final int UNSTRUCTURED = 5; field in PdpProtocolType
52 if (o == UNSTRUCTURED) { in toString()
53 return "UNSTRUCTURED"; in toString()
82 if ((o & UNSTRUCTURED) == UNSTRUCTURED) { in dumpBitfield()
83 list.add("UNSTRUCTURED"); in dumpBitfield()
84 flipped |= UNSTRUCTURED; in dumpBitfield()
/aosp_15_r20/external/rust/android-crates-io/crates/arbitrary/tests/
Dderive.rs9 let mut buf = Unstructured::new(input); in arbitrary_from()
54 let s1 = EndingInVec::arbitrary_take_rest(Unstructured::new(&bytes)).unwrap(); in test_take_rest()
55 let s2 = EndingInString::arbitrary_take_rest(Unstructured::new(&bytes)).unwrap(); in test_take_rest()
204 let _ = Nat::arbitrary(&mut Unstructured::new(&[])); in recursive_and_empty_input()
212 let _ = Nat2::arbitrary(&mut Unstructured::new(&[])); in recursive_and_empty_input()
219 let _ = Nat3::arbitrary(&mut Unstructured::new(&[])); in recursive_and_empty_input()
224 let _ = Nat4::arbitrary(&mut Unstructured::new(&[])); in recursive_and_empty_input()
232 let _ = Nat5::arbitrary(&mut Unstructured::new(&[])); in recursive_and_empty_input()
254 #[arbitrary(with = |u: &mut Unstructured| u.int_in_range(0..=100))] in test_field_attributes()
258 fn arbitrary_weight(u: &mut Unstructured) -> arbitrary::Result<Weight> { in test_field_attributes()
/aosp_15_r20/external/google-cloud-java/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/
H A DExecutionTemplateOrBuilder.java30 * Unstructured key value map that can be used to organize and categorize
50 * Unstructured key value map that can be used to organize and categorize
73 * Unstructured key value map that can be used to organize and categorize
93 * Unstructured key value map that can be used to organize and categorize
117 * Unstructured key value map that can be used to organize and categorize
138 * Unstructured key value map that may be set by external tools to store and
156 * Unstructured key value map that may be set by external tools to store and
177 * Unstructured key value map that may be set by external tools to store and
195 * Unstructured key value map that may be set by external tools to store and
217 * Unstructured key value map that may be set by external tools to store and
H A DExecutionTemplate.java112 * Unstructured key value map that can be used to organize and categorize
144 * Unstructured key value map that can be used to organize and categorize
167 * Unstructured key value map that can be used to organize and categorize
197 * Unstructured key value map that can be used to organize and categorize
255 * Unstructured key value map that may be set by external tools to store and
285 * Unstructured key value map that may be set by external tools to store and
306 * Unstructured key value map that may be set by external tools to store and
334 * Unstructured key value map that may be set by external tools to store and
977 * Unstructured key value map that can be used to organize and categorize
1009 * Unstructured key value map that can be used to organize and categorize
[all …]
H A DRevisionTemplateOrBuilder.java57 * Unstructured key value map that can be used to organize and categorize
77 * Unstructured key value map that can be used to organize and categorize
100 * Unstructured key value map that can be used to organize and categorize
120 * Unstructured key value map that can be used to organize and categorize
144 * Unstructured key value map that can be used to organize and categorize
165 * Unstructured key value map that may be set by external tools to store and
183 * Unstructured key value map that may be set by external tools to store and
204 * Unstructured key value map that may be set by external tools to store and
222 * Unstructured key value map that may be set by external tools to store and
244 * Unstructured key value map that may be set by external tools to store and
H A DExecutionOrBuilder.java98 * Output only. Unstructured key value map that can be used to organize and
113 * Output only. Unstructured key value map that can be used to organize and
131 * Output only. Unstructured key value map that can be used to organize and
146 * Output only. Unstructured key value map that can be used to organize and
165 * Output only. Unstructured key value map that can be used to organize and
181 * Output only. Unstructured key value map that may
195 * Output only. Unstructured key value map that may
212 * Output only. Unstructured key value map that may
226 * Output only. Unstructured key value map that may
244 * Output only. Unstructured key value map that may
H A DJobOrBuilder.java102 * Unstructured key value map that can be used to organize and categorize
122 * Unstructured key value map that can be used to organize and categorize
145 * Unstructured key value map that can be used to organize and categorize
165 * Unstructured key value map that can be used to organize and categorize
189 * Unstructured key value map that can be used to organize and categorize
210 * Unstructured key value map that may
229 * Unstructured key value map that may
251 * Unstructured key value map that may
270 * Unstructured key value map that may
293 * Unstructured key value map that may
H A DRevisionOrBuilder.java98 * Output only. Unstructured key value map that can be used to organize and
113 * Output only. Unstructured key value map that can be used to organize and
131 * Output only. Unstructured key value map that can be used to organize and
146 * Output only. Unstructured key value map that can be used to organize and
165 * Output only. Unstructured key value map that can be used to organize and
181 * Output only. Unstructured key value map that may
195 * Output only. Unstructured key value map that may
212 * Output only. Unstructured key value map that may
226 * Output only. Unstructured key value map that may
244 * Output only. Unstructured key value map that may
H A DTaskOrBuilder.java98 * Output only. Unstructured key value map that can be used to organize and
113 * Output only. Unstructured key value map that can be used to organize and
131 * Output only. Unstructured key value map that can be used to organize and
146 * Output only. Unstructured key value map that can be used to organize and
165 * Output only. Unstructured key value map that can be used to organize and
181 * Output only. Unstructured key value map that may
195 * Output only. Unstructured key value map that may
212 * Output only. Unstructured key value map that may
226 * Output only. Unstructured key value map that may
244 * Output only. Unstructured key value map that may
/aosp_15_r20/external/google-cloud-java/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/
H A DTransformationConfig.java26 * unstructures, and image files. User must provide either a unstructured
85 * can be used for unstructured content such as free-form text files. If this
87 * de-identify unstructured content.
113 * can be used for unstructured content such as free-form text files. If this
115 * de-identify unstructured content.
440 * unstructures, and image files. User must provide either a unstructured
657 * can be used for unstructured content such as free-form text files. If this
659 * de-identify unstructured content.
684 * can be used for unstructured content such as free-form text files. If this
686 * de-identify unstructured content.
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/arbitrary/examples/
Dderive_enum.rs9 use arbitrary::{Arbitrary, Unstructured};
19 let raw = b"This is some raw, unstructured data!"; in main()
21 let mut unstructured = Unstructured::new(raw); in main() localVariable
23 let instance = MyEnum::arbitrary(&mut unstructured) in main()
24 .expect("`unstructured` has enough underlying data to create all variants of `MyEnum`"); in main()
/aosp_15_r20/system/tools/aidl/
Daidl_to_ndk.cpp35 // Unstructured parcelable should set its ndk_header. use it. in NdkHeaderFile()
36 if (auto unstructured = AidlCast<AidlParcelable>(defined_type); unstructured) { in NdkHeaderFile() local
37 AIDL_FATAL_IF(name != cpp::ClassNames::RAW, "unstructured parcelable should only use raw name"); in NdkHeaderFile()
38 const std::string ndk_header = unstructured->GetNdkHeader(); in NdkHeaderFile()
39 AIDL_FATAL_IF(ndk_header.empty(), unstructured) in NdkHeaderFile()
40 << "Parcelable " << unstructured->GetCanonicalName() << " has no ndk_header defined."; in NdkHeaderFile()
Daidl_to_cpp.cpp347 // Unstructured parcelable should set its cpp_header. use it. in CppHeaderForType()
348 if (auto unstructured = AidlCast<AidlParcelable>(defined_type); unstructured) { in CppHeaderForType() local
349 const std::string cpp_header = unstructured->GetCppHeader(); in CppHeaderForType()
350 AIDL_FATAL_IF(cpp_header.empty(), unstructured) in CppHeaderForType()
351 << "Parcelable " << unstructured->GetCanonicalName() << " has no cpp_header defined."; in CppHeaderForType()
/aosp_15_r20/external/sdk-platform-java/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/
H A DPostalAddress.java535 * Unstructured address lines describing the lower levels of an address.
551 * then geocoding is the recommended way to handle completely unstructured
567 * Unstructured address lines describing the lower levels of an address.
583 * then geocoding is the recommended way to handle completely unstructured
599 * Unstructured address lines describing the lower levels of an address.
615 * then geocoding is the recommended way to handle completely unstructured
632 * Unstructured address lines describing the lower levels of an address.
648 * then geocoding is the recommended way to handle completely unstructured
2372 * Unstructured address lines describing the lower levels of an address.
2388 * then geocoding is the recommended way to handle completely unstructured
[all …]
H A DPostalAddressOrBuilder.java280 * Unstructured address lines describing the lower levels of an address.
296 * then geocoding is the recommended way to handle completely unstructured
310 * Unstructured address lines describing the lower levels of an address.
326 * then geocoding is the recommended way to handle completely unstructured
340 * Unstructured address lines describing the lower levels of an address.
356 * then geocoding is the recommended way to handle completely unstructured
371 * Unstructured address lines describing the lower levels of an address.
387 * then geocoding is the recommended way to handle completely unstructured
/aosp_15_r20/external/rust/android-crates-io/crates/indexmap/src/
Darbitrary.rs4 use arbitrary::{Arbitrary, Result, Unstructured};
13 fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> { in arbitrary()
17 fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self> { in arbitrary_take_rest()
27 fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> { in arbitrary()
31 fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self> { in arbitrary_take_rest()
/aosp_15_r20/external/google-cloud-java/java-document-ai/grpc-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/
H A DDocumentUnderstandingServiceGrpc.java24 * Service to parse structured information from unstructured or semi-structured
138 * Service to parse structured information from unstructured or semi-structured
164 * Service to parse structured information from unstructured or semi-structured
182 * Service to parse structured information from unstructured or semi-structured
221 * Service to parse structured information from unstructured or semi-structured
258 * Service to parse structured information from unstructured or semi-structured
/aosp_15_r20/external/rust/android-crates-io/crates/bitflags/src/external/
Darbitrary.rs8 pub fn arbitrary<'a, B: Flags>(u: &mut arbitrary::Unstructured<'a>) -> arbitrary::Result<B> in arbitrary()
30 let mut unstructured = arbitrary::Unstructured::new(&[0_u8; 256]); in test_arbitrary() localVariable
31 let _color = Color::arbitrary(&mut unstructured); in test_arbitrary()
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/bitflags-2.5.0/src/external/
H A Darbitrary.rs8 pub fn arbitrary<'a, B: Flags>(u: &mut arbitrary::Unstructured<'a>) -> arbitrary::Result<B> in arbitrary()
30 let mut unstructured = arbitrary::Unstructured::new(&[0_u8; 256]); in test_arbitrary() localVariable
31 let _color = Color::arbitrary(&mut unstructured); in test_arbitrary()
/aosp_15_r20/external/rust/android-crates-io/crates/uuid/src/external/
Darbitrary_support.rs3 use arbitrary::{Arbitrary, Unstructured};
6 fn arbitrary(u: &mut Unstructured<'_>) -> arbitrary::Result<Self> { in arbitrary()
28 let mut bytes = Unstructured::new(&[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); in test_arbitrary()
38 let mut bytes = Unstructured::new(&[]); in test_arbitrary_empty()

12345678910>>...24