• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zip30/

Lines Matching refs:signature

143 # define ZIP64_CENTRAL_DIR_TAIL_SIG      0x06064B50L                   /* zip64 central dir tail signature */
144 # define ZIP64_CENTRAL_DIR_TAIL_END_SIG 0x07064B50L /* zip64 end of cen dir locator signature */
1914 /* look for signature */
2120 /* Read next signature */
2226 local file header signature 4 bytes (0x04034b50)
2369 /* detect spanning signature */
2381 /* back up 4k blocks and look for End Of CD signature */
2448 zipwarn("missing end signature--probably not a zip file (did you", "");
2454 * Check for a Zip64 EOCD Locator signature - 12/10/04 EG
2467 /* first 4 bytes are the signature if there */
2469 zipwarn("found Zip64 signature - this may be a Zip64 archive", "");
2474 /* now should be back at the EOCD signature */
2521 /* look for signature */
2694 /* Read next signature */
2702 /* Read next signature */
2928 * Scan the file forward and look for the next PK signature.
2931 * after signature and set sigbuf to signature.
2937 local char sigbuf[4]; /* signature found */
2940 /* copy signature */
2963 /* look for P K ? ? signature */
2980 /* not a signature */
2989 /* not a signature but maybe start of new one */
2993 /* last 2 chars expect < 16 for signature */
3001 /* not a signature but maybe start of new one */
3010 /* found possible signature */
3026 * Find signature.
3029 * after signature. Set sigbuf with signature.
3034 local int find_signature(f, signature)
3036 ZCONST char *signature;
3045 sig[i] = signature[i];
3120 * Is at signature in file
3122 * Return 1 if at the signature and leave file pointing to next character
3123 * after signature.
3128 local int at_signature(f, signature)
3130 ZCONST char *signature;
3138 sig[i] = signature[i];
3288 /* find EOCD Record signature */
3291 strcpy(errbuf, "Missing end (EOCDR) signature - either this archive\n");
3297 /* at start of data after EOCDR signature */
3300 /* OK, it is possible this is not the last EOCDR signature (might be
3301 EOCDR signature from a stored archive in the last 64 KB) and so not
3304 The below assumes the signature does not appear in the assumed
3315 end of central dir signature 4 bytes (0x06054b50)
3417 /* get next signature */
3422 /* could be multi-disk aborted signature at top */
3426 /* multi-disk spanning signature */
3541 /* Look for next signature and process it */
3680 /* central directory signature */
3683 central file header signature 4 bytes (0x02014b50)
3907 /* assume spanning signature at top of archive */
3921 /* this signature shouldn't be here */
3925 strcpy(errbuf, "unexpected signature ");
3934 zipwarn("skipping this signature...", "");
4093 /* find EOCD Record signature */
4099 zipwarn("bad archive - missing end signature", "");
4104 zipwarn("missing end signature--probably not a zip file (did you", "");
4111 /* at start of data after EOCDR signature */
4114 /* OK, it is possible this is not the last EOCDR signature (might be
4115 EOCDR signature from a stored archive in the last 128 KB) and so not
4118 The below assumes the signature does not appear in the assumed ASCII text
4128 end of central dir signature 4 bytes (0x06054b50)
4272 /* Should now be after first central directory header signature in archive */
4284 * Check for a Zip64 EOCD Locator signature
4289 signature 4 bytes (0x07064b50)
4315 zipwarn("found Zip64 signature - this may be a Zip64 archive", "");
4331 /* now should be back at the EOCD signature */
4358 /* Should be at Zip64 EOCDR signature */
4378 /* Should now be after Zip64 EOCDR signature in archive */
4402 * Check for a Zip64 EOCD Locator signature
4407 signature 4 bytes (0x07064b50)
4433 zipwarn("found Zip64 signature - this may be a Zip64 archive", "");
4448 /* now should be back at the EOCD signature */
4500 /* Should be at Zip64 EOCDR signature */
4516 /* Should now be after Zip64 EOCDR signature in archive */
4539 signature 4 bytes (0x06064b50)
4680 /* skipped start CD disk so start searching for CD signature at start of disk */
4697 /* Look for next signature and process it */
4704 fprintf(mesg, "EOCDR signature at %d / %I64d\n",
4712 fprintf(mesg, "Zip64 EOCDR signature at %d / %I64d\n",
4720 /* this signature shouldn't be here */
4725 strcpy(errbuf, "bad archive - unexpected signature ");
4734 zipwarn("skipping this signature...", "");
4737 sprintf(errbuf, "unexpected signature on disk %lu at %s\n",
4748 /* central directory signature */
4750 fprintf(mesg, "central directory header signature on disk %lu at %s\n",
4755 central file header signature 4 bytes (0x02014b50)
5069 /* if the last signature is not a CD signature and we get here then
5421 append_ulong_to_mem(LOCSIG, &block, &offset, &blocksize); /* local file header signature */
5520 append_ulong_to_mem(EXTLOCSIG, &block, &offset, &blocksize); /* extended local signature */
5672 append_ulong_to_mem(CENSIG, &block, &offset, &blocksize); /* central file header signature */
5725 append_ulong_to_mem(CENSIG, &block, &offset, &blocksize); /* central file header signature */
5856 /* 4 bytes zip64 end of central dir signature (0x06064b50) */
5889 /* 4 bytes zip64 end of central dir locator signature (0x07064b50) */
5901 /* end of central dir signature */
5945 /* end of central dir signature */
6092 local file header signature 4 bytes (0x04034b50)
6340 /* 4 is signature */