Lines Matching refs:n2

106 mismatch(NODE *n1, NODE *n2, int differ, char const *path)  in mismatch()  argument
109 if (n2 == NULL) { in mismatch()
115 shownode(n2, differ, path); in mismatch()
123 shownode(n2, differ, path); in mismatch()
128 compare_nodes(NODE *n1, NODE *n2, char const *path) in compare_nodes() argument
134 if (n2 != NULL && n2->type == F_LINK) in compare_nodes()
135 n2->flags &= ~F_MODE; in compare_nodes()
137 if (n1 == NULL && n2 != NULL) { in compare_nodes()
138 differs = n2->flags; in compare_nodes()
139 mismatch(n1, n2, differs, path); in compare_nodes()
142 if (n1 != NULL && n2 == NULL) { in compare_nodes()
144 mismatch(n1, n2, differs, path); in compare_nodes()
147 if (n1->type != n2->type) { in compare_nodes()
149 mismatch(n1, n2, differs, path); in compare_nodes()
152 if (FF(n1, n2, F_CKSUM, cksum)) in compare_nodes()
154 if (FF(n1, n2, F_GID, st_gid)) in compare_nodes()
156 if (FF(n1, n2, F_GNAME, st_gid)) in compare_nodes()
158 if (FF(n1, n2, F_MODE, st_mode)) in compare_nodes()
160 if (FF(n1, n2, F_NLINK, st_nlink)) in compare_nodes()
162 if (FF(n1, n2, F_SIZE, st_size)) in compare_nodes()
164 if (FS(n1, n2, F_SLINK, slink)) in compare_nodes()
166 if (FM(n1, n2, F_TIME, st_mtimespec)) in compare_nodes()
168 if (FF(n1, n2, F_UID, st_uid)) in compare_nodes()
170 if (FF(n1, n2, F_UNAME, st_uid)) in compare_nodes()
172 if (FS(n1, n2, F_MD5, md5digest)) in compare_nodes()
174 if (FS(n1, n2, F_SHA1, sha1digest)) in compare_nodes()
176 if (FS(n1, n2, F_RMD160, rmd160digest)) in compare_nodes()
178 if (FS(n1, n2, F_SHA256, sha256digest)) in compare_nodes()
180 if (FS(n1, n2, F_SHA384, sha384digest)) in compare_nodes()
182 if (FS(n1, n2, F_SHA512, sha512digest)) in compare_nodes()
184 if (FF(n1, n2, F_FLAGS, st_flags)) in compare_nodes()
187 mismatch(n1, n2, differs, path); in compare_nodes()
196 NODE *c1, *c2, *n1, *n2; in walk_in_the_forest() local
210 n1 = n2 = NULL; in walk_in_the_forest()
214 n2 = c2->next; in walk_in_the_forest()
217 n2 = c2; in walk_in_the_forest()
228 n2 = c2; in walk_in_the_forest()
255 c2 = n2; in walk_in_the_forest()