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 144 lib/common/io.c FILE *fp = NULL; fp 152 lib/common/io.c fp = fopen(series_file, "r"); fp 153 lib/common/io.c if (fp == NULL) { fp 161 lib/common/io.c if (fscanf(fp, "%u", seq) != 1) { fp 165 lib/common/io.c fclose(fp); fp 168 lib/common/io.c fclose(fp); fp 433 lib/common/io.c FILE *fp; fp 441 lib/common/io.c fp = fopen(filename, "r"); fp 442 lib/common/io.c if ((fp == NULL) || (fseek(fp, 0L, SEEK_END) < 0)) { fp 447 lib/common/io.c length = ftell(fp); fp 461 lib/common/io.c rewind(fp); fp 462 lib/common/io.c read_len = fread(*contents, 1, length, fp); /* Coverity: False positive */ fp 471 lib/common/io.c if (fp != NULL) { fp 472 lib/common/io.c fclose(fp); fp 490 lib/common/io.c FILE *fp = fdopen(fd, "w"); fp 492 lib/common/io.c if (fp == NULL) { fp 495 lib/common/io.c if ((contents != NULL) && (fprintf(fp, "%s", contents) < 0)) { fp 498 lib/common/io.c if (fflush(fp) != 0) { fp 501 lib/common/io.c if (fsync(fileno(fp)) < 0) { fp 504 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;