HomeSort by: relevance | last modified time | path
    Searched refs:totalsize (Results 1 - 25 of 75) sorted by relevancy

1 2 3

  /src/sys/lib/libz/
zalloc.c 44 unsigned int totalsize; local
46 totalsize = items * size;
47 opaque = alloc(totalsize);
49 memset(opaque, 0, totalsize);
  /src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
xvasprintf.c 43 size_t totalsize; local
48 totalsize = 0;
53 totalsize = xsum (totalsize, strlen (next));
57 /* Test for overflow in the summing pass above or in (totalsize + 1) below.
60 if (totalsize == SIZE_MAX || totalsize > INT_MAX)
67 result = (char *) xmalloc (totalsize + 1);
  /src/external/gpl2/gettext/dist/gettext-tools/libgettextpo/
xvasprintf.c 43 size_t totalsize; local
48 totalsize = 0;
53 totalsize = xsum (totalsize, strlen (next));
57 /* Test for overflow in the summing pass above or in (totalsize + 1) below.
60 if (totalsize == SIZE_MAX || totalsize > INT_MAX)
67 result = (char *) xmalloc (totalsize + 1);
  /src/sbin/swapctl/
swaplist.c 95 int64_t totalsize, totalinuse; local
168 totalsize = 0;
172 totalsize += sep->se_nblks;
177 totalsize = dbtoqb(totalsize) / blocksize;
178 if (totalsize > 9999999990)
180 else if (totalsize > 999999990)
182 else if (totalsize > 99999990)
201 totalsize = totalinuse = ncounted = 0;
208 totalsize += size
    [all...]
  /src/distrib/utils/embedded/conf/
x86.conf 18 local totalsize=$(( ${size} / 512 ))
21 local asize=$(( ${totalsize} - ${aoffset} ))
27 local cylinders=$(( ${totalsize} / ${spc} ))
39 total sectors: ${totalsize}
51 c: ${totalsize} 0 unused 0 0 #
52 d: ${totalsize} 0 unused 0 0 #
evbarm.conf 26 local totalsize=$(( ${size} / 512 ))
32 local asize=$(( ${totalsize} - ${bootsize} - ${bootoffset} ))
39 local cylinders=$(( ${totalsize} / ${spc} ))
51 total sectors: ${totalsize}
63 c: ${totalsize} 0 unused 0 0 #
evbmips.conf 26 local totalsize=$(( ${size} / 512 ))
32 local asize=$(( ${totalsize} - ${bootsize} - ${bootoffset} ))
39 local cylinders=$(( ${totalsize} / ${spc} ))
51 total sectors: ${totalsize}
63 c: ${totalsize} 0 unused 0 0 #
evbppc.conf 26 local totalsize=$(( ${size} / 512 ))
32 local asize=$(( ${totalsize} - ${bootsize} - ${bootoffset} ))
39 local cylinders=$(( ${totalsize} / ${spc} ))
51 total sectors: ${totalsize}
63 c: ${totalsize} 0 unused 0 0 #
riscv.conf 24 local totalsize=$(( ${size} / 512 ))
30 local asize=$(( ${totalsize} - ${bootsize} - ${bootoffset} ))
37 local cylinders=$(( ${totalsize} / ${spc} ))
49 total sectors: ${totalsize}
61 c: ${totalsize} 0 unused 0 0 #
  /src/sys/external/bsd/common/include/linux/
overflow.h 70 size_t arraysize, totalsize; local
75 if (check_add_overflow(basesize, arraysize, &totalsize))
77 return totalsize;
  /src/external/gpl3/binutils/dist/libiberty/
floatformat.c 199 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize,
201 int_bit = get_field (ufrom, fmt->byteorder, fmt->totalsize,
298 top_exp = get_field (ufrom, hfmt->byteorder, hfmt->totalsize,
300 bot_exp = get_field (ufrom + 8, hfmt->byteorder, hfmt->totalsize,
336 if (get_field (ufrom + 8, hfmt->byteorder, hfmt->totalsize,
360 return !get_field (ufrom, hfmt->byteorder, hfmt->totalsize,
368 if (get_field (ufrom, hfmt->byteorder, hfmt->totalsize,
429 if (get_field (ufrom, fmt->byteorder, fmt->totalsize,
498 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize,
524 if (get_field (ufrom, fmt->byteorder, fmt->totalsize, fmt->sign_start, 1)
    [all...]
  /src/external/gpl3/binutils.old/dist/libiberty/
floatformat.c 199 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize,
201 int_bit = get_field (ufrom, fmt->byteorder, fmt->totalsize,
298 top_exp = get_field (ufrom, hfmt->byteorder, hfmt->totalsize,
300 bot_exp = get_field (ufrom + 8, hfmt->byteorder, hfmt->totalsize,
336 if (get_field (ufrom + 8, hfmt->byteorder, hfmt->totalsize,
360 return !get_field (ufrom, hfmt->byteorder, hfmt->totalsize,
368 if (get_field (ufrom, hfmt->byteorder, hfmt->totalsize,
429 if (get_field (ufrom, fmt->byteorder, fmt->totalsize,
498 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize,
524 if (get_field (ufrom, fmt->byteorder, fmt->totalsize, fmt->sign_start, 1)
    [all...]
  /src/external/gpl3/gcc/dist/libiberty/
floatformat.c 204 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize,
206 int_bit = get_field (ufrom, fmt->byteorder, fmt->totalsize,
303 top_exp = get_field (ufrom, hfmt->byteorder, hfmt->totalsize,
305 bot_exp = get_field (ufrom + 8, hfmt->byteorder, hfmt->totalsize,
341 if (get_field (ufrom + 8, hfmt->byteorder, hfmt->totalsize,
365 return !get_field (ufrom, hfmt->byteorder, hfmt->totalsize,
373 if (get_field (ufrom, hfmt->byteorder, hfmt->totalsize,
434 if (get_field (ufrom, fmt->byteorder, fmt->totalsize,
503 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize,
529 if (get_field (ufrom, fmt->byteorder, fmt->totalsize, fmt->sign_start, 1)
    [all...]
  /src/external/gpl3/gcc.old/dist/libiberty/
floatformat.c 204 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize,
206 int_bit = get_field (ufrom, fmt->byteorder, fmt->totalsize,
303 top_exp = get_field (ufrom, hfmt->byteorder, hfmt->totalsize,
305 bot_exp = get_field (ufrom + 8, hfmt->byteorder, hfmt->totalsize,
341 if (get_field (ufrom + 8, hfmt->byteorder, hfmt->totalsize,
365 return !get_field (ufrom, hfmt->byteorder, hfmt->totalsize,
373 if (get_field (ufrom, hfmt->byteorder, hfmt->totalsize,
434 if (get_field (ufrom, fmt->byteorder, fmt->totalsize,
503 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize,
529 if (get_field (ufrom, fmt->byteorder, fmt->totalsize, fmt->sign_start, 1)
    [all...]
  /src/external/gpl3/gdb.old/dist/libiberty/
floatformat.c 199 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize,
201 int_bit = get_field (ufrom, fmt->byteorder, fmt->totalsize,
298 top_exp = get_field (ufrom, hfmt->byteorder, hfmt->totalsize,
300 bot_exp = get_field (ufrom + 8, hfmt->byteorder, hfmt->totalsize,
336 if (get_field (ufrom + 8, hfmt->byteorder, hfmt->totalsize,
360 return !get_field (ufrom, hfmt->byteorder, hfmt->totalsize,
368 if (get_field (ufrom, hfmt->byteorder, hfmt->totalsize,
429 if (get_field (ufrom, fmt->byteorder, fmt->totalsize,
498 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize,
520 if (get_field (ufrom, fmt->byteorder, fmt->totalsize, fmt->sign_start, 1)
    [all...]
  /src/external/gpl3/gdb/dist/libiberty/
floatformat.c 199 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize,
201 int_bit = get_field (ufrom, fmt->byteorder, fmt->totalsize,
298 top_exp = get_field (ufrom, hfmt->byteorder, hfmt->totalsize,
300 bot_exp = get_field (ufrom + 8, hfmt->byteorder, hfmt->totalsize,
336 if (get_field (ufrom + 8, hfmt->byteorder, hfmt->totalsize,
360 return !get_field (ufrom, hfmt->byteorder, hfmt->totalsize,
368 if (get_field (ufrom, hfmt->byteorder, hfmt->totalsize,
429 if (get_field (ufrom, fmt->byteorder, fmt->totalsize,
498 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize,
520 if (get_field (ufrom, fmt->byteorder, fmt->totalsize, fmt->sign_start, 1)
    [all...]
  /src/sys/arch/sparc64/sparc64/
cpu.c 489 int totalsize = 0; local
588 totalsize = icachesize;
589 if (totalsize == 0)
590 totalsize = l *
593 cachesize = totalsize / cpu_icache_associativity(node);
597 if (totalsize > 0) {
599 (long)totalsize/1024,
603 ci->ci_cacheinfo.c_itotalsize = totalsize;
617 totalsize = dcachesize;
618 if (totalsize == 0
    [all...]
  /src/sys/external/bsd/libfdt/dist/
fdt.c 22 uint32_t totalsize = fdt_totalsize(fdt); local
38 if (totalsize < INT32_MAX)
39 return totalsize;
44 static int check_off_(uint32_t hdrsize, uint32_t totalsize, uint32_t off)
46 return (off >= hdrsize) && (off <= totalsize);
49 static int check_block_(uint32_t hdrsize, uint32_t totalsize,
52 if (!check_off_(hdrsize, totalsize, base))
56 if (!check_off_(hdrsize, totalsize, base + size))
fdt.h 16 fdt32_t totalsize; /* total size of DT block */ member in struct:fdt_header
  /src/external/gpl2/dtc/dist/
flattree.c 337 fdt->totalsize = cpu_to_fdt32(reserve_off + reservesize + dtsize + strsize);
375 * If the user asked for more space than is used, adjust the totalsize.
378 padlen = minsize - fdt32_to_cpu(fdt.totalsize);
384 fdt32_to_cpu(fdt.totalsize), minsize);
392 padlen = FDTALIGN2(fdt32_to_cpu(fdt.totalsize) + padlen, alignsize)
393 - fdt32_to_cpu(fdt.totalsize);
396 int tsize = fdt32_to_cpu(fdt.totalsize);
398 fdt.totalsize = cpu_to_fdt32(tsize);
469 fprintf(f, "\t/* totalsize */\n");
801 uint32_t magic, totalsize, version, size_dt, boot_cpuid_phys local
    [all...]
fdtdump.c 59 uint32_t totalsize = fdt32_to_cpu(bph->totalsize); local
71 printf("// totalsize:\t\t0x%"PRIx32" (%"PRIu32")\n",
72 totalsize, totalsize);
  /src/sys/arch/x86/x86/
identcpu_subr.c 219 int type, level, ways, partitions, linesize, sets, totalsize; local
263 totalsize = ways * partitions * linesize * sets;
264 ci->ci_cinfo[caitype].cai_totalsize = totalsize;
  /src/external/gpl3/gdb.old/dist/gdb/
target-float.c 92 return ((fmt->totalsize + FLOATFORMAT_CHAR_BIT - 1)
129 words = fmt->totalsize / FLOATFORMAT_CHAR_BIT;
306 gdb_assert (fmt->totalsize
319 return get_field (uval, order, fmt->totalsize, fmt->sign_start, 1);
336 gdb_assert (fmt->totalsize
351 exponent = get_field (uval, order, fmt->totalsize, fmt->exp_start,
362 mant = get_field (uval, order, fmt->totalsize, mant_off, mant_bits);
426 gdb_assert (fmt->totalsize
454 mant = get_field (uval, order, fmt->totalsize, mant_off, mant_bits);
463 mant = get_field (uval, order, fmt->totalsize, mant_off, 32)
    [all...]
  /src/external/gpl3/gdb/dist/gdb/
target-float.c 92 return ((fmt->totalsize + FLOATFORMAT_CHAR_BIT - 1)
129 words = fmt->totalsize / FLOATFORMAT_CHAR_BIT;
306 gdb_assert (fmt->totalsize
319 return get_field (uval, order, fmt->totalsize, fmt->sign_start, 1);
336 gdb_assert (fmt->totalsize
351 exponent = get_field (uval, order, fmt->totalsize, fmt->exp_start,
362 mant = get_field (uval, order, fmt->totalsize, mant_off, mant_bits);
426 gdb_assert (fmt->totalsize
454 mant = get_field (uval, order, fmt->totalsize, mant_off, mant_bits);
463 mant = get_field (uval, order, fmt->totalsize, mant_off, 32)
    [all...]
  /src/usr.sbin/bootp/common/
hash.c 79 unsigned totalsize;
82 totalsize = sizeof(hash_tbl)
84 hashtblptr = (hash_tbl *) malloc(totalsize);
86 bzero((char *) hashtblptr, totalsize);
78 unsigned totalsize; local

Completed in 28 milliseconds

1 2 3