Home
last modified time | relevance | path

Searched refs:read_int (Results 1 – 8 of 8) sorted by relevance

/external/rust/crates/byteorder/benches/
Dbench.rs142 bench_num!(int_1, read_int, 1, [1]);
143 bench_num!(int_2, read_int, 2, [1, 2]);
144 bench_num!(int_3, read_int, 3, [1, 2, 3]);
145 bench_num!(int_4, read_int, 4, [1, 2, 3, 4]);
146 bench_num!(int_5, read_int, 5, [1, 2, 3, 4, 5]);
147 bench_num!(int_6, read_int, 6, [1, 2, 3, 4, 5, 6]);
148 bench_num!(int_7, read_int, 7, [1, 2, 3, 4, 5, 6, 7]);
149 bench_num!(int_8, read_int, 8, [1, 2, 3, 4, 5, 6, 7, 8]);
/external/rust/crates/byteorder/src/
Dlib.rs575 Self::read_int(buf, 3) as i32 in read_i24()
619 Self::read_int(buf, 6) as i64 in read_i48()
686 fn read_int(buf: &[u8], nbytes: usize) -> i64 { in read_int() method
2618 i64, calc_max!(super::I64_MAX, 1), 1, read_int, write_int);
2620 i64, calc_max!(super::I64_MAX, 2), 2, read_int, write_int);
2622 i64, calc_max!(super::I64_MAX, 3), 3, read_int, write_int);
2624 i64, calc_max!(super::I64_MAX, 4), 4, read_int, write_int);
2626 i64, calc_max!(super::I64_MAX, 5), 5, read_int, write_int);
2628 i64, calc_max!(super::I64_MAX, 6), 6, read_int, write_int);
2630 i64, calc_max!(super::I64_MAX, 7), 7, read_int, write_int);
[all …]
Dio.rs452 fn read_int<T: ByteOrder>(&mut self, nbytes: usize) -> Result<i64> { in read_int() method
455 Ok(T::read_int(&buf[..nbytes], nbytes)) in read_int()
/external/libdivsufsort/examples/
Dunbwt.c60 read_int(FILE *fp, saidx_t *n) { in read_int() function
147 if(read_int(fp, &blocksize) != 4) {
163 for(n = 0; (m = read_int(fp, &pidx)) != 0; n += m) {
/external/lz4/examples/
DdictionaryRandomAccess.c40 void read_int(FILE* fp, int* i) { in read_int() function
134 read_int(inpFp, &numOffsets); in test_decompress()
138 read_int(inpFp, offsetsPtr++); in test_decompress()
DblockStreaming_doubleBuffer.c30 size_t read_int(FILE* fp, int* i) { in read_int() function
89 const size_t readCount0 = read_int(inpFp, &cmpBytes); in test_decompress()
/external/fmtlib/test/
Dscan.h144 template <typename T = int> T read_int() { in read_int() function
182 *arg_.int_value = read_int(); in on_replacement_field()
188 *arg_.long_long_value = read_int<long long>(); in on_replacement_field()
/external/grpc-grpc/test/core/end2end/fuzzers/
Dapi_fuzzer.cc139 static int read_int(input_stream* inp) { in read_int() function
156 args[i].value.integer = read_int(inp); in read_args()