buf               150 daemons/based/based_io.c     struct stat buf;
buf               158 daemons/based/based_io.c     if(stat(a_path, &buf) == 0) {
buf               159 daemons/based/based_io.c         a_age = buf.st_ctime;
buf               161 daemons/based/based_io.c     if(stat(b_path, &buf) == 0) {
buf               162 daemons/based/based_io.c         b_age = buf.st_ctime;
buf               498 daemons/fenced/cts-fence-helper.c     char buf[16] = { 0, };
buf               516 daemons/fenced/cts-fence-helper.c     snprintf(buf, sizeof(buf) - 1, "%d", MAINLOOP_DEFAULT_TIMEOUT + CUSTOM_TIMEOUT_ADDITION);
buf               517 daemons/fenced/cts-fence-helper.c     params = stonith_key_value_add(params, "pcmk_off_timeout", buf);
buf               388 include/crm/common/output_internal.h     void (*output_xml) (pcmk__output_t *out, const char *name, const char *buf);
buf                49 include/crm/common/util.h char *crm_itoa_stack(int an_int, char *buf, size_t len);
buf               118 include/crm/common/util.h char *score2char_stack(int score, char *buf, size_t len);
buf               142 lib/cib/cib_file.c     struct stat buf;
buf               152 lib/cib/cib_file.c     s_res = stat(filename, &buf);
buf               156 lib/cib/cib_file.c     } else if (buf.st_size == 0) {
buf               546 lib/cib/cib_file.c     struct stat buf;
buf               550 lib/cib/cib_file.c     if (stat(filename, &buf) < 0) {
buf                59 lib/common/cib_secrets.c     char buf[MAX_VALUE_LEN+1];
buf                69 lib/common/cib_secrets.c     if (!fgets(buf, MAX_VALUE_LEN, fp)) {
buf                77 lib/common/cib_secrets.c     for (p = buf + strlen(buf) - 1; (p >= buf) && isspace(*p); p--);
buf                79 lib/common/cib_secrets.c     return strdup(buf);
buf               258 lib/common/cmdline.c     char *buf = NULL;
buf               264 lib/common/cmdline.c     len = vasprintf(&buf, format, ap);
buf               268 lib/common/cmdline.c     if (!g_shell_parse_argv(buf, NULL, &extra_args, error)) {
buf               270 lib/common/cmdline.c         free(buf);
buf               277 lib/common/cmdline.c     free(buf);
buf               349 lib/common/io.c     struct stat buf;
buf               361 lib/common/io.c         s_res = stat(full_file, &buf);
buf               368 lib/common/io.c         } else if (S_ISREG(buf.st_mode) == FALSE) {
buf               370 lib/common/io.c                     target, (unsigned long) buf.st_mode);
buf               379 lib/common/io.c         s_res = stat(dir, &buf);
buf               384 lib/common/io.c         } else if (S_ISDIR(buf.st_mode) == FALSE) {
buf               386 lib/common/io.c                     dir, (unsigned long) buf.st_mode);
buf               391 lib/common/io.c     if (!pcmk__daemon_user_can_write(target, &buf)
buf               392 lib/common/io.c         && !pcmk__daemon_group_can_write(target, &buf)) {
buf               397 lib/common/io.c                 (unsigned long) buf.st_mode);
buf               250 lib/common/output_html.c     char *buf = NULL;
buf               255 lib/common/output_html.c     len = vasprintf(&buf, format, ap);
buf               259 lib/common/output_html.c     priv->errors = g_slist_append(priv->errors, buf);
buf               269 lib/common/output_html.c html_output_xml(pcmk__output_t *out, const char *name, const char *buf) {
buf               275 lib/common/output_html.c     node = pcmk__output_create_html_node(out, "pre", NULL, NULL, buf);
buf               300 lib/common/output_html.c         char *buf = NULL;
buf               304 lib/common/output_html.c         len = vasprintf(&buf, format, ap);
buf               309 lib/common/output_html.c             pcmk__output_create_xml_text_node(out, "h3", buf);
buf               311 lib/common/output_html.c             pcmk__output_create_xml_text_node(out, "h2", buf);
buf               314 lib/common/output_html.c         free(buf);
buf               327 lib/common/output_html.c     char *buf = NULL;
buf               333 lib/common/output_html.c     len = vasprintf(&buf, format, ap);
buf               337 lib/common/output_html.c     item_node = pcmk__output_create_xml_text_node(out, "li", buf);
buf               338 lib/common/output_html.c     free(buf);
buf               115 lib/common/output_log.c log_output_xml(pcmk__output_t *out, const char *name, const char *buf) {
buf               121 lib/common/output_log.c     xmlNodeSetContent(node, (pcmkXmlStr) buf);
buf                66 lib/common/output_none.c none_output_xml(pcmk__output_t *out, const char *name, const char *buf) {
buf               147 lib/common/output_text.c text_output_xml(pcmk__output_t *out, const char *name, const char *buf) {
buf               151 lib/common/output_text.c     pcmk__indented_printf(out, "%s", buf);
buf               172 lib/common/output_xml.c         char *buf = dump_xml_formatted_with_text(priv->root);
buf               173 lib/common/output_xml.c         fprintf(out->dest, "%s", buf);
buf               174 lib/common/output_xml.c         free(buf);
buf               255 lib/common/output_xml.c     char *buf = NULL;
buf               260 lib/common/output_xml.c     len = vasprintf(&buf, format, ap);
buf               264 lib/common/output_xml.c     priv->errors = g_slist_append(priv->errors, buf);
buf               274 lib/common/output_xml.c xml_output_xml(pcmk__output_t *out, const char *name, const char *buf) {
buf               282 lib/common/output_xml.c     cdata_node = xmlNewCDataBlock(getDocPtr(parent), (pcmkXmlStr) buf, strlen(buf));
buf               292 lib/common/output_xml.c     char *buf = NULL;
buf               296 lib/common/output_xml.c     len = vasprintf(&buf, format, ap);
buf               302 lib/common/output_xml.c             if (!strcmp(s->from, buf)) {
buf               310 lib/common/output_xml.c         name = buf;
buf               322 lib/common/output_xml.c     free(buf);
buf               331 lib/common/output_xml.c     char *buf = NULL;
buf               337 lib/common/output_xml.c     len = vasprintf(&buf, format, ap);
buf               341 lib/common/output_xml.c     item_node = pcmk__output_create_xml_text_node(out, "item", buf);
buf               347 lib/common/output_xml.c     free(buf);
buf               364 lib/common/output_xml.c         char *buf = NULL;
buf               368 lib/common/output_xml.c         buf = crm_strdup_printf("%lu", xmlChildElementCount(node));
buf               369 lib/common/output_xml.c         xmlSetProp(node, (pcmkXmlStr) "count", (pcmkXmlStr) buf);
buf               370 lib/common/output_xml.c         free(buf);
buf               124 lib/common/pid.c     char buf[LOCKSTRLEN + 1];
buf               139 lib/common/pid.c     if (read(fd, buf, sizeof(buf)) < 1) {
buf               144 lib/common/pid.c     if (sscanf(buf, "%lld", &pid_read) > 0) {
buf               219 lib/common/pid.c     char buf[LOCKSTRLEN + 2];
buf               232 lib/common/pid.c     snprintf(buf, sizeof(buf), "%*lld\n", LOCKSTRLEN - 1, (long long) mypid);
buf               233 lib/common/pid.c     rc = write(fd, buf, LOCKSTRLEN);
buf                96 lib/common/utils.c score2char_stack(int score, char *buf, size_t len)
buf                99 lib/common/utils.c         strncpy(buf, CRM_INFINITY_S, 9);
buf               101 lib/common/utils.c         strncpy(buf, CRM_MINUS_INFINITY_S , 10);
buf               103 lib/common/utils.c         return crm_itoa_stack(score, buf, len);
buf               106 lib/common/utils.c     return buf;
buf                24 lib/fencing/st_output.c     char *buf = NULL;
buf                27 lib/fencing/st_output.c     buf = crm_time_as_string(crm_when, crm_time_log_date | crm_time_log_timeofday | crm_time_log_with_timezone);
buf                29 lib/fencing/st_output.c     return buf;
buf               154 lib/fencing/st_output.c         char *buf = crm_strdup_printf("Node %s last fenced at: %s", target, ctime(&when));
buf               155 lib/fencing/st_output.c         pcmk__output_create_html_node(out, "div", NULL, NULL, buf);
buf               156 lib/fencing/st_output.c         free(buf);
buf               186 lib/fencing/st_output.c         char *buf = time_t_string(when);
buf               189 lib/fencing/st_output.c         xmlSetProp(node, (pcmkXmlStr) "when", (pcmkXmlStr) buf);
buf               191 lib/fencing/st_output.c         free(buf);
buf               282 lib/fencing/st_output.c     char *buf = time_t_string(event->completed);
buf               290 lib/fencing/st_output.c                                   full_history ? "completed" : "last-failed", buf,
buf               299 lib/fencing/st_output.c                                   full_history ? "completed" : "last-successful", buf);
buf               309 lib/fencing/st_output.c     free(buf);
buf               321 lib/fencing/st_output.c     char *buf = NULL;
buf               351 lib/fencing/st_output.c         buf = time_t_string(event->completed);
buf               352 lib/fencing/st_output.c         xmlSetProp(node, (pcmkXmlStr) "completed", (pcmkXmlStr) buf);
buf               353 lib/fencing/st_output.c         free(buf);
buf               369 lib/fencing/st_output.c         char *buf = crm_strdup_printf("Validation of %s on %s %s", agent, device,
buf               371 lib/fencing/st_output.c         pcmk__output_create_html_node(out, "div", NULL, NULL, buf);
buf               372 lib/fencing/st_output.c         free(buf);
buf               374 lib/fencing/st_output.c         char *buf = crm_strdup_printf("Validation of %s %s", agent,
buf               376 lib/fencing/st_output.c         pcmk__output_create_html_node(out, "div", NULL, NULL, buf);
buf               377 lib/fencing/st_output.c         free(buf);
buf                84 lib/gnu/gl_openssl.h GL_CRYPTO_FN (_process_bytes) (const void *buf, size_t len, struct _gl_ctx *ctx)
buf                85 lib/gnu/gl_openssl.h { OPENSSL_FN (_Update) ((_gl_CTX *) ctx, buf, len); }
buf                88 lib/gnu/gl_openssl.h GL_CRYPTO_FN (_process_block) (const void *buf, size_t len, struct _gl_ctx *ctx)
buf                89 lib/gnu/gl_openssl.h { GL_CRYPTO_FN (_process_bytes) (buf, len, ctx); }
buf                97 lib/gnu/gl_openssl.h GL_CRYPTO_FN (_buffer) (const char *buf, size_t len, void *restrict res)
buf                98 lib/gnu/gl_openssl.h { return OPENSSL_FN () ((const unsigned char *) buf, len, (unsigned char *) res); }
buf                28 lib/pengine/pe_output.c         char *buf = NULL;
buf                33 lib/pengine/pe_output.c         buf = crm_strdup_printf("%s on %s '%s' (%d): call=%s, status='%s', "
buf                48 lib/pengine/pe_output.c         return buf;
buf                90 lib/pengine/pe_output.c     char *buf = NULL;
buf               136 lib/pengine/pe_output.c         buf = crm_strdup_printf("(%s) %s:%s%s%s%s%s rc=%d (%s)", call, task,
buf               160 lib/pengine/pe_output.c         buf = crm_strdup_printf("(%s) %s%s%s", call, task,
buf               169 lib/pengine/pe_output.c     return buf;
buf               175 lib/pengine/pe_output.c     char *buf = NULL;
buf               178 lib/pengine/pe_output.c         buf = crm_strdup_printf("%s: orphan", rsc_id);
buf               195 lib/pengine/pe_output.c         buf = crm_strdup_printf("%s: migration-threshold=%d%s%s",
buf               201 lib/pengine/pe_output.c         buf = crm_strdup_printf("%s:", rsc_id);
buf               204 lib/pengine/pe_output.c     return buf;
buf               436 lib/pengine/pe_output.c     char *buf = crm_strdup_printf("%s\tprevents %s from running %son %s",
buf               441 lib/pengine/pe_output.c     pcmk__output_create_html_node(out, "li", NULL, NULL, buf);
buf               444 lib/pengine/pe_output.c     free(buf);
buf               626 lib/pengine/pe_output.c             char *buf = crm_strdup_printf("%s (version %s) - partition with quorum",
buf               628 lib/pengine/pe_output.c             pcmk_create_html_node(node, "span", NULL, NULL, buf);
buf               629 lib/pengine/pe_output.c             free(buf);
buf               631 lib/pengine/pe_output.c             char *buf = crm_strdup_printf("%s (version %s) - partition",
buf               633 lib/pengine/pe_output.c             pcmk_create_html_node(node, "span", NULL, NULL, buf);
buf               634 lib/pengine/pe_output.c             free(buf);
buf               900 lib/pengine/pe_output.c     char *buf = last_changed_string(last_written, user, client, origin);
buf               907 lib/pengine/pe_output.c     pcmk_create_html_node(changed_node, "span", NULL, NULL, buf);
buf               909 lib/pengine/pe_output.c     free(buf);
buf               942 lib/pengine/pe_output.c     char *buf = last_changed_string(last_written, user, client, origin);
buf               945 lib/pengine/pe_output.c     out->list_item(out, "Last change", " %s", buf);
buf               947 lib/pengine/pe_output.c     free(buf);
buf              1037 lib/pengine/pe_output.c     char *buf = crm_strdup_printf("Node: %s", node_name);
buf              1042 lib/pengine/pe_output.c         pcmk_create_html_node(item_node, "span", NULL, NULL, buf);
buf              1082 lib/pengine/pe_output.c         out->begin_list(out, NULL, NULL, "%s", buf);
buf              1085 lib/pengine/pe_output.c     free(buf);
buf              1106 lib/pengine/pe_output.c         char *buf = NULL;
buf              1110 lib/pengine/pe_output.c             buf = crm_strdup_printf("GuestNode %s: %s", node_name, node_mode);
buf              1112 lib/pengine/pe_output.c             buf = crm_strdup_printf("RemoteNode %s: %s", node_name, node_mode);
buf              1114 lib/pengine/pe_output.c             buf = crm_strdup_printf("Node %s: %s", node_name, node_mode);
buf              1123 lib/pengine/pe_output.c                     out->begin_list(out, NULL, NULL, "%s", buf);
buf              1135 lib/pengine/pe_output.c                 out->begin_list(out, NULL, NULL, "%s", buf);
buf              1148 lib/pengine/pe_output.c             out->list_item(out, NULL, "%s", buf);
buf              1151 lib/pengine/pe_output.c         free(buf);
buf              1276 lib/pengine/pe_output.c             char *buf = crm_strdup_printf("(connectivity is degraded -- expected %d", expected_score);
buf              1277 lib/pengine/pe_output.c             pcmk_create_html_node(item_node, "span", NULL, "bold", buf);
buf              1278 lib/pengine/pe_output.c             free(buf);
buf              1300 lib/pengine/pe_output.c         char *buf = crm_itoa(expected_score);
buf              1301 lib/pengine/pe_output.c         xmlSetProp(node, (pcmkXmlStr) "expected", (pcmkXmlStr) buf);
buf              1302 lib/pengine/pe_output.c         free(buf);
buf              1513 lib/pengine/pe_output.c     char *buf = op_history_string(xml_op, task, interval_ms_s, rc, print_timing);
buf              1515 lib/pengine/pe_output.c     out->list_item(out, NULL, "%s", buf);
buf              1517 lib/pengine/pe_output.c     free(buf);
buf              1596 lib/pengine/pe_output.c     char *buf = resource_history_string(rsc, rsc_id, all, failcount, last_failure);
buf              1599 lib/pengine/pe_output.c         out->begin_list(out, NULL, NULL, "%s", buf);
buf              1601 lib/pengine/pe_output.c         out->list_item(out, NULL, "%s", buf);
buf              1604 lib/pengine/pe_output.c     free(buf);
buf               260 lib/services/services_linux.c     char buf[500];
buf               261 lib/services/services_linux.c     static const size_t buf_read_len = sizeof(buf) - 1;
buf               284 lib/services/services_linux.c         rc = read(fd, buf, buf_read_len);
buf               286 lib/services/services_linux.c             buf[rc] = 0;
buf               287 lib/services/services_linux.c             crm_trace("Got %d chars: %.80s", rc, buf);
buf               289 lib/services/services_linux.c             len += sprintf(data + len, "%s", buf);
buf              1171 lib/services/services_linux.c     char *buf = NULL;
buf              1179 lib/services/services_linux.c     buf = crm_strdup_printf(OCF_ROOT_DIR "/resource.d/%s/%s", provider, agent);
buf              1180 lib/services/services_linux.c     if (stat(buf, &st) == 0) {
buf              1184 lib/services/services_linux.c     free(buf);
buf                66 lib/services/services_nagios.c     char *buf = NULL;
buf                74 lib/services/services_nagios.c     buf = crm_strdup_printf(NAGIOS_PLUGIN_DIR "/%s", name);
buf                75 lib/services/services_nagios.c     if (stat(buf, &st) == 0) {
buf                79 lib/services/services_nagios.c     free(buf);
buf                52 libltdl/libltdl/lt__argz_.h 				 const char *buf, size_t buf_len);
buf                49 libltdl/lt__argz.c argz_append (char **pargz, size_t *pargz_len, const char *buf, size_t buf_len)
buf                69 libltdl/lt__argz.c   memcpy (argz + *pargz_len, buf, buf_len);
buf              1775 libltdl/ltdl.c   char   *buf	    = 0;
buf              1814 libltdl/ltdl.c   buf		= MALLOC (char, 1+ buf_len);
buf              1815 libltdl/ltdl.c   if (!buf)
buf              1818 libltdl/ltdl.c   assert (buf);
buf              1820 libltdl/ltdl.c   strcpy  (buf, dirnam);
buf              1821 libltdl/ltdl.c   strcat  (buf, "/");
buf              1822 libltdl/ltdl.c   strncat (buf, dp->d_name, end_offset);
buf              1823 libltdl/ltdl.c   buf[buf_len] = LT_EOS_CHAR;
buf              1826 libltdl/ltdl.c   if (lt_argz_insertinorder (pargz, pargz_len, buf) != 0)
buf              1829 libltdl/ltdl.c   FREE (buf);
buf               160 tools/crm_mon_curses.c curses_output_xml(pcmk__output_t *out, const char *name, const char *buf) {
buf               164 tools/crm_mon_curses.c     curses_indented_printf(out, "%s", buf);
buf               327 tools/crm_mon_curses.c     char *buf = NULL;
buf               330 tools/crm_mon_curses.c     buf = crm_time_as_string(crm_when, crm_time_log_date | crm_time_log_timeofday | crm_time_log_with_timezone);
buf               338 tools/crm_mon_curses.c                                    full_history ? "completed" : "last-failed", buf,
buf               347 tools/crm_mon_curses.c                                    full_history ? "completed" : "last-successful", buf);
buf               357 tools/crm_mon_curses.c     free(buf);
buf               257 tools/crm_shadow.c     struct stat buf;
buf               427 tools/crm_shadow.c     rc = stat(shadow_file, &buf);