Lines Matching refs:magic
69 /** File header magic number: "ANET" */
299 // verify file magic header intact
300 final int magic = in.readInt();
301 if (magic != FILE_MAGIC) {
302 throw new ProtocolException("unexpected magic: " + magic);
373 // verify file magic header intact
374 final int magic = in.readInt();
375 if (magic != FILE_MAGIC) {
376 throw new ProtocolException("unexpected magic: " + magic);
412 // verify file magic header intact
413 final int magic = in.readInt();
414 if (magic != FILE_MAGIC) {
415 throw new ProtocolException("unexpected magic: " + magic);