/external/chromium/chrome/browser/safe_browsing/ |
D | prefix_set_unittest.cc | 45 const std::vector<SBPrefix> &prefixes) { in CheckPrefixes() argument 48 std::set<SBPrefix> check(prefixes.begin(), prefixes.end()); in CheckPrefixes() 54 for (size_t i = 0; i < prefixes.size(); ++i) { in CheckPrefixes() 55 EXPECT_TRUE(prefix_set->Exists(prefixes[i])); in CheckPrefixes() 57 const SBPrefix left_sibling = prefixes[i] - 1; in CheckPrefixes() 61 const SBPrefix right_sibling = prefixes[i] + 1; in CheckPrefixes() 169 const std::vector<SBPrefix> prefixes(100, 0); in TEST_F() local 170 safe_browsing::PrefixSet prefix_set(prefixes); in TEST_F() 172 EXPECT_TRUE(prefix_set.Exists(prefixes[0])); in TEST_F() 180 EXPECT_EQ(prefixes[0], prefixes_copy[0]); in TEST_F() [all …]
|
D | filter_false_positive_perftest.cc | 105 const std::vector<SBPrefix>& prefixes, in BuildBloomFilter() argument 108 const int key_count = std::max(static_cast<int>(prefixes.size()), in BuildBloomFilter() 114 for (size_t i = 0; i < prefixes.size(); ++i) in BuildBloomFilter() 115 (*bloom_filter)->Insert(prefixes[i]); in BuildBloomFilter() 117 std::cout << "Bloom filter with prefixes: " << prefixes.size() in BuildBloomFilter() 126 bool ReadDatabase(const FilePath& path, std::vector<SBPrefix>* prefixes) { in ReadDatabase() argument 144 prefixes->reserve(count); in ReadDatabase() 151 prefixes->push_back(prefix_statement.ColumnInt(0)); in ReadDatabase() 153 DCHECK(static_cast<int>(prefixes->size()) == count); in ReadDatabase() 154 sort(prefixes->begin(), prefixes->end()); in ReadDatabase() [all …]
|
D | safe_browsing_database.cc | 113 std::vector<SBPrefix>* prefixes) { in GetDownloadUrlPrefixes() argument 119 prefixes->push_back(full_hashes[i].prefix); in GetDownloadUrlPrefixes() 264 std::vector<SBPrefix> prefixes; in PrefixSetFromAddPrefixes() local 266 prefixes.push_back(add_prefixes[i].prefix); in PrefixSetFromAddPrefixes() 269 std::sort(prefixes.begin(), prefixes.end()); in PrefixSetFromAddPrefixes() 270 prefixes.erase(std::unique(prefixes.begin(), prefixes.end()), in PrefixSetFromAddPrefixes() 271 prefixes.end()); in PrefixSetFromAddPrefixes() 274 prefix_set(new safe_browsing::PrefixSet(prefixes)); in PrefixSetFromAddPrefixes() 280 if (restored.size() == prefixes.size() && in PrefixSetFromAddPrefixes() 281 std::equal(prefixes.begin(), prefixes.end(), restored.begin())) in PrefixSetFromAddPrefixes() [all …]
|
D | safe_browsing_database_unittest.cc | 839 std::vector<SBPrefix> prefixes; in PopulateDatabaseForCacheTest() local 840 database_->CacheHashResults(prefixes, results); in PopulateDatabaseForCacheTest() 851 std::vector<SBPrefix> prefixes; in TEST_F() local 855 &listname, &prefixes, &full_hashes, Time::Now()); in TEST_F() 860 prefixes.clear(); in TEST_F() 866 &listname, &prefixes, &full_hashes, Time::Now()); in TEST_F() 871 prefixes.clear(); in TEST_F() 889 &listname, &prefixes, &full_hashes, Time::Now()); in TEST_F() 893 prefixes.clear(); in TEST_F() 899 &listname, &prefixes, &full_hashes, Time::Now()); in TEST_F() [all …]
|
/external/elfutils/libcpu/ |
D | i386_data.h | 88 if (*d->prefixes & has_cs) in data_prefix() 91 *d->prefixes &= ~has_cs; in data_prefix() 93 else if (*d->prefixes & has_ds) in data_prefix() 96 *d->prefixes &= ~has_ds; in data_prefix() 98 else if (*d->prefixes & has_es) in data_prefix() 101 *d->prefixes &= ~has_es; in data_prefix() 103 else if (*d->prefixes & has_fs) in data_prefix() 106 *d->prefixes &= ~has_fs; in data_prefix() 108 else if (*d->prefixes & has_gs) in data_prefix() 111 *d->prefixes &= ~has_gs; in data_prefix() [all …]
|
D | i386_disasm.c | 257 int *prefixes; member 314 int prefixes; in i386_disasm() local 322 .prefixes = &prefixes, in i386_disasm() 333 prefixes = 0; in i386_disasm() 349 prefixes |= last_prefix_bit = 1 << i; in i386_disasm() 356 prefixes |= ((*data++) & 0xf) | has_rex; in i386_disasm() 368 if (prefixes != 0) in i386_disasm() 426 || (prefixes & correct_prefix) != 0); in i386_disasm() 427 prefixes ^= correct_prefix; in i386_disasm() 453 assert (prefixes != 0); in i386_disasm() [all …]
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/ |
D | NamespaceSupport.java | 252 String[] prefixes = new String[fNamespaceSize]; in getAllPrefixes() local 253 fPrefixes = prefixes; in getAllPrefixes() 274 private String[] prefixes; field in NamespaceSupport.Prefixes 281 public Prefixes(String [] prefixes, int size) { in Prefixes() argument 282 this.prefixes = prefixes; in Prefixes() 306 buf.append(prefixes[i]); in toString()
|
/external/v8/test/mjsunit/ |
D | debug-stepout-scope.js | 137 var prefixes = [ "debugger; ", variable 164 for (var i = 0; i < prefixes.length; ++i) { 165 var pre = prefixes[i]; 201 for (var i = 0; i < prefixes.length; ++i) { 202 var pre = prefixes[i]; 228 for (var i = 0; i < prefixes.length; ++i) { 229 var pre = prefixes[i];
|
/external/qemu/ |
D | i386-dis.c | 242 static int prefixes; variable 3326 prefixes = 0; in ckprefix() 3358 prefixes |= PREFIX_REPZ; in ckprefix() 3361 prefixes |= PREFIX_REPNZ; in ckprefix() 3364 prefixes |= PREFIX_LOCK; in ckprefix() 3367 prefixes |= PREFIX_CS; in ckprefix() 3370 prefixes |= PREFIX_SS; in ckprefix() 3373 prefixes |= PREFIX_DS; in ckprefix() 3376 prefixes |= PREFIX_ES; in ckprefix() 3379 prefixes |= PREFIX_FS; in ckprefix() [all …]
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
D | NamespaceMappings.java | 168 Enumeration prefixes = m_namespaces.keys(); in lookupPrefix() local 169 while (prefixes.hasMoreElements()) in lookupPrefix() 171 String prefix = (String) prefixes.nextElement(); in lookupPrefix() 185 Enumeration prefixes = m_namespaces.keys(); in getMappingFromURI() local 186 while (prefixes.hasMoreElements()) in getMappingFromURI() 188 String prefix = (String) prefixes.nextElement(); in getMappingFromURI() 486 Enumeration prefixes = m_namespaces.keys(); in lookupAllPrefixes() local 487 while (prefixes.hasMoreElements()) in lookupAllPrefixes() 489 String prefix = (String) prefixes.nextElement(); in lookupAllPrefixes()
|
/external/libusb/ |
D | install-sh | 403 prefixes= 411 prefixes= 423 prefixes="$prefixes '$qprefix'" 429 if test -n "$prefixes"; then 432 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/ |
D | ConfigResults.java | 174 public List getBuildsMatchingPrefixes(List prefixes) { in getBuildsMatchingPrefixes() argument 177 int length = prefixes.size(); in getBuildsMatchingPrefixes() 182 if (buildName.startsWith((String)prefixes.get(j))) { in getBuildsMatchingPrefixes() 404 public double[] getStatistics(List prefixes) { in getStatistics() argument 405 return getStatistics(prefixes, DB_Results.getDefaultDimension().getId()); in getStatistics() 423 public double[] getStatistics(List prefixes, int dim_id) { in getStatistics() argument 425 int length = prefixes == null ? 0 : prefixes.size(); in getStatistics() 435 if (prefixes == null) { in getStatistics() 442 if (buildName.startsWith((String)prefixes.get(j))) { in getStatistics()
|
/external/expat/conftools/ |
D | install-sh | 402 prefixes= 410 prefixes= 422 prefixes="$prefixes '$qprefix'" 428 if test -n "$prefixes"; then 431 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/external/protobuf/gtest/build-aux/ |
D | install-sh | 402 prefixes= 410 prefixes= 422 prefixes="$prefixes '$qprefix'" 428 if test -n "$prefixes"; then 431 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/external/stressapptest/ |
D | install-sh | 402 prefixes= 410 prefixes= 422 prefixes="$prefixes '$qprefix'" 428 if test -n "$prefixes"; then 431 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/external/elfutils/config/ |
D | install-sh | 402 prefixes= 410 prefixes= 422 prefixes="$prefixes '$qprefix'" 428 if test -n "$prefixes"; then 431 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/external/protobuf/ |
D | install-sh | 402 prefixes= 410 prefixes= 422 prefixes="$prefixes '$qprefix'" 428 if test -n "$prefixes"; then 431 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/external/openfst/ |
D | install-sh | 402 prefixes= 410 prefixes= 422 prefixes="$prefixes '$qprefix'" 428 if test -n "$prefixes"; then 431 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/external/libusb-compat/ |
D | install-sh | 402 prefixes= 410 prefixes= 422 prefixes="$prefixes '$qprefix'" 428 if test -n "$prefixes"; then 431 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/external/libpng/ |
D | install-sh | 402 prefixes= 410 prefixes= 422 prefixes="$prefixes '$qprefix'" 428 if test -n "$prefixes"; then 431 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/external/libmtp/ |
D | install-sh | 402 prefixes= 410 prefixes= 422 prefixes="$prefixes '$qprefix'" 428 if test -n "$prefixes"; then 431 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/external/chromium/sdch/open-vcdiff/ |
D | install-sh | 402 prefixes= 410 prefixes= 422 prefixes="$prefixes '$qprefix'" 428 if test -n "$prefixes"; then 431 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/external/libcap-ng/libcap-ng-0.7/ |
D | install-sh | 409 prefixes= 417 prefixes= 429 prefixes="$prefixes '$qprefix'" 435 if test -n "$prefixes"; then 438 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/external/e2fsprogs/intl/ |
D | vasnprintf.c | 268 int prefixes[2]; in VASNPRINTF() local 571 prefixes[prefix_count++] = a.arg[dp->width_arg_index].a.a_int; in VASNPRINTF() 577 prefixes[prefix_count++] = a.arg[dp->precision_arg_index].a.a_int; in VASNPRINTF() 607 prefixes[0], arg, &count); \ in VASNPRINTF() 611 prefixes[0], prefixes[1], arg, \ in VASNPRINTF() 625 count = sprintf (tmp, buf, prefixes[0], arg); \ in VASNPRINTF() 628 count = sprintf (tmp, buf, prefixes[0], prefixes[1],\ in VASNPRINTF()
|
/external/chromium/chrome/browser/autocomplete/ |
D | history_url_provider.cc | 444 Prefixes prefixes; in GetPrefixes() local 445 prefixes.push_back(Prefix(ASCIIToUTF16("https://www."), 2)); in GetPrefixes() 446 prefixes.push_back(Prefix(ASCIIToUTF16("http://www."), 2)); in GetPrefixes() 447 prefixes.push_back(Prefix(ASCIIToUTF16("ftp://ftp."), 2)); in GetPrefixes() 448 prefixes.push_back(Prefix(ASCIIToUTF16("ftp://www."), 2)); in GetPrefixes() 449 prefixes.push_back(Prefix(ASCIIToUTF16("https://"), 1)); in GetPrefixes() 450 prefixes.push_back(Prefix(ASCIIToUTF16("http://"), 1)); in GetPrefixes() 451 prefixes.push_back(Prefix(ASCIIToUTF16("ftp://"), 1)); in GetPrefixes() 453 prefixes.push_back(Prefix(string16(), 0)); in GetPrefixes() 454 return prefixes; in GetPrefixes()
|