Did I find the right examples for you? yes no

All Samples(21)  |  Call(17)  |  Derive(0)  |  Import(4)

src/s/y/Sypy-HEAD/translator/driver.py   Sypy(Download)
                from pypy.translator.c.genc import CStandaloneBuilder as CBuilder
            else:
                from pypy.translator.c.genc import CExtModuleBuilder as CBuilder
            cbuilder = CBuilder(self.translator, self.entry_point,
                                config=self.config,

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/translator/driver.py   plexnet(Download)
                from pypy.translator.c.genc import CStandaloneBuilder as CBuilder
            else:
                from pypy.translator.c.genc import CExtModuleBuilder as CBuilder
            cbuilder = CBuilder(self.translator, self.entry_point,
                                config=self.config)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/translator/c/test/test_genc.py   plexnet(Download)
 
    t.config.translation.countmallocs = True
    builder = genc.CExtModuleBuilder(t, f, config=t.config)
    builder.generate_source()
    builder.compile()
 
    t.config.translation.countmallocs = True
    builder = genc.CExtModuleBuilder(t, f, config=t.config)
    builder.generate_source()
    builder.compile()
    t.buildrtyper().specialize()
 
    builder = genc.CExtModuleBuilder(t, f, config=t.config)
    builder.generate_source()
    builder.compile()
    from pypy.translator.c import genc
    t.config.translation.countmallocs = True
    builder = genc.CExtModuleBuilder(t, does_stuff, config=t.config)
    builder.generate_source()
    builder.compile()

src/s/y/Sypy-HEAD/translator/c/test/test_genc.py   Sypy(Download)
 
    t.config.translation.countmallocs = True
    builder = genc.CExtModuleBuilder(t, f, config=t.config)
    builder.generate_source()
    builder.compile()
    t.config.translation.countmallocs = True
    t.config.translation.dont_write_c_files = True
    builder = genc.CExtModuleBuilder(t, f, config=t.config)
    builder.generate_source()
    assert isinstance(builder.targetdir, NullPyPathLocal)
 
    t.config.translation.countmallocs = True
    builder = genc.CExtModuleBuilder(t, f, config=t.config)
    builder.generate_source()
    builder.compile()
    t.buildrtyper().specialize()
 
    builder = genc.CExtModuleBuilder(t, f, config=t.config)
    builder.generate_source()
    builder.compile()
    from pypy.translator.c import genc
    t.config.translation.countmallocs = True
    builder = genc.CExtModuleBuilder(t, does_stuff, config=t.config)
    builder.generate_source()
    builder.compile()

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/translator/c/test/test_boehm.py   plexnet(Download)
from pypy.rpython.memory.test import snippet
from pypy.rpython.tool.rffi_platform import check_boehm
from pypy.translator.c.genc import CExtModuleBuilder
from pypy import conftest
 
        def compile():
            cbuilder = CExtModuleBuilder(t, func, config=config)
            c_source_filename = cbuilder.generate_source(
                defines = cbuilder.DEBUG_DEFINES)
            if conftest.option.view:

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/translator/c/test/test_typed.py   plexnet(Download)
    def compilefunc(self, t, func):
        from pypy.translator.c import genc
        self.builder = builder = genc.CExtModuleBuilder(t, func, config=t.config)
        builder.generate_source()
        builder.compile()

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/translator/c/test/test_refcount.py   plexnet(Download)
        t.buildannotator().build_types(fn, inputtypes)
        t.buildrtyper().specialize()
    builder = genc.CExtModuleBuilder(t, fn, config=config)
    builder.generate_source()
    builder.compile()

src/s/y/Sypy-HEAD/translator/c/test/test_boehm.py   Sypy(Download)
from pypy.rpython.lltypesystem.lloperation import llop
from pypy.rpython.memory.test import snippet
from pypy.translator.c.genc import CExtModuleBuilder
from pypy.rlib.objectmodel import keepalive_until_here
from pypy import conftest
        def compile():
            cbuilder = CExtModuleBuilder(t, func, config=config)
            c_source_filename = cbuilder.generate_source(
                defines = cbuilder.DEBUG_DEFINES)
            if conftest.option.view:

src/s/y/Sypy-HEAD/translator/c/test/test_typed.py   Sypy(Download)
    def compilefunc(self, t, func):
        from pypy.translator.c import genc
        self.builder = builder = genc.CExtModuleBuilder(t, func, config=t.config)
        if hasattr(self, 'include_also_eci'):
            builder.merge_eci(self.include_also_eci)

src/s/y/Sypy-HEAD/translator/c/test/test_refcount.py   Sypy(Download)
        t.buildannotator().build_types(fn, inputtypes)
        t.buildrtyper().specialize()
    builder = genc.CExtModuleBuilder(t, fn, config=config)
    builder.generate_source()
    builder.compile()