Home
last modified time | relevance | path

Searched refs:SgByteVector (Results 1 – 25 of 26) sorted by relevance

12

/dports/lang/sagittarius-scheme/sagittarius-0.9.8/src/sagittarius/private/
H A Dbytevector.h46 #define SG_BVECTOR(obj) ((SgByteVector*)obj)
68 (var) = SG_BVECTOR(alloca(sizeof(SgByteVector))); \
90 SG_EXTERN int Sg_ByteVectorEqP(SgByteVector *bv1, SgByteVector *bv2);
93 SgByteVector *dst, long dstStart,
95 SG_EXTERN void Sg_ByteVectorFill(SgByteVector *bv, int value,
97 SG_EXTERN SgObject Sg_ByteVectorReverseX(SgByteVector *bv,
104 SG_EXTERN SgObject Sg_ByteVectorToString(SgByteVector *bv,
204 SG_EXTERN SgObject Sg_ByteVectorToIntegerBig(SgByteVector *bv,
206 SG_EXTERN SgObject Sg_ByteVectorToIntegerSBig(SgByteVector *bv,
210 SG_EXTERN SgObject Sg_ByteVectorToIntegerLittle(SgByteVector *bv,
[all …]
H A Dregex.h139 SgByteVector *text;
141 SgByteVector *submatch[1];
206 SgByteVector *text,
220 SG_EXTERN SgByteVector* Sg_RegexBinaryReplaceAll(SgBinaryMatcher *m,
222 SG_EXTERN SgByteVector* Sg_RegexBinaryReplaceFirst(SgBinaryMatcher *m,
224 SG_EXTERN SgByteVector* Sg_RegexBinaryReplace(SgBinaryMatcher *m,
H A Dcodec.h101 SG_EXTERN SgEndianness Sg_Utf16CheckBOM(SgByteVector *bv);
102 SG_EXTERN SgEndianness Sg_Utf32CheckBOM(SgByteVector *bv);
H A Dport.h392 SgByteVector *binaryBuffer; /* buffer for custom binary port */
547 SG_EXTERN SgObject Sg_MakeByteVectorInputPort(SgByteVector *bv,
635 SG_EXTERN void Sg_Putbv(SgPort *port, SgByteVector *bv);
644 SG_EXTERN void Sg_PutbvUnsafe(SgPort *port, SgByteVector *bv);
683 SG_EXTERN SgObject Sg_ReadbUntil(SgPort *port, SgByteVector *eol);
H A Dsagittariusdefs.h251 typedef struct SgByteVectorRec SgByteVector; typedef
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/src/
H A Dbytevector.c51 SgByteVector *b = SG_BVECTOR(obj); in bvector_print()
78 SgByteVector *z = SG_NEW(SgByteVector); in make_bytevector_rec()
94 SgByteVector *b; in Sg_MakeByteVector()
115 int Sg_ByteVectorCmp(SgByteVector *bv1, SgByteVector *bv2) in Sg_ByteVectorCmp()
129 int Sg_ByteVectorEqP(SgByteVector *bv1, SgByteVector *bv2) in Sg_ByteVectorEqP()
136 SgByteVector *dst; in Sg_ByteVectorCopy()
147 SgByteVector *dst, long dstStart, in Sg_ByteVectorCopyX()
245 SgByteVector *bv; in Sg_ListToByteVector()
985 SgByteVector *bv; in integer2bytevector()
1090 SgByteVector *tmp; in Sg_ByteVectorToIntegerLittle()
[all …]
H A Dunicode.c1194 static SgByteVector* string2bytevector(SgObject s) in string2bytevector()
1196 SgByteVector* bv = Sg_MakeByteVector(SG_STRING_SIZE(s)*sizeof(SgChar), 0); in string2bytevector()
1205 static SgObject bytevector2string(SgByteVector *bv) in bytevector2string()
1241 static SgByteVector* decompose_rec(SgString *in, int canonicalP) in decompose_rec()
1258 static SgByteVector* sort_combining_marks(SgByteVector *bv) in sort_combining_marks()
1285 SgByteVector *bv = decompose_rec(str, TRUE); in Sg_StringNormalizeNfd()
1292 SgByteVector *bv = decompose_rec(str, FALSE); in Sg_StringNormalizeNfkd()
1321 static SgObject compose_rec(SgByteVector *bv) in compose_rec()
1323 SgByteVector *out; in compose_rec()
1362 SgByteVector *bv = decompose_rec(str, TRUE); in Sg_StringNormalizeNfc()
[all …]
H A Dcodec.c548 SgEndianness Sg_Utf16CheckBOM(SgByteVector *bv) in Sg_Utf16CheckBOM()
565 SgEndianness Sg_Utf32CheckBOM(SgByteVector *bv) in Sg_Utf32CheckBOM()
H A Dlib_core.c6415 SgByteVector* bv; in core_bytevector_length()
6438 SgByteVector* bv; in core_bytevector_fillX()
6535 SgByteVector* bv; in core_bytevector_u8_ref()
6570 SgByteVector* bv; in core_bytevector_u8_setX()
6618 SgByteVector* bv; in core_bytevector_s8_ref()
6653 SgByteVector* bv; in core_bytevector_s8_setX()
6701 SgByteVector* bv; in core_bytevector_u16_native_ref()
6739 SgByteVector* bv; in core_bytevector_u16_native_setX()
6784 SgByteVector* bv; in core_bytevector_u16_ref()
6831 SgByteVector* bv; in core_bytevector_u16_setX()
[all …]
H A Dport.c1325 SgObject Sg_MakeByteVectorInputPort(SgByteVector *bv, int64_t start, int64_t end) in Sg_MakeByteVectorInputPort()
1869 SgByteVector *bv = SG_CUSTOM_PORT(self)->binaryBuffer; in custom_binary_put_u8_array()
2460 SgByteVector *ret; in Sg_GetByteVectorFromBinaryPort()
2629 void Sg_Putbv(SgPort *port, SgByteVector *bv) in Sg_Putbv()
2740 void Sg_PutbvUnsafe(SgPort *port, SgByteVector *bv) in Sg_PutbvUnsafe()
2991 static SgObject readb_until(SgPort *port, SgByteVector *eol) in readb_until()
3042 SgObject Sg_ReadbUntil(SgPort *port, SgByteVector *eol) in Sg_ReadbUntil()
H A Dlib_sagittarius.c3947 SgByteVector* bv; in sagittarius_get_bytevector_until()
6718 SgByteVector* bv; in sagittarius_bytevector_TOinteger()
6765 SgByteVector* bv; in sagittarius_bytevector_TOuinteger()
6812 SgByteVector* bv; in sagittarius_bytevector_TOsinteger()
7010 SgByteVector* bv; in sagittarius_bytevector_reverseX()
7057 SgByteVector* bv; in sagittarius_bytevector_reverse()
7106 SgByteVector* bv1; in sagittarius_bytevector_LTP()
7108 SgByteVector* bv2; in sagittarius_bytevector_LTP()
7142 SgByteVector* bv1; in sagittarius_bytevector_GTP()
7144 SgByteVector* bv2; in sagittarius_bytevector_GTP()
[all …]
H A Dregex_match.c48 typedef SgByteVector text_t;
H A Dcache.c1478 SgByteVector *bv; in read_bvector()
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/ext/zlib/
H A Dsagittarius-zlib.h53 int Sg_DeflateSetDictionary(SgZStream *strm, SgByteVector *dict);
54 int Sg_Deflate(SgZStream *strm, SgByteVector *data, SgByteVector *dest,
60 int Sg_InflateSetDictionary(SgZStream *strm, SgByteVector *dict);
62 int Sg_Inflate(SgZStream *strm, SgByteVector *data, SgByteVector *dest,
H A Dsagittarius-zlib.c75 int Sg_DeflateSetDictionary(SgZStream *strm, SgByteVector *dict) in Sg_DeflateSetDictionary()
83 int Sg_Deflate(SgZStream *strm, SgByteVector *data, SgByteVector *dest, in Sg_Deflate()
139 int Sg_InflateSetDictionary(SgZStream *strm, SgByteVector *dict) in Sg_InflateSetDictionary()
151 int Sg_Inflate(SgZStream *strm, SgByteVector *data, SgByteVector *dest, in Sg_Inflate()
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/ext/crypto/
H A Dcrypto.h145 SgByteVector *secretKey;
252 SgObject Sg_VMCipherEncrypt(SgCipher *crypto, SgByteVector *data);
253 SgObject Sg_VMCipherDecrypt(SgCipher *crypto, SgByteVector *data);
254 SgObject Sg_VMCipherUpdateAAD(SgCipher *crypto, SgByteVector *data,
256 SgObject Sg_VMCipherTag(SgCipher *crypto, SgByteVector *dst);
259 SgObject Sg_VMCipherSignature(SgCipher *crypto, SgByteVector *data,
261 SgObject Sg_VMCipherVerify(SgCipher *crypto, SgByteVector *M, SgByteVector *S,
265 SgObject Sg_GenerateSecretKey(SgString *name, SgByteVector *key);
H A Dsagittarius-math.h136 SgObject Sg_VMSetSeed(SgObject prng, SgByteVector *seed);
144 SgObject Sg_VMHashProcess(SgObject algo, SgByteVector *in, int start, int end);
145 SgObject Sg_VMHashDone(SgObject algo, SgByteVector *out, int start, int end);
H A Dcrypto.c160 SgByteVector *key; in Sg_MakeBuiltinCipherSpi()
334 static SgObject symmetric_encrypt(SgCipher *crypto, SgByteVector *d) in symmetric_encrypt()
362 static SgObject public_key_encrypt(SgCipher *crypto, SgByteVector *d) in public_key_encrypt()
375 SgObject Sg_VMCipherEncrypt(SgCipher *crypto, SgByteVector *data) in Sg_VMCipherEncrypt()
384 static SgObject symmetric_decrypt(SgCipher *crypto, SgByteVector *data) in symmetric_decrypt()
416 static SgObject public_key_decrypt(SgCipher *crypto, SgByteVector *data) in public_key_decrypt()
426 SgObject Sg_VMCipherDecrypt(SgCipher *crypto, SgByteVector *data) in Sg_VMCipherDecrypt()
435 SgObject Sg_VMCipherUpdateAAD(SgCipher *crypto, SgByteVector *data, in Sg_VMCipherUpdateAAD()
465 SgObject Sg_VMCipherTag(SgCipher *crypto, SgByteVector *dst) in Sg_VMCipherTag()
509 SgObject Sg_VMCipherSignature(SgCipher *crypto, SgByteVector *data, in Sg_VMCipherSignature()
[all …]
H A Dkey.c67 SgObject Sg_GenerateSecretKey(SgString *name, SgByteVector *key) in Sg_GenerateSecretKey()
88 SgByteVector *tmp = SG_BVECTOR(Sg_MakeByteVector(len, 0)); in Sg_GenerateSecretKey()
H A Dhash.c135 SgObject Sg_VMHashProcess(SgObject algo, SgByteVector *in, int start, int end) in Sg_VMHashProcess()
171 SgByteVector *oin = SG_BVECTOR(data[0]); in copy_out()
178 SgObject Sg_VMHashDone(SgObject algo, SgByteVector *out, int start, int end) in Sg_VMHashDone()
H A Drandom.c115 SgObject Sg_VMSetSeed(SgObject prng, SgByteVector *seed) in Sg_VMSetSeed()
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/ext/socket/
H A Dtls-socket.h64 SgByteVector *privateKey);
H A Dtls_win.c516 SgByteVector *cert; in load_certificates()
546 static LPBYTE decode_private_key(SgByteVector *privateKey, in decode_private_key()
758 SgByteVector *privateKey, in add_private_key()
816 SgByteVector *privateKey) in Sg_SocketToTLSSocket()
H A Dtls_openssl.c160 SgByteVector *privateKey) in Sg_SocketToTLSSocket()
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/sitelib/sagittarius/cgen/
H A Dliteral.scm492 :c-name (cgen-allocate-static-datum 'runtime 'SgByteVector init)))

12