Lines Matching refs:c1
179 NODE *c1, *c2, *n1, *n2;
185 c1 = t1->child;
187 c1 = NULL;
192 while (c1 != NULL || c2 != NULL) {
194 if (c1 != NULL)
195 n1 = c1->next;
198 if (c1 != NULL && c2 != NULL) {
199 if (c1->type != F_DIR && c2->type == F_DIR) {
202 } else if (c1->type == F_DIR && c2->type != F_DIR) {
203 n1 = c1;
204 c1 = NULL;
206 i = strcmp(c1->name, c2->name);
208 n1 = c1;
209 c1 = NULL;
216 if (c1 == NULL && c2->type == F_DIR) {
218 i = walk_in_the_forest(c1, c2, np);
220 i += compare_nodes(c1, c2, path);
221 } else if (c2 == NULL && c1->type == F_DIR) {
222 asprintf(&np, "%s%s/", path, c1->name);
223 i = walk_in_the_forest(c1, c2, np);
225 i += compare_nodes(c1, c2, path);
226 } else if (c1 == NULL || c2 == NULL) {
227 i = compare_nodes(c1, c2, path);
228 } else if (c1->type == F_DIR && c2->type == F_DIR) {
229 asprintf(&np, "%s%s/", path, c1->name);
230 i = walk_in_the_forest(c1, c2, np);
232 i += compare_nodes(c1, c2, path);
234 i = compare_nodes(c1, c2, path);
237 c1 = n1;