Searched defs:kHeaderSize (Results 1 - 23 of 23) sorted by relevance

/external/chromium_org/remoting/protocol/
H A Dmessage_decoder.cc55 const int kHeaderSize = sizeof(int32); local
57 if (buffer_.total_bytes() < kHeaderSize)
61 char header[kHeaderSize];
62 header_buffer.CopyFrom(buffer_, 0, kHeaderSize);
63 header_buffer.CopyTo(header, kHeaderSize);
65 buffer_.CropFront(kHeaderSize);
/external/chromium_org/third_party/leveldatabase/src/db/
H A Dlog_format.h30 static const int kHeaderSize = 4 + 1 + 2; member in namespace:leveldb::log
/external/chromium_org/third_party/webrtc/modules/media_file/source/
H A Dmedia_file_unittest.cc52 static const int kHeaderSize = 44; local
79 COMPILE_ASSERT(sizeof(kExpectedHeader) == kHeaderSize, header_size);
81 EXPECT_EQ(size_t(kHeaderSize + kPayloadSize),
86 uint8_t header[kHeaderSize];
87 ASSERT_EQ(1u, fread(header, kHeaderSize, 1, f));
88 EXPECT_EQ(0, memcmp(kExpectedHeader, header, kHeaderSize));
/external/chromium_org/third_party/skia/src/gpu/
H A DGrMemoryPool.h68 kHeaderSize = GR_CT_ALIGN_UP(sizeof(BlockHeader), kAlignment), enumerator in enum:GrMemoryPool::__anon15260
/external/chromium_org/v8/src/
H A Dpreparse-data-format.h24 static const int kHeaderSize = 5; member in struct:v8::internal::PreparseDataConstants
H A Dserialize.h650 reinterpret_cast<const uint32_t*>(script_data_->data() + kHeaderSize),
656 return script_data_->data() + kHeaderSize + code_stubs_size;
696 static const int kHeaderSize = kHeaderEntries * kIntSize; member in class:v8::internal::SerializedCodeData
H A Dobjects.h1212 static const int kHeaderSize = 0; // Object does not take up any space. member in class:v8::internal::Object
1424 static const int kMapOffset = Object::kHeaderSize;
1425 static const int kHeaderSize = kMapOffset + kPointerSize; member in class:v8::internal::HeapObject
1503 static const int kValueOffset = HeapObject::kHeaderSize;
2190 static const int kPropertiesOffset = HeapObject::kHeaderSize;
2192 static const int kHeaderSize = kElementsOffset + kPointerSize; member in class:v8::internal::JSObject
2194 STATIC_ASSERT(kHeaderSize == Internals::kJSObjectHeaderSize);
2389 static const int kLengthOffset = HeapObject::kHeaderSize;
2390 static const int kHeaderSize = kLengthOffset + kPointerSize; member in class:v8::internal::FixedArrayBase
2449 static int SizeFor(int length) { return kHeaderSize
2823 static const int kHeaderSize = kSmallLayout2Offset + kInt32Size; member in class:v8::internal::ConstantPoolArray
4420 static const int kHeaderSize = kSizeOffset + kPointerSize; member in class:v8::internal::FreeSpace
4470 static const int kHeaderSize = kExternalPointerOffset + kPointerSize; member in class:v8::internal::ExternalArray
5263 Code::kHeaderSize); member in class:v8::internal::Code::Code
5370 static const int kHeaderSize = member in class:v8::internal::Code
7459 static const int kHeaderSize = kGlobalProxyOffset + kPointerSize; member in class:v8::internal::GlobalObject
9576 static const int kHeaderSize = kPaddingOffset; member in class:v8::internal::String::FlatContent::JSProxy
10438 static const int kHeaderSize = kPropertyAccessorsOffset + kPointerSize; member in class:v8::internal::String::FlatContent::TemplateInfo
[all...]
/external/skia/src/gpu/
H A DGrMemoryPool.h68 kHeaderSize = GR_CT_ALIGN_UP(sizeof(BlockHeader), kAlignment), enumerator in enum:GrMemoryPool::__anon30672
/external/chromium_org/media/formats/mpeg/
H A Dmpeg1_audio_stream_parser.h22 kHeaderSize = 4, enumerator in enum:media::MPEG1AudioStreamParser::__anon8669
63 // Assumption: size of array |data| should be at least |kHeaderSize|.
/external/chromium_org/chrome/utility/cloud_print/
H A Dpwg_encoder.cc29 const uint32 kHeaderSize = 1796; member in namespace:cloud_print::__anon6010
93 char header[kHeaderSize];
94 memset(header, 0, kHeaderSize);
126 output->append(header, kHeaderSize);
/external/chromium_org/components/policy/core/common/
H A Dpreg_parser_win.cc236 const int kHeaderSize = arraysize(kPRegFileHeader); local
237 if (mapped_file.length() < kHeaderSize ||
238 memcmp(kPRegFileHeader, mapped_file.data(), kHeaderSize) != 0) {
247 const uint8* cursor = mapped_file.data() + kHeaderSize;
/external/chromium_org/ppapi/tests/
H A Dtest_truetype_font.cc332 const size_t kHeaderSize = sizeof(FontHeader); local
334 ASSERT_TRUE(kHeaderSize < entire_font.size());
336 memcpy(&header, &entire_font[0], kHeaderSize);
340 ASSERT_TRUE(kHeaderSize + directory_size < entire_font.size());
341 memcpy(&directory[0], &entire_font[kHeaderSize], directory_size);
/external/chromium_org/sql/test/
H A Dtest_helpers.cc71 const size_t kHeaderSize = 100; local
77 unsigned char header[kHeaderSize];
/external/chromium_org/third_party/skia/src/gpu/gl/
H A DGrGLProgramDesc.h163 kHeaderSize = SkAlign4(sizeof(KeyHeader)), enumerator in enum:GrGLProgramDesc::__anon15294
166 kEffectKeyOffsetsAndLengthOffset = kHeaderOffset + kHeaderSize,
/external/lzma/CPP/7zip/Archive/7z/
H A D7zIn.h124 const UInt32 kHeaderSize = 32; member in namespace:NArchive::N7z
137 Byte _header[kHeaderSize];
/external/skia/src/gpu/gl/
H A DGrGLProgramDesc.h183 kHeaderSize = SkAlign4(sizeof(KeyHeader)), enumerator in enum:GrGLProgramDesc::__anon30705
184 kEffectKeyOffset = kHeaderOffset + kHeaderSize,
/external/chromium_org/chrome/browser/devtools/device/usb/
H A Dandroid_usb_device.cc39 const size_t kHeaderSize = 24; member in namespace:__anon3544
120 if (length == kHeaderSize) {
397 new net::IOBufferWithSize(kHeaderSize);
398 memcpy(header_buffer.get()->data(), &header[0], kHeaderSize);
451 scoped_refptr<net::IOBuffer> buffer = new net::IOBuffer(kHeaderSize);
456 kHeaderSize,
472 if (status != device::USB_TRANSFER_COMPLETED || result != kHeaderSize) {
/external/chromium_org/content/renderer/pepper/
H A Dcontent_decryptor_delegate.cc1242 const size_t kHeaderSize = sizeof(timestamp) + sizeof(frame_size); local
1244 if (bytes_left < kHeaderSize)
/external/chromium_org/media/cdm/ppapi/external_clear_key/
H A Dclear_key_cdm.cc800 const int kHeaderSize = sizeof(timestamp) + sizeof(frame_size); local
801 audio_frames->SetFrameBuffer(host_->Allocate(kHeaderSize + frame_size));
812 audio_frames->FrameBuffer()->SetSize(kHeaderSize + frame_size);
/external/chromium_org/v8/src/ic/ia32/
H A Dic-ia32.cc72 NameDictionary::kHeaderSize +
118 NameDictionary::kHeaderSize +
198 __ mov(scratch, FieldOperand(scratch, key, times_2, FixedArray::kHeaderSize));
272 const int kHeaderSize = FixedArray::kHeaderSize + 2 * kPointerSize; local
274 FieldOperand(scratch1, key, times_half_pointer_size, kHeaderSize));
281 const int kContextOffset = FixedArray::kHeaderSize;
284 Context::kHeaderSize);
295 const int kBackingStoreOffset = FixedArray::kHeaderSize + kPointerSize;
304 FixedArray::kHeaderSize);
[all...]
/external/chromium_org/v8/src/ic/x64/
H A Dic-x64.cc70 NameDictionary::kHeaderSize +
118 NameDictionary::kHeaderSize +
212 FixedArray::kHeaderSize));
383 FieldOperand(rax, rdi, times_pointer_size, FixedArray::kHeaderSize));
460 FieldOperand(rbx, key, times_pointer_size, FixedArray::kHeaderSize));
476 __ movp(FieldOperand(rbx, key, times_pointer_size, FixedArray::kHeaderSize),
491 __ movp(FieldOperand(rbx, key, times_pointer_size, FixedArray::kHeaderSize),
510 uint32_t offset = FixedDoubleArray::kHeaderSize + sizeof(kHoleNanLower32);
685 const int kHeaderSize = FixedArray::kHeaderSize local
[all...]
/external/chromium_org/v8/src/ic/x87/
H A Dic-x87.cc72 NameDictionary::kHeaderSize +
118 NameDictionary::kHeaderSize +
200 __ mov(scratch, FieldOperand(scratch, key, times_2, FixedArray::kHeaderSize));
274 const int kHeaderSize = FixedArray::kHeaderSize + 2 * kPointerSize; local
276 FieldOperand(scratch1, key, times_half_pointer_size, kHeaderSize));
283 const int kContextOffset = FixedArray::kHeaderSize;
286 Context::kHeaderSize);
297 const int kBackingStoreOffset = FixedArray::kHeaderSize + kPointerSize;
306 FixedArray::kHeaderSize);
[all...]
/external/chromium_org/v8/src/heap/
H A Dspaces.h539 static const size_t kHeaderSize = member in class:v8::internal::MemoryChunk
544 CODE_POINTER_ALIGN(kHeaderSize + Bitmap::kSize);
581 return Bitmap::FromAddress(address() + kHeaderSize);
694 STATIC_ASSERT(sizeof(MemoryChunk) <= MemoryChunk::kHeaderSize);
793 STATIC_ASSERT(sizeof(Page) <= MemoryChunk::kHeaderSize);
812 STATIC_ASSERT(sizeof(LargePage) <= MemoryChunk::kHeaderSize);
1426 static const int kNextOffset = POINTER_SIZE_ALIGN(FreeSpace::kHeaderSize);

Completed in 1319 milliseconds