Lines Matching refs:name

265             throw new ERR_INVALID_TUPLE('Each query pair', '[name, value]');
269 throw new ERR_INVALID_TUPLE('Each query pair', '[name, value]');
276 throw new ERR_INVALID_TUPLE('Each query pair', '[name, value]');
288 throw new ERR_INVALID_TUPLE('Each query pair', '[name, value]');
351 return `${this.constructor.name} {\n` +
354 return `${this.constructor.name} { ` +
357 return `${this.constructor.name} {}`;
366 append(name, value) {
371 throw new ERR_MISSING_ARGS('name', 'value');
374 name = toUSVString(name);
376 ArrayPrototypePush(this[searchParams], name, value);
382 delete(name, value = undefined) {
387 throw new ERR_MISSING_ARGS('name');
391 name = toUSVString(name);
396 if (list[i] === name && list[i + 1] === value) {
404 if (list[i] === name) {
416 get(name) {
421 throw new ERR_MISSING_ARGS('name');
425 name = toUSVString(name);
427 if (list[i] === name) {
434 getAll(name) {
439 throw new ERR_MISSING_ARGS('name');
444 name = toUSVString(name);
446 if (list[i] === name) {
453 has(name, value = undefined) {
458 throw new ERR_MISSING_ARGS('name');
462 name = toUSVString(name);
469 if (list[i] === name) {
479 set(name, value) {
484 throw new ERR_MISSING_ARGS('name', 'value');
488 name = toUSVString(name);
491 // If there are any name-value pairs whose name is `name`, in `list`, set
492 // the value of the first such name-value pair to `value` and remove the
497 if (cur === name) {
510 // Otherwise, append a new name-value pair whose name is `name` and value
513 ArrayPrototypePush(list, name, value);
568 // Define entries here rather than [Symbol.iterator] as the function name
711 return `${constructor.name} ${inspect(obj, opts)}`;
1217 // Mainly to mitigate func-name-matching ESLint rule
1313 const name = values[index];
1319 result = name;
1323 result = [name, value];