HomeSort by relevance Sort by last modified time
    Searched refs:bytes (Results 576 - 600 of 4212) sorted by null

<<21222324252627282930>>

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/pem/
PemWriter.java 42 * Return the number of bytes or characters required to contain the
46 * @return an estimate of the number of bytes
99 private void writeEncoded(byte[] bytes)
102 bytes = Base64.encode(bytes);
104 for (int i = 0; i < bytes.length; i += buf.length)
110 if ((i + index) >= bytes.length)
114 buf[index] = (char)bytes[i + index];
  /external/chromium_org/net/base/
io_buffer.cc 69 void DrainableIOBuffer::DidConsume(int bytes) {
70 SetOffset(used_ + bytes);
77 // Returns the number of consumed bytes.
82 void DrainableIOBuffer::SetOffset(int bytes) {
83 DCHECK_GE(bytes, 0);
84 DCHECK_LE(bytes, size_);
85 used_ = bytes;
upload_bytes_element_reader.h 17 // An UploadElementReader implementation for bytes.
22 UploadBytesElementReader(const char* bytes, uint64 length);
25 const char* bytes() const { return bytes_; } function in class:net::UploadBytesElementReader
  /external/chromium_org/third_party/skia/src/utils/ios/
SkStream_NSData.mm 13 size_t bytes = stream->read(src, length);
14 SkASSERT(bytes == length);
32 this->setMemory([fNSData bytes], [fNSData length], false);
  /external/chromium_org/third_party/webrtc/modules/audio_device/android/
low_latency_event_posix.cc 82 size_t bytes = sizeof(buffer); local
86 bytes));
87 if (bytes_written != static_cast<ssize_t>(bytes)) {
94 size_t bytes = sizeof(buffer); local
95 ssize_t bytes_read = HANDLE_EINTR(read(handles_[kReadHandle], buffer, bytes));
100 } else if (bytes_read == static_cast<ssize_t>(bytes)) {
  /external/emma/core/java12/com/vladium/jcd/cls/
Method_info.java 76 final UDataInputStream bytes)
79 m_access_flags = bytes.readU2 ();
81 m_name_index = bytes.readU2 ();
82 m_descriptor_index = bytes.readU2 ();
86 final int attributes_count = bytes.readU2 ();
91 final Attribute_info attribute_info = Attribute_info.new_Attribute_info (constants, bytes);
  /external/ltrace/sysdeps/linux-gnu/arm/
breakpoint.c 45 unsigned char *bytes = current.b; local
55 sbp->orig_value[i * sizeof(long) + j] = bytes[j];
57 bytes[j] = break_insn[i * sizeof(long) + j];
60 bytes[j] = thumb_break_insn[i * sizeof(long) + j];
78 unsigned char *bytes = current.b; local
87 bytes[j] = sbp->orig_value[i * sizeof(long) + j];
  /external/lzma/CPP/7zip/UI/Common/
ArchiveOpenCallback.cpp 16 STDMETHODIMP COpenCallbackImp::SetTotal(const UInt64 *files, const UInt64 *bytes)
20 return ReOpenCallback->SetTotal(files, bytes);
23 return Callback->Open_SetTotal(files, bytes);
27 STDMETHODIMP COpenCallbackImp::SetCompleted(const UInt64 *files, const UInt64 *bytes)
31 return ReOpenCallback->SetCompleted(files, bytes);
34 return Callback->Open_SetCompleted(files, bytes);
  /external/skia/src/utils/ios/
SkStream_NSData.mm 13 size_t bytes = stream->read(src, length);
14 SkASSERT(bytes == length);
32 this->setMemory([fNSData bytes], [fNSData length], false);
  /external/valgrind/main/drd/tests/
annotate_ignore_rw2.stderr.exp 4 Location 0x........ is 0 bytes inside global var "s_b"
9 Location 0x........ is 0 bytes inside global var "s_a"
14 Location 0x........ is 0 bytes inside global var "s_c"
annotate_ignore_write.stderr.exp 4 Location 0x........ is 0 bytes inside global var "s_b"
9 Location 0x........ is 0 bytes inside global var "s_c"
14 Location 0x........ is 0 bytes inside global var "s_a"
  /external/valgrind/main/memcheck/tests/
dw4.stderr.exp 4 Address 0x........ is 4 bytes inside a block of size ... alloc'd
11 Location 0x........ is 0 bytes inside S2[0].i,
17 Location 0x........ is 0 bytes inside local.i,
realloc3.stderr.exp 3 Address 0x........ is 15 bytes after a block of size 5 alloc'd
9 Address 0x........ is 15 bytes after a block of size 5 alloc'd
15 Address 0x........ is 15 bytes after a block of size 5 alloc'd
  /hardware/ti/omap4xxx/camera/
MemoryManager.cpp 46 void* MemoryManager::allocateBuffer(int width, int height, const char* format, int &bytes, int numBufs)
77 if(bytes != 0)
85 int ret = ion_alloc(mIonFd, bytes, 0, 1 << ION_HEAP_TYPE_CARVEOUT, &handle);
92 CAMHAL_LOGDB("Before mapping, handle = %x, nSize = %d", handle, bytes);
93 if ((ret = ion_map(mIonFd, handle, bytes, PROT_READ | PROT_WRITE, MAP_SHARED, 0,
103 mIonBufLength.add(bufsArr[i], (unsigned int) bytes);
107 else // If bytes is not zero, then it is a 2-D tiler buffer request
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
BitmapUtil.java 40 public static int getSmallerExtentFromBytes(byte[] bytes) {
45 BitmapFactory.decodeByteArray(bytes, 0, bytes.length, options);
81 public static Bitmap decodeBitmapFromBytes(byte[] bytes, int sampleSize) {
89 return BitmapFactory.decodeByteArray(bytes, 0, bytes.length, options);
  /prebuilts/misc/common/swig/include/2.0.11/gcj/
cni.i 17 extern jstring JvNewStringLatin1 (const char *bytes, jsize len);
19 extern jstring JvNewStringLatin1 (const char *bytes);
27 extern jstring JvNewStringUTF (const char *bytes);
  /external/libvterm/src/
parser.c 26 // Extract leader bytes 0x3c to 0x3f
87 fprintf(stderr, "libvterm: TODO unhandled CSI bytes \"%.*s\"\n", (int)(arglen - i), args + i);
110 fprintf(stderr, "Truncating strbuffer preserve to %zd bytes\n", len);
190 void vterm_push_bytes(VTerm *vt, const char *bytes, size_t len)
205 string_start = bytes;
209 #define ENTER_STRING_STATE(st) do { vt->parser_state = st; string_start = bytes + pos + 1; } while(0)
213 unsigned char c = bytes[pos];
217 append_strbuffer(vt, string_start, bytes + pos - string_start);
218 string_start = bytes + pos + 1;
241 append_strbuffer(vt, string_start, bytes + pos - string_start)
    [all...]
  /external/chromium_org/chromeos/cryptohome/
cryptohome_parameters.cc 85 if (other.bytes)
86 bytes.reset(new std::string(*other.bytes));
95 const std::string& bytes)
97 bytes(new std::string(bytes)) {
103 bytes.reset(other.bytes ? new std::string(*other.bytes) : NULL);
112 const bool has_bytes = bytes;
    [all...]
  /external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/system/impl/
CoreImplTest.java 95 // Writing a random 8 bytes message.
96 byte[] bytes = new byte[8];
97 random.nextBytes(bytes);
98 ByteBuffer buffer = ByteBuffer.allocateDirect(bytes.length);
99 buffer.put(bytes);
103 ByteBuffer receiveBuffer = ByteBuffer.allocateDirect(bytes.length / 2);
107 assertEquals(bytes.length, result.getMessageSize());
111 receiveBuffer = ByteBuffer.allocateDirect(bytes.length);
114 assertEquals(bytes.length, result.getMessageSize());
120 assertTrue(Arrays.equals(bytes, receivedBytes))
    [all...]
  /external/blktrace/btt/
trace_queue.c 32 update_q_histo(q_iop->t.bytes);
46 if (q_iop->t.bytes == 0)
  /external/chromium_org/base/memory/
discardable_memory_ashmem.cc 13 size_t bytes,
16 : bytes_(bytes),
  /external/chromium_org/content/browser/webui/
url_data_source_impl.h 56 // Report that a request has resulted in the data |bytes|.
57 // If the request can't be satisfied, pass NULL for |bytes| to indicate
59 virtual void SendResponse(int request_id, base::RefCountedMemory* bytes);
76 scoped_refptr<base::RefCountedMemory> bytes);
  /external/chromium_org/content/common/
resource_request_body.cc 13 void ResourceRequestBody::AppendBytes(const char* bytes, int bytes_len) {
16 elements_.back().SetToBytes(bytes, bytes_len);
  /external/chromium_org/crypto/
ghash.h 44 // Finish completes the hash computation and writes at most |len| bytes of
70 // UpdateBlocks processes |num_blocks| 16-bytes blocks from |bytes|.
71 void UpdateBlocks(const uint8* bytes, size_t num_blocks);
72 // Update processes |length| bytes from |bytes| and calls UpdateBlocks on as
74 // always consumes all of |bytes|.
75 void Update(const uint8* bytes, size_t length);
  /external/chromium_org/mojo/public/c/system/
message_pipe.h 101 // with message data specified by |bytes| of size |num_bytes| and attached
103 // by |flags|. If there is no message data, |bytes| may be null, in which case
130 const void* bytes, // Optional.
138 // discard the next message. |bytes|/|*num_bytes| indicate the buffer/buffer
145 // of bytes and number of attached handles in the "next" message, respectively,
146 // whether that message was read or not. (If null, the number of bytes/handles
149 // If |bytes| is null, then |*num_bytes| must be zero, and similarly for
162 // message/attached handles (|bytes|/|*num_bytes| or
169 void* bytes, // Optional out.

Completed in 4244 milliseconds

<<21222324252627282930>>