Home
last modified time | relevance | path

Searched refs:magicBuf (Results 1 – 12 of 12) sorted by relevance

/dports/audio/carla/Carla-2.4.1/data/windows/unzipfx-carla/unzipfx/
H A DappDetails.c57 char magicBuf[512]; in sfx_app_autorun_now() local
58 strcpy(magicBuf, path); in sfx_app_autorun_now()
59 strcat(magicBuf, "magic.mgc"); in sfx_app_autorun_now()
60 setenv("CARLA_MAGIC_FILE", magicBuf, 1); in sfx_app_autorun_now()
/dports/databases/hbase/hbase-1.2.1/hbase-common/src/main/java/org/apache/hadoop/hbase/io/hfile/
H A DBlockType.java165 byte[] magicBuf = new byte[Math.min(buf.limit() - buf.position(), MAGIC_LENGTH)]; in read()
166 buf.get(magicBuf); in read()
167 BlockType blockType = parse(magicBuf, 0, magicBuf.length); in read()
/dports/devel/bazel-buildtools/buildtools-3.2.1/vendor/github.com/google/skylark/internal/compile/
H A Dserial.go99 magicBuf := []byte(magic)
100 n, err := in.Read(magicBuf)
107 if string(magicBuf) != magic {
109 magicBuf, magic)
/dports/sysutils/kf5-kwallet/kwallet-5.89.0/src/runtime/kwalletd/backend/
H A Dkwalletbackend.cc338 char magicBuf[KWMAGIC_LEN]; in openInternal() local
339 db.read(magicBuf, KWMAGIC_LEN); in openInternal()
340 if (memcmp(magicBuf, KWMAGIC, KWMAGIC_LEN) != 0) { in openInternal()
344 db.read(magicBuf, 4); in openInternal()
347 if (magicBuf[0] != KWALLET_VERSION_MAJOR) { in openInternal()
352 if (magicBuf[1] == 1) { in openInternal()
355 } else if (magicBuf[1] != 0) { in openInternal()
360 BackendPersistHandler *phandler = BackendPersistHandler::getPersistHandler(magicBuf); in openInternal()
H A Dbackendpersisthandler.cpp149 BackendPersistHandler *BackendPersistHandler::getPersistHandler(char magicBuf[12]) in getPersistHandler()
151 if ((magicBuf[2] == KWALLET_CIPHER_BLOWFISH_ECB || magicBuf[2] == KWALLET_CIPHER_BLOWFISH_CBC) in getPersistHandler()
152 && (magicBuf[3] == KWALLET_HASH_SHA1 || magicBuf[3] == KWALLET_HASH_PBKDF2_SHA512)) { in getPersistHandler()
153 bool useECBforReading = magicBuf[2] == KWALLET_CIPHER_BLOWFISH_ECB; in getPersistHandler()
160 if (magicBuf[2] == KWALLET_CIPHER_GPG && magicBuf[3] == 0) { in getPersistHandler()
H A Dbackendpersisthandler.h48 static BackendPersistHandler *getPersistHandler(char magicBuf[KWMAGIC_LEN]);
/dports/net/ooni-probe-cli/probe-cli-3.10.1/vendor/github.com/ooni/psiphon/oopsi/github.com/dgraph-io/badger/
H A Dmanifest.go331 var magicBuf [8]byte
332 if _, err := io.ReadFull(&r, magicBuf[:]); err != nil {
335 if !bytes.Equal(magicBuf[0:4], magicText[:]) {
338 version := binary.BigEndian.Uint32(magicBuf[4:8])
/dports/net/ooni-mini/probe-engine-0.23.0/vendor/github.com/ooni/psiphon/oopsi/github.com/dgraph-io/badger/
H A Dmanifest.go331 var magicBuf [8]byte
332 if _, err := io.ReadFull(&r, magicBuf[:]); err != nil {
335 if !bytes.Equal(magicBuf[0:4], magicText[:]) {
338 version := binary.BigEndian.Uint32(magicBuf[4:8])
/dports/graphics/ogre3d/ogre-1.11.6/OgreMain/src/
H A DOgreImage.cpp339 char magicBuf[32]; in load() local
340 stream->read(magicBuf, magicLen); in load()
343 pCodec = Codec::getCodec(magicBuf, magicLen); in load()
382 char magicBuf[32]; in getFileExtFromMagic() local
383 stream->read(magicBuf, magicLen); in getFileExtFromMagic()
386 Codec* pCodec = Codec::getCodec(magicBuf, magicLen); in getFileExtFromMagic()
/dports/java/sablevm-classpath/sablevm-classpath-1.13/java/util/zip/
H A DZipFile.java146 byte[] magicBuf = new byte[4]; in checkZipFile()
151 raf.readFully(magicBuf); in checkZipFile()
158 if (validRead == false || readLeInt(magicBuf, 0) != LOCSIG) in checkZipFile()
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/OgreMain/src/
H A DOgreImage.cpp394 char magicBuf[32]; in load() local
395 stream->read(magicBuf, magicLen); in load()
398 pCodec = Codec::getCodec(magicBuf, magicLen); in load()
437 char magicBuf[32]; in getFileExtFromMagic() local
438 stream->read(magicBuf, magicLen); in getFileExtFromMagic()
441 Codec* pCodec = Codec::getCodec(magicBuf, magicLen); in getFileExtFromMagic()
/dports/databases/hbase/hbase-1.2.1/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/
H A DHFileBlock.java1915 byte[] magicBuf = new byte[Math.min(buf.limit() - buf.position(), BlockType.MAGIC_LENGTH)]; in toStringHeader()
1916 buf.get(magicBuf); in toStringHeader()
1917 BlockType bt = BlockType.parse(magicBuf, 0, BlockType.MAGIC_LENGTH); in toStringHeader()
1924 return " Header dump: magic: " + Bytes.toString(magicBuf) + in toStringHeader()