Home | History | Annotate | Download | only in src

Lines Matching refs:dictionary

48         -dictionary $DICTIONARY_FILE -target $TARGET_FILE -delta $DELTA_FILE \
55 encode -dictionary $DICTIONARY_FILE \
60 $VCDIFF decode -dictionary $DICTIONARY_FILE \
75 encode -dictionary $DICTIONARY_FILE \
80 { $VCDIFF decode -dictionary $DICTIONARY_FILE \
95 encode -dictionary $DICTIONARY_FILE \
100 { $VCDIFF decode -dictionary $DICTIONARY_FILE \
114 encode -dictionary $DICTIONARY_FILE \
119 { $VCDIFF decode -dictionary $DICTIONARY_FILE \
132 # If using the wrong dictionary, and dictionary is smaller than the original
133 # dictionary, vcdiff will spot the mistake and return an error. (It can't
134 # detect the case where the wrong dictionary is larger than the right one.)
135 $VCDIFF decode -dictionary $TARGET_FILE \
138 && { echo "Decode using larger dictionary should fail, but succeeded"; \
147 test -dictionary $DICTIONARY_FILE \
156 # Dictionary file not found.
158 encode -dictionary $TEST_TMPDIR/nonexistent_file \
161 && { echo "vcdiff with missing dictionary file should fail, but succeeded"; \
167 encode -dictionary $DICTIONARY_FILE \
175 $VCDIFF decode -dictionary $DICTIONARY_FILE \
186 encode -dictionary $TEST_TMPDIR/infinite_loop1 \
197 encode -dictionary $DICTIONARY_FILE \
204 decode -dictionary $DICTIONARY_FILE \
217 # Using /dev/null as dictionary should work, but (because dictionary is empty)
220 test -dictionary /dev/null \
224 || { echo "vcdiff test with /dev/null as dictionary failed"; \
230 # Using /dev/kmem as dictionary or target should produce an error
233 encode -dictionary /dev/kmem \
236 && { echo "vcdiff with /dev/kmem as dictionary should fail, but succeeded"; \
241 encode -dictionary $DICTIONARY_FILE \
249 $VCDIFF decode -dictionary $DICTIONARY_FILE \
259 -dictionary \
260 && { echo "-dictionary option with no file name should fail, but succeeded"; \
265 encode -dictionary $DICTIONARY_FILE \
273 encode -dictionary $DICTIONARY_FILE \
281 encode -dictionary $DICTIONARY_FILE \
291 test -dictionary $DICTIONARY_FILE \
304 { $VCDIFF encode -dictionary $DICTIONARY_FILE \
311 { $VCDIFF decode -dictionary $DICTIONARY_FILE \
328 test -dictionary $DICTIONARY_FILE \
340 test -dictionary $DICTIONARY_FILE \
352 test -dictionary $DICTIONARY_FILE \
363 && { echo "encode with no dictionary option should fail, but succeeded"; \
369 && { echo "decode with no dictionary option should fail, but succeeded"; \
374 { $VCDIFF encode -dictionary $DICTIONARY_FILE \
379 { $VCDIFF decode -dictionary $DICTIONARY_FILE \
390 { $VCDIFF encode -dictionary $DICTIONARY_FILE \
398 { $VCDIFF decode -dictionary $DICTIONARY_FILE \
412 dencode -dictionary $DICTIONARY_FILE \
420 test -dictionary $DICTIONARY_FILE \
427 test -dictionary $DICTIONARY_FILE \
444 decode -dictionary $DICTIONARY_FILE \
453 decode -dictionary $DICTIONARY_FILE \
465 test -dictionary $DICTIONARY_FILE \
475 test -dictionary $DICTIONARY_FILE \
487 encode -dictionary $DICTIONARY_FILE \
494 decode -dictionary $DICTIONARY_FILE \
510 encode -dictionary $DICTIONARY_FILE \
517 decode -dictionary $DICTIONARY_FILE \