/external/ltp/testcases/kernel/mem/shmt/ |
H A D | shmt02.c | 52 #define K_1 1024 macro 67 if ((shmid = shmget(key, 16 * K_1, IPC_CREAT | 0666)) < 0) {
|
H A D | shmt08.c | 43 #define K_1 1024 macro 65 if ((shmid = shmget(key, 24 * K_1, IPC_CREAT | 0666)) < 0) {
|
H A D | shmt03.c | 51 #define K_1 1024 macro 68 if ((shmid = shmget(key, 16 * K_1, IPC_CREAT | 0666)) < 0) { 85 *(cp1 + 5 * K_1) = '2'; 99 if ((*cp2 != '1' || *(cp2 + 5 * K_1) != '2') && 112 if (*cp2 != '1' || *(cp2 + 5 * K_1) != '2' || 113 *cp1 != '1' || *(cp1 + 5 * K_1) != '2') {
|
H A D | shmt09.c | 47 #define K_1 1024 macro 94 if ((shmid = shmget(key, 10 * K_1, IPC_CREAT | 0666)) < 0) { 116 if ((unsigned long)sbrk(32 * K_1) >= (-4095UL)) { 122 vp = (void *)((char *)sbrk(0) - 2 * K_1); 143 vp = (void *)((char *)sbrk(0) + 256 * K_1);
|
/external/ltp/testcases/kernel/syscalls/readv/ |
H A D | readv03.c | 60 #define K_1 1024 macro 63 char buf1[K_1]; 66 {buf1, K_1}
|
H A D | readv02.c | 52 #define K_1 1024 macro 53 #define M_1 K_1 * K_1 54 #define G_1 M_1 * K_1 61 char buf1[K_1], buf2[K_1], buf3[K_1]; 85 char f_name[K_1]; 210 if ((nbytes = write(fd[0], buf_list[2], K_1)) != K_1) { [all...] |
/external/valgrind/memcheck/tests/ |
H A D | writev1.c | 9 #define K_1 8192 macro 11 #define CHUNK K_1 /* single chunk */ 15 static char buf1[K_1]; 16 static char buf2[K_1]; 32 memset(buf_list[0], 0, K_1); 33 memset(buf_list[1], 0, K_1); 39 } else if ((nbytes = write(fd, buf_list[1], K_1)) != K_1) { 61 lseek(fd, K_1, 0);
|
/external/ltp/testcases/kernel/syscalls/writev/ |
H A D | writev06.c | 52 #define K_1 1024 macro 67 char name[K_1], f_name[K_1];
|
H A D | writev02.c | 61 #define K_1 8192 macro 64 #define CHUNK K_1 /* single chunk */ 68 char buf1[K_1]; 69 char buf2[K_1]; 78 char name[K_1], f_name[K_1]; 109 memset(buf_list[0], 0, K_1); 110 memset(buf_list[1], 0, K_1); 126 l_seek(fd[0], K_1, 0); 127 if ((nbytes = write(fd[0], buf_list[1], K_1)) ! [all...] |
H A D | writev05.c | 56 #define K_1 8192 macro 59 #define CHUNK K_1 /* single chunk */ 63 char buf1[K_1]; 64 char buf2[K_1]; 65 char buf3[K_1]; 74 char name[K_1], f_name[K_1]; 123 memset(buf_list[0], 0, K_1); 124 memset(buf_list[1], 0, K_1); 131 if ((nbytes = write(fd[0], buf_list[1], K_1)) ! [all...] |
/external/ltp/testcases/kernel/fs/ftest/ |
H A D | ftest02.c | 60 #define K_1 1024 macro
|
H A D | ftest04.c | 67 #define K_1 1024 macro 133 max_size = K_1 * K_1;
|
H A D | ftest08.c | 68 #define K_1 1024 macro 138 max_size = K_1 * K_1;
|
H A D | ftest01.c | 79 #define K_1 1024 macro 141 max_size = K_1 * K_1;
|
H A D | ftest03.c | 83 #define K_1 1024 macro 161 max_size = K_1 * K_1;
|
H A D | ftest05.c | 83 #define K_1 1024 macro 149 max_size = K_1 * K_1;
|
H A D | ftest06.c | 78 #define K_1 1024 macro
|
H A D | ftest07.c | 83 #define K_1 1024 macro 165 max_size = K_1 * K_1;
|
/external/ltp/testcases/kernel/mem/vmtests/ |
H A D | data_space.c | 61 #define K_1 1024 macro 113 max_size = K_1 * K_1;
|
H A D | stack_space.c | 55 #define K_1 1024 macro 58 #define MAXSIZE 10*K_1 98 csize = K_1;
|