Lines Matching refs:buffer
103 // Default buffer limit for resource timing entries.
170 #buffer = [];
173 this.#buffer = ArrayPrototypeSort(entries, (first, second) => {
179 return ArrayPrototypeSlice(this.#buffer);
185 this.#buffer,
193 this.#buffer,
197 this.#buffer,
209 return `PerformanceObserverEntryList ${inspect(this.#buffer, opts)}`;
214 #buffer = [];
280 ArrayPrototypePushApply(this.#buffer, entries);
297 this.#buffer = [];
303 const list = this.#buffer;
304 this.#buffer = [];
315 ArrayPrototypePush(this.#buffer, entry);
338 buffer: this.#buffer,
358 * Add the user timing entry to the global buffer.
362 let buffer;
364 buffer = markEntryBuffer;
366 buffer = measureEntryBuffer;
371 ArrayPrototypePush(buffer, entry);
372 const count = buffer.length;
381 'performance entry buffer. Use ' +
383 'clear the buffer.');
392 * Add the resource timing entry to the global buffer if the buffer size is not
393 * exceeding the buffer limit, or dispatch a buffer full event on the global
411 // Calculate the number of items to be pushed to the global buffer.
436 // If the maxSize parameter is less than resource timing buffer current
438 // performance entry buffer.
481 bufferList = ArrayPrototypeFilter(bufferList, (buffer) => buffer.name === name);