summaryrefslogtreecommitdiff
path: root/zlib/inffast.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-11-21 22:01:55 +0000
committerjbj <devnull@localhost>2001-11-21 22:01:55 +0000
commitd77eeb993d5f2f63facad07452169f547f614503 (patch)
treecc9c432d6e8484db0a72ff584fd83164b9395e17 /zlib/inffast.c
parent2b8138a6fe8dbc9a031f7a2553652fb24d1120e2 (diff)
downloadlibrpm-tizen-d77eeb993d5f2f63facad07452169f547f614503.tar.gz
librpm-tizen-d77eeb993d5f2f63facad07452169f547f614503.tar.bz2
librpm-tizen-d77eeb993d5f2f63facad07452169f547f614503.zip
Annotations, pass 0.
CVS patchset: 5205 CVS date: 2001/11/21 22:01:55
Diffstat (limited to 'zlib/inffast.c')
-rw-r--r--zlib/inffast.c20
1 files changed, 13 insertions, 7 deletions
diff --git a/zlib/inffast.c b/zlib/inffast.c
index 06d9a09a5..4cebd9c8e 100644
--- a/zlib/inffast.c
+++ b/zlib/inffast.c
@@ -57,8 +57,10 @@ int ret;
/* load input, output, bit values */
LOAD
+/*@-unrecog@*/
PREFETCH(p);
PREFETCH(p+32);
+/*@=unrecog@*/
/* initialize masks */
ml = inflate_mask[bl];
md = inflate_mask[bd];
@@ -66,7 +68,9 @@ int ret;
/* do until not enough input or output space for fast loop */
do { /* assume called with m >= 258 && n >= 10 */
/* get literal/length code */
+/*@-unrecog@*/
PREFETCH(p+64);
+/*@=unrecog@*/
GRABBITS(20) /* max bits for literal/length code */
if ((e = (t = tl + ((uInt)b & ml))->exop) == 0)
{
@@ -103,7 +107,7 @@ int ret;
/* do the copy */
m -= c;
-#if 1
+#if 1 /* { */
if ((uInt)(q - s->window) >= d) /* offset before dest */
{ /* just copy */
r = q - d;
@@ -148,32 +152,34 @@ rest:
do { /* copy all or what's left */
*q++ = *r++;
} while (--c);
-#endif
- break;
+#endif /* } */
+ /*@innerbreak@*/ break;
}
else if ((e & 64) == 0)
{
t += t->base;
e = (t += ((uInt)b & inflate_mask[e]))->exop;
- continue;
+ /*@innercontinue@*/ continue;
}
else
goto inv_dist_code;
} while (1);
- break;
+/*@-unreachable@*/
+ /*@innerbreak@*/ break;
+/*@=unreachable@*/
}
if (!(e & 64)) {
t += t->base;
if ((e = (t += ((uInt)b & inflate_mask[e]))->exop) != 0)
- continue;
+ /*@innercontinue@*/ continue;
DUMPBITS(t->bits)
Tracevv((stderr, t->base >= 0x20 && t->base < 0x7f ?
"inflate: * literal '%c'\n" :
"inflate: * literal 0x%02x\n", t->base));
*q++ = (Byte)t->base;
m--;
- break;
+ /*@innerbreak@*/ break;
} else
{ uInt temp = e & 96;
if (temp == 96)