Lines Matching refs:idx
578 const idx = host.indexOf(":");
579 if (idx === -1)
581 return host.substring(0, idx);
4628 const idx = input.indexOf(char, position.position);
4630 if (idx === -1) {
4634 position.position = idx;
5107 const idx = this[kState].findIndex((entry) => entry.name === name);
5108 if (idx === -1) {
5111 return this[kState][idx].value;
5137 const idx = this[kState].findIndex((entry2) => entry2.name === name);
5138 if (idx !== -1) {
5140 ...this[kState].slice(0, idx),
5142 ...this[kState].slice(idx + 1).filter((entry2) => entry2.name !== name)
7112 const idx = this[kClients].indexOf(client);
7113 if (idx !== -1) {
7114 this[kClients].splice(idx, 1);
7141 let idx = 0;
7142 while (idx < len) {
7143 const timer = fastTimers[idx];
7152 if (idx !== len - 1) {
7153 fastTimers[idx] = fastTimers.pop();
7159 idx += 1;
9206 const idx = hostname.indexOf("]");
9207 assert(idx !== -1);
9208 const ip = hostname.substring(1, idx);