Lines Matching refs:var

51     private var successCnt : Int = 0;
52 private var errorCnt : Int = 0;
53 private var failedTests : String = "";
54 private var print_direct : Bool = false;
56 public static var EXITCODE_SUCCESS = 0x00; // no errors bits set
58 public static var EXITCODE_FAILBIT_BASETYPES = 0x01;
59 public static var EXITCODE_FAILBIT_STRUCTS = 0x02;
60 public static var EXITCODE_FAILBIT_CONTAINERS = 0x04;
61 public static var EXITCODE_FAILBIT_EXCEPTIONS = 0x08;
63 public static var EXITCODE_ALL_FAILBITS = 0x0F;
65 private var testsExecuted : Int = 0;
66 private var testsFailed : Int = 0;
67 private var currentTest : Int = 0;
93 var notExecuted : Int = EXITCODE_ALL_FAILBITS & (~testsExecuted);
98 var total = successCnt + errorCnt;
99 var sp = Math.round((1000 * successCnt) / total) / 10;
100 var ep = Math.round((1000 * errorCnt) / total) / 10;
120 var exitCode = 0xFF;
123 var difft = Timer.stamp();
158 var rslt = new TestResults(true);
168 var threads = new List<Thread>();
172 var exitCode : Int = 0;
182 var thread = Thread.create(
184 var rslt = new TestResults(false);
185 var main : Thread = Thread.readMessage(true);
211 var transport : TTransport = null;
217 var uri = 'http://${args.host}:${args.port}';
235 var protocol : TProtocol = null;
267 var map32 = new IntMap<Int32>();
268 var map64 = new Int64Map<Int32>();
312 var c32 = 0;
313 var ksum32 = 0;
318 var c64 = 0;
319 var ksum64 = Int64.make(0,0);
328 var s32 = map32.toString().replace(' ', '');
329 var s64 = map64.toString().replace(' ', '');
384 var hex = "";
392 var retval = Bytes.alloc(0x100);
393 var initLen : Int = (retval.length > 0x100 ? 0x100 : retval.length);
409 var nextPos = Std.random(initLen);
423 var client = new ThriftTestImpl(protocol,protocol);
442 var start = Date.now();
509 var b = client.testBool(true);
518 var s = client.testString("Test");
523 var i8 = client.testByte(1);
528 var i32 = client.testI32(-1);
533 var i64 = client.testI64( Int64.make( 0xFFFFFFF8, 0x00000000)); // -34359738368
546 var dub = client.testDouble(5.325098235);
551 var uuidOut : String = UuidHelper.CanonicalUuid("{00112233-4455-6677-8899-AABBCCDDEEFF}");
554 var uuidIn = client.testUuid(uuidOut);
563 var binOut = PrepareTestData(true);
566 var binIn = client.testBinary(binOut);
569 var len = ((binIn.length < binOut.length) ? binIn.length : binOut.length);
584 var o = new Xtruct();
589 var i = client.testStruct(o);
598 var o2 = new Xtruct2();
602 var i2 = client.testNest(o2);
617 var mapout = new IntMap< haxe.Int32>();
623 var first : Bool = true;
638 var mapin = client.testMap(mapout);
661 var listout = new List<Int>();
682 var listin = client.testList(listout);
701 var literout = listout.iterator();
702 var literin = listin.iterator();
708 var setout = new IntSet();
729 var setin = client.testSet(setout);
753 var ret = client.testEnum(Numberz.ONE);
778 var uid = client.testTypedef( Int64.make( 0x119D0, 0x7E08671B)); // 309858235082523
787 var mm = client.testMapMap(1);
792 var m2 = mm.get(key);
801 var pos = mm.get(4);
802 var neg = mm.get(-4);
816 var insane = new Insanity();
819 var truck = new Xtruct();
827 var whoa = client.testInsanity(insane);
831 var val = whoa.get(key);
836 var v2 = val.get(k2);
839 var userMap = v2.userMap;
855 var xtructs = v2.xtructs;
892 var first_map = whoa.get(Int64.make(0,1));
893 var second_map = whoa.get(Int64.make(0,2));
897 var crazy2 = first_map.get(Numberz.TWO);
898 var crazy3 = first_map.get(Numberz.THREE);
899 var looney = second_map.get(Numberz.SIX);
903 var crz2iter = crazy2.xtructs.iterator();
904 var crz3iter = crazy3.xtructs.iterator();
906 var goodbye2 = crz2iter.next();
907 var goodbye3 = crz3iter.next();
926 var arg0 = 1;
927 var arg1 = 2;
928 var arg2 = Int64.make( 0x7FFFFFFF,0xFFFFFFFF);
929 var multiDict = new IntMap< String>();
931 var arg4 = Numberz.FIVE;
932 var arg5 = Int64.make(0,5000000);
934 var multiResponse = client.testMulti(arg0, arg1, arg2, multiDict, arg4, arg5);
952 var difft = Timer.stamp();