Lines Matching refs:rc
31 int rc = SEPOL_ERR; in read_cil_file() local
43 rc = stat(path, &filedata); in read_cil_file()
44 if (rc == -1) { in read_cil_file()
52 rc = SEPOL_ERR; in read_cil_file()
55 rc = fread(buff, file_size, 1, file); in read_cil_file()
56 if (rc != 1) { in read_cil_file()
58 rc = SEPOL_ERR; in read_cil_file()
65 rc = cil_add_file(*db, path, buff, file_size); in read_cil_file()
66 if (rc != SEPOL_OK) { in read_cil_file()
79 return rc; in read_cil_file()
86 int rc = SEPOL_ERR; in main() local
159 rc = read_cil_file(&base_db, base); in main()
160 if (rc != SEPOL_OK) { in main()
165 rc = cil_android_attrib_mapping(&out_db, base_db, num); in main()
166 if (rc != SEPOL_OK) in main()
170 rc = read_cil_file(&out_db, tgt_policy); in main()
171 if (rc != SEPOL_OK) { in main()
175 rc = cil_android_attributize(out_db, base_db, num); in main()
176 if (rc != SEPOL_OK) { in main()
180 rc = cil_write_ast(out_db, output); in main()
181 if (rc != SEPOL_OK) { in main()
192 return rc; in main()