/external/curl/docs/examples/ |
sampleconv.c | 45 size_t bytes = length; local 48 rc = platform_a2e(&tempptrin, &bytes, &tempptrout, &bytes); 59 size_t bytes = length; local 62 rc = platform_e2a(&tempptrin, &bytes, &tempptrout, &bytes); 73 size_t bytes = length; local 76 rc = platform_u2e(&tempptrin, &bytes, &tempptrout, &bytes);
|
/external/elfutils/libasm/ |
asm_fill.c | 42 asm_fill (AsmScn_t *asmscn, void *bytes, size_t len) 51 if (bytes == NULL) 63 memcpy (pattern->bytes, bytes, len);
|
/external/iproute2/examples/bpf/ |
bpf_shared.h | 14 long bytes; member in struct:count_tuple
|
/external/jetty/src/java/org/eclipse/jetty/io/ |
NetworkTrafficListener.java | 30 * <li>Incoming bytes, when the server receives bytes sent from a remote client</li> 31 * <li>Outgoing bytes, when the server sends bytes to a remote client</li> 50 * <p>Callback method invoked when bytes sent by a remote client arrived on the server.</p> 53 * @param bytes the read-only buffer containing the incoming bytes 55 public void incoming(Socket socket, Buffer bytes); 58 * <p>Callback method invoked when bytes are sent to a remote client from the server.</p> 59 * <p>This method is invoked after the bytes have been actually written to the remote client.</p [all...] |
/external/valgrind/helgrind/tests/ |
tc16_byterace.c | 7 char bytes[10]; variable 13 bytes[2*i + 0] ++; /* child accesses: 0 2 4 6 8 */ 28 bytes accessed */ 30 bytes[2*i + 1] ++; /* accesses: 1 3 5 7 9 */ 32 /* Unprotected relative to child, but harmful; same bytes */ 34 bytes[3*i + 1] ++; /* accesses: 1 4(race!) 7 */
|
/external/valgrind/memcheck/tests/ |
leak_cpp_interior.stderr.exp | 4 4 bytes in 1 blocks are definitely lost in loss record ... of ... 9 definitely lost: 4 bytes in 1 blocks 10 indirectly lost: 0 bytes in 0 blocks 11 possibly lost: 0 bytes in 0 blocks 12 still reachable: 163 bytes in 8 blocks 14 stdstring : 56 bytes in 2 blocks 15 length64 : 31 bytes in 1 blocks 16 newarray : 28 bytes in 1 blocks 17 multipleinheritance: 24 bytes in 2 blocks 18 suppressed: 0 bytes in 0 block [all...] |
/external/valgrind/none/tests/s390x/ |
trot.stdout.exp | 1 0 bytes translated 3 0 bytes translated 5 0 bytes translated 7 3 bytes translated 9 10 bytes translated 11 2 bytes translated 13 3 bytes translated 15 9 bytes translated
|
trto.stdout.exp | 1 0 bytes translated 3 0 bytes translated 5 0 bytes translated 7 6 bytes translated 9 10 bytes translated 11 2 bytes translated 13 0 bytes translated 15 9 bytes translated
|
/external/webrtc/webrtc/base/ |
bufferqueue.cc | 35 bool BufferQueue::ReadFront(void* buffer, size_t bytes, size_t* bytes_read) { 45 bytes = std::min(bytes, packet->size()); 46 memcpy(buffer, packet->data(), bytes); 48 *bytes_read = bytes; 57 bool BufferQueue::WriteBack(const void* buffer, size_t bytes, 70 packet = new Buffer(bytes, default_size_); 73 packet->SetData(static_cast<const uint8_t*>(buffer), bytes); local 75 *bytes_written = bytes;
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
decode.h | 30 const uint16_t *bytes, /* (i) encoded signal bits */
|
/libcore/ojluni/src/main/java/java/security/ |
SecureRandomSpi.java | 54 * Generates a user-specified number of random bytes. 61 * @param bytes the array to be filled in with random bytes. 63 protected abstract void engineNextBytes(byte[] bytes); 66 * Returns the given number of seed bytes. This call may be used to 69 * @param numBytes the number of seed bytes to generate. 71 * @return the seed bytes.
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/mips/ |
n32-consec.s | 4 # Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ... 11 # Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-scripts/ |
fill.d | 11 # that don't support alignment other than 4 bytes. 12 # alpha-linuxecoff always aligns code to 16 bytes. 13 # m32c pads out code sections to 8 bytes. 14 # mips aligns to 16 bytes 15 # sh-pe pads out code sections to 16 bytes 16 # sparc-coff aligns to 8 bytes 17 # tic30-coff aligns to 2 bytes 18 # tic4x has 4 octet bytes 20 # x86_64-pe aligns to 16 bytes 21 # z8k-coff aligns to 2 bytes [all...] |
/external/guava/guava/src/com/google/common/hash/ |
HashCode.java | 48 * Returns the first four bytes of {@linkplain #asBytes() this hashcode's bytes}, converted to 56 * Returns the first eight bytes of {@linkplain #asBytes() this hashcode's bytes}, converted to 65 * value with {@code asBytes()} as the least-significant bytes and {@code 0x00} as the remaining 66 * most-significant bytes. 81 * Copies bytes from this hash code into {@code dest}. 85 * @param maxLength the maximum number of bytes to write 86 * @return the number of bytes written to {@code dest} 99 * Returns a mutable view of the underlying bytes for the given {@code HashCode} if it is 258 final byte[] bytes; field in class:HashCode.BytesHashCode [all...] |
/art/runtime/jdwp/ |
jdwp_bits.h | 35 static inline void Append1BE(std::vector<uint8_t>& bytes, uint8_t value) { 36 bytes.push_back(value); 39 static inline void Append2BE(std::vector<uint8_t>& bytes, uint16_t value) { 40 bytes.push_back(static_cast<uint8_t>(value >> 8)); 41 bytes.push_back(static_cast<uint8_t>(value)); 44 static inline void Append4BE(std::vector<uint8_t>& bytes, uint32_t value) { 45 bytes.push_back(static_cast<uint8_t>(value >> 24)); 46 bytes.push_back(static_cast<uint8_t>(value >> 16)); 47 bytes.push_back(static_cast<uint8_t>(value >> 8)); 48 bytes.push_back(static_cast<uint8_t>(value)) [all...] |
/prebuilts/go/darwin-x86/test/bench/shootout/ |
regex-dna-parallel.go | 76 func countMatches(pat string, bytes []byte) int { 80 e := re.FindIndex(bytes) 85 bytes = bytes[e[1]:] 92 bytes, err := ioutil.ReadAll(os.Stdin) 97 ilen := len(bytes) 99 bytes = regexp.MustCompile("(>[^\n]+)?\n").ReplaceAll(bytes, []byte{}) 100 clen := len(bytes) 107 ch <- countMatches(ss, bytes) [all...] |
/prebuilts/go/linux-x86/test/bench/shootout/ |
regex-dna-parallel.go | 76 func countMatches(pat string, bytes []byte) int { 80 e := re.FindIndex(bytes) 85 bytes = bytes[e[1]:] 92 bytes, err := ioutil.ReadAll(os.Stdin) 97 ilen := len(bytes) 99 bytes = regexp.MustCompile("(>[^\n]+)?\n").ReplaceAll(bytes, []byte{}) 100 clen := len(bytes) 107 ch <- countMatches(ss, bytes) [all...] |
/external/guava/guava/src/com/google/common/base/ |
Utf8.java | 41 * Returns the number of bytes in the UTF-8-encoded form of {@code sequence}. For a string, 102 * Returns {@code true} if {@code bytes} is a <i>well-formed</i> UTF-8 byte sequence according to 103 * Unicode 6.0. Note that this is a stronger criterion than simply whether the bytes can be 108 * <p>This method returns {@code true} if and only if {@code Arrays.equals(bytes, new 109 * String(bytes, UTF_8).getBytes(UTF_8))} does, but is more efficient in both time and space. 111 public static boolean isWellFormed(byte[] bytes) { 112 return isWellFormed(bytes, 0, bytes.length); 118 * isWellFormed(bytes)} is true. 120 * @param bytes the input buffe [all...] |
/system/core/toolbox/upstream-netbsd/lib/libc/gen/ |
humanize_number.c | 47 humanize_number(char *buf, size_t len, int64_t bytes, 90 if (bytes < 0) { 93 if (-bytes < INT64_MAX / 100) 94 bytes *= -100; 96 bytes = -bytes; 103 if (bytes < INT64_MAX / 100) 104 bytes *= 100; 132 for (i = 0; bytes >= max - 50 && i < maxscale; i++) 133 bytes /= divisor [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
DERBitString.java | 120 byte[] bytes = new byte[string.length + 1]; 122 bytes[0] = (byte)getPadBits(); 123 System.arraycopy(string, 0, bytes, 1, bytes.length - 1); 125 out.writeEncoded(BERTags.BIT_STRING, bytes); 128 static DERBitString fromOctetString(byte[] bytes) 130 if (bytes.length < 1) 135 int padBits = bytes[0]; 136 byte[] data = new byte[bytes.length - 1]; 140 System.arraycopy(bytes, 1, data, 0, bytes.length - 1) [all...] |
DLBitString.java | 120 byte[] bytes = new byte[string.length + 1]; 122 bytes[0] = (byte)getPadBits(); 123 System.arraycopy(string, 0, bytes, 1, bytes.length - 1); 125 out.writeEncoded(BERTags.BIT_STRING, bytes); 128 static DLBitString fromOctetString(byte[] bytes) 130 if (bytes.length < 1) 135 int padBits = bytes[0]; 136 byte[] data = new byte[bytes.length - 1]; 140 System.arraycopy(bytes, 1, data, 0, bytes.length - 1) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
BigIntegers.java | 23 byte[] bytes = value.toByteArray(); 25 if (bytes[0] == 0) 27 byte[] tmp = new byte[bytes.length - 1]; 29 System.arraycopy(bytes, 1, tmp, 0, tmp.length); 34 return bytes; 45 byte[] bytes = value.toByteArray(); 46 if (bytes.length == length) 48 return bytes; 51 int start = bytes[0] == 0 ? 1 : 0; 52 int count = bytes.length - start [all...] |
/frameworks/rs/ |
rsFifoSocket.cpp | 52 bool FifoSocket::writeAsync(const void *data, size_t bytes, bool waitForSpace) { 53 if (bytes == 0) { 56 //ALOGE("writeAsync %p %i", data, bytes); 57 size_t ret = ::send(sv[0], data, bytes, 0); 58 rsAssert(ret == bytes); 59 if (ret != bytes) { 60 ALOGE("writeAsync %p %zu ret %zu", data, bytes, ret); 76 size_t FifoSocket::read(void *data, size_t bytes) { 81 //ALOGE("read %p %i", data, bytes); 82 size_t ret = ::recv(sv[1], data, bytes, MSG_WAITALL) [all...] |
/external/c-ares/ |
ares_gethostbyaddr.c | 285 unsigned char *bytes = (unsigned char *)&addr->addrV6; local 290 bytes[15]&0xf, bytes[15] >> 4, bytes[14]&0xf, bytes[14] >> 4, 291 bytes[13]&0xf, bytes[13] >> 4, bytes[12]&0xf, bytes[12] >> 4, 292 bytes[11]&0xf, bytes[11] >> 4, bytes[10]&0xf, bytes[10] >> 4 [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
CstUtf8.java | 35 /** {@code non-null;} the UTF-8 value as bytes */ 36 private final ByteArray bytes; field in class:CstUtf8 44 * @return {@code non-null;} the UTF-8 bytes for it 48 byte[] bytes = new byte[len * 3]; // Avoid having to reallocate. 54 bytes[outAt] = (byte) c; 57 bytes[outAt] = (byte) (((c >> 6) & 0x1f) | 0xc0); 58 bytes[outAt + 1] = (byte) ((c & 0x3f) | 0x80); 61 bytes[outAt] = (byte) (((c >> 12) & 0x0f) | 0xe0); 62 bytes[outAt + 1] = (byte) (((c >> 6) & 0x3f) | 0x80); 63 bytes[outAt + 2] = (byte) ((c & 0x3f) | 0x80) [all...] |