Home
last modified time | relevance | path

Searched full:key1 (Results 1 – 25 of 42) sorted by relevance

12

/openbmc/phosphor-logging/test/openpower-pels/
H A Dadditional_data_test.cpp25 {"KEY1", "VALUE1"}, {"KEY2", "VALUE2"}, {"KEY3", ""}}; in TEST()
28 EXPECT_TRUE(ad.getValue("KEY1")); in TEST()
29 EXPECT_EQ(*(ad.getValue("KEY1")), "VALUE1"); in TEST()
44 std::string expected = R"({"KEY1":"VALUE1","KEY2":"VALUE2","KEY3":""})"; in TEST()
47 ad.remove("KEY1"); in TEST()
48 EXPECT_FALSE(ad.getValue("KEY1")); in TEST()
55 ad.add("KEY1", "VALUE1"); in TEST()
56 EXPECT_EQ(*(ad.getValue("KEY1")), "VALUE1"); in TEST()
61 std::map<std::string, std::string> expected{{"KEY1", "VALUE1"}, in TEST()
H A Dpel_test.cpp165 std::map<std::string, std::string> data{{"KEY1", "VALUE1"}}; in TEST_F()
240 std::map<std::string, std::string> data{{"KEY1", std::string(17000, 'G')}}; in TEST_F()
362 std::map<std::string, std::string> ad{{"KEY1", "VALUE1"}, in TEST_F()
381 R"({"KEY1":"VALUE1","KEY2":"VALUE2","KEY3":"VALUE3"})"; in TEST_F()
392 EXPECT_EQ(newJSON["KEY1"], "VALUE1"); in TEST_F()
503 "key1": "value1", in getJSONFFDC()
542 EXPECT_EQ("value1", json["key1"].get<std::string>()); in TEST_F()
577 "key1": "value1", in getCBORFFDC()
621 EXPECT_EQ("value1", json["key1"].get<std::string>()); in TEST_F()
753 std::map<std::string, std::string> additionalData{{"KEY1", "VALUE1"}}; in TEST_F()
H A Devent_logger_test.cpp77 ad.add("key1", "value1"); in TEST()
/openbmc/u-boot/board/k+p/kp_imx53/
H A Dkp_imx53.c26 #define KEY1 IMX_GPIO_NR(2, 26) macro
190 gpio_request(KEY1, "KEY1_GPIO"); in board_misc_setup()
191 gpio_direction_input(KEY1); in board_misc_setup()
193 if (gpio_get_value(KEY1)) in board_misc_setup()
194 env_set("key1", "off"); in board_misc_setup()
196 env_set("key1", "on"); in board_misc_setup()
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Logging/
H A DCreate.interface.yaml24 "key1": "value1",
28 ["KEY1=value1", "KEY2=value2"]
60 "key1": "value1",
64 ["KEY1=value1", "KEY2=value2"]
/openbmc/libcper/
H A Dpycper.c37 json_object_object_foreach(jso, key1, val) in convert_to_pydict()
40 if (key1 != NULL) { in convert_to_pydict()
41 //printf("Parsing %s\n", key1); in convert_to_pydict()
45 PyDict_SetItemString(ret, key1, pyobj); in convert_to_pydict()
/openbmc/u-boot/fs/ubifs/
H A Dkey.h465 * @key1: the first key to compare
468 * This function compares 2 keys and returns %-1 if @key1 is less than
469 * @key2, %0 if the keys are equivalent and %1 if @key1 is greater than @key2.
472 const union ubifs_key *key1, in keys_cmp() argument
475 if (key1->u32[0] < key2->u32[0]) in keys_cmp()
477 if (key1->u32[0] > key2->u32[0]) in keys_cmp()
479 if (key1->u32[1] < key2->u32[1]) in keys_cmp()
481 if (key1->u32[1] > key2->u32[1]) in keys_cmp()
490 * @key1: the first key to compare
493 * This function compares 2 keys and returns %1 if @key1 is equal to @key2 and
[all …]
H A Dtnc_misc.c357 const union ubifs_key *key1, *key2; in read_znode() local
359 key1 = &znode->zbranch[i].key; in read_znode()
362 cmp = keys_cmp(c, key1, key2); in read_znode()
367 } else if (cmp == 0 && !is_hash_key(c, key1)) { in read_znode()
452 union ubifs_key key1, *key = &zbr->key; in ubifs_tnc_read_node() local
474 key_read(c, node + UBIFS_KEY_OFFSET, &key1); in ubifs_tnc_read_node()
475 if (!keys_eq(c, key, &key1)) { in ubifs_tnc_read_node()
479 dbg_tnck(&key1, "but found node's key "); in ubifs_tnc_read_node()
H A Dtnc.c718 * level 1 | Key0 | Key1 | in resolve_collision()
1680 union ubifs_key key1; in validate_data_node() local
1703 key_read(c, buf + UBIFS_KEY_OFFSET, &key1); in validate_data_node()
1704 if (!keys_eq(c, &zbr->key, &key1)) { in validate_data_node()
1708 dbg_tnck(&key1, "found node's key "); in validate_data_node()
1875 union ubifs_key *key, *key1; in correct_parent_keys() local
1881 key1 = &znode->parent->zbranch[0].key; in correct_parent_keys()
1883 while (keys_cmp(c, key, key1) < 0) { in correct_parent_keys()
1884 key_copy(c, key, key1); in correct_parent_keys()
1889 key1 = &znode->parent->zbranch[0].key; in correct_parent_keys()
[all …]
/openbmc/u-boot/common/
H A Dhwconfig.c245 env_set("hwconfig", "key1:subkey1=value1,subkey2=value2;key2:value3;;;;" in main()
248 ret = hwconfig_arg("key1", &len); in main()
251 assert(hwconfig_arg_cmp("key1", "subkey1=value1,subkey2=value2")); in main()
254 ret = hwconfig_subarg("key1", "subkey1", &len); in main()
257 assert(hwconfig_subarg_cmp("key1", "subkey1", "value1")); in main()
260 ret = hwconfig_subarg("key1", "subkey2", &len); in main()
263 assert(hwconfig_subarg_cmp("key1", "subkey2", "value2")); in main()
/openbmc/qemu/qga/
H A Dcommands-posix-ssh.c251 .value = (char *)"algo key1 comments",
341 "algo key1 comments"); in test_add_keys()
356 test_authorized_keys_equal("algo key1 comments\n" in test_add_reset_keys()
382 "algo key1 comments\n" in test_remove_keys()
384 "algo key1 comments\n" in test_remove_keys()
406 "algo key1 comments\n" in test_get_keys()
/openbmc/qemu/tests/qapi-schema/
H A Dquoted-structural-chars.json1 '{' 'key1' ':' 'value1' ',' 'key2' ':' '[' ']' '}'
/openbmc/bmcweb/test/include/
H A Dmultipart_test.cpp107 "{\"Key1\": 11223333333333333333333333333333333333333333}\r\n" in TEST_F()
127 "{\"Key1\": 112233}\r\n" in TEST_F()
146 "{\"Key1\": 112233}\r\n" in TEST_F()
166 "{\"Key1\": 112233}\r\n" in TEST_F()
186 "{\"Key1\": 112233}\r\n" in TEST_F()
205 "{\"Key1\": 112233}\r\n" in TEST_F()
224 "{\"Key1\": 112233}\r\n" in TEST_F()
244 "{\"Key1\": 112233}\r\n" in TEST_F()
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Dump/
H A DCreate.interface.yaml28 "key1": "value1",
32 ["KEY1=value1", "KEY2=value2"]
/openbmc/phosphor-dbus-interfaces/yaml/org/open_power/Logging/
H A DPEL.interface.yaml84 "key1": "value1",
88 ["KEY1=value1", "KEY2=value2"]
/openbmc/u-boot/board/k+p/bootscripts/
H A Dtpcboot.cmd28 setenv bootargs '${bootargs} di=${dig_in} key1=${key1}';
/openbmc/qemu/net/
H A Dcolo.c38 int connection_key_equal(const void *key1, const void *key2) in connection_key_equal() argument
40 return memcmp(key1, key2, sizeof(ConnectionKey)) == 0; in connection_key_equal()
/openbmc/qemu/target/arm/tcg/
H A Dpauth_helper.c240 * and key1 contains bits <63:0> of the 128-bit key. in pauth_computepac_architected()
242 uint64_t key0 = key.hi, key1 = key.lo; in pauth_computepac_architected() local
251 roundkey = key1 ^ runningmod; in pauth_computepac_architected()
276 workingval ^= key1; in pauth_computepac_architected()
298 roundkey = key1 ^ runningmod; in pauth_computepac_architected()
/openbmc/u-boot/arch/arm/dts/
H A Dimx53-kp.dts91 /* KEY1 GPIO */
/openbmc/phosphor-psu-code-mgmt/src/
H A Dversion.cpp79 // e.g. key1=value1,key2=value2 in getExtVersionInfo()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dadditional_data.hpp84 * Looks like: {"key1":"value1","key2":"value2"}
/openbmc/qemu/tests/unit/
H A Dtest-crypto-xts.c34 unsigned char key1[32]; member
348 AES_set_encrypt_key(data->key1, data->keylen / 2 * 8, &aesdata.enc); in test_xts()
349 AES_set_decrypt_key(data->key1, data->keylen / 2 * 8, &aesdata.dec); in test_xts()
384 AES_set_encrypt_key(data->key1, data->keylen / 2 * 8, &aesdata.enc); in test_xts_split()
385 AES_set_decrypt_key(data->key1, data->keylen / 2 * 8, &aesdata.dec); in test_xts_split()
429 AES_set_encrypt_key(data->key1, data->keylen / 2 * 8, &aesdata.enc); in test_xts_unaligned()
430 AES_set_decrypt_key(data->key1, data->keylen / 2 * 8, &aesdata.dec); in test_xts_unaligned()
/openbmc/phosphor-net-ipmid/test/
H A Dcipher.cpp51 FAIL() << "Generating Key1 failed"; in TEST()
99 FAIL() << "Generating Key1 failed"; in TEST()
214 FAIL() << "Generating Key1 failed"; in TEST()
263 FAIL() << "Generating Key1 failed"; in TEST()
/openbmc/docs/designs/
H A Ddump-manager.md165 'domain.Dump.Create.CreateParameters.ParamName'. e.g.: { "key1": "value1",
166 "key2": "value2" } ends up in AdditionaData like: ["KEY1=value1",
/openbmc/phosphor-fan-presence/control/
H A Dfanctl.cpp636 for (const auto& [key1, values1] : section.items()) in queryDumpFile()
638 if (dq.name.empty() || (key1.find(dq.name) != std::string::npos)) in queryDumpFile()
643 output[key1] = values1; in queryDumpFile()
655 output[key1][prop] = values2; in queryDumpFile()
665 output[key1][prop] = values3; in queryDumpFile()

12