/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
i915_debug.c | 905 unsigned long bytes = (unsigned long) (end - start) * 4; local 917 debug_printf( "\n\nBATCH: (%d)\n", (int)bytes / 4); 920 stream.offset < bytes) 925 assert(stream.offset <= bytes &&
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_setup_point.c | 323 unsigned bytes; local 360 &bytes);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/ |
nvc0_transfer.c | 279 unsigned bytes = MIN2(size, 1 << 17); local 288 PUSH_DATA (push, bytes); 294 srcoff += bytes; 295 dstoff += bytes; 296 size -= bytes;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/MCTargetDesc/ |
SIMCCodeEmitter.cpp | 111 ///getEncodingBytes - Get then size in bytes of this instructions encoding. 134 unsigned bytes = getEncodingBytes(MI); local 135 for (unsigned i = 0; i < bytes; i++) {
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/ |
i915_debug.c | 820 GLuint bytes = (end - start) * 4; local 823 printf("\n\nBATCH: (%d)\n", bytes / 4); 830 stream.offset < bytes && 836 assert(stream.offset <= bytes &&
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
uniform_query.cpp | 294 unsigned bytes = sizeof(src[0]) * elements; local 295 if (bufSize < 0 || bytes > (unsigned) bufSize) { 298 " but %u bytes are required)", bufSize, bytes ); 314 memcpy(paramsOut, src, bytes);
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_blend.c | 76 GLint bytes; local 86 bytes = 4 * n * sizeof(GLubyte); 88 bytes = 4 * n * sizeof(GLushort); 90 bytes = 4 * n * sizeof(GLfloat); 92 memcpy(src, dst, bytes); [all...] |
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
LiteralByteString.java | 45 * single array of bytes, contiguous in memory. It supports substring by 54 protected final byte[] bytes; field in class:LiteralByteString 60 * @param bytes array to wrap 62 LiteralByteString(byte[] bytes) { 63 this.bytes = bytes; 71 return bytes[index]; 76 return bytes.length; 103 result = new BoundedByteString(bytes, getOffsetIntoBytes() + beginIndex, 117 System.arraycopy(bytes, sourceOffset, target, targetOffset, numberToCopy) [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/ |
coded_stream_unittest.cc | 127 // Helper method used by tests for bytes warning. See implementation comment 151 uint8 bytes[10]; // Encoded bytes. member in struct:google::protobuf::io::__anon15804::VarintCase 152 int size; // Encoded size, in bytes. 186 memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size); 201 memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size); 248 memcpy(buffer_ + 1, kVarintCases_case.bytes, kVarintCases_case.size); 279 memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size); 297 memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size); 330 memcmp(buffer_, kVarintCases_case.bytes, kVarintCases_case.size)) 403 uint8 bytes[12]; member in struct:google::protobuf::io::__anon15804::VarintErrorCase 494 uint8 bytes[sizeof(uint32)]; \/\/ Encoded bytes. member in struct:google::protobuf::io::__anon15804::Fixed32Case 499 uint8 bytes[sizeof(uint64)]; \/\/ Encoded bytes. member in struct:google::protobuf::io::__anon15804::Fixed64Case [all...] |
zero_copy_stream_impl.cc | 243 int bytes; local 245 bytes = write(file_, buffer_base + total_written, size - total_written); 246 } while (bytes < 0 && errno == EINTR); 248 if (bytes <= 0) { 259 if (bytes < 0) { 264 total_written += bytes; 388 // Hit the end of the stream. Figure out how many more bytes we still have
|
/external/chromium_org/third_party/skia/include/core/ |
SkTDArray.h | 104 * return the number of bytes in the array: count * sizeof(T) 106 size_t bytes() const { return fCount * sizeof(T); } function in class:SkTDArray
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrBufferAllocPool.cpp | 138 size_t bytes = fBlocks[i].fBuffer->sizeInBytes() - fBlocks[i].fBytesFree; local 139 bytesInUse += bytes; 140 GrAssert(bytes || unusedBlockAllowed); 221 void GrBufferAllocPool::putBack(size_t bytes) { 230 while (bytes) { 235 if (bytes >= bytesUsed) { 236 bytes -= bytesUsed; 245 block.fBytesFree += bytes; 246 fBytesInUse -= bytes; 247 bytes = 0 [all...] |
GrGpu.cpp | 442 size_t bytes = geoSrc.fVertexCount * geoSrc.fVertexSize; local 443 fVertexPool->putBack(bytes); 450 size_t bytes = geoSrc.fIndexCount * sizeof(uint16_t); local 451 fIndexPool->putBack(bytes); 488 size_t bytes = geoSrc.fVertexCount * geoSrc.fVertexSize; local 489 fVertexPool->putBack(bytes); 497 size_t bytes = geoSrc.fIndexCount * sizeof(uint16_t); local 498 fIndexPool->putBack(bytes);
|
GrResourceCache.cpp | 384 size_t bytes = 0; local 392 bytes += entry->resource()->sizeInBytes(); 394 return bytes; 397 static bool both_zero_or_nonzero(int count, size_t bytes) { 398 return (count == 0 && bytes == 0) || (count > 0 && bytes > 0); 434 size_t bytes = countBytes(fList); local 435 GrAssert(bytes == fEntryBytes - fClientDetachedBytes); 437 bytes = countBytes(fExclusiveList); 438 GrAssert(bytes == fClientDetachedBytes) [all...] |
/external/chromium_org/third_party/skia/src/ports/ |
SkImageDecoder_WIC.cpp | 305 uint8_t* bytes = pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel(); local 307 SkPMColor* src = reinterpret_cast<SkPMColor*>(bytes); 308 SkColor* dst = reinterpret_cast<SkColor*>(bytes);
|
/external/chromium_org/third_party/smhasher/src/ |
Bitvec.cpp | 675 uint8_t bytes[nbits/8]; member in struct:keytype
|
Types.h | 198 for(size_t i = 0; i < sizeof(bytes); i++) 200 bytes[i] = 0; 206 for(size_t i = 0; i < sizeof(bytes); i++) 208 bytes[i] = 0; 211 *(int*)bytes = x; 216 for(size_t i = 0; i < sizeof(bytes); i++) 218 bytes[i] = k.bytes[i]; 224 for(size_t i = 0; i < sizeof(bytes); i++) 226 bytes[i] = k.bytes[i] 368 uint8_t bytes[(_bits+7)\/8]; member in class:Blob [all...] |
/external/chromium_org/third_party/sqlite/src/src/ |
test_thread.c | 511 int nSql, /* Length of zSql in bytes. */ 552 ** Usage: sqlite3_blocking_prepare_v2 DB sql bytes ?tailvar? 553 ** Usage: sqlite3_nonblocking_prepare_v2 DB sql bytes ?tailvar? 563 int bytes; local 572 Tcl_GetString(objv[0]), " DB sql bytes tailvar", 0); 577 if( Tcl_GetIntFromObj(interp, objv[3], &bytes) ) return TCL_ERROR; 580 rc = sqlite3_blocking_prepare_v2(db, zSql, bytes, &pStmt, &zTail); 582 rc = sqlite3_prepare_v2(db, zSql, bytes, &pStmt, &zTail); 587 if( bytes>=0 ){ 588 bytes = bytes - (zTail-zSql) [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
profiledata.cc | 194 fprintf(stderr, "PROFILE: interrupts/evictions/bytes = %d/%d/%" PRIuS "\n", 326 size_t bytes = sizeof(evict_[0]) * num_evicted_; local 327 total_bytes_ += bytes; 328 FDWrite(out_, buf, bytes);
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
heap-profile-table.h | 109 // Record an allocation at 'ptr' of 'bytes' bytes. 'stack_depth' 112 void RecordAlloc(const void* ptr, size_t bytes, 166 // of currently allocated bytes. 221 size_t bytes; // Number of bytes in this allocation member in struct:HeapProfileTable::AllocValue 246 static size_t AllocValueSize(const AllocValue& v) { return v.bytes; } 295 info.object_size = v->bytes; 410 total_.alloc_size += v.bytes;
|
profiledata.cc | 194 fprintf(stderr, "PROFILE: interrupts/evictions/bytes = %d/%d/%" PRIuS "\n", 326 size_t bytes = sizeof(evict_[0]) * num_evicted_; local 327 total_bytes_ += bytes; 328 FDWrite(out_, buf, bytes);
|
/external/chromium_org/tools/android/memdump/ |
memdump.cc | 164 // Reads sizeof(T) bytes from file |fd| at |offset|. 171 ssize_t bytes = read(fd, value, sizeof(*value)); local 172 if (bytes != sizeof(*value) && bytes != 0) {
|
/external/chromium_org/ui/base/clipboard/ |
clipboard_unittest.cc | 331 uint32 bytes = sizeof(fake_bitmap); local 335 ASSERT_TRUE(shared_buf.CreateAndMapAnonymous(bytes)); 336 memcpy(shared_buf.memory(), fake_bitmap, bytes);
|
/external/chromium_org/ui/base/dragdrop/ |
os_exchange_data_provider_aurax11.cc | 156 std::vector<unsigned char> bytes; local 157 bytes.insert(bytes.end(), data, data + pickle.size()); 159 base::RefCountedBytes::TakeVector(&bytes)); 250 // only refers to the bytes in |data|. The assignment copies the data. 290 std::vector<unsigned char> bytes; local 291 // Manually jam a UTF16 BOM into bytes because otherwise, other programs will 293 bytes.push_back(0xFF); 294 bytes.push_back(0xFE); 295 ui::AddString16ToVector(html, &bytes); [all...] |
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/ |
CstString.java | 36 /** {@code non-null;} the UTF-8 value as bytes */ 37 private final ByteArray bytes; field in class:CstString 44 * @return {@code non-null;} the UTF-8 bytes for it 48 byte[] bytes = new byte[len * 3]; // Avoid having to reallocate. 54 bytes[outAt] = (byte) c; 57 bytes[outAt] = (byte) (((c >> 6) & 0x1f) | 0xc0); 58 bytes[outAt + 1] = (byte) ((c & 0x3f) | 0x80); 61 bytes[outAt] = (byte) (((c >> 12) & 0x0f) | 0xe0); 62 bytes[outAt + 1] = (byte) (((c >> 6) & 0x3f) | 0x80); 63 bytes[outAt + 2] = (byte) ((c & 0x3f) | 0x80) [all...] |