Lines Matching refs:strcmp
103 if (strcmp(spec->structs[i]->name, name) == 0)
123 if (strcmp(spec->registers[i]->name, name) == 0)
134 if (strcmp(spec->enums[i]->name, name) == 0)
201 if (strcmp(atts[i], "count") == 0) {
205 } else if (strcmp(atts[i], "start") == 0) {
207 } else if (strcmp(atts[i], "size") == 0) {
264 if (strcmp(atts[i], "num") == 0)
277 if (strcmp(s, "int") == 0)
279 else if (strcmp(s, "uint") == 0)
281 else if (strcmp(s, "bool") == 0)
283 else if (strcmp(s, "float") == 0)
285 else if (strcmp(s, "f187") == 0)
287 else if (strcmp(s, "address") == 0)
289 else if (strcmp(s, "offset") == 0)
299 else if (strcmp(s, "mbo") == 0)
316 if (strcmp(atts[i], "name") == 0)
318 else if (strcmp(atts[i], "start") == 0) {
322 } else if (strcmp(atts[i], "end") == 0) {
326 } else if (strcmp(atts[i], "size") == 0) {
330 } else if (strcmp(atts[i], "type") == 0)
332 else if (strcmp(atts[i], "default") == 0) {
335 } else if (strcmp(atts[i], "minus_one") == 0) {
336 assert(strcmp(atts[i + 1], "true") == 0);
353 if (strcmp(atts[i], "name") == 0)
355 else if (strcmp(atts[i], "value") == 0)
384 if (strcmp(atts[i], "code") == 0)
422 if (strcmp(atts[i], "shortname") == 0)
424 else if (strcmp(atts[i], "name") == 0 && !name)
426 else if (strcmp(atts[i], "gen") == 0)
428 else if (strcmp(atts[i], "min_ver") == 0)
430 else if (strcmp(atts[i], "max_ver") == 0)
437 if (strcmp(element_name, "vcxml") == 0) {
453 } else if (strcmp(element_name, "packet") == 0 ||
454 strcmp(element_name, "struct") == 0) {
457 if (strcmp(element_name, "packet") == 0)
459 } else if (strcmp(element_name, "register") == 0) {
462 } else if (strcmp(element_name, "group") == 0) {
471 } else if (strcmp(element_name, "field") == 0) {
473 } else if (strcmp(element_name, "enum") == 0) {
475 } else if (strcmp(element_name, "value") == 0) {
505 if (strcmp(name, "packet") == 0 ||
506 strcmp(name, "struct") == 0 ||
507 strcmp(name, "register") == 0) {
512 if (strcmp(name, "packet") == 0) {
524 else if (strcmp(name, "struct") == 0)
526 else if (strcmp(name, "register") == 0)
539 } else if (strcmp(name, "group") == 0) {
541 } else if (strcmp(name, "field") == 0) {
549 } else if (strcmp(name, "enum") == 0) {
711 if (strcmp(field->name, "sub-id") == 0) {
859 if (strcmp(iter->field->name, "Vec size") == 0 && value == 0)
966 if (strcmp(iter.field->name, "sub-id") == 0 ||
967 strcmp(iter.field->name, "unused") == 0 ||
968 strcmp(iter.field->name, "Pad") == 0)