fp 102 daemons/execd/remoted_pidone.c FILE *fp = fopen(filename, "r"); fp 104 daemons/execd/remoted_pidone.c if (fp != NULL) { fp 107 daemons/execd/remoted_pidone.c while (fgets(line, LINE_MAX, fp) != NULL) { fp 185 daemons/execd/remoted_pidone.c if (fscanf(fp, "%*[^\n]\n") == EOF) { fp 190 daemons/execd/remoted_pidone.c fclose(fp); fp 58 lib/common/cib_secrets.c FILE *fp = fopen(local_file, "r"); fp 62 lib/common/cib_secrets.c if (!fp) { fp 69 lib/common/cib_secrets.c if (!fgets(buf, MAX_VALUE_LEN, fp)) { fp 71 lib/common/cib_secrets.c fclose(fp); fp 74 lib/common/cib_secrets.c fclose(fp); fp 163 lib/common/io.c FILE *fp = NULL; fp 171 lib/common/io.c fp = fopen(series_file, "r"); fp 172 lib/common/io.c if (fp == NULL) { fp 180 lib/common/io.c if (fscanf(fp, "%u", seq) != 1) { fp 184 lib/common/io.c fclose(fp); fp 187 lib/common/io.c fclose(fp); fp 452 lib/common/io.c FILE *fp; fp 460 lib/common/io.c fp = fopen(filename, "r"); fp 461 lib/common/io.c if ((fp == NULL) || (fseek(fp, 0L, SEEK_END) < 0)) { fp 466 lib/common/io.c length = ftell(fp); fp 480 lib/common/io.c rewind(fp); fp 481 lib/common/io.c read_len = fread(*contents, 1, length, fp); /* Coverity: False positive */ fp 490 lib/common/io.c if (fp != NULL) { fp 491 lib/common/io.c fclose(fp); fp 509 lib/common/io.c FILE *fp = fdopen(fd, "w"); fp 511 lib/common/io.c if (fp == NULL) { fp 514 lib/common/io.c if ((contents != NULL) && (fprintf(fp, "%s", contents) < 0)) { fp 517 lib/common/io.c if (fflush(fp) != 0) { fp 520 lib/common/io.c if (fsync(fileno(fp)) < 0) { fp 523 lib/common/io.c fclose(fp); fp 644 lib/common/schemas.c FILE *fp = NULL; fp 649 lib/common/schemas.c fp = fopen(filename, "r"); fp 650 lib/common/schemas.c if (fp == NULL) { fp 657 lib/common/schemas.c ch = getc(fp); fp 668 lib/common/schemas.c fclose(fp); fp 105 lib/services/services_lsb.c FILE *fp = NULL; fp 128 lib/services/services_lsb.c fp = fopen(ra_pathname, "r"); fp 129 lib/services/services_lsb.c if (fp == NULL) { fp 134 lib/services/services_lsb.c while (fgets(buffer, sizeof(buffer), fp)) { fp 182 lib/services/services_lsb.c while (fgets(buffer, sizeof(buffer), fp)) { fp 216 lib/services/services_lsb.c fclose(fp); fp 622 lib/services/systemd.c FILE *fp = fopen(filename, "w"); fp 625 lib/services/systemd.c return fp;