Searched refs:sectionLength (Results 1 – 2 of 2) sorted by relevance
807 size_t sectionLength = 0; in CameraMetadata_getTagFromKey() local824 if (section == NULL || sectionLength < strLength) { in CameraMetadata_getTagFromKey()827 sectionLength = strLength; in CameraMetadata_getTagFromKey()848 const char *keyTagName = key + sectionLength + 1; // x.y.z -> z in CameraMetadata_getTagFromKey()849 if (sectionLength + 1 >= keyLength) { in CameraMetadata_getTagFromKey()
1707 unsigned sectionLength = U16_AT(mBuffer->data() + 1) & 0xfff; in isComplete() local1708 return mBuffer->size() >= sectionLength + 3; in isComplete()1734 unsigned sectionLength = U16_AT(data + 1) & 0xfff; in isCRCOkay() local1735 ALOGV("sectionLength %u, skip %u", sectionLength, mSkipBytes); in isCRCOkay()1738 if(sectionLength < mSkipBytes) { in isCRCOkay()1745 sectionLength -= mSkipBytes; in isCRCOkay()1748 for(unsigned i = 0; i < sectionLength + 4 /* crc */; i++) { in isCRCOkay()