Example #1
0
ZZ_pBak::~ZZ_pBak()
{
   if (MustRestore)
      CopyPointer(ZZ_pInfo, ptr);

   CopyPointer(ptr, 0);
}
Example #2
0
GF2EBak::~GF2EBak()
{
   if (MustRestore)
      CopyPointer(GF2EInfo, ptr);

   CopyPointer(ptr, 0);
}
Example #3
0
zz_pEBak::~zz_pEBak()
{
   if (MustRestore)
      CopyPointer(zz_pEInfo, ptr);

   CopyPointer(ptr, 0);
}
Example #4
0
RTFformatting& RTFformatting::Assign (const RTFformatting& right)
{
	if(&right == NULL)
	{
		CHECK_CONDITION_NOT_EXPECTED; // NASTY but it was tested for for some reason
		return *this;					// as it did before
	}

	if (this != &right)
	{
		m_fLocation = right.m_fLocation;

		CopyPointer(the_RTFapoctl , right.the_RTFapoctl );
		CopyPointer(the_RTFtapoctl , right.the_RTFtapoctl );
		RTFbrdrdef*& pref=DetachBrdrDef();
		CopyPointer(pref , right.the_RTFbrdrdef);
		CopyPointer(DetachChrfmt() , right.the_RTFchrfmt );
		CopyPointer(the_RTFpnprops, right.the_RTFpnprops);
		CopyPointer(the_RTFpn     , right.the_RTFpn     );
		CopyPointer(DetachParfmt() , right.GetParfmt() );
		CopyPointer(the_RTFshading, right.the_RTFshading);
		CopyPointer(the_RTFtabdef , right.the_RTFtabdef );

		m_iRBound = right.m_iRBound;
		m_bNestedTblDef = right.m_bNestedTblDef; //++BobH 01-02-01
	}
	AttachParfmt();
	return *this;
}
Example #5
0
fbl::RefPtr<ThreadDispatcher> ProcessDispatcher::LookupThreadById(zx_koid_t koid) {
    LTRACE_ENTRY_OBJ;
    Guard<fbl::Mutex> guard{get_lock()};

    auto iter = thread_list_.find_if([koid](const ThreadDispatcher& t) { return t.get_koid() == koid; });
    return fbl::WrapRefPtr(iter.CopyPointer());
}
Example #6
0
static struct Pointer * CopyPointer(struct Pointer * ptr)
{
if(ptr)
{
struct __ecereNameSpace__ecere__sys__OldList * list = MkList();
struct Specifier * spec;

if(ptr->qualifiers)
{
for(spec = (*ptr->qualifiers).first; spec; spec = spec->next)
ListAdd(list, CopySpecifier(spec));
}
return MkPointer(list, CopyPointer(ptr->pointer));
}
return (((void *)0));
}
Example #7
0
zz_pEExtraContext::zz_pEExtraContext(const zz_pEExtraContext& a)
{
   ptr = NULL;
   CopyPointer(ptr, a.ptr);
}
Example #8
0
void ZZ_pBak::save()
{
   MustRestore = 1;
   CopyPointer(ptr, ZZ_pInfo);
}
Example #9
0
void ZZ_pBak::restore()
{
   MustRestore = 0;
   CopyPointer(ZZ_pInfo, ptr);
}
Example #10
0
void ZZ_pContext::restore() const
{
   CopyPointer(ZZ_pInfo, ptr);
}
Example #11
0
zz_pEExtraContext::~zz_pEExtraContext()
{
   CopyPointer(ptr, NULL);
}
Example #12
0
GF2EContext::~GF2EContext()
{
   CopyPointer(ptr, 0);
}
Example #13
0
void ZZ_pContext::save()
{
   CopyPointer(ptr, ZZ_pInfo);
}
Example #14
0
zz_pEContext::zz_pEContext(const zz_pEContext& a)
{
   ptr = 0;
   CopyPointer(ptr, a.ptr);
}
Example #15
0
zz_pEContext::~zz_pEContext()
{
   CopyPointer(ptr, 0);
}
Example #16
0
void GF2EBak::save()
{
   MustRestore = 1;
   CopyPointer(ptr, GF2EInfo);
}
Example #17
0
void zz_pEBak::save()
{
   MustRestore = 1;
   CopyPointer(ptr, zz_pEInfo);
}
Example #18
0
void zz_pEExtraContext::restore() const
{
   CopyPointer(zz_pEExtraInfo, ptr);
}
Example #19
0
void GF2EContext::restore() const
{
   CopyPointer(GF2EInfo, ptr);
}
Example #20
0
void GF2EContext::save()
{
   CopyPointer(ptr, GF2EInfo);
}
Example #21
0
void zz_pEContext::restore() const
{
   CopyPointer(zz_pEInfo, ptr);
}
Example #22
0
void zz_pEExtraContext::save()
{
   CopyPointer(ptr, zz_pEExtraInfo);
}
Example #23
0
void GF2EBak::restore()
{
   MustRestore = 0;
   CopyPointer(GF2EInfo, ptr);
}
Example #24
0
GF2EContext::GF2EContext(const GF2EContext& a)
{
   ptr = 0;
   CopyPointer(ptr, a.ptr);
}
Example #25
0
void zz_pEBak::restore()
{
   MustRestore = 0;
   CopyPointer(zz_pEInfo, ptr);
}
Example #26
0
ZZ_pContext::ZZ_pContext(const ZZ_pContext& a)
{
   ptr = 0;
   CopyPointer(ptr, a.ptr);
}
Example #27
0
zz_pEContext& zz_pEContext::operator=(const zz_pEContext& a)
{
   CopyPointer(ptr, a.ptr);
   return *this;
}
Example #28
0
ZZ_pContext& ZZ_pContext::operator=(const ZZ_pContext& a)
{
   CopyPointer(ptr, a.ptr);
   return *this;
}
Example #29
0
void zz_pEContext::save()
{
   CopyPointer(ptr, zz_pEInfo);
}
Example #30
0
ZZ_pContext::~ZZ_pContext()
{
   CopyPointer(ptr, 0);
}