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

Function stbi__pic_is4

include/stb/stb_image.h:6336–6344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6334
6335#ifndef STBI_NO_PIC
6336static int stbi__pic_is4(stbi__context *s,const char *str)
6337{
6338 int i;
6339 for (i=0; i<4; ++i)
6340 if (stbi__get8(s) != (stbi_uc)str[i])
6341 return 0;
6342
6343 return 1;
6344}
6345
6346static int stbi__pic_test_core(stbi__context *s)
6347{

Callers 2

stbi__pic_test_coreFunction · 0.85
stbi__pic_infoFunction · 0.85

Calls 1

stbi__get8Function · 0.85

Tested by

no test coverage detected