Home
last modified time | relevance | path

Searched refs:toHex (Results 1 – 25 of 83) sorted by relevance

1234

/external/deqp/framework/opengl/
DgluCallLogWrapper.inl31 …m_log << TestLog::Message << "glBeginConditionalRender(" << id << ", " << toHex(mode) << ");" << T…
45 …m_log << TestLog::Message << "glBeginQueryIndexed(" << toHex(target) << ", " << index << ", " << i…
87 …TestLog::Message << "glBindBuffersBase(" << toHex(target) << ", " << first << ", " << count << ", …
94toHex(target) << ", " << first << ", " << count << ", " << toHex(reinterpret_cast<deUintptr>(stati…
129 …m_log << TestLog::Message << "glBindImageTextures(" << first << ", " << count << ", " << toHex(rei…
136 …m_log << TestLog::Message << "glBindMultiTextureEXT(" << toHex(texunit) << ", " << toHex(target) <…
164 …m_log << TestLog::Message << "glBindSamplers(" << first << ", " << count << ", " << toHex(reinterp…
185 …m_log << TestLog::Message << "glBindTextures(" << first << ", " << count << ", " << toHex(reinterp…
213toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(buffers))) << ", " << toHex(reinterpret…
276 …dFuncSeparatei(" << buf << ", " << toHex(srcRGB) << ", " << toHex(dstRGB) << ", " << toHex(srcAlph…
[all …]
DgluStrUtil.cpp77 return str << tcu::toHex(unitStr.texUnit); in operator <<()
115 return str << tcu::toHex(valueStr.value); in operator <<()
182 str << tcu::toHex(flags); in operator <<()
/external/deqp/modules/gles2/functional/
Des2fFloatStateQueryTests.cpp293 using tcu::toHex; in verifyFloatExpanded()
306 …"// ERROR: expected in range [" << toHex(expectedGLStateMin) << "," << toHex(expectedGLStateMax) <… in verifyFloatExpanded()
318 using tcu::toHex; in verifyFloat2Expanded()
342 << "[" << toHex(referenceAsGLintMin[0]) << " " << toHex(referenceAsGLintMax[0]) << "], " in verifyFloat2Expanded()
343 << "[" << toHex(referenceAsGLintMin[1]) << " " << toHex(referenceAsGLintMax[1]) << "]" in verifyFloat2Expanded()
345 << toHex(floatVector2[0]) << ", " in verifyFloat2Expanded()
346 << toHex(floatVector2[1]) << " "<< TestLog::EndMessage; in verifyFloat2Expanded()
356 using tcu::toHex; in verifyFloat4Color()
386 << "[" << toHex(referenceAsGLintMin[0]) << " " << toHex(referenceAsGLintMax[0]) << "], " in verifyFloat4Color()
387 << "[" << toHex(referenceAsGLintMin[1]) << " " << toHex(referenceAsGLintMax[1]) << "], " in verifyFloat4Color()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
Draw_sha1_ostream_test.cpp18 static std::string toHex(StringRef Input) { in toHex() function
35 auto Hash = toHex(Sha1Stream.sha1()); in TEST()
43 std::string Hash = toHex({(const char *)Vec.data(), 20}); in TEST()
52 auto Hash = toHex(Sha1Stream.sha1()); in TEST()
56 Hash = toHex(Sha1Stream.sha1()); in TEST()
61 auto NonSplitHash = toHex(NonSplitSha1Stream.sha1()); in TEST()
69 auto Hash = toHex(Sha1Stream.sha1()); in TEST()
75 Hash = toHex(Sha1Stream.sha1()); in TEST()
/external/llvm/unittests/Support/
Draw_sha1_ostream_test.cpp18 static std::string toHex(StringRef Input) { in toHex() function
35 auto Hash = toHex(Sha1Stream.sha1()); in TEST()
45 auto Hash = toHex(Sha1Stream.sha1()); in TEST()
49 Hash = toHex(Sha1Stream.sha1()); in TEST()
54 auto NonSplitHash = toHex(NonSplitSha1Stream.sha1()); in TEST()
62 auto Hash = toHex(Sha1Stream.sha1()); in TEST()
68 Hash = toHex(Sha1Stream.sha1()); in TEST()
/external/deqp/framework/egl/
DegluCallLogWrapper.inl20 …m_log << TestLog::Message << "eglBindTexImage(" << dpy << ", " << toHex(surface) << ", " << buffer…
65 …m_log << TestLog::Message << "eglCopyBuffers(" << dpy << ", " << toHex(surface) << ", " << toHex(t…
75 …m_log << TestLog::Message << "eglCreateContext(" << dpy << ", " << toHex(config) << ", " << share_…
85 …essage << "eglCreateImage(" << dpy << ", " << ctx << ", " << toHex(target) << ", " << toHex(buffer…
95 …age << "eglCreateImageKHR(" << dpy << ", " << ctx << ", " << toHex(target) << ", " << toHex(buffer…
105 …eatePbufferFromClientBuffer(" << dpy << ", " << toHex(buftype) << ", " << toHex(buffer) << ", " <<…
108 m_log << TestLog::Message << "// " << toHex(returnValue) << " returned" << TestLog::EndMessage;
115 …m_log << TestLog::Message << "eglCreatePbufferSurface(" << dpy << ", " << toHex(config) << ", " <<…
118 m_log << TestLog::Message << "// " << toHex(returnValue) << " returned" << TestLog::EndMessage;
125 …tLog::Message << "eglCreatePixmapSurface(" << dpy << ", " << toHex(config) << ", " << toHex(pixmap…
[all …]
DegluStrUtil.cpp51 return str << tcu::toHex(attribFmt.value); in operator <<()
82 return str << tcu::toHex(attribFmt.value); in operator <<()
101 return str << tcu::toHex(attribFmt.value); in operator <<()
143 return str << tcu::toHex(attribFmt.value); in operator <<()
178 str << tcu::toHex(attrib) << ", ???"; in operator <<()
218 str << tcu::toHex(attrib) << ", ???"; in operator <<()
258 str << tcu::toHex(attrib) << ", ???"; in operator <<()
DegluCallLogWrapper.cpp34 using tcu::toHex;
203 return str << toHex(fmt.display); in operator <<()
222 return str << toHex(fmt.surface); in operator <<()
241 return str << toHex(fmt.context); in operator <<()
/external/deqp/modules/gles3/functional/
Des3fFloatStateQueryTests.cpp326 using tcu::toHex; in verifyFloatExpanded()
339 …"// ERROR: expected in range [" << toHex(expectedGLStateMin) << "," << toHex(expectedGLStateMax) <… in verifyFloatExpanded()
351 using tcu::toHex; in verifyFloat2Expanded()
375 << "[" << toHex(referenceAsGLintMin[0]) << " " << toHex(referenceAsGLintMax[0]) << "], " in verifyFloat2Expanded()
376 << "[" << toHex(referenceAsGLintMin[1]) << " " << toHex(referenceAsGLintMax[1]) << "]" in verifyFloat2Expanded()
378 << toHex(floatVector2[0]) << ", " in verifyFloat2Expanded()
379 << toHex(floatVector2[1]) << " "<< TestLog::EndMessage; in verifyFloat2Expanded()
389 using tcu::toHex; in verifyFloat4Color()
419 << "[" << toHex(referenceAsGLintMin[0]) << " " << toHex(referenceAsGLintMax[0]) << "], " in verifyFloat4Color()
420 << "[" << toHex(referenceAsGLintMin[1]) << " " << toHex(referenceAsGLintMax[1]) << "], " in verifyFloat4Color()
[all …]
Des3fShaderPackingFunctionTests.cpp62 return str << v.value << " / " << tcu::toHex(tcu::Float32(v.value).bits()); in operator <<()
223 << ", expected packSnorm2x16(" << inputs[valNdx] << ") = " << tcu::toHex(ref) in iterate()
224 << ", got " << tcu::toHex(res) in iterate()
312 << " expected unpackSnorm2x16(" << tcu::toHex(inputs[valNdx]) << ") = " in iterate()
414 << ", expected packUnorm2x16(" << inputs[valNdx] << ") = " << tcu::toHex(ref) in iterate()
415 << ", got " << tcu::toHex(res) in iterate()
503 << " expected unpackUnorm2x16(" << tcu::toHex(inputs[valNdx]) << ") = " in iterate()
610 << ", expected packHalf2x16(" << inputs[valNdx] << ") = " << tcu::toHex(ref) in iterate()
611 << ", got " << tcu::toHex(res) in iterate()
719 << " expected unpackHalf2x16(" << tcu::toHex(inputs[valNdx]) << ") = " in iterate()
[all …]
Des3fShaderCommonFunctionTests.cpp268 return str << v.value << " / " << tcu::toHex(tcu::Float32(v.value).bits()); in operator <<()
279 return str << (v.value ? "true" : "false") << " / " << tcu::toHex(v.value); in operator <<()
310 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break; in operator <<()
676 … << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
708 …ompNdx << "] = [" << minRes << ", " << maxRes << "] with ULP threshold " << tcu::toHex(maxUlpDiff); in compare()
775 << tcu::toHex(maxUlpDiff) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
996 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(refOut0) << " with threshold " in compare()
997 << tcu::toHex(maxUlpDiff) << ", got diff " << tcu::toHex(ulpDiff); in compare()
1064 …m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(tcu::Float32(in0).bits()) << " with U… in compare()
1065 << tcu::toHex(maxUlpDiff) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DUnicodeNormalizerConformanceTest.java218 String toHex = s.substring(pos,delim); in hexsplit() local
221 int len = toHex.length(); in hexsplit()
223 if(toHex.charAt(index)==' '){ in hexsplit()
226 int spacePos = toHex.indexOf(' ', index); in hexsplit()
228 appendInt(buf,toHex.substring(index,len),s); in hexsplit()
231 appendInt(buf,toHex.substring(index, spacePos),s); in hexsplit()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DUnicodeNormalizerConformanceTest.java221 String toHex = s.substring(pos,delim); in hexsplit() local
224 int len = toHex.length(); in hexsplit()
226 if(toHex.charAt(index)==' '){ in hexsplit()
229 int spacePos = toHex.indexOf(' ', index); in hexsplit()
231 appendInt(buf,toHex.substring(index,len),s); in hexsplit()
234 appendInt(buf,toHex.substring(index, spacePos),s); in hexsplit()
/external/bcc/examples/networking/http_filter/
Dhttp-parse-complete.py34 def toHex(s): function
190 ip_src = int(toHex(ip_src_str),16)
191 ip_dst = int(toHex(ip_dst_str),16)
217 port_src = int(toHex(port_src_str),16)
218 port_dst = int(toHex(port_dst_str),16)
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktAtomicOperationTests.cpp424 << ". Expected one of the two outcomes: InOut = " << tcu::toHex(exp[0].m_inout) in checkOperation()
425 << ", Output0 = " << tcu::toHex(exp[0].m_output[0]) << ", Output1 = " in checkOperation()
426 << tcu::toHex(exp[0].m_output[1]) << ", or InOut = " << tcu::toHex(exp[1].m_inout) in checkOperation()
427 << ", Output0 = " << tcu::toHex(exp[1].m_output[0]) << ", Output1 = " in checkOperation()
428 << tcu::toHex(exp[1].m_output[1]) << ". Got: InOut = " << tcu::toHex(resIo) in checkOperation()
429 << ", Output0 = " << tcu::toHex(resOutput0) << ", Output1 = " in checkOperation()
430 << tcu::toHex(resOutput1) << ". Using Input0 = " << tcu::toHex(original.input[elementNdx]) in checkOperation()
431 << " and Input1 = " << tcu::toHex(original.input[elementNdx + NUM_ELEMENTS / 2]) << "."; in checkOperation()
DvktShaderPackingFunctionTests.cpp64 return str << v.value << " / " << tcu::toHex(tcu::Float32(v.value).bits()); in operator <<()
228 << ", expected packSnorm2x16(" << inputs[valNdx] << ") = " << tcu::toHex(ref) in iterate()
229 << ", got " << tcu::toHex(res) in iterate()
335 << " expected unpackSnorm2x16(" << tcu::toHex(inputs[valNdx]) << ") = " in iterate()
451 << ", expected packUnorm2x16(" << inputs[valNdx] << ") = " << tcu::toHex(ref) in iterate()
452 << ", got " << tcu::toHex(res) in iterate()
558 << " expected unpackUnorm2x16(" << tcu::toHex(inputs[valNdx]) << ") = " in iterate()
681 << ", expected packHalf2x16(" << inputs[valNdx] << ") = " << tcu::toHex(ref) in iterate()
682 << ", got " << tcu::toHex(res) in iterate()
884 << " expected unpackHalf2x16(" << tcu::toHex((in1 << 16u) | in0) << ") = " in printErrorMessage()
[all …]
DvktShaderCommonFunctionTests.cpp285 return str << v.value << " / " << tcu::toHex(tcu::Float32(v.value).bits()); in operator <<()
296 return str << (v.value ? "true" : "false") << " / " << tcu::toHex(v.value); in operator <<()
327 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break; in operator <<()
857 … << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
889 …ompNdx << "] = [" << minRes << ", " << maxRes << "] with ULP threshold " << tcu::toHex(maxUlpDiff); in compare()
969 << tcu::toHex(maxUlpDiff) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
1234 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(refOut0) << " with threshold " in compare()
1235 << tcu::toHex(maxUlpDiff) << ", got diff " << tcu::toHex(ulpDiff); in compare()
1335 …m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(tcu::Float32(in0).bits()) << " with U… in compare()
1336 << tcu::toHex(maxUlpDiff) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
[all …]
/external/deqp/modules/egl/
DteglQueryContextTests.cpp120 …l, call returned the wrong context. Expected: " << tcu::toHex(context) << ", got: " << tcu::toHex(… in executeForContext()
160 log << TestLog::Message << " Fail, read surface: " << tcu::toHex(gotReadSurface) in executeForContext()
161 << ", draw surface: " << tcu::toHex(gotDrawSurface) in executeForContext()
162 << ", expected: " << tcu::toHex(surface) << TestLog::EndMessage; in executeForContext()
203 …l, call returned the wrong display. Expected: " << tcu::toHex(display) << ", got: " << tcu::toHex(… in executeForContext()
/external/deqp/modules/gles31/functional/
Des31fShaderPackingFunctionTests.cpp62 return str << v.value << " / " << tcu::toHex(tcu::Float32(v.value).bits()); in operator <<()
227 << ", expected packSnorm2x16(" << inputs[valNdx] << ") = " << tcu::toHex(ref) in iterate()
228 << ", got " << tcu::toHex(res) in iterate()
316 << " expected unpackSnorm2x16(" << tcu::toHex(inputs[valNdx]) << ") = " in iterate()
418 << ", expected packUnorm2x16(" << inputs[valNdx] << ") = " << tcu::toHex(ref) in iterate()
419 << ", got " << tcu::toHex(res) in iterate()
507 << " expected unpackUnorm2x16(" << tcu::toHex(inputs[valNdx]) << ") = " in iterate()
614 << ", expected packHalf2x16(" << inputs[valNdx] << ") = " << tcu::toHex(ref) in iterate()
615 << ", got " << tcu::toHex(res) in iterate()
723 << " expected unpackHalf2x16(" << tcu::toHex(inputs[valNdx]) << ") = " in iterate()
[all …]
Des31fShaderCommonFunctionTests.cpp342 return str << v.value << " / " << tcu::toHex(tcu::Float32(v.value).bits()); in operator <<()
353 return str << (v.value ? "true" : "false") << " / " << tcu::toHex(v.value); in operator <<()
384 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break; in operator <<()
754 … << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
786 …ompNdx << "] = [" << minRes << ", " << maxRes << "] with ULP threshold " << tcu::toHex(maxUlpDiff); in compare()
853 << tcu::toHex(maxUlpDiff) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
1079 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(refOut0) << " with threshold " in compare()
1080 << tcu::toHex(maxUlpDiff) << ", got diff " << tcu::toHex(ulpDiff); in compare()
1147 …m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(tcu::Float32(in0).bits()) << " with U… in compare()
1148 << tcu::toHex(maxUlpDiff) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
[all …]
Des31fShaderAtomicOpTests.cpp160 << " s_var = " << typeName << "(" << tcu::toHex(m_initialValue) << "u);\n" in init()
626 …ROR: at group " << groupNdx << ": expected " << tcu::toHex(expectedValue) << ", got " << tcu::toHe… in verify()
637 << ": found unexpected value " << tcu::toHex(outputValue) in verify()
697 …ROR: at group " << groupNdx << ": expected " << tcu::toHex(expectedValue) << ", got " << tcu::toHe… in verify()
708 << ": found unexpected value " << tcu::toHex(outputValue) in verify()
776 …g() << TestLog::Message << "ERROR: at group " << groupNdx << ": expected " << tcu::toHex(expected0) in verify()
777 << " or " << tcu::toHex(expected1) << " (compare mask " << tcu::toHex(compareMask) in verify()
778 << "), got " << tcu::toHex(groupOutput) << TestLog::EndMessage; in verify()
792 << ": found unexpected value " << tcu::toHex(outputValue) in verify()
/external/nist-sip/java/gov/nist/javax/sip/
DUtils.java63 private static final char[] toHex = { '0', '1', '2', '3', '4', '5', '6', field in Utils
93 c[pos++] = toHex[(b[i] >> 4) & 0x0F]; in toHexString()
94 c[pos++] = toHex[b[i] & 0x0f]; in toHexString()
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/
DMessageDigestAlgorithm.java206 private static final char[] toHex = { field in MessageDigestAlgorithm
220 c[pos++] = toHex[(b[i] >> 4) & 0x0F]; in toHexString()
221 c[pos++] = toHex[b[i] & 0x0f]; in toHexString()
/external/deqp/external/vulkancts/framework/vulkan/
DvkAllocationCallbackUtil.cpp682 << ", returnedPtr=" << tcu::toHex(record.data.allocation.returnedPtr); in operator <<()
686 str << "REALLOCATION: original=" << tcu::toHex(record.data.reallocation.original) in operator <<()
690 << ", returnedPtr=" << tcu::toHex(record.data.reallocation.returnedPtr); in operator <<()
694 str << "FREE: mem=" << tcu::toHex(record.data.free.mem); in operator <<()
719 str << "Double free of " << tcu::toHex(violation.record.data.free.mem); in operator <<()
726 …str << "Attempt to free " << tcu::toHex(violation.record.data.free.mem) << " which has not been al… in operator <<()
733 …str << "Attempt to reallocate " << tcu::toHex(violation.record.data.reallocation.original) << " wh… in operator <<()
740 …str << "Attempt to reallocate " << tcu::toHex(violation.record.data.reallocation.original) << " wh… in operator <<()
755 …str << "Invalid internal allocation type " << tcu::toHex(violation.record.data.internalAllocation.… in operator <<()
/external/deqp/external/vulkancts/modules/vulkan/
DvktInfoTests.cpp135 << "driverVersion: " << tcu::toHex(properties.driverVersion) << "\n" in logDeviceInfo()
137 << "vendorID: " << tcu::toHex(properties.vendorID) << "\n" in logDeviceInfo()
138 << "deviceID: " << tcu::toHex(properties.deviceID) << "\n" in logDeviceInfo()

1234