コード例 #1
0
ファイル: PrintReport.cpp プロジェクト: mboussaa/haxe-testing
void PrintReport_obj::_trace(::String s){
            	HX_STACK_FRAME("utest.ui.text.PrintReport","_trace",0x823ab4c1,"utest.ui.text.PrintReport._trace","utest/ui/text/PrintReport.hx",54,0x46976dac)
            	HX_STACK_THIS(this)
            	HX_STACK_ARG(s,"s")
HXLINE(  55)		s = ::StringTools_obj::replace(s,HX_("  ",00,1c,00,00),this->indent);
HXLINE(  56)		s = ::StringTools_obj::replace(s,HX_("\n",0a,00,00,00),this->newline);
HXLINE(  57)		::haxe::Log_obj::trace(s,hx::SourceInfo(HX_("PrintReport.hx",bd,1c,70,04),57,HX_("utest.ui.text.PrintReport",13,f0,c3,80),HX_("_trace",c6,d5,06,12)));
            	}
コード例 #2
0
            		void _hx_run( ::Dynamic o){
            			HX_STACK_FRAME("thx.TestLocalDate","testCreate",0xa78864bf,"thx.TestLocalDate.testCreate","thx/TestLocalDate.hx",33,0x01342be2)
            			HX_STACK_ARG(o,"o")
HXLINE(  33)			Bool _hx_tmp21 = (( (Int)(o->__Field(HX_("expected",78,2e,30,40),hx::paccDynamic)) ) == ( (Int)(o->__Field(HX_("test",52,c8,f9,4c),hx::paccDynamic)) ));
HXDLIN(  33)			::String _hx_tmp22 = ::thx::_LocalDate::LocalDate_Impl__obj::toString( ::Dynamic(o->__Field(HX_("expected",78,2e,30,40),hx::paccDynamic)));
HXDLIN(  33)			::String _hx_tmp23 = ((HX_("expected ",a8,7a,f8,e9) + _hx_tmp22) + HX_(" but was  ",2a,cb,10,56));
HXDLIN(  33)			::String _hx_tmp24 = ::thx::_LocalDate::LocalDate_Impl__obj::toString( ::Dynamic(o->__Field(HX_("test",52,c8,f9,4c),hx::paccDynamic)));
HXDLIN(  33)			::utest::Assert_obj::isTrue(_hx_tmp21,(_hx_tmp23 + _hx_tmp24),hx::SourceInfo(HX_("TestLocalDate.hx",b7,d2,ad,e4),33,HX_("thx.TestLocalDate",fd,64,f4,92),HX_("testCreate",ee,ac,03,95)));
            		}
コード例 #3
0
Bool HashMap_Impl__obj::remove( ::haxe::ds::_HashMap::HashMapData this1, ::Dynamic k){
            	HX_STACK_FRAME("haxe.ds._HashMap.HashMap_Impl_","remove",0xef67966c,"haxe.ds._HashMap.HashMap_Impl_.remove","/usr/lib/haxe/std/haxe/ds/HashMap.hx",64,0x04ed6968)
            	HX_STACK_ARG(this1,"this1")
            	HX_STACK_ARG(k,"k")
HXLINE(  65)		Int _hx_tmp = ( (Int)( ::Dynamic(k->__Field(HX_("hashCode",1b,0c,75,07),hx::paccDynamic))()) );
HXDLIN(  65)		this1->values->remove(_hx_tmp);
HXLINE(  66)		Int _hx_tmp1 = ( (Int)( ::Dynamic(k->__Field(HX_("hashCode",1b,0c,75,07),hx::paccDynamic))()) );
HXDLIN(  66)		return this1->keys->remove(_hx_tmp1);
            	}
コード例 #4
0
ファイル: ZLib.cpp プロジェクト: KTXSoftware/KodeStudio-win32
/**
   inflate_buffer : 'istream -> src:string -> srcpos:int -> dst:string -> dstpos:int -> { done => bool, read => int, write => int }
**/
Dynamic _hx_inflate_buffer(Dynamic handle, Array<unsigned char> src, int srcPos, Array<unsigned char> dest, int destPos)
{
   ZipResult result = GetInflateStream(handle)->inflate(src,srcPos,dest,destPos);
   if (!result.ok)
      return null();

   return hx::Anon_obj::Create(3)
            ->setFixed(0,HX_("write",df,6c,59,d0),result.write)
            ->setFixed(1,HX_("done",82,f0,6d,42),result.done)
            ->setFixed(2,HX_("read",56,4b,a7,4b),result.read);
}
コード例 #5
0
ファイル: RegExp.cpp プロジェクト: PuzzleBoss/hxcpp
/**
   regexp_matched_pos : 'regexp -> n:int -> { pos => int, len => int }
   <doc>Return the [n]th matched block position by the regexp. If [n] is 0 then
   return the whole matched substring position</doc>
**/
Dynamic _hx_regexp_matched_pos(Dynamic handle, int m)
{
   pcredata *d = PCRE(handle);
   if( m < 0 || m >= d->nmatchs || !d->string.__s )
      return null();

   int start = d->matchs[m*2];
   int len = d->matchs[m*2+1] - start;

   return hx::Anon_obj::Create(2)
            ->setFixed(0,HX_("len",d5,4b,52,00),len)
            ->setFixed(1,HX_("pos",94,5d,55,00),start);
}
コード例 #6
0
ファイル: EReg.cpp プロジェクト: mboussaa/haxe-testing
void EReg_obj::__construct(::String r,::String opt){
            	HX_STACK_FRAME("EReg","new",0x8b859e81,"EReg.new","/usr/lib/haxe/std/cpp/_std/EReg.hx",30,0x16cad931)
            	HX_STACK_THIS(this)
            	HX_STACK_ARG(r,"r")
            	HX_STACK_ARG(opt,"opt")
HXLINE(  31)		HX_VARI( ::Array< ::String >,a) = opt.split(HX_("g",67,00,00,00));
HXLINE(  32)		this->global = (a->length > (int)1);
HXLINE(  33)		Bool _hx_tmp = this->global;
HXDLIN(  33)		if (_hx_tmp) {
HXLINE(  34)			opt = a->join(HX_("",00,00,00,00));
            		}
HXLINE(  35)		this->r = _hx_regexp_new_options(r,opt);
            	}
コード例 #7
0
Bool HashMap_Impl__obj::exists( ::haxe::ds::_HashMap::HashMapData this1, ::Dynamic k){
            	HX_STACK_FRAME("haxe.ds._HashMap.HashMap_Impl_","exists",0xaabf1804,"haxe.ds._HashMap.HashMap_Impl_.exists","/usr/lib/haxe/std/haxe/ds/HashMap.hx",58,0x04ed6968)
            	HX_STACK_ARG(this1,"this1")
            	HX_STACK_ARG(k,"k")
HXLINE(  58)		Int _hx_tmp = ( (Int)( ::Dynamic(k->__Field(HX_("hashCode",1b,0c,75,07),hx::paccDynamic))()) );
HXDLIN(  58)		return this1->values->exists(_hx_tmp);
            	}
コード例 #8
0
void FlxReplay_obj::load(::String FileContents){
            	HX_STACK_FRAME("flixel.system.replay.FlxReplay","load",0x9870e395,"flixel.system.replay.FlxReplay.load","flixel/system/replay/FlxReplay.hx",96,0xb378fa20)
            	HX_STACK_THIS(this)
            	HX_STACK_ARG(FileContents,"FileContents")
HXLINE(  97)		this->init();
HXLINE(  99)		HX_VARI( ::Array< ::String >,lines) = FileContents.split(HX_("\n",0a,00,00,00));
HXLINE( 101)		::String _hx_tmp = lines->__get((int)0);
HXDLIN( 101)		this->seed = ::Std_obj::parseInt(_hx_tmp);
HXLINE( 103)		HX_VAR( ::String,line);
HXLINE( 104)		HX_VARI( Int,i) = (int)1;
HXLINE( 105)		HX_VARI( Int,l) = lines->length;
HXLINE( 106)		while((i < l)){
HXLINE( 108)			Int _hx_tmp1 = i++;
HXDLIN( 108)			line = lines->__get(_hx_tmp1);
HXLINE( 109)			Bool _hx_tmp2 = (line.length > (int)3);
HXDLIN( 109)			if (_hx_tmp2) {
HXLINE( 111)				Int _hx_tmp3 = this->frameCount++;
HXDLIN( 111)				 ::flixel::_hx_system::replay::FrameRecord _hx_tmp4 =  ::flixel::_hx_system::replay::FrameRecord_obj::__new()->load(line);
HXDLIN( 111)				this->_frames[_hx_tmp3] = _hx_tmp4;
HXLINE( 112)				Bool _hx_tmp5 = (this->frameCount >= this->_capacity);
HXDLIN( 112)				if (_hx_tmp5) {
HXLINE( 114)					hx::MultEq(this->_capacity,(int)2);
HXLINE( 115)					::flixel::util::FlxArrayUtil_obj::setLength_flixel_system_replay_FrameRecord(this->_frames,this->_capacity);
            				}
            			}
            		}
HXLINE( 120)		this->rewind();
            	}
コード例 #9
0
void __ASSET__flixel_fonts_nokiafc22_ttf_obj::__boot()
{
{
            	HX_STACK_FRAME("__ASSET__flixel_fonts_nokiafc22_ttf","boot",0x67600628,"__ASSET__flixel_fonts_nokiafc22_ttf.boot","openfl/_legacy/text/Font.hx",17,0x48d29f73)
HXLINE(  17)		resourceName = HX_("NME_font___ASSET__flixel_fonts_nokiafc22_ttf",01,0c,d5,08);
            	}
}
コード例 #10
0
void GraphicPause_obj::__boot()
{
{
            	HX_STACK_FRAME("flixel.system.debug._VCR.GraphicPause","boot",0xd5b076f2,"flixel.system.debug._VCR.GraphicPause.boot","openfl/_legacy/display/BitmapData.hx",22,0x0b92a012)
HXLINE(  22)		resourceName = HX_("__ASSET__:bitmap_flixel_system_debug__VCR_GraphicPause",c8,9f,12,2a);
            	}
}
コード例 #11
0
void __ASSET__flixel_sounds_flixel_ogg_obj::__boot()
{
{
            	HX_STACK_FRAME("__ASSET__flixel_sounds_flixel_ogg","boot",0x134c0a6c,"__ASSET__flixel_sounds_flixel_ogg.boot","openfl/_legacy/media/Sound.hx",25,0xdb1efaa0)
HXLINE(  25)		resourceName = HX_("__ASSET__:sound___ASSET__flixel_sounds_flixel_ogg",9a,52,ef,98);
            	}
}
コード例 #12
0
void GraphicRestart_obj::__boot()
{
{
            	HX_STACK_FRAME("flixel.system.debug._VCR.GraphicRestart","boot",0xb8f5f579,"flixel.system.debug._VCR.GraphicRestart.boot","openfl/_legacy/display/BitmapData.hx",22,0x0b92a012)
HXLINE(  22)		resourceName = HX_("__ASSET__:bitmap_flixel_system_debug__VCR_GraphicRestart",21,e9,41,92);
            	}
}
コード例 #13
0
void __ASSET__flixel_images_ui_button_png_obj::__boot()
{
{
            	HX_STACK_FRAME("__ASSET__flixel_images_ui_button_png","boot",0xe89b5d6d,"__ASSET__flixel_images_ui_button_png.boot","openfl/_legacy/display/BitmapData.hx",22,0x0b92a012)
HXLINE(  22)		resourceName = HX_("__ASSET__:bitmap___ASSET__flixel_images_ui_button_png",79,fa,1e,a0);
            	}
}
コード例 #14
0
void GraphicDrawDebug_obj::__boot()
{
{
            	HX_STACK_FRAME("flixel.system.debug._FlxDebugger.GraphicDrawDebug","boot",0xb9d23927,"flixel.system.debug._FlxDebugger.GraphicDrawDebug.boot","openfl/_legacy/display/BitmapData.hx",22,0x0b92a012)
HXLINE(  22)		resourceName = HX_("__ASSET__:bitmap_flixel_system_debug__FlxDebugger_GraphicDrawDebug",b3,af,96,c5);
            	}
}
コード例 #15
0
void GraphicAutoAlt_obj::__boot()
{
{
            	HX_STACK_FRAME("flixel.tile.GraphicAutoAlt","boot",0x108b01e0,"flixel.tile.GraphicAutoAlt.boot","openfl/_legacy/display/BitmapData.hx",22,0x0b92a012)
HXLINE(  22)		resourceName = HX_("__ASSET__:bitmap_flixel_tile_GraphicAutoAlt",c6,25,2e,70);
            	}
}
コード例 #16
0
void GraphicStop_obj::__boot()
{
{
            	HX_STACK_FRAME("flixel.system.debug._VCR.GraphicStop","boot",0x964546d6,"flixel.system.debug._VCR.GraphicStop.boot","openfl/_legacy/display/BitmapData.hx",22,0x0b92a012)
HXLINE(  22)		resourceName = HX_("__ASSET__:bitmap_flixel_system_debug__VCR_GraphicStop",70,a7,a1,1c);
            	}
}
コード例 #17
0
::String Bytes_obj::getString(Int pos,Int len){
            	HX_STACK_FRAME("haxe.io.Bytes","getString",0xa16beae4,"haxe.io.Bytes.getString","C:\\HaxeToolkit\\haxe\\std/haxe/io/Bytes.hx",360,0x20b05d0c)
            	HX_STACK_THIS(this)
            	HX_STACK_ARG(pos,"pos")
            	HX_STACK_ARG(len,"len")
HXLINE( 362)		Bool _hx_tmp;
HXDLIN( 362)		Bool _hx_tmp1;
HXDLIN( 362)		if ((pos >= (int)0)) {
HXLINE( 362)			_hx_tmp1 = (len < (int)0);
            		}
            		else {
HXLINE( 362)			_hx_tmp1 = true;
            		}
HXDLIN( 362)		if (!(_hx_tmp1)) {
HXLINE( 362)			_hx_tmp = ((pos + len) > this->length);
            		}
            		else {
HXLINE( 362)			_hx_tmp = true;
            		}
HXDLIN( 362)		if (_hx_tmp) {
HXLINE( 362)			HX_STACK_DO_THROW(::haxe::io::Error_obj::OutsideBounds_dyn());
            		}
HXLINE( 372)		HX_VARI( ::String,result) = HX_("",00,00,00,00);
HXLINE( 373)		::__hxcpp_string_of_bytes(this->b,result,pos,len);
HXLINE( 374)		return result;
            	}
コード例 #18
0
void GraphicLogo_obj::__boot()
{
{
            	HX_STACK_FRAME("flixel.system.GraphicLogo","boot",0x1f0bc0ba,"flixel.system.GraphicLogo.boot","openfl/_legacy/display/BitmapData.hx",22,0x0b92a012)
HXLINE(  22)		resourceName = HX_("__ASSET__:bitmap_flixel_system_GraphicLogo",a0,bd,f5,14);
            	}
}
コード例 #19
0
ファイル: ValueType.cpp プロジェクト: mboussaa/haxe-testing
int ValueType_obj::__FindArgCount(::String inName)
{
	if (inName==HX_("TBool",9e,6a,9d,89)) return 0;
	if (inName==HX_("TClass",44,37,80,71)) return 1;
	if (inName==HX_("TEnum",75,51,98,8b)) return 1;
	if (inName==HX_("TFloat",a8,84,be,2b)) return 0;
	if (inName==HX_("TFunction",8c,db,3a,25)) return 0;
	if (inName==HX_("TInt",fb,b0,bd,37)) return 0;
	if (inName==HX_("TNull",fb,84,90,91)) return 0;
	if (inName==HX_("TObject",33,ea,de,ee)) return 0;
	if (inName==HX_("TUnknown",96,bd,59,73)) return 0;
	return super::__FindArgCount(inName);
}
コード例 #20
0
ファイル: ValueType.cpp プロジェクト: mboussaa/haxe-testing
hx::Val ValueType_obj::__Field(const ::String &inName,hx::PropertyAccess inCallProp)
{
	if (inName==HX_("TBool",9e,6a,9d,89)) return TBool;
	if (inName==HX_("TClass",44,37,80,71)) return TClass_dyn();
	if (inName==HX_("TEnum",75,51,98,8b)) return TEnum_dyn();
	if (inName==HX_("TFloat",a8,84,be,2b)) return TFloat;
	if (inName==HX_("TFunction",8c,db,3a,25)) return TFunction;
	if (inName==HX_("TInt",fb,b0,bd,37)) return TInt;
	if (inName==HX_("TNull",fb,84,90,91)) return TNull;
	if (inName==HX_("TObject",33,ea,de,ee)) return TObject;
	if (inName==HX_("TUnknown",96,bd,59,73)) return TUnknown;
	return super::__Field(inName,inCallProp);
}
コード例 #21
0
ファイル: ValueType.cpp プロジェクト: mboussaa/haxe-testing
bool ValueType_obj::__GetStatic(const ::String &inName, ::Dynamic &outValue, hx::PropertyAccess inCallProp)
{
	if (inName==HX_("TBool",9e,6a,9d,89)) { outValue = ValueType_obj::TBool; return true; }
	if (inName==HX_("TClass",44,37,80,71)) { outValue = ValueType_obj::TClass_dyn(); return true; }
	if (inName==HX_("TEnum",75,51,98,8b)) { outValue = ValueType_obj::TEnum_dyn(); return true; }
	if (inName==HX_("TFloat",a8,84,be,2b)) { outValue = ValueType_obj::TFloat; return true; }
	if (inName==HX_("TFunction",8c,db,3a,25)) { outValue = ValueType_obj::TFunction; return true; }
	if (inName==HX_("TInt",fb,b0,bd,37)) { outValue = ValueType_obj::TInt; return true; }
	if (inName==HX_("TNull",fb,84,90,91)) { outValue = ValueType_obj::TNull; return true; }
	if (inName==HX_("TObject",33,ea,de,ee)) { outValue = ValueType_obj::TObject; return true; }
	if (inName==HX_("TUnknown",96,bd,59,73)) { outValue = ValueType_obj::TUnknown; return true; }
	return super::__GetStatic(inName, outValue, inCallProp);
}
コード例 #22
0
void TestIterators_obj::testEquals(){
            	HX_STACK_FRAME("thx.TestIterators","testEquals",0xbb05f5f6,"thx.TestIterators.testEquals","thx/TestIterators.hx",14,0x153921d6)
            	HX_STACK_THIS(this)
HXLINE(  15)		HX_VARI( ::Array< Int >,a) = ::Array_obj< Int >::__new(3)->init(0,(int)1)->init(1,(int)2)->init(2,(int)3);
HXDLIN(  15)		HX_VARI( ::Array< Int >,b) = ::Array_obj< Int >::__new(2)->init(0,(int)1)->init(1,(int)2);
HXDLIN(  15)		HX_VARI( ::Array< Int >,c) = ::Array_obj< Int >::__new(3)->init(0,(int)1)->init(1,(int)2)->init(2,(int)4);
HXLINE(  19)		 ::Dynamic _hx_tmp = a->iterator();
HXDLIN(  19)		 ::Dynamic _hx_tmp1 = a->iterator();
HXDLIN(  19)		Bool _hx_tmp2 = ::thx::Iterators_obj::equals(_hx_tmp,_hx_tmp1,null());
HXDLIN(  19)		::utest::Assert_obj::isTrue(_hx_tmp2,null(),hx::SourceInfo(HX_("TestIterators.hx",ab,c8,b2,f8),19,HX_("thx.TestIterators",89,ee,b4,21),HX_("testEquals",31,34,e7,d8)));
HXLINE(  20)		 ::Dynamic _hx_tmp3 = a->iterator();
HXDLIN(  20)		 ::Dynamic _hx_tmp4 = b->iterator();
HXDLIN(  20)		Bool _hx_tmp5 = ::thx::Iterators_obj::equals(_hx_tmp3,_hx_tmp4,null());
HXDLIN(  20)		::utest::Assert_obj::isFalse(_hx_tmp5,null(),hx::SourceInfo(HX_("TestIterators.hx",ab,c8,b2,f8),20,HX_("thx.TestIterators",89,ee,b4,21),HX_("testEquals",31,34,e7,d8)));
HXLINE(  21)		 ::Dynamic _hx_tmp6 = a->iterator();
HXDLIN(  21)		 ::Dynamic _hx_tmp7 = c->iterator();
HXDLIN(  21)		Bool _hx_tmp8 = ::thx::Iterators_obj::equals(_hx_tmp6,_hx_tmp7,null());
HXDLIN(  21)		::utest::Assert_obj::isFalse(_hx_tmp8,null(),hx::SourceInfo(HX_("TestIterators.hx",ab,c8,b2,f8),21,HX_("thx.TestIterators",89,ee,b4,21),HX_("testEquals",31,34,e7,d8)));
            	}
コード例 #23
0
ファイル: Assertation.cpp プロジェクト: mboussaa/haxe-testing
int Assertation_obj::__FindArgCount(::String inName)
{
	if (inName==HX_("AsyncError",0c,87,17,18)) return 2;
	if (inName==HX_("Error",a8,3b,57,06)) return 2;
	if (inName==HX_("Failure",2a,98,4b,e4)) return 2;
	if (inName==HX_("SetupError",2b,ec,dd,4b)) return 2;
	if (inName==HX_("Success",a3,4d,9f,85)) return 1;
	if (inName==HX_("TeardownError",04,13,5f,d2)) return 2;
	if (inName==HX_("TimeoutError",87,45,e9,bc)) return 2;
	if (inName==HX_("Warning",3c,02,1d,d7)) return 1;
	return super::__FindArgCount(inName);
}
コード例 #24
0
ファイル: Assertation.cpp プロジェクト: mboussaa/haxe-testing
bool Assertation_obj::__GetStatic(const ::String &inName, ::Dynamic &outValue, hx::PropertyAccess inCallProp)
{
	if (inName==HX_("AsyncError",0c,87,17,18)) { outValue = Assertation_obj::AsyncError_dyn(); return true; }
	if (inName==HX_("Error",a8,3b,57,06)) { outValue = Assertation_obj::Error_dyn(); return true; }
	if (inName==HX_("Failure",2a,98,4b,e4)) { outValue = Assertation_obj::Failure_dyn(); return true; }
	if (inName==HX_("SetupError",2b,ec,dd,4b)) { outValue = Assertation_obj::SetupError_dyn(); return true; }
	if (inName==HX_("Success",a3,4d,9f,85)) { outValue = Assertation_obj::Success_dyn(); return true; }
	if (inName==HX_("TeardownError",04,13,5f,d2)) { outValue = Assertation_obj::TeardownError_dyn(); return true; }
	if (inName==HX_("TimeoutError",87,45,e9,bc)) { outValue = Assertation_obj::TimeoutError_dyn(); return true; }
	if (inName==HX_("Warning",3c,02,1d,d7)) { outValue = Assertation_obj::Warning_dyn(); return true; }
	return super::__GetStatic(inName, outValue, inCallProp);
}
コード例 #25
0
Bool HashSet_Impl__obj::add( ::haxe::ds::_HashMap::HashMapData this1, ::Dynamic v){
            	HX_STACK_FRAME("thx._HashSet.HashSet_Impl_","add",0x20fc7f78,"thx._HashSet.HashSet_Impl_.add","thx/HashSet.hx",38,0x440165d5)
            	HX_STACK_ARG(this1,"this1")
            	HX_STACK_ARG(v,"v")
HXLINE(  38)		Int _hx_tmp = ( (Int)( ::Dynamic(v->__Field(HX_("hashCode",1b,0c,75,07),hx::paccDynamic))()) );
HXDLIN(  38)		Bool _hx_tmp1 = this1->values->exists(_hx_tmp);
HXDLIN(  38)		if (_hx_tmp1) {
HXLINE(  38)			return false;
            		}
            		else {
コード例 #26
0
ファイル: Assertation.cpp プロジェクト: mboussaa/haxe-testing
hx::Val Assertation_obj::__Field(const ::String &inName,hx::PropertyAccess inCallProp)
{
	if (inName==HX_("AsyncError",0c,87,17,18)) return AsyncError_dyn();
	if (inName==HX_("Error",a8,3b,57,06)) return Error_dyn();
	if (inName==HX_("Failure",2a,98,4b,e4)) return Failure_dyn();
	if (inName==HX_("SetupError",2b,ec,dd,4b)) return SetupError_dyn();
	if (inName==HX_("Success",a3,4d,9f,85)) return Success_dyn();
	if (inName==HX_("TeardownError",04,13,5f,d2)) return TeardownError_dyn();
	if (inName==HX_("TimeoutError",87,45,e9,bc)) return TimeoutError_dyn();
	if (inName==HX_("Warning",3c,02,1d,d7)) return Warning_dyn();
	return super::__Field(inName,inCallProp);
}
コード例 #27
0
Int FlxKeyboard_obj::resolveKeyCode( ::openfl::_legacy::events::KeyboardEvent e){
            	HX_STACK_FRAME("flixel.input.keyboard.FlxKeyboard","resolveKeyCode",0x581c5a06,"flixel.input.keyboard.FlxKeyboard.resolveKeyCode","flixel/input/keyboard/FlxKeyboard.hx",119,0x41882875)
            	HX_STACK_THIS(this)
            	HX_STACK_ARG(e,"e")
HXLINE( 123)		::String key = ((e->charCode + HX_("_",5f,00,00,00)) + e->keyCode);
HXDLIN( 123)		HX_VARI(  ::Dynamic,code) = this->_nativeCorrection->get(key);
HXLINE( 124)		Bool _hx_tmp = hx::IsNull( code );
HXDLIN( 124)		if (_hx_tmp) {
HXLINE( 124)			return e->keyCode;
            		}
            		else {
コード例 #28
0
ファイル: ClassResult.cpp プロジェクト: mboussaa/haxe-testing
void ClassResult_obj::add( ::utest::ui::common::FixtureResult result){
            	HX_STACK_FRAME("utest.ui.common.ClassResult","add",0x8d989ff8,"utest.ui.common.ClassResult.add","utest/ui/common/ClassResult.hx",28,0xe4199a3a)
            	HX_STACK_THIS(this)
            	HX_STACK_ARG(result,"result")
HXLINE(  29)		Bool _hx_tmp = this->fixtures->exists(result->methodName);
HXDLIN(  29)		if (_hx_tmp) {
HXLINE(  29)			HX_STACK_DO_THROW(HX_("invalid duplicated fixture result",b2,5f,82,0c));
            		}
HXLINE(  31)		this->stats->wire(result->stats);
HXLINE(  33)		this->methods++;
HXLINE(  34)		this->fixtures->set(result->methodName,result);
            	}
コード例 #29
0
void ResourceTest_obj::__boot()
{
{
            	HX_STACK_FRAME("thx.ResourceTest","boot",0x15bbf896,"thx.ResourceTest.boot","thx/macro/BuildResource.hx",26,0xef86e250)
HXLINE(  26)		fileJson =  ::Dynamic(hx::Anon_obj::Create(1)
            			->setFixed(0,HX_("some",f4,22,58,4c),HX_("value",71,7f,b8,31)));
            	}
{
            	HX_STACK_FRAME("thx.ResourceTest","boot",0x15bbf896,"thx.ResourceTest.boot","thx/macro/BuildResource.hx",26,0xef86e250)
HXLINE(  26)		fileText = HX_("some text\n",91,a8,97,73);
            	}
{
            	HX_STACK_FRAME("thx.ResourceTest","boot",0x15bbf896,"thx.ResourceTest.boot","thx/macro/BuildResource.hx",26,0xef86e250)
HXLINE(  26)		a = (int)1;
            	}
{
            	HX_STACK_FRAME("thx.ResourceTest","boot",0x15bbf896,"thx.ResourceTest.boot","thx/macro/BuildResource.hx",26,0xef86e250)
HXLINE(  26)		b =  ::Dynamic(hx::Anon_obj::Create(1)
            			->setFixed(0,HX_("s",73,00,00,00),HX_("thx",84,60,58,00)));
            	}
{
            	HX_STACK_FRAME("thx.ResourceTest","boot",0x15bbf896,"thx.ResourceTest.boot","thx/macro/BuildResource.hx",26,0xef86e250)
HXLINE(  26)		c = true;
            	}
{
            	HX_STACK_FRAME("thx.ResourceTest","boot",0x15bbf896,"thx.ResourceTest.boot","thx/macro/BuildResource.hx",26,0xef86e250)
HXLINE(  26)		d = HX_("haxe",26,34,08,45);
            	}
}
コード例 #30
0
void URLRequestMethod_obj::__boot()
{
{
            	HX_STACK_FRAME("openfl._legacy.net.URLRequestMethod","boot",0xcbf813ca,"openfl._legacy.net.URLRequestMethod.boot","openfl/_legacy/net/URLRequestMethod.hx",7,0x21737085)
HXLINE(   7)		DELETE = HX_("DELETE",2b,6c,5b,1d);
            	}
{
            	HX_STACK_FRAME("openfl._legacy.net.URLRequestMethod","boot",0xcbf813ca,"openfl._legacy.net.URLRequestMethod.boot","openfl/_legacy/net/URLRequestMethod.hx",8,0x21737085)
HXLINE(   8)		GET = HX_("GET",76,1c,36,00);
            	}
{
            	HX_STACK_FRAME("openfl._legacy.net.URLRequestMethod","boot",0xcbf813ca,"openfl._legacy.net.URLRequestMethod.boot","openfl/_legacy/net/URLRequestMethod.hx",9,0x21737085)
HXLINE(   9)		HEAD = HX_("HEAD",20,f1,cb,2f);
            	}
{
            	HX_STACK_FRAME("openfl._legacy.net.URLRequestMethod","boot",0xcbf813ca,"openfl._legacy.net.URLRequestMethod.boot","openfl/_legacy/net/URLRequestMethod.hx",10,0x21737085)
HXLINE(  10)		OPTIONS = HX_("OPTIONS",3e,07,d2,5f);
            	}
{
            	HX_STACK_FRAME("openfl._legacy.net.URLRequestMethod","boot",0xcbf813ca,"openfl._legacy.net.URLRequestMethod.boot","openfl/_legacy/net/URLRequestMethod.hx",11,0x21737085)
HXLINE(  11)		POST = HX_("POST",60,4c,1d,35);
            	}
{
            	HX_STACK_FRAME("openfl._legacy.net.URLRequestMethod","boot",0xcbf813ca,"openfl._legacy.net.URLRequestMethod.boot","openfl/_legacy/net/URLRequestMethod.hx",12,0x21737085)
HXLINE(  12)		PUT = HX_("PUT",af,fe,3c,00);
            	}
}