Lines Matching defs:pszStyle
466 * @param pszStyle The XAR checksum style.
469 static int rtZipXarParseChecksumStyle(const char *pszStyle, uint8_t *puHashFunction)
471 size_t cchStyle = strlen(pszStyle);
473 && (pszStyle[0] == 's' || pszStyle[0] == 'S')
474 && (pszStyle[1] == 'h' || pszStyle[1] == 'H')
475 && (pszStyle[2] == 'a' || pszStyle[2] == 'A')
476 && pszStyle[3] == '1' )
479 && (pszStyle[0] == 'm' || pszStyle[0] == 'M')
480 && (pszStyle[1] == 'd' || pszStyle[1] == 'D')
481 && pszStyle[2] == '5' )
484 && (pszStyle[0] == 'n' || pszStyle[0] == 'N')
485 && (pszStyle[1] == 'o' || pszStyle[1] == 'O')
486 && (pszStyle[2] == 'n' || pszStyle[2] == 'N')
487 && (pszStyle[3] == 'e' || pszStyle[3] == 'E') )
520 const char *pszStyle = pChecksumElem->findAttributeValue("style");
521 if (!pszStyle)
523 int rc = rtZipXarParseChecksumStyle(pszStyle, puHashFunction);
1811 const char *pszStyle = pAttr->getValue();
1812 if (!pszStyle)
1816 rc = rtZipXarParseChecksumStyle(pszStyle, &uHashFunction);