Lines Matching refs:c1
196 NODE *c1, *c2, *n1, *n2;
202 c1 = t1->child;
204 c1 = NULL;
209 while (c1 != NULL || c2 != NULL) {
211 if (c1 != NULL)
212 n1 = c1->next;
215 if (c1 != NULL && c2 != NULL) {
216 if (c1->type != F_DIR && c2->type == F_DIR) {
219 } else if (c1->type == F_DIR && c2->type != F_DIR) {
220 n1 = c1;
221 c1 = NULL;
223 i = strcmp(c1->name, c2->name);
225 n1 = c1;
226 c1 = NULL;
233 if (c1 == NULL && c2->type == F_DIR) {
235 i = walk_in_the_forest(c1, c2, np);
237 i += compare_nodes(c1, c2, path);
238 } else if (c2 == NULL && c1->type == F_DIR) {
239 asprintf(&np, "%s%s/", path, c1->name);
240 i = walk_in_the_forest(c1, c2, np);
242 i += compare_nodes(c1, c2, path);
243 } else if (c1 == NULL || c2 == NULL) {
244 i = compare_nodes(c1, c2, path);
245 } else if (c1->type == F_DIR && c2->type == F_DIR) {
246 asprintf(&np, "%s%s/", path, c1->name);
247 i = walk_in_the_forest(c1, c2, np);
249 i += compare_nodes(c1, c2, path);
251 i = compare_nodes(c1, c2, path);
254 c1 = n1;