HomeSort by: relevance | last modified time | path
    Searched defs:choice (Results 1 - 5 of 5) sorted by relevancy

  /src/sys/arch/zaurus/stand/zboot/
bootmenu.c 54 int choice = -1; local in function:getchoicefrominput
57 choice = def;
59 choice = (*input) - 'A';
61 choice = (*input) - 'a';
63 choice = atoi(input) - 1;
64 if (choice < 0 || choice >= bootcfg_info.nummenu)
65 choice = -1;
67 return choice;
74 int choice; local in function:doboottypemenu
    [all...]
  /src/sys/stand/efiboot/
bootmenu.c 83 int choice, usedef; local in function:getchoicefrominput
85 choice = -1;
89 choice = def;
92 choice = (*input) - 'A';
94 choice = (*input) - 'a';
96 choice = atoi(input) - 1;
97 if (choice < 0 || choice >= bootcfg_info.nummenu)
98 choice = -1;
103 choice = -1
139 int choice; local in function:doboottypemenu
    [all...]
  /src/sys/arch/i386/stand/lib/
bootmenu.c 84 int choice, usedef; local in function:getchoicefrominput
86 choice = -1;
90 choice = def;
93 choice = (*input) - 'A';
95 choice = (*input) - 'a';
97 choice = atoi(input) - 1;
98 if (choice < 0 || choice >= bootcfg_info.nummenu)
99 choice = -1;
104 choice = -1
140 int choice; local in function:doboottypemenu
    [all...]
  /src/sys/external/bsd/ipf/netinet/
radix_ipf.c 1445 int choice; local in function:randomize
1457 choice = rand() % (nitems - 1);
1459 if (order[j] == choice)
1462 order[i] = choice;
  /src/games/fortune/fortune/
fortune.c 924 int choice; local in function:get_fort
929 choice = arc4random_uniform(100);
930 DPRINTF(1, (stderr, "choice = %d\n", choice));
932 if (choice < fp->percent)
935 choice -= fp->percent;
937 " skip \"%s\", %d%% (choice = %d)\n",
938 fp->name, fp->percent, choice));
941 "using \"%s\", %d%% (choice = %d)\n",
942 fp->name, fp->percent, choice));
987 int choice; local in function:pick_child
    [all...]

Completed in 55 milliseconds