Lines Matching refs:plist
136 struct double_list *plist, *buf = NULL, *check; in apply_one_hunk() local
144 for (plist = TT.current_hunk; plist; plist = plist->next) { in apply_one_hunk()
145 if (plist->data[0]==' ') trailing++; in apply_one_hunk()
147 if (toys.optflags & FLAG_x) fprintf(stderr, "HUNK:%s\n", plist->data); in apply_one_hunk()
157 plist = TT.current_hunk; in apply_one_hunk()
166 while (plist && *plist->data == "+-"[reverse]) { in apply_one_hunk()
167 if (data && !lcmp(data, plist->data+1)) { in apply_one_hunk()
170 plist = plist->next; in apply_one_hunk()
178 if (!plist && matcheof) break; in apply_one_hunk()
200 if (!plist || lcmp(check->data, plist->data+1)) { in apply_one_hunk()
207 if (!plist) fprintf(stderr, "NULL plist\n"); in apply_one_hunk()
209 while (plist->data[bug] == check->data[bug]) bug++; in apply_one_hunk()
210 fprintf(stderr, "NOT(%d:%d!=%d): %s\n", bug, plist->data[bug], in apply_one_hunk()
211 check->data[bug], plist->data); in apply_one_hunk()
223 plist = TT.current_hunk; in apply_one_hunk()
230 if (toys.optflags & FLAG_x) fprintf(stderr, "MAYBE: %s\n", plist->data); in apply_one_hunk()
232 plist = plist->next; in apply_one_hunk()
233 if (!plist && !matcheof) goto out; in apply_one_hunk()