Lines Matching refs:GetHash
21 std::string GetHash(const std::string& input) {
22 return jtl_foundation::Hasher(kTestHashSeed).GetHash(input);
45 {"go(\"foo\").", OP_NAVIGATE(GetHash("foo"))},
46 {"go(\"has whitespace\t\").", OP_NAVIGATE(GetHash("has whitespace\t"))},
50 OP_STORE_BOOL(GetHash("name"), VALUE_TRUE)},
52 OP_COMPARE_STORED_BOOL(GetHash("name"), VALUE_TRUE, VALUE_FALSE)},
53 {"store_hash(\"name\", \"" + GetHash("value") + "\").",
54 OP_STORE_HASH(GetHash("name"), GetHash("value"))},
56 OP_STORE_HASH(GetHash("name"), GetHash("value"))},
57 {"store_node_bool(\"name\").", OP_STORE_NODE_BOOL(GetHash("name"))},
58 {"store_node_hash(\"name\").", OP_STORE_NODE_HASH(GetHash("name"))},
60 OP_STORE_NODE_REGISTERABLE_DOMAIN_HASH(GetHash("name"))},
63 GetHash("name"), GetHash("value"), GetHash("default"))},
66 {"compare_hashed(\"foo\").", OP_COMPARE_NODE_HASH(GetHash("foo"))},
68 OP_COMPARE_NODE_HASH_NOT(GetHash("foo"))},
70 OP_COMPARE_NODE_TO_STORED_BOOL(GetHash("name"))},
72 OP_COMPARE_NODE_TO_STORED_HASH(GetHash("name"))},
75 GetHash("pattern"), EncodeUint32(7), EncodeUint32(766))},
97 OP_NAVIGATE(GetHash("foo")) +
98 OP_NAVIGATE(GetHash("bar")) +
99 OP_STORE_BOOL(GetHash("x"), VALUE_TRUE) + OP_END_OF_SENTENCE +
100 OP_COMPARE_STORED_BOOL(GetHash("x"), VALUE_TRUE, VALUE_FALSE) +
101 OP_STORE_HASH(GetHash("y"), GetHash("1")) + OP_END_OF_SENTENCE;