MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / stbi__hdr_test_core

Function stbi__hdr_test_core

include/stb/stb_image.h:7087–7095  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7085// originally by Nicolas Schulz
7086#ifndef STBI_NO_HDR
7087static int stbi__hdr_test_core(stbi__context *s, const char *signature)
7088{
7089 int i;
7090 for (i=0; signature[i]; ++i)
7091 if (stbi__get8(s) != signature[i])
7092 return 0;
7093 stbi__rewind(s);
7094 return 1;
7095}
7096
7097static int stbi__hdr_test(stbi__context* s)
7098{

Callers 1

stbi__hdr_testFunction · 0.85

Calls 2

stbi__get8Function · 0.85
stbi__rewindFunction · 0.85

Tested by

no test coverage detected