Searched defs:size (Results 76 - 100 of 558) sorted by relevance

1234567891011>>

/frameworks/av/libvideoeditor/vss/stagefrightshells/inc/
H A DVideoEditorBuffer.h55 M4OSA_UInt32 size; member in struct:__anon311
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerStreamListener.cpp55 void NuPlayer::NuPlayerStreamListener::queueBuffer(size_t index, size_t size) { argument
59 entry.mSize = size;
96 void *data, size_t size, sp<AMessage> *extra) {
97 CHECK_GT(size, 0u);
143 if (copy > size) {
144 copy = size;
95 read( void *data, size_t size, sp<AMessage> *extra) argument
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpp_semaphore_chroma_inter.cpp33 size = total number of pixel in the current luminance VOP (int)
120 int32 size, /* i */
168 /* (pstprcTypPrv + (size>>6)). */
172 pp_prev1 = pstprcTypPrv + (size >> 6) + nmvx + nmvy * (mvwidth >> 1) ;
211 /* = size/256 = size>>8 */
212 mv_loc = (size >> 8);
111 pp_semaphore_chroma_inter( int xpred, int ypred, uint8 *pp_dec_u, uint8 *pstprcTypPrv, int dx, int dy, int mvwidth, int height, int32 size, int mv_loc, uint8 msk_deblock ) argument
/frameworks/av/media/libstagefright/wifi-display/
H A DParameters.cpp24 sp<Parameters> Parameters::Parse(const char *data, size_t size) { argument
26 status_t err = params->parse(data, size);
39 status_t Parameters::parse(const char *data, size_t size) { argument
41 while (i < size) {
43 while (i < size && data[i] != ':') {
47 if (i == size || i == nameStart) {
59 while (i + 1 < size && (data[i] != '\r' || data[i + 1] != '\n')) {
/frameworks/base/core/java/android/app/backup/
H A DBackupDataOutput.java35 * and the total size of the binary value for the record. After the header has been
80 * @param dataSize The size in bytes of this record's data. Passing a dataSize
97 * @param size The number of bytes to be sent in this chunk
101 public int writeEntityData(byte[] data, int size) throws IOException { argument
102 int result = writeEntityData_native(mBackupWriter, data, size);
128 private native static int writeEntityData_native(int mBackupWriter, byte[] data, int size); argument
/frameworks/base/core/java/android/inputmethodservice/
H A DSoftInputWindow.java86 * Get the size of the DockWindow.
105 * Set the size of the DockWindow.
107 * @param size If the DockWindow sticks to the top or bottom of the screen,
108 * <var>size</var> is the height of the DockWindow, and its width is
110 * left or right of the screen, <var>size</var> is the width of the
113 public void setSize(int size) { argument
118 lp.height = size;
120 lp.width = size;
/frameworks/base/core/java/android/text/style/
H A DAbsoluteSizeSpan.java30 * Set the text size to <code>size</code> physical pixels.
32 public AbsoluteSizeSpan(int size) { argument
33 mSize = size;
37 * Set the text size to <code>size</code> physical pixels,
38 * or to <code>size</code> device-independent pixels if
41 public AbsoluteSizeSpan(int size, boolean dip) { argument
42 mSize = size;
/frameworks/base/libs/hwui/
H A DPathRenderer.h44 TYPE* alloc(int size) { argument
45 mSize = size;
46 mBuffer = (void*)new TYPE[size];
/frameworks/base/media/mca/filterfw/jni/
H A Djni_native_buffer.cpp20 char* GetJBufferData(JNIEnv* env, jobject buffer, int* size) { argument
29 if (size) {
30 *size = env->GetIntField(buffer, size_field);
39 bool AttachDataToJBuffer(JNIEnv* env, jobject buffer, char* data, int size) { argument
48 env->SetIntField(buffer, size_field, size);
53 jboolean Java_android_filterfw_core_NativeBuffer_allocate(JNIEnv* env, jobject thiz, jint size) { argument
54 char* data = new char[size];
55 return ToJBool(AttachDataToJBuffer(env, thiz, data, size));
72 int size; local
73 char* source_data = GetJBufferData(env, thiz, &size);
[all...]
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/SharedStorageBackup/src/com/android/sharedstoragebackup/
H A DSharedStorageAgent.java56 public void onRestoreFile(ParcelFileDescriptor data, long size, argument
84 FullBackup.restoreFile(data, size, type, -1, mtime, outFile);
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A DAbstractLayoutTest.java36 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/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!");
233 if (ID >= FunctionBBs.size()) return 0; // Invalid ID
237 if (i-1 < MAttributes.size())
[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!");
226 if (ID >= FunctionBBs.size()) return 0; // Invalid ID
230 if (i-1 < MAttributes.size())
[all...]
/frameworks/compile/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/compile/mclinker/include/mcld/LD/
H A DSectionMerger.h61 size_t size() const function in class:mcld::SectionMerger
62 { return m_LDSectionMap.size(); }
/frameworks/compile/mclinker/lib/LD/
H A DELFReader.cpp216 size_t size = pLinker.addEhFrame(pInput, pInputSectHdr, *pInput.memArea()); local
218 out_sect.setSize(out_sect.size() + size);
H A DFragmentRef.cpp29 /// compunteFragmentSize - compute the specific Fragment size
40 uint64_t size = llvm::OffsetToAlignment(offset, align_frag.getAlignment()); local
41 if (size > align_frag.getMaxBytesToEmit())
43 return size;
47 return llvm::cast<RegionFragment>(pFrag).getRegion().size();
53 assert(0 && "the size of FT_Reloc fragment is handled by backend");
103 unsigned int total_length = region_frag->getRegion().size();
/frameworks/native/include/utils/
H A DKeyedVector.h54 inline size_t size() const { return mVector.size(); } function in class:android::KeyedVector
59 //! sets the capacity. capacity can never be reduced less than size()
60 inline ssize_t setCapacity(size_t size) { return mVector.setCapacity(size); } argument
189 if (index<size()) {
H A DVectorImpl.h34 * reduces code size.
63 inline size_t size() const { return mCount; } function in class:android::VectorImpl
66 ssize_t setCapacity(size_t size);
/frameworks/native/libs/utils/tests/
H A DBlobCache_test.cpp274 size_t size = mBC->getFlattenedSize(); local
275 uint8_t* flat = new uint8_t[size];
276 ASSERT_EQ(OK, mBC->flatten(flat, size, NULL, 0));
277 ASSERT_EQ(OK, mBC2->unflatten(flat, size, NULL, 0));
322 size_t size = mBC->getFlattenedSize(); local
323 uint8_t* flat = new uint8_t[size];
324 ASSERT_EQ(OK, mBC->flatten(flat, size, NULL, 0));
344 size_t size = mBC->getFlattenedSize() - 1; local
345 uint8_t* flat = new uint8_t[size];
346 ASSERT_EQ(BAD_VALUE, mBC->flatten(flat, size, NUL
354 size_t size = mBC->getFlattenedSize(); local
371 size_t size = mBC->getFlattenedSize(); local
390 size_t size = mBC->getFlattenedSize(); local
409 size_t size = mBC->getFlattenedSize(); 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/opt/mms/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();

Completed in 598 milliseconds

1234567891011>>