Lines Matching refs:ppc

211 static int pca_init_PcaPathConf(PcaPathConf *ppc, PathCache *pc);
1135 PcaPathConf *ppc; /* The object to be returned */ in new_PcaPathConf() local
1144 ppc = (PcaPathConf *)malloc(sizeof(PcaPathConf)); in new_PcaPathConf()
1145 if(!ppc) { in new_PcaPathConf()
1154 if(pca_init_PcaPathConf(ppc, pc)) in new_PcaPathConf()
1155 return del_PcaPathConf(ppc); in new_PcaPathConf()
1156 return ppc; in new_PcaPathConf()
1170 static int pca_init_PcaPathConf(PcaPathConf *ppc, PathCache *pc) in pca_init_PcaPathConf() argument
1180 ppc->id = PPC_ID_CODE; in pca_init_PcaPathConf()
1181 ppc->pc = pc; in pca_init_PcaPathConf()
1182 ppc->escaped = 1; in pca_init_PcaPathConf()
1183 ppc->file_start = -1; in pca_init_PcaPathConf()
1195 PcaPathConf *del_PcaPathConf(PcaPathConf *ppc) in del_PcaPathConf() argument
1197 if(ppc) { in del_PcaPathConf()
1198 ppc->pc = NULL; /* It is up to the caller to delete the cache */ in del_PcaPathConf()
1202 free(ppc); in del_PcaPathConf()
1215 PcaPathConf *ppc; /* The configuration arguments */ in CPL_MATCH_FN() local
1238 ppc = (PcaPathConf *) data; in CPL_MATCH_FN()
1243 if(ppc->id != PPC_ID_CODE) { in CPL_MATCH_FN()
1251 pc = ppc->pc; in CPL_MATCH_FN()
1257 if(ppc->file_start < 0) { in CPL_MATCH_FN()
1264 start_path = line + ppc->file_start; in CPL_MATCH_FN()
1306 prefix = pca_prepare_prefix(pc, start_path, prefix_len, ppc->escaped); in CPL_MATCH_FN()
1368 ppc->escaped)) in CPL_MATCH_FN()
1390 prefix = pca_prepare_prefix(pc, start_path, prefix_len, ppc->escaped); in CPL_MATCH_FN()
1410 if(pca_prepare_suffix(pc, filename + prefix_len, ppc->escaped) || in CPL_MATCH_FN()
1418 prefix = pca_prepare_prefix(pc, start_path, prefix_len, ppc->escaped); in CPL_MATCH_FN()
1590 void ppc_literal_escapes(PcaPathConf *ppc, int literal) in ppc_literal_escapes() argument
1592 if(ppc) in ppc_literal_escapes()
1593 ppc->escaped = !literal; in ppc_literal_escapes()
1609 void ppc_file_start(PcaPathConf *ppc, int start_index) in ppc_file_start() argument
1611 if(ppc) in ppc_file_start()
1612 ppc->file_start = start_index; in ppc_file_start()