HomeSort by relevance Sort by last modified time
    Searched refs:putln (Results 1 - 11 of 11) sorted by null

  /external/chromium_org/third_party/cython/src/Cython/Compiler/
ModuleNode.py 142 h_code.putln("")
146 h_code.putln("")
148 h_code.putln("#ifndef %s" % api_guard)
149 h_code.putln("")
152 h_code.putln("")
158 h_code.putln("")
162 h_code.putln("")
165 h_code.putln("")
166 h_code.putln("#endif /* !%s */" % api_guard)
167 h_code.putln("")
    [all...]
Code.py 428 writer.putln("/* %s.init */" % self.name)
433 writer.putln(writer.error_goto_if_PyErr(output.module_pos))
434 writer.putln()
645 self.owner.putln("/* %s allocated */" % result)
666 self.owner.putln("/* %s released */" % name)
1551 def putln(self, code="", safe=False): member in class:CCodeWriter
2138 def putln(self, code): member in class:PyrexCodeWriter
2191 def putln(self, line, context=None): member in class:PyxCodeWriter
    [all...]
Buffer.py 300 code.putln(' '.join(ln))
307 code.putln("%s.pybuffer.buf = NULL;" % pybuffer_struct)
308 code.putln("%s.refcount = 0;" % pybuffer_struct)
312 code.putln("%s.data = NULL;" % pybuffernd_struct)
313 code.putln("%s.rcbuffer = &%s;" % (pybuffernd_struct, pybuffer_struct))
321 code.putln("{")
322 code.putln("__Pyx_BufFmt_StackElem __pyx_stack[%d];" % entry.type.dtype.struct_nesting_depth())
323 code.putln(code.error_goto_if("%s == -1" % getbuffer, pos))
324 code.putln("}")
331 code.putln("__Pyx_SafeReleaseBuffer(&%s.rcbuffer->pybuffer);" % entry.buffer_aux.buflocal_nd_var.cname
    [all...]
Nodes.py 91 code.putln(marker)
100 code.putln(marker)
    [all...]
MemoryView.py 73 code.putln("%s.data = NULL;" % mv_cname)
74 code.putln("%s.memview = NULL;" % mv_cname)
94 code.putln("%s = %s;" % (rhstmp, rhs.result_as(lhs_type)))
97 #code.putln(code.put_error_if_unbound(lhs_pos, rhs.entry))
112 code.putln("%s = %s;" % (lhs_cname, rhs_cname))
307 code.putln("%s = -1;" % suboffset_dim)
309 code.putln("%(dst)s.data = %(src)s.data;" % locals())
310 code.putln("%(dst)s.memview = %(src)s.memview;" % locals())
347 code.putln("%s.%s[%d] = %d;" % (dst, attrib, new_ndim, value))
456 code.putln(code.error_goto_if_neg
    [all...]
ExprNodes.py 630 code.putln("%s = 0;" % self.result())
632 code.putln("%s.memview = NULL;" % self.result())
633 code.putln("%s.data = NULL;" % self.result())
    [all...]
TypeSlots.py 213 code.putln("#if CYTHON_COMPILING_IN_PYPY")
214 code.putln("%s, /*%s*/" % (inherited_value, self.slot_name))
215 code.putln("#else")
219 code.putln(preprocessor_guard)
220 code.putln("%s, /*%s*/" % (value, self.slot_name))
222 code.putln("#else")
223 code.putln("0, /*reserved*/")
225 code.putln("#endif")
227 code.putln("#endif")
238 code.putln("%s.%s = %s;" %
    [all...]
FusedNode.py 264 pyx_code.putln("if 0: pass")
285 pyx_code.putln("pass")
290 pyx_code.putln("pass")
295 pyx_code.putln("pass")
300 pyx_code.putln("pass")
334 # codewriter.putln("print 'buffer match found based on numpy dtype'")
335 codewriter.putln(self.match)
336 codewriter.putln("break")
358 decl_code.putln(
418 pyx_code.putln(self.no_match
    [all...]
UtilNodes.py 58 code.putln('%s = %s;' % (self.result(), rhs.result_as(self.ctype())))
205 code.putln('%s = %s;' % (self.result(), rhs.result_as(self.ctype())))
236 code.putln("%s = %s;" % (self.temp, self.temp_expression.result()))
PyrexTypes.py     [all...]
  /external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/pyxelator/
genpyx.py 42 def putln( self, ln="" ): member in class:OStream
387 ostream.putln( '# ' + self.cstr() )
390 #ostream.putln( 'cdef %s %s' % ( self.pyx_adaptor_decl(cobjects), self.name ) ) # _CObject
391 #ostream.putln( '%s = %s()' % (self.name, self.pyx_adaptor_name(cobjects)) )
392 #ostream.putln( '%s.p = <void*>&%s' % (self.name, cprefix+self.name) )
394 #ostream.putln( '%s.%s = %s' % (modname,self.name, self.name) )
395 ostream.putln( '%s = %s( addr = <long>&%s )' % (self.name, self.pyx_adaptor_name(cobjects), cprefix+self.name) )
496 ostream.putln( now.strftime('# Code generated by pyxelator on %x at %X') + '\n' )
497 ostream.putln("# PART 1: extern declarations")
499 ostream.putln( 'cdef extern from "%s":\n pass\n' % filename
    [all...]

Completed in 596 milliseconds