Home
last modified time | relevance | path

Searched refs:TAG_ATOM (Results 1 – 18 of 18) sorted by relevance

/dports/lang/swi-pl/swipl-8.2.3/packages/semweb/
H A Datom.h83 #define TAG_ATOM 0x00000005L macro
85 #define TAG_ATOM 0x00000004L macro
89 #define ID_ATOM(id) (((uintptr_t)(id)<<ATOM_ID_SHIFT)|TAG_ATOM)
/dports/lang/swi-pl/swipl-8.2.3/src/
H A Dpl-data.h135 #define TAG_ATOM 0x00000005L /* an atom */ macro
206 #define isAtom(w) (tagex(w) == (TAG_ATOM|STG_STATIC))
207 #define isFunctor(w) (tagex(w) == (TAG_ATOM|STG_GLOBAL))
330 TAG_ATOM|STG_GLOBAL)
H A Dpl-util.c165 if ( tagex(f) != (TAG_ATOM|STG_GLOBAL) ) in functorName()
180 { if ( tagex(key) == (TAG_ATOM|STG_GLOBAL) ) in keyName()
207 case TAG_ATOM: in keyName()
H A Dpl-variant.c263 { case TAG_ATOM: in isomorphic()
370 { case TAG_ATOM: in variant()
446 case TAG_ATOM: in is_variant_ptr()
H A Dpl-copyterm.c305 if ( tagex(*p) == (TAG_ATOM|STG_GLOBAL) ) in mark_for_copy()
527 case TAG_ATOM: in copy_term()
561 case TAG_ATOM: in do_copy_term()
H A Dpl-trie.c1174 DEBUG(0, assert((TAG_INTEGER&0x3) && (TAG_ATOM&0x3))); in intern_value()
1616 case TAG_ATOM|STG_GLOBAL: /* functor */ in unify_key()
1749 case TAG_ATOM: in unify_key()
2624 case TAG_ATOM: /* TBD: register */ in compile_trie_value()
2722 case TAG_ATOM|STG_GLOBAL: /* functor */ in compile_trie_node()
2796 case TAG_ATOM: in compile_trie_node()
H A Dpl-termhash.c87 case TAG_ATOM: in primitiveHashValue()
481 case TAG_ATOM: in variant_sha1()
H A Dpl-atom.c459 a->atom = (index<<LMASK_BITS)|TAG_ATOM; in reserveAtom()
482 a->atom = (index<<LMASK_BITS)|TAG_ATOM; in reserveAtom()
1531 a->atom = (index<<LMASK_BITS)|TAG_ATOM; in registerBuiltinAtoms()
H A Dpl-rec.c485 *p = (n<<7)|TAG_ATOM|STG_GLOBAL; in compile_term_to_heap()
503 *p = (n<<7)|TAG_ATOM|STG_GLOBAL; in compile_term_to_heap()
515 case TAG_ATOM: in compile_term_to_heap()
H A Dpl-pro.c751 if ( tag(f->definition) != TAG_ATOM || in check_data()
H A Dpl-prims.c321 { case TAG_ATOM: in do_unify()
427 { case TAG_ATOM:
1479 case TAG_ATOM: in termHashValue()
1771 case TAG_ATOM: in compare_primitives()
H A Dpl-incl.h2500 #define MK_ATOM(n) ((atom_t)((n)<<7|TAG_ATOM|STG_STATIC))
H A Dpl-arith.c950 case TAG_ATOM: in valueExpression()
1048 while ( tagex(*--p) == (TAG_ATOM|STG_GLOBAL) ) in valueExpression()
H A Dpl-index.c156 case TAG_ATOM: in indexOfWord()
H A Dpl-wic.c2163 assert(tag(w) == TAG_ATOM); /* Only functor_t and atom_t */ in savedXRConstant()
H A Dpl-gc.c348 } else if ( tagex(val) == (TAG_ATOM|STG_GLOBAL) ) in print_val()
H A Dpl-comp.c2279 case TAG_ATOM: in compileArgument()
H A Dpl-tabling.c2499 case TAG_ATOM: in indexOfWord()