Lines Matching refs:reason
31 lws_struct_schema_only_lejp_cb(struct lejp_ctx *ctx, char reason)
38 if (reason == LEJPCB_PAIR_NAME && strcmp(ctx->path, "schema")) {
78 if (reason != LEJPCB_VAL_STR_END || ctx->path_match != 1)
113 return cb(ctx, reason);
142 lws_struct_default_lejp_cb(struct lejp_ctx *ctx, char reason)
150 if (reason == LEJPCB_ARRAY_END) {
156 if (reason == LEJPCB_ARRAY_START) {
171 if (reason == LEJPCB_OBJECT_START) {
192 if (reason == LEJPCB_OBJECT_END && pmap) {
293 if (reason == LEJPCB_VAL_STR_CHUNK) {
323 if (reason != LEJPCB_VAL_STR_END && reason != LEJPCB_VAL_NUM_INT &&
324 reason != LEJPCB_VAL_TRUE && reason != LEJPCB_VAL_FALSE)
395 li = reason == LEJPCB_VAL_TRUE;