/external/chromium_org/base/ |
guid_unittest.cc | 28 uint64 bytes[] = { 0, 0 }; local 29 std::string clientid = base::RandomDataToGUIDString(bytes); 34 uint64 bytes[] = { 0x0123456789ABCDEFULL, 0xFEDCBA9876543210ULL }; local 35 std::string clientid = base::RandomDataToGUIDString(bytes);
|
/external/chromium_org/components/rappor/ |
rappor_metric.h | 43 const ByteVector& bytes() const { return bloom_filter_.bytes(); } function in class:rappor::RapporMetric 53 // Specify the bytes to generate a report from, for testing purposes. 54 void SetBytesForTesting(const ByteVector& bytes);
|
/external/chromium_org/content/child/npapi/ |
plugin_stream_win.cc | 26 DWORD bytes; local 28 if (!WriteFile(temp_file_handle_, buf, length, &bytes, 0)) 31 return static_cast<size_t>(bytes);
|
/external/chromium_org/content/child/webcrypto/ |
crypto_data.h | 19 // Helper to pass around a range of immutable bytes. This is conceptually 29 CryptoData(const unsigned char* bytes, unsigned int byte_length); 33 explicit CryptoData(const std::vector<unsigned char>& bytes); 34 explicit CryptoData(const std::string& bytes); 35 explicit CryptoData(const blink::WebVector<unsigned char>& bytes); 37 const unsigned char* bytes() const { return bytes_; } function in class:content::webcrypto::CryptoData
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
ArrayPiece.cpp | 53 unsigned char* ArrayPiece::bytes() const function in class:WTF::ArrayPiece
|
/external/chromium_org/third_party/cython/src/Cython/Tempita/ |
compat3.py | 3 __all__ = ['b', 'basestring_', 'bytes', 'next', 'is_unicode'] 6 b = bytes = str 13 return bytes(s) 14 basestring_ = (bytes, str) 15 bytes = bytes variable 44 return bytes(v)
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_linear.c | 42 size_t bytes = t->cols * t->block.size; local 51 ptr = (char*)src_ptr + src_stride * t->rows * y + bytes * x; 53 memcpy(dst_ptr2, ptr, bytes); 54 dst_ptr2 += bytes; 66 size_t bytes = t->cols * t->block.size; local 73 ptr = (char*)dst_ptr + dst_stride * t->rows * y + bytes * x; 75 memcpy(ptr, src_ptr2, bytes); 76 src_ptr2 += bytes;
|
/external/chromium_org/third_party/mesa/src/src/glx/apple/ |
glxreply.c | 40 const GLint bytes = (reply_is_always_array) local 42 const GLint extra = 4 - (bytes & 3); 44 _XRead(dpy, dest, bytes);
|
/external/chromium_org/third_party/webrtc/base/ |
fileutils_unittest.cc | 32 size_t bytes; local 36 EXPECT_EQ(SR_SUCCESS, fs->Write("test", 4, &bytes, NULL)); 37 EXPECT_EQ(4U, bytes); 44 EXPECT_EQ(SR_SUCCESS, fs->Read(buf, sizeof(buf), &bytes, NULL)); 45 EXPECT_EQ(4U, bytes);
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
ByteArrayByteInput.java | 21 private final byte[] bytes; field in class:ByteArrayByteInput 24 public ByteArrayByteInput(byte... bytes) { 25 this.bytes = bytes; 29 return bytes[position++];
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
Platform.java | 39 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 41 ObjectOutputStream out = new ObjectOutputStream(bytes); 44 new ByteArrayInputStream(bytes.toByteArray()));
|
/external/lldb/include/lldb/Host/ |
Endian.h | 22 uint8_t bytes[sizeof(uint32_t)]; member in union:lldb::endian::EndianTest 25 inline ByteOrder InlHostByteOrder() { return (ByteOrder)endianTest.bytes[0]; } 27 // ByteOrder const InlHostByteOrder = (ByteOrder)endianTest.bytes[0];
|
/external/ltrace/sysdeps/linux-gnu/ |
breakpoint.c | 63 unsigned char *bytes = (unsigned char *)&a; local 65 sbp->orig_value[i * sizeof(long) + j] = bytes[j]; 66 bytes[j] = break_insn[i * sizeof(long) + j]; 113 unsigned char *bytes = (unsigned char *)&a; local 115 bytes[j] = sbp->orig_value[i * sizeof(long) + j];
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_linear.c | 42 size_t bytes = t->cols * t->block.size; local 51 ptr = (char*)src_ptr + src_stride * t->rows * y + bytes * x; 53 memcpy(dst_ptr2, ptr, bytes); 54 dst_ptr2 += bytes; 66 size_t bytes = t->cols * t->block.size; local 73 ptr = (char*)dst_ptr + dst_stride * t->rows * y + bytes * x; 75 memcpy(ptr, src_ptr2, bytes); 76 src_ptr2 += bytes;
|
/external/mesa3d/src/glx/apple/ |
glxreply.c | 40 const GLint bytes = (reply_is_always_array) local 42 const GLint extra = 4 - (bytes & 3); 44 _XRead(dpy, dest, bytes);
|
/external/qemu/backends/ |
msmouse.c | 38 unsigned char bytes[4] = { 0x40, 0x00, 0x00, 0x00 }; local 41 bytes[0] |= (MSMOUSE_HI2(dy) << 2) | MSMOUSE_HI2(dx); 42 bytes[1] |= MSMOUSE_LO6(dx); 43 bytes[2] |= MSMOUSE_LO6(dy); 46 bytes[0] |= (buttons_state & 0x01 ? 0x20 : 0x00); 47 bytes[0] |= (buttons_state & 0x02 ? 0x10 : 0x00); 48 bytes[3] |= (buttons_state & 0x04 ? 0x20 : 0x00); 53 qemu_chr_read(chr, bytes, 4);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
NdefRecordTest.java | 15 byte[] bytes = "mumble".getBytes(); 16 NdefRecord ndefRecord = new NdefRecord(bytes); 18 assertSame(ndefRecord.getPayload(), bytes); local
|
/external/strace/test/ |
ubi.c | 17 .bytes = 1125899906842624ULL, 23 .bytes = 1125899906842624ULL, 35 uint64_t bytes = ((uint64_t)1 << 50) | 0x123; local 41 ioctl(fd, UBI_IOCVOLUP, &bytes);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
AudioSample.java | 23 public final byte[] bytes; field in class:AudioSample 25 public AudioSample(int sampleRate, int channelCount, byte[] bytes) { 28 this.bytes = bytes;
|
/frameworks/base/tools/layoutlib/bridge/src/dalvik/system/ |
VMRuntime_Delegate.java | 33 // Dalvik has 32bit pointers, the array header is 16bytes plus 4bytes for dlmalloc, 34 // allocations are 8byte aligned so having 4bytes of array data avoids padding. 39 int bytes = 20 + (2 * minLength); local 40 int alignedUpBytes = (bytes + 7) & -8; 48 int bytes = 20 + minLength; local 49 int alignedUpBytes = (bytes + 7) & -8; 54 int bytes = 20 + minLength; local 55 int alignedUpBytes = (bytes + 7) & -8; 60 int bytes = 20 + (2 * minLength) local [all...] |
/libcore/dex/src/main/java/com/android/dex/util/ |
ByteArrayByteInput.java | 21 private final byte[] bytes; field in class:ByteArrayByteInput 24 public ByteArrayByteInput(byte... bytes) { 25 this.bytes = bytes; 29 return bytes[position++];
|
/libcore/luni/src/main/java/java/io/ |
InputStreamReader.java | 33 * of bytes read from the source stream and converts these into characters as 45 private final ByteBuffer bytes = ByteBuffer.allocate(8192); field in class:InputStreamReader 62 * character converter that is used to decode bytes into characters is 90 bytes.limit(0); 107 bytes.limit(0); 125 bytes.limit(0); 151 * bytes, or null if this writer has been closed. Most callers should probably keep 164 * with the two higher-order bytes set to 0. Returns -1 if the end of the 166 * converting bytes in this reader's buffer or by first filling the buffer 189 * been reached. The bytes are either obtained from converting bytes in thi [all...] |
/dalvik/dexgen/src/com/android/dexgen/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);
|
/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);
|
/development/samples/Vault/src/com/example/android/vault/ |
Utils.java | 61 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 65 bytes.write(buffer, 0, count); 67 return bytes.toByteArray();
|