Lines Matching refs:strlen
37 TRY(ctx->write_string_len(ctx->application_data, "<!DOCTYPE ", strlen("<!DOCTYPE "))); in dom_html5_serialize_doctype()
39 return ctx->write_string_len(ctx->application_data, ">", strlen(">")); in dom_html5_serialize_doctype()
44 TRY(ctx->write_string_len(ctx->application_data, "<!--", strlen("<!--"))); in dom_html5_serialize_comment()
48 return ctx->write_string_len(ctx->application_data, "-->", strlen("-->")); in dom_html5_serialize_comment()
53 TRY(ctx->write_string_len(ctx->application_data, "<?", strlen("<?"))); in dom_html5_serialize_processing_instruction()
55 TRY(ctx->write_string_len(ctx->application_data, " ", strlen(" "))); in dom_html5_serialize_processing_instruction()
59 return ctx->write_string_len(ctx->application_data, ">", strlen(">")); in dom_html5_serialize_processing_instruction()
64 TRY(ctx->write_string_len(ctx->application_data, "&", strlen("&"))); in dom_html5_serialize_entity_ref()
66 return ctx->write_string_len(ctx->application_data, ";", strlen(";")); in dom_html5_serialize_entity_ref()
89 TRY(ctx->write_string_len(ctx->application_data, "&", strlen("&"))); in dom_html5_escape_string()
98 TRY(ctx->write_string_len(ctx->application_data, " ", strlen(" "))); in dom_html5_escape_string()
108 TRY(ctx->write_string_len(ctx->application_data, """, strlen("""))); in dom_html5_escape_string()
116 TRY(ctx->write_string_len(ctx->application_data, "<", strlen("<"))); in dom_html5_escape_string()
122 TRY(ctx->write_string_len(ctx->application_data, ">", strlen(">"))); in dom_html5_escape_string()
142 size_t name_length = strlen((const char *) parent->name); in dom_html5_serialize_text_node()
146 if (dom_local_name_compare_ex(parent, "style", strlen("style"), name_length) in dom_html5_serialize_text_node()
147 || dom_local_name_compare_ex(parent, "script", strlen("script"), name_length) in dom_html5_serialize_text_node()
148 || dom_local_name_compare_ex(parent, "xmp", strlen("xmp"), name_length) in dom_html5_serialize_text_node()
149 || dom_local_name_compare_ex(parent, "iframe", strlen("iframe"), name_length) in dom_html5_serialize_text_node()
150 || dom_local_name_compare_ex(parent, "noembed", strlen("noembed"), name_length) in dom_html5_serialize_text_node()
151 || dom_local_name_compare_ex(parent, "noframes", strlen("noframes"), name_length) in dom_html5_serialize_text_node()
152 || dom_local_name_compare_ex(parent, "plaintext", strlen("plaintext"), name_length)) { in dom_html5_serialize_text_node()
166 TRY(ctx->write_string_len(ctx->application_data, ":", strlen(":"))); in dom_html5_serialize_element_tag_name()
173 TRY(ctx->write_string_len(ctx->application_data, "<", strlen("<"))); in dom_html5_serialize_element_start()
179 TRY(ctx->write_string_len(ctx->application_data, " ", strlen(" "))); in dom_html5_serialize_element_start()
184 TRY(ctx->write_string_len(ctx->application_data, "xml:", strlen("xml:"))); in dom_html5_serialize_element_start()
189 TRY(ctx->write_string_len(ctx->application_data, "xmlns", strlen("xmlns"))); in dom_html5_serialize_element_start()
191 TRY(ctx->write_string_len(ctx->application_data, "xmlns:", strlen("xmlns:"))); in dom_html5_serialize_element_start()
195 TRY(ctx->write_string_len(ctx->application_data, "xlink:", strlen("xlink:"))); in dom_html5_serialize_element_start()
201 TRY(ctx->write_string_len(ctx->application_data, ":", strlen(":"))); in dom_html5_serialize_element_start()
206 TRY(ctx->write_string_len(ctx->application_data, "=\"", strlen("=\""))); in dom_html5_serialize_element_start()
214 TRY(ctx->write_string_len(ctx->application_data, "&", strlen("&"))); in dom_html5_serialize_element_start()
216 TRY(ctx->write_string_len(ctx->application_data, ";", strlen(";"))); in dom_html5_serialize_element_start()
220 TRY(ctx->write_string_len(ctx->application_data, "\"", strlen("\""))); in dom_html5_serialize_element_start()
223 return ctx->write_string_len(ctx->application_data, ">", strlen(">")); in dom_html5_serialize_element_start()
233 size_t name_length = strlen((const char *) node->name); in dom_html5_serializes_as_void()
235 dom_local_name_compare_ex(node, "area", strlen("area"), name_length) in dom_html5_serializes_as_void()
236 || dom_local_name_compare_ex(node, "base", strlen("base"), name_length) in dom_html5_serializes_as_void()
237 || dom_local_name_compare_ex(node, "br", strlen("br"), name_length) in dom_html5_serializes_as_void()
238 || dom_local_name_compare_ex(node, "col", strlen("col"), name_length) in dom_html5_serializes_as_void()
239 || dom_local_name_compare_ex(node, "embed", strlen("embed"), name_length) in dom_html5_serializes_as_void()
240 || dom_local_name_compare_ex(node, "hr", strlen("hr"), name_length) in dom_html5_serializes_as_void()
241 || dom_local_name_compare_ex(node, "img", strlen("img"), name_length) in dom_html5_serializes_as_void()
242 || dom_local_name_compare_ex(node, "input", strlen("input"), name_length) in dom_html5_serializes_as_void()
243 || dom_local_name_compare_ex(node, "link", strlen("link"), name_length) in dom_html5_serializes_as_void()
244 || dom_local_name_compare_ex(node, "meta", strlen("meta"), name_length) in dom_html5_serializes_as_void()
245 || dom_local_name_compare_ex(node, "source", strlen("source"), name_length) in dom_html5_serializes_as_void()
246 || dom_local_name_compare_ex(node, "track", strlen("track"), name_length) in dom_html5_serializes_as_void()
247 || dom_local_name_compare_ex(node, "wbr", strlen("wbr"), name_length) in dom_html5_serializes_as_void()
249 || dom_local_name_compare_ex(node, "basefont", strlen("basefont"), name_length) in dom_html5_serializes_as_void()
250 || dom_local_name_compare_ex(node, "bgsound", strlen("bgsound"), name_length) in dom_html5_serializes_as_void()
251 || dom_local_name_compare_ex(node, "frame", strlen("frame"), name_length) in dom_html5_serializes_as_void()
252 || dom_local_name_compare_ex(node, "keygen", strlen("keygen"), name_length) in dom_html5_serializes_as_void()
253 || dom_local_name_compare_ex(node, "param", strlen("param"), name_length)) { in dom_html5_serializes_as_void()
263 TRY(ctx->write_string_len(ctx->application_data, "</", strlen("</"))); in dom_html5_serialize_element_end()
265 return ctx->write_string_len(ctx->application_data, ">", strlen(">")); in dom_html5_serialize_element_end()