/external/chromium_org/gpu/command_buffer/tests/ |
gl_gpu_memory_buffer_unittests.cc | 120 size_t bytes = kImageWidth * kImageHeight * kImageBytesPerPixel; local 127 shared_memory.CreateAnonymous(bytes); 164 shared_memory.Map(bytes);
|
/external/chromium_org/native_client_sdk/src/libraries/xray/ |
hashtable.c | 154 size_t bytes; local 167 bytes = sizeof(table->array[0]) * capacity; 170 table->array = (struct XRayHashTableEntry*)XRayMalloc(bytes);
|
/external/chromium_org/net/disk_cache/ |
file_posix.cc | 142 int bytes = operation->result(); local 146 callback->OnFileIOComplete(bytes);
|
/external/chromium_org/net/tools/flip_server/ |
flip_in_mem_edsm_server.cc | 150 int bytes = static_cast<int>(strlen(pid_str)); local 151 if (write(fd, pid_str, strlen(pid_str)) != bytes) {
|
/external/chromium_org/ppapi/tests/ |
test_flash_clipboard.cc | 141 char* bytes = static_cast<char*>(array_buffer.Map()); local 142 std::copy(rtf_string.data(), rtf_string.data() + rtf_string.size(), bytes); 163 ASSERT_TRUE(std::equal(bytes, bytes + array_buffer.ByteLength(), 172 char* bytes = static_cast<char*>(array_buffer.Map()); local 173 std::copy(custom_data.begin(), custom_data.end(), bytes); 198 ASSERT_TRUE(std::equal(bytes, bytes + array_buffer.ByteLength(),
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
DataView.cpp | 39 char bytes[sizeof(T)]; member in union:__anon12591::Value 142 memcpy(value.bytes, static_cast<const char*>(m_baseAddress) + byteOffset, sizeof(T)); 143 flipBytesIfNeeded(value.bytes, sizeof(T), littleEndian); 158 flipBytesIfNeeded(tempValue.bytes, sizeof(T), littleEndian); 159 memcpy(static_cast<char*>(m_baseAddress) + byteOffset, tempValue.bytes, sizeof(T));
|
/external/chromium_org/third_party/WebKit/Source/core/platform/network/ |
FormData.cpp | 258 Vector<char> bytes; local 259 flatten(bytes); 260 return Latin1Encoding().decode(reinterpret_cast<const char*>(bytes.data()), bytes.size());
|
/external/chromium_org/third_party/icu/source/io/ |
ufmt_cmn.c | 170 uint8_t bytes[sizeof(void*)]; member in union:__anon13427 214 result.bytes[resultIdx] = byte;
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
convtest.h | 38 const uint8_t *bytes; member in struct:ConversionCase
|
/external/chromium_org/third_party/libevent/ |
event_tagging.c | 124 int bytes = 0; local 135 data[bytes++] = lower; 139 evbuffer_add(evbuf, data, bytes); 141 return (bytes); 184 * tag number: one byte; length: var bytes; payload: var bytes
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
stream_unittest.cc | 93 size_t bytes; local 97 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); 98 EXPECT_EQ(bytes, kBufSize); 100 EXPECT_TRUE(stream->GetPosition(&bytes)); 101 EXPECT_EQ(13U, bytes); 105 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); 106 EXPECT_EQ(bytes, kBufSize); 108 EXPECT_TRUE(stream->GetPosition(&bytes)); 109 EXPECT_EQ(20U, bytes); 125 size_t bytes; local 183 size_t bytes; local 462 char bytes[100]; local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
fakenetworkinterface.h | 70 int bytes = 0; local 72 bytes += static_cast<int>(rtp_packets_[i].length()); 74 return bytes; 79 int bytes = 0; local 80 GetNumRtpBytesAndPackets(ssrc, &bytes, NULL); 81 return bytes; 206 void GetNumRtpBytesAndPackets(uint32 ssrc, int* bytes, int* packets) { 207 if (bytes) { 208 *bytes = 0; 220 if (bytes) { [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
lp_bld_debug.cpp | 141 const uint8_t *Bytes; 144 BufferMemoryObject(const uint8_t *bytes, uint64_t length) : 145 Bytes(bytes), Length(length) 163 *byte = Bytes[addr]; 183 const uint8_t *bytes = (const uint8_t *)func; local 290 BufferMemoryObject memoryObject((const uint8_t *)bytes, extent); 317 * Output the bytes in hexidecimal format. 323 debug_printf("%02x ", ((const uint8_t*)bytes)[pc + i]); 423 debug_printf("disassemble %p %p\n", bytes, bytes + pc) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/ |
nv50_transfer.c | 227 unsigned bytes = MIN2(size, 1 << 17); local 236 PUSH_DATA (push, bytes); 241 srcoff += bytes; 242 dstoff += bytes; 243 size -= bytes;
|
/external/chromium_org/third_party/mesa/src/src/glsl/ |
main.cpp | 83 size_t bytes = fread(text + total_read, local 85 if (bytes < size - total_read) { 91 if (bytes == 0) { 95 total_read += bytes;
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_dma.c | 216 aligned to next 16 bytes. */ 267 int bytes, int alignment) 270 fprintf(stderr, "%s %d\n", __FUNCTION__, bytes); 281 || rmesa->dma.current_used + bytes > first_elem(&rmesa->dma.reserved)->bo->size) 282 radeonRefillCurrentDmaRegion(rmesa, bytes); 288 /* Always align to at least 16 bytes */ 289 rmesa->dma.current_used = (rmesa->dma.current_used + bytes + 15) & ~15; 454 GLuint bytes = vsize * nverts; local 460 ||rmesa->dma.current_vertexptr + bytes > first_elem(&rmesa->dma.reserved)->bo->size) { 465 radeonRefillCurrentDmaRegion(rmesa, bytes); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_texture.c | 70 GLuint bytes = _mesa_format_image_size(texImage->TexFormat, texImage->Width, local 75 swImg->Buffer = _mesa_align_malloc(bytes, 512); 181 * \param rowStrideOut returns row stride (in bytes)
|
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
LazyField.java | 55 private ByteString bytes; field in class:LazyField 60 ExtensionRegistryLite extensionRegistry, ByteString bytes) { 63 this.bytes = bytes; 78 bytes = null; 85 * bytes, which will make the serialized size changed after LazyField 92 return bytes.size(); 97 return bytes; 101 return bytes; 103 bytes = value.toByteString() [all...] |
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
LazyStringEndToEndTest.java | 73 ByteString bytes = tV2.toByteString(); local 74 assertEquals(TEST_ALL_TYPES_SERIALIZED_WITH_ILLEGAL_UTF8, bytes); 77 bytes = tV2.toByteString(); 78 assertEquals(TEST_ALL_TYPES_SERIALIZED_WITH_ILLEGAL_UTF8, bytes);
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/ |
zero_copy_stream_impl_lite.cc | 193 int bytes = Read(junk, min(count - skipped, local 195 if (bytes <= 0) { 199 skipped += bytes; 259 << " Can't back up over more bytes than were returned by the last call" 275 // First skip any bytes left over from a previous BackUp(). 349 << " Can't back up over more bytes than were returned by the last call"
|
/external/chromium_org/third_party/skia/src/core/ |
SkWriter32.cpp | 167 // Pad the last four bytes with zeroes in one step. 195 size_t bytes = stream->read(scratch, n); local 196 this->writePad(scratch, bytes); 197 remaining -= bytes; 198 if (bytes != n) { 244 * Strings are stored as: length[4-bytes] + string_data + '\0' + pad_to_mul_4 303 const size_t lenBytes = 4; // we use 4 bytes to record the length
|
/external/chromium_org/third_party/skia/src/gpu/ |
SkGrFontScaler.cpp | 161 uint8_t* bytes = reinterpret_cast<uint8_t*>(dst); local 162 expand_bits(bytes, bits, width, height, dstRB, srcRB);
|
/external/chromium_org/third_party/skia/src/pdf/ |
SkTSet.h | 155 /** Return the number of bytes in the set: count * sizeof(T). 157 size_t bytes() const { function in class:SkTSet 159 return fOrderedArray->bytes(); 292 SkAutoMalloc sortedArray(fOrderedArray->bytes());
|
/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 59 void SetToBytes(const char* bytes, int bytes_len) { 61 buf_.assign(bytes, bytes + bytes_len); 67 void SetToSharedBytes(const char* bytes, int bytes_len) { 69 bytes_ = bytes; 123 return memcmp(a.bytes(), b.bytes(), b.length()) == 0;
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
ByteArray.java | 31 private final byte[] bytes; field in class:ByteArray 36 /** {@code >= 0, <= bytes.length}; size computed as 43 * @param bytes {@code non-null;} the underlying array 45 * @param end {@code >= start, <= bytes.length;} end index of 48 public ByteArray(byte[] bytes, int start, int end) { 49 if (bytes == null) { 50 throw new NullPointerException("bytes == null"); 61 if (end > bytes.length) { 62 throw new IllegalArgumentException("end > bytes.length"); 65 this.bytes = bytes [all...] |