Lines Matching refs:packet
236 Scheduler.prototype.queue = function (packet) { argument
237 var t = this.blocks[packet.id];
240 packet.link = null;
241 packet.id = this.currentId;
242 return t.checkPriorityAdd(this.currentTcb, packet);
320 var packet;
322 packet = this.queue;
323 this.queue = packet.link;
330 packet = null;
332 return this.task.run(packet);
340 TaskControlBlock.prototype.checkPriorityAdd = function (task, packet) { argument
342 this.queue = packet;
346 this.queue = packet.addTo(this.queue);
369 IdleTask.prototype.run = function (packet) { argument
396 DeviceTask.prototype.run = function (packet) { argument
397 if (packet == null) {
403 this.v1 = packet;
425 WorkerTask.prototype.run = function (packet) { argument
426 if (packet == null) {
434 packet.id = this.v1;
435 packet.a1 = 0;
439 packet.a2[i] = this.v2;
441 return this.scheduler.queue(packet);
460 HandlerTask.prototype.run = function (packet) { argument
461 if (packet != null) {
462 if (packet.kind == KIND_WORK) {
463 this.v1 = packet.addTo(this.v1);
465 this.v2 = packet.addTo(this.v2);