| /src/sbin/dump/ |
| unctime.c | 55 struct tm then; local 57 str = strptime(str, "%a %b %e %H:%M:%S %Y", &then); 58 then.tm_isdst = -1; 61 return mktime(&then);
|
| /src/external/bsd/zstd/dist/contrib/premake/ |
| zstd.lua | 5 if compression == nil then compression = true end 6 if decompression == nil then decompression = true end 7 if deprecated == nil then deprecated = false end 8 if dictbuilder == nil then dictbuilder = false end 10 if legacy == nil then legacy = 0 end 12 if not compression then 17 if not decompression then 32 if compression then 39 if decompression then 46 if dictbuilder then [all...] |
| /src/sys/external/bsd/drm2/include/linux/ |
| timer.h | 61 mod_timer(struct timer_list *timer, unsigned long then) 67 callout_schedule(&timer->tl_callout, (now < then? (then - now) : 0)); 72 mod_timer_pinned(struct timer_list *timer, unsigned long then) 76 mod_timer(timer, then);
|
| /src/common/lib/libc/arch/arm/ |
| features.mk | 5 FEAT_EABI!=if ${COMPILE.c} ${COPTS} -fsyntax-only -DEABI_TEST ${TESTFILE} >/dev/null 2>/dev/null; then echo yes; else echo no; fi 6 FEAT_LDREX!=if ${COMPILE.c} ${COPTS} -fsyntax-only -DLDREX_TEST ${TESTFILE} >/dev/null 2>/dev/null; then echo yes; else echo no; fi 7 FEAT_LDRD!=if ${COMPILE.c} ${COPTS} -fsyntax-only -DLDRD_TEST ${TESTFILE} >/dev/null 2>/dev/null; then echo yes; else echo no; fi 8 FEAT_THUMB2!=if ${COMPILE.c} ${COPTS} -fsyntax-only -DTHUMB2_TEST ${TESTFILE} >/dev/null 2>/dev/null; then echo yes; else echo no; fi
|
| /src/libexec/httpd/lua/ |
| optparse.lua | 12 -- <opt> the option string to be used (can be anything, if one letter opt, then should be -x val, more letters: -xy=val ) 48 if flag then 59 if optdesc then 62 if action == 'store' or action == nil then 65 if not val then o.fail('option requires an argument ' .. v) end 66 elseif action == 'store_true' then 68 elseif action == 'store_false' then 73 if v:match('^%-') then o.fail('invalid option ' .. v) end 78 if options.help then 82 if options.version then [all...] |
| /src/crypto/external/bsd/netpgp/dist/bindings/lua/ |
| optparse.lua | 12 -- <opt> the option string to be used (can be anything, if one letter opt, then should be -x val, more letters: -xy=val ) 48 if flag then 59 if optdesc then 62 if action == 'store' or action == nil then 65 if not val then o.fail('option requires an argument ' .. v) end 66 elseif action == 'store_true' then 68 elseif action == 'store_false' then 73 if v:match('^%-') then o.fail('invalid option ' .. v) end 78 if options.help then 82 if options.version then [all...] |
| /src/crypto/external/bsd/netpgp/dist/src/hkpclient/ |
| optparse.lua | 12 -- <opt> the option string to be used (can be anything, if one letter opt, then should be -x val, more letters: -xy=val ) 48 if flag then 59 if optdesc then 62 if action == 'store' or action == nil then 65 if not val then o.fail('option requires an argument ' .. v) end 66 elseif action == 'store_true' then 68 elseif action == 'store_false' then 73 if v:match('^%-') then o.fail('invalid option ' .. v) end 78 if options.help then 82 if options.version then [all...] |
| /src/external/gpl3/gcc/dist/gcc/config/nios2/ |
| nios2-ldstwm.sml | 40 fun conds cond str = if cond then str else ""; 41 fun ints n = if n>=0 then (Int.toString n) else ("-" ^ (Int.toString (~n))); 50 (if pptype=push then " " 59 if pptype=push then 65 val start = 1 + (if fp then 2 else 1); 66 val lim = n + (if fp then 2 else 1); 68 if pptype=push then (sets (mem i opndi) (reg i regi)) 71 if i > lim then [] 76 val ra_set = if pptype=push then sets (mem 1 2) ra_reg 78 val fp_set = (conds fp (if pptype=push then sets (mem 2 3) fp_re [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/config/nios2/ |
| nios2-ldstwm.sml | 40 fun conds cond str = if cond then str else ""; 41 fun ints n = if n>=0 then (Int.toString n) else ("-" ^ (Int.toString (~n))); 50 (if pptype=push then " " 59 if pptype=push then 65 val start = 1 + (if fp then 2 else 1); 66 val lim = n + (if fp then 2 else 1); 68 if pptype=push then (sets (mem i opndi) (reg i regi)) 71 if i > lim then [] 76 val ra_set = if pptype=push then sets (mem 1 2) ra_reg 78 val fp_set = (conds fp (if pptype=push then sets (mem 2 3) fp_re [all...] |
| /src/share/mk/ |
| bsd.obj.mk | 25 @if [ ! -d ${MAKEOBJDIRPREFIX} ]; then \ 31 @if [ ! -d ${__objdir} ]; then \ 33 if [ ! -d ${__objdir} ]; then \ 74 if [ "$$here" != "$$subdir" ]; then \ 75 if [ ! -d ${__usrobjdir} ]; then \ 83 [ "$$dest" = "$$ttarg" ]; then \ 90 if [ ! -d $$dest ]; then \ 98 if [ ! -d ${__objdir} ] || [ -h ${__objdir} ]; then \
|
| /src/usr.sbin/timed/timed/ |
| candidate.c | 51 struct timeval then, wait; local 84 (void)gettimeofday(&then, 0); 85 then.tv_sec += 3; 88 timersub(&then, &wait, &wait);
|
| /src/tests/usr.bin/indent/ |
| t_options.lua | 114 if max_empty_lines ~= n and seen_input_section then 121 if unused_input_lineno ~= 0 then 133 if not ok then 142 if line == "" then 146 if curr_empty_lines > max_empty_lines then 149 if curr_empty_lines > 0 then 150 if prev_empty_lines > 1 then 161 if prev_empty_lines ~= 2 and seen_input_section then 178 if section ~= "" then 182 if prev_empty_lines ~= 1 then [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/otp/ |
| otp_db.c | 113 time_t now, then; local 125 memcpy (&then, p, sizeof(then)); 126 ctx->lock_time = then; 129 if (then && now - then < OTP_USER_TIMEOUT) {
|
| /src/common/dist/zlib/contrib/pascal/ |
| example.pas | 39 if err <> Z_OK then 71 if StrComp(PChar(uncompr), hello) <> 0 then 93 if zfile = NIL then 99 if gzputs(zfile, 'ello') <> 4 then 105 if gzprintf(zfile, ', %s!', 'hello') <> 8 then 111 if gzputs(zfile, ', hello!') <> 8 then 121 if zfile = NIL then 129 if gzread(zfile, uncompr, uncomprLen) <> len then 134 if StrComp(PChar(uncompr), hello) <> 0 then 143 if (pos <> 6) or (gztell(zfile) <> pos) then [all...] |
| /src/external/gpl3/binutils/dist/zlib/contrib/pascal/ |
| example.pas | 39 if err <> Z_OK then 71 if StrComp(PChar(uncompr), hello) <> 0 then 93 if zfile = NIL then 99 if gzputs(zfile, 'ello') <> 4 then 105 if gzprintf(zfile, ', %s!', 'hello') <> 8 then 111 if gzputs(zfile, ', hello!') <> 8 then 121 if zfile = NIL then 129 if gzread(zfile, uncompr, uncomprLen) <> len then 134 if StrComp(PChar(uncompr), hello) <> 0 then 143 if (pos <> 6) or (gztell(zfile) <> pos) then [all...] |
| /src/external/gpl3/binutils.old/dist/zlib/contrib/pascal/ |
| example.pas | 39 if err <> Z_OK then 71 if StrComp(PChar(uncompr), hello) <> 0 then 93 if zfile = NIL then 99 if gzputs(zfile, 'ello') <> 4 then 105 if gzprintf(zfile, ', %s!', 'hello') <> 8 then 111 if gzputs(zfile, ', hello!') <> 8 then 121 if zfile = NIL then 129 if gzread(zfile, uncompr, uncomprLen) <> len then 134 if StrComp(PChar(uncompr), hello) <> 0 then 143 if (pos <> 6) or (gztell(zfile) <> pos) then [all...] |
| /src/external/gpl3/gcc/dist/gcc/config/arm/ |
| arm-ldmstm.ml | 38 then 66 if thumb then "l" else "rk" 75 if not first then 82 if thumb then "low_register_operand" else "arm_hard_general_register_operand" 86 Printf.printf "%s" (if first then " [" else indent); 89 begin if offset != 0 then Printf.printf "(plus:SI " end; 91 begin if offset != 0 then Printf.printf "\n%s (const_int %d))" indent offset end; 96 Printf.printf "%s" (if first then " [" else indent); 98 begin if offset != 0 then Printf.printf "(plus:SI " end; 100 begin if offset != 0 then Printf.printf " (const_int %d))" offset end [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/config/arm/ |
| arm-ldmstm.ml | 38 then 66 if thumb then "l" else "rk" 75 if not first then 82 if thumb then "low_register_operand" else "arm_hard_general_register_operand" 86 Printf.printf "%s" (if first then " [" else indent); 89 begin if offset != 0 then Printf.printf "(plus:SI " end; 91 begin if offset != 0 then Printf.printf "\n%s (const_int %d))" indent offset end; 96 Printf.printf "%s" (if first then " [" else indent); 98 begin if offset != 0 then Printf.printf "(plus:SI " end; 100 begin if offset != 0 then Printf.printf " (const_int %d))" offset end [all...] |
| /src/external/gpl3/gdb/dist/zlib/contrib/pascal/ |
| example.pas | 39 if err <> Z_OK then 71 if StrComp(PChar(uncompr), hello) <> 0 then 93 if zfile = NIL then 99 if gzputs(zfile, 'ello') <> 4 then 105 if gzprintf(zfile, ', %s!', 'hello') <> 8 then 111 if gzputs(zfile, ', hello!') <> 8 then 121 if zfile = NIL then 129 if gzread(zfile, uncompr, uncomprLen) <> len then 134 if StrComp(PChar(uncompr), hello) <> 0 then 143 if (pos <> 6) or (gztell(zfile) <> pos) then [all...] |
| /src/external/gpl3/gdb.old/dist/zlib/contrib/pascal/ |
| example.pas | 39 if err <> Z_OK then 71 if StrComp(PChar(uncompr), hello) <> 0 then 93 if zfile = NIL then 99 if gzputs(zfile, 'ello') <> 4 then 105 if gzprintf(zfile, ', %s!', 'hello') <> 8 then 111 if gzputs(zfile, ', hello!') <> 8 then 121 if zfile = NIL then 129 if gzread(zfile, uncompr, uncomprLen) <> len then 134 if StrComp(PChar(uncompr), hello) <> 0 then 143 if (pos <> 6) or (gztell(zfile) <> pos) then [all...] |
| /src/tests/lib/libc/sys/ |
| t_timerfd.c | 260 struct timespec then, now, delta; local 266 RL(clock_gettime(CLOCK_MONOTONIC, &then)); 267 timespecadd(&then, &its.it_value, &its.it_value); 282 timespecsub(&now, &then, &delta); 284 "then=%jd.%09lu now=%jd.%09lu delta=%jd.%09lu", 285 (intmax_t)then.tv_sec, then.tv_nsec, 301 struct timespec then, now, delta; local 313 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0); 325 timespecsub(&now, &then, &delta) 344 struct timespec then, now, delta; local 383 struct timespec then, now, delta; local 627 struct timespec then, now; local 720 struct timespec then, now, delta; local [all...] |
| /src/regress/sys/kern/kqueue/vnode/ |
| vnode.c | 48 struct timeval then, now, diff; local 95 if (gettimeofday(&then, NULL) == -1) 96 err(1, "gettimeofday then"); 100 timersub(&now, &then, &diff);
|
| /src/external/bsd/am-utils/dist/amd/ |
| clock.c | 59 void reschedule_timeouts(time_t now, time_t then); 181 reschedule_timeouts(time_t now, time_t then) 186 if (cp->c_time >= now && cp->c_time <= then) {
|
| /src/sys/arch/mips/mips/ |
| mips_mcclock_loop.S | 64 beqz v0, 1b # if zero then repeat 89 beqz v0, 1b # if zero then repeat
|
| /src/lib/libm/arch/vax/ |
| n_sincos.S | 64 beql 1f # if x is zero or reserved operand then return x 107 beql 1f # if x is reserved operand then return x
|