Lines Matching refs:ptr
55 shl_t ptr = NULL; in dl_load() local
67 ptr = shl_load(filename, BIND_IMMEDIATE | in dl_load()
70 if (ptr == NULL) { in dl_load()
81 if (!sk_push(dso->meth_data, (char *)ptr)) { in dl_load()
94 if (ptr != NULL) in dl_load()
95 shl_unload(ptr); in dl_load()
101 shl_t ptr; in dl_unload() local
109 ptr = (shl_t) sk_pop(dso->meth_data); in dl_unload()
110 if (ptr == NULL) { in dl_unload()
115 sk_push(dso->meth_data, (char *)ptr); in dl_unload()
118 shl_unload(ptr); in dl_unload()
124 shl_t ptr; in dl_bind_func() local
135 ptr = (shl_t) sk_value(dso->meth_data, sk_num(dso->meth_data) - 1); in dl_bind_func()
136 if (ptr == NULL) { in dl_bind_func()
140 if (shl_findsym(&ptr, symname, TYPE_UNDEFINED, &sym) < 0) { in dl_bind_func()