Lines Matching defs:array
13 /* async_hook_fields is a Uint32Array wrapping the uint32_t array of
17 * async_id_fields is a Float64Array wrapping the double array of
62 array: [],
64 // the active_hooks.array isn't altered mid execution.
66 // Use to temporarily store and updated active_hooks.array if the user
70 // subsequent changes are on the duplicated array. When all hooks have
72 // active_hooks.array.
75 // async_hook_fields can't be reassigned, store each uint32 in an array that
76 // is written back to async_hook_fields when active_hooks.array is restored.
198 for (var i = 0; i < active_hooks.array.length; i++) {
199 if (typeof active_hooks.array[i][init_symbol] === 'function') {
200 active_hooks.array[i][init_symbol](
231 for (var i = 0; i < active_hooks.array.length; i++) {
232 if (typeof active_hooks.array[i][symbol] === 'function') {
233 active_hooks.array[i][symbol](asyncId);
266 return [active_hooks.array, async_hook_fields];
267 // If this hook is being enabled while in the middle of processing the array
278 active_hooks.tmp_array = ArrayPrototypeSlice(active_hooks.array);
294 // Then restore the correct hooks array in case any hooks were added/removed
297 active_hooks.array = active_hooks.tmp_array;