/external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/ |
BinaryImporter.java | 161 int bytes = 4; local 190 bytes += (8 + aliasWidth + classLength); 203 bytes += (6 + fieldNameLength); 207 if (listener != null) listener.readBytes(bytes); 210 bytes = 4; 218 bytes += 8; 224 bytes += 8; 225 if (listener != null) listener.readBytes(bytes); 228 baos = new ByteArrayOutputStream(bytes);
|
/external/kernel-headers/original/linux/ |
mroute6.h | 106 unsigned long ibytes; /* In bytes */ 107 unsigned long obytes; /* Out bytes */ 201 unsigned long bytes; member in struct:mfc6_cache::__anon21832::__anon21834
|
/external/mesa3d/src/egl/drivers/dri2/ |
platform_x11.c | 165 uint32_t bytes = xcb_get_image_data_length(reply); local 167 memcpy(data, idata, bytes); [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_texture.c | 283 const uint bytes = w * h * d * bpp; local 284 lpr->data = align_malloc(bytes, 16); 287 memset(lpr->data, 0, bytes); 760 unsigned bytes, 775 buffer->base.width0 = bytes; 787 * Compute size (in bytes) need to store a texture image / mipmap level, 819 * Compute size (in bytes) need to store a texture image / mipmap level, [all...] |
/external/mesa3d/src/mesa/main/ |
pack.c | 64 * \param n number of bytes. 66 * \todo try this trick to flip bytes someday: 78 b = (GLuint) p[i]; /* words are often faster than bytes */ 152 GLint bytes, row, width_in_bytes; local 159 bytes = ((width + 7) / 8 * height); 160 buffer = (GLubyte *) malloc( bytes ); [all...] |
/external/openssh/ |
monitor_wrap.c | 523 error("newkeys_from_blob: remaining bytes in blob %u", len); 602 u_int64_t blocks, bytes; local 652 packet_get_state(MODE_OUT, &seqnr, &blocks, &packets, &bytes); 656 buffer_put_int64(&m, bytes); 657 packet_get_state(MODE_IN, &seqnr, &blocks, &packets, &bytes); 661 buffer_put_int64(&m, bytes); [all...] |
/external/openssl/crypto/engine/ |
eng_cryptodev.c | 929 ssize_t bytes, bits; local 936 bytes = (bits + 7) / 8; 938 b = malloc(bytes); 941 memset(b, 0, bytes); 948 if ((j + k) >= bytes) 962 int i, bytes; local 964 bytes = (crp->crp_nbits + 7) / 8; 966 if (bytes == 0) 969 if ((pd = (u_int8_t *) malloc(bytes)) == NULL) 972 for (i = 0; i < bytes; i++ [all...] |
/external/protobuf/java/src/test/java/com/google/protobuf/ |
CodedInputStreamTest.java | 50 * Helper to construct a byte array from a bunch of bytes. The inputs are 54 private byte[] bytes(int... bytesAsInts) { method in class:CodedInputStreamTest 55 byte[] bytes = new byte[bytesAsInts.length]; 57 bytes[i] = (byte) bytesAsInts[i]; 59 return bytes; 63 * An InputStream which limits the number of bytes it reads at a time. 89 * Parses the given bytes using readRawVarint32() and readRawVarint64() and 123 * Parses the given bytes using readRawVarint32() and readRawVarint64() and 157 assertReadVarint(bytes(0x00), 0); 158 assertReadVarint(bytes(0x01), 1) [all...] |
/external/qemu/audio/ |
ossaudio.c | 403 oss_logerr (errno, "failed to write %d bytes\n", 435 int bytes, pos; local 444 bytes = audio_ring_dist (cntinfo.ptr, pos, bufsize); 445 decr = audio_MIN (bytes >> hw->info.shift, live); 454 if (abinfo.bytes > bufsize) { 458 abinfo.bytes, bufsize); 460 abinfo.bytes = bufsize; 463 if (abinfo.bytes < 0) { 466 abinfo.bytes, bufsize); 471 decr = audio_MIN (abinfo.bytes >> hw->info.shift, live) [all...] |
/external/qemu/hw/ |
goldfish_fb.c | 140 uint8_t bytes; member in struct:__anon27220 169 printf(" bytes/pixel: %d\n", pf->bytes_per_pixel); 186 pf->bytes_per_pixel == fbc->bytes &&
|
/external/qemu/ |
loader.c | 167 uint32_t a_text; /* length of text, in bytes */ 168 uint32_t a_data; /* length of data, in bytes */ 169 uint32_t a_bss; /* length of uninitialized data area, in bytes */ 170 uint32_t a_syms; /* length of symbol table data in file, in bytes */ 172 uint32_t a_trsize; /* length of relocation info for text, in bytes */ 173 uint32_t a_drsize; /* length of relocation info for data, in bytes */ 306 /* return < 0 if error, otherwise the number of bytes loaded in memory */ 515 ssize_t bytes; local 521 bytes = gunzip(data, max_bytes, compressed_data, hdr->ih_size); 523 if (bytes < 0) [all...] |
/external/skia/bench/ |
benchmain.cpp | 286 " [--gpuCacheSize <bytes> <count>]" 314 SkDebugf(" --gpuCacheSize <bytes> <count>: " 315 "limits gpu cache to bytes size or object count.\n"); 701 size_t bytes; local 703 context->getTextureCacheLimits(&count, &bytes); 705 bytes = static_cast<size_t>(gpuCacheSize.fBytes); 710 context->setTextureCacheLimits(count, bytes); [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
ByteArrayAnnotatedOutput.java | 68 * >= 8 (if used); the number of bytes of hex output to use 120 * may be larger than the number of bytes written 133 * bytes at the end). 275 public void write(ByteArray bytes) { 276 int blen = bytes.size(); 287 bytes.getBytes(data, writeAt); 292 public void write(byte[] bytes, int offset, int length) { 298 if (((offset | length | end) < 0) || (bytesEnd > bytes.length)) { 299 throw new IndexOutOfBoundsException("bytes.length " + 300 bytes.length + "; " [all...] |
/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 | 641 size_t bytes = bufSize - zs.avail_out; local 642 result = write(STDOUT_FILENO, out, bytes); 643 if ((size_t)result < bytes) {
|
/frameworks/native/opengl/tests/hwc/ |
hwcTestLib.cpp | 548 size_t bytes; member in struct:attrib 593 pixel >>= sizeof(pixel) * BITSPERBYTE - attrib->bytes * BITSPERBYTE; 608 size_t bytes; member in struct:attrib 646 memmove(buf + ((gBuf->getStride() * attrib->bytes) * y) 647 + (attrib->bytes * x), &pixel, attrib->bytes); [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/Camera2/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 | 113 // The value read, as bytes 114 public byte[] bytes; field in class:Parser 229 return bytes; 349 * Initializes the parser with an input stream; reads the first 4 bytes (which are always the 488 bytes = new byte[length]; 490 bytes[i] = (byte)readByte();
|
/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...] |
/system/netd/ |
BandwidthController.cpp | 605 ALOGE("Invalid bytes value. 1..max_int64."); 709 ALOGE("Invalid bytes value. 1..max_int64."); 767 int BandwidthController::getInterfaceSharedQuota(int64_t *bytes) { 768 return getInterfaceQuota("shared", bytes); 771 int BandwidthController::getInterfaceQuota(const char *costName, int64_t *bytes) { 783 scanRes = fscanf(fp, "%lld", bytes); 784 ALOGV("Read quota res=%d bytes=%lld", scanRes, *bytes); 822 int BandwidthController::updateQuota(const char *quotaName, int64_t bytes) { 833 fprintf(fp, "%lld\n", bytes); 1100 int64_t packets, bytes; local [all...] |
CommandListener.cpp | 1101 int64_t bytes; local 1120 int64_t bytes; local [all...] |