Searched refs:totalLen (Results 1 – 4 of 4) sorted by relevance
80 int totalLen = cmdHex.length() / 2; in addStoreData() local81 int totalSubCmds = totalLen == 0 ? 1 : (totalLen + mMaxApduDataLen - 1) / mMaxApduDataLen; in addStoreData()
388 float totalLen = computeTotalLength(points); in computeStraightness() local391 return (float) Math.hypot(dx, dy) / totalLen; in computeStraightness()394 static float computeStraightness(float[] points, float totalLen) { in computeStraightness() argument397 return (float) Math.hypot(dx, dy) / totalLen; in computeStraightness()
1529 final int totalLen = elements.size(); in listEllipsize() local1530 if (totalLen == 0) { in listEllipsize()1545 final int[] endIndexes = new int[totalLen]; in listEllipsize()1546 for (int i = 0; i < totalLen; i++) { in listEllipsize()1548 if (i != totalLen - 1) { // Insert a separator, except at the very end. in listEllipsize()1554 for (int i = totalLen - 1; i >= 0; i--) { in listEllipsize()1558 final int remainingElements = totalLen - i - 1; in listEllipsize()
826 size_t totalLen = strlen(section) + strlen(tag) + 2; in CameraMetadata_getAllVendorKeys() local827 std::vector<char> fullName(totalLen, 0); in CameraMetadata_getAllVendorKeys()828 snprintf(&fullName[0], totalLen, "%s.%s", section, tag); in CameraMetadata_getAllVendorKeys()