/freebsd-11-stable/bin/ed/ |
H A D | io.c | 38 long size; local 47 if ((size = read_stream(fp, n)) < 0) { 55 if (size < 0 || cs < 0) 58 fprintf(stdout, "%lu\n", size); 63 static int sbufsz; /* file i/o buffer size */ 72 unsigned long size = 0; local 81 for (current_addr = n; (len = get_stream_line(fp)) > 0; size += len) { 99 if (appended && size && o_isbinary && o_newline_added) 104 size += 1; 105 if (!size) 149 long size; local 179 unsigned long size = 0; local [all...] |
/freebsd-11-stable/bin/ls/tests/ |
H A D | ls_tests.sh | 369 atf_set "descr" "Verify that -S sorts by file size, then by filename lexicographically" 392 size=$1; shift 394 echo $filename >> $file_list_dir/${size} 602 atf_set "descr" "Verify that -k prints out the size with a block size of 1kB" 636 atf_set "descr" "Verify that -l, prints out the size with ',' delimiters" 696 local size=12345 701 bs=$size count=1 703 bs=$size count=1 707 atf_check -e empty -o match:"[[:space:]]+uarch[[:space:]]$size [all...] |
/freebsd-11-stable/bin/pax/ |
H A D | buf_subs.c | 55 #define MINFBSZ 512 /* default block size for hole detect */ 60 * limit on blocking size is removed (though that will violate pax spec) 67 int blksz = MAXBLK; /* block input/output size in bytes */ 68 int wrblksz; /* user spec output size in bytes */ 79 * 0 if ok, -1 if the user specified write block size violates pax spec 87 * Check to make sure the write block size meets pax specs. If the user 96 paxwarn(1, "Write block size of %d too large, maximum is: %d", 101 paxwarn(1, "Write block size of %d is not a %d byte multiple", 106 paxwarn(0, "Write block size of %d larger than POSIX max %d, archive may not be portable", 135 * going to append and user specified a write block size, chec 607 off_t size = arcn->sb.st_size; local 667 off_t size = arcn->sb.st_size; local [all...] |
H A D | cpio.c | 261 cpio_id(char *blk, int size) argument 263 if ((size < (int)sizeof(HD_CPIO)) || 320 * check name size and if valid, read in the name of this entry (name 339 * check link name size and read in the link name. Link names are 353 * no cleanup needed here, just return size of the trailer (for append) 355 * size of trailer header in this format 410 * set data size for file data 426 * set data size to hold link name 517 vcpio_id(char *blk, int size) argument 519 if ((size < (in 534 crc_id(char *blk, int size) argument 855 bcpio_id(char *blk, int size) argument [all...] |
H A D | file_subs.c | 705 * variants (.pag files). While the file size of these files are huge, the 714 * for write when passed the basic allocation size of a file system block, 740 * sz: basic file block allocation size 895 u_long size; local 908 if ((size = (u_long)arcn->sb.st_blksize) > (u_long)sizeof(tbuf)) 909 size = (u_long)sizeof(tbuf); 916 if ((res = read(fd, tbuf, size)) <= 0) 928 paxwarn(1, "File changed size %s", arcn->org_name);
|
H A D | tar.c | 83 * no cleanup needed here, just return size of trailer (for append) 85 * size of trailer (2 * BLKMULT) 299 tar_id(char *blk, int size) argument 304 if (size < BLKMULT) 401 arcn->sb.st_size = (off_t)asc_ul(hd->size, sizeof(hd->size), OCT); 404 arcn->sb.st_size = (off_t)asc_uqd(hd->size, sizeof(hd->size), OCT); 473 * skip value to the size field and calculate the size 699 ustar_id(char *blk, int size) argument [all...] |
H A D | tar.h | 41 #define TNMSZ 100 /* size of name field */ 94 char size[12]; /* size */ member in struct:__anon10 133 char size[12]; /* size */ member in struct:__anon11
|
/freebsd-11-stable/bin/rcp/ |
H A D | rcp.c | 497 off_t i, j, size; local 594 for (size = 0; isdigit(*cp);) 595 size = size * 10 + (*cp++ - '0'); 597 SCREWUP("size not delimited"); 651 for (count = i = 0; i < size; i += BUFSIZ) { 653 if (i + amt > size) 654 amt = size - i; 684 if (ftruncate(ofd, size)) {
|
H A D | util.c | 133 size_t size; local 139 size = roundup(stb.st_blksize, blksize); 140 if (size == 0) 141 size = blksize; 142 if (bp->cnt >= size) 144 if ((bp->buf = realloc(bp->buf, size)) == NULL) { 149 bp->cnt = size;
|
/freebsd-11-stable/bin/setfacl/ |
H A D | setfacl.h | 49 void *zmalloc(size_t size);
|
H A D | util.c | 37 zmalloc(size_t size) argument 41 ptr = calloc(1, size);
|
/freebsd-11-stable/bin/sh/bltin/ |
H A D | bltin.h | 60 #define fwrite(ptr, size, nmemb, file) outbin(ptr, (size) * (nmemb), file)
|
/freebsd-11-stable/cddl/compat/opensolaris/lib/libumem/ |
H A D | umem.c | 44 void *umem_alloc(size_t size, int flags) argument 48 if(size == 0) 51 void *ret = malloc(size); 67 void *umem_zalloc(size_t size, int flags) argument 71 if(size == 0) 74 void *ret = calloc(1, size); 90 void umem_free(void *buf, size_t size) argument
|
/freebsd-11-stable/cddl/compat/opensolaris/misc/ |
H A D | mnttab.c | 86 optadd(char *mntopts, size_t size, const char *opt) argument 90 strlcat(mntopts, ",", size); 91 strlcat(mntopts, opt, size);
|
H A D | zone.c | 38 size_t size; local 42 size = sizeof(jailid); 43 if (sysctlbyname("security.jail.jailed", &jailid, &size, NULL, 0) == -1)
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/ |
H A D | JDTrace.java | 305 int b2 = d.size() - 1; // last displayed bucket 323 if (b2 < (d.size() - 1)) ++b2; 397 * the size of normal quantize()/lquantize() bars, so we divide the 463 len = tuple.size(); 517 "\t-b set trace buffer size\n" + 689 Consumer.OpenFlag[] oflags = new Consumer.OpenFlag[openFlags.size()]; 860 String[] compileArgs = new String[argList.size()];
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/ |
H A D | TestMultiAggPrinta.java | 78 for (int i = 0; i < records.size(); ++i) {
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/json/ |
H A D | tst.usdt.c | 42 double size = 250.5; local 50 size *= 1.78; 55 asprintf(&json, FMT, size, idx, odd, even, action);
|
H A D | tst.usdt.d | 42 this->size = json(this->j, "sizes[2]"); 45 printf("[%d] sz %s odd %s even %s\n", this->index, this->size,
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/ |
H A D | tst.copyin2.d | 30 * Test that there is no value of 'size' which can be passed to copyin 32 * that we test both size = 0 and size = 0xfff...fff 39 size_t size; 42 size_t size; 48 printf("size = 0x%lx\n", (ulong_t)size); 54 tracemem(copyin(curthread->t_procp->p_user.u_envp, size), 10); 58 /pid == $pid && size > (1 << MAX_BITS)/ 66 size [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/lockstat/ |
H A D | lockstat.c | 338 " -l lock[,size] only watch <lock>, which can be specified as a\n" 339 " symbolic name or hex address; <size> defaults\n" 340 " to the ELF symbol size if available, 1 if not\n" 341 " -f func[,size] only watch events generated by <func>\n" 627 filter_add(char **filt, char *what, uintptr_t base, uintptr_t size) argument 639 " || " : "", what, (void *)base, what, (void *)(base + size)); 642 " || " : "", what, (void *)base, what, (void *)(base + size)); 664 int size, offs; local 668 size = vsnprintf(&c, 1, fmt, args) + 1; 677 g_proglen = offs + size; 1118 size_t size, off; local [all...] |
H A D | sym.c | 60 size_t size; member in struct:syment 76 add_symbol(char *name, uintptr_t addr, size_t size) argument 92 sep->size = size; 239 symbol_table[0].size = 1; 263 *sizep = sep->size; 289 return (sep->size);
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/plockstat/ |
H A D | plockstat.c | 503 getsym(struct ps_prochandle *P, uintptr_t addr, char *buf, size_t size, argument 518 (void) snprintf(buf, size, "%#lx", (unsigned long)addr); 526 len = snprintf(buf, size, "LM%lu`", info.prs_lmid); 528 size -= len; 531 len = snprintf(buf, size, "%s`%s", info.prs_object, info.prs_name); 534 len = snprintf(buf, size, "%s`%s", map->pr_mapname, name); 537 size -= len; 540 len = snprintf(buf, size, "+%#lx", (unsigned long)(addr - sym.st_value));
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zdb/ |
H A D | zdb.c | 105 typedef void object_viewer_t(objset_t *, uint64_t, void *data, size_t size); 147 "\t\t<poolname> <vdev>:<offset>:<size>[:<flags>]\n" 252 dump_packed_nvlist(objset_t *os, uint64_t object, void *data, size_t size) argument 271 dump_history_offsets(objset_t *os, uint64_t object, void *data, size_t size) argument 303 dump_histogram(const uint64_t *histo, int size, int offset) argument 306 int minidx = size - 1; 310 for (i = 0; i < size; i++) { 394 dump_none(objset_t *os, uint64_t object, void *data, size_t size) argument 400 dump_unknown(objset_t *os, uint64_t object, void *data, size_t size) argument 407 dump_uint8(objset_t *os, uint64_t object, void *data, size_t size) argument 413 dump_uint64(objset_t *os, uint64_t object, void *data, size_t size) argument 419 dump_zap(objset_t *os, uint64_t object, void *data, size_t size) argument 468 dump_bpobj(objset_t *os, uint64_t object, void *data, size_t size) argument 519 dump_bpobj_subobjs(objset_t *os, uint64_t object, void *data, size_t size) argument 547 dump_ddt_zap(objset_t *os, uint64_t object, void *data, size_t size) argument 555 dump_sa_attrs(objset_t *os, uint64_t object, void *data, size_t size) argument 582 dump_sa_layouts(objset_t *os, uint64_t object, void *data, size_t size) argument 620 dump_zpldir(objset_t *os, uint64_t object, void *data, size_t size) argument 1233 dump_dtl_seg(void *arg, uint64_t start, uint64_t size) argument 1378 dump_dnode(objset_t *os, uint64_t object, void *data, size_t size) argument 1544 dump_dsl_dir(objset_t *os, uint64_t object, void *data, size_t size) argument 1599 dump_dsl_dataset(objset_t *os, uint64_t object, void *data, size_t size) argument 1939 dump_znode(objset_t *os, uint64_t object, void *data, size_t size) argument 2023 dump_acl(objset_t *os, uint64_t object, void *data, size_t size) argument 2029 dump_dmu_objset(objset_t *os, uint64_t object, void *data, size_t size) argument 2895 size_t size = BP_GET_PSIZE(bp); local 2951 zdb_leak(void *arg, uint64_t start, uint64_t size) argument 3006 claim_segment_impl_cb(uint64_t inner_offset, vdev_t *vd, uint64_t offset, uint64_t size, void *arg) argument 3022 claim_segment_cb(void *arg, uint64_t offset, uint64_t size) argument 4608 zdb_dump_block_raw(void *buf, uint64_t size, int flags) argument 4616 zdb_dump_block(char *label, void *buf, uint64_t size, int flags) argument 4738 uint64_t offset = 0, size = 0, psize = 0, lsize = 0, blkptr_offset = 0; local [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zpool/ |
H A D | zpool_util.c | 39 safe_malloc(size_t size) argument 43 if ((data = calloc(1, size)) == NULL) {
|