Home
last modified time | relevance | path

Searched refs:startsWith (Results 1 - 25 of 423) sorted by relevance

12345678910>>...17

/third_party/jerryscript/tests/jerry/es2015/
H A 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 ("awesom
[all...]
/third_party/node/deps/cjs-module-lexer/
H A Dlexer.js112 if (source.startsWith('mport', pos + 1) && keywordStart(pos))
123 if (source.startsWith('interopRequireWildcard', pos + 1) && (keywordStart(pos) || source.charCodeAt(pos - 1) === 46/*.*/)) {
134 else if (source.startsWith('_export', pos + 1) && (keywordStart(pos) || source.charCodeAt(pos - 1) === 46/*.*/)) {
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('l
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/
H A 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()
H A 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("flag in add_bss()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/
H A 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()
H A 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("flag in add_bss()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/
H A 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("</rule in TestExtended()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
H A DRBBITestExtended.java159 if (testString.startsWith("<word>", charIdx-1)) { in TestExtended()
164 if (testString.startsWith("<char>", charIdx-1)) { in TestExtended()
169 if (testString.startsWith("<line>", charIdx-1)) { in TestExtended()
174 if (testString.startsWith("<sent>", charIdx-1)) { in TestExtended()
179 if (testString.startsWith("<title>", charIdx-1)) { in TestExtended()
184 if (testString.startsWith("<rules>", charIdx-1) || in TestExtended()
185 testString.startsWith("<badrules>", charIdx-1)) { in TestExtended()
193 if (testString.startsWith("<locale ", charIdx-1)) { in TestExtended()
205 if (testString.startsWith("<data>", charIdx-1)) { in TestExtended()
222 if (testString.startsWith("</rule in TestExtended()
[all...]
/third_party/lzma/Java/SevenZip/
H A DLzmaAlone.java34 if (s.startsWith("d")) in ParseSwitch()
39 else if (s.startsWith("fb")) in ParseSwitch()
44 else if (s.startsWith("a")) in ParseSwitch()
46 else if (s.startsWith("lc")) in ParseSwitch()
48 else if (s.startsWith("lp")) in ParseSwitch()
50 else if (s.startsWith("pb")) in ParseSwitch()
52 else if (s.startsWith("eos")) in ParseSwitch()
54 else if (s.startsWith("mf")) in ParseSwitch()
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
H A 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(" in CodeMangler()
[all...]
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/
H A 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/icu/icu4c/source/i18n/
H A 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()
H A Dstring_segment.h71 * <strong>Important:</strong> Most of the time, you should use {@link #startsWith}, which handles case
82 bool startsWith(UChar32 otherCp) const;
87 bool startsWith(const UnicodeSet& uniset) const;
93 bool startsWith(const UnicodeString& other) const;
/third_party/node/test/parallel/
H A Dtest-http-server-request-timeouts-mixed.js113 assert(request1.response.startsWith(responseOk));
114 assert(request2.response.startsWith(responseTimeout)); // It is expired due to headersTimeout
128 assert(request3.response.startsWith(responseTimeout)); // It is expired due to requestTimeout
129 assert(request4.response.startsWith(responseOk));
130 assert(request5.response.startsWith(responseTimeout)); // It is expired due to requestTimeout
/third_party/node/deps/icu-small/source/i18n/
H A 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()
H A Dstring_segment.h71 * <strong>Important:</strong> Most of the time, you should use {@link #startsWith}, which handles case
82 bool startsWith(UChar32 otherCp) const;
87 bool startsWith(const UnicodeSet& uniset) const;
93 bool startsWith(const UnicodeString& other) const;
/third_party/skia/third_party/externals/icu/source/i18n/
H A 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()
H A Dstring_segment.h71 * <strong>Important:</strong> Most of the time, you should use {@link #startsWith}, which handles case
82 bool startsWith(UChar32 otherCp) const;
87 bool startsWith(const UnicodeSet& uniset) const;
93 bool startsWith(const UnicodeString& other) const;
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
H A DTestUtil.java233 if (javaVendorProp.startsWith("ibm")) { in getJavaVendor()
235 } else if (javaVendorProp.startsWith("sun") || javaVendorProp.startsWith("oracle")) { in getJavaVendor()
252 if (javaRuntimeNameProp.startsWith("OpenJDK")) { in getJavaRuntimeName()
254 } else if (javaRuntimeNameProp.startsWith("Android")) { in getJavaRuntimeName()
265 if (verstr.startsWith("1.")) { in getJavaVersion()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/
H A 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/classes/core/src/com/ibm/icu/impl/number/parse/
H A 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/
H A 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/skia/modules/canvaskit/
H A Dcolor.js92 if (colorStr.startsWith('#')) {
115 } else if (colorStr.startsWith('rgba')) {
121 } else if (colorStr.startsWith('rgb')) {
128 } else if (colorStr.startsWith('gray(')) {
130 } else if (colorStr.startsWith('hsl')) {
/third_party/skia/third_party/externals/angle2/scripts/
H A Dvk_mandatory_format_support_capture_to_json.js21 if ($(this).text().startsWith("VK_FORMAT_FEATURE")) {
45 if (!$(this).text().startsWith("VK_FORMAT_FEATURE") &&
46 $(this).text().startsWith("VK_FORMAT")) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
H A DStringView.h90 if (!startsWith(C)) in consumeFront()
97 if (!startsWith(S)) in consumeFront()
103 bool startsWith(char C) const { return !empty() && *begin() == C; } in startsWith() function in StringView
105 bool startsWith(StringView Str) const { in startsWith() function in StringView

Completed in 11 milliseconds

12345678910>>...17