| /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/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/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 \
|
| bsd.kinc.mk | 33 @if [ ! -d ${.TARGET} ] || [ -h ${.TARGET} ] ; then \ 72 [ "$$l" = "$$ttarg" ]; then \
|
| bsd.links.mk | 37 [ "$$l" = "$$ttarg" ]; then \ 71 [ "$$l" = "$$ttarg" ]; 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...] |
| edge_cases.c | 59 Begin at the beginning, then continue until you come to the end; 60 then stop;
|
| /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/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/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
|
| n_tan.S | 55 beql 1f # if x is zero or reserved operand then return x
|
| /src/distrib/syspkg/mk/ |
| bsd.syspkg.mk | 144 if [ ${PKGTOOLS_VERSION} -lt ${PKGTOOLS_REQD} ]; then \ 236 if [ "X$$found" != "X" -a "X$$found" != "X${PKGNAME}" ]; then \ 247 if [ ! -d ${PKGREPOSITORY} ]; then \ 249 if [ $$? -ne 0 ]; then \ 254 if ${PKG_CREATE} ${PKG_ARGS_BINPKG} ${PKGFILE}; then \ 268 if [ ! -d ${PACKAGES}/$$cat ]; then \ 270 if [ $$? -ne 0 ]; then \ 358 if [ "$$found" != "" ]; then \ 365 if [ "$$found" != "" ]; then \ 404 @if [ -f ${PKGFILE} ] ; then \ [all...] |
| /src/common/dist/zlib/contrib/delphi/ |
| ZLib.pas | 268 if code < 0 then 275 if code < 0 then 282 if code < 0 then 335 if OutEstimate = 0 then 380 if DCheck(inflate(strm, Z_FINISH)) <> Z_STREAM_END then 400 if Assigned(FOnProgress) then FOnProgress(Sender); 423 if FStrm.Position <> FStrmPos then FStrm.Position := FStrmPos; 431 if FZRec.avail_out < sizeof(FBuffer) then 448 if FStrm.Position <> FStrmPos then FStrm.Position := FStrmPos; 452 if FZRec.avail_out = 0 then [all...] |
| /src/sys/kern/ |
| kern_lock.c | 181 unsigned now, then; local 187 * because we first take the lock and then set the holder, it 203 then = atomic_load_relaxed(&kernel_lock_last_report); 205 if (now - then <= 10) 207 if (atomic_cas_uint(&kernel_lock_last_report, then, now) != then)
|
| /src/usr.bin/make/unit-tests/ |
| 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 43 # context, an undefined expression is not an error. The "variable name" then 56 .if ${1:?then:else:Q} != "then" 59 .if ${0:?then:else:Q} != "else:Q" 84 # then supposed to do proper error handling, but since varUndefined is local 102 # this expansion is then taken as the condition. To force th [all...] |
| var-eval-short.mk | 31 .if 0 && ${${FAIL}:?then:else} 52 # the nested expression ${FAIL} and then tried to parse the unexpanded text, 66 # nested expression ${FAIL}, which is correct, and then tried to compile the 69 # Compiling the regular expression then failed both because of the '{FAIL}', 158 .if 0 && ${0:?${FAIL}then:${FAIL}else} 167 .if 0 && ${DEFINED:L:?${FAIL}then:${FAIL}else}
|
| counter-append.mk | 17 # This variable is first set to empty and then expanded.
|
| counter.mk | 17 # This variable is first set to empty and then expanded.
|
| /src/tests/kernel/kqueue/ |
| t_sig.c | 107 struct timeval then, now, diff; local 109 RL(gettimeofday(&then, NULL)); 112 timersub(&now, &then, &diff); 173 * Then, later on, the kernel will post a NOTE_EXIT
|
| /src/libexec/httpd/ |
| printenv.lua | 13 -- and then navigate to: http://127.0.0.1:8080/test/printenv 55 if query ~= nil then 82 if query ~= nil then 85 if env.CONTENT_TYPE ~= nil then
|