| 300 | |
| 301 | |
| 302 | local int unz64local_getLong64 (const zlib_filefunc64_32_def* pzlib_filefunc_def, |
| 303 | voidpf filestream, |
| 304 | ZPOS64_T *pX) |
| 305 | { |
| 306 | ZPOS64_T x ; |
| 307 | int i = 0; |
| 308 | int err; |
| 309 | |
| 310 | err = unz64local_getByte(pzlib_filefunc_def,filestream,&i); |
| 311 | x = (ZPOS64_T)i; |
| 312 | |
| 313 | if (err==UNZ_OK) |
| 314 | err = unz64local_getByte(pzlib_filefunc_def,filestream,&i); |
| 315 | x |= ((ZPOS64_T)i)<<8; |
| 316 | |
| 317 | if (err==UNZ_OK) |
| 318 | err = unz64local_getByte(pzlib_filefunc_def,filestream,&i); |
| 319 | x |= ((ZPOS64_T)i)<<16; |
| 320 | |
| 321 | if (err==UNZ_OK) |
| 322 | err = unz64local_getByte(pzlib_filefunc_def,filestream,&i); |
| 323 | x |= ((ZPOS64_T)i)<<24; |
| 324 | |
| 325 | if (err==UNZ_OK) |
| 326 | err = unz64local_getByte(pzlib_filefunc_def,filestream,&i); |
| 327 | x |= ((ZPOS64_T)i)<<32; |
| 328 | |
| 329 | if (err==UNZ_OK) |
| 330 | err = unz64local_getByte(pzlib_filefunc_def,filestream,&i); |
| 331 | x |= ((ZPOS64_T)i)<<40; |
| 332 | |
| 333 | if (err==UNZ_OK) |
| 334 | err = unz64local_getByte(pzlib_filefunc_def,filestream,&i); |
| 335 | x |= ((ZPOS64_T)i)<<48; |
| 336 | |
| 337 | if (err==UNZ_OK) |
| 338 | err = unz64local_getByte(pzlib_filefunc_def,filestream,&i); |
| 339 | x |= ((ZPOS64_T)i)<<56; |
| 340 | |
| 341 | if (err==UNZ_OK) |
| 342 | *pX = x; |
| 343 | else |
| 344 | *pX = 0; |
| 345 | return err; |
| 346 | } |
| 347 | |
| 348 | /* My own strcmpi / strcasecmp */ |
| 349 | local int strcmpcasenosensitive_internal (const char* fileName1, const char* fileName2) |
no test coverage detected