Lines Matching defs:pTar
314 * @param pTar The TAR header.
317 static int rtZipTarHdrValidate(PCRTZIPTARHDR pTar, PRTZIPTARTYPE penmType)
324 if (rtZipTarCalcChkSum(pTar, &i32ChkSum, &i32ChkSumSignedAlt))
331 int rc = rtZipTarHdrFieldToNum(pTar->Common.chksum, sizeof(pTar->Common.chksum), true /*fOctalOnly*/, &i64HdrChkSum);
342 if ( pTar->Common.magic[0] == 'u'
343 && pTar->Common.magic[1] == 's'
344 && pTar->Common.magic[2] == 't'
345 && pTar->Common.magic[3] == 'a'
346 && pTar->Common.magic[4] == 'r')
349 if ( pTar->Common.magic[5] == '\0'
350 && pTar->Common.version[0] == '0'
351 && pTar->Common.version[1] == '0')
353 else if ( pTar->Common.magic[5] == ' '
354 && pTar->Common.version[0] == ' '
355 && pTar->Common.version[1] == '\0')
357 else if ( pTar->Common.magic[5] == '\0' /* VMWare ambiguity - they probably mean posix but */
358 && pTar->Common.version[0] == ' ' /* got the version wrong. */
359 && pTar->Common.version[1] == '\0')
374 if ( !RT_C_IS_ALNUM(pTar->Common.typeflag)
375 && pTar->Common.typeflag != '\0')
380 switch (pTar->Common.typeflag)
410 switch (pTar->Common.typeflag)
437 * @param pTar The TAR header that has been read.
594 * @param pTar The TAR header that has been read.