Home
last modified time | relevance | path

Searched refs:SIO_MAGIC (Results 1 – 14 of 14) sorted by relevance

/dports/lang/swi-pl/swipl-8.2.3/src/os/
H A Dpl-stream.c469 { if ( us->magic != SIO_MAGIC ) in Sset_timeout()
476 { if ( us->magic != SIO_MAGIC ) in Sset_timeout()
498 if ( s->magic != SIO_MAGIC ) in S__flushbuf()
596 if ( s->magic != SIO_MAGIC ) in S__fillbuf()
1524 { if ( s->magic == SIO_MAGIC ) in Sferror()
1534 { if ( s->magic == SIO_MAGIC ) in Sfpasteof()
3064 s->magic = SIO_MAGIC; in Snew()
3328 if ( s->magic != SIO_MAGIC ) in Sfileno()
3339 if ( s->magic == SIO_MAGIC && in Sfileno()
3845 s->magic = SIO_MAGIC; in Sopen_string()
[all …]
H A Dpl-file.c419 { if ( s && s->magic == SIO_MAGIC && Slock(s) == 0 ) in getStream()
432 { if ( s && s->magic == SIO_MAGIC && StryLock(s) == 0 ) in tryGetStream()
445 { if ( s->magic == SIO_MAGIC ) in releaseStream()
657 { assert( s->magic == SIO_MAGIC || s->magic == SIO_CMAGIC ); in get_stream_handle__LD()
685 { if ( stream->magic == SIO_MAGIC ) in get_stream_handle__LD()
1398 { if ( c->stream->magic == SIO_MAGIC ) in popOutputContext()
4315 for(; s && s->magic == SIO_MAGIC; s=s->downstream) in stream_file_name_propery()
4373 if ( s->magic != SIO_MAGIC || !(ctx=s->context) ) in stream_alias_prop()
4406 if ( s->magic == SIO_MAGIC && s->position ) in stream_position_prop()
4422 { if ( s->magic == SIO_MAGIC && (s->flags & SIO_INPUT) ) in stream_end_of_stream_prop()
[all …]
H A DSWI-Stream.h140 #define SIO_MAGIC (7212677) /* magic number */ macro
/dports/lang/yap/yap-6.2.2/packages/PLStream/
H A Dpl-stream.c851 if ( s->tee && s->tee->magic == SIO_MAGIC ) in Sputcode()
1048 if ( s->tee && s->tee->magic == SIO_MAGIC && c != -1 ) in Sgetcode()
1723 if ( s->magic != SIO_MAGIC ) /* already closed!? */ in Sclose()
2504 { if ( !parent || parent->magic != SIO_MAGIC ) in Sset_filter()
2510 { if ( filter->magic != SIO_MAGIC ) in Sset_filter()
2687 s->magic = SIO_MAGIC; in Snew()
3295 s->magic = SIO_MAGIC; in Sopen_string()
3305 EOF, SIO_MAGIC, 0, f, {0, 0, 0}, NULL, \
3418 if ( (s=Sinput) && s->magic == SIO_MAGIC ) in Sreset()
3421 if ( (s=Soutput) && s->magic == SIO_MAGIC ) in Sreset()
[all …]
H A Dpl-stream.h115 #define SIO_MAGIC (7212676) /* magic number */ macro
H A Dpl-file.c384 { if ( s && s->magic == SIO_MAGIC ) /* TBD: ensure visibility? */ in getStream()
394 { if ( s && s->magic == SIO_MAGIC && StryLock(s) == 0 ) in tryGetStream()
402 { if ( s->magic == SIO_MAGIC ) in releaseStream()
451 { if ( ((IOSTREAM *)p)->magic == SIO_MAGIC ) in get_stream_handle__LD()
482 { if ( stream->magic == SIO_MAGIC ) in get_stream_handle__LD()
959 { if ( c->stream->magic == SIO_MAGIC ) in popOutputContext()
/dports/lang/yap/yap-6.2.2/include/
H A DSWI-Prolog.h586 #ifdef SIO_MAGIC /* defined from <SWI-Stream.h> */
618 #ifdef SIO_MAGIC
624 #ifdef SIO_MAGIC
H A DSWI-Stream.h87 #define SIO_MAGIC (7212676) /* magic number */ macro
/dports/lang/swi-pl/swipl-8.2.3/packages/http/
H A Dhttp_chunked.c190 s->magic == SIO_MAGIC ) in chunked_control()
H A Dcgi_stream.c620 if ( ctx->magic != CGI_MAGIC || orig->magic != SIO_MAGIC ) in cgi_control()
633 if ( orig->magic == SIO_MAGIC && funcs->control ) in cgi_control()
/dports/lang/swi-pl/swipl-8.2.3/src/
H A DSWI-Prolog.h671 #ifdef SIO_MAGIC
696 #ifdef SIO_MAGIC
702 #ifdef SIO_MAGIC
916 #ifdef SIO_MAGIC /* defined from <SWI-Stream.h> */
/dports/lang/swi-pl/swipl-8.2.3/packages/xpce/src/h/
H A Dstream.h143 #define SIO_MAGIC (7212677) /* magic number */ macro
H A Dinterface.h365 #ifdef SIO_MAGIC /* defined from <SWI-Stream.h> */
/dports/lang/swi-pl/swipl-8.2.3/packages/zlib/
H A Dzlib4pl.c328 if ( parent->magic == SIO_MAGIC ) in zcontrol()