/external/chromium/chrome/browser/safe_browsing/ |
H A D | prefix_set_unittest.cc | 29 // Generate a set of random prefixes to share between tests. For 41 // Check that all elements of |prefixes| are in |prefix_set|, and 45 const std::vector<SBPrefix> &prefixes) { 46 // The set can generate the prefixes it believes it has, so that's 48 std::set<SBPrefix> check(prefixes.begin(), prefixes.end()); 54 for (size_t i = 0; i < prefixes.size(); ++i) { 55 EXPECT_TRUE(prefix_set->Exists(prefixes[i])); 57 const SBPrefix left_sibling = prefixes[i] - 1; 61 const SBPrefix right_sibling = prefixes[ 44 CheckPrefixes(safe_browsing::PrefixSet* prefix_set, const std::vector<SBPrefix> &prefixes) argument 185 std::vector<SBPrefix> prefixes; local 212 std::vector<SBPrefix> prefixes; local 243 std::vector<SBPrefix> prefixes; local 438 std::vector<SBPrefix> prefixes; local [all...] |
H A D | filter_false_positive_perftest.cc | 103 // Constructs a bloom filter of the appropriate size from the provided prefixes. 105 const std::vector<SBPrefix>& prefixes, 108 const int key_count = std::max(static_cast<int>(prefixes.size()), 113 // Add the prefixes to it. 114 for (size_t i = 0; i < prefixes.size(); ++i) 115 (*bloom_filter)->Insert(prefixes[i]); 117 std::cout << "Bloom filter with prefixes: " << prefixes.size() 123 // Reads the set of add prefixes contained in a SafeBrowsing database into a 126 bool ReadDatabase(const FilePath& path, std::vector<SBPrefix>* prefixes) { argument 104 BuildBloomFilter(int size_multiplier, const std::vector<SBPrefix>& prefixes, BloomFilter** bloom_filter) argument 162 GeneratePrefixHits(const std::string url, BloomFilter* bloom_filter, std::vector<SBPrefix>* prefixes) argument 189 IsPrefixInDatabase(SBPrefix prefix, const std::vector<SBPrefix>& prefixes) argument 251 std::vector<SBPrefix> prefixes; local [all...] |
H A D | prefix_set.h | 19 // prefixes of a certain size. As of this writing, my safe-browsing 21 // 653132 add prefixes 32 // overhead starts to become a problem a bit under 200k prefixes. The 34 // 75k prefixes. Fortunately, the actual memory footprint also falls. 66 // |true| if |prefix| was in |prefixes| passed to the constructor. 73 // Regenerate the vector of prefixes passed to the constructor into 74 // |prefixes|. Prefixes will be added in sorted order. 75 void GetPrefixes(std::vector<SBPrefix>* prefixes) const; 82 // The number of prefixes represented. 115 // prefixes [all...] |
H A D | safe_browsing_database.cc | 67 // |include_whitelist_hashes| is true we will generate additional path-prefixes 111 // Get the prefixes matching the download |urls|. 113 std::vector<SBPrefix>* prefixes) { 119 prefixes->push_back(full_hashes[i].prefix); 262 // |prefixes|. For now, |prefixes| is useful while debugging 264 std::vector<SBPrefix> prefixes; local 266 prefixes.push_back(add_prefixes[i].prefix); 269 std::sort(prefixes.begin(), prefixes 112 GetDownloadUrlPrefixes(const std::vector<GURL>& urls, std::vector<SBPrefix>* prefixes) argument 658 MatchDownloadAddPrefixes( int list_bit, const std::vector<SBPrefix>& prefixes, std::vector<SBPrefix>* prefix_hits) argument 925 CacheHashResults( const std::vector<SBPrefix>& prefixes, const std::vector<SBFullHashResult>& full_hits) argument 1049 std::vector<SBAddPrefix> prefixes; local [all...] |
H A D | safe_browsing_database_unittest.cc | 81 // Same as InsertAddChunkHostPrefixUrl, but with two urls for prefixes. 146 // Same as InsertSubChunkHostPrefixUrl, but with two urls for prefixes. 623 // Test removing all the prefixes from an add chunk. 839 std::vector<SBPrefix> prefixes; local 840 database_->CacheHashResults(prefixes, results); 851 std::vector<SBPrefix> prefixes; local 855 &listname, &prefixes, &full_hashes, Time::Now()); 860 prefixes.clear(); 866 &listname, &prefixes, &full_hashes, Time::Now()); 871 prefixes 1397 std::vector<SBPrefix> prefixes; local [all...] |
H A D | protocol_parser.h | 75 // Parse the response from a chunk URL request and returns the hosts/prefixes 95 void FormatGetHash(const std::vector<SBPrefix>& prefixes,
|
/external/elfutils/libcpu/ |
H A D | i386_data.h | 38 /* The rep/repe prefixes. */ 88 if (*d->prefixes & has_cs) 91 *d->prefixes &= ~has_cs; 93 else if (*d->prefixes & has_ds) 96 *d->prefixes &= ~has_ds; 98 else if (*d->prefixes & has_es) 101 *d->prefixes &= ~has_es; 103 else if (*d->prefixes & has_fs) 106 *d->prefixes &= ~has_fs; 108 else if (*d->prefixes 160 int prefixes = *d->prefixes; local 936 int prefixes = *d->prefixes; local 1016 int prefixes = *d->prefixes; local [all...] |
H A D | i386_disasm.c | 257 int *prefixes; member in struct:output_data 314 int prefixes; local 322 .prefixes = &prefixes, 333 prefixes = 0; 338 /* Recognize all prefixes. */ 349 prefixes |= last_prefix_bit = 1 << i; 356 prefixes |= ((*data++) & 0xf) | has_rex; 368 if (prefixes != 0) 426 || (prefixes [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/ |
H A D | NamespaceSupport.java | 156 // ignore "xml" and "xmlns" prefixes
252 String[] prefixes = new String[fNamespaceSize];
253 fPrefixes = prefixes;
274 private String[] prefixes;
field in class:NamespaceSupport.Prefixes 281 public Prefixes(String [] prefixes, int size) {
argument 282 this.prefixes = prefixes;
300 throw new NoSuchElementException("Illegal access to Namespace prefixes enumeration.");
306 buf.append(prefixes[i]);
|
/external/v8/test/mjsunit/ |
H A 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/apache-xml/src/main/java/org/apache/xml/serializer/ |
H A D | NamespaceMappings.java | 56 * processed. At any given moment of processing the currently visible prefixes 67 * This member is continually incremented when new prefixes need to be 91 * All prefixes pushed at the current depth can be 168 Enumeration prefixes = m_namespaces.keys(); 169 while (prefixes.hasMoreElements()) 171 String prefix = (String) prefixes.nextElement(); 185 Enumeration prefixes = m_namespaces.keys(); 186 while (prefixes.hasMoreElements()) 188 String prefix = (String) prefixes.nextElement(); 475 * Given a namespace uri, get all prefixes boun [all...] |
/external/qemu/ |
H A D | i386-dis.c | 241 /* Flags for the prefixes for the current instruction. See below. */ 242 static int prefixes; variable 263 /* Flags for prefixes which we somehow handled when printing the 467 #define v_mode 2 /* operand size depends on prefixes */ 476 #define dq_mode 11 /* operand size depends on REX prefixes. */ 481 #define z_mode 16 /* non-quad operand size depends on prefixes */ 3326 prefixes = 0; 3335 /* REX prefixes family. */ 3358 prefixes |= PREFIX_REPZ; 3361 prefixes | [all...] |
/external/webkit/Tools/Scripts/webkitpy/common/checkout/ |
H A D | diff_parser_unittest.py | 133 prefixes = [ 141 for prefix in 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/ |
H A D | ConfigResults.java | 169 * Returns a list of build results which names starts with one of the given prefixes. 171 * @param prefixes List of expected prefixes 174 public List getBuildsMatchingPrefixes(List prefixes) { argument 177 int length = prefixes.size(); 182 if (buildName.startsWith((String)prefixes.get(j))) { 392 * prefixes. 394 * @param prefixes List of prefixes to filter builds. If <code>null</code> 404 public double[] getStatistics(List prefixes) { argument 423 getStatistics(List prefixes, int dim_id) argument [all...] |
/external/chromium/chrome/browser/autocomplete/ |
H A D | history_url_provider.cc | 208 // need to promote lower-quality matches that are prefixes of 442 // We'll complete text following these prefixes. 444 Prefixes prefixes; local 445 prefixes.push_back(Prefix(ASCIIToUTF16("https://www."), 2)); 446 prefixes.push_back(Prefix(ASCIIToUTF16("http://www."), 2)); 447 prefixes.push_back(Prefix(ASCIIToUTF16("ftp://ftp."), 2)); 448 prefixes.push_back(Prefix(ASCIIToUTF16("ftp://www."), 2)); 449 prefixes.push_back(Prefix(ASCIIToUTF16("https://"), 1)); 450 prefixes.push_back(Prefix(ASCIIToUTF16("http://"), 1)); 451 prefixes [all...] |
/external/chromium/sdch/open-vcdiff/ |
H A 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/ |
H A D | install-sh | 402 prefixes= 410 prefixes= 422 prefixes="$prefixes '$qprefix'" 428 if test -n "$prefixes"; then 431 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/external/expat/conftools/ |
H A 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/ |
H A D | install-sh | 409 prefixes= 417 prefixes= 429 prefixes="$prefixes '$qprefix'" 435 if test -n "$prefixes"; then 438 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/external/libmtp/ |
H A 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/ |
H A 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/ |
H A D | install-sh | 403 prefixes= 411 prefixes= 423 prefixes="$prefixes '$qprefix'" 429 if test -n "$prefixes"; then 432 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/external/libusb-compat/ |
H A 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/ |
H A 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/ |
H A D | install-sh | 402 prefixes= 410 prefixes= 422 prefixes="$prefixes '$qprefix'" 428 if test -n "$prefixes"; then 431 eval "\$doit_exec \$mkdirprog $prefixes") ||
|