* Searches an address node in a list of address nodes. The found node * has the same offset as the passed parameter offs. * * @param node The address node list * @offs The offset to search * @return The node that has the given offset or 0. **/
| 631 | * @return The node that has the given offset or 0. |
| 632 | **/ |
| 633 | Name* findNode(Name* node, const char* offset) |
| 634 | { |
| 635 | while (node) |
| 636 | { |
| 637 | if (!strcmp(node->offset, offset)) |
| 638 | return node; |
| 639 | |
| 640 | node = node->next; |
| 641 | } |
| 642 | return 0; |
| 643 | } |
| 644 | // same, but with offsetNumeric |
| 645 | Name* findNode(Name* node, uint16 offsetNumeric) |
| 646 | { |
no outgoing calls
no test coverage detected