HomeSort by relevance Sort by last modified time
    Searched refs:Fingerprint (Results 1 - 25 of 28) sorted by null

1 2

  /external/chromium/chrome/common/
visitedlink_common.h 37 // To ask whether a page is in history, we compute a 64-bit fingerprint of the
47 typedef uint64 Fingerprint;
48 typedef std::vector<Fingerprint> Fingerprints;
50 // A hash value of a fingerprint
53 // A fingerprint or hash value that does not exist
54 static const Fingerprint null_fingerprint_;
60 // Returns the fingerprint for the given URL.
61 Fingerprint ComputeURLFingerprint(const char* canonical_url,
66 // Looks up the given key in the table. The fingerprint for the URL is
71 bool IsVisited(Fingerprint fingerprint) const
    [all...]
visitedlink_common.cc 13 const VisitedLinkCommon::Fingerprint VisitedLinkCommon::null_fingerprint_ = 0;
40 bool VisitedLinkCommon::IsVisited(Fingerprint fingerprint) const {
44 Hash first_hash = HashFingerprint(fingerprint);
47 Fingerprint cur_fingerprint = FingerprintAt(cur_hash);
50 if (cur_fingerprint == fingerprint)
67 // Uses the top 64 bits of the MD5 sum of the canonical URL as the fingerprint,
76 VisitedLinkCommon::Fingerprint VisitedLinkCommon::ComputeURLFingerprint(
90 // This is the same as "return *(Fingerprint*)&digest.a;" but if we do that
93 // down to a char array of the same size as fingerprint, and then does th
    [all...]
  /external/chromium_org/components/visitedlink/common/
visitedlink_common.h 38 // To ask whether a page is in history, we compute a 64-bit fingerprint of the
48 typedef uint64 Fingerprint;
49 typedef std::vector<Fingerprint> Fingerprints;
51 // A hash value of a fingerprint
54 // A fingerprint or hash value that does not exist
55 static const Fingerprint null_fingerprint_;
61 // Returns the fingerprint for the given URL.
62 Fingerprint ComputeURLFingerprint(const char* canonical_url,
67 // Looks up the given key in the table. The fingerprint for the URL is
72 bool IsVisited(Fingerprint fingerprint) const
    [all...]
visitedlink_common.cc 15 const VisitedLinkCommon::Fingerprint VisitedLinkCommon::null_fingerprint_ = 0;
42 bool VisitedLinkCommon::IsVisited(Fingerprint fingerprint) const {
46 Hash first_hash = HashFingerprint(fingerprint);
49 Fingerprint cur_fingerprint = FingerprintAt(cur_hash);
52 if (cur_fingerprint == fingerprint)
69 // Uses the top 64 bits of the MD5 sum of the canonical URL as the fingerprint,
78 VisitedLinkCommon::Fingerprint VisitedLinkCommon::ComputeURLFingerprint(
93 // This is the same as "return *(Fingerprint*)&digest.a;" but if we do that
96 // down to a char array of the same size as fingerprint, and then does th
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
Fingerprint.java 30 public class Fingerprint {
43 // 16 bytes for 128-bit fingerprint
46 // length of prefix + 32 hex chars for 128-bit fingerprint
65 * Creates a new Fingerprint.
67 public Fingerprint(byte[] bytes) {
75 * Creates a Fingerprint based on the contents of a file.
79 * of the fingerprint calculation
81 public static Fingerprint fromInputStream(InputStream stream, long[] byteCount)
89 // scan through file to compute a fingerprint.
98 return new Fingerprint(in.getMessageDigest().digest())
    [all...]
  /external/chromium_org/components/autofill/content/browser/risk/
fingerprint.h 7 // Google Wallet. A fingerprint encapsulates machine and user characteristics.
43 class Fingerprint;
46 // unique fingerprint for this (machine, user) pair, used for fraud prevention.
62 const base::Callback<void(scoped_ptr<Fingerprint>)>& callback);
fingerprint.cc 5 // Generating a fingerprint consists of two major steps:
13 #include "components/autofill/content/browser/risk/fingerprint.h"
27 #include "components/autofill/content/browser/risk/proto/fingerprint.pb.h"
57 // fingerprint data.
79 Fingerprint::MachineCharacteristics* machine) {
98 Fingerprint::MachineCharacteristics* machine) {
101 Fingerprint::MachineCharacteristics::Plugin* plugin =
117 Fingerprint::MachineCharacteristics* machine) {
134 Fingerprint::MachineCharacteristics* machine) {
157 void AddCpuInfoToFingerprint(Fingerprint::MachineCharacteristics* machine)
    [all...]
  /external/chromium/chrome/browser/visitedlink/
visitedlink_event_listener.h 26 virtual void Add(VisitedLinkMaster::Fingerprint fingerprint);
visitedlink_master.cc 107 // Most writes are just a single fingerprint, so we reserve that much in this
109 StackVector<char, sizeof(VisitedLinkCommon::Fingerprint)> data_;
273 Fingerprint fingerprint = ComputeURLFingerprint(url.spec().data(),
277 // If we have a pending delete for this fingerprint, cancel it.
278 std::set<Fingerprint>::iterator found =
279 deleted_since_rebuild_.find(fingerprint);
285 added_since_rebuild_.insert(fingerprint);
295 return AddFingerprint(fingerprint, true);
328 memset(hash_table_, 0, this->table_length_ * sizeof(Fingerprint));
353 Fingerprint fingerprint = local
    [all...]
visitedlink_master.h 43 // Called when new link has been added. The argument is the fingerprint
45 virtual void Add(Fingerprint fingerprint) = 0;
159 // inserted fingerprint or null_hash_ on failure.
206 // Called to add a fingerprint to the table. If |send_notifications| is true
208 // Returns the index of the inserted fingerprint or null_hash_ if there was a
210 Hash AddFingerprint(Fingerprint fingerprint, bool send_notifications);
217 const std::set<Fingerprint>& fingerprints);
219 // Removes the indicated fingerprint from the table. If the update_file fla
    [all...]
visitedlink_event_listener.cc 36 void VisitedLinkEventListener::Add(VisitedLinkMaster::Fingerprint fingerprint) {
37 pending_visited_links_.push_back(fingerprint);
visitedlink_unittest.cc 58 virtual void Add(VisitedLinkCommon::Fingerprint) { add_count_++; }
212 const VisitedLinkCommon::Fingerprint kFingerprint0 = kInitialSize * 0 + 14;
213 const VisitedLinkCommon::Fingerprint kFingerprint1 = kInitialSize * 1 + 14;
214 const VisitedLinkCommon::Fingerprint kFingerprint2 = kInitialSize * 2 + 14;
215 const VisitedLinkCommon::Fingerprint kFingerprint3 = kInitialSize * 3 + 14;
216 const VisitedLinkCommon::Fingerprint kFingerprint4 = kInitialSize * 4 + 14;
227 VisitedLinkCommon::Fingerprint zero_fingerprint = 0;
341 VisitedLinkCommon::Fingerprint* table;
351 VisitedLinkCommon::Fingerprint* child_table;
visitedlink_perftest.cc 38 virtual void Add(VisitedLinkCommon::Fingerprint) {}
  /external/chromium_org/components/visitedlink/browser/
visitedlink_master.h 54 // Called when new link has been added. The argument is the fingerprint
56 virtual void Add(Fingerprint fingerprint) = 0;
195 // inserted fingerprint or null_hash_ on failure.
247 // Called to add a fingerprint to the table. If |send_notifications| is true
249 // Returns the index of the inserted fingerprint or null_hash_ if there was a
251 Hash AddFingerprint(Fingerprint fingerprint, bool send_notifications);
258 const std::set<Fingerprint>& fingerprints);
260 // Removes the indicated fingerprint from the table. If the update_file fla
    [all...]
visitedlink_master.cc 259 Fingerprint fingerprint = ComputeURLFingerprint(url.spec().data(),
263 // If we have a pending delete for this fingerprint, cancel it.
264 std::set<Fingerprint>::iterator found =
265 deleted_since_rebuild_.find(fingerprint);
271 added_since_rebuild_.insert(fingerprint);
281 return AddFingerprint(fingerprint, true);
323 memset(hash_table_, 0, this->table_length_ * sizeof(Fingerprint));
351 Fingerprint fingerprint local
    [all...]
visitedlink_event_listener.h 39 virtual void Add(VisitedLinkMaster::Fingerprint fingerprint) OVERRIDE;
visitedlink_event_listener.cc 146 void VisitedLinkEventListener::Add(VisitedLinkMaster::Fingerprint fingerprint) {
147 pending_visited_links_.push_back(fingerprint);
  /external/chromium_org/components/visitedlink/renderer/
visitedlink_slave.cc 61 table_len * sizeof(Fingerprint))) {
68 hash_table_ = reinterpret_cast<Fingerprint*>(
  /external/chromium_org/chrome/browser/autofill/risk/
fingerprint_browsertest.cc 5 #include "components/autofill/content/browser/risk/fingerprint.h"
12 #include "components/autofill/content/browser/risk/proto/fingerprint.pb.h"
42 const base::Callback<void(scoped_ptr<Fingerprint>)>& callback);
71 void GetFingerprintTestCallback(scoped_ptr<Fingerprint> fingerprint) {
73 ASSERT_TRUE(fingerprint->has_machine_characteristics());
74 const Fingerprint::MachineCharacteristics& machine =
75 fingerprint->machine_characteristics();
103 ASSERT_TRUE(fingerprint->has_transient_state());
104 const Fingerprint::TransientState& transient_state
    [all...]
  /external/chromium_org/components/visitedlink/test/
visitedlink_unittest.cc 122 virtual void Add(VisitedLinkCommon::Fingerprint) OVERRIDE { add_count_++; }
252 const VisitedLinkCommon::Fingerprint kFingerprint0 = kInitialSize * 0 + 14;
253 const VisitedLinkCommon::Fingerprint kFingerprint1 = kInitialSize * 1 + 14;
254 const VisitedLinkCommon::Fingerprint kFingerprint2 = kInitialSize * 2 + 14;
255 const VisitedLinkCommon::Fingerprint kFingerprint3 = kInitialSize * 3 + 14;
256 const VisitedLinkCommon::Fingerprint kFingerprint4 = kInitialSize * 4 + 14;
267 VisitedLinkCommon::Fingerprint zero_fingerprint = 0;
378 VisitedLinkCommon::Fingerprint* table;
388 VisitedLinkCommon::Fingerprint* child_table;
visitedlink_perftest.cc 43 virtual void Add(VisitedLinkCommon::Fingerprint) OVERRIDE {}
  /external/openfst/src/include/fst/
state-table.h 113 // It is passed a function object FP that should fingerprint tuples
127 using VectorBiTable<StateId, T, FP>::Fingerprint;
140 // vector. The fingerprinting functor FP returns a unique fingerprint
154 using VectorHashBiTable<StateId, T, S, FP, H>::Fingerprint;
289 // Fingerprint for general composition tuples.
365 : StateTable(new ComposeFingerprint<StateId, F>(table.Fingerprint())) {}
bi-table.h 271 // It is passed a function object FP that should fingerprint entries
313 const FP &Fingerprint() const { return *fp_; }
326 // vector. The fingerprinting functor FP returns a unique fingerprint
410 const FP &Fingerprint() const { return *fp_; }
458 FP *fp_; // Fingerprint used when hashing entry into vector
  /external/chromium_org/chrome/browser/ui/autofill/
autofill_dialog_controller_impl.h 60 class Fingerprint;
263 // Asks risk module to asynchronously load fingerprint data. Data will be
267 scoped_ptr<risk::Fingerprint> fingerprint);
    [all...]
autofill_dialog_controller_browsertest.cc 30 #include "components/autofill/content/browser/risk/proto/fingerprint.pb.h"
    [all...]

Completed in 1640 milliseconds

1 2