(#x9C #x00B0) ; DEGREE SIGN
(#x9D #x00B2) ; SUPERSCRIPT TWO
(#x9E #x00B7) ; MIDDLE DOT
- (#x9F #x00F7) ; DIVISION SIGN
+ (#x9F #x00F7) ; DIVISION SIGN
(#xA0 #x2550) ; BOX DRAWINGS DOUBLE HORIZONTAL
(#xA1 #x2551) ; BOX DRAWINGS DOUBLE VERTICAL
(#xA2 #x2552) ; BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE
(#xBC #x256A) ; BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE
(#xBD #x256B) ; BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE
(#xBE #x256C) ; BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
- (#xBF #x00A9) ; COPYRIGHT SIGN
+ (#xBF #x00A9) ; COPYRIGHT SIGN
(#xC0 #x044E) ; CYRILLIC SMALL LETTER YU
(#xC1 #x0430) ; CYRILLIC SMALL LETTER A
(#xC2 #x0431) ; CYRILLIC SMALL LETTER BE
(declaim (inline get-koi8-r-bytes))
(defun get-koi8-r-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :koi8-r string pos end))
(defun string->koi8-r (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-koi8-r-bytes null-padding)))
(defmacro define-koi8-r->string* (accessor type)
(let ((name (make-od-name 'koi8-r->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-koi8-r->string*)
(declaim (inline get-koi8-u-bytes))
(defun get-koi8-u-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :koi8-u string pos end))
(defun string->koi8-u (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-koi8-u-bytes null-padding)))
(defmacro define-koi8-u->string* (accessor type)
(let ((name (make-od-name 'koi8-u->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-koi8-u->string*)
(declaim (inline get-x-mac-cyrillic-bytes))
(defun get-x-mac-cyrillic-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :x-mac-cyrillic string pos end))
(defun string->x-mac-cyrillic (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-x-mac-cyrillic-bytes null-padding)))
(defmacro define-x-mac-cyrillic->string* (accessor type)
(let ((name (make-od-name 'x-mac-cyrillic->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-x-mac-cyrillic->string*)
(declaim (inline get-cp437-bytes))
(defun get-cp437-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :cp437 string pos end))
(defun string->cp437 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-cp437-bytes null-padding)))
(defmacro define-cp437->string* (accessor type)
(let ((name (make-od-name 'cp437->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-cp437->string*)
(declaim (inline get-cp850-bytes))
(defun get-cp850-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :cp850 string pos end))
(defun string->cp850 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-cp850-bytes null-padding)))
(defmacro define-cp850->string* (accessor type)
(let ((name (make-od-name 'cp850->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-cp850->string*)
(declaim (inline get-cp852-bytes))
(defun get-cp852-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :cp852 string pos end))
(defun string->cp852 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-cp852-bytes null-padding)))
(defmacro define-cp852->string* (accessor type)
(let ((name (make-od-name 'cp852->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-cp852->string*)
(declaim (inline get-cp855-bytes))
(defun get-cp855-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :cp855 string pos end))
(defun string->cp855 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-cp855-bytes null-padding)))
(defmacro define-cp855->string* (accessor type)
(let ((name (make-od-name 'cp855->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-cp855->string*)
(declaim (inline get-cp857-bytes))
(defun get-cp857-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :cp857 string pos end))
(defun string->cp857 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-cp857-bytes null-padding)))
(defmacro define-cp857->string* (accessor type)
(let ((name (make-od-name 'cp857->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-cp857->string*)
(declaim (inline get-cp860-bytes))
(defun get-cp860-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :cp860 string pos end))
(defun string->cp860 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-cp860-bytes null-padding)))
(defmacro define-cp860->string* (accessor type)
(let ((name (make-od-name 'cp860->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-cp860->string*)
(declaim (inline get-cp861-bytes))
(defun get-cp861-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :cp861 string pos end))
(defun string->cp861 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-cp861-bytes null-padding)))
(defmacro define-cp861->string* (accessor type)
(let ((name (make-od-name 'cp861->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-cp861->string*)
(declaim (inline get-cp862-bytes))
(defun get-cp862-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :cp862 string pos end))
(defun string->cp862 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-cp862-bytes null-padding)))
(defmacro define-cp862->string* (accessor type)
(let ((name (make-od-name 'cp862->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-cp862->string*)
(declaim (inline get-cp863-bytes))
(defun get-cp863-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :cp863 string pos end))
(defun string->cp863 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-cp863-bytes null-padding)))
(defmacro define-cp863->string* (accessor type)
(let ((name (make-od-name 'cp863->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-cp863->string*)
(declaim (inline get-cp864-bytes))
(defun get-cp864-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :cp864 string pos end))
(defun string->cp864 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-cp864-bytes null-padding)))
(defmacro define-cp864->string* (accessor type)
(let ((name (make-od-name 'cp864->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-cp864->string*)
(declaim (inline get-cp865-bytes))
(defun get-cp865-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :cp865 string pos end))
(defun string->cp865 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-cp865-bytes null-padding)))
(defmacro define-cp865->string* (accessor type)
(let ((name (make-od-name 'cp865->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-cp865->string*)
(declaim (inline get-cp866-bytes))
(defun get-cp866-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :cp866 string pos end))
(defun string->cp866 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-cp866-bytes null-padding)))
(defmacro define-cp866->string* (accessor type)
(let ((name (make-od-name 'cp866->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-cp866->string*)
(declaim (inline get-cp869-bytes))
(defun get-cp869-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :cp869 string pos end))
(defun string->cp869 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-cp869-bytes null-padding)))
(defmacro define-cp869->string* (accessor type)
(let ((name (make-od-name 'cp869->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-cp869->string*)
(declaim (inline get-cp874-bytes))
(defun get-cp874-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :cp874 string pos end))
(defun string->cp874 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-cp874-bytes null-padding)))
(defmacro define-cp874->string* (accessor type)
(let ((name (make-od-name 'cp874->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-cp874->string*)
(declaim (inline get-iso-8859-2-bytes))
(defun get-iso-8859-2-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :iso-8859-2 string pos end))
(defun string->iso-8859-2 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-iso-8859-2-bytes null-padding)))
(defmacro define-iso-8859-2->string* (accessor type)
(let ((name (make-od-name 'iso-8859-2->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-iso-8859-2->string*)
(declaim (inline get-iso-8859-3-bytes))
(defun get-iso-8859-3-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :iso-8859-3 string pos end))
(defun string->iso-8859-3 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-iso-8859-3-bytes null-padding)))
(defmacro define-iso-8859-3->string* (accessor type)
(let ((name (make-od-name 'iso-8859-3->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-iso-8859-3->string*)
(declaim (inline get-iso-8859-4-bytes))
(defun get-iso-8859-4-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :iso-8859-4 string pos end))
(defun string->iso-8859-4 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-iso-8859-4-bytes null-padding)))
(defmacro define-iso-8859-4->string* (accessor type)
(let ((name (make-od-name 'iso-8859-4->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-iso-8859-4->string*)
(declaim (inline get-iso-8859-5-bytes))
(defun get-iso-8859-5-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :iso-8859-5 string pos end))
(defun string->iso-8859-5 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-iso-8859-5-bytes null-padding)))
(defmacro define-iso-8859-5->string* (accessor type)
(let ((name (make-od-name 'iso-8859-5->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-iso-8859-5->string*)
(declaim (inline get-iso-8859-6-bytes))
(defun get-iso-8859-6-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :iso-8859-6 string pos end))
(defun string->iso-8859-6 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-iso-8859-6-bytes null-padding)))
(defmacro define-iso-8859-6->string* (accessor type)
(let ((name (make-od-name 'iso-8859-6->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-iso-8859-6->string*)
(declaim (inline get-iso-8859-7-bytes))
(defun get-iso-8859-7-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :iso-8859-7 string pos end))
(defun string->iso-8859-7 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-iso-8859-7-bytes null-padding)))
(defmacro define-iso-8859-7->string* (accessor type)
(let ((name (make-od-name 'iso-8859-7->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-iso-8859-7->string*)
(declaim (inline get-iso-8859-8-bytes))
(defun get-iso-8859-8-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :iso-8859-8 string pos end))
(defun string->iso-8859-8 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-iso-8859-8-bytes null-padding)))
(defmacro define-iso-8859-8->string* (accessor type)
(let ((name (make-od-name 'iso-8859-8->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-iso-8859-8->string*)
(declaim (inline get-iso-8859-9-bytes))
(defun get-iso-8859-9-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :iso-8859-9 string pos end))
(defun string->iso-8859-9 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-iso-8859-9-bytes null-padding)))
(defmacro define-iso-8859-9->string* (accessor type)
(let ((name (make-od-name 'iso-8859-9->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-iso-8859-9->string*)
(declaim (inline get-iso-8859-10-bytes))
(defun get-iso-8859-10-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :iso-8859-10 string pos end))
(defun string->iso-8859-10 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-iso-8859-10-bytes null-padding)))
(defmacro define-iso-8859-10->string* (accessor type)
(let ((name (make-od-name 'iso-8859-10->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-iso-8859-10->string*)
(declaim (inline get-iso-8859-11-bytes))
(defun get-iso-8859-11-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :iso-8859-11 string pos end))
(defun string->iso-8859-11 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-iso-8859-11-bytes null-padding)))
(defmacro define-iso-8859-11->string* (accessor type)
(let ((name (make-od-name 'iso-8859-11->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-iso-8859-11->string*)
(declaim (inline get-iso-8859-13-bytes))
(defun get-iso-8859-13-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :iso-8859-13 string pos end))
(defun string->iso-8859-13 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-iso-8859-13-bytes null-padding)))
(defmacro define-iso-8859-13->string* (accessor type)
(let ((name (make-od-name 'iso-8859-13->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-iso-8859-13->string*)
(declaim (inline get-iso-8859-14-bytes))
(defun get-iso-8859-14-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :iso-8859-14 string pos end))
(defun string->iso-8859-14 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-iso-8859-14-bytes null-padding)))
(defmacro define-iso-8859-14->string* (accessor type)
(let ((name (make-od-name 'iso-8859-14->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-iso-8859-14->string*)
(declaim (inline get-cp1250-bytes))
(defun get-cp1250-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :cp1250 string pos end))
(defun string->cp1250 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-cp1250-bytes null-padding)))
(defmacro define-cp1250->string* (accessor type)
(let ((name (make-od-name 'cp1250->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-cp1250->string*)
(declaim (inline get-cp1251-bytes))
(defun get-cp1251-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :cp1251 string pos end))
(defun string->cp1251 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-cp1251-bytes null-padding)))
(defmacro define-cp1251->string* (accessor type)
(let ((name (make-od-name 'cp1251->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-cp1251->string*)
(declaim (inline get-cp1252-bytes))
(defun get-cp1252-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :cp1252 string pos end))
(defun string->cp1252 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-cp1252-bytes null-padding)))
(defmacro define-cp1252->string* (accessor type)
(let ((name (make-od-name 'cp1252->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-cp1252->string*)
(declaim (inline get-cp1253-bytes))
(defun get-cp1253-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :cp1253 string pos end))
(defun string->cp1253 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-cp1253-bytes null-padding)))
(defmacro define-cp1253->string* (accessor type)
(let ((name (make-od-name 'cp1253->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-cp1253->string*)
(declaim (inline get-cp1254-bytes))
(defun get-cp1254-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :cp1254 string pos end))
(defun string->cp1254 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-cp1254-bytes null-padding)))
(defmacro define-cp1254->string* (accessor type)
(let ((name (make-od-name 'cp1254->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-cp1254->string*)
(declaim (inline get-cp1255-bytes))
(defun get-cp1255-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :cp1255 string pos end))
(defun string->cp1255 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-cp1255-bytes null-padding)))
(defmacro define-cp1255->string* (accessor type)
(let ((name (make-od-name 'cp1255->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-cp1255->string*)
(declaim (inline get-cp1256-bytes))
(defun get-cp1256-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :cp1256 string pos end))
(defun string->cp1256 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-cp1256-bytes null-padding)))
(defmacro define-cp1256->string* (accessor type)
(let ((name (make-od-name 'cp1256->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-cp1256->string*)
(declaim (inline get-cp1257-bytes))
(defun get-cp1257-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :cp1257 string pos end))
(defun string->cp1257 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-cp1257-bytes null-padding)))
(defmacro define-cp1257->string* (accessor type)
(let ((name (make-od-name 'cp1257->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-cp1257->string*)
(declaim (inline get-cp1258-bytes))
(defun get-cp1258-bytes(string pos end)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range pos end))
+ (type simple-string string)
+ (type array-range pos end))
(get-latin-bytes #'identity :cp1258 string pos end))
(defun string->cp1258 (string sstart send null-padding)
(declare (optimize speed (safety 0))
- (type simple-string string)
- (type array-range sstart send))
+ (type simple-string string)
+ (type array-range sstart send))
(values (string->latin% string sstart send #'get-cp1258-bytes null-padding)))
(defmacro define-cp1258->string* (accessor type)
(let ((name (make-od-name 'cp1258->string* accessor)))
`(progn
(defun ,name (string sstart send array astart aend)
- (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
+ (,(make-od-name 'latin->string* accessor) string sstart send array astart aend #'identity)))))
(instantiate-octets-definition define-cp1258->string*)
(dolist (line
'("This is a machine-generated file. Please do not edit it by hand."
"(As of sbcl-0.8.14, it came from WRITE-CONFIG-H in genesis.lisp.)"
- ""
+ nil
"This file contains low-level information about the"
"internals of a particular version and configuration"
"of SBCL. It is used by the C compiler to create a runtime"
"operating system's native format, which can then be used to"
"load and run 'core' files, which are basically programs"
"in SBCL's own format."))
- (format t " * ~A~%" line))
+ (format t " *~@[ ~A~]~%" line))
(format t " */~%"))
(defun write-config-h ()
((< value cutoff)
"~D")
(t
- "LISPOBJ(~D)")))
+ "LISPOBJ(~DU)")))
value)
(format t " /* 0x~X */~@[ /* ~A */~]~%" value doc))))
(terpri))
(let ((method-class (getf ,all-keys :method-class '.shes-not-there.)))
(unless (eq method-class '.shes-not-there.)
(setf (getf ,all-keys :method-class)
- (cond ((classp method-class)
- method-class)
- (t (find-class method-class t ,env))))))))
+ (cond ((classp method-class)
+ method-class)
+ (t (find-class method-class t ,env))))))))
(defun real-ensure-gf-using-class--generic-function
(existing
stack_pointer_p (void *p)
{
return (p < (void *) arch_os_get_current_thread()->control_stack_end
- && p > (void *) &p
- && (((unsigned long) p) & 3) == 0);
+ && p > (void *) &p
+ && (((unsigned long) p) & 3) == 0);
}
static int
lisp_ra = *((void **) fp - 2);
lisp_valid_p = (lisp_ocfp > fp
- && stack_pointer_p(lisp_ocfp)
- && ra_pointer_p(lisp_ra));
+ && stack_pointer_p(lisp_ocfp)
+ && ra_pointer_p(lisp_ra));
c_valid_p = (c_ocfp > fp
- && stack_pointer_p(c_ocfp)
- && ra_pointer_p(c_ra));
+ && stack_pointer_p(c_ocfp)
+ && ra_pointer_p(c_ra));
if (lisp_valid_p && c_valid_p) {
void *lisp_path_fp;
for (i = 1;; i += 2) {
unsigned next_pc;
-
+
if (i == len)
return ((struct compiled_debug_fun *) native_pointer(v->data[i - 1]));
printf("\"%s\"", (char *) string->data);
#ifdef SIMPLE_CHARACTER_STRING_WIDETAG
} else if (widetag_of(*object) == SIMPLE_CHARACTER_STRING_WIDETAG) {
- struct vector *string = (struct vector *) object;
printf("<oops, a unicode string>"); /* FIXME */
#endif
} else
while (function != NIL) {
struct simple_fun *header = (struct simple_fun *) native_pointer(function);
print_entry_name(header->name);
-
+
function = header->next;
if (function != NIL)
printf (", ");
lispobj *p;
void *ra;
void *next_fp;
-
+
if (!x86_call_context(fp, &ra, &next_fp))
break;
{
long nheader_words, ncode_words, nwords;
void *p;
- void *constants_start_addr, *constants_end_addr;
+ void *constants_start_addr = NULL, *constants_end_addr;
void *code_start_addr, *code_end_addr;
int fixup_found = 0;
*os_context_register_addr(context, 31)
= os_context_pc(context) + 4;
break;
- default: /* conditional branches/traps for > MIPS I, ignore for now. */
+ default: /* conditional branches/traps for > MIPS I, ignore for now. */
break;
}
break;
(assert (= (test 1.0d0) 2.0d0))
-(deftype myarraytype (&optional (length '*))
+(deftype myarraytype (&optional (length '*))
`(simple-array double-float (,length)))
(defun new-pu-label-from-pu-labels (array)
- (setf (aref (the myarraytype array) 0)
+ (setf (aref (the myarraytype array) 0)
sb-ext:double-float-positive-infinity))
(format t "Finished running tests.~%")
(cond (*all-failures*
(format t "Status:~%")
- (dolist (fail (reverse *all-failures*))
+ (dolist (fail (reverse *all-failures*))
(cond ((eq (car fail) :unhandled-error)
(format t " ~20a ~a~%"
"Unhandled error"
(when *break-on-error*
(test-util:really-invoke-debugger error))))))
(append-failures)))
-
+
(defun impure-runner (files test-fun)
(format t "// Running impure tests (~a)~%" test-fun)
(let ((*package* (find-package :cl-user)))
(setf *all-failures* (append failures *all-failures*)))
(defun unexpected-failures ()
- (remove-if (lambda (x) (eq (car x) :expected-failure)) *all-failures*))
+ (remove-if (lambda (x)
+ (or (eq (car x) :expected-failure)
+ (eq (car x) :unexpected-success)))
+ *all-failures*))
(defun setup-cl-user ()
(use-package :test-util)
(defun sh-test (file)
;; What? No SB-POSIX:EXECV?
- (let ((process (sb-ext:run-program "/bin/sh"
+ (let ((process (sb-ext:run-program "/bin/sh"
(list (namestring file))
- :output *error-output*)))
+ :output *error-output*)))
(sb-ext:quit :unix-status (process-exit-code process))))
(defun accept-test-file (file)
(fail-test :unexpected-failure ',name error)))))
(defun report-test-status ()
- (with-standard-io-syntax
+ (with-standard-io-syntax
(with-open-file (stream "test-status.lisp-expr"
:direction :output
:if-exists :supersede)
(setf *test-count* 0))
(incf *test-count*))
-(defun fail-test (type test-name condition)
+(defun fail-test (type test-name condition)
(push (list type *test-file* (or test-name *test-count*))
*failures*)
(when (or (and *break-on-failure*
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.9.4.16"
+"0.9.4.17"