| /src/crypto/dist/ipsec-tools/src/racoon/ |
| gssapi.c | 189 struct gssapi_ph1_state *gps; local 200 gps = racoon_calloc(1, sizeof (struct gssapi_ph1_state)); 201 if (gps == NULL) { 205 gps->gss_context = GSS_C_NO_CONTEXT; 206 gps->gss_cred = GSS_C_NO_CREDENTIAL; 208 gssapi_set_state(iph1, gps); 262 GSS_C_NO_OID_SET, GSS_C_BOTH, &gps->gss_cred, NULL, NULL); 282 struct gssapi_ph1_state *gps; local 291 gps = gssapi_get_state(iph1); 314 rtoken = gps->gsscnt_p == 0 ? dummy : &gps->gss_p[gps->gsscnt_p - 1] 353 struct gssapi_ph1_state *gps; local 408 struct gssapi_ph1_state *gps; local 430 struct gssapi_ph1_state *gps; local 451 struct gssapi_ph1_state *gps; local 486 struct gssapi_ph1_state *gps; local 524 struct gssapi_ph1_state *gps; local 584 struct gssapi_ph1_state *gps; local 629 struct gssapi_ph1_state *gps; local 639 struct gssapi_ph1_state *gps; local 649 struct gssapi_ph1_state *gps; local 659 struct gssapi_ph1_state *gps; local 669 struct gssapi_ph1_state *gps; local [all...] |
| /src/external/bsd/ntp/dist/libntp/ |
| ntp_calgps.c | 4 * ntp_calgps.c - calendar for GPS/GNSS based clocks 11 * This module implements stuff often used with GPS/GNSS receivers 50 * GPS calendar functions 267 * Given a calendar date, zap it into a GPS time format and then convert 277 TGpsDatum gps; local 278 gps = gpscal_from_calendar_ex(jd, fofs, warp); 279 return gpsntp_from_gpscal_ex(&gps, FALSE); 345 * API functions GPS week calendar 384 * Given a calendar date, zap it into a GPS time format and the do a 385 * proper era mapping in the GPS time scale, based on the GPS base date 410 TGpsDatum gps; local [all...] |
| /src/external/bsd/ntp/dist/tests/libntp/ |
| calendar.c | 292 TEST_ASSERT_EQUAL_MESSAGE(DAY_GPS_STARTS, rdn, "(GPS EPOCH)"); 877 * GPS rollover 889 TGpsDatum gps; local 901 gps = gpscal_from_calendar(&jd, fpz); 902 TEST_ASSERT_EQUAL_MESSAGE(week0, gps.weeks, "(week test 1))"); 903 TEST_ASSERT_EQUAL_MESSAGE(wsec1, gps.wsecs, "(secs test 1)"); 906 gps = gpscal_from_calendar(&jd, fpz); 907 TEST_ASSERT_EQUAL_MESSAGE(week0, gps.weeks, "(week test 2)"); 908 TEST_ASSERT_EQUAL_MESSAGE(wsec2, gps.wsecs, "(secs test 2)"); 911 gps = gpscal_from_calendar(&jd, fpz) [all...] |