/external/apache-http/src/org/apache/commons/codec/net/ |
URLCodec.java | 104 * Encodes an array of bytes into an array of URL safe 7-bit 108 * @param bytes array of bytes to convert to URL safe characters 109 * @return array of bytes containing URL safe characters 111 public static final byte[] encodeUrl(BitSet urlsafe, byte[] bytes) 113 if (bytes == null) { 121 for (int i = 0; i < bytes.length; i++) { 122 int b = bytes[i]; 147 * original bytes. Escaped characters are converted back to their 150 * @param bytes array of URL safe character [all...] |
/external/chromium/net/base/ |
io_buffer.cc | 56 void DrainableIOBuffer::DidConsume(int bytes) { 57 SetOffset(used_ + bytes); 64 // Returns the number of consumed bytes. 69 void DrainableIOBuffer::SetOffset(int bytes) { 70 DCHECK(bytes >= 0 && bytes <= size_); 71 used_ = bytes;
|
mime_sniffer.h | 15 // The maximum number of bytes used by any internal mime sniffing routine. May 18 // This must be updated if any internal sniffing routine needs more bytes. 29 // Guess a mime type from the first few bytes of content an its URL. Always 32 // @param content A buffer containing the bytes to sniff. 33 // @param content_size The number of bytes in the |content| buffer.
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
ByteArray.java | 31 private final byte[] bytes; field in class:ByteArray 36 /** {@code >= 0, <= bytes.length}; size computed as 43 * @param bytes {@code non-null;} the underlying array 45 * @param end {@code >= start, <= bytes.length;} end index of 48 public ByteArray(byte[] bytes, int start, int end) { 49 if (bytes == null) { 50 throw new NullPointerException("bytes == null"); 61 if (end > bytes.length) { 62 throw new IllegalArgumentException("end > bytes.length"); 65 this.bytes = bytes [all...] |
/external/iproute2/man/man8/ |
tc-bfifo.8 | 15 bytes 24 does so as measured in bytes. 38 Maximum queue size. Specified in bytes for bfifo, in packets for pfifo. For pfifo, defaults 49 contains the limit, either in packets or in bytes, and the number of bytes 53 In this example, the queue length is 100 packets, 45894 bytes were sent over 681 packets. 60 Sent 45894 bytes 681 pkts (dropped 0, overlimits 0)
|
tc-pfifo.8 | 15 bytes 24 does so as measured in bytes. 38 Maximum queue size. Specified in bytes for bfifo, in packets for pfifo. For pfifo, defaults 49 contains the limit, either in packets or in bytes, and the number of bytes 53 In this example, the queue length is 100 packets, 45894 bytes were sent over 681 packets. 60 Sent 45894 bytes 681 pkts (dropped 0, overlimits 0)
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
Util.java | 45 static <T> T fromBytes(byte[] bytes) { 46 if (bytes == null) return null; 49 new ObjectInputStream(new ByteArrayInputStream(bytes)); 57 static String toMd5(byte[] bytes) { 61 algorithm.update(bytes); 70 private static String toHexString(byte[] bytes, String separator) { 72 for (byte b : bytes) {
|
/system/security/keystore/ |
keystore_get.h | 38 * KEYSTORE_MESSAGE_SIZE bytes. This function returns the length of the value or 42 uint8_t bytes[2] = {length >> 8, length}; local 54 if (send(sock, &code, 1, 0) == 1 && send(sock, bytes, 2, 0) == 2 && 57 recv(sock, &bytes[0], 1, 0) == 1 && recv(sock, &bytes[1], 1, 0) == 1) { 59 length = bytes[0] << 8 | bytes[1];
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/modes/ |
AEADBlockCipher.java | 44 * @return the number of bytes written to out. 51 * process a block of bytes from in putting the result into out. 55 * @param len the number of bytes to be processed. 56 * @param out the output buffer the processed bytes go into. 58 * @return the number of bytes written to out. 69 * @return number of bytes written into out. 85 * an input of len bytes. 89 * with len bytes of input. 95 * doFinal with an input of len bytes. 99 * with len bytes of input [all...] |
/external/svox/pico/lib/ |
picoklex.h | 70 /* nr of bytes used for pos and index, needs to fit in uint32, ie. max 4 */ 72 /* nr of bytes used for index, needs to fit in uint32, ie. max 4 */ 74 /* max len (in bytes) of ind, (PICOKLEX_MAX_NRRES * PICOKLEX_POSIND_SIZE) */ 80 POS1-byte, IND1-bytes, POS2-byte, IND2-bytes, etc. 82 the IND-bytes are the byte position(s) in the lexblocks part of the 91 picoos_uint8 posindlen; /* number of posind bytes */ 106 PICOKLEX_IND_SIZE bytes are used for the index, these ind bytes are 114 /** lookup lex entry by index ind; ind is a sequence of bytes wit [all...] |
/external/webkit/Source/WebCore/platform/text/ |
TextCodecUserDefined.cpp | 52 String TextCodecUserDefined::decode(const char* bytes, size_t length, bool, bool, bool&) 58 signed char c = bytes[i]; 68 char* bytes = result.data(); local 76 bytes[resultLength++] = signedByte; 82 bytes = result.data(); 83 memcpy(bytes + resultLength, replacement, replacementLength); 88 return CString(bytes, resultLength); 93 char* bytes; local 94 CString string = CString::newUninitialized(length, bytes); 100 bytes[i] = c [all...] |
/frameworks/base/core/java/android/nfc/tech/ |
NfcV.java | 72 * Return the Response Flag bytes from tag discovery. 76 * @return Response Flag bytes 83 * Return the DSF ID bytes from tag discovery. 87 * @return DSF ID bytes 98 * provide FLAGS, CMD and PARAMETER bytes. 100 * <p>Use {@link #getMaxTransceiveLength} to retrieve the maximum amount of bytes 109 * @param data bytes to send 110 * @return bytes received in response 120 * Return the maximum number of bytes that can be sent with {@link #transceive}. 121 * @return the maximum number of bytes that can be sent with {@link #transceive} [all...] |
/libcore/luni/src/main/java/java/util/zip/ |
CheckedInputStream.java | 71 * Reads up to n bytes of data from the underlying input stream, storing it 73 * updated with the bytes read. 76 * the byte array in which to store the bytes read. 78 * the initial position in {@code buf} to store the bytes read 81 * the maximum number of bytes to store in {@code buf}. 82 * @return the number of bytes actually read or {@code -1} if arrived at the 106 * Skip up to {@code byteCount} bytes of data on the underlying input 107 * stream. Any skipped bytes are added to the running checksum value. 109 * @param byteCount the number of bytes to skip. 111 * @return the number of bytes skipped [all...] |
/dalvik/dx/src/com/android/dx/command/dump/ |
BaseDumper.java | 38 private final byte[] bytes; field in class:BaseDumper 40 /** whether or not to include the raw bytes (in a column on the left) */ 58 /** number of bytes per line in hex dumps */ 76 * @param bytes {@code non-null;} bytes of the (alleged) class file 82 public BaseDumper(byte[] bytes, PrintStream out, 84 this.bytes = bytes; 126 public void parsed(ByteArray bytes, int offset, int len, String human) { 127 offset = bytes.underlyingOffset(offset, getBytes()) [all...] |
/external/bouncycastle/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;
|
/external/valgrind/main/memcheck/tests/ |
partial_load_ok.stderr.exp | 4 Address 0x........ is 1 bytes inside a block of size 4 alloc'd 10 Address 0x........ is 0 bytes inside a block of size 1 alloc'd 16 Address 0x........ is 0 bytes inside a block of size 4 free'd 22 in use at exit: ... bytes in ... blocks 23 total heap usage: ... allocs, ... frees, ... bytes allocated
|
partial_load_ok.stderr.exp64 | 4 Address 0x........ is 1 bytes inside a block of size 8 alloc'd 10 Address 0x........ is 0 bytes inside a block of size 1 alloc'd 16 Address 0x........ is 0 bytes inside a block of size 8 free'd 22 in use at exit: ... bytes in ... blocks 23 total heap usage: ... allocs, ... frees, ... bytes allocated
|
/frameworks/base/tests/CoreTests/android/core/ |
Sha1Test.java | 56 private static String encodeHex(byte[] bytes) { 57 StringBuffer hex = new StringBuffer(bytes.length * 2); 59 for (int i = 0; i < bytes.length; i++) { 60 if (((int) bytes[i] & 0xff) < 0x10) { 63 hex.append(Integer.toString((int) bytes[i] & 0xff, 16));
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/sys/ |
vlimit.h | 41 /* Largest file which can be created (bytes). */ 44 /* Maximum size of the data segment (bytes). */ 47 /* Maximum size of the stack segment (bytes). */ 50 /* Largest core file that will be created (bytes). */ 53 /* Resident set size (bytes). */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sys/ |
vlimit.h | 41 /* Largest file which can be created (bytes). */ 44 /* Maximum size of the data segment (bytes). */ 47 /* Maximum size of the stack segment (bytes). */ 50 /* Largest core file that will be created (bytes). */ 53 /* Resident set size (bytes). */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sys/ |
vlimit.h | 41 /* Largest file which can be created (bytes). */ 44 /* Maximum size of the data segment (bytes). */ 47 /* Maximum size of the stack segment (bytes). */ 50 /* Largest core file that will be created (bytes). */ 53 /* Resident set size (bytes). */
|
/sdk/emulator/opengl/host/tools/emugen/ |
VarType.h | 23 VarConverter(size_t bytes) : m_bytes(bytes) {} 24 size_t bytes() const { return m_bytes; } function in class:VarConverter 67 size_t bytes() const { return m_converter->bytes(); } function in class:VarType
|
/external/llvm/include/llvm/Support/ |
StreamableMemoryObject.h | 42 /// getExtent - Returns the size of the region in bytes. (The region is 45 /// May block until all bytes in the stream have been read 51 /// May block until (address - base) bytes have been read 58 /// readBytes - Tries to read a contiguous range of bytes from the 60 /// May block until (address - base + size) bytes have 62 /// not do partial reads - if size bytes cannot be read, 67 /// @param size - The maximum number of bytes to copy. 69 /// and large enough to hold size bytes. 71 /// of bytes actually read. May be NULL. 82 /// May block until (address - base + size) bytes have been rea 157 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped], local [all...] |
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/ |
ByteBufferTest.java | 771 byte bytes[] = new byte[2]; 780 buf.get(bytes); 782 assertEquals(bytes2char(bytes, buf.order()), value); 791 buf.get(bytes); 793 assertEquals(bytes2char(bytes, buf.order()), value); 805 buf.get(bytes); 806 assertTrue(Arrays.equals(bytes, char2bytes(value, buf.order()))); 817 buf.get(bytes); 818 assertTrue(Arrays.equals(bytes, char2bytes(value, buf.order()))); 827 byte bytes[] = new byte[8] 1204 assertTrue(Arrays.equals(char2bytes(value, buf.order()), bytes)); local 1240 assertTrue(Arrays.equals(char2bytes(value, buf.order()), bytes)); local 1359 assertTrue(Arrays.equals(double2bytes(value, buf.order()), bytes)); local 1395 assertTrue(Arrays.equals(double2bytes(value, buf.order()), bytes)); local 1502 assertTrue(Arrays.equals(float2bytes(value, buf.order()), bytes)); local 1538 assertTrue(Arrays.equals(float2bytes(value, buf.order()), bytes)); local 1644 assertTrue(Arrays.equals(int2bytes(value, buf.order()), bytes)); local 1680 assertTrue(Arrays.equals(int2bytes(value, buf.order()), bytes)); local 1781 assertTrue(Arrays.equals(long2bytes(value, buf.order()), bytes)); local 1817 assertTrue(Arrays.equals(long2bytes(value, buf.order()), bytes)); local 1918 assertTrue(Arrays.equals(short2bytes(value, buf.order()), bytes)); local 1954 assertTrue(Arrays.equals(short2bytes(value, buf.order()), bytes)); local [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
Output.java | 39 * bytes written to this instance. 88 * @return 1..5; the number of bytes actually written 98 * @return 1..5; the number of bytes actually written 105 * @param bytes non-null; the array to write 107 public void write(ByteArray bytes); 112 * @param bytes non-null; the array to write 113 * @param offset >= 0; offset into <code>bytes</code> for the first 115 * @param length >= 0; number of bytes to write 117 public void write(byte[] bytes, int offset, int length); 121 * a convenient shorthand for <code>write(bytes, 0, bytes.length)</code> [all...] |