Searched refs:bufsize (Results 1 - 3 of 3) sorted by relevance
/sssd/src/sss_client/ |
H A D | pam_sss.c | 661 size_t bufsize = 0; local 677 bufsize = strlen(EXP_ACC_MSG) + 1; 680 bufsize += strlen(SRV_MSG) + msg_len; 683 user_msg = (char *)malloc(sizeof(char) * bufsize); 689 ret = snprintf(user_msg, bufsize, "%s%s%.*s", 694 if (ret < 0 || ret > bufsize) { 718 size_t bufsize = 0; local 732 bufsize = strlen(_("Password change failed. ")) + 1; 735 bufsize += strlen(_("Server message: ")) + msg_len; 738 user_msg = (char *)malloc(sizeof(char) * bufsize); [all...] |
/sssd/src/monitor/ |
H A D | monitor_netlink.c | 293 static void nladdr_to_string(struct nl_addr *nl, char *buf, size_t bufsize) argument 300 strncpy(buf, "unknown", bufsize); 307 if (inet_ntop(addr_family, addr, buf, bufsize) == NULL) { 309 snprintf(buf, bufsize, "unknown");
|
/sssd/src/tests/ |
H A D | util-tests.c | 620 const ssize_t bufsize = 64; local 630 numread = sss_atomic_read_s(fd, buf, bufsize); 634 fail_unless(numread == bufsize, 635 "Read %d bytes expected %d\n", numread, bufsize);
|
Completed in 28 milliseconds