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

Function json_read_string_const_chr

strings/json_lib.c:377–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375
376
377int json_read_string_const_chr(json_string_t *js)
378{
379 int c_len;
380
381 if ((c_len= json_next_char(js)) > 0)
382 {
383 js->c_str+= c_len;
384 return (js->c_next == '\\') ? json_handle_esc(js) : 0;
385 }
386 js->error= json_eos(js) ? JE_EOS : JE_BAD_CHR;
387 return 1;
388}
389
390
391static int skip_str_constant(json_engine_t *j)

Callers 2

json_key_matchesFunction · 0.85
json_unescapeFunction · 0.85

Calls 1

json_handle_escFunction · 0.85

Tested by

no test coverage detected