YAP 7.1.0

Detailed Description


Class Documentation

◆ export_atom_hash_entry_struct

struct export_atom_hash_entry_struct

Definition at line 37 of file qly.h.

Public Attributes

Atom val
 

Member Data Documentation

◆ val

Atom val

Definition at line 38 of file qly.h.

◆ import_atom_hash_entry_struct

struct import_atom_hash_entry_struct

Definition at line 41 of file qly.h.

Public Attributes

Atom oval
 
Atom val
 
struct import_atom_hash_entry_structnext
 

Member Data Documentation

◆ next

Definition at line 44 of file qly.h.

◆ oval

Atom oval

Definition at line 42 of file qly.h.

◆ val

Atom val

Definition at line 43 of file qly.h.

◆ export_functor_hash_entry_struct

struct export_functor_hash_entry_struct

Definition at line 47 of file qly.h.

Public Attributes

Functor val
 
Atom name
 
UInt arity
 

Member Data Documentation

◆ arity

UInt arity

Definition at line 50 of file qly.h.

◆ name

Atom name

Definition at line 49 of file qly.h.

◆ val

Functor val

Definition at line 48 of file qly.h.

◆ import_functor_hash_entry_struct

struct import_functor_hash_entry_struct

Definition at line 53 of file qly.h.

Public Attributes

Functor val
 
Functor oval
 
struct import_functor_hash_entry_structnext
 

Member Data Documentation

◆ next

Definition at line 56 of file qly.h.

◆ oval

Functor oval

Definition at line 55 of file qly.h.

◆ val

Functor val

Definition at line 54 of file qly.h.

◆ import_opcode_hash_entry_struct

struct import_opcode_hash_entry_struct

Definition at line 59 of file qly.h.

Public Attributes

OPCODE val
 
int id
 
OPCODE oval
 
struct import_opcode_hash_entry_structnext
 

Member Data Documentation

◆ id

int id

Definition at line 61 of file qly.h.

◆ next

Definition at line 63 of file qly.h.

◆ oval

OPCODE oval

Definition at line 62 of file qly.h.

◆ val

OPCODE val

Definition at line 60 of file qly.h.

◆ export_pred_entry_hash_entry_struct

struct export_pred_entry_hash_entry_struct

Definition at line 66 of file qly.h.

Public Attributes

PredEntryval
 
union {
   Functor   f
 
   Atom   a
 
u_af
 
Atom module
 
UInt arity
 

Member Data Documentation

◆ a

Atom a

Definition at line 70 of file qly.h.

◆ arity

UInt arity

Definition at line 73 of file qly.h.

◆ f

Definition at line 69 of file qly.h.

◆ module

Atom module

Definition at line 72 of file qly.h.

◆ val

PredEntry* val

Definition at line 67 of file qly.h.

◆ import_pred_entry_hash_entry_struct

struct import_pred_entry_hash_entry_struct

Definition at line 76 of file qly.h.

Public Attributes

PredEntryval
 
PredEntryoval
 
struct import_pred_entry_hash_entry_structnext
 

Member Data Documentation

◆ next

Definition at line 79 of file qly.h.

◆ oval

PredEntry* oval

Definition at line 78 of file qly.h.

◆ val

PredEntry* val

Definition at line 77 of file qly.h.

◆ export_dbref_hash_entry_struct

struct export_dbref_hash_entry_struct

Definition at line 82 of file qly.h.

Public Attributes

DBRef val
 
UInt sz
 
UInt refs
 

Member Data Documentation

◆ refs

UInt refs

Definition at line 85 of file qly.h.

◆ sz

UInt sz

Definition at line 84 of file qly.h.

◆ val

DBRef val

Definition at line 83 of file qly.h.

◆ import_dbref_hash_entry_struct

struct import_dbref_hash_entry_struct

Definition at line 88 of file qly.h.

Public Attributes

DBRef val
 
DBRef oval
 
int count
 
struct import_dbref_hash_entry_structnext
 

Member Data Documentation

◆ count

int count

Definition at line 91 of file qly.h.

◆ next

Definition at line 92 of file qly.h.

◆ oval

DBRef oval

Definition at line 90 of file qly.h.

◆ val

DBRef val

Definition at line 89 of file qly.h.

Macro Definition Documentation

◆ AddrAdjust [1/2]

#define AddrAdjust (   P)    (P)

Definition at line 449 of file qlyr.c.

◆ AddrAdjust [2/2]

#define AddrAdjust (   P)    (P)

Definition at line 406 of file qlyw.c.

◆ AllocTempSpace

#define AllocTempSpace ( )    (HR)

Definition at line 140 of file qly.h.

◆ ArityAdjust [1/2]

#define ArityAdjust (   P)    (P)

Definition at line 460 of file qlyr.c.

◆ ArityAdjust [2/2]

#define ArityAdjust (   P)    (P)

Definition at line 410 of file qlyw.c.

◆ AtomEntryAdjust [1/2]

#define AtomEntryAdjust (   P)    (P)

Definition at line 483 of file qlyr.c.

◆ AtomEntryAdjust [2/2]

#define AtomEntryAdjust (   P)    (P)

Definition at line 434 of file qlyw.c.

◆ BlobTermInCodeAdjust [1/2]

#define BlobTermInCodeAdjust (   P)    BlobTermInCodeAdjust__(P PASS_REGS)

Definition at line 485 of file qlyr.c.

◆ BlobTermInCodeAdjust [2/2]

#define BlobTermInCodeAdjust (   P)    (P)

Definition at line 436 of file qlyw.c.

◆ BlobTypeAdjust [1/2]

#define BlobTypeAdjust (   P)    (P)

Definition at line 444 of file qlyr.c.

◆ BlobTypeAdjust [2/2]

#define BlobTypeAdjust (   P)    (P)

Definition at line 401 of file qlyw.c.

◆ CellPtoHeapAdjust [1/2]

#define CellPtoHeapAdjust (   P)    CellPtoHeapAdjust__(P PASS_REGS)

Definition at line 500 of file qlyr.c.

◆ CellPtoHeapAdjust [2/2]

#define CellPtoHeapAdjust (   P)    (P)

Definition at line 437 of file qlyw.c.

◆ CellPtoHeapCellAdjust [1/2]

#define CellPtoHeapCellAdjust (   P)    (P)

Definition at line 506 of file qlyr.c.

◆ CellPtoHeapCellAdjust [2/2]

#define CellPtoHeapCellAdjust (   P)    (P)

Definition at line 439 of file qlyw.c.

◆ CellPtoTRAdjust [1/2]

#define CellPtoTRAdjust (   P)    (P)

Definition at line 507 of file qlyr.c.

◆ CellPtoTRAdjust [2/2]

#define CellPtoTRAdjust (   P)    (P)

Definition at line 440 of file qlyw.c.

◆ CharP [1/2]

#define CharP (   X)    ((char *)(X))

Definition at line 440 of file qlyr.c.

◆ CharP [2/2]

#define CharP (   X)    ((char *)(X))

Definition at line 397 of file qlyw.c.

◆ CHECK

#define CHECK (   F)
Value:
{ \
size_t r = (F); \
if (!r) \
return r; \
}

Definition at line 128 of file qly.h.

◆ CodeAddrAdjust [1/2]

#define CodeAddrAdjust (   P)    (P)

Definition at line 508 of file qlyr.c.

◆ CodeAddrAdjust [2/2]

#define CodeAddrAdjust (   P)    (P)

Definition at line 441 of file qlyw.c.

◆ CodeCharPAdjust [1/2]

#define CodeCharPAdjust (   P)    (P)

Definition at line 579 of file qlyr.c.

◆ CodeCharPAdjust [2/2]

#define CodeCharPAdjust (   P)    (P)

Definition at line 482 of file qlyw.c.

◆ CodeConstCharPAdjust [1/2]

#define CodeConstCharPAdjust (   P)    (P)

Definition at line 580 of file qlyr.c.

◆ CodeConstCharPAdjust [2/2]

#define CodeConstCharPAdjust (   P)    (P)

Definition at line 483 of file qlyw.c.

◆ CodeVarAdjust [1/2]

#define CodeVarAdjust (   P)    CodeVarAdjust__(P PASS_REGS)

Definition at line 452 of file qlyr.c.

◆ CodeVarAdjust [2/2]

#define CodeVarAdjust (   P)    (P)

Definition at line 408 of file qlyw.c.

◆ CodeVoidPAdjust [1/2]

#define CodeVoidPAdjust (   P)    (P)

Definition at line 581 of file qlyr.c.

◆ CodeVoidPAdjust [2/2]

#define CodeVoidPAdjust (   P)    (P)

Definition at line 484 of file qlyw.c.

◆ ConstantAdjust [1/2]

#define ConstantAdjust (   P)    (P)

Definition at line 459 of file qlyr.c.

◆ ConstantAdjust [2/2]

#define ConstantAdjust (   P)    (P)

Definition at line 409 of file qlyw.c.

◆ ConsultObjAdjust [1/2]

#define ConsultObjAdjust (   P)    (P)

Definition at line 509 of file qlyr.c.

◆ ConsultObjAdjust [2/2]

#define ConsultObjAdjust (   P)    (P)

Definition at line 442 of file qlyw.c.

◆ DBRecordAdjust [1/2]

#define DBRecordAdjust (   P)    (P)

Definition at line 481 of file qlyr.c.

◆ DBRecordAdjust [2/2]

#define DBRecordAdjust (   P)    (P)

Definition at line 432 of file qlyw.c.

◆ DBRefAdjust [1/2]

#define DBRefAdjust (   P,
  DoRef 
)    DBRefAdjust__(P PASS_REGS)

Definition at line 447 of file qlyw.c.

◆ DBRefAdjust [2/2]

#define DBRefAdjust (   P,
  Ref 
)    DBRefAdjust__(P, Ref PASS_REGS)

Definition at line 514 of file qlyr.c.

◆ DBRefPAdjust [1/2]

#define DBRefPAdjust (   P)    DBRefPAdjust__(P PASS_REGS)

Definition at line 519 of file qlyr.c.

◆ DBRefPAdjust [2/2]

#define DBRefPAdjust (   P)    (P)

Definition at line 453 of file qlyw.c.

◆ DBTermAdjust [1/2]

#define DBTermAdjust (   P)    DBTermAdjust__(P PASS_REGS)

Definition at line 495 of file qlyr.c.

◆ DBTermAdjust [2/2]

#define DBTermAdjust (   P)    (P)

Definition at line 454 of file qlyw.c.

◆ DelayAddrAdjust [1/2]

#define DelayAddrAdjust (   P)    (P)

Definition at line 510 of file qlyr.c.

◆ DelayAddrAdjust [2/2]

#define DelayAddrAdjust (   P)    (P)

Definition at line 443 of file qlyw.c.

◆ DelayAdjust [1/2]

#define DelayAdjust (   P)    (P)

Definition at line 511 of file qlyr.c.

◆ DelayAdjust [2/2]

#define DelayAdjust (   P)    (P)

Definition at line 444 of file qlyw.c.

◆ DoubleInCodeAdjust [1/2]

#define DoubleInCodeAdjust (   P)

Definition at line 461 of file qlyr.c.

◆ DoubleInCodeAdjust [2/2]

#define DoubleInCodeAdjust (   P)

Definition at line 411 of file qlyw.c.

◆ EnoughTempSpace

#define EnoughTempSpace (   sz)    ((ASP - HR) * sizeof(CELL) > sz)

Definition at line 141 of file qly.h.

◆ EXPORT_ATOM_TABLE_SIZE

#define EXPORT_ATOM_TABLE_SIZE   (16 * 4096)

Definition at line 31 of file qly.h.

◆ EXPORT_DBREF_TABLE_SIZE

#define EXPORT_DBREF_TABLE_SIZE   (128)

Definition at line 35 of file qly.h.

◆ EXPORT_FUNCTOR_TABLE_SIZE

#define EXPORT_FUNCTOR_TABLE_SIZE   (16 * 4096)

Definition at line 32 of file qly.h.

◆ EXPORT_OPCODE_TABLE_SIZE

#define EXPORT_OPCODE_TABLE_SIZE   (4096)

Definition at line 33 of file qly.h.

◆ EXPORT_PRED_ENTRY_TABLE_SIZE

#define EXPORT_PRED_ENTRY_TABLE_SIZE   (128)

Definition at line 34 of file qly.h.

◆ ExternalFunctionAdjust [1/2]

#define ExternalFunctionAdjust (   P)    (P)

Definition at line 480 of file qlyr.c.

◆ ExternalFunctionAdjust [2/2]

#define ExternalFunctionAdjust (   P)    (P)

Definition at line 431 of file qlyw.c.

◆ EXTRA_PRED_FLAGS

#define EXTRA_PRED_FLAGS    (QuasiQuotationPredFlag | NoTracePredFlag | NoSpyPredFlag)

Definition at line 121 of file qly.h.

◆ GlobalAddrAdjust [1/2]

#define GlobalAddrAdjust (   P)    (P)

Definition at line 527 of file qlyr.c.

◆ GlobalAddrAdjust [2/2]

#define GlobalAddrAdjust (   P)    (P)

Definition at line 458 of file qlyw.c.

◆ GlobalAdjust [1/2]

#define GlobalAdjust (   P)    (P)

Definition at line 512 of file qlyr.c.

◆ GlobalAdjust [2/2]

#define GlobalAdjust (   P)    (P)

Definition at line 445 of file qlyw.c.

◆ GlobalEntryAdjust [1/2]

#define GlobalEntryAdjust (   P)    (P)

Definition at line 484 of file qlyr.c.

◆ GlobalEntryAdjust [2/2]

#define GlobalEntryAdjust (   P)    (P)

Definition at line 435 of file qlyw.c.

◆ HaltHookAdjust [1/2]

#define HaltHookAdjust (   P)    (P)

Definition at line 582 of file qlyr.c.

◆ HaltHookAdjust [2/2]

#define HaltHookAdjust (   P)    (P)

Definition at line 485 of file qlyw.c.

◆ HoldEntryAdjust [1/2]

#define HoldEntryAdjust (   P)    (P)

Definition at line 578 of file qlyr.c.

◆ HoldEntryAdjust [2/2]

#define HoldEntryAdjust (   P)    (P)

Definition at line 481 of file qlyw.c.

◆ IntegerAdjust [1/2]

#define IntegerAdjust (   D)    (D)

Definition at line 448 of file qlyr.c.

◆ IntegerAdjust [2/2]

#define IntegerAdjust (   D)    (D)

Definition at line 405 of file qlyw.c.

◆ IntegerInCodeAdjust [1/2]

#define IntegerInCodeAdjust (   P)

Definition at line 412 of file qlyw.c.

◆ IntegerInCodeAdjust [2/2]

#define IntegerInCodeAdjust (   Pxb)

Definition at line 462 of file qlyr.c.

◆ IsOldCode [1/2]

#define IsOldCode (   P)    FALSE

Definition at line 429 of file qlyr.c.

◆ IsOldCode [2/2]

#define IsOldCode (   P)    FALSE

Definition at line 386 of file qlyw.c.

◆ IsOldCodeCellPtr [1/2]

#define IsOldCodeCellPtr (   P)    FALSE

Definition at line 430 of file qlyr.c.

◆ IsOldCodeCellPtr [2/2]

#define IsOldCodeCellPtr (   P)    FALSE

Definition at line 387 of file qlyw.c.

◆ IsOldDelay [1/2]

#define IsOldDelay (   P)    FALSE

Definition at line 431 of file qlyr.c.

◆ IsOldDelay [2/2]

#define IsOldDelay (   P)    FALSE

Definition at line 388 of file qlyw.c.

◆ IsOldDelayPtr [1/2]

#define IsOldDelayPtr (   P)    FALSE

Definition at line 432 of file qlyr.c.

◆ IsOldDelayPtr [2/2]

#define IsOldDelayPtr (   P)    FALSE

Definition at line 389 of file qlyw.c.

◆ IsOldGlobal [1/2]

#define IsOldGlobal (   P)    FALSE

Definition at line 435 of file qlyr.c.

◆ IsOldGlobal [2/2]

#define IsOldGlobal (   P)    FALSE

Definition at line 392 of file qlyw.c.

◆ IsOldGlobalPtr [1/2]

#define IsOldGlobalPtr (   P)    FALSE

Definition at line 436 of file qlyr.c.

◆ IsOldGlobalPtr [2/2]

#define IsOldGlobalPtr (   P)    FALSE

Definition at line 393 of file qlyw.c.

◆ IsOldLocalInTR [1/2]

#define IsOldLocalInTR (   P)    FALSE

Definition at line 433 of file qlyr.c.

◆ IsOldLocalInTR [2/2]

#define IsOldLocalInTR (   P)    FALSE

Definition at line 390 of file qlyw.c.

◆ IsOldLocalInTRPtr [1/2]

#define IsOldLocalInTRPtr (   P)    FALSE

Definition at line 434 of file qlyr.c.

◆ IsOldLocalInTRPtr [2/2]

#define IsOldLocalInTRPtr (   P)    FALSE

Definition at line 391 of file qlyw.c.

◆ IsOldTrail [1/2]

#define IsOldTrail (   P)    FALSE

Definition at line 437 of file qlyr.c.

◆ IsOldTrail [2/2]

#define IsOldTrail (   P)    FALSE

Definition at line 394 of file qlyw.c.

◆ IsOldTrailPtr [1/2]

#define IsOldTrailPtr (   P)    FALSE

Definition at line 438 of file qlyr.c.

◆ IsOldTrailPtr [2/2]

#define IsOldTrailPtr (   P)    FALSE

Definition at line 395 of file qlyw.c.

◆ LocalAddrAdjust [1/2]

#define LocalAddrAdjust (   P)    (P)

Definition at line 526 of file qlyr.c.

◆ LocalAddrAdjust [2/2]

#define LocalAddrAdjust (   P)    (P)

Definition at line 457 of file qlyw.c.

◆ LUIndexAdjust [1/2]

#define LUIndexAdjust (   P)    (P)

Definition at line 524 of file qlyr.c.

◆ LUIndexAdjust [2/2]

#define LUIndexAdjust (   P)    (P)

Definition at line 455 of file qlyw.c.

◆ MFileAdjust [1/2]

#define MFileAdjust (   P)    (P)

Definition at line 450 of file qlyr.c.

◆ MFileAdjust [2/2]

#define MFileAdjust (   P)    (P)

Definition at line 407 of file qlyw.c.

◆ ModEntryPtrAdjust [1/2]

#define ModEntryPtrAdjust (   P)    (P)

Definition at line 482 of file qlyr.c.

◆ ModEntryPtrAdjust [2/2]

#define ModEntryPtrAdjust (   P)    (P)

Definition at line 433 of file qlyw.c.

◆ NoAGCAtomAdjust [1/2]

#define NoAGCAtomAdjust (   P)    (P)

Definition at line 445 of file qlyr.c.

◆ NoAGCAtomAdjust [2/2]

#define NoAGCAtomAdjust (   P)    (P)

Definition at line 402 of file qlyw.c.

◆ OpcodeAdjust

#define OpcodeAdjust (   P)    (P)

Definition at line 413 of file qlyw.c.

◆ OpEntryAdjust [1/2]

#define OpEntryAdjust (   P)    (P)

Definition at line 566 of file qlyr.c.

◆ OpEntryAdjust [2/2]

#define OpEntryAdjust (   P)    (P)

Definition at line 476 of file qlyw.c.

◆ OpListAdjust [1/2]

#define OpListAdjust (   P)    (P)

Definition at line 528 of file qlyr.c.

◆ OpListAdjust [2/2]

#define OpListAdjust (   P)    (P)

Definition at line 459 of file qlyw.c.

◆ OpRTableAdjust [1/2]

#define OpRTableAdjust (   P)    (P)

Definition at line 565 of file qlyr.c.

◆ OpRTableAdjust [2/2]

#define OpRTableAdjust (   P)    (P)

Definition at line 475 of file qlyw.c.

◆ OrArgAdjust [1/2]

#define OrArgAdjust (   P)

Definition at line 446 of file qlyr.c.

◆ OrArgAdjust [2/2]

#define OrArgAdjust (   P)

Definition at line 403 of file qlyw.c.

◆ PropAdjust [1/2]

#define PropAdjust (   P)    (P)

Definition at line 567 of file qlyr.c.

◆ PropAdjust [2/2]

#define PropAdjust (   P)    (P)

Definition at line 477 of file qlyw.c.

◆ PtoArrayEAdjust [1/2]

#define PtoArrayEAdjust (   P)    (P)

Definition at line 537 of file qlyr.c.

◆ PtoArrayEAdjust [2/2]

#define PtoArrayEAdjust (   P)    (P)

Definition at line 462 of file qlyw.c.

◆ PtoArraySAdjust [1/2]

#define PtoArraySAdjust (   P)    (P)

Definition at line 538 of file qlyr.c.

◆ PtoArraySAdjust [2/2]

#define PtoArraySAdjust (   P)    (P)

Definition at line 463 of file qlyw.c.

◆ PtoAtomHashEntryAdjust [1/2]

#define PtoAtomHashEntryAdjust (   P)    (P)

Definition at line 505 of file qlyr.c.

◆ PtoAtomHashEntryAdjust [2/2]

#define PtoAtomHashEntryAdjust (   P)    (P)

Definition at line 438 of file qlyw.c.

◆ PtoDBTLAdjust [1/2]

#define PtoDBTLAdjust (   P)    (P)

Definition at line 563 of file qlyr.c.

◆ PtoDBTLAdjust [2/2]

#define PtoDBTLAdjust (   P)    (P)

Definition at line 473 of file qlyw.c.

◆ PtoDelayAdjust [1/2]

#define PtoDelayAdjust (   P)    (P)

Definition at line 540 of file qlyr.c.

◆ PtoDelayAdjust [2/2]

#define PtoDelayAdjust (   P)    (P)

Definition at line 465 of file qlyw.c.

◆ PtoGloAdjust [1/2]

#define PtoGloAdjust (   P)    (P)

Definition at line 541 of file qlyr.c.

◆ PtoGloAdjust [2/2]

#define PtoGloAdjust (   P)    (P)

Definition at line 466 of file qlyw.c.

◆ PtoGlobalEAdjust [1/2]

#define PtoGlobalEAdjust (   P)    (P)

Definition at line 539 of file qlyr.c.

◆ PtoGlobalEAdjust [2/2]

#define PtoGlobalEAdjust (   P)    (P)

Definition at line 464 of file qlyw.c.

◆ PtoHeapCellAdjust [1/2]

#define PtoHeapCellAdjust (   P)    PtoHeapCellAdjust__(P PASS_REGS)

Definition at line 544 of file qlyr.c.

◆ PtoHeapCellAdjust [2/2]

#define PtoHeapCellAdjust (   P)    (P)

Definition at line 468 of file qlyw.c.

◆ PtoLocAdjust [1/2]

#define PtoLocAdjust (   P)    (P)

Definition at line 542 of file qlyr.c.

◆ PtoLocAdjust [2/2]

#define PtoLocAdjust (   P)    (P)

Definition at line 467 of file qlyw.c.

◆ PtoLUCAdjust [1/2]

#define PtoLUCAdjust (   P)    PtoLUCAdjust__(P PASS_REGS)

Definition at line 530 of file qlyr.c.

◆ PtoLUCAdjust [2/2]

#define PtoLUCAdjust (   P)    (P)

Definition at line 460 of file qlyw.c.

◆ PtoLUClauseAdjust [1/2]

#define PtoLUClauseAdjust (   P)    PtoLUCAdjust__(P PASS_REGS)

Definition at line 531 of file qlyr.c.

◆ PtoLUClauseAdjust [2/2]

#define PtoLUClauseAdjust (   P)    (P)

Definition at line 471 of file qlyw.c.

◆ PtoLUIndexAdjust [1/2]

#define PtoLUIndexAdjust (   P)    (P)

Definition at line 562 of file qlyr.c.

◆ PtoLUIndexAdjust [2/2]

#define PtoLUIndexAdjust (   P)    (P)

Definition at line 472 of file qlyw.c.

◆ PtoOpAdjust [1/2]

#define PtoOpAdjust (   P)    PtoOpAdjust__(P PASS_REGS)

Definition at line 553 of file qlyr.c.

◆ PtoOpAdjust [2/2]

#define PtoOpAdjust (   P)    (P)

Definition at line 470 of file qlyw.c.

◆ PtoPtoPredAdjust [1/2]

#define PtoPtoPredAdjust (   P)    (P)

Definition at line 564 of file qlyr.c.

◆ PtoPtoPredAdjust [2/2]

#define PtoPtoPredAdjust (   P)    (P)

Definition at line 474 of file qlyw.c.

◆ PtoStCAdjust [1/2]

#define PtoStCAdjust (   P)    (P)

Definition at line 536 of file qlyr.c.

◆ PtoStCAdjust [2/2]

#define PtoStCAdjust (   P)    (P)

Definition at line 461 of file qlyw.c.

◆ QLYR_ERROR

#define QLYR_ERROR (   err)     QLYR_ERROR__(__FILE__, __FUNCTION__, __LINE__, err)

Definition at line 83 of file qlyr.c.

◆ RCHECK

#define RCHECK (   F)
Value:
if (!(F)) { \
QLYR_ERROR(MISMATCH); \
return; \
}

Definition at line 134 of file qly.h.

◆ recompute_mask [1/2]

#define recompute_mask (   dbr)

Definition at line 584 of file qlyr.c.

◆ recompute_mask [2/2]

#define recompute_mask (   dbr)

Definition at line 487 of file qlyw.c.

◆ rehash [1/2]

#define rehash (   oldcode,
  NOfE,
  KindOfEntries 
)

Definition at line 586 of file qlyr.c.

◆ rehash [2/2]

#define rehash (   oldcode,
  NOfE,
  KindOfEntries 
)

Definition at line 489 of file qlyw.c.

◆ REINIT_LOCK [1/2]

#define REINIT_LOCK (   P)

Definition at line 442 of file qlyr.c.

◆ REINIT_LOCK [2/2]

#define REINIT_LOCK (   P)

Definition at line 399 of file qlyw.c.

◆ REINIT_RWLOCK [1/2]

#define REINIT_RWLOCK (   P)

Definition at line 443 of file qlyr.c.

◆ REINIT_RWLOCK [2/2]

#define REINIT_RWLOCK (   P)

Definition at line 400 of file qlyw.c.

◆ RestoreSWIHash

#define RestoreSWIHash ( )

Definition at line 588 of file qlyr.c.

◆ SIndexAdjust [1/2]

#define SIndexAdjust (   P)    (P)

Definition at line 525 of file qlyr.c.

◆ SIndexAdjust [2/2]

#define SIndexAdjust (   P)    (P)

Definition at line 456 of file qlyw.c.

◆ STATIC_PRED_FLAGS

#define STATIC_PRED_FLAGS
Value:
(SourcePredFlag | DynamicPredFlag | LogUpdatePredFlag | CompiledPredFlag | \
MultiFileFlag | TabledPredFlag | MegaClausePredFlag | CountPredFlag | \
ProfiledPredFlag | ThreadLocalPredFlag | AtomDBPredFlag | \
ModuleTransparentPredFlag | NumberDBPredFlag | MetaPredFlag | \
SyncPredFlag | BackCPredFlag)

Definition at line 115 of file qly.h.

◆ SYSTEM_PRED_FLAGS

#define SYSTEM_PRED_FLAGS
Value:
(BackCPredFlag | UserCPredFlag | CArgsPredFlag | AsmPredFlag | CPredFlag | \
BinaryPredFlag)

Definition at line 124 of file qly.h.

◆ TabEntryAdjust [1/2]

#define TabEntryAdjust (   P)

Definition at line 447 of file qlyr.c.

◆ TabEntryAdjust [2/2]

#define TabEntryAdjust (   P)

Definition at line 404 of file qlyw.c.

◆ TermToGlobalAdjust [1/2]

#define TermToGlobalAdjust (   P)    (P)

Definition at line 552 of file qlyr.c.

◆ TermToGlobalAdjust [2/2]

#define TermToGlobalAdjust (   P)    (P)

Definition at line 469 of file qlyw.c.

◆ TrailAddrAdjust [1/2]

#define TrailAddrAdjust (   P)    (P)

Definition at line 568 of file qlyr.c.

◆ TrailAddrAdjust [2/2]

#define TrailAddrAdjust (   P)    (P)

Definition at line 478 of file qlyw.c.

◆ XAdjust [1/2]

#define XAdjust (   P)    (P)

Definition at line 479 of file qlyw.c.

◆ XAdjust [2/2]

#define XAdjust (   X)    (X)

Definition at line 575 of file qlyr.c.

◆ YAdjust [1/2]

#define YAdjust (   P)    (P)

Definition at line 480 of file qlyw.c.

◆ YAdjust [2/2]

#define YAdjust (   X)    (X)

Definition at line 577 of file qlyr.c.

◆ Yap_op_from_opcode

#define Yap_op_from_opcode (   OP)    OpcodeID(OP)

Definition at line 590 of file qlyr.c.

Enumeration Type Documentation

◆ qlf_tag_t

enum qlf_tag_t

Definition at line 95 of file qly.h.

◆ qlfr_err_t

enum qlfr_err_t

Definition at line 42 of file qlyr.c.

Function Documentation

◆ Yap_InitQLY()

void Yap_InitQLY ( void  )

Definition at line 921 of file qlyw.c.

◆ Yap_InitQLYR()

void Yap_InitQLYR ( void  )

Definition at line 1149 of file qlyr.c.

◆ Yap_Restore()

YAP_file_type_t Yap_Restore ( const char *  s)

Definition at line 1122 of file qlyr.c.

Macros

#define QLYR_ERROR(err)    QLYR_ERROR__(__FILE__, __FUNCTION__, __LINE__, err)
 
#define IsOldCode(P)   FALSE
 
#define IsOldCodeCellPtr(P)   FALSE
 
#define IsOldDelay(P)   FALSE
 
#define IsOldDelayPtr(P)   FALSE
 
#define IsOldLocalInTR(P)   FALSE
 
#define IsOldLocalInTRPtr(P)   FALSE
 
#define IsOldGlobal(P)   FALSE
 
#define IsOldGlobalPtr(P)   FALSE
 
#define IsOldTrail(P)   FALSE
 
#define IsOldTrailPtr(P)   FALSE
 
#define CharP(X)   ((char *)(X))
 
#define REINIT_LOCK(P)
 
#define REINIT_RWLOCK(P)
 
#define BlobTypeAdjust(P)   (P)
 
#define NoAGCAtomAdjust(P)   (P)
 
#define OrArgAdjust(P)
 
#define TabEntryAdjust(P)
 
#define IntegerAdjust(D)   (D)
 
#define AddrAdjust(P)   (P)
 
#define MFileAdjust(P)   (P)
 
#define CodeVarAdjust(P)   CodeVarAdjust__(P PASS_REGS)
 
#define ConstantAdjust(P)   (P)
 
#define ArityAdjust(P)   (P)
 
#define DoubleInCodeAdjust(P)
 
#define IntegerInCodeAdjust(Pxb)
 
#define ExternalFunctionAdjust(P)   (P)
 
#define DBRecordAdjust(P)   (P)
 
#define ModEntryPtrAdjust(P)   (P)
 
#define AtomEntryAdjust(P)   (P)
 
#define GlobalEntryAdjust(P)   (P)
 
#define BlobTermInCodeAdjust(P)   BlobTermInCodeAdjust__(P PASS_REGS)
 
#define DBTermAdjust(P)   DBTermAdjust__(P PASS_REGS)
 
#define CellPtoHeapAdjust(P)   CellPtoHeapAdjust__(P PASS_REGS)
 
#define PtoAtomHashEntryAdjust(P)   (P)
 
#define CellPtoHeapCellAdjust(P)   (P)
 
#define CellPtoTRAdjust(P)   (P)
 
#define CodeAddrAdjust(P)   (P)
 
#define ConsultObjAdjust(P)   (P)
 
#define DelayAddrAdjust(P)   (P)
 
#define DelayAdjust(P)   (P)
 
#define GlobalAdjust(P)   (P)
 
#define DBRefAdjust(P, Ref)   DBRefAdjust__(P, Ref PASS_REGS)
 
#define DBRefPAdjust(P)   DBRefPAdjust__(P PASS_REGS)
 
#define LUIndexAdjust(P)   (P)
 
#define SIndexAdjust(P)   (P)
 
#define LocalAddrAdjust(P)   (P)
 
#define GlobalAddrAdjust(P)   (P)
 
#define OpListAdjust(P)   (P)
 
#define PtoLUCAdjust(P)   PtoLUCAdjust__(P PASS_REGS)
 
#define PtoLUClauseAdjust(P)   PtoLUCAdjust__(P PASS_REGS)
 
#define PtoStCAdjust(P)   (P)
 
#define PtoArrayEAdjust(P)   (P)
 
#define PtoArraySAdjust(P)   (P)
 
#define PtoGlobalEAdjust(P)   (P)
 
#define PtoDelayAdjust(P)   (P)
 
#define PtoGloAdjust(P)   (P)
 
#define PtoLocAdjust(P)   (P)
 
#define PtoHeapCellAdjust(P)   PtoHeapCellAdjust__(P PASS_REGS)
 
#define TermToGlobalAdjust(P)   (P)
 
#define PtoOpAdjust(P)   PtoOpAdjust__(P PASS_REGS)
 
#define PtoLUIndexAdjust(P)   (P)
 
#define PtoDBTLAdjust(P)   (P)
 
#define PtoPtoPredAdjust(P)   (P)
 
#define OpRTableAdjust(P)   (P)
 
#define OpEntryAdjust(P)   (P)
 
#define PropAdjust(P)   (P)
 
#define TrailAddrAdjust(P)   (P)
 
#define XAdjust(X)   (X)
 
#define YAdjust(X)   (X)
 
#define HoldEntryAdjust(P)   (P)
 
#define CodeCharPAdjust(P)   (P)
 
#define CodeConstCharPAdjust(P)   (P)
 
#define CodeVoidPAdjust(P)   (P)
 
#define HaltHookAdjust(P)   (P)
 
#define recompute_mask(dbr)
 
#define rehash(oldcode, NOfE, KindOfEntries)
 
#define RestoreSWIHash()
 
#define Yap_op_from_opcode(OP)   OpcodeID(OP)
 
#define IsOldCode(P)   FALSE
 
#define IsOldCodeCellPtr(P)   FALSE
 
#define IsOldDelay(P)   FALSE
 
#define IsOldDelayPtr(P)   FALSE
 
#define IsOldLocalInTR(P)   FALSE
 
#define IsOldLocalInTRPtr(P)   FALSE
 
#define IsOldGlobal(P)   FALSE
 
#define IsOldGlobalPtr(P)   FALSE
 
#define IsOldTrail(P)   FALSE
 
#define IsOldTrailPtr(P)   FALSE
 
#define CharP(X)   ((char *)(X))
 
#define REINIT_LOCK(P)
 
#define REINIT_RWLOCK(P)
 
#define BlobTypeAdjust(P)   (P)
 
#define NoAGCAtomAdjust(P)   (P)
 
#define OrArgAdjust(P)
 
#define TabEntryAdjust(P)
 
#define IntegerAdjust(D)   (D)
 
#define AddrAdjust(P)   (P)
 
#define MFileAdjust(P)   (P)
 
#define CodeVarAdjust(P)   (P)
 
#define ConstantAdjust(P)   (P)
 
#define ArityAdjust(P)   (P)
 
#define DoubleInCodeAdjust(P)
 
#define IntegerInCodeAdjust(P)
 
#define OpcodeAdjust(P)   (P)
 
#define ExternalFunctionAdjust(P)   (P)
 
#define DBRecordAdjust(P)   (P)
 
#define ModEntryPtrAdjust(P)   (P)
 
#define AtomEntryAdjust(P)   (P)
 
#define GlobalEntryAdjust(P)   (P)
 
#define BlobTermInCodeAdjust(P)   (P)
 
#define CellPtoHeapAdjust(P)   (P)
 
#define PtoAtomHashEntryAdjust(P)   (P)
 
#define CellPtoHeapCellAdjust(P)   (P)
 
#define CellPtoTRAdjust(P)   (P)
 
#define CodeAddrAdjust(P)   (P)
 
#define ConsultObjAdjust(P)   (P)
 
#define DelayAddrAdjust(P)   (P)
 
#define DelayAdjust(P)   (P)
 
#define GlobalAdjust(P)   (P)
 
#define DBRefAdjust(P, DoRef)   DBRefAdjust__(P PASS_REGS)
 
#define DBRefPAdjust(P)   (P)
 
#define DBTermAdjust(P)   (P)
 
#define LUIndexAdjust(P)   (P)
 
#define SIndexAdjust(P)   (P)
 
#define LocalAddrAdjust(P)   (P)
 
#define GlobalAddrAdjust(P)   (P)
 
#define OpListAdjust(P)   (P)
 
#define PtoLUCAdjust(P)   (P)
 
#define PtoStCAdjust(P)   (P)
 
#define PtoArrayEAdjust(P)   (P)
 
#define PtoArraySAdjust(P)   (P)
 
#define PtoGlobalEAdjust(P)   (P)
 
#define PtoDelayAdjust(P)   (P)
 
#define PtoGloAdjust(P)   (P)
 
#define PtoLocAdjust(P)   (P)
 
#define PtoHeapCellAdjust(P)   (P)
 
#define TermToGlobalAdjust(P)   (P)
 
#define PtoOpAdjust(P)   (P)
 
#define PtoLUClauseAdjust(P)   (P)
 
#define PtoLUIndexAdjust(P)   (P)
 
#define PtoDBTLAdjust(P)   (P)
 
#define PtoPtoPredAdjust(P)   (P)
 
#define OpRTableAdjust(P)   (P)
 
#define OpEntryAdjust(P)   (P)
 
#define PropAdjust(P)   (P)
 
#define TrailAddrAdjust(P)   (P)
 
#define XAdjust(P)   (P)
 
#define YAdjust(P)   (P)
 
#define HoldEntryAdjust(P)   (P)
 
#define CodeCharPAdjust(P)   (P)
 
#define CodeConstCharPAdjust(P)   (P)
 
#define CodeVoidPAdjust(P)   (P)
 
#define HaltHookAdjust(P)   (P)
 
#define recompute_mask(dbr)
 
#define rehash(oldcode, NOfE, KindOfEntries)
 
#define EXPORT_ATOM_TABLE_SIZE   (16 * 4096)
 
#define EXPORT_FUNCTOR_TABLE_SIZE   (16 * 4096)
 
#define EXPORT_OPCODE_TABLE_SIZE   (4096)
 
#define EXPORT_PRED_ENTRY_TABLE_SIZE   (128)
 
#define EXPORT_DBREF_TABLE_SIZE   (128)
 
#define STATIC_PRED_FLAGS
 
#define EXTRA_PRED_FLAGS    (QuasiQuotationPredFlag | NoTracePredFlag | NoSpyPredFlag)
 
#define SYSTEM_PRED_FLAGS
 
#define CHECK(F)
 
#define RCHECK(F)
 
#define AllocTempSpace()   (HR)
 
#define EnoughTempSpace(sz)   ((ASP - HR) * sizeof(CELL) > sz)
 

Typedefs

typedef struct export_atom_hash_entry_struct export_atom_hash_entry_t
 
typedef struct import_atom_hash_entry_struct import_atom_hash_entry_t
 
typedef struct export_functor_hash_entry_struct export_functor_hash_entry_t
 
typedef struct import_functor_hash_entry_struct import_functor_hash_entry_t
 
typedef struct import_opcode_hash_entry_struct import_opcode_hash_entry_t
 
typedef struct export_pred_entry_hash_entry_struct export_pred_entry_hash_entry_t
 
typedef struct import_pred_entry_hash_entry_struct import_pred_entry_hash_entry_t
 
typedef struct export_dbref_hash_entry_struct export_dbref_hash_entry_t
 
typedef struct import_dbref_hash_entry_struct import_dbref_hash_entry_t
 

Enumerations

enum  qlfr_err_t {
  OUT_OF_TEMP_SPACE = 0 , OUT_OF_ATOM_SPACE = 1 , OUT_OF_CODE_SPACE = 2 , UNKNOWN_ATOM = 3 ,
  UNKNOWN_FUNCTOR = 4 , UNKNOWN_PRED_ENTRY = 5 , UNKNOWN_OPCODE = 6 , UNKNOWN_DBREF = 7 ,
  BAD_ATOM = 8 , MISMATCH = 9 , INCONSISTENT_CPRED = 10 , BAD_READ = 11 ,
  BAD_HEADER = 12
}
 
enum  qlf_tag_t {
  QLY_START_X = 0 , QLY_START_OPCODES = 1 , QLY_START_ATOMS = 2 , QLY_START_FUNCTORS = 3 ,
  QLY_START_PRED_ENTRIES = 4 , QLY_START_DBREFS = 5 , QLY_START_MODULE = 6 , QLY_END_MODULES = 7 ,
  QLY_START_LU_CLAUSE = 8 , QLY_END_LU_CLAUSES = 9 , QLY_NEW_OP = 10 , QLY_END_OPS = 11 ,
  QLY_START_PREDICATE = 12 , QLY_END_PREDICATES = 13 , QLY_FAILCODE = 15 , QLY_ATOM = 16 ,
  QLY_ATOM_BLOB = 14
}
 

Functions

YAP_file_type_t Yap_Restore (const char *s)
 
void Yap_InitQLYR (void)
 
void Yap_InitQLY (void)