| /openbsd-src/lib/libexpat/examples/ |
| H A D | outline.c | 55 startElement(void *userData, const XML_Char *name, const XML_Char **atts) { in startElement() argument 64 for (i = 0; atts[i]; i += 2) { in startElement() 65 printf(" %" XML_FMT_STR "='%" XML_FMT_STR "'", atts[i], atts[i + 1]); in startElement()
|
| H A D | elements.c | 58 startElement(void *userData, const XML_Char *name, const XML_Char **atts) { in startElement() argument 61 (void)atts; in startElement()
|
| /openbsd-src/lib/libexpat/tests/ |
| H A D | common.c | 234 accumulate_attribute(void * userData,const XML_Char * name,const XML_Char ** atts) accumulate_attribute() argument
|
| H A D | handlers.c | 75 const XML_Char **atts) { in start_element_event_handler() argument 76 UNUSED_P(atts); in start_element_event_handler() 105 const XML_Char **atts) { in counting_start_element_handler() argument 120 * count of items in atts, an array which contains alternating in counting_start_element_handler() 135 if (id != -1 && xcstrcmp(atts[id], info->id_name)) { in counting_start_element_handler() 142 if (! xcstrcmp(atts[0], attr->name)) in counting_start_element_handler() 150 if (xcstrcmp(atts[1], attr->value)) { in counting_start_element_handler() 154 /* Remember, two entries in atts per attribute (see above) */ in counting_start_element_handler() 155 atts += 2; in counting_start_element_handler() 167 const XML_Char **atts) { in start_element_suspender() 165 start_element_suspender(void * userData,const XML_Char * name,const XML_Char ** atts) start_element_suspender() argument 184 triplet_start_checker(void * userData,const XML_Char * name,const XML_Char ** atts) triplet_start_checker() argument 218 overwrite_start_checker(void * userData,const XML_Char * name,const XML_Char ** atts) overwrite_start_checker() argument 240 start_element_fail(void * userData,const XML_Char * name,const XML_Char ** atts) start_element_fail() argument 259 start_element_issue_240(void * userData,const XML_Char * name,const XML_Char ** atts) start_element_issue_240() argument 1704 record_element_start_handler(void * userData,const XML_Char * name,const XML_Char ** atts) record_element_start_handler() argument 1891 accumulate_start_element(void * userData,const XML_Char * name,const XML_Char ** atts) accumulate_start_element() argument [all...] |
| H A D | handlers.h | 68 const XML_Char **atts); 102 const XML_Char **atts); 108 const XML_Char **atts); 114 const XML_Char **atts); 120 const XML_Char **atts); 125 const XML_Char **atts); 138 const XML_Char **atts); 501 const XML_Char **atts); 574 const XML_Char **atts); 580 const XML_Char **atts); [all...] |
| H A D | dummy.c | 163 const XML_Char **atts) { in dummy_start_element() argument 166 UNUSED_P(atts); in dummy_start_element()
|
| H A D | dummy.h | 110 const XML_Char **atts);
|
| H A D | common.h | |
| H A D | basic_tests.c | 872 const XML_Char **atts) { in check_attr_contains_normalized_whitespace() argument 876 for (i = 0; atts[i] != NULL; i += 2) { in check_attr_contains_normalized_whitespace() 877 const XML_Char *attrname = atts[i]; in check_attr_contains_normalized_whitespace() 878 const XML_Char *value = atts[i + 1]; in check_attr_contains_normalized_whitespace()
|
| /openbsd-src/lib/libexpat/lib/ |
| H A D | xmltok.h | 180 ATTRIBUTE *atts); 261 #define XmlGetAttributes(enc, ptr, attsMax, atts) \ argument 262 (((enc)->getAtts)(enc, ptr, attsMax, atts))
|
| H A D | xmltok_impl.c | 1510 ATTRIBUTE *atts) { in PREFIX() 1521 atts[nAtts].name = ptr; \ in PREFIX() 1522 atts[nAtts].normalized = 1; \ in PREFIX() 1543 atts[nAtts].valuePtr = ptr + MINBPC(enc); in PREFIX() 1549 atts[nAtts].valueEnd = ptr; in PREFIX() 1556 atts[nAtts].valuePtr = ptr + MINBPC(enc); in PREFIX() 1562 atts[nAtts].valueEnd = ptr; in PREFIX() 1568 atts[nAtts].normalized = 0; in PREFIX() 1573 else if (state == inValue && nAtts < attsMax && atts[nAtts].normalized in PREFIX() 1574 && (ptr == atts[nAtts].valuePtr in PREFIX() [all …]
|
| H A D | expat.h | 289 /* atts is array of name/value pairs, terminated by 0; 294 const XML_Char **atts); 740 this corresponds to an index into the atts array passed to the 749 corresponds to an index into the atts array passed to the
|
| /openbsd-src/usr.sbin/unbound/smallapp/ |
| H A D | unbound-anchor.c | 1293 * @param atts: attribute array (from xml_startelem). in find_att() 1295 * @return the value or NULL. (ptr into atts). in find_att() 1298 find_att(const XML_Char **atts, const XML_Char* name) in find_att() 1301 for(i=0; atts[i]; i+=2) { 1302 if(strcasecmp(atts[i], name) == 0) 1303 return atts[i+1]; 1381 handle_keydigest(struct xml_data* data, const XML_Char **atts) in handle_keydigest() 1384 if(find_att(atts, "validFrom")) { in handle_keydigest() 1385 time_t from = xml_convertdate(find_att(atts, "validFrom")); in handle_keydigest() 1393 if(find_att(atts, "validUnti in handle_keydigest() 1292 find_att(const XML_Char ** atts,const XML_Char * name) find_att() argument 1375 handle_keydigest(struct xml_data * data,const XML_Char ** atts) handle_keydigest() argument 1431 xml_startelem(void * userData,const XML_Char * name,const XML_Char ** atts) xml_startelem() argument [all...] |
| /openbsd-src/gnu/usr.bin/perl/cpan/Getopt-Long/lib/Getopt/ |
| H A D | Long.pm | 1506 my ($pkg, %atts) = @_; 1507 bless { %atts }, $pkg;
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/binutils/ |
| H A D | dlltool.c | 1103 char atts[5]; in def_section() local 1104 char *d = atts; in def_section() 1115 sprintf (buf, "-attr %s %s", name, atts); in def_section()
|
| /openbsd-src/gnu/usr.bin/binutils/binutils/ |
| H A D | dlltool.c | 1092 char atts[5]; in def_section() local 1093 char *d = atts; in def_section() 1104 sprintf (buf, "-attr %s %s", name, atts); in def_section()
|