MCPcopy Create free account
hub / github.com/ArduPilot/ardupilot / match

Method match

libraries/AP_JSON/AP_JSON.cpp:456–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454 return true;
455 }
456 bool match(const std::string &pattern)
457 {
458 for (std::string::const_iterator pi(pattern.begin()); pi != pattern.end(); ++pi) {
459 if (getc() != *pi) {
460 ungetc();
461 return false;
462 }
463 }
464 return true;
465 }
466};
467
468template <typename Iter> int _parse_quadhex(input<Iter> &in)

Callers 15

periph_instanceMethod · 0.80
get_numeric_board_idMethod · 0.80
parse_timerMethod · 0.80
valid_typeMethod · 0.80
process_lineMethod · 0.80
PrintVersion.pyFile · 0.80
find_replayed_logsMethod · 0.80
runMethod · 0.80

Calls 2

endMethod · 0.80
beginMethod · 0.45