Searched refs:hash_settings (Results 1 – 2 of 2) sorted by relevance
36 void FuzzJson(std::string data_str, int32_t hash_settings) { in FuzzJson() argument39 builder.settings_["failIfExtra"] = hash_settings & (1 << 0); in FuzzJson()40 builder.settings_["allowComments_"] = hash_settings & (1 << 1); in FuzzJson()41 builder.settings_["strictRoot_"] = hash_settings & (1 << 2); in FuzzJson()42 builder.settings_["allowDroppedNullPlaceholders_"] = hash_settings & (1 << 3); in FuzzJson()43 builder.settings_["allowNumericKeys_"] = hash_settings & (1 << 4); in FuzzJson()44 builder.settings_["allowSingleQuotes_"] = hash_settings & (1 << 5); in FuzzJson()45 builder.settings_["failIfExtra_"] = hash_settings & (1 << 6); in FuzzJson()46 builder.settings_["rejectDupKeys_"] = hash_settings & (1 << 7); in FuzzJson()47 builder.settings_["allowSpecialFloats_"] = hash_settings & (1 << 8); in FuzzJson()[all …]
25 const uint32_t hash_settings = static_cast<uint32_t>(data[0]) | in LLVMFuzzerTestOneInput() local32 builder.settings_["failIfExtra"] = hash_settings & (1 << 0); in LLVMFuzzerTestOneInput()33 builder.settings_["allowComments_"] = hash_settings & (1 << 1); in LLVMFuzzerTestOneInput()34 builder.settings_["strictRoot_"] = hash_settings & (1 << 2); in LLVMFuzzerTestOneInput()35 builder.settings_["allowDroppedNullPlaceholders_"] = hash_settings & (1 << 3); in LLVMFuzzerTestOneInput()36 builder.settings_["allowNumericKeys_"] = hash_settings & (1 << 4); in LLVMFuzzerTestOneInput()37 builder.settings_["allowSingleQuotes_"] = hash_settings & (1 << 5); in LLVMFuzzerTestOneInput()38 builder.settings_["failIfExtra_"] = hash_settings & (1 << 6); in LLVMFuzzerTestOneInput()39 builder.settings_["rejectDupKeys_"] = hash_settings & (1 << 7); in LLVMFuzzerTestOneInput()40 builder.settings_["allowSpecialFloats_"] = hash_settings & (1 << 8); in LLVMFuzzerTestOneInput()[all …]