Lines Matching refs:GetHash

211 std::string GetHash(const std::string& input) {
212 return jtl_foundation::Hasher(kTestHashSeed).GetHash(input);
247 bytecode += OP_STORE_BOOL(GetHash("satisfied_criteria_mask_bit1"),
250 bytecode += OP_STORE_BOOL(GetHash("satisfied_criteria_mask_bit2"),
253 bytecode += OP_STORE_BOOL(GetHash("should_prompt"),
257 bytecode += OP_STORE_BOOL(GetHash("combined_status_mask_bit1"),
261 bytecode += OP_NAVIGATE(GetHash("memento_value_in_prefs"));
262 bytecode += OP_COMPARE_NODE_HASH(GetHash(kTestMementoValue));
263 bytecode += OP_STORE_BOOL(GetHash("combined_status_mask_bit2"), VALUE_TRUE);
264 bytecode += OP_STORE_BOOL(GetHash("had_prompted_already"), VALUE_TRUE);
266 bytecode += OP_NAVIGATE(GetHash("memento_value_in_local_state"));
267 bytecode += OP_COMPARE_NODE_HASH(GetHash(kTestMementoValue));
268 bytecode += OP_STORE_BOOL(GetHash("combined_status_mask_bit3"), VALUE_TRUE);
269 bytecode += OP_STORE_BOOL(GetHash("had_prompted_already"), VALUE_TRUE);
271 bytecode += OP_NAVIGATE(GetHash("memento_value_in_file"));
272 bytecode += OP_COMPARE_NODE_HASH(GetHash(kTestMementoValue));
273 bytecode += OP_STORE_BOOL(GetHash("combined_status_mask_bit4"), VALUE_TRUE);
274 bytecode += OP_STORE_BOOL(GetHash("had_prompted_already"), VALUE_TRUE);
276 bytecode += OP_STORE_HASH(GetHash("memento_value_in_prefs"),
279 bytecode += OP_STORE_HASH(GetHash("memento_value_in_local_state"),
282 bytecode += OP_STORE_HASH(GetHash("memento_value_in_file"),
309 bytecode += OP_STORE_BOOL(GetHash("satisfied_criteria_mask_bit1"),
312 bytecode += OP_STORE_BOOL(GetHash("satisfied_criteria_mask_bit3"),
315 bytecode += OP_STORE_BOOL(GetHash("satisfied_criteria_mask_bit5"),
318 bytecode += OP_STORE_BOOL(GetHash("satisfied_criteria_mask_bit2"),
321 bytecode += OP_STORE_BOOL(GetHash("satisfied_criteria_mask_bit4"),
324 bytecode += OP_STORE_BOOL(GetHash("should_prompt"),
327 bytecode += OP_STORE_BOOL(GetHash("combined_status_mask_bit1"),
330 bytecode += OP_STORE_HASH(GetHash("memento_value_in_prefs"),
333 bytecode += OP_STORE_HASH(GetHash("memento_value_in_local_state"),
336 bytecode += OP_STORE_HASH(GetHash("memento_value_in_file"),
358 bytecode += OP_NAVIGATE(GetHash("preferences"));
359 bytecode += OP_NAVIGATE(GetHash("testing"));
360 bytecode += OP_NAVIGATE(GetHash("preference"));
361 bytecode += OP_COMPARE_NODE_HASH(GetHash(kTestPreferenceValue));
362 bytecode += OP_STORE_BOOL(GetHash("combined_status_mask_bit1"),
365 bytecode += OP_NAVIGATE(GetHash("local_state"));
366 bytecode += OP_NAVIGATE(GetHash("testing"));
367 bytecode += OP_NAVIGATE(GetHash("preference"));
368 bytecode += OP_COMPARE_NODE_HASH(GetHash(kTestPreferenceValue));
369 bytecode += OP_STORE_BOOL(GetHash("combined_status_mask_bit2"),
372 bytecode += OP_NAVIGATE(GetHash("preferences_iuc"));
373 bytecode += OP_NAVIGATE(GetHash("testing"));
374 bytecode += OP_NAVIGATE(GetHash("preference"));
376 bytecode += OP_STORE_BOOL(GetHash("combined_status_mask_bit3"),
379 bytecode += OP_NAVIGATE(GetHash("local_state_iuc"));
380 bytecode += OP_NAVIGATE(GetHash("testing"));
381 bytecode += OP_NAVIGATE(GetHash("preference"));
383 bytecode += OP_STORE_BOOL(GetHash("combined_status_mask_bit4"),
414 bytecode += OP_NAVIGATE(GetHash("default_search_provider"));
415 bytecode += OP_NAVIGATE(GetHash("search_url"));
416 bytecode += OP_COMPARE_NODE_HASH(GetHash(kTestSearchURL));
417 bytecode += OP_STORE_BOOL(GetHash("combined_status_mask_bit1"),
420 bytecode += OP_NAVIGATE(GetHash("default_search_provider_iuc"));
422 bytecode += OP_STORE_BOOL(GetHash("combined_status_mask_bit2"),
425 bytecode += OP_NAVIGATE(GetHash("search_providers"));
427 bytecode += OP_NAVIGATE(GetHash("search_url"));
428 bytecode += OP_COMPARE_NODE_HASH(GetHash(kTestSearchURL));
429 bytecode += OP_STORE_BOOL(GetHash("combined_status_mask_bit3"),
432 bytecode += OP_NAVIGATE(GetHash("search_providers"));
434 bytecode += OP_NAVIGATE(GetHash("search_url"));
435 bytecode += OP_COMPARE_NODE_HASH(GetHash(kTestSearchURL2));
436 bytecode += OP_STORE_BOOL(GetHash("combined_status_mask_bit4"),
463 bytecode += OP_NAVIGATE(GetHash("loaded_modules"));
465 bytecode += OP_COMPARE_NODE_HASH(GetHash(kTestModuleDigest));
466 bytecode += OP_STORE_BOOL(GetHash("combined_status_mask_bit1"),
469 bytecode += OP_NAVIGATE(GetHash("loaded_modules"));
471 bytecode += OP_COMPARE_NODE_HASH(GetHash(kTestModuleDigest2));
472 bytecode += OP_STORE_BOOL(GetHash("combined_status_mask_bit2"),