Lines Matching refs:len
106 int len;
110 len = sizeof(uint32_t) + sizeof(uint32_t);
112 len += *pi->pam_user != '\0' ?
114 len += *pi->pam_service != '\0' ?
116 len += *pi->pam_tty != '\0' ?
118 len += *pi->pam_ruser != '\0' ?
120 len += *pi->pam_rhost != '\0' ?
122 len += pi->pam_authtok != NULL ?
124 len += pi->pam_newauthtok != NULL ?
126 len += 3*sizeof(uint32_t); /* cli_pid */
127 len += *pi->requested_domains != '\0' ?
130 buf = malloc(len);
169 if (rp != len) {
175 *size = len;