/freebsd-12-stable/contrib/ntp/libntp/ |
H A D | calyearstart.c | 23 calyearstart(u_int32 ntptime, const time_t *pivot) argument 29 vlong = ntpcal_ntp_to_ntp(ntptime, pivot); 42 calmonthstart(u_int32 ntptime, const time_t *pivot) argument 48 vlong = ntpcal_ntp_to_ntp(ntptime, pivot); 61 calweekstart(u_int32 ntptime, const time_t *pivot) argument 67 vlong = ntpcal_ntp_to_ntp(ntptime, pivot); 79 caldaystart(u_int32 ntptime, const time_t *pivot) argument 84 vlong = ntpcal_ntp_to_ntp(ntptime, pivot);
|
H A D | ntp_calgps.c | 191 TcNtpDatum * pivot, 199 /* set result based on pivot -- ops order is important here */ 203 retv.days = pivot->days; 206 if (pivot->secs < shift) { 207 int32_t lim = pivot->secs + shift; 209 (retv.secs == lim && retv.frac >= pivot->frac)); 211 int32_t lim = pivot->secs - shift; 213 (retv.secs == lim && retv.frac < pivot->frac)); 220 * (fractional) offset, calculate a full time stamp around a given pivot 221 * time so that the difference between the pivot an 188 _gpsntp_from_daytime( TcCivilDate * jd, l_fp fofs, TcNtpDatum * pivot, int warp ) argument 225 gpsntp_from_daytime2_ex( TcCivilDate * jd, l_fp fofs, TcNtpDatum * pivot, int warp ) argument 245 gpsntp_from_daytime1_ex( TcCivilDate * jd, l_fp fofs, l_fp pivot, int warp ) argument [all...] |
H A D | ntp_calendar.c | 446 * Do a periodic extension of 'value' around 'pivot' with a period of 452 * 2) pivot <= res < pivot + cycle 478 * Basically, the function delivers 'pivot + (value - pivot) % cycle', 480 * integer overflows in the '(value - pivot) % cycle' part and adheres 493 int32_t pivot, 507 * return the pivot value in that case. 510 uint32_t up = (uint32_t)pivot; 516 sf = UINT32_C(0) - (value < pivot); 492 ntpcal_periodic_extend( int32_t pivot, int32_t value, int32_t cycle ) argument [all...] |
H A D | systime.c | 521 time_t pivot; /* for ntp era unfolding */ local 527 * Get pivot time for NTP era unfolding. Since we don't step 532 pivot = basedate_get_eracenter(); 541 pivot = 0x7FFFFFFF; 561 timetv = lfp_stamp_to_tval(fp_sys, &pivot);
|
/freebsd-12-stable/share/i18n/csmapper/ |
H A D | Makefile | 22 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
|
H A D | Makefile.part | 43 .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}
|
/freebsd-12-stable/contrib/ntp/ntpd/ |
H A D | ntp_leapsec.h | 199 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); 239 * stamp is subject to era unfolding around the pivot or the current 240 * system time if pivot is NULL. Sets the information in '*qr' and 246 const time_t * pivot); 252 const time_t * pivot); 272 const time_t * pivot);
|
H A D | ntp_filegen.c | 100 const time_t * pivot 154 ntpcal_ntp_to_date(&cal, stamp, pivot); 163 isocal_ntp_to_date(&iso, stamp, pivot); 173 ntpcal_ntp_to_date(&cal, stamp, pivot); 184 ntpcal_ntp_to_date(&cal, stamp, pivot); 354 time_t pivot; local 394 pivot = time(NULL); 395 filegen_open(gen, now, &pivot);
|
H A D | ntp_leapsec.c | 288 const time_t * pivot) 297 ts64 = ntpcal_ntp_to_ntp(ts32, pivot); 378 const time_t * pivot) 384 ts64 = ntpcal_ntp_to_ntp(ntpts, pivot); 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 ) 285 leapsec_query( leap_result_t * qr , uint32_t ts32 , const time_t * pivot) argument 375 leapsec_query_era( leap_era_t * qr , uint32_t ntpts, const time_t * pivot) argument [all...] |
/freebsd-12-stable/share/i18n/csmapper/CP/ |
H A D | Makefile | 22 charset.pivot.CP: CP.part charset.pivot.CP.src 29 cat ${.CURDIR}/charset.pivot.CP.src;\
|
/freebsd-12-stable/contrib/ntp/include/ |
H A D | ntp_calgps.h | 79 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) { argument 118 return gpsntp_from_daytime1_ex(dt, fofs, pivot, TRUE); 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) { argument 126 return gpsntp_from_daytime2_ex(dt, fofs, pivot, TRUE);
|
H A D | ntp_stdlib.h | 83 * the corresponding calendar unit. Use the pivot time to unfold 85 * pivot pointer is NULL. 87 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);
|
H A D | timespecops.h | 218 * pivot time *p or the current time, if p is NULL. 220 extern struct timespec lfp_stamp_to_tspec(l_fp x, const time_t *pivot);
|
/freebsd-12-stable/lib/libc/iconv/ |
H A D | citrus_csmapper.c | 66 #define CS_PIVOT _PATH_CSMAPPER "/charset.pivot" 103 find_best_pivot_pvdb(const char *src, const char *dst, char *pivot, argument 129 /* iterate each pivot */ 133 /* r1:pivot name, r2:norm among src and pivot */ 140 /* buf: pivot name */ 147 /* r2: norm among pivot and dst */ 155 strlcpy(pivot, buf, pvlen); 246 find_best_pivot_lookup(const char *src, const char *dst, char *pivot, argument 262 /* find pivot cod 291 find_best_pivot(const char *src, const char *dst, char *pivot, size_t pvlen, unsigned long *rnorm) argument 304 open_serial_mapper(struct _citrus_mapper_area *__restrict ma, struct _citrus_mapper * __restrict * __restrict rcm, const char *src, const char *pivot, const char *dst) argument 347 char buf1[PATH_MAX], buf2[PATH_MAX], key[PATH_MAX], pivot[PATH_MAX]; local [all...] |
/freebsd-12-stable/share/i18n/csmapper/KOI/ |
H A D | Makefile | 32 charset.pivot.KOI: KOI8.part charset.pivot.KOI.src 34 cat ${.CURDIR}/charset.pivot.KOI.src; \
|
/freebsd-12-stable/share/i18n/csmapper/ISO-8859/ |
H A D | Makefile | 28 charset.pivot.ISO-8859: ISO-8859.part
|
/freebsd-12-stable/contrib/libarchive/libarchive/ |
H A D | archive_util.c | 590 char **lesser, **greater, **tmp, *pivot; local 599 pivot = strings[0]; 602 if (strcmp(strings[i], pivot) < 0) 636 /* pivot */ 637 strings[lesser_count] = pivot;
|
/freebsd-12-stable/contrib/xz/src/liblzma/common/ |
H A D | index.c | 269 index_tree_node *pivot = node->right; local 272 tree->root = pivot; 275 node->parent->right = pivot; 278 pivot->parent = node->parent; 280 node->right = pivot->left; 284 pivot->left = node; 285 node->parent = pivot;
|