Home
last modified time | relevance | path

Searched refs:ByteAs32 (Results 1 – 3 of 3) sorted by relevance

/external/libtextclassifier/util/hash/
Dhash.cc34 static inline uint32 ByteAs32(char c) { return static_cast<uint32>(c) & 0xff; } in ByteAs32() function
61 h ^= ByteAs32(data[2]) << 16; in Hash32()
64 h ^= ByteAs32(data[1]) << 8; in Hash32()
67 h ^= ByteAs32(data[0]); in Hash32()
/external/libtextclassifier/lang_id/common/math/
Dhash.cc36 static inline uint32 ByteAs32(char c) { return static_cast<uint32>(c) & 0xff; } in ByteAs32() function
63 h ^= ByteAs32(data[2]) << 16; in Hash32()
66 h ^= ByteAs32(data[1]) << 8; in Hash32()
69 h ^= ByteAs32(data[0]); in Hash32()
/external/tensorflow/tensorflow/core/lib/hash/
Dhash.cc27 static inline uint32 ByteAs32(char c) { return static_cast<uint32>(c) & 0xff; } in ByteAs32() function
59 h ^= ByteAs32(data[2]) << 16; in Hash32()
62 h ^= ByteAs32(data[1]) << 8; in Hash32()
65 h ^= ByteAs32(data[0]); in Hash32()