Searched refs:byte_size (Results 1 - 25 of 39) sorted by relevance

12

/external/chromium_org/webkit/renderer/compositor_bindings/
H A Dweb_external_bitmap_impl.cc28 size_t byte_size = size.width * size.height * 4; local
29 shared_memory_ = g_memory_allocator(byte_size);
31 shared_memory_->Map(byte_size);
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
H A Dwire_format_test.py201 def __init__(self, byte_size):
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
[all...]
H A Dcpp_message.py573 byte_size = self._cmsg.MergeFromString(serialized)
574 if byte_size < 0:
576 return byte_size
/external/protobuf/python/google/protobuf/internal/
H A Dwire_format_test.py201 def __init__(self, byte_size):
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
[all...]
/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Dmessage_lite.cc279 int byte_size = ByteSize(); local
280 STLStringResizeUninitialized(output, old_size + byte_size);
283 if (end - start != byte_size) {
284 ByteSizeConsistencyError(byte_size, ByteSize(), end - start);
305 int byte_size = ByteSize(); local
306 if (size < byte_size) return false;
309 if (end - start != byte_size) {
310 ByteSizeConsistencyError(byte_size, ByteSize(), end - start);
/external/protobuf/src/google/protobuf/
H A Dmessage_lite.cc279 int byte_size = ByteSize(); local
280 STLStringResizeUninitialized(output, old_size + byte_size);
283 if (end - start != byte_size) {
284 ByteSizeConsistencyError(byte_size, ByteSize(), end - start);
305 int byte_size = ByteSize(); local
306 if (size < byte_size) return false;
309 if (end - start != byte_size) {
310 ByteSizeConsistencyError(byte_size, ByteSize(), end - start);
/external/llvm/lib/Support/
H A DDataExtractor.cpp92 DataExtractor::getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const {
93 switch (byte_size) {
107 DataExtractor::getSigned(uint32_t *offset_ptr, uint32_t byte_size) const {
108 switch (byte_size) {
/external/chromium/chrome/browser/safe_browsing/
H A Dbloom_filter.cc140 int byte_size = static_cast<int>(remaining64); local
141 scoped_array<char> data(new char[byte_size]);
142 bytes_read = filter.Read(data.get(), byte_size, NULL);
143 if (bytes_read < byte_size) {
146 } else if (bytes_read != byte_size) {
152 return new BloomFilter(data.release(), byte_size, hash_keys);
/external/elfutils/tests/
H A 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 encodin
[all...]
/external/chromium_org/media/base/
H A Daudio_bus_unittest.cc425 const int byte_size = sizeof(*interleaved); local
428 bus->ToInterleaved(bus->frames(), byte_size, interleaved.get());
434 bus->FromInterleaved(interleaved.get(), bus->frames(), byte_size);
441 const int byte_size = sizeof(*interleaved); local
444 bus->ToInterleaved(bus->frames(), byte_size, interleaved.get());
450 bus->FromInterleaved(interleaved.get(), bus->frames(), byte_size);
457 const int byte_size = sizeof(*interleaved); local
460 bus->ToInterleaved(bus->frames(), byte_size, interleaved.get());
466 bus->FromInterleaved(interleaved.get(), bus->frames(), byte_size);
/external/llvm/include/llvm/Support/
H A DDataExtractor.h62 /// Extract an unsigned integer of size \a byte_size from \a
67 /// is specified by the \a byte_size argument. \a byte_size should
70 /// \a byte_size values less than 1 or greater than 8 will result in
80 /// @param[in] byte_size
86 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const;
88 /// Extract an signed integer of size \a byte_size from \a *offset_ptr.
92 /// the extracted integer is specified by the \a byte_size argument.
93 /// \a byte_size should have a value greater than or equal to one
95 /// bits wide. Any \a byte_size value
[all...]
/external/v8/src/
H A Dheap-inl.h383 void Heap::CopyBlock(Address dst, Address src, int byte_size) { argument
386 byte_size / kPointerSize);
390 void Heap::MoveBlock(Address dst, Address src, int byte_size) { argument
391 ASSERT(IsAligned(byte_size, kPointerSize));
393 int size_in_words = byte_size / kPointerSize;
395 if ((dst < src) || (dst >= (src + byte_size))) {
404 memmove(dst, src, byte_size);
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dfloatnum.c544 * byte_size -> the size in bytes of the output format.
553 N_int byte_size, N_int mant_bits, int implicit1,
565 output = BitVector_Create(byte_size*8, TRUE);
614 BitVector_Bit_Copy(output, byte_size*8-1, flt->sign);
618 if (len < byte_size)
623 memcpy(ptr, buf, byte_size*sizeof(unsigned char));
552 floatnum_get_common(const yasm_floatnum *flt, unsigned char *ptr, N_int byte_size, N_int mant_bits, int implicit1, N_int exp_bits) argument
/external/chromium_org/v8/src/
H A Dheap-inl.h479 void Heap::CopyBlock(Address dst, Address src, int byte_size) { argument
482 static_cast<size_t>(byte_size / kPointerSize));
486 void Heap::MoveBlock(Address dst, Address src, int byte_size) { argument
487 ASSERT(IsAligned(byte_size, kPointerSize));
489 int size_in_words = byte_size / kPointerSize;
491 if ((dst < src) || (dst >= (src + byte_size))) {
500 OS::MemMove(dst, src, static_cast<size_t>(byte_size));
/external/linux-tools-perf/util/
H A Dsession.h121 void mem_bswap_64(void *src, int byte_size);
/external/chromium_org/base/win/
H A Dregistry.cc27 // wchar_t is truncated. This function converts the reported |byte_size| to
29 inline DWORD to_wchar_size(DWORD byte_size) { argument
30 return (byte_size + sizeof(wchar_t) - 1) / sizeof(wchar_t);
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dthread_cache.cc157 void* ThreadCache::FetchFromCentralCache(size_t cl, size_t byte_size) {
169 size_ += byte_size * fetch_count;
H A Dthread_cache.h232 void* FetchFromCentralCache(size_t cl, size_t byte_size);
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dthread_cache.cc154 void* ThreadCache::FetchFromCentralCache(size_t cl, size_t byte_size) {
166 size_ += byte_size * fetch_count;
H A Dthread_cache.h226 void* FetchFromCentralCache(size_t cl, size_t byte_size);
/external/bluetooth/bluedroid/stack/include/
H A Dport_api.h57 UINT8 byte_size; member in struct:__anon1447
/external/chromium/base/
H A Dstring_util.cc260 const size_t byte_size,
263 if (byte_size > input.length()) {
267 DCHECK_LE(byte_size, static_cast<uint32>(kint32max));
269 int32 truncation_length = static_cast<int32>(byte_size);
259 TruncateUTF8ToByteSize(const std::string& input, const size_t byte_size, std::string* output) argument
/external/chromium_org/base/strings/
H A Dstring_util.cc217 const size_t byte_size,
220 if (byte_size > input.length()) {
224 DCHECK_LE(byte_size, static_cast<uint32>(kint32max));
226 int32 truncation_length = static_cast<int32>(byte_size);
216 TruncateUTF8ToByteSize(const std::string& input, const size_t byte_size, std::string* output) argument
/external/bluetooth/bluedroid/stack/rfcomm/
H A Drfc_port_fsm.c896 port_pars->byte_size = p_frame->u.rpn.byte_size;
/external/chromium_org/v8/src/x64/
H A Ddisasm-x64.cc200 void SetTableRange(InstructionType type, byte start, byte end, bool byte_size,
252 bool byte_size,
259 id->byte_size_operation = byte_size;
249 SetTableRange(InstructionType type, byte start, byte end, bool byte_size, const char* mnem) argument

Completed in 1012 milliseconds

12