Searched defs:byte_size (Results 1 - 10 of 10) sorted by relevance

/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/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/chromium/base/
H A Dstring_util_unittest.cc59 bool Truncated(const std::string& input, const size_t byte_size, argument
62 TruncateUTF8ToByteSize(input, byte_size, output);
71 // Empty strings and invalid byte_size arguments
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/libxml2/
H A DparserInternals.c2030 unsigned int byte_size; local
2034 byte_size = (sizeof(*ctxt->node_seq.buffer) *
2038 tmp_buffer = (xmlParserNodeInfo *) xmlMalloc(byte_size);
2042 byte_size);
/external/bluetooth/bluedroid/stack/include/
H A Dport_api.h57 UINT8 byte_size; member in struct:__anon1329
/external/bluetooth/bluedroid/stack/rfcomm/
H A Drfc_int.h123 UINT8 byte_size; member in struct:__anon1423::__anon1424::__anon1429
/external/linux-tools-perf/util/
H A Dsession.c365 void mem_bswap_64(void *src, int byte_size) argument
369 while (byte_size > 0) {
371 byte_size -= sizeof(u64);
/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/v8/src/x64/
H A Ddisasm-x64.cc199 void SetTableRange(InstructionType type, byte start, byte end, bool byte_size,
251 bool byte_size,
258 id->byte_size_operation = byte_size;
248 SetTableRange(InstructionType type, byte start, byte end, bool byte_size, const char* mnem) argument

Completed in 1116 milliseconds