dictionary.c

Include dependency graph for dictionary.c:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "4" [label="stdbool.h" tooltip="stdbool.h"]
    "18" [label="refc_binary.h" tooltip="refc_binary.h"]
    "20" [label="defaultatoms.h" tooltip="defaultatoms.h"]
    "22" [label="atom.h" tooltip="atom.h"]
    "1" [label="/__w/AtomVM/AtomVM/src/libAtomVM/dictionary.c" tooltip="/__w/AtomVM/AtomVM/src/libAtomVM/dictionary.c" fillcolor="#BFBFBF"]
    "13" [label="assert.h" tooltip="assert.h"]
    "2" [label="dictionary.h" tooltip="dictionary.h"]
    "16" [label="utils.h" tooltip="utils.h"]
    "25" [label="synclist.h" tooltip="synclist.h"]
    "3" [label="list.h" tooltip="list.h"]
    "6" [label="stdint.h" tooltip="stdint.h"]
    "8" [label="stdlib.h" tooltip="stdlib.h"]
    "10" [label="memory.h" tooltip="memory.h"]
    "19" [label="resources.h" tooltip="resources.h"]
    "5" [label="term.h" tooltip="term.h"]
    "17" [label="stddef.h" tooltip="stddef.h"]
    "11" [label="erl_nif.h" tooltip="erl_nif.h"]
    "14" [label="limits.h" tooltip="limits.h"]
    "23" [label="atom_table.h" tooltip="atom_table.h"]
    "9" [label="string.h" tooltip="string.h"]
    "12" [label="term_typedef.h" tooltip="term_typedef.h"]
    "21" [label="globalcontext.h" tooltip="globalcontext.h"]
    "26" [label="smp.h" tooltip="smp.h"]
    "28" [label="timer_list.h" tooltip="timer_list.h"]
    "27" [label="mailbox.h" tooltip="mailbox.h"]
    "7" [label="stdio.h" tooltip="stdio.h"]
    "24" [label="ets.h" tooltip="ets.h"]
    "15" [label="inttypes.h" tooltip="inttypes.h"]
    "18" -> "4" [dir=forward tooltip="include"]
    "18" -> "8" [dir=forward tooltip="include"]
    "18" -> "3" [dir=forward tooltip="include"]
    "18" -> "19" [dir=forward tooltip="include"]
    "20" -> "21" [dir=forward tooltip="include"]
    "22" -> "6" [dir=forward tooltip="include"]
    "22" -> "8" [dir=forward tooltip="include"]
    "1" -> "2" [dir=forward tooltip="include"]
    "1" -> "20" [dir=forward tooltip="include"]
    "1" -> "3" [dir=forward tooltip="include"]
    "1" -> "5" [dir=forward tooltip="include"]
    "1" -> "8" [dir=forward tooltip="include"]
    "2" -> "3" [dir=forward tooltip="include"]
    "2" -> "5" [dir=forward tooltip="include"]
    "16" -> "17" [dir=forward tooltip="include"]
    "16" -> "7" [dir=forward tooltip="include"]
    "16" -> "8" [dir=forward tooltip="include"]
    "25" -> "7" [dir=forward tooltip="include"]
    "25" -> "3" [dir=forward tooltip="include"]
    "25" -> "26" [dir=forward tooltip="include"]
    "3" -> "4" [dir=forward tooltip="include"]
    "10" -> "6" [dir=forward tooltip="include"]
    "10" -> "8" [dir=forward tooltip="include"]
    "10" -> "11" [dir=forward tooltip="include"]
    "10" -> "12" [dir=forward tooltip="include"]
    "10" -> "16" [dir=forward tooltip="include"]
    "19" -> "8" [dir=forward tooltip="include"]
    "19" -> "11" [dir=forward tooltip="include"]
    "19" -> "3" [dir=forward tooltip="include"]
    "19" -> "10" [dir=forward tooltip="include"]
    "5" -> "4" [dir=forward tooltip="include"]
    "5" -> "6" [dir=forward tooltip="include"]
    "5" -> "7" [dir=forward tooltip="include"]
    "5" -> "8" [dir=forward tooltip="include"]
    "5" -> "9" [dir=forward tooltip="include"]
    "5" -> "10" [dir=forward tooltip="include"]
    "5" -> "18" [dir=forward tooltip="include"]
    "5" -> "16" [dir=forward tooltip="include"]
    "5" -> "12" [dir=forward tooltip="include"]
    "11" -> "12" [dir=forward tooltip="include"]
    "23" -> "4" [dir=forward tooltip="include"]
    "23" -> "22" [dir=forward tooltip="include"]
    "12" -> "13" [dir=forward tooltip="include"]
    "12" -> "14" [dir=forward tooltip="include"]
    "12" -> "15" [dir=forward tooltip="include"]
    "12" -> "6" [dir=forward tooltip="include"]
    "21" -> "6" [dir=forward tooltip="include"]
    "21" -> "22" [dir=forward tooltip="include"]
    "21" -> "23" [dir=forward tooltip="include"]
    "21" -> "11" [dir=forward tooltip="include"]
    "21" -> "24" [dir=forward tooltip="include"]
    "21" -> "3" [dir=forward tooltip="include"]
    "21" -> "27" [dir=forward tooltip="include"]
    "21" -> "26" [dir=forward tooltip="include"]
    "21" -> "25" [dir=forward tooltip="include"]
    "21" -> "5" [dir=forward tooltip="include"]
    "21" -> "28" [dir=forward tooltip="include"]
    "26" -> "4" [dir=forward tooltip="include"]
    "28" -> "4" [dir=forward tooltip="include"]
    "28" -> "6" [dir=forward tooltip="include"]
    "28" -> "3" [dir=forward tooltip="include"]
    "27" -> "4" [dir=forward tooltip="include"]
    "27" -> "3" [dir=forward tooltip="include"]
    "27" -> "12" [dir=forward tooltip="include"]
    "27" -> "16" [dir=forward tooltip="include"]
    "24" -> "3" [dir=forward tooltip="include"]
    "24" -> "25" [dir=forward tooltip="include"]
    "24" -> "5" [dir=forward tooltip="include"]
}

Functions

static DictionaryFunctionResult dictionary_find(struct ListHead *dictionary, term key, struct DictEntry **found, GlobalContext *global)
DictionaryFunctionResult dictionary_put(struct ListHead *dict, term key, term value, term *old, GlobalContext *global)
DictionaryFunctionResult dictionary_get(struct ListHead *dict, term key, term *old, GlobalContext *global)
DictionaryFunctionResult dictionary_erase(struct ListHead *dict, term key, term *old, GlobalContext *global)
void dictionary_destroy(struct ListHead *dict)