Home
last modified time | relevance | path

Searched refs:sd_sun (Results 1 – 7 of 7) sorted by relevance

/dports/www/uwsgi/uwsgi-2.0.20/core/
H A Dnotify.c46 struct sockaddr_un *sd_sun; in uwsgi_systemd_init() local
56 sd_sun = uwsgi_malloc(sizeof(struct sockaddr_un)); in uwsgi_systemd_init()
57 memset(sd_sun, 0, sizeof(struct sockaddr_un)); in uwsgi_systemd_init()
58 sd_sun->sun_family = AF_UNIX; in uwsgi_systemd_init()
59 strncpy(sd_sun->sun_path, systemd_socket, UMIN(len, sizeof(sd_sun->sun_path))); in uwsgi_systemd_init()
60 if (sd_sun->sun_path[0] == '@') in uwsgi_systemd_init()
61 sd_sun->sun_path[0] = 0; in uwsgi_systemd_init()
69 msghdr->msg_name = sd_sun; in uwsgi_systemd_init()
70 msghdr->msg_namelen = sizeof(struct sockaddr_un) - (sizeof(sd_sun->sun_path) - len); in uwsgi_systemd_init()
/dports/www/cutelyst/cutelyst-3.2.0/server/
H A Dsystemdnotify.cpp56 struct sockaddr_un *sd_sun; in systemdNotify() local
66 sd_sun = new struct sockaddr_un; in systemdNotify()
67 memset(sd_sun, 0, sizeof(struct sockaddr_un)); in systemdNotify()
68 sd_sun->sun_family = AF_UNIX; in systemdNotify()
69 strncpy(sd_sun->sun_path, systemd_socket, qMin(len, sizeof(sd_sun->sun_path))); in systemdNotify()
70 if (sd_sun->sun_path[0] == '@') in systemdNotify()
71 sd_sun->sun_path[0] = 0; in systemdNotify()
79 msghdr->msg_name = sd_sun; in systemdNotify()
80 msghdr->msg_namelen = sizeof(struct sockaddr_un) - (sizeof(sd_sun->sun_path) - len); in systemdNotify()
/dports/comms/gpredict/gpredict-2.2.1/src/sgpsdp/
H A Dsolar.c49 double sd_sun, sd_earth, delta; in Sat_Eclipsed() local
55 sd_sun = ArcSin(__sr__/Rho.w); in Sat_Eclipsed()
58 *depth = sd_earth - sd_sun - delta; in Sat_Eclipsed()
59 if( sd_earth < sd_sun ) in Sat_Eclipsed()
/dports/astro/xplanet/xplanet-1.3.1/src/libsgp4sdp4/
H A Dsolar.c49 double sd_sun, sd_earth, delta; in Sat_Eclipsed() local
55 sd_sun = ArcSin(sr/Rho.w); in Sat_Eclipsed()
58 *depth = sd_earth - sd_sun - delta; in Sat_Eclipsed()
59 if( sd_earth < sd_sun ) in Sat_Eclipsed()
/dports/misc/libpredict/libpredict-2.0.0/src/
H A Dorbit.c253 double sd_sun = asin_(SOLAR_RADIUS_KM / vec3_length(Rho)); in is_eclipsed() local
257 *depth = sd_earth - sd_sun - delta; in is_eclipsed()
259 if (sd_earth < sd_sun) return false; in is_eclipsed()
/dports/astro/kstars/kstars-3.5.6/kstars/skyobjects/
H A Dsatellite.cpp1209 double sd_sun, sd_earth, delta, depth; in sgp4() local
1217 sd_sun = arcSin(SR / rho_w); in sgp4()
1223 depth = sd_earth - sd_sun - delta; in sgp4()
1226 m_is_eclipsed = sd_earth >= sd_sun && depth >= 0; in sgp4()
/dports/comms/predict/predict-2.2.7/
H A Dpredict.c696 double sd_sun, sd_earth, delta; in Sat_Eclipsed() local
703 sd_sun=ArcSin(sr/Rho.w); in Sat_Eclipsed()
706 *depth=sd_earth-sd_sun-delta; in Sat_Eclipsed()
708 if (sd_earth<sd_sun) in Sat_Eclipsed()