Searched refs:recordLen (Results 1 – 2 of 2) sorted by relevance
133 int recordLen = txtRecordsRawBytes[pos] & 0xff; in setTxtRecords() local137 if (recordLen == 0) { in setTxtRecords()139 } else if (pos + recordLen > txtRecordsRawBytes.length) { in setTxtRecords()140 Log.w(TAG, "Corrupt record length (pos = " + pos + "): " + recordLen); in setTxtRecords()141 recordLen = txtRecordsRawBytes.length - pos; in setTxtRecords()148 for (int i = pos; i < pos + recordLen; i++) { in setTxtRecords()156 value = new byte[recordLen - key.length() - 1]; in setTxtRecords()165 key = new String(txtRecordsRawBytes, pos, recordLen, StandardCharsets.US_ASCII); in setTxtRecords()183 pos += recordLen; in setTxtRecords()
1831 int recordLen = inStream.read(8); in decodeCmasUserData() local1843 numFields = recordLen - 1; // subtract 1 byte for encoding in decodeCmasUserData()1849 numFields = ((recordLen * 8) - 5) / 7; // subtract 5 bits for encoding in decodeCmasUserData()1853 numFields = (recordLen - 1) / 2; in decodeCmasUserData()1861 alertUserData.payload = inStream.readByteArray(recordLen * 8 - 5); in decodeCmasUserData()1872 inStream.skip(recordLen * 8 - 28); in decodeCmasUserData()1877 inStream.skip(recordLen * 8); in decodeCmasUserData()