/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | setup.c | 71 #define POWEROF2(num) (((num) & ((num) - 1)) == 0) argument
|
/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/ |
H A D | mkfs.c | 82 #define POWEROF2(num) (((num) & ((num) - 1)) == 0) argument
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | setup.c | 71 #define POWEROF2(num) (((num) & ((num) - 1)) == 0) argument
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/ |
H A D | fsdb.c | 2078 long number = 0, tbase, num; in getnumb() local 2099 num = tbase; in getnumb() 2106 num = hextodigit(c); in getnumb() 2112 num = numtodigit(c); in getnumb() 2116 num = numtodigit(c); in getnumb() 2118 if (num == tbase) in getnumb() 2120 number = number * tbase + num; in getnumb()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fssnap/ |
H A D | fssnap.c | 51 #define POWEROF2(num) (((num) & ((num) - 1)) == 0) argument 61 void gen_backing_store_path(char *basepath, int num, char **outpath); 523 gen_backing_store_path(char *basepath, int num, char **outpath) in gen_backing_store_path() argument 537 if (num == 1) in gen_backing_store_path() 540 (void) sprintf(*outpath, "%s.%d", basepath, num); in gen_backing_store_path()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/ |
H A D | mkfs.c | 303 #define POWEROF2(num) (((num) & ((num) - 1)) == 0) argument 640 uint64_t num; in main() local 2110 num = fsbtodb(&sblock, (uint64_t)cgsblock(&sblock, cylno)); in main() 2121 rdfs((diskaddr_t)num, sbsize, (char *)&altsblock); in main() 2128 ret, num, invalid_sb_cnt)); in main() 2158 (void) sprintf(pbuf, " %llu,", num); in main() 2222 num = fsbtodb(&sblock, (uint64_t)cgsblock(&sblock, cylno)); in main() 2225 rdfs((diskaddr_t)num, sbsize, (char *)&altsblock); in main() 2232 ret, num, invalid_sb_cnt)); in main() 2264 (void) sprintf(pbuf, " %llu", num); in main() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/ufs/newfs/ |
H A D | newfs.c | 78 #define POWEROF2(num) (((num) & ((num) - 1)) == 0) argument
|
/illumos-gate/usr/src/cmd/fs.d/ufs/volcopy/ |
H A D | volcopy.c | 734 int cnt, num, size; in mem_setup() local 780 num = _128K / (Bufsz + sizeof (int)); in mem_setup() 781 Bufsz *= num; in mem_setup()
|
/illumos-gate/usr/src/cmd/fstyp/ |
H A D | fstyp.c | 53 static boolean_t dos_to_dev(char *path, char **devpath, int *num); 54 static boolean_t find_dos_drive(int fd, int num, off_t *offset); 257 dos_to_dev(char *path, char **devpath, int *num) in dos_to_dev() argument 264 if ((*num = atoi(p + 1)) == 0) { in dos_to_dev() 293 int num; member 361 if (++p->count == p->num) { in find_dos_drive_cb() 376 find_dos_drive(int fd, int num, off_t *offset) in find_dos_drive() argument 382 p.num = num; in find_dos_drive() 394 if (num > 0) { in find_dos_drive() 396 if (p.count == num) { in find_dos_drive()
|
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | geniconvtbl.c | 1249 for (num = ((num <= *inbytesleft) ? num : *inbytesleft); in eval_op() 1250 0 < num; --num) { in eval_op() 1259 DISCARD((num <= *inbytesleft) ? num : *inbytesleft); in eval_op() 1261 for (num = ((num <= *inbytesleft) ? num : *inbytesleft); in eval_op() 1262 0 < num; --num) { in eval_op() 1540 num = ((num << 8) | *p); in eval_expr() 1542 return (num); in eval_expr() 1547 if ((0 <= num) && (num < inbytesleft)) { in eval_expr() 1556 if ((0 <= num) && (num < inbytesleft)) { in eval_expr() 1682 return (num); in eval_expr() [all …]
|
H A D | hash.h | 64 itm_num_t num; in hash_dense_encoding() local 66 num = (*byte_seq - *byte_seq_min); in hash_dense_encoding() 75 num *= (*byte_seq_max - *byte_seq_min + 1); in hash_dense_encoding() 76 num += (*byte_seq - *byte_seq_min); in hash_dense_encoding() 78 return (num); in hash_dense_encoding()
|
H A D | iconv_tm.h | 636 itm_num_t num; member 643 #define itm_opnum itm_op_num.num 742 itm_num_t num; member 749 #define itm_exnum itm_ex_num.num
|
H A D | itm_comp.l | 76 yylval.num = strtoul(yytext, (char **)NULL, 10); 80 {OCTAL} { yylval.num = strtoul(yytext, (char **)NULL, 8); 95 {MAPTYPE_NAME} { yylval.num = at_name_to_token(yytext); 101 {NAME} { yylval.num = at_name_to_token(yytext); 102 if (0 != yylval.num) { 103 return (yylval.num);
|
H A D | itm_comp.y | 45 itm_num_t num; member 102 %token <num> DECIMAL 886 $$ = expr_self_num(ITM_EXPR_INT, yylval.num);
|
H A D | itm_util.c | 448 for (num = 0; NULL != ol; ol = ol->next, num++) { in escseq_table() 600 --num; in map_table() 687 num--; in map_table() 736 num++; in map_table() 1993 num = 0; in map_table_num_range() 2006 num)); in map_table_num_range() 2210 num = ((num << 8) | *p); in expr_binary() 2217 num = ((num << 8) | *p); in expr_binary() 2255 num = ((num << 8) | *p); in expr_binary2() 2280 num = ((num << 8) | *p); in expr_binary2() [all …]
|
H A D | itmcomp.c | 83 static void cpp_opt_trunc(int num); 531 cpp_opt_trunc(int num) in cpp_opt_trunc() argument 533 if (cmd_opt.cpp_opt_num < num) { in cpp_opt_trunc() 534 num = cmd_opt.cpp_opt_num; in cpp_opt_trunc() 536 for (; 0 < num; --num) { in cpp_opt_trunc()
|
H A D | itmcomp.h | 121 itm_num_t num; member
|
/illumos-gate/usr/src/cmd/gss/gssd/ |
H A D | gssd_generic.c | 58 int num = 0; variable 144 num = 1; 149 return (num);
|
/illumos-gate/usr/src/cmd/hal/addons/network-devices/ |
H A D | cache.c | 46 int num = 0; in device_remove_if_stale() local 51 &num, &error); in device_remove_if_stale() 56 for (i = 0; i < num; i++) { in device_remove_if_stale()
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | hald_dbus.c | 4148 guint num; in hald_dbus_filter_handle_methods() local 4155 for (i = method_names, num = 0; i != NULL; i = g_slist_next (i), num++) { in hald_dbus_filter_handle_methods() 4162 execpath = hal_device_property_get_strlist_elem (d, s, num); in hald_dbus_filter_handle_methods() 4165 sig = hal_device_property_get_strlist_elem (d, s, num); in hald_dbus_filter_handle_methods()
|
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_usb.c | 312 uint8_t num, length, type; in parse_usb_if_descr() local 350 num = (uint8_t)*(rdata + 2); in parse_usb_if_descr() 351 if (num == ifnum) { in parse_usb_if_descr()
|
/illumos-gate/usr/src/cmd/hal/utils/ |
H A D | fsutils.c | 38 dos_to_dev(char *path, char **devpath, int *num) in dos_to_dev() argument 45 if ((*num = atoi(p + 1)) == 0) { in dos_to_dev() 99 int num; member 167 if (++p->count == p->num) { in find_dos_drive_cb() 183 find_dos_drive(int fd, int num, uint_t secsz, off_t *offset) in find_dos_drive() argument 187 p.num = num; in find_dos_drive() 189 if (num > 0) { in find_dos_drive() 191 if (p.count == num) { in find_dos_drive()
|
H A D | fsutils.h | 18 boolean_t dos_to_dev(char *path, char **devpath, int *num); 22 boolean_t find_dos_drive(int fd, int num, uint_t secsz, off_t *offset);
|
/illumos-gate/usr/src/cmd/iconv/ |
H A D | parser.y | 29 int num; member 54 %token <num> T_NUMBER
|
H A D | scanner.c | 450 yylval.num = strtol(token, &eptr, 10); in consume_token()
|