Lines Matching refs:section
715 // First, find the section by the longest string match
716 const char *section = NULL;
725 ALOGV("%s: Trying to match against section '%s'", __FUNCTION__, str);
727 if (strstr(name, str) == name) { // name begins with the section name
730 ALOGV("%s: Name begins with section name", __FUNCTION__);
732 // section name is the longest we've found so far
733 if (section == NULL || sectionLength < strLength) {
734 section = str;
738 ALOGV("%s: Found new best section (%s)", __FUNCTION__, section);
745 if (section == NULL) {
748 ALOGV("%s: Found matched section '%s' (%zu)",
749 __FUNCTION__, section, sectionIndex);
758 // Match rest of name against the tag names in that section only
781 const String8 sectionName(section);