/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
TeeOutputStream.java | 45 * Write the bytes to both streams.
46 * @param b the bytes to write
55 * Write the specified bytes to both streams.
56 * @param b the bytes to write
58 * @param len The number of bytes to write
|
/bionic/libc/arch-arm/krait/bionic/ |
memcpy_base.S | 36 // Assumes neon instructions and a cache line size of 32 bytes. 45 /* do we have at least 16-bytes to copy (needed for alignment below) */ 54 /* copy up to 15-bytes (count in r3) */ 67 // copies 4 bytes, destination 32-bits aligned 71 // copies 8 bytes, destination 64-bits aligned 75 2: /* make sure we have at least 64 bytes to copy */ 79 1: /* The main loop copies 64 bytes at a time */ 88 2: /* fix-up the remaining count and make sure we have >= 32 bytes left */ 92 /* Copy 32 bytes. These cache lines were already preloaded */ 101 // copies 16 bytes, 128-bits aligne [all...] |
/dalvik/dx/src/com/android/dx/cf/direct/ |
AttributeFactory.java | 56 * Parses and makes an attribute based on the bytes at the 64 * @param offset offset into {@code dcf}'s {@code bytes} 82 ByteArray bytes = cf.getBytes(); local 84 int nameIdx = bytes.getUnsignedShort(offset); 85 int length = bytes.getInt(offset + 2); 90 observer.parsed(bytes, offset, 2, 92 observer.parsed(bytes, offset + 2, 4, 115 * @param offset offset into {@code bytes} to start parsing at; this 124 ByteArray bytes = cf.getBytes(); local 126 Attribute result = new RawAttribute(name, bytes, offset, length, pool) [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/ |
SHA1_MessageDigestTest.java | 153 byte[] bytes = new byte[LENGTH]; 154 for (int i = 0; i < bytes.length; i++ ) { 155 bytes[i] = (byte) i; 158 md.update(bytes, 0, LENGTH); 173 * it checks out that the method always return array of 20 bytes length 177 byte[] bytes = null; 187 bytes = md.digest(); 188 assertEquals("length of digest != DIGESTLENGTH", bytes.length, DIGESTLENGTH); 316 byte[] bytes = null; 322 bytes = new byte[LENGTHS[n]] [all...] |
/external/chromium/net/base/ |
file_stream.h | 64 // Returns the number of bytes available to read from the current stream 69 // buf_len bytes will be copied into buf. (In other words, partial reads are 70 // allowed.) Returns the number of bytes copied, 0 if at end-of-file, or an 89 // Performs the same as Read, but ensures that exactly buf_len bytes 91 // end-of-file or fatal error. Returns the number of bytes copied into buf, 92 // 0 if at end-of-file and no bytes have been read into buf yet, 97 // buf_len bytes will be written from buf. (In other words, partial writes are 98 // allowed.) Returns the number of bytes written, or an error code if the 117 // Truncates the file to be |bytes| length. This is only valid for writable 118 // files. After truncation the file stream is positioned at |bytes|. The ne [all...] |
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
BoundedByteString.java | 56 * @param bytes array to wrap 57 * @param offset index to first byte to use in bytes 58 * @param length number of bytes to use from bytes 61 * bytes.length}. 63 BoundedByteString(byte[] bytes, int offset, int length) { 64 super(bytes); 71 if ((long) offset + length > bytes.length) { 102 return bytes[bytesOffset + index]; 121 System.arraycopy(bytes, getOffsetIntoBytes() + sourceOffset, target [all...] |
/external/guava/guava/src/com/google/common/hash/ |
HashCode.java | 34 * Returns the first four bytes of {@linkplain #asBytes() this hashcode's bytes}, converted to 40 * Returns the first eight bytes of {@linkplain #asBytes() this hashcode's bytes}, converted to 56 * Copies bytes from this hash code into {@code dest}. 60 * @param maxLength the maximum number of bytes to write 61 * @return the number of bytes written to {@code dest} 105 * bytes are the <i>big-endian</i> representation of that number. This may be surprising since 110 byte[] bytes = asBytes(); 112 StringBuilder sb = new StringBuilder(2 * bytes.length) [all...] |
/external/iproute2/man/man8/ |
tc-red.8 | 7 bytes 9 bytes 11 bytes 13 bytes 51 bytes, no packet will ever be marked. When it exceeds 58 bytes. Because 63 bytes, so the 91 Hard limit on the real (not average) queue size in bytes. Further packets 103 Specified in bytes. Used with burst to determine the time constant for 119 bytes. Recommended [all...] |
/external/libnfc-nxp/src/ |
phFriNfc_MifULFormat.h | 57 #define PH_FRINFC_MFUL_FMT_RD_16BYTES 1 /*!< Read 16 bytes */ 58 #define PH_FRINFC_MFUL_FMT_WR_OTPBYTES 2 /*!< Write OTP bytes */ 65 #define PH_FRINFC_MFUL_FMT_RO_WR_LOCK_BYTES 6 /*!< Write lock bytes to make the tag Read only */ 66 #define PH_FRINFC_MFUL_FMT_RO_WR_OTP_BYTES 7 /*!< Write OTP bytes to make the tag Read only */ 69 #define PH_FRINFC_MFUL_FMT_RO_RD_DYN_LOCK_BYTES 8 /*!< Read default dynamic lock bytes address */ 70 #define PH_FRINFC_MFUL_FMT_RO_WR_DYN_LOCK_BYTES 9 /*!< Write default dynamic lock bytes address */ 71 #define PH_FRINFC_MFUL_FMT_RO_PARSE_NDEF 10 /*!< Write default dynamic lock bytes address */ 72 #define PH_FRINFC_MFUL_FMT_RO_NDEF_PARSE_RD_BYTES 12 /*!< Read bytes from the card for parsing NDEF */ 90 * \name Mifare UL - OTP bytes 95 #define PH_FRINFC_MFULC_FMT_OTP_BYTES {0xE1, 0x10, 0x12, 0x00} /*!< OTP bytes macro * [all...] |
/external/llvm/test/CodeGen/SystemZ/ |
memset-01.ll | 8 ; No bytes, i32 version. 18 ; No bytes, i64 version. 46 ; 2 bytes, i32 version. 56 ; 2 bytes, i64 version. 66 ; 3 bytes, i32 version. 76 ; 3 bytes, i64 version. 86 ; 257 bytes, i32 version. 96 ; 257 bytes, i64 version. 106 ; 258 bytes, i32 version. 258 bytes is too big for a single MVC [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
Pipeline.java | 35 * Input class for the pipelined parser. Buffer all bytes read from the socket 87 byte[] bytes; field in class:Pipeline.Buffer 93 public Buffer(byte[] bytes, int length) { 96 this.bytes = bytes; 100 int retval = bytes[ptr++] & 0xFF; 131 public void write(byte[] bytes, int start, int length) throws IOException { 134 Buffer buff = new Buffer(bytes, length); 142 public void write(byte[] bytes) throws IOException { 145 Buffer buff = new Buffer(bytes, bytes.length) [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
Internal.java | 53 * To get around this, protoc instead embeds the UTF-8 bytes into the 59 * in each value. This is much less efficient than just embedding the bytes 62 * generates a string literal corresponding to the bytes. The easiest way 67 * So we have a string literal which represents a set of bytes which 72 public static String stringDefaultValue(String bytes) { 74 return new String(bytes.getBytes("ISO-8859-1"), "UTF-8"); 84 * Helper called by generated code to construct default values for bytes 87 * This is a lot like {@link #stringDefaultValue}, but for bytes fields. 89 * embed raw bytes as a string literal with ISO-8859-1 encoding. 91 public static ByteString bytesDefaultValue(String bytes) { [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/nano/ |
InternalNano.java | 53 * To get around this, protoc instead embeds the UTF-8 bytes into the 59 * in each value. This is much less efficient than just embedding the bytes 62 * generates a string literal corresponding to the bytes. The easiest way 67 * So we have a string literal which represents a set of bytes which 72 public static final String stringDefaultValue(String bytes) { 74 return new String(bytes.getBytes("ISO-8859-1"), "UTF-8"); 84 * Helper called by generated code to construct default values for bytes 87 * This is a lot like {@link #stringDefaultValue}, but for bytes fields. 89 * embed raw bytes as a string literal with ISO-8859-1 encoding. 91 public static final byte[] bytesDefaultValue(String bytes) { [all...] |
/external/valgrind/main/gdbserver_tests/ |
mcleak.stderrB.exp | 3 10 bytes in 1 blocks are still reachable in loss record ... of ... 8 10 (+10) bytes in 1 (+1) blocks are definitely lost in loss record ... of ... 13 21 (+21) bytes in 1 (+1) blocks are still reachable in loss record ... of ... 18 65 (+65) bytes in 2 (+2) blocks are still reachable in loss record ... of ... 23 10 (+10) bytes in 1 (+1) blocks are still reachable in loss record ... of ... 28 0 (-10) bytes in 0 (-1) blocks are still reachable in loss record ... of ... 33 10 (+10) bytes in 1 (+1) blocks are definitely lost in loss record ... of ... 38 0 (-10) bytes in 0 (-1) blocks are definitely lost in loss record ... of ... 43 10 (+10) bytes in 1 (+1) blocks are still reachable in loss record ... of ... 48 32 (+32) bytes in 1 (+1) blocks are definitely lost in loss record ... of .. [all...] |
/frameworks/base/core/java/android/nfc/tech/ |
NfcB.java | 71 * Return the Application Data bytes from ATQB/SENSB_RES at tag discovery. 75 * @return Application Data bytes from ATQB/SENSB_RES bytes 82 * Return the Protocol Info bytes from ATQB/SENSB_RES at tag discovery. 86 * @return Protocol Info bytes from ATQB/SENSB_RES bytes 100 * <p>Use {@link #getMaxTransceiveLength} to retrieve the maximum number of bytes 109 * @param data bytes to send 110 * @return bytes received in response 119 * Return the maximum number of bytes that can be sent with {@link #transceive} [all...] |
/libcore/luni/src/main/java/java/io/ |
BufferedOutputStream.java | 40 * The buffer containing the bytes to be written to the target stream. 45 * The total number of bytes inside the byte array {@code buf}. 51 * of 8192 bytes. 60 * Constructs a new {@code BufferedOutputStream}, providing {@code out} with {@code size} bytes 64 * @param size the size of buffer in bytes. 96 * Writes {@code count} bytes from the byte array {@code buffer} starting at 98 * bytes, they are copied in. If not, the buffered bytes plus the bytes in 105 * the start position in {@code buffer} from where to get bytes [all...] |
/packages/apps/Nfc/src/com/android/nfc/snep/ |
SnepMessage.java | 97 byte[] bytes = new byte[ndefLength]; 98 System.arraycopy(data, ndefOffset, bytes, 0, ndefLength); 99 mNdefMessage = new NdefMessage(bytes); 115 byte[] bytes; 117 bytes = mNdefMessage.toByteArray(); 119 bytes = new byte[0]; 125 buffer = new ByteArrayOutputStream(bytes.length + HEADER_LENGTH + 4); 127 buffer = new ByteArrayOutputStream(bytes.length + HEADER_LENGTH); 134 output.writeInt(bytes.length + 4); 137 output.writeInt(bytes.length) [all...] |
/system/netd/ |
BandwidthController.h | 59 int setInterfaceSharedQuota(const char *iface, int64_t bytes); 60 int getInterfaceSharedQuota(int64_t *bytes); 63 int setInterfaceQuota(const char *iface, int64_t bytes); 64 int getInterfaceQuota(const char *iface, int64_t *bytes); 74 int setGlobalAlert(int64_t bytes); 79 int setSharedAlert(int64_t bytes); 82 int setInterfaceAlert(const char *iface, int64_t bytes); 135 int runIptablesAlertCmd(IptOp op, const char *alertName, int64_t bytes); 136 int runIptablesAlertFwdCmd(IptOp op, const char *alertName, int64_t bytes); 150 int updateQuota(const char *alertName, int64_t bytes); [all...] |
/bionic/libc/bionic/ |
malloc_debug_leak.cpp | 218 extern "C" void* fill_malloc(size_t bytes) { 219 void* buffer = dlmalloc(bytes); 221 memset(buffer, CHK_SENTINEL_VALUE, bytes); 227 size_t bytes = dlmalloc_usable_size(mem); local 228 memset(mem, CHK_FILL_FREE, bytes); 232 extern "C" void* fill_realloc(void* mem, size_t bytes) { 234 void* newMem = dlrealloc(mem, bytes); 245 extern "C" void* fill_memalign(size_t alignment, size_t bytes) { 246 void* buffer = dlmemalign(alignment, bytes); 248 memset(buffer, CHK_SENTINEL_VALUE, bytes); [all...] |
/bionic/libc/kernel/common/linux/netfilter/ |
xt_sctp.h | 51 #define bytes(type) (sizeof(type) * 8) macro 52 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0) 54 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0) 55 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; })
|
/bionic/libc/kernel/common/linux/netfilter_ipv4/ |
ipt_sctp.h | 50 #define bytes(type) (sizeof(type) * 8) macro 51 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0) 52 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0) 54 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; })
|
/external/apache-http/src/org/apache/commons/codec/net/ |
QuotedPrintableCodec.java | 123 * Encodes an array of bytes into an array of quoted-printable 7-bit characters. Unsafe characters are escaped. 132 * @param bytes 133 * array of bytes to be encoded 134 * @return array of bytes containing quoted-printable data 136 public static final byte[] encodeQuotedPrintable(BitSet printable, byte[] bytes) { 137 if (bytes == null) { 144 for (int i = 0; i < bytes.length; i++) { 145 int b = bytes[i]; 159 * Decodes an array quoted-printable characters into an array of original bytes. Escaped characters are converted 167 * @param bytes [all...] |
/external/chromium/base/win/ |
scoped_bstr.h | 48 // Allocates a new BSTR with the specified number of bytes. 50 BSTR AllocateBytes(size_t bytes); 53 // |bytes|. This is useful when the BSTR was preallocated with e.g. 55 // not all the bytes are being used. 61 // NOTE: The actual allocated size of the BSTR MUST be >= bytes. That 63 void SetByteLen(size_t bytes); 77 // Returns the number of bytes allocated for the BSTR.
|
/external/chromium_org/base/win/ |
scoped_bstr.h | 47 // Allocates a new BSTR with the specified number of bytes. 49 BSTR AllocateBytes(size_t bytes); 52 // |bytes|. This is useful when the BSTR was preallocated with e.g. 54 // not all the bytes are being used. 60 // NOTE: The actual allocated size of the BSTR MUST be >= bytes. That 62 void SetByteLen(size_t bytes); 76 // Returns the number of bytes allocated for the BSTR.
|
/external/chromium_org/net/spdy/ |
spdy_buffer.h | 40 // A Callback that gets called when bytes are consumed with the 41 // (non-zero) number of bytes consumed and the source of the 44 // source. The sum of the number of bytes consumed equals the total 56 // If there are bytes remaining in the buffer, triggers a call to 63 // Returns the number of remaining (unconsumed) bytes. 66 // Add a callback to be called when bytes are consumed. The 72 // Consume the given number of bytes, which must be positive but not
|