Home
last modified time | relevance | path

Searched refs:qvalue (Results 1 – 4 of 4) sorted by relevance

/external/angle/src/libANGLE/
DBlobCache_unittest.cpp78 Blob qvalue; in TEST() local
80 EXPECT_TRUE(blobCache.get(nullptr, MakeKey(value), &qvalue, &blobSize)); in TEST()
81 if (qvalue.size() > 0) in TEST()
83 EXPECT_EQ(value, qvalue[0]); in TEST()
93 Blob qvalue; in TEST() local
95 EXPECT_FALSE(blobCache.get(nullptr, MakeKey(0), &qvalue, &blobSize)); in TEST()
104 EXPECT_FALSE(blobCache.get(nullptr, MakeKey(value), &qvalue, &blobSize)); in TEST()
106 EXPECT_TRUE(blobCache.get(nullptr, MakeKey(kSize + 1), &qvalue, &blobSize)); in TEST()
107 if (qvalue.size() > 0) in TEST()
109 EXPECT_EQ(kSize + 1, qvalue[0]); in TEST()
[all …]
DSizedMRUCache_unittest.cpp59 const size_t *qvalue = nullptr; in TEST() local
60 EXPECT_TRUE(sizedCache.get(value, &qvalue)); in TEST()
61 if (qvalue) in TEST()
63 EXPECT_EQ(value, *qvalue); in TEST()
73 const size_t *qvalue = nullptr; in TEST() local
74 EXPECT_FALSE(sizedCache.get(0, &qvalue)); in TEST()
83 EXPECT_FALSE(sizedCache.get(value, &qvalue)); in TEST()
85 EXPECT_TRUE(sizedCache.get(kSize + 1, &qvalue)); in TEST()
86 if (qvalue) in TEST()
88 EXPECT_EQ(kSize + 1, *qvalue); in TEST()
/external/ImageMagick/coders/
Djpeg.c762 qvalue, in JPEGSetImageQuality() local
812 qvalue=(ssize_t) (jpeg_info->quant_tbl_ptrs[0]->quantval[2]+ in JPEGSetImageQuality()
818 if ((qvalue < hash[i]) && (sum < sums[i])) in JPEGSetImageQuality()
820 if (((qvalue <= hash[i]) && (sum <= sums[i])) || (i >= 50)) in JPEGSetImageQuality()
824 "Quality: %.20g (%s)",(double) i+1,(qvalue <= hash[i]) && in JPEGSetImageQuality()
863 qvalue=(ssize_t) (jpeg_info->quant_tbl_ptrs[0]->quantval[2]+ in JPEGSetImageQuality()
867 if ((qvalue < hash[i]) && (sum < sums[i])) in JPEGSetImageQuality()
869 if (((qvalue <= hash[i]) && (sum <= sums[i])) || (i >= 50)) in JPEGSetImageQuality()
873 "Quality: %.20g (%s)",(double) i+1,(qvalue <= hash[i]) && in JPEGSetImageQuality()
/external/libcups/cups/
Dhttp.c812 double qvalue; /* "qvalue" for coding */ in httpGetContentEncoding() local
830 qvalue = 1.0; in httpGetContentEncoding()
842 qvalue = _cupsStrScand(end + 3, NULL, loc); in httpGetContentEncoding()
862 if (qvalue <= 0.0) in httpGetContentEncoding()