/external/dexmaker/src/dx/java/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);
|
/frameworks/volley/tests/src/com/android/volley/toolbox/ |
ImageRequestTest.java | 90 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 94 bytes.write(buffer, 0, count); 97 return bytes.toByteArray();
|
/libcore/luni/src/test/etc/loading-test-jar/ |
TestMethods.java | 69 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 73 return bytes.toByteArray(); 75 bytes.write(buffer, 0, byteCount);
|
/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;
|
/cts/tests/tests/security/jni/ |
android_security_cts_NetlinkSocket.cpp | 45 void *bytes = (void *)e->GetByteArrayElements(packet, NULL); local 48 struct iovec iov = {bytes, length}; 57 e->ReleaseByteArrayElements(packet, (jbyte*)bytes, 0);
|
/external/bison/lib/ |
bitsetv.c | 33 size_t bytes; local 37 /* Determine number of bytes for each set. */ 38 bytes = bitset_bytes (type, n_bits); 41 if (BITSET_SIZE_MAX / (sizeof (bitset) + bytes) <= n_vecs) 45 vector_bytes = (n_vecs + 1) * sizeof (bitset) + bytes - 1; 46 vector_bytes -= vector_bytes % bytes; 47 bsetv = xcalloc (1, vector_bytes + bytes * n_vecs); 51 bsetv[i] = (bitset) (void *) ((char *) bsetv + vector_bytes + i * bytes);
|
/external/chromium_org/cc/resources/ |
texture_uploader_unittest.cc | 122 const uint8* bytes = static_cast<const uint8*>(pixels); variable 129 bytes + (xoffset * bytes_per_pixel + (yoffset + row) * stride);
|
/external/chromium_org/chrome/browser/chromeos/power/ |
freezer_cgroup_process_manager.cc | 60 int bytes = base::WriteFile(state_path_, command.c_str(), command.size()); local 61 if (bytes == -1) { 65 } else if (bytes != static_cast<int>(command.size())) { 66 LOG(ERROR) << "Only wrote " << bytes << " byte(s) when writing "
|
/external/chromium_org/extensions/browser/api/system_cpu/ |
cpu_info_provider_win.cc | 44 bytes = sizeof(SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION) * local 49 bytes,
|
/external/chromium_org/gin/ |
array_buffer.h | 33 void* bytes() const { return bytes_; } function in class:gin::ArrayBuffer 59 void* bytes() const { function in class:gin::ArrayBufferView 60 return static_cast<uint8_t*>(array_buffer_.bytes()) + offset_;
|
/external/chromium_org/media/midi/ |
usb_midi_device_android.cc | 54 std::vector<uint8> bytes; local 55 base::android::JavaByteArrayToByteVector(env, data, &bytes); 57 const uint8* head = bytes.size() ? &bytes[0] : NULL; 58 delegate_->ReceiveUsbMidiData(this, endpoint_number, head, bytes.size(),
|
/external/chromium_org/net/base/ |
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/net/quic/ |
quic_protocol_test.cc | 29 char bytes[4]; local 30 memcpy(bytes, &tag, 4); 31 EXPECT_EQ('A', bytes[0]); 32 EXPECT_EQ('B', bytes[1]); 33 EXPECT_EQ('C', bytes[2]); 34 EXPECT_EQ('D', bytes[3]);
|
/external/chromium_org/ppapi/tests/ |
test_buffer.cc | 46 unsigned char* bytes = static_cast<unsigned char *>(buffer.data()); local 48 if (bytes[index] != 0)
|
test_x509_certificate_private.cc | 49 char* bytes = static_cast<char*>(array_buffer.Map()); local 53 return std::equal(expected, expected + expected_length, bytes);
|
/external/chromium_org/printing/ |
image_win.cc | 81 size_t bytes = row_length_ * size_.height(); local 82 DCHECK(bytes); 84 data_.assign(bits, bits + bytes);
|
/external/chromium_org/remoting/host/win/ |
wts_terminal_monitor.cc | 35 DWORD bytes; local 41 &bytes)) { 46 (bytes / sizeof(wchar_t)) - 1,
|
/external/chromium_org/rlz/lib/ |
crc8_unittest.cc | 30 unsigned char* bytes; local 35 bytes = reinterpret_cast<unsigned char*>(data[i].string); 41 rlz_lib::Crc8::Generate(bytes, length, &crc); 43 rlz_lib::Crc8::Verify(bytes, length, crc, &matches); 48 rlz_lib::Crc8::Verify(bytes, length, crc, &matches);
|
/external/chromium_org/third_party/WebKit/Source/modules/beacon/ |
NavigatorBeacon.cpp | 102 int bytes = 0; local 103 bool result = BeaconLoader::sendBeacon(m_navigator.frame(), maxAllowance(), url, data, bytes); 104 return beaconResult(context, result, bytes); 118 int bytes = 0; local 119 bool result = BeaconLoader::sendBeacon(m_navigator.frame(), maxAllowance(), url, data, bytes); 120 return beaconResult(context, result, bytes); 134 int bytes = 0; local 135 bool result = BeaconLoader::sendBeacon(m_navigator.frame(), maxAllowance(), url, data, bytes); 136 return beaconResult(context, result, bytes); 150 int bytes = 0 local [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
CString.cpp | 92 char* bytes = result.m_buffer->mutableData(); local 93 bytes[length] = '\0'; 94 characterBuffer = bytes;
|
TextCodecUTF16.cpp | 70 String TextCodecUTF16::decode(const char* bytes, size_t length, FlushBehavior flush, bool, bool& sawError) 84 const unsigned char* p = reinterpret_cast<const unsigned char*>(bytes); 139 // character buffer, each character is two bytes, and we know 145 char* bytes; local 146 CString result = CString::newUninitialized(length * 2, bytes); 153 bytes[i * 2] = c; 154 bytes[i * 2 + 1] = c >> 8; 159 bytes[i * 2] = c >> 8; 160 bytes[i * 2 + 1] = c; 172 char* bytes; local [all...] |
TextCodecUserDefined.cpp | 52 String TextCodecUserDefined::decode(const char* bytes, size_t length, FlushBehavior, bool, bool&) 58 signed char c = bytes[i]; 69 char* bytes = result.data(); local 77 bytes[resultLength++] = signedByte; 83 bytes = result.data(); 84 memcpy(bytes + resultLength, replacement, replacementLength); 89 return CString(bytes, resultLength); 95 char* bytes; local 96 CString result = CString::newUninitialized(length, bytes); 102 bytes[i] = c [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/ |
Uniform.cpp | 33 size_t bytes = dataSize(); local 34 data = new unsigned char[bytes]; 35 memset(data, 0, bytes);
|
/external/chromium_org/third_party/boringssl/src/include/openssl/ |
des.h | 68 uint8_t bytes[8]; member in struct:DES_cblock_st 95 * single DES block (8 bytes) from in to out, using the key configured in 102 * bytes from |in| to |out| with DES in CBC mode. */ 109 * bytes from |in| to |out| with 3DES in CBC mode. 3DES uses three keys, thus
|
/external/chromium_org/third_party/icu/source/common/unicode/ |
bytestriebuilder.h | 57 * The bytes will be copied; the builder does not keep 176 char *bytes; member in class:BytesTrieBuilder
|