Home
last modified time | relevance | path

Searched refs:pivot (Results 1 – 25 of 33) sorted by relevance

12

/freebsd-11-stable/contrib/ntp/libntp/
HDntp_calgps.c191 TcNtpDatum * pivot, in _gpsntp_from_daytime() argument
203 retv.days = pivot->days; in _gpsntp_from_daytime()
206 if (pivot->secs < shift) { in _gpsntp_from_daytime()
207 int32_t lim = pivot->secs + shift; in _gpsntp_from_daytime()
209 (retv.secs == lim && retv.frac >= pivot->frac)); in _gpsntp_from_daytime()
211 int32_t lim = pivot->secs - shift; in _gpsntp_from_daytime()
213 (retv.secs == lim && retv.frac < pivot->frac)); in _gpsntp_from_daytime()
228 TcNtpDatum * pivot, in gpsntp_from_daytime2_ex() argument
232 TNtpDatum dpiv = *pivot; in gpsntp_from_daytime2_ex()
248 l_fp pivot, in gpsntp_from_daytime1_ex() argument
[all …]
HDcalyearstart.c23 calyearstart(u_int32 ntptime, const time_t *pivot) in calyearstart() argument
29 vlong = ntpcal_ntp_to_ntp(ntptime, pivot); in calyearstart()
42 calmonthstart(u_int32 ntptime, const time_t *pivot) in calmonthstart() argument
48 vlong = ntpcal_ntp_to_ntp(ntptime, pivot); in calmonthstart()
61 calweekstart(u_int32 ntptime, const time_t *pivot) in calweekstart() argument
67 vlong = ntpcal_ntp_to_ntp(ntptime, pivot); in calweekstart()
79 caldaystart(u_int32 ntptime, const time_t *pivot) in caldaystart() argument
84 vlong = ntpcal_ntp_to_ntp(ntptime, pivot); in caldaystart()
HDntp_calendar.c493 int32_t pivot, in ntpcal_periodic_extend() argument
510 uint32_t up = (uint32_t)pivot; in ntpcal_periodic_extend()
516 sf = UINT32_C(0) - (value < pivot); in ntpcal_periodic_extend()
520 pivot += (uc & sf) + (sf ^ uv); in ntpcal_periodic_extend()
525 sf = UINT32_C(0) - (value > pivot); in ntpcal_periodic_extend()
529 pivot -= (uc & sf) + (sf ^ uv); in ntpcal_periodic_extend()
531 return pivot; in ntpcal_periodic_extend()
577 const time_t * pivot in ntpcal_ntp_to_time() argument
584 res.q_s = (pivot != NULL) in ntpcal_ntp_to_time()
585 ? *pivot in ntpcal_ntp_to_time()
[all …]
HDsystime.c521 time_t pivot; /* for ntp era unfolding */ in step_systime() local
532 pivot = basedate_get_eracenter(); in step_systime()
541 pivot = 0x7FFFFFFF; in step_systime()
561 timetv = lfp_stamp_to_tval(fp_sys, &pivot); in step_systime()
/freebsd-11-stable/share/i18n/csmapper/
HDMakefile22 charset.pivot: ${SUBDIR}
24 cat $$i/charset.pivot.$$i; \
28 charset.pivot.pvdb: charset.pivot
31 FILES+= charset.pivot charset.pivot.pvdb
32 CLEANFILES+= charset.pivot charset.pivot.pvdb
HDMakefile.part43 .if !target(charset.pivot.${ESUBDIR})
44 .if !exists(charset.pivot.${ESUBDIR}.src)
45 charset.pivot.${ESUBDIR}: ${CODE}.part
53 charset.pivot.${ESUBDIR}: charset.pivot.${ESUBDIR}.src
57 CLEANFILES+= charset.pivot.${ESUBDIR}
80 all: mapper.dir.${ESUBDIR} charset.pivot.${ESUBDIR}
HDcharset.pivot.src2 # $NetBSD: charset.pivot.src,v 1.1 2003/06/27 08:40:00 tshiozak Exp $
/freebsd-11-stable/contrib/ntp/include/
HDntp_calgps.h79 gpscal_from_weektime1(int32_t wsecs, l_fp fofs, l_fp pivot);
82 gpscal_from_weektime2(int32_t wsecs, l_fp fofs, TcGpsDatum *pivot);
114 gpsntp_from_daytime1_ex(TcCivilDate *dt, l_fp fofs, l_fp pivot, int/*BOOL*/ warp);
117 gpsntp_from_daytime1(TcCivilDate *dt, l_fp fofs, l_fp pivot) { in gpsntp_from_daytime1() argument
118 return gpsntp_from_daytime1_ex(dt, fofs, pivot, TRUE); in gpsntp_from_daytime1()
122 gpsntp_from_daytime2_ex(TcCivilDate *dt, l_fp fofs, TcNtpDatum *pivot, int/*BOOL*/ warp);
125 gpsntp_from_daytime2(TcCivilDate *dt, l_fp fofs, TcNtpDatum *pivot) { in gpsntp_from_daytime2() argument
126 return gpsntp_from_daytime2_ex(dt, fofs, pivot, TRUE); in gpsntp_from_daytime2()
HDntp_stdlib.h87 extern u_int32 calyearstart (u_int32 ntptime, const time_t *pivot);
88 extern u_int32 calmonthstart (u_int32 ntptime, const time_t *pivot);
89 extern u_int32 calweekstart (u_int32 ntptime, const time_t *pivot);
90 extern u_int32 caldaystart (u_int32 ntptime, const time_t *pivot);
/freebsd-11-stable/lib/libc/iconv/
HDcitrus_csmapper.c101 find_best_pivot_pvdb(const char *src, const char *dst, char *pivot, in find_best_pivot_pvdb() argument
153 strlcpy(pivot, buf, pvlen); in find_best_pivot_pvdb()
244 find_best_pivot_lookup(const char *src, const char *dst, char *pivot, in find_best_pivot_lookup() argument
281 strlcpy(pivot, pivot_min, pvlen); in find_best_pivot_lookup()
289 find_best_pivot(const char *src, const char *dst, char *pivot, size_t pvlen, in find_best_pivot() argument
294 ret = find_best_pivot_pvdb(src, dst, pivot, pvlen, rnorm); in find_best_pivot()
296 ret = find_best_pivot_lookup(src, dst, pivot, pvlen, rnorm); in find_best_pivot()
304 const char *src, const char *pivot, const char *dst) in open_serial_mapper() argument
308 snprintf(buf, sizeof(buf), "%s/%s,%s/%s", src, pivot, pivot, dst); in open_serial_mapper()
345 char buf1[PATH_MAX], buf2[PATH_MAX], key[PATH_MAX], pivot[PATH_MAX]; in _citrus_csmapper_open() local
[all …]
/freebsd-11-stable/contrib/ntp/ntpd/
HDntp_leapsec.h199 extern int/*BOOL*/ leapsec_expired(uint32_t when, const time_t * pivot);
205 extern int32_t leapsec_daystolive(uint32_t when, const time_t * pivot);
220 const time_t * pivot);
236 const time_t * pivot);
246 const time_t * pivot);
252 const time_t * pivot);
272 const time_t * pivot);
HDntp_filegen.c100 const time_t * pivot in filegen_open() argument
154 ntpcal_ntp_to_date(&cal, stamp, pivot); in filegen_open()
163 isocal_ntp_to_date(&iso, stamp, pivot); in filegen_open()
173 ntpcal_ntp_to_date(&cal, stamp, pivot); in filegen_open()
184 ntpcal_ntp_to_date(&cal, stamp, pivot); in filegen_open()
354 time_t pivot; in filegen_setup() local
394 pivot = time(NULL); in filegen_setup()
395 filegen_open(gen, now, &pivot); in filegen_setup()
HDntp_leapsec.c288 const time_t * pivot) in leapsec_query() argument
297 ts64 = ntpcal_ntp_to_ntp(ts32, pivot); in leapsec_query()
378 const time_t * pivot) in leapsec_query_era() argument
384 ts64 = ntpcal_ntp_to_ntp(ntpts, pivot); in leapsec_query_era()
609 const time_t * pivot)
615 if (pivot == NULL) {
617 pivot = &tpiv;
620 et64 = ntpcal_ntp_to_ntp(etime, pivot);
621 tt64 = ntpcal_ntp_to_ntp(ttime, pivot);
643 const time_t * pivot ) in leapsec_add_dyn() argument
[all …]
/freebsd-11-stable/share/i18n/csmapper/CP/
HDMakefile22 charset.pivot.CP: CP.part charset.pivot.CP.src
29 cat ${.CURDIR}/charset.pivot.CP.src;\
HDcharset.pivot.CP.src2 # $NetBSD: charset.pivot.CP.src,v 1.6 2007/02/17 12:39:44 tnozaki Exp $
/freebsd-11-stable/share/i18n/csmapper/KOI/
HDMakefile32 charset.pivot.KOI: KOI8.part charset.pivot.KOI.src
34 cat ${.CURDIR}/charset.pivot.KOI.src; \
HDcharset.pivot.KOI.src2 # $NetBSD: charset.pivot.KOI.src,v 1.1 2006/09/16 08:38:20 tnozaki Exp $
/freebsd-11-stable/contrib/libarchive/libarchive/
HDarchive_util.c590 char **lesser, **greater, **tmp, *pivot; in archive_utility_string_sort_helper() local
599 pivot = strings[0]; in archive_utility_string_sort_helper()
602 if (strcmp(strings[i], pivot) < 0) in archive_utility_string_sort_helper()
637 strings[lesser_count] = pivot; in archive_utility_string_sort_helper()
/freebsd-11-stable/contrib/xz/src/liblzma/common/
HDindex.c269 index_tree_node *pivot = node->right; in index_tree_append() local
272 tree->root = pivot; in index_tree_append()
275 node->parent->right = pivot; in index_tree_append()
278 pivot->parent = node->parent; in index_tree_append()
280 node->right = pivot->left; in index_tree_append()
284 pivot->left = node; in index_tree_append()
285 node->parent = pivot; in index_tree_append()
/freebsd-11-stable/share/i18n/csmapper/KAZAKH/
HDcharset.pivot.KAZAKH.src2 # $NetBSD: charset.pivot.KAZAKH.src,v 1.1 2007/03/13 16:34:38 tnozaki Exp $
/freebsd-11-stable/share/i18n/csmapper/TCVN/
HDcharset.pivot.TCVN.src2 # $NetBSD: charset.pivot.TCVN.src,v 1.1 2006/11/13 15:16:30 tnozaki Exp $
/freebsd-11-stable/share/i18n/csmapper/KS/
HDcharset.pivot.KS.src2 # $NetBSD: charset.pivot.KS.src,v 1.2 2006/10/18 17:54:55 tnozaki Exp $
/freebsd-11-stable/share/i18n/csmapper/BIG5/
HDcharset.pivot.BIG5.src2 # $NetBSD: charset.pivot.BIG5.src,v 1.2 2007/03/05 16:57:12 tnozaki Exp $
/freebsd-11-stable/share/i18n/csmapper/CNS/
HDcharset.pivot.CNS.src2 # $NetBSD: charset.pivot.CNS.src,v 1.3 2007/03/05 16:57:15 tnozaki Exp $
/freebsd-11-stable/share/i18n/csmapper/MISC/
HDcharset.pivot.MISC.src2 # $NetBSD: charset.pivot.MISC.src,v 1.11 2007/04/01 18:52:30 tnozaki Exp $

12