/external/libcups/cups/ |
http.c | 53 int bytes); 687 int /* O - Bytes written or -1 on error */ 690 ssize_t bytes; /* Bytes written */ local 703 bytes = http_write_chunk(http, http->wbuffer, (size_t)http->wused); 705 bytes = http_write(http, http->wbuffer, (size_t)http->wused); 709 DEBUG_printf(("1httpFlushWrite: Returning %d, errno=%d.", (int)bytes, errno)); 711 return ((int)bytes); 1098 * 'httpGetPending()' - Get the number of bytes that are buffered for writing. 1103 size_t /* O - Number of bytes buffered * 1162 ssize_t bytes; \/* Number of bytes read *\/ local 1631 ssize_t bytes; \/* Bytes read *\/ local 1893 ssize_t bytes; \/* Number of bytes to write *\/ local 1965 ssize_t bytes; \/* Bytes read *\/ local 3285 ssize_t bytes; \/* Bytes written *\/ local 3700 size_t bytes; \/* Number of bytes to write *\/ local 3723 http_write_chunk(http, (char *)http->sbuffer, bytes); local 3725 http_write(http, (char *)http->sbuffer, bytes); local 4051 ssize_t bytes; \/* Bytes read *\/ local 4164 ssize_t bytes; \/* Bytes read *\/ local 4640 bytes; \/* Bytes sent *\/ local 4787 ssize_t bytes; \/* Bytes written *\/ local [all...] |
ipp.c | 518 int datalen) /* I - Length of data in bytes */ 1069 ssize_t bytes, \/* Length of formatted value *\/ local 4395 ssize_t bytes, \/* Length of formatted value *\/ local 6607 size_t bytes; \/* Number of bytes *\/ local 6770 bytes; \/* Bytes read this pass *\/ local [all...] |
/external/libcups/filter/ |
pstops.c | 63 ssize_t length; /* Number of bytes for page */ 516 * 'copy_bytes()' - Copy bytes from the input file to stdout. 525 ssize_t nbytes; /* Number of bytes read */ 526 size_t nleft; /* Number of bytes left/remaining */ 1054 ssize_t bytes; /* Number of bytes copied */ local 1155 while ((bytes = cupsFileRead(fp, buffer, sizeof(buffer))) > 0) 1157 fwrite(buffer, 1, (size_t)bytes, stdout); 1160 cupsFileWrite(doc->temp, buffer, (size_t)bytes); 1633 int bytes; \/* Bytes of data *\/ local 2022 ssize_t bytes; \/* Number of bytes to write *\/ local 2701 ssize_t bytes; \/* Bytes of data *\/ local [all...] |
/external/libmtp/src/ |
libusb-glue.c | 403 /* Check if descriptor length is at least 10 bytes */ 714 printf(" IN endpoint maxpacket: %d bytes\n", ptp_usb->inep_maxpacket); 715 printf(" OUT endpoint maxpacket: %d bytes\n", ptp_usb->outep_maxpacket); 791 * 1. Send the command (0x0c bytes) if headers are split, else, send 792 * command plus sizeof(endpoint) - 0x0c bytes. 795 * 3. REPEAT send 0x10000 byte chunks UNTIL remaining bytes < 0x10000 797 * 4. Send remaining bytes MOD sizeof(endpoint) 798 * 5. Send remaining bytes. If this happens to be exactly sizeof(endpoint) 819 unsigned char *bytes; local 823 bytes = malloc(CONTEXT_BLOCK_SIZE) 942 unsigned char *bytes; local [all...] |
/external/libnetfilter_conntrack/include/internal/ |
object.h | 143 uint64_t bytes; member in struct:__nfct_counters 173 * bytes long. For that reason, we allocate this dynamically. */
|
/external/libogg/src/ |
framing.c | 307 int bytes = 0, lacing_vals, i; local 312 for (i = 0; i < count; ++i) bytes += (int)iov[i].iov_len; 313 lacing_vals=bytes/255+1; 328 if(_os_body_expand(os,bytes) || _os_lacing_expand(os,lacing_vals)) 346 os->lacing_vals[os->lacing_fill+i]=bytes%255; 365 iov.iov_len = op->bytes; 376 int bytes=0; local 480 bytes+=os->header[i+27]=(unsigned char)(os->lacing_vals[i]&0xff); 486 og->body_len=bytes; 493 os->body_returned+=bytes; 639 long bytes=oy->fill-oy->returned; local 693 long bytes; local 960 int bytes=size; local [all...] |
/external/libvorbis/lib/ |
vorbisfile.c | 72 long bytes=(vf->callbacks.read_func)(buffer,1,READSIZE,vf->datasource); local 73 if(bytes>0)ogg_sync_wrote(&vf->oy,bytes); 74 if(bytes==0 && errno)return(-1); 75 return(bytes); 103 n) search for a new page beginning for n bytes 118 /* skipped n bytes */ 718 vf->bittrack+=op_ptr->bytes*8; 776 /* bitrate tracking; add the header's bytes here, the body bytes [all...] |
/external/lz4/tests/ |
fuzzer.c | 128 /* First Bytes */ 259 unsigned long long bytes = 0; local 424 // Test decoding with output size being 10 bytes too short => must fail 430 FUZ_CHECKTEST(ret>=0, "LZ4_decompress_safe should have failed, due to Output Size being 10 bytes too short"); 478 /* Test compression with missing bytes into output buffer => must fail */ 489 /* Test HC compression with missing bytes into output buffer => must fail */ 624 bytes += blockSize; 631 bytes += !bytes; /* avoid division by 0 */ 634 printf("compression ratio: %0.3f%%\n", (double)cbytes/bytes*100) [all...] |
/external/mesa3d/src/mesa/main/ |
teximage.c | 1418 uint64_t bytes = _mesa_format_image_size64(format, width, height, depth); local [all...] |
/external/mksh/src/ |
histrap.c | 705 * Bytes 1, 2: 709 * <command byte><command number(4 octets, big endian)><bytes><NUL> 854 histload(Source *s, unsigned char *base, size_t bytes) 860 /* !bytes check as some systems (older FreeBSDs) have buggy memchr */ 861 if (!bytes || (cp = memchr(base, COMMAND, bytes)) == NULL) 864 bytes -= ++cp - base; 867 if (bytes < 5 || (cp = memchr(base + 4, '\0', bytes - 4)) == NULL) 888 bytes -= ++cp - base 906 size_t bytes; local [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Cache.java | 627 Buffer bytes = new Buffer(); local 628 bytes.write(ByteString.decodeBase64(line)); 629 result.add(certificateFactory.generateCertificate(bytes.inputStream())); 643 byte[] bytes = certificates.get(i).getEncoded(); 644 String line = ByteString.of(bytes).base64();
|
/external/pdfium/third_party/freetype/src/cff/ |
cfftypes.h | 51 /* off_size :: The size in bytes of object offsets in index. */ 54 /* bytes. */ 61 /* bytes :: If the index is loaded in memory, its bytes. */ 73 FT_Byte* bytes; member in struct:CFF_IndexRec_
|
/external/pdfium/third_party/libtiff/ |
tif_luv.c | 134 * scheme by separating the logL, u and v bytes for each row and applying 163 int pixel_size; /* bytes per pixel */ 1261 tmsize_t bytes = m1 * m2; local 1263 if (m1 && bytes / m1 != m2) 1264 bytes = 0; 1266 return bytes; [all...] |
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
ByteString.java | 54 * Immutable sequence of bytes. Substring is supported by sharing the reference 55 * to the immutable underlying bytes, as with {@link String}. Concatenation is 72 * this, we just copy their bytes on {@link #concat(ByteString)}. 80 * the chunks in the underlying rope start at 256 bytes, but double 81 * each iteration up to 8192 bytes. 106 byte[] copyFrom(byte[] bytes, int offset, int size); 112 public byte[] copyFrom(byte[] bytes, int offset, int size) { 114 System.arraycopy(bytes, offset, copy, 0, size); 122 public byte[] copyFrom(byte[] bytes, int offset, int size) { 123 return Arrays.copyOfRange(bytes, offset, offset + size) 1244 protected final byte[] bytes; field in class:LiteralByteString [all...] |
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
AbstractMessageTest.java | 258 ByteString bytes = builder.buildPartial().toByteString(); local 262 abstractMessageBuilder.mergeFrom(bytes).buildPartial(); 264 abstractMessageBuilder.mergeFrom(bytes).build(); 274 dynamicMessageBuilder.mergeFrom(bytes).buildPartial(); 276 dynamicMessageBuilder.mergeFrom(bytes).build();
|
CodedInputStreamTest.java | 55 * Helper to construct a byte array from a bunch of bytes. The inputs are 59 private byte[] bytes(int... bytesAsInts) { method in class:CodedInputStreamTest 60 byte[] bytes = new byte[bytesAsInts.length]; 62 bytes[i] = (byte) bytesAsInts[i]; 64 return bytes; 68 * An InputStream which limits the number of bytes it reads at a time. 102 * Parses the given bytes using readRawVarint32() and readRawVarint64() and 156 * Parses the given bytes using readRawVarint32() and readRawVarint64() and 198 assertReadVarint(bytes(0x00), 0); 199 assertReadVarint(bytes(0x01), 1) [all...] |
TextFormatTest.java | 245 * characters. The characters are converted directly to bytes, *not* 248 private ByteString bytes(String str) { method in class:TextFormatTest 253 * Helper to construct a ByteString from a bunch of bytes. The inputs are 257 private ByteString bytes(int... bytesAsInts) { method in class:TextFormatTest 258 byte[] bytes = new byte[bytesAsInts.length]; 260 bytes[i] = (byte) bytesAsInts[i]; 262 return ByteString.copyFrom(bytes); 296 // Strings and bytes that needing escaping. 298 .addRepeatedBytes(bytes("\0\001\007\b\f\n\r\t\013\\\'\"\u00fe")) 561 TextFormat.escapeBytes(bytes("\0\001\007\b\f\n\r\t\013\\\'\"\177"))) [all...] |
/external/skia/src/core/ |
SkStream.cpp | 312 memcpy(buffer, fData->bytes() + fOffset, size); 369 return fData->bytes() + fOffset; 399 SkDEBUGCODE(SkDebugf("SkFILEWStream failed writing %d bytes\n", size);) 559 // The contract is to write zeros until the entire stream has written a multiple of 4 bytes. 610 size_t bytes = 0; local 615 bytes += block->written(); 616 SkASSERT(bytes == SkAlign4(bytes)); // see padToAlign4() 620 SkASSERT(bytes == fBytesWrittenBeforeTail);
|
/external/skia/tests/ |
CodecTest.cpp | 1324 const size_t bytes = fStream->read(buffer, size); variable [all...] |
SkpSkGrTest.cpp | 391 SkTArray<char, true> bytes; local 392 bytes.push_back_n(length); 393 stream.read(&bytes[0], length); 397 wStream.write(&bytes[0], length);
|
/external/squashfs-tools/kernel-2.4/fs/squashfs/ |
inode.c | 164 int bytes, avail_bytes, b = 0, k; local 170 bytes = msblk->devblksize - offset; 181 for (b = 1; bytes < c_byte; b++) { 184 bytes += msblk->devblksize; 192 bytes = msblk->devblksize - offset; 200 for (b = 1; bytes < c_byte; b++) { 203 bytes += msblk->devblksize; 211 for (bytes = 0, k = 0; k < b; k++) { 212 avail_bytes = (c_byte - bytes) > (msblk->devblksize - offset) ? 214 c_byte - bytes; 270 int n, i, bytes, return_length = length; local 1144 int index = page->index << PAGE_CACHE_SHIFT, length, bytes; local 1457 unsigned int bsize, i = 0, bytes = 0, byte_offset = 0; local 1574 unsigned int bsize, bytes = 0; local [all...] |
/external/swiftshader/src/OpenGL/libGL/ |
Program.cpp | 43 int bytes = UniformTypeSize(type) * size(); local 44 data = new unsigned char[bytes]; 45 memset(data, 0, bytes); [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/ |
SPUISelDAGToDAG.cpp | 935 unsigned bytes = unsigned(CN->getZExtValue()) >> 3; local 994 unsigned bytes = unsigned(CN->getZExtValue()) >> 3; local 1084 unsigned bytes = unsigned(CN->getZExtValue()) >> 3; local [all...] |
/external/syslinux/extlinux/ |
main.c | 74 /* Since we have unused 2048 bytes in the primary AG of an XFS partition, 75 * we will use the first 0~512 bytes starting from 2048 for the Syslinux 99 uint64_t bytes; local 104 if (!ioctl(devfd, BLKGETSIZE64, &bytes)) 105 return bytes; 119 uint64_t bytes; member in struct:geometry_table 187 for (gp = standard_geometries; gp->bytes; gp++) { 188 if (gp->bytes == totalbytes) { 229 * Returns the number of modified bytes in the boot file. [all...] |
/external/syslinux/gpxe/src/include/gpxe/ |
srp.h | 32 uint8_t bytes[16]; member in struct:srp_port_id 776 * data buffer descriptors, which comes to 80 bytes.
|