Home
last modified time | relevance | path

Searched refs:NUM_BYTES (Results 1 – 6 of 6) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/ioperm/
Dioperm02.c82 #define NUM_BYTES 3 macro
205 test_cases[0].num = NUM_BYTES; in setup()
209 test_cases[1].num = NUM_BYTES; in setup()
215 test_cases[0].from = (IO_BITMAP_BITS - NUM_BYTES) + 1; in setup()
218 test_cases[1].from = IO_BITMAP_BITS - NUM_BYTES; in setup()
221 test_cases[0].from = (IO_BITMAP_BITS_16 - NUM_BYTES) + 1; in setup()
224 test_cases[1].from = IO_BITMAP_BITS_16 - NUM_BYTES; in setup()
Dioperm01.c77 #define NUM_BYTES 3 /* number of bytes from start address */ macro
105 TEST(ioperm(io_addr, NUM_BYTES, TURN_ON)); in main()
139 io_addr = IO_BITMAP_BITS - NUM_BYTES; in setup()
142 io_addr = IO_BITMAP_BITS - NUM_BYTES; in setup()
159 if ((ioperm(io_addr, NUM_BYTES, TURN_OFF)) == -1) { in cleanup()
/third_party/flutter/skia/third_party/externals/wuffs/script/bench-rust-gif/src/
Dmain.rs49 const NUM_BYTES: usize = WIDTH * HEIGHT * BYTES_PER_PIXEL; constant
54 let mut dst = [0; NUM_BYTES]; in main()
80 dst[NUM_BYTES - 1] = 0xFE; in decode()
85 if reader.buffer_size() != NUM_BYTES { in decode()
92 if (dst[0] != FIRST_PIXEL) || (dst[NUM_BYTES - 1] != LAST_PIXEL) { in decode()
/third_party/flutter/skia/third_party/externals/wuffs/script/bench-rust-gif-dot-rs/src/
Dmain.rs58 const NUM_BYTES: usize = WIDTH * HEIGHT * BYTES_PER_PIXEL; constant
66 let mut dst = [0; NUM_BYTES]; in main()
96 dst[NUM_BYTES - 1] = 0xFE; in decode()
115 if num_bytes != NUM_BYTES { in decode()
120 if (dst[0] != FIRST_PIXEL) || (dst[NUM_BYTES - 1] != LAST_PIXEL) { in decode()
/third_party/uboot/u-boot-2020.01/drivers/ram/stm32mp1/
Dstm32mp1_tuning.c22 #define NUM_BYTES 4 macro
62 u8 nb_bytes = NUM_BYTES; in get_nb_bytes()
323 u8 deskew_delay[NUM_BYTES][8], in apply_deskew_results()
324 u8 deskew_non_converge[NUM_BYTES][8]) in apply_deskew_results()
361 u8 deskew_delay[NUM_BYTES][8]; in bit_deskew()
363 u8 deskew_non_converge[NUM_BYTES][8]; in bit_deskew()
779 u8 eye_training_val[NUM_BYTES][2]; in eye_training()
1090 u8 dqs_gating[NUM_BYTES] in set_midpoint_read_dqs_gating()
1095 u8 dqs_gate_values[NUM_BYTES][2]; in set_midpoint_read_dqs_gating()
1206 u8 dqs_gating[NUM_BYTES][MAX_GSL_IDX + 1][MAX_GPS_IDX + 1]; in read_dqs_gating()
/third_party/ltp/
Drunltp111 [ -d TMPDIR ] [ -D NUM_PROCS,NUM_FILES,NUM_BYTES,CLEAN_FLAG ] -e [ -f CMDFILES(,...) ]
124 -D NUM_PROCS,NUM_FILES,NUM_BYTES,CLEAN_FLAG
128 … [NUM_BYTES = write these many bytes (defaults to 1GB, when value 0 or undefined)]
260 D) NUM_PROCS=1; NUM_FILES=1; NUM_BYTES=$((1024 * 1024 * 1024)); CLEAN_FLAG=0
268 3) NUM_BYTES="$ARGUMENT" ;;
280 if [ "$NUM_BYTES" -eq 0 ]; then
281 NUM_BYTES=$((1024 * 1024 * 1024))
289 $NUM_FILES --hdd-bytes $NUM_BYTES >/dev/null 2>&1 &
293 $NUM_FILES --hdd-bytes $NUM_BYTES --hdd-noclean >/dev/null 2>&1 &