Lines Matching full:pad
115 addr: pad
379 \ and processed, but not the length. The first pad byte is set to the
381 \ exceeds 255 bytes, then a single 0 is written in the pad, and this
386 dup 255 > if skip-close-elt 0 addr-pad set8 0 ret then
387 dup addr-pad set8
388 addr-pad 1+ read-blob
392 \ value is returned, which is true (-1) if the OID value fits on the pad,
470 \ Add byte to current pad value. Offset is updated, or set to 0 on error.
471 : pad-append ( off val -- off )
473 over addr-pad + set8 1+ ;
475 \ Add UTF-8 chunk byte to the pad. The 'nn' parameter is the shift count.
476 : pad-append-UTF8-chunk ( off val nn -- off )
477 >> 0x3F and 0x80 or pad-append ;
487 \ Encode a code point in UTF-8. Offset is in the pad; it is updated, or
496 dup 0x80 < uf pad-append enduf
498 6 >> 0xC0 or pad-append
499 val 0 pad-append-UTF8-chunk
502 12 >> 0xE0 or pad-append
503 val 6 pad-append-UTF8-chunk
504 val 0 pad-append-UTF8-chunk
506 18 >> 0xF0 or pad-append
507 val 12 pad-append-UTF8-chunk
508 val 6 pad-append-UTF8-chunk
509 val 0 pad-append-UTF8-chunk
512 \ Read a string value into the pad; this function checks that the source
514 \ written in the first pad byte. Returned value is true (-1) on success,
523 drop off dup ifnot ret then 1- addr-pad set8 -1 ;
525 \ Decode a UTF-16 string into the pad. The string is converted to UTF-8,
526 \ and the length is written in the first pad byte. A leading BOM is
532 dup ifnot addr-pad set8 -1 ret then
550 drop off dup ifnot ret then 1- addr-pad set8 -1 ;
552 \ Decode a latin-1 string into the pad. The string is converted to UTF-8,
553 \ and the length is written in the first pad byte. A source byte of
563 drop off dup ifnot ret then 1- addr-pad set8 -1 ;
580 \ Compare the OID in the pad with an OID in the constant data block.
584 const unsigned char *a1 = &CTX->pad[0];