Home
last modified time | relevance | path

Searched refs:radix (Results 1 – 25 of 63) sorted by relevance

123

/freebsd/sys/kern/
H A Dsubr_blist.c133 int maxcount, u_daddr_t radix);
136 u_daddr_t radix);
137 static void blst_copy(blmeta_t *scan, daddr_t blk, daddr_t radix,
141 u_daddr_t radix);
143 static void blst_radix_print(blmeta_t *scan, daddr_t blk, daddr_t radix,
168 radix_to_skip(daddr_t radix) in radix_to_skip() argument
171 return (radix / BLIST_MASK); in radix_to_skip()
208 u_daddr_t nodes, radix; in blist_create() local
216 for (radix = 1; (blocks - 1) / BLIST_RADIX / radix > 0; in blist_create()
217 radix *= BLIST_RADIX) in blist_create()
[all …]
H A Dsubr_prf.c589 vsnrprintf(char *str, size_t size, int radix, const char *format, va_list ap) in vsnrprintf() argument
596 retval = kvprintf(format, snprintf_func, &info, radix, ap); in vsnrprintf()
662 kvprintf(char const *fmt, void (*func)(int, void*), void *arg, int radix, va_list ap) in kvprintf() argument
687 if (radix < 2 || radix > 36) in kvprintf()
688 radix = 10; in kvprintf()
831 base = radix; in kvprintf()
/freebsd/contrib/elftoolchain/size/
H A Dsize.c72 static enum radix_style radix = RADIX_DECIMAL; variable
149 radix = RADIX_DECIMAL; in main()
152 radix = RADIX_OCTAL; in main()
158 radix = RADIX_HEX; in main()
176 radix = RADIX_OCTAL; in main()
178 radix = RADIX_DECIMAL; in main()
180 radix = RADIX_HEX; in main()
371 tbl_print_num(raw_size, radix, 1); in handle_core_note()
372 tbl_print_num(0, radix, 2); in handle_core_note()
376 tbl_print_num(raw_size, radix, 1); in handle_core_note()
[all …]
/freebsd/tools/test/stress2/misc/
H A Dradix.sh40 log=/tmp/radix.log
44 sed '1,/^EOF/d' < $odir/$0 > $dir/radix.c
45 mycc -o radix -Wall -Wextra radix.c || exit 1
46 rm -f radix.c
56 timeout 20m /tmp/radix $parallel > $log; s=$?
68 cat /tmp/radix.log
70 rm -f /tmp/radix $log
84 radix tree than pages. If I create enough of these VM objects, then I
/freebsd/contrib/llvm-project/llvm/tools/llvm-strings/
H A DOpts.td16 defm radix : Eq<"radix", "Print the offset within the file with the specified radix: o (octal), d (…
23 …inedOrSeparate<["-"], "t">, Alias<radix_EQ>, HelpText<"Alias for --radix">, MetaVarName<"<radix>">;
H A Dllvm-strings.cpp72 enum radix { none, octal, hexadecimal, decimal };
73 static radix Radix;
162 reportCmdLineError("--radix value should be one of: '' (no offset), 'o' " in main()
79 enum radix { none, octal, hexadecimal, decimal }; global() enum
/freebsd/contrib/less/
H A Dlessecho.c68 static long lstrtol(char *s, char **pend, int radix) in lstrtol() argument
88 /* Determine radix if caller does not specify. */ in lstrtol()
89 if (radix == 0) in lstrtol()
91 radix = 10; in lstrtol()
97 radix = 16; in lstrtol()
101 radix = 8; in lstrtol()
118 if (v >= radix) in lstrtol()
120 n = n * radix + v; in lstrtol()
H A Doutput.c522 void funcname(type num, char *buf, int radix) \
530 *--s = "0123456789ABCDEF"[num % radix]; \
531 } while ((num /= radix) != 0); \
544 type cfuncname(constant char *buf, constant char **ebuf, int radix) \
551 if (digit < 0 || digit >= radix) break; \
552 v = v || ckd_mul(&val, val, radix); \
558 type funcname(char *buf, char **ebuf, int radix) \
561 type r = cfuncname(cbuf, &cbuf, radix); \
574 static int funcname(type num, int radix) \
577 typetoa(num, buf, radix); \
[all...]
/freebsd/contrib/llvm-project/llvm/tools/llvm-size/
H A DOpts.td15 defm radix : Eq<"radix", "Print size in radix">;
27 def : F<"d", "Alias for --radix=10">, Alias<radix_EQ>, AliasArgs<["10"]>;
30 def : F<"o", "Alias for --radix=8">, Alias<radix_EQ>, AliasArgs<["8"]>;
32 def : F<"x", "Alias for --radix=16">, Alias<radix_EQ>, AliasArgs<["16"]>;
/freebsd/usr.bin/file2c/
H A Dfile2c.c28 int c, count, linepos, maxcount, pretty, radix; in main() local
32 radix = 10; in main()
42 radix = 16; in main()
74 switch (radix) { in main()
/freebsd/stand/ficl/
H A Dvm.c662 char *ltoa( FICL_INT value, char *string, int radix ) in ltoa() argument
665 int sign = ((radix == 10) && (value < 0)); in ltoa()
668 assert(radix > 1); in ltoa()
669 assert(radix < 37); in ltoa()
672 pwr = isPowerOfTwo((FICL_UNS)radix); in ltoa()
697 result = ficlLongDiv(v, (FICL_UNS)radix); in ltoa()
716 char *ultoa(FICL_UNS value, char *string, int radix ) in ultoa() argument
722 assert(radix > 1); in ultoa()
723 assert(radix < 37); in ultoa()
736 result = ficlLongDiv(ud, (FICL_UNS)radix); in ultoa()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_uapi.c27 rc = radix_tree_insert(&uapi->radix, key, elm); in uapi_add_elm()
50 elm = radix_tree_lookup(&uapi->radix, key); in uapi_add_get_elm()
366 radix_tree_for_each_slot (slot, &uapi->radix, &iter, in uapi_finalize_ioctl_method()
428 radix_tree_for_each_slot (slot, &uapi->radix, &iter, 0) { in uapi_finalize()
458 radix_tree_for_each_slot (slot, &uapi->radix, &iter, 0) { in uapi_finalize()
477 radix_tree_for_each_slot (slot, &uapi->radix, &iter, start) { in uapi_remove_range()
481 radix_tree_iter_delete(&uapi->radix, &iter, slot); in uapi_remove_range()
534 radix_tree_for_each_slot (slot, &uapi->radix, &iter, starting_key) { in uapi_finalize_disable()
570 radix_tree_iter_delete(&uapi->radix, &iter, slot); in uapi_finalize_disable()
650 INIT_RADIX_TREE(&uapi->radix, GFP_KERNEL); in uverbs_alloc_api()
[all …]
H A Drdma_core.h116 struct radix_tree_root radix; member
139 res = radix_tree_lookup(&uapi->radix, uapi_key_obj(object_id)); in uapi_get_object()
/freebsd/contrib/elftoolchain/strings/
H A Dstrings.c78 static enum radix_style radix; variable
156 radix = RADIX_OCTAL; in main()
161 radix = RADIX_DECIMAL; in main()
163 radix = RADIX_OCTAL; in main()
165 radix = RADIX_HEX; in main()
406 switch (radix) { in find_strings()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLiteralSupport.cpp948 radix = 10; in NumericLiteralParser()
1217 assert((radix == 8 || radix == 10) && "Unexpected radix"); in ParseDecimalOrOctalCommon()
1226 << StringRef(s, 1) << (radix == 8 ? 1 : 0); in ParseDecimalOrOctalCommon()
1234 radix = 10; in ParseDecimalOrOctalCommon()
1243 radix = 10; in ParseDecimalOrOctalCommon()
1325 radix = 16; in ParseNumberStartingWithZero()
1403 radix = 2; in ParseNumberStartingWithZero()
1423 radix = 8; in ParseNumberStartingWithZero()
1441 radix = 10; in ParseNumberStartingWithZero()
1474 if (alwaysFitsInto64Bits(radix, NumDigits)) { in GetIntegerValue()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DDumpDataExtractor.cpp100 bool is_signed, unsigned radix) { in DumpAPInt() argument
103 std::string apint_str = toString(*apint, radix, is_signed); in DumpAPInt()
104 switch (radix) { in DumpAPInt()
446 const unsigned radix = 2; in DumpDataExtractor() local
447 offset = DumpAPInt(s, DE, offset, item_byte_size, is_signed, radix); in DumpDataExtractor()
506 const unsigned radix = 10; in DumpDataExtractor() local
507 offset = DumpAPInt(s, DE, offset, item_byte_size, is_signed, radix); in DumpDataExtractor()
518 const unsigned radix = 10; in DumpDataExtractor() local
519 offset = DumpAPInt(s, DE, offset, item_byte_size, is_signed, radix); in DumpDataExtractor()
530 const unsigned radix = 8; in DumpDataExtractor() local
[all …]
/freebsd/stand/libsa/
H A Dprintf.c57 static int kvprintf(char const *fmt, kvprintf_fn_t *func, void *arg, int radix, va_list ap);
243 kvprintf(char const *fmt, kvprintf_fn_t *func, void *arg, int radix, va_list ap) in kvprintf() argument
279 if (radix < 2 || radix > 36) in kvprintf()
280 radix = 10; in kvprintf()
432 base = radix; in kvprintf()
/freebsd/contrib/ldns/
H A DMakefile.in92 …r.lo higher.lo host2str.lo host2wire.lo keys.lo net.lo packet.lo parse.lo radix.lo rbtree.lo rdata…
97 ….h error.h higher.h host2str.h host2wire.h keys.h ldns.h packet.h parse.h radix.h rbtree.h rdata.h…
593 …dir)/ldns/wire2host.h $(srcdir)/ldns/rr_functions.h $(srcdir)/ldns/parse.h $(srcdir)/ldns/radix.h \
601 …dir)/ldns/wire2host.h $(srcdir)/ldns/rr_functions.h $(srcdir)/ldns/parse.h $(srcdir)/ldns/radix.h \
609 …dir)/ldns/wire2host.h $(srcdir)/ldns/rr_functions.h $(srcdir)/ldns/parse.h $(srcdir)/ldns/radix.h \
617 …dir)/ldns/wire2host.h $(srcdir)/ldns/rr_functions.h $(srcdir)/ldns/parse.h $(srcdir)/ldns/radix.h \
626 $(srcdir)/ldns/parse.h $(srcdir)/ldns/radix.h $(srcdir)/ldns/sha1.h $(srcdir)/ldns/sha2.h
634 $(srcdir)/ldns/parse.h $(srcdir)/ldns/radix.h $(srcdir)/ldns/sha1.h $(srcdir)/ldns/sha2.h
642 $(srcdir)/ldns/parse.h $(srcdir)/ldns/radix.h $(srcdir)/ldns/sha1.h $(srcdir)/ldns/sha2.h
650 …dir)/ldns/wire2host.h $(srcdir)/ldns/rr_functions.h $(srcdir)/ldns/parse.h $(srcdir)/ldns/radix.h \
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp49 inline static unsigned getDigit(char cdigit, uint8_t radix) { in getDigit() argument
52 if (radix == 16 || radix == 36) { in getDigit()
58 if (r <= radix - 11U) in getDigit()
62 if (r <= radix - 11U) in getDigit()
65 radix = 10; in getDigit()
69 if (r < radix) in getDigit()
115 APInt::APInt(unsigned numbits, StringRef Str, uint8_t radix) in APInt() argument
117 fromString(numbits, Str, radix); in APInt()
545 unsigned APInt::getBitsNeeded(StringRef str, uint8_t radix) { in getBitsNeeded() argument
548 unsigned sufficient = getSufficientBitsNeeded(str, radix); in getBitsNeeded()
[all …]
/freebsd/libexec/rtld-elf/
H A Drtld_printf.c122 kvprintf(char const *fmt, struct snprintf_arg *arg, int radix, va_list ap) in kvprintf() argument
141 if (radix < 2 || radix > 36) in kvprintf()
142 radix = 10; in kvprintf()
292 base = radix; in kvprintf()
/freebsd/usr.bin/m4/
H A Dtokenizer.l42 radix 0[rR][0-9]+:[0-9a-zA-Z]+
49 {radix} { if (mimic_gnu) {
/freebsd/contrib/llvm-project/llvm/tools/llvm-nm/
H A DOpts.td34 defm radix : Eq<"radix", "Radix (o/d/x) for printing symbol Values">, MetaVarName<"<radix>">;
80 def : JoinedOrSeparate<["-"], "t">, HelpText<"Alias for --radix">, Alias<radix_EQ>, MetaVarName<"<radix>">;
/freebsd/contrib/bearssl/tools/
H A Dnames.c787 int radix; in parse_size() local
793 radix = 16; in parse_size()
796 radix = 10; in parse_size()
808 if (d < 0 || d >= radix) { in parse_size()
812 z = acc * (size_t)radix + (size_t)d; in parse_size()
813 if (z < (size_t)d || (z / (size_t)radix) != acc in parse_size()
/freebsd/contrib/ntp/ntpd/
H A Drefclock_wwv.c466 int radix; /* radix (3, 4, 6, 10) */ member
698 * Initialize the decoding matrix with the radix for each digit in wwv_start()
701 up->decvec[MN].radix = 10; /* minutes */ in wwv_start()
702 up->decvec[MN + 1].radix = 6; in wwv_start()
703 up->decvec[HR].radix = 10; /* hours */ in wwv_start()
704 up->decvec[HR + 1].radix = 3; in wwv_start()
705 up->decvec[DA].radix = 10; /* days */ in wwv_start()
706 up->decvec[DA + 1].radix = 10; in wwv_start()
707 up->decvec[DA + 2].radix in wwv_start()
[all...]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dlimits34 static constexpr int radix = 0;
150 static _LIBCPP_CONSTEXPR const int radix = 0;
207 static _LIBCPP_CONSTEXPR const int radix = 2;
258 static _LIBCPP_CONSTEXPR const int radix = 2;
303 static _LIBCPP_CONSTEXPR const int radix = __FLT_RADIX__;
360 static _LIBCPP_CONSTEXPR const int radix = __FLT_RADIX__;
417 static _LIBCPP_CONSTEXPR const int radix = __FLT_RADIX__;
478 static _LIBCPP_CONSTEXPR const int radix = __base::radix;
535 _LIBCPP_CONSTEXPR const int numeric_limits<_Tp>::radix;

123