Lines Matching defs:buffer

410 	struct hostent *result, char *buffer, int buflen,
438 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2ent);
456 * If the buffer is not big enough to accommodate a returning data,
461 struct hostent *result, char *buffer, int buflen,
482 (void) strncpy(buffer, name, buflen);
485 buffer + strlen(name) + 1,
489 result->h_aliases[0] = buffer;
492 buffer + buflen - sizeof (struct in_addr),
494 result->h_addr_list[0] = buffer + buflen -
498 result->h_name = buffer;
514 (void) strncpy(buffer, name, buflen);
517 buffer + strlen(name) + 1,
521 result->h_aliases[0] = buffer;
524 buffer + buflen - sizeof (struct in6_addr),
526 result->h_addr_list[0] = buffer + buflen -
530 result->h_name = buffer;
536 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2hostent);
562 char buffer[NSS_BUFLEN_HOSTS];
611 buffer,
643 buffer,
688 * include_names - if set to INCLUDE_ATTR_NAMES, the output buffer will
693 * a buffer containing server info in the following format:
838 * a buffer containing a directory's base DN found.
975 * a buffer containing the DUAProfile in the following format:
1047 * buffer - contains the derived base DN,
1048 * buf_len - the length of the buffer.
1051 * The function returns the address of the buffer or NULL.
1055 domainname2baseDN(char *domain_name, char *buffer, uint16_t buf_len)
1060 if (!domain_name || !buffer || buf_len == 0) {
1064 buffer[0] = '\0';
1073 if (strlcat(buffer, "dc=", buf_len) >= buf_len)
1075 if (strlcat(buffer, nextDC, buf_len) >= buf_len)
1082 if (strlcat(buffer, ",", buf_len) >= buf_len)
1089 return (buffer);
1103 * dua_profile - a buffer containing the DUAProfile in the following format:
1105 * dir_base_dn - a buffer containing the base DN,
1126 char buffer[NSS_BUFLEN_HOSTS];
1157 (void) strncpy(buffer, server->server, sizeof (buffer));
1158 if (__ns_ldap_setParamValue(config_struct, NS_LDAP_SERVERS_P, buffer,
1169 buffer,
1172 (void) strncpy(serverAddr, buffer, sizeof (serverAddr));
1181 buffer, NSS_BUFLEN_HOSTS) == NULL) {
1196 buffer, errorp) != NS_LDAP_SUCCESS) {
1368 * root_dse - a buffer containing the root DSE in the following format: