Lines Matching refs:element
329 const json element = R"( { "name": "VDD_CPU0" } )"_json; in TEST() local
330 const json& propertyElement = getRequiredProperty(element, "name"); in TEST()
337 const json element = R"( { "foo": 23 } )"_json; in TEST() local
338 getRequiredProperty(element, "name"); in TEST()
351 const json element = R"( true )"_json; in TEST() local
352 bool value = parseBoolean(element); in TEST()
358 const json element = R"( false )"_json; in TEST() local
359 bool value = parseBoolean(element); in TEST()
366 const json element = R"( 1 )"_json; in TEST() local
367 parseBoolean(element); in TEST()
380 const json element = R"( in TEST() local
385 GPIO gpio = parseGPIO(element); in TEST()
392 const json element = R"( in TEST() local
398 GPIO gpio = parseGPIO(element); in TEST()
406 const json element = R"( [ "vdda", "vddb" ] )"_json; in TEST() local
407 parseGPIO(element); in TEST()
418 const json element = R"( in TEST() local
423 parseGPIO(element); in TEST()
434 const json element = R"( in TEST() local
440 parseGPIO(element); in TEST()
451 const json element = R"( in TEST() local
457 parseGPIO(element); in TEST()
468 const json element = R"( in TEST() local
474 parseGPIO(element); in TEST()
487 const json element = R"( in TEST() local
492 std::unique_ptr<Rail> rail = parseRail(element); in TEST()
504 const json element = R"( in TEST() local
515 std::unique_ptr<Rail> rail = parseRail(element); in TEST()
533 const json element = R"( [ "vdda", "vddb" ] )"_json; in TEST() local
534 parseRail(element); in TEST()
545 const json element = R"( in TEST() local
550 parseRail(element); in TEST()
561 const json element = R"( in TEST() local
567 parseRail(element); in TEST()
578 const json element = R"( in TEST() local
584 parseRail(element); in TEST()
595 const json element = R"( in TEST() local
601 parseRail(element); in TEST()
612 const json element = R"( in TEST() local
618 parseRail(element); in TEST()
629 const json element = R"( in TEST() local
635 parseRail(element); in TEST()
646 const json element = R"( in TEST() local
652 parseRail(element); in TEST()
663 const json element = R"( in TEST() local
669 parseRail(element); in TEST()
680 const json element = R"( in TEST() local
686 parseRail(element); in TEST()
698 const json element = R"( in TEST() local
704 parseRail(element); in TEST()
715 const json element = R"( in TEST() local
721 parseRail(element); in TEST()
734 const json element = R"( in TEST() local
738 std::vector<std::unique_ptr<Rail>> rails = parseRailArray(element); in TEST()
744 const json element = R"( in TEST() local
750 std::vector<std::unique_ptr<Rail>> rails = parseRailArray(element); in TEST()
759 const json element = R"( in TEST() local
764 parseRailArray(element); in TEST()
775 const json element = R"( in TEST() local
781 parseRailArray(element); in TEST()
794 const json element = R"( in TEST() local
810 std::vector<std::unique_ptr<Rail>> rails = parseRoot(element); in TEST()
819 const json element = R"( [ "VDD_CPU0", "VCS_CPU1" ] )"_json; in TEST() local
820 parseRoot(element); in TEST()
831 const json element = R"( in TEST() local
835 parseRoot(element); in TEST()
846 const json element = R"( in TEST() local
851 parseRoot(element); in TEST()
862 const json element = R"( in TEST() local
874 parseRoot(element); in TEST()
887 const json element = ""; in TEST() local
888 std::string value = parseString(element, true); in TEST()
894 const json element = "vdd_cpu1"; in TEST() local
895 std::string value = parseString(element, false); in TEST()
902 const json element = R"( { "foo": "bar" } )"_json; in TEST() local
903 parseString(element); in TEST()
914 const json element = ""; in TEST() local
915 parseString(element); in TEST()
928 const json element = R"( 0 )"_json; in TEST() local
929 uint8_t value = parseUint8(element); in TEST()
935 const json element = R"( 255 )"_json; in TEST() local
936 uint8_t value = parseUint8(element); in TEST()
943 const json element = R"( 1.03 )"_json; in TEST() local
944 parseUint8(element); in TEST()
955 const json element = R"( -1 )"_json; in TEST() local
956 parseUint8(element); in TEST()
967 const json element = R"( 256 )"_json; in TEST() local
968 parseUint8(element); in TEST()
981 const json element = R"( 1 )"_json; in TEST() local
982 unsigned int value = parseUnsignedInteger(element); in TEST()
989 const json element = R"( 1.5 )"_json; in TEST() local
990 parseUnsignedInteger(element); in TEST()
1001 const json element = R"( -1 )"_json; in TEST() local
1002 parseUnsignedInteger(element); in TEST()
1015 const json element = R"( [ "foo", "bar" ] )"_json; in TEST() local
1016 verifyIsArray(element); in TEST()
1022 const json element = R"( { "foo": "bar" } )"_json; in TEST() local
1023 verifyIsArray(element); in TEST()
1036 const json element = R"( { "foo": "bar" } )"_json; in TEST() local
1037 verifyIsObject(element); in TEST()
1043 const json element = R"( [ "foo", "bar" ] )"_json; in TEST() local
1044 verifyIsObject(element); in TEST()
1057 const json element = R"( in TEST() local
1063 verifyPropertyCount(element, 2); in TEST()
1069 const json element = R"( in TEST() local
1076 verifyPropertyCount(element, 2); in TEST()