Lines Matching refs:buffer
73 char *buffer, *comment, *attr_str; in _nss_ldap_proj2str() local
84 if ((be->buffer = calloc(1, buflen)) == NULL) { in _nss_ldap_proj2str()
88 buffer = be->buffer; in _nss_ldap_proj2str()
90 buffer = argp->buf.buffer; in _nss_ldap_proj2str()
93 (void) memset(buffer, 0, buflen); in _nss_ldap_proj2str()
110 len = snprintf(buffer, buflen, "%s:%s:%s:", name[0], id[0], in _nss_ldap_proj2str()
112 TEST_AND_ADJUST(len, buffer, buflen, result_proj2str); in _nss_ldap_proj2str()
123 len = snprintf(buffer, buflen, "%s", in _nss_ldap_proj2str()
127 len = snprintf(buffer, buflen, ",%s", in _nss_ldap_proj2str()
130 TEST_AND_ADJUST(len, buffer, buflen, result_proj2str); in _nss_ldap_proj2str()
133 len = snprintf(buffer, buflen, ":"); in _nss_ldap_proj2str()
134 TEST_AND_ADJUST(len, buffer, buflen, result_proj2str); in _nss_ldap_proj2str()
145 len = snprintf(buffer, buflen, "%s", in _nss_ldap_proj2str()
149 len = snprintf(buffer, buflen, ",%s", in _nss_ldap_proj2str()
152 TEST_AND_ADJUST(len, buffer, buflen, result_proj2str); in _nss_ldap_proj2str()
162 len = snprintf(buffer, buflen, ":%s", attr_str); in _nss_ldap_proj2str()
163 TEST_AND_ADJUST(len, buffer, buflen, result_proj2str); in _nss_ldap_proj2str()
167 be->buflen = strlen(be->buffer); in _nss_ldap_proj2str()