Home
last modified time | relevance | path

Searched defs:fn (Results 1 – 25 of 3509) sorted by relevance

12345678910>>...141

/external/rust/android-crates-io/crates/uuid/src/
Dbuilder.rs72 pub const fn nil() -> Self { in nil() constant
98 pub const fn max() -> Self { in max() constant
122 pub const fn from_fields(d1: u32, d2: u16, d3: u16, d4: &[u8; 8]) -> Uuid { in from_fields() constant
168 pub const fn from_fields_le(d1: u32, d2: u16, d3: u16, d4: &[u8; 8]) -> Uuid { in from_fields_le() constant
206 pub const fn from_u128(v: u128) -> Self { in from_u128() constant
232 pub const fn from_u128_le(v: u128) -> Self { in from_u128_le() constant
254 pub const fn from_u64_pair(high_bits: u64, low_bits: u64) -> Self { in from_u64_pair() constant
364 pub const fn from_bytes(bytes: Bytes) -> Uuid { in from_bytes() constant
395 pub const fn from_bytes_le(b: Bytes) -> Uuid { in from_bytes_le() constant
466 pub const fn from_bytes(b: Bytes) -> Self { in from_bytes() constant
[all …]
/external/rust/android-crates-io/crates/tinystr/src/
Dint_ops.rs16 pub const fn from_utf8<const N: usize>(src: &[u8; N]) -> Self { in from_utf8() constant
29 pub const fn from_ascii_bytes<const N: usize>(src: &[AsciiByte; N]) -> Self { in from_ascii_bytes() constant
34 pub const fn to_bytes(&self) -> [u8; 4] { in to_bytes() constant
39 pub const fn to_ascii_bytes(&self) -> [AsciiByte; 4] { in to_ascii_bytes() constant
43 pub const fn len(&self) -> usize { in len() constant
52 pub const fn is_ascii_alphabetic(&self) -> bool { in is_ascii_alphabetic() constant
67 pub const fn is_ascii_alphanumeric(&self) -> bool { in is_ascii_alphanumeric() constant
77 pub const fn is_ascii_numeric(&self) -> bool { in is_ascii_numeric() constant
85 pub const fn is_ascii_lowercase(&self) -> bool { in is_ascii_lowercase() constant
95 pub const fn is_ascii_titlecase(&self) -> bool { in is_ascii_titlecase() constant
[all …]
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/clap_builder-4.5.21/src/builder/
Dstyling.rs35 pub const fn plain() -> Self { in plain() constant
48 pub const fn styled() -> Self { in styled() constant
71 pub const fn header(mut self, style: Style) -> Self { in header() constant
78 pub const fn error(mut self, style: Style) -> Self { in error() constant
85 pub const fn usage(mut self, style: Style) -> Self { in usage() constant
92 pub const fn literal(mut self, style: Style) -> Self { in literal() constant
99 pub const fn placeholder(mut self, style: Style) -> Self { in placeholder() constant
106 pub const fn valid(mut self, style: Style) -> Self { in valid() constant
113 pub const fn invalid(mut self, style: Style) -> Self { in invalid() constant
123 pub const fn get_header(&self) -> &Style { in get_header() constant
[all …]
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/clap_builder-4.5.21/src/builder/
Dstyling.rs35 pub const fn plain() -> Self { in plain() constant
48 pub const fn styled() -> Self { in styled() constant
71 pub const fn header(mut self, style: Style) -> Self { in header() constant
78 pub const fn error(mut self, style: Style) -> Self { in error() constant
85 pub const fn usage(mut self, style: Style) -> Self { in usage() constant
92 pub const fn literal(mut self, style: Style) -> Self { in literal() constant
99 pub const fn placeholder(mut self, style: Style) -> Self { in placeholder() constant
106 pub const fn valid(mut self, style: Style) -> Self { in valid() constant
113 pub const fn invalid(mut self, style: Style) -> Self { in invalid() constant
123 pub const fn get_header(&self) -> &Style { in get_header() constant
[all …]
/external/rust/android-crates-io/crates/clap_builder/src/builder/
Dstyling.rs35 pub const fn plain() -> Self { in plain() constant
48 pub const fn styled() -> Self { in styled() constant
73 pub const fn header(mut self, style: anstyle::Style) -> Self { in header() constant
80 pub const fn error(mut self, style: anstyle::Style) -> Self { in error() constant
87 pub const fn usage(mut self, style: anstyle::Style) -> Self { in usage() constant
94 pub const fn literal(mut self, style: anstyle::Style) -> Self { in literal() constant
101 pub const fn placeholder(mut self, style: anstyle::Style) -> Self { in placeholder() constant
108 pub const fn valid(mut self, style: anstyle::Style) -> Self { in valid() constant
115 pub const fn invalid(mut self, style: anstyle::Style) -> Self { in invalid() constant
125 pub const fn get_header(&self) -> &anstyle::Style { in get_header() constant
[all …]
/external/rust/android-crates-io/crates/uefi/src/proto/media/
Dblock.rs17 pub const fn media(&self) -> &BlockIOMedia { in media() constant
112 pub const fn media_id(&self) -> u32 { in media_id() constant
118 pub const fn is_removable_media(&self) -> bool { in is_removable_media() constant
124 pub const fn is_media_present(&self) -> bool { in is_media_present() constant
130 pub const fn is_logical_partition(&self) -> bool { in is_logical_partition() constant
136 pub const fn is_read_only(&self) -> bool { in is_read_only() constant
142 pub const fn is_write_caching(&self) -> bool { in is_write_caching() constant
150 pub const fn block_size(&self) -> u32 { in block_size() constant
156 pub const fn io_align(&self) -> u32 { in io_align() constant
162 pub const fn last_block(&self) -> Lba { in last_block() constant
[all …]
/external/tensorflow/tensorflow/compiler/tests/
Dtensor_array_ops_test.py55 def fn(): function
79 def fn(): function
100 def fn(): function
117 def fn(): function
141 def fn(): function
158 def fn(): function
176 def fn(): function
205 def fn(): function
223 def fn(): function
240 def fn(): function
[all …]
/external/rust/android-crates-io/crates/rustix/src/maybe_polyfill/no_std/net/
Dip_addr.rs242 pub const fn is_unspecified(&self) -> bool { in is_unspecified() constant
269 pub const fn is_loopback(&self) -> bool { in is_loopback() constant
298 pub const fn is_global(&self) -> bool { in is_global() constant
325 pub const fn is_multicast(&self) -> bool { in is_multicast() constant
357 pub const fn is_documentation(&self) -> bool { in is_documentation() constant
382 pub const fn is_benchmarking(&self) -> bool { in is_benchmarking() constant
409 pub const fn is_ipv4(&self) -> bool { in is_ipv4() constant
433 pub const fn is_ipv6(&self) -> bool { in is_ipv6() constant
458 pub const fn to_canonical(&self) -> IpAddr { in to_canonical() constant
485 pub const fn new(a: u8, b: u8, c: u8, d: u8) -> Ipv4Addr { in new() constant
[all …]
/external/rust/android-crates-io/crates/vulkano/src/
Dmacros.rs34 pub const fn empty() -> Self { constant
41 pub const fn none() -> Self { constant
47 pub const fn all() -> Self { constant
51 const fn all_raw() -> $repr { constant
60 pub const fn is_empty(self) -> bool { constant
66 pub const fn intersects(self, #[allow(unused_variables)] other: Self) -> bool { constant
72 pub const fn contains(self, #[allow(unused_variables)] other: Self) -> bool { constant
78 pub const fn union(self, #[allow(unused_variables)] other: Self) -> Self { constant
84 pub const fn intersection(self, #[allow(unused_variables)] other: Self) -> Self { constant
90 pub const fn difference(self, #[allow(unused_variables)] other: Self) -> Self { constant
[all …]
/external/rust/android-crates-io/crates/zerotrie/src/builder/konst/
Dstore.rs24 pub const fn from_slice(other: &'a [T]) -> Self { in from_slice() constant
33 pub const fn from_manual_slice(full_slice: &'a [T], start: usize, limit: usize) -> Self { in from_manual_slice() constant
42 pub const fn len(&self) -> usize { in len() constant
47 pub const fn get_or_panic(&self, index: usize) -> &T { in get_or_panic() constant
53 pub const fn first(&self) -> Option<&T> { in first() constant
62 pub const fn last(&self) -> Option<&T> { in last() constant
72 pub const fn get_subslice_or_panic( in get_subslice_or_panic() constant
117 pub const fn new_empty(full_array: [T; N], cursor: usize) -> Self { in new_empty() constant
127 pub const fn from_manual_slice(full_array: [T; N], start: usize, limit: usize) -> Self { in from_manual_slice() constant
138 pub const fn len(&self) -> usize { in len() constant
[all …]
/external/rust/android-crates-io/crates/chrono/src/format/
Dlocales.rs5 pub(crate) const fn default_locale() -> Locale { in default_locale() constant
9 pub(crate) const fn short_months(locale: Locale) -> &'static [&'static str] { in short_months() constant
13 pub(crate) const fn long_months(locale: Locale) -> &'static [&'static str] { in long_months() constant
17 pub(crate) const fn short_weekdays(locale: Locale) -> &'static [&'static str] { in short_weekdays() constant
21 pub(crate) const fn long_weekdays(locale: Locale) -> &'static [&'static str] { in long_weekdays() constant
25 pub(crate) const fn am_pm(locale: Locale) -> &'static [&'static str] { in am_pm() constant
29 pub(crate) const fn decimal_point(locale: Locale) -> &'static str { in decimal_point() constant
33 pub(crate) const fn d_fmt(locale: Locale) -> &'static str { in d_fmt() constant
37 pub(crate) const fn d_t_fmt(locale: Locale) -> &'static str { in d_t_fmt() constant
41 pub(crate) const fn t_fmt(locale: Locale) -> &'static str { in t_fmt() constant
[all …]
/external/rust/android-crates-io/crates/etherparse/src/net/
Darp_packet_slice.rs59 pub const fn hw_addr_type(&self) -> ArpHardwareId { in hw_addr_type() constant
69 pub const fn proto_addr_type(&self) -> EtherType { in proto_addr_type() constant
79 pub const fn hw_addr_size(&self) -> u8 { in hw_addr_size() constant
87 pub const fn proto_addr_size(&self) -> u8 { in proto_addr_size() constant
95 pub const fn operation(&self) -> ArpOperation { in operation() constant
105 pub const fn sender_hw_addr(&self) -> &[u8] { in sender_hw_addr() constant
115 pub const fn sender_protocol_addr(&self) -> &[u8] { in sender_protocol_addr() constant
128 pub const fn target_hw_addr(&self) -> &[u8] { in target_hw_addr() constant
143 pub const fn target_protocol_addr(&self) -> &[u8] { in target_protocol_addr() constant
/external/rust/android-crates-io/crates/anstyle/src/
Dstyle.rs35 pub const fn new() -> Self { in new() constant
53 pub const fn fg_color(mut self, fg: Option<crate::Color>) -> Self { in fg_color() constant
67 pub const fn bg_color(mut self, bg: Option<crate::Color>) -> Self { in bg_color() constant
81 pub const fn underline_color(mut self, underline: Option<crate::Color>) -> Self { in underline_color() constant
95 pub const fn effects(mut self, effects: crate::Effects) -> Self { in effects() constant
186 pub const fn bold(mut self) -> Self { in bold() constant
200 pub const fn dimmed(mut self) -> Self { in dimmed() constant
214 pub const fn italic(mut self) -> Self { in italic() constant
228 pub const fn underline(mut self) -> Self { in underline() constant
242 pub const fn blink(mut self) -> Self { in blink() constant
[all …]
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/anstyle-1.0.10/src/
Dstyle.rs35 pub const fn new() -> Self { in new() constant
53 pub const fn fg_color(mut self, fg: Option<crate::Color>) -> Self { in fg_color() constant
67 pub const fn bg_color(mut self, bg: Option<crate::Color>) -> Self { in bg_color() constant
81 pub const fn underline_color(mut self, underline: Option<crate::Color>) -> Self { in underline_color() constant
95 pub const fn effects(mut self, effects: crate::Effects) -> Self { in effects() constant
186 pub const fn bold(mut self) -> Self { in bold() constant
200 pub const fn dimmed(mut self) -> Self { in dimmed() constant
214 pub const fn italic(mut self) -> Self { in italic() constant
228 pub const fn underline(mut self) -> Self { in underline() constant
242 pub const fn blink(mut self) -> Self { in blink() constant
[all …]
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/anstyle-1.0.10/src/
Dstyle.rs35 pub const fn new() -> Self { in new() constant
53 pub const fn fg_color(mut self, fg: Option<crate::Color>) -> Self { in fg_color() constant
67 pub const fn bg_color(mut self, bg: Option<crate::Color>) -> Self { in bg_color() constant
81 pub const fn underline_color(mut self, underline: Option<crate::Color>) -> Self { in underline_color() constant
95 pub const fn effects(mut self, effects: crate::Effects) -> Self { in effects() constant
186 pub const fn bold(mut self) -> Self { in bold() constant
200 pub const fn dimmed(mut self) -> Self { in dimmed() constant
214 pub const fn italic(mut self) -> Self { in italic() constant
228 pub const fn underline(mut self) -> Self { in underline() constant
242 pub const fn blink(mut self) -> Self { in blink() constant
[all …]
/external/rust/android-crates-io/crates/crc/src/crc8/
Dbytewise.rs6 pub const fn new(algorithm: &'static Algorithm<u8>) -> Self { in new() constant
14 pub const fn checksum(&self, bytes: &[u8]) -> u8 { in checksum() constant
20 const fn update(&self, crc: u8, bytes: &[u8]) -> u8 { in update() constant
24 pub const fn digest(&self) -> Digest<u8, Table<1>> { in digest() constant
33 pub const fn digest_with_initial(&self, initial: u8) -> Digest<u8, Table<1>> { in digest_with_initial() constant
38 pub const fn table(&self) -> &<Table<1> as Implementation>::Data<u8> { in table() constant
44 const fn new(crc: &'a Crc<u8, Table<1>>, value: u8) -> Self { in new() constant
52 pub const fn finalize(self) -> u8 { in finalize() constant
Dslice16.rs6 pub const fn new(algorithm: &'static Algorithm<u8>) -> Self { in new() constant
11 pub const fn checksum(&self, bytes: &[u8]) -> u8 { in checksum() constant
17 const fn update(&self, crc: u8, bytes: &[u8]) -> u8 { in update() constant
21 pub const fn digest(&self) -> Digest<u8, Table<16>> { in digest() constant
30 pub const fn digest_with_initial(&self, initial: u8) -> Digest<u8, Table<16>> { in digest_with_initial() constant
35 pub const fn table(&self) -> &<Table<16> as Implementation>::Data<u8> { in table() constant
41 const fn new(crc: &'a Crc<u8, Table<16>>, value: u8) -> Self { in new() constant
49 pub const fn finalize(self) -> u8 { in finalize() constant
/external/rust/android-crates-io/crates/crc/src/crc64/
Dbytewise.rs7 pub const fn new(algorithm: &'static Algorithm<u64>) -> Self { in new() constant
15 pub const fn checksum(&self, bytes: &[u8]) -> u64 { in checksum() constant
21 const fn update(&self, crc: u64, bytes: &[u8]) -> u64 { in update() constant
25 pub const fn digest(&self) -> Digest<u64, Table<1>> { in digest() constant
34 pub const fn digest_with_initial(&self, initial: u64) -> Digest<u64, Table<1>> { in digest_with_initial() constant
39 pub const fn table(&self) -> &<Table<1> as Implementation>::Data<u64> { in table() constant
45 const fn new(crc: &'a Crc<u64, Table<1>>, value: u64) -> Self { in new() constant
53 pub const fn finalize(self) -> u64 { in finalize() constant
Dslice16.rs7 pub const fn new(algorithm: &'static Algorithm<u64>) -> Self { in new() constant
12 pub const fn checksum(&self, bytes: &[u8]) -> u64 { in checksum() constant
18 const fn update(&self, crc: u64, bytes: &[u8]) -> u64 { in update() constant
22 pub const fn digest(&self) -> Digest<u64, Table<16>> { in digest() constant
31 pub const fn digest_with_initial(&self, initial: u64) -> Digest<u64, Table<16>> { in digest_with_initial() constant
36 pub const fn table(&self) -> &<Table<16> as Implementation>::Data<u64> { in table() constant
42 const fn new(crc: &'a Crc<u64, Table<16>>, value: u64) -> Self { in new() constant
50 pub const fn finalize(self) -> u64 { in finalize() constant
/external/rust/android-crates-io/crates/crc/src/crc32/
Dbytewise.rs7 pub const fn new(algorithm: &'static Algorithm<u32>) -> Self { in new() constant
15 pub const fn checksum(&self, bytes: &[u8]) -> u32 { in checksum() constant
21 const fn update(&self, crc: u32, bytes: &[u8]) -> u32 { in update() constant
25 pub const fn digest(&self) -> Digest<u32, Table<1>> { in digest() constant
34 pub const fn digest_with_initial(&self, initial: u32) -> Digest<u32, Table<1>> { in digest_with_initial() constant
39 pub const fn table(&self) -> &<Table<1> as Implementation>::Data<u32> { in table() constant
45 const fn new(crc: &'a Crc<u32, Table<1>>, value: u32) -> Self { in new() constant
53 pub const fn finalize(self) -> u32 { in finalize() constant
Dslice16.rs7 pub const fn new(algorithm: &'static Algorithm<u32>) -> Self { in new() constant
12 pub const fn checksum(&self, bytes: &[u8]) -> u32 { in checksum() constant
18 const fn update(&self, crc: u32, bytes: &[u8]) -> u32 { in update() constant
22 pub const fn digest(&self) -> Digest<u32, Table<16>> { in digest() constant
31 pub const fn digest_with_initial(&self, initial: u32) -> Digest<u32, Table<16>> { in digest_with_initial() constant
36 pub const fn table(&self) -> &<Table<16> as Implementation>::Data<u32> { in table() constant
42 const fn new(crc: &'a Crc<u32, Table<16>>, value: u32) -> Self { in new() constant
50 pub const fn finalize(self) -> u32 { in finalize() constant
/external/rust/android-crates-io/crates/crc/src/crc16/
Dbytewise.rs6 pub const fn new(algorithm: &'static Algorithm<u16>) -> Self { in new() constant
14 pub const fn checksum(&self, bytes: &[u8]) -> u16 { in checksum() constant
20 const fn update(&self, crc: u16, bytes: &[u8]) -> u16 { in update() constant
24 pub const fn digest(&self) -> Digest<u16, Table<1>> { in digest() constant
33 pub const fn digest_with_initial(&self, initial: u16) -> Digest<u16, Table<1>> { in digest_with_initial() constant
38 pub const fn table(&self) -> &<Table<1> as Implementation>::Data<u16> { in table() constant
44 const fn new(crc: &'a Crc<u16, Table<1>>, value: u16) -> Self { in new() constant
52 pub const fn finalize(self) -> u16 { in finalize() constant
Dslice16.rs6 pub const fn new(algorithm: &'static Algorithm<u16>) -> Self { in new() constant
11 pub const fn checksum(&self, bytes: &[u8]) -> u16 { in checksum() constant
17 const fn update(&self, crc: u16, bytes: &[u8]) -> u16 { in update() constant
21 pub const fn digest(&self) -> Digest<u16, Table<16>> { in digest() constant
30 pub const fn digest_with_initial(&self, initial: u16) -> Digest<u16, Table<16>> { in digest_with_initial() constant
35 pub const fn table(&self) -> &<Table<16> as Implementation>::Data<u16> { in table() constant
41 const fn new(crc: &'a Crc<u16, Table<16>>, value: u16) -> Self { in new() constant
49 pub const fn finalize(self) -> u16 { in finalize() constant
/external/rust/android-crates-io/crates/crc/src/crc128/
Dbytewise.rs7 pub const fn new(algorithm: &'static Algorithm<u128>) -> Self { in new() constant
15 pub const fn checksum(&self, bytes: &[u8]) -> u128 { in checksum() constant
21 const fn update(&self, crc: u128, bytes: &[u8]) -> u128 { in update() constant
25 pub const fn digest(&self) -> Digest<u128, Table<1>> { in digest() constant
34 pub const fn digest_with_initial(&self, initial: u128) -> Digest<u128, Table<1>> { in digest_with_initial() constant
39 pub const fn table(&self) -> &<Table<1> as Implementation>::Data<u128> { in table() constant
45 const fn new(crc: &'a Crc<u128, Table<1>>, value: u128) -> Self { in new() constant
53 pub const fn finalize(self) -> u128 { in finalize() constant
Dslice16.rs7 pub const fn new(algorithm: &'static Algorithm<u128>) -> Self { in new() constant
12 pub const fn checksum(&self, bytes: &[u8]) -> u128 { in checksum() constant
18 const fn update(&self, crc: u128, bytes: &[u8]) -> u128 { in update() constant
22 pub const fn digest(&self) -> Digest<u128, Table<16>> { in digest() constant
31 pub const fn digest_with_initial(&self, initial: u128) -> Digest<u128, Table<16>> { in digest_with_initial() constant
36 pub const fn table(&self) -> &<Table<16> as Implementation>::Data<u128> { in table() constant
42 const fn new(crc: &'a Crc<u128, Table<16>>, value: u128) -> Self { in new() constant
50 pub const fn finalize(self) -> u128 { in finalize() constant

12345678910>>...141