Searched defs:bytes (Results 76 - 100 of 835) sorted by relevance

1234567891011>>

/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/command/
H A DRetrCommandHandler.java68 byte[] bytes = null;
70 bytes = IoUtil.readBytes(input);
86 bytes = convertLfToCrLf(bytes);
88 session.sendData(bytes, bytes.length);
96 * @param bytes - the bytes to be converted
99 protected byte[] convertLfToCrLf(byte[] bytes) { argument
102 for (int i = 0; i < bytes
[all...]
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
H A DRetrCommandHandler.java68 byte[] bytes = null;
70 bytes = IoUtil.readBytes(input);
86 bytes = convertLfToCrLf(bytes);
88 session.sendData(bytes, bytes.length);
96 * @param bytes - the bytes to be converted
99 protected byte[] convertLfToCrLf(byte[] bytes) { argument
102 for (int i = 0; i < bytes
[all...]
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/command/
H A DRetrCommandHandler.java68 byte[] bytes = null;
70 bytes = IoUtil.readBytes(input);
86 bytes = convertLfToCrLf(bytes);
88 session.sendData(bytes, bytes.length);
96 * @param bytes - the bytes to be converted
99 protected byte[] convertLfToCrLf(byte[] bytes) { argument
102 for (int i = 0; i < bytes
[all...]
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
H A DRetrCommandHandler.java68 byte[] bytes = null;
70 bytes = IoUtil.readBytes(input);
86 bytes = convertLfToCrLf(bytes);
88 session.sendData(bytes, bytes.length);
96 * @param bytes - the bytes to be converted
99 protected byte[] convertLfToCrLf(byte[] bytes) { argument
102 for (int i = 0; i < bytes
[all...]
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/command/
H A DRetrCommandHandler.java68 byte[] bytes = null;
70 bytes = IoUtil.readBytes(input);
86 bytes = convertLfToCrLf(bytes);
88 session.sendData(bytes, bytes.length);
96 * @param bytes - the bytes to be converted
99 protected byte[] convertLfToCrLf(byte[] bytes) { argument
102 for (int i = 0; i < bytes
[all...]
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/fake/command/
H A DRetrCommandHandler.java68 byte[] bytes = null;
70 bytes = IoUtil.readBytes(input);
86 bytes = convertLfToCrLf(bytes);
88 session.sendData(bytes, bytes.length);
96 * @param bytes - the bytes to be converted
99 protected byte[] convertLfToCrLf(byte[] bytes) { argument
102 for (int i = 0; i < bytes
[all...]
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/fake/command/
H A DRetrCommandHandler.java68 byte[] bytes = null;
70 bytes = IoUtil.readBytes(input);
86 bytes = convertLfToCrLf(bytes);
88 session.sendData(bytes, bytes.length);
96 * @param bytes - the bytes to be converted
99 protected byte[] convertLfToCrLf(byte[] bytes) { argument
102 for (int i = 0; i < bytes
[all...]
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/fake/command/
H A DRetrCommandHandler.java68 byte[] bytes = null;
70 bytes = IoUtil.readBytes(input);
86 bytes = convertLfToCrLf(bytes);
88 session.sendData(bytes, bytes.length);
96 * @param bytes - the bytes to be converted
99 protected byte[] convertLfToCrLf(byte[] bytes) { argument
102 for (int i = 0; i < bytes
[all...]
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/command/
H A DRetrCommandHandler.java68 byte[] bytes = null;
70 bytes = IoUtil.readBytes(input);
86 bytes = convertLfToCrLf(bytes);
88 session.sendData(bytes, bytes.length);
96 * @param bytes - the bytes to be converted
99 protected byte[] convertLfToCrLf(byte[] bytes) { argument
102 for (int i = 0; i < bytes
[all...]
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/command/
H A DRetrCommandHandler.java68 byte[] bytes = null;
70 bytes = IoUtil.readBytes(input);
86 bytes = convertLfToCrLf(bytes);
88 session.sendData(bytes, bytes.length);
96 * @param bytes - the bytes to be converted
99 protected byte[] convertLfToCrLf(byte[] bytes) { argument
102 for (int i = 0; i < bytes
[all...]
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/command/
H A DRetrCommandHandler.java68 byte[] bytes = null;
70 bytes = IoUtil.readBytes(input);
86 bytes = convertLfToCrLf(bytes);
88 session.sendData(bytes, bytes.length);
96 * @param bytes - the bytes to be converted
99 protected byte[] convertLfToCrLf(byte[] bytes) { argument
102 for (int i = 0; i < bytes
[all...]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/
H A DDecoderSpecificInfo.java34 byte[] bytes; field in class:DecoderSpecificInfo
39 bytes = new byte[sizeOfInstance];
40 bb.get(bytes);
45 return bytes.length;
49 ByteBuffer out = ByteBuffer.wrap(bytes);
58 sb.append("{bytes=").append(bytes == null ? "null" : Hex.encodeHex(bytes));
74 if (!Arrays.equals(bytes, that.bytes)) {
[all...]
H A DExtensionDescriptor.java36 byte[] bytes; field in class:ExtensionDescriptor
60 bytes = new byte[sizeOfInstance];
61 bb.get(bytes);
69 sb.append("{bytes=").append(bytes == null ? "null" : Hex.encodeHex(bytes));
H A DExtensionProfileLevelDescriptor.java33 byte[] bytes; field in class:ExtensionProfileLevelDescriptor
38 bytes = new byte[getSize()];
39 bb.get(bytes);
47 sb.append("{bytes=").append(bytes == null ? "null" : Hex.encodeHex(bytes));
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DResponseBody.java37 * Returns the number of bytes in that will returned by {@link #bytes}, or
48 public final byte[] bytes() throws IOException { method in class:ResponseBody
55 byte[] bytes;
57 bytes = source.readByteArray();
61 if (contentLength != -1 && contentLength != bytes.length) {
64 return bytes;
83 return new String(bytes(), charset().name());
/external/openssh/
H A Dbuffer.c81 buffer_consume_ret(Buffer *buffer, u_int bytes) argument
83 int ret = sshbuf_consume(buffer, bytes);
93 buffer_consume(Buffer *buffer, u_int bytes) argument
95 if (buffer_consume_ret(buffer, bytes) == -1)
100 buffer_consume_end_ret(Buffer *buffer, u_int bytes) argument
102 int ret = sshbuf_consume_end(buffer, bytes);
112 buffer_consume_end(Buffer *buffer, u_int bytes) argument
114 if (buffer_consume_end_ret(buffer, bytes) == -1)
H A Dhash.c35 unsigned long long bytes = inlen; local
49 padded[119] = bytes >> 61;
50 padded[120] = bytes >> 53;
51 padded[121] = bytes >> 45;
52 padded[122] = bytes >> 37;
53 padded[123] = bytes >> 29;
54 padded[124] = bytes >> 21;
55 padded[125] = bytes >> 13;
56 padded[126] = bytes >> 5;
57 padded[127] = bytes <<
[all...]
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
H A DUnknownFieldData.java49 final byte[] bytes; field in class:UnknownFieldData
51 UnknownFieldData(int tag, byte[] bytes) { argument
53 this.bytes = bytes;
59 size += bytes.length;
65 output.writeRawBytes(bytes);
78 return tag == other.tag && Arrays.equals(bytes, other.bytes);
85 result = 31 * result + Arrays.hashCode(bytes);
/external/sfntly/cpp/src/test/
H A Dopen_type_data_test.cc27 ByteVector bytes; local
29 bytes.push_back(TEST_OTF_DATA[i]);
31 ByteArrayPtr array = new MemoryByteArray(&(bytes[0]), bytes.size());
/external/skia/experimental/DrawingBoard/
H A DSkNetPipeController.cpp38 void SkNetPipeController::notifyWritten(size_t bytes) { argument
39 SkASSERT(fBytesWritten + bytes <= fBlockSize);
42 fStatus = fReader.playback((const char*)fBlock + fBytesWritten, bytes);
46 fBytesWritten += bytes;
47 fTotalWritten += bytes;
/external/skia/include/core/
H A DSkChunkAlloc.h26 * Reset to 0 used bytes preserving as much memory as possible.
36 void* alloc(size_t bytes, AllocFailType);
37 void* allocThrow(size_t bytes) { argument
38 return this->alloc(bytes, kThrow_AllocFailType);
42 success, the number of bytes freed is returned, or 0 if the block could
72 Block* newBlock(size_t bytes, AllocFailType ftype);
73 Block* addBlockIfNecessary(size_t bytes, AllocFailType ftype);
/external/skia/src/codec/
H A DSkJpegUtility.cpp25 size_t bytes = src->fStream->read(src->fBuffer, skjpeg_source_mgr::kBufferSize); local
28 if (bytes == 0) {
33 src->bytes_in_buffer = bytes;
38 * Skip a certain number of bytes in the stream
42 size_t bytes = (size_t) numBytes; local
44 if (bytes > src->bytes_in_buffer) {
45 size_t bytesToSkip = bytes - src->bytes_in_buffer;
/external/skia/src/core/
H A DSkVarAlloc.cpp52 void SkVarAlloc::makeSpace(size_t bytes, unsigned flags) { argument
53 SkASSERT(SkIsAlignPtr(bytes));
56 while (alloc < bytes + sizeof(Block)) {
H A DSkVarAlloc.h15 // Smallest block we'll allocate is 2**N bytes.
17 // Same as above, but first uses up to len bytes from storage.
22 // Returns contiguous bytes aligned at least for pointers. You may pass SK_MALLOC_THROW, etc.
23 char* alloc(size_t bytes, unsigned sk_malloc_flags) { argument
24 bytes = SkAlignPtr(bytes);
26 if (bytes > fRemaining) {
27 this->makeSpace(bytes, sk_malloc_flags);
29 SkASSERT(bytes <= fRemaining);
32 fByte += bytes;
[all...]
/external/skia/src/utils/mac/
H A DSkStream_mac.cpp28 static size_t get_bytes_proc(void* info, void* buffer, size_t bytes) { argument
30 return ((SkStream*)info)->read(buffer, bytes);
33 static off_t skip_forward_proc(void* info, off_t bytes) { argument
34 return ((SkStream*)info)->skip((size_t) bytes);

Completed in 2242 milliseconds

1234567891011>>