Lines Matching refs:value

411     int64_t value;  in integers()  local
413 cbor_value_get_int64(&first, &value); in integers()
414 QCOMPARE(qint64(value), expectedValue); in integers()
417 err = cbor_value_get_int64_checked(&first, &value); in integers()
905 CborValue value; in chunkedStringTest() local
907 err = cbor_value_enter_container(&first, &value); in chunkedStringTest()
909 QVERIFY(cbor_value_is_byte_string(&value) || cbor_value_is_text_string(&value)); in chunkedStringTest()
911 CborValue copy = value; in chunkedStringTest()
915 err = parseOneChunk(&value, &decoded); in chunkedStringTest()
952 QVERIFY(!cbor_value_at_end(&value)); in chunkedStringTest()
953 QCOMPARE(cbor_value_get_type(&value), ourType); in chunkedStringTest()
955 err = cbor_value_get_string_length(&value, &len); in chunkedStringTest()
959 err = cbor_value_advance(&value); in chunkedStringTest()
963 QVERIFY(cbor_value_at_end(&value)); in chunkedStringTest()
965 err = cbor_value_leave_container(&first, &value); in chunkedStringTest()
1058 CborValue value; in stringLength() local
1059 …parser_init(reinterpret_cast<const quint8 *>(data.constData()), data.length(), 0, &parser, &value); in stringLength()
1063 err = cbor_value_calculate_string_length(&value, &result); in stringLength()
1067 if (cbor_value_is_length_known(&value)) { in stringLength()
1068 QCOMPARE(cbor_value_get_string_length(&value, &result), CborNoError); in stringLength()
1153 CborValue value; in compareOneString() local
1154 …parser_init(reinterpret_cast<const quint8 *>(data.constData()), data.length(), 0, &parser, &value); in compareOneString()
1159 err = cbor_value_text_string_equals(&value, bastring.constData(), &result); in compareOneString()
1165 cbor_value_skip_tag(&value); in compareOneString()
1166 if (cbor_value_is_length_known(&value)) { in compareOneString()
1167 QCOMPARE(cbor_value_get_string_length(&value, &len), CborNoError); in compareOneString()
1170 QCOMPARE(cbor_value_calculate_string_length(&value, &len), CborNoError); in compareOneString()
1260 CborValue value; in mapFind() local
1261 …parser_init(reinterpret_cast<const quint8 *>(data.constData()), data.length(), 0, &parser, &value); in mapFind()
1265 err = cbor_value_map_find_value(&value, "needle", &element); in mapFind()
1337 CborValue value; in checkedIntegers() local
1338 …parser_init(reinterpret_cast<const quint8 *>(data.constData()), data.length(), 0, &parser, &value); in checkedIntegers()
1342 err = cbor_value_get_int64_checked(&value, &v); in checkedIntegers()
1350 err = cbor_value_get_int_checked(&value, &v2); in checkedIntegers()