/external/skia/bench/ |
benchmain.cpp | 230 DEFINE_int32(gpuCacheBytes, -1, "GPU cache size limit in bytes. 0 to disable cache."); 420 size_t bytes; local 422 context->getResourceCacheLimits(&count, &bytes); 424 bytes = static_cast<size_t>(FLAGS_gpuCacheBytes); 429 context->setResourceCacheLimits(count, bytes);
|
/external/skia/include/gpu/ |
GrContext.h | 115 * @param maxResourceBytes If non-null, returns maximum number of bytes of 129 * @param maxResourceBytes If non-null, returns the total number of bytes of video memory held 136 size_t bytes; local 137 this->getResourceCacheUsage(NULL, &bytes); 138 return bytes; 154 * @param maxResourceBytes The maximum number of bytes of video memory 211 * @param rowBytes The number of bytes between rows of the texture. Zero 607 * @param rowBytes number of bytes bewtween consecutive rows. Zero means rows are tightly 622 * Copy the src pixels [buffer, row bytes, pixel config] into a render target at the specified 631 * @param rowBytes number of bytes between consecutive rows. Zero means rows are tightl [all...] |
/external/skia/tests/ |
BlurTest.cpp | 178 uint8_t* bytes = dst.getAddr8(midX, midY); local 182 result[i] = bytes[i];
|
/external/tremolo/Tremolo/ |
framing.c | 101 static ogg_buffer *_fetch_buffer(ogg_buffer_state *bs,long bytes){ 111 if(ob->size<bytes){ 112 ob->data=_ogg_realloc(ob->data,bytes); 113 ob->size=bytes; 118 ob->data=_ogg_malloc(bytes<16?16:bytes); 119 ob->size=bytes; 147 of at least [bytes] length */ 148 static ogg_reference *ogg_buffer_alloc(ogg_buffer_state *bs,long bytes){ 149 ogg_buffer *ob=_fetch_buffer(bs,bytes); 696 long bytes,ret=0; local 781 long bytes=next-now; local 787 long bytes=oy->fifo_tail->length; local [all...] |
vorbisfile.c | 95 long bytes=(vf->callbacks.read_func)(buffer,1,CHUNKSIZE,vf->datasource); local 96 if(bytes>0)ogg_sync_wrote(vf->oy,bytes); 97 if(bytes==0 && gerrno)return -1; 98 return bytes; 123 n) search for a new page beginning for n bytes 140 /* skipped n bytes */ 587 vf->bittrack+=op.bytes*8; 642 /* bitrate tracking; add the header's bytes here, the body bytes [all...] |
/external/zlib/src/contrib/untgz/ |
untgz.c | 529 unsigned int bytes = (remaining > BLOCKSIZE) ? BLOCKSIZE : remaining; local 533 if (fwrite(&buffer,sizeof(char),bytes,outfile) != bytes) 542 remaining -= bytes;
|
/frameworks/base/drm/jni/ |
android_drm_DrmManagerClient.cpp | 78 char* bytes = const_cast< char* > (env->GetStringUTFChars(string, NULL)); local 80 const int length = strlen(bytes) + 1; 82 strncpy(data, bytes, length); 85 env->ReleaseStringUTFChars(string, bytes);
|
/frameworks/native/cmds/atrace/ |
atrace.cpp | 706 size_t bytes = bufSize - zs.avail_out; local 707 result = write(STDOUT_FILENO, out, bytes); 708 if ((size_t)result < bytes) {
|
/frameworks/native/opengl/tests/hwc/ |
hwcTestLib.cpp | 552 size_t bytes; member in struct:attrib 597 pixel >>= sizeof(pixel) * BITSPERBYTE - attrib->bytes * BITSPERBYTE; 612 size_t bytes; member in struct:attrib 650 memmove(buf + ((gBuf->getStride() * attrib->bytes) * y) 651 + (attrib->bytes * x), &pixel, attrib->bytes); [all...] |
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/ |
mpu_iio.c | 98 int bytes = 0; local 101 if (bytes % channels[i].bytes == 0) 102 channels[i].location = bytes; 104 channels[i].location = bytes - bytes%channels[i].bytes 105 + channels[i].bytes; 106 bytes = channels[i].location + channels[i].bytes; [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
InputStreamReaderTest.java | 40 byte[] bytes; field in class:InputStreamReaderTest.LimitedByteArrayInputStream 48 bytes = new byte[] { 0x61, 0x72 }; 51 bytes = new byte[] { (byte) 0xff, (byte) 0xfe, 0x61, 0x72 }; 54 bytes = new byte[] { '\u001b', '$', 'B', '6', 'e', 'B', 'h', 58 count = bytes.length; 72 return bytes[bytes.length - count]; 83 buffer[offset] = bytes[bytes.length - count];
|
PipedInputStreamTest.java | 29 public byte bytes[]; field in class:PipedInputStreamTest.PWriter 33 pos.write(bytes); 39 System.out.println("Could not write bytes"); 45 bytes = new byte[nbytes]; 46 for (int i = 0; i < bytes.length; i++) { 47 bytes[i] = (byte) (System.currentTimeMillis() % 9); 114 assertTrue("Available returned incorrect number of bytes: " 155 assertEquals("Non-conected pipe returned non-zero available bytes", 0, 165 assertEquals("Available returned incorrect number of bytes", 1000, pis 183 assertEquals("Available returned incorrect number of bytes", 1000, pi [all...] |
/packages/apps/Camera/jni/ |
feature_mos_jni.cpp | 406 jfloatArray bytes = env->NewFloatArray(11); local 407 if(bytes != 0) 409 env->SetFloatArrayRegion(bytes, 0, 11, (jfloat*) gTRS); 411 return bytes; 465 jfloatArray bytes = env->NewFloatArray(11); local 466 if(bytes != 0) 468 env->SetFloatArrayRegion(bytes, 0, 11, (jfloat*) gTRS); 470 return bytes; 603 jintArray bytes = env->NewIntArray(imageSize+2); local 604 if (bytes == 0) 654 jbyteArray bytes = env->NewByteArray(imageSize+8); local [all...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
Parser.java | 139 // The value read, as bytes 140 private byte[] bytes; field in class:Parser 242 final byte[] val = type == OPAQUE ? bytes : text.getBytes("UTF-8"); 357 * Initializes the parser with an input stream; reads the first 4 bytes (which are always the 446 bytes = null; 492 bytes = new byte[length]; 494 bytes[i] = (byte)readByte(); 543 * bytes. A uint_32 needs 5 bytes to fully encode 32 bits so if the high 544 * bit is set for more than 4 bytes, something is wrong with the dat [all...] |
/packages/apps/LegacyCamera/jni/ |
feature_mos_jni.cpp | 406 jfloatArray bytes = env->NewFloatArray(11); local 407 if(bytes != 0) 409 env->SetFloatArrayRegion(bytes, 0, 11, (jfloat*) gTRS); 411 return bytes; 465 jfloatArray bytes = env->NewFloatArray(11); local 466 if(bytes != 0) 468 env->SetFloatArrayRegion(bytes, 0, 11, (jfloat*) gTRS); 470 return bytes; 603 jintArray bytes = env->NewIntArray(imageSize+2); local 604 if (bytes == 0) 654 jbyteArray bytes = env->NewByteArray(imageSize+8); local [all...] |
/packages/apps/Terminal/jni/ |
com_android_terminal_Terminal.cpp | 117 size_t write(const char *bytes, size_t len); 364 ssize_t bytes = ::read(mMasterFd, buffer, sizeof buffer); local 366 ALOGD("read() returned %d bytes", bytes); 373 if (bytes == 0) { 377 if (bytes == -1) { 384 vterm_push_bytes(mVt, buffer, bytes); 392 size_t Terminal::write(const char *bytes, size_t len) { 393 return ::write(mMasterFd, bytes, len);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/linux/ |
blktrace_api.h | 102 __u32 bytes; /* transfer length */ member in struct:blk_io_trace
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/pulse/ |
introspect.h | 604 uint32_t bytes; /**< Length of this sample in bytes. */ member in struct:pa_sample_info [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
blktrace_api.h | 102 __u32 bytes; /* transfer length */ member in struct:blk_io_trace
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/pulse/ |
introspect.h | 604 uint32_t bytes; /**< Length of this sample in bytes. */ member in struct:pa_sample_info [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
dxtmpl.h | 78 BYTE *bytes = (BYTE*) p; local 80 delete [] bytes;
|
/prebuilts/ndk/9/platforms/android-21/arch-arm/usr/include/linux/ |
blktrace_api.h | 114 __u32 bytes; member in struct:blk_io_trace
|
/prebuilts/ndk/9/platforms/android-21/arch-arm64/usr/include/linux/ |
blktrace_api.h | 114 __u32 bytes; member in struct:blk_io_trace
|
/prebuilts/ndk/9/platforms/android-21/arch-mips/usr/include/linux/ |
blktrace_api.h | 114 __u32 bytes; member in struct:blk_io_trace
|
/prebuilts/ndk/9/platforms/android-21/arch-mips64/usr/include/linux/ |
blktrace_api.h | 114 __u32 bytes; member in struct:blk_io_trace
|