Searched refs:NUM_BYTES (Results 1 – 5 of 5) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/ioperm/ |
D | ioperm02.c | 29 #define NUM_BYTES 3 macro 42 {0, NUM_BYTES, 1, "Invalid I/O address", EINVAL}, 43 {0, NUM_BYTES, 1, "Non super-user", EPERM}, 55 tcases[0].from = (IO_BITMAP_BITS - NUM_BYTES) + 1; in setup() 56 tcases[1].from = IO_BITMAP_BITS - NUM_BYTES; in setup() 58 tcases[0].from = (IO_BITMAP_BITS_16 - NUM_BYTES) + 1; in setup() 59 tcases[1].from = IO_BITMAP_BITS_16 - NUM_BYTES; in setup()
|
D | ioperm01.c | 23 #define NUM_BYTES 3 macro 30 TEST(ioperm(io_addr, NUM_BYTES, 1)); in verify_ioperm() 52 io_addr = IO_BITMAP_BITS - NUM_BYTES; in setup() 54 io_addr = IO_BITMAP_BITS - NUM_BYTES; in setup() 62 if ((ioperm(io_addr, NUM_BYTES, 0)) == -1) in cleanup()
|
/third_party/flutter/skia/third_party/externals/wuffs/script/bench-rust-gif/src/ |
D | main.rs | 49 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/ |
D | main.rs | 58 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/ltp/ |
D | runltp | 111 [ -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)] 262 D) NUM_PROCS=1; NUM_FILES=1; NUM_BYTES=$((1024 * 1024 * 1024)); CLEAN_FLAG=0 270 3) NUM_BYTES="$ARGUMENT" ;; 282 if [ "$NUM_BYTES" -eq 0 ]; then 283 NUM_BYTES=$((1024 * 1024 * 1024)) 291 $NUM_FILES --hdd-bytes $NUM_BYTES >/dev/null 2>&1 & 295 $NUM_FILES --hdd-bytes $NUM_BYTES --hdd-noclean >/dev/null 2>&1 &
|