/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
ImageDescriptor.java | 52 * @param rawData 56 static ImageDescriptor parse(byte[] rawData, int valueIndex) { 59 d.mWidth = rawData[valueIndex++] & 0xff; 60 d.mHeight = rawData[valueIndex++] & 0xff; 61 d.mCodingScheme = rawData[valueIndex++] & 0xff; 64 d.mImageId = (rawData[valueIndex++] & 0xff) << 8; 65 d.mImageId |= rawData[valueIndex++] & 0xff; 67 d.mHighOffset = (rawData[valueIndex++] & 0xff); // high byte offset 68 d.mLowOffset = rawData[valueIndex++] & 0xff; // low byte offset 70 d.mLength = ((rawData[valueIndex++] & 0xff) << 8 | (rawData[valueIndex++] & 0xff)) [all...] |
IconLoader.java | 144 byte[] rawData = ((byte[]) ar.result); 146 mCurrentIcon = parseToBnW(rawData, rawData.length); 150 mIconData = rawData; 174 * @param rawData byte [] containing Image Instance descriptor as defined in 177 private boolean handleImageDescriptor(byte[] rawData) { 178 mId = ImageDescriptor.parse(rawData, 1);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
markupbase.py | 52 rawdata = self.rawdata 53 nlines = rawdata.count("\n", i, j) 56 pos = rawdata.rindex("\n", i, j) # Should not fail 76 rawdata = self.rawdata 78 assert rawdata[i:j] == "<!", "unexpected call to parse_declaration" 79 if rawdata[j:j+1] == ">": 82 if rawdata[j:j+1] in ("-", ""): 87 n = len(rawdata) [all...] |
HTMLParser.py | 101 self.rawdata = '' 113 self.rawdata = self.rawdata + data 141 rawdata = self.rawdata 143 n = len(rawdata) 145 match = self.interesting.search(rawdata, i) # < or & 152 if i < j: self.handle_data(rawdata[i:j]) 155 startswith = rawdata.startswith 157 if starttagopen.match(rawdata, i): # < + lette [all...] |
xmllib.py | 143 self.rawdata = '' 171 self.rawdata = self.rawdata + data 243 rawdata = self.rawdata 245 n = len(rawdata) 250 data = rawdata[i:n] 255 res = interesting.search(rawdata, i) 261 data = rawdata[i:j] 273 if rawdata[i] == '<' [all...] |
sgmllib.py | 74 self.rawdata = '' 103 self.rawdata = self.rawdata + data 117 rawdata = self.rawdata 119 n = len(rawdata) 122 self.handle_data(rawdata[i:n]) 125 match = interesting.search(rawdata, i) 129 self.handle_data(rawdata[i:j]) 132 if rawdata[i] == '<' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
markupbase.py | 52 rawdata = self.rawdata 53 nlines = rawdata.count("\n", i, j) 56 pos = rawdata.rindex("\n", i, j) # Should not fail 76 rawdata = self.rawdata 78 assert rawdata[i:j] == "<!", "unexpected call to parse_declaration" 79 if rawdata[j:j+1] == ">": 82 if rawdata[j:j+1] in ("-", ""): 87 n = len(rawdata) [all...] |
HTMLParser.py | 101 self.rawdata = '' 113 self.rawdata = self.rawdata + data 141 rawdata = self.rawdata 143 n = len(rawdata) 145 match = self.interesting.search(rawdata, i) # < or & 152 if i < j: self.handle_data(rawdata[i:j]) 155 startswith = rawdata.startswith 157 if starttagopen.match(rawdata, i): # < + lette [all...] |
xmllib.py | 143 self.rawdata = '' 171 self.rawdata = self.rawdata + data 243 rawdata = self.rawdata 245 n = len(rawdata) 250 data = rawdata[i:n] 255 res = interesting.search(rawdata, i) 261 data = rawdata[i:j] 273 if rawdata[i] == '<' [all...] |
sgmllib.py | 74 self.rawdata = '' 103 self.rawdata = self.rawdata + data 117 rawdata = self.rawdata 119 n = len(rawdata) 122 self.handle_data(rawdata[i:n]) 125 match = interesting.search(rawdata, i) 129 self.handle_data(rawdata[i:j]) 132 if rawdata[i] == '<' [all...] |
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
FatLfnDirectoryEntry.java | 317 final byte[] rawData = new byte[FatDirectoryEntry.SIZE]; 320 LittleEndian.setInt8(rawData, 0, ordinal + (1 << 6)); 322 LittleEndian.setInt8(rawData, 0, ordinal); 325 LittleEndian.setInt16(rawData, 1, unicodechar[0]); 326 LittleEndian.setInt16(rawData, 3, unicodechar[1]); 327 LittleEndian.setInt16(rawData, 5, unicodechar[2]); 328 LittleEndian.setInt16(rawData, 7, unicodechar[3]); 329 LittleEndian.setInt16(rawData, 9, unicodechar[4]); 330 LittleEndian.setInt8(rawData, 11, 0x0f); // this is the hidden 333 LittleEndian.setInt8(rawData, 12, 0); // reserve [all...] |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/ |
TGALoader.java | 199 byte[] rawData = null; 202 rawData = new byte[width * height * 4]; 205 rawData = new byte[width * height * 3]; 227 rawData[rawDataIndex++] = (byte)(int)(getBitsAsByte(data, 1, 5) * scalar); 228 rawData[rawDataIndex++] = (byte)(int)(getBitsAsByte(data, 6, 5) * scalar); 229 rawData[rawDataIndex++] = (byte)(int)(getBitsAsByte(data, 11, 5) * scalar); 234 rawData[rawDataIndex++] = alpha; 247 dis.readFully(rawData, rawDataIndex, width * dl); 253 // rawData[rawDataIndex++] = red; 254 // rawData[rawDataIndex++] = green [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/network/ |
BlobData.h | 43 class RawData : public ThreadSafeRefCounted<RawData> { 45 static PassRefPtr<RawData> create() 47 return adoptRef(new RawData()); 57 RawData(); 75 explicit BlobDataItem(PassRefPtr<RawData> data) 135 RefPtr<RawData> data; 151 BlobDataItem(PassRefPtr<RawData> data, long long offset, long long length) 180 void appendData(PassRefPtr<RawData>, long long offset, long long length); 193 void appendData(const RawData&, long long offset, long long length) [all...] |
BlobData.cpp | 46 RawData::RawData() 50 void RawData::detachFromCurrentThread() 74 void BlobData::appendData(PassRefPtr<RawData> data, long long offset, long long length)
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
CameraTest.java | 122 public void onPreviewFrame(byte [] rawData, Camera camera) { 125 if (rawData != null) { 126 rawDataLength = rawData.length; 148 public void onPictureTaken(byte [] rawData, Camera camera) { 157 public void onPictureTaken(byte [] rawData, Camera camera) { 159 if (rawData != null) { 160 int rawDataLength = rawData.length; 164 outstream.write(rawData); 225 * TODO(yslau): Need to setup the golden rawData and compare the 226 * the new captured rawData with the golden one. [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_binascii.py | 20 rawdata = "The quick brown fox jumps over the lazy dog.\r\n" variable in class:BinASCIITest 22 rawdata += "".join(map(chr, xrange(256))) 23 rawdata += "\r\nHello world.\n" 26 self.data = self.type2test(self.rawdata) 42 raw = self.rawdata[:MAX_ALL] 66 for i in range(0, len(self.rawdata), MAX_BASE64): 67 b = self.type2test(self.rawdata[i:i+MAX_BASE64]) 75 self.assertEqual(res, self.rawdata) 83 b = self.type2test(self.rawdata[i:i+MAX_BASE64]) 109 self.assertEqual(res, self.rawdata) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_binascii.py | 20 rawdata = "The quick brown fox jumps over the lazy dog.\r\n" variable in class:BinASCIITest 22 rawdata += "".join(map(chr, xrange(256))) 23 rawdata += "\r\nHello world.\n" 26 self.data = self.type2test(self.rawdata) 42 raw = self.rawdata[:MAX_ALL] 66 for i in range(0, len(self.rawdata), MAX_BASE64): 67 b = self.type2test(self.rawdata[i:i+MAX_BASE64]) 75 self.assertEqual(res, self.rawdata) 83 b = self.type2test(self.rawdata[i:i+MAX_BASE64]) 109 self.assertEqual(res, self.rawdata) [all...] |
/external/chromium_org/third_party/WebKit/public/platform/ |
WebThreadSafeData.h | 41 namespace WebCore { class RawData; } 61 WebThreadSafeData(const WTF::PassRefPtr<WebCore::RawData>&); 62 WebThreadSafeData& operator=(const WTF::PassRefPtr<WebCore::RawData>&); 72 WebPrivatePtr<WebCore::RawData> m_private;
|
/external/elfutils/libelf/ |
elf_getdata.c | 181 scn->data_list.data.d.d_off = scn->rawdata.d.d_off; 182 scn->data_list.data.d.d_align = scn->rawdata.d.d_align; 183 scn->data_list.data.d.d_version = scn->rawdata.d.d_version; 189 /* Store the information for the raw data in the `rawdata' element. */ 275 scn->rawdata_base = scn->rawdata.d.d_buf 282 scn->rawdata_base = scn->rawdata.d.d_buf 284 if (scn->rawdata.d.d_buf == NULL) 290 ssize_t n = pread_retry (elf->fildes, scn->rawdata.d.d_buf, size, 295 free (scn->rawdata.d.d_buf); 296 scn->rawdata_base = scn->rawdata.d.d_buf = NULL [all...] |
/cts/suite/audio_quality/lib/src/ |
BuiltinProcessing.cpp | 57 int16_t* rawData = reinterpret_cast<int16_t*>(data->getData()); 60 energy += (rawData[i] * rawData[i]);
|
/external/chromium_org/third_party/WebKit/Source/core/fileapi/ |
BlobRegistry.h | 42 class RawData; 59 static void addDataToStream(const KURL&, PassRefPtr<RawData>);
|
Stream.cpp | 54 RefPtr<RawData> buffer(RawData::create());
|
/external/chromium_org/third_party/WebKit/Source/core/platform/chromium/support/ |
WebThreadSafeData.cpp | 64 WebThreadSafeData::WebThreadSafeData(const PassRefPtr<RawData>& data) 69 WebThreadSafeData& WebThreadSafeData::operator=(const PassRefPtr<RawData>& data)
|
/external/chromium_org/third_party/icu/source/i18n/ |
uspoof_conf.cpp | 420 SpoofDataHeader *rawData = fSpoofImpl->fSpoofData->fRawData; 421 rawData->fCFUKeys = (int32_t)((char *)keys - (char *)rawData); 422 rawData->fCFUKeysSize = numKeys; 439 rawData = fSpoofImpl->fSpoofData->fRawData; 440 rawData->fCFUStringIndex = (int32_t)((char *)values - (char *)rawData); 441 rawData->fCFUStringIndexSize = numValues; 455 rawData = fSpoofImpl->fSpoofData->fRawData; 456 U_ASSERT(rawData->fCFUStringTable == 0) [all...] |
/external/icu4c/i18n/ |
uspoof_conf.cpp | 424 SpoofDataHeader *rawData = fSpoofImpl->fSpoofData->fRawData; 425 rawData->fCFUKeys = (int32_t)((char *)keys - (char *)rawData); 426 rawData->fCFUKeysSize = numKeys; 443 rawData = fSpoofImpl->fSpoofData->fRawData; 444 rawData->fCFUStringIndex = (int32_t)((char *)values - (char *)rawData); 445 rawData->fCFUStringIndexSize = numValues; 459 rawData = fSpoofImpl->fSpoofData->fRawData; 460 U_ASSERT(rawData->fCFUStringTable == 0) [all...] |