file 155 daemons/based/based_io.c readCibXmlFile(const char *dir, const char *file, gboolean discard_status) file 170 daemons/based/based_io.c sigfile = crm_strdup_printf("%s.sig", file); file 171 daemons/based/based_io.c if (pcmk__daemon_can_write(dir, file) == FALSE file 177 daemons/based/based_io.c filename = crm_strdup_printf("%s/%s", dir, file); file 79 daemons/based/pacemaker-based.h xmlNode *readCibXmlFile(const char *dir, const char *file, file 90 daemons/execd/remoted_schemas.c const char *file = NULL; file 94 daemons/execd/remoted_schemas.c file = crm_element_value(xml, PCMK_XA_PATH); file 95 daemons/execd/remoted_schemas.c if (file == NULL) { file 100 daemons/execd/remoted_schemas.c path = crm_strdup_printf("%s/%s", remote_schema_dir, file); file 222 include/crm/common/internal.h pcmk__assert_alloc_as(const char *file, const char *function, uint32_t line, file 228 include/crm/common/internal.h crm_abort(file, function, line, "Out of memory", FALSE, TRUE); file 34 include/crm/common/io_internal.h bool pcmk__daemon_can_write(const char *dir, const char *file); file 63 include/crm/common/iso8601.h void crm_time_log_alias(int log_level, const char *file, const char *function, file 79 include/crm/common/logging.h void crm_log_output_fn(const char *file, const char *function, int line, int level, file 98 include/crm/common/logging.h void pcmk_log_xml_as(const char *file, const char *function, uint32_t line, file 268 include/crm/common/logging.h #define do_crm_log_alias(level, file, function, line, fmt, args...) do { \ file 278 include/crm/common/logging.h qb_log_from_external_source(function, file, fmt, _level, \ file 210 include/crm/common/logging_internal.h void pcmk__log_xml_changes_as(const char *file, const char *function, file 214 include/crm/common/logging_internal.h void pcmk__log_xml_patchset_as(const char *file, const char *function, file 743 include/crm/common/output_internal.h void pcmk__output_set_log_filter(pcmk__output_t *out, const char *file, file 372 include/crm/common/results.h void crm_abort(const char *file, const char *function, int line, file 27 include/crm/common/results_internal.h _Noreturn void pcmk__abort_as(const char *file, const char *function, int line, file 154 include/crm/common/strings_internal.h char *pcmk__str_copy_as(const char *file, const char *function, uint32_t line, file 153 include/crm/pengine/internal.h void pe__show_node_scores_as(const char *file, const char *function, file 322 lib/common/io.c pcmk__daemon_can_write(const char *dir, const char *file) file 333 lib/common/io.c if (file != NULL) { file 334 lib/common/io.c full_file = crm_strdup_printf("%s/%s", dir, file); file 276 lib/common/iso8601.c crm_time_log_alias(int log_level, const char *file, const char *function, file 286 lib/common/iso8601.c do_crm_log_alias(log_level, file, function, line, "%s%s%s", file 1133 lib/common/logging.c crm_log_output_fn(const char *file, const char *function, int line, int level, const char *prefix, file 1154 lib/common/logging.c do_crm_log_alias(level, file, function, line, "%s [ %.*s ]", prefix, file 1190 lib/common/logging.c pcmk_log_xml_as(const char *file, const char *function, uint32_t line, file 1203 lib/common/logging.c pcmk__output_set_log_filter(logger_out, file, function, line, tags); file 1227 lib/common/logging.c pcmk__log_xml_changes_as(const char *file, const char *function, uint32_t line, file 1239 lib/common/logging.c pcmk__output_set_log_filter(logger_out, file, function, line, tags); file 1258 lib/common/logging.c pcmk__log_xml_patchset_as(const char *file, const char *function, uint32_t line, file 1270 lib/common/logging.c pcmk__output_set_log_filter(logger_out, file, function, line, tags); file 24 lib/common/output_log.c const char *file; file 39 lib/common/output_log.c pcmk__s((priv)->file, __FILE__), fmt, (priv)->log_level, \ file 55 lib/common/output_log.c pcmk__s((priv)->file, __FILE__), fmt, level, \ file 419 lib/common/output_log.c pcmk__output_set_log_filter(pcmk__output_t *out, const char *file, file 428 lib/common/output_log.c priv->file = file; file 58 lib/common/procfs.c FILE *file; file 99 lib/common/procfs.c file = fopen(procpath, "r"); file 100 lib/common/procfs.c if (!file) { file 103 lib/common/procfs.c if (fscanf(file, "Name:\t%15[^\n]", name) != 1) { file 104 lib/common/procfs.c fclose(file); file 108 lib/common/procfs.c fclose(file); file 127 lib/common/results.c log_assertion_as(const char *file, const char *function, int line, file 134 lib/common/results.c function, file, line, assert_condition); file 150 lib/common/results.c pcmk__abort_as(const char *file, const char *function, int line, file 153 lib/common/results.c log_assertion_as(file, function, line, assert_condition); file 171 lib/common/results.c fail_assert_as(const char *file, const char *function, int line, file 178 lib/common/results.c pcmk__abort_as(file, function, line, assert_condition); // No return file 185 lib/common/results.c ": %s", function, file, line, assert_condition); file 194 lib/common/results.c "%s:%d : %s", function, pid, file, line, assert_condition); file 215 lib/common/results.c crm_abort(const char *file, const char *function, int line, file 219 lib/common/results.c pcmk__abort_as(file, function, line, assert_condition); // No return file 221 lib/common/results.c fail_assert_as(file, function, line, assert_condition); file 223 lib/common/results.c log_assertion_as(file, function, line, assert_condition); file 784 lib/common/schemas.c char *file = NULL; file 795 lib/common/schemas.c file = pcmk__xml_artefact_path(pcmk__xml_artefact_ns_legacy_rng, file 799 lib/common/schemas.c pcmk__s(file, "missing schema"), schema->validator); file 803 lib/common/schemas.c valid = validate_with_relaxng(xml->doc, error_handler, error_handler_context, file, cache); file 810 lib/common/schemas.c free(file); file 1439 lib/common/schemas.c read_file_contents(const char *file, char **contents) file 1444 lib/common/schemas.c if (pcmk__ends_with(file, ".rng")) { file 1445 lib/common/schemas.c path = pcmk__xml_artefact_path(pcmk__xml_artefact_ns_legacy_rng, file); file 1447 lib/common/schemas.c path = pcmk__xml_artefact_path(pcmk__xml_artefact_ns_legacy_xslt, file); file 1457 lib/common/schemas.c add_schema_file_to_xml(xmlNode *parent, const char *file, GList **already_included) file 1466 lib/common/schemas.c if (g_list_find_custom(*already_included, file, (GCompareFunc) strcmp) != NULL) { file 1473 lib/common/schemas.c if (!pcmk__ends_with(file, ".rng") && !pcmk__ends_with(file, ".xsl")) { file 1474 lib/common/schemas.c path = crm_strdup_printf("%s.rng", file); file 1476 lib/common/schemas.c path = pcmk__str_copy(file); file 1481 lib/common/schemas.c crm_warn("Could not read schema file %s: %s", file, pcmk_rc_str(rc)); file 1251 lib/common/strings.c pcmk__str_copy_as(const char *file, const char *function, uint32_t line, file 1258 lib/common/strings.c crm_abort(file, function, line, "Out of memory", FALSE, TRUE); file 242 lib/pengine/utils.c pe__log_node_weights(const char *file, const char *function, int line, file 255 lib/pengine/utils.c qb_log_from_external_source(function, file, file 262 lib/pengine/utils.c qb_log_from_external_source(function, file, "%s: %s = %s", file 285 lib/pengine/utils.c pe__show_node_scores_as(const char *file, const char *function, int line, file 300 lib/pengine/utils.c pe__log_node_weights(file, function, line, rsc, comment, nodes); file 315 lib/pengine/utils.c pe__show_node_scores_as(file, function, line, to_log, child, comment, file 382 libltdl/loaders/dyld.c const char *file; file 385 libltdl/loaders/dyld.c NSLinkEditError (&ler, &lerno, &file, &errstr); file 774 libltdl/ltdl.c FILE *file = 0; file 776 libltdl/ltdl.c foreach_dirinpath (search_path, base_name, find_file_callback, pdir, &file); file 778 libltdl/ltdl.c return file; file 1037 libltdl/ltdl.c parse_dotla_file(FILE *file, char **dlname, char **libdir, char **deplibs, file 1050 libltdl/ltdl.c while (!feof (file)) file 1053 libltdl/ltdl.c if (!fgets (line, (int) line_len, file)) file 1061 libltdl/ltdl.c while (line[line_len-2] != '\0' && line[line_len-2] != '\n' && !feof (file)) file 1070 libltdl/ltdl.c if (!fgets (&line[line_len -1], (int) line_len +1, file)) file 1337 libltdl/ltdl.c FILE * file = 0; file 1357 libltdl/ltdl.c file = find_file (user_search_path, base_name, &dir); file 1359 libltdl/ltdl.c if (!file) file 1363 libltdl/ltdl.c file = find_file (search_path, base_name, &dir); file 1367 libltdl/ltdl.c if (!file) file 1371 libltdl/ltdl.c file = find_file (search_path, base_name, &dir); file 1375 libltdl/ltdl.c if (!file && *sys_dlsearch_path) file 1377 libltdl/ltdl.c file = find_file (sys_dlsearch_path, base_name, &dir); file 1383 libltdl/ltdl.c file = fopen (attempt, LT_READTEXT_MODE); file 1388 libltdl/ltdl.c if (!file) file 1396 libltdl/ltdl.c if (parse_dotla_file(file, &dlname, &libdir, &deplibs, file 1400 libltdl/ltdl.c fclose (file);