Searched refs:st_size (Results 1 - 25 of 1060) sorted by relevance

1234567891011>>

/netbsd-current/external/gpl3/gdb.old/dist/sim/testsuite/sim/cris/c/
H A Dmmap7.c8 #define MMAP_SIZE1 ((sb.st_size + 8192) & ~8191)
/netbsd-current/external/gpl3/gdb/dist/sim/testsuite/cris/c/
H A Dmmap7.c8 #define MMAP_SIZE1 ((sb.st_size + 8192) & ~8191)
/netbsd-current/external/bsd/libarchive/dist/cpio/test/
H A Dtest_option_B_upper.c44 assertEqualInt(512, st.st_size);
51 assertEqualInt(5120, st.st_size);
/netbsd-current/external/bsd/nvi/dist/ex/
H A Dex_source.c69 if (sb.st_size > MEGABYTE) {
74 MALLOC(sp, bp, char *, (size_t)sb.st_size + 1);
79 bp[sb.st_size] = '\0';
82 len = read(fd, bp, (int)sb.st_size);
84 if (len == -1 || len != sb.st_size) {
85 if (len != sb.st_size)
92 if (CHAR2INT(sp, bp, (size_t)sb.st_size + 1, wp, wlen))
/netbsd-current/sys/dev/microcode/tools/
H A Dbin2blob.c87 src = malloc(sb.st_size);
88 dlen = sb.st_size * 1002 / 1000 + 12 + 3 + 4*2;
93 if (read(STDIN_FILENO, src, sb.st_size) != sb.st_size)
96 slen = sb.st_size;
/netbsd-current/sys/arch/alpha/stand/common/
H A Dbootxx.c107 if (sb.st_size > SECONDARY_MAX_LOAD) {
112 if (read(fd, (void*)SECONDARY_LOAD_ADDRESS, sb.st_size) != sb.st_size) {
/netbsd-current/sys/arch/sbmips/stand/common/
H A Dbootxx.c104 if (sb.st_size > SECONDARY_MAX_LOAD) {
109 if (read(fd, (void*)SECONDARY_LOAD_ADDRESS, sb.st_size) != sb.st_size) {
/netbsd-current/sys/arch/evbmips/stand/sbmips/common/
H A Dbootxx.c104 if (sb.st_size > SECONDARY_MAX_LOAD) {
109 if (read(fd, (void*)SECONDARY_LOAD_ADDRESS, sb.st_size) != sb.st_size) {
/netbsd-current/external/cddl/osnet/dist/lib/libdtrace/powerpc/
H A Ddt_isadep.c47 ftp->ftps_size = (size_t)symp->st_size;
70 if ((text = malloc(symp->st_size + 4)) == NULL) {
75 if (Pread(P, text, symp->st_size, symp->st_value) != symp->st_size) {
85 text[symp->st_size / 4] = 0;
89 ftp->ftps_size = symp->st_size;
92 for (i = 0; i < symp->st_size / 4; i++) {
115 temp <= (symp->st_value + symp->st_size))
145 ftp->ftps_size = (size_t)symp->st_size;
167 ftp->ftps_size = (size_t)symp->st_size;
[all...]
/netbsd-current/external/gpl3/binutils.old/dist/libctf/
H A Delf.h45 Elf32_Word st_size; /* Symbol size */ member in struct:__anon2253
58 Elf64_Xword st_size; /* Symbol size */ member in struct:__anon2254
/netbsd-current/external/gpl3/binutils/dist/libctf/
H A Delf.h45 Elf32_Word st_size; /* Symbol size */ member in struct:__anon1040
58 Elf64_Xword st_size; /* Symbol size */ member in struct:__anon1041
/netbsd-current/external/gpl3/gdb.old/dist/libctf/
H A Delf.h45 Elf32_Word st_size; /* Symbol size */ member in struct:__anon2197
58 Elf64_Xword st_size; /* Symbol size */ member in struct:__anon2198
/netbsd-current/external/gpl3/gdb/dist/libctf/
H A Delf.h45 Elf32_Word st_size; /* Symbol size */ member in struct:__anon1624
58 Elf64_Xword st_size; /* Symbol size */ member in struct:__anon1625
/netbsd-current/external/cddl/osnet/dist/lib/libdtrace/arm/
H A Ddt_isadep.c66 ftp->ftps_size = (size_t)symp->st_size;
91 if ((text = malloc(symp->st_size + 4)) == NULL) {
96 if (Pread(P, text, symp->st_size, symp->st_value) != symp->st_size) {
106 text[symp->st_size / 4] = 0;
110 ftp->ftps_size = symp->st_size;
137 ftp->ftps_size = (size_t)symp->st_size;
159 ftp->ftps_size = (size_t)symp->st_size;
169 for (i = 0; i < symp->st_size; i += 4) {
175 for (i = 0; i < symp->st_size;
[all...]
/netbsd-current/external/bsd/mdocml/dist/
H A Ddbm_map.c69 if (st.st_size < 5) {
74 if (st.st_size > INT32_MAX) {
78 if ((dbm_base = mmap(NULL, st.st_size, PROT_READ, MAP_SHARED,
102 if (st.st_size != max_offset) {
104 fname, (long long)st.st_size, max_offset);
130 if (munmap(dbm_base, st.st_size) == -1)
/netbsd-current/external/bsd/file/dist/src/
H A Dis_csv.c195 if ((p = CAST(char *, malloc(st.st_size))) == NULL)
197 (intmax_t)st.st_size);
198 if (read(fd, p, st.st_size) != st.st_size)
200 (intmax_t)st.st_size);
201 printf("is csv %d\n", csv_parse(p, p + st.st_size));
/netbsd-current/external/cddl/osnet/dist/lib/libdtrace/sparc/
H A Ddt_isadep.c58 ftp->ftps_size = (size_t)symp->st_size;
80 if ((text = malloc(symp->st_size + 4)) == NULL) {
85 if (Pread(P, text, symp->st_size, symp->st_value) != symp->st_size) {
95 text[symp->st_size / 4] = 0;
99 ftp->ftps_size = symp->st_size;
102 for (i = 0; i < symp->st_size / 4; i++) {
183 if ((uintptr_t)dst >= (uintptr_t)symp->st_size)
246 (uintptr_t)symp->st_size) {
286 ftp->ftps_size = (size_t)symp->st_size;
[all...]
/netbsd-current/bin/ls/
H A Dcmp.c181 if (b->fts_statp->st_size > a->fts_statp->st_size)
183 if (b->fts_statp->st_size < a->fts_statp->st_size)
193 if (b->fts_statp->st_size > a->fts_statp->st_size)
195 if (b->fts_statp->st_size < a->fts_statp->st_size)
/netbsd-current/sys/compat/aoutm68k/
H A Daoutm68k_stat.h50 int32_t st_size; /* file size, in bytes */ member in struct:aoutm68k_stat43
73 off_t st_size; /* file size, in bytes */ member in struct:aoutm68k_stat12
94 off_t st_size; /* file size, in bytes */ member in struct:aoutm68k_stat
/netbsd-current/usr.sbin/mdsetimage/
H A Dmdsetimage.c135 if ((uintmax_t)ksb.st_size != (size_t)ksb.st_size)
138 if ((mappedkfile = mmap(NULL, ksb.st_size, PROT_READ,
146 if (bin_find_md_root(bin, mappedkfile, ksb.st_size, text_start,
157 munmap(mappedkfile, ksb.st_size);
168 if ((uintmax_t)fssb.st_size != (size_t)fssb.st_size)
170 if (fssb.st_size > md_root_size_value)
172 " (%u bytes)", fsfile, (intmax_t) fssb.st_size,
174 left_to_copy = fssb.st_size;
[all...]
/netbsd-current/external/cddl/osnet/dist/lib/libdtrace/riscv/
H A Ddt_isadep.c53 ftp->ftps_size = (size_t)symp->st_size;
87 ftp->ftps_size = (size_t)symp->st_size;
109 ftp->ftps_size = (size_t)symp->st_size;
119 for (i = 0; i < symp->st_size; i += 4) {
125 for (i = 0; i < symp->st_size; i += 4) {
/netbsd-current/external/cddl/osnet/dist/lib/libdtrace/aarch64/
H A Ddt_isadep.c55 ftp->ftps_size = (size_t)symp->st_size;
89 ftp->ftps_size = (size_t)symp->st_size;
111 ftp->ftps_size = (size_t)symp->st_size;
121 for (i = 0; i < symp->st_size; i += 4) {
127 for (i = 0; i < symp->st_size; i += 4) {
/netbsd-current/external/mpl/bind/dist/fuzz/
H A Dmain.c50 data = malloc(st.st_size);
51 n = read(fd, data, st.st_size);
52 if (n == st.st_size) {
61 (ssize_t)st.st_size, filename, strerror(errno));
65 (ssize_t)st.st_size, filename, n);
/netbsd-current/external/cddl/osnet/dist/lib/libdtrace/i386/
H A Ddt_isadep.c72 ftp->ftps_size = (size_t)symp->st_size;
155 if ((text = calloc(1, symp->st_size + 4)) == NULL) {
160 if (Pread(P, text, symp->st_size, symp->st_value) != symp->st_size) {
168 ftp->ftps_size = (size_t)symp->st_size;
245 if (size == 5 && text[i] == DT_JMP32 && symp->st_size <=
250 if (size == 2 && text[i] == DT_JMP8 && symp->st_size <=
256 symp->st_size <=
261 if (size == 2 && DT_ISJ8(text[i]) && symp->st_size <=
291 ftp->ftps_size = (size_t)symp->st_size;
[all...]
/netbsd-current/usr.bin/crunch/crunchide/
H A Dexec_aout.c88 if(infstat.st_size < (ssize_t)sizeof eh)
120 if((aoutdata = (char *) malloc(infstat.st_size)) == NULL) {
125 if((rc = read(inf, aoutdata, infstat.st_size)) < infstat.st_size) {
186 if((rc = write(inf, aoutdata, infstat.st_size)) < infstat.st_size) {

Completed in 604 milliseconds

1234567891011>>