Lines Matching refs:token
100 is a token which is an ML object. The token is simply a word
101 containing the index in the table. It is the token itself which
102 represents the entry within the ML world. The token is checked
106 also allows us to garbage-collect entries since if the token becomes
111 PolyObject *token; /* pointer into ML heap */
154 pTab->token = 0;
158 static PHANDLETAB get_handle(PolyWord token, HANDENTRYTYPE heType)
160 StreamToken *handle_token = (StreamToken*)token.AsObjPtr();
164 handleTable[handle_no].token != handle_token ||
179 handle_no < maxHandleTab && handleTable[handle_no].token != 0;
208 /* Clear the entry then set the token. */
210 handleTable[handle_no].token = DEREFWORDHANDLE(str_token);
369 the token. Doing this runs the risk of running out of handles.
1070 hnd->readToken = strm->token;
1078 hnd->writeToken = strm->token;
1139 /* Return a pair of the disposition and the token. */
1328 if (str->token != 0)
1337 PolyObject *token = str->readToken.AsObjPtr();
1338 process->ScanRuntimeAddress(&token, ScanAddress::STRENGTH_WEAK);
1339 str->readToken = token == 0 ? ClosedToken : token;
1343 PolyObject *token = str->writeToken.AsObjPtr();
1344 process->ScanRuntimeAddress(&token, ScanAddress::STRENGTH_WEAK);
1345 str->writeToken = token == 0 ? ClosedToken : token;
1348 process->ScanRuntimeAddress(&str->token, ScanAddress::STRENGTH_WEAK);
1350 if (str->token == 0 && str->entryType != HE_UNUSED)
1362 if (handleTable[i].token != 0)