Lines Matching refs:status

47     lxb_status_t status;  in lxb_html_tokenizer_init()  local
55 status = lexbor_mraw_init(tkz->mraw, 1024); in lxb_html_tokenizer_init()
56 if (status != LXB_STATUS_OK) { in lxb_html_tokenizer_init()
57 return status; in lxb_html_tokenizer_init()
64 status = lexbor_dobject_init(tkz->dobj_token, in lxb_html_tokenizer_init()
66 if (status != LXB_STATUS_OK) { in lxb_html_tokenizer_init()
67 return status; in lxb_html_tokenizer_init()
72 status = lexbor_dobject_init(tkz->dobj_token_attr, 4096, in lxb_html_tokenizer_init()
74 if (status != LXB_STATUS_OK) { in lxb_html_tokenizer_init()
75 return status; in lxb_html_tokenizer_init()
80 status = lexbor_array_obj_init(tkz->parse_errors, 16, in lxb_html_tokenizer_init()
82 if (status != LXB_STATUS_OK) { in lxb_html_tokenizer_init()
83 return status; in lxb_html_tokenizer_init()
108 tkz->status = LXB_STATUS_OK; in lxb_html_tokenizer_init()
120 lxb_status_t status; in lxb_html_tokenizer_inherit() local
135 status = lexbor_array_obj_init(tkz_to->parse_errors, 16, in lxb_html_tokenizer_inherit()
137 if (status != LXB_STATUS_OK) { in lxb_html_tokenizer_inherit()
138 return status; in lxb_html_tokenizer_inherit()
148 tkz_to->status = LXB_STATUS_OK; in lxb_html_tokenizer_inherit()
207 tkz->status = LXB_STATUS_OK; in lxb_html_tokenizer_clean()
276 tkz->status = lxb_html_tokenizer_tags_make(tkz, 256); in lxb_html_tokenizer_begin()
277 if (tkz->status != LXB_STATUS_OK) { in lxb_html_tokenizer_begin()
278 return tkz->status; in lxb_html_tokenizer_begin()
285 tkz->status = lxb_html_tokenizer_attrs_make(tkz, 256); in lxb_html_tokenizer_begin()
286 if (tkz->status != LXB_STATUS_OK) { in lxb_html_tokenizer_begin()
287 return tkz->status; in lxb_html_tokenizer_begin()
314 tkz->status = LXB_STATUS_OK; in lxb_html_tokenizer_chunk()
340 return tkz->status; in lxb_html_tokenizer_chunk()
348 tkz->status = LXB_STATUS_OK; in lxb_html_tokenizer_end()
362 if (tkz->status != LXB_STATUS_OK) { in lxb_html_tokenizer_end()
363 return tkz->status; in lxb_html_tokenizer_end()
374 if (tkz->token == NULL && tkz->status == LXB_STATUS_OK) { in lxb_html_tokenizer_end()
375 tkz->status = LXB_STATUS_ERROR; in lxb_html_tokenizer_end()
378 return tkz->status; in lxb_html_tokenizer_end()
465 lxb_status_t status) in lxb_html_tokenizer_status_set_noi() argument
467 lxb_html_tokenizer_status_set(tkz, status); in lxb_html_tokenizer_status_set_noi()