Lines Matching refs:then
48 if value then
79 if type(choices) == "function" then
82 if #choices > 0 then
93 if entry.func ~= nil then
110 if #all_choices == 0 then
117 if is_default then
221 if core.isSingleUserBoot() then
225 if alts == nil then
319 if #all_choices == 0 then
326 if is_default then
339 if loader.getenv("kernelname") ~= nil then
356 if core.isRewinded() then
364 if core.isRewinded() then
413 -- Clear the screen, reset the cursor, then draw
425 if drawn_menu ~= menudef then
435 menudef ~= menu.default then
437 elseif key == core.KEY_ENTER then
448 if key == k then
455 if sel_entry ~= nil then
461 if handler(menudef, sel_entry) == false then
475 if delay ~= nil and delay:lower() == "no" then
481 if delay == -1 then
488 if delay ~= nil then
494 if autoboot_key == nil then
514 if last == nil or last ~= time then
522 if io.ischar() then
524 if ch == core.KEY_ENTER then