/frameworks/compile/mclinker/unittests/ |
H A D | UniqueGCFactoryBaseTest.cpp | 54 ASSERT_EQ( 2, contextFactory->size()); 62 ASSERT_EQ( 2, contextFactory->size()); 72 ASSERT_EQ( 2, contextFactory->size()); 93 ASSERT_EQ( 2, memFactory->size());
|
/frameworks/native/include/media/hardware/ |
H A D | OMXPluginBase.h | 45 size_t size,
|
/frameworks/base/media/java/android/media/ |
H A D | Metadata.java | 247 private static final int kMetaHeaderSize = 2 * kInt32Size; // size + marker 248 private static final int kRecordHeaderSize = 3 * kInt32Size; // size + id + type 277 | record size | 299 // Check the size. 300 final int size = parcel.readInt(); 302 if (size <= kRecordHeaderSize) { // at least 1 byte should be present. 335 parcel.setDataPosition(start + size); 336 bytesLeft -= size; 360 | metadata total size | 384 final int size [all...] |
/frameworks/base/media/jni/mediaeditor/ |
H A D | VideoEditorOsal.h | 38 size_t size,
|
/frameworks/base/media/tests/omxjpegdecoder/ |
H A D | SkOmxPixelRef.cpp | 28 mSize = buffer->size();
|
/frameworks/native/libs/utils/ |
H A D | VectorImpl.cpp | 104 return SharedBuffer::bufferFromData(mStorage)->size() / mItemSize; 111 return insertArrayAt(vector.arrayImpl(), index, vector.size()); 116 return insertVectorAt(vector, size()); 121 if (index > size()) 132 return insertArrayAt(array, size(), length); 142 if (index > size()) 170 const ssize_t count = size(); 220 if (size()) 221 removeItemsAt(size()-1, 1); 231 insertAt(item, size()); 251 ALOG_ASSERT(index<size(), Ó, this, (int)index, (int)size()); if (index >= size()) argument [all...] |
H A D | String16.cpp | 83 //printHexData(1, str, buf->size(), 16, 1); 142 : mString(allocFromUTF8(o.string(), o.size())) 170 const size_t N = other.size(); 210 const size_t myLen = size(); 211 const size_t otherLen = other.size(); 232 const size_t myLen = size(); 259 const size_t myLen = size(); 286 printf("Result (%d chrs): %s\n", size(), String8(*this).string()); 297 const char16_t* e = p + size(); 311 const char16_t* e = p + size(); [all...] |
/frameworks/native/services/sensorservice/ |
H A D | SensorService.cpp | 142 for (size_t i=0 ; i<mSensorList.size() ; i++) { 185 for (size_t i=0 ; i<mSensorMap.size() ; i++) 206 for (size_t i=0 ; i<mSensorList.size() ; i++) { 223 mActiveConnections.size()); 227 for (size_t i=0 ; i<mActiveSensors.size() ; i++) { 236 write(fd, result.string(), result.size()); 245 const size_t minBufferSize = numEventMax + numEventMax * mVirtualSensorList.size(); 249 const size_t vcount = mVirtualSensorList.size(); 266 const size_t activeVirtualSensorCount = virtualSensors.size(); 279 "count=%u, k=%u, size 396 size_t size = mActiveSensors.size(); local 629 ssize_t size = SensorEventQueue::write(mChannel, local [all...] |
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 67 // size measured in sizeof(uint32_t) 102 const uint32_t size = dtohl(chunk->size); local 105 if (headerSize <= size) { 106 if (((headerSize|size)&0x3) == 0) { 107 if ((ssize_t)size <= (dataEnd-((const uint8_t*)chunk))) { 110 ALOGW("%s data size %p extends beyond resource end %p.", 111 name, (void*)size, 115 ALOGW("%s size 0x%x or headerSize 0x%x is not on an integer boundary.", 116 name, (int)size, (in 243 const size_t size = (sizeBytes - ResTable::IDMAP_HEADER_SIZE_BYTES) / sizeof(uint32_t); local 315 ResStringPool(const void* data, size_t size, bool copyData) argument 326 setTo(const void* data, size_t size, bool copyData) argument 745 size_t ResStringPool::size() const function in class:android::ResStringPool 1193 ResXMLTree(const void* data, size_t size, bool copyData) argument 1207 setTo(const void* data, size_t size, bool copyData) argument 1251 const size_t size = dtohl(chunk->size); local 1327 const uint32_t size = dtohl(node->header.size); local 1393 const size_t size = dtohl(o.size); local 2320 size_t size; member in struct:android::ResTable::Header 2722 ResTable(const void* data, size_t size, void* cookie, bool copyData) argument 2743 add(const void* data, size_t size, void* cookie, bool copyData, const void* idmap) argument 2756 size_t size = (size_t)asset->getLength(); local 2784 add(const void* data, size_t size, void* cookie, Asset* asset, bool copyData, const Asset* idmap) argument 3501 const size_t size = dtohs(map->value.size); local 5606 const size_t size = dtohs(mapPtr->value.size); local [all...] |
/frameworks/compile/slang/BitWriter_2_9/ |
H A D | ValueEnumerator.cpp | 52 unsigned FirstConstant = Values.size(); 98 for (unsigned i = 0, e = MDs.size(); i != e; ++i) 111 OptimizeConstants(FirstConstant, Values.size()); 147 OS << "Size: " << Map.size() << "\n"; 266 MDValueID = MDValues.size(); 290 MDValueID = MDValues.size(); 343 ValueMap[V] = Values.size(); 353 ValueMap[V] = Values.size(); 360 ValueID = Values.size(); 398 *TypeID = Types.size(); [all...] |
/frameworks/compile/slang/BitWriter_2_9_func/ |
H A D | ValueEnumerator.cpp | 52 unsigned FirstConstant = Values.size(); 98 for (unsigned i = 0, e = MDs.size(); i != e; ++i) 111 OptimizeConstants(FirstConstant, Values.size()); 147 OS << "Size: " << Map.size() << "\n"; 266 MDValueID = MDValues.size(); 290 MDValueID = MDValues.size(); 343 ValueMap[V] = Values.size(); 353 ValueMap[V] = Values.size(); 360 ValueID = Values.size(); 398 *TypeID = Types.size(); [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebSettingsClassic.java | 957 public synchronized void setMinimumFontSize(int size) { argument 958 size = pin(size); 959 if (mMinimumFontSize != size) { 960 mMinimumFontSize = size; 977 public synchronized void setMinimumLogicalFontSize(int size) { argument 978 size = pin(size); 979 if (mMinimumLogicalFontSize != size) { 980 mMinimumLogicalFontSize = size; 997 setDefaultFontSize(int size) argument 1017 setDefaultFixedFontSize(int size) argument 1037 setPageCacheCapacity(int size) argument 1587 setMaximumDecodedImageSize(long size) argument 1723 pin(int size) argument [all...] |
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | GLImpl.java | 196 // C function void glColorPointer ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer ) 199 int size, 207 int size, 213 size, 219 if ((size == 4) && 828 // C function void glPointSize ( GLfloat size ) 831 float size 834 // C function void glPointSizex ( GLfixed size ) 837 int size 961 // C function void glTexCoordPointer ( GLint size, GLenu 198 glColorPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument 206 glColorPointer( int size, int type, int stride, java.nio.Buffer pointer ) argument 963 glTexCoordPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument 971 glTexCoordPointer( int size, int type, int stride, java.nio.Buffer pointer ) argument 1108 glVertexPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument 1116 glVertexPointer( int size, int type, int stride, java.nio.Buffer pointer ) argument 1175 glBufferData( int target, int size, java.nio.Buffer data, int usage ) argument 1184 glBufferSubData( int target, int offset, int size, java.nio.Buffer data ) argument 1232 glColorPointer( int size, int type, int stride, int offset ) argument 1622 glTexCoordPointer( int size, int type, int stride, int offset ) argument 1715 glVertexPointer( int size, int type, int stride, int offset ) argument 1827 glMatrixIndexPointerOESBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument 1835 glMatrixIndexPointerOES( int size, int type, int stride, java.nio.Buffer pointer ) argument 1862 glMatrixIndexPointerOES( int size, int type, int stride, int offset ) argument 1871 glWeightPointerOESBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument 1879 glWeightPointerOES( int size, int type, int stride, java.nio.Buffer pointer ) argument 1896 glWeightPointerOES( int size, int type, int stride, int offset ) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | OMXClient.cpp | 52 void *params, size_t size); 56 const void *params, size_t size); 60 void *params, size_t size); 64 const void *params, size_t size); 87 node_id node, OMX_U32 port_index, size_t size, 222 void *params, size_t size) { 223 return getOMX(node)->getParameter(node, index, params, size); 228 const void *params, size_t size) { 229 return getOMX(node)->setParameter(node, index, params, size); 234 void *params, size_t size) { 220 getParameter( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument 226 setParameter( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument 232 getConfig( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument 238 setConfig( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument 277 allocateBuffer( node_id node, OMX_U32 port_index, size_t size, buffer_id *buffer, void **buffer_data) argument [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AMPEG4AudioAssembler.cpp | 64 if ((s.size() % 2) != 0) { 68 size_t outLen = s.size() / 2; 73 for (size_t i = 0; i < s.size(); ++i) { 367 sp<ABuffer> out = new ABuffer(buffer->size()); 384 CHECK_LT(offset, buffer->size()); 410 CHECK_LE(offset + payloadLength, buffer->size()); 412 memcpy(out->data() + out->size(), &ptr[offset], payloadLength); 413 out->setRange(0, out->size() + payloadLength); 421 CHECK_LE(offset + (mOtherDataLenBits / 8), buffer->size()); 426 if (offset < buffer->size()) { [all...] |
/frameworks/av/media/libmedia/ |
H A D | Visualizer.cpp | 124 status_t Visualizer::setCaptureSize(uint32_t size) argument 126 if (size > VISUALIZER_CAPTURE_SIZE_MAX || 127 size < VISUALIZER_CAPTURE_SIZE_MIN || 128 popcount(size) != 1) { 143 *((int32_t *)p->data + 1)= size; 146 ALOGV("setCaptureSize size %d status %d p->status %d", size, status, p->status); 151 mCaptureSize = size; 311 uint32_t size = 0; local 313 size [all...] |
/frameworks/av/media/libstagefright/wifi-display/sink/ |
H A D | TunnelRenderer.cpp | 102 CHECK_LT(index, mBuffers.size()); 144 ALOGV("dequeue TS packet of size %d", srcBuffer->size()); 150 CHECK_LE(srcBuffer->size(), mem->size()); 151 CHECK_EQ((srcBuffer->size() % 188), 0u); 153 memcpy(mem->pointer(), srcBuffer->data(), srcBuffer->size()); 154 mListener->queueBuffer(index, srcBuffer->size()); 178 mTotalBytesQueued += buffer->size(); 228 mTotalBytesQueued -= buffer->size(); [all...] |
/frameworks/compile/libbcc/lib/Renderscript/ |
H A D | RSInfo.cpp | 99 if (pInfo.mDependencyTable.size() != (pDeps.size() + NumBuiltInDependencies)) { 101 static_cast<unsigned long>(pInfo.mDependencyTable.size()), 102 static_cast<unsigned long>(pDeps.size()), pInputFilename); 161 for (unsigned i = 0; i < pDeps.size(); i++) { 200 "constructor (size: %u)!", mHeader.strPoolSize); 213 mHeader.dependencyTable.count = mDependencyTable.size(); 217 mHeader.pragmaList.count = mPragmas.size(); 220 mHeader.objectSlotList.count = mObjectSlots.size(); 223 mHeader.exportVarNameList.count = mExportVarNames.size(); [all...] |
/frameworks/ex/common/java/com/android/common/widget/ |
H A D | GroupingListAdapter.java | 201 protected void addGroup(int cursorPosition, int size, boolean expanded) { argument 210 long metadata = ((long)size << 32) | cursorPosition; 246 int size = (int)((metadata & GROUP_SIZE_MASK) >> 32); 251 count += size + 1; 256 cursorPosition = offset + size; 298 if (index >= mPositionCache.size()) { 347 int size = (int) ((group & GROUP_SIZE_MASK) >> 32); 354 metadata.childCount = size; 361 if (position < listPosition + size + 1) { 368 listPosition += size [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
H A D | CameraSource.java | 57 /** Frame width to request from camera. Actual size may not match requested. */ 61 /** Frame height to request from camera. Actual size may not match requested. */ 289 for (Camera.Size size : previewSizes) { 291 // the requested size, but as close as possible. The below isn't a 292 // stable selection (reording the size list can give different 294 if ( size.width <= width && 295 size.height <= height && 296 size.width >= closestWidth && 297 size.height >= closestHeight) { 298 closestWidth = size [all...] |
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | MPEG2PSExtractor.cpp | 68 const uint8_t *data, size_t size); 109 for (size_t i = mTracks.size(); i-- > 0;) { 122 return mTracks.size(); 126 if (index >= mTracks.size()) { 134 if (index >= mTracks.size()) { 162 memmove(mBuffer->base(), mBuffer->data(), mBuffer->size()); 163 mBuffer->setRange(0, mBuffer->size()); 165 if (mBuffer->size() + kChunkSize > mBuffer->capacity()) { 168 memcpy(newBuffer->data(), mBuffer->data(), mBuffer->size()); 169 newBuffer->setRange(0, mBuffer->size()); 626 appendPESData( unsigned PTS_DTS_flags, uint64_t PTS, uint64_t DTS, const uint8_t *data, size_t size) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | GridLayout.java | 673 int size = minorRange.size(); 675 return size; 678 return min(size, count - min); 697 final int majorSpan = majorRange.size(); 790 if (span.size() > count) { 1103 int gravityOffsetX = hAlign.getGravityOffset(c, cellWidth - boundsX.size(true)); 1104 int gravityOffsetY = vAlign.getGravityOffset(c, cellHeight - boundsY.size(true)); 1212 result = max(result, span.size()); 1302 int size 1331 include(List<Arc> arcs, Interval key, MutableInt size, boolean ignoreIfAlreadyPresent) argument 1355 include(List<Arc> arcs, Interval key, MutableInt size) argument 1667 private int size(int[] locations) { method in class:GridLayout.Axis 1705 layout(int size) argument 2202 protected int size(boolean min) { method in class:GridLayout.Bounds 2211 getOffset(GridLayout gl, View c, Alignment a, int size, boolean horizontal) argument 2271 int size() { method in class:GridLayout.Interval 2359 Spec(boolean startDefined, int start, int size, Alignment alignment) argument 2426 spec(int start, int size, Alignment alignment) argument 2453 spec(int start, int size) argument [all...] |
/frameworks/av/include/media/ |
H A D | AudioParameter.h | 65 size_t size() { return mParameters.size(); } function in class:android::AudioParameter
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | ABuffer.h | 40 size_t size() const { return mRangeLength; } function in struct:android::ABuffer 43 void setRange(size_t offset, size_t size);
|
/frameworks/av/libvideoeditor/osal/inc/ |
H A D | LVOSA_FileReader_optim.h | 41 M4OSA_FilePosition size, 73 M4OSA_UInt32* size );
|