Lines Matching refs:token
174 For each stream a single word token is made containing the file
178 address of the token. This also prevents streams other than stdin
304 str->token = TAGGED(0);
323 if (basic_io_vector[stream_no].token != stream_token)
337 // Find a free entry in the stream vector and return a token for it.
344 stream_no < max_streams && basic_io_vector[stream_no].token != ClosedToken;
359 basic_io_vector[i].token = ClosedToken;
362 // Create the token. This must be mutable not because it will be updated but
371 /* Clear the entry then set the token. */
373 basic_io_vector[stream_no].token = str_token->Word();
397 basic_io_vector[stream_no].token = ClosedToken;
485 if (strm != NULL && strm->token.IsTagged()) strm = NULL; // Backwards compatibility for stdin etc.
1487 return SAVE(basic_io_vector[0].token);
1489 return SAVE(basic_io_vector[1].token);
1491 return SAVE(basic_io_vector[2].token);
1627 if (str->token != ClosedToken && str->device.ioDesc == ioDesc)
1628 return taskData->saveVec.push(str->token);
1871 case 69: /* Return an index for a token. */
1952 basic_io_vector[i].token = ClosedToken;
1957 basic_io_vector[0].token = TAGGED(0);
1970 basic_io_vector[1].token = TAGGED(1);
1977 basic_io_vector[2].token = TAGGED(2);
2013 if (str->token.IsDataPtr())
2015 PolyObject *token = str->token.AsObjPtr();
2016 process->ScanRuntimeAddress(&token, ScanAddress::STRENGTH_WEAK);
2019 if (token == 0 && isOpen(str))
2021 str->token = token == 0 ? ClosedToken : token;