Searched defs:count (Results 201 - 225 of 430) sorted by relevance

1234567891011>>

/frameworks/native/cmds/installd/
H A Dinstalld.h94 size_t count; member in struct:__anon1169
/frameworks/native/include/binder/
H A DParcel.h295 virtual status_t flatten(void* buffer, size_t size, int* fds, size_t count) const = 0;
296 virtual status_t unflatten(void const* buffer, size_t size, int const* fds, size_t count) = 0;
312 virtual status_t flatten(void* buffer, size_t size, int* fds, size_t count) const {
313 return val.flatten(buffer, size, fds, count);
315 virtual status_t unflatten(void const* buffer, size_t size, int const* fds, size_t count) { argument
316 return const_cast<Flattenable<T>&>(val).unflatten(buffer, size, fds, count);
/frameworks/native/include/private/ui/
H A DRegionHelper.h51 size_t count; member in struct:android::region_operator::region
55 : rects(rhs.rects), count(rhs.count), dx(rhs.dx), dy(rhs.dy) { }
57 : rects(r), count(c), dx(), dy() { }
59 : rects(r), count(c), dx(dx), dy(dy) { }
168 if (lhs.count) {
172 if (rhs.count) {
179 return !rhs.count && !lhs.count;
200 size_t count local
[all...]
/frameworks/native/libs/gui/
H A DISurfaceComposer.cpp314 size_t count = data.readInt32(); local
315 if (count > data.dataSize()) {
320 state.setCapacity(count);
321 for (size_t i=0 ; i<count ; i++) {
327 count = data.readInt32();
328 if (count > data.dataSize()) {
333 displays.setCapacity(count);
334 for (size_t i=0 ; i<count ; i++) {
/frameworks/native/libs/ui/
H A DGraphicBuffer.cpp266 status_t GraphicBuffer::flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const {
271 if (count < fdCountNeeded) return NO_MEMORY;
297 count -= handle->numFds;
304 void const*& buffer, size_t& size, int const*& fds, size_t& count) {
330 if (count < fdCountNeeded) return NO_MEMORY;
377 count -= numFds;
303 unflatten( void const*& buffer, size_t& size, int const*& fds, size_t& count) argument
/frameworks/native/opengl/libs/EGL/
H A Degl_display.cpp288 size_t count = objects.size(); local
289 ALOGW_IF(count, "eglTerminate() called w/ %d objects remaining", count);
290 for (size_t i=0 ; i<count ; i++) {
H A Degl_object.h43 mutable volatile int32_t count; member in class:android::egl_object_t
52 inline int32_t incRef() { return android_atomic_inc(&count); }
53 inline int32_t decRef() { return android_atomic_dec(&count); }
/frameworks/native/opengl/tests/gl_perf/
H A Dfill_common.cpp122 static void endTimer(int count) { argument
125 double pixels = (gWidth * gHeight) * count;
127 double dc60 = ((double)count) / delta / 60;
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A Dcommon.cpp24 const GLvoid *ptr, GLsizei count);
26 const GLvoid *pointer, GLsizei count);
28 GLsizei stride, const GLvoid *pointer, GLsizei count);
30 GLsizei stride, const GLvoid *pointer, GLsizei count);
32 GLsizei stride, const GLvoid *pointer, GLsizei count);
34 GLsizei stride, const GLvoid *pointer, GLsizei count);
36 GLsizei stride, const GLvoid *pointer, GLsizei count);
40 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) {
46 GLsizei stride, const GLvoid *pointer, GLsizei count) {
275 _remaining /= sizeof(CTYPE); // convert from bytes to item count
39 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
45 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
[all...]
/frameworks/native/services/inputflinger/
H A DInputListener.cpp144 size_t count = mArgsQueue.size(); local
145 for (size_t i = 0; i < count; i++) {
172 size_t count = mArgsQueue.size(); local
173 for (size_t i = 0; i < count; i++) {
/frameworks/native/services/surfaceflinger/
H A DEventThread.cpp58 mVSyncEvent[i].vsync.count = 0;
109 void EventThread::setVsyncRate(uint32_t count, argument
111 if (int32_t(count) >= 0) { // server must protect against bad params
113 const int32_t new_count = (count == 0) ? -1 : count;
114 if (connection->count != new_count) {
115 connection->count = new_count;
124 if (connection->count < 0) {
125 connection->count = 0;
153 mVSyncEvent[0].vsync.count
179 const size_t count = signalConnections.size(); local
238 size_t count = mDisplayEventConnections.size(); local
397 setVsyncRate(uint32_t count) argument
[all...]
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DEventRecurrenceTest.java41 /* int count */ 0,
62 /* int count */ 0,
83 /* int count */ 0,
104 /* int count */ 0,
125 /* int count */ 0,
146 /* int count */ 0,
167 /* int count */ 0,
189 /* int count */ 0,
207 // with a count
211 /* int count */ 33
718 verifyRecurType(String recur, int freq, String until, int count, int interval, int[] bysecond, int[] byminute, int[] byhour, int[] byday, int[] bydayNum, int[] bymonthday, int[] byyearday, int[] byweekno, int[] bymonth, int[] bysetpos, int wkst) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DRetryManager.java295 * @return retry count
314 * Set retry count to the specified value
316 public void setRetryCount(int count) { argument
317 mRetryCount = count;
330 * Set current maximum retry count to the specified value
332 public void setCurMaxRetryCount(int count) { argument
333 mCurMaxRetryCount = count;
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZonePickerView.java130 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
135 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/frameworks/rs/cpp/
H A DAllocation.cpp194 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, const void *data) { argument
196 if(count < 1) {
200 if((off + count) > mCurrentCount) {
201 ALOGE("Overflow, Available count %u, got %zu at offset %u.", mCurrentCount, count, off);
207 count, data, count * mType->getElement()->getSizeBytes()));
210 void Allocation::copy1DRangeTo(uint32_t off, size_t count, void *data) { argument
211 if(count < 1) {
215 if((off + count) > mCurrentCoun
225 copy1DRangeFrom(uint32_t off, size_t count, sp<const Allocation> data, uint32_t dataOff) argument
366 createSized(sp<RS> rs, sp<const Element> e, size_t count, uint32_t usage) argument
[all...]
/frameworks/rs/
H A DrsElement.h108 static ObjectBaseRef<const Element> createRef(Context *rsc, size_t count,
123 static const Element* create(Context *rsc, size_t count, argument
128 ObjectBaseRef<const Element> elem = createRef(rsc, count, ein, nin, lengths, asin);
H A DrsScriptC_Lib.cpp243 uint32_t count,
247 dstMip, 0, count, 1,
240 rsrAllocationCopy1DRange(Context *rsc, Allocation *dstAlloc, uint32_t dstOff, uint32_t dstMip, uint32_t count, Allocation *srcAlloc, uint32_t srcOff, uint32_t srcMip) argument
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DPositionMap.java140 public void insertKeyRange(int keyStart, int count) { argument
144 public void removeKeyRange(ArrayList<E> removedItems, int keyStart, int count) { argument
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocationThunker.java237 public void copy1DRangeFromUnchecked(int off, int count, int[] d) { argument
239 mN.copy1DRangeFromUnchecked(off, count, d);
244 public void copy1DRangeFromUnchecked(int off, int count, short[] d) { argument
246 mN.copy1DRangeFromUnchecked(off, count, d);
251 public void copy1DRangeFromUnchecked(int off, int count, byte[] d) { argument
253 mN.copy1DRangeFromUnchecked(off, count, d);
258 public void copy1DRangeFromUnchecked(int off, int count, float[] d) { argument
260 mN.copy1DRangeFromUnchecked(off, count, d);
266 public void copy1DRangeFrom(int off, int count, int[] d) { argument
268 mN.copy1DRangeFrom(off, count,
273 copy1DRangeFrom(int off, int count, short[] d) argument
280 copy1DRangeFrom(int off, int count, byte[] d) argument
287 copy1DRangeFrom(int off, int count, float[] d) argument
295 copy1DRangeFrom(int off, int count, Allocation data, int dataOff) argument
497 createSized(RenderScript rs, Element e, int count, int usage) argument
[all...]
/frameworks/volley/src/com/android/volley/toolbox/
H A DDiskBasedCache.java322 int count;
324 while (pos < length && ((count = in.read(bytes, pos, length - pos)) != -1)) {
325 pos += count;
455 public int read(byte[] buffer, int offset, int count) throws IOException { argument
456 int result = super.read(buffer, offset, count);
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL_Android.h95 XAuint32 count; member in struct:XAAndroidBufferQueueState_
/frameworks/wilhelm/tests/sandbox/
H A Dintbufq.c171 uintptr_t count = 0; local
182 count = count * 10 + (ch - '0');
184 count = ch - '0';
203 expectedContext = (void *) count;
216 for (i = 0; i < (in_count ? count : 1); ++i) {
227 if (bufqstate.count != 0)
228 printf("\rcount=%u\r\n", (unsigned) bufqstate.count);
239 printf("count=%u\r\n", (unsigned) bufqstate.count);
[all...]
/frameworks/wilhelm/tools/permute/
H A Dpermute.c243 sf_count_t count; local
244 count = sf_readf_short(sf_in, ptr, sfinfo_in.frames);
245 if (count != sfinfo_in.frames) {
247 (int) sfinfo_in.frames, (int) count);
270 count = sf_writef_short(sf_out, &((short *) ptr)[sfinfo_in.channels * s.mSegmentArray[i]
272 if (count != s.mSegmentArray[i].mFrameLength) {
274 path_out, (int) s.mSegmentArray[i].mFrameLength, (int) count);
/frameworks/av/media/img_utils/src/
H A DTiffIfd.cpp314 ALOGE("%s: StripOffsets count (%u) doesn't match StripByteCounts count (%u) in IFD %u",
353 uint32_t count = stripByteCounts->getCount(); local
357 for (size_t i = 0; i < static_cast<size_t>(count); ++i) {
H A DTiffWriter.cpp292 uint32_t count = subIfdList.size(); local
293 if (buildEntry(subIfdTag, count, subIfdList.array(), &subIfds) < 0) {

Completed in 461 milliseconds

1234567891011>>