OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TEST_BLOCK_SIZE
(Results
1 - 8
of
8
) sorted by null
/external/ltp/testcases/kernel/syscalls/tee/
tee01.c
47
#define
TEST_BLOCK_SIZE
1024
53
static char buffer[
TEST_BLOCK_SIZE
];
76
char teebuffer[
TEST_BLOCK_SIZE
];
79
SAFE_READ(cleanup, 1, fd_out, teebuffer,
TEST_BLOCK_SIZE
);
81
for (i = 0; i <
TEST_BLOCK_SIZE
; i++) {
86
if (i <
TEST_BLOCK_SIZE
)
107
ret = splice(fd_in, NULL, pipe1[1], NULL,
TEST_BLOCK_SIZE
, 0);
111
ret = tee(pipe1[0], pipe2[1],
TEST_BLOCK_SIZE
, SPLICE_F_NONBLOCK);
115
ret = splice(pipe2[0], NULL, fd_out, NULL,
TEST_BLOCK_SIZE
, 0);
153
for (i = 0; i <
TEST_BLOCK_SIZE
; i++
[
all
...]
/external/ltp/testcases/kernel/syscalls/splice/
splice01.c
39
#define
TEST_BLOCK_SIZE
1024
47
static char buffer[
TEST_BLOCK_SIZE
];
71
char splicebuffer[
TEST_BLOCK_SIZE
];
74
SAFE_READ(cleanup, 1, fd_out, splicebuffer,
TEST_BLOCK_SIZE
);
76
for (i = 0; i <
TEST_BLOCK_SIZE
; i++) {
81
if (i <
TEST_BLOCK_SIZE
)
99
ret = splice(fd_in, NULL, pipes[1], NULL,
TEST_BLOCK_SIZE
, 0);
103
ret = splice(pipes[0], NULL, fd_out, NULL,
TEST_BLOCK_SIZE
, 0);
139
for (i = 0; i <
TEST_BLOCK_SIZE
; i++)
143
SAFE_WRITE(cleanup, 1, fd_in, buffer,
TEST_BLOCK_SIZE
);
[
all
...]
/external/ltp/testcases/kernel/syscalls/vmsplice/
vmsplice01.c
43
#define
TEST_BLOCK_SIZE
(1<<17) /* 128K */
52
static char buffer[
TEST_BLOCK_SIZE
];
75
char vmsplicebuffer[
TEST_BLOCK_SIZE
];
78
SAFE_READ(cleanup, 1, fd_out, vmsplicebuffer,
TEST_BLOCK_SIZE
);
80
for (i = 0; i <
TEST_BLOCK_SIZE
; i++) {
85
if (i <
TEST_BLOCK_SIZE
)
104
v.iov_len =
TEST_BLOCK_SIZE
;
165
for (i = 0; i <
TEST_BLOCK_SIZE
; i++)
vmsplice02.c
47
#define
TEST_BLOCK_SIZE
128
49
static char buffer[
TEST_BLOCK_SIZE
];
116
ivc.iov_len =
TEST_BLOCK_SIZE
;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/md5test/
md5driver.py
26
TEST_BLOCK_SIZE
= 1000
29
TEST_BYTES =
TEST_BLOCK_SIZE
* TEST_BLOCKS
35
data = filler * (
TEST_BLOCK_SIZE
// filsiz)
36
data = data + filler[:(
TEST_BLOCK_SIZE
% filsiz)]
/external/python/cpython2/Demo/md5test/
md5driver.py
26
TEST_BLOCK_SIZE
= 1000
29
TEST_BYTES =
TEST_BLOCK_SIZE
* TEST_BLOCKS
35
data = filler * (
TEST_BLOCK_SIZE
// filsiz)
36
data = data + filler[:(
TEST_BLOCK_SIZE
% filsiz)]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/
LightMemoryTest.h
49
#define
TEST_BLOCK_SIZE
0x2000000
50
#define QUICK_SPAN_SIZE (
TEST_BLOCK_SIZE
>> 2)
51
#define SPARSE_SPAN_SIZE (
TEST_BLOCK_SIZE
>> 4)
LightMemoryTest.c
452
Private->BdsBlockSize =
TEST_BLOCK_SIZE
;
Completed in 533 milliseconds