Lines Matching +full:multi +full:- +full:doc
3 * Copyright (c) 2000-2003 Intel Corporation
4 * Copyright (c) 2006-2007 Sony Corporation
5 * Copyright (c) 2008-2009 Atheros Communications
23 * always!) based on utf-8. utf-8 uses a variable number of bytes per
24 * character. utf-8 has the advantage that all non-ASCII unicode characters are
25 * represented by sequences of non-ascii (high bit set) bytes, whereas ASCII
28 * (One other interesting thing about utf-8 is that it is possible to look at
40 * matching label. (There is also a self-closing tag <label/> which is supposed
62 * xml_next_tag - Advance to next tag
89 while (isalnum(*in) || *in == '-') in xml_next_tag()
102 /* xml_data_encode -- format data for xml file, escaping special characters.
106 * 0xxxxxxx(2) -- 1 byte ascii char
107 * 11xxxxxx(2) -- 1st byte of multi-byte char w/ unicode value >= 0x80
108 * 110xxxxx(2) -- 1st byte of 2 byte sequence (5 payload bits here)
109 * 1110xxxx(2) -- 1st byte of 3 byte sequence (4 payload bits here)
110 * 11110xxx(2) -- 1st byte of 4 byte sequence (3 payload bits here)
111 * 10xxxxxx(2) -- extension byte (6 payload bits per byte)
156 /* xml_add_tagged_data -- format tagged data as a new xml line.
175 * <u:actionName xmlns:u="urn:schemas-upnp-org:service:serviceType:v">
190 char * xml_get_first_item(const char *doc, const char *item) in xml_get_first_item() argument
203 if (xml_next_tag(doc, &tag, &tagname, &end)) in xml_get_first_item()
205 doc = end; in xml_get_first_item()
213 end = doc; in xml_get_first_item()
216 value = os_zalloc(1 + (end - doc)); in xml_get_first_item()
219 os_memcpy(value, doc, end - doc); in xml_get_first_item()