Lines Matching refs:pxc_file
1149 if (pxc->pxc_file != NULL) {
1151 if (fclose(pxc->pxc_file) != 0) {
1155 pxc->pxc_file = NULL;
1241 if (fseek(prov->pxc_file, 0, SEEK_SET) != 0) {
1246 if (ftruncate(fileno(prov->pxc_file), 0) == -1) {
1254 if ((buf = xmlOutputBufferCreateFile(prov->pxc_file, NULL)) == NULL) {
1307 if (fseek(prov->pxc_file, 0, SEEK_SET) != 0) {
2010 * Always close the pxc_file in case there was a previously failed open
2012 if (prov->pxc_file != NULL) {
2013 (void) fclose(prov->pxc_file);
2014 prov->pxc_file = NULL;
2027 prov->pxc_file = fopen(conf->pc_location, "r+F");
2029 prov->pxc_file = fopen(conf->pc_location, "rF");
2031 if (prov->pxc_file == NULL) {
2043 if (fcntl(fileno(prov->pxc_file), F_SETLKW, &lock) == -1) {
2052 (void) fclose(prov->pxc_file);
2053 prov->pxc_file = NULL;
2685 if (fstat(fileno(prov->pxc_file), &f_stat) == -1) {
2696 res = fread(chars, 1, size, prov->pxc_file);
2707 while ((res = fread(chars, 1, size, prov->pxc_file)) > 0) {