Home
last modified time | relevance | path

Searched refs:byte_size (Results 1 – 20 of 20) 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.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/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/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/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/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()
Dheap.h1427 static inline void CopyBlock(Address dst, Address src, int byte_size);
1431 static inline void MoveBlock(Address dst, Address src, int byte_size);
/external/llvm/include/llvm/Support/
DDataExtractor.h86 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const;
/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/linux-tools-perf/util/
Dsession.h121 void mem_bswap_64(void *src, int byte_size);
Dsession.c365 void mem_bswap_64(void *src, int byte_size) in mem_bswap_64() argument
369 while (byte_size > 0) { in mem_bswap_64()
371 byte_size -= sizeof(u64); in mem_bswap_64()
/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()
Drfc_ts_frames.c477 *p_data++ = (p_pars->byte_size << RFCOMM_RPN_BITS_SHIFT) in rfc_send_rpn()
865 … p_rx_frame->u.rpn.byte_size = (*p_data >> RFCOMM_RPN_BITS_SHIFT) & RFCOMM_RPN_BITS_MASK; in rfc_process_mx_message()
Drfc_int.h123 UINT8 byte_size; member
/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()
/external/v8/src/x64/
Ddisasm-x64.cc199 void SetTableRange(InstructionType type, byte start, byte end, bool byte_size,
251 bool byte_size, in SetTableRange() argument
258 id->byte_size_operation = byte_size; in SetTableRange()
/external/freetype/src/smooth/
Dftgrays.c404 long byte_size ) in gray_init_cells() argument
407 ras.buffer_size = byte_size; in gray_init_cells()