HomeSort by relevance Sort by last modified time
    Searched full:bytes (Results 476 - 500 of 16566) sorted by null

<<11121314151617181920>>

  /external/chromium_org/webkit/common/
data_element.h 21 // bytes, file or blob data.
36 const char* bytes() const { return bytes_ ? bytes_ : &buf_[0]; } function in class:webkit_common::DataElement
47 void SetToBytes(const char* bytes, int bytes_len) {
49 buf_.assign(bytes, bytes + bytes_len);
55 void SetToSharedBytes(const char* bytes, int bytes_len) {
57 bytes_ = bytes;
105 return memcmp(a.bytes(), b.bytes(), b.length()) == 0;
  /external/openssl/crypto/rand/
rand_egd.c 66 * RAND_query_egd_bytes(path, buf, bytes)
67 * will actually query "bytes" bytes of entropy form the egd-socket located
70 * The number of bytes is not limited by the maximum chunk size of EGD,
71 * which is 255 bytes. If more than 255 bytes are wanted, several chunks
72 * of entropy bytes are requested. The connection is left open until the
76 * num the number of bytes read from the EGD socket. This number is either
77 * the number of bytes requested or smaller, if the EGD pool is
82 * RAND_egd_bytes(path, bytes) will query "bytes" bytes and have the
    [all...]
  /external/qemu/audio/
noaudio.c 47 int64_t bytes; local
51 bytes = muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ());
52 bytes = audio_MIN (bytes, INT_MAX);
53 samples = bytes >> hw->info.shift;
107 int64_t bytes = local
111 bytes = audio_MIN (bytes, INT_MAX);
112 samples = bytes >> hw->info.shift;
  /frameworks/av/media/libstagefright/codecs/avc/enc/src/
sad_inline.h 52 x7 = x7 ^ src1; /* only odd bytes need to add carry */
116 x5 = x5 + x10; /* accumulate low bytes */
118 x4 = x4 + ((uint32)x10 >> 8); /* accumulate high bytes */
119 x5 = x5 + x11; /* accumulate low bytes */
121 x4 = x4 + ((uint32)x11 >> 8); /* accumulate high bytes */
135 x5 = x5 + x10; /* accumulate low bytes */
137 x4 = x4 + ((uint32)x10 >> 8); /* accumulate high bytes */
138 x5 = x5 + x11; /* accumulate low bytes */
140 x4 = x4 + ((uint32)x11 >> 8); /* accumulate high bytes */
143 x10 = x5 - (x4 << 8); /* extract low bytes */
    [all...]
  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
sad_inline.h 55 x7 = x7 ^ src1; /* only odd bytes need to add carry */
119 x5 = x5 + x10; /* accumulate low bytes */
121 x4 = x4 + ((uint32)x10 >> 8); /* accumulate high bytes */
122 x5 = x5 + x11; /* accumulate low bytes */
124 x4 = x4 + ((uint32)x11 >> 8); /* accumulate high bytes */
138 x5 = x5 + x10; /* accumulate low bytes */
140 x4 = x4 + ((uint32)x10 >> 8); /* accumulate high bytes */
141 x5 = x5 + x11; /* accumulate low bytes */
143 x4 = x4 + ((uint32)x11 >> 8); /* accumulate high bytes */
146 x10 = x5 - (x4 << 8); /* extract low bytes */
    [all...]
  /libcore/luni/src/main/java/java/nio/channels/
GatheringByteChannel.java 30 * Writes bytes from all the given buffers to a channel.
35 * the buffers containing bytes to be written.
36 * @return the number of bytes actually written.
59 * Attempts to write all <code>remaining()</code> bytes from {@code length}
61 * of bytes actually written is returned.
67 * the array of byte buffers that is the source for bytes written
70 * the index of the first buffer in {@code buffers }to get bytes
73 * the number of buffers to get bytes from.
74 * @return the number of bytes actually written.
ScatteringByteChannel.java 30 * Reads bytes from this channel into the specified array of buffers.
35 * the array of byte buffers to store the bytes being read.
36 * @return the number of bytes actually read.
55 * Attempts to read all {@code remaining()} bytes from {@code length} byte
57 * bytes actually read is returned.
63 * the array of byte buffers into which the bytes will be copied.
65 * the index of the first buffer to store bytes in.
67 * the maximum number of buffers to store bytes in.
68 * @return the number of bytes actually read.
  /external/chromium_org/content/common/gpu/
gpu_memory_manager.h 116 // sum_i min(bytes[i], cap) <= bytes_sum_limit
117 static uint64 ComputeCap(std::vector<uint64> bytes, uint64 bytes_sum_limit);
124 // bytes above client_state's required level. Allow at most
125 // bytes_above_minimum_cap bytes above client_state's minimum level. Allow
126 // at most bytes_overall_cap bytes total.
164 // Get the current number of bytes allocated.
195 void TestingSetAvailableGpuMemory(uint64 bytes) {
196 bytes_available_gpu_memory_ = bytes;
200 void TestingSetMinimumClientAllocation(uint64 bytes) {
201 bytes_minimum_per_client_ = bytes;
    [all...]
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
Input.java 35 * bytes read from this instance.
118 * @param bytes non-null; the buffer to read the data into
119 * @param offset &gt;= 0; offset into <code>bytes</code> for the first
121 * @param length &gt;= 0; number of bytes to read
123 public void read(byte[] bytes, int offset, int length);
127 * a convenient shorthand for <code>read(bytes, 0, bytes.length)</code>.
129 * @param bytes non-null; the buffer to read the data into
131 public void read(byte[] bytes);
137 * @param length &gt;= 0; number of bytes to rea
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio_char/tests/java/nio/charset/
CharsetEncoderTest.java 155 * Test reserve bytes encode(CharBuffer,ByteBuffer,boolean)
162 ByteBuffer bytes = ByteBuffer.allocate(4); local
166 CoderResult result = encoder.encode(char1, bytes, false);
169 assertEquals(4, bytes.remaining());
171 result = encoder.encode(char2, bytes, true);
175 assertEquals(0, bytes.remaining());
178 assertEquals(4, bytes.limit());
179 assertEquals((byte) 0xf0, bytes.get(0));
180 assertEquals((byte) 0x90, bytes.get(1));
181 assertEquals((byte) 0x80, bytes.get(2))
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
Fingerprint.java 43 // 16 bytes for 128-bit fingerprint
61 // md5 digest bytes.
67 public Fingerprint(byte[] bytes) {
68 if ((bytes == null) || (bytes.length != FINGERPRINT_BYTE_LENGTH)) {
71 mMd5Digest = bytes;
87 byte[] bytes = new byte[8192];
90 int n = in.read(bytes);
111 // decode the hex bytes of the fingerprint portion
112 byte[] bytes = new byte[FINGERPRINT_BYTE_LENGTH]
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/input/
TeeInputStream.java 24 * InputStream proxy that transparently writes a copy of all bytes read
27 * bytes from the input stream being skipped or duplicated in the output
40 * The output stream that will receive a copy of all bytes read from the
53 * and copies all read bytes to the given {@link OutputStream}. The given
57 * @param branch output stream that will receive a copy of all bytes read
65 * and copies all read bytes to the given {@link OutputStream}. The given
70 * @param branch output stream that will receive a copy of all bytes read
114 * Reads bytes from the proxied input stream and writes the read bytes
119 * @param end maximum number of bytes to read
    [all...]
  /external/chromium_org/chrome/test/perf/
perf_test.cc 320 browser_peak_virtual_size, "bytes",
323 browser_peak_working_set_size, "bytes",
326 renderer_total_peak_virtual_size, "bytes",
329 renderer_total_peak_working_set_size, "bytes",
332 renderer_single_peak_virtual_size, "bytes",
335 renderer_single_peak_working_set_size, "bytes",
338 browser_virtual_size, "bytes",
341 browser_working_set_size, "bytes",
344 renderer_virtual_size, "bytes",
347 renderer_working_set_size, "bytes",
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
MessageDigest1Test.java 59 final byte[] bytes = { 1, 2, 3, 4, 5 };
60 md.update(bytes, 1, 2);
72 md.update(bytes, 0, bytes.length + 1);
78 md.update(bytes, Integer.MAX_VALUE, 1);
88 assertSame("buf", bytes, arg0);
94 md.update(bytes, offset, len);
153 final byte[] bytes = new byte[] { 2, 4, 1 };
162 md.digest(bytes, 0, bytes.length + 1)
    [all...]
  /dalvik/dx/src/com/android/dx/cf/direct/
DirectClassFile.java 83 /** {@code non-null;} the bytes of the file */
84 private final ByteArray bytes; field in class:DirectClassFile
169 * @param bytes {@code non-null;} the bytes of the file
177 public DirectClassFile(ByteArray bytes, String filePath,
179 if (bytes == null) {
180 throw new NullPointerException("bytes == null");
188 this.bytes = bytes;
196 * @param bytes {@code non-null;} the bytes of the fil
574 private final ByteArray bytes; field in class:DirectClassFile.DcfTypeList
    [all...]
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/
BinaryExporter.java 49 * denotes a series of bytes that follows sequentially one after the next.)
51 * 1. "number of classes" - four bytes - int value representing the number of
59 * 2. "class alias" - 1...X bytes, where X = ((int) FastMath.log(aliasCount,
64 * 3. "full class name size" - four bytes - int value representing number of
65 * bytes to read in for next field.
68 * 4. "full class name" - 1...X bytes representing a String value, where X = the
73 * 5. "number of fields" - four bytes - int value representing number of blocks
88 * 8. "field name size" - 4 bytes - int value representing the size of the next
92 * 9. "field name" - 1...X bytes representing a String value, where X = the
97 * 10. "number of unique objects" - four bytes - int value representing th
    [all...]
  /art/runtime/base/unix_file/
random_access_file.h 43 // Reads 'byte_count' bytes into 'buf' starting at offset 'offset' in the
44 // file. Returns the number of bytes actually read.
50 // bytes occurred. Returns 0 on success.
56 // Writes 'byte_count' bytes from 'buf' starting at offset 'offset' in the
58 // a write of the relevant number of zero bytes also occurred. Returns the
59 // number of bytes actually written.
  /art/test/102-concurrent-gc/src/
Main.java 24 public byte[] bytes; field in class:Main.ByteContainer
37 l[index].bytes = new byte[bufferSize];
57 byte[] temp = l[a].bytes;
58 l[a].bytes = l[b].bytes;
59 l[b].bytes = temp;
  /external/chromium/net/socket/
socket.h 20 // Reads data, up to buf_len bytes, from the socket. The number of bytes read
34 // Writes data, up to buf_len bytes, to the socket. Note: only part of the
35 // data may be written! The number of bytes written is returned, or an error
49 // Set the receive buffer size (in bytes) for the socket.
54 // Set the send buffer size (in bytes) for the socket.
  /external/chromium_org/mojo/system/
message_pipe_dispatcher.cc 49 const void* bytes, uint32_t num_bytes,
57 if (!VerifyUserPointer<void>(bytes, num_bytes))
63 bytes, num_bytes,
69 void* bytes, uint32_t* num_bytes,
78 if (!VerifyUserPointer<void>(bytes, *num_bytes))
83 bytes, num_bytes,
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
memory_pool.c 71 void * memory_pool_malloc(struct memory_pool * pool, unsigned int bytes)
73 if (bytes < POOL_LARGE_ALLOC) {
76 if (pool->head + bytes > pool->end)
79 assert(pool->head + bytes <= pool->end);
83 pool->head += bytes;
88 struct memory_block * block = (struct memory_block*)malloc(bytes + sizeof(struct memory_block));
  /external/chromium_org/ui/base/text/
bytes_formatting.h 19 UI_EXPORT base::string16 FormatBytes(int64 bytes);
24 UI_EXPORT base::string16 FormatSpeed(int64 bytes);
37 // Return the unit type that is appropriate for displaying the amount of bytes
40 UI_EXPORT DataUnits GetByteDisplayUnits(int64 bytes);
46 UI_EXPORT base::string16 FormatBytesWithUnits(int64 bytes,
53 base::string16 FormatSpeedWithUnits(int64 bytes,
  /external/kernel-headers/original/asm-arm/
ucontext.h 34 * these should be a multiple of eight bytes and aligned to eight
35 * bytes, to prevent unpredictable padding in the signal frame.
50 /* iwmmxt_area is 0x98 bytes long, preceded by 8 bytes of signature */
73 * 8 byte for magic and size, 264 byte for ufp, 12 bytes for ufp_exc,
74 * 4 bytes padding.
  /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/mesa3d/src/gallium/drivers/r300/compiler/
memory_pool.c 71 void * memory_pool_malloc(struct memory_pool * pool, unsigned int bytes)
73 if (bytes < POOL_LARGE_ALLOC) {
76 if (pool->head + bytes > pool->end)
79 assert(pool->head + bytes <= pool->end);
83 pool->head += bytes;
88 struct memory_block * block = (struct memory_block*)malloc(bytes + sizeof(struct memory_block));

Completed in 2749 milliseconds

<<11121314151617181920>>