Home
last modified time | relevance | path

Searched refs:Assert (Results 1 – 25 of 62) sorted by relevance

123

/external/zlib/contrib/dotzlib/DotZLib/
DUnitTests.cs51 Assert.AreEqual( 0, buf.Size ); in SinglePutGet()
52 Assert.AreEqual( -1, buf.Get() ); in SinglePutGet()
54 Assert.IsTrue(buf.Put( 1 )); in SinglePutGet()
55 Assert.AreEqual( 1, buf.Size ); in SinglePutGet()
56 Assert.AreEqual( 1, buf.Get() ); in SinglePutGet()
57 Assert.AreEqual( 0, buf.Size ); in SinglePutGet()
58 Assert.AreEqual( -1, buf.Get() ); in SinglePutGet()
66 Assert.AreEqual( 10, buf.Put(arr,0,10) ); in BlockPutGet()
67 Assert.AreEqual( 10, buf.Size ); in BlockPutGet()
68 Assert.IsFalse( buf.Put(11) ); in BlockPutGet()
[all …]
DCircularBuffer.cs29 Debug.Assert( capacity > 0 ); in CircularBuffer()
41 Debug.Assert( count > 0 ); in Put()
/external/gtest/test/
Dgtest_uninitialized_test.py58 def Assert(condition): function
75 Assert(p.exited)
77 Assert('InitGoogleTest' in p.output)
/external/junit/src/junit/extensions/
DTestDecorator.java3 import junit.framework.Assert;
14 public class TestDecorator extends Assert implements Test {
/external/zlib/
Dtrees.c198 Assert(length > 0 && length <= 15, "invalid length");
267 Assert (length == 256, "tr_static_init: length != 256"); in tr_static_init()
282 Assert (dist == 256, "tr_static_init: dist != 256"); in tr_static_init()
290 Assert (dist == 256, "tr_static_init: 256+dist != 512"); in tr_static_init()
335 Assert (header != NULL, "Can't open trees.h"); in gen_trees_header()
596 Assert (code + bl_count[MAX_BITS]-1 == (1<<MAX_BITS)-1,
779 Assert(count >= 3 && count <= 6, " 3_6?");
844 Assert (lcodes >= 257 && dcodes >= 1 && blcodes >= 4, "not enough codes");
845 Assert (lcodes <= L_CODES && dcodes <= D_CODES && blcodes <= BL_CODES,
965 Assert(buf != (char*)0, "lost buf");
[all …]
Ddeflate.c827 Assert(strm->avail_out > 0, "bug2");
1061 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
1072 Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
1075 Assert(cur_match < s->strstart, "no future");
1102 Assert(scan[2] == match[2], "scan[2]?");
1113 Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
1133 Assert(*scan == *match, "match[2]?");
1145 Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
1187 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
1189 Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
[all …]
Dzutil.h245 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} macro
252 # define Assert(cond,msg) macro
Dzutil.c259 Assert(0, "zcfree: ptr not found"); in zcfree()
/external/webkit/WebCore/platform/image-decoders/zlib/
Dtrees.c198 Assert(length > 0 && length <= 15, "invalid length");
267 Assert (length == 256, "tr_static_init: length != 256"); in tr_static_init()
282 Assert (dist == 256, "tr_static_init: dist != 256"); in tr_static_init()
290 Assert (dist == 256, "tr_static_init: 256+dist != 512"); in tr_static_init()
335 Assert (header != NULL, "Can't open trees.h"); in gen_trees_header()
596 Assert (code + bl_count[MAX_BITS]-1 == (1<<MAX_BITS)-1,
779 Assert(count >= 3 && count <= 6, " 3_6?");
844 Assert (lcodes >= 257 && dcodes >= 1 && blcodes >= 4, "not enough codes");
845 Assert (lcodes <= L_CODES && dcodes <= D_CODES && blcodes <= BL_CODES,
965 Assert(buf != (char*)0, "lost buf");
[all …]
Ddeflate.c827 Assert(strm->avail_out > 0, "bug2");
1061 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
1072 Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
1075 Assert(cur_match < s->strstart, "no future");
1102 Assert(scan[2] == match[2], "scan[2]?");
1113 Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
1133 Assert(*scan == *match, "match[2]?");
1145 Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
1187 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
1189 Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
[all …]
Dzutil.h245 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} macro
252 # define Assert(cond,msg) macro
Dzutil.c259 Assert(0, "zcfree: ptr not found"); in zcfree()
/external/qemu/distrib/zlib-1.2.3/
Dtrees.c198 Assert(length > 0 && length <= 15, "invalid length");
267 Assert (length == 256, "tr_static_init: length != 256"); in tr_static_init()
282 Assert (dist == 256, "tr_static_init: dist != 256"); in tr_static_init()
290 Assert (dist == 256, "tr_static_init: 256+dist != 512"); in tr_static_init()
335 Assert (header != NULL, "Can't open trees.h"); in gen_trees_header()
596 Assert (code + bl_count[MAX_BITS]-1 == (1<<MAX_BITS)-1,
779 Assert(count >= 3 && count <= 6, " 3_6?");
844 Assert (lcodes >= 257 && dcodes >= 1 && blcodes >= 4, "not enough codes");
845 Assert (lcodes <= L_CODES && dcodes <= D_CODES && blcodes <= BL_CODES,
965 Assert(buf != (char*)0, "lost buf");
[all …]
Ddeflate.c827 Assert(strm->avail_out > 0, "bug2");
1061 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
1072 Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
1075 Assert(cur_match < s->strstart, "no future");
1102 Assert(scan[2] == match[2], "scan[2]?");
1113 Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
1133 Assert(*scan == *match, "match[2]?");
1145 Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
1187 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
1189 Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
[all …]
Dzutil.h245 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} macro
252 # define Assert(cond,msg) macro
Dzutil.c259 Assert(0, "zcfree: ptr not found"); in zcfree()
/external/junit/src/junit/framework/
DComparisonCompactor.java23 return Assert.format(message, fExpected, fActual); in compact()
29 return Assert.format(message, expected, actual); in compact()
DAssert.java7 public class Assert { class
11 protected Assert() { in Assert() method in Assert
DTestCase.java72 public abstract class TestCase extends Assert implements Test {
/external/opencore/nodes/pvcommsionode/src/
Dpv_comms_io_node.cpp401 Assert(!iCancelCommand.empty()); in RequestCompleted()
416 Assert(!iCurrentCommand.empty()); in RequestCompleted()
525 Assert(false); in RequestCompleted()
681 Assert(!iInputCommands.empty()); in ProcessCommand()
709 Assert(false); in ProcessCommand()
787 Assert(false); in ProcessCommand()
1316 Assert(iMediaIORequest == ENone); in SendMioRequest()
1455 Assert(false);//unrecognized command. in SendMioRequest()
1471 Assert(iMediaIORequest != ENone); in CancelMioRequest()
1473 Assert(!iMediaIOCancelPending); in CancelMioRequest()
[all …]
/external/zlib/contrib/ada/
Dzlib.ads291 pragma Assert (Ada.Streams.Stream_Element'Size = 8);
292 pragma Assert (Ada.Streams.Stream_Element'Modulus = 2**8);
Dbuffer_demo.adb54 pragma Assert (I = Source'Last);
Dzlib.adb407 pragma Assert (Rest_First in Buffer'First .. Buffer'Last + 1);
408 pragma Assert (Rest_Last in Buffer'First - 1 .. Buffer'Last);
Dreadme.txt18 - Add pragma Assert to check Stream_Element is 8 bit.
/external/webkit/V8Binding/v8/src/ia32/
Dmacro-assembler-ia32.h293 void Assert(Condition cc, const char* msg);

123