Lines Matching refs:buffer
61 * make sure Xlib input buffer does not use up all of swap.
200 static char buffer[PAM_MAX_RESP_SIZE];
395 * keeps the Xlib event buffer from growing larger than all
415 XSync(dsp, True); /* flush input buffer */
435 * keeps the Xlib event buffer from growing larger than all
609 if (ReadXString(buffer, PAM_MAX_RESP_SIZE)) {
614 r->resp = strdup(buffer);
957 if (ReadXString(buffer, PAM_MAX_RESP_SIZE))
972 done = (*buffer == NULL);
974 done = (!strcmp(crypt(buffer, userpass), userpass));
979 done = (*buffer == NULL);
981 done = (!strcmp(crypt(buffer, suserpass), suserpass));
987 done = (*buffer == NULL);
989 done = (!strcmp(crypt(buffer, srootpass), srootpass));
994 done = (*buffer == NULL);
996 done = (!strcmp(crypt(buffer, rootpass), rootpass));
1001 done = !((strcmp(crypt(buffer, userpass), userpass))
1002 && (!allowroot || strcmp(crypt(buffer, rootpass), rootpass)));
1004 if (!done && *buffer == NULL) {
1008 if (*userpass == NULL && *buffer != NULL) {
1018 memset(buffer, 0, sizeof(buffer));
1050 XSync(dsp, True); /* flush input buffer */