Home
last modified time | relevance | path

Searched defs:usize (Results 1 – 25 of 26) sorted by relevance

12

/third_party/flatbuffers/rust/flexbuffers/src/reader/
Dmod.rs196 fn safe_sub(a: usize, b: usize) -> Result<usize, Error> { in safe_sub()
200 fn deref_offset(buffer: &[u8], address: usize, width: BitWidth) -> Result<usize, Error> { in deref_offset()
208 mut address: usize, in new()
262 pub fn length(&self) -> usize { in length()
350 fn get_key_len(&self) -> Result<usize, Error> { in get_key_len()
389 fn get_map_info(&self) -> Result<(usize, BitWidth), Error> { in get_map_info()
643 fn read_usize(buffer: &[u8], address: usize, width: BitWidth) -> usize { in read_usize()
Dmap.rs73 pub fn len(&self) -> usize { in len()
84 fn lazy_strcmp(&self, key_addr: usize, key: &str) -> Ordering { in lazy_strcmp()
91 pub fn index_key(&self, key: &str) -> Option<usize> { in index_key()
180 impl MapReaderIndexer for usize { implementation
Diter.rs49 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint()
Dvector.rs50 pub fn len(&self) -> usize { in len()
Dde.rs71 fn size_hint(&self) -> Option<usize> { in size_hint()
138 fn tuple_variant<V>(self, _len: usize, visitor: V) -> Result<V::Value, Self::Error> in tuple_variant()
/third_party/flatbuffers/rust/flatbuffers/src/
Dbuilder.rs139 pub fn collapse(self) -> (Vec<u8>, usize) { in collapse() argument
182 pub fn num_written_vtables(&self) -> usize { in num_written_vtables()
227 pub fn start_vector<T: Push>(&mut self, num_items: usize) { in start_vector()
430 pub fn mut_finished_buffer(&mut self) -> (&mut [u8], usize) { in mut_finished_buffer() argument
476 fn used_space(&self) -> usize { in used_space()
697 fn align(&mut self, len: usize, alignment: PushAlignment) { in align()
704 fn track_min_align(&mut self, alignment: usize) { in track_min_align()
717 fn make_space(&mut self, want: usize) -> usize { in make_space()
724 fn ensure_capacity(&mut self, want: usize) -> usize { in ensure_capacity()
739 fn unused_ready_space(&self) -> usize { in unused_ready_space()
[all …]
Dvtable.rs39 pub fn num_fields(&self) -> usize { in num_fields()
42 pub fn num_bytes(&self) -> usize { in num_bytes()
45 pub fn object_inline_num_bytes(&self) -> usize { in object_inline_num_bytes()
Dverifier.rs131 fn new_range_oob<T>(start: usize, end: usize) -> Result<T> { in new_range_oob()
181 fn trace_elem<T>(res: Result<T>, index: usize, position: usize) -> Result<T> { in trace_elem()
259 fn range_in_buffer(&mut self, pos: usize, size: usize) -> Result<()> { in range_in_buffer()
292 fn deref_soffset(&mut self, pos: usize) -> Result<usize> { in deref_soffset()
321 table_pos: usize, in visit_table()
349 position: usize, in verify_union_variant()
369 fn deref(&mut self, field: VOffsetT) -> Result<Option<usize>> { in deref()
471 fn verify_vector_range<T>(v: &mut Verifier, pos: usize) -> Result<std::ops::Range<usize>> { in verify_vector_range()
Darray.rs51 pub const fn len(&self) -> usize { in len()
93 loc: usize, in emplace_scalar_array()
Dvector.rs75 pub fn len(&self) -> usize { in len()
260 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint()
288 fn len(&self) -> usize { in len()
Dpush.rs47 pub fn value(&self) -> usize { in value()
/third_party/flatbuffers/rust/flexbuffers/src/builder/
Dvalue.rs145 pub fn prefix_length(&self) -> usize { in prefix_length()
170 pub fn get_address(&self) -> Option<usize> { in get_address()
177 pub fn set_address_or_panic(&mut self, new_address: usize) { in set_address_or_panic()
208 pub fn width_in_vector(self, vector_start: usize, idx: usize) -> BitWidth { in width_in_vector()
Dser.rs342 _len: usize, in serialize_tuple_struct()
352 _len: usize, in serialize_tuple_variant()
366 _len: usize, in serialize_struct()
376 _len: usize, in serialize_struct_variant()
501 _len: usize, in serialize_tuple_struct()
510 _len: usize, in serialize_tuple_variant()
520 _len: usize, in serialize_struct()
529 _len: usize, in serialize_struct_variant()
Dmod.rs291 fn end_map_or_vector(&mut self, is_map: bool, previous_end: Option<usize>) { in end_map_or_vector()
/third_party/qrcodegen/rust/src/
Dlib.rs713 fn get_num_raw_data_modules(ver: Version) -> usize { in get_num_raw_data_modules()
731 fn get_num_data_codewords(ver: Version, ecl: QrCodeEcc) -> usize { in get_num_data_codewords()
739 fn table_get(table: &'static [[i8; 41]; 4], ver: Version, ecl: QrCodeEcc) -> usize { in table_get()
904 fn ordinal(self) -> usize { in ordinal()
1074 pub fn new(mode: QrSegmentMode, numchars: usize, data: Vec<bool>) -> Self { in new()
1088 pub fn num_chars(&self) -> usize { in num_chars()
1104 fn get_total_bits(segs: &[Self], version: Version) -> Option<usize> { in get_total_bits()
/third_party/iowow/src/utils/
Diwarr.h71 size_t usize; /**< Unit size */ member
/third_party/flatbuffers/rust/flexbuffers/src/
Dbitwidth.rs45 pub fn n_bytes(self) -> usize { in n_bytes()
Dflexbuffer_type.rs163 pub fn fixed_length_vector_length(self) -> Option<usize> { in fixed_length_vector_length()
/third_party/flatbuffers/tests/rust_usage_test/bin/
Dflatbuffers_alloc_check.rs11 fn n_allocs(&self) -> usize { in n_allocs()
/third_party/flatbuffers/tests/rust_usage_test/benches/
Dflatbuffers_benchmarks.rs65 ) -> usize { in create_serialized_example_with_generated_code()
/third_party/ffmpeg/libavformat/
Dimg2enc.c189 …int usize = AV_CEIL_RSHIFT(par->width, desc->log2_chroma_w) * AV_CEIL_RSHIFT(par->height, desc->lo… in write_packet() local
/third_party/musl/porting/linux/user/src/internal/
Dmalloc_impl.h23 size_t usize; member
/third_party/jsoncpp/src/jsontestrunner/
Dmain.cpp63 size_t const usize = static_cast<size_t>(size); in readInputTestFile() local
/third_party/python/Python/
Dfileutils.c1629 int usize; in _Py_fopen_obj() local
/third_party/boost/boost/polygon/detail/
Dpolygon_formation.hpp1620 size_t usize = ppfig->getPolyLineSize(); in updatePartialSimplePolygonsWithLeftEdges() local

12