Home
last modified time | relevance | path

Searched full:includes (Results 1 – 25 of 5778) sorted by relevance

12345678910>>...232

/third_party/node/test/parallel/
Dtest-buffer-includes.js12 assert(b.includes('a'));
13 assert(!b.includes('a', 1));
14 assert(!b.includes('a', -1));
15 assert(!b.includes('a', -4));
16 assert(b.includes('a', -b.length));
17 assert(b.includes('a', NaN));
18 assert(b.includes('a', -Infinity));
19 assert(!b.includes('a', Infinity));
20 assert(b.includes('bc'));
21 assert(!b.includes('bc', 2));
[all …]
Dtest-net-remote-address-port.js37 assert.ok(remoteAddrCandidates.includes(socket.remoteAddress));
38 assert.ok(remoteFamilyCandidates.includes(socket.remoteFamily));
45 assert.ok(remoteAddrCandidates.includes(socket.remoteAddress));
46 assert.ok(remoteFamilyCandidates.includes(socket.remoteFamily));
55 assert.ok(remoteAddrCandidates.includes(client.remoteAddress));
56 assert.ok(remoteFamilyCandidates.includes(client.remoteFamily));
61 assert.ok(remoteAddrCandidates.includes(client.remoteAddress));
62 assert.ok(remoteFamilyCandidates.includes(client.remoteFamily));
65 assert.ok(remoteAddrCandidates.includes(client2.remoteAddress));
66 assert.ok(remoteFamilyCandidates.includes(client2.remoteFamily));
[all …]
/third_party/typescript/tests/baselines/reference/
DstringIncludes.symbols2 var includes: boolean;
3 >includes : Symbol(includes, Decl(stringIncludes.ts, 0, 3))
5 includes = "abcde".includes("cd");
6 >includes : Symbol(includes, Decl(stringIncludes.ts, 0, 3))
7 >"abcde".includes : Symbol(String.includes, Decl(lib.es2015.core.d.ts, --, --))
8 >includes : Symbol(String.includes, Decl(lib.es2015.core.d.ts, --, --))
10 includes = "abcde".includes("cd", 2);
11 >includes : Symbol(includes, Decl(stringIncludes.ts, 0, 3))
12 >"abcde".includes : Symbol(String.includes, Decl(lib.es2015.core.d.ts, --, --))
13 >includes : Symbol(String.includes, Decl(lib.es2015.core.d.ts, --, --))
DstringIncludes.types2 var includes: boolean;
3 >includes : boolean
5 includes = "abcde".includes("cd");
6 >includes = "abcde".includes("cd") : boolean
7 >includes : boolean
8 >"abcde".includes("cd") : boolean
9 >"abcde".includes : (searchString: string, position?: number) => boolean
11 >includes : (searchString: string, position?: number) => boolean
14 includes = "abcde".includes("cd", 2);
15 >includes = "abcde".includes("cd", 2) : boolean
[all …]
DstringIncludes.js2 var includes: boolean; variable
3 includes = "abcde".includes("cd");
4 includes = "abcde".includes("cd", 2);
7 var includes; variable
8 includes = "abcde".includes("cd");
9 includes = "abcde".includes("cd", 2);
/third_party/jerryscript/tests/jerry/es2015/
Dstring-prototype-includes.js16 assert (x.includes ("Moggle"));
17 assert (x.includes ("Moggle Mog", 3));
18 assert (x.includes (""));
19 assert (x.includes ([]));
22 assert (y.includes ("Dragon") === false);
23 assert (y.includes ("Rage", 11) === false);
24 assert (y.includes ("Final", "Fantasy") === false);
25 assert (y.includes ("Hydaelyn", 30) === false);
26 assert (y.includes (undefined) === false);
28 assert(String.prototype.includes.call (5) === false);
[all …]
/third_party/typescript/src/lib/
Des2016.array.include.d.ts3 … * Determines whether an array includes a certain element, returning true or false as appropriate.
7 includes(searchElement: T, fromIndex?: number): boolean; method
12 … * Determines whether an array includes a certain element, returning true or false as appropriate.
16 includes(searchElement: T, fromIndex?: number): boolean; method
21 … * Determines whether an array includes a certain element, returning true or false as appropriate.
25 includes(searchElement: number, fromIndex?: number): boolean; method
30 … * Determines whether an array includes a certain element, returning true or false as appropriate.
34 includes(searchElement: number, fromIndex?: number): boolean; method
39 … * Determines whether an array includes a certain element, returning true or false as appropriate.
43 includes(searchElement: number, fromIndex?: number): boolean; method
[all …]
/third_party/node/deps/icu-small/source/common/
DBUILD34 # We need to add includes in order to preserve existing source files'
38 includes = ["."],
183 includes = ["."],
198 includes = ["."],
218 includes = ["."],
234 includes = ["."],
248 includes = ["."],
265 includes = ["."],
282 includes = ["."],
297 includes = ["."],
[all …]
/third_party/typescript_eslint/packages/eslint-plugin/docs/rules/
Dprefer-includes.md1 # Enforce `includes` method over `indexOf` method (`prefer-includes`)
6 ES2015 has added `String#includes` and ES2016 has added `Array#includes`.
7 It makes code more understandable if we use those `includes` methods for the purpose.
11 This rule is aimed at suggesting `includes` method if `indexOf` method was used to check whether an…
13 If the receiver object of the `indexOf` method call has `includes` method and the two methods have …
16 …itionally, this rule reports the tests of simple regular expressions in favor of `String#includes`.
27 includes(x: any): boolean;
48 includes(x: any): boolean;
52 includes(x: any): boolean;
55 str.includes(value);
[all …]
/third_party/openssl/test/recipes/
D90-test_includes.t17 ok(run(test(["conf_include_test", data_file("includes.cnf")])), "test directory includes");
18 ok(run(test(["conf_include_test", data_file("includes-file.cnf")])), "test file includes");
19 ok(run(test(["conf_include_test", data_file("includes-eq.cnf")])), "test includes with equal charac…
20 ok(run(test(["conf_include_test", data_file("includes-eq-ws.cnf")])), "test includes with equal and…
22 ok(run(test(["conf_include_test", data_file("vms-includes.cnf")])),
23 "test directory includes, VMS syntax");
24 ok(run(test(["conf_include_test", data_file("vms-includes-file.cnf")])),
25 "test file includes, VMS syntax");
27 ok(run(test(["conf_include_test", data_file("includes-broken.cnf"), "f"])), "test broken includes");
/third_party/typescript/lib/
Dlib.es2016.array.include.d.ts23 … * Determines whether an array includes a certain element, returning true or false as appropriate.
27 includes(searchElement: T, fromIndex?: number): boolean; method
32 … * Determines whether an array includes a certain element, returning true or false as appropriate.
36 includes(searchElement: T, fromIndex?: number): boolean; method
41 … * Determines whether an array includes a certain element, returning true or false as appropriate.
45 includes(searchElement: number, fromIndex?: number): boolean; method
50 … * Determines whether an array includes a certain element, returning true or false as appropriate.
54 includes(searchElement: number, fromIndex?: number): boolean; method
59 … * Determines whether an array includes a certain element, returning true or false as appropriate.
63 includes(searchElement: number, fromIndex?: number): boolean; method
[all …]
/third_party/typescript_eslint/packages/eslint-plugin/tests/rules/
Dprefer-includes.test.ts2 import rule from '../../src/rules/prefer-includes';
41 ruleTester.run('prefer-includes', rule, {
60 indexOf(x: any): number // don't have 'includes'
69 includes(x: any): boolean // different parameters
78 includes(x: any, fromIndex: number): boolean // different parameters
87 includes: boolean // different type
135 a.includes(b)
148 a.includes(b)
161 a.includes(b)
174 a.includes(b)
[all …]
/third_party/typescript/tests/cases/fourslash/server/
DjsdocTypedefTag.ts55 { marker: "numberLike", includes: ["charAt", "toExponential"] },
57 { marker: "person", includes: ["personName", "personAge"] },
58 { marker: "personName", includes: "charAt" },
59 { marker: "personAge", includes: "toExponential" },
61 { marker: "animal", includes: ["animalName", "animalAge"] },
62 { marker: "animalName", includes: "charAt" },
63 { marker: "animalAge", includes: "toExponential" },
65 { marker: "dog", includes: ["dogName", "dogAge"] },
66 { marker: "dogName", includes: "charAt" },
67 { marker: "dogAge", includes: "toExponential" },
[all …]
/third_party/boost/libs/compute/test/
Dtest_includes.cpp15 #include <boost/compute/algorithm/includes.hpp>
32 bool includes = bc::includes(set1.begin(), set1.begin() + 12, in BOOST_AUTO_TEST_CASE() local
34 BOOST_VERIFY(includes == true); in BOOST_AUTO_TEST_CASE()
37 includes = bc::includes(set1.begin(), set1.begin() + 12, in BOOST_AUTO_TEST_CASE()
39 BOOST_VERIFY(includes == false); in BOOST_AUTO_TEST_CASE()
50 bool includes = bc::includes(set1.begin(), set1.begin() + 12, in BOOST_AUTO_TEST_CASE() local
52 BOOST_VERIFY(includes == true); in BOOST_AUTO_TEST_CASE()
55 includes = bc::includes(set1.begin(), set1.begin() + 12, in BOOST_AUTO_TEST_CASE()
57 BOOST_VERIFY(includes == false); in BOOST_AUTO_TEST_CASE()
/third_party/flatbuffers/
Dbuild_defs.bzl21 "--no-includes",
33 includes = [],
50 includes: Optional, list of filegroups of schemas that the srcs depend on.
51 include_paths: Optional, list of paths the includes files can be found in.
89 srcs = srcs + includes,
117 srcs = srcs + includes,
139 includes = [],
153 filegroup into the `includes` parameter of any other
157 includes: Optional, list of filegroups of schemas that the srcs depend on.
159 include_paths: Optional, list of paths the includes files can be found in.
[all …]
/third_party/cJSON/tests/unity/examples/example_3/
Drakefile_helper.rb32 include_dirs = $cfg['compiler']['includes']['items'].dup
38 includes = []
42 includes << m[1] unless m.nil?
44 includes
78 includes = squash($cfg['compiler']['includes']['prefix'], $cfg['compiler']['includes']['items'])
79includes = includes.gsub(/\\ /, ' ').gsub(/\\\"/, '"').gsub(/\\$/, '') # Remove trailing slashes (…
81 { command: command, defines: defines, options: options, includes: includes }
86 …cmd_str = "#{compiler[:command]}#{compiler[:defines]}#{compiler[:options]}#{compiler[:includes]} …
100 includes = if $cfg['linker']['includes'].nil? || $cfg['linker']['includes']['items'].nil?
103 squash($cfg['linker']['includes']['prefix'], $cfg['linker']['includes']['items'])
[all …]
/third_party/unity/examples/example_3/
Drakefile_helper.rb31 include_dirs = $cfg['compiler']['includes']['items'].dup
37 includes = []
41 includes << m[1] unless m.nil?
43 includes
77 includes = squash($cfg['compiler']['includes']['prefix'], $cfg['compiler']['includes']['items'])
78includes = includes.gsub(/\\ /, ' ').gsub(/\\\"/, '"').gsub(/\\$/, '') # Remove trailing slashes (…
80 { command: command, defines: defines, options: options, includes: includes }
85 …cmd_str = "#{compiler[:command]}#{compiler[:defines]}#{compiler[:options]}#{compiler[:includes]} …
99 includes = if $cfg['linker']['includes'].nil? || $cfg['linker']['includes']['items'].nil?
102 squash($cfg['linker']['includes']['prefix'], $cfg['linker']['includes']['items'])
[all …]
/third_party/cJSON/tests/unity/test/
Drakefile_helper.rb42 include_dirs = $cfg['compiler']['includes']['items'].dup
48 includes = []
52 includes << m[1] unless m.nil?
54 includes
97 includes = squash($cfg['compiler']['includes']['prefix'], $cfg['compiler']['includes']['items'])
98includes = includes.gsub(/\\ /, ' ').gsub(/\\\"/, '"').gsub(/\\$/, '') # Remove trailing slashes (…
100 { :command => command, :defines => defines, :options => options, :includes => includes }
105 …cmd_str = "#{compiler[:command]}#{compiler[:defines]}#{compiler[:options]}#{compiler[:includes]} …
120 includes = if $cfg['linker']['includes'].nil? || $cfg['linker']['includes']['items'].nil?
123 squash($cfg['linker']['includes']['prefix'], $cfg['linker']['includes']['items'])
[all …]
/third_party/unity/extras/memory/
Drakefile_helper.rb66 includes = squash($cfg['compiler']['includes']['prefix'], $cfg['compiler']['includes']['items'])
67includes = includes.gsub(/\\ /, ' ').gsub(/\\\"/, '"').gsub(/\\$/, '') # Remove trailing slashes (…
69 { command: command, defines: defines, options: options, includes: includes }
74 unity_include = $cfg['compiler']['includes']['prefix'] + '../../src'
75 …cmd_str = "#{compiler[:command]}#{compiler[:defines]}#{compiler[:options]}#{compiler[:includes]} #…
89 includes = if $cfg['linker']['includes'].nil? || $cfg['linker']['includes']['items'].nil?
92 squash($cfg['linker']['includes']['prefix'], $cfg['linker']['includes']['items'])
95 { command: command, options: options, includes: includes }
100 cmd_str = "#{linker[:command]}#{linker[:options]}#{linker[:includes]} " +
/third_party/cJSON/tests/unity/extras/fixture/
Drakefile_helper.rb59 includes = squash($cfg['compiler']['includes']['prefix'], $cfg['compiler']['includes']['items'])
60includes = includes.gsub(/\\ /, ' ').gsub(/\\\"/, '"').gsub(/\\$/, '') # Remove trailing slashes (…
62 { command: command, defines: defines, options: options, includes: includes }
67 unity_include = $cfg['compiler']['includes']['prefix'] + '../../src'
68 …cmd_str = "#{compiler[:command]}#{compiler[:defines]}#{compiler[:options]}#{compiler[:includes]} #…
82 includes = if $cfg['linker']['includes'].nil? || $cfg['linker']['includes']['items'].nil?
85 squash($cfg['linker']['includes']['prefix'], $cfg['linker']['includes']['items'])
88 { command: command, options: options, includes: includes }
93 cmd_str = "#{linker[:command]}#{linker[:options]}#{linker[:includes]} " +
/third_party/unity/extras/fixture/
Drakefile_helper.rb61 includes = squash($cfg['compiler']['includes']['prefix'], $cfg['compiler']['includes']['items'])
62includes = includes.gsub(/\\ /, ' ').gsub(/\\\"/, '"').gsub(/\\$/, '') # Remove trailing slashes (…
64 { command: command, defines: defines, options: options, includes: includes }
69 unity_include = $cfg['compiler']['includes']['prefix'] + '../../src'
70 …cmd_str = "#{compiler[:command]}#{compiler[:defines]}#{compiler[:options]}#{compiler[:includes]} #…
84 includes = if $cfg['linker']['includes'].nil? || $cfg['linker']['includes']['items'].nil?
87 squash($cfg['linker']['includes']['prefix'], $cfg['linker']['includes']['items'])
90 { command: command, options: options, includes: includes }
95 cmd_str = "#{linker[:command]}#{linker[:options]}#{linker[:includes]} " +
/third_party/boost/libs/range/doc/html/range/reference/algorithms/set/
Dincludes.html4 <title>includes</title>
27 … name="range.reference.algorithms.set.includes"></a><a class="link" href="includes.html" title="in…
30 <a name="range.reference.algorithms.set.includes.h0"></a>
31 …ference.algorithms.set.includes.prototype"></a></span><a class="link" href="includes.html#range.re…
36 <span class="keyword">bool</span> <span class="identifier">includes</span><span class="special">(</…
43 <span class="keyword">bool</span> <span class="identifier">includes</span><span class="special">(</…
49 <a name="range.reference.algorithms.set.includes.h1"></a>
50 …erence.algorithms.set.includes.description"></a></span><a class="link" href="includes.html#range.r…
53 …<code class="computeroutput"><span class="identifier">includes</span></code> returns <code class="…
61 <a name="range.reference.algorithms.set.includes.h2"></a>
[all …]
/third_party/node/test/es-module/
Dtest-esm-cjs-load-error-note.mjs33 assert.ok(pExport1Stderr.includes(expectedNote),
46 assert.ok(pExport2Stderr.includes(expectedNote),
58 assert.ok(pImport1Stderr.includes(expectedNote),
72 assert.ok(!pImport2Stderr.includes(expectedNote),
84 assert.ok(pImport3Stderr.includes(expectedNote),
97 assert.ok(pImport4Stderr.includes(expectedNote),
110 assert.ok(!pImport5Stderr.includes(expectedNote),
122 assert.ok(pError1Stderr.includes('Error: some error'));
123 assert.ok(!pError1Stderr.includes(expectedNote),
135 assert.ok(pError2Stderr.includes('string'));
[all …]
/third_party/boost/tools/build/src/tools/
Drc.jam50 flags rc.compile.resource INCLUDES <include> ;
67 …"$(.RC)" -l 0x409 "-U$(UNDEFS)" "-D$(DEFINES)" -I"$(>:D)" -I"$(<:D)" -I"$(INCLUDES)" -fo "$(<)" "$…
72 "$(.RC)" "-U$(UNDEFS)" "-D$(DEFINES)" -I"$(>:D)" -I"$(<:D)" -I"$(INCLUDES)" -o "$(<)" -i "$(>)"
87 # Using 'register-c-compiler' adds the build directory to INCLUDES
98 rule __init__ ( includes * )
101 self.includes = $(includes) ;
115 # Icons and other includes may be referenced as
130 # need this extra information for angle includes, since they should not
141 INCLUDES $(target) : $(all) ;
143 SEARCH on $(angle) = $(self.includes:G=) ;
[all …]
/third_party/typescript/tests/cases/fourslash/
DquickInfoOnNarrowedTypeInModule.ts42 …{ marker: "1", includes: { name: "nonExportedStrOrNum", text: "var nonExportedStrOrNum: string | n…
43 …{ marker: "2", includes: { name: "nonExportedStrOrNum", text: "var nonExportedStrOrNum: number" },…
44 …{ marker: "3", includes: { name: "nonExportedStrOrNum", text: "var nonExportedStrOrNum: string" },…
45 …{ marker: "4", includes: { name: "exportedStrOrNum", text: "var exportedStrOrNum: string | number"…
46 …{ marker: "5", includes: { name: "exportedStrOrNum", text: "var exportedStrOrNum: number" }, isNew…
47 …{ marker: "6", includes: { name: "exportedStrOrNum", text: "var exportedStrOrNum: string" }, isNew…
48 …{ marker: "7", includes: { name: "exportedStrOrNum", text: "var m.exportedStrOrNum: string | numbe…
49 { marker: "8", includes: { name: "exportedStrOrNum", text: "var m.exportedStrOrNum: number" } },
50 { marker: "9", includes: { name: "exportedStrOrNum", text: "var m.exportedStrOrNum: string" } },

12345678910>>...232