Lines Matching refs:node
54 struct KlassNode *next; /* next node in this slot */
74 * Transfer a node (which represents klass) from the current
83 KlassNode *node;
85 /* Search the node list of the current table for klass */
86 for (nodePtr = head; node = *nodePtr, node != NULL; nodePtr = &(node->next)) {
87 if (isSameObject(env, klass, node->klass)) {
88 /* Match found transfer node */
91 *nodePtr = node->next;
94 node->next = *newHead;
95 *newHead = node;
128 KlassNode *node = oldTable[slot];
130 while (node != NULL) {
139 *sigSpot = node->signature;
141 /* Free weak ref and the node itself */
142 JNI_FUNC_PTR(env,DeleteWeakGlobalRef)(env, node->klass);
143 next = node->next;
144 jvmtiDeallocate(node);
146 node = next;
215 KlassNode *node;
220 for (node = *head; node != NULL; node = node->next) {
221 if (isSameObject(env, klass, node->klass)) {
228 node = jvmtiAllocate(sizeof(KlassNode));
229 if (node == NULL) {
232 error = classSignature(klass, &(node->signature), NULL);
234 jvmtiDeallocate(node);
237 if ((node->klass = JNI_FUNC_PTR(env,NewWeakGlobalRef)(env, klass)) == NULL) {
238 jvmtiDeallocate(node->signature);
239 jvmtiDeallocate(node);
243 /* Insert the new node */
244 node->next = *head;
245 *head = node;