| /external/libedit/src/ |
| read.c | 196 /* FIONREAD attempts to buffer up multiple bytes, and to make that work 319 int bytes = 0; local 356 if ((bytes = ct_mbtowc(cp, cbuf, cbp)) == -1) { 369 (bytes = ct_mbtowc(cp, cbuf, cbp)) != 1) 373 if ((el->el_flags & IGNORE_EXTCHARS) && bytes > 1) {
|
| /external/libevent/ |
| event_iocp.c | 75 DWORD bytes=0; local 76 int ok = GetQueuedCompletionStatus(p, &bytes, &key, 89 handle_entry(overlapped, key, bytes, ok); 115 DWORD bytes=0; local 119 &bytes, NULL, NULL);
|
| /external/libjpeg-turbo/simd/ |
| jcgryext-altivec.c | 72 /* Load 16 pixels == 48 or 64 bytes */ 76 int bytes = num_cols + offset; local 78 if (bytes < (RGB_PIXELSIZE + 1) * 16 && (bytes & 15)) { 82 * boundary. It could also occur on other rows if the bytes per row 96 if (bytes > 16) 98 if (bytes > 32) 100 if (bytes > 48) 103 if (bytes > 64)
|
| /external/libmojo/base/android/ |
| jni_array.cc | 29 const uint8_t* bytes, 36 byte_array, 0, len, reinterpret_cast<const jbyte*>(bytes)); 44 const std::vector<uint8_t>& bytes) { 45 return ToJavaByteArray(env, bytes.data(), bytes.size()); 261 jbyte* bytes = env->GetByteArrayElements(bytes_array.obj(), nullptr); local 262 (*out)[i].assign(reinterpret_cast<const char*>(bytes), bytes_len); 263 env->ReleaseByteArrayElements(bytes_array.obj(), bytes, JNI_ABORT);
|
| /external/libopus/src/ |
| opus.c | 199 int i, bytes; local 241 bytes = parse_size(data, len, size); 242 len -= bytes; 245 data += bytes; 283 bytes = parse_size(data, len, size+i); 284 len -= bytes; 287 data += bytes; 288 last_size -= bytes+size[i]; 306 bytes = parse_size(data, len, size+count-1); 307 len -= bytes; [all...] |
| /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/ltp/tools/top-LTP/proc/ |
| devname.c | 50 int bytes; local 54 bytes = read(fd, buf, sizeof(buf) - 1); 55 if (bytes == -1) 57 buf[bytes] = '\0';
|
| /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 | 121 unsigned char bytes[2]; local 122 if (recv(control, &bytes[0], 1, 0) != 1 || 123 recv(control, &bytes[1], 1, 0) != 1) { 127 int length = bytes[0] << 8 | bytes[1];
|
| /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 73 cp = _TIFFrealloc(buffer, bytes); [all...] |
| /external/protobuf/csharp/src/Google.Protobuf/ |
| ByteString.cs | 42 /// Immutable array of bytes.
48 private readonly byte[] bytes;
field in class:Google.Protobuf.ByteString 59 internal static ByteString FromBytes(byte[] bytes)
61 return new ByteString(bytes);
65 /// Provides direct, unrestricted access to the bytes contained in this instance.
68 internal static byte[] GetBuffer(ByteString bytes)
70 return bytes.bytes;
77 internal static ByteString AttachBytes(byte[] bytes)
79 return new ByteString(bytes);
[all...] |
| /external/protobuf/java/core/src/test/java/com/google/protobuf/ |
| CodedOutputStreamTest.java | 89 private final byte[] bytes; field in class:CodedOutputStreamTest.ArrayCoder 92 bytes = new byte[size]; 93 stream = CodedOutputStream.newInstance(bytes); 103 return Arrays.copyOf(bytes, stream.getTotalBytesWritten()); 139 byte[] bytes = new byte[dup.remaining()]; 140 dup.get(bytes); 141 return bytes; 177 byte[] bytes = new byte[dup.remaining()]; 178 dup.get(bytes); 179 return bytes; [all...] |
| LazyFieldTest.java | 106 ByteString bytes = message.toByteString(); local 108 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 | 238 int bytes = local 240 if (bytes <= 0) { 244 skipped += bytes; 304 << " Can't back up over more bytes than were returned by the last call" 320 // First skip any bytes left over from a previous BackUp(). 394 << " 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/selinux/libselinux/src/ |
| regex.c | 161 PCRE2_UCHAR *bytes = NULL; local 166 1, &bytes, &serialized_size, NULL); 183 len = fwrite(bytes, 1, to_write, fp); 189 if (bytes) 190 pcre2_serialize_free(bytes); 379 /* determine the size of the pcre data in bytes */ 384 /* write the number of bytes in the pcre data */ 404 /* write the number of bytes in the pcre study data */
|
| /external/skia/src/android/ |
| SkBitmapRegionCodec.cpp | 107 size_t bytes = outInfo.getSafeSize(bitmap->rowBytes()); local 108 memset(pixels, 0, bytes);
|
| /external/skia/src/gpu/ |
| GrBufferAllocPool.cpp | 123 size_t bytes = fBlocks[i].fBuffer->gpuMemorySize() - fBlocks[i].fBytesFree; local 124 bytesInUse += bytes; 125 SkASSERT(bytes || unusedBlockAllowed); 188 void GrBufferAllocPool::putBack(size_t bytes) { 191 while (bytes) { 196 if (bytes >= bytesUsed) { 197 bytes -= bytesUsed; 206 block.fBytesFree += bytes; 207 fBytesInUse -= bytes; 208 bytes = 0 [all...] |
| /external/skia/src/ports/ |
| SkImageEncoder_WIC.cpp | 82 uint8_t* bytes = pixels + y * bitmap.rowBytes() + x * bitmap.bytesPerPixel(); local 83 SkPMColor* src = reinterpret_cast<SkPMColor*>(bytes); 84 SkColor* dst = reinterpret_cast<SkColor*>(bytes);
|