/external/chromium_org/v8/test/webkit/ |
D | regexp-zero-length-alternatives-expected.txt | 24 Test regular expression processing with alternatives that match consuming no characters 29 PASS emptyStr.match(re1) is [""] 30 PASS s1.match(re1) is [""] 31 PASS s2.match(re1) is ["aaaa"] 32 PASS s3.match(re1) is ["aa"] 33 PASS emptyStr.match(re2) is [""] 34 PASS s1.match(re2) is [""] 35 PASS s2.match(re2) is ["aaaa"] 36 PASS s3.match(re2) is ["aa"] 37 PASS emptyStr.match(re3) is [""] [all …]
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/tests/ |
D | sse5-err.errwarn | 1 -:1: error: one of source operand 1 or 3 must match dest operand 2 -:2: error: one of source operand 1 or 3 must match dest operand 3 -:3: error: one of source operand 1 or 3 must match dest operand 4 -:5: error: one of source operand 1 or 3 must match dest operand 5 -:6: error: one of source operand 1 or 3 must match dest operand 6 -:7: error: one of source operand 1 or 3 must match dest operand 7 -:9: error: one of source operand 1 or 3 must match dest operand 8 -:10: error: one of source operand 1 or 3 must match dest operand 9 -:11: error: one of source operand 1 or 3 must match dest operand 10 -:13: error: one of source operand 1 or 3 must match dest operand [all …]
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
D | ucsdetst.c | 127 const UCharsetMatch *match; in TestUTF8() local 139 match = ucsdet_detect(csd, &status); in TestUTF8() 141 if (match == NULL) { in TestUTF8() 146 dLength = ucsdet_getUChars(match, detected, sLength, &status); in TestUTF8() 173 const UCharsetMatch *match; in TestUTF16() local 178 match = ucsdet_detect(csd, &status); in TestUTF16() 180 if (match == NULL) { in TestUTF16() 185 name = ucsdet_getName(match, &status); in TestUTF16() 186 conf = ucsdet_getConfidence(match, &status); in TestUTF16() 198 match = ucsdet_detect(csd, &status); in TestUTF16() [all …]
|
/external/icu4c/test/cintltst/ |
D | ucsdetst.c | 127 const UCharsetMatch *match; in TestUTF8() local 139 match = ucsdet_detect(csd, &status); in TestUTF8() 141 if (match == NULL) { in TestUTF8() 146 dLength = ucsdet_getUChars(match, detected, sLength, &status); in TestUTF8() 173 const UCharsetMatch *match; in TestUTF16() local 178 match = ucsdet_detect(csd, &status); in TestUTF16() 180 if (match == NULL) { in TestUTF16() 185 name = ucsdet_getName(match, &status); in TestUTF16() 186 conf = ucsdet_getConfidence(match, &status); in TestUTF16() 198 match = ucsdet_detect(csd, &status); in TestUTF16() [all …]
|
/external/chromium_org/chrome/browser/autocomplete/ |
D | autocomplete_match.cc | 70 AutocompleteMatch::AutocompleteMatch(const AutocompleteMatch& match) in AutocompleteMatch() argument 71 : provider(match.provider), in AutocompleteMatch() 72 relevance(match.relevance), in AutocompleteMatch() 73 typed_count(match.typed_count), in AutocompleteMatch() 74 deletable(match.deletable), in AutocompleteMatch() 75 fill_into_edit(match.fill_into_edit), in AutocompleteMatch() 76 inline_autocompletion(match.inline_autocompletion), in AutocompleteMatch() 77 allowed_to_be_default_match(match.allowed_to_be_default_match), in AutocompleteMatch() 78 destination_url(match.destination_url), in AutocompleteMatch() 79 stripped_destination_url(match.stripped_destination_url), in AutocompleteMatch() [all …]
|
D | bookmark_provider.cc | 106 AutocompleteMatch match(TitleMatchToACMatch(*i)); in DoAutocomplete() local 107 if (match.relevance > 0) in DoAutocomplete() 108 matches_.push_back(match); in DoAutocomplete() 145 void operator()(const Snippet::MatchPosition& match) { in operator ()() argument 146 double term_length = static_cast<double>(match.second - match.first); in operator ()() 148 (title_length_ - match.first) / title_length_; in operator ()() 165 AutocompleteMatch match(this, 0, false, in TitleMatchToACMatch() local 170 match.destination_url = url; in TitleMatchToACMatch() 171 match.contents = net::FormatUrl(url, languages_, in TitleMatchToACMatch() 174 match.contents_class.push_back( in TitleMatchToACMatch() [all …]
|
D | history_quick_provider.cc | 97 void HistoryQuickProvider::DeleteMatch(const AutocompleteMatch& match) { in DeleteMatch() argument 98 DCHECK(match.deletable); in DeleteMatch() 99 DCHECK(match.destination_url.is_valid()); in DeleteMatch() 101 GetIndex()->DeleteURL(match.destination_url); in DeleteMatch() 102 DeleteMatchFromMatches(match); in DeleteMatch() 255 AutocompleteMatch match( in QuickMatchToACMatch() local 260 match.typed_count = info.typed_count(); in QuickMatchToACMatch() 261 match.destination_url = info.url(); in QuickMatchToACMatch() 262 DCHECK(match.destination_url.is_valid()); in QuickMatchToACMatch() 269 match.fill_into_edit = in QuickMatchToACMatch() [all …]
|
D | history_url_provider.cc | 76 history::HistoryMatch match(info, input_location, match_in_scheme, true); in CreateOrPromoteMatch() local 78 matches->push_front(match); in CreateOrPromoteMatch() 80 matches->push_back(match); in CreateOrPromoteMatch() 88 GURL ConvertToHostOnly(const history::HistoryMatch& match, in ConvertToHostOnly() argument 94 const GURL& url = match.url_info.url(); in ConvertToHostOnly() 101 if ((host.spec().length() < (match.input_location + input.length()))) in ConvertToHostOnly() 105 if (spec.compare(match.input_location, input.length(), input)) in ConvertToHostOnly() 184 AutocompleteMatch* match) { in RecordAdditionalInfoFromUrlRow() argument 185 match->RecordAdditionalInfo("typed count", info.typed_count()); in RecordAdditionalInfoFromUrlRow() 186 match->RecordAdditionalInfo("visit count", info.visit_count()); in RecordAdditionalInfoFromUrlRow() [all …]
|
/external/chromium_org/third_party/angle/src/libEGL/ |
D | Config.cpp | 251 bool match = true; in getConfigs() local 258 …case EGL_BUFFER_SIZE: match = config->mBufferSize >= attribute[1]; … in getConfigs() 259 …case EGL_ALPHA_SIZE: match = config->mAlphaSize >= attribute[1]; … in getConfigs() 260 …case EGL_BLUE_SIZE: match = config->mBlueSize >= attribute[1]; … in getConfigs() 261 …case EGL_GREEN_SIZE: match = config->mGreenSize >= attribute[1]; … in getConfigs() 262 …case EGL_RED_SIZE: match = config->mRedSize >= attribute[1]; … in getConfigs() 263 …case EGL_DEPTH_SIZE: match = config->mDepthSize >= attribute[1]; … in getConfigs() 264 …case EGL_STENCIL_SIZE: match = config->mStencilSize >= attribute[1]; … in getConfigs() 265 …case EGL_CONFIG_CAVEAT: match = config->mConfigCaveat == (EGLenum) attribute[1]; … in getConfigs() 266 …case EGL_CONFIG_ID: match = config->mConfigID == attribute[1]; … in getConfigs() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
D | HTMLPreloadScanner.cpp | 45 static bool match(const StringImpl* impl, const QualifiedName& qName) in match() function 50 static bool match(const AtomicString& name, const QualifiedName& qName) in match() function 56 static bool match(const String& name, const QualifiedName& qName) in match() function 81 if (match(tagImpl, imgTag)) in initiatorFor() 83 if (match(tagImpl, inputTag)) in initiatorFor() 85 if (match(tagImpl, linkTag)) in initiatorFor() 87 if (match(tagImpl, scriptTag)) in initiatorFor() 104 if (!match(m_tagImpl, imgTag) in StartTagScanner() 105 && !match(m_tagImpl, inputTag) in StartTagScanner() 106 && !match(m_tagImpl, linkTag) in StartTagScanner() [all …]
|
/external/clang/unittests/AST/ |
D | SourceLocationTest.cpp | 34 EXPECT_FALSE(Verifier.match("int i", varDecl())); in TEST() 40 EXPECT_FALSE(Verifier.match("int i;", recordDecl())); in TEST() 46 EXPECT_FALSE(Verifier.match("int i;", varDecl())); in TEST() 52 EXPECT_FALSE(Verifier.match("int i;", varDecl())); in TEST() 58 EXPECT_FALSE(Verifier.match("int i;", varDecl())); in TEST() 71 EXPECT_TRUE(Verifier.match("void f() { l: return; }", labelStmt())); in TEST() 77 EXPECT_TRUE(Verifier.match("void f() { l: return; }", labelStmt())); in TEST() 83 EXPECT_TRUE(Verifier.match("void f(i) {}", varDecl(), Lang_C)); in TEST() 89 EXPECT_TRUE(Verifier.match("void f(i) {}", varDecl(), Lang_C)); in TEST() 95 EXPECT_TRUE(Verifier.match("void f() { new int[10]; }", newExpr())); in TEST() [all …]
|
/external/chromium/chrome/browser/autocomplete/ |
D | autocomplete_popup_model.cc | 73 const AutocompleteMatch& match = result.match_at(line); in SetSelectedLine() local 78 manually_selected_match_.destination_url = match.destination_url; in SetSelectedLine() 79 manually_selected_match_.provider_affinity = match.provider; in SetSelectedLine() 81 match.is_history_what_you_typed_match; in SetSelectedLine() 104 const bool is_keyword_hint = GetKeywordForMatch(match, &keyword); in SetSelectedLine() 107 if ((match.inline_autocomplete_offset != string16::npos) && in SetSelectedLine() 108 (match.inline_autocomplete_offset < match.fill_into_edit.length())) { in SetSelectedLine() 110 match.fill_into_edit.substr(match.inline_autocomplete_offset); in SetSelectedLine() 115 edit_model_->OnPopupDataChanged(match.fill_into_edit, ¤t_destination, in SetSelectedLine() 131 bool AutocompletePopupModel::GetKeywordForMatch(const AutocompleteMatch& match, in GetKeywordForMatch() argument [all …]
|
D | history_url_provider.cc | 82 GURL ConvertToHostOnly(const HistoryMatch& match, const string16& input) { in ConvertToHostOnly() argument 87 const GURL& url = match.url_info.url(); in ConvertToHostOnly() 94 if ((host.spec().length() < (match.input_location + input.length()))) in ConvertToHostOnly() 98 if (spec.compare(match.input_location, input.length(), input)) in ConvertToHostOnly() 267 const HistoryMatch& match = history_matches[i]; in DoAutocomplete() local 269 (match.url_info.url() != in DoAutocomplete() 271 params->matches.push_back(HistoryMatchToACMatch(params, match, NORMAL, in DoAutocomplete() 305 AutocompleteMatch match(this, in SuggestExactInput() local 311 match.destination_url = url; in SuggestExactInput() 321 match.fill_into_edit = in SuggestExactInput() [all …]
|
/external/doclava/src/com/google/doclava/parser/ |
D | JavaLexer.java | 248 match('0'); in mIntegerNumber() 287 match('0'); in mIntegerNumber() 399 match("0x"); in mHexPrefix() 407 match("0X"); in mHexPrefix() 508 match('.'); in mNonIntegerNumber() 558 match('.'); in mNonIntegerNumber() 746 match('.'); in mNonIntegerNumber() 1055 match('\''); in mCHARLITERAL() 1118 match('\''); in mCHARLITERAL() 1141 match('\"'); in mSTRINGLITERAL() [all …]
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
D | X509CertSelectorTest.java | 461 selector.match(cert_1) && selector.match(cert_2)); in testSetCertificate() 464 selector.match(cert_1)); in testSetCertificate() 466 selector.match(cert_2)); in testSetCertificate() 469 selector.match(cert_2)); in testSetCertificate() 505 selector.match(cert_1) && selector.match(cert_2)); in testSetSerialNumber() 508 selector.match(cert_1)); in testSetSerialNumber() 510 selector.match(cert_2)); in testSetSerialNumber() 513 selector.match(cert_2)); in testSetSerialNumber() 549 selector.match(cert_1) && selector.match(cert_2)); in testSetIssuer1() 552 selector.match(cert_1)); in testSetIssuer1() [all …]
|
/external/elfutils/libdw/ |
D | dwarf_getsrc_file.c | 74 Dwarf_Line **match = *nsrcs == 0 ? NULL : *srcsp; in dwarf_getsrc_file() local 131 if (match[inner]->files == line->files in dwarf_getsrc_file() 132 && match[inner]->file == line->file) in dwarf_getsrc_file() 135 && (match[inner]->line != line->line in dwarf_getsrc_file() 136 || match[inner]->line != lineno in dwarf_getsrc_file() 138 && (match[inner]->column != line->column in dwarf_getsrc_file() 139 || match[inner]->column != column)))) in dwarf_getsrc_file() 143 if (match[inner]->line >= line->line in dwarf_getsrc_file() 144 && (match[inner]->line != line->line in dwarf_getsrc_file() 145 || match[inner]->column >= line->column)) in dwarf_getsrc_file() [all …]
|
/external/chromium_org/chrome/browser/resources/net_internals/ |
D | source_filter_parser.js | 73 var match = /^sort:(.*)$/.exec(filterElement); 74 if (!match) 76 return { method: match[1], backwards: backwards }; 84 var match = /^is:(.*)$/.exec(filterElement); 85 if (!match) 87 if (match[1] == 'active') { 90 if (match[1] == 'error') { 102 var match = RegExp('^([^:]*):(.*)$').exec(filterElement); 103 if (!match) 107 var parameters = match[2].split(','); [all …]
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/config/ |
D | urls.py | 79 match = re.search(bug_url_short, string) 80 if match: 81 return int(match.group('bug_id')) 82 match = re.search(bug_url_long, string) 83 if match: 84 return int(match.group('bug_id')) 91 match = re.search(attachment_url, string) 92 if match: 93 return int(match.group('attachment_id')) 94 match = re.search(direct_attachment_url, string) [all …]
|
/external/llvm/unittests/Support/ |
D | RegexTest.cpp | 23 EXPECT_TRUE(r1.match("916")); in TEST_F() 24 EXPECT_TRUE(r1.match("9")); in TEST_F() 25 EXPECT_FALSE(r1.match("9a")); in TEST_F() 29 EXPECT_TRUE(r2.match("aa216b", &Matches)); in TEST_F() 34 EXPECT_TRUE(r3.match("9a:513b", &Matches)); in TEST_F() 40 EXPECT_TRUE(r3.match("9:513b", &Matches)); in TEST_F() 49 EXPECT_FALSE(r4.match("abb")); in TEST_F() 50 EXPECT_TRUE(r4.match(String, &Matches)); in TEST_F() 58 EXPECT_FALSE(r5.match(String)); in TEST_F() 59 EXPECT_FALSE(r5.match("X9")); in TEST_F() [all …]
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/ |
D | headlesscodemirror.js | 18 eat: function(match) { argument 20 if (typeof match == "string") var ok = ch == match; 21 else var ok = ch && (match.test ? match.test(ch) : match(ch)); 24 eatWhile: function(match) { argument 26 while (this.eat(match)){} 42 match: function(pattern, consume, caseInsensitive) { method in StringStream 51 var match = this.string.slice(this.pos).match(pattern); 52 if (match && match.index > 0) return null; 53 if (match && consume !== false) this.pos += match[0].length; 54 return match;
|
D | coffeescript.js | 65 if (stream.match("####")) { 71 if (stream.match("###")) { 83 if (stream.match(/^-?[0-9\.]/, false)) { 86 if (stream.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)) { 89 if (stream.match(/^-?\d+\.\d*/)) { 92 if (stream.match(/^-?\.\d+/)) { 106 if (stream.match(/^-?0x[0-9a-f]+/i)) { 110 if (stream.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)) { 114 if (stream.match(/^-?0(?![\dx])/i)) { 123 if (stream.match(stringPrefixes)) { [all …]
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | csrsbcs.h | 61 virtual int32_t match(InputText *det) = 0; 129 int32_t match(InputText *textIn); 139 int32_t match(InputText *textIn); 149 int32_t match(InputText *textIn); 159 int32_t match(InputText *textIn); 169 int32_t match(InputText *textIn); 179 int32_t match(InputText *textIn); 189 int32_t match(InputText *textIn); 199 int32_t match(InputText *textIn); 209 int32_t match(InputText *textIn); [all …]
|
/external/elfutils/libdwfl/ |
D | dwfl_module_getsrc_file.c | 73 Dwfl_Line **match = *nsrcs == 0 ? NULL : *srcsp; in dwfl_module_getsrc_file() local 132 if (dwfl_line_file (match[inner]) in dwfl_module_getsrc_file() 136 && (dwfl_line (match[inner])->line != line->line in dwfl_module_getsrc_file() 137 || dwfl_line (match[inner])->line != lineno in dwfl_module_getsrc_file() 139 && (dwfl_line (match[inner])->column != line->column in dwfl_module_getsrc_file() 140 || dwfl_line (match[inner])->column != column)))) in dwfl_module_getsrc_file() 144 if (dwfl_line (match[inner])->line >= line->line in dwfl_module_getsrc_file() 145 && (dwfl_line (match[inner])->line != line->line in dwfl_module_getsrc_file() 146 || dwfl_line (match[inner])->column >= line->column)) in dwfl_module_getsrc_file() 148 match[inner] = &cu->lines->idx[cnt]; in dwfl_module_getsrc_file() [all …]
|
/external/iptables/extensions/ |
D | libxt_policy.c | 108 if (e->match.reqid) in policy_parse() 111 e->match.reqid = 1; in policy_parse() 116 if (e->match.spi) in policy_parse() 119 e->match.spi = 1; in policy_parse() 124 if (e->match.saddr) in policy_parse() 128 e->match.saddr = 1; in policy_parse() 134 if (e->match.daddr) in policy_parse() 137 e->match.daddr = 1; in policy_parse() 143 if (e->match.proto) in policy_parse() 151 e->match.proto = 1; in policy_parse() [all …]
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/ |
D | SimpleCTP.java | 155 match(input,FUNC_DECL,FOLLOW_FUNC_DECL_in_declaration74); in declaration() 157 match(input, Token.DOWN, null); in declaration() 164 match(input, Token.UP, null); in declaration() 171 match(input,FUNC_DEF,FOLLOW_FUNC_DEF_in_declaration88); in declaration() 173 match(input, Token.DOWN, null); in declaration() 185 match(input, Token.UP, null); in declaration() 210 match(input,VAR_DEF,FOLLOW_VAR_DEF_in_variable113); in variable() 212 match(input, Token.DOWN, null); in variable() 224 match(input, Token.UP, null); in variable() 247 match(input,ID,FOLLOW_ID_in_declarator137); in declarator() [all …]
|