Lines Matching defs:rc

420 #define	JJY_CLOCKSTATS_MESSAGE_SSCANF_INVALID_DATE	"# Invalid date : rc=%d year=%d month=%d day=%d"
421 #define JJY_CLOCKSTATS_MESSAGE_SSCANF_INVALID_TIME "# Invalid time : rc=%d hour=%d minute=%d second=%d"
422 #define JJY_CLOCKSTATS_MESSAGE_SSCANF_INVALID_DATETIME "# Invalid time : rc=%d year=%d month=%d day=%d hour=%d minute=%d second=%d"
443 int rc ;
484 rc = jjy_start_tristate_jjy01 ( unit, peer, up ) ;
487 rc = jjy_start_cdex_jst2000 ( unit, peer, up ) ;
490 rc = jjy_start_echokeisokuki_lt2000 ( unit, peer, up ) ;
493 rc = jjy_start_citizentic_jjy200 ( unit, peer, up ) ;
496 rc = jjy_start_tristate_gpsclock01 ( unit, peer, up ) ;
499 rc = jjy_start_seiko_tsys_tdc_300 ( unit, peer, up ) ;
502 rc = jjy_start_telephone ( unit, peer, up ) ;
506 rc = jjy_start_telephone ( unit, peer, up ) ;
515 if ( rc != 0 ) {
599 int rc ;
760 rc = jjy_receive_tristate_jjy01 ( rbufp ) ;
764 rc = jjy_receive_cdex_jst2000 ( rbufp ) ;
768 rc = jjy_receive_echokeisokuki_lt2000 ( rbufp ) ;
772 rc = jjy_receive_citizentic_jjy200 ( rbufp ) ;
776 rc = jjy_receive_tristate_gpsclock01 ( rbufp ) ;
780 rc = jjy_receive_seiko_tsys_tdc_300 ( rbufp ) ;
784 rc = jjy_receive_telephone ( rbufp ) ;
788 rc = JJY_RECEIVE_ERROR ;
793 switch ( rc ) {
806 if ( rc == JJY_RECEIVE_UNPROCESS ) {
1170 int rc ;
1220 rc = sscanf ( pBuf, "%4d/%2d/%2d",
1223 if ( rc != 3 || up->year < 2000 || 2099 <= up->year
1228 rc, up->year, up->month, up->day ) ;
1248 rc = sscanf ( pBuf, "%2d:%2d:%2d",
1251 if ( rc != 3 || up->hour > 23 || up->minute > 59 ||
1255 rc, up->hour, up->minute, up->second ) ;
1466 int rc ;
1514 rc = sscanf ( pBuf, "J%2d%2d%2d%*1d%2d%2d%2d%1d",
1519 if ( rc != 7 || up->month < 1 || up->month > 12 ||
1524 rc, up->year, up->month, up->day,
1629 int rc ;
1694 rc = sscanf ( pBuf, "%2d%2d%2d%*1d%2d%2d%2d",
1698 if ( rc != 6 || up->month < 1 || up->month > 12
1703 rc, up->year, up->month, up->day,
1842 int rc ;
1884 rc = sscanf ( pBuf, "%c%2s %2d/%2d/%2d %1d %2d:%2d:%2d",
1890 if ( rc != 9 || cApostrophe != '\''
1899 rc, up->year, up->month, up->day,
2027 int rc ;
2113 rc = sscanf ( pBuf, "%4d/%2d/%2d", &up->year, &up->month, &up->day ) ;
2115 if ( rc != 3 || up->year < 2000 || 2099 <= up->year
2120 rc, up->year, up->month, up->day ) ;
2139 rc = sscanf ( pBuf, "%2d:%2d:%2d",
2142 if ( rc != 3
2146 rc, up->hour, up->minute, up->second ) ;
2349 int rc, iWeekday ;
2390 rc = sscanf ( pBuf+1, "%2d:%2d:%2d",
2393 if ( rc != 3
2397 rc, up->hour, up->minute, up->second ) ;
2420 rc = sscanf ( pBuf+1, "%2d%2d%2d%2d%2d%2d%1d",
2424 if ( rc != 7
2430 rc, up->year, up->month, up->day,
2441 rc = sscanf ( pBuf, "%2d%2d%2d%1d%2d%2d%2d",
2445 if ( rc != 7
2451 rc, up->year, up->month, up->day,
2956 int i, rc ;
2961 rc = (*pTeljjyHandler[up->iClockEvent][up->iClockState])( peer, pp, up ) ;
2963 if ( rc == TELJJY_CHANGE_CLOCK_STATE ) {
3404 int iLen, rc ;
3439 rc = sscanf ( pBuf, "%4d%2d%2d", &up->year, &up->month, &up->day ) ;
3441 if ( rc != 3 || up->year < 2000 || 2099 <= up->year
3445 rc, up->year, up->month, up->day ) ;
3455 rc = sscanf ( pBuf, "%2d", &up->leapsecond ) ;
3457 if ( rc != 1 || up->leapsecond < -1 || 1 < up->leapsecond ) {
3469 rc = sscanf ( pBuf, "%2d%2d%2d", &up->hour, &up->minute, &up->second ) ;
3471 if ( rc != 3 || up->hour > 23 || up->minute > 59 || up->second > 60 ) {
3474 rc, up->hour, up->minute, up->second ) ;
3929 int rc ;
3934 rc = (*pModemHandler[up->iModemEvent][up->iModemState])( peer, pp, up ) ;
3936 if ( rc == CHANGE_MODEM_STATE ) {