Home
last modified time | relevance | path

Searched refs:startsWith (Results 1 – 25 of 669) sorted by relevance

12345678910>>...27

/third_party/jerryscript/tests/jerry/es2015/
Dstring-prototype-startswith.js16 assert (x.startsWith ("My"));
17 assert (x.startsWith ("cat", 3));
18 assert (x.startsWith ("awesome", 10));
19 assert (x.startsWith (""));
20 assert (x.startsWith ("", 1));
21 assert (x.startsWith ("", 17));
22 assert (x.startsWith ([]));
24 assert (x.startsWith ("doggo") === false);
25 assert (x.startsWith ("awesome", 2) === false);
26 assert (x.startsWith ("awesome", "oi") === false);
[all …]
/third_party/node/deps/cjs-module-lexer/
Dlexer.js112 if (source.startsWith('mport', pos + 1) && keywordStart(pos))
123 …if (source.startsWith('interopRequireWildcard', pos + 1) && (keywordStart(pos) || source.charCodeA…
134 …else if (source.startsWith('_export', pos + 1) && (keywordStart(pos) || source.charCodeAt(pos - 1)…
136 if (source.startsWith('Star', pos))
151 if (source.startsWith('xport', pos + 1) && keywordStart(pos)) {
159 …if (keywordStart(pos) && source.startsWith('lass', pos + 1) && isBrOrWs(source.charCodeAt(pos + 5)…
163 if (source.startsWith('odule', pos + 1) && keywordStart(pos))
167 if (source.startsWith('bject', pos + 1) && keywordStart(pos))
275 if (!source.startsWith('va', bPos - 2))
279 if (!source.startsWith('le', bPos - 2) && !source.startsWith('cons', bPos - 4))
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/
Dscanresults.cpp75 if (bss.isEmpty() || bss.startsWith("FAIL")) in updateResults()
87 if ((*it).startsWith("bssid=")) in updateResults()
89 else if ((*it).startsWith("freq=")) in updateResults()
91 else if ((*it).startsWith("level=")) in updateResults()
93 else if ((*it).startsWith("flags=")) in updateResults()
95 else if ((*it).startsWith("ssid=")) in updateResults()
Dpeers.cpp415 if ((*it).startsWith("wpsDeviceName=")) in add_station()
417 else if ((*it).startsWith("p2p_device_name=")) in add_station()
530 if (str.startsWith("dev_name='")) in add_p2p_group_client()
532 else if (str.startsWith("config_methods=")) in add_p2p_group_client()
535 else if (str.startsWith("dev=")) in add_p2p_group_client()
537 else if (str.startsWith("dev_type=") && dev_type.isEmpty()) in add_p2p_group_client()
588 if (bss.isEmpty() || bss.startsWith("FAIL")) in add_bss()
601 if ((*it).startsWith("bssid=")) in add_bss()
603 else if ((*it).startsWith("id=")) in add_bss()
605 else if ((*it).startsWith("flags=")) in add_bss()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/
Dscanresults.cpp75 if (bss.isEmpty() || bss.startsWith("FAIL")) in updateResults()
87 if ((*it).startsWith("bssid=")) in updateResults()
89 else if ((*it).startsWith("freq=")) in updateResults()
91 else if ((*it).startsWith("level=")) in updateResults()
93 else if ((*it).startsWith("flags=")) in updateResults()
95 else if ((*it).startsWith("ssid=")) in updateResults()
Dpeers.cpp415 if ((*it).startsWith("wpsDeviceName=")) in add_station()
417 else if ((*it).startsWith("p2p_device_name=")) in add_station()
528 if (str.startsWith("dev_name='")) in add_p2p_group_client()
530 else if (str.startsWith("config_methods=")) in add_p2p_group_client()
533 else if (str.startsWith("dev=")) in add_p2p_group_client()
535 else if (str.startsWith("dev_type=") && dev_type.isEmpty()) in add_p2p_group_client()
586 if (bss.isEmpty() || bss.startsWith("FAIL")) in add_bss()
599 if ((*it).startsWith("bssid=")) in add_bss()
601 else if ((*it).startsWith("id=")) in add_bss()
603 else if ((*it).startsWith("flags=")) in add_bss()
[all …]
/third_party/node/test/fixtures/wpt/FileAPI/url/
Durl-format.any.js21 assert_true(url.startsWith('blob:'));
27 assert_true(url.startsWith('blob:'));
35 assert_true(url.startsWith('blob:' + location.protocol));
53 assert_true(url.startsWith('blob:' + location.protocol));
62 assert_true(url.startsWith('blob:' + location.protocol));
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/
DRBBITestExtended.java158 if (testString.startsWith("<word>", charIdx-1)) { in TestExtended()
163 if (testString.startsWith("<char>", charIdx-1)) { in TestExtended()
168 if (testString.startsWith("<line>", charIdx-1)) { in TestExtended()
173 if (testString.startsWith("<sent>", charIdx-1)) { in TestExtended()
178 if (testString.startsWith("<title>", charIdx-1)) { in TestExtended()
183 if (testString.startsWith("<rules>", charIdx-1) || in TestExtended()
184 testString.startsWith("<badrules>", charIdx-1)) { in TestExtended()
192 if (testString.startsWith("<locale ", charIdx-1)) { in TestExtended()
204 if (testString.startsWith("<data>", charIdx-1)) { in TestExtended()
221 if (testString.startsWith("</rules>", charIdx-1)) { in TestExtended()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITestExtended.java155 if (testString.startsWith("<word>", charIdx-1)) { in TestExtended()
160 if (testString.startsWith("<char>", charIdx-1)) { in TestExtended()
165 if (testString.startsWith("<line>", charIdx-1)) { in TestExtended()
170 if (testString.startsWith("<sent>", charIdx-1)) { in TestExtended()
175 if (testString.startsWith("<title>", charIdx-1)) { in TestExtended()
180 if (testString.startsWith("<rules>", charIdx-1) || in TestExtended()
181 testString.startsWith("<badrules>", charIdx-1)) { in TestExtended()
189 if (testString.startsWith("<locale ", charIdx-1)) { in TestExtended()
201 if (testString.startsWith("<data>", charIdx-1)) { in TestExtended()
218 if (testString.startsWith("</rules>", charIdx-1)) { in TestExtended()
[all …]
/third_party/jsframework/mock-generate/src/generate/
DgenerateMockJsFile.ts57 …if (!fileName.startsWith('system_') && !value.exportModifiers.includes(SyntaxKind.DefaultKeyword))…
85 …eclarations.length === 0 && (fileName.startsWith('ohos_') || fileName.startsWith('system_') || fil…
96 if (fileName.startsWith('system_')) {
114 if (!fileName.startsWith('webgl')) {
183 if (!tmpImportPath.startsWith('./') && !tmpImportPath.startsWith('../')) {
DgenerateCommonUtil.ts39 if (returnType.returnKindName.startsWith('Promise')) {
49 } else if (returnType.returnKindName.startsWith('Array')) {
55 } else if (returnType.returnKindName.startsWith('Readonly')) {
59 } else if (returnType.returnKindName.startsWith('Uint8Array')) {
61 } else if (returnType.returnKindName.startsWith('IterableIterator')) {
109 if (tmpReturn.startsWith('Array')) {
/third_party/flutter/flutter/dev/devicelab/bin/tasks/
Drun_release_test.dart55 if (stdout.first.startsWith('Building flutter tool...'))
57 if (stdout.first.startsWith('Running "flutter pub get" in ui...'))
59 if (stdout.first.startsWith('Initializing gradle...'))
66 if (stdout.first.startsWith('Resolving dependencies...'))
68 …if (!(stdout.first.startsWith('Launching lib/main.dart on ') && stdout.first.endsWith(' in release…
71 if (!stdout.first.startsWith('Running Gradle task \'assembleRelease\'...'))
74 …if (!(stdout.first.startsWith('Built build/app/outputs/apk/release/app-release.apk (') && stdout.f…
77 if (stdout.first.startsWith('Installing build/app/outputs/apk/app.apk...'))
/third_party/flutter/skia/modules/canvaskit/htmlcanvas/
Dcolor.js44 if (colorStr.startsWith('#')) {
67 } else if (colorStr.startsWith('rgba')) {
73 } else if (colorStr.startsWith('rgb')) {
80 } else if (colorStr.startsWith('gray(')) {
82 } else if (colorStr.startsWith('hsl')) {
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumparse_scientific.cpp78 if (segment.startsWith(minusSignSet())) { in match()
81 } else if (segment.startsWith(plusSignSet())) { in match()
83 } else if (segment.startsWith(fCustomMinusSign)) { in match()
93 } else if (segment.startsWith(fCustomPlusSign)) { in match()
130 return segment.startsWith(fExponentSeparatorString); in smokeTest()
/third_party/node/deps/npm/node_modules/node-gyp/test/
Dprocess-exec-sync.js6 function startsWith (str, search, pos) { function
7 if (String.prototype.startsWith) {
8 return str.startsWith(search, pos)
126 if (startsWith(tmpVar, 'linux')) {
129 if (startsWith(tmpVar, 'win')) {
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/
DRbPathTest.java59 assertThat(p).startsWith(p).isTrue(); in testStartsWith()
60 assertThat(p).startsWith(RbPath.of()).isTrue(); in testStartsWith()
62 assertThat(p).startsWith(p.getParent()).isTrue(); in testStartsWith()
63 assertThat(p).startsWith(RbPath.of("foo")).isTrue(); in testStartsWith()
64 assertThat(p).startsWith(RbPath.of("bar")).isFalse(); in testStartsWith()
65 assertThat(p).startsWith(RbPath.of("foo/bar/baz")).isFalse(); in testStartsWith()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumparse_scientific.cpp90 if (segment.startsWith(minusSignSet())) { in match()
93 } else if (segment.startsWith(plusSignSet())) { in match()
95 } else if (segment.startsWith(fCustomMinusSign)) { in match()
104 } else if (segment.startsWith(fCustomPlusSign)) { in match()
155 return segment.startsWith(fExponentSeparatorString); in smokeTest()
/third_party/icu/icu4c/source/i18n/
Dnumparse_scientific.cpp90 if (segment.startsWith(minusSignSet())) { in match()
93 } else if (segment.startsWith(plusSignSet())) { in match()
95 } else if (segment.startsWith(fCustomMinusSign)) { in match()
104 } else if (segment.startsWith(fCustomPlusSign)) { in match()
155 return segment.startsWith(fExponentSeparatorString); in smokeTest()
/third_party/node/deps/icu-small/source/i18n/
Dnumparse_scientific.cpp90 if (segment.startsWith(minusSignSet())) { in match()
93 } else if (segment.startsWith(plusSignSet())) { in match()
95 } else if (segment.startsWith(fCustomMinusSign)) { in match()
104 } else if (segment.startsWith(fCustomPlusSign)) { in match()
155 return segment.startsWith(fExponentSeparatorString); in smokeTest()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/
DTestUtil.java234 if (javaVendorProp.startsWith("ibm")) { in getJavaVendor()
236 } else if (javaVendorProp.startsWith("sun") || javaVendorProp.startsWith("oracle")) { in getJavaVendor()
253 if (javaRuntimeNameProp.startsWith("OpenJDK")) { in getJavaRuntimeName()
255 } else if (javaRuntimeNameProp.startsWith("Android")) { in getJavaRuntimeName()
266 if (verstr.startsWith("1.")) { in getJavaVersion()
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DTestUtil.java229 if (javaVendorProp.startsWith("ibm")) { in getJavaVendor()
231 } else if (javaVendorProp.startsWith("sun") || javaVendorProp.startsWith("oracle")) { in getJavaVendor()
248 if (javaRuntimeNameProp.startsWith("OpenJDK")) { in getJavaRuntimeName()
250 } else if (javaRuntimeNameProp.startsWith("Android")) { in getJavaRuntimeName()
261 if (verstr.startsWith("1.")) { in getJavaVersion()
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DCodeMangler.java101 if (arg.startsWith("-in")) { in CodeMangler()
103 } else if (arg.startsWith("-out")) { in CodeMangler()
105 } else if (arg.startsWith("-d")) { in CodeMangler()
117 } else if (arg.startsWith("-s")) { in CodeMangler()
119 } else if (arg.startsWith("-r")) { in CodeMangler()
121 } else if (arg.startsWith("-f")) { in CodeMangler()
123 } else if (arg.startsWith("-c")) { in CodeMangler()
125 } else if (arg.startsWith("-t")) { in CodeMangler()
127 } else if (arg.startsWith("-h")) { in CodeMangler()
130 } else if (arg.startsWith("-v")) { in CodeMangler()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DScientificMatcher.java85 if (segment.startsWith(minusSignSet())) { in match()
88 } else if (segment.startsWith(plusSignSet())) { in match()
90 } else if (segment.startsWith(customMinusSign)) { in match()
99 } else if (segment.startsWith(customPlusSign)) { in match()
154 return segment.startsWith(exponentSeparatorString); in smokeTest()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/parse/
DScientificMatcher.java89 if (segment.startsWith(minusSignSet())) { in match()
92 } else if (segment.startsWith(plusSignSet())) { in match()
94 } else if (segment.startsWith(customMinusSign)) { in match()
103 } else if (segment.startsWith(customPlusSign)) { in match()
158 return segment.startsWith(exponentSeparatorString); in smokeTest()
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/
Dforbidden_imports_test.dart26 if (line.startsWith(RegExp(r'import.*dart:io')) &&
46 if (line.startsWith(RegExp(r'import.*package:path/path.dart')) &&
70 if (line.startsWith(RegExp(r'import.*dart:convert')) &&
96 … if (line.startsWith(RegExp(r'import.*package:build_runner_core/build_runner_core.dart')) ||
97 line.startsWith(RegExp(r'import.*package:build_runner/build_runner.dart')) ||
98 line.startsWith(RegExp(r'import.*package:build_config/build_config.dart')) ||
99 line.startsWith(RegExp(r'import.*build_runner/.*.dart'))) {

12345678910>>...27