Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/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 …]
Dcpp_message.py573 byte_size = self._cmsg.MergeFromString(serialized)
574 if byte_size < 0:
576 return byte_size
/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.sh55 Attrs : name byte_size encoding
79 Attrs : name byte_size encoding
123 Attrs : name byte_size encoding
153 Attrs : name byte_size encoding
164 Attrs : name byte_size encoding
185 Attrs : name byte_size encoding
191 Attrs : sibling name byte_size decl_file decl_line
217 Attrs : name byte_size encoding
223 Attrs : byte_size
239 Attrs : name byte_size encoding
[all …]
/external/chromium_org/third_party/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/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/chromium_org/webkit/renderer/compositor_bindings/
Dweb_external_bitmap_impl.cc28 size_t byte_size = size.width * size.height * 4; in setSize() local
29 shared_memory_ = g_memory_allocator(byte_size); in setSize()
31 shared_memory_->Map(byte_size); in setSize()
/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_org/media/base/
Daudio_bus_perftest.cc19 const int byte_size = sizeof(*interleaved); in RunInterleaveBench() local
23 bus->ToInterleaved(bus->frames(), byte_size, interleaved.get()); in RunInterleaveBench()
33 bus->FromInterleaved(interleaved.get(), bus->frames(), byte_size); in RunInterleaveBench()
/external/llvm/lib/Support/
DDataExtractor.cpp92 DataExtractor::getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const { in getUnsigned()
93 switch (byte_size) { in getUnsigned()
107 DataExtractor::getSigned(uint32_t *offset_ptr, uint32_t byte_size) const { in getSigned()
108 switch (byte_size) { in getSigned()
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
Dfloatnum.c553 N_int byte_size, N_int mant_bits, int implicit1, in floatnum_get_common() argument
565 output = BitVector_Create(byte_size*8, TRUE); in floatnum_get_common()
614 BitVector_Bit_Copy(output, byte_size*8-1, flt->sign); in floatnum_get_common()
618 if (len < byte_size) in floatnum_get_common()
623 memcpy(ptr, buf, byte_size*sizeof(unsigned char)); in floatnum_get_common()
/external/v8/src/
Dheap-inl.h383 void Heap::CopyBlock(Address dst, Address src, int byte_size) { in CopyBlock() argument
386 byte_size / kPointerSize); in CopyBlock()
390 void Heap::MoveBlock(Address dst, Address src, int byte_size) { in MoveBlock() argument
391 ASSERT(IsAligned(byte_size, kPointerSize)); in MoveBlock()
393 int size_in_words = byte_size / kPointerSize; in MoveBlock()
395 if ((dst < src) || (dst >= (src + byte_size))) { in MoveBlock()
404 memmove(dst, src, byte_size); in MoveBlock()
/external/chromium_org/v8/src/
Dheap-inl.h455 void Heap::CopyBlock(Address dst, Address src, int byte_size) { in CopyBlock() argument
458 static_cast<size_t>(byte_size / kPointerSize)); in CopyBlock()
462 void Heap::MoveBlock(Address dst, Address src, int byte_size) { in MoveBlock() argument
463 ASSERT(IsAligned(byte_size, kPointerSize)); in MoveBlock()
465 int size_in_words = byte_size / kPointerSize; in MoveBlock()
467 if ((dst < src) || (dst >= (src + byte_size))) { in MoveBlock()
476 OS::MemMove(dst, src, static_cast<size_t>(byte_size)); in MoveBlock()
/external/llvm/include/llvm/Support/
DDataExtractor.h86 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const;
/external/chromium_org/third_party/tcmalloc/chromium/src/
Dthread_cache.cc157 void* ThreadCache::FetchFromCentralCache(size_t cl, size_t byte_size) { in FetchFromCentralCache() argument
169 size_ += byte_size * fetch_count; in FetchFromCentralCache()
Dthread_cache.h232 void* FetchFromCentralCache(size_t cl, size_t byte_size);
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dthread_cache.cc154 void* ThreadCache::FetchFromCentralCache(size_t cl, size_t byte_size) { in FetchFromCentralCache() argument
166 size_ += byte_size * fetch_count; in FetchFromCentralCache()
Dthread_cache.h226 void* FetchFromCentralCache(size_t cl, size_t byte_size);
/external/chromium_org/base/strings/
Dstring_util.cc210 const size_t byte_size, in TruncateUTF8ToByteSize() argument
213 if (byte_size > input.length()) { in TruncateUTF8ToByteSize()
217 DCHECK_LE(byte_size, static_cast<uint32>(kint32max)); in TruncateUTF8ToByteSize()
219 int32 truncation_length = static_cast<int32>(byte_size); in TruncateUTF8ToByteSize()
/external/linux-tools-perf/util/
Dsession.h121 void mem_bswap_64(void *src, int byte_size);
/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()
/external/chromium_org/base/win/
Dregistry.cc29 inline DWORD to_wchar_size(DWORD byte_size) { in to_wchar_size() argument
30 return (byte_size + sizeof(wchar_t) - 1) / sizeof(wchar_t); in to_wchar_size()
/external/bluetooth/bluedroid/stack/include/
Dport_api.h57 UINT8 byte_size; member
/external/bluetooth/bluedroid/stack/rfcomm/
Drfc_port_fsm.c896 port_pars->byte_size = p_frame->u.rpn.byte_size; in rfc_set_port_state()
/external/libxml2/
DparserInternals.c2030 unsigned int byte_size; in xmlParserAddNodeInfo() local
2034 byte_size = (sizeof(*ctxt->node_seq.buffer) * in xmlParserAddNodeInfo()
2038 tmp_buffer = (xmlParserNodeInfo *) xmlMalloc(byte_size); in xmlParserAddNodeInfo()
2042 byte_size); in xmlParserAddNodeInfo()

12