MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / uriPushToStack

Function uriPushToStack

3rd/uriparser/src/UriIp4Base.c:76–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74
75
76void uriPushToStack(UriIp4Parser * parser, unsigned char digit) {
77 switch (parser->stackCount) {
78 case 0:
79 parser->stackOne = digit;
80 parser->stackCount = 1;
81 break;
82
83 case 1:
84 parser->stackTwo = digit;
85 parser->stackCount = 2;
86 break;
87
88 case 2:
89 parser->stackThree = digit;
90 parser->stackCount = 3;
91 break;
92
93 default:
94 ;
95 }
96}

Callers 5

URI_FUNC(ParseDecOctet)Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected