/freebsd-13-stable/sbin/dump/ |
H A D | unctime.c | 51 struct tm then; local 53 str = strptime(str, "%a %b %e %T %Y", &then); 56 then.tm_isdst = -1; 57 return (mktime(&then));
|
/freebsd-13-stable/lib/libifconfig/ |
H A D | libifconfig_sfp_tables.tpl.h | 36 if type(ent) == "string" then 68 if disp then 84 if type(ent) == "table" then 106 if type(ent) == "table" then 121 if type(ent) == "table" then
|
H A D | libifconfig_sfp_tables_internal.tpl.h | 41 if type(ent) == "table" then 57 if type(ent) == "table" then
|
H A D | libifconfig_sfp_tables.tpl.c | 50 if type(ent) == "string" then 73 if disp then 108 if disp then
|
/freebsd-13-stable/sys/contrib/openzfs/contrib/zcp/ |
H A D | autosnap.lua | 24 if arg == "-n" then 26 elseif arg == "-p" then 27 elseif argv[i-1] == "-p" then 34 if root_snap == nil or property == nil then 41 if root_snap:sub(i, i) == "@" then 49 if auto == "true" then 52 if noop then 67 if err ~= 0 then 71 if err_txt ~= "" then
|
/freebsd-13-stable/stand/lua/ |
H A D | config.lua | 86 if restore_value == nil then 91 if current_value ~= v then 97 if restore_value ~= nil then 115 env_changed[key] ~= nil then 125 if loader_env_restricted_table[key] ~= nil then 130 if env_restore[key] == nil then 141 if modules[key] == nil then 159 if i < nextpos then 164 if c == '\\' then 165 if i == vlen then [all...] |
H A D | core.lua | 44 if argstr ~= nil then 62 if boot_acpi then 74 if module:sub(1, 1) ~= "/" then 78 if lua_path == nil then 87 if module:match(".lua$") == nil then 91 if lfs.attributes(module, "mode") ~= "file" then 117 if verbose == nil then 121 if verbose then 130 if single_user == nil then 134 if single_user then [all...] |
H A D | drawer.lua | 55 if name_handler ~= nil then 58 if type(entry.name) == "function" then 65 if gfxname == nil then 70 if ret == nil then 75 if type(ret) ~= "table" then 80 if gfxtype == "brand" then 82 elseif gfxtype == "logo" then 94 if brand == nil then 101 if branddef == nil then 103 if not res then [all...] |
H A D | cli.lua | 35 if not pager then 53 if with_kernel == nil then 56 if #argv == 0 then 57 if with_kernel then 67 if with_kernel and v:sub(1,1) ~= "-" then 73 if with_kernel then 81 if loading and config.enableModule(module) then 83 elseif not loading and config.disableModule(module) then 98 if #argv == 0 then 104 if cmd ~= nil and type(cmd) == "function" then [all...] |
H A D | color.lua | 56 if c ~= nil then 63 if color.disabled then 70 if color.disabled then 77 if color.disabled then 84 if color.disabled then 91 if color.disabled then 94 if attribute == nil then 104 if color.disabled then 111 if color.disabled then
|
H A D | password.lua | 65 if ch == core.KEY_ENTER then 68 if ch == core.KEY_BACKSPACE or ch == core.KEY_DELETE then 69 if #str > 0 then 70 if show_password_mask then 78 if show_password_mask then 98 if not screen_setup then 103 if attempts > 1 then 109 if pwd == nil or pwd == read_pwd then 120 if pwd == nil then 130 if geli_prompt ~= nil and geli_prompt:lower() == "yes" then [all...] |
H A D | menu.lua | 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 [all...] |
/freebsd-13-stable/tools/lua/ |
H A D | template.lua | 99 if _VERSION == "Lua 5.1" then 113 if not ok then newtab = function() return {} end end 117 if val == nil then return true end 128 if c == SP or c == HT or c == VT or c == NUL then 138 if s > 1 and byte(view, s - 1, s - 1) == BSOL then 139 if s > 2 and byte(view, s - 2, s - 2) == BSOL then 150 if not file then return nil, err end 159 if plain == true then return view end 161 if root and root ~= EMPTY then 162 if byte(root, -1) == SOL then roo [all...] |
/freebsd-13-stable/sys/tools/ |
H A D | makesyscalls.lua | 100 if cleantmp then 101 if lfs.dir(tmpspace) then 107 if lfs.attributes(tmpspace) and not lfs.rmdir(tmpspace) then 185 if s == nil then 188 if char == nil then 216 -- use a pattern to strip out the meaty part of the line, but then we 220 if file == nil then 225 if fh == nil then 234 if key ~= nil and value ~= nil then 239 if delim == '`' or delim == '"' then [all...] |
/freebsd-13-stable/share/mk/ |
H A D | install-new.mk | 22 if ! test -s $$target || ! cmp -s $$target $$src; then \ 24 if test -s $$target; then \ 25 if test "x$$_bak" != x; then \ 38 if ! test -s $$target || ! cmp -s $$target $$src; then \ 40 if test -s $$target; then \ 41 if test "x$$_bak" != x; then \ 61 if test $$_t $$new; then \
|
/freebsd-13-stable/contrib/bmake/mk/ |
H A D | subdir.mk | 29 if Exists ${.CURDIR}/$${entry}.${MACHINE}/[mM]akefile; then \ 31 elif Exists ${.CURDIR}/$${entry}/[mM]akefile; then \ 36 if test X"${_THISDIR_}" = X""; then \ 49 if test -z "${.TARGET:M/*}"; then \ 50 if test -d ${.CURDIR}/${.TARGET}.${MACHINE}; then \
|
H A D | install-new.mk | 21 if ! test -s $$target || ! cmp -s $$target $$src; then \ 23 if test -s $$target; then \ 24 if test "x$$_bak" != x; then \ 46 if test $$_t $$new; then \
|
/freebsd-13-stable/usr.bin/resizewin/ |
H A D | resizewin.c | 64 struct timeval then, now; local 111 gettimeofday(&then, NULL); 119 timersub(&now, &then, &now);
|
/freebsd-13-stable/contrib/libucl/lua/ |
H A D | test.lua | 19 if not res then 26 if expect == got then
|
/freebsd-13-stable/contrib/apr/locks/unix/ |
H A D | thread_cond.c | 91 apr_time_t then; local 94 then = apr_time_now() + timeout; 95 abstime.tv_sec = apr_time_sec(then); 96 abstime.tv_nsec = apr_time_usec(then) * 1000; /* nanoseconds */
|
/freebsd-13-stable/sys/cam/ |
H A D | cam_iosched.h | 68 cam_iosched_delta_t(uintptr_t then) argument 72 return (cam_iosched_now() - then);
|
/freebsd-13-stable/contrib/bmake/unit-tests/ |
H A D | varmod-ifelse.mk | 3 # Tests for the ${cond:?then:else} variable modifier, which evaluates either 4 # the then-expression or the else-expression, depending on the condition. 8 # Until 2015-10-11, the modifier always evaluated both the "then" and the 13 # The variable name of the expression is expanded and then taken as the 53 .if ${1:?then:else:Q} != "then" 56 .if ${0:?then:else:Q} != "else:Q" 80 # then supposed to do proper error handling, but since varUndefined is local 97 # this expansion is then taken as the condition. To force the variable
|
/freebsd-13-stable/usr.bin/systat/ |
H A D | devs.c | 395 dsshow2(int diskcol, int diskrow, int dn, int lc, struct statinfo *now, struct statinfo *then) argument 404 if (then != NULL) { 406 elapsed_time = now->snap_time - then->snap_time; 413 if (devstat_compute_statistics(&now->dinfo->devices[di], then ? 414 &then->dinfo->devices[di] : NULL, elapsed_time, 430 dsshow3(int diskcol, int diskrow, int dn, int lc, struct statinfo *now, struct statinfo *then) argument 432 dsshow2(diskcol, diskrow, dn, lc, now, then); 436 dsshow(int maxdrives, int diskcol, int diskrow, struct statinfo *now, struct statinfo *then) argument 442 dsshow3(diskcol, diskrow, i, ++lc, now, then);
|
/freebsd-13-stable/contrib/netbsd-tests/kernel/kqueue/ |
H A D | t_sig.c | 117 struct timeval then, now, diff; local 119 RL(gettimeofday(&then, NULL)); 122 timersub(&now, &then, &diff);
|
/freebsd-13-stable/tools/tools/netrate/netreceive/ |
H A D | netreceive.c | 162 struct timespec now, then, delta; local 165 clock_gettime(CLOCK_REALTIME, &then); 166 fprintf(stderr, "start at %ld.%09ld\n", then.tv_sec, then.tv_nsec); 182 timespec_sub(&delta, &then); 183 then = now;
|