Searched refs:JSON_VARIANT_STRING (Results 1 - 3 of 3) sorted by relevance

/systemd/src/basic/
H A Djson.h46 JSON_VARIANT_STRING, enumerator in enum:__anon17
H A Djson.c53 if (variant->type == JSON_VARIANT_STRING) {
83 else if (variant->type == JSON_VARIANT_STRING)
123 if (p->type == JSON_VARIANT_STRING)
141 else if (variant->type == JSON_VARIANT_STRING)
151 assert(variant->type == JSON_VARIANT_STRING);
195 if (p->type == JSON_VARIANT_STRING && streq(key, p->string))
652 if (var->type != JSON_VARIANT_STRING)
802 r = json_variant_new(&var, JSON_VARIANT_STRING);
/systemd/src/test/
H A Dtest-json.c99 assert_se(p && p->type == JSON_VARIANT_STRING);
143 assert_se(q && q->type == JSON_VARIANT_STRING && streq(json_variant_string(q), "1"));
159 assert_se(q && q->type == JSON_VARIANT_STRING && streq(json_variant_string(q), "1"));

Completed in 13 milliseconds