assert 605 attr.c assert(attr_stack->origin); assert 157 builtin/am.c assert(dir); assert 329 builtin/am.c assert(!state->author_name); assert 330 builtin/am.c assert(!state->author_email); assert 331 builtin/am.c assert(!state->author_date); assert 403 builtin/am.c assert(!state->msg); assert 514 builtin/am.c assert(state->msg); assert 567 builtin/am.c assert(state->rebasing); assert 1351 builtin/am.c assert(!state->author_name); assert 1354 builtin/am.c assert(!state->author_email); assert 1357 builtin/am.c assert(!state->author_date); assert 1360 builtin/am.c assert(!state->msg); assert 1416 builtin/am.c assert(!state->author_name); assert 1424 builtin/am.c assert(!state->author_email); assert 1434 builtin/am.c assert(!state->author_date); assert 1437 builtin/am.c assert(!state->msg); assert 1742 builtin/am.c assert(!is_null_sha1(state->orig_commit)); assert 1777 builtin/am.c assert(state->msg); assert 1927 builtin/am.c assert(state->rebasing); assert 2178 builtin/apply.c assert(postlen assert 3489 builtin/apply.c assert(patch->is_new <= 0); assert 3673 builtin/apply.c assert(*name_ != '\0'); assert 1784 builtin/blame.c assert(commit == suspect->commit); assert 551 builtin/branch.c assert(!verbose && "--column and --verbose are incompatible"); assert 230 builtin/cat-file.c assert(data->info.typep); assert 161 builtin/clean.c assert(orig_path_len != 0); assert 360 builtin/index-pack.c assert(!threads_active && assert 787 builtin/index-pack.c assert(data || obj_entry); assert 832 builtin/index-pack.c assert(data && "data can only be NULL for large _blobs_"); assert 1018 builtin/index-pack.c assert(child->real_type == OBJ_OFS_DELTA); assert 481 builtin/log.c assert(type == OBJ_TAG); assert 269 builtin/mv.c assert(pos >= 0); assert 788 builtin/pack-objects.c assert(pack_to_stdout); assert 2473 builtin/pack-objects.c assert(reuse_packfile_objects); assert 635 builtin/pull.c assert(curr_branch_remote); assert 141 builtin/revert.c assert(opts->subcommand == REPLAY_ROLLBACK); assert 254 cache-tree.c assert(!(dryrun && repair)); assert 197 column.c assert((colopts & COL_ENABLE_MASK) != COL_AUTO); assert 1302 compat/nedmalloc/malloc.c.h #ifndef assert assert 1730 compat/nedmalloc/malloc.c.h assert(!sl->threadid); assert 1751 compat/nedmalloc/malloc.c.h assert(sl->l != 0); assert 1752 compat/nedmalloc/malloc.c.h assert(sl->threadid == CURRENT_THREAD); assert 1782 compat/nedmalloc/malloc.c.h assert(!sl->threadid); assert 1839 compat/nedmalloc/malloc.c.h assert(!sl->threadid); assert 1852 compat/nedmalloc/malloc.c.h assert(sl->threadid == CURRENT_THREAD); assert 1853 compat/nedmalloc/malloc.c.h assert(sl->l != 0); assert 1869 compat/nedmalloc/malloc.c.h assert(!sl->threadid); assert 3127 compat/nedmalloc/malloc.c.h assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); assert 3128 compat/nedmalloc/malloc.c.h assert(ok_address(m, p)); assert 3135 compat/nedmalloc/malloc.c.h assert(sp != 0); assert 3136 compat/nedmalloc/malloc.c.h assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); assert 3137 compat/nedmalloc/malloc.c.h assert(ok_address(m, p)); assert 3138 compat/nedmalloc/malloc.c.h assert(sz == m->topsize); assert 3139 compat/nedmalloc/malloc.c.h assert(sz > 0); assert 3140 compat/nedmalloc/malloc.c.h assert(sz == ((sp->base + sp->size) - (char*)p) - TOP_FOOT_SIZE); assert 3141 compat/nedmalloc/malloc.c.h assert(pinuse(p)); assert 3142 compat/nedmalloc/malloc.c.h assert(!pinuse(chunk_plus_offset(p, sz))); assert 3149 compat/nedmalloc/malloc.c.h assert(is_mmapped(p)); assert 3150 compat/nedmalloc/malloc.c.h assert(use_mmap(m)); assert 3151 compat/nedmalloc/malloc.c.h assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); assert 3152 compat/nedmalloc/malloc.c.h assert(ok_address(m, p)); assert 3153 compat/nedmalloc/malloc.c.h assert(!is_small(sz)); assert 3154 compat/nedmalloc/malloc.c.h assert((len & (mparams.page_size-SIZE_T_ONE)) == 0); assert 3155 compat/nedmalloc/malloc.c.h assert(chunk_plus_offset(p, sz)->head == FENCEPOST_HEAD); assert 3156 compat/nedmalloc/malloc.c.h assert(chunk_plus_offset(p, sz+SIZE_T_SIZE)->head == 0); assert 3162 compat/nedmalloc/malloc.c.h assert(cinuse(p)); assert 3163 compat/nedmalloc/malloc.c.h assert(next_pinuse(p)); assert 3165 compat/nedmalloc/malloc.c.h assert(is_mmapped(p) || pinuse(p) || next_chunk(prev_chunk(p)) == p); assert 3175 compat/nedmalloc/malloc.c.h assert(!cinuse(p)); assert 3176 compat/nedmalloc/malloc.c.h assert(!next_pinuse(p)); assert 3177 compat/nedmalloc/malloc.c.h assert (!is_mmapped(p)); assert 3180 compat/nedmalloc/malloc.c.h assert((sz & CHUNK_ALIGN_MASK) == 0); assert 3181 compat/nedmalloc/malloc.c.h assert(is_aligned(chunk2mem(p))); assert 3182 compat/nedmalloc/malloc.c.h assert(next->prev_foot == sz); assert 3183 compat/nedmalloc/malloc.c.h assert(pinuse(p)); assert 3184 compat/nedmalloc/malloc.c.h assert (next == m->top || cinuse(next)); assert 3185 compat/nedmalloc/malloc.c.h assert(p->fd->bk == p); assert 3186 compat/nedmalloc/malloc.c.h assert(p->bk->fd == p); assert 3189 compat/nedmalloc/malloc.c.h assert(sz == SIZE_T_SIZE); assert 3199 compat/nedmalloc/malloc.c.h assert((sz & CHUNK_ALIGN_MASK) == 0); assert 3200 compat/nedmalloc/malloc.c.h assert(sz >= MIN_CHUNK_SIZE); assert 3201 compat/nedmalloc/malloc.c.h assert(sz >= s); assert 3203 compat/nedmalloc/malloc.c.h assert(is_mmapped(p) || sz < (s + MIN_CHUNK_SIZE)); assert 3215 compat/nedmalloc/malloc.c.h assert(tindex == idx); assert 3216 compat/nedmalloc/malloc.c.h assert(tsize >= MIN_LARGE_SIZE); assert 3217 compat/nedmalloc/malloc.c.h assert(tsize >= minsize_for_tree_index(idx)); assert 3218 compat/nedmalloc/malloc.c.h assert((idx == NTREEBINS-1) || (tsize < minsize_for_tree_index((idx+1)))); assert 3222 compat/nedmalloc/malloc.c.h assert(u->index == tindex); assert 3223 compat/nedmalloc/malloc.c.h assert(chunksize(u) == tsize); assert 3224 compat/nedmalloc/malloc.c.h assert(!cinuse(u)); assert 3225 compat/nedmalloc/malloc.c.h assert(!next_pinuse(u)); assert 3226 compat/nedmalloc/malloc.c.h assert(u->fd->bk == u); assert 3227 compat/nedmalloc/malloc.c.h assert(u->bk->fd == u); assert 3229 compat/nedmalloc/malloc.c.h assert(u->child[0] == 0); assert 3230 compat/nedmalloc/malloc.c.h assert(u->child[1] == 0); assert 3233 compat/nedmalloc/malloc.c.h assert(head == 0); /* only one node on chain has parent */ assert 3235 compat/nedmalloc/malloc.c.h assert(u->parent != u); assert 3236 compat/nedmalloc/malloc.c.h assert (u->parent->child[0] == u || assert 3240 compat/nedmalloc/malloc.c.h assert(u->child[0]->parent == u); assert 3241 compat/nedmalloc/malloc.c.h assert(u->child[0] != u); assert 3245 compat/nedmalloc/malloc.c.h assert(u->child[1]->parent == u); assert 3246 compat/nedmalloc/malloc.c.h assert(u->child[1] != u); assert 3250 compat/nedmalloc/malloc.c.h assert(chunksize(u->child[0]) < chunksize(u->child[1])); assert 3255 compat/nedmalloc/malloc.c.h assert(head != 0); assert 3264 compat/nedmalloc/malloc.c.h assert(empty); assert 3275 compat/nedmalloc/malloc.c.h assert(empty); assert 3283 compat/nedmalloc/malloc.c.h assert(small_index(size) == i); assert 3284 compat/nedmalloc/malloc.c.h assert(p->bk == b || chunksize(p->bk) == chunksize(p)); assert 3338 compat/nedmalloc/malloc.c.h assert(pinuse(q)); assert 3343 compat/nedmalloc/malloc.c.h assert(!bin_find(m, q)); assert 3347 compat/nedmalloc/malloc.c.h assert(q == m->dv || bin_find(m, q)); assert 3348 compat/nedmalloc/malloc.c.h assert(lastq == 0 || cinuse(lastq)); /* Not 2 consecutive free */ assert 3372 compat/nedmalloc/malloc.c.h assert(m->dvsize == chunksize(m->dv)); assert 3373 compat/nedmalloc/malloc.c.h assert(m->dvsize >= MIN_CHUNK_SIZE); assert 3374 compat/nedmalloc/malloc.c.h assert(bin_find(m, m->dv) == 0); assert 3380 compat/nedmalloc/malloc.c.h assert(m->topsize > 0); assert 3381 compat/nedmalloc/malloc.c.h assert(bin_find(m, m->top) == 0); assert 3385 compat/nedmalloc/malloc.c.h assert(total <= m->footprint); assert 3386 compat/nedmalloc/malloc.c.h assert(m->footprint <= m->max_footprint); assert 3480 compat/nedmalloc/malloc.c.h assert(S >= MIN_CHUNK_SIZE);\ assert 3499 compat/nedmalloc/malloc.c.h assert(P != B);\ assert 3500 compat/nedmalloc/malloc.c.h assert(P != F);\ assert 3501 compat/nedmalloc/malloc.c.h assert(chunksize(P) == small_index2size(I));\ assert 3517 compat/nedmalloc/malloc.c.h assert(P != B);\ assert 3518 compat/nedmalloc/malloc.c.h assert(P != F);\ assert 3519 compat/nedmalloc/malloc.c.h assert(chunksize(P) == small_index2size(I));\ assert 3539 compat/nedmalloc/malloc.c.h assert(is_small(DVS));\ assert 3747 compat/nedmalloc/malloc.c.h assert(is_aligned(chunk2mem(p))); assert 3845 compat/nedmalloc/malloc.c.h assert((char*)oldfirst > (char*)q); assert 3846 compat/nedmalloc/malloc.c.h assert(pinuse(oldfirst)); assert 3847 compat/nedmalloc/malloc.c.h assert(qsize >= MIN_CHUNK_SIZE); assert 3898 compat/nedmalloc/malloc.c.h assert(is_aligned(ss)); assert 3916 compat/nedmalloc/malloc.c.h assert(nfences >= 2); assert 4150 compat/nedmalloc/malloc.c.h assert(segment_holds(sp, (char*)sp)); assert 4301 compat/nedmalloc/malloc.c.h assert(chunksize(v) == rsize + nb); assert 4339 compat/nedmalloc/malloc.c.h assert(chunksize(v) == rsize + nb); assert 4499 compat/nedmalloc/malloc.c.h assert (chunksize(p) >= nb); assert 4500 compat/nedmalloc/malloc.c.h assert((((size_t)(chunk2mem(p))) % alignment) == 0); assert 4590 compat/nedmalloc/malloc.c.h assert(!is_mmapped(p)); assert 4628 compat/nedmalloc/malloc.c.h assert(remainder_size == element_size); assert 4631 compat/nedmalloc/malloc.c.h assert(remainder_size == request2size(sizes[i])); assert 4692 compat/nedmalloc/malloc.c.h assert(chunksize(p) == small_index2size(idx)); assert 4710 compat/nedmalloc/malloc.c.h assert(chunksize(p) == small_index2size(i)); assert 5128 compat/nedmalloc/malloc.c.h assert(chunksize(p) == small_index2size(idx)); assert 5146 compat/nedmalloc/malloc.c.h assert(chunksize(p) == small_index2size(i)); assert 103 compat/nedmalloc/nedmalloc.c assert(S_OK==GetLastError()); assert 143 compat/nedmalloc/nedmalloc.c assert(cinuse(p)); /* If this fails, someone tried to free a block twice */ assert 252 compat/nedmalloc/nedmalloc.c assert((ptr[0] && ptr[1]) || (!ptr[0] && !ptr[1])); assert 255 compat/nedmalloc/nedmalloc.c assert(nedblksize(ptr[0])>=sizeof(threadcacheblk)); assert 256 compat/nedmalloc/nedmalloc.c assert(nedblksize(ptr[1])>=sizeof(threadcacheblk)); assert 257 compat/nedmalloc/nedmalloc.c assert(*(unsigned int *) "NEDN"==ptr[0]->magic); assert 258 compat/nedmalloc/nedmalloc.c assert(*(unsigned int *) "NEDN"==ptr[1]->magic); assert 259 compat/nedmalloc/nedmalloc.c assert(!ptr[0]->prev); assert 260 compat/nedmalloc/nedmalloc.c assert(!ptr[1]->next); assert 263 compat/nedmalloc/nedmalloc.c assert(!ptr[0]->next); assert 264 compat/nedmalloc/nedmalloc.c assert(!ptr[1]->prev); assert 278 compat/nedmalloc/nedmalloc.c assert(*(unsigned int *) "NEDN"==b->magic); assert 279 compat/nedmalloc/nedmalloc.c assert(!ob || ob->next==b); assert 280 compat/nedmalloc/nedmalloc.c assert(!ob || b->prev==ob); assert 303 compat/nedmalloc/nedmalloc.c assert(blksize<=nedblksize(f)); assert 304 compat/nedmalloc/nedmalloc.c assert(blksize); assert 306 compat/nedmalloc/nedmalloc.c assert(*(unsigned int *) "NEDN"==(*tcb)->magic); assert 314 compat/nedmalloc/nedmalloc.c assert((long) tc->freeInCache>=0); assert 336 compat/nedmalloc/nedmalloc.c assert(!tc->freeInCache); assert 407 compat/nedmalloc/nedmalloc.c assert(bestsize>=*size); assert 409 compat/nedmalloc/nedmalloc.c assert(*size<=THREADCACHEMAX); assert 410 compat/nedmalloc/nedmalloc.c assert(idx<=THREADCACHEMAXBINS); assert 426 compat/nedmalloc/nedmalloc.c assert(nedblksize(blk)>=blksize); assert 427 compat/nedmalloc/nedmalloc.c assert(blksize>=*size); assert 436 compat/nedmalloc/nedmalloc.c assert(binsptr[0]!=blk && binsptr[1]!=blk); assert 437 compat/nedmalloc/nedmalloc.c assert(nedblksize(blk)>=sizeof(threadcacheblk) && nedblksize(blk)<=THREADCACHEMAX+CHUNK_OVERHEAD); assert 444 compat/nedmalloc/nedmalloc.c assert(blksize>=*size); assert 447 compat/nedmalloc/nedmalloc.c assert((long) tc->freeInCache>=0); assert 478 compat/nedmalloc/nedmalloc.c assert(size>=sizeof(threadcacheblk) && size<=THREADCACHEMAX+CHUNK_OVERHEAD); assert 510 compat/nedmalloc/nedmalloc.c assert(idx<=THREADCACHEMAXBINS); assert 527 compat/nedmalloc/nedmalloc.c assert(!*binsptr || (*binsptr)->size==tck->size); assert 529 compat/nedmalloc/nedmalloc.c assert(tck==tc->bins[idx*2]); assert 530 compat/nedmalloc/nedmalloc.c assert(tc->bins[idx*2+1]==tck || binsptr[0]->next->prev==tck); assert 706 compat/nedmalloc/nedmalloc.c assert(!tc->freeInCache); assert 725 compat/nedmalloc/nedmalloc.c assert(m); assert 761 compat/nedmalloc/nedmalloc.c assert(*mymspace>=0); assert 762 compat/nedmalloc/nedmalloc.c assert((long)(size_t)CURRENT_THREAD==(*tc)->threadid); assert 825 compat/nedmalloc/nedmalloc.c assert(memsize); assert 849 compat/nedmalloc/nedmalloc.c assert(mem); assert 853 compat/nedmalloc/nedmalloc.c assert(memsize); assert 490 compat/poll/poll.c assert (h != NULL); assert 1123 compat/regex/regcomp.c assert (0x80 % BITSET_WORD_BITS == 0); assert 1428 compat/regex/regcomp.c assert (node->next == NULL); assert 1444 compat/regex/regcomp.c assert (left > -1); assert 1445 compat/regex/regcomp.c assert (right > -1); assert 1463 compat/regex/regcomp.c assert (!IS_EPSILON_NODE (node->token.type)); assert 1644 compat/regex/regcomp.c assert (dfa->nodes_len > 0); assert 1661 compat/regex/regcomp.c assert (dfa->eclosures[node_idx].nelem != -1); assert 2409 compat/regex/regcomp.c assert (0); assert 3250 compat/regex/regcomp.c assert (0); assert 216 compat/regex/regex_internal.c assert (MB_LEN_MAX >= pstr->mb_cur_max); assert 287 compat/regex/regex_internal.c assert (MB_LEN_MAX >= pstr->mb_cur_max); assert 689 compat/regex/regex_internal.c assert (pstr->valid_len > 0); assert 945 compat/regex/regex_internal.c assert (wc_idx >= 0); assert 474 compat/regex/regexec.c assert (pmatch[0].rm_so == start); assert 534 compat/regex/regexec.c assert (regs_allocated == REGS_FIXED); assert 536 compat/regex/regexec.c assert (regs->num_regs >= nregs); assert 654 compat/regex/regexec.c assert (start + range >= 0 && start + range <= length); assert 866 compat/regex/regexec.c assert (match_last != -1); assert 867 compat/regex/regexec.c assert (err == REG_NOERROR); assert 910 compat/regex/regexec.c assert (mctx.input.offsets_needed == 0); assert 950 compat/regex/regexec.c assert (mctx->state_log != NULL); assert 1096 compat/regex/regexec.c assert (err == REG_ESPACE); assert 1150 compat/regex/regexec.c assert (err == REG_ESPACE); assert 1236 compat/regex/regexec.c assert (state->halt); assert 1383 compat/regex/regexec.c assert (num >= 0); assert 1411 compat/regex/regexec.c assert (nmatch > 1); assert 1412 compat/regex/regexec.c assert (mctx->state_log != NULL); assert 1605 compat/regex/regexec.c assert (mctx->state_log != NULL && mctx->state_log[str_idx] != NULL); assert 1677 compat/regex/regexec.c assert (!IS_EPSILON_NODE (type)); assert 2542 compat/regex/regexec.c assert (dfa->nexts[cur_node_idx] != -1); assert 2608 compat/regex/regexec.c assert (dfa->nexts[node_idx] != -1); assert 3063 compat/regex/regexec.c assert (!IS_EPSILON_NODE (type)); assert 3134 compat/regex/regexec.c assert (cur_nodes->nelem); assert 4307 compat/regex/regexec.c assert (mctx->sub_tops != NULL); assert 4308 compat/regex/regexec.c assert (mctx->asub_tops > 0); assert 1427 config.c assert(values->nr > 0); assert 817 convert.c assert(ca.drv); assert 818 convert.c assert(ca.drv->clean); assert 292 diff-delta.c assert(packed_entry - (struct index_entry *)mem == entries); assert 893 diff.c assert(opt); assert 1020 diff.c assert(opt); assert 1500 diff.c assert(insertions == 0 && deletions == 0); assert 2104 diff.c assert(data->o); assert 84 diffcore-pickaxe.c assert(data[sz] == '\0'); assert 930 dir.c assert(x->baselen == 0 || x->base[x->baselen - 1] == '/'); assert 1050 dir.c assert(stk->baselen == dir->basebuf.len); assert 2037 dir.c assert(dir && subdir && *dir && *subdir); assert 213 entry.c assert(state->istate); assert 124 ewah/ewah_bitmap.c assert(rlw_get_literal_words(self->rlw) == current_num + 1); assert 173 ewah/ewah_bitmap.c assert(rlw_get_run_bit(self->rlw) == v); assert 179 ewah/ewah_bitmap.c assert(rlw_get_running_len(self->rlw) == run_len + 1); assert 184 ewah/ewah_bitmap.c assert(rlw_get_running_len(self->rlw) == 0); assert 185 ewah/ewah_bitmap.c assert(rlw_get_run_bit(self->rlw) == 0); assert 186 ewah/ewah_bitmap.c assert(rlw_get_literal_words(self->rlw) == 0); assert 189 ewah/ewah_bitmap.c assert(rlw_get_run_bit(self->rlw) == v); assert 192 ewah/ewah_bitmap.c assert(rlw_get_running_len(self->rlw) == 1); assert 193 ewah/ewah_bitmap.c assert(rlw_get_literal_words(self->rlw) == 0); assert 217 ewah/ewah_bitmap.c assert(i >= self->bit_size); assert 350 ewah/ewah_bitmap.c assert(it->literals < it->lw); assert 355 ewah/ewah_bitmap.c assert(it->pointer < it->buffer_size); assert 22 exec_cmd.c assert(argv0_path); assert 23 exec_cmd.c assert(is_absolute_path(argv0_path)); assert 2257 fast-import.c assert(*p == ':'); assert 118 fsck.c assert(msg_id >= 0 && msg_id < FSCK_MSG_MAX); assert 259 fsck.c assert(*msg_id); assert 197 graph.c assert(opt); assert 198 graph.c assert(graph); assert 704 graph.c assert(graph->num_parents >= 3); assert 711 graph.c assert(0 <= graph->expansion_row && assert 771 graph.c assert(graph->revs->boundary); assert 925 graph.c assert(parents); assert 927 graph.c assert(par_column); assert 933 graph.c assert(parents); assert 935 graph.c assert(par_column); assert 991 graph.c assert(target * 2 <= i); assert 998 graph.c assert(graph->new_mapping[i] == -1); assert 1047 graph.c assert(graph->new_mapping[i - 1] > target); assert 1048 graph.c assert(graph->new_mapping[i - 2] < 0); assert 1049 graph.c assert(graph->new_mapping[i - 3] == target); assert 1136 graph.c assert(0); assert 687 grep.c assert(x->node == GREP_NODE_OR); assert 917 grep.c assert(p->field < ARRAY_SIZE(header_field)); assert 416 imap-send.c assert(start <= b->bytes); assert 436 imap-send.c assert(b->offset + 1 < b->bytes); assert 61 line-log.c assert(a <= b); assert 70 line-log.c assert(rs->nr == 0 || rs->ranges[rs->nr-1].end <= a); assert 98 line-log.c assert(rs->ranges[0].start < rs->ranges[0].end); assert 101 line-log.c assert(rs->ranges[i-1].end < rs->ranges[i].start); assert 102 line-log.c assert(rs->ranges[i].start < rs->ranges[i].end); assert 129 line-log.c assert(o <= rs->nr); assert 151 line-log.c assert(out->nr == 0); assert 372 line-log.c assert(diff->parent.nr == diff->target.nr); assert 402 line-log.c assert(out->target.nr == 0); assert 550 line-log.c assert(d && line <= d->lines); assert 551 line-log.c assert(d->spec && d->spec->data); assert 627 line-log.c assert(r); assert 642 line-log.c assert(r); assert 772 line-log.c assert(src != dst); assert 824 line-log.c assert(commit); assert 1005 line-log.c assert(pair->two->path); assert 1007 line-log.c assert(rg->path); assert 1018 line-log.c assert(pair->two->sha1_valid); assert 1099 line-log.c assert(rg); assert 184 line-range.c assert(*arg == ':'); assert 47 ll-merge.c assert(opts); assert 90 ll-merge.c assert(opts); assert 131 ll-merge.c assert(opts); assert 178 ll-merge.c assert(opts); assert 98 log-tree.c assert(cb_data == NULL); assert 120 merge-recursive.c assert(!pair2 == !dst_entry2); assert 1550 merge-recursive.c assert(o_sha && a_sha); assert 43 notes-merge.c assert(p->one->mode == p->two->mode); assert 44 notes-merge.c assert(!is_null_sha1(p->one->sha1)); assert 45 notes-merge.c assert(!is_null_sha1(p->two->sha1)); assert 48 notes-merge.c assert(is_null_sha1(p->one->sha1)); assert 51 notes-merge.c assert(is_null_sha1(p->two->sha1)); assert 56 notes-merge.c assert(!strcmp(p->one->path, p->two->path)); assert 152 notes-merge.c assert(!hashcmp(mp->obj, obj)); assert 154 notes-merge.c assert(is_null_sha1(mp->remote)); assert 157 notes-merge.c assert(is_null_sha1(mp->base)); assert 160 notes-merge.c assert(!"Invalid existing change recorded"); assert 219 notes-merge.c assert(!hashcmp(mp->obj, obj)); assert 241 notes-merge.c assert(is_null_sha1(mp->local) || assert 250 notes-merge.c assert(!hashcmp(p->one->sha1, mp->base)); assert 251 notes-merge.c assert(!hashcmp(mp->local, uninitialized)); assert 393 notes-merge.c assert(!is_null_sha1(p->remote)); assert 402 notes-merge.c assert(!is_null_sha1(p->local)); assert 414 notes-merge.c assert(!is_null_sha1(p->local)); assert 415 notes-merge.c assert(!is_null_sha1(p->remote)); assert 545 notes-merge.c assert(o->local_ref && o->remote_ref); assert 546 notes-merge.c assert(!strcmp(o->local_ref, local_tree->ref)); assert 595 notes-merge.c assert(local && remote); assert 12 notes-utils.c assert(t->initialized); assert 165 notes.c assert(tree && parent); assert 166 notes.c assert(CLR_PTR_TYPE(parent->a[index]) == tree); assert 199 notes.c assert(GET_PTR_TYPE(entry) == 0); /* no type bits set */ assert 220 notes.c assert(i == n && parent_stack[i] == tree); assert 250 notes.c assert(GET_PTR_TYPE(entry) == 0); /* no type bits set */ assert 254 notes.c assert(!*p); assert 300 notes.c assert(GET_PTR_TYPE(*p) == PTR_TYPE_NOTE || assert 398 notes.c assert(strcmp(p->path, n->path) == 0); assert 429 notes.c assert(prefix_len * 2 >= n); assert 547 notes.c assert(fanout < 20); assert 598 notes.c assert(path_len < 40 + 19); assert 655 notes.c assert(!tws->next); assert 656 notes.c assert(tws->path[0] == '\0' && tws->path[1] == '\0'); assert 716 notes.c assert(memchr(path + 3 * n, '/', path_len - (3 * n)) == NULL); assert 765 notes.c assert(note_path_len <= 40 + 19); assert 936 notes.c assert(list->strdup_strings); assert 999 notes.c assert(!t->initialized); assert 1048 notes.c assert(!display_notes_trees); assert 1082 notes.c assert(t->initialized); assert 1098 notes.c assert(t->initialized); assert 1115 notes.c assert(t->initialized); assert 1125 notes.c assert(t->initialized); assert 1137 notes.c assert(t->initialized); assert 1163 notes.c assert(t->initialized); assert 1270 notes.c assert(display_notes_trees); assert 312 pack-bitmap.c assert(bitmap_git.map && !bitmap_git.loaded); assert 342 pack-bitmap.c assert(!bitmap_git.map && !bitmap_git.loaded); assert 771 pack-bitmap.c assert(result); assert 820 pack-bitmap.c assert(bitmap_git.result); assert 884 pack-bitmap.c assert(bitmap_git.result); assert 71 pack-write.c assert(index_name); assert 949 path.c assert(filename); assert 316 pathspec.c assert(item->nowildcard_len <= item->len && assert 2106 read-cache.c assert((flags & (COMMIT_LOCK | CLOSE_LOCK)) != assert 726 ref-filter.c assert(branch); assert 311 refs.c assert(entry->flag & REF_DIR); assert 753 refs.c assert(dir->sorted == dir->nr); assert 785 refs.c assert(dir1->sorted == dir1->nr); assert 786 refs.c assert(dir2->sorted == dir2->nr); assert 907 refs.c assert(err); assert 2272 refs.c assert(err); assert 2410 refs.c assert(err); assert 2798 refs.c assert(err); assert 2841 refs.c assert(err); assert 3961 refs.c assert(err); assert 4002 refs.c assert(err); assert 4114 refs.c assert(err); assert 4136 refs.c assert(err); assert 4303 refs.c assert(err); assert 4403 refs.c assert(offset < total_len); assert 181 remote.c assert(replaced == NULL); /* no previous entry overwritten */ assert 971 sequencer.c assert(!(opts->signoff || opts->no_commit || assert 1035 sequencer.c assert(opts->revs); assert 548 setup.c assert(0); assert 267 sha1-lookup.c assert(lov < hiv); assert 3312 sha1_file.c assert(path); assert 3313 sha1_file.c assert(would_convert_to_git_filter_fd(path)); assert 250 split-index.c assert(!(ce->ce_flags & CE_STRIP_NAME)); assert 457 strbuf.c assert(r == -1); assert 182 tree-diff.c assert(t || tp); assert 223 vcs-svn/fast_export.c assert(!signed_add_overflows(preimage.max_off, 1)); assert 246 vcs-svn/fast_export.c assert(len >= 0); assert 267 vcs-svn/fast_export.c assert(response); assert 321 vcs-svn/fast_export.c assert(len >= 0); assert 49 vcs-svn/sliding_window.c assert(view); assert 50 vcs-svn/sliding_window.c assert(view->width <= view->buf.len); assert 51 vcs-svn/sliding_window.c assert(!check_offset_overflow(view->off, view->buf.len)); assert 80 vcs-svn/svndiff.c assert(*delta_len >= 0); assert 221 vcs-svn/svndiff.c assert(ctx); assert 222 vcs-svn/svndiff.c assert(instructions && *instructions); assert 223 vcs-svn/svndiff.c assert(data_pos); assert 267 vcs-svn/svndiff.c assert(delta_len); assert 294 vcs-svn/svndiff.c assert(delta && preimage && postimage && delta_len >= 0); assert 285 vcs-svn/svndump.c assert(old_data); assert 552 wrapper.c assert(err); assert 392 wt-status.c assert(len >= 0); assert 905 wt-status.c assert(s->branch && !s->is_initial); assert 358 xdiff/xutils.c assert(*ptr == '\n');