MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / ttULONG

Function ttULONG

extern/imgui/imstb_truetype.h:1293–1293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1291static stbtt_uint16 ttUSHORT(stbtt_uint8 *p) { return p[0]*256 + p[1]; }
1292static stbtt_int16 ttSHORT(stbtt_uint8 *p) { return p[0]*256 + p[1]; }
1293static stbtt_uint32 ttULONG(stbtt_uint8 *p) { return (p[0]<<24) + (p[1]<<16) + (p[2]<<8) + p[3]; }
1294static stbtt_int32 ttLONG(stbtt_uint8 *p) { return (p[0]<<24) + (p[1]<<16) + (p[2]<<8) + p[3]; }
1295
1296#define stbtt_tag4(p,c0,c1,c2,c3) ((p)[0] == (c0) && (p)[1] == (c1) && (p)[2] == (c2) && (p)[3] == (c3))

Callers 9

stbtt__find_tableFunction · 0.85
stbtt__get_svgFunction · 0.85
stbtt_InitFont_internalFunction · 0.85
stbtt_FindGlyphIndexFunction · 0.85
stbtt__GetGlyfOffsetFunction · 0.85
stbtt_GetGlyphSVGFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected