Beispiel #1
0
static NOINLINE void AddFieldInt(pin* Pin,int Id,int Value)
{
	tchar_t s[40];
	GetFrameName(Id,s,TSIZEOF(s));
	IntToString(s+tcslen(s),TSIZEOF(s)-tcslen(s),Value,0);
	AddField(Pin,Id,s);
}
Beispiel #2
0
static NOINLINE void AddFieldAttachment(pin* Pin,int Id,filepos_t Pos,int Size,const tchar_t* ContentType)
{
	if (Size>0)
	{
		tchar_t s[512];
		GetFrameName(Id,s,TSIZEOF(s));
		stcatprintf_s(s,TSIZEOF(s),T(":%d:%d:%s"),(int)Pos,Size,ContentType);
		AddField(Pin,Id,s);
	}
}
Beispiel #3
0
static NOINLINE void AddFieldStr(pin* Pin,int Id,const tchar_t* Value)
{
	if (Value[0])
	{
		tchar_t s[512];
		GetFrameName(Id,s,TSIZEOF(s));
		tcscat_s(s,TSIZEOF(s),Value);
		AddField(Pin,Id,s);
	}
}
Beispiel #4
0
void
nsLeafBoxFrame::GetBoxName(nsAutoString& aName)
{
   GetFrameName(aName);
}