Home
last modified time | relevance | path

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

12

/freebsd/share/i18n/csmapper/
H A DMakefile21 charset.pivot: ${SUBDIR}
23 cat $$i/charset.pivot.$$i; \
24 done; cat ${.CURDIR}/charset.pivot.src); \
27 charset.pivot.pvdb: charset.pivot
30 FILES+= charset.pivot charset.pivot.pvdb
31 CLEANFILES+= charset.pivot charset.pivot.pvdb
H A DMakefile.part40 .if !target(charset.pivot.${ESUBDIR})
41 .if !exists(charset.pivot.${ESUBDIR}.src)
42 charset.pivot.${ESUBDIR}: ${CODE}.part
50 charset.pivot.${ESUBDIR}: charset.pivot.${ESUBDIR}.src
54 CLEANFILES+= charset.pivot.${ESUBDIR}
77 all: mapper.dir.${ESUBDIR} charset.pivot.${ESUBDIR}
H A Dcharset.pivot.src1 # $NetBSD: charset.pivot.src,v 1.1 2003/06/27 08:40:00 tshiozak Exp $
/freebsd/contrib/ntp/libntp/
H A Dntp_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 …]
H A Dcalyearstart.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()
H A Dntp_calendar.c445 * Do a periodic extension of 'value' around 'pivot' with a period of
451 * 2) pivot <= res < pivot + cycle
477 * Basically, the function delivers 'pivot + (value - pivot) % cycle',
479 * integer overflows in the '(value - pivot) % cycle' part and adheres
492 int32_t pivot, in ntpcal_periodic_extend()
506 * return the pivot value in that case. in ntpcal_periodic_extend()
509 uint32_t up = (uint32_t)pivot; in ntpcal_periodic_extend()
515 sf = UINT32_C(0) - (value < pivot); in ntpcal_periodic_extend()
493 ntpcal_periodic_extend(int32_t pivot,int32_t value,int32_t cycle) ntpcal_periodic_extend() argument
577 ntpcal_ntp_to_time(uint32_t ntp,const time_t * pivot) ntpcal_ntp_to_time() argument
626 ntpcal_ntp_to_ntp(uint32_t ntp,const time_t * pivot) ntpcal_ntp_to_ntp() argument
[all...]
H A Dsystime.c520 time_t pivot; /* for ntp era unfolding */ in step_systime()
526 * Get pivot time for NTP era unfolding. Since we don't step in step_systime()
531 pivot = basedate_get_eracenter(); in step_systime()
540 pivot = 0x7FFFFFFF; in step_systime()
560 timetv = lfp_stamp_to_tval(fp_sys, &pivot); in step_systime()
521 time_t pivot; /* for ntp era unfolding */ step_systime() local
/freebsd/contrib/ntp/include/
H A Dntp_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()
H A Dntp_stdlib.h93 * the corresponding calendar unit. Use the pivot time to unfold
95 * pivot pointer is NULL.
97 extern u_int32 calyearstart (u_int32 ntptime, const time_t *pivot);
98 extern u_int32 calmonthstart (u_int32 ntptime, const time_t *pivot);
99 extern u_int32 calweekstart (u_int32 ntptime, const time_t *pivot);
100 extern u_int32 caldaystart (u_int32 ntptime, const time_t *pivot);
/freebsd/lib/libc/iconv/
H A Dcitrus_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/contrib/ntp/ntpd/
H A Dntp_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);
H A Dntp_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()
H A Dntp_leapsec.c269 const time_t * pivot) in leapsec_dump()
278 ts64 = ntpcal_ntp_to_ntp(ts32, pivot); in leapsec_dump()
359 const time_t * pivot) in leapsec_query()
365 ts64 = ntpcal_ntp_to_ntp(ntpts, pivot); in leapsec_query()
590 const time_t * pivot) in leapsec_daystolive()
596 if (pivot == NULL) { in leapsec_daystolive()
598 pivot = &tpiv; in leapsec_daystolive()
601 et64 = ntpcal_ntp_to_ntp(etime, pivot); in leapsec_daystolive()
602 tt64 = ntpcal_ntp_to_ntp(ttime, pivot);
624 const time_t * pivot )
289 leapsec_query(leap_result_t * qr,uint32_t ts32,const time_t * pivot) leapsec_query() argument
379 leapsec_query_era(leap_era_t * qr,uint32_t ntpts,const time_t * pivot) leapsec_query_era() argument
644 leapsec_add_dyn(int insert,uint32_t ntpnow,const time_t * pivot) leapsec_add_dyn() argument
660 leapsec_autokey_tai(int tai_offset,uint32_t ntpnow,const time_t * pivot) leapsec_autokey_tai() argument
[all...]
/freebsd/share/i18n/csmapper/CP/
H A DMakefile21 charset.pivot.CP: CP.part charset.pivot.CP.src
28 cat ${.CURDIR}/charset.pivot.CP.src;\
H A Dcharset.pivot.CP.src1 # $NetBSD: charset.pivot.CP.src,v 1.6 2007/02/17 12:39:44 tnozaki Exp $
/freebsd/share/i18n/csmapper/KOI/
H A DMakefile31 charset.pivot.KOI: KOI8.part charset.pivot.KOI.src
33 cat ${.CURDIR}/charset.pivot.KOI.src; \
H A Dcharset.pivot.KOI.src1 # $NetBSD: charset.pivot.KOI.src,v 1.1 2006/09/16 08:38:20 tnozaki Exp $
/freebsd/contrib/llvm-project/lld/MachO/
H A DExportTrie.cpp231 int pivot = charAt(pivotSymbol, pos); in sortAndBuild() local
236 if (c < pivot) in sortAndBuild()
238 else if (c > pivot) in sortAndBuild()
244 bool isTerminal = pivot == -1; in sortAndBuild()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_util.c639 char **lesser, **greater, **tmp, *pivot; in archive_utility_string_sort_helper() local
648 pivot = strings[0]; in archive_utility_string_sort_helper()
651 if (strcmp(strings[i], pivot) < 0) in archive_utility_string_sort_helper()
684 strings[lesser_count] = pivot; in archive_utility_string_sort_helper()
/freebsd/share/i18n/csmapper/TCVN/
H A Dcharset.pivot.TCVN.src1 # $NetBSD: charset.pivot.TCVN.src,v 1.1 2006/11/13 15:16:30 tnozaki Exp $
/freebsd/share/i18n/csmapper/KAZAKH/
H A Dcharset.pivot.KAZAKH.src1 # $NetBSD: charset.pivot.KAZAKH.src,v 1.1 2007/03/13 16:34:38 tnozaki Exp $
/freebsd/share/i18n/csmapper/KS/
H A Dcharset.pivot.KS.src1 # $NetBSD: charset.pivot.KS.src,v 1.2 2006/10/18 17:54:55 tnozaki Exp $
/freebsd/share/i18n/csmapper/CNS/
H A Dcharset.pivot.CNS.src1 # $NetBSD: charset.pivot.CNS.src,v 1.3 2007/03/05 16:57:15 tnozaki Exp $
/freebsd/share/i18n/csmapper/BIG5/
H A Dcharset.pivot.BIG5.src1 # $NetBSD: charset.pivot.BIG5.src,v 1.2 2007/03/05 16:57:12 tnozaki Exp $
/freebsd/share/i18n/csmapper/MISC/
H A Dcharset.pivot.MISC.src1 # $NetBSD: charset.pivot.MISC.src,v 1.11 2007/04/01 18:52:30 tnozaki Exp $

12