Lines Matching refs:UpdateWithLines
5343 def UpdateWithLines(self, lines): member in NestingStateTest
5350 self.UpdateWithLines([])
5354 self.UpdateWithLines(['namespace {'])
5361 self.UpdateWithLines(['namespace outer { namespace inner'])
5370 self.UpdateWithLines(['{'])
5373 self.UpdateWithLines(['}', '}}'])
5377 self.UpdateWithLines(['class A {'])
5384 self.UpdateWithLines(['};',
5391 self.UpdateWithLines(['};',
5399 self.UpdateWithLines(['};',
5403 self.UpdateWithLines(['class D {', ' class E {'])
5414 self.UpdateWithLines(['}', '}'])
5418 self.UpdateWithLines(['class A {'])
5423 self.UpdateWithLines([' public:'])
5425 self.UpdateWithLines([' protracted:'])
5427 self.UpdateWithLines([' protected:'])
5429 self.UpdateWithLines([' private:'])
5432 self.UpdateWithLines([' struct B {'])
5438 self.UpdateWithLines([' protected :'])
5442 self.UpdateWithLines([' }', '}'])
5446 self.UpdateWithLines(['struct A {'])
5452 self.UpdateWithLines(['}',
5458 self.UpdateWithLines(['}'])
5463 self.UpdateWithLines(['#if MACRO1'])
5465 self.UpdateWithLines(['#endif'])
5468 self.UpdateWithLines(['#ifdef MACRO2'])
5470 self.UpdateWithLines(['#else'])
5472 self.UpdateWithLines(['#ifdef MACRO3'])
5474 self.UpdateWithLines(['#elif MACRO4'])
5476 self.UpdateWithLines(['#endif'])
5478 self.UpdateWithLines(['#endif'])
5481 self.UpdateWithLines(['#ifdef MACRO5',
5492 self.UpdateWithLines(['};'])
5495 self.UpdateWithLines(['class D',
5503 self.UpdateWithLines(['#elif MACRO8',
5510 self.UpdateWithLines(['#else',
5517 self.UpdateWithLines(['#endif'])
5524 self.UpdateWithLines([';'])
5528 self.UpdateWithLines(['template <T,',
5531 self.UpdateWithLines(['class A {'])
5536 self.UpdateWithLines(['};',
5543 self.UpdateWithLines([';'])
5546 self.UpdateWithLines(['class D : public Tmpl<E>'])
5551 self.UpdateWithLines(['{', '};'])
5554 self.UpdateWithLines(['template <class F,',
5562 self.UpdateWithLines(['}',
5569 self.UpdateWithLines(['class A {',
5574 self.UpdateWithLines([' template <class B>',
5581 self.UpdateWithLines(['class A {'])
5587 self.UpdateWithLines([' void Func(',
5591 self.UpdateWithLines([' struct X *arg2);'])
5595 self.UpdateWithLines(['};'])
5598 self.UpdateWithLines(['struct B {'])
5603 self.UpdateWithLines(['#ifdef MACRO',
5608 self.UpdateWithLines(['#else'])
5612 self.UpdateWithLines([' void Func(',
5617 self.UpdateWithLines(['#endif'])
5620 self.UpdateWithLines([' struct X *arg2);'])
5624 self.UpdateWithLines(['};'])
5628 self.UpdateWithLines(['void CopyRow_SSE2(const uint8* src, uint8* dst,',
5634 self.UpdateWithLines([' asm volatile ('])
5640 self.UpdateWithLines([' "sub %0,%1 \\n"',
5659 self.UpdateWithLines(['#if defined(__SSE2__)',
5666 self.UpdateWithLines(['#endif'])
5672 self.UpdateWithLines([' );'])
5677 self.UpdateWithLines(['__asm {'])
5683 self.UpdateWithLines(['}'])
5686 self.UpdateWithLines(['}'])