Searched defs:size (Results 101 - 125 of 714) sorted by relevance

1234567891011>>

/frameworks/base/media/mca/filterfw/jni/
H A Djni_vertex_frame.cpp26 jint size) {
27 return ToJBool(WrapObjectInJava(new VertexFrame(size), env, thiz, true));
24 Java_android_filterfw_core_VertexFrame_nativeAllocate(JNIEnv* env, jobject thiz, jint size) argument
/frameworks/base/obex/javax/obex/
H A DPrivateOutputStream.java69 public int size() { method in class:PrivateOutputStream
70 return mArray.size();
86 if (mArray.size() == mMaxPacketSize) {
110 while ((mArray.size() + remainLength) >= mMaxPacketSize) {
111 int bufferLeft = mMaxPacketSize - mArray.size();
124 * @param size the size of the array to return
127 public synchronized byte[] readBytes(int size) { argument
128 if (mArray.size() > 0) {
131 byte[] result = new byte[size];
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDocumentsApplication.java43 public static ThumbnailCache getThumbnailsCache(Context context, Point size) { argument
46 if (!size.equals(app.mThumbnailsSize)) {
48 app.mThumbnailsSize = size;
94 mThumbnails.trimToSize(mThumbnails.size() / 2);
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
H A DSharedStorageAgent.java65 public void onRestoreFile(ParcelFileDescriptor data, long size, argument
93 FullBackup.restoreFile(data, size, type, -1, mtime, outFile);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DKeyStoreLruCache.java85 /** Returns the size of the cache. */
86 final int size() { method in class:KeyStoreLruCache
87 return mCache.size();
90 /** Trims the cache to a specific size */
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DUnmodifiableSparseArray.java33 public int size() { method in class:UnmodifiableSparseArray
34 return mArray.size();
H A DUnmodifiableSparseIntArray.java33 public int size() { method in class:UnmodifiableSparseIntArray
34 return mArray.size();
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DThroughput.java26 public Throughput(int totalFrames, int periodFrames, long periodTime, int size) { argument
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A DAbstractLayoutTest.java42 public View create(Context context, String name, int size) { argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DParserFactory.java53 private static XmlPullParser create(InputStream stream, String name, long size) argument
57 stream = readAndClose(stream, name, size);
74 private static InputStream readAndClose(InputStream stream, String name, long size) argument
77 if (size > Integer.MAX_VALUE) {
80 int intSize = (int) size;
89 // get the size to read.
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
H A DUnsafeByteSequence.java38 public int size() { method in class:UnsafeByteSequence
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
H A DBitcodeReader.h60 unsigned size() const { return ValuePtrs.size(); } function in class:llvm_2_7::BitcodeReaderValueList
72 assert(i < ValuePtrs.size());
80 assert(N <= size() && "Invalid shrinkTo request!");
107 unsigned size() const { return MDValuePtrs.size(); }
116 assert(i < MDValuePtrs.size());
121 assert(N <= size() && "Invalid shrinkTo request!");
206 InvalidRecord, // A read record doesn't have the expected size or structure
267 if (ID >= FunctionBBs.size()) retur
[all...]
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
H A DBitcodeReader.h60 unsigned size() const { return ValuePtrs.size(); } function in class:llvm_3_0::BitcodeReaderValueList
72 assert(i < ValuePtrs.size());
80 assert(N <= size() && "Invalid shrinkTo request!");
107 unsigned size() const { return MDValuePtrs.size(); }
116 assert(i < MDValuePtrs.size());
121 assert(N <= size() && "Invalid shrinkTo request!");
201 InvalidRecord, // A read record doesn't have the expected size or structure
262 if (ID >= FunctionBBs.size()) retur
[all...]
/frameworks/compile/mclinker/include/mcld/LD/
H A DNamePool.h95 size_type size() const function in class:mcld::NamePool
/frameworks/compile/mclinker/include/mcld/Script/
H A DSectionsCmd.h48 size_t size() const { return m_SectionCommands.size(); } function in class:mcld::SectionsCmd
/frameworks/compile/mclinker/lib/Support/
H A DCommandLine.cpp46 size_t NumSpaces = MaxOptWidth > pValue.size()?MaxOptWidth - pValue.size():0;
79 size_t VSize = V.native().size();
140 else if (Arg.startswith("common-page-size=")) {
142 long long unsigned size = 0; local
143 Arg.drop_front(17).getAsInteger(0, size);
144 Val.setPageSize(static_cast<uint64_t>(size));
146 else if (Arg.startswith("max-page-size=")) {
148 long long unsigned size = 0; local
149 Arg.drop_front(14).getAsInteger(0, size);
[all...]
/frameworks/compile/mclinker/unittests/
H A DLEB128Test.cpp49 size_t size; local
52 size = leb128::encode<uint32_t>(result, 2);
55 ASSERT_TRUE(size == 1);
58 size = leb128::encode<uint32_t>(result, 127);
61 ASSERT_TRUE(size == 1);
64 size = leb128::encode<uint32_t>(result, 128);
68 ASSERT_TRUE(size == 2);
71 size = leb128::encode<uint32_t>(result, 129);
75 ASSERT_TRUE(size == 2);
78 size
95 size_t size; local
141 size_t size; local
200 size_t size; local
236 size_t size; local
303 size_t size; local
420 size_t size; local
502 size_t size; local
518 size_t size; local
[all...]
/frameworks/native/opengl/libagl/
H A DBufferObjectManager.cpp45 GLsizei n = mBuffers.size();
63 bo->size = 0;
70 GLsizeiptr size, GLenum usage)
73 if (size != bo->size) {
74 uint8_t* data = (uint8_t*)malloc(size);
79 bo->size = size;
69 allocateStore(buffer_t* bo, GLsizeiptr size, GLenum usage) argument
/frameworks/native/opengl/libs/GLES_CM/
H A Dgl.cpp39 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride,
43 GL_API void GL_APIENTRY glTexCoordPointerBounds(GLint size, GLenum type,
45 GL_API void GL_APIENTRY glVertexPointerBounds(GLint size, GLenum type,
49 GL_API void GL_APIENTRY glMatrixIndexPointerOESBounds(GLint size, GLenum type,
51 GL_API void GL_APIENTRY glWeightPointerOESBounds(GLint size, GLenum type,
55 void glColorPointerBounds(GLint size, GLenum type, GLsizei stride, argument
57 glColorPointer(size, type, stride, ptr);
63 void glTexCoordPointerBounds(GLint size, GLenum type, argument
65 glTexCoordPointer(size, type, stride, pointer);
67 void glVertexPointerBounds(GLint size, GLenu argument
77 glMatrixIndexPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument
82 glWeightPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument
[all...]
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
H A DAbstractCache.java42 if (mCacheMap.size() >= MAX_CACHED_ITEMS) {
46 Log.v(TAG, "Failed! size limitation reached.");
57 Log.v(TAG, key + " cached, " + mCacheMap.size() + " items total.");
90 Log.v(TAG, mCacheMap.size() + " items cached.");
98 Log.v(TAG, "Purging cache, " + mCacheMap.size()
104 public int size() { method in class:AbstractCache
105 return mCacheMap.size();
H A DDrmConvertSession.java79 * @param size The number of bytes that shall be converted.
83 public byte [] convert(byte[] inBuffer, int size) { argument
88 if (size != inBuffer.length) {
89 byte[] buf = new byte[size];
90 System.arraycopy(inBuffer, 0, buf, 0, size);
/frameworks/rs/cpu_ref/linkloader/include/
H A DMemChunk.h43 bool allocate(size_t size);
65 size_t size() const { function in class:MemChunk
/frameworks/rs/cpu_ref/linkloader/include/impl/
H A DELFSectionSymTab.hxx26 for (size_t i = 0; i < table.size(); ++i) {
34 for (size_t i = 0; i < table.size(); ++i) {
45 for (size_t i = 0; i < table.size(); ++i) {
55 for (size_t i = 0; i < table.size(); ++i) {
76 ELFSectionSymTab<Bitwidth>::getFuncNameList(size_t size, argument
78 for (size_t i = 0, j = 0; i < table.size() && j < size; ++i) {
94 // Assert that entry size will be the same as standard.
95 rsl_assert(sh->getEntrySize() == TypeTraits<ELFSymbolTy>::size);
101 size_t size local
[all...]
/frameworks/rs/driver/
H A DrsdCore.cpp257 void* rsdAllocRuntimeMem(size_t size, uint32_t flags) { argument
258 void* buffer = calloc(size, sizeof(char));
H A DrsdVertexArray.h39 uint32_t size; member in class:RsdVertexArray::Attrib
46 void set(uint32_t type, uint32_t size, uint32_t stride, bool normalized, size_t offset, const char *name);

Completed in 7175 milliseconds

1234567891011>>