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               504 daemons/fenced/cts-fence-helper.c     char buf[16] = { 0, };
buf               525 daemons/fenced/cts-fence-helper.c     snprintf(buf, sizeof(buf) - 1, "%d", MAINLOOP_DEFAULT_TIMEOUT + CUSTOM_TIMEOUT_ADDITION);
buf               526 daemons/fenced/cts-fence-helper.c     params = stonith_key_value_add(params, "pcmk_off_timeout", buf);
buf               393 include/crm/common/output_internal.h     void (*output_xml) (pcmk__output_t *out, const char *name, const char *buf);
buf                57 include/crm/common/util.h char *score2char_stack(int score, char *buf, size_t len);
buf                60 include/crm/common/util_compat.h char *crm_itoa_stack(int an_int, char *buf, size_t len);
buf               144 lib/cib/cib_file.c     struct stat buf;
buf               154 lib/cib/cib_file.c     s_res = stat(filename, &buf);
buf               158 lib/cib/cib_file.c     } else if (buf.st_size == 0) {
buf               548 lib/cib/cib_file.c     struct stat buf;
buf               552 lib/cib/cib_file.c     if (strcmp(filename, "-") && (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               241 lib/common/cmdline.c     char *buf = NULL;
buf               247 lib/common/cmdline.c     len = vasprintf(&buf, format, ap);
buf               251 lib/common/cmdline.c     if (!g_shell_parse_argv(buf, NULL, &extra_args, error)) {
buf               253 lib/common/cmdline.c         free(buf);
buf               260 lib/common/cmdline.c     free(buf);
buf               330 lib/common/io.c     struct stat buf;
buf               342 lib/common/io.c         s_res = stat(full_file, &buf);
buf               349 lib/common/io.c         } else if (S_ISREG(buf.st_mode) == FALSE) {
buf               351 lib/common/io.c                     target, (unsigned long) buf.st_mode);
buf               360 lib/common/io.c         s_res = stat(dir, &buf);
buf               365 lib/common/io.c         } else if (S_ISDIR(buf.st_mode) == FALSE) {
buf               367 lib/common/io.c                     dir, (unsigned long) buf.st_mode);
buf               372 lib/common/io.c     if (!pcmk__daemon_user_can_write(target, &buf)
buf               373 lib/common/io.c         && !pcmk__daemon_group_can_write(target, &buf)) {
buf               378 lib/common/io.c                 (unsigned long) buf.st_mode);
buf               244 lib/common/output_html.c     char *buf = NULL;
buf               251 lib/common/output_html.c     len = vasprintf(&buf, format, ap);
buf               255 lib/common/output_html.c     priv->errors = g_slist_append(priv->errors, buf);
buf               265 lib/common/output_html.c html_output_xml(pcmk__output_t *out, const char *name, const char *buf) {
buf               270 lib/common/output_html.c     node = pcmk__output_create_html_node(out, "pre", NULL, NULL, buf);
buf               296 lib/common/output_html.c         char *buf = NULL;
buf               300 lib/common/output_html.c         len = vasprintf(&buf, format, ap);
buf               305 lib/common/output_html.c             pcmk__output_create_xml_text_node(out, "h3", buf);
buf               307 lib/common/output_html.c             pcmk__output_create_xml_text_node(out, "h2", buf);
buf               310 lib/common/output_html.c         free(buf);
buf               322 lib/common/output_html.c     char *buf = NULL;
buf               328 lib/common/output_html.c     len = vasprintf(&buf, format, ap);
buf               332 lib/common/output_html.c     item_node = pcmk__output_create_xml_text_node(out, "li", buf);
buf               333 lib/common/output_html.c     free(buf);
buf               123 lib/common/output_log.c log_output_xml(pcmk__output_t *out, const char *name, const char *buf) {
buf               131 lib/common/output_log.c     xmlNodeSetContent(node, (pcmkXmlStr) buf);
buf                67 lib/common/output_none.c none_output_xml(pcmk__output_t *out, const char *name, const char *buf) {
buf               163 lib/common/output_text.c text_output_xml(pcmk__output_t *out, const char *name, const char *buf) {
buf               165 lib/common/output_text.c     pcmk__indented_printf(out, "%s", buf);
buf               188 lib/common/output_xml.c         char *buf = dump_xml_formatted_with_text(priv->root);
buf               189 lib/common/output_xml.c         fprintf(out->dest, "%s", buf);
buf               191 lib/common/output_xml.c         free(buf);
buf               256 lib/common/output_xml.c     char *buf = NULL;
buf               263 lib/common/output_xml.c     len = vasprintf(&buf, format, ap);
buf               267 lib/common/output_xml.c     priv->errors = g_slist_append(priv->errors, buf);
buf               277 lib/common/output_xml.c xml_output_xml(pcmk__output_t *out, const char *name, const char *buf) {
buf               284 lib/common/output_xml.c     cdata_node = xmlNewCDataBlock(getDocPtr(parent), (pcmkXmlStr) buf, strlen(buf));
buf               294 lib/common/output_xml.c     char *buf = NULL;
buf               300 lib/common/output_xml.c     len = vasprintf(&buf, format, ap);
buf               306 lib/common/output_xml.c             if (!strcmp(s->from, buf)) {
buf               314 lib/common/output_xml.c         name = g_ascii_strdown(buf, -1);
buf               326 lib/common/output_xml.c     free(buf);
buf               334 lib/common/output_xml.c     char *buf = NULL;
buf               340 lib/common/output_xml.c     len = vasprintf(&buf, format, ap);
buf               344 lib/common/output_xml.c     item_node = pcmk__output_create_xml_text_node(out, "item", buf);
buf               350 lib/common/output_xml.c     free(buf);
buf               368 lib/common/output_xml.c         char *buf = NULL;
buf               372 lib/common/output_xml.c         buf = crm_strdup_printf("%lu", xmlChildElementCount(node));
buf               373 lib/common/output_xml.c         crm_xml_add(node, "count", buf);
buf               374 lib/common/output_xml.c         free(buf);
buf               129 lib/common/pid.c     char buf[LOCKSTRLEN + 1];
buf               144 lib/common/pid.c     if (read(fd, buf, sizeof(buf)) < 1) {
buf               149 lib/common/pid.c     if (sscanf(buf, "%lld", &pid_read) > 0) {
buf               224 lib/common/pid.c     char buf[LOCKSTRLEN + 2];
buf               237 lib/common/pid.c     snprintf(buf, sizeof(buf), "%*lld\n", LOCKSTRLEN - 1, (long long) mypid);
buf               238 lib/common/pid.c     rc = write(fd, buf, LOCKSTRLEN);
buf               101 lib/common/utils.c score2char_stack(int score, char *buf, size_t len)
buf               103 lib/common/utils.c     CRM_CHECK((buf != NULL) && (len >= sizeof(CRM_MINUS_INFINITY_S)),
buf               107 lib/common/utils.c         strncpy(buf, CRM_INFINITY_S, 9);
buf               109 lib/common/utils.c         strncpy(buf, CRM_MINUS_INFINITY_S , 10);
buf               111 lib/common/utils.c         snprintf(buf, len, "%d", score);
buf               113 lib/common/utils.c     return buf;
buf                25 lib/fencing/st_output.c     char *buf = NULL;
buf                28 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                30 lib/fencing/st_output.c     return buf;
buf               156 lib/fencing/st_output.c         char *buf = crm_strdup_printf("Node %s last fenced at: %s", target, ctime(&when));
buf               157 lib/fencing/st_output.c         pcmk__output_create_html_node(out, "div", NULL, NULL, buf);
buf               158 lib/fencing/st_output.c         free(buf);
buf               187 lib/fencing/st_output.c         char *buf = time_t_string(when);
buf               191 lib/fencing/st_output.c                                      "when", buf,
buf               194 lib/fencing/st_output.c         free(buf);
buf               285 lib/fencing/st_output.c     char *buf = time_t_string(event->completed);
buf               293 lib/fencing/st_output.c                                   full_history ? "completed" : "last-failed", buf,
buf               302 lib/fencing/st_output.c                                   full_history ? "completed" : "last-successful", buf);
buf               312 lib/fencing/st_output.c     free(buf);
buf               323 lib/fencing/st_output.c     char *buf = NULL;
buf               356 lib/fencing/st_output.c         buf = time_t_string(event->completed);
buf               357 lib/fencing/st_output.c         crm_xml_add(node, "completed", buf);
buf               358 lib/fencing/st_output.c         free(buf);
buf               374 lib/fencing/st_output.c         char *buf = crm_strdup_printf("Validation of %s on %s %s", agent, device,
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               379 lib/fencing/st_output.c         char *buf = crm_strdup_printf("Validation of %s %s", agent,
buf               381 lib/fencing/st_output.c         pcmk__output_create_html_node(out, "div", NULL, NULL, buf);
buf               382 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               194 lib/pengine/pe_output.c         char *buf = NULL;
buf               199 lib/pengine/pe_output.c         buf = crm_strdup_printf("%s on %s '%s' (%d): call=%s, status='%s', "
buf               214 lib/pengine/pe_output.c         return buf;
buf               256 lib/pengine/pe_output.c     char *buf = NULL;
buf               295 lib/pengine/pe_output.c         buf = crm_strdup_printf("(%s) %s:%s%s%s%s rc=%d (%s)", call, task,
buf               314 lib/pengine/pe_output.c         buf = crm_strdup_printf("(%s) %s%s%s", call, task,
buf               323 lib/pengine/pe_output.c     return buf;
buf               329 lib/pengine/pe_output.c     char *buf = NULL;
buf               332 lib/pengine/pe_output.c         buf = crm_strdup_printf("%s: orphan", rsc_id);
buf               349 lib/pengine/pe_output.c         buf = crm_strdup_printf("%s: migration-threshold=%d%s%s",
buf               355 lib/pengine/pe_output.c         buf = crm_strdup_printf("%s:", rsc_id);
buf               358 lib/pengine/pe_output.c     return buf;
buf               603 lib/pengine/pe_output.c     char *buf = crm_strdup_printf("%s\tprevents %s from running %son %s",
buf               607 lib/pengine/pe_output.c     pcmk__output_create_html_node(out, "li", NULL, NULL, buf);
buf               610 lib/pengine/pe_output.c     free(buf);
buf               839 lib/pengine/pe_output.c             char *buf = crm_strdup_printf("%s (version %s) - partition with quorum",
buf               841 lib/pengine/pe_output.c             pcmk_create_html_node(node, "span", NULL, NULL, buf);
buf               842 lib/pengine/pe_output.c             free(buf);
buf               844 lib/pengine/pe_output.c             char *buf = crm_strdup_printf("%s (version %s) - partition",
buf               846 lib/pengine/pe_output.c             pcmk_create_html_node(node, "span", NULL, NULL, buf);
buf               847 lib/pengine/pe_output.c             free(buf);
buf              1111 lib/pengine/pe_output.c     char *buf = last_changed_string(last_written, user, client, origin);
buf              1118 lib/pengine/pe_output.c     pcmk_create_html_node(changed_node, "span", NULL, NULL, buf);
buf              1120 lib/pengine/pe_output.c     free(buf);
buf              1153 lib/pengine/pe_output.c     char *buf = last_changed_string(last_written, user, client, origin);
buf              1156 lib/pengine/pe_output.c     out->list_item(out, "Last change", " %s", buf);
buf              1158 lib/pengine/pe_output.c     free(buf);
buf              1296 lib/pengine/pe_output.c     char *buf = crm_strdup_printf("Node: %s", node_name);
buf              1301 lib/pengine/pe_output.c         pcmk_create_html_node(item_node, "span", NULL, NULL, buf);
buf              1341 lib/pengine/pe_output.c         out->begin_list(out, NULL, NULL, "%s", buf);
buf              1344 lib/pengine/pe_output.c     free(buf);
buf              1365 lib/pengine/pe_output.c         char *buf = NULL;
buf              1369 lib/pengine/pe_output.c             buf = crm_strdup_printf("GuestNode %s: %s", node_name, node_mode);
buf              1371 lib/pengine/pe_output.c             buf = crm_strdup_printf("RemoteNode %s: %s", node_name, node_mode);
buf              1373 lib/pengine/pe_output.c             buf = crm_strdup_printf("Node %s: %s", node_name, node_mode);
buf              1382 lib/pengine/pe_output.c                     out->begin_list(out, NULL, NULL, "%s", buf);
buf              1394 lib/pengine/pe_output.c                 out->begin_list(out, NULL, NULL, "%s", buf);
buf              1407 lib/pengine/pe_output.c             out->list_item(out, NULL, "%s", buf);
buf              1410 lib/pengine/pe_output.c         free(buf);
buf              1547 lib/pengine/pe_output.c             char *buf = crm_strdup_printf("(connectivity is degraded -- expected %d", expected_score);
buf              1548 lib/pengine/pe_output.c             pcmk_create_html_node(item_node, "span", NULL, "bold", buf);
buf              1549 lib/pengine/pe_output.c             free(buf);
buf              1679 lib/pengine/pe_output.c         char *buf = pcmk__itoa(expected_score);
buf              1680 lib/pengine/pe_output.c         crm_xml_add(node, "expected", buf);
buf              1681 lib/pengine/pe_output.c         free(buf);
buf              2188 lib/pengine/pe_output.c     char *buf = op_history_string(xml_op, task, interval_ms_s, rc, print_timing);
buf              2190 lib/pengine/pe_output.c     out->list_item(out, NULL, "%s", buf);
buf              2192 lib/pengine/pe_output.c     free(buf);
buf              2312 lib/pengine/pe_output.c     char *buf = resource_history_string(rsc, rsc_id, all, failcount, last_failure);
buf              2315 lib/pengine/pe_output.c         out->begin_list(out, NULL, NULL, "%s", buf);
buf              2317 lib/pengine/pe_output.c         out->list_item(out, NULL, "%s", buf);
buf              2320 lib/pengine/pe_output.c     free(buf);
buf               243 lib/services/services.c         char *buf = NULL;
buf               253 lib/services/services.c             buf = crm_strdup_printf("%s/%s/%s", dir, provider, agent);
buf               254 lib/services/services.c             if (stat(buf, &st) == 0) {
buf               257 lib/services/services.c             free(buf);
buf               258 lib/services/services.c             buf = NULL;
buf               263 lib/services/services.c         if (buf) {
buf               264 lib/services/services.c             op->opaque->exec = 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              1226 lib/services/services_linux.c     char *buf = NULL;
buf              1234 lib/services/services_linux.c         buf = crm_strdup_printf("%s/%s/%s", dir, provider, agent);
buf              1235 lib/services/services_linux.c         if (stat(buf, &st) == 0) {
buf              1236 lib/services/services_linux.c             free(buf);
buf              1241 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                49 libltdl/argz.c argz_append (char **pargz, size_t *pargz_len, const char *buf, size_t buf_len)
buf                69 libltdl/argz.c   memcpy (argz + *pargz_len, buf, buf_len);
buf                51 libltdl/argz_.h 				 const char *buf, size_t buf_len);
buf              1768 libltdl/ltdl.c   char   *buf	    = 0;
buf              1807 libltdl/ltdl.c   buf		= MALLOC (char, 1+ buf_len);
buf              1808 libltdl/ltdl.c   if (!buf)
buf              1811 libltdl/ltdl.c   assert (buf);
buf              1813 libltdl/ltdl.c   strcpy  (buf, dirnam);
buf              1814 libltdl/ltdl.c   strcat  (buf, "/");
buf              1815 libltdl/ltdl.c   strncat (buf, dp->d_name, end_offset);
buf              1816 libltdl/ltdl.c   buf[buf_len] = LT_EOS_CHAR;
buf              1819 libltdl/ltdl.c   if (lt_argz_insertinorder (pargz, pargz_len, buf) != 0)
buf              1822 libltdl/ltdl.c   FREE (buf);
buf               173 tools/crm_mon_curses.c curses_output_xml(pcmk__output_t *out, const char *name, const char *buf) {
buf               175 tools/crm_mon_curses.c     curses_indented_printf(out, "%s", buf);
buf               439 tools/crm_mon_curses.c     char *buf = NULL;
buf               442 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               450 tools/crm_mon_curses.c                                    full_history ? "completed" : "last-failed", buf,
buf               459 tools/crm_mon_curses.c                                    full_history ? "completed" : "last-successful", buf);
buf               469 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);