Searched refs:MAXWORDLEN (Results 1 – 6 of 6) sorted by relevance
/titanic_44/usr/src/lib/pam_modules/authtok_check/ |
H A D | packer.c | 185 if (p-&buf[wordstart] > MAXWORDLEN) in translate() 186 buf[wordstart+MAXWORDLEN-1] = '\0'; in translate() 297 char lastword[MAXWORDLEN]; in merge_files() 303 if ((words[ti] = malloc(MAXWORDLEN)) == NULL) { in merge_files() 314 (void) fgets(words[ti], MAXWORDLEN, tmpfp[ti]); in merge_files() 315 words[ti][MAXWORDLEN-1] = '\0'; in merge_files() 337 (void) strncpy(lastword, words[choice], MAXWORDLEN); in merge_files() 340 if (fgets(words[choice], MAXWORDLEN, tmpfp[choice]) == NULL) { in merge_files() 345 words[choice][MAXWORDLEN-1] = '\0'; in merge_files()
|
H A D | packer.h | 41 #define MAXWORDLEN 32 macro 42 #define MAXBLOCKLEN (MAXWORDLEN * NUMWORDS) 68 char data[NUMWORDS][MAXWORDLEN];
|
H A D | packlib.c | 182 (void) strncpy(pwp->data[pwp->count], string, MAXWORDLEN); in PutPW() 183 pwp->data[pwp->count][MAXWORDLEN - 1] = '\0'; in PutPW() 240 char buffer[NUMWORDS * MAXWORDLEN]; in GetPW() 241 static char data[NUMWORDS][MAXWORDLEN]; in GetPW()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | auth.c | 174 static char scan_server_match_failed[MAXWORDLEN]; 1080 char secret[MAXWORDLEN]; 1442 char secret[MAXWORDLEN]; 1483 char secret[MAXWORDLEN]; 1617 char secbuf[MAXWORDLEN]; 1947 char word[MAXWORDLEN]; 1948 char atfile[MAXWORDLEN]; 1949 char lsecret[MAXWORDLEN]; 2072 (void) strlcpy(secret, lsecret, MAXWORDLEN);
|
H A D | options.c | 462 char args[MAXARGS][MAXWORDLEN]; 463 char cmd[MAXWORDLEN]; 1317 if (len < MAXWORDLEN) { 1353 if (len < MAXWORDLEN) { 1382 if (len >= MAXWORDLEN) { 1385 len = MAXWORDLEN - 1;
|
H A D | pppd.h | 72 #define MAXWORDLEN 1024 /* max length of word in file (incl null) */ macro
|