当前位置: 首页>>代码示例>>C++>>正文


C++ eqStrings函数代码示例

本文整理汇总了C++中eqStrings函数的典型用法代码示例。如果您正苦于以下问题:C++ eqStrings函数的具体用法?C++ eqStrings怎么用?C++ eqStrings使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了eqStrings函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: N_NIMCALL

N_NIMCALL(void, Loadconfig_80004)(NimStringDesc* Project_80006) {
NimStringDesc* Conffile_80520;
NimStringDesc* Prefix_80521;
NIM_BOOL LOC10;
NIM_BOOL LOC15;
Conffile_80520 = 0;
Prefix_80521 = 0;
if (!((Libpath_46112) && (Libpath_46112)->Sup.len == 0)) goto LA2;
Prefix_80521 = Getprefixdir_46109();
if (!eqStrings(Prefix_80521, ((NimStringDesc*) &TMP195677))) goto LA5;
asgnRefNoCycle((void**) &Libpath_46112, copyString(((NimStringDesc*) &TMP195678)));
goto LA4;
LA5: ;
if (!eqStrings(Prefix_80521, ((NimStringDesc*) &TMP195679))) goto LA7;
asgnRefNoCycle((void**) &Libpath_46112, copyString(((NimStringDesc*) &TMP195680)));
goto LA4;
LA7: ;
asgnRefNoCycle((void**) &Libpath_46112, nosJoinPath(Prefix_80521, ((NimStringDesc*) &TMP195681)));
LA4: ;
LA2: ;
Loadspecialconfig_80007(((NimStringDesc*) &TMP195723));
LOC10 = !(((Gglobaloptions_46079 &(1<<((((NU8) 17))&31)))!=0));
if (!(LOC10)) goto LA11;
LOC10 = !(((Project_80006) && (Project_80006)->Sup.len == 0));
LA11: ;
if (!LOC10) goto LA12;
Conffile_80520 = nosChangeFileExt(Project_80006, ((NimStringDesc*) &TMP195724));
LOC15 = nosexistsFile(Conffile_80520);
if (!LOC15) goto LA16;
Readconfigfile_80434(Conffile_80520);
LA16: ;
LA12: ;
}
开发者ID:ddlsmurf,项目名称:Nimrod,代码行数:33,代码来源:nimconf.c

示例2: N_NIMCALL

N_NIMCALL(void, excludestr_119803)(tlinkedlist119023* list, NimStringDesc* data) {
	tlistentry119017* it;
	nimfr("excludeStr", "lists.nim")
	nimln(107, "lists.nim");
	it = (*list).Head;
	nimln(108, "lists.nim");
	while (1) {
		tlistentry119017* nxt;
		nimln(108, "lists.nim");
		nimln(108, "lists.nim");
		if (!!((it == NIM_NIL))) goto LA1;
		nimln(109, "lists.nim");
		nxt = (*it).Next;
		nimln(110, "lists.nim");
		{
			nimln(110, "lists.nim");
			if (it) chckObj((*it).Sup.m_type, (&NTI119019));
			if (!eqStrings((*((tstrentry119019*) (it))).Data, data)) goto LA4;
			nimln(110, "lists.nim");
			remove_119669(list, it);
		}
		LA4: ;
		nimln(111, "lists.nim");
		it = nxt;
	} LA1: ;
	popFrame();
}
开发者ID:Varriount,项目名称:csources,代码行数:27,代码来源:lists.c

示例3: N_NIMCALL

N_NIMCALL(void, parsepath_201121)(NimStringDesc* uri, NI* i, Uri201012* result) {
	NI LOC1;
	LOC1 = 0;
	LOC1 = parseuntil_96981(uri, (&(*result).path), TMP1164, (*i));
	(*i) += LOC1;
	{
		NimStringDesc* LOC4;
		LOC4 = 0;
		LOC4 = nsuToLowerStr((*result).scheme);
		if (!eqStrings(LOC4, ((NimStringDesc*) &TMP1165))) goto LA5;
		parseauthority_201072((*result).path, result);
		(*result).path = setLengthStr((*result).path, ((NI) 0));
	}
	LA5: ;
	{
		NI LOC11;
		if (!((NU8)(uri->data[(*i)]) == (NU8)(63))) goto LA9;
		(*i) += ((NI) 1);
		LOC11 = 0;
		LOC11 = parseuntil_96981(uri, (&(*result).query), TMP1166, (*i));
		(*i) += LOC11;
	}
	LA9: ;
	{
		NI LOC16;
		if (!((NU8)(uri->data[(*i)]) == (NU8)(35))) goto LA14;
		(*i) += ((NI) 1);
		LOC16 = 0;
		LOC16 = parseuntil_96981(uri, (&(*result).anchor), TMP1167, (*i));
		(*i) += LOC16;
	}
	LA14: ;
}
开发者ID:JJjie,项目名称:RuCTF-2015,代码行数:33,代码来源:stdlib_uri.c

示例4: N_NIMCALL

N_LIB_PRIVATE N_NIMCALL(void, nep1CheckDefImpl_6AhukMkhQSFShlHi9bHQBWw)(tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q info, tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* s, tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw k) {
	NimStringDesc* beau;
{	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = ((2080 &(1U<<((NU)(k)&31U)))!=0);
		if (T3_) goto LA4_;
		T3_ = !((((NU8)((*(*s).name).s->data[((NI) 0)])) >= ((NU8)(97)) && ((NU8)((*(*s).name).s->data[((NI) 0)])) <= ((NU8)(122)) || ((NU8)((*(*s).name).s->data[((NI) 0)])) >= ((NU8)(65)) && ((NU8)((*(*s).name).s->data[((NI) 0)])) <= ((NU8)(90)) || ((NU8)((*(*s).name).s->data[((NI) 0)])) >= ((NU8)(48)) && ((NU8)((*(*s).name).s->data[((NI) 0)])) <= ((NU8)(57)) || ((NU8)((*(*s).name).s->data[((NI) 0)])) >= ((NU8)(128)) && ((NU8)((*(*s).name).s->data[((NI) 0)])) <= ((NU8)(255)) || ((NU8)((*(*s).name).s->data[((NI) 0)])) == ((NU8)(95))));
		LA4_: ;
		if (!T3_) goto LA5_;
		goto BeforeRet_;
	}
	LA5_: ;
	{
		NIM_BOOL T9_;
		T9_ = (NIM_BOOL)0;
		T9_ = ((144 &(1U<<((NU)(k)&31U)))!=0);
		if (!(T9_)) goto LA10_;
		T9_ = (((*s).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag_K9ay6LWMat9bUiT9bIbMxpDHw) 30))&63U)))!=0);
		LA10_: ;
		if (!T9_) goto LA11_;
		goto BeforeRet_;
	}
	LA11_: ;
	beau = beautifyName_fOdwioWHjTwKHWAVS9bR9cng((*(*s).name).s, k);
	{
		if (!!(eqStrings((*(*s).name).s, beau))) goto LA15_;
		message_mMj7lrOf3zBP9bl69amiKu5g(conf, info, ((tyEnum_TMsgKind_29cbg2fC1z5iM1PAI28kR5w) 57), beau);
	}
	LA15_: ;
	}BeforeRet_: ;
}
开发者ID:nim-lang,项目名称:csources,代码行数:32,代码来源:compiler_linter.c

示例5: N_INLINE

static N_INLINE(NI, rawgetknownhc_321404)(Table321033 t, NimStringDesc* key, NI hc) {
	NI result;
	NI h;
{	result = 0;
	h = (NI)(hc & (t.data ? (t.data->Sup.len-1) : -1));
	{
		while (1) {
			NIM_BOOL LOC3;
			LOC3 = 0;
			LOC3 = isfilled_154281(t.data->data[h].Field0);
			if (!LOC3) goto LA2;
			{
				NIM_BOOL LOC6;
				LOC6 = 0;
				LOC6 = (t.data->data[h].Field0 == hc);
				if (!(LOC6)) goto LA7;
				LOC6 = eqStrings(t.data->data[h].Field1, key);
				LA7: ;
				if (!LOC6) goto LA8;
				result = h;
				goto BeforeRet;
			}
			LA8: ;
			h = nexttry_154404(h, (t.data ? (t.data->Sup.len-1) : -1));
		} LA2: ;
	}
	result = (NI)(((NI) -1) - h);
	}BeforeRet: ;
	return result;
}
开发者ID:JJjie,项目名称:RuCTF-2015,代码行数:30,代码来源:stdlib_tables.c

示例6: N_NIMCALL

N_NIMCALL(NIM_BOOL, contains_109215)(tlinkedlist109020 list, NimStringDesc* data) {
	NIM_BOOL result;
	tlistentry109014* it;
	nimfr("Contains", "lists.nim")
	result = 0;
	nimln(43, "lists.nim");
	it = list.Head;
	nimln(44, "lists.nim");
	while (1) {
		nimln(698, "system.nim");
		nimln(698, "system.nim");
		if (!!((it == NIM_NIL))) goto LA1;
		nimln(45, "lists.nim");
		{
			nimln(45, "lists.nim");
			if (it) chckObj((*it).Sup.m_type, (&NTI109016));
			if (!eqStrings((*((tstrentry109016*) (it))).Data, data)) goto LA4;
			nimln(46, "lists.nim");
			nimln(46, "lists.nim");
			result = NIM_TRUE;
			goto BeforeRet;
		}		LA4: ;
		nimln(47, "lists.nim");
		it = (*it).Next;
	} LA1: ;
	BeforeRet: ;	popFrame();
	return result;
}N_NIMCALL(void, TMP263)(void* p, NI op) {
开发者ID:Varriount,项目名称:csources,代码行数:28,代码来源:compiler_lists.c

示例7: N_NIMCALL

N_NIMCALL(Ropeobj172006*, insertincache_172241)(NimStringDesc* s) {
	Ropeobj172006* result;
	NI h;
	NI LOC1;
	result = 0;
	gcachetries_172238 += ((NI) 1);
	LOC1 = 0;
	LOC1 = hash_140827(s);
	h = (NI)(LOC1 & ((NI) 4095));
	result = cache_172073[(h)- 0];
	{
		NIM_BOOL LOC4;
		LOC4 = 0;
		LOC4 = result == 0;
		if (LOC4) goto LA5;
		LOC4 = !(eqStrings((*result).data, s));
		LA5: ;
		if (!LOC4) goto LA6;
		gcachemisses_172239 += ((NI) 1);
		result = newrope_172041(s);
		asgnRefNoCycle((void**) (&cache_172073[(h)- 0]), result);
	}
	LA6: ;
	return result;
}
开发者ID:StetHD,项目名称:csources,代码行数:25,代码来源:compiler_ropes.c

示例8: N_NIMCALL

N_NIMCALL(Ropeobj161009*, insertincache_161280)(NimStringDesc* s) {
	Ropeobj161009* result;
	NI h;
	NI LOC1;
	result = 0;
	gcachetries_161268 += ((NI) 1);
	LOC1 = 0;
	LOC1 = hash_131839(s);
	h = (NI)(LOC1 & ((NI) 4095));
	result = cache_161106[(h)- 0];
	{
		NIM_BOOL LOC4;
		LOC4 = 0;
		LOC4 = result == 0;
		if (LOC4) goto LA5;
		LOC4 = !(eqStrings((*result).data, s));
		LA5: ;
		if (!LOC4) goto LA6;
		gcachemisses_161272 += ((NI) 1);
		result = newrope_161056(s);
		asgnRefNoCycle((void**) (&cache_161106[(h)- 0]), result);
	}
	LA6: ;
	return result;
}
开发者ID:jlp765,项目名称:csources,代码行数:25,代码来源:compiler_ropes.c

示例9: N_NIMCALL

N_NIMCALL(NI, countdefinedsymbols_167042)(void) {
    NI result;
    NimStringDesc* key_167045;
    NimStringDesc* val_167046;
    NI h_167064;
    NI HEX3Atmp_167066;
    NI res_167068;
    nimfr("countDefinedSymbols", "condsyms.nim")
    result = 0;
    nimln(36, "condsyms.nim");
    result = 0;
    key_167045 = 0;
    val_167046 = 0;
    h_167064 = 0;
    HEX3Atmp_167066 = 0;
    nimln(40, "strtabs.nim");
    nimln(40, "strtabs.nim");
    HEX3Atmp_167066 = ((*gsymbols_167003).Data->Sup.len-1);
    nimln(1457, "system.nim");
    res_167068 = 0;
    nimln(1458, "system.nim");
    while (1) {
        nimln(1458, "system.nim");
        if (!(res_167068 <= HEX3Atmp_167066)) goto LA1;
        nimln(1457, "system.nim");
        h_167064 = res_167068;
        nimln(41, "strtabs.nim");
        {
            nimln(41, "strtabs.nim");
            nimln(41, "strtabs.nim");
            if ((NU)(h_167064) >= (NU)((*gsymbols_167003).Data->Sup.len)) raiseIndexError();
            if (!!((*gsymbols_167003).Data->data[h_167064].Field0 == 0)) goto LA4;
            nimln(42, "strtabs.nim");
            if ((NU)(h_167064) >= (NU)((*gsymbols_167003).Data->Sup.len)) raiseIndexError();
            key_167045 = (*gsymbols_167003).Data->data[h_167064].Field0;
            nimln(42, "strtabs.nim");
            if ((NU)(h_167064) >= (NU)((*gsymbols_167003).Data->Sup.len)) raiseIndexError();
            val_167046 = (*gsymbols_167003).Data->data[h_167064].Field1;
            nimln(38, "condsyms.nim");
            {
                nimln(38, "condsyms.nim");
                if (!eqStrings(val_167046, ((NimStringDesc*) &TMP974))) goto LA8;
                nimln(38, "condsyms.nim");
                result = addInt(result, 1);
            }
LA8:
            ;
        }
LA4:
        ;
        nimln(1460, "system.nim");
        res_167068 = addInt(res_167068, 1);
    }
LA1:
    ;
    popFrame();
    return result;
}
开发者ID:reactormonk,项目名称:csources,代码行数:58,代码来源:condsyms.c

示例10: N_NIMCALL

N_NIMCALL(NI, countdefinedsymbols_166211)(void) {
	NI result;
	nimfr("countDefinedSymbols", "condsyms.nim")
	result = 0;
	nimln(70, "condsyms.nim");
	result = ((NI) 0);
	{
		NimStringDesc* key_166214;
		NimStringDesc* val_166215;
		key_166214 = 0;
		val_166215 = 0;
		{
			NI h_166229;
			NI HEX3Atmp_166231;
			NI res_166233;
			h_166229 = 0;
			HEX3Atmp_166231 = 0;
			nimln(43, "strtabs.nim");
			HEX3Atmp_166231 = ((*gsymbols_166004).data ? ((*gsymbols_166004).data->Sup.len-1) : -1);
			nimln(1598, "system.nim");
			res_166233 = ((NI) 0);
			{
				nimln(1599, "system.nim");
				while (1) {
					NI TMP1344;
					if (!(res_166233 <= HEX3Atmp_166231)) goto LA4;
					nimln(1600, "system.nim");
					h_166229 = res_166233;
					nimln(44, "strtabs.nim");
					{
						if ((NU)(h_166229) >= (NU)((*gsymbols_166004).data->Sup.len)) raiseIndexError();
						if (!!((*gsymbols_166004).data->data[h_166229].Field0 == 0)) goto LA7;
						nimln(45, "strtabs.nim");
						if ((NU)(h_166229) >= (NU)((*gsymbols_166004).data->Sup.len)) raiseIndexError();
						key_166214 = (*gsymbols_166004).data->data[h_166229].Field0;
						if ((NU)(h_166229) >= (NU)((*gsymbols_166004).data->Sup.len)) raiseIndexError();
						val_166215 = (*gsymbols_166004).data->data[h_166229].Field1;
						nimln(72, "condsyms.nim");
						{
							NI TMP1343;
							if (!!(eqStrings(val_166215, ((NimStringDesc*) &TMP1318)))) goto LA11;
							TMP1343 = addInt(result, ((NI) 1));
							result = (NI)(TMP1343);
						}
						LA11: ;
					}
					LA7: ;
					nimln(1619, "system.nim");
					TMP1344 = addInt(res_166233, ((NI) 1));
					res_166233 = (NI)(TMP1344);
				} LA4: ;
			}
		}
	}
	popFrame();
	return result;
}
开发者ID:undecided,项目名称:csources,代码行数:57,代码来源:compiler_condsyms.c

示例11: N_NIMCALL

N_NIMCALL(NI, countdefinedsymbols_142041)(void) {
	NI result;
	NimStringDesc* key_142044;
	NimStringDesc* val_142045;
	NI h_142057;
	NI HEX3Atmp_142059;
	NI res_142061;
	nimfr("countDefinedSymbols", "condsyms.nim")
	result = 0;
	nimln(36, "condsyms.nim");
	result = 0;
	key_142044 = 0;
	val_142045 = 0;
	h_142057 = 0;
	HEX3Atmp_142059 = 0;
	nimln(40, "strtabs.nim");
	nimln(40, "strtabs.nim");
	HEX3Atmp_142059 = ((*gsymbols_142003).Data->Sup.len-1);
	nimln(1308, "system.nim");
	res_142061 = 0;
	nimln(1309, "system.nim");
	while (1) {
		nimln(1309, "system.nim");
		if (!(res_142061 <= HEX3Atmp_142059)) goto LA1;
		nimln(1308, "system.nim");
		h_142057 = res_142061;
		nimln(41, "strtabs.nim");
		{
			nimln(41, "strtabs.nim");
			nimln(41, "strtabs.nim");
			if ((NU)(h_142057) >= (NU)((*gsymbols_142003).Data->Sup.len)) raiseIndexError();
			if (!!((*gsymbols_142003).Data->data[h_142057].Field0 == 0)) goto LA4;
			nimln(42, "strtabs.nim");
			if ((NU)(h_142057) >= (NU)((*gsymbols_142003).Data->Sup.len)) raiseIndexError();
			key_142044 = (*gsymbols_142003).Data->data[h_142057].Field0;
			nimln(42, "strtabs.nim");
			if ((NU)(h_142057) >= (NU)((*gsymbols_142003).Data->Sup.len)) raiseIndexError();
			val_142045 = (*gsymbols_142003).Data->data[h_142057].Field1;
			nimln(38, "condsyms.nim");
			{
				nimln(38, "condsyms.nim");
				if (!eqStrings(val_142045, ((NimStringDesc*) &TMP897))) goto LA8;
				nimln(38, "condsyms.nim");
				result = addInt(result, 1);
			}			LA8: ;
		}		LA4: ;
		nimln(1311, "system.nim");
		res_142061 = addInt(res_142061, 1);
	} LA1: ;
	popFrame();
	return result;
}
开发者ID:reactormonk,项目名称:csources,代码行数:52,代码来源:compiler_condsyms.c

示例12: N_NIMCALL

N_NIMCALL(NI, rawget_167744)(ttable167560 t_167751, NimStringDesc* key_167754) {
	NI result;
	NI h;
	NI LOC1;
	nimfr("rawGet", "tables.nim")
	result = 0;
	nimln(115, "tables.nim");
	nimln(115, "tables.nim");
	nimln(115, "tables.nim");
	LOC1 = 0;
	LOC1 = hash_120827(key_167754);
	nimln(115, "tables.nim");
	h = (NI)(LOC1 & (t_167751.Data->Sup.len-1));
	nimln(116, "tables.nim");
	while (1) {
		nimln(116, "tables.nim");
		nimln(116, "tables.nim");
		if ((NU)(h) >= (NU)(t_167751.Data->Sup.len)) raiseIndexError();
		if (!!((t_167751.Data->data[h].Field0 == ((NU8) 0)))) goto LA2;
		nimln(117, "tables.nim");
		{
			NIM_BOOL LOC5;
			nimln(117, "tables.nim");
			LOC5 = 0;
			nimln(117, "tables.nim");
			if ((NU)(h) >= (NU)(t_167751.Data->Sup.len)) raiseIndexError();
			LOC5 = eqStrings(t_167751.Data->data[h].Field1, key_167754);
			if (!(LOC5)) goto LA6;
			nimln(117, "tables.nim");
			if ((NU)(h) >= (NU)(t_167751.Data->Sup.len)) raiseIndexError();
			LOC5 = (t_167751.Data->data[h].Field0 == ((NU8) 1));
			LA6: ;
			if (!LOC5) goto LA7;
			nimln(118, "tables.nim");
			nimln(118, "tables.nim");
			result = h;
			goto BeforeRet;
		}
		LA7: ;
		nimln(119, "tables.nim");
		nimln(119, "tables.nim");
		h = nexttry_141606(h, (t_167751.Data->Sup.len-1));
	} LA2: ;
	nimln(120, "tables.nim");
	result = -1;
	BeforeRet: ;
	popFrame();
	return result;
}
开发者ID:rbehrends,项目名称:csources,代码行数:49,代码来源:stdlib_tables.c

示例13: N_NIMCALL

N_NIMCALL(void, conftok_291274_930198375)(Tlexer286174* L0, Ttoken286170* tok0) {
	ppgettok_291002_930198375(L0, tok0);
	{
		while (1) {
			NIM_BOOL LOC3;
			LOC3 = (NIM_BOOL)0;
			LOC3 = !(((*tok0).ident == NIM_NIL));
			if (!(LOC3)) goto LA4;
			LOC3 = eqStrings((*(*tok0).ident).s, ((NimStringDesc*) &T930198375_4));
			LA4: ;
			if (!LOC3) goto LA2;
			parsedirective_291245_930198375(L0, tok0);
		} LA2: ;
	}
}
开发者ID:FedericoCeratto,项目名称:debian-nim,代码行数:15,代码来源:compiler_nimconf.c

示例14: N_NIMCALL

N_NIMCALL(void, conftok_210275)(Tlexer205173* L, Ttoken205169* tok) {
	ppgettok_210003(L, tok);
	{
		while (1) {
			NIM_BOOL LOC3;
			LOC3 = 0;
			LOC3 = !(((*tok).ident == NIM_NIL));
			if (!(LOC3)) goto LA4;
			LOC3 = eqStrings((*(*tok).ident).s, ((NimStringDesc*) &TMP2035));
			LA4: ;
			if (!LOC3) goto LA2;
			parsedirective_210246(L, tok);
		} LA2: ;
	}
}
开发者ID:digideskio,项目名称:csources,代码行数:15,代码来源:compiler_nimconf.c

示例15: N_NIMCALL

N_NIMCALL(void, conftok_185379)(Tlexer180185* L, Ttoken180181* tok) {
	ppgettok_185009(L, tok);
	{
		while (1) {
			NIM_BOOL LOC3;
			LOC3 = 0;
			LOC3 = !(((*tok).ident == NIM_NIL));
			if (!(LOC3)) goto LA4;
			LOC3 = eqStrings((*(*tok).ident).s, ((NimStringDesc*) &TMP1877));
			LA4: ;
			if (!LOC3) goto LA2;
			parsedirective_185344(L, tok);
		} LA2: ;
	}
}
开发者ID:jlp765,项目名称:csources,代码行数:15,代码来源:compiler_nimconf.c


注:本文中的eqStrings函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。