Home
last modified time | relevance | path

Searched defs:u8 (Results 1 – 25 of 140) sorted by relevance

123456

/third_party/flatbuffers/rust/flatbuffers/src/
Dprimitives.rs138 fn push(&self, dst: &mut [u8], rest: &[u8]) { in push()
150 fn push(&self, dst: &mut [u8], rest: &[u8]) { in push()
182 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
203 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
214 fn push(&self, dst: &mut [u8], rest: &[u8]) { in push()
233 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
244 fn push(&self, dst: &mut [u8], rest: &[u8]) { in push()
255 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
266 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
277 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
[all …]
Dfollow.rs32 fn follow(buf: &'buf [u8], loc: usize) -> Self::Inner; in follow()
45 pub fn self_follow(&'a self, buf: &'a [u8], loc: usize) -> T::Inner { in self_follow()
52 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
Dtable.rs29 pub fn new(buf: &'a [u8], loc: usize) -> Self { in new()
53 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
59 pub fn buffer_has_identifier(data: &[u8], ident: &str, size_prefixed: bool) -> bool { in buffer_has_identifier()
Darray.rs54 pub fn as_ptr(&self) -> *const u8 { in as_ptr()
86 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
92 buf: &mut [u8], in emplace_scalar_array()
101 &item_le as *const T as *const u8, constant
Dendian_scalar.rs156 pub unsafe fn emplace_scalar<T: EndianScalar>(s: &mut [u8], x: T) { in emplace_scalar()
159 &x_le as *const T as *const u8, in emplace_scalar() constant
170 pub unsafe fn read_scalar_at<T: EndianScalar>(s: &[u8], loc: usize) -> T { in read_scalar_at()
Dvector.rs66 pub fn new(buf: &'a [u8], loc: usize) -> Self { in new()
114 impl SafeSliceAccess for u8 {} implementation
137 pub fn follow_cast_ref<'a, T: Sized + 'a>(buf: &'a [u8], loc: usize) -> &'a T { in follow_cast_ref() argument
146 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
154 fn follow_slice_helper<T>(buf: &[u8], loc: usize) -> &[T] { in follow_slice_helper()
168 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
176 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
205 pub fn from_slice(buf: &'a [u8], items_num: usize) -> Self { in from_slice()
Dvtable.rs36 pub fn init(buf: &'a [u8], loc: usize) -> Self { in init()
68 pub fn as_bytes(&self) -> &[u8] { in as_bytes()
90 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
Dpush.rs27 fn push(&self, dst: &mut [u8], _rest: &[u8]); in push()
Dget_root.rs41 data: &'buf [u8], in root_with_opts()
71 data: &'buf [u8], in size_prefixed_root_with_opts()
/third_party/flatbuffers/tests/include_test/sub/
Dinclude_test2_generated.rs73 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
84 fn push(&self, dst: &mut [u8], _rest: &[u8]) { in push()
136 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
143 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
150 fn push(&self, dst: &mut [u8], _rest: &[u8]) { in push()
152 ::std::slice::from_raw_parts(self as *const Unused as *const u8, Self::size()) in push() constant
161 fn push(&self, dst: &mut [u8], _rest: &[u8]) { in push()
163 ::std::slice::from_raw_parts(*self as *const Unused as *const u8, Self::size()) in push() constant
204 &x_le as *const i32 as *const u8, in set_a() constant
223 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
/third_party/flatbuffers/tests/
Darrays_test_generated.rs78 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
89 fn push(&self, dst: &mut [u8], _rest: &[u8]) { in push()
144 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
151 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
158 fn push(&self, dst: &mut [u8], _rest: &[u8]) { in push()
160 ::std::slice::from_raw_parts(self as *const NestedStruct as *const u8, Self::size()) in push() constant
169 fn push(&self, dst: &mut [u8], _rest: &[u8]) { in push()
171 ::std::slice::from_raw_parts(*self as *const NestedStruct as *const u8, Self::size()) in push() constant
226 &x_le as *const TestEnum as *const u8, in set_b() constant
240 x.as_ptr() as *const u8, constant
[all …]
Dmonster_test_generated.rs34 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
148 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
274 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
285 fn push(&self, dst: &mut [u8], _rest: &[u8]) { in push()
369 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
380 fn push(&self, dst: &mut [u8], _rest: &[u8]) { in push()
464 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
475 fn push(&self, dst: &mut [u8], _rest: &[u8]) { in push()
655 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
666 fn push(&self, dst: &mut [u8], _rest: &[u8]) { in push()
[all …]
/third_party/flatbuffers/tests/namespace_test/
Dnamespace_test1_generated.rs74 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
85 fn push(&self, dst: &mut [u8], _rest: &[u8]) { in push()
213 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
224 fn push(&self, dst: &mut [u8], _rest: &[u8]) { in push()
277 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
284 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
291 fn push(&self, dst: &mut [u8], _rest: &[u8]) { in push()
293 ::std::slice::from_raw_parts(self as *const StructInNestedNS as *const u8, Self::size()) in push() constant
302 fn push(&self, dst: &mut [u8], _rest: &[u8]) { in push()
304 … ::std::slice::from_raw_parts(*self as *const StructInNestedNS as *const u8, Self::size()) in push() constant
[all …]
Dnamespace_test2_generated.rs74 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
85 fn push(&self, dst: &mut [u8], _rest: &[u8]) { in push()
213 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
224 fn push(&self, dst: &mut [u8], _rest: &[u8]) { in push()
277 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
284 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
291 fn push(&self, dst: &mut [u8], _rest: &[u8]) { in push()
293 ::std::slice::from_raw_parts(self as *const StructInNestedNS as *const u8, Self::size()) in push() constant
302 fn push(&self, dst: &mut [u8], _rest: &[u8]) { in push()
304 … ::std::slice::from_raw_parts(*self as *const StructInNestedNS as *const u8, Self::size()) in push() constant
[all …]
/third_party/flatbuffers/tests/rust_usage_test/bin/
Dflexbuffers_alloc_check.rs27 unsafe fn alloc(&self, layout: Layout) -> *mut u8 { in alloc()
31 unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { in dealloc()
70 fn validate_monster(flexbuffer: &[u8]) { in validate_monster()
/third_party/qrcodegen/rust/src/
Dlib.rs169 pub fn encode_binary(data: &[u8], ecl: QrCodeEcc) -> Result<Self,DataTooLong> { in encode_binary()
282 …pub fn encode_codewords(ver: Version, ecl: QrCodeEcc, datacodewords: &[u8], mut mask: Option<Mask>… in encode_codewords()
513 fn add_ecc_and_interleave(&self, data: &[u8]) -> Vec<u8> { in add_ecc_and_interleave()
557 fn draw_codewords(&mut self, data: &[u8]) { in draw_codewords()
746 fn reed_solomon_compute_divisor(degree: usize) -> Vec<u8> { in reed_solomon_compute_divisor()
772 fn reed_solomon_compute_remainder(data: &[u8], divisor: &[u8]) -> Vec<u8> { in reed_solomon_compute_remainder()
787 fn reed_solomon_multiply(x: u8, y: u8) -> u8 { in reed_solomon_multiply()
916 fn format_bits(self) -> u8 { in format_bits()
1179 fn num_char_count_bits(self, ver: Version) -> u8 { in num_char_count_bits()
1206 pub fn append_bits(&mut self, val: u32, len: u8) { in append_bits()
[all …]
/third_party/flatbuffers/samples/
Dmonster_generated.rs78 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
89 fn push(&self, dst: &mut [u8], _rest: &[u8]) { in push()
165 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
176 fn push(&self, dst: &mut [u8], _rest: &[u8]) { in push()
278 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
285 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner { in follow()
292 fn push(&self, dst: &mut [u8], _rest: &[u8]) { in push()
294 ::std::slice::from_raw_parts(self as *const Vec3 as *const u8, Self::size()) in push() constant
303 fn push(&self, dst: &mut [u8], _rest: &[u8]) { in push()
305 ::std::slice::from_raw_parts(*self as *const Vec3 as *const u8, Self::size()) in push() constant
[all …]
/third_party/flatbuffers/rust/flexbuffers/src/builder/
Dmod.rs152 pub fn view(&self) -> &[u8] { in view()
157 pub fn take_buffer(&mut self) -> Vec<u8> { in take_buffer()
233 fn push_blob(&mut self, x: &[u8]) { in push_blob()
311 pub fn singleton<P: Pushable>(p: P) -> Vec<u8> { in singleton()
320 fn store_root(buffer: &mut Vec<u8>, root: Value) { in store_root()
336 pub fn store_vector(buffer: &mut Vec<u8>, values: &[Value], opt: StoreOption) -> Value { in store_vector()
Dmap.rs84 pub(super) fn get_key(buffer: &[u8], address: usize) -> impl Iterator<Item = &u8> { in get_key()
91 pub(super) fn sort_map_by_keys(values: &mut [Value], buffer: &[u8]) { in sort_map_by_keys()
/third_party/flutter/skia/third_party/externals/wuffs/script/bench-rust-gif/src/
Dmain.rs77 fn decode(dst: &mut [u8], src: &[u8]) { in decode()
/third_party/ltp/tools/sparse/sparse-src/validation/preprocessor/
Dpredef-token.c1 static __UINT8_TYPE__ u8; variable
/third_party/FreeBSD/sys/crypto/rijndael/
Drijndael_local.h5 typedef u_int8_t u8; typedef
/third_party/openssl/crypto/camellia/
Dcmll_local.h29 typedef unsigned char u8; typedef
/third_party/flutter/skia/third_party/externals/wuffs/script/bench-rust-gif-dot-rs/src/
Dmain.rs93 fn decode(dst: &mut [u8], src: &[u8]) { in decode()
/third_party/f2fs-tools/tools/sg_write_buffer/include/
Dsg_linux_inc.h6 typedef unsigned char u8; typedef

123456