/external/libvncserver/common/ |
md5.c | 59 /* This array contains the bytes used to pad the buffer to the next 79 /* Put result from CTX in first 16 bytes following RESBUF. The result 97 /* Process the remaining bytes in the internal buffer and the usual 107 /* Take yet unprocessed bytes into account. */ 108 md5_uint32 bytes = ctx->buflen; local 111 /* Now count remaining bytes. */ 112 ctx->total[0] += bytes; 113 if (ctx->total[0] < bytes) 116 pad = bytes >= 56 ? 64 + 56 - bytes : 56 - bytes [all...] |
/external/libvncserver/libvncserver/ |
stats.c | 278 int bytes=0; local 281 bytes += ptr->bytesSent; 283 bytes += ptr->bytesSent; 284 return bytes; 290 int bytes=0; local 293 bytes += ptr->bytesSentIfRaw; 295 bytes += ptr->bytesSentIfRaw; 296 return bytes; 302 int bytes=0; local 305 bytes += ptr->bytesRcvd 314 int bytes=0; local 389 int bytes=0; local [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_debug.cpp | 141 const uint8_t *Bytes; 144 BufferMemoryObject(const uint8_t *bytes, uint64_t length) : 145 Bytes(bytes), Length(length) 163 *byte = Bytes[addr]; 183 const uint8_t *bytes = (const uint8_t *)func; local 290 BufferMemoryObject memoryObject((const uint8_t *)bytes, extent); 317 * Output the bytes in hexidecimal format. 323 debug_printf("%02x ", ((const uint8_t*)bytes)[pc + i]); 423 debug_printf("disassemble %p %p\n", bytes, bytes + pc) [all...] |
/external/mesa3d/src/gallium/drivers/nv50/ |
nv50_transfer.c | 227 unsigned bytes = MIN2(size, 1 << 17); local 236 PUSH_DATA (push, bytes); 241 srcoff += bytes; 242 dstoff += bytes; 243 size -= bytes;
|
/external/mesa3d/src/glsl/ |
main.cpp | 83 size_t bytes = fread(text + total_read, local 85 if (bytes < size - total_read) { 91 if (bytes == 0) { 95 total_read += bytes;
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_dma.c | 216 aligned to next 16 bytes. */ 267 int bytes, int alignment) 270 fprintf(stderr, "%s %d\n", __FUNCTION__, bytes); 281 || rmesa->dma.current_used + bytes > first_elem(&rmesa->dma.reserved)->bo->size) 282 radeonRefillCurrentDmaRegion(rmesa, bytes); 288 /* Always align to at least 16 bytes */ 289 rmesa->dma.current_used = (rmesa->dma.current_used + bytes + 15) & ~15; 454 GLuint bytes = vsize * nverts; local 460 ||rmesa->dma.current_vertexptr + bytes > first_elem(&rmesa->dma.reserved)->bo->size) { 465 radeonRefillCurrentDmaRegion(rmesa, bytes); [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_texture.c | 70 GLuint bytes = _mesa_format_image_size(texImage->TexFormat, texImage->Width, local 75 swImg->Buffer = _mesa_align_malloc(bytes, 512); 181 * \param rowStrideOut returns row stride (in bytes)
|
/external/mtpd/ |
mtpd.c | 120 unsigned char bytes[2]; local 121 if (recv(control, &bytes[0], 1, 0) != 1 || 122 recv(control, &bytes[1], 1, 0) != 1) { 126 int length = bytes[0] << 8 | bytes[1];
|
/external/opencv3/3rdparty/libtiff/ |
tif_aux.c | 39 uint32 bytes = first * second; local 41 if (second && bytes / second != first) { 43 bytes = 0; 46 return bytes; 52 uint64 bytes = first * second; local 54 if (second && bytes / second != first) { 56 bytes = 0; 59 return bytes; 67 tmsize_t bytes = nmemb * elem_size; local 72 if (nmemb && elem_size && bytes / elem_size == nmemb [all...] |
/external/pdfium/third_party/libtiff/ |
tif_aux.c | 39 uint32 bytes = first * second; local 41 if (second && bytes / second != first) { 43 bytes = 0; 46 return bytes; 52 uint64 bytes = first * second; local 54 if (second && bytes / second != first) { 56 bytes = 0; 59 return bytes; 67 tmsize_t bytes = nmemb * elem_size; local 72 if (nmemb && elem_size && bytes / elem_size == nmemb [all...] |
/external/protobuf/java/src/test/java/com/google/protobuf/ |
LazyFieldLiteTest.java | 118 ByteString bytes = message.toByteString(); local 119 return new LazyFieldLite(TestUtil.getExtensionRegistry(), bytes);
|
LazyFieldTest.java | 105 ByteString bytes = message.toByteString(); local 107 TestUtil.getExtensionRegistry(), bytes);
|
LazyStringEndToEndTest.java | 73 ByteString bytes = tV2.toByteString(); local 74 assertEquals(TEST_ALL_TYPES_SERIALIZED_WITH_ILLEGAL_UTF8, bytes); 77 bytes = tV2.toByteString(); 78 assertEquals(TEST_ALL_TYPES_SERIALIZED_WITH_ILLEGAL_UTF8, bytes);
|
/external/protobuf/src/google/protobuf/io/ |
zero_copy_stream_impl_lite.cc | 205 int bytes = Read(junk, min(count - skipped, local 207 if (bytes <= 0) { 211 skipped += bytes; 271 << " Can't back up over more bytes than were returned by the last call" 287 // First skip any bytes left over from a previous BackUp(). 361 << " Can't back up over more bytes than were returned by the last call"
|
/external/rmi4utils/rmihidtool/ |
main.cpp | 76 fprintf(stdout, "r address size: read size bytes from address\n"); 77 fprintf(stdout, "w address { values }: write bytes to address\n"); 173 unsigned int bytes = 256; local 176 report, &bytes); 177 print_buffer(report, bytes); 344 unsigned int bytes = 256; local 347 report, &bytes); 349 print_buffer(report, bytes);
|
/external/skia/src/android/ |
SkBitmapRegionCodec.cpp | 117 size_t bytes = outInfo.getSafeSize(bitmap->rowBytes()); local 118 memset(pixels, 0, bytes);
|
/external/skia/src/core/ |
SkChunkAlloc.cpp | 28 size_t bytes = fFreePtr - start; local 29 return fFreeSize + bytes; 118 SkChunkAlloc::Block* SkChunkAlloc::newBlock(size_t bytes, AllocFailType ftype) { 119 size_t size = bytes; 139 SkChunkAlloc::Block* SkChunkAlloc::addBlockIfNecessary(size_t bytes, AllocFailType ftype) { 140 SkASSERT(SkIsAlign4(bytes)); 142 if (!fBlock || bytes > fBlock->fFreeSize) { 143 Block* block = this->newBlock(bytes, ftype); 156 SkASSERT(fBlock && bytes <= fBlock->fFreeSize); 160 void* SkChunkAlloc::alloc(size_t bytes, AllocFailType ftype) 182 size_t bytes = 0; local [all...] |
SkConfig8888.cpp | 182 size_t bytes = width * srcInfo.bytesPerPixel(); local 184 memcpy(dstPixels, srcPixels, bytes);
|
/external/skia/src/images/ |
SkImageDecoder_ktx.cpp | 270 const uint8_t *bytes = data->bytes(); local 271 if (etc1_pkm_is_valid(bytes)) { 276 if (SkKTXFile::is_ktx(bytes)) { 277 return stream->write(bytes, data->size()); 288 const uint8_t* bytes = data->bytes(); local 289 SkASSERT(etc1_pkm_is_valid(bytes)); 291 etc1_uint32 width = etc1_pkm_get_width(bytes); 292 etc1_uint32 height = etc1_pkm_get_height(bytes); [all...] |
/external/skia/tests/ |
RecordDrawTest.cpp | 157 const size_t bytes = SK_ARRAY_COUNT(text); local 160 recorder.drawPosTextH(text, bytes, xpos, 30, SkPaint()); 163 recorder.drawPosText(text, bytes, pos, SkPaint());
|
/external/sl4a/ScriptingLayerForAndroid/jni/ |
com_googlecode_android_scripting_Exec.cpp | 87 jbyteArray bytes = 0; local 96 bytes = (jbyteArray) env->CallObjectMethod(jstr, MID_String_getBytes); 99 jint len = env->GetArrayLength(bytes); 103 env->DeleteLocalRef(bytes); 106 env->GetByteArrayRegion(bytes, 0, len, (jbyte*) result); 111 env->DeleteLocalRef(bytes);
|
/external/sonic/ |
wave.c | 23 int bytesWritten; /* The number of bytes written so far, including header */ 31 void *bytes, 39 bytesWritten = fwrite(bytes, sizeof(char), length, file->soundFile); 60 char bytes[4]; local 64 bytes[i] = value; 67 writeBytes(file, bytes, 4); 75 char bytes[2]; local 79 bytes[i] = value; 82 writeBytes(file, bytes, 2); 85 /* Read bytes from the input file. Return the number of bytes actually read. * 119 unsigned char bytes[4]; local 134 unsigned char bytes[2]; local 332 unsigned char bytes[WAVE_BUF_LEN]; local 356 unsigned char bytes[WAVE_BUF_LEN]; local [all...] |
/external/squashfs-tools/kernel/fs/squashfs/ |
file.c | 379 int bytes, i, offset = 0, sparse = 0; local 408 bytes = index == file_end ? 424 bytes = buffer->length; 442 bytes = i_size_read(inode) & (msblk->block_size - 1); 452 for (i = start_index; i <= end_index && bytes > 0; i++, 453 bytes -= PAGE_CACHE_SIZE, offset += PAGE_CACHE_SIZE) { 455 int avail = sparse ? 0 : min_t(int, bytes, PAGE_CACHE_SIZE); 457 TRACE("bytes %d, i %d, available_bytes %d\n", bytes, i, avail);
|
/external/squashfs-tools/squashfs-tools/ |
process_fragments.c | 64 int bytes = file_buffer->size, sparse = TRUE, value; local 66 while(bytes --) { 80 static int read_filesystem(int fd, long long byte, int bytes, void *buff) 84 TRACE("read_filesystem: reading from position 0x%llx, bytes %d\n", 85 byte, bytes); 91 } else if(read_bytes(fd, buff, bytes) < bytes) {
|
unsquash-3.c | 33 int bytes = SQUASHFS_FRAGMENT_BYTES_3(sBlk.s.fragments); local 46 fragment_table = malloc(bytes); 77 bytes & (SQUASHFS_METADATA_SIZE - 1); 119 int bytes = lookup_entry(inode_table_hash, start); local 120 char *block_ptr = inode_table + bytes + offset; 125 if(bytes == -1) 289 int bytes; local 322 bytes = lookup_entry(directory_table_hash, start); 324 if(bytes == -1) 328 bytes += (*i)->offset [all...] |