Searched refs:MIN_SIZEOF (Results 1 – 1 of 1) sorted by relevance
/external/dropbear/ |
D | loginrec.c | 186 #define MIN_SIZEOF(s1,s2) ( sizeof(s1) < sizeof(s2) ? sizeof(s1) : sizeof(s2) ) macro 539 strncpy(ut->ut_name, li->username, MIN_SIZEOF(ut->ut_name, li->username)); in construct_utmp() 541 strncpy(ut->ut_host, li->hostname, MIN_SIZEOF(ut->ut_host, li->hostname)); in construct_utmp() 610 strncpy(utx->ut_name, li->username, MIN_SIZEOF(utx->ut_name, li->username)); in construct_utmpx() 621 strncpy(utx->ut_host, li->hostname, MIN_SIZEOF(utx->ut_host, li->hostname)); in construct_utmpx() 981 MIN_SIZEOF(li->username, ut->ut_name)) == 0) { in wtmp_islogin() 1040 MIN_SIZEOF(li->line, ut.ut_line)); in wtmp_get_entry() 1043 MIN_SIZEOF(li->hostname, ut.ut_host)); in wtmp_get_entry() 1136 MIN_SIZEOF(li->username, utx->ut_name)) == 0 ) { in wtmpx_islogin() 1198 MIN_SIZEOF(li->hostname, utx.ut_host)); in wtmpx_get_entry() [all …]
|