/external/chromium_org/content/browser/aura/ |
software_output_device_win.cc | 31 void SoftwareOutputDeviceWin::Resize(gfx::Size viewport_size) { 72 SIZE size = {wr.right - wr.left, wr.bottom - wr.top}; local 83 ::UpdateLayeredWindow(hwnd_, NULL, &position, &size, dib_dc, &zero,
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrGpu.cpp | 190 GrVertexBuffer* GrGpu::createVertexBuffer(uint32_t size, bool dynamic) { 192 return this->onCreateVertexBuffer(size, dynamic); 195 GrIndexBuffer* GrGpu::createIndexBuffer(uint32_t size, bool dynamic) { 197 return this->onCreateIndexBuffer(size, dynamic); 270 static const int SIZE = sizeof(uint16_t) * 6 * MAX_QUADS; 272 fQuadIndexBuffer = me->createIndexBuffer(SIZE, false); 279 indices = (uint16_t*)GrMalloc(SIZE); 281 if (!fQuadIndexBuffer->updateData(indices, SIZE)) {
|
/external/guava/guava/src/com/google/common/math/ |
DoubleUtils.java | 141 if (exponent < Long.SIZE - 1) {
|
/external/skia/src/gpu/ |
GrGpu.cpp | 190 GrVertexBuffer* GrGpu::createVertexBuffer(uint32_t size, bool dynamic) { 192 return this->onCreateVertexBuffer(size, dynamic); 195 GrIndexBuffer* GrGpu::createIndexBuffer(uint32_t size, bool dynamic) { 197 return this->onCreateIndexBuffer(size, dynamic); 270 static const int SIZE = sizeof(uint16_t) * 6 * MAX_QUADS; 272 fQuadIndexBuffer = me->createIndexBuffer(SIZE, false); 279 indices = (uint16_t*)GrMalloc(SIZE); 281 if (!fQuadIndexBuffer->updateData(indices, SIZE)) {
|
/frameworks/av/libvideoeditor/lvpp/ |
VideoEditorPlayer.cpp | 486 const void* buffer, size_t size) { 493 const void* buffer, size_t size) { 497 //ALOGV("write(%p, %u)", buffer, size); 499 snoopWrite(buffer, size); 500 ssize_t ret = mTrack->write(buffer, size); 553 me, buffer->raw, buffer->size, me->mCallbackCookie, 556 buffer->size = actualSize; 565 const size_t SIZE = 256; 566 char buffer[SIZE]; 570 snprintf(buffer, SIZE-1, " stream type(%d), left - right volume(%f, %f)\n" [all...] |
/libcore/luni/src/main/java/java/awt/font/ |
TextAttribute.java | 138 /** The SIZE text attribute. */ 139 public static final TextAttribute SIZE = new TextAttribute("size");
|
/libcore/luni/src/main/java/java/lang/ |
Byte.java | 51 public static final int SIZE = 8;
|
Short.java | 52 public static final int SIZE = 16;
|
/sdk/find_java/ |
find_java_lib.cpp | 132 for(int i = 0; i < paths->size(); i++) {
164 DWORD size = 4096; // MAX_PATH is 260, so 4 KB should be good enough
local 165 char* buffer = (char*) malloc(size);
167 while (ret == ERROR_MORE_DATA && size < (1<<16) /*64 KB*/) {
174 &size); // lpcbData
177 size *= 2;
178 buffer = (char*) realloc(buffer, size);
180 buffer[size] = 0;
441 0)) { // nSize (0=default buffer size)
487 #define SIZE 1024 [all...] |
/external/chromium_org/net/disk_cache/flash/ |
segment_unittest.cc | 15 template<int SIZE> 17 enum { size = SIZE }; enumerator in enum:__anon11039::Entry::__anon11040 19 Entry() { CacheTestFillBuffer(data, size, false); } 22 return std::equal(data, data + size, rhs.data); 25 char data[size]; 94 EXPECT_TRUE(segment->CanHold(entry1.size)); 96 EXPECT_TRUE(segment->WriteData(entry1.data, entry1.size)); 103 EXPECT_TRUE(segment->ReadData(entry2.data, entry2.size, offset)); 119 while (segment->CanHold(entry.size)) { [all...] |
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
stun.cc | 70 for (size_t i = 0; i < attrs_->size(); i++) 76 if (transaction_id_.size() == kStunLegacyTransactionIdLength) 78 ASSERT(transaction_id_.size() == kStunTransactionIdLength); 146 bool StunMessage::ValidateMessageIntegrity(const char* data, size_t size, 148 // Verifying the size of the message. 149 if ((size % 4) != 0) { 155 if (size != (msg_length + kStunHeaderSize)) { 162 while (current_pos < size) { 171 current_pos + attr_length > size) { 193 if (size > mi_pos + kStunAttributeHeaderSize + kStunMessageIntegritySize) 919 size_t size = talk_base::ComputeDigest( local [all...] |
/external/eigen/bench/ |
BenchSparseUtil.h | 10 #ifndef SIZE 11 #define SIZE 1024 139 dst.resize(src.size()); 140 for (int j=0; j<src.size(); ++j)
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/ |
FlyweightMapStorage.java | 37 // Size of short and integer types in bytes. 38 private static final int SHORT_NUM_BYTES = Short.SIZE / 8; 39 private static final int INT_NUM_BYTES = Integer.SIZE / 8; 43 // The number of bytes used to store a description index. It is computed from the size of the 72 numOfEntries = areaCodeMap.size(); 94 descIndexSizeInBytes = getOptimalNumberOfBytesForValue(descriptionsSet.size() - 1); 96 descriptionPool = new String[descriptionsSet.size()]; 123 // Read description pool size. 161 int sizeOfLengths = possibleLengths.size(); 167 // Write description pool size [all...] |
/frameworks/av/media/libmediaplayerservice/ |
MetadataRetrieverClient.cpp | 61 const size_t SIZE = 256; 62 char buffer[SIZE]; 67 write(fd, result.string(), result.size()); 152 ALOGE("offset (%lld) bigger than file size (%llu)", offset, sb.st_size); 192 size_t size = sizeof(VideoFrame) + frame->mSize; local 193 sp<MemoryHeapBase> heap = new MemoryHeapBase(size, 0, "MetadataRetrieverClient"); 199 mThumbnail = new MemoryBase(heap, 0, size); 201 ALOGE("not enough memory for VideoFrame size=%u", size); 233 size_t size = sizeof(MediaAlbumArt) + albumArt->mSize local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/provider/ |
GalleryProvider.java | 59 ImageColumns.SIZE, 151 } else if (ImageColumns.SIZE.equals(column)){
|
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
ggc.h | 151 /* Allocate an object of the specified type and size. */ 208 #define htab_create_ggc(SIZE, HASH, EQ, DEL) \ 209 htab_create_typed_alloc (SIZE, HASH, EQ, DEL, \
|
defaults.h | 118 #define ASM_OUTPUT_TLS_COMMON(FILE, DECL, NAME, SIZE) \ 124 (SIZE), DECL_ALIGN (DECL) / BITS_PER_UNIT); \ 226 /* How to emit a .size directive. */ 229 #define ASM_OUTPUT_SIZE_DIRECTIVE(STREAM, NAME, SIZE) \ 232 HOST_WIDE_INT size_ = (SIZE); \ 435 /* `bool' has size and alignment `1', on almost all platforms. */ 517 When machines start needing nontrivial differences in the size type, 861 #define LARGEST_EXPONENT_IS_NORMAL(SIZE) 0 1003 /* This macro is used to determine what the largest unit size that [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
ggc.h | 151 /* Allocate an object of the specified type and size. */ 208 #define htab_create_ggc(SIZE, HASH, EQ, DEL) \ 209 htab_create_typed_alloc (SIZE, HASH, EQ, DEL, \
|
defaults.h | 118 #define ASM_OUTPUT_TLS_COMMON(FILE, DECL, NAME, SIZE) \ 124 (SIZE), DECL_ALIGN (DECL) / BITS_PER_UNIT); \ 226 /* How to emit a .size directive. */ 229 #define ASM_OUTPUT_SIZE_DIRECTIVE(STREAM, NAME, SIZE) \ 232 HOST_WIDE_INT size_ = (SIZE); \ 435 /* `bool' has size and alignment `1', on almost all platforms. */ 517 When machines start needing nontrivial differences in the size type, 861 #define LARGEST_EXPONENT_IS_NORMAL(SIZE) 0 1003 /* This macro is used to determine what the largest unit size that [all...] |
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
ggc.h | 151 /* Allocate an object of the specified type and size. */ 208 #define htab_create_ggc(SIZE, HASH, EQ, DEL) \ 209 htab_create_typed_alloc (SIZE, HASH, EQ, DEL, \
|
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
ggc.h | 151 /* Allocate an object of the specified type and size. */ 208 #define htab_create_ggc(SIZE, HASH, EQ, DEL) \ 209 htab_create_typed_alloc (SIZE, HASH, EQ, DEL, \
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
BootSector.java | 65 * The size of a boot sector in bytes. 67 public final static int SIZE = 512; 70 super(device, 0, SIZE); 220 * Returns the size of the data-containing portion of the file system.
|
/frameworks/av/services/audioflinger/ |
AudioPolicyService.cpp | 118 for (size_t i = 0; i < mInputSources.size(); i++) { 123 for (size_t i = 0; i < mInputs.size(); i++) { 333 for (size_t i = 0; i < effects.size(); i++) { 342 for (size_t j = 0; j < effect->mParams.size(); j++) { 550 for (index = 0; index < mInputs.size(); index++) { 555 if (index == mInputs.size()) { 561 for (size_t i = 0; i < effects.size(); i++) { 567 if (effects.size() > *count) { 570 *count = effects.size(); 594 const size_t SIZE = 256 1278 size_t size = readParamValue(param, (char *)fx_param, &curSize, &totSize); local 1293 size_t size = readParamValue(value, (char *)fx_param, &curSize, &totSize); local [all...] |
/external/chromium_org/third_party/openssl/openssl/apps/ |
enc.c | 73 int set_hex(char *in,unsigned char *out,int size); 74 #undef SIZE 78 #define SIZE (512) 312 BIO_printf(bio_err,"%-14s buffer size\n","-bufsize <n>"); 374 strbuf=OPENSSL_malloc(SIZE); 432 i=EVP_read_pw_string((char *)strbuf,SIZE,buf,enc); 563 OPENSSL_cleanse(str,SIZE); 698 int set_hex(char *in, unsigned char *out, int size) 704 if (n > (size*2)) 709 memset(out,0,size); [all...] |
/external/openssl/apps/ |
enc.c | 73 int set_hex(char *in,unsigned char *out,int size); 74 #undef SIZE 78 #define SIZE (512) 312 BIO_printf(bio_err,"%-14s buffer size\n","-bufsize <n>"); 374 strbuf=OPENSSL_malloc(SIZE); 432 i=EVP_read_pw_string((char *)strbuf,SIZE,buf,enc); 563 OPENSSL_cleanse(str,SIZE); 698 int set_hex(char *in, unsigned char *out, int size) 704 if (n > (size*2)) 709 memset(out,0,size); [all...] |