Lines Matching refs:attrs
23 const xmlChar** attrs) {
24 if (!name || !attrs)
30 for (int i = 0; attrs[i] && attrs[i + i]; i += 2) {
31 if (strcmp(Char(attrs[i]), "interval") == 0) {
32 state->interval = atoi(Char(attrs[i + 1]));
37 for (int i = 0; attrs[i] && attrs[i + 1]; i += 2) {
38 if (strcmp(Char(attrs[i]), "events") == 0) {
39 state->events = atoi(Char(attrs[i + 1]));
44 for (int i = 0; attrs[i] && attrs[i + 1]; i += 2) {
45 if (strcmp(Char(attrs[i]), "type") == 0) {
46 const char* type = Char(attrs[i + 1]);