MCPcopy Create free account
hub / github.com/MariaDB/server / read_true

Function read_true

strings/json_lib.c:688–698  ·  view source on GitHub ↗

Read true. */

Source from the content-addressed store, hash-verified

686
687/* Read true. */
688static int read_true(json_engine_t *j)
689{
690 int *value_ptr= NULL;
691
692 j->value_type= JSON_VALUE_TRUE;
693 j->value= j->value_begin;
694 value_ptr= ((int*)(j->stack.buffer) + (j->stack_p));
695 j->state= value_ptr ? *value_ptr : 0;
696 j->value_len= 4;
697 return skip_string_verbatim(&j->s, "rue");
698}
699
700
701/* Disallowed character. */

Callers

nothing calls this directly

Calls 1

skip_string_verbatimFunction · 0.85

Tested by

no test coverage detected