/libmicro/ |
H A D | memset.c | 44 static long long opts = DEFS; variable 83 opts = sizetoll(optarg); 109 ts->ts_size = opta + opts; 134 (void) memset(buf, 0, opts); 135 buf = (char *)(((unsigned long)buf + opts + 4095) & 137 if (buf + opts > end) 144 (void) memset(buf, 0, opts); 145 (void) memset(buf, 0, opts); 146 (void) memset(buf, 0, opts); 147 (void) memset(buf, 0, opts); [all...] |
H A D | strcasecmp.c | 40 static int opts = 100; variable 61 opts); 76 opts = sizetoll(optarg); 96 ts->ts_a = malloc(opts + 1); 97 ts->ts_b = malloc(opts + 1 + unaligned); 100 for (i = 0; i < opts; i++) { 103 ts->ts_a[opts] = 0; 104 ts->ts_b[opts] = 0; 145 (void) sprintf(result, "%8d", opts); 147 (void) sprintf(result, "%8d <unaligned>", opts); [all...] |
H A D | strcmp.c | 39 static int opts = 100; variable 60 opts); 75 opts = sizetoll(optarg); 94 ts->ts_a = malloc(opts + 1); 95 ts->ts_b = malloc(opts + 1 + unaligned); 98 for (i = 0; i < opts; i++) { 101 ts->ts_a[opts] = 0; 102 ts->ts_b[opts] = 0; 142 (void) sprintf(result, "%8d", opts); 144 (void) sprintf(result, "%8d <unaligned>", opts); [all...] |
H A D | memrand.c | 43 static long opts = 1024*1024; variable 61 opts); 73 opts = sizetoint(optarg); 88 ts->ts_data = malloc(opts); 98 for (i = 0; i < opts / sizeof (long); i++) { 101 j = j + opts / sizeof (long); 142 (void) sprintf(result, "%8ld ", opts);
|
H A D | pread.c | 50 static long long opts = DEFS; variable 84 opts = sizetoll(optarg); 107 ts->ts_buf = malloc(opts); 121 if (pread(fd, ts->ts_buf, opts, 0) != opts) { 125 for (j = 0; j < opts; j += optw) 139 (void) sprintf(result, "%8lld", opts);
|
H A D | pwrite.c | 51 static long long opts = DEFS; variable 84 opts = sizetoll(optarg); 116 ts->ts_buf = malloc(opts); 123 for (i = 0; i < opts; i++) 137 if (pwrite(fd, ts->ts_buf, opts, 0) != opts) { 151 (void) sprintf(result, "%8lld", opts);
|
H A D | read.c | 52 static long long opts = DEFS; variable 87 opts = sizetoll(optarg); 107 ts->ts_buf = malloc(opts); 123 if (read(ts->ts_fd, ts->ts_buf, opts) != opts) { 127 for (j = 0; j < opts; j += optw) 140 (void) sprintf(result, "%8lld", opts);
|
H A D | write.c | 52 static long long opts = DEFS; variable 94 opts = sizetoll(optarg); 109 ts->ts_buf = malloc(opts); 121 for (i = 0; i < opts; i++) 137 if (write(ts->ts_fd, ts->ts_buf, opts) != opts) { 151 (void) sprintf(result, "%8lld", opts);
|
H A D | memcpy.c | 45 static long long opts = DEFS; variable 88 opts = sizetoll(optarg); 107 ts->ts_srcsize = opts + opta; 112 ts->ts_destsize = (int)opts; 129 int bump = (int)opts; 134 (void) memcpy(dest, src, opts); 137 if (src + opts > ts->ts_src + ts->ts_srcsize) 142 if (dest + opts > ts->ts_dest + ts->ts_destsize) 157 (void) sprintf(result, "%8lld", opts);
|
H A D | memmove.c | 45 static long long opts = DEFS; variable 88 opts = sizetoll(optarg); 107 ts->ts_srcsize = opts + opta; 112 ts->ts_destsize = (int)opts; 129 int bump = (int)opts; 134 (void) memmove(dest, src, opts); 137 if (src + opts > ts->ts_src + ts->ts_srcsize) 142 if (dest + opts > ts->ts_dest + ts->ts_destsize) 157 (void) sprintf(result, "%8lld", opts);
|
H A D | strcpy.c | 39 static int opts = 100; variable 59 opts); 74 opts = sizetoll(optarg); 93 ts->ts_a = malloc(opts + 1); 94 ts->ts_b = malloc(opts + 1 + unaligned); 97 for (i = 0; i < opts; i++) { 100 ts->ts_b[opts] = 0; 140 (void) sprintf(result, "%8d", opts); 142 (void) sprintf(result, "%8d <unaligned>", opts);
|
H A D | strchr.c | 39 static int opts = 100; variable 59 opts); 74 opts = sizetoll(optarg); 94 ts->ts_string = malloc(opts + 1 + unaligned); 98 for (i = 0; i < opts; i++) { 102 ts->ts_string[opts] = 0; 139 (void) sprintf(result, "%8d", opts); 141 (void) sprintf(result, "%8d <unaligned>", opts);
|
H A D | strlen.c | 39 static int opts = 100; variable 59 opts); 74 opts = sizetoll(optarg); 93 ts->ts_string = malloc(opts + 1 + unaligned); 97 for (i = 0; i < opts; i++) { 101 ts->ts_string[opts] = 0; 138 (void) sprintf(result, "%8d", opts); 140 (void) sprintf(result, "%8d <unaligned>", opts);
|
H A D | getenv.c | 45 static int opts = DEFS; variable 69 opts = atoi(optarg); 92 if (opts < i) 93 opts = i; 95 for (j = i; j < opts; j++) {
|
H A D | lseek.c | 50 static long long opts = DEFS; variable 83 opts = sizetoll(optarg); 113 if (lseek(ts->ts_fd, opts, SEEK_SET) != opts) { 127 (void) sprintf(result, "%8lld", opts);
|
H A D | malloc.c | 45 static int opts[32] = {32}; variable 64 optg, opts[0]); 79 opts[optscnt] = sizetoint(optarg); 112 if ((ts->ts_glob[j] = malloc(opts[k++])) == NULL) 136 (void) sprintf(result + strlen(result), "%d ", opts[i]);
|
H A D | writev.c | 55 static int opts = DEFS; variable 89 opts = sizetoint(optarg); 115 ts->ts_iov[i].iov_base = malloc(opts); 116 ts->ts_iov[i].iov_len = opts; 132 if (writev(ts->ts_fd, ts->ts_iov, optv) != opts * optv) { 146 (void) sprintf(result, "%8d %4d", opts, optv);
|
H A D | cachetocache.c | 51 static long opts = 1024*512; variable 77 opts); 89 opts = sizetoint(optarg); 116 ts->ts_data = malloc(opts); 138 for (i = 0; i < opts / sizeof (long); i++) { 141 j = j + opts / sizeof (long); 165 int count = opts / 128 / sizeof (long); 218 (void) sprintf(result, "%8ld ", opts);
|
H A D | msync.c | 51 static int opts = 0; variable 104 opts = 1; 133 PROT_READ | PROT_WRITE, opts ? MAP_SHARED : MAP_PRIVATE, 183 flags[3] = opts ? 's' : '-';
|
H A D | pipe.c | 81 static size_t opts = DEFS; variable 129 opts = sizetoll(optarg); 155 rbuf = malloc(opts); 156 wbuf = malloc(opts); 215 if (write(ts->ts_out, wbuf, opts) != opts) { 218 if (readall(ts->ts_in, rbuf, opts) != opts) { 233 if (write(ts->ts_out, wbuf, opts) != opts) { [all...] |
H A D | pthread_create.c | 46 static int opts = 0; variable 69 opts = sizetoll(optarg); 87 if (opts) { 90 if ((errors = pthread_attr_setstacksize(ts->ts_attr, opts))
|
H A D | munmap.c | 55 static int opts = 0; variable 95 opts = 1; 133 MAP_ANON | (opts ? MAP_SHARED : MAP_PRIVATE), 138 opts ? MAP_SHARED : MAP_PRIVATE, 186 flags[3] = opts ? 's' : '-';
|
H A D | mprotect.c | 54 static int opts = 0; variable 99 opts = 1; 122 flags = opts ? MAP_SHARED : MAP_PRIVATE; 193 flags[3] = opts ? 's' : '-';
|
H A D | mmap.c | 53 static int opts = 0; variable 134 opts = 1; 222 MAP_ANON | (opts ? MAP_SHARED : MAP_PRIVATE), 227 opts ? MAP_SHARED : MAP_PRIVATE, 281 flags[3] = opts ? 's' : '-';
|
H A D | cascade_mutex.c | 68 static int opts = 0; variable 94 opts = 1; 122 if (lm_optP > 1 || opts) {
|