Searched +refs:cython +refs:buffer (Results 1 – 11 of 11) sorted by relevance
/external/chromium_org/third_party/cython/src/Cython/Plex/ |
D | Scanners.pxd | 1 import cython 10 cdef public unicode buffer 29 @cython.locals(input_state=long) 31 @cython.locals(action=Action) 36 @cython.locals(cur_pos=long, cur_line=long, cur_line_start=long, 39 trace=bint, discard=long, data=unicode, buffer=unicode)
|
D | Scanners.py | 10 import cython 11 cython.declare(BOL=object, EOL=object, EOF=object, NOT_FOUND=object) 83 self.buffer = u'' 143 text = self.buffer[self.start_pos - self.buf_start_pos : 165 buffer = self.buffer 167 buf_len = len(buffer) 197 c = buffer[buf_index] 202 buffer = self.buffer[discard:] + data 203 self.buffer = buffer 206 buf_len = len(buffer) [all …]
|
/external/chromium_org/third_party/cython/src/Tools/ |
D | cython-mode.el | 36 (defun cython-compilation-finish (buffer how) 67 (defgroup cython nil "Major mode for editing and compiling Cython files" unknown 76 :group 'cython
|
D | kate.diff | 8 diff -r db4133d43a7e -r 0a6ce52272f6 Tools/cython-numpy-mode-kate.xml 10 +++ b/Tools/cython-numpy-mode-kate.xml Wed Oct 28 02:57:23 2009 -0700 54 …="Sources" extensions="*.pyx;*.pxi;*.pxd" mimetype="application/x-cython;text/x-cython" casesensit… 133 + <item> buffer </item> 229 + <item> cython </item>
|
/external/chromium_org/mojo/public/python/mojo/ |
D | c_core.pxd | 7 from cpython.buffer cimport PyBUF_CONTIG 8 from cpython.buffer cimport PyBUF_CONTIG_RO 9 from cpython.buffer cimport Py_buffer 10 from cpython.buffer cimport PyBuffer_FillInfo 11 from cpython.buffer cimport PyBuffer_Release 12 from cpython.buffer cimport PyObject_GetBuffer 16 cdef extern from "third_party/cython/python_export.h": 143 void** buffer, 159 const void** buffer, 167 # buffer.h [all …]
|
/external/chromium_org/third_party/cython/src/ |
D | CHANGES.rst | 38 ``cython.array`` objects was disabled in Py3. 130 * The new extension type decorator ``@cython.no_gc_clear`` prevents 142 * The cython-mode.el script for Emacs was updated. Patch by Ivan Andrus. 327 * A new class decorator ``@cython.freelist(N)`` creates a static freelist of N 509 * Memory views did not handle the special case of a NULL buffer strides value, as allowed by PEP311… 531 …he box with earlier versions of Cython due to the native support for the buffer interface in the P… 535 …ring processing code was adapted for the upcoming CPython 3.3 (PEP 393, new Unicode buffer layout). 539 * c(p)def functions in pure mode can specify their return type with "@cython.returns()". 579 * Modules generated by @cython.inline() are written into the directory pointed to by the environmen… 601 * fix alignment handling for record types in buffer support [all …]
|
/external/chromium_org/third_party/cython/src/Cython/Utility/ |
D | MemoryView.pyx | 3 # This utility provides cython.array and cython.view.memoryview 5 import cython 95 ### cython.array class 127 raise ValueError("Empty shape tuple for cython.array") 130 raise ValueError("itemsize <= 0 for cython.array") 186 raise ValueError("Can only create a buffer that is contiguous in memory.") 249 ### Memoryview constants and cython.view.memoryview class 293 with cython.cdivision(True): 831 with cython.cdivision(True): 885 raise IndexError("Out of bounds on buffer access (axis %d)" % dim) [all …]
|
/external/chromium_org/third_party/cython/src/Cython/Compiler/ |
D | Code.py | 6 import cython 7 cython.declare(os=object, re=object, operator=object, 746 cython.declare(possible_unicode_identifier=object, possible_bytes_identifier=object, 1411 …def __init__(self, create_from=None, buffer=None, copy_formatting=False, emit_linenums=None, c_lin… argument 1412 if buffer is None: buffer = StringIOTree() 1413 self.buffer = buffer 1440 def create_new(self, create_from, buffer, copy_formatting): argument 1443 result = CCodeWriter(create_from, buffer, copy_formatting, 1448 self.buffer.copyto(f) 1451 return self.buffer.getvalue() [all …]
|
D | ModuleNode.py | 5 import cython 6 cython.declare(Naming=object, Options=object, PyrexTypes=object, TypeSlots=object, 389 markers = ccodewriter.buffer.allmarkers()
|
D | Nodes.py | 5 import cython 6 cython.declare(sys=object, os=object, copy=object, 11 absolute_path_length=cython.Py_ssize_t) 90 pristine = code.buffer.stream.tell() 92 start = code.buffer.stream.tell() 96 if start == code.buffer.stream.tell(): 97 code.buffer.stream.seek(pristine)
|
/external/chromium_org/third_party/cython/src/Cython/Includes/numpy/ |
D | __init__.pxd | 6 # This also defines backwards-compatability buffer acquisition 10 # Because of laziness, the format string of the buffer is statically 19 cimport cpython.buffer as pybuf 158 # ask on cython-dev if you need more. 224 # Allocate new buffer for strides and shape info.
|