/external/chromium/net/tools/flip_server/ |
ring_buffer.h | 49 // appends up-to-'size' bytes to the ringbuffer. 50 virtual int Write(const char * bytes, int size); 54 // If there are no writable bytes available, then *size will contain 0. 59 // If there are no readable bytes available, then *size will contain 0. 62 // Returns the number of bytes read into 'bytes'. 63 virtual int Read(char* bytes, int size); 68 // Reserves contiguous writable empty space in the buffer of size bytes.
|
/external/dropbear/ |
bignum.c | 55 void bytes_to_mp(mp_int *mp, const unsigned char* bytes, unsigned int len) { 57 if (mp_read_unsigned_bin(mp, (unsigned char*)bytes, len) != MP_OKAY) {
|
/external/emma/core/java12/com/vladium/jcd/cls/attribute/ |
SourceFileAttribute_info.java | 85 final UDataInputStream bytes) 90 m_sourcefile_index = bytes.readU2 ();
|
/external/emma/core/java12/com/vladium/jcd/cls/constant/ |
CONSTANT_Class_info.java | 88 protected CONSTANT_Class_info (final UDataInputStream bytes) throws IOException 90 m_name_index = bytes.readU2 ();
|
CONSTANT_Double_info.java | 81 protected CONSTANT_Double_info (final UDataInputStream bytes) throws IOException 83 m_value = bytes.readDouble ();
|
CONSTANT_Float_info.java | 21 * The bytes item of the CONSTANT_Float_info structure contains the value of 72 protected CONSTANT_Float_info (final UDataInputStream bytes) throws IOException 74 m_value = bytes.readFloat ();
|
CONSTANT_Integer_info.java | 21 * The bytes item of the CONSTANT_Integer_info structure contains the value of 22 * the int constant. The bytes of the value are stored in big-endian (high byte 73 protected CONSTANT_Integer_info (final UDataInputStream bytes) throws IOException 75 m_value = bytes.readInt ();
|
CONSTANT_Long_info.java | 23 * (( long ) high_bytes << 32) + low_bytes , where the bytes of each of high_bytes 82 protected CONSTANT_Long_info (final UDataInputStream bytes) throws IOException 84 m_value = bytes.readLong ();
|
CONSTANT_Utf8_info.java | 20 * The bytes of multibyte characters are stored in the class file in big-endian 77 protected CONSTANT_Utf8_info (final UDataInputStream bytes) throws IOException 79 m_value = bytes.readUTF ();
|
/external/kernel-headers/original/asm-generic/ |
xor.h | 19 xor_8regs_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) 21 long lines = bytes / (sizeof (long)) / 8; 38 xor_8regs_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, 41 long lines = bytes / (sizeof (long)) / 8; 59 xor_8regs_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, 62 long lines = bytes / (sizeof (long)) / 8; 81 xor_8regs_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, 84 long lines = bytes / (sizeof (long)) / 8; 104 xor_32regs_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) 106 long lines = bytes / (sizeof (long)) / 8 [all...] |
/external/strace/ |
sock.c | 94 unsigned char *bytes; local 189 bytes = (unsigned char *) &ifr.ifr_hwaddr.sa_data; 191 bytes[0], bytes[1], bytes[2], 192 bytes[3], bytes[4], bytes[5]);
|
/frameworks/base/graphics/java/android/renderscript/ |
BaseObj.java | 53 byte[] bytes = s.getBytes("UTF-8"); 54 mRS.nAssignName(mID, bytes);
|
/frameworks/base/include/media/stagefright/ |
MediaWriter.h | 41 virtual void setMaxFileSize(int64_t bytes) { mMaxFileSizeLimitBytes = bytes; }
|
/libcore/luni/src/main/java/java/net/ |
URIEncoderDecoder.java | 122 byte[] bytes = new String(new char[] { ch }).getBytes(Charsets.UTF_8); 123 for (int j = 0; j < bytes.length; j++) { 125 buf.append(digits.charAt((bytes[j] & 0xf0) >> 4)); 126 buf.append(digits.charAt(bytes[j] & 0xf)); 153 byte[] bytes = new String(new char[] { ch }).getBytes(Charsets.UTF_8); 154 for (int j = 0; j < bytes.length; j++) { 156 buf.append(digits.charAt((bytes[j] & 0xf0) >> 4)); 157 buf.append(digits.charAt(bytes[j] & 0xf));
|
/packages/apps/Email/src/com/android/email/mail/internet/ |
TextBody.java | 38 byte[] bytes = mBody.getBytes("UTF-8"); 39 out.write(Base64.encode(bytes, Base64.CRLF));
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
CodedInputStreamTest.java | 50 * Helper to construct a byte array from a bunch of bytes. The inputs are 54 private byte[] bytes(int... bytesAsInts) { method in class:CodedInputStreamTest 55 byte[] bytes = new byte[bytesAsInts.length]; 57 bytes[i] = (byte) bytesAsInts[i]; 59 return bytes; 63 * An InputStream which limits the number of bytes it reads at a time. 89 * Parses the given bytes using readRawVarint32() and readRawVarint64() and 123 * Parses the given bytes using readRawVarint32() and readRawVarint64() and 157 assertReadVarint(bytes(0x00), 0); 158 assertReadVarint(bytes(0x01), 1) [all...] |
/bootable/bootloader/legacy/libboot/ |
tags_cmdline.c | 33 static void tag_cmdline(unsigned tag, void *data, unsigned bytes, void *cookie)
|
/external/emma/core/java12/com/vladium/emma/rt/ |
InstrClassLoadHook.java | 54 final byte [] bytes, final int length, 61 $assert.ASSERT (bytes != null, "bytes is null"); 62 $assert.ASSERT (bytes != null, "out is null"); 68 final ClassDef clsDef = ClassDefParser.parseClass (bytes, length);
|
/external/netcat/data/ |
rip.d | 34 # addr bytes: 39 0 # filler, out to 16 bytes [sizeof (sockaddr)] ...
|
/external/webkit/JavaScriptCore/wtf/ |
TCSystemAlloc.h | 41 // Allocate and return "N" bytes of zeroed memory. 44 // requested size. If actual bytes is non-NULL then the allocator 45 // may optionally return more bytes than asked for (i.e. return an 51 extern void* TCMalloc_SystemAlloc(size_t bytes, size_t *actual_bytes,
|
/frameworks/base/tests/CoreTests/android/core/ |
ChecksumTest.java | 85 byte[] bytes = {1, 0, 5, 0, 15, 0, 1, 11, 0, 1}; 87 adler.update(bytes); 90 for (int i = 0; i < bytes.length; i++) { 91 adler.update(bytes[i]);
|
/dalvik/dx/src/com/android/dx/dex/file/ |
StringDataItem.java | 47 * @return {@code >= 2}; the write size, in bytes 72 ByteArray bytes = value.getBytes(); local 78 out.annotate(bytes.size() + 1, value.toQuoted()); 82 out.write(bytes);
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
DERBoolean.java | 104 byte[] bytes = new byte[1]; 106 bytes[0] = value; 108 out.writeEncoded(BOOLEAN, bytes);
|
DefiniteLengthInputStream.java | 97 byte[] bytes = new byte[_remaining]; 98 if ((_remaining -= Streams.readFully(_in, bytes)) != 0) 103 return bytes;
|
/external/chromium/third_party/icu/source/common/ |
bytestream.cpp | 31 void CheckedArrayByteSink::Append(const char* bytes, int32_t n) { 40 if (n > 0 && bytes != (outbuf_ + size_)) { 41 uprv_memcpy(outbuf_ + size_, bytes, n);
|