Home
last modified time | relevance | path

Searched refs:byte_size (Results 1 – 14 of 14) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Dwire_format_test.py201 def __init__(self, byte_size): argument
202 self.byte_size = byte_size
204 return self.byte_size
207 mock_message = MockMessage(byte_size=message_byte_size)
218 self.assertEqual(2 + mock_message.byte_size,
221 self.assertEqual(3 + mock_message.byte_size,
224 mock_message.byte_size = 128
225 self.assertEqual(4 + mock_message.byte_size,
232 mock_message.byte_size = 10
233 self.assertEqual(mock_message.byte_size + 6,
[all …]
/external/elfutils/tests/
Drun-show-die-info.sh48 Attrs : name byte_size encoding
72 Attrs : name byte_size encoding
116 Attrs : name byte_size encoding
146 Attrs : name byte_size encoding
157 Attrs : name byte_size encoding
178 Attrs : name byte_size encoding
184 Attrs : sibling name byte_size decl_file decl_line
210 Attrs : name byte_size encoding
216 Attrs : byte_size
232 Attrs : name byte_size encoding
[all …]
/external/protobuf/src/google/protobuf/
Dmessage_lite.cc279 int byte_size = ByteSize(); in AppendPartialToString() local
280 STLStringResizeUninitialized(output, old_size + byte_size); in AppendPartialToString()
283 if (end - start != byte_size) { in AppendPartialToString()
284 ByteSizeConsistencyError(byte_size, ByteSize(), end - start); in AppendPartialToString()
305 int byte_size = ByteSize(); in SerializePartialToArray() local
306 if (size < byte_size) return false; in SerializePartialToArray()
309 if (end - start != byte_size) { in SerializePartialToArray()
310 ByteSizeConsistencyError(byte_size, ByteSize(), end - start); in SerializePartialToArray()
/external/v8/src/
Dheap-inl.h332 void Heap::CopyBlock(Address dst, Address src, int byte_size) { in CopyBlock() argument
333 ASSERT(IsAligned(byte_size, kPointerSize)); in CopyBlock()
336 byte_size / kPointerSize); in CopyBlock()
342 int byte_size) { in CopyBlockToOldSpaceAndUpdateRegionMarks() argument
343 ASSERT(IsAligned(byte_size, kPointerSize)); in CopyBlockToOldSpaceAndUpdateRegionMarks()
348 for (int remaining = byte_size / kPointerSize; in CopyBlockToOldSpaceAndUpdateRegionMarks()
365 void Heap::MoveBlock(Address dst, Address src, int byte_size) { in MoveBlock() argument
366 ASSERT(IsAligned(byte_size, kPointerSize)); in MoveBlock()
368 int size_in_words = byte_size / kPointerSize; in MoveBlock()
370 if ((dst < src) || (dst >= (src + byte_size))) { in MoveBlock()
[all …]
Dheap.h1172 static inline void CopyBlock(Address dst, Address src, int byte_size);
1176 int byte_size);
1180 static inline void MoveBlock(Address dst, Address src, int byte_size);
1184 int byte_size);
/external/chromium/chrome/browser/safe_browsing/
Dbloom_filter.cc140 int byte_size = static_cast<int>(remaining64); in LoadFile() local
141 scoped_array<char> data(new char[byte_size]); in LoadFile()
142 bytes_read = filter.Read(data.get(), byte_size, NULL); in LoadFile()
143 if (bytes_read < byte_size) { in LoadFile()
146 } else if (bytes_read != byte_size) { in LoadFile()
152 return new BloomFilter(data.release(), byte_size, hash_keys); in LoadFile()
/external/chromium/base/
Dstring_util.cc260 const size_t byte_size, in TruncateUTF8ToByteSize() argument
263 if (byte_size > input.length()) { in TruncateUTF8ToByteSize()
267 DCHECK_LE(byte_size, static_cast<uint32>(kint32max)); in TruncateUTF8ToByteSize()
269 int32 truncation_length = static_cast<int32>(byte_size); in TruncateUTF8ToByteSize()
Dstring_util.h209 const size_t byte_size,
Dstring_util_unittest.cc59 bool Truncated(const std::string& input, const size_t byte_size, in Truncated() argument
62 TruncateUTF8ToByteSize(input, byte_size, output); in Truncated()
/external/bluetooth/glib/glib/
Dgstrfuncs.h221 guint byte_size) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(2);
Dgstrfuncs.c113 guint byte_size) in g_memdup() argument
119 new_mem = g_malloc (byte_size); in g_memdup()
120 memcpy (new_mem, mem, byte_size); in g_memdup()
/external/libxml2/
DparserInternals.c1943 unsigned int byte_size; in xmlParserAddNodeInfo() local
1947 byte_size = (sizeof(*ctxt->node_seq.buffer) * in xmlParserAddNodeInfo()
1951 tmp_buffer = (xmlParserNodeInfo *) xmlMalloc(byte_size); in xmlParserAddNodeInfo()
1955 byte_size); in xmlParserAddNodeInfo()
/external/v8/src/x64/
Ddisasm-x64.cc197 void SetTableRange(InstructionType type, byte start, byte end, bool byte_size,
248 bool byte_size, in SetTableRange() argument
255 id->byte_size_operation = byte_size; in SetTableRange()
/external/freetype/src/smooth/
Dftgrays.c394 long byte_size ) in gray_init_cells() argument
397 ras.buffer_size = byte_size; in gray_init_cells()