/frameworks/base/libs/androidfw/ |
H A D | BackupData.cpp | 152 BackupDataWriter::WriteEntityData(const void* data, size_t size) argument 154 if (DEBUG) ALOGD("Writing data: size=%lu", (unsigned long) size); 166 ssize_t amt = write(m_fd, data, size); 167 if (amt != (ssize_t)size) { 272 size_t size = m_header.entity.keyLen; local 273 char* buf = m_key.lockBuffer(size); 278 int amt = read(m_fd, buf, size+1); 279 CHECK_SIZE(amt, (int)size+1); 280 m_key.unlockBuffer(size); 337 ReadEntityData(void* data, size_t size) argument [all...] |
H A D | CursorWindow.cpp | 33 void* data, size_t size, bool readOnly) : 34 mName(name), mAshmemFd(ashmemFd), mData(data), mSize(size), mReadOnly(readOnly) { 43 status_t CursorWindow::create(const String8& name, size_t size, CursorWindow** outCursorWindow) { argument 48 int ashmemFd = ashmem_create_region(ashmemName.string(), size); 54 void* data = ::mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, ashmemFd, 0); 61 data, size, false /*readOnly*/); 76 ::munmap(data, size); 92 ssize_t size = ashmem_get_size_region(ashmemFd); local 93 if (size < 0) { 100 void* data = ::mmap(NULL, size, PROT_REA 32 CursorWindow(const String8& name, int ashmemFd, void* data, size_t size, bool readOnly) argument 200 alloc(size_t size, bool aligned) argument 272 putBlob(uint32_t row, uint32_t column, const void* value, size_t size) argument 281 putBlobOrString(uint32_t row, uint32_t column, const void* value, size_t size, int32_t type) argument 297 memcpy(offsetToPtr(offset), value, size); local [all...] |
/frameworks/base/libs/hwui/ |
H A D | GradientCache.cpp | 54 INIT_LOGD(" Setting gradient cache size to %sMB", property); 57 INIT_LOGD(" Using default gradient cache size of %.2fMB", DEFAULT_GRADIENT_CACHE_SIZE); 100 const uint32_t size = texture->width * texture->height * GRADIENT_BYTES_PER_PIXEL; local 101 mSize -= size; 163 const uint32_t size = texture->width * texture->height * GRADIENT_BYTES_PER_PIXEL; local 164 while (mSize + size > mMaxSize) { 170 mSize += size;
|
/frameworks/base/media/jni/ |
H A D | android_media_Utils.cpp | 109 JNIEnv *env, const void *data, size_t size) { 110 jbyteArray byteArrayObj = env->NewByteArray(size); 111 env->SetByteArrayRegion(byteArrayObj, 0, size, (const jbyte *)data); 217 env, buffer->data(), buffer->size()); 375 buffer->size()); 388 buffer->size(), 108 makeByteBufferObject( JNIEnv *env, const void *data, size_t size) argument
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | NativeFrame.java | 151 throw new RuntimeException("Offset and length exceed buffer size in native setData: " + 155 throw new RuntimeException("Data size in setData does not match native frame size: " + 156 "Frame size is " + getFormat().getSize() + " bytes, but " + 208 "Attempting to assign frame of size " + frame.getFormat().getSize() + " to " + 209 "smaller native frame of size " + getFormat().getSize() + "!"); 226 return "NativeFrame id: " + nativeFrameId + " (" + getFormat() + ") of size " 258 private native boolean setNativeBitmap(Bitmap bitmap, int size, int bytesPerSample); argument 260 private native boolean getNativeBitmap(Bitmap bitmap, int size, int bytesPerSample); argument
|
H A D | SerializedFrame.java | 66 public DirectByteOutputStream(int size) { argument 67 mBuffer = new byte[size]; 128 public DirectByteInputStream(byte[] buffer, int size) { argument 130 mSize = size;
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_gl_frame.cpp | 219 jint size) { 225 const bool success = frame->WriteData(pixels, size); 216 Java_android_filterfw_core_GLFrame_setNativeBitmap(JNIEnv* env, jobject thiz, jobject bitmap, jint size) argument
|
H A D | jni_native_frame.cpp | 37 jint size) { 38 return ToJBool(WrapObjectInJava(new NativeFrame(size), env, thiz, true)); 74 jint size) { 78 if (!data || size > frame->Size()) 80 jbyteArray result = env->NewByteArray(size); 81 env->SetByteArrayRegion(result, 0, size, reinterpret_cast<const jbyte*>(data)); 118 jint size) { 122 if (!data || size > frame->Size() || (size % sizeof(jint)) != 0) 124 const int count = size / sizeo 35 Java_android_filterfw_core_NativeFrame_nativeAllocate(JNIEnv* env, jobject thiz, jint size) argument 72 Java_android_filterfw_core_NativeFrame_getNativeData(JNIEnv* env, jobject thiz, jint size) argument 116 Java_android_filterfw_core_NativeFrame_getNativeInts(JNIEnv* env, jobject thiz, jint size) argument 150 Java_android_filterfw_core_NativeFrame_getNativeFloats(JNIEnv* env, jobject thiz, jint size) argument 166 Java_android_filterfw_core_NativeFrame_setNativeBitmap(JNIEnv* env, jobject thiz, jobject bitmap, jint size, jint bytes_per_sample) argument 216 Java_android_filterfw_core_NativeFrame_getNativeBitmap(JNIEnv* env, jobject thiz, jobject bitmap, jint size, jint bytes_per_sample) argument [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_frame.cpp | 166 bool GLFrame::CopyDataTo(uint8_t* buffer, int size) { argument 167 return (size >= Size())
|
H A D | value.cpp | 169 Value MakeBufferValue(const char* buffer, int size) { argument 170 return MakePtrValue<char, BUFFER_VALUE_TYPE>(buffer, size); 173 Value MakeBufferValueNoCopy(const char* buffer, int size) { argument 177 result.count = size; 181 Value MakeMutableBufferValue(const char* buffer, int size) { argument 182 return MakePtrValue<const char, MUTABLE_BUFFER_VALUE_TYPE>(buffer, size); 185 Value MakeMutableBufferValueNoCopy(char* buffer, int size) { argument 189 result.count = size; 213 int SetMutableBufferValue(Value* value, const char* new_data, int size) { argument 214 return SetPtrValue<char, MUTABLE_BUFFER_VALUE_TYPE>(value, new_data, size); [all...] |
/frameworks/base/media/tests/omxjpegdecoder/ |
H A D | omx_jpeg_decoder.cpp | 42 int size = buffer->range_length(); local 51 while (size > 0) { 54 size -= numBytes; 65 int size = bitmap->getSize(); local 72 while (size > 0) { 75 size -= numBytes; 166 CHECK_EQ(buffer->size(), bm->getSize()); 167 memcpy(bm->getPixels(), buffer->data(), buffer->size());
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL11Ext.java | 126 int size, 133 int size, 140 int size, 147 int size, 125 glMatrixIndexPointerOES( int size, int type, int stride, java.nio.Buffer pointer ) argument 132 glMatrixIndexPointerOES( int size, int type, int stride, int offset ) argument 139 glWeightPointerOES( int size, int type, int stride, java.nio.Buffer pointer ) argument 146 glWeightPointerOES( int size, int type, int stride, int offset ) argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationData.java | 100 public int size() { method in class:NotificationData 101 return mEntries.size(); 119 int N = mEntries.size();
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
H A D | BiDiTestView.java | 89 public void setCurrentTextSize(int size) { argument 90 currentTextSize = size;
|
/frameworks/base/tests/BrowserTestPlugin/jni/ |
H A D | main.cpp | 76 if (browserFuncs->size < sizeof(NPNetscapeFuncs)) { 86 pluginFuncs->size = sizeof(pluginFuncs); 103 uint32_t size; member in struct:__anon1143 112 gPairs[i].i->inSize = gPairs[i].size;
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
H A D | Summarizer.java | 60 " font-size: 24px;" + 63 " font-size:18px;" + 67 " font-size: 14px;" + 88 " font-size: 10px;" + 93 " font-size: 10px;" + 101 " font-size: 12px;" + 115 " font-size: 15px;" + 148 " font-size: 11px;" + 427 private void createSummaryTableRow(StringBuilder html, String caption, int size) { argument 430 html.append(" <td>" + size [all...] |
/frameworks/base/tools/aapt/ |
H A D | Package.cpp | 229 const size_t N = assets->getGroupEntries().size(); 249 const size_t ND = dir->getDirs().size(); 271 const size_t NF = dir->getFiles().size(); 430 for (i = 0; i < (int)others.size(); i++) { 463 size_t size = entry->getUncompressedLen(); local 470 out->add(data, size, storageName, compressionMethod, NULL); 484 size_t N = jars.size();
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BitmapShader_Delegate.java | 203 private int getCoordinate(int i, int size, TileMode mode) { argument 210 i = size - 1 - (-i % size); 216 int count = i / size; 217 i = i % size; 220 i = size - 1 - i; 224 } else if (i >= size) { 227 i = size - 1; 230 i = i % size; 233 int count = i / size; [all...] |
/frameworks/compile/libbcc/bcinfo/Wrap/ |
H A D | bitcode_wrapperer.cpp | 53 // Max size for variable fields. Currently only used for writing them 85 for(size_t i = 0; i < variable_field_data_.size(); i++) { 140 size_t needed = buffer_.size() - buffer_size_; 142 while (buffer_.size() > buffer_size_) { 211 if (buffer_needed > buffer_.size()) { 281 // Make sure that the offset and size (for llvm) is defined. 311 bool BitcodeWrapperer::BufferCopyInToOut(uint32_t size) { argument 312 while (size > 0) { 321 size_t block = (buffer_size_ < size) ? buffer_size_ : size; [all...] |
/frameworks/compile/libbcc/runtime/BlocksRuntime/ |
H A D | Block_private.h | 57 unsigned long int size; member in struct:Block_descriptor 77 int size; member in struct:Block_byref 88 int size; member in struct:Block_byref_header 115 /* Runtime entry to get total size of a closure */
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | Archive.h | 50 char size[10]; ///< file size in ASCII decimal member in struct:mcld::Archive::MemberHeader 191 /// setSymTabSize - set the memory size of symtab 194 /// getSymTabSize - get the memory size of symtab
|
H A D | LDSection.h | 63 /// size - An integer specifying the size in bytes of the virtual memory 66 /// Before layouting, output's LDSection::size() should return zero. 67 uint64_t size() const function in class:mcld::LDSection 113 void setSize(uint64_t size) argument 114 { m_Size = size; }
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | Allocators.h | 39 static size_t size() { return ChunkSize; } function in struct:mcld::Chunk 67 static size_t size() { return m_Size; } function in struct:mcld::Chunk 136 // - Disallow to allocate a chunk whose size is bigger than a chunk. 141 if (0 == N || N > chunk_type::size()) 147 size_type rest_num_elem = chunk_type::size() - m_pCurrent->bound; 162 if (chunk_type::size() == m_pCurrent->bound) 174 N > chunk_type::size() || 197 pPtr <= &(m_pCurrent->data[chunk_type::size()-1])) 205 pPtr <= &(m_pCurrent->data[chunk_type::size()-1])) 244 m_AllocatedNum += chunk_type::size(); [all...] |
H A D | FileHandle.h | 104 size_t size() const function in class:mcld::FileHandle
|
H A D | GCFactory.h | 199 unsigned int size() const function in class:mcld::GCFactoryBase
|