Lines Matching refs:Device
410 print_syntax_error(Id, context(_Stream, Device, Name, Line, String, From, Where)) ?- !,
412 ( Device==tty ->
415 printf(error, "%s %w", [Device,Name]),
435 stream_info_(Stream, 13, Device),
437 short_stream_name(Device, DevName, Stream, Name),
439 get_context_strings(Device, Stream, Where, From, Left, Right, NewLine),
449 get_context_strings(Device, Stream, Pos, From, Left, Right, NewLine) :-
450 ( Device==file ; Device==string ), % fully seekable devices
468 get_context_strings(Device, Stream, Pos, From, Left, Right, NewLine) :-
469 ( Device==pipe ; Device==socket ; Device==tty ), % buffer seekable
473 ( Device==tty ->
559 short_stream_name(Device, Device, Stream, Name) :- % tty,socket,pipe,null