Searched refs:recordLen (Results 1 – 2 of 2) sorted by relevance
134 int recordLen = txtRecordsRawBytes[pos] & 0xff; in setTxtRecords() local138 if (recordLen == 0) { in setTxtRecords()140 } else if (pos + recordLen > txtRecordsRawBytes.length) { in setTxtRecords()141 Log.w(TAG, "Corrupt record length (pos = " + pos + "): " + recordLen); in setTxtRecords()142 recordLen = txtRecordsRawBytes.length - pos; in setTxtRecords()149 for (int i = pos; i < pos + recordLen; i++) { in setTxtRecords()157 value = new byte[recordLen - key.length() - 1]; in setTxtRecords()166 key = new String(txtRecordsRawBytes, pos, recordLen, StandardCharsets.US_ASCII); in setTxtRecords()184 pos += recordLen; in setTxtRecords()
1806 int recordLen = inStream.read(8); in decodeCmasUserData() local1818 numFields = recordLen - 1; // subtract 1 byte for encoding in decodeCmasUserData()1824 numFields = ((recordLen * 8) - 5) / 7; // subtract 5 bits for encoding in decodeCmasUserData()1828 numFields = (recordLen - 1) / 2; in decodeCmasUserData()1836 alertUserData.payload = inStream.readByteArray(recordLen * 8 - 5); in decodeCmasUserData()1847 inStream.skip(recordLen * 8 - 28); in decodeCmasUserData()1852 inStream.skip(recordLen * 8); in decodeCmasUserData()