path stringlengths 14 112 | content stringlengths 0 6.32M | size int64 0 6.32M | max_lines int64 1 100k | repo_name stringclasses 2
values | autogenerated bool 1
class |
|---|---|---|---|---|---|
cosmopolitan/third_party/python/Modules/_sqlite/microprotocols.c | /*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:4;tab-width:8;coding:utf-8 -*-â
âvi: set net ft=c ts=4 sts=4 sw=4 fenc=utf-8 :viâ
âââââââââââââââââââââââââââââââââââââââââââââââââââ... | 5,930 | 149 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/_sqlite/microprotocols.h | #ifndef PSYCOPG_MICROPROTOCOLS_H
#define PSYCOPG_MICROPROTOCOLS_H 1
#include "third_party/python/Include/Python.h"
#include "third_party/python/Modules/_sqlite/cursor.h"
/* clang-format off */
/** adapters registry **/
extern PyObject *psyco_adapters;
/** the names of the three mandatory methods **/
#define MICROPR... | 1,036 | 32 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/_asynciomodule.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(_asyncio_Future___init____doc__,
"Future(*, loop=None)\n"
"--\n"
"\n"
"This class is *almost* compatible with concurrent.futures.Future.\n"
"\n"
" Differences:\n"
"\n"
" - result() and exception() do not take a timeout ... | 16,449 | 522 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/zlibmodule.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(zlib_compress__doc__,
"compress($module, data, /, level=Z_DEFAULT_COMPRESSION)\n"
"--\n"
"\n"
"Returns a bytes object containing compressed data.\n"
"\n"
" data\n"
" Binary data to be compressed.\n"
" level\n"
" Compr... | 13,761 | 473 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/_datetimemodule.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(datetime_datetime_now__doc__,
"now($type, /, tz=None)\n"
"--\n"
"\n"
"Returns new datetime object representing current time local to tz.\n"
"\n"
" tz\n"
" Timezone object.\n"
"\n"
"If no tz is specified, uses local timezo... | 1,155 | 41 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/_tkinter.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(_tkinter_tkapp_eval__doc__,
"eval($self, script, /)\n"
"--\n"
"\n");
#define _TKINTER_TKAPP_EVAL_METHODDEF \
{"eval", (PyCFunction)_tkinter_tkapp_eval, METH_O, _tkinter_tkapp_eval__doc__},
static PyObject *
_tkinter_... | 17,439 | 643 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/_gdbmmodule.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(_gdbm_gdbm_get__doc__,
"get($self, key, default=None, /)\n"
"--\n"
"\n"
"Get the value for key, or default if not present.");
#define _GDBM_GDBM_GET_METHODDEF \
{"get", (PyCFunction)_gdbm_gdbm_get, METH_FASTCALL, _gdb... | 7,610 | 259 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/_weakref.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(_weakref_getweakrefcount__doc__,
"getweakrefcount($module, object, /)\n"
"--\n"
"\n"
"Return the number of weak references to \'object\'.");
#define _WEAKREF_GETWEAKREFCOUNT_METHODDEF \
{"getweakrefcount", (PyCFunctio... | 1,850 | 64 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/pwdmodule.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(pwd_getpwuid__doc__,
"getpwuid($module, uidobj, /)\n"
"--\n"
"\n"
"Return the password database entry for the given numeric user ID.\n"
"\n"
"See `help(pwd)` for more on password database entries.");
#define PWD_GETPWUID_MET... | 1,844 | 74 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/_cursesmodule.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(curses_window_addch__doc__,
"addch([y, x,] ch, [attr])\n"
"Paint character ch at (y, x) with attributes attr.\n"
"\n"
" y\n"
" Y-coordinate.\n"
" x\n"
" X-coordinate.\n"
" ch\n"
" Character to add.\n"
" attr\n"
"... | 2,227 | 77 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/spwdmodule.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
#if defined(HAVE_GETSPNAM)
PyDoc_STRVAR(spwd_getspnam__doc__,
"getspnam($module, arg, /)\n"
"--\n"
"\n"
"Return the shadow password database entry for the given user name.\n"
"\n"
"See `help(spwd)` for more on shadow password database en... | 1,749 | 71 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/_ssl.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(_ssl__SSLSocket_do_handshake__doc__,
"do_handshake($self, /)\n"
"--\n"
"\n");
#define _SSL__SSLSOCKET_DO_HANDSHAKE_METHODDEF \
{"do_handshake", (PyCFunction)_ssl__SSLSocket_do_handshake, METH_NOARGS, _ssl__SSLSocket_d... | 35,522 | 1,191 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/binascii.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(binascii_a2b_uu__doc__,
"a2b_uu($module, data, /)\n"
"--\n"
"\n"
"Decode a line of uuencoded data.");
#define BINASCII_A2B_UU_METHODDEF \
{"a2b_uu", (PyCFunction)binascii_a2b_uu, METH_O, binascii_a2b_uu__doc__},
stat... | 14,088 | 555 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/unicodedata.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(unicodedata_UCD_decimal__doc__,
"decimal($self, chr, default=None, /)\n"
"--\n"
"\n"
"Converts a Unicode character into its equivalent decimal value.\n"
"\n"
"Returns the decimal value assigned to the character chr as integer... | 10,790 | 384 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/fcntlmodule.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(fcntl_fcntl__doc__,
"fcntl($module, fd, cmd, arg=0, /)\n"
"--\n"
"\n"
"Perform the operation `cmd` on file descriptor fd.\n"
"\n"
"The values used for `cmd` are operating system dependent, and are available\n"
"as constants i... | 6,572 | 191 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/_lzmamodule.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(_lzma_LZMACompressor_compress__doc__,
"compress($self, data, /)\n"
"--\n"
"\n"
"Provide data to the compressor object.\n"
"\n"
"Returns a chunk of compressed data if possible, or b\'\' otherwise.\n"
"\n"
"When you have finish... | 8,737 | 261 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/_opcode.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(_opcode_stack_effect__doc__,
"stack_effect($module, opcode, oparg=None, /)\n"
"--\n"
"\n"
"Compute the stack effect of the opcode.");
#define _OPCODE_STACK_EFFECT_METHODDEF \
{"stack_effect", (PyCFunction)_opcode_stac... | 1,094 | 40 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/cmathmodule.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(cmath_acos__doc__,
"acos($module, z, /)\n"
"--\n"
"\n"
"Return the arc cosine of z.");
#define CMATH_ACOS_METHODDEF \
{"acos", (PyCFunction)cmath_acos, METH_O, cmath_acos__doc__},
static Py_complex
cmath_acos_impl(Py... | 21,790 | 887 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/signalmodule.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
#if defined(HAVE_ALARM)
PyDoc_STRVAR(signal_alarm__doc__,
"alarm($module, seconds, /)\n"
"--\n"
"\n"
"Arrange for SIGALRM to arrive after the given number of seconds.");
#define SIGNAL_ALARM_METHODDEF \
{"alarm", (PyCFunction)sig... | 11,825 | 444 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/audioop.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(audioop_getsample__doc__,
"getsample($module, fragment, width, index, /)\n"
"--\n"
"\n"
"Return the value of sample index from the fragment.");
#define AUDIOOP_GETSAMPLE_METHODDEF \
{"getsample", (PyCFunction)audioop_... | 24,350 | 933 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/grpmodule.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(grp_getgrgid__doc__,
"getgrgid($module, /, id)\n"
"--\n"
"\n"
"Return the group database entry for the given numeric group ID.\n"
"\n"
"If id is not valid, raise KeyError.");
#define GRP_GETGRGID_METHODDEF \
{"getgrgi... | 2,495 | 91 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/pyexpat.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(pyexpat_xmlparser_Parse__doc__,
"Parse($self, data, isfinal=False, /)\n"
"--\n"
"\n"
"Parse XML data.\n"
"\n"
"`isfinal\' should be true at end of input.");
#define PYEXPAT_XMLPARSER_PARSE_METHODDEF \
{"Parse", (PyCFu... | 9,168 | 294 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/_dbmmodule.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(_dbm_dbm_close__doc__,
"close($self, /)\n"
"--\n"
"\n"
"Close the database.");
#define _DBM_DBM_CLOSE_METHODDEF \
{"close", (PyCFunction)_dbm_dbm_close, METH_NOARGS, _dbm_dbm_close__doc__},
static PyObject *
_dbm_dbm... | 3,819 | 146 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/_cryptmodule.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(crypt_crypt__doc__,
"crypt($module, word, salt, /)\n"
"--\n"
"\n"
"Hash a *word* with the given *salt* and return the hashed password.\n"
"\n"
"*word* will usually be a user\'s password. *salt* (either a random 2 or 16\n"
"c... | 1,143 | 40 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/_winapi.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(_winapi_Overlapped_GetOverlappedResult__doc__,
"GetOverlappedResult($self, wait, /)\n"
"--\n"
"\n");
#define _WINAPI_OVERLAPPED_GETOVERLAPPEDRESULT_METHODDEF \
{"GetOverlappedResult", (PyCFunction)_winapi_Overlapped_G... | 27,395 | 892 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/_pickle.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(_pickle_Pickler_clear_memo__doc__,
"clear_memo($self, /)\n"
"--\n"
"\n"
"Clears the pickler\'s \"memo\".\n"
"\n"
"The memo is the data structure that remembers which objects the\n"
"pickler has already seen, so that shared or... | 19,967 | 565 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/posixmodule.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(os_stat__doc__,
"stat($module, /, path, *, dir_fd=None, follow_symlinks=True)\n"
"--\n"
"\n"
"Perform a stat system call on the given path.\n"
"\n"
" path\n"
" Path to be examined; can be string, bytes, a path-like object... | 168,411 | 6,131 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/_codecsmodule.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(_codecs_register__doc__,
"register($module, search_function, /)\n"
"--\n"
"\n"
"Register a codec search function.\n"
"\n"
"Search functions are expected to take one argument, the encoding name in\n"
"all lower case letters, a... | 43,446 | 1,541 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/_struct.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(Struct___init____doc__,
"Struct(format)\n"
"--\n"
"\n"
"Create a compiled struct object.\n"
"\n"
"Return a new Struct object which writes and reads binary data according to\n"
"the format string.\n"
"\n"
"See help(struct) for... | 7,315 | 270 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/_elementtree.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(_elementtree_Element_append__doc__,
"append($self, subelement, /)\n"
"--\n"
"\n");
#define _ELEMENTTREE_ELEMENT_APPEND_METHODDEF \
{"append", (PyCFunction)_elementtree_Element_append, METH_O, _elementtree_Element_appe... | 21,341 | 707 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/arraymodule.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(array_array___copy____doc__,
"__copy__($self, /)\n"
"--\n"
"\n"
"Return a copy of the array.");
#define ARRAY_ARRAY___COPY___METHODDEF \
{"__copy__", (PyCFunction)array_array___copy__, METH_NOARGS, array_array___copy_... | 14,413 | 510 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/_sre.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(_sre_getcodesize__doc__,
"getcodesize($module, /)\n"
"--\n"
"\n");
#define _SRE_GETCODESIZE_METHODDEF \
{"getcodesize", (PyCFunction)_sre_getcodesize, METH_NOARGS, _sre_getcodesize__doc__},
static int
_sre_getcodesiz... | 22,889 | 733 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/clinic/_bz2module.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(_bz2_BZ2Compressor_compress__doc__,
"compress($self, data, /)\n"
"--\n"
"\n"
"Provide data to the compressor object.\n"
"\n"
"Returns a chunk of compressed data if possible, or b\'\' otherwise.\n"
"\n"
"When you have finished... | 5,456 | 179 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/_io/fileio.c | /*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:4;tab-width:8;coding:utf-8 -*-â
âvi: set net ft=c ts=4 sts=4 sw=4 fenc=utf-8 :viâ
âââââââââââââââââââââââââââââââââââââââââââââââââââ... | 34,687 | 1,248 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/_io/textio.c | /*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:4;tab-width:8;coding:utf-8 -*-â
âvi: set net ft=c ts=4 sts=4 sw=4 fenc=utf-8 :viâ
âââââââââââââââââââââââââââââââââââââââââââââââââââ... | 94,014 | 3,001 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/_io/_iomodule.c | /*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:4;tab-width:8;coding:utf-8 -*-â
âvi: set net ft=c ts=4 sts=4 sw=4 fenc=utf-8 :viâ
âââââââââââââââââââââââââââââââââââââââââââââââââââ... | 27,082 | 832 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/_io/stringio.c | /*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:4;tab-width:8;coding:utf-8 -*-â
âvi: set net ft=c ts=4 sts=4 sw=4 fenc=utf-8 :viâ
âââââââââââââââââââââââââââââââââââââââââââââââââââ... | 33,015 | 1,105 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/_io/bytesio.c | /*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:4;tab-width:8;coding:utf-8 -*-â
âvi: set net ft=c ts=4 sts=4 sw=4 fenc=utf-8 :viâ
âââââââââââââââââââââââââââââââââââââââââââââââââââ... | 35,522 | 1,208 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/_io/_iomodule.h | #ifndef COSMOPOLITAN_THIRD_PARTY_PYTHON_MODULES__IO__IOMODULE_H_
#define COSMOPOLITAN_THIRD_PARTY_PYTHON_MODULES__IO__IOMODULE_H_
#include "libc/calls/weirdtypes.h"
#include "third_party/python/Include/moduleobject.h"
#include "third_party/python/Include/object.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_ST... | 6,941 | 198 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/_io/winconsoleio.c | /*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:4;tab-width:8;coding:utf-8 -*-â
âvi: set net ft=c ts=4 sts=4 sw=4 fenc=utf-8 :viâ
âââââââââââââââââââââââââââââââââââââââââââââââââââ... | 34,016 | 1,182 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/_io/bufferedio.c | /*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:4;tab-width:8;coding:utf-8 -*-â
âvi: set net ft=c ts=4 sts=4 sw=4 fenc=utf-8 :viâ
âââââââââââââââââââââââââââââââââââââââââââââââââââ... | 84,764 | 2,783 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/_io/iobase.c | /*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:4;tab-width:8;coding:utf-8 -*-â
âvi: set net ft=c ts=4 sts=4 sw=4 fenc=utf-8 :viâ
âââââââââââââââââââââââââââââââââââââââââââââââââââ... | 31,471 | 1,061 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/_io/clinic/fileio.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(_io_FileIO_close__doc__,
"close($self, /)\n"
"--\n"
"\n"
"Close the file.\n"
"\n"
"A closed file cannot be used for further I/O operations. close() may be\n"
"called more than once without error.");
#define _IO_FILEIO_CLOSE... | 10,382 | 378 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/_io/clinic/_iomodule.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(_io_open__doc__,
"open($module, /, file, mode=\'r\', buffering=-1, encoding=None,\n"
" errors=None, newline=None, closefd=True, opener=None)\n"
"--\n"
"\n"
"Open file and return a stream. Raise IOError upon failure.\n"
"... | 8,361 | 163 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/_io/clinic/stringio.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(_io_StringIO_getvalue__doc__,
"getvalue($self, /)\n"
"--\n"
"\n"
"Retrieve the entire contents of the object.");
#define _IO_STRINGIO_GETVALUE_METHODDEF \
{"getvalue", (PyCFunction)_io_StringIO_getvalue, METH_NOARGS, ... | 7,762 | 294 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/_io/clinic/bufferedio.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(_io__BufferedIOBase_readinto__doc__,
"readinto($self, buffer, /)\n"
"--\n"
"\n");
#define _IO__BUFFEREDIOBASE_READINTO_METHODDEF \
{"readinto", (PyCFunction)_io__BufferedIOBase_readinto, METH_O, _io__BufferedIOBase_re... | 12,766 | 480 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/_io/clinic/textio.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(_io_IncrementalNewlineDecoder___init____doc__,
"IncrementalNewlineDecoder(decoder, translate, errors=\'strict\')\n"
"--\n"
"\n"
"Codec used when reading a file in universal newlines mode.\n"
"\n"
"It wraps another incremental... | 14,210 | 469 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/_io/clinic/bytesio.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(_io_BytesIO_readable__doc__,
"readable($self, /)\n"
"--\n"
"\n"
"Returns True if the IO object can be read.");
#define _IO_BYTESIO_READABLE_METHODDEF \
{"readable", (PyCFunction)_io_BytesIO_readable, METH_NOARGS, _io_... | 11,325 | 433 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/_io/clinic/iobase.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(_io__IOBase_tell__doc__,
"tell($self, /)\n"
"--\n"
"\n"
"Return current stream position.");
#define _IO__IOBASE_TELL_METHODDEF \
{"tell", (PyCFunction)_io__IOBase_tell, METH_NOARGS, _io__IOBase_tell__doc__},
static P... | 7,393 | 284 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/_io/clinic/winconsoleio.inc | /* clang-format off */
/*[clinic input]
preserve
[clinic start generated code]*/
PyDoc_STRVAR(_io__WindowsConsoleIO_close__doc__,
"close($self, /)\n"
"--\n"
"\n"
"Close the handle.\n"
"\n"
"A closed handle cannot be used for further I/O operations. close() may be\n"
"called more than once without error.");
#define _... | 7,484 | 257 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/cjkcodecs.h | #ifndef _CJKCODECS_H_
#define _CJKCODECS_H_
#define PY_SSIZE_T_CLEAN
#include "third_party/python/Include/abstract.h"
#include "third_party/python/Include/import.h"
#include "third_party/python/Include/methodobject.h"
#include "third_party/python/Include/modsupport.h"
#include "third_party/python/Include/pycapsule.h"
#... | 11,409 | 299 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/jisx0208_decmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) jisx0208_decmap_ptr;
static const unsigned char jisx0208_decmap_rodata[] = {
0xed, 0xcb, 0xbf, 0x47, 0xc4, 0x71, 0x00, 0xc6, 0xf1, 0xcf, 0xf7, 0xae, 0xae,
0xbb, 0xea, 0xea, 0xea, 0xea, 0xfa, 0x25, 0x7a, 0x44, 0x11, 0x71, 0x5b, 0x1c,
0xd1, 0x10, ... | 1,774 | 32 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/_codecs_tw.c | /* clang-format off */
/*
* _codecs_tw.c: Codecs collection for Taiwan's encodings
*
* Written by Hye-Shik "Bourne to Macro" Chang <perky@FreeBSD.org>
*/
#include "third_party/python/Modules/cjkcodecs/cjkcodecs.h"
#include "third_party/python/Include/yoink.h"
#include "third_party/python/Include/import.h"
PYTHON_... | 2,789 | 156 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/jisx0213_2_emp_decmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) jisx0213_2_emp_decmap_ptr;
static const unsigned char jisx0213_2_emp_decmap_rodata[] = {
0x63, 0x60, 0x18, 0x78, 0xc0, 0xc8, 0xa0, 0x58, 0x09, 0xa2, 0xa3, 0x18, 0x94,
0xca, 0x37, 0x30, 0x68, 0x95, 0xfe, 0x61, 0x50, 0xad, 0x83, 0xc9, 0x85, 0x31,
... | 1,119 | 23 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/big5_decmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) big5_decmap_ptr;
static const unsigned char big5_decmap_rodata[] = {
0xed, 0xd0, 0x3b, 0x4b, 0x15, 0x00, 0x1c, 0x86, 0xf1, 0x73, 0x34, 0xef, 0x69,
0xde, 0x32, 0xcb, 0x63, 0x69, 0xa9, 0x59, 0x5a, 0x5e, 0xce, 0xc9, 0x73, 0xf2,
0x92, 0x0f, 0x34, 0x... | 2,178 | 37 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/__jisx0213_1_bmp_decmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) __jisx0213_1_bmp_decmap_ptr;
static const unsigned char __jisx0213_1_bmp_decmap_rodata[2205] = {
0x8d, 0x56, 0x0d, 0x70, 0x14, 0x45, 0x16, 0xb6, 0x5f, 0xbf, 0xee, 0x6d, 0xe6,
0x86, 0x71, 0x18, 0xa7, 0x86, 0x61, 0x19, 0x86, 0x71, 0x5d, 0x96, 0x75, ... | 13,963 | 183 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/cp950ext_encmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) cp950ext_encmap_ptr;
static const unsigned char cp950ext_encmap_rodata[] = {
0x63, 0x64, 0x58, 0xbf, 0x9e, 0x61, 0x00, 0x01, 0x13, 0x83, 0xfa, 0x1a, 0x10,
0xdd, 0xc1, 0x20, 0x3a, 0x13, 0x26, 0xc6, 0xcb, 0x18, 0x38, 0x99, 0x61, 0x98,
0x80, 0x00, ... | 831 | 20 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/__cp950ext_decmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) __cp950ext_decmap_ptr;
static const unsigned char __cp950ext_decmap_rodata[92] = {
0x3b, 0xd7, 0xc0, 0xb8, 0xee, 0x3f, 0x1b, 0x03, 0x04, 0xdc, 0x64, 0xbb, 0x05,
0x63, 0xd2, 0x11, 0xcc, 0xfd, 0xcb, 0x3e, 0xef, 0x2f, 0x3b, 0x01, 0x45, 0xfb,
0x99, ... | 925 | 21 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/cp932ext_encmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) cp932ext_encmap_ptr;
static const unsigned char cp932ext_encmap_rodata[] = {
0x63, 0x60, 0x18, 0x78, 0xc0, 0xc8, 0x20, 0x56, 0x99, 0xca, 0x20, 0xb8, 0x1f,
0xc4, 0x16, 0x61, 0x4c, 0x28, 0x26, 0x45, 0xaf, 0x06, 0xa3, 0xac, 0x3c, 0x88,
0xd6, 0x66, ... | 2,580 | 42 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/__big5hkscs_decmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) __big5hkscs_decmap_ptr;
static const unsigned char __big5hkscs_decmap_rodata[] = {
0xad, 0x99, 0xf7, 0x57, 0x5a, 0x59, 0xd8, 0xef, 0x2d, 0x98, 0xaa, 0x68, 0x34,
0x51, 0x4c, 0x62, 0x12, 0xa3, 0x98, 0xa6, 0xe6, 0x58, 0x80, 0x28, 0x82, 0x80,
0xa0, ... | 62,604 | 792 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/__jisx0213_1_emp_decmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) __jisx0213_1_emp_decmap_ptr;
static const unsigned char __jisx0213_1_emp_decmap_rodata[] = {
0xe3, 0x66, 0xb0, 0x15, 0xfa, 0xf7, 0x1f, 0x1d, 0x4a, 0x0b, 0x63, 0x8a, 0x61,
0x83, 0x79, 0x22, 0xc4, 0xa9, 0x43, 0x85, 0x7b, 0x25, 0xe6, 0x73, 0xe3, 0x93... | 932 | 21 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/_codecs_hk.c | /*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:4;tab-width:8;coding:utf-8 -*-â
âvi: set net ft=c ts=4 sts=4 sw=4 fenc=utf-8 :viâ
âââââââââââââââââââââââââââââââââââââââââââââââââââ... | 8,730 | 243 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/multibytecodec.c | /*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:4;tab-width:8;coding:utf-8 -*-â
âvi: set net ft=c ts=4 sts=4 sw=4 fenc=utf-8 :viâ
âââââââââââââââââââââââââââââââââââââââââââââââââââ... | 60,983 | 1,918 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/_codecs_jp.c | /*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:4;tab-width:8;coding:utf-8 -*-â
âvi: set net ft=c ts=4 sts=4 sw=4 fenc=utf-8 :viâ
âââââââââââââââââââââââââââââââââââââââââââââââââââ... | 22,083 | 710 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/gb18030ext_decmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) gb18030ext_decmap_ptr;
static const unsigned char gb18030ext_decmap_rodata[] = {
0x63, 0x60, 0x18, 0x05, 0xa3, 0x60, 0x60, 0x01, 0x23, 0x83, 0xc3, 0x82, 0x24,
0x06, 0x87, 0x7f, 0x8a, 0x8c, 0x0e, 0x0b, 0x9a, 0x18, 0x1d, 0xfe, 0x39, 0x32,
0x39, 0x... | 946 | 21 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/cp949ext_decmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) cp949ext_decmap_ptr;
static const unsigned char cp949ext_decmap_rodata[] = {
0xed, 0xd1, 0xaf, 0x37, 0x83, 0x61, 0x00, 0xc5, 0xf1, 0xf7, 0x31, 0x0c, 0xf3,
0x63, 0x36, 0x8c, 0xcd, 0xcc, 0xb3, 0x59, 0x5a, 0x14, 0x97, 0x6e, 0x58, 0x54,
0x9c, 0x23, ... | 1,528 | 29 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/emu_jisx0213_2000.inc | /* clang-format off */
/* These routines may be quite inefficient, but it's used only to emulate old
* standards. */
#ifndef EMULATE_JISX0213_2000_ENCODE_INVALID
# define EMULATE_JISX0213_2000_ENCODE_INVALID 1
#endif
#define EMULATE_JISX0213_2000_ENCODE_BMP(assi, c) \
if (config == (void ... | 2,801 | 57 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/__big5hkscs_nonbmp_encmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) __big5hkscs_nonbmp_encmap_ptr;
static const unsigned char __big5hkscs_nonbmp_encmap_rodata[] = {
0xed, 0x1d, 0xe7, 0x43, 0xd3, 0xda, 0xfe, 0x5f, 0x63, 0xc8, 0x12, 0x04, 0x94,
0x21, 0x8a, 0x6c, 0x01, 0x41, 0xc0, 0x01, 0x88, 0x0a, 0xfa, 0xd5, 0x6b, ... | 33,826 | 432 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/README | To generate or modify mapping headers
-------------------------------------
Mapping headers are imported from CJKCodecs as pre-generated form.
If you need to tweak or add something on it, please look at tools/
subdirectory of CJKCodecs' distribution.
Notes on implmentation characteristics of each codecs
------------... | 2,731 | 80 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/__jisx0213_2_bmp_decmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) __jisx0213_2_bmp_decmap_ptr;
static const unsigned char __jisx0213_2_bmp_decmap_rodata[3265] = {
0x2d, 0x57, 0x7b, 0x4c, 0x1d, 0x57, 0x7a, 0xbf, 0xdf, 0xe3, 0x9c, 0x9c, 0x4e,
0x67, 0xa7, 0xb3, 0xd3, 0xd9, 0xe9, 0xed, 0xcd, 0xd5, 0xd5, 0xdd, 0x5b, ... | 20,487 | 265 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/big5hkscs_nonbmp_encmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) big5hkscs_nonbmp_encmap_ptr;
static const unsigned char big5hkscs_nonbmp_encmap_rodata[] = {
0x63, 0x64, 0x50, 0x7c, 0x77, 0x9e, 0x81, 0xe7, 0xd3, 0x36, 0x46, 0x96, 0xa7,
0x33, 0x98, 0xb8, 0xfe, 0x74, 0x33, 0x0b, 0xff, 0x2b, 0x67, 0x71, 0x7f, 0x2d... | 4,700 | 68 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/__cp949_encmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) __cp949_encmap_ptr;
static const unsigned char __cp949_encmap_rodata[29600] = {
0xb4, 0xbc, 0x0d, 0x54, 0x5b, 0x67, 0x9a, 0x26, 0xc8, 0xc5, 0xcf, 0xab, 0xb8,
0xcb, 0xee, 0x76, 0xaa, 0x9d, 0x99, 0xa4, 0x3b, 0xe9, 0x49, 0xce, 0x26, 0xdd,
0xc9, 0x7... | 182,506 | 2,290 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/jisx0213_pair_encmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) jisx0213_pair_encmap_ptr;
static const unsigned char jisx0213_pair_encmap_rodata[] = {
0x1d, 0xc8, 0x31, 0x4e, 0xc2, 0x70, 0x18, 0x86, 0xf1, 0xcf, 0x8f, 0xab, 0x80,
0x09, 0x69, 0x08, 0x6f, 0xc3, 0xa0, 0x09, 0xa3, 0x0c, 0x68, 0xad, 0x0d, 0x81,
0x... | 1,616 | 29 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/gbkext_decmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) gbkext_decmap_ptr;
static const unsigned char gbkext_decmap_rodata[] = {
0xed, 0xd0, 0xdf, 0x4b, 0x13, 0x00, 0x1c, 0x04, 0xf0, 0xe9, 0x5a, 0xae, 0x96,
0x3f, 0x72, 0xd5, 0x56, 0xcb, 0x52, 0xa7, 0x6b, 0x6e, 0xb5, 0xcc, 0xd9, 0x1a,
0x06, 0xe3, 0x22... | 2,588 | 42 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/__jisx0213_bmp_encmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) __jisx0213_bmp_encmap_ptr;
static const unsigned char __jisx0213_bmp_encmap_rodata[] = {
0xed, 0x5d, 0x67, 0x77, 0xda, 0x4a, 0x13, 0xfe, 0x2d, 0x06, 0x1b, 0x90, 0x90,
0xc0, 0xbd, 0xf7, 0xde, 0x71, 0x01, 0xf7, 0x8a, 0x0b, 0xb8, 0x60, 0x8c, 0xe9,
... | 64,304 | 813 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/__jisxcommon_encmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) __jisxcommon_encmap_ptr;
static const unsigned char __jisxcommon_encmap_rodata[] = {
0xdc, 0xbc, 0xe5, 0x72, 0x63, 0xcb, 0x96, 0x2e, 0xfa, 0x2c, 0x92, 0x35, 0x05,
0xb6, 0x6c, 0x31, 0x33, 0x33, 0x33, 0xb3, 0x2d, 0x99, 0x41, 0x66, 0x78, 0x98,
0xf5... | 167,845 | 2,107 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/_codecs_iso2022.c | /*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:4;tab-width:8;coding:utf-8 -*-â
âvi: set net ft=c ts=4 sts=4 sw=4 fenc=utf-8 :viâ
âââââââââââââââââââââââââââââââââââââââââââââââââââ... | 32,689 | 1,087 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/big5hkscs_decmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) big5hkscs_decmap_ptr;
static const unsigned char big5hkscs_decmap_rodata[] = {
0xed, 0xcf, 0x3d, 0x0e, 0x01, 0x51, 0x00, 0x45, 0xe1, 0x37, 0x18, 0xff, 0x66,
0x18, 0x63, 0x24, 0x1a, 0x8d, 0x5d, 0x68, 0xce, 0x0e, 0x48, 0x14, 0x0a, 0x8d,
0x46, 0x62... | 1,249 | 25 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/_codecs_cn.c | /*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:4;tab-width:8;coding:utf-8 -*-â
âvi: set net ft=c ts=4 sts=4 sw=4 fenc=utf-8 :viâ
âââââââââââââââââââââââââââââââââââââââââââââââââââ... | 15,929 | 531 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/__gb2312_decmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) __gb2312_decmap_ptr;
static const unsigned char __gb2312_decmap_rodata[11651] = {
0xb5, 0xbb, 0x77, 0x54, 0x54, 0xd9, 0xd7, 0x2d, 0x7a, 0xe7, 0xae, 0x53, 0x45,
0x51, 0x14, 0x05, 0x14, 0x45, 0x46, 0x92, 0x48, 0x52, 0x10, 0x05, 0x05, 0x51,
0x01, 0... | 72,056 | 910 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/jisx0213_1_bmp_decmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) jisx0213_1_bmp_decmap_ptr;
static const unsigned char jisx0213_1_bmp_decmap_rodata[] = {
0x63, 0x60, 0x18, 0x1c, 0x80, 0x91, 0x41, 0xbf, 0x36, 0x80, 0x41, 0xb1, 0x6e,
0x1d, 0x83, 0x76, 0xd9, 0x2f, 0x06, 0x6d, 0x0f, 0x09, 0x46, 0xcb, 0xba, 0x38,
... | 1,040 | 22 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/gb18030ext_encmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) gb18030ext_encmap_ptr;
static const unsigned char gb18030ext_encmap_rodata[] = {
0x63, 0x60, 0x60, 0x60, 0x60, 0x64, 0xf8, 0xf9, 0x93, 0x61, 0x80, 0x00, 0x13,
0xc3, 0x9a, 0x35, 0xe4, 0xe8, 0x63, 0x66, 0x68, 0x3c, 0xe5, 0xcb, 0xf0, 0xe1,
0x77, 0x... | 1,230 | 25 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/__big5hkscs_bmp_encmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) __big5hkscs_bmp_encmap_ptr;
static const unsigned char __big5hkscs_bmp_encmap_rodata[] = {
0xed, 0x7d, 0xf9, 0x3f, 0x55, 0xdd, 0xf7, 0xf8, 0xbf, 0xd6, 0x40, 0x21, 0x0a,
0x95, 0x21, 0x34, 0x21, 0xa2, 0x32, 0x26, 0x14, 0xbf, 0x3e, 0xd7, 0x83, 0x4a,
... | 60,937 | 771 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/__jisx0213_pair_decmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) __jisx0213_pair_decmap_ptr;
static const unsigned char __jisx0213_pair_decmap_rodata[71] = {
0xdb, 0x72, 0xe8, 0x66, 0x0b, 0x5b, 0x43, 0x83, 0x00, 0x12, 0x3a, 0xc0, 0x8a,
0xca, 0x77, 0x68, 0x68, 0xf0, 0x68, 0x68, 0x50, 0x68, 0x68, 0xf8, 0x21, 0xb4... | 819 | 19 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/big5hkscs_bmp_encmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) big5hkscs_bmp_encmap_ptr;
static const unsigned char big5hkscs_bmp_encmap_rodata[] = {
0x63, 0x64, 0x58, 0xf1, 0x27, 0x8c, 0x81, 0xe1, 0x8e, 0x31, 0x63, 0xc0, 0x31,
0x06, 0x20, 0x58, 0xc5, 0xc8, 0x18, 0xc8, 0x40, 0x07, 0xf0, 0x9b, 0x71, 0xdf,
0x... | 3,699 | 55 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/jisx0213_emp_encmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) jisx0213_emp_encmap_ptr;
static const unsigned char jisx0213_emp_encmap_rodata[] = {
0x63, 0x64, 0xe0, 0x5e, 0x32, 0x9b, 0x61, 0xd1, 0xa2, 0x39, 0x0c, 0xc2, 0xc2,
0x73, 0x19, 0xb4, 0x7f, 0xe6, 0x30, 0x7a, 0x79, 0xe5, 0x32, 0x72, 0x5e, 0xb3,
0x66... | 3,978 | 59 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/jisx0213_bmp_encmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) jisx0213_bmp_encmap_ptr;
static const unsigned char jisx0213_bmp_encmap_rodata[] = {
0x63, 0x64, 0xa8, 0xfb, 0xdf, 0xcc, 0xc0, 0xf0, 0xb7, 0x91, 0x31, 0xe0, 0xa5,
0x34, 0x13, 0xc3, 0x21, 0x06, 0x3a, 0x81, 0x7b, 0x4c, 0x76, 0xf6, 0x0f, 0x98,
0x0a... | 3,806 | 57 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/__gb18030ext_encmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) __gb18030ext_encmap_ptr;
static const unsigned char __gb18030ext_encmap_rodata[400] = {
0xed, 0x56, 0x5b, 0x4b, 0x02, 0x61, 0x10, 0x5d, 0xc7, 0x9d, 0x93, 0x89, 0x0f,
0x41, 0x90, 0xe0, 0xcf, 0xe8, 0xa9, 0x1f, 0xd0, 0x63, 0x7f, 0x2a, 0xa9, 0x28,
0... | 2,833 | 44 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/jisx0213_1_emp_decmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) jisx0213_1_emp_decmap_ptr;
static const unsigned char jisx0213_1_emp_decmap_rodata[] = {
0x63, 0x60, 0x18, 0x9a, 0x80, 0x91, 0x41, 0x49, 0x89, 0x89, 0xc1, 0xa9, 0x7a,
0x20, 0xdd, 0x60, 0xc3, 0x10, 0x92, 0x37, 0x18, 0xc3, 0x26, 0x9c, 0xc1, 0xaa,
... | 763 | 19 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/alg_jisx0201.inc | /* clang-format off */
#define JISX0201_R_ENCODE(c, assi) \
if ((c) < 0x80 && (c) != 0x5c && (c) != 0x7e) { \
(assi) = (c); \
} \
else if ((c) == 0x00a5) { \
... | 3,155 | 68 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/__gbkext_decmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) __gbkext_decmap_ptr;
static const unsigned char __gbkext_decmap_rodata[3936] = {
0xbd, 0x5b, 0xdb, 0x73, 0x56, 0xd5, 0x15, 0x97, 0xbd, 0x7f, 0x67, 0x65, 0xbb,
0xe7, 0x78, 0xe6, 0x9b, 0x4c, 0x26, 0xc3, 0x30, 0x3c, 0x38, 0x3e, 0x74, 0x3a,
0x4e, 0x... | 24,577 | 316 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/__cp949ext_decmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) __cp949ext_decmap_ptr;
static const unsigned char __cp949ext_decmap_rodata[1970] = {
0xb5, 0x5a, 0x09, 0x53, 0x14, 0x47, 0x14, 0xce, 0x9b, 0xea, 0x74, 0x4d, 0x6d,
0x51, 0xa9, 0x94, 0xbf, 0x58, 0x0c, 0x06, 0x14, 0x03, 0x09, 0x15, 0x14, 0x2c,
0x51... | 12,488 | 165 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/jisx0213_pair_decmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) jisx0213_pair_decmap_ptr;
static const unsigned char jisx0213_pair_decmap_rodata[] = {
0x63, 0x60, 0x18, 0x5c, 0x80, 0x91, 0xa1, 0xbc, 0x9a, 0x8d, 0xa1, 0xbc, 0x8e,
0x8f, 0xa1, 0xa2, 0x02, 0x5d, 0x8e, 0x9f, 0xc1, 0x25, 0x8d, 0x61, 0x14, 0x8c,
0x... | 540 | 16 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/multibytecodec.h | #ifndef _PYTHON_MULTIBYTECODEC_H_
#define _PYTHON_MULTIBYTECODEC_H_
#include "third_party/python/Include/unicodeobject.h"
COSMOPOLITAN_C_START_
/* clang-format off */
/*
* multibytecodec.h: Common Multibyte Codec Implementation
*
* Written by Hye-Shik Chang <perky@FreeBSD.org>
*/
#ifdef uint16_t
typedef uint16_t ... | 4,339 | 134 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/ksx1001_decmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) ksx1001_decmap_ptr;
static const unsigned char ksx1001_decmap_rodata[] = {
0xed, 0xd0, 0xb1, 0x2b, 0xc4, 0x71, 0x18, 0xc7, 0xf1, 0xdf, 0xd7, 0xef, 0x38,
0xe7, 0x1c, 0x0e, 0xe7, 0x70, 0xce, 0xf5, 0x19, 0x64, 0x30, 0xc8, 0x20, 0x83,
0x41, 0x06, 0x... | 1,977 | 34 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/big5_encmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) big5_encmap_ptr;
static const unsigned char big5_encmap_rodata[] = {
0xed, 0xcf, 0x3b, 0x4c, 0x53, 0x71, 0x14, 0xc7, 0xf1, 0xdf, 0xe9, 0xed, 0x45,
0x4a, 0x6f, 0x1f, 0x80, 0x4f, 0x40, 0xe4, 0xfd, 0x10, 0x51, 0x1e, 0x0a, 0x2a,
0x42, 0x2d, 0x82, 0x... | 2,661 | 43 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/__jisx0208_decmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) __jisx0208_decmap_ptr;
static const unsigned char __jisx0208_decmap_rodata[9445] = {
0xb5, 0x7a, 0x7b, 0x54, 0x14, 0x57, 0xd6, 0xef, 0xb7, 0x4f, 0x9d, 0x7a, 0x76,
0x75, 0x75, 0x75, 0xf5, 0x83, 0xa6, 0x69, 0x9a, 0xa6, 0x69, 0x9b, 0xa7, 0x08,
0x04... | 58,487 | 740 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/gb2312_decmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) gb2312_decmap_ptr;
static const unsigned char gb2312_decmap_rodata[] = {
0xed, 0xcb, 0xbd, 0x2b, 0xc4, 0x01, 0x00, 0xc6, 0xf1, 0xdf, 0xef, 0xbc, 0xdc,
0x1d, 0x0e, 0xe7, 0xed, 0xce, 0x4b, 0xea, 0x91, 0x62, 0x52, 0x67, 0xa1, 0x4c,
0x4c, 0x8a, 0x85... | 1,800 | 32 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/__cp932ext_encmap.c | #include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) __cp932ext_encmap_ptr;
static const unsigned char __cp932ext_encmap_rodata[] = {
0xed, 0x5a, 0x05, 0x73, 0xdb, 0x4c, 0x10, 0xfd, 0x6b, 0x61, 0x66, 0xc6, 0x86,
0x99, 0xa9, 0x98, 0x66, 0xe2, 0xd0, 0x86, 0xd3, 0x40, 0xdb, 0xa4, 0xcc, 0xcc,
0xcc, 0x... | 8,290 | 113 | jart/cosmopolitan | false |
cosmopolitan/third_party/python/Modules/cjkcodecs/somanyencodings.h | #ifndef COSMOPOLITAN_THIRD_PARTY_PYTHON_MODULES_CJKCODECS_SOMANYENCODINGS_H_
#define COSMOPOLITAN_THIRD_PARTY_PYTHON_MODULES_CJKCODECS_SOMANYENCODINGS_H_
#define JISX0213_ENCPAIRS 46
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
struct CjkIndex {
uint16_t map;
unsigned char bottom, top;
};
struct ... | 3,678 | 84 | jart/cosmopolitan | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.