/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTPWriter.cpp | 399 size_t count = 4 - (offset % 4); local 400 switch (count) {
|
/frameworks/base/cmds/installd/ |
H A D | installd.c | 155 static int readx(int s, void *_buf, int count) argument 159 if (count < 0) return -1; 160 while (n < count) { 161 r = read(s, buf + n, count - n); 176 static int writex(int s, const void *_buf, int count) argument 180 if (count < 0) return -1; 181 while (n < count) { 182 r = write(s, buf + n, count - n); 204 unsigned short count; local 247 count 533 int lsocket, s, count; local 571 unsigned short count; local [all...] |
/frameworks/base/cmds/servicemanager/ |
H A D | binder.c | 26 unsigned count; local 28 for (count = 0; count < len; count++) { 29 if ((count & 15) == 0) 30 fprintf(stderr,"%04x:", count); 34 if ((count & 15) == 15) 37 if ((count & 15) != 0) 45 unsigned count = txn->offs_size / 4; local 52 while (count [all...] |
/frameworks/base/core/java/android/net/http/ |
H A D | RequestHandle.java | 125 * @return true if we've hit the max redirect count 135 public void setRedirectCount(int count) { argument 136 mRedirectCount = count; 146 * count exceeded, body provider unable to rewind on 307 redirect)
|
/frameworks/base/core/jni/android/graphics/ |
H A D | TextLayoutCache.h | 74 TextLayoutCacheKey(const SkPaint* paint, const UChar* text, size_t start, size_t count, 91 size_t count; member in class:android::TextLayoutCacheKey 173 size_t start, size_t count, size_t contextCount, int dirFlags); 227 size_t start, size_t count, size_t contextCount, int dirFlags, 232 size_t count, bool isRTL, 267 jint count, jint contextCount, jint dirFlags); 319 jint count, jint contextCount, jint dirFlags);
|
/frameworks/base/core/jni/ |
H A D | android_net_LocalSocketImpl.cpp | 470 int count local 473 if (count < 0) { 478 fdArray = env->NewObjectArray(count, class_FileDescriptor, NULL); 484 for (int i = 0; i < count; i++) {
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
H A D | AsecTests.java | 609 int count = 0; field in class:AsecTests.MultipleStorageLis 611 count++; 648 assertEquals(observer.count, 1);
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | JsonReaderTest.java | 904 private String repeat(char c, int count) { argument 905 char[] array = new char[count];
|
/frameworks/base/libs/androidfw/ |
H A D | Asset.cpp | 436 ssize_t _FileAsset::read(void* buf, size_t count) argument 454 /* adjust count if we're near EOF */ 456 if (count > maxLen) 457 count = maxLen; 459 if (!count) 465 memcpy(buf, (char*)mMap->getDataPtr() + mOffset, count); 466 actual = count; 470 memcpy(buf, (char*)mBuf + mOffset, count); 471 actual = count; 488 actual = fread(buf, 1, count, mF 760 read(void* buf, size_t count) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | Caches.cpp | 244 size_t count = displayLists.size(); local 245 for (size_t i = 0; i < count; i++) { 250 count = layers.size(); 251 for (size_t i = 0; i < count; i++) {
|
H A D | LayerRenderer.cpp | 139 size_t count; local 140 const android::Rect* rects = mLayer->region.getArray(&count); 142 GLsizei elementCount = count * 6; 154 mLayer->mesh = new TextureVertex[count * 4]; 167 for (size_t i = 0; i < count; i++) {
|
H A D | SkiaShader.cpp | 182 float* positions, int count, SkShader* key, SkShader::TileMode tileMode, 185 mBounds(bounds), mColors(colors), mPositions(positions), mCount(count) { 196 mIsSimple = count == 2 && tileMode == SkShader::kClamp_TileMode; 261 uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, 263 SkiaSweepGradientShader(kCircularGradient, x, y, colors, positions, count, key, 300 float* positions, int count, SkShader* key, SkMatrix* matrix, bool blend): 303 mColors(colors), mPositions(positions), mCount(count) { 310 mIsSimple = count == 2; 314 float* positions, int count, SkShader* key, SkShader::TileMode tileMode, 317 mColors(colors), mPositions(positions), mCount(count) { 181 SkiaLinearGradientShader(float* bounds, uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend) argument 260 SkiaCircularGradientShader(float x, float y, float radius, uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend) argument 299 SkiaSweepGradientShader(float x, float y, uint32_t* colors, float* positions, int count, SkShader* key, SkMatrix* matrix, bool blend) argument 313 SkiaSweepGradientShader(Type type, float x, float y, uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend) argument [all...] |
/frameworks/base/services/jni/ |
H A D | com_android_server_BatteryService.cpp | 146 ssize_t count = read(fd, buf, size); local 147 if (count > 0) { 148 while (count > 0 && buf[count-1] == '\n') 149 count--; 150 buf[count] = '\0'; 156 return count;
|
/frameworks/base/test-runner/src/android/test/ |
H A D | TestRunner.java | 182 int count = mListeners.size(); 183 for (int i = 0; i < count; i++) { 189 int count = mListeners.size(); 190 for (int i = 0; i < count; i++) { 199 int count = mListeners.size(); 200 for (int i = 0; i < count; i++) { 210 int count = mListeners.size(); 211 for (int i = 0; i < count; i++) { 218 int count = mListeners.size(); 219 for (int i = 0; i < count; 238 setInternalIterations(int count) argument [all...] |
/frameworks/compile/libbcc/include/bcc/Renderscript/ |
H A D | RSInfo.h | 51 uint32_t count; member in struct:bcc::rsinfo::ListHeader
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | ELFWriter.cpp | 419 uint64_t count = size / align_frag.getValueSize(); local 424 count);
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMLDBackend.cpp | 787 uint64_t count = size / align_frag.getValueSize(); local 790 std::memset(out_offset, align_frag.getValue(), count);
|
/frameworks/native/include/utils/ |
H A D | List.h | 276 ptrdiff_t count = 0; local 279 ++count; 281 return count;
|
H A D | Vector.h | 157 inline ssize_t removeItemsAt(size_t index, size_t count = 1); 204 // require any change to the underlying SharedBuffer contents or reference count. 365 ssize_t Vector<TYPE>::removeItemsAt(size_t index, size_t count) { argument 366 return VectorImpl::removeItemsAt(index, count);
|
/frameworks/native/libs/binder/ |
H A D | IMemory.cpp | 57 int32_t count; member in struct:android::HeapCache::heap_info_t 407 "found binder=%p, heap=%p, size=%d, fd=%d, count=%d", 411 info.count); 412 android_atomic_inc(&info.count); 417 info.count = 1; 418 //ALOGD("adding binder=%p, heap=%p, count=%d", 419 // binder.get(), info.heap.get(), info.count); 437 int32_t c = android_atomic_dec(&info.count); 440 "removing binder=%p, heap=%p, size=%d, fd=%d, count=%d", 444 info.count); [all...] |
/frameworks/native/services/sensorservice/ |
H A D | SensorService.cpp | 76 ssize_t count = dev.getSensorList(&list); local 77 if (count > 0) { 85 mLastEventSeen.setCapacity(count); 86 for (ssize_t i=0 ; i<count ; i++) { 115 registerVirtualSensor( new GravitySensor(list, count) ); 116 registerVirtualSensor( new LinearAccelerationSensor(list, count) ); 120 registerVirtualSensor( new CorrectedGyroSensor(list, count) ); 251 ssize_t count; local 253 count = device.poll(buffer, numEventMax); 254 if (count< 319 recordLastValue( sensors_event_t const * buffer, size_t count) argument 337 sortEventBuffer(sensors_event_t* buffer, size_t count) argument 364 size_t count = mUserSensorList.size(); local 609 size_t count = 0; local [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 287 size_t count = layers.size(); local 288 for (size_t i=0 ; i<count ; i++) {
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | RecurrenceProcessor.java | 91 if (rrule.count != 0) { 110 // If there were only "until"s and no "count"s, then return the 398 int generateByList(int count, int freq, int byFreq) argument 403 if (count == 0) { 411 private static boolean useBYX(int freq, int freqConstant, int count) argument 413 return freq > freqConstant && count > 0; 498 int i, count, v; 507 count = r.bydayCount; 508 if (count > 0) { 527 for (i=0; i<count; [all...] |
/frameworks/rs/driver/ |
H A D | rsdShader.cpp | 595 uint32_t *count, const char *prefix) { 600 initAddUserElement(ce, names, arrayLengths, count, prefix); 604 names[*count].setTo(tmp.string()); 606 arrayLengths[*count] = e->mHal.state.fieldArraySizes[ct]; 608 (*count)++; 594 initAddUserElement(const Element *e, String8 *names, uint32_t *arrayLengths, uint32_t *count, const char *prefix) argument
|
/frameworks/rs/ |
H A D | rsElement.cpp | 254 ObjectBaseRef<const Element> Element::createRef(Context *rsc, size_t count, const Element **ein, argument 262 if (ee->getFieldCount() == count) { 264 for (uint32_t i=0; i < count; i++) { 284 e->mFields = new ElementField_t [count]; 285 e->mFieldCount = count; 286 for (size_t ct=0; ct < count; ct++) {
|