Пример #1
0
N_NIMCALL(NU8, nametoos_167609)(NimStringDesc* name) {
	NU8 result;
{	result = 0;
	{
		NU8 i_168214;
		NI res_168219;
		i_168214 = 0;
		res_168219 = ((NI) 1);
		{
			while (1) {
				if (!(res_168219 <= ((NI) 24))) goto LA3;
				i_168214 = ((NU8) (res_168219));
				{
					NI LOC6;
					LOC6 = 0;
					LOC6 = nsuCmpIgnoreStyle(name, Os_167055[(i_168214)- 1].Field0);
					if (!(LOC6 == ((NI) 0))) goto LA7;
					result = i_168214;
					goto BeforeRet;
				}
				LA7: ;
				res_168219 += ((NI) 1);
			} LA3: ;
		}
	}
	result = ((NU8) 0);
	}BeforeRet: ;
	return result;
}
Пример #2
0
N_NIMCALL(NI, findstr_Mh4RSCN9aIWDwvYyU6JF2mA)(NimStringDesc** a0, NI a0Len0, NimStringDesc* s0) {
	NI result0;
{	result0 = (NI)0;
	{
		NI i_8pOKgBkitaCPJ87X4JyBBw;
		NI HEX3Atmp_bp6BZU7JgUr2veOqEM0vNQ;
		NI res_ff9cn6iRF5E2iVhU4wjAmMA;
		i_8pOKgBkitaCPJ87X4JyBBw = (NI)0;
		HEX3Atmp_bp6BZU7JgUr2veOqEM0vNQ = (NI)0;
		HEX3Atmp_bp6BZU7JgUr2veOqEM0vNQ = (a0Len0-1);
		res_ff9cn6iRF5E2iVhU4wjAmMA = ((NI) 0);
		{
			while (1) {
				if (!(res_ff9cn6iRF5E2iVhU4wjAmMA <= HEX3Atmp_bp6BZU7JgUr2veOqEM0vNQ)) goto LA3;
				i_8pOKgBkitaCPJ87X4JyBBw = res_ff9cn6iRF5E2iVhU4wjAmMA;
				{
					NI LOC6;
					LOC6 = (NI)0;
					LOC6 = nsuCmpIgnoreStyle(a0[i_8pOKgBkitaCPJ87X4JyBBw], s0);
					if (!(LOC6 == ((NI) 0))) goto LA7;
					result0 = i_8pOKgBkitaCPJ87X4JyBBw;
					goto BeforeRet;
				}
				LA7: ;
				res_ff9cn6iRF5E2iVhU4wjAmMA += ((NI) 1);
			} LA3: ;
		}
	}
	result0 = ((NI) -1);
	}BeforeRet: ;
	return result0;
}
Пример #3
0
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, myCmp_as9bkyBfpSJDtryRTEgMhcg)(tyObject_StringTableObj_V5PVrt9bIxZEeV7lfvqqtNg* t, NimStringDesc* a, NimStringDesc* b) {
	NIM_BOOL result;
	result = (NIM_BOOL)0;
	switch ((*t).mode) {
	case ((tyEnum_StringTableMode_G9c4wVDFIzf0xHmQvxso9a9cQ) 0):
	{
		NI T2_;
		T2_ = (NI)0;
		T2_ = cmp_xEnKsp9cfvO7Do9cTYXo8eJw(a, b);
		result = (T2_ == ((NI) 0));
	}
	break;
	case ((tyEnum_StringTableMode_G9c4wVDFIzf0xHmQvxso9a9cQ) 1):
	{
		NI T4_;
		T4_ = (NI)0;
		T4_ = nsuCmpIgnoreCase(a, b);
		result = (T4_ == ((NI) 0));
	}
	break;
	case ((tyEnum_StringTableMode_G9c4wVDFIzf0xHmQvxso9a9cQ) 2):
	{
		NI T6_;
		T6_ = (NI)0;
		T6_ = nsuCmpIgnoreStyle(a, b);
		result = (T6_ == ((NI) 0));
	}
	break;
	}
	return result;
}
Пример #4
0
N_NIMCALL(Tsystemos_s7Mlr1t66SUqP6BKJMXLaQ, nametoos_G9aqbBV7MHYHy8iWiblt9c6w)(NimStringDesc* name0) {
	Tsystemos_s7Mlr1t66SUqP6BKJMXLaQ result0;
{	result0 = (Tsystemos_s7Mlr1t66SUqP6BKJMXLaQ)0;
	{
		Tsystemos_s7Mlr1t66SUqP6BKJMXLaQ i_Ljatje2K9baX59cOSKSEAxRw;
		NI res_HIx8eXJCE0tmd7ODtIahDg;
		i_Ljatje2K9baX59cOSKSEAxRw = (Tsystemos_s7Mlr1t66SUqP6BKJMXLaQ)0;
		res_HIx8eXJCE0tmd7ODtIahDg = ((NI) 1);
		{
			while (1) {
				if (!(res_HIx8eXJCE0tmd7ODtIahDg <= ((NI) 24))) goto LA3;
				i_Ljatje2K9baX59cOSKSEAxRw = ((Tsystemos_s7Mlr1t66SUqP6BKJMXLaQ) (res_HIx8eXJCE0tmd7ODtIahDg));
				{
					NI LOC6;
					LOC6 = (NI)0;
					LOC6 = nsuCmpIgnoreStyle(name0, Os_Jx0qy9c9bSo4fGkMxUfUaAaw[(i_Ljatje2K9baX59cOSKSEAxRw)- 1].Field0);
					if (!(LOC6 == ((NI) 0))) goto LA7;
					result0 = i_Ljatje2K9baX59cOSKSEAxRw;
					goto BeforeRet;
				}
				LA7: ;
				res_HIx8eXJCE0tmd7ODtIahDg += ((NI) 1);
			} LA3: ;
		}
	}
	result0 = ((Tsystemos_s7Mlr1t66SUqP6BKJMXLaQ) 0);
	}BeforeRet: ;
	return result0;
}
Пример #5
0
N_NIMCALL(Tfilterkind_mET0MuvrWCLPKR0e9cWMjNg, getfilter_VI3Fiobf4N9aSXR2Q8kXG0A)(Tident_4umxGerWTHGPwUms7Yqu3g* ident0) {
	Tfilterkind_mET0MuvrWCLPKR0e9cWMjNg result0;
{	result0 = (Tfilterkind_mET0MuvrWCLPKR0e9cWMjNg)0;
	{
		Tfilterkind_mET0MuvrWCLPKR0e9cWMjNg i_ZwkbtRej1srvzCDGmtwo5g;
		NI res_JcXRfW2WXIyLCJ4Uj9aeJww;
		i_ZwkbtRej1srvzCDGmtwo5g = (Tfilterkind_mET0MuvrWCLPKR0e9cWMjNg)0;
		res_JcXRfW2WXIyLCJ4Uj9aeJww = ((NI) 0);
		{
			while (1) {
				if (!(res_JcXRfW2WXIyLCJ4Uj9aeJww <= ((NI) 3))) goto LA3;
				i_ZwkbtRej1srvzCDGmtwo5g = ((Tfilterkind_mET0MuvrWCLPKR0e9cWMjNg) (res_JcXRfW2WXIyLCJ4Uj9aeJww));
				{
					NI LOC6;
					LOC6 = (NI)0;
					LOC6 = nsuCmpIgnoreStyle((*ident0).s, filternames_AxTRz7iBqkPgPfZx8TM0IQ[(i_ZwkbtRej1srvzCDGmtwo5g)- 0]);
					if (!(LOC6 == ((NI) 0))) goto LA7;
					result0 = i_ZwkbtRej1srvzCDGmtwo5g;
					goto BeforeRet;
				}
				LA7: ;
				res_JcXRfW2WXIyLCJ4Uj9aeJww += ((NI) 1);
			} LA3: ;
		}
	}
	result0 = ((Tfilterkind_mET0MuvrWCLPKR0e9cWMjNg) 0);
	}BeforeRet: ;
	return result0;
}
N_NIMCALL(Tsystemcpu177452, nametocpu_177638_4151366050)(NimStringDesc* name0) {
	Tsystemcpu177452 result0;
{	result0 = (Tsystemcpu177452)0;
	{
		Tsystemcpu177452 i_178414_4151366050;
		NI res_178419_4151366050;
		i_178414_4151366050 = (Tsystemcpu177452)0;
		res_178419_4151366050 = ((NI) 1);
		{
			while (1) {
				if (!(res_178419_4151366050 <= ((NI) 19))) goto LA3;
				i_178414_4151366050 = ((Tsystemcpu177452) (res_178419_4151366050));
				{
					NI LOC6;
					LOC6 = (NI)0;
					LOC6 = nsuCmpIgnoreStyle(name0, Cpu_177496_4151366050[(i_178414_4151366050)- 1].Field0);
					if (!(LOC6 == ((NI) 0))) goto LA7;
					result0 = i_178414_4151366050;
					goto BeforeRet;
				}
				LA7: ;
				res_178419_4151366050 += ((NI) 1);
			} LA3: ;
		}
	}
	result0 = ((Tsystemcpu177452) 0);
	}BeforeRet: ;
	return result0;
}
Пример #7
0
N_NIMCALL(Tsystemcpu_XYDt7D1G3qcClFyZy1Ky9ag, nametocpu_JQ5BAe9a4dm5IfbYpemguNA)(NimStringDesc* name0) {
	Tsystemcpu_XYDt7D1G3qcClFyZy1Ky9ag result0;
{	result0 = (Tsystemcpu_XYDt7D1G3qcClFyZy1Ky9ag)0;
	{
		Tsystemcpu_XYDt7D1G3qcClFyZy1Ky9ag i_LHVtdK0x9bFBDbyBH9aBnOYA;
		NI res_AISjRNVCV6UUG84VxkR2rg;
		i_LHVtdK0x9bFBDbyBH9aBnOYA = (Tsystemcpu_XYDt7D1G3qcClFyZy1Ky9ag)0;
		res_AISjRNVCV6UUG84VxkR2rg = ((NI) 1);
		{
			while (1) {
				if (!(res_AISjRNVCV6UUG84VxkR2rg <= ((NI) 19))) goto LA3;
				i_LHVtdK0x9bFBDbyBH9aBnOYA = ((Tsystemcpu_XYDt7D1G3qcClFyZy1Ky9ag) (res_AISjRNVCV6UUG84VxkR2rg));
				{
					NI LOC6;
					LOC6 = (NI)0;
					LOC6 = nsuCmpIgnoreStyle(name0, Cpu_uYXopJX8pM87pQDCtmgWfQ[(i_LHVtdK0x9bFBDbyBH9aBnOYA)- 1].Field0);
					if (!(LOC6 == ((NI) 0))) goto LA7;
					result0 = i_LHVtdK0x9bFBDbyBH9aBnOYA;
					goto BeforeRet;
				}
				LA7: ;
				res_AISjRNVCV6UUG84VxkR2rg += ((NI) 1);
			} LA3: ;
		}
	}
	result0 = ((Tsystemcpu_XYDt7D1G3qcClFyZy1Ky9ag) 0);
	}BeforeRet: ;
	return result0;
}
Пример #8
0
N_NIMCALL(Tparserkind_wHYLpKaSFkZsAwL9crNQqGw, getparser_hTsVGKyR7WIUC8NJAMIjvQ)(Tident_4umxGerWTHGPwUms7Yqu3g* ident0) {
	Tparserkind_wHYLpKaSFkZsAwL9crNQqGw result0;
{	result0 = (Tparserkind_wHYLpKaSFkZsAwL9crNQqGw)0;
	{
		Tparserkind_wHYLpKaSFkZsAwL9crNQqGw i_0dv1faDYZI4ibRWd2DD16A;
		NI res_YWKPOMDRGuSiQvweuOPNUQ;
		i_0dv1faDYZI4ibRWd2DD16A = (Tparserkind_wHYLpKaSFkZsAwL9crNQqGw)0;
		res_YWKPOMDRGuSiQvweuOPNUQ = ((NI) 0);
		{
			while (1) {
				if (!(res_YWKPOMDRGuSiQvweuOPNUQ <= ((NI) 3))) goto LA3;
				i_0dv1faDYZI4ibRWd2DD16A = ((Tparserkind_wHYLpKaSFkZsAwL9crNQqGw) (res_YWKPOMDRGuSiQvweuOPNUQ));
				{
					NI LOC6;
					LOC6 = (NI)0;
					LOC6 = nsuCmpIgnoreStyle((*ident0).s, parsernames_IVRWib6Nt9c9cDYSS669cL5mA[(i_0dv1faDYZI4ibRWd2DD16A)- 0]);
					if (!(LOC6 == ((NI) 0))) goto LA7;
					result0 = i_0dv1faDYZI4ibRWd2DD16A;
					goto BeforeRet;
				}
				LA7: ;
				res_YWKPOMDRGuSiQvweuOPNUQ += ((NI) 1);
			} LA3: ;
		}
	}
	rawmessage_tBJ8mvo7MzzirsGkrHVc9cw(((Tmsgkind_IGAWgv9aR2KqPKJfPZPEWaw) 31), (*ident0).s);
	}BeforeRet: ;
	return result0;
}
Пример #9
0
N_NIMCALL(NIM_BOOL, mycmp_140309)(Stringtableobj140209* t, NimStringDesc* a, NimStringDesc* b) {
	NIM_BOOL result;
	result = 0;
	switch ((*t).mode) {
	case ((NU8) 0):
	{
		NI LOC2;
		LOC2 = 0;
		LOC2 = cmp_5680(a, b);
		result = (LOC2 == ((NI) 0));
	}
	break;
	case ((NU8) 1):
	{
		NI LOC4;
		LOC4 = 0;
		LOC4 = nsuCmpIgnoreCase(a, b);
		result = (LOC4 == ((NI) 0));
	}
	break;
	case ((NU8) 2):
	{
		NI LOC6;
		LOC6 = 0;
		LOC6 = nsuCmpIgnoreStyle(a, b);
		result = (LOC6 == ((NI) 0));
	}
	break;
	}
	return result;
}
Пример #10
0
N_LIB_PRIVATE N_NIMCALL(tyEnum_TSystemCPU_XYDt7D1G3qcClFyZy1Ky9ag, nameToCPU_JQ5BAe9a4dm5IfbYpemguNA)(NimStringDesc* name) {
	tyEnum_TSystemCPU_XYDt7D1G3qcClFyZy1Ky9ag result;
{	result = (tyEnum_TSystemCPU_XYDt7D1G3qcClFyZy1Ky9ag)0;
	{
		tyEnum_TSystemCPU_XYDt7D1G3qcClFyZy1Ky9ag i;
		NI res;
		i = (tyEnum_TSystemCPU_XYDt7D1G3qcClFyZy1Ky9ag)0;
		res = ((NI) 1);
		{
			while (1) {
				if (!(res <= ((NI) 22))) goto LA3;
				i = ((tyEnum_TSystemCPU_XYDt7D1G3qcClFyZy1Ky9ag) (res));
				{
					NI T6_;
					T6_ = (NI)0;
					T6_ = nsuCmpIgnoreStyle(name, CPU_uYXopJX8pM87pQDCtmgWfQ[(i)- 1].Field0);
					if (!(T6_ == ((NI) 0))) goto LA7_;
					result = i;
					goto BeforeRet_;
				}
				LA7_: ;
				res += ((NI) 1);
			} LA3: ;
		}
	}
	result = ((tyEnum_TSystemCPU_XYDt7D1G3qcClFyZy1Ky9ag) 0);
	}BeforeRet_: ;
	return result;
}
Пример #11
0
N_NIMCALL(NU8, nametoos_159611)(NimStringDesc* name) {
	NU8 result;
{	result = 0;
	{
		NU8 i_160223;
		NI res_160228;
		i_160223 = 0;
		res_160228 = ((NI) 1);
		{
			while (1) {
				if (!(res_160228 <= ((NI) 24))) goto LA3;
				i_160223 = ((NU8) (res_160228));
				{
					NI LOC6;
					LOC6 = 0;
					LOC6 = nsuCmpIgnoreStyle(name, Os_159070[(i_160223)- 1].Field0);
					if (!(LOC6 == ((NI) 0))) goto LA7;
					result = i_160223;
					goto BeforeRet;
				}
				LA7: ;
				res_160228 += ((NI) 1);
			} LA3: ;
		}
	}
	result = ((NU8) 0);
	}BeforeRet: ;
	return result;
}
Пример #12
0
N_LIB_PRIVATE N_NIMCALL(tyEnum_TSystemOS_s7Mlr1t66SUqP6BKJMXLaQ, nameToOS_G9aqbBV7MHYHy8iWiblt9c6w)(NimStringDesc* name) {
	tyEnum_TSystemOS_s7Mlr1t66SUqP6BKJMXLaQ result;
{	result = (tyEnum_TSystemOS_s7Mlr1t66SUqP6BKJMXLaQ)0;
	{
		tyEnum_TSystemOS_s7Mlr1t66SUqP6BKJMXLaQ i;
		NI res;
		i = (tyEnum_TSystemOS_s7Mlr1t66SUqP6BKJMXLaQ)0;
		res = ((NI) 1);
		{
			while (1) {
				if (!(res <= ((NI) 28))) goto LA3;
				i = ((tyEnum_TSystemOS_s7Mlr1t66SUqP6BKJMXLaQ) (res));
				{
					NI T6_;
					T6_ = (NI)0;
					T6_ = nsuCmpIgnoreStyle(name, OS_Jx0qy9c9bSo4fGkMxUfUaAaw[(i)- 1].Field0);
					if (!(T6_ == ((NI) 0))) goto LA7_;
					result = i;
					goto BeforeRet_;
				}
				LA7_: ;
				res += ((NI) 1);
			} LA3: ;
		}
	}
	result = ((tyEnum_TSystemOS_s7Mlr1t66SUqP6BKJMXLaQ) 0);
	}BeforeRet_: ;
	return result;
}
Пример #13
0
N_NIMCALL(NI, findstr_172344)(NimStringDesc** a, NI aLen0, NimStringDesc* s) {
	NI result;
{	result = 0;
	{
		NI i_172362;
		NI HEX3Atmp_172364;
		NI res_172367;
		i_172362 = 0;
		HEX3Atmp_172364 = 0;
		HEX3Atmp_172364 = (aLen0-1);
		res_172367 = ((NI) 0);
		{
			while (1) {
				if (!(res_172367 <= HEX3Atmp_172364)) goto LA3;
				i_172362 = res_172367;
				{
					NI LOC6;
					LOC6 = 0;
					LOC6 = nsuCmpIgnoreStyle(a[i_172362], s);
					if (!(LOC6 == ((NI) 0))) goto LA7;
					result = i_172362;
					goto BeforeRet;
				}
				LA7: ;
				res_172367 += ((NI) 1);
			} LA3: ;
		}
	}
	result = ((NI) -1);
	}BeforeRet: ;
	return result;
}
Пример #14
0
N_NIMCALL(NU8, getsourcelanguage_169085)(NimStringDesc* name) {
	NU8 result;
	result = 0;
	{
		NU8 i_169150;
		NU8 res_169155;
		i_169150 = 0;
		res_169155 = ((NU8) 1);
		{
			while (1) {
				if (!(res_169155 <= ((NU8) 6))) goto LA3;
				i_169150 = res_169155;
				{
					NI LOC6;
					LOC6 = 0;
					LOC6 = nsuCmpIgnoreStyle(name, sourcelanguagetostr_169067[(i_169150)- 0]);
					if (!(LOC6 == 0)) goto LA7;
					result = i_169150;
					goto BeforeRet;
				}
				LA7: ;
				res_169155 += 1;
			} LA3: ;
		}
	}
	result = ((NU8) 0);
	BeforeRet: ;
	return result;
}
Пример #15
0
N_NIMCALL(Tsystemos177004, nametoos_177635_4151366050)(NimStringDesc* name0) {
	Tsystemos177004 result0;
{	result0 = (Tsystemos177004)0;
	{
		Tsystemos177004 i_178214_4151366050;
		NI res_178219_4151366050;
		i_178214_4151366050 = (Tsystemos177004)0;
		res_178219_4151366050 = ((NI) 1);
		{
			while (1) {
				if (!(res_178219_4151366050 <= ((NI) 24))) goto LA3;
				i_178214_4151366050 = ((Tsystemos177004) (res_178219_4151366050));
				{
					NI LOC6;
					LOC6 = (NI)0;
					LOC6 = nsuCmpIgnoreStyle(name0, Os_177068_4151366050[(i_178214_4151366050)- 1].Field0);
					if (!(LOC6 == ((NI) 0))) goto LA7;
					result0 = i_178214_4151366050;
					goto BeforeRet;
				}
				LA7: ;
				res_178219_4151366050 += ((NI) 1);
			} LA3: ;
		}
	}
	result0 = ((Tsystemos177004) 0);
	}BeforeRet: ;
	return result0;
}
Пример #16
0
N_NIMCALL(NU8, getsourcelanguage_305093)(NimStringDesc* name) {
	NU8 result;
{	result = 0;
	{
		NU8 i_305223;
		NI res_305228;
		i_305223 = 0;
		res_305228 = ((NI) 1);
		{
			while (1) {
				if (!(res_305228 <= ((NI) 6))) goto LA3;
				i_305223 = ((NU8) (res_305228));
				{
					NI LOC6;
					LOC6 = 0;
					LOC6 = nsuCmpIgnoreStyle(name, sourcelanguagetostr_305075[(i_305223)- 0]);
					if (!(LOC6 == ((NI) 0))) goto LA7;
					result = i_305223;
					goto BeforeRet;
				}
				LA7: ;
				res_305228 += ((NI) 1);
			} LA3: ;
		}
	}
	result = ((NU8) 0);
	}BeforeRet: ;
	return result;
}
Пример #17
0
N_NIMCALL(NIM_BOOL, boolarg_J1A66BRI6GgqzqhU0EZntw)(Tnode_bROa11lyF5vxEN9aYNbHmhw* n0, NimStringDesc* name0, NI pos0, NIM_BOOL default_NH2VpJWCLyx9cW5vivqXJNg) {
	NIM_BOOL result0;
	Tnode_bROa11lyF5vxEN9aYNbHmhw* x0;
	result0 = (NIM_BOOL)0;
	x0 = getarg_4LRC3jIE5TPe1ACm9aPVpBQ(n0, name0, pos0);
	{
		if (!(x0 == NIM_NIL)) goto LA3;
		result0 = default_NH2VpJWCLyx9cW5vivqXJNg;
	}
	goto LA1;
	LA3: ;
	{
		NIM_BOOL LOC6;
		NI LOC8;
		LOC6 = (NIM_BOOL)0;
		LOC6 = ((*x0).kind == ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 2));
		if (!(LOC6)) goto LA7;
		LOC8 = (NI)0;
		LOC8 = nsuCmpIgnoreStyle((*(*x0).kindU.S5.ident).s, ((NimStringDesc*) &T_TpC7tIfhGAaosc7HIsUuXA_4));
		LOC6 = (LOC8 == ((NI) 0));
		LA7: ;
		if (!LOC6) goto LA9;
		result0 = NIM_TRUE;
	}
	goto LA1;
	LA9: ;
	{
		NIM_BOOL LOC12;
		NI LOC14;
		LOC12 = (NIM_BOOL)0;
		LOC12 = ((*x0).kind == ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 2));
		if (!(LOC12)) goto LA13;
		LOC14 = (NI)0;
		LOC14 = nsuCmpIgnoreStyle((*(*x0).kindU.S5.ident).s, ((NimStringDesc*) &T_TpC7tIfhGAaosc7HIsUuXA_5));
		LOC12 = (LOC14 == ((NI) 0));
		LA13: ;
		if (!LOC12) goto LA15;
		result0 = NIM_FALSE;
	}
	goto LA1;
	LA15: ;
	{
		invalidpragma_54ZurtFnCR0LbrbLzC8vrw(n0);
	}
	LA1: ;
	return result0;
}
Пример #18
0
N_NIMCALL(Tnode_bROa11lyF5vxEN9aYNbHmhw*, getarg_4LRC3jIE5TPe1ACm9aPVpBQ)(Tnode_bROa11lyF5vxEN9aYNbHmhw* n0, NimStringDesc* name0, NI pos0) {
	Tnode_bROa11lyF5vxEN9aYNbHmhw* result0;
{	result0 = (Tnode_bROa11lyF5vxEN9aYNbHmhw*)0;
	result0 = NIM_NIL;
	{
		if (!((*n0).kind >= ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 1) && (*n0).kind <= ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 23))) goto LA3;
		goto BeforeRet;
	}
	LA3: ;
	{
		NI i_XOmbuBEqaXLfmywSBNfcKw;
		NI HEX3Atmp_nRBwXptAeLwd9aM1g9c6ToIw;
		NI LOC6;
		NI res_tQL9bpoB43pOCpi4s3Uqgow;
		i_XOmbuBEqaXLfmywSBNfcKw = (NI)0;
		HEX3Atmp_nRBwXptAeLwd9aM1g9c6ToIw = (NI)0;
		LOC6 = (NI)0;
		LOC6 = sonslen_qPWPHw7WgJeEVYUdcaRIig(n0);
		HEX3Atmp_nRBwXptAeLwd9aM1g9c6ToIw = (NI)(LOC6 - ((NI) 1));
		res_tQL9bpoB43pOCpi4s3Uqgow = ((NI) 1);
		{
			while (1) {
				if (!(res_tQL9bpoB43pOCpi4s3Uqgow <= HEX3Atmp_nRBwXptAeLwd9aM1g9c6ToIw)) goto LA8;
				i_XOmbuBEqaXLfmywSBNfcKw = res_tQL9bpoB43pOCpi4s3Uqgow;
				{
					if (!((*(*n0).kindU.S6.sons->data[i_XOmbuBEqaXLfmywSBNfcKw]).kind == ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 33))) goto LA11;
					{
						if (!!(((*(*(*n0).kindU.S6.sons->data[i_XOmbuBEqaXLfmywSBNfcKw]).kindU.S6.sons->data[((NI) 0)]).kind == ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 2)))) goto LA15;
						invalidpragma_54ZurtFnCR0LbrbLzC8vrw(n0);
					}
					LA15: ;
					{
						NI LOC19;
						LOC19 = (NI)0;
						LOC19 = nsuCmpIgnoreStyle((*(*(*(*n0).kindU.S6.sons->data[i_XOmbuBEqaXLfmywSBNfcKw]).kindU.S6.sons->data[((NI) 0)]).kindU.S5.ident).s, name0);
						if (!(LOC19 == ((NI) 0))) goto LA20;
						result0 = (*(*n0).kindU.S6.sons->data[i_XOmbuBEqaXLfmywSBNfcKw]).kindU.S6.sons->data[((NI) 1)];
						goto BeforeRet;
					}
					LA20: ;
				}
				goto LA9;
				LA11: ;
				{
					if (!(i_XOmbuBEqaXLfmywSBNfcKw == pos0)) goto LA23;
					result0 = (*n0).kindU.S6.sons->data[i_XOmbuBEqaXLfmywSBNfcKw];
					goto BeforeRet;
				}
				goto LA9;
				LA23: ;
				LA9: ;
				res_tQL9bpoB43pOCpi4s3Uqgow += ((NI) 1);
			} LA8: ;
		}
	}
	}BeforeRet: ;
	return result0;
}
Пример #19
0
N_NIMCALL(NIM_BOOL, eqident_332619)(NimStringDesc* a, NimStringDesc* b) {
	NIM_BOOL result;
	NI LOC1;
	nimfr("eqIdent", "macros.nim")
	result = 0;
	nimln(716, "macros.nim");
	nimln(716, "macros.nim");
	nimln(716, "macros.nim");
	LOC1 = 0;
	LOC1 = nsuCmpIgnoreStyle(a, b);
	result = (LOC1 == 0);
	popFrame();
	return result;
}
Пример #20
0
N_NIMCALL(NI, findstr_170334)(NimStringDesc** a, NI aLen0, NimStringDesc* s) {
	NI result;
	NI i_170352;
	NI HEX3Atmp_170353;
	NI res_170355;
	nimfr("findStr", "wordrecg.nim")
	result = 0;
	i_170352 = 0;
	HEX3Atmp_170353 = 0;
	nimln(172, "wordrecg.nim");
	nimln(172, "wordrecg.nim");
	HEX3Atmp_170353 = (aLen0-1);
	nimln(1450, "system.nim");
	res_170355 = 0;
	nimln(1451, "system.nim");
	while (1) {
		nimln(1451, "system.nim");
		if (!(res_170355 <= HEX3Atmp_170353)) goto LA1;
		nimln(1450, "system.nim");
		i_170352 = res_170355;
		nimln(173, "wordrecg.nim");
		{
			NI LOC4;
			nimln(173, "wordrecg.nim");
			nimln(173, "wordrecg.nim");
			if ((NU)(i_170352) >= (NU)(aLen0)) raiseIndexError();
			LOC4 = 0;
			LOC4 = nsuCmpIgnoreStyle(a[i_170352], s);
			if (!(LOC4 == 0)) goto LA5;
			nimln(174, "wordrecg.nim");
			nimln(174, "wordrecg.nim");
			result = i_170352;
			goto BeforeRet;
		}
		LA5: ;
		nimln(1453, "system.nim");
		res_170355 = addInt(res_170355, 1);
	} LA1: ;
	nimln(175, "wordrecg.nim");
	result = -1;
	BeforeRet: ;
	popFrame();
	return result;
}
Пример #21
0
N_NIMCALL(NU8, nametoos_145582)(NimStringDesc* name) {
    NU8 result;
    NU8 i_146072;
    NU8 res_146075;
    nimfr("nameToOS", "platform.nim")
    result = 0;
    i_146072 = 0;
    nimln(1451, "system.nim");
    res_146075 = ((NU8) 1);
    nimln(1452, "system.nim");
    while (1) {
        nimln(1452, "system.nim");
        if (!(res_146075 <= ((NU8) 23))) goto LA1;
        nimln(1451, "system.nim");
        i_146072 = res_146075;
        nimln(210, "platform.nim");
        {
            NI LOC4;
            nimln(210, "platform.nim");
            nimln(210, "platform.nim");
            if (i_146072 < 1 || i_146072 > 23) raiseIndexError();
            LOC4 = 0;
            LOC4 = nsuCmpIgnoreStyle(name, os_145063[(i_146072)- 1].Field0);
            if (!(LOC4 == 0)) goto LA5;
            nimln(211, "platform.nim");
            nimln(211, "platform.nim");
            result = i_146072;
            goto BeforeRet;
        }
LA5:
        ;
        nimln(1454, "system.nim");
        res_146075 = addInt(res_146075, 1);
    }
LA1:
    ;
    nimln(212, "platform.nim");
    result = ((NU8) 0);
BeforeRet:
    ;
    popFrame();
    return result;
}
Пример #22
0
N_NIMCALL(NIM_BOOL, mycmp_113709)(tstringtable113610* t, NimStringDesc* a, NimStringDesc* b) {
    NIM_BOOL result;
    nimfr("myCmp", "strtabs.nim")
    result = 0;
    nimln(79, "strtabs.nim");
    switch ((*t).Mode) {
    case ((NU8) 0):
    {
        NI LOC2;
        nimln(80, "strtabs.nim");
        nimln(80, "strtabs.nim");
        nimln(80, "strtabs.nim");
        LOC2 = 0;
        LOC2 = cmp_2131(a, b);
        result = (LOC2 == 0);
    }
    break;
    case ((NU8) 1):
    {
        NI LOC4;
        nimln(81, "strtabs.nim");
        nimln(81, "strtabs.nim");
        nimln(81, "strtabs.nim");
        LOC4 = 0;
        LOC4 = nsuCmpIgnoreCase(a, b);
        result = (LOC4 == 0);
    }
    break;
    case ((NU8) 2):
    {
        NI LOC6;
        nimln(82, "strtabs.nim");
        nimln(82, "strtabs.nim");
        nimln(82, "strtabs.nim");
        LOC6 = 0;
        LOC6 = nsuCmpIgnoreStyle(a, b);
        result = (LOC6 == 0);
    }
    break;
    }
    popFrame();
    return result;
}
Пример #23
0
N_NIMCALL(NU8, nametocpu_145586)(NimStringDesc* name) {
    NU8 result;
    NU8 i_146140;
    NU8 res_146143;
    nimfr("nameToCPU", "platform.nim")
    result = 0;
    i_146140 = 0;
    nimln(1451, "system.nim");
    res_146143 = ((NU8) 1);
    nimln(1452, "system.nim");
    while (1) {
        nimln(1452, "system.nim");
        if (!(res_146143 <= ((NU8) 14))) goto LA1;
        nimln(1451, "system.nim");
        i_146140 = res_146143;
        nimln(216, "platform.nim");
        {
            NI LOC4;
            nimln(216, "platform.nim");
            nimln(216, "platform.nim");
            if (i_146140 < 1 || i_146140 > 14) raiseIndexError();
            LOC4 = 0;
            LOC4 = nsuCmpIgnoreStyle(name, cpu_145468[(i_146140)- 1].Field0);
            if (!(LOC4 == 0)) goto LA5;
            nimln(217, "platform.nim");
            nimln(217, "platform.nim");
            result = i_146140;
            goto BeforeRet;
        }
LA5:
        ;
        nimln(1454, "system.nim");
        res_146143 = addInt(res_146143, 1);
    }
LA1:
    ;
    nimln(218, "platform.nim");
    result = ((NU8) 0);
BeforeRet:
    ;
    popFrame();
    return result;
}
Пример #24
0
N_NIMCALL(NI, findstr_149323)(NimStringDesc** a, NI aLen0, NimStringDesc* s) {
	NI result;
	NI i_149338;
	NI HEX3Atmp_149339;
	NI res_149341;
	nimfr("findStr", "wordrecg.nim")
	result = 0;
	i_149338 = 0;
	HEX3Atmp_149339 = 0;
	nimln(170, "wordrecg.nim");
	nimln(170, "wordrecg.nim");
	HEX3Atmp_149339 = (aLen0-1);
	nimln(1301, "system.nim");
	res_149341 = 0;
	nimln(1302, "system.nim");
	while (1) {
		nimln(1302, "system.nim");
		if (!(res_149341 <= HEX3Atmp_149339)) goto LA1;
		nimln(1301, "system.nim");
		i_149338 = res_149341;
		nimln(171, "wordrecg.nim");
		{
			NI LOC4;
			nimln(171, "wordrecg.nim");
			nimln(171, "wordrecg.nim");
			if ((NU)(i_149338) >= (NU)(aLen0)) raiseIndexError();
			LOC4 = 0;
			LOC4 = nsuCmpIgnoreStyle(a[i_149338], s);
			if (!(LOC4 == 0)) goto LA5;
			nimln(172, "wordrecg.nim");
			nimln(172, "wordrecg.nim");
			result = i_149338;
			goto BeforeRet;
		}		LA5: ;
		nimln(1304, "system.nim");
		res_149341 = addInt(res_149341, 1);
	} LA1: ;
	nimln(173, "wordrecg.nim");
	result = -1;
	BeforeRet: ;	popFrame();
	return result;
}
Пример #25
0
N_NIMCALL(NU8, Nametoos_46572)(NimStringDesc* Name_46574) {
NU8 Result_46607;
NU8 I_46647;
NU8 Res_46651;
NI LOC3;
Result_46607 = 0;
I_46647 = 0;
Res_46651 = 0;
Res_46651 = ((NU8) 1);
while (1) {
if (!(Res_46651 <= ((NU8) 21))) goto LA1;
I_46647 = Res_46651;
LOC3 = nsuCmpIgnoreStyle(Name_46574, Os_46053[(I_46647)-1].Name);
if (!(LOC3 == 0)) goto LA4;
Result_46607 = I_46647;
goto BeforeRet;
LA4: ;
Res_46651 += 1;
} LA1: ;
Result_46607 = ((NU8) 0);
BeforeRet: ;
return Result_46607;
}
Пример #26
0
N_NIMCALL(NU8, Nametocpu_46575)(NimStringDesc* Name_46577) {
NU8 Result_46655;
NU8 I_46695;
NU8 Res_46699;
NI LOC3;
Result_46655 = 0;
I_46695 = 0;
Res_46699 = 0;
Res_46699 = ((NU8) 1);
while (1) {
if (!(Res_46699 <= ((NU8) 13))) goto LA1;
I_46695 = Res_46699;
LOC3 = nsuCmpIgnoreStyle(Name_46577, Cpu_46461[(I_46695)-1].Name);
if (!(LOC3 == 0)) goto LA4;
Result_46655 = I_46695;
goto BeforeRet;
LA4: ;
Res_46699 += 1;
} LA1: ;
Result_46655 = ((NU8) 0);
BeforeRet: ;
return Result_46655;
}
Пример #27
0
N_NIMCALL(NU8, Getsourcelanguage_153102)(NimStringDesc* Name_153104) {
NU8 Result_153122;
NU8 I_153162;
NU8 Res_153166;
NI LOC3;
Result_153122 = 0;
I_153162 = 0;
Res_153166 = 0;
Res_153166 = ((NU8) 1);
while (1) {
if (!(Res_153166 <= ((NU8) 5))) goto LA1;
I_153162 = Res_153166;
LOC3 = nsuCmpIgnoreStyle(Name_153104, Sourcelanguagetostr_153055[(I_153162)-0]);
if (!(LOC3 == 0)) goto LA4;
Result_153122 = I_153162;
goto BeforeRet;
LA4: ;
Res_153166 += 1;
} LA1: ;
Result_153122 = ((NU8) 0);
BeforeRet: ;
return Result_153122;
}
Пример #28
0
N_NIMCALL(NU8, Nametocc_70350)(NimStringDesc* Name_70352) {
NU8 Result_70353;
NU8 I_70393;
NU8 Res_70397;
NI LOC3;
Result_70353 = 0;
I_70393 = 0;
Res_70397 = 0;
Res_70397 = ((NU8) 1);
while (1) {
if (!(Res_70397 <= ((NU8) 12))) goto LA1;
I_70393 = Res_70397;
LOC3 = nsuCmpIgnoreStyle(Name_70352, Cc_70041[(I_70393)-1].Name);
if (!(LOC3 == 0)) goto LA4;
Result_70353 = I_70393;
goto BeforeRet;
LA4: ;
Res_70397 += 1;
} LA1: ;
Result_70353 = ((NU8) 0);
BeforeRet: ;
return Result_70353;
}
Пример #29
0
N_NIMCALL(NU8, nametoos_118569)(NimStringDesc* name) {
	NU8 result;
	NU8 i_118848;
	NU8 res_118851;
	nimfr("NameToOS", "platform.nim")
	result = 0;
	i_118848 = 0;
	nimln(1301, "system.nim");
	res_118851 = ((NU8) 1);
	nimln(1302, "system.nim");
	while (1) {
		nimln(1302, "system.nim");
		if (!(res_118851 <= ((NU8) 23))) goto LA1;
		nimln(1301, "system.nim");
		i_118848 = res_118851;
		nimln(210, "platform.nim");
		{
			NI LOC4;
			nimln(210, "platform.nim");
			nimln(210, "platform.nim");
			if (i_118848 < 1 || i_118848 > 23) raiseIndexError();
			LOC4 = 0;
			LOC4 = nsuCmpIgnoreStyle(name, os_118061[(i_118848)- 1].Field0);
			if (!(LOC4 == 0)) goto LA5;
			nimln(211, "platform.nim");
			nimln(211, "platform.nim");
			result = i_118848;
			goto BeforeRet;
		}		LA5: ;
		nimln(1304, "system.nim");
		res_118851 = addInt(res_118851, 1);
	} LA1: ;
	nimln(212, "platform.nim");
	result = ((NU8) 0);
	BeforeRet: ;	popFrame();
	return result;
}
Пример #30
0
N_NIMCALL(NU8, nametocpu_118573)(NimStringDesc* name) {
	NU8 result;
	NU8 i_118901;
	NU8 res_118904;
	nimfr("NameToCPU", "platform.nim")
	result = 0;
	i_118901 = 0;
	nimln(1301, "system.nim");
	res_118904 = ((NU8) 1);
	nimln(1302, "system.nim");
	while (1) {
		nimln(1302, "system.nim");
		if (!(res_118904 <= ((NU8) 14))) goto LA1;
		nimln(1301, "system.nim");
		i_118901 = res_118904;
		nimln(216, "platform.nim");
		{
			NI LOC4;
			nimln(216, "platform.nim");
			nimln(216, "platform.nim");
			if (i_118901 < 1 || i_118901 > 14) raiseIndexError();
			LOC4 = 0;
			LOC4 = nsuCmpIgnoreStyle(name, cpu_118460[(i_118901)- 1].Field0);
			if (!(LOC4 == 0)) goto LA5;
			nimln(217, "platform.nim");
			nimln(217, "platform.nim");
			result = i_118901;
			goto BeforeRet;
		}		LA5: ;
		nimln(1304, "system.nim");
		res_118904 = addInt(res_118904, 1);
	} LA1: ;
	nimln(218, "platform.nim");
	result = ((NU8) 0);
	BeforeRet: ;	popFrame();
	return result;
}N_NOINLINE(void, compilerplatformInit)(void) {