/external/chromium_org/third_party/WebKit/Source/wtf/ |
ArrayBufferBuilderTest.cpp | 58 size_t dataSize = sizeof(data) - 1; 60 ArrayBufferBuilder builder(2 * dataSize); 62 EXPECT_EQ(dataSize, builder.append(data, dataSize)); 63 EXPECT_EQ(dataSize, builder.byteLength()); 64 EXPECT_EQ(dataSize * 2, builder.capacity()); 66 EXPECT_EQ(dataSize, builder.append(data, dataSize)); 67 EXPECT_EQ(dataSize * 2, builder.byteLength()); 68 EXPECT_EQ(dataSize * 2, builder.capacity()) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
ImageData.cpp | 36 Checked<int, RecordOverflow> dataSize = 4; 37 dataSize *= size.width(); 38 dataSize *= size.height(); 39 if (dataSize.hasOverflowed()) 47 Checked<int, RecordOverflow> dataSize = 4; 48 dataSize *= size.width(); 49 dataSize *= size.height(); 50 if (dataSize.hasOverflowed()) 53 if (dataSize.unsafeGet() < 0 54 || static_cast<unsigned>(dataSize.unsafeGet()) > byteArray->length() [all...] |
/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageStatsTest.java | 31 long dataSize = 4096; 38 stats.dataSize = dataSize; 59 assertEquals(expected.dataSize, actual.dataSize);
|
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/bitmap/ |
ebsc_table.h | 31 kNumSizes = DataSize::kFixed, 32 kHeaderLength = kNumSizes + DataSize::kULONG, 40 kBitmapScaleTable_ppemY = kBitmapScaleTable_ppemX + DataSize::kBYTE, 42 DataSize::kBYTE, 44 DataSize::kBYTE, 46 DataSize::kBYTE,
|
eblc_table.h | 36 kHeaderLength = kNumSizes + DataSize::kULONG, 89 DataSize::kULONG + 93 DataSize::kULONG, 104 DataSize::kULONG, 105 kIndexSubTable4_codeOffsetPairLength = 2 * DataSize::kUSHORT, 107 kIndexSubTable4_codeOffsetPair_offset = DataSize::kUSHORT, 113 DataSize::kULONG, 117 DataSize::kULONG, 121 kCodeOffsetPairLength = 2 * DataSize::kUSHORT, 123 kCodeOffsetPair_offset = DataSize::kUSHORT [all...] |
bitmap_glyph.h | 58 DataSize::kUSHORT, 63 DataSize::kUSHORT, 66 kEbdtComponentLength = DataSize::kUSHORT + 2 * DataSize::kCHAR,
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
ebsc_table.h | 31 kNumSizes = DataSize::kFixed, 32 kHeaderLength = kNumSizes + DataSize::kULONG, 40 kBitmapScaleTable_ppemY = kBitmapScaleTable_ppemX + DataSize::kBYTE, 42 DataSize::kBYTE, 44 DataSize::kBYTE, 46 DataSize::kBYTE,
|
eblc_table.h | 36 kHeaderLength = kNumSizes + DataSize::kULONG, 89 DataSize::kULONG + 93 DataSize::kULONG, 104 DataSize::kULONG, 105 kIndexSubTable4_codeOffsetPairLength = 2 * DataSize::kUSHORT, 107 kIndexSubTable4_codeOffsetPair_offset = DataSize::kUSHORT, 113 DataSize::kULONG, 117 DataSize::kULONG, 121 kCodeOffsetPairLength = 2 * DataSize::kUSHORT, 123 kCodeOffsetPair_offset = DataSize::kUSHORT [all...] |
bitmap_glyph.h | 58 DataSize::kUSHORT, 63 DataSize::kUSHORT, 66 kEbdtComponentLength = DataSize::kUSHORT + 2 * DataSize::kCHAR,
|
/external/lzma/CPP/Windows/ |
Registry.h | 66 LONG QueryValue(LPCTSTR name, LPTSTR value, UInt32 &dataSize);
73 LONG QueryValue(LPCWSTR name, LPWSTR value, UInt32 &dataSize);
77 LONG QueryValue(LPCTSTR name, void *value, UInt32 &dataSize);
78 LONG QueryValue(LPCTSTR name, CByteBuffer &value, UInt32 &dataSize);
|
/system/extras/tests/crypto/ |
get_dm_versions.c | 10 static void ioctl_init(struct dm_ioctl *io, size_t dataSize, const char *name, unsigned flags) 12 memset(io, 0, dataSize); 13 io->data_size = dataSize;
|
/external/skia/tests/ |
FlateTest.cpp | 33 size_t dataSize) { 37 SkMemoryStream testData(dataSize); 40 for (size_t i = 0; i < dataSize; i++) 43 testStream->setMemory(testData.getMemoryBase(), dataSize, true); 58 if (dataSize < 1024)
|
/external/chromium_org/third_party/zlib/contrib/minizip/ |
mztools.c | 109 int dataSize = cpsize; 110 if (dataSize == 0) { 111 dataSize = uncpsize; 113 if (dataSize > 0) { 114 char* data = malloc(dataSize); 116 if ((int)fread(data, 1, dataSize, fpZip) == dataSize) { 117 if ((int)fwrite(data, 1, dataSize, fpOut) == dataSize) { 118 offset += dataSize; [all...] |
/external/zlib/src/contrib/minizip/ |
mztools.c | 119 int dataSize = cpsize; 120 if (dataSize == 0) { 121 dataSize = uncpsize; 123 if (dataSize > 0) { 124 char* data = malloc(dataSize); 126 if ((int)fread(data, 1, dataSize, fpZip) == dataSize) { 127 if ((int)fwrite(data, 1, dataSize, fpOut) == dataSize) { 128 offset += dataSize; [all...] |
/libcore/luni/src/main/java/java/sql/ |
DataTruncation.java | 38 private int dataSize = 0; 65 * @param dataSize 71 int dataSize, int transferSize) { 76 this.dataSize = dataSize; 94 * @param dataSize 104 int dataSize, int transferSize, Throwable cause) { 110 this.dataSize = dataSize; 121 return dataSize; [all...] |
/external/clang/lib/AST/ |
RecordLayout.cpp | 32 CharUnits alignment, CharUnits datasize, 35 : Size(size), DataSize(datasize), Alignment(alignment), FieldOffsets(0), 47 CharUnits datasize, 57 : Size(size), DataSize(datasize), Alignment(alignment), FieldOffsets(0),
|
/external/chromium_org/third_party/opus/src/silk/float/ |
scale_vector_FLP.c | 38 opus_int dataSize 44 dataSize4 = dataSize & 0xFFFC; 53 for( ; i < dataSize; i++ ) {
|
/frameworks/base/libs/androidfw/ |
BackupData.cpp | 93 BackupDataWriter::WriteEntityHeader(const String8& key, size_t dataSize) 115 ALOGD("Writing header: prefix='%s' key='%s' dataSize=%d", m_keyPrefix.string(), 116 key.string(), dataSize); 126 header.dataSize = tolel(dataSize); 268 m_header.entity.dataSize = fromlel(m_header.entity.dataSize); 283 m_dataEndPos = m_pos + m_header.entity.dataSize; 303 BackupDataReader::ReadEntityHeader(String8* key, size_t* dataSize) 312 *dataSize = m_header.entity.dataSize [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
font_data_test.cc | 49 * DataSize::kUSHORT, 51 DataSize::kUSHORT, 52 kLowerByteArrayForSearchingLength * DataSize::kUSHORT, 53 DataSize::kUSHORT }, 57 * DataSize::kUSHORT, 59 2 * DataSize::kUSHORT, 60 DataSize::kUSHORT, 61 2 * DataSize::kUSHORT }, 65 * DataSize::kUSHORT, 66 kLowerByteArrayForSearchingLength * DataSize::kUSHORT [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/piff/ |
UuidBasedProtectionSystemSpecificHeaderBox.java | 23 * unsigned int(32) DataSize; 24 * unsigned int(8)[DataSize] Data; 66 int dataSize = l2i(IsoTypeReader.readUInt32(content)); 99 sb.append(", dataSize=").append(protectionSpecificHeader.getData().limit());
|
/external/sfntly/cpp/src/test/ |
font_data_test.cc | 49 * DataSize::kUSHORT, 51 DataSize::kUSHORT, 52 kLowerByteArrayForSearchingLength * DataSize::kUSHORT, 53 DataSize::kUSHORT }, 57 * DataSize::kUSHORT, 59 2 * DataSize::kUSHORT, 60 DataSize::kUSHORT, 61 2 * DataSize::kUSHORT }, 65 * DataSize::kUSHORT, 66 kLowerByteArrayForSearchingLength * DataSize::kUSHORT [all...] |
/external/chromium_org/third_party/icu/source/io/ |
ustdio.c | 410 int32_t dataSize; 420 dataSize = (int32_t)(str->fLimit - str->fPos); 421 if (f->fFileno == 0 && dataSize > 0) { 427 if(dataSize != 0) { 428 uprv_memmove(f->fUCBuffer, str->fPos, dataSize * sizeof(UChar)); 433 availLength = UFILE_UCHARBUFFER_SIZE - dataSize; 457 myTarget = f->fUCBuffer + dataSize; 486 int32_t dataSize; 509 dataSize = (int32_t)(str->fLimit - str->fPos); 512 if (dataSize == 0 [all...] |
/external/icu4c/io/ |
ustdio.c | 410 int32_t dataSize; 420 dataSize = (int32_t)(str->fLimit - str->fPos); 421 if (f->fFileno == 0 && dataSize > 0) { 427 if(dataSize != 0) { 428 uprv_memmove(f->fUCBuffer, str->fPos, dataSize * sizeof(UChar)); /* not accessing beyond memory */ 433 availLength = UFILE_UCHARBUFFER_SIZE - dataSize; 457 myTarget = f->fUCBuffer + dataSize; 486 int32_t dataSize; 509 dataSize = (int32_t)(str->fLimit - str->fPos); 512 if (dataSize == 0 [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/truetype/ |
glyph_table.cc | 396 NumberOfContours() * DataSize::kUSHORT); 398 (NumberOfContours() + 1) * DataSize::kUSHORT; 399 flags_offset_ = instructions_offset_ + instruction_size_ * DataSize::kBYTE; 405 x_coordinates_offset_ = flags_offset_ + flag_byte_count_ * DataSize::kBYTE; 407 DataSize::kBYTE; 415 5 * DataSize::kSHORT + 416 (NumberOfContours() * DataSize::kUSHORT) + 417 DataSize::kUSHORT + 418 (instruction_size_ * DataSize::kBYTE) + 419 (flag_byte_count_ * DataSize::kBYTE) [all...] |
/external/sfntly/cpp/src/sfntly/table/truetype/ |
glyph_table.cc | 396 NumberOfContours() * DataSize::kUSHORT); 398 (NumberOfContours() + 1) * DataSize::kUSHORT; 399 flags_offset_ = instructions_offset_ + instruction_size_ * DataSize::kBYTE; 405 x_coordinates_offset_ = flags_offset_ + flag_byte_count_ * DataSize::kBYTE; 407 DataSize::kBYTE; 415 5 * DataSize::kSHORT + 416 (NumberOfContours() * DataSize::kUSHORT) + 417 DataSize::kUSHORT + 418 (instruction_size_ * DataSize::kBYTE) + 419 (flag_byte_count_ * DataSize::kBYTE) [all...] |