Searched refs:magicNumber (Results 1 – 4 of 4) sorted by relevance
32 const std::vector<uint8_t> getBuffer(const int magicNumber, const int version, const uint16_t flags, in getBuffer() argument35 buffer.push_back(magicNumber >> 24); in getBuffer()36 buffer.push_back(magicNumber >> 16); in getBuffer()37 buffer.push_back(magicNumber >> 8); in getBuffer()38 buffer.push_back(magicNumber); in getBuffer()
54 const uint32_t magicNumber = ByteArrayUtils::readUint32(dictBuffer.data(), 0); in detectFormatVersion() local55 switch (magicNumber) { in detectFormatVersion()
166 final int magicNumber = ((tmpBuffer[MAGIC_NUMBER_START_OFFSET] & 0xFF) << 24) in process() local170 if (magicNumber != FormatSpec.MAGIC_NUMBER) { in process()
862 int magicNumber = 42; in testKeyPressedEventWhenIdleAndAudioOff_dialCall() local863 when(cursor.getColumnIndexOrThrow(CallLog.Calls.NUMBER)).thenReturn(magicNumber); in testKeyPressedEventWhenIdleAndAudioOff_dialCall()864 when(cursor.getString(magicNumber)).thenReturn(TEST_PHONE_NUMBER); in testKeyPressedEventWhenIdleAndAudioOff_dialCall()