Home
last modified time | relevance | path

Searched refs:searchString (Results 1 – 25 of 40) sorted by relevance

12

/third_party/node/deps/v8/src/builtins/
Dstring-replaceall.tq42 // a. Let isRegExp be ? IsRegExp(searchString).
67 // 4. Let searchString be ? ToString(searchValue).
68 const searchString = ToString_Inline(searchValue);
80 // 7. Let searchLength be the length of searchString.
81 const searchLength = searchString.length_smi;
90 // 10. Let position be ! StringIndexOf(string, searchString, 0).
93 // b. Let position be ! StringIndexOf(string, searchString,
100 let position = AbstractStringIndexOf(string, searchString, 0);
107 // « searchString, position,
111 searchString, position, string));
[all …]
Dstring-includes.tq14 const searchString: JSAny = arguments[0];
21 // 3. Let isRegExp be ? IsRegExp(searchString).
23 if (regexp::IsRegExp(searchString)) {
27 // 5. Let searchStr be ? ToString(searchString).
28 const searchStr = ToString_Inline(searchString);
Dstring-startswith.tq12 const searchString: JSAny = arguments[0];
20 // 3. Let isRegExp be ? IsRegExp(searchString).
22 if (regexp::IsRegExp(searchString)) {
26 // 5. Let searchStr be ? ToString(searchString).
27 const searchStr: String = ToString_Inline(searchString);
Dstring-endswith.tq44 const searchString: JSAny = arguments[0];
52 // 3. Let isRegExp be ? IsRegExp(searchString).
54 if (regexp::IsRegExp(searchString)) {
58 // 5. Let searchStr be ? ToString(searchString).
59 const searchStr: String = ToString_Inline(searchString);
Dstring-indexof.tq14 const searchString: JSAny = arguments[0];
21 // 3. Let searchStr be ? ToString(searchString).
22 const searchStr = ToString_Inline(searchString);
Dregexp-match.tq47 let searchString: String = EmptyStringConstant();
52 searchString = UnsafeCast<String>(data.objects[kAtomPatternIndex]);
67 match = searchString;
/third_party/typescript/tests/baselines/reference/
DstringIncludes.types9 >"abcde".includes : (searchString: string, position?: number) => boolean
11 >includes : (searchString: string, position?: number) => boolean
18 >"abcde".includes : (searchString: string, position?: number) => boolean
20 >includes : (searchString: string, position?: number) => boolean
DassignFromStringInterface2.types26 indexOf(searchString: string, position?: number): number;
27 >indexOf : (searchString: string, position?: number) => number
28 >searchString : string
31 lastIndexOf(searchString: string, position?: number): number;
32 >lastIndexOf : (searchString: string, position?: number) => number
33 >searchString : string
DstringLiteralTypeIsSubtypeOfString.js48 indexOf(searchString: string, position?: number): number { return null; }
49 lastIndexOf(searchString: string, position?: number): number { return null; }
128 C.prototype.indexOf = function (searchString, position) { return null; }; argument
129 C.prototype.lastIndexOf = function (searchString, position) { return null; }; argument
DtemplateStringWithPropertyAccessES6.types4 >`abc${0}abc`.indexOf : (searchString: string, position?: number) => number
7 >indexOf : (searchString: string, position?: number) => number
DtemplateStringWithPropertyAccess.types4 >`abc${0}abc`.indexOf : (searchString: string, position?: number) => number
7 >indexOf : (searchString: string, position?: number) => number
DassignFromStringInterface2.symbols30 indexOf(searchString: string, position?: number): number;
32 >searchString : Symbol(searchString, Decl(assignFromStringInterface2.ts, 10, 12))
35 lastIndexOf(searchString: string, position?: number): number;
37 >searchString : Symbol(searchString, Decl(assignFromStringInterface2.ts, 11, 16))
DstringLiteralTypeIsSubtypeOfString.types137 indexOf(searchString: string, position?: number): number { return null; }
138 >indexOf : (searchString: string, position?: number) => number
139 >searchString : string
143 lastIndexOf(searchString: string, position?: number): number { return null; }
144 >lastIndexOf : (searchString: string, position?: number) => number
145 >searchString : string
DassignFromStringInterface2.js12 indexOf(searchString: string, position?: number): number;
13 lastIndexOf(searchString: string, position?: number): number;
DassignFromStringInterface2.errors.txt17 indexOf(searchString: string, position?: number): number;
18 lastIndexOf(searchString: string, position?: number): number;
DstringLiteralTypeIsSubtypeOfString.symbols137 indexOf(searchString: string, position?: number): number { return null; }
139 >searchString : Symbol(searchString, Decl(stringLiteralTypeIsSubtypeOfString.ts, 46, 12))
142 lastIndexOf(searchString: string, position?: number): number { return null; }
144 >searchString : Symbol(searchString, Decl(stringLiteralTypeIsSubtypeOfString.ts, 47, 16))
/third_party/typescript/lib/
Dlib.es2015.core.d.ts417 includes(searchString: string, position?: number): boolean;
424 endsWith(searchString: string, endPosition?: number): boolean;
454 startsWith(searchString: string, position?: number): boolean;
/third_party/typescript/src/lib/
Des2015.core.d.ts397 includes(searchString: string, position?: number): boolean;
404 endsWith(searchString: string, endPosition?: number): boolean;
434 startsWith(searchString: string, position?: number): boolean;
/third_party/typescript/tests/cases/conformance/types/primitives/string/
DassignFromStringInterface2.ts11 indexOf(searchString: string, position?: number): number;
12 lastIndexOf(searchString: string, position?: number): number;
/third_party/node/deps/v8/src/objects/
Dstring.tq371 string: String, searchString: String, fromIndex: Smi): Smi {
373 const searchStringLength = searchString.length_intptr;
379 // Don't bother to search if the searchString would go past the end
387 string, searchString, AbstractStringIndexOfFunctor{fromIndex: fromIndex});
391 s: String, searchString: String, start: Smi): Smi {
392 return AbstractStringIndexOf(s, searchString, SmiMax(start, 0));
/third_party/typescript/tests/cases/conformance/types/typeRelationships/subtypesAndSuperTypes/
DstringLiteralTypeIsSubtypeOfString.ts47 indexOf(searchString: string, position?: number): number { return null; }
48 lastIndexOf(searchString: string, position?: number): number { return null; }
/third_party/node/deps/npm/node_modules/columnify/
Dindex.js279 function endsWith(target, searchString, position) { argument
281 position = position - searchString.length;
282 let lastIndex = target.lastIndexOf(searchString);
Dcolumnify.js288 function endsWith(target, searchString, position) { argument
290 position = position - searchString.length;
291 var lastIndex = target.lastIndexOf(searchString);
/third_party/libwebsockets/test-apps/
Dtest.js40 this.browser = this.searchString(this.dataBrowser) ||
45 this.OS = this.searchString(this.dataOS) || "an unknown OS";
47 searchString: function (data) { method
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-demos/mount-origin/
Dtest.js40 this.browser = this.searchString(this.dataBrowser) ||
45 this.OS = this.searchString(this.dataOS) || "an unknown OS";
47 searchString: function (data) { method

12