Home
last modified time | relevance | path

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

/dports/lang/sagittarius-scheme/sagittarius-0.9.8/ext/filewatch/
H A Dwindows_watch.c50 tmp = SG_NEW_ATOMIC2(wchar_t *, s); in windows_path()
68 tmp = SG_NEW_ATOMIC2(char *, s); in posix_path()
311 OVERLAPPED *ols = SG_NEW_ATOMIC2(OVERLAPPED *, n * sizeof(OVERLAPPED)); in Sg_StartMonitoring()
312 HANDLE *events = SG_NEW_ATOMIC2(HANDLE *, (n + 1) * sizeof(HANDLE)); in Sg_StartMonitoring()
313 HANDLE *dirs = SG_NEW_ATOMIC2(HANDLE *, n * sizeof(HANDLE)); in Sg_StartMonitoring()
315 SG_NEW_ATOMIC2(FILE_NOTIFY_INFORMATION **, in Sg_StartMonitoring()
317 int *filters = SG_NEW_ATOMIC2(int *, n * sizeof(int)), e = 0; in Sg_StartMonitoring()
336 buf[i] = SG_NEW_ATOMIC2(FILE_NOTIFY_INFORMATION *, OL_BUFFER_SIZE); in Sg_StartMonitoring()
H A Dkqueue_watch.c175 evm = SG_NEW_ATOMIC2(struct kevent *, n * sizeof(struct kevent)); in Sg_StartMonitoring()
176 fds = SG_NEW_ATOMIC2(int *, n * sizeof(int)); in Sg_StartMonitoring()
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/ext/time/
H A Ddate.c143 char *content = SG_NEW_ATOMIC2(char *, size); in read_tz_dir()
216 char *buf = SG_NEW_ATOMIC2(char *, size); in Sg_LocalTimezoneName()
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/src/os/win/
H A Dshared.c67 buffer = SG_NEW_ATOMIC2(void *, size); in Sg_WindowsVersion()
H A Dfile.c164 dest = SG_NEW_ATOMIC2(uint8_t *, destSize + 1); in win_write()
H A Dsystem.c129 buf = SG_NEW_ATOMIC2(wchar_t *, sizeof(wchar_t) * r); in Sg_Getenv()
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/ext/zlib/
H A Dsagittarius-zlib.c45 z_streamp strm = SG_NEW_ATOMIC2(z_streamp, sizeof(z_stream)); in make_zstream()
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/ext/socket/
H A Dtls_win.c78 # define ALLOCA(type, size) SG_NEW_ATOMIC2(type, size)
582 blob = SG_NEW_ATOMIC2(LPBYTE, blobSize); in decode_private_key()
680 SG_NEW_ATOMIC2(BCRYPT_ECCKEY_BLOB *, keyBlobSize); in add_ecc_private_key()
1089 buffer = SG_NEW_ATOMIC2(unsigned char*, total_size); in client_handshake0()
1629 data->pendingData = SG_NEW_ATOMIC2(uint8_t *, s); in Sg_TLSSocketReceive()
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/src/
H A Dload.c219 name = SG_NEW_ATOMIC2(char *, size); in derive_dynload_initfn()
H A Dport.c764 bp->buffer = SG_NEW_ATOMIC2(uint8_t *, SG_PORT_DEFAULT_BUFFER_SIZE); in init_buffered_port()
941 dest = SG_NEW_ATOMIC2(uint8_t *, (size_t)rest_size); in file_read_u8_all()
1196 *buf = SG_NEW_ATOMIC2(uint8_t *, rest_size); in byte_array_read_u8_all()
1363 r = SG_NEW_ATOMIC2(uint8_t*, sizeof(uint8_t) * port->buffer.index); in Sg_GetByteArrayFromBinaryPort()
1369 r = SG_NEW_ATOMIC2(uint8_t*, sizeof(uint8_t) * size); in Sg_GetByteArrayFromBinaryPort()
3005 buf = SG_NEW_ATOMIC2(uint8_t *, SG_BVECTOR_SIZE(eol)); in readb_until()
H A Dweak.c97 p = SG_NEW_ATOMIC2(SgObject *, size * sizeof(SgObject)); in Sg_MakeWeakVector()
H A Dstring.c118 SgString *z = SG_NEW_ATOMIC2(SgString *, SG_STRING_ALLOC_SIZE(size)); in make_string()
H A Dcache.c1355 char *buf = SG_NEW_ATOMIC2(char *, length + 1); in read_string()
1366 buf = SG_NEW_ATOMIC2(SgChar *, sizeof(SgChar)*(length + 1)); in read_string()
H A Dbytevector.c88 z->elements = SG_NEW_ATOMIC2(uint8_t *, size); in make_bytevector()
H A Dregex_match.c155 tq->order = SG_NEW_ATOMIC2(int *, sizeof(int) * n); in alloc_thread_lists()
H A Dunicode.c488 r = SG_NEW_ATOMIC2(char *, count+1); in Sg_Utf32sToUtf8s()
H A Dregex.c124 newtemp = SG_NEW_ATOMIC2(SgChar *, sizeof(SgChar)*(j+2*(plen-i)+2)); in remove_qe_quoting()
152 ctx->str = SG_NEW_ATOMIC2(SgChar *, sizeof(SgChar)*j); in remove_qe_quoting()
H A Dbignum.c66 (v) = SG_NEW_ATOMIC2(type *, sizeof(type) * (size));
125 b = SG_NEW_ATOMIC2(SgBignum*, BIGNUM_SIZE(real_size)); in make_bignum_rec()
H A Dbignum.inc469 (r) = SG_NEW_ATOMIC2(type*, sizeof(type*) * s__); \
H A Dreader.c897 SgChar *real = SG_NEW_ATOMIC2(SgChar *, (i + 1) * sizeof(SgChar)); in read_quoted_symbol()
H A Dclos.c2361 metaname = SG_NEW_ATOMIC2(SgChar *, sizeof(SgChar) * (nlen+6)); in Sg_InitStaticClassWithMeta()
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/src/sagittarius/private/
H A Dsagittariusdefs.h221 #define SG_NEW_ATOMIC2(type, size) ((type)(SG_MALLOC_ATOMIC(size))) macro
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/src/os/posix/
H A Dsystem.c279 real = SG_NEW_ATOMIC2(char *, len + 1); in Sg_GetTemporaryDirectory()
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/ext/ffi/
H A Dffi_stub.stub128 (let ((p::char* (SG_NEW_ATOMIC2 char_ptr size)))
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/ext/odbc/
H A Dodbc.c671 char *buf = SG_NEW_ATOMIC2(char *, len); in Sg_GetData()