bytes 58 android_webview/native/input_stream_impl.cc int bytes = Java_InputStream_available(env, jobject_.obj()); bytes 61 android_webview/native/input_stream_impl.cc *bytes_available = bytes; bytes 67 android_webview/native/input_stream_impl.cc int bytes = Java_InputStream_skip(env, jobject_.obj(), n); bytes 70 android_webview/native/input_stream_impl.cc if (bytes > n) bytes 72 android_webview/native/input_stream_impl.cc *bytes_skipped = bytes; bytes 15 base/android/jni_array.cc JNIEnv* env, const uint8* bytes, size_t len) { bytes 21 base/android/jni_array.cc byte_array, 0, len, reinterpret_cast<const jbyte*>(bytes)); bytes 144 base/android/jni_array.cc jbyte* bytes = env->GetByteArrayElements(byte_array, NULL); bytes 145 base/android/jni_array.cc out->insert(out->end(), bytes, bytes + len); bytes 146 base/android/jni_array.cc env->ReleaseByteArrayElements(byte_array, bytes, JNI_ABORT); bytes 195 base/android/jni_array.cc jbyte* bytes = env->GetByteArrayElements(bytes_array, NULL); bytes 196 base/android/jni_array.cc (*out)[i].assign(reinterpret_cast<const char*>(bytes), bytes_len); bytes 197 base/android/jni_array.cc env->ReleaseByteArrayElements(bytes_array, bytes, JNI_ABORT); bytes 21 base/android/jni_array.h JNIEnv* env, const uint8* bytes, size_t len); bytes 18 base/android/jni_array_unittest.cc ScopedJavaLocalRef<jbyteArray> bytes = ToJavaByteArray(env, kBytes, kLen); bytes 19 base/android/jni_array_unittest.cc ASSERT_TRUE(bytes.obj()); bytes 22 base/android/jni_array_unittest.cc JavaByteArrayToByteVector(env, bytes.obj(), &vec); bytes 26 base/android/jni_array_unittest.cc AppendJavaByteArrayToByteVector(env, bytes.obj(), &vec); bytes 67 base/android/linker/linker_jni.cc const char* bytes = env->GetStringUTFChars(str, NULL); bytes 68 base/android/linker/linker_jni.cc ::memcpy(ptr_, bytes, size_); bytes 71 base/android/linker/linker_jni.cc env->ReleaseStringUTFChars(str, bytes); bytes 164 base/file_util.h BASE_EXPORT bool ReadFromFD(int fd, char* buffer, size_t bytes); bytes 372 base/file_util_posix.cc bool ReadFromFD(int fd, char* buffer, size_t bytes) { bytes 374 base/file_util_posix.cc while (total_read < bytes) { bytes 376 base/file_util_posix.cc HANDLE_EINTR(read(fd, buffer + total_read, bytes - total_read)); bytes 381 base/file_util_posix.cc return total_read == bytes; bytes 27 base/guid.h BASE_EXPORT std::string RandomDataToGUIDString(const uint64 bytes[2]); bytes 19 base/guid_posix.cc std::string RandomDataToGUIDString(const uint64 bytes[2]) { bytes 21 base/guid_posix.cc static_cast<unsigned int>(bytes[0] >> 32), bytes 22 base/guid_posix.cc static_cast<unsigned int>((bytes[0] >> 16) & 0x0000ffff), bytes 23 base/guid_posix.cc static_cast<unsigned int>(bytes[0] & 0x0000ffff), bytes 24 base/guid_posix.cc static_cast<unsigned int>(bytes[1] >> 48), bytes 25 base/guid_posix.cc bytes[1] & 0x0000ffffffffffffULL); bytes 13 base/guid_unittest.cc uint64 bytes[] = { 0, 0 }; bytes 14 base/guid_unittest.cc std::string clientid = base::RandomDataToGUIDString(bytes); bytes 19 base/guid_unittest.cc uint64 bytes[] = { 0x0123456789ABCDEFULL, 0xFEDCBA9876543210ULL }; bytes 20 base/guid_unittest.cc std::string clientid = base::RandomDataToGUIDString(bytes); bytes 178 base/i18n/build_utf8_validator_tables.cc uint8 bytes[4]; bytes 181 base/i18n/build_utf8_validator_tables.cc U8_APPEND(bytes, offset, arraysize(bytes), i, is_error); bytes 184 base/i18n/build_utf8_validator_tables.cc DCHECK_LE(offset, arraysize(bytes)); bytes 185 base/i18n/build_utf8_validator_tables.cc Pair pair = {Character(bytes, bytes + offset), StringSet()}; bytes 56 base/memory/discardable_memory_manager.cc void DiscardableMemoryManager::SetDiscardableMemoryLimit(size_t bytes) { bytes 58 base/memory/discardable_memory_manager.cc discardable_memory_limit_ = bytes; bytes 63 base/memory/discardable_memory_manager.cc size_t bytes) { bytes 65 base/memory/discardable_memory_manager.cc bytes_to_keep_under_moderate_pressure_ = bytes; bytes 69 base/memory/discardable_memory_manager.cc const DiscardableMemory* discardable, size_t bytes) { bytes 77 base/memory/discardable_memory_manager.cc allocations_.Put(discardable, Allocation(bytes)); bytes 88 base/memory/discardable_memory_manager.cc size_t bytes = it->second.bytes; bytes 89 base/memory/discardable_memory_manager.cc DCHECK_LE(bytes, bytes_allocated_); bytes 90 base/memory/discardable_memory_manager.cc bytes_allocated_ -= bytes; bytes 112 base/memory/discardable_memory_manager.cc size_t bytes = it->second.bytes; bytes 113 base/memory/discardable_memory_manager.cc if (!bytes) bytes 118 base/memory/discardable_memory_manager.cc if (bytes < discardable_memory_limit_) bytes 119 base/memory/discardable_memory_manager.cc limit = discardable_memory_limit_ - bytes; bytes 125 base/memory/discardable_memory_manager.cc if (std::numeric_limits<size_t>::max() - bytes < bytes_allocated_) bytes 128 base/memory/discardable_memory_manager.cc scoped_ptr<uint8, FreeDeleter> memory(static_cast<uint8*>(malloc(bytes))); bytes 132 base/memory/discardable_memory_manager.cc bytes_allocated_ += bytes; bytes 214 base/memory/discardable_memory_manager.cc size_t bytes = it->second.bytes; bytes 215 base/memory/discardable_memory_manager.cc DCHECK_LE(bytes, bytes_allocated_); bytes 216 base/memory/discardable_memory_manager.cc bytes_allocated_ -= bytes; bytes 59 base/memory/discardable_memory_manager.h void SetDiscardableMemoryLimit(size_t bytes); bytes 62 base/memory/discardable_memory_manager.h void SetBytesToKeepUnderModeratePressure(size_t bytes); bytes 65 base/memory/discardable_memory_manager.h void Register(const DiscardableMemory* discardable, size_t bytes); bytes 98 base/memory/discardable_memory_manager.h explicit Allocation(size_t bytes) bytes 99 base/memory/discardable_memory_manager.h : bytes(bytes), bytes 103 base/memory/discardable_memory_manager.h size_t bytes; bytes 86 base/memory/discardable_memory_manager_unittest.cc void SetDiscardableMemoryLimit(size_t bytes) { bytes 87 base/memory/discardable_memory_manager_unittest.cc manager_->SetDiscardableMemoryLimit(bytes); bytes 90 base/memory/discardable_memory_manager_unittest.cc void SetBytesToKeepUnderModeratePressure(size_t bytes) { bytes 91 base/memory/discardable_memory_manager_unittest.cc manager_->SetBytesToKeepUnderModeratePressure(bytes); bytes 42 base/memory/ref_counted_memory.cc RefCountedBytes* bytes = new RefCountedBytes; bytes 43 base/memory/ref_counted_memory.cc bytes->data_.swap(*to_destroy); bytes 44 base/memory/ref_counted_memory.cc return bytes; bytes 159 base/memory/shared_memory.h bool Map(size_t bytes) { bytes 160 base/memory/shared_memory.h return MapAt(0, bytes); bytes 166 base/memory/shared_memory.h bool MapAt(off_t offset, size_t bytes); bytes 87 base/memory/shared_memory_nacl.cc bool SharedMemory::MapAt(off_t offset, size_t bytes) { bytes 91 base/memory/shared_memory_nacl.cc if (bytes > static_cast<size_t>(std::numeric_limits<int>::max())) bytes 97 base/memory/shared_memory_nacl.cc memory_ = mmap(NULL, bytes, PROT_READ | (read_only_ ? 0 : PROT_WRITE), bytes 102 base/memory/shared_memory_nacl.cc mapped_size_ = bytes; bytes 275 base/memory/shared_memory_posix.cc bool SharedMemory::MapAt(off_t offset, size_t bytes) { bytes 279 base/memory/shared_memory_posix.cc if (bytes > static_cast<size_t>(std::numeric_limits<int>::max())) bytes 288 base/memory/shared_memory_posix.cc if (bytes == 0) { bytes 293 base/memory/shared_memory_posix.cc bytes = ashmem_bytes; bytes 297 base/memory/shared_memory_posix.cc memory_ = mmap(NULL, bytes, PROT_READ | (read_only_ ? 0 : PROT_WRITE), bytes 302 base/memory/shared_memory_posix.cc mapped_size_ = bytes; bytes 160 base/memory/shared_memory_win.cc bool SharedMemory::MapAt(off_t offset, size_t bytes) { bytes 164 base/memory/shared_memory_win.cc if (bytes > static_cast<size_t>(std::numeric_limits<int>::max())) bytes 175 base/memory/shared_memory_win.cc bytes); bytes 76 base/metrics/bucket_ranges.cc unsigned char bytes[sizeof(HistogramBase::Sample)]; bytes 80 base/metrics/bucket_ranges.cc sum = kCrcTable[(sum & 0xff) ^ converter.bytes[i]] ^ (sum >> 8); bytes 227 base/pickle_unittest.cc int bytes = sizeof(int) * 2; bytes 232 base/pickle_unittest.cc EXPECT_TRUE(PickleIterator(pickle).GetReadPointerAndAdvance(bytes)); bytes 233 base/pickle_unittest.cc EXPECT_FALSE(PickleIterator(pickle).GetReadPointerAndAdvance(bytes + 1)); bytes 411 base/process/memory_unittest.cc const char* bytes = static_cast<const char*>(value_); bytes 413 base/process/memory_unittest.cc EXPECT_EQ(0, bytes[i]); bytes 419 base/process/memory_unittest.cc bytes = static_cast<const char*>(value_); bytes 421 base/process/memory_unittest.cc EXPECT_EQ(0, bytes[i]); bytes 486 base/strings/string_number_conversions.cc std::string HexEncode(const void* bytes, size_t size) { bytes 493 base/strings/string_number_conversions.cc char b = reinterpret_cast<const char*>(bytes)[i]; bytes 95 base/strings/string_number_conversions.h BASE_EXPORT std::string HexEncode(const void* bytes, size_t size); bytes 768 base/strings/string_number_conversions_unittest.cc unsigned char bytes[] = {0x01, 0xff, 0x02, 0xfe, 0x03, 0x80, 0x81}; bytes 769 base/strings/string_number_conversions_unittest.cc hex = HexEncode(bytes, sizeof(bytes)); bytes 475 base/strings/string_util.cc string16 FormatBytesUnlocalized(int64 bytes) { bytes 476 base/strings/string_util.cc double unit_amount = static_cast<double>(bytes); bytes 486 base/strings/string_util.cc if (bytes != 0 && dimension > 0 && unit_amount < 100) { bytes 375 base/strings/string_util.h BASE_EXPORT base::string16 FormatBytesUnlocalized(int64 bytes); bytes 477 base/strings/string_util_unittest.cc int64 bytes; bytes 506 base/strings/string_util_unittest.cc FormatBytesUnlocalized(cases[i].bytes)); bytes 51 base/win/scoped_bstr.cc BSTR ScopedBstr::AllocateBytes(size_t bytes) { bytes 52 base/win/scoped_bstr.cc Reset(SysAllocStringByteLen(NULL, static_cast<UINT>(bytes))); bytes 56 base/win/scoped_bstr.cc void ScopedBstr::SetByteLen(size_t bytes) { bytes 59 base/win/scoped_bstr.cc data[-1] = static_cast<uint32>(bytes); bytes 49 base/win/scoped_bstr.h BSTR AllocateBytes(size_t bytes); bytes 62 base/win/scoped_bstr.h void SetByteLen(size_t bytes); bytes 77 cc/resources/managed_tile_state.cc return resource_->bytes(); bytes 395 cc/resources/pixel_buffer_raster_worker_pool.cc bytes_pending_upload_ -= state.resource->bytes(); bytes 552 cc/resources/pixel_buffer_raster_worker_pool.cc new_bytes_pending_upload += task->resource()->bytes(); bytes 746 cc/resources/pixel_buffer_raster_worker_pool.cc bytes_pending_upload_ += state.resource->bytes(); bytes 113 cc/resources/prioritized_resource.cc void PrioritizedResource::SetToSelfManagedMemoryPlaceholder(size_t bytes) { bytes 116 cc/resources/prioritized_resource.cc bytes_ = bytes; bytes 46 cc/resources/prioritized_resource.h size_t bytes() const { return bytes_; } bytes 98 cc/resources/prioritized_resource.h void SetToSelfManagedMemoryPlaceholder(size_t bytes); bytes 74 cc/resources/prioritized_resource_manager.cc memory_visible_bytes_ += texture->bytes(); bytes 78 cc/resources/prioritized_resource_manager.cc memory_visible_and_nearby_bytes_ += texture->bytes(); bytes 92 cc/resources/prioritized_resource_manager.cc size_t new_memory_bytes = memory_bytes + (*it)->bytes(); bytes 98 cc/resources/prioritized_resource_manager.cc memory_available_bytes_ -= (*it)->bytes(); bytes 100 cc/resources/prioritized_resource_manager.cc size_t new_memory_bytes = memory_bytes + (*it)->bytes(); bytes 134 cc/resources/prioritized_resource_manager.cc max_memory_needed_bytes_ += resource->bytes(); bytes 136 cc/resources/prioritized_resource_manager.cc memory_above_cutoff_bytes_ += resource->bytes(); bytes 220 cc/resources/prioritized_resource_manager.cc size_t new_memory_bytes = memory_above_cutoff_bytes_ + texture->bytes(); bytes 258 cc/resources/prioritized_resource_manager.cc EvictBackingsToReduceMemory(memory_available_bytes_ - texture->bytes(), bytes 327 cc/resources/prioritized_resource_manager.cc wasted_memory += (*it)->bytes(); bytes 462 cc/resources/prioritized_resource_manager.cc memory_use_bytes_ += backing->bytes(); bytes 478 cc/resources/prioritized_resource_manager.cc memory_use_bytes_ -= backing->bytes(); bytes 72 cc/resources/prioritized_resource_manager.h void SetMaxMemoryLimitBytes(size_t bytes) { max_memory_limit_bytes_ = bytes; } bytes 26 cc/resources/resource.h size_t bytes() const; bytes 50 cc/resources/resource_pool.cc unused_memory_usage_bytes_ -= resource->bytes(); bytes 64 cc/resources/resource_pool.cc memory_usage_bytes_ += resource->bytes(); bytes 97 cc/resources/resource_pool.cc memory_usage_bytes_ -= resource->bytes(); bytes 98 cc/resources/resource_pool.cc unused_memory_usage_bytes_ -= resource->bytes(); bytes 130 cc/resources/resource_pool.cc unused_memory_usage_bytes_ += resource->bytes(); bytes 34 cc/resources/scoped_resource_unittest.cc EXPECT_EQ(0u, texture->bytes()); bytes 54 cc/resources/scoped_resource_unittest.cc EXPECT_EQ(expected_bytes, texture->bytes()); bytes 122 cc/resources/texture_uploader_unittest.cc const uint8* bytes = static_cast<const uint8*>(pixels); bytes 129 cc/resources/texture_uploader_unittest.cc bytes + (xoffset * bytes_per_pixel + (yoffset + row) * stride); bytes 933 cc/trees/layer_tree_host.cc size_t bytes = bytes 936 cc/trees/layer_tree_host.cc contents_texture_bytes += bytes; bytes 941 cc/trees/layer_tree_host.cc if (bytes > max_background_texture_bytes) bytes 942 cc/trees/layer_tree_host.cc max_background_texture_bytes = bytes; bytes 329 cc/trees/layer_tree_host_impl.h void set_max_memory_needed_bytes(size_t bytes) { bytes 330 cc/trees/layer_tree_host_impl.h max_memory_needed_bytes_ = bytes; bytes 187 chrome/android/java/src/org/chromium/chrome/browser/CertificateViewer.java private static String formatBytes(byte[] bytes, char separator) { bytes 189 chrome/android/java/src/org/chromium/chrome/browser/CertificateViewer.java for (int i = 0; i < bytes.length; i++) { bytes 190 chrome/android/java/src/org/chromium/chrome/browser/CertificateViewer.java sb.append(String.format("%02X", bytes[i])); bytes 191 chrome/android/java/src/org/chromium/chrome/browser/CertificateViewer.java if (i != bytes.length - 1) { bytes 198 chrome/android/java/src/org/chromium/chrome/browser/CertificateViewer.java private static byte[] getDigest(byte[] bytes, String algorithm) { bytes 201 chrome/android/java/src/org/chromium/chrome/browser/CertificateViewer.java md.update(bytes); bytes 212 chrome/android/java/src/org/chromium/chrome/browser/WebappAuthenticator.java byte[] bytes = new byte[count]; bytes 213 chrome/android/java/src/org/chromium/chrome/browser/WebappAuthenticator.java if (bytes.length != fis.read(bytes)) { bytes 216 chrome/android/java/src/org/chromium/chrome/browser/WebappAuthenticator.java return bytes; bytes 46 chrome/android/javatests/src/org/chromium/chrome/browser/test/ProviderBookmarkNodeTest.java byte[] bytes = output.marshall(); bytes 48 chrome/android/javatests/src/org/chromium/chrome/browser/test/ProviderBookmarkNodeTest.java input.unmarshall(bytes, 0, bytes.length); bytes 1114 chrome/browser/android/provider/chrome_browser_provider.cc std::vector<uint8> bytes; bytes 1115 chrome/browser/android/provider/chrome_browser_provider.cc base::android::JavaByteArrayToByteVector(env, favicon, &bytes); bytes 1116 chrome/browser/android/provider/chrome_browser_provider.cc row->set_favicon(base::RefCountedBytes::TakeVector(&bytes)); bytes 47 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc int bytes = base::WriteFile(token_file, token.c_str(), token.length()); bytes 48 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc return bytes >= 0; bytes 45 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc int bytes = base::WriteFile(token_file, token.c_str(), token.length()); bytes 46 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc return bytes >= 0; bytes 189 chrome/browser/component_updater/test/url_request_post_interceptor.cc const std::string request_body(reader->bytes()); bytes 189 chrome/browser/extensions/api/hid/hid_api.cc void HidReceiveFunction::OnFinished(bool success, size_t bytes) { bytes 195 chrome/browser/extensions/api/hid/hid_api.cc SetResult(base::BinaryValue::CreateWithCopiedBuffer(buffer_->data(), bytes)); bytes 226 chrome/browser/extensions/api/hid/hid_api.cc void HidSendFunction::OnFinished(bool success, size_t bytes) { bytes 259 chrome/browser/extensions/api/hid/hid_api.cc void HidReceiveFeatureReportFunction::OnFinished(bool success, size_t bytes) { bytes 265 chrome/browser/extensions/api/hid/hid_api.cc SetResult(base::BinaryValue::CreateWithCopiedBuffer(buffer_->data(), bytes)); bytes 295 chrome/browser/extensions/api/hid/hid_api.cc void HidSendFeatureReportFunction::OnFinished(bool success, size_t bytes) { bytes 118 chrome/browser/extensions/api/hid/hid_api.h void OnFinished(bool success, size_t bytes); bytes 140 chrome/browser/extensions/api/hid/hid_api.h void OnFinished(bool success, size_t bytes); bytes 162 chrome/browser/extensions/api/hid/hid_api.h void OnFinished(bool success, size_t bytes); bytes 184 chrome/browser/extensions/api/hid/hid_api.h void OnFinished(bool success, size_t bytes); bytes 52 chrome/browser/extensions/api/music_manager_private/device_id.cc bool IsValidMacAddressImpl(const void* bytes, size_t size) { bytes 158 chrome/browser/extensions/api/music_manager_private/device_id.cc if (static_cast<const unsigned char *>(bytes)[0] & 0x02) { bytes 167 chrome/browser/extensions/api/music_manager_private/device_id.cc if (memcmp(invalidAddresses[i].address, bytes, count) == 0) { bytes 191 chrome/browser/extensions/api/music_manager_private/device_id.cc bool DeviceId::IsValidMacAddress(const void* bytes, size_t size) { bytes 192 chrome/browser/extensions/api/music_manager_private/device_id.cc return IsValidMacAddressImpl(bytes, size); bytes 42 chrome/browser/extensions/api/music_manager_private/device_id.h static bool IsValidMacAddress(const void* bytes, size_t size); bytes 27 chrome/browser/extensions/api/music_manager_private/device_id_linux.cc typedef base::Callback<bool(const void* bytes, size_t size)> bytes 32 chrome/browser/extensions/api/music_manager_private/device_id_mac.cc typedef base::Callback<bool(const void* bytes, size_t size)> bytes 35 chrome/browser/extensions/api/music_manager_private/device_id_win.cc typedef base::Callback<bool(const void* bytes, size_t size)> bytes 71 chrome/browser/extensions/api/music_manager_private/device_id_win.cc const void* bytes, bytes 76 chrome/browser/extensions/api/music_manager_private/device_id_win.cc if (!is_valid_mac_address_.Run(bytes, size)) bytes 79 chrome/browser/extensions/api/music_manager_private/device_id_win.cc found_mac_address_ = StringToLowerASCII(base::HexEncode(bytes, size)); bytes 43 chrome/browser/extensions/api/system_cpu/cpu_info_provider_win.cc ULONG returned_bytes = 0, bytes = bytes 47 chrome/browser/extensions/api/system_cpu/cpu_info_provider_win.cc processor_info.get(), bytes, &returned_bytes))) bytes 34 chrome/browser/extensions/api/web_request/form_data_parser_unittest.cc const std::vector<const base::StringPiece*>& bytes, bytes 40 chrome/browser/extensions/api/web_request/form_data_parser_unittest.cc for (size_t block = 0; block < bytes.size(); ++block) { bytes 41 chrome/browser/extensions/api/web_request/form_data_parser_unittest.cc if (!parser->SetSource(*(bytes[block]))) bytes 55 chrome/browser/extensions/api/web_request/form_data_parser_unittest.cc const std::vector<const base::StringPiece*>& bytes) { bytes 61 chrome/browser/extensions/api/web_request/form_data_parser_unittest.cc for (size_t block = 0; block < bytes.size(); ++block) { bytes 62 chrome/browser/extensions/api/web_request/form_data_parser_unittest.cc if (!parser->SetSource(*(bytes[block]))) bytes 121 chrome/browser/extensions/api/web_request/form_data_parser_unittest.cc #define BYTES_FROM_BLOCK(bytes, block) \ bytes 122 chrome/browser/extensions/api/web_request/form_data_parser_unittest.cc const base::StringPiece bytes(block, sizeof(block) - 1) bytes 201 chrome/browser/extensions/api/web_request/form_data_parser_unittest.cc #define BYTES_FROM_BLOCK(bytes, block) \ bytes 202 chrome/browser/extensions/api/web_request/form_data_parser_unittest.cc const base::StringPiece bytes(block, sizeof(block) - 1) bytes 72 chrome/browser/extensions/api/web_request/upload_data_presenter.cc FeedNextBytes(bytes_reader->bytes(), bytes_reader->length()); bytes 93 chrome/browser/extensions/api/web_request/upload_data_presenter.cc void RawDataPresenter::FeedNextBytes(const char* bytes, size_t size) { bytes 95 chrome/browser/extensions/api/web_request/upload_data_presenter.cc BinaryValue::CreateWithCopiedBuffer(bytes, size), bytes 124 chrome/browser/extensions/api/web_request/upload_data_presenter.cc if (!parser_->SetSource(base::StringPiece(bytes_reader->bytes(), bytes 80 chrome/browser/extensions/api/web_request/upload_data_presenter.h void FeedNextBytes(const char* bytes, size_t size); bytes 296 chrome/browser/favicon/favicon_handler_unittest.cc scoped_refptr<base::RefCountedMemory> bytes = image.As1xPNGBytes(); bytes 297 chrome/browser/favicon/favicon_handler_unittest.cc std::vector<unsigned char> bitmap_data(bytes->front(), bytes 298 chrome/browser/favicon/favicon_handler_unittest.cc bytes->front() + bytes->size()); bytes 84 chrome/browser/history/top_sites.h scoped_refptr<base::RefCountedMemory>* bytes) = 0; bytes 48 chrome/browser/history/top_sites_cache.cc scoped_refptr<base::RefCountedMemory>* bytes) const { bytes 54 chrome/browser/history/top_sites_cache.cc *bytes = data; bytes 62 chrome/browser/history/top_sites_cache.h scoped_refptr<base::RefCountedMemory>* bytes) const; bytes 241 chrome/browser/history/top_sites_impl.cc scoped_refptr<base::RefCountedMemory>* bytes) { bytes 246 chrome/browser/history/top_sites_impl.cc if (thread_safe_cache_->GetPageThumbnail(url, bytes)) bytes 253 chrome/browser/history/top_sites_impl.cc *bytes = ResourceBundle::GetSharedInstance(). bytes 276 chrome/browser/history/top_sites_impl.cc thread_safe_cache_->GetPageThumbnail(canonical_url, bytes)) { bytes 540 chrome/browser/history/top_sites_impl.cc scoped_refptr<base::RefCountedBytes>* bytes) { bytes 543 chrome/browser/history/top_sites_impl.cc *bytes = new base::RefCountedBytes(); bytes 551 chrome/browser/history/top_sites_impl.cc (*bytes)->data() = data; bytes 70 chrome/browser/history/top_sites_impl.h scoped_refptr<base::RefCountedMemory>* bytes) OVERRIDE; bytes 137 chrome/browser/history/top_sites_impl.h scoped_refptr<base::RefCountedBytes>* bytes); bytes 275 chrome/browser/history/top_sites_impl_unittest.cc base::RefCountedMemory* bytes) { bytes 278 chrome/browser/history/top_sites_impl_unittest.cc return ThumbnailsAreEqual(encoded_image.get(), bytes); bytes 107 chrome/browser/net/network_stats_unittest.cc uint32 bytes, bytes 110 chrome/browser/net/network_stats_unittest.cc MakeDeterministicMockData(max_tests, max_probe_packets, bytes, io_mode); bytes 127 chrome/browser/net/network_stats_unittest.cc bytes, bytes 128 chrome/browser/net/network_stats_unittest.cc bytes, bytes 194 chrome/browser/net/network_stats_unittest.cc uint32 bytes, bytes 201 chrome/browser/net/network_stats_unittest.cc test_type, bytes, interval_micros, max_probe_packets, io_mode); bytes 228 chrome/browser/net/network_stats_unittest.cc bytes, bytes 229 chrome/browser/net/network_stats_unittest.cc bytes, bytes 24 chrome/browser/parsers/metadata_parser_factory.h char* bytes, bytes 16 chrome/browser/parsers/metadata_parser_jpeg_factory.cc char* bytes, bytes 22 chrome/browser/parsers/metadata_parser_jpeg_factory.h char* bytes, bytes 397 chrome/browser/password_manager/native_backend_kwallet_x.cc const uint8_t* bytes = NULL; bytes 399 chrome/browser/password_manager/native_backend_kwallet_x.cc if (!reader.PopArrayOfBytes(&bytes, &length)) { bytes 404 chrome/browser/password_manager/native_backend_kwallet_x.cc if (!bytes || !CheckSerializedValue(bytes, length, signon_realm)) bytes 408 chrome/browser/password_manager/native_backend_kwallet_x.cc Pickle pickle(reinterpret_cast<const char*>(bytes), length); bytes 507 chrome/browser/password_manager/native_backend_kwallet_x.cc const uint8_t* bytes = NULL; bytes 509 chrome/browser/password_manager/native_backend_kwallet_x.cc if (!reader.PopArrayOfBytes(&bytes, &length)) { bytes 514 chrome/browser/password_manager/native_backend_kwallet_x.cc if (!bytes) bytes 516 chrome/browser/password_manager/native_backend_kwallet_x.cc if (!CheckSerializedValue(bytes, length, signon_realm)) { bytes 525 chrome/browser/password_manager/native_backend_kwallet_x.cc Pickle pickle(reinterpret_cast<const char*>(bytes), length); bytes 615 chrome/browser/password_manager/native_backend_kwallet_x.cc const uint8_t* bytes = NULL; bytes 617 chrome/browser/password_manager/native_backend_kwallet_x.cc if (!reader.PopArrayOfBytes(&bytes, &length)) { bytes 622 chrome/browser/password_manager/native_backend_kwallet_x.cc if (!bytes || !CheckSerializedValue(bytes, length, signon_realm)) bytes 626 chrome/browser/password_manager/native_backend_kwallet_x.cc Pickle pickle(reinterpret_cast<const char*>(bytes), length); bytes 431 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc const uint8_t* bytes = NULL; bytes 437 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc EXPECT_TRUE(reader.PopArrayOfBytes(&bytes, &length)); bytes 444 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc TestKWallet::Blob(bytes, length)) ? 0 : 1); bytes 86 chrome/browser/performance_monitor/performance_monitor.h void BytesReadOnIOThread(const net::URLRequest& request, const int bytes); bytes 76 chrome/browser/policy/cloud/device_management_service_browsertest.cc ConstructResponse(bytes_reader->bytes(), bytes 87 chrome/browser/policy/cloud/test_request_interceptor.cc std::string data(reader->bytes(), reader->length()); bytes 30 chrome/browser/prefs/tracked/pref_hash_calculator_helper_win.cc bool IsValidMacAddress(const void* bytes, size_t size) { bytes 136 chrome/browser/prefs/tracked/pref_hash_calculator_helper_win.cc if (static_cast<const unsigned char *>(bytes)[0] & 0x02) { bytes 145 chrome/browser/prefs/tracked/pref_hash_calculator_helper_win.cc if (memcmp(kInvalidAddresses[i].address, bytes, count) == 0) { bytes 182 chrome/browser/prefs/tracked/pref_hash_calculator_helper_win.cc const void* bytes, bytes 187 chrome/browser/prefs/tracked/pref_hash_calculator_helper_win.cc if (!IsValidMacAddress(bytes, size)) bytes 190 chrome/browser/prefs/tracked/pref_hash_calculator_helper_win.cc found_mac_address_ = StringToLowerASCII(base::HexEncode(bytes, size)); bytes 880 chrome/browser/prerender/prerender_contents.cc void PrerenderContents::AddNetworkBytes(int64 bytes) { bytes 881 chrome/browser/prerender/prerender_contents.cc network_bytes_ += bytes; bytes 310 chrome/browser/prerender/prerender_contents.h void AddNetworkBytes(int64 bytes); bytes 1825 chrome/browser/prerender/prerender_manager.cc void PrerenderManager::AddProfileNetworkBytesIfEnabled(int64 bytes) { bytes 1826 chrome/browser/prerender/prerender_manager.cc DCHECK_GE(bytes, 0); bytes 1828 chrome/browser/prerender/prerender_manager.cc profile_network_bytes_ += bytes; bytes 361 chrome/browser/prerender/prerender_manager.h void AddProfileNetworkBytesIfEnabled(int64 bytes); bytes 139 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc int64 bytes) { bytes 149 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc prerender_contents->AddNetworkBytes(bytes); bytes 154 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc prerender_manager->AddProfileNetworkBytesIfEnabled(bytes); bytes 148 chrome/browser/renderer_host/web_cache_manager.cc void WebCacheManager::SetGlobalSizeLimit(size_t bytes) { bytes 149 chrome/browser/renderer_host/web_cache_manager.cc global_size_limit_ = bytes; bytes 67 chrome/browser/renderer_host/web_cache_manager.h void SetGlobalSizeLimit(size_t bytes); bytes 90 chrome/browser/sessions/better_session_restore_browsertest.cc std::string(bytes_reader->bytes(), bytes_reader->length()); bytes 271 chrome/browser/sync/glue/favicon_cache_unittest.cc const std::string& bytes) const; bytes 333 chrome/browser/sync/glue/favicon_cache_unittest.cc const std::string& bytes) const { bytes 338 chrome/browser/sync/glue/favicon_cache_unittest.cc if (favicon->size() != bytes.size()) bytes 341 chrome/browser/sync/glue/favicon_cache_unittest.cc if (bytes[i] != *(favicon->front() + i)) bytes 466 chrome/browser/sync/glue/favicon_cache_unittest.cc std::string bytes = "bytes"; bytes 468 chrome/browser/sync/glue/favicon_cache_unittest.cc TriggerSyncFaviconReceived(GURL(page_url), GURL(fav_url), bytes, 0); bytes 470 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_TRUE(ExpectFaviconEquals(page_url, bytes)); bytes 476 chrome/browser/sync/glue/favicon_cache_unittest.cc std::string bytes = "bytes"; bytes 486 chrome/browser/sync/glue/favicon_cache_unittest.cc TriggerSyncFaviconReceived(GURL(page_url), GURL(fav_url), bytes, 0); bytes 488 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_TRUE(ExpectFaviconEquals(page_url, bytes)); bytes 494 chrome/browser/sync/glue/favicon_cache_unittest.cc std::string bytes = "bytes"; bytes 497 chrome/browser/sync/glue/favicon_cache_unittest.cc TriggerSyncFaviconReceived(GURL(page_url), GURL(fav_url), bytes, 0); bytes 499 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_TRUE(ExpectFaviconEquals(page_url, bytes)); bytes 505 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_TRUE(ExpectFaviconEquals(page_url, bytes)); bytes 513 chrome/browser/sync/glue/favicon_cache_unittest.cc std::string bytes = "bytes"; bytes 515 chrome/browser/sync/glue/favicon_cache_unittest.cc TriggerSyncFaviconReceived(GURL(page_url), GURL(fav_url), bytes, 0); bytes 517 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_TRUE(ExpectFaviconEquals(page_url, bytes)); bytes 520 chrome/browser/sync/glue/favicon_cache_unittest.cc TriggerSyncFaviconReceived(GURL(page2_url), GURL(fav_url), bytes, 0); bytes 522 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_TRUE(ExpectFaviconEquals(page2_url, bytes)); bytes 170 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc File::Error error, int64 bytes, bool complete) { bytes 172 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc bytes_written_ += bytes; bytes 120 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc File::Error status, int64 bytes, bool complete) { bytes 123 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc write_bytes_ += bytes; bytes 388 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc int64 bytes, bytes 392 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc callback.Run(result, bytes, complete); bytes 397 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc callback.Run(result, bytes, complete); bytes 113 chrome/browser/sync_file_system/local/syncable_file_system_operation.h int64 bytes, bytes 541 chrome/browser/task_manager/task_manager.cc size_t bytes = 0; bytes 542 chrome/browser/task_manager/task_manager.cc if (!GetSqliteMemoryUsedBytes(index, &bytes)) bytes 544 chrome/browser/task_manager/task_manager.cc return GetMemCellText(bytes); bytes 51 chrome/browser/thumbnails/thumbnail_service.h scoped_refptr<base::RefCountedMemory>* bytes) = 0; bytes 67 chrome/browser/thumbnails/thumbnail_service_impl.cc scoped_refptr<base::RefCountedMemory>* bytes) { bytes 72 chrome/browser/thumbnails/thumbnail_service_impl.cc return local_ptr->GetPageThumbnail(url, prefix_match, bytes); bytes 32 chrome/browser/thumbnails/thumbnail_service_impl.h scoped_refptr<base::RefCountedMemory>* bytes) OVERRIDE; bytes 162 chrome/browser/ui/webui/devtools_ui.cc scoped_refptr<base::RefCountedStaticMemory> bytes(rb.LoadDataResourceBytes( bytes 164 chrome/browser/ui/webui/devtools_ui.cc callback.Run(bytes.get()); bytes 26 chrome/installer/mini_installer/mini_string.cc bool HexEncode(const void* bytes, size_t size, wchar_t* str, size_t str_size) { bytes 35 chrome/installer/mini_installer/mini_string.cc char b = reinterpret_cast<const char*>(bytes)[i]; bytes 24 chrome/installer/mini_installer/mini_string.h bool HexEncode(const void* bytes, size_t size, wchar_t* str, size_t str_size); bytes 2227 chrome/installer/util/shell_util.cc base::string16 ShellUtil::ByteArrayToBase32(const uint8* bytes, size_t size) { bytes 2235 chrome/installer/util/shell_util.cc ret.push_back(kEncoding[(bytes[0] & 0xf8) >> 3]); bytes 2236 chrome/installer/util/shell_util.cc ret.push_back(kEncoding[(bytes[0] & 0x07) << 2]); bytes 2254 chrome/installer/util/shell_util.cc uint16 bit_stream = (bytes[0] << 8) + bytes[1]; bytes 2267 chrome/installer/util/shell_util.cc bit_stream += bytes[next_byte_index++] << free_bits; bytes 601 chrome/installer/util/shell_util.h static base::string16 ByteArrayToBase32(const uint8* bytes, size_t size); bytes 536 chrome/test/base/ui_test_utils.cc int bytes = static_cast<int>(png_data.size()); bytes 538 chrome/test/base/ui_test_utils.cc out_path, reinterpret_cast<char*>(&png_data[0]), bytes); bytes 539 chrome/test/base/ui_test_utils.cc succeeded = (written == bytes); bytes 74 chrome/test/chromedriver/util.cc std::string* bytes) { bytes 80 chrome/test/chromedriver/util.cc return base::Base64Decode(copy, bytes); bytes 86 chrome/test/chromedriver/util.cc const std::string& bytes) { bytes 92 chrome/test/chromedriver/util.cc int length = bytes.length(); bytes 93 chrome/test/chromedriver/util.cc if (base::WriteFile(archive, bytes.c_str(), length) != length) bytes 119 chrome/test/chromedriver/util.cc void WriteBytes(const void* bytes, int size) { bytes 124 chrome/test/chromedriver/util.cc memcpy(&buffer_[next], bytes, size); bytes 160 chrome/test/chromedriver/util.cc bool ReadBytes(void* bytes, int size) { bytes 163 chrome/test/chromedriver/util.cc memcpy(bytes, &data_[iter_], size); bytes 183 chrome/test/chromedriver/util.cc static bool FromBytes(const std::string& bytes, ZipEntry* zip, bytes 185 chrome/test/chromedriver/util.cc DataInputStream stream(bytes.c_str(), bytes.length()); bytes 366 chrome/test/chromedriver/util.cc const std::string& bytes) { bytes 369 chrome/test/chromedriver/util.cc if (!ZipEntry::FromBytes(bytes, &entry, &zip_error_msg)) bytes 378 chrome/test/chromedriver/util.cc const std::string& bytes, bytes 381 chrome/test/chromedriver/util.cc Status status = UnzipArchive(unzip_dir, bytes); bytes 383 chrome/test/chromedriver/util.cc Status entry_status = UnzipEntry(unzip_dir, bytes); bytes 30 chrome/test/chromedriver/util.h bool Base64Decode(const std::string& base64, std::string* bytes); bytes 39 chrome/test/chromedriver/util.h const std::string& bytes, bytes 156 chrome/test/data/dromaeo/JSON.php $bytes = (ord($utf16{0}) << 8) | ord($utf16{1}); bytes 159 chrome/test/data/dromaeo/JSON.php case ((0x7F & $bytes) == $bytes): bytes 162 chrome/test/data/dromaeo/JSON.php return chr(0x7F & $bytes); bytes 164 chrome/test/data/dromaeo/JSON.php case (0x07FF & $bytes) == $bytes: bytes 167 chrome/test/data/dromaeo/JSON.php return chr(0xC0 | (($bytes >> 6) & 0x1F)) bytes 168 chrome/test/data/dromaeo/JSON.php . chr(0x80 | ($bytes & 0x3F)); bytes 170 chrome/test/data/dromaeo/JSON.php case (0xFFFF & $bytes) == $bytes: bytes 173 chrome/test/data/dromaeo/JSON.php return chr(0xE0 | (($bytes >> 12) & 0x0F)) bytes 174 chrome/test/data/dromaeo/JSON.php . chr(0x80 | (($bytes >> 6) & 0x3F)) bytes 175 chrome/test/data/dromaeo/JSON.php . chr(0x80 | ($bytes & 0x3F)); bytes 44 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc nacl::scoped_array<uint8_t> bytes; bytes 48 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc bytes.reset(new uint8_t[nbytes]); bytes 49 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc if (NULL == bytes.get()) { bytes 56 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc copied = read(d, bytes.get() + got, nbytes - got); bytes 72 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc sb->Printf("%02x", bytes[ix]); bytes 95 chrome/utility/media_galleries/ipc_data_source.cc const std::string& bytes) { bytes 102 chrome/utility/media_galleries/ipc_data_source.cc std::copy(bytes.begin(), bytes.end(), it->second.destination); bytes 103 chrome/utility/media_galleries/ipc_data_source.cc it->second.callback.Run(bytes.size()); bytes 58 chrome/utility/media_galleries/ipc_data_source.h const std::string& bytes); bytes 256 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc const uint8* bytes = NULL; bytes 258 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc if (!variant_reader.PopArrayOfBytes(&bytes, &length)) { bytes 268 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc std::vector<uint8> value(bytes, bytes + length); bytes 253 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc const uint8* bytes = NULL; bytes 255 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc if (!variant_reader.PopArrayOfBytes(&bytes, &length)) { bytes 265 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc std::vector<uint8> value(bytes, bytes + length); bytes 362 chromeos/dbus/cryptohome_client.cc const uint8* bytes = NULL; bytes 364 chromeos/dbus/cryptohome_client.cc if (!reader.PopArrayOfBytes(&bytes, &length) || bytes 367 chromeos/dbus/cryptohome_client.cc value->assign(bytes, bytes + length); bytes 849 chromeos/dbus/cryptohome_client.cc const uint8* bytes = NULL; bytes 851 chromeos/dbus/cryptohome_client.cc if (!reader.PopArrayOfBytes(&bytes, &length)) { bytes 856 chromeos/dbus/cryptohome_client.cc std::vector<uint8>(bytes, bytes + length)); bytes 326 chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc uint8* bytes = reinterpret_cast<uint8*>(&value); bytes 328 chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc return_value.assign(bytes, bytes + sizeof(value)); bytes 32 components/rappor/bloom_filter.h const ByteVector& bytes() const { return bytes_; }; bytes 16 components/rappor/bloom_filter_unittest.cc EXPECT_EQ(1u, filter.bytes().size()); bytes 17 components/rappor/bloom_filter_unittest.cc EXPECT_EQ(0x00, filter.bytes()[0]); bytes 21 components/rappor/bloom_filter_unittest.cc EXPECT_EQ(0x2a, filter.bytes()[0]); bytes 25 components/rappor/bloom_filter_unittest.cc EXPECT_EQ(0x2a, filter.bytes()[0]); bytes 28 components/rappor/bloom_filter_unittest.cc EXPECT_EQ(0x00, filter2.bytes()[0]); bytes 30 components/rappor/bloom_filter_unittest.cc EXPECT_EQ(0xa8, filter2.bytes()[0]); bytes 34 components/rappor/bloom_filter_unittest.cc EXPECT_EQ(0xaa, filter.bytes()[0]); bytes 43 components/rappor/bloom_filter_unittest.cc EXPECT_EQ(500u, filter.bytes().size()); bytes 44 components/rappor/bloom_filter_unittest.cc EXPECT_EQ(0, CountBits(filter.bytes())); bytes 47 components/rappor/bloom_filter_unittest.cc EXPECT_EQ(1, CountBits(filter.bytes())); bytes 51 components/rappor/bloom_filter_unittest.cc EXPECT_EQ(1, CountBits(filter.bytes())); bytes 117 components/rappor/byte_vector_utils.cc ByteVector bytes(byte_count_); bytes 118 components/rappor/byte_vector_utils.cc crypto::RandBytes(&bytes[0], bytes.size()); bytes 119 components/rappor/byte_vector_utils.cc return bytes; bytes 124 components/rappor/byte_vector_utils.cc ByteVector bytes = GetRandomByteVector(); bytes 127 components/rappor/byte_vector_utils.cc return *ByteVectorOr(GetRandomByteVector(), &bytes); bytes 129 components/rappor/byte_vector_utils.cc return bytes; bytes 132 components/rappor/byte_vector_utils.cc return bytes; bytes 191 components/rappor/byte_vector_utils.cc ByteVector bytes(byte_count()); bytes 192 components/rappor/byte_vector_utils.cc uint8_t* data = &bytes[0]; bytes 212 components/rappor/byte_vector_utils.cc return bytes; bytes 34 components/rappor/rappor_metric.cc std::string(bytes().begin(), bytes().end()); bytes 35 components/rappor/rappor_metric.cc HmacByteVectorGenerator hmac_generator(bytes().size(), secret, bytes 45 components/rappor/rappor_metric.cc ByteVectorMerge(fake_mask, bytes(), &fake_bits); bytes 48 components/rappor/rappor_metric.cc ByteVectorGenerator coin_generator(bytes().size()); bytes 41 components/rappor/rappor_metric.h const ByteVector& bytes() const { return bloom_filter_.bytes(); } bytes 36 components/rappor/rappor_metric_unittest.cc EXPECT_EQ(0x80, testMetric.bytes()[1]); bytes 53 components/rappor/rappor_metric_unittest.cc const ByteVector real_bits = metric.bytes(); bytes 146 components/rappor/rappor_service.cc ByteVector bytes = metric->GetReport(secret_); bytes 147 components/rappor/rappor_service.cc report->set_bits(std::string(bytes.begin(), bytes.end())); bytes 415 content/browser/download/download_browsertest.cc int bytes = download->GetReceivedBytes(); bytes 416 content/browser/download/download_browsertest.cc if (last_state_.state != state || last_state_.bytes_received > bytes) { bytes 418 content/browser/download/download_browsertest.cc last_state_.bytes_received = bytes; bytes 90 content/browser/download/download_file_unittest.cc void SetUpdateDownloadInfo(int64 bytes, int64 bytes_per_sec, bytes 92 content/browser/download/download_file_unittest.cc bytes_ = bytes; bytes 64 content/browser/fileapi/file_system_browsertest.cc static void SetTempQuota(int64 bytes, scoped_refptr<QuotaManager> qm) { bytes 68 content/browser/fileapi/file_system_browsertest.cc base::Bind(&FileSystemBrowserTestWithLowQuota::SetTempQuota, bytes, bytes 73 content/browser/fileapi/file_system_browsertest.cc qm->SetTemporaryGlobalOverrideQuota(bytes, quota::QuotaCallback()); bytes 99 content/browser/fileapi/file_system_operation_impl_write_unittest.cc void add_bytes_written(int64 bytes, bool complete) { bytes 100 content/browser/fileapi/file_system_operation_impl_write_unittest.cc bytes_written_ += bytes; bytes 132 content/browser/fileapi/file_system_operation_impl_write_unittest.cc void DidWrite(base::File::Error status, int64 bytes, bool complete) { bytes 134 content/browser/fileapi/file_system_operation_impl_write_unittest.cc add_bytes_written(bytes, complete); bytes 56 content/browser/fileapi/file_writer_delegate_unittest.cc void DidWrite(base::File::Error status, int64 bytes, bytes 60 content/browser/fileapi/file_writer_delegate_unittest.cc bytes_written_ += bytes; bytes 632 content/browser/fileapi/fileapi_message_filter.cc stream->AddData(item.bytes(), item.length()); bytes 748 content/browser/fileapi/fileapi_message_filter.cc int64 bytes, bytes 751 content/browser/fileapi/fileapi_message_filter.cc Send(new FileSystemMsg_DidWrite(request_id, bytes, complete)); bytes 177 content/browser/fileapi/fileapi_message_filter.h int64 bytes, bytes 590 content/browser/indexed_db/indexed_db_backing_store.cc std::vector<char> bytes(file_size); bytes 591 content/browser/indexed_db/indexed_db_backing_store.cc if (file_size == base::ReadPlatformFile(file, 0, &bytes[0], file_size)) { bytes 592 content/browser/indexed_db/indexed_db_backing_store.cc std::string input_js(&bytes[0], file_size); bytes 97 content/browser/indexed_db/indexed_db_browsertest.cc static void SetTempQuota(int64 bytes, scoped_refptr<QuotaManager> qm) { bytes 101 content/browser/indexed_db/indexed_db_browsertest.cc base::Bind(&IndexedDBBrowserTest::SetTempQuota, bytes, qm)); bytes 105 content/browser/indexed_db/indexed_db_browsertest.cc qm->SetTemporaryGlobalOverrideQuota(bytes, quota::QuotaCallback()); bytes 129 content/browser/indexed_db/indexed_db_browsertest.cc virtual void DidGetDiskUsage(int64 bytes) { bytes 130 content/browser/indexed_db/indexed_db_browsertest.cc EXPECT_GT(bytes, 0); bytes 131 content/browser/indexed_db/indexed_db_browsertest.cc disk_usage_ = bytes; bytes 461 content/browser/indexed_db/indexed_db_leveldb_coding.cc size_t bytes = length * sizeof(base::char16); bytes 462 content/browser/indexed_db/indexed_db_leveldb_coding.cc if (slice->size() < bytes) bytes 465 content/browser/indexed_db/indexed_db_leveldb_coding.cc StringPiece subpiece(slice->begin(), bytes); bytes 466 content/browser/indexed_db/indexed_db_leveldb_coding.cc slice->remove_prefix(bytes); bytes 28 content/browser/loader/upload_data_stream_builder.cc : net::UploadBytesElementReader(element.bytes(), element.length()), bytes 37 content/browser/loader/upload_data_stream_builder_unittest.cc std::equal(element.bytes(), element.bytes() + element.length(), bytes 38 content/browser/loader/upload_data_stream_builder_unittest.cc bytes_reader->bytes()); bytes 83 content/browser/loader/upload_data_stream_builder_unittest.cc EXPECT_EQ(kData, std::string(r1->bytes(), r1->length())); bytes 119 content/browser/loader/upload_data_stream_builder_unittest.cc blob_data->items().at(0).bytes() + bytes 135 content/browser/loader/upload_data_stream_builder_unittest.cc request_body->AppendBytes(upload_element1.bytes(), upload_element1.length()); bytes 178 content/browser/loader/upload_data_stream_builder_unittest.cc request_body->AppendBytes(upload_element1.bytes(), upload_element1.length()); bytes 197 content/browser/loader/upload_data_stream_builder_unittest.cc request_body->AppendBytes(upload_element1.bytes(), upload_element1.length()); bytes 217 content/browser/loader/upload_data_stream_builder_unittest.cc request_body->AppendBytes(upload_element1.bytes(), upload_element1.length()); bytes 238 content/browser/loader/upload_data_stream_builder_unittest.cc request_body->AppendBytes(upload_element1.bytes(), upload_element1.length()); bytes 32 content/browser/renderer_host/media/audio_input_sync_writer.cc void AudioInputSyncWriter::UpdateRecordedBytes(uint32 bytes) { bytes 33 content/browser/renderer_host/media/audio_input_sync_writer.cc socket_->Send(&bytes, sizeof(bytes)); bytes 34 content/browser/renderer_host/media/audio_input_sync_writer.h virtual void UpdateRecordedBytes(uint32 bytes) OVERRIDE; bytes 53 content/browser/renderer_host/media/audio_sync_reader.cc void AudioSyncReader::UpdatePendingBytes(uint32 bytes) { bytes 57 content/browser/renderer_host/media/audio_sync_reader.cc socket_->Send(&bytes, sizeof(bytes)); bytes 37 content/browser/renderer_host/media/audio_sync_reader.h virtual void UpdatePendingBytes(uint32 bytes) OVERRIDE; bytes 35 content/browser/speech/audio_encoder.cc size_t bytes, bytes 49 content/browser/speech/audio_encoder.cc size_t bytes, bytes 55 content/browser/speech/audio_encoder.cc me->encoded_audio_buffer_.Enqueue(buffer, bytes); bytes 76 content/browser/webui/shared_resources_data_source.cc scoped_refptr<base::RefCountedStaticMemory> bytes( bytes 79 content/browser/webui/shared_resources_data_source.cc callback.Run(bytes.get()); bytes 124 content/browser/webui/url_data_manager_backend.cc void DataAvailable(base::RefCountedMemory* bytes); bytes 304 content/browser/webui/url_data_manager_backend.cc void URLRequestChromeJob::DataAvailable(base::RefCountedMemory* bytes) { bytes 306 content/browser/webui/url_data_manager_backend.cc if (bytes) { bytes 311 content/browser/webui/url_data_manager_backend.cc data_ = bytes; bytes 674 content/browser/webui/url_data_manager_backend.cc base::RefCountedMemory* bytes) { bytes 680 content/browser/webui/url_data_manager_backend.cc job->DataAvailable(bytes); bytes 58 content/browser/webui/url_data_manager_backend.h void DataAvailable(RequestID request_id, base::RefCountedMemory* bytes); bytes 28 content/browser/webui/url_data_source_impl.cc base::RefCountedMemory* bytes) { bytes 30 content/browser/webui/url_data_source_impl.cc scoped_refptr<base::RefCountedMemory> bytes_ptr(bytes); bytes 53 content/browser/webui/url_data_source_impl.cc scoped_refptr<base::RefCountedMemory> bytes) { bytes 56 content/browser/webui/url_data_source_impl.cc backend_->DataAvailable(request_id, bytes.get()); bytes 59 content/browser/webui/url_data_source_impl.h virtual void SendResponse(int request_id, base::RefCountedMemory* bytes); bytes 76 content/browser/webui/url_data_source_impl.h scoped_refptr<base::RefCountedMemory> bytes); bytes 37 content/browser/webui/web_ui_data_source_unittest.cc base::RefCountedStaticMemory* bytes = NULL; bytes 39 content/browser/webui/web_ui_data_source_unittest.cc bytes = new base::RefCountedStaticMemory( bytes 42 content/browser/webui/web_ui_data_source_unittest.cc bytes = new base::RefCountedStaticMemory( bytes 45 content/browser/webui/web_ui_data_source_unittest.cc return bytes; bytes 993 content/child/blink_platform_impl.cc BlinkPlatformImpl::allocateAndLockDiscardableMemory(size_t bytes) { bytes 998 content/child/blink_platform_impl.cc return content::WebDiscardableMemoryImpl::CreateLockedMemory(bytes).release(); bytes 73 content/child/blink_platform_impl.h size_t bytes); bytes 116 content/child/fileapi/file_system_dispatcher.cc void DidWrite(int64 bytes, bool complete) { bytes 117 content/child/fileapi/file_system_dispatcher.cc write_callback_.Run(bytes, complete); bytes 406 content/child/fileapi/file_system_dispatcher.cc int request_id, int64 bytes, bool complete) { bytes 409 content/child/fileapi/file_system_dispatcher.cc dispatcher->DidWrite(bytes, complete); bytes 56 content/child/fileapi/file_system_dispatcher.h int64 bytes, bytes 149 content/child/fileapi/file_system_dispatcher.h void OnDidWrite(int request_id, int64 bytes, bool complete); bytes 73 content/child/fileapi/webfilewriter_base.cc void WebFileWriterBase::DidWrite(int64 bytes, bool complete) { bytes 79 content/child/fileapi/webfilewriter_base.cc client_->didWrite(bytes, complete); bytes 35 content/child/fileapi/webfilewriter_base.h void DidWrite(int64 bytes, bool complete); bytes 142 content/child/fileapi/webfilewriter_base_unittest.cc virtual void didWrite(long long bytes, bool complete) { bytes 145 content/child/fileapi/webfilewriter_base_unittest.cc received_did_write_bytes_total_ += bytes; bytes 87 content/child/fileapi/webfilewriter_impl.cc void DidWrite(int64 bytes, bool complete) { bytes 88 content/child/fileapi/webfilewriter_impl.cc written_bytes_ += bytes; bytes 132 content/child/npapi/plugin_stream.cc size_t totalBytesWritten = 0, bytes; bytes 134 content/child/npapi/plugin_stream.cc bytes = WriteBytes(buf, length); bytes 135 content/child/npapi/plugin_stream.cc totalBytesWritten += bytes; bytes 136 content/child/npapi/plugin_stream.cc } while (bytes > 0U && totalBytesWritten < length); bytes 26 content/child/npapi/plugin_stream_win.cc DWORD bytes; bytes 28 content/child/npapi/plugin_stream_win.cc if (!WriteFile(temp_file_handle_, buf, length, &bytes, 0)) bytes 31 content/child/npapi/plugin_stream_win.cc return static_cast<size_t>(bytes); bytes 15 content/child/webcrypto/crypto_data.cc CryptoData::CryptoData(const unsigned char* bytes, unsigned int byte_length) bytes 16 content/child/webcrypto/crypto_data.cc : bytes_(bytes), byte_length_(byte_length) {} bytes 18 content/child/webcrypto/crypto_data.cc CryptoData::CryptoData(const std::vector<unsigned char>& bytes) bytes 19 content/child/webcrypto/crypto_data.cc : bytes_(bytes.size() ? &bytes[0] : NULL), byte_length_(bytes.size()) {} bytes 21 content/child/webcrypto/crypto_data.cc CryptoData::CryptoData(const std::string& bytes) bytes 22 content/child/webcrypto/crypto_data.cc : bytes_(bytes.size() ? reinterpret_cast<const unsigned char*>(bytes.data()) bytes 24 content/child/webcrypto/crypto_data.cc byte_length_(bytes.size()) {} bytes 30 content/child/webcrypto/crypto_data.cc CryptoData::CryptoData(const blink::WebVector<unsigned char>& bytes) bytes 31 content/child/webcrypto/crypto_data.cc : bytes_(bytes.data()), byte_length_(bytes.size()) {} bytes 33 content/child/webcrypto/crypto_data.h CryptoData(const unsigned char* bytes, unsigned int byte_length); bytes 37 content/child/webcrypto/crypto_data.h explicit CryptoData(const std::vector<unsigned char>& bytes); bytes 38 content/child/webcrypto/crypto_data.h explicit CryptoData(const std::string& bytes); bytes 40 content/child/webcrypto/crypto_data.h explicit CryptoData(const blink::WebVector<unsigned char>& bytes); bytes 42 content/child/webcrypto/crypto_data.h const unsigned char* bytes() const { return bytes_; } bytes 634 content/child/webcrypto/jwk.cc base::StringPiece json_string(reinterpret_cast<const char*>(key_data.bytes()), bytes 179 content/child/webcrypto/platform_crypto_nss.cc const_cast<unsigned char*>(buffer.bytes()), buffer.byte_length()}; bytes 267 content/child/webcrypto/platform_crypto_nss.cc data.bytes(), bytes 300 content/child/webcrypto/platform_crypto_nss.cc gcm_params.pIv = const_cast<unsigned char*>(iv.bytes()); bytes 303 content/child/webcrypto/platform_crypto_nss.cc gcm_params.pAAD = const_cast<unsigned char*>(additional_data.bytes()); bytes 350 content/child/webcrypto/platform_crypto_nss.cc data.bytes(), bytes 422 content/child/webcrypto/platform_crypto_nss.cc public_exponent.bytes(), bytes 431 content/child/webcrypto/platform_crypto_nss.cc public_exponent.bytes(), bytes 849 content/child/webcrypto/platform_crypto_nss.cc DCHECK(key_data.bytes()); bytes 977 content/child/webcrypto/platform_crypto_nss.cc DCHECK(key_data.bytes()); bytes 1078 content/child/webcrypto/platform_crypto_nss.cc const_cast<unsigned char*>(data.bytes()), bytes 1103 content/child/webcrypto/platform_crypto_nss.cc const_cast<unsigned char*>(data.bytes()), bytes 1142 content/child/webcrypto/platform_crypto_nss.cc data.bytes(), bytes 1179 content/child/webcrypto/platform_crypto_nss.cc SECSuccess == VFY_VerifyDataDirect(data.bytes(), bytes 1228 content/child/webcrypto/platform_crypto_nss.cc if (!BigIntegerToLong(public_exponent.bytes(), bytes 1303 content/child/webcrypto/platform_crypto_nss.cc Status error = digestor.ConsumeWithStatus(data.bytes(), data.byte_length()); bytes 1360 content/child/webcrypto/platform_crypto_nss.cc DCHECK(modulus_data.bytes()); bytes 1361 content/child/webcrypto/platform_crypto_nss.cc DCHECK(exponent_data.bytes()); bytes 1376 content/child/webcrypto/platform_crypto_nss.cc {siUnsignedInteger, const_cast<unsigned char*>(modulus_data.bytes()), bytes 1378 content/child/webcrypto/platform_crypto_nss.cc {siUnsignedInteger, const_cast<unsigned char*>(exponent_data.bytes()), bytes 34 content/child/webcrypto/platform_crypto_openssl.cc : key_(key_data.bytes(), key_data.bytes() + key_data.byte_length()) {} bytes 111 content/child/webcrypto/platform_crypto_openssl.cc iv.bytes(), bytes 134 content/child/webcrypto/platform_crypto_openssl.cc data.bytes(), bytes 262 content/child/webcrypto/platform_crypto_openssl.cc Status error = digestor.ConsumeWithStatus(data.bytes(), data.byte_length()); bytes 366 content/child/webcrypto/platform_crypto_openssl.cc data.bytes(), bytes 178 content/child/webcrypto/shared_crypto.cc result.data(), signature.bytes(), signature.byte_length()); bytes 155 content/child/webcrypto/shared_crypto_unittest.cc std::vector<uint8> bytes; bytes 156 content/child/webcrypto/shared_crypto_unittest.cc base::HexStringToBytes(hex, &bytes); bytes 157 content/child/webcrypto/shared_crypto_unittest.cc return bytes; bytes 173 content/child/webcrypto/shared_crypto_unittest.cc base::HexEncode(actual.bytes(), actual.byte_length()).c_str()); bytes 939 content/common/gpu/gpu_command_buffer_stub.cc bool GpuCommandBufferStub::GetTotalGpuMemory(uint64* bytes) { bytes 940 content/common/gpu/gpu_command_buffer_stub.cc *bytes = total_gpu_memory_; bytes 99 content/common/gpu/gpu_command_buffer_stub.h virtual bool GetTotalGpuMemory(uint64* bytes) OVERRIDE; bytes 184 content/common/gpu/gpu_memory_manager.cc uint64 bytes = 0; bytes 185 content/common/gpu/gpu_memory_manager.cc if (client_state->client_->GetTotalGpuMemory(&bytes)) { bytes 186 content/common/gpu/gpu_memory_manager.cc if (!bytes_min || bytes < bytes_min) bytes 187 content/common/gpu/gpu_memory_manager.cc bytes_min = bytes; bytes 417 content/common/gpu/gpu_memory_manager.cc std::vector<uint64> bytes, uint64 bytes_sum_limit) bytes 419 content/common/gpu/gpu_memory_manager.cc size_t bytes_size = bytes.size(); bytes 426 content/common/gpu/gpu_memory_manager.cc std::sort(bytes.begin(), bytes.end()); bytes 428 content/common/gpu/gpu_memory_manager.cc bytes_sum += bytes[i]; bytes 437 content/common/gpu/gpu_memory_manager.cc uint64 test_cap = bytes[bytes_size - i - 1]; bytes 117 content/common/gpu/gpu_memory_manager.h static uint64 ComputeCap(std::vector<uint64> bytes, uint64 bytes_sum_limit); bytes 195 content/common/gpu/gpu_memory_manager.h void TestingSetAvailableGpuMemory(uint64 bytes) { bytes 196 content/common/gpu/gpu_memory_manager.h bytes_available_gpu_memory_ = bytes; bytes 200 content/common/gpu/gpu_memory_manager.h void TestingSetMinimumClientAllocation(uint64 bytes) { bytes 201 content/common/gpu/gpu_memory_manager.h bytes_minimum_per_client_ = bytes; bytes 204 content/common/gpu/gpu_memory_manager.h void TestingSetDefaultClientAllocation(uint64 bytes) { bytes 205 content/common/gpu/gpu_memory_manager.h bytes_default_per_client_ = bytes; bytes 208 content/common/gpu/gpu_memory_manager.h void TestingSetUnmanagedLimitStep(uint64 bytes) { bytes 209 content/common/gpu/gpu_memory_manager.h bytes_unmanaged_limit_step_ = bytes; bytes 42 content/common/gpu/gpu_memory_manager_client.h virtual bool GetTotalGpuMemory(uint64* bytes) = 0; bytes 129 content/common/gpu/gpu_memory_manager_unittest.cc virtual bool GetTotalGpuMemory(uint64* bytes) OVERRIDE { bytes 131 content/common/gpu/gpu_memory_manager_unittest.cc *bytes = total_gpu_memory_; bytes 136 content/common/gpu/gpu_memory_manager_unittest.cc void SetTotalGpuMemory(uint64 bytes) { total_gpu_memory_ = bytes; } bytes 211 content/common/gpu/gpu_memory_manager_unittest.cc uint64 CalcAvailableFromGpuTotal(uint64 bytes) { bytes 212 content/common/gpu/gpu_memory_manager_unittest.cc return GpuMemoryManager::CalcAvailableFromGpuTotal(bytes); bytes 215 content/common/gpu/gpu_memory_manager_unittest.cc uint64 CalcAvailableClamped(uint64 bytes) { bytes 216 content/common/gpu/gpu_memory_manager_unittest.cc bytes = std::max(bytes, memmgr_.GetDefaultAvailableGpuMemory()); bytes 217 content/common/gpu/gpu_memory_manager_unittest.cc bytes = std::min(bytes, memmgr_.GetMaximumTotalGpuMemory()); bytes 218 content/common/gpu/gpu_memory_manager_unittest.cc return bytes; bytes 837 content/common/gpu/media/video_decode_accelerator_unittest.cc std::string bytes; bytes 843 content/common/gpu/media/video_decode_accelerator_unittest.cc bytes.append(encoded_data_.substr(*end_pos, frame_size)); bytes 846 content/common/gpu/media/video_decode_accelerator_unittest.cc return bytes; bytes 42 content/common/resource_messages.cc m->WriteData(p.bytes(), static_cast<int>(p.length())); bytes 13 content/common/resource_request_body.cc void ResourceRequestBody::AppendBytes(const char* bytes, int bytes_len) { bytes 16 content/common/resource_request_body.cc elements_.back().SetToBytes(bytes, bytes_len); bytes 33 content/common/resource_request_body.h void AppendBytes(const char* bytes, int bytes_len); bytes 25 content/public/android/java/src/org/chromium/content/browser/crypto/ByteArrayGenerator.java byte[] bytes = new byte[numBytes]; bytes 26 content/public/android/java/src/org/chromium/content/browser/crypto/ByteArrayGenerator.java if (bytes.length != fis.read(bytes)) { bytes 29 content/public/android/java/src/org/chromium/content/browser/crypto/ByteArrayGenerator.java return bytes; bytes 40 content/public/android/javatests/src/org/chromium/content/browser/crypto/CipherFactoryTest.java byte[] bytes = new byte[numBytes]; bytes 42 content/public/android/javatests/src/org/chromium/content/browser/crypto/CipherFactoryTest.java bytes[i] = (byte) (startByte + i); bytes 44 content/public/android/javatests/src/org/chromium/content/browser/crypto/CipherFactoryTest.java return bytes; bytes 297 content/shell/renderer/test_runner/TestPlugin.cpp size_t bytes = 4 * m_rect.width * m_rect.height; bytes 299 content/shell/renderer/test_runner/TestPlugin.cpp content::RenderThread::Get()->HostAllocateSharedMemoryBuffer(bytes); bytes 300 content/shell/renderer/test_runner/TestPlugin.cpp if (!bitmap->Map(bytes)) { bytes 303 content/shell/renderer/test_runner/TestPlugin.cpp drawSceneSoftware(bitmap->memory(), bytes); bytes 428 content/shell/renderer/test_runner/TestPlugin.cpp void TestPlugin::drawSceneSoftware(void* memory, size_t bytes) { bytes 429 content/shell/renderer/test_runner/TestPlugin.cpp DCHECK_EQ(bytes, m_rect.width * m_rect.height * 4u); bytes 127 content/shell/renderer/test_runner/TestPlugin.h void drawSceneSoftware(void* memory, size_t bytes); bytes 2354 content/shell/renderer/test_runner/test_runner.cc unsigned char* bytes = static_cast<unsigned char*>(view.bytes()); bytes 2356 content/shell/renderer/test_runner/test_runner.cc std::copy(bytes, bytes + view.num_bytes(), audio_data_.begin()); bytes 290 content/test/plugin/plugin_geturl_test.cc int32 bytes = bytes 294 content/test/plugin/plugin_geturl_test.cc if (bytes != len) bytes 356 content/test/plugin/plugin_geturl_test.cc size_t bytes = fread(read_buffer, 1, sizeof(read_buffer), test_file_); bytes 357 content/test/plugin/plugin_geturl_test.cc if (bytes != 0) bytes 199 courgette/encoded_program.cc CheckBool EncodedProgram::AddCopy(uint32 count, const void* bytes) { bytes 200 courgette/encoded_program.cc const uint8* source = static_cast<const uint8*>(bytes); bytes 44 courgette/encoded_program.h CheckBool AddCopy(uint32 count, const void* bytes) WARN_UNUSED_RESULT; bytes 191 courgette/memory_allocator.h size_type bytes = count * sizeof(T); bytes 196 courgette/memory_allocator.h mem = new(std::nothrow) uint8[bytes]; bytes 203 courgette/memory_allocator.h if (mapping && mapping->Initialize(bytes)) { bytes 30 crypto/ghash.cc uint64 Get64(const uint8 bytes[8]) { bytes 32 crypto/ghash.cc memcpy(&t, bytes, sizeof(t)); bytes 37 crypto/ghash.cc void Put64(uint8 bytes[8], uint64 x) { bytes 39 crypto/ghash.cc memcpy(bytes, &x, sizeof(x)); bytes 222 crypto/ghash.cc void GaloisHash::UpdateBlocks(const uint8* bytes, size_t num_blocks) { bytes 224 crypto/ghash.cc y_.low ^= Get64(bytes); bytes 225 crypto/ghash.cc bytes += 8; bytes 226 crypto/ghash.cc y_.hi ^= Get64(bytes); bytes 227 crypto/ghash.cc bytes += 8; bytes 71 crypto/ghash.h void UpdateBlocks(const uint8* bytes, size_t num_blocks); bytes 75 crypto/ghash.h void Update(const uint8* bytes, size_t length); bytes 11 crypto/random.cc void RandBytes(void *bytes, size_t length) { bytes 15 crypto/random.cc base::RandBytes(bytes, length); bytes 17 crypto/random.h CRYPTO_EXPORT void RandBytes(void *bytes, size_t length); bytes 14 crypto/random_unittest.cc bool IsTrivial(const std::string& bytes) { bytes 15 crypto/random_unittest.cc for (size_t i = 0; i < bytes.size(); i++) { bytes 16 crypto/random_unittest.cc if (bytes[i] != bytes[0]) { bytes 24 crypto/random_unittest.cc std::string bytes(16, '\0'); bytes 25 crypto/random_unittest.cc crypto::RandBytes(WriteInto(&bytes, bytes.size()), bytes.size()); bytes 26 crypto/random_unittest.cc EXPECT_TRUE(!IsTrivial(bytes)); bytes 810 dbus/message.cc bool MessageReader::PopArrayOfBytes(const uint8** bytes, size_t* length) { bytes 817 dbus/message.cc *bytes = NULL; bytes 824 dbus/message.cc bytes, bytes 414 dbus/message.h bool PopArrayOfBytes(const uint8** bytes, size_t* length); bytes 204 dbus/message_unittest.cc std::vector<uint8> bytes; bytes 205 dbus/message_unittest.cc bytes.push_back(1); bytes 206 dbus/message_unittest.cc bytes.push_back(2); bytes 207 dbus/message_unittest.cc bytes.push_back(3); bytes 208 dbus/message_unittest.cc writer.AppendArrayOfBytes(bytes.data(), bytes.size()); bytes 224 dbus/message_unittest.cc std::vector<uint8> bytes; bytes 225 dbus/message_unittest.cc writer.AppendArrayOfBytes(bytes.data(), bytes.size()); bytes 463 dbus/property.cc const uint8* bytes = NULL; bytes 465 dbus/property.cc if (!variant_reader.PopArrayOfBytes(&bytes, &length)) bytes 467 dbus/property.cc value_.assign(bytes, bytes + length); bytes 36 dbus/property_unittest.cc Property<std::vector<uint8> > bytes; bytes 47 dbus/property_unittest.cc RegisterProperty("Bytes", &bytes); bytes 172 dbus/property_unittest.cc std::vector<uint8> bytes = properties_->bytes.value(); bytes 173 dbus/property_unittest.cc ASSERT_EQ(4U, bytes.size()); bytes 174 dbus/property_unittest.cc EXPECT_EQ('T', bytes[0]); bytes 175 dbus/property_unittest.cc EXPECT_EQ('e', bytes[1]); bytes 176 dbus/property_unittest.cc EXPECT_EQ('s', bytes[2]); bytes 177 dbus/property_unittest.cc EXPECT_EQ('t', bytes[3]); bytes 230 dbus/property_unittest.cc properties_->bytes.Get(base::Bind(&PropertyTest::PropertyCallback, bytes 236 dbus/property_unittest.cc std::vector<uint8> bytes = properties_->bytes.value(); bytes 237 dbus/property_unittest.cc ASSERT_EQ(4U, bytes.size()); bytes 238 dbus/property_unittest.cc EXPECT_EQ('T', bytes[0]); bytes 239 dbus/property_unittest.cc EXPECT_EQ('e', bytes[1]); bytes 240 dbus/property_unittest.cc EXPECT_EQ('s', bytes[2]); bytes 241 dbus/property_unittest.cc EXPECT_EQ('t', bytes[3]); bytes 420 dbus/test_service.cc const uint8 bytes[] = { 0x54, 0x65, 0x73, 0x74 }; bytes 421 dbus/test_service.cc variant_writer.AppendArrayOfBytes(bytes, sizeof(bytes)); bytes 615 dbus/test_service.cc const uint8 bytes[] = { 0x54, 0x65, 0x73, 0x74 }; bytes 616 dbus/test_service.cc variant_writer.AppendArrayOfBytes(bytes, sizeof(bytes)); bytes 32 device/hid/hid_connection_unittest.cc size_t bytes) { bytes 36 device/hid/hid_connection_unittest.cc EXPECT_EQ(8U, bytes); bytes 37 device/hid/hid_connection_unittest.cc if (bytes == 8) { bytes 61 device/hid/hid_connection_unittest.cc size_t bytes) { bytes 34 gin/array_buffer.h void* bytes() const { return bytes_; } bytes 59 gin/array_buffer.h void* bytes() const { bytes 60 gin/array_buffer.h return static_cast<uint8_t*>(array_buffer_.bytes()) + offset_; bytes 41 google_apis/gcm/base/socket_stream_unittest.cc base::StringPiece DoInputStreamRead(uint64 bytes); bytes 104 google_apis/gcm/base/socket_stream_unittest.cc base::StringPiece GCMSocketStreamTest::DoInputStreamRead(uint64 bytes) { bytes 122 google_apis/gcm/base/socket_stream_unittest.cc } while (total_bytes_read < bytes); bytes 124 google_apis/gcm/base/socket_stream_unittest.cc if (total_bytes_read > bytes) { bytes 125 google_apis/gcm/base/socket_stream_unittest.cc socket_input_stream_->BackUp(total_bytes_read - bytes); bytes 126 google_apis/gcm/base/socket_stream_unittest.cc total_bytes_read = bytes; bytes 139 google_apis/gcm/base/socket_stream_unittest.cc size_t bytes = write_src.size(); bytes 144 google_apis/gcm/base/socket_stream_unittest.cc uint64 bytes_to_write = (static_cast<uint64>(size) < bytes ? size : bytes); bytes 151 google_apis/gcm/base/socket_stream_unittest.cc } while (total_bytes_written < bytes); bytes 52 google_apis/gcm/engine/mcs_client.cc bool BuildPersistentIdListFromProto(const google::protobuf::string& bytes, bytes 55 google_apis/gcm/engine/mcs_client.cc if (!selective_ack.ParseFromString(bytes)) bytes 93 gpu/command_buffer/service/gl_context_virtual.cc bool GLContextVirtual::GetTotalGpuMemory(size_t* bytes) { bytes 94 gpu/command_buffer/service/gl_context_virtual.cc return shared_context_->GetTotalGpuMemory(bytes); bytes 47 gpu/command_buffer/service/gl_context_virtual.h virtual bool GetTotalGpuMemory(size_t* bytes) OVERRIDE; bytes 60 gpu/command_buffer/service/memory_tracking.h void TrackMemAlloc(size_t bytes) { bytes 61 gpu/command_buffer/service/memory_tracking.h mem_represented_ += bytes; bytes 65 gpu/command_buffer/service/memory_tracking.h void TrackMemFree(size_t bytes) { bytes 66 gpu/command_buffer/service/memory_tracking.h DCHECK(bytes <= mem_represented_); bytes 67 gpu/command_buffer/service/memory_tracking.h mem_represented_ -= bytes; bytes 113 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc size_t bytes = kImageWidth * kImageHeight * kImageBytesPerPixel; bytes 120 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc shared_memory.CreateAnonymous(bytes); bytes 149 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc shared_memory.Map(bytes); bytes 49 gpu/ipc/gpu_command_buffer_traits.cc const char* bytes = NULL; bytes 50 gpu/ipc/gpu_command_buffer_traits.cc if (!m->ReadBytes(iter, &bytes, sizeof(p->name))) bytes 52 gpu/ipc/gpu_command_buffer_traits.cc DCHECK(bytes); bytes 53 gpu/ipc/gpu_command_buffer_traits.cc memcpy(p->name, bytes, sizeof(p->name)); bytes 394 media/audio/android/audio_android_unittest.cc double BytesToMilliseconds(int bytes) const { bytes 395 media/audio/android/audio_android_unittest.cc const int frames = bytes / params_.GetBytesPerFrame(); bytes 127 media/audio/audio_input_controller.h virtual void UpdateRecordedBytes(uint32 bytes) = 0; bytes 91 media/audio/audio_output_controller.h virtual void UpdatePendingBytes(uint32 bytes) = 0; bytes 55 media/audio/audio_output_controller_unittest.cc MOCK_METHOD1(UpdatePendingBytes, void(uint32 bytes)); bytes 500 media/audio/win/core_audio_util_win.cc size_t bytes = sizeof(WAVEFORMATEX) + format_pcmex->Format.cbSize; bytes 501 media/audio/win/core_audio_util_win.cc DCHECK_EQ(bytes, sizeof(WAVEFORMATPCMEX)); bytes 503 media/audio/win/core_audio_util_win.cc memcpy(format, format_pcmex, bytes); bytes 479 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java private static void setCodecSpecificData(MediaFormat format, int index, byte[] bytes) { bytes 487 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java format.setByteBuffer(name, ByteBuffer.wrap(bytes)); bytes 395 media/cast/rtcp/rtcp_receiver.cc uint8 bytes = rtcp_field.rpsi.number_of_valid_bits / 8; bytes 396 media/cast/rtcp/rtcp_receiver.cc for (uint8 n = 0; n < (bytes - 1); ++n) { bytes 400 media/cast/rtcp/rtcp_receiver.cc rpsi_picture_id += (rtcp_field.rpsi.native_bit_string[bytes - 1] & 0x7f); bytes 45 media/cast/test/utility/barcode.cc std::vector<unsigned char> bytes(row_bytes); bytes 47 media/cast/test/utility/barcode.cc bytes[i] = 255; bytes 56 media/cast/test/utility/barcode.cc unsigned char *pos = &bytes[padding]; bytes 70 media/cast/test/utility/barcode.cc DCHECK_LE(pos - &bytes.front(), row_bytes); bytes 76 media/cast/test/utility/barcode.cc &bytes.front(), bytes 539 media/filters/ffmpeg_demuxer.cc double bytes = filesize_in_bytes; bytes 541 media/filters/ffmpeg_demuxer.cc return bytes * 8000000.0 / duration_us; bytes 60 media/formats/mp4/box_reader.cc bool BufferReader::SkipBytes(int bytes) { bytes 61 media/formats/mp4/box_reader.cc RCHECK(HasBytes(bytes)); bytes 62 media/formats/mp4/box_reader.cc pos_ += bytes; bytes 53 media/midi/usb_midi_device_android.cc std::vector<uint8> bytes; bytes 54 media/midi/usb_midi_device_android.cc base::android::JavaByteArrayToByteVector(env, data, &bytes); bytes 56 media/midi/usb_midi_device_android.cc const uint8* head = bytes.size() ? &bytes[0] : NULL; bytes 58 media/midi/usb_midi_device_android.cc delegate_->ReceiveUsbMidiData(this, endpoint_number, head, bytes.size(), 0); bytes 46 mojo/apps/js/bindings/gl/context.cc buffer.bytes(), usage); bytes 104 mojo/apps/js/bindings/gl/context.cc static_cast<float*>(buffer.bytes())); bytes 67 mojo/bindings/js/core.cc buffer.bytes(), bytes 103 mojo/bindings/js/core.cc buffer.bytes(), bytes 164 mojo/bindings/js/core.cc MojoWriteData(handle.value(), buffer.bytes(), &num_bytes, flags); bytes 189 mojo/bindings/js/core.cc result = MojoReadData(handle.value(), buffer.bytes(), &num_bytes, flags); bytes 470 mojo/public/c/system/core.h const void* bytes, // Optional. bytes 509 mojo/public/c/system/core.h void* bytes, // Optional out. bytes 229 mojo/public/cpp/bindings/tests/sample_service_unittest.cc void DumpHex(const uint8_t* bytes, uint32_t num_bytes) { bytes 232 mojo/public/cpp/bindings/tests/sample_service_unittest.cc uint32_t(bytes[i]); bytes 286 mojo/public/cpp/system/core.h const void* bytes, bytes 291 mojo/public/cpp/system/core.h return MojoWriteMessage(message_pipe.value(), bytes, num_bytes, handles, bytes 296 mojo/public/cpp/system/core.h void* bytes, bytes 301 mojo/public/cpp/system/core.h return MojoReadMessage(message_pipe.value(), bytes, num_bytes, handles, bytes 46 mojo/public/system/core_private.cc const void* bytes, bytes 52 mojo/public/system/core_private.cc return g_core->WriteMessage(message_pipe_handle, bytes, num_bytes, handles, bytes 57 mojo/public/system/core_private.cc void* bytes, bytes 63 mojo/public/system/core_private.cc return g_core->ReadMessage(message_pipe_handle, bytes, num_bytes, handles, bytes 35 mojo/public/system/core_private.h const void* bytes, bytes 41 mojo/public/system/core_private.h void* bytes, bytes 189 mojo/system/core_impl.cc const void* bytes, bytes 200 mojo/system/core_impl.cc return dispatcher->WriteMessage(bytes, num_bytes, NULL, flags); bytes 233 mojo/system/core_impl.cc MojoResult rv = dispatcher->WriteMessage(bytes, num_bytes, &transports, bytes 253 mojo/system/core_impl.cc void* bytes, bytes 271 mojo/system/core_impl.cc return dispatcher->ReadMessage(bytes, num_bytes, NULL, num_handles, flags); bytes 274 mojo/system/core_impl.cc MojoResult rv = dispatcher->ReadMessage(bytes, num_bytes, bytes 45 mojo/system/core_impl.h const void* bytes, bytes 51 mojo/system/core_impl.h void* bytes, bytes 50 mojo/system/core_test_base.cc const void* bytes, bytes 57 mojo/system/core_test_base.cc if (!VerifyUserPointer<void>(bytes, num_bytes)) bytes 69 mojo/system/core_test_base.cc void* bytes, bytes 77 mojo/system/core_test_base.cc if (num_bytes && !VerifyUserPointer<void>(bytes, *num_bytes)) bytes 93 mojo/system/dispatcher.cc const void* bytes, bytes 104 mojo/system/dispatcher.cc return WriteMessageImplNoLock(bytes, num_bytes, transports, flags); bytes 108 mojo/system/dispatcher.cc void* bytes, bytes 120 mojo/system/dispatcher.cc return ReadMessageImplNoLock(bytes, num_bytes, dispatchers, num_dispatchers, bytes 72 mojo/system/dispatcher.h MojoResult WriteMessage(const void* bytes, bytes 80 mojo/system/dispatcher.h void* bytes, bytes 199 mojo/system/dispatcher.h const void* bytes, bytes 204 mojo/system/dispatcher.h void* bytes, bytes 72 mojo/system/local_message_pipe_endpoint.cc void* bytes, uint32_t* num_bytes, bytes 94 mojo/system/local_message_pipe_endpoint.cc memcpy(bytes, message->bytes(), message->num_bytes()); bytes 35 mojo/system/local_message_pipe_endpoint.h void* bytes, uint32_t* num_bytes, bytes 100 mojo/system/message_in_transit.cc const void* bytes) bytes 119 mojo/system/message_in_transit.cc if (bytes) { bytes 120 mojo/system/message_in_transit.cc memcpy(MessageInTransit::bytes(), bytes, num_bytes); bytes 121 mojo/system/message_in_transit.cc memset(static_cast<char*>(MessageInTransit::bytes()) + num_bytes, 0, bytes 124 mojo/system/message_in_transit.cc memset(MessageInTransit::bytes(), 0, main_buffer_size_ - sizeof(Header)); bytes 113 mojo/system/message_in_transit.h const void* bytes() const { bytes 138 mojo/system/message_in_transit.h const void* bytes); bytes 189 mojo/system/message_in_transit.h const void* bytes() const { bytes 192 mojo/system/message_in_transit.h void* bytes() { return static_cast<char*>(main_buffer_) + sizeof(Header); } bytes 68 mojo/system/message_pipe.cc const void* bytes, bytes 80 mojo/system/message_pipe.cc num_bytes, num_handles, bytes)), bytes 86 mojo/system/message_pipe.cc void* bytes, bytes 96 mojo/system/message_pipe.cc return endpoints_[port]->ReadMessage(bytes, num_bytes, dispatchers, bytes 53 mojo/system/message_pipe.h const void* bytes, bytes 60 mojo/system/message_pipe.h void* bytes, bytes 126 mojo/system/message_pipe_dispatcher.cc const void* bytes, bytes 135 mojo/system/message_pipe_dispatcher.cc if (!VerifyUserPointer<void>(bytes, num_bytes)) bytes 140 mojo/system/message_pipe_dispatcher.cc return message_pipe_->WriteMessage(port_, bytes, num_bytes, transports, bytes 145 mojo/system/message_pipe_dispatcher.cc void* bytes, bytes 155 mojo/system/message_pipe_dispatcher.cc if (!VerifyUserPointer<void>(bytes, *num_bytes)) bytes 159 mojo/system/message_pipe_dispatcher.cc return message_pipe_->ReadMessage(port_, bytes, num_bytes, dispatchers, bytes 65 mojo/system/message_pipe_dispatcher.h const void* bytes, bytes 70 mojo/system/message_pipe_dispatcher.h void* bytes, bytes 63 mojo/system/message_pipe_endpoint.h void* bytes, uint32_t* num_bytes, bytes 37 mojo/system/raw_channel_unittest.cc std::vector<unsigned char> bytes(num_bytes, 0); bytes 39 mojo/system/raw_channel_unittest.cc bytes[i] = static_cast<unsigned char>(i + num_bytes); bytes 43 mojo/system/raw_channel_unittest.cc num_bytes, 0, bytes.empty() ? NULL : &bytes[0])); bytes 46 mojo/system/raw_channel_unittest.cc bool CheckMessageData(const void* bytes, uint32_t num_bytes) { bytes 47 mojo/system/raw_channel_unittest.cc const unsigned char* b = static_cast<const unsigned char*>(bytes); bytes 157 mojo/system/raw_channel_unittest.cc } else if (!CheckMessageData(message_view.bytes(), bytes 244 mojo/system/raw_channel_unittest.cc EXPECT_TRUE(CheckMessageData(message_view.bytes(), bytes 354 mojo/system/raw_channel_unittest.cc EXPECT_TRUE(CheckMessageData(message_view.bytes(), bytes 154 native_client_sdk/src/libraries/xray/hashtable.c size_t bytes; bytes 167 native_client_sdk/src/libraries/xray/hashtable.c bytes = sizeof(table->array[0]) * capacity; bytes 170 native_client_sdk/src/libraries/xray/hashtable.c table->array = (struct XRayHashTableEntry*)XRayMalloc(bytes); bytes 59 net/android/javatests/src/org/chromium/net/X509UtilTest.java byte[] bytes = new byte[(int) file.length()]; bytes 60 net/android/javatests/src/org/chromium/net/X509UtilTest.java int bytesRead = file.read(bytes); bytes 61 net/android/javatests/src/org/chromium/net/X509UtilTest.java if (bytesRead != bytes.length) bytes 62 net/android/javatests/src/org/chromium/net/X509UtilTest.java return Arrays.copyOfRange(bytes, 0, bytesRead); bytes 63 net/android/javatests/src/org/chromium/net/X509UtilTest.java return bytes; bytes 187 net/android/keystore_unittest.cc base::android::ScopedJavaLocalRef<jbyteArray> bytes( bytes 195 net/android/keystore_unittest.cc env, key_type, bytes.obj())); bytes 32 net/base/bandwidth_metrics.cc void ScopedBandwidthMetrics::RecordBytes(int bytes) { bytes 33 net/base/bandwidth_metrics.cc g_bandwidth_metrics.Get().RecordBytes(bytes); bytes 104 net/base/bandwidth_metrics.h void RecordBytes(int bytes) { bytes 106 net/base/bandwidth_metrics.h bytes_since_last_start_ += static_cast<int64>(bytes); bytes 128 net/base/bandwidth_metrics.h void RecordBytes(int bytes); bytes 236 net/base/file_stream.cc int64 FileStream::Truncate(int64 bytes) { bytes 243 net/base/file_stream.cc int64 seek_position = SeekSync(FROM_BEGIN, bytes); bytes 244 net/base/file_stream.cc if (seek_position != bytes) bytes 248 net/base/file_stream.cc return context_->Truncate(bytes); bytes 208 net/base/file_stream.h virtual int64 Truncate(int64 bytes); bytes 93 net/base/file_stream_context.h int Truncate(int64 bytes); bytes 150 net/base/file_stream_context_posix.cc int FileStream::Context::Truncate(int64 bytes) { bytes 151 net/base/file_stream_context_posix.cc if (ftruncate(file_.GetPlatformFile(), bytes) != 0) { bytes 157 net/base/file_stream_context_posix.cc return bytes; bytes 181 net/base/file_stream_context_win.cc int FileStream::Context::Truncate(int64 bytes) { bytes 189 net/base/file_stream_context_win.cc return bytes; bytes 62 net/base/io_buffer.cc void DrainableIOBuffer::DidConsume(int bytes) { bytes 63 net/base/io_buffer.cc SetOffset(used_ + bytes); bytes 75 net/base/io_buffer.cc void DrainableIOBuffer::SetOffset(int bytes) { bytes 76 net/base/io_buffer.cc DCHECK_GE(bytes, 0); bytes 77 net/base/io_buffer.cc DCHECK_LE(bytes, size_); bytes 78 net/base/io_buffer.cc used_ = bytes; bytes 149 net/base/io_buffer.h void DidConsume(int bytes); bytes 159 net/base/io_buffer.h void SetOffset(int bytes); bytes 101 net/base/mock_file_stream.cc int64 MockFileStream::Truncate(int64 bytes) { bytes 102 net/base/mock_file_stream.cc return ReturnError64(FileStream::Truncate(bytes)); bytes 46 net/base/mock_file_stream.h virtual int64 Truncate(int64 bytes) OVERRIDE; bytes 24 net/base/net_log.cc const char* bytes, bytes 29 net/base/net_log.cc dict->SetString("hex_encoded_bytes", base::HexEncode(bytes, byte_count)); bytes 479 net/base/net_log.cc const char* bytes) const { bytes 480 net/base/net_log.cc AddEvent(event_type, base::Bind(BytesTransferredCallback, byte_count, bytes)); bytes 381 net/base/net_log.h int byte_count, const char* bytes) const; bytes 422 net/base/net_util_unittest.cc void MakeIPv4Address(const uint8* bytes, int port, SockaddrStorage* storage) { bytes 428 net/base/net_util_unittest.cc memcpy(&addr4->sin_addr, bytes, 4); bytes 433 net/base/net_util_unittest.cc void MakeIPv6Address(const uint8* bytes, int port, SockaddrStorage* storage) { bytes 439 net/base/net_util_unittest.cc memcpy(&addr6->sin6_addr, bytes, 16); bytes 59 net/base/test_data_stream.cc void TestDataStream::Consume(int bytes) { bytes 60 net/base/test_data_stream.cc bytes_remaining_ -= bytes; bytes 62 net/base/test_data_stream.cc buffer_ptr_ += bytes; bytes 37 net/base/test_data_stream.h void Consume(int bytes); bytes 14 net/base/upload_bytes_element_reader.cc UploadBytesElementReader::UploadBytesElementReader(const char* bytes, bytes 16 net/base/upload_bytes_element_reader.cc : bytes_(bytes), bytes 22 net/base/upload_bytes_element_reader.h UploadBytesElementReader(const char* bytes, uint64 length); bytes 25 net/base/upload_bytes_element_reader.h const char* bytes() const { return bytes_; } bytes 92 net/base/upload_data_stream.cc void UploadDataStream::AppendChunk(const char* bytes, bytes 101 net/base/upload_data_stream.cc std::vector<char> data(bytes, bytes + bytes_len); bytes 95 net/base/upload_data_stream.h void AppendChunk(const char* bytes, int bytes_len, bool is_last_chunk); bytes 30 net/base/upload_element.h const char* bytes() const { return bytes_start_ ? bytes_start_ : &buf_[0]; } bytes 40 net/base/upload_element.h void SetToBytes(const char* bytes, int bytes_len) { bytes 42 net/base/upload_element.h buf_.assign(bytes, bytes + bytes_len); bytes 48 net/base/upload_element.h void SetToSharedBytes(const char* bytes, int bytes_len) { bytes 50 net/base/upload_element.h bytes_start_ = bytes; bytes 91 net/base/upload_element.h memcmp(a.bytes(), b.bytes(), b.bytes_length()) == 0; bytes 65 net/cert/crl_set.h static bool GetIsDeltaUpdate(const base::StringPiece& bytes, bool *is_delta); bytes 1119 net/cert/x509_certificate_unittest.cc std::vector<uint8> bytes; bytes 1120 net/cert/x509_certificate_unittest.cc EXPECT_TRUE(base::HexStringToBytes(addr_ascii, &bytes)) bytes 1122 net/cert/x509_certificate_unittest.cc ip_addressses.push_back(std::string(reinterpret_cast<char*>(&bytes[0]), bytes 1123 net/cert/x509_certificate_unittest.cc bytes.size())); bytes 96 net/cronet/android/java/src/org/chromium/net/ChunkedWritableByteChannel.java byte[] bytes = new byte[mSize]; bytes 99 net/cronet/android/java/src/org/chromium/net/ChunkedWritableByteChannel.java mInitialBuffer.get(bytes); bytes 106 net/cronet/android/java/src/org/chromium/net/ChunkedWritableByteChannel.java buffer.get(bytes, offset, bufferSize); bytes 111 net/cronet/android/java/src/org/chromium/net/ChunkedWritableByteChannel.java return bytes; bytes 276 net/cronet/android/java/src/org/chromium/net/HttpUrlConnectionUrlRequest.java byte[] bytes = new byte[MAX_CHUNK_SIZE]; bytes 277 net/cronet/android/java/src/org/chromium/net/HttpUrlConnectionUrlRequest.java ByteBuffer byteBuffer = ByteBuffer.wrap(bytes); bytes 280 net/cronet/android/java/src/org/chromium/net/HttpUrlConnectionUrlRequest.java uploadStream.write(bytes, 0, byteBuffer.limit()); bytes 46 net/cronet/android/url_request_peer.cc void URLRequestPeer::SetPostContent(const char* bytes, int bytes_len) { bytes 51 net/cronet/android/url_request_peer.cc upload_data_stream_->AppendChunk(bytes, bytes_len, true /* is_last_chunk */); bytes 56 net/cronet/android/url_request_peer.cc void URLRequestPeer::AppendChunk(const char* bytes, bytes 66 net/cronet/android/url_request_peer.cc bytes, bytes 79 net/cronet/android/url_request_peer.cc const char* bytes, bytes 82 net/cronet/android/url_request_peer.cc self->OnAppendChunk(bytes, bytes_len, is_last_chunk); bytes 85 net/cronet/android/url_request_peer.cc void URLRequestPeer::OnAppendChunk(const char* bytes, bytes 89 net/cronet/android/url_request_peer.cc url_request_->AppendChunkToUpload(bytes, bytes_len, is_last_chunk); bytes 48 net/cronet/android/url_request_peer.h void SetPostContent(const char* bytes, int bytes_len); bytes 56 net/cronet/android/url_request_peer.h void AppendChunk(const char* bytes, int bytes_len, bool is_last_chunk); bytes 119 net/cronet/android/url_request_peer.h const char* bytes, bytes 130 net/cronet/android/url_request_peer.h void OnAppendChunk(const char* bytes, int bytes_len, bool is_last_chunk); bytes 991 net/disk_cache/blockfile/backend_impl.cc void BackendImpl::OnRead(int32 bytes) { bytes 992 net/disk_cache/blockfile/backend_impl.cc DCHECK_GE(bytes, 0); bytes 993 net/disk_cache/blockfile/backend_impl.cc byte_count_ += bytes; bytes 998 net/disk_cache/blockfile/backend_impl.cc void BackendImpl::OnWrite(int32 bytes) { bytes 1000 net/disk_cache/blockfile/backend_impl.cc OnRead(bytes); bytes 1793 net/disk_cache/blockfile/backend_impl.cc void BackendImpl::AddStorageSize(int32 bytes) { bytes 1794 net/disk_cache/blockfile/backend_impl.cc data_->header.num_bytes += bytes; bytes 1798 net/disk_cache/blockfile/backend_impl.cc void BackendImpl::SubstractStorageSize(int32 bytes) { bytes 1799 net/disk_cache/blockfile/backend_impl.cc data_->header.num_bytes -= bytes; bytes 208 net/disk_cache/blockfile/backend_impl.h void OnRead(int bytes); bytes 209 net/disk_cache/blockfile/backend_impl.h void OnWrite(int bytes); bytes 328 net/disk_cache/blockfile/backend_impl.h void AddStorageSize(int32 bytes); bytes 329 net/disk_cache/blockfile/backend_impl.h void SubstractStorageSize(int32 bytes); bytes 311 net/disk_cache/blockfile/backend_impl_v3.cc void BackendImplV3::OnRead(int32 bytes) { bytes 312 net/disk_cache/blockfile/backend_impl_v3.cc DCHECK_GE(bytes, 0); bytes 313 net/disk_cache/blockfile/backend_impl_v3.cc byte_count_ += bytes; bytes 318 net/disk_cache/blockfile/backend_impl_v3.cc void BackendImplV3::OnWrite(int32 bytes) { bytes 320 net/disk_cache/blockfile/backend_impl_v3.cc OnRead(bytes); bytes 1044 net/disk_cache/blockfile/backend_impl_v3.cc void BackendImplV3::AddStorageSize(int32 bytes) { bytes 1045 net/disk_cache/blockfile/backend_impl_v3.cc data_->header.num_bytes += bytes; bytes 1049 net/disk_cache/blockfile/backend_impl_v3.cc void BackendImplV3::SubstractStorageSize(int32 bytes) { bytes 1050 net/disk_cache/blockfile/backend_impl_v3.cc data_->header.num_bytes -= bytes; bytes 140 net/disk_cache/blockfile/backend_impl_v3.h void OnRead(int bytes); bytes 141 net/disk_cache/blockfile/backend_impl_v3.h void OnWrite(int bytes); bytes 219 net/disk_cache/blockfile/backend_impl_v3.h void AddStorageSize(int32 bytes); bytes 220 net/disk_cache/blockfile/backend_impl_v3.h void SubstractStorageSize(int32 bytes); bytes 140 net/disk_cache/blockfile/file_ios.cc int bytes = operation->result(); bytes 144 net/disk_cache/blockfile/file_ios.cc callback->OnFileIOComplete(bytes); bytes 159 net/disk_cache/blockfile/index_table_v3.cc uint8* bytes = bit_cast<uint8*>(&cell); bytes 162 net/disk_cache/blockfile/index_table_v3.cc result += (result >> 8) + (bytes[8] & 0x3f); bytes 324 net/disk_cache/memory/mem_backend_impl.cc void MemBackendImpl::AddStorageSize(int32 bytes) { bytes 325 net/disk_cache/memory/mem_backend_impl.cc current_size_ += bytes; bytes 332 net/disk_cache/memory/mem_backend_impl.cc void MemBackendImpl::SubstractStorageSize(int32 bytes) { bytes 333 net/disk_cache/memory/mem_backend_impl.cc current_size_ -= bytes; bytes 105 net/disk_cache/memory/mem_backend_impl.h void AddStorageSize(int32 bytes); bytes 106 net/disk_cache/memory/mem_backend_impl.h void SubstractStorageSize(int32 bytes); bytes 457 net/http/http_network_transaction_unittest.cc static const uint8 bytes[] = { bytes 462 net/http/http_network_transaction_unittest.cc output[i] = bytes[current_byte++]; bytes 463 net/http/http_network_transaction_unittest.cc current_byte %= arraysize(bytes); bytes 468 net/http/http_network_transaction_unittest.cc static const uint8 bytes[] = { bytes 474 net/http/http_network_transaction_unittest.cc output[i] = bytes[current_byte++]; bytes 475 net/http/http_network_transaction_unittest.cc current_byte %= arraysize(bytes); bytes 116 net/http/http_stream_parser.cc void DidConsume(int bytes) { bytes 117 net/http/http_stream_parser.cc SetOffset(used_ + bytes); bytes 127 net/http/http_stream_parser.cc void SetOffset(int bytes) { bytes 128 net/http/http_stream_parser.cc DCHECK_GE(bytes, 0); bytes 129 net/http/http_stream_parser.cc DCHECK_LE(bytes, size_); bytes 130 net/http/http_stream_parser.cc used_ = bytes; bytes 136 net/http/http_stream_parser.cc void DidAppend(int bytes) { bytes 137 net/http/http_stream_parser.cc DCHECK_GE(bytes, 0); bytes 138 net/http/http_stream_parser.cc DCHECK_GE(size_ + bytes, 0); bytes 139 net/http/http_stream_parser.cc DCHECK_LE(size_ + bytes, capacity_); bytes 140 net/http/http_stream_parser.cc size_ += bytes; bytes 53 net/proxy/proxy_script_fetcher_impl.cc const std::string& bytes, bytes 68 net/proxy/proxy_script_fetcher_impl.cc base::CodepageToUTF16(bytes, codepage, bytes 31 net/quic/congestion_control/fix_rate_receiver.h virtual void RecordIncomingPacket(QuicByteCount bytes, bytes 67 net/quic/congestion_control/fix_rate_sender.cc QuicByteCount bytes, bytes 69 net/quic/congestion_control/fix_rate_sender.cc fix_rate_leaky_bucket_.Add(sent_time, bytes); bytes 70 net/quic/congestion_control/fix_rate_sender.cc paced_sender_.OnPacketSent(sent_time, bytes); bytes 71 net/quic/congestion_control/fix_rate_sender.cc data_in_flight_ += bytes; bytes 39 net/quic/congestion_control/fix_rate_sender.h QuicByteCount bytes, bytes 41 net/quic/congestion_control/inter_arrival_probe.cc void InterArrivalProbe::OnPacketSent(QuicByteCount bytes) { bytes 43 net/quic/congestion_control/inter_arrival_probe.cc unacked_data_ += bytes; bytes 47 net/quic/congestion_control/inter_arrival_probe.cc void InterArrivalProbe::OnAcknowledgedPacket(QuicByteCount bytes) { bytes 49 net/quic/congestion_control/inter_arrival_probe.cc DCHECK_LE(bytes, unacked_data_); bytes 50 net/quic/congestion_control/inter_arrival_probe.cc unacked_data_ -= bytes; bytes 24 net/quic/congestion_control/inter_arrival_probe.h void OnPacketSent(QuicByteCount bytes); bytes 28 net/quic/congestion_control/inter_arrival_probe.h void OnAcknowledgedPacket(QuicByteCount bytes); bytes 27 net/quic/congestion_control/inter_arrival_receiver.h virtual void RecordIncomingPacket(QuicByteCount bytes, bytes 223 net/quic/congestion_control/inter_arrival_sender.cc QuicByteCount bytes, bytes 226 net/quic/congestion_control/inter_arrival_sender.cc probe_->OnPacketSent(bytes); bytes 228 net/quic/congestion_control/inter_arrival_sender.cc paced_sender_->OnPacketSent(sent_time, bytes); bytes 230 net/quic/congestion_control/inter_arrival_sender.cc packet_history_map_[sequence_number] = new SentPacket(bytes, sent_time); bytes 42 net/quic/congestion_control/inter_arrival_sender.h QuicByteCount bytes, bytes 59 net/quic/congestion_control/inter_arrival_sender.h SentPacket(QuicByteCount bytes, QuicTime timestamp) bytes 60 net/quic/congestion_control/inter_arrival_sender.h : bytes_sent_(bytes), bytes 22 net/quic/congestion_control/leaky_bucket.cc void LeakyBucket::Add(QuicTime now, QuicByteCount bytes) { bytes 24 net/quic/congestion_control/leaky_bucket.cc bytes_ += bytes; bytes 29 net/quic/congestion_control/leaky_bucket.h void Add(QuicTime now, QuicByteCount bytes); bytes 33 net/quic/congestion_control/paced_sender.cc void PacedSender::OnPacketSent(QuicTime now, QuicByteCount bytes) { bytes 34 net/quic/congestion_control/paced_sender.cc leaky_bucket_.Add(now, bytes); bytes 26 net/quic/congestion_control/paced_sender.h void OnPacketSent(QuicTime now, QuicByteCount bytes); bytes 45 net/quic/congestion_control/pacing_sender.cc QuicByteCount bytes, bytes 55 net/quic/congestion_control/pacing_sender.cc BandwidthEstimate().Scale(kPacingAggression).TransferTime(bytes); bytes 58 net/quic/congestion_control/pacing_sender.cc return sender_->OnPacketSent(sent_time, sequence_number, bytes, bytes 43 net/quic/congestion_control/pacing_sender.h QuicByteCount bytes, bytes 33 net/quic/congestion_control/receive_algorithm_interface.h virtual void RecordIncomingPacket(QuicByteCount bytes, bytes 58 net/quic/congestion_control/send_algorithm_interface.h QuicByteCount bytes, bytes 133 net/quic/congestion_control/tcp_cubic_sender.cc QuicByteCount bytes, bytes 140 net/quic/congestion_control/tcp_cubic_sender.cc bytes_in_flight_ += bytes; bytes 141 net/quic/congestion_control/tcp_cubic_sender.cc prr_out_ += bytes; bytes 56 net/quic/congestion_control/tcp_cubic_sender.h QuicByteCount bytes, bytes 25 net/quic/congestion_control/tcp_receiver.cc void TcpReceiver::RecordIncomingPacket(QuicByteCount bytes, bytes 30 net/quic/congestion_control/tcp_receiver.h virtual void RecordIncomingPacket(QuicByteCount bytes, bytes 441 net/quic/crypto/strike_register.cc const uint8* bytes = external_node(ext); bytes 449 net/quic/crypto/strike_register.cc CHECK_EQ((bytes[byte] & kMasks[bit]) != 0, i->second); bytes 44 net/quic/quic_bandwidth.cc QuicBandwidth QuicBandwidth::FromBytesAndTimeDelta(QuicByteCount bytes, bytes 46 net/quic/quic_bandwidth.cc DCHECK_LT(bytes, bytes 49 net/quic/quic_bandwidth.cc int64 bytes_per_second = (bytes * base::Time::kMicrosecondsPerSecond) / bytes 102 net/quic/quic_bandwidth.cc QuicTime::Delta QuicBandwidth::TransferTime(QuicByteCount bytes) const { bytes 104 net/quic/quic_bandwidth.cc bytes * 8 * base::Time::kMicrosecondsPerSecond / bits_per_second_); bytes 35 net/quic/quic_bandwidth.h static QuicBandwidth FromBytesAndTimeDelta(QuicByteCount bytes, bytes 58 net/quic/quic_bandwidth.h QuicTime::Delta TransferTime(QuicByteCount bytes) const; bytes 157 net/quic/quic_data_reader.cc bool QuicDataReader::CanRead(size_t bytes) const { bytes 158 net/quic/quic_data_reader.cc return bytes <= (len_ - pos_); bytes 114 net/quic/quic_data_reader.h bool CanRead(size_t bytes) const; bytes 16 net/quic/quic_protocol_test.cc char bytes[4]; bytes 17 net/quic/quic_protocol_test.cc memcpy(bytes, &tag, 4); bytes 18 net/quic/quic_protocol_test.cc EXPECT_EQ('A', bytes[0]); bytes 19 net/quic/quic_protocol_test.cc EXPECT_EQ('B', bytes[1]); bytes 20 net/quic/quic_protocol_test.cc EXPECT_EQ('C', bytes[2]); bytes 21 net/quic/quic_protocol_test.cc EXPECT_EQ('D', bytes[3]); bytes 44 net/quic/quic_received_packet_manager.cc QuicByteCount bytes, bytes 68 net/quic/quic_received_packet_manager.cc bytes, sequence_number, receipt_time); bytes 35 net/quic/quic_received_packet_manager.h void RecordPacketReceived(QuicByteCount bytes, bytes 368 net/quic/quic_sent_packet_manager.cc QuicByteCount bytes, bytes 372 net/quic/quic_sent_packet_manager.cc LOG_IF(DFATAL, bytes == 0) << "Cannot send empty packets."; bytes 380 net/quic/quic_sent_packet_manager.cc if (!send_algorithm_->OnPacketSent(sent_time, sequence_number, bytes, bytes 382 net/quic/quic_sent_packet_manager.cc unacked_packets_.SetSent(sequence_number, sent_time, bytes, false); bytes 389 net/quic/quic_sent_packet_manager.cc unacked_packets_.SetSent(sequence_number, sent_time, bytes, true); bytes 125 net/quic/quic_sent_packet_manager.h QuicByteCount bytes, bytes 516 net/quic/test_tools/crypto_test_utils.cc scoped_ptr<QuicData> bytes(CryptoFramer::ConstructHandshakeMessage(msg)); bytes 518 net/quic/test_tools/crypto_test_utils.cc CryptoFramer::ParseMessage(bytes->AsStringPiece())); bytes 539 net/quic/test_tools/quic_test_utils.cc bool DecodeHexString(const base::StringPiece& hex, std::string* bytes) { bytes 540 net/quic/test_tools/quic_test_utils.cc bytes->clear(); bytes 547 net/quic/test_tools/quic_test_utils.cc bytes->assign(reinterpret_cast<const char*>(&v[0]), v.size()); bytes 63 net/quic/test_tools/quic_test_utils.h bool DecodeHexString(const base::StringPiece& hex, std::string* bytes); bytes 22 net/server/http_connection.cc void HttpConnection::Send(const char* bytes, int len) { bytes 25 net/server/http_connection.cc socket_->Send(bytes, len); bytes 26 net/server/http_connection.h void Send(const char* bytes, int len); bytes 77 net/socket/stream_listen_socket.cc void StreamListenSocket::Send(const char* bytes, int len, bytes 79 net/socket/stream_listen_socket.cc SendInternal(bytes, len); bytes 129 net/socket/stream_listen_socket.cc void StreamListenSocket::SendInternal(const char* bytes, int len) { bytes 130 net/socket/stream_listen_socket.cc char* send_buf = const_cast<char *>(bytes); bytes 71 net/socket/stream_listen_socket.h void Send(const char* bytes, int len, bool append_linefeed = false); bytes 108 net/socket/stream_listen_socket.h void SendInternal(const char* bytes, int len); bytes 192 net/spdy/spdy_frame_reader.cc bool SpdyFrameReader::CanRead(size_t bytes) const { bytes 193 net/spdy/spdy_frame_reader.cc return bytes <= (len_ - ofs_); bytes 111 net/spdy/spdy_frame_reader.h bool CanRead(size_t bytes) const; bytes 1378 net/spdy/spdy_framer_test.cc StringPiece bytes = "this is a test test test test test!"; bytes 1379 net/spdy/spdy_framer_test.cc net::SpdyDataIR data_ir(1, bytes); bytes 1397 net/spdy/spdy_framer_test.cc EXPECT_EQ(bytes.size(), static_cast<unsigned>(visitor.data_bytes_)); bytes 1422 net/spdy/spdy_framer_test.cc const char bytes[] = "this is a test test test test test!"; bytes 1423 net/spdy/spdy_framer_test.cc net::SpdyDataIR data_ir(1, StringPiece(bytes, arraysize(bytes))); bytes 1447 net/spdy/spdy_framer_test.cc EXPECT_EQ(arraysize(bytes), static_cast<unsigned>(visitor.data_bytes_)); bytes 1496 net/spdy/spdy_framer_test.cc const char bytes[] = "hello"; bytes 1498 net/spdy/spdy_framer_test.cc SpdyDataIR data_ir(1, StringPiece(bytes, strlen(bytes))); bytes 1509 net/spdy/spdy_framer_test.cc data_header_ir.SetDataShallow(base::StringPiece(bytes, strlen(bytes))); bytes 1537 net/spdy/spdy_framer_test.cc const char bytes[] = "hello"; bytes 1539 net/spdy/spdy_framer_test.cc SpdyDataIR data_ir(1, StringPiece(bytes, strlen(bytes))); bytes 500 net/test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java byte[] bytes = Base64.decode(SERVER_KEYS_BKS, Base64.DEFAULT); bytes 501 net/test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java InputStream inputStream = new ByteArrayInputStream(bytes); bytes 3327 net/third_party/nss/ssl/ssl3con.c PRUint8 bytes[2]; bytes 3333 net/third_party/nss/ssl/ssl3con.c bytes[0] = level; bytes 3334 net/third_party/nss/ssl/ssl3con.c bytes[1] = desc; bytes 3346 net/third_party/nss/ssl/ssl3con.c sent = ssl3_SendRecord(ss, 0, content_alert, bytes, 2, bytes 4183 net/third_party/nss/ssl/ssl3con.c ssl3_AppendHandshake(sslSocket *ss, const void *void_src, PRInt32 bytes) bytes 4191 net/third_party/nss/ssl/ssl3con.c if (!bytes) bytes 4193 net/third_party/nss/ssl/ssl3con.c if (ss->sec.ci.sendBuf.space < MAX_SEND_BUF_LENGTH && room < bytes) { bytes 4195 net/third_party/nss/ssl/ssl3con.c PR_MIN(MAX_SEND_BUF_LENGTH, ss->sec.ci.sendBuf.len + bytes))); bytes 4201 net/third_party/nss/ssl/ssl3con.c PRINT_BUF(60, (ss, "Append to Handshake", (unsigned char*)void_src, bytes)); bytes 4202 net/third_party/nss/ssl/ssl3con.c rv = ssl3_UpdateHandshakeHashes(ss, src, bytes); bytes 4206 net/third_party/nss/ssl/ssl3con.c while (bytes > room) { bytes 4215 net/third_party/nss/ssl/ssl3con.c bytes -= room; bytes 4220 net/third_party/nss/ssl/ssl3con.c PORT_Memcpy(ss->sec.ci.sendBuf.buf + ss->sec.ci.sendBuf.len, src, bytes); bytes 4221 net/third_party/nss/ssl/ssl3con.c ss->sec.ci.sendBuf.len += bytes; bytes 4249 net/third_party/nss/ssl/ssl3con.c sslSocket *ss, const SSL3Opaque *src, PRInt32 bytes, PRInt32 lenSize) bytes 4253 net/third_party/nss/ssl/ssl3con.c PORT_Assert((bytes < (1<<8) && lenSize == 1) || bytes 4254 net/third_party/nss/ssl/ssl3con.c (bytes < (1L<<16) && lenSize == 2) || bytes 4255 net/third_party/nss/ssl/ssl3con.c (bytes < (1L<<24) && lenSize == 3)); bytes 4258 net/third_party/nss/ssl/ssl3con.c rv = ssl3_AppendHandshakeNumber(ss, bytes, lenSize); bytes 4263 net/third_party/nss/ssl/ssl3con.c rv = ssl3_AppendHandshake(ss, src, bytes); bytes 4355 net/third_party/nss/ssl/ssl3con.c ssl3_ConsumeHandshake(sslSocket *ss, void *v, PRInt32 bytes, SSL3Opaque **b, bytes 4361 net/third_party/nss/ssl/ssl3con.c if ((PRUint32)bytes > *length) { bytes 4364 net/third_party/nss/ssl/ssl3con.c PORT_Memcpy(v, *b, bytes); bytes 4365 net/third_party/nss/ssl/ssl3con.c PRINT_BUF(60, (ss, "consume bytes:", *b, bytes)); bytes 4366 net/third_party/nss/ssl/ssl3con.c *b += bytes; bytes 4367 net/third_party/nss/ssl/ssl3con.c *length -= bytes; bytes 4383 net/third_party/nss/ssl/ssl3con.c ssl3_ConsumeHandshakeNumber(sslSocket *ss, PRInt32 bytes, SSL3Opaque **b, bytes 4392 net/third_party/nss/ssl/ssl3con.c PORT_Assert( bytes <= sizeof num); bytes 4394 net/third_party/nss/ssl/ssl3con.c if ((PRUint32)bytes > *length) { bytes 4397 net/third_party/nss/ssl/ssl3con.c PRINT_BUF(60, (ss, "consume bytes:", *b, bytes)); bytes 4399 net/third_party/nss/ssl/ssl3con.c for (i = 0; i < bytes; i++) bytes 4401 net/third_party/nss/ssl/ssl3con.c *b += bytes; bytes 4402 net/third_party/nss/ssl/ssl3con.c *length -= bytes; bytes 4421 net/third_party/nss/ssl/ssl3con.c ssl3_ConsumeHandshakeVariable(sslSocket *ss, SECItem *i, PRInt32 bytes, bytes 4426 net/third_party/nss/ssl/ssl3con.c PORT_Assert(bytes <= 3); bytes 4429 net/third_party/nss/ssl/ssl3con.c count = ssl3_ConsumeHandshakeNumber(ss, bytes, b, length); bytes 4568 net/third_party/nss/ssl/ssl3con.c unsigned char bytes[2]; bytes 4571 net/third_party/nss/ssl/ssl3con.c rv = ssl3_ConsumeHandshake(ss, bytes, sizeof(bytes), b, length); bytes 4576 net/third_party/nss/ssl/ssl3con.c out->hashAlg = ssl3_TLSHashAlgorithmToOID(bytes[0]); bytes 4582 net/third_party/nss/ssl/ssl3con.c out->sigAlg = bytes[1]; bytes 11624 net/third_party/nss/ssl/ssl3con.c unsigned int bytes; bytes 11627 net/third_party/nss/ssl/ssl3con.c bytes = PR_MIN(buf->len, ss->ssl3.hs.msg_len - ss->ssl3.hs.msg_body.len); bytes 11637 net/third_party/nss/ssl/ssl3con.c buf->buf, bytes); bytes 11638 net/third_party/nss/ssl/ssl3con.c ss->ssl3.hs.msg_body.len += bytes; bytes 11639 net/third_party/nss/ssl/ssl3con.c buf->buf += bytes; bytes 11640 net/third_party/nss/ssl/ssl3con.c buf->len -= bytes; bytes 39 net/third_party/nss/ssl/ssl3ext.c PRUint32 bytes); bytes 97 net/third_party/nss/ssl/ssl3ext.c ssl3_AppendToItem(SECItem *item, const unsigned char *buf, PRUint32 bytes) bytes 99 net/third_party/nss/ssl/ssl3ext.c if (bytes > item->len) bytes 102 net/third_party/nss/ssl/ssl3ext.c PORT_Memcpy(item->data, buf, bytes); bytes 103 net/third_party/nss/ssl/ssl3ext.c item->data += bytes; bytes 104 net/third_party/nss/ssl/ssl3ext.c item->len -= bytes; bytes 1766 net/third_party/nss/ssl/ssl3ext.c ssl3_ConsumeFromItem(SECItem *item, unsigned char **buf, PRUint32 bytes) bytes 1768 net/third_party/nss/ssl/ssl3ext.c if (bytes > item->len) bytes 1772 net/third_party/nss/ssl/ssl3ext.c item->data += bytes; bytes 1773 net/third_party/nss/ssl/ssl3ext.c item->len -= bytes; bytes 1794 net/third_party/nss/ssl/sslimpl.h PRInt32 bytes); bytes 1800 net/third_party/nss/ssl/sslimpl.h const SSL3Opaque *src, PRInt32 bytes, PRInt32 lenSize); bytes 1803 net/third_party/nss/ssl/sslimpl.h extern SECStatus ssl3_ConsumeHandshake(sslSocket *ss, void *v, PRInt32 bytes, bytes 1805 net/third_party/nss/ssl/sslimpl.h extern PRInt32 ssl3_ConsumeHandshakeNumber(sslSocket *ss, PRInt32 bytes, bytes 1808 net/third_party/nss/ssl/sslimpl.h PRInt32 bytes, SSL3Opaque **b, PRUint32 *length); bytes 161 net/third_party/nss/ssl/sslsnce.c PRUint8 bytes[512]; bytes 1837 net/third_party/nss/ssl/sslsnce.c PORT_Assert(wrappedKey.len <= sizeof(cacheEntry->bytes)); bytes 1838 net/third_party/nss/ssl/sslsnce.c if (wrappedKey.len > sizeof(cacheEntry->bytes)) bytes 1840 net/third_party/nss/ssl/sslsnce.c wrappedKey.data = cacheEntry->bytes; bytes 1949 net/third_party/nss/ssl/sslsnce.c wrappedKey.data = cache->ticketEncKey->bytes; bytes 1951 net/third_party/nss/ssl/sslsnce.c PORT_Assert(wrappedKey.len <= sizeof(cache->ticketEncKey->bytes)); bytes 1955 net/third_party/nss/ssl/sslsnce.c wrappedKey.data = cache->ticketMacKey->bytes; bytes 1957 net/third_party/nss/ssl/sslsnce.c PORT_Assert(wrappedKey.len <= sizeof(cache->ticketMacKey->bytes)); bytes 2043 net/third_party/nss/ssl/sslsnce.c ticketEncKeyPtr = cache->ticketEncKey->bytes; bytes 2044 net/third_party/nss/ssl/sslsnce.c ticketMacKeyPtr = cache->ticketMacKey->bytes; bytes 47 net/tools/balsa/buffer_interface.h virtual int Write(const char* bytes, int size) = 0; bytes 83 net/tools/balsa/buffer_interface.h virtual int Read(char* bytes, int size) = 0; bytes 90 net/tools/balsa/simple_buffer.cc int SimpleBuffer::Write(const char* bytes, int size) { bytes 95 net/tools/balsa/simple_buffer.cc memcpy(storage_ + write_idx_, bytes, size); bytes 123 net/tools/balsa/simple_buffer.cc int SimpleBuffer::Read(char* bytes, int size) { bytes 130 net/tools/balsa/simple_buffer.cc memcpy(bytes, read_ptr, read_size); bytes 42 net/tools/balsa/simple_buffer.h virtual int Write(const char* bytes, int size) OVERRIDE; bytes 48 net/tools/balsa/simple_buffer.h virtual int Read(char* bytes, int size) OVERRIDE; bytes 206 net/tools/dump_cache/cache_dumper.cc DWORD bytes; bytes 207 net/tools/dump_cache/cache_dumper.cc if (!WriteFile(entry_, data, len, &bytes, 0)) bytes 210 net/tools/dump_cache/cache_dumper.cc return bytes; bytes 144 net/tools/flip_server/flip_in_mem_edsm_server.cc int bytes = static_cast<int>(strlen(pid_str)); bytes 145 net/tools/flip_server/flip_in_mem_edsm_server.cc if (write(fd, pid_str, strlen(pid_str)) != bytes) { bytes 31 net/tools/flip_server/ring_buffer.cc int RingBuffer::Write(const char* bytes, int size) { bytes 44 net/tools/flip_server/ring_buffer.cc memcpy(wptr, bytes + bytes_written, wsize); bytes 52 net/tools/flip_server/ring_buffer.cc const char* p = bytes; bytes 59 net/tools/flip_server/ring_buffer.cc const char* end = bytes + bytes_to_write; bytes 103 net/tools/flip_server/ring_buffer.cc int RingBuffer::Read(char* bytes, int size) { bytes 116 net/tools/flip_server/ring_buffer.cc memcpy(bytes + bytes_read, rptr, rsize); bytes 124 net/tools/flip_server/ring_buffer.cc char* p = bytes; bytes 130 net/tools/flip_server/ring_buffer.cc char* end = bytes + bytes_to_read; bytes 50 net/tools/flip_server/ring_buffer.h virtual int Write(const char* bytes, int size) OVERRIDE; bytes 63 net/tools/flip_server/ring_buffer.h virtual int Read(char* bytes, int size) OVERRIDE; bytes 414 net/tools/flip_server/sm_connection.cc char* bytes; bytes 421 net/tools/flip_server/sm_connection.cc read_buffer_.GetWritablePtr(&bytes, &size); bytes 424 net/tools/flip_server/sm_connection.cc bytes_read = SSL_read(ssl_, bytes, size); bytes 442 net/tools/flip_server/sm_connection.cc bytes_read = recv(fd_, bytes, size, MSG_DONTWAIT); bytes 497 net/tools/flip_server/sm_connection.cc char* bytes; bytes 499 net/tools/flip_server/sm_connection.cc read_buffer_.GetReadablePtr(&bytes, &size); bytes 501 net/tools/flip_server/sm_connection.cc size_t bytes_consumed = sm_interface_->ProcessReadInput(bytes, size); bytes 521 net/tools/flip_server/sm_connection.cc read_buffer_.GetReadablePtr(&bytes, &size); bytes 559 net/tools/flip_server/sm_connection.cc const char* bytes = data_frame->data; bytes 561 net/tools/flip_server/sm_connection.cc bytes += data_frame->index; bytes 579 net/tools/flip_server/sm_connection.cc ssize_t bytes_written = Send(bytes, size, flags); bytes 17 net/udp/udp_net_log_parameters.cc const char* bytes, bytes 23 net/udp/udp_net_log_parameters.cc dict->SetString("hex_encoded_bytes", base::HexEncode(bytes, byte_count)); bytes 40 net/udp/udp_net_log_parameters.cc const char* bytes, bytes 42 net/udp/udp_net_log_parameters.cc DCHECK(bytes); bytes 43 net/udp/udp_net_log_parameters.cc return base::Bind(&NetLogUDPDataTranferCallback, byte_count, bytes, address); bytes 20 net/udp/udp_net_log_parameters.h const char* bytes, bytes 394 net/udp/udp_socket_libevent.cc const char* bytes, bytes 411 net/udp/udp_socket_libevent.cc result, bytes, bytes 446 net/udp/udp_socket_libevent.cc const char* bytes, bytes 456 net/udp/udp_socket_libevent.cc CreateNetLogUDPDataTranferCallback(result, bytes, address)); bytes 217 net/udp/udp_socket_libevent.h void LogRead(int result, const char* bytes, socklen_t addr_len, bytes 219 net/udp/udp_socket_libevent.h void LogWrite(int result, const char* bytes, const IPEndPoint* address) const; bytes 485 net/udp/udp_socket_win.cc void UDPSocketWin::LogRead(int result, const char* bytes) const { bytes 498 net/udp/udp_socket_win.cc result, bytes, bytes 520 net/udp/udp_socket_win.cc const char* bytes, bytes 530 net/udp/udp_socket_win.cc CreateNetLogUDPDataTranferCallback(result, bytes, address)); bytes 186 net/udp/udp_socket_win.h void LogRead(int result, const char* bytes) const; bytes 187 net/udp/udp_socket_win.h void LogWrite(int result, const char* bytes, const IPEndPoint* address) const; bytes 315 net/url_request/url_request.cc void URLRequest::AppendChunkToUpload(const char* bytes, bytes 321 net/url_request/url_request.cc upload_data_stream_->AppendChunk(bytes, bytes_len, is_last_chunk); bytes 397 net/url_request/url_request.h void AppendChunkToUpload(const char* bytes, bytes 277 net/websockets/websocket_channel.cc void WebSocketChannel::PendingReceivedFrame::DidConsume(size_t bytes) { bytes 279 net/websockets/websocket_channel.cc DCHECK_LE(bytes, size_ - offset_); bytes 280 net/websockets/websocket_channel.cc offset_ += bytes; bytes 145 net/websockets/websocket_channel.h void DidConsume(size_t bytes); bytes 166 ppapi/c/private/ppb_x509_certificate_private.h const char* bytes, bytes 39 ppapi/cpp/private/x509_certificate_private.cc bool X509CertificatePrivate::Initialize(const char* bytes, uint32_t length) { bytes 44 ppapi/cpp/private/x509_certificate_private.cc bytes, bytes 28 ppapi/cpp/private/x509_certificate_private.h bool Initialize(const char* bytes, uint32_t length); bytes 78 ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc void PnaclTranslateThread::PutBytes(std::vector<char>* bytes, bytes 82 ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc this, bytes, bytes ? bytes->size() : 0, count)); bytes 93 ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc CHECK(bytes != NULL); bytes 96 ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc buffer_size = bytes->size(); bytes 97 ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc bytes->resize(count); bytes 102 ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc bytes->swap(data_buffers_.back()); // Avoid copying the buffer data. bytes 108 ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc bytes->resize(buffer_size); bytes 3980 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static PP_Bool Pnacl_M19_PPB_X509Certificate_Private_Initialize(PP_Resource resource, const char* bytes, uint32_t length) { bytes 3982 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Initialize(resource, bytes, length); bytes 5336 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, bytes 44 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc nacl::scoped_array<uint8_t> bytes; bytes 48 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc bytes.reset(new uint8_t[nbytes]); bytes 49 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc if (NULL == bytes.get()) { bytes 56 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc copied = read(d, bytes.get() + got, nbytes - got); bytes 72 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc sb->Printf("%02x", bytes[ix]); bytes 108 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc PP_Bool PPB_X509Certificate_Private_Shared::Initialize(const char* bytes, bytes 114 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc if (!bytes || length == 0) bytes 117 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc std::vector<char> der(bytes, bytes + length); bytes 59 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h virtual PP_Bool Initialize(const char* bytes, uint32_t length) OVERRIDE; bytes 46 ppapi/tests/test_buffer.cc unsigned char* bytes = static_cast<unsigned char *>(buffer.data()); bytes 48 ppapi/tests/test_buffer.cc if (bytes[index] != 0) bytes 155 ppapi/tests/test_flash_clipboard.cc char* bytes = static_cast<char*>(array_buffer.Map()); bytes 156 ppapi/tests/test_flash_clipboard.cc std::copy(rtf_string.data(), rtf_string.data() + rtf_string.size(), bytes); bytes 177 ppapi/tests/test_flash_clipboard.cc ASSERT_TRUE(std::equal(bytes, bytes + array_buffer.ByteLength(), bytes 186 ppapi/tests/test_flash_clipboard.cc char* bytes = static_cast<char*>(array_buffer.Map()); bytes 187 ppapi/tests/test_flash_clipboard.cc std::copy(custom_data.begin(), custom_data.end(), bytes); bytes 213 ppapi/tests/test_flash_clipboard.cc ASSERT_TRUE(std::equal(bytes, bytes + array_buffer.ByteLength(), bytes 315 ppapi/tests/test_flash_clipboard.cc char* bytes = static_cast<char*>(array_buffer.Map()); bytes 316 ppapi/tests/test_flash_clipboard.cc std::copy(custom_data.begin(), custom_data.end(), bytes); bytes 49 ppapi/tests/test_x509_certificate_private.cc char* bytes = static_cast<char*>(array_buffer.Map()); bytes 53 ppapi/tests/test_x509_certificate_private.cc return std::equal(expected, expected + expected_length, bytes); bytes 18 ppapi/thunk/ppb_x509_certificate_private_api.h virtual PP_Bool Initialize(const char* bytes, uint32_t length) = 0; bytes 32 ppapi/thunk/ppb_x509_certificate_private_thunk.cc const char *bytes, bytes 37 ppapi/thunk/ppb_x509_certificate_private_thunk.cc return enter.object()->Initialize(bytes, length); bytes 24 printing/image_mac.cc size_t bytes = row_length_ * size_.height(); bytes 25 printing/image_mac.cc DCHECK(bytes); bytes 27 printing/image_mac.cc data_.resize(bytes); bytes 81 printing/image_win.cc size_t bytes = row_length_ * size_.height(); bytes 82 printing/image_win.cc DCHECK(bytes); bytes 84 printing/image_win.cc data_.assign(bits, bits + bytes); bytes 127 printing/pdf_metafile_skia.cc memcpy(dst_buffer, data->bytes(), dst_buffer_size); bytes 192 printing/pdf_metafile_skia.cc data_->pdf_cg_.InitFromData(data->bytes(), data->size()); bytes 246 printing/pdf_metafile_skia.cc metafile->InitFromData(data->bytes(), bytes 93 remoting/base/compound_buffer.cc void CompoundBuffer::CropFront(int bytes) { bytes 96 remoting/base/compound_buffer.cc if (total_bytes_ <= bytes) { bytes 101 remoting/base/compound_buffer.cc total_bytes_ -= bytes; bytes 102 remoting/base/compound_buffer.cc while (!chunks_.empty() && chunks_.front().size <= bytes) { bytes 103 remoting/base/compound_buffer.cc bytes -= chunks_.front().size; bytes 106 remoting/base/compound_buffer.cc if (!chunks_.empty() && bytes > 0) { bytes 107 remoting/base/compound_buffer.cc chunks_.front().start += bytes; bytes 108 remoting/base/compound_buffer.cc chunks_.front().size -= bytes; bytes 110 remoting/base/compound_buffer.cc bytes = 0; bytes 112 remoting/base/compound_buffer.cc DCHECK_EQ(bytes, 0); bytes 115 remoting/base/compound_buffer.cc void CompoundBuffer::CropBack(int bytes) { bytes 118 remoting/base/compound_buffer.cc if (total_bytes_ <= bytes) { bytes 123 remoting/base/compound_buffer.cc total_bytes_ -= bytes; bytes 124 remoting/base/compound_buffer.cc while (!chunks_.empty() && chunks_.back().size <= bytes) { bytes 125 remoting/base/compound_buffer.cc bytes -= chunks_.back().size; bytes 128 remoting/base/compound_buffer.cc if (!chunks_.empty() && bytes > 0) { bytes 129 remoting/base/compound_buffer.cc chunks_.back().size -= bytes; bytes 131 remoting/base/compound_buffer.cc bytes = 0; bytes 133 remoting/base/compound_buffer.cc DCHECK_EQ(bytes, 0); bytes 56 remoting/base/compound_buffer.h void CropFront(int bytes); bytes 57 remoting/base/compound_buffer.h void CropBack(int bytes); bytes 71 remoting/host/gnubby_auth_handler_posix.cc bool ConvertListValueToString(base::ListValue* bytes, std::string* out) { bytes 74 remoting/host/gnubby_auth_handler_posix.cc unsigned int byte_count = bytes->GetSize(); bytes 79 remoting/host/gnubby_auth_handler_posix.cc if (!bytes->GetInteger(i, &value)) bytes 134 remoting/host/gnubby_auth_handler_posix.cc base::ListValue* bytes; bytes 136 remoting/host/gnubby_auth_handler_posix.cc if (client_message->GetList(kDataPayload, &bytes) && bytes 137 remoting/host/gnubby_auth_handler_posix.cc ConvertListValueToString(bytes, &response)) { bytes 170 remoting/host/gnubby_auth_handler_posix.cc base::ListValue* bytes = new base::ListValue(); bytes 172 remoting/host/gnubby_auth_handler_posix.cc bytes->AppendInteger(static_cast<unsigned char>(*i)); bytes 174 remoting/host/gnubby_auth_handler_posix.cc request.Set(kDataPayload, bytes); bytes 265 remoting/host/win/launch_process_with_token.cc DWORD bytes; bytes 267 remoting/host/win/launch_process_with_token.cc if (!ReadFile(pipe, &response, sizeof(response), &bytes, NULL)) { bytes 274 remoting/host/win/launch_process_with_token.cc if (bytes != sizeof(response)) { bytes 360 remoting/host/win/launch_process_with_token.cc DWORD bytes; bytes 361 remoting/host/win/launch_process_with_token.cc if (!WriteFile(pipe, buffer.get(), size, &bytes, NULL)) { bytes 35 remoting/host/win/wts_terminal_monitor.cc DWORD bytes; bytes 41 remoting/host/win/wts_terminal_monitor.cc &bytes)) { bytes 46 remoting/host/win/wts_terminal_monitor.cc (bytes / sizeof(wchar_t)) - 1, bytes 30 rlz/lib/crc8_unittest.cc unsigned char* bytes; bytes 35 rlz/lib/crc8_unittest.cc bytes = reinterpret_cast<unsigned char*>(data[i].string); bytes 41 rlz/lib/crc8_unittest.cc rlz_lib::Crc8::Generate(bytes, length, &crc); bytes 43 rlz/lib/crc8_unittest.cc rlz_lib::Crc8::Verify(bytes, length, crc, &matches); bytes 48 rlz/lib/crc8_unittest.cc rlz_lib::Crc8::Verify(bytes, length, crc, &matches); bytes 111 sandbox/linux/seccomp-bpf/demo.cc ssize_t bytes = recvmsg(transport, &msg, 0); bytes 113 sandbox/linux/seccomp-bpf/demo.cc *len = bytes > static_cast<int>(sizeof(int)) ? bytes - sizeof(int) : 0; bytes 115 sandbox/linux/seccomp-bpf/demo.cc if (bytes != static_cast<ssize_t>(sizeof(int) + iov[1].iov_len)) { bytes 116 sandbox/linux/seccomp-bpf/demo.cc if (bytes >= 0) { bytes 124 sandbox/linux/suid/sandbox.c ssize_t bytes; bytes 126 sandbox/linux/suid/sandbox.c bytes = read(sv[0], &msg, 1); bytes 127 sandbox/linux/suid/sandbox.c } while (bytes == -1 && errno == EINTR); bytes 129 sandbox/linux/suid/sandbox.c if (bytes == 0) bytes 131 sandbox/linux/suid/sandbox.c if (bytes != 1) bytes 150 sandbox/linux/suid/sandbox.c bytes = write(sv[0], &reply, 1); bytes 151 sandbox/linux/suid/sandbox.c } while (bytes == -1 && errno == EINTR); bytes 153 sandbox/linux/suid/sandbox.c if (bytes != 1) bytes 372 sandbox/win/src/policy_engine_opcodes.cc size_t bytes = lenght * sizeof(wchar_t); bytes 373 sandbox/win/src/policy_engine_opcodes.cc if (memory_size() < bytes) { bytes 376 sandbox/win/src/policy_engine_opcodes.cc memory_bottom_ -= bytes; bytes 381 sandbox/win/src/policy_engine_opcodes.cc memcpy(memory_bottom_, str, bytes); bytes 208 sandbox/win/src/sandbox_nt_util.cc NTSTATUS CopyData(void* destination, const void* source, size_t bytes) { bytes 211 sandbox/win/src/sandbox_nt_util.cc g_nt.memcpy(destination, source, bytes); bytes 475 sandbox/win/src/sandbox_nt_util.cc NTSTATUS AutoProtectMemory::ChangeProtection(void* address, size_t bytes, bytes 478 sandbox/win/src/sandbox_nt_util.cc SIZE_T new_bytes = bytes; bytes 100 sandbox/win/src/sandbox_nt_util.h NTSTATUS CopyData(void* destination, const void* source, size_t bytes); bytes 164 sandbox/win/src/sandbox_nt_util.h NTSTATUS ChangeProtection(void* address, size_t bytes, ULONG protect); bytes 21 sandbox/win/src/sidestep/preamble_patcher_with_stub.cpp inline void* RawMemcpy(void* destination, const void* source, size_t bytes) { bytes 25 sandbox/win/src/sidestep/preamble_patcher_with_stub.cpp for (size_t i = 0; i < bytes ; i++) bytes 34 sandbox/win/src/sidestep/preamble_patcher_with_stub.cpp inline void* RawMemset(void* destination, int value, size_t bytes) { bytes 37 sandbox/win/src/sidestep/preamble_patcher_with_stub.cpp for (size_t i = 0; i < bytes ; i++) bytes 36 skia/ext/SkDiscardableMemory_chrome.cc SkDiscardableMemory* SkDiscardableMemory::Create(size_t bytes) { bytes 38 skia/ext/SkDiscardableMemory_chrome.cc base::DiscardableMemory::CreateLockedMemory(bytes)); bytes 31 skia/ext/bitmap_platform_device.h int64_t bytes = (int64_t)width * height * bytesPerPixel; bytes 32 skia/ext/bitmap_platform_device.h return bytes > SKIA_EXT_RASTER_DEVICE_ALLOCATION_MAX; bytes 559 skia/ext/vector_platform_device_emf_win.cc size_t bytes = bytesPerCodePoint(curr); bytes 560 skia/ext/vector_platform_device_emf_win.cc drawText(draw, curr, bytes, pos[0], y, paint); bytes 561 skia/ext/vector_platform_device_emf_win.cc curr += bytes; bytes 47 sql/test/test_helpers.cc unsigned ReadBigEndian(unsigned char* buf, size_t bytes) { bytes 49 sql/test/test_helpers.cc for (size_t i = 1; i < bytes; i++) { bytes 57 sql/test/test_helpers.cc void WriteBigEndian(unsigned val, unsigned char* buf, size_t bytes) { bytes 58 sql/test/test_helpers.cc for (size_t i = 0; i < bytes; i++) { bytes 59 sql/test/test_helpers.cc buf[bytes - i - 1] = (val & 0xFF); bytes 53 sync/api/attachments/attachment_store.h virtual void Write(const scoped_refptr<base::RefCountedMemory>& bytes, bytes 26 sync/api/attachments/fake_attachment_store.cc void Write(const scoped_refptr<base::RefCountedMemory>& bytes, bytes 59 sync/api/attachments/fake_attachment_store.cc const scoped_refptr<base::RefCountedMemory>& bytes, bytes 61 sync/api/attachments/fake_attachment_store.cc Attachment attachment = Attachment::Create(bytes); bytes 94 sync/api/attachments/fake_attachment_store.cc const scoped_refptr<base::RefCountedMemory>& bytes, bytes 99 sync/api/attachments/fake_attachment_store.cc &FakeAttachmentStore::Backend::Write, backend_, bytes, callback)); bytes 44 sync/api/attachments/fake_attachment_store.h virtual void Write(const scoped_refptr<base::RefCountedMemory>& bytes, bytes 74 sync/api/sync_data_unittest.cc scoped_refptr<base::RefCountedMemory> bytes(new base::RefCountedString); bytes 76 sync/api/sync_data_unittest.cc attachments.push_back(Attachment::Create(bytes)); bytes 77 sync/api/sync_data_unittest.cc attachments.push_back(Attachment::Create(bytes)); bytes 78 sync/api/sync_data_unittest.cc attachments.push_back(Attachment::Create(bytes)); bytes 14 sync/internal_api/public/base/node_ordinal.cc std::string bytes(NodeOrdinal::kMinLength, '\x00'); bytes 17 sync/internal_api/public/base/node_ordinal.cc bytes.push_back('\x80'); bytes 20 sync/internal_api/public/base/node_ordinal.cc bytes[i] = static_cast<uint8>(y); bytes 24 sync/internal_api/public/base/node_ordinal.cc NodeOrdinal ordinal(bytes); bytes 79 sync/internal_api/public/base/ordinal.h explicit Ordinal(const std::string& bytes); bytes 157 sync/internal_api/public/base/ordinal.h static bool IsValidOrdinalBytes(const std::string& bytes); bytes 162 sync/internal_api/public/base/ordinal.h const std::string& bytes, bytes 167 sync/internal_api/public/base/ordinal.h static uint8 GetDigit(const std::string& bytes, size_t i); bytes 170 sync/internal_api/public/base/ordinal.h static int GetDigitValue(const std::string& bytes, size_t i); bytes 174 sync/internal_api/public/base/ordinal.h static int AddDigitValue(std::string* bytes, size_t i, int digit_value); bytes 181 sync/internal_api/public/base/ordinal.h const std::string& bytes); bytes 230 sync/internal_api/public/base/ordinal.h Ordinal<Traits>::Ordinal(const std::string& bytes) bytes 231 sync/internal_api/public/base/ordinal.h : bytes_(bytes), bytes 239 sync/internal_api/public/base/ordinal.h std::string bytes(Traits::kMinLength, kZeroDigit); bytes 240 sync/internal_api/public/base/ordinal.h bytes[0] = kMidDigit; bytes 241 sync/internal_api/public/base/ordinal.h return Ordinal(bytes); bytes 346 sync/internal_api/public/base/ordinal.h bool Ordinal<Traits>::IsValidOrdinalBytes(const std::string& bytes) { bytes 347 sync/internal_api/public/base/ordinal.h const size_t length = bytes.length(); bytes 353 sync/internal_api/public/base/ordinal.h const uint8 byte = bytes[i]; bytes 363 sync/internal_api/public/base/ordinal.h const uint8 last_byte = bytes[length - 1]; bytes 373 sync/internal_api/public/base/ordinal.h const std::string& bytes, size_t length) { bytes 374 sync/internal_api/public/base/ordinal.h DCHECK(!bytes.empty()); bytes 378 sync/internal_api/public/base/ordinal.h bytes.find_last_not_of(static_cast<char>(kZeroDigit), length - 1); bytes 389 sync/internal_api/public/base/ordinal.h uint8 Ordinal<Traits>::GetDigit(const std::string& bytes, size_t i) { bytes 390 sync/internal_api/public/base/ordinal.h return (i < bytes.length()) ? bytes[i] : kZeroDigit; bytes 394 sync/internal_api/public/base/ordinal.h int Ordinal<Traits>::GetDigitValue(const std::string& bytes, size_t i) { bytes 395 sync/internal_api/public/base/ordinal.h return GetDigit(bytes, i) - kZeroDigit; bytes 399 sync/internal_api/public/base/ordinal.h int Ordinal<Traits>::AddDigitValue(std::string* bytes, bytes 402 sync/internal_api/public/base/ordinal.h DCHECK_LT(i, bytes->length()); bytes 405 sync/internal_api/public/base/ordinal.h int byte_j_value = GetDigitValue(*bytes, j) + digit_value; bytes 409 sync/internal_api/public/base/ordinal.h (*bytes)[j] = static_cast<char>(kZeroDigit + byte_j_value); bytes 416 sync/internal_api/public/base/ordinal.h const std::string& bytes) { bytes 417 sync/internal_api/public/base/ordinal.h CHECK_GT(bytes, lower_bound); bytes 420 sync/internal_api/public/base/ordinal.h GetLengthWithoutTrailingZeroDigits(bytes, bytes.length()); bytes 425 sync/internal_api/public/base/ordinal.h GetLengthWithoutTrailingZeroDigits(bytes, drop_length - 1); bytes 428 sync/internal_api/public/base/ordinal.h bytes.compare(0, truncated_length, lower_bound) > 0) bytes 28 sync/internal_api/public/base/unique_position.cc bool UniquePosition::IsValidBytes(const std::string& bytes) { bytes 34 sync/internal_api/public/base/unique_position.cc return bytes.length() >= kSuffixLength bytes 35 sync/internal_api/public/base/unique_position.cc && bytes[bytes.length()-1] != 0; bytes 82 sync/internal_api/public/base/unique_position.cc std::string bytes(8, 0); bytes 84 sync/internal_api/public/base/unique_position.cc bytes[i] = static_cast<uint8>(y); bytes 87 sync/internal_api/public/base/unique_position.cc return UniquePosition(bytes + suffix, suffix); bytes 193 sync/internal_api/public/base/unique_position.cc const std::string bytes = Uncompress(compressed_); bytes 194 sync/internal_api/public/base/unique_position.cc if (bytes.empty()) bytes 197 sync/internal_api/public/base/unique_position.cc std::string debug_string = base::HexEncode(bytes.data(), bytes.length()); bytes 209 sync/internal_api/public/base/unique_position.cc const std::string bytes = Uncompress(compressed_); bytes 210 sync/internal_api/public/base/unique_position.cc const size_t prefix_len = bytes.length() - kSuffixLength; bytes 211 sync/internal_api/public/base/unique_position.cc return bytes.substr(prefix_len, std::string::npos); bytes 47 sync/internal_api/public/base/unique_position.h static bool IsValidBytes(const std::string& bytes); bytes 41 sync/internal_api/public/base/unique_position_unittest.cc static UniquePosition FromBytes(const std::string& bytes) { bytes 43 sync/internal_api/public/base/unique_position_unittest.cc proto.set_value(bytes); bytes 57 sync/protocol/proto_value_conversions.cc base::StringValue* MakeBytesValue(const std::string& bytes) { bytes 59 sync/protocol/proto_value_conversions.cc base::Base64Encode(bytes, &bytes_base64); bytes 68 sync/syncable/syncable_unittest.cc const char* bytes, bytes 72 sync/syncable/syncable_unittest.cc specifics.mutable_bookmark()->set_favicon(bytes, bytes_length); bytes 78 sync/syncable/syncable_unittest.cc const char* bytes, bytes 83 sync/syncable/syncable_unittest.cc ASSERT_EQ(std::string(bytes, bytes_length), bytes 3777 third_party/bintrees/bintrees/cwalker.c unsigned char *bytes = (unsigned char *) &ival; bytes 3779 third_party/bintrees/bintrees/cwalker.c return _PyLong_FromByteArray(bytes, sizeof(size_t), little, 0); bytes 3380 third_party/bintrees/bintrees/qavltree.c unsigned char *bytes = (unsigned char *) &ival; bytes 3382 third_party/bintrees/bintrees/qavltree.c return _PyLong_FromByteArray(bytes, sizeof(size_t), little, 0); bytes 3375 third_party/bintrees/bintrees/qbintree.c unsigned char *bytes = (unsigned char *) &ival; bytes 3377 third_party/bintrees/bintrees/qbintree.c return _PyLong_FromByteArray(bytes, sizeof(size_t), little, 0); bytes 3377 third_party/bintrees/bintrees/qrbtree.c unsigned char *bytes = (unsigned char *) &ival; bytes 3379 third_party/bintrees/bintrees/qrbtree.c return _PyLong_FromByteArray(bytes, sizeof(size_t), little, 0); bytes 812 third_party/cld/encodings/compact_lang_det/cldutil.cc int bytes, int score) { bytes 830 third_party/cld/encodings/compact_lang_det/cldutil.cc double our_score = (score << 10) / (bytes ? bytes : 1); // Avoid zdiv bytes 1172 third_party/cld/encodings/compact_lang_det/cldutil.h int bytes, int score); bytes 1147 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int bytes = doc_tote->Value(sub); bytes 1149 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc if (bytes == 0) {continue;} // Zero bytes bytes 1150 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc total_bytes += bytes; bytes 1153 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int reliable_percent = reli / bytes; bytes 1186 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int newbytes = bytes + bytes2; bytes 1203 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc ExtLanguageCode(lang), reliable_percent, bytes, bytes 1216 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int bytes = doc_tote->Value(sub); bytes 1218 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc if (bytes == 0) {continue;} // Zero bytes bytes 1222 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc (bytes < kGoodFirstT3MinBytes) && bytes 1223 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc (bytes < total_bytes)) { bytes 1228 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int reliable_percent = reli / bytes; bytes 1237 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc if (FLAGS_cld_html /*&& (reliable_percent >= 10)*/ && (bytes >= 10)) { bytes 1239 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc ExtLanguageCode(lang), reliable_percent, bytes); bytes 124 third_party/libevent/event_tagging.c int bytes = 0; bytes 135 third_party/libevent/event_tagging.c data[bytes++] = lower; bytes 139 third_party/libevent/event_tagging.c evbuffer_add(evbuf, data, bytes); bytes 141 third_party/libevent/event_tagging.c return (bytes); bytes 33 third_party/liblouis/nacl_wrapper/liblouis_instance.cc static void BytesToHexString(const std::vector<unsigned char>& bytes, bytes 36 third_party/liblouis/nacl_wrapper/liblouis_instance.cc hex.reserve(bytes.size() * 2); bytes 37 third_party/liblouis/nacl_wrapper/liblouis_instance.cc for (size_t i = 0; i < bytes.size(); ++i) { bytes 38 third_party/liblouis/nacl_wrapper/liblouis_instance.cc unsigned char byte = bytes[i]; bytes 53 third_party/liblouis/nacl_wrapper/liblouis_instance.cc std::vector<unsigned char> bytes; bytes 54 third_party/liblouis/nacl_wrapper/liblouis_instance.cc bytes.reserve(hex.size() / 2); bytes 77 third_party/liblouis/nacl_wrapper/liblouis_instance.cc bytes.push_back(byte); bytes 79 third_party/liblouis/nacl_wrapper/liblouis_instance.cc out->swap(bytes); bytes 717 third_party/libwebp/demux/demux.c if (data == NULL || data->bytes == NULL || data->size == 0) return NULL; bytes 719 third_party/libwebp/demux/demux.c if (!InitMemBuffer(&mem, data->bytes, data->size)) return NULL; bytes 869 third_party/libwebp/demux/demux.c iter->fragment.bytes = payload; bytes 962 third_party/libwebp/demux/demux.c iter->chunk.bytes = mem_buf + chunk->data_.offset_ + CHUNK_HEADER_SIZE; bytes 984 third_party/libwebp/demux/demux.c (const char*)iter->chunk.bytes - CHUNK_HEADER_SIZE; bytes 993 third_party/libwebp/demux/demux.c (const char*)iter->chunk.bytes - CHUNK_HEADER_SIZE; bytes 34 third_party/libwebp/enc/picture.c uint8_t bytes[4]; bytes 36 third_party/libwebp/enc/picture.c #define ALPHA_IS_LAST (test_endian.bytes[3] == 0xff) bytes 59 third_party/libwebp/webp/mux_types.h const uint8_t* bytes; bytes 74 third_party/libwebp/webp/mux_types.h free((void*)webp_data->bytes); bytes 84 third_party/libwebp/webp/mux_types.h if (src->bytes != NULL && src->size != 0) { bytes 85 third_party/libwebp/webp/mux_types.h dst->bytes = (uint8_t*)malloc(src->size); bytes 86 third_party/libwebp/webp/mux_types.h if (dst->bytes == NULL) return 0; bytes 87 third_party/libwebp/webp/mux_types.h memcpy((void*)dst->bytes, src->bytes, src->size); bytes 649 third_party/libxml/src/runtest.c char bytes[4096]; bytes 661 third_party/libxml/src/runtest.c res = read(fd, bytes, 4096); bytes 666 third_party/libxml/src/runtest.c if (memcmp(bytes, &mem[idx], res) != 0) { bytes 669 third_party/libxml/src/runtest.c if (bytes[ix] != mem[idx+ix]) bytes 2356 third_party/libxml/src/xpointer.c xmlXPtrAdvanceChar(xmlNodePtr *node, int *indx, int bytes) { bytes 2368 third_party/libxml/src/xpointer.c while (bytes >= 0) { bytes 2396 third_party/libxml/src/xpointer.c if (bytes == 0) { bytes 2414 third_party/libxml/src/xpointer.c if (pos + bytes >= len) { bytes 2415 third_party/libxml/src/xpointer.c bytes -= (len - pos); bytes 2418 third_party/libxml/src/xpointer.c } else if (pos + bytes < len) { bytes 2419 third_party/libxml/src/xpointer.c pos += bytes; bytes 513 third_party/npapi/npspy/extern/nspr/md/_macos.h #define _MD_SOCKETAVAILABLE(fd,bytes) macsock_socketavailable(fd->secret->md.osfd,bytes) bytes 63 third_party/protobuf/java/src/main/java/com/google/protobuf/BoundedByteString.java BoundedByteString(byte[] bytes, int offset, int length) { bytes 64 third_party/protobuf/java/src/main/java/com/google/protobuf/BoundedByteString.java super(bytes); bytes 71 third_party/protobuf/java/src/main/java/com/google/protobuf/BoundedByteString.java if ((long) offset + length > bytes.length) { bytes 102 third_party/protobuf/java/src/main/java/com/google/protobuf/BoundedByteString.java return bytes[bytesOffset + index]; bytes 121 third_party/protobuf/java/src/main/java/com/google/protobuf/BoundedByteString.java System.arraycopy(bytes, getOffsetIntoBytes() + sourceOffset, target, bytes 156 third_party/protobuf/java/src/main/java/com/google/protobuf/BoundedByteString.java return bytes[position++]; bytes 191 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public static ByteString copyFrom(byte[] bytes, int offset, int size) { bytes 193 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java System.arraycopy(bytes, offset, copy, 0, size); bytes 203 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public static ByteString copyFrom(byte[] bytes) { bytes 204 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java return copyFrom(bytes, 0, bytes.length); bytes 215 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public static ByteString copyFrom(ByteBuffer bytes, int size) { bytes 217 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java bytes.get(copy); bytes 228 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public static ByteString copyFrom(ByteBuffer bytes) { bytes 229 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java return copyFrom(bytes, bytes.remaining()); bytes 794 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java final byte[] bytes = new byte[size]; bytes 795 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java System.arraycopy(buffer, bufferPos, bytes, 0, size); bytes 797 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java return bytes; bytes 803 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java final byte[] bytes = new byte[size]; bytes 805 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java System.arraycopy(buffer, bufferPos, bytes, 0, pos); bytes 814 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java System.arraycopy(buffer, 0, bytes, pos, bufferSize); bytes 820 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java System.arraycopy(buffer, 0, bytes, pos, size - pos); bytes 823 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java return bytes; bytes 864 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java final byte[] bytes = new byte[size]; bytes 868 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java System.arraycopy(buffer, originalBufferPos, bytes, 0, pos); bytes 872 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java System.arraycopy(chunk, 0, bytes, pos, chunk.length); bytes 877 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java return bytes; bytes 355 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java final byte[] bytes = value.getBytes("UTF-8"); bytes 356 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java writeRawVarint32(bytes.length); bytes 357 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java writeRawBytes(bytes); bytes 715 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java final byte[] bytes = value.getBytes("UTF-8"); bytes 716 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java return computeRawVarint32Size(bytes.length) + bytes 717 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java bytes.length; bytes 72 third_party/protobuf/java/src/main/java/com/google/protobuf/Internal.java public static String stringDefaultValue(String bytes) { bytes 74 third_party/protobuf/java/src/main/java/com/google/protobuf/Internal.java return new String(bytes.getBytes("ISO-8859-1"), "UTF-8"); bytes 91 third_party/protobuf/java/src/main/java/com/google/protobuf/Internal.java public static ByteString bytesDefaultValue(String bytes) { bytes 93 third_party/protobuf/java/src/main/java/com/google/protobuf/Internal.java return ByteString.copyFrom(bytes.getBytes("ISO-8859-1")); bytes 55 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyField.java private ByteString bytes; bytes 60 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyField.java ExtensionRegistryLite extensionRegistry, ByteString bytes) { bytes 63 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyField.java this.bytes = bytes; bytes 78 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyField.java bytes = null; bytes 92 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyField.java return bytes.size(); bytes 97 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyField.java return bytes; bytes 101 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyField.java return bytes; bytes 103 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyField.java bytes = value.toByteString(); bytes 105 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyField.java return bytes; bytes 136 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyField.java if (bytes != null) { bytes 138 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyField.java .parseFrom(bytes, extensionRegistry); bytes 54 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java protected final byte[] bytes; bytes 62 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java LiteralByteString(byte[] bytes) { bytes 63 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java this.bytes = bytes; bytes 71 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java return bytes[index]; bytes 76 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java return bytes.length; bytes 103 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java result = new BoundedByteString(bytes, getOffsetIntoBytes() + beginIndex, bytes 117 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java System.arraycopy(bytes, sourceOffset, target, targetOffset, numberToCopy); bytes 122 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java target.put(bytes, getOffsetIntoBytes(), size()); // Copies bytes bytes 128 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java ByteBuffer.wrap(bytes, getOffsetIntoBytes(), size()); bytes 148 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java return new String(bytes, getOffsetIntoBytes(), size(), charsetName); bytes 157 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java return Utf8.isValidUtf8(bytes, offset, offset + size()); bytes 163 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java return Utf8.partialIsValidUtf8(state, bytes, index, index + length); bytes 216 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java byte[] thisBytes = bytes; bytes 217 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java byte[] otherBytes = other.bytes; bytes 264 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java byte[] thisBytes = bytes; bytes 277 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java return new ByteArrayInputStream(bytes, getOffsetIntoBytes(), bytes 286 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java .newInstance(bytes, getOffsetIntoBytes(), size()); // No copy bytes 317 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java return bytes[position++]; bytes 216 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java byte[] bytes = new byte[leftSize + rightSize]; bytes 217 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java left.copyTo(bytes, 0, 0, leftSize); bytes 218 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java right.copyTo(bytes, 0, leftSize, rightSize); bytes 219 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java return new LiteralByteString(bytes); // Constructor wraps bytes bytes 771 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java private ByteIterator bytes; bytes 776 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java bytes = pieces.next().iterator(); bytes 789 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java if (!bytes.hasNext()) { bytes 790 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java bytes = pieces.next().iterator(); bytes 793 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java return bytes.nextByte(); bytes 108 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java public static boolean isValidUtf8(byte[] bytes) { bytes 109 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java return isValidUtf8(bytes, 0, bytes.length); bytes 121 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java public static boolean isValidUtf8(byte[] bytes, int index, int limit) { bytes 122 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java return partialIsValidUtf8(bytes, index, limit) == COMPLETE; bytes 144 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java int state, byte[] bytes, int index, int limit) { bytes 165 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java bytes[index++] > (byte) 0xBF) { bytes 174 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java byte2 = bytes[index++]; bytes 185 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java bytes[index++] > (byte) 0xBF) { bytes 195 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java byte2 = bytes[index++]; bytes 203 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java byte3 = bytes[index++]; bytes 222 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java bytes[index++] > (byte) 0xBF) { bytes 228 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java return partialIsValidUtf8(bytes, index, limit); bytes 249 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java byte[] bytes, int index, int limit) { bytes 252 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java while (index < limit && bytes[index] >= 0) { bytes 257 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java partialIsValidUtf8NonAscii(bytes, index, limit); bytes 261 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java byte[] bytes, int index, int limit) { bytes 270 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java } while ((byte1 = bytes[index++]) >= 0); bytes 282 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java bytes[index++] > (byte) 0xBF) { bytes 289 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java return incompleteStateFor(bytes, index, limit); bytes 291 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java if ((byte2 = bytes[index++]) > (byte) 0xBF || bytes 297 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java bytes[index++] > (byte) 0xBF) { bytes 304 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java return incompleteStateFor(bytes, index, limit); bytes 306 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java if ((byte2 = bytes[index++]) > (byte) 0xBF || bytes 313 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java bytes[index++] > (byte) 0xBF || bytes 315 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java bytes[index++] > (byte) 0xBF) { bytes 340 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java private static int incompleteStateFor(byte[] bytes, int index, int limit) { bytes 341 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java int byte1 = bytes[index - 1]; bytes 344 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java case 1: return incompleteStateFor(byte1, bytes[index]); bytes 345 third_party/protobuf/java/src/main/java/com/google/protobuf/Utf8.java case 2: return incompleteStateFor(byte1, bytes[index], bytes[index + 1]); bytes 234 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java ByteString bytes = builder.buildPartial().toByteString(); bytes 238 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java abstractMessageBuilder.mergeFrom(bytes).buildPartial(); bytes 240 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java abstractMessageBuilder.mergeFrom(bytes).build(); bytes 250 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java dynamicMessageBuilder.mergeFrom(bytes).buildPartial(); bytes 252 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java dynamicMessageBuilder.mergeFrom(bytes).build(); bytes 90 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java byte[] bytes = getTestBytes(); bytes 91 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString substring = ByteString.copyFrom(bytes).substring(500); bytes 93 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java isArrayRange(substring.toByteArray(), bytes, 500, bytes.length - 500)); bytes 97 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java byte[] bytes = getTestBytes(); bytes 98 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = ByteString.copyFrom(bytes, 500, 200); bytes 100 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java isArrayRange(byteString.toByteArray(), bytes, 500, 200)); bytes 104 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java byte[] bytes = getTestBytes(); bytes 105 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = ByteString.copyFrom(bytes); bytes 107 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java isArray(byteString.toByteArray(), bytes)); bytes 111 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java byte[] bytes = getTestBytes(); bytes 112 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteBuffer byteBuffer = ByteBuffer.allocate(bytes.length); bytes 113 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java byteBuffer.put(bytes); bytes 117 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java isArrayRange(byteString.toByteArray(), bytes, 500, 200)); bytes 121 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java byte[] bytes = getTestBytes(); bytes 122 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteBuffer byteBuffer = ByteBuffer.allocate(bytes.length); bytes 123 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java byteBuffer.put(bytes); bytes 127 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java isArrayRange(byteString.toByteArray(), bytes, 500, bytes.length - 500)); bytes 164 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java byte[] bytes = getTestBytes(); bytes 165 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = ByteString.copyFrom(bytes); bytes 166 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java byte[] target = new byte[bytes.length + 1000]; bytes 169 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java isArrayRange(bytes, target, 400, bytes.length)); bytes 283 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java private void assertReadFromReluctantStream(byte[] bytes, int chunkSize) bytes 285 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString b = ByteString.readFrom(new ReluctantStream(bytes), chunkSize); bytes 287 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java isArray(b.toByteArray(), bytes)); bytes 301 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java private void assertReadFrom(byte[] bytes) throws IOException { bytes 303 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString.readFrom(new ByteArrayInputStream(bytes)); bytes 305 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java isArray(byteString.toByteArray(), bytes)); bytes 409 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java byte[] bytes = getTestBytes(); bytes 410 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString.Output output = ByteString.newOutput(bytes.length + 100); bytes 411 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java output.write(bytes); bytes 415 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java isArrayRange(bytes, byteString.toByteArray(), 0, bytes.length)); bytes 421 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java byte[] bytes = getTestBytes(); bytes 422 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java int length = bytes.length; bytes 425 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java int[] writeSizes = {1, 4, 5, 7, 23, bytes.length}; bytes 432 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java output.write(bytes, i, Math.min(writeSize, length - i)); bytes 436 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java isArrayRange(bytes, byteString.toByteArray(), 0, bytes.length)); bytes 444 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java byte[] bytes = getTestBytes(); bytes 445 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java int length = bytes.length; bytes 451 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java for (byte byteValue : bytes) { bytes 456 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java isArrayRange(bytes, byteString.toByteArray(), 0, bytes.length)); bytes 464 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java byte[] bytes = getTestBytes(); bytes 465 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java int length = bytes.length; bytes 475 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java while (position < bytes.length) { bytes 477 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java int count = 1 + rng.nextInt(bytes.length - position); bytes 478 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java output.write(bytes, position, count); bytes 481 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java output.write(bytes[position]); bytes 487 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java bytes, 0, position)); bytes 491 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java isArrayRange(bytes, byteString.toByteArray(), 0, bytes.length)); bytes 516 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java byte[] bytes = getTestBytes(); bytes 517 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString.CodedBuilder builder = ByteString.newCodedBuilder(bytes.length); bytes 518 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java builder.getCodedOutput().writeRawBytes(bytes); bytes 521 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java isArrayRange(bytes, byteString.toByteArray(), 0, bytes.length)); bytes 665 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java byte[] bytes = getTestBytes(1000, 1234L); bytes 666 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString string = ByteString.copyFrom(bytes); bytes 667 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString prefix = ByteString.copyFrom(bytes, 0, 500); bytes 668 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString suffix = ByteString.copyFrom(bytes, 400, 600); bytes 55 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java byte[] bytes = new byte[bytesAsInts.length]; bytes 57 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java bytes[i] = (byte) bytesAsInts[i]; bytes 59 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java return bytes; bytes 157 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java assertReadVarint(bytes(0x00), 0); bytes 158 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java assertReadVarint(bytes(0x01), 1); bytes 159 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java assertReadVarint(bytes(0x7f), 127); bytes 161 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java assertReadVarint(bytes(0xa2, 0x74), (0x22 << 0) | (0x74 << 7)); bytes 163 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java assertReadVarint(bytes(0xbe, 0xf7, 0x92, 0x84, 0x0b), bytes 169 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java assertReadVarint(bytes(0xbe, 0xf7, 0x92, 0x84, 0x1b), bytes 174 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java bytes(0x80, 0xe6, 0xeb, 0x9c, 0xc3, 0xc9, 0xa4, 0x49), bytes 179 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java bytes(0x9b, 0xa8, 0xf9, 0xc2, 0xbb, 0xd6, 0x80, 0x85, 0xa6, 0x01), bytes 187 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java bytes(0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, bytes 191 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java bytes(0x80)); bytes 234 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java assertReadLittleEndian32(bytes(0x78, 0x56, 0x34, 0x12), 0x12345678); bytes 235 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java assertReadLittleEndian32(bytes(0xf0, 0xde, 0xbc, 0x9a), 0x9abcdef0); bytes 238 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java bytes(0xf0, 0xde, 0xbc, 0x9a, 0x78, 0x56, 0x34, 0x12), bytes 241 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java bytes(0x78, 0x56, 0x34, 0x12, 0xf0, 0xde, 0xbc, 0x9a), bytes 503 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java byte[] bytes = bytes(0, 1, 2, 3, 4, 5, 6, 7, 8, 9); bytes 504 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java CodedInputStream in = CodedInputStream.newInstance(bytes, 3, 5); bytes 520 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java CodedInputStream.newInstance(bytes(i)).readTag(); bytes 56 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java byte[] bytes = new byte[bytesAsInts.length]; bytes 58 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java bytes[i] = (byte) bytesAsInts[i]; bytes 60 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java return bytes; bytes 64 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java private List<Byte> toList(byte[] bytes) { bytes 66 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java for (byte b : bytes) { bytes 131 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java assertWriteVarint(bytes(0x00), 0); bytes 132 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java assertWriteVarint(bytes(0x01), 1); bytes 133 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java assertWriteVarint(bytes(0x7f), 127); bytes 135 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java assertWriteVarint(bytes(0xa2, 0x74), (0x22 << 0) | (0x74 << 7)); bytes 137 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java assertWriteVarint(bytes(0xbe, 0xf7, 0x92, 0x84, 0x0b), bytes 143 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java assertWriteVarint(bytes(0xbe, 0xf7, 0x92, 0x84, 0x1b), bytes 148 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java bytes(0x80, 0xe6, 0xeb, 0x9c, 0xc3, 0xc9, 0xa4, 0x49), bytes 153 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java bytes(0x9b, 0xa8, 0xf9, 0xc2, 0xbb, 0xd6, 0x80, 0x85, 0xa6, 0x01), bytes 205 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java assertWriteLittleEndian32(bytes(0x78, 0x56, 0x34, 0x12), 0x12345678); bytes 206 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java assertWriteLittleEndian32(bytes(0xf0, 0xde, 0xbc, 0x9a), 0x9abcdef0); bytes 209 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java bytes(0xf0, 0xde, 0xbc, 0x9a, 0x78, 0x56, 0x34, 0x12), bytes 212 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java bytes(0x78, 0x56, 0x34, 0x12, 0xf0, 0xde, 0xbc, 0x9a), bytes 127 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java private byte[] toByteArray(int... bytes) { bytes 128 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java byte[] realBytes = new byte[bytes.length]; bytes 129 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java for (int i = 0; i < bytes.length; i++) { bytes 130 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java realBytes[i] = (byte) bytes[i]; bytes 135 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java private ByteString toByteString(int... bytes) { bytes 136 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java return ByteString.copyFrom(toByteArray(bytes)); bytes 139 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java private void assertValidUtf8(int[] bytes, boolean not) { bytes 140 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java byte[] realBytes = toByteArray(bytes); bytes 142 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java assertTrue(not ^ Utf8.isValidUtf8(realBytes, 0, bytes.length)); bytes 144 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java ByteString sub = lit.substring(0, bytes.length); bytes 159 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java private void assertValidUtf8(int... bytes) { bytes 160 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java assertValidUtf8(bytes, false); bytes 163 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java private void assertInvalidUtf8(int... bytes) { bytes 164 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java assertValidUtf8(bytes, true); bytes 208 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java byte[] bytes = new byte[numBytes]; bytes 218 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java bytes[bytes.length - i - 1] = (byte) tmpByteChar; bytes 221 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java ByteString bs = ByteString.copyFrom(bytes); bytes 223 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java String s = new String(bytes, "UTF-8"); bytes 225 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java boolean bytesEqual = Arrays.equals(bytes, bytesReencoded); bytes 228 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java outputFailure(byteChar, bytes, bytesReencoded); bytes 232 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java assertEquals(isRoundTrippable, Utf8.isValidUtf8(bytes)); bytes 233 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java assertEquals(isRoundTrippable, Utf8.isValidUtf8(bytes, 0, numBytes)); bytes 242 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java int state1 = Utf8.partialIsValidUtf8(Utf8.COMPLETE, bytes, 0, i); bytes 243 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java int state2 = Utf8.partialIsValidUtf8(state1, bytes, i, j); bytes 244 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java int state3 = Utf8.partialIsValidUtf8(state2, bytes, j, numBytes); bytes 248 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java outputFailure(byteChar, bytes, bytesReencoded); bytes 322 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java byte[] bytes = new byte[numBytes]; bytes 329 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java ByteBuffer bb = ByteBuffer.wrap(bytes); bytes 339 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java bb.limit(bytes.length); bytes 347 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java for (int i = 0; i < bytes.length; i++) { bytes 348 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java bytes[bytes.length - i - 1] = (byte) tmpByteChar; bytes 351 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java boolean isRoundTrippable = ByteString.copyFrom(bytes).isValidUtf8(); bytes 371 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java if (bytes[i] != bytesReencoded[i]) { bytes 378 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java outputFailure(byteChar, bytes, bytesReencoded, bytesLen); bytes 394 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java private static void outputFailure(long byteChar, byte[] bytes, byte[] after) { bytes 395 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java outputFailure(byteChar, bytes, after, after.length); bytes 398 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java private static void outputFailure(long byteChar, byte[] bytes, byte[] after, bytes 401 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java toHexString(bytes) + " => " + toHexString(after, len)); bytes 73 third_party/protobuf/java/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java ByteString bytes = tV2.toByteString(); bytes 74 third_party/protobuf/java/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java assertEquals(TEST_ALL_TYPES_SERIALIZED_WITH_ILLEGAL_UTF8, bytes); bytes 77 third_party/protobuf/java/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java bytes = tV2.toByteString(); bytes 78 third_party/protobuf/java/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java assertEquals(TEST_ALL_TYPES_SERIALIZED_WITH_ILLEGAL_UTF8, bytes); bytes 236 third_party/protobuf/java/src/test/java/com/google/protobuf/TextFormatTest.java byte[] bytes = new byte[bytesAsInts.length]; bytes 238 third_party/protobuf/java/src/test/java/com/google/protobuf/TextFormatTest.java bytes[i] = (byte) bytesAsInts[i]; bytes 240 third_party/protobuf/java/src/test/java/com/google/protobuf/TextFormatTest.java return ByteString.copyFrom(bytes); bytes 276 third_party/protobuf/java/src/test/java/com/google/protobuf/TextFormatTest.java .addRepeatedBytes(bytes("\0\001\007\b\f\n\r\t\013\\\'\"\u00fe")) bytes 484 third_party/protobuf/java/src/test/java/com/google/protobuf/TextFormatTest.java TextFormat.escapeBytes(bytes("\0\001\007\b\f\n\r\t\013\\\'\""))); bytes 487 third_party/protobuf/java/src/test/java/com/google/protobuf/TextFormatTest.java assertEquals(bytes("\0\001\007\b\f\n\r\t\013\\\'\""), bytes 499 third_party/protobuf/java/src/test/java/com/google/protobuf/TextFormatTest.java TextFormat.escapeBytes(bytes(0xe1, 0x88, 0xb4))); bytes 501 third_party/protobuf/java/src/test/java/com/google/protobuf/TextFormatTest.java assertEquals(bytes(0xe1, 0x88, 0xb4), bytes 504 third_party/protobuf/java/src/test/java/com/google/protobuf/TextFormatTest.java assertEquals(bytes(0xe1, 0x88, 0xb4), bytes 772 third_party/protobuf/java/src/test/java/com/google/protobuf/TextFormatTest.java .setOptionalBytes(bytes(0xe3, 0x81, 0x82)) bytes 783 third_party/protobuf/java/src/test/java/com/google/protobuf/TextFormatTest.java .addLengthDelimited(bytes(0xe3, 0x81, 0x82)).build()) bytes 272 third_party/protobuf/src/google/protobuf/io/coded_stream.cc uint8 bytes[sizeof(*value)]; bytes 281 third_party/protobuf/src/google/protobuf/io/coded_stream.cc if (!ReadRaw(bytes, sizeof(*value))) return false; bytes 282 third_party/protobuf/src/google/protobuf/io/coded_stream.cc ptr = bytes; bytes 289 third_party/protobuf/src/google/protobuf/io/coded_stream.cc uint8 bytes[sizeof(*value)]; bytes 298 third_party/protobuf/src/google/protobuf/io/coded_stream.cc if (!ReadRaw(bytes, sizeof(*value))) return false; bytes 299 third_party/protobuf/src/google/protobuf/io/coded_stream.cc ptr = bytes; bytes 613 third_party/protobuf/src/google/protobuf/io/coded_stream.cc uint8 bytes[sizeof(value)]; bytes 616 third_party/protobuf/src/google/protobuf/io/coded_stream.cc uint8* ptr = use_fast ? buffer_ : bytes; bytes 623 third_party/protobuf/src/google/protobuf/io/coded_stream.cc WriteRaw(bytes, sizeof(value)); bytes 628 third_party/protobuf/src/google/protobuf/io/coded_stream.cc uint8 bytes[sizeof(value)]; bytes 631 third_party/protobuf/src/google/protobuf/io/coded_stream.cc uint8* ptr = use_fast ? buffer_ : bytes; bytes 638 third_party/protobuf/src/google/protobuf/io/coded_stream.cc WriteRaw(bytes, sizeof(value)); bytes 683 third_party/protobuf/src/google/protobuf/io/coded_stream.cc uint8 bytes[kMaxVarint32Bytes]; bytes 686 third_party/protobuf/src/google/protobuf/io/coded_stream.cc bytes[size++] = (static_cast<uint8>(value) & 0x7F) | 0x80; bytes 689 third_party/protobuf/src/google/protobuf/io/coded_stream.cc bytes[size++] = static_cast<uint8>(value) & 0x7F; bytes 690 third_party/protobuf/src/google/protobuf/io/coded_stream.cc WriteRaw(bytes, size); bytes 783 third_party/protobuf/src/google/protobuf/io/coded_stream.cc uint8 bytes[kMaxVarintBytes]; bytes 786 third_party/protobuf/src/google/protobuf/io/coded_stream.cc bytes[size++] = (static_cast<uint8>(value) & 0x7F) | 0x80; bytes 789 third_party/protobuf/src/google/protobuf/io/coded_stream.cc bytes[size++] = static_cast<uint8>(value) & 0x7F; bytes 790 third_party/protobuf/src/google/protobuf/io/coded_stream.cc WriteRaw(bytes, size); bytes 151 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc uint8 bytes[10]; // Encoded bytes. bytes 186 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size); bytes 201 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size); bytes 248 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc memcpy(buffer_ + 1, kVarintCases_case.bytes, kVarintCases_case.size); bytes 279 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size); bytes 297 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size); bytes 330 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc memcmp(buffer_, kVarintCases_case.bytes, kVarintCases_case.size)); bytes 347 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc memcmp(buffer_, kVarintCases_case.bytes, kVarintCases_case.size)); bytes 403 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc uint8 bytes[12]; bytes 432 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc memcpy(buffer_, kVarintErrorCases_case.bytes, kVarintErrorCases_case.size); bytes 442 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc memcpy(buffer_, kVarintErrorCases_case.bytes, kVarintErrorCases_case.size); bytes 494 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc uint8 bytes[sizeof(uint32)]; // Encoded bytes. bytes 499 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc uint8 bytes[sizeof(uint64)]; // Encoded bytes. bytes 522 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc memcpy(buffer_, kFixed32Cases_case.bytes, sizeof(kFixed32Cases_case.bytes)); bytes 537 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc memcpy(buffer_, kFixed64Cases_case.bytes, sizeof(kFixed64Cases_case.bytes)); bytes 564 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc EXPECT_EQ(0, memcmp(buffer_, kFixed32Cases_case.bytes, sizeof(uint32))); bytes 580 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc EXPECT_EQ(0, memcmp(buffer_, kFixed64Cases_case.bytes, sizeof(uint64))); bytes 586 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc memcpy(buffer_, kFixed32Cases_case.bytes, sizeof(kFixed32Cases_case.bytes)); bytes 596 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc memcpy(buffer_, kFixed64Cases_case.bytes, sizeof(kFixed64Cases_case.bytes)); bytes 243 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc int bytes; bytes 245 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc bytes = write(file_, buffer_base + total_written, size - total_written); bytes 246 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc } while (bytes < 0 && errno == EINTR); bytes 248 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc if (bytes <= 0) { bytes 259 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc if (bytes < 0) { bytes 264 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc total_written += bytes; bytes 195 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc int bytes = Read(junk, min(count - skipped, bytes 197 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc if (bytes <= 0) { bytes 201 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc skipped += bytes; bytes 694 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc string MakeInvalidEmbeddedMessage(const char* bytes, int size) { bytes 706 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc WireFormatLite::WriteBytes(field->number(), string(bytes, size), &output); bytes 715 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc string MakeInvalidGroup(const char* bytes, int size, bool include_end_tag) { bytes 728 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc output.WriteString(string(bytes, size)); bytes 1119 third_party/re2/re2/testing/re2_test.cc int bytes = 15 * 1024; // enough to crash PCRE bytes 1120 third_party/re2/re2/testing/re2_test.cc TestRecursion(bytes, "."); bytes 1121 third_party/re2/re2/testing/re2_test.cc TestRecursion(bytes, "a"); bytes 1122 third_party/re2/re2/testing/re2_test.cc TestRecursion(bytes, "a."); bytes 1123 third_party/re2/re2/testing/re2_test.cc TestRecursion(bytes, "ab."); bytes 1124 third_party/re2/re2/testing/re2_test.cc TestRecursion(bytes, "abc."); bytes 34 third_party/re2/util/benchmark.cc static int64 bytes; bytes 40 third_party/re2/util/benchmark.cc bytes = x; bytes 67 third_party/re2/util/benchmark.cc bytes = 0; bytes 121 third_party/re2/util/benchmark.cc if(ns > 0 && bytes > 0) bytes 122 third_party/re2/util/benchmark.cc snprintf(mb, sizeof mb, "\t%7.2f MB/s", ((double)bytes/1e6)/((double)ns/1e9)); bytes 757 third_party/sqlite/src/src/tclsqlite.c int bytes = sqlite3_value_bytes(pIn); bytes 758 third_party/sqlite/src/src/tclsqlite.c pVal = Tcl_NewByteArrayObj(sqlite3_value_blob(pIn), bytes); bytes 780 third_party/sqlite/src/src/tclsqlite.c int bytes = sqlite3_value_bytes(pIn); bytes 781 third_party/sqlite/src/src/tclsqlite.c pVal = Tcl_NewStringObj((char *)sqlite3_value_text(pIn), bytes); bytes 810 third_party/sqlite/src/src/tclsqlite.c if( c=='b' && strcmp(zType,"bytearray")==0 && pVar->bytes==0 ){ bytes 1146 third_party/sqlite/src/src/tclsqlite.c (c=='b' && strcmp(zType,"bytearray")==0 && pVar->bytes==0) ){ bytes 1436 third_party/sqlite/src/src/tclsqlite.c int bytes = sqlite3_column_bytes(pStmt, iCol); bytes 1438 third_party/sqlite/src/src/tclsqlite.c if( !zBlob ) bytes = 0; bytes 1439 third_party/sqlite/src/src/tclsqlite.c return Tcl_NewByteArrayObj((u8*)zBlob, bytes); bytes 3164 third_party/sqlite/src/src/test1.c int bytes; bytes 3176 third_party/sqlite/src/src/test1.c value = (char*)Tcl_GetByteArrayFromObj(objv[3], &bytes); bytes 3177 third_party/sqlite/src/src/test1.c if( Tcl_GetIntFromObj(interp, objv[4], &bytes) ) return TCL_ERROR; bytes 3179 third_party/sqlite/src/src/test1.c rc = sqlite3_bind_text(pStmt, idx, value, bytes, SQLITE_TRANSIENT); bytes 3206 third_party/sqlite/src/src/test1.c int bytes; bytes 3225 third_party/sqlite/src/src/test1.c if( Tcl_GetIntFromObj(interp, oBytes, &bytes) ) return TCL_ERROR; bytes 3227 third_party/sqlite/src/src/test1.c rc = sqlite3_bind_text16(pStmt, idx, (void *)value, bytes, xDel); bytes 3253 third_party/sqlite/src/src/test1.c int bytes; bytes 3272 third_party/sqlite/src/src/test1.c if( Tcl_GetIntFromObj(interp, objv[4], &bytes) ) return TCL_ERROR; bytes 3274 third_party/sqlite/src/src/test1.c rc = sqlite3_bind_blob(pStmt, idx, value, bytes, xDestructor); bytes 3501 third_party/sqlite/src/src/test1.c int bytes = 0; bytes 3513 third_party/sqlite/src/src/test1.c for(bytes=0; z[bytes] || z[bytes+1]; bytes+=2){} bytes 3515 third_party/sqlite/src/src/test1.c Tcl_SetObjResult(interp, Tcl_NewByteArrayObj(zErr, bytes)); bytes 3536 third_party/sqlite/src/src/test1.c int bytes; bytes 3549 third_party/sqlite/src/src/test1.c if( Tcl_GetIntFromObj(interp, objv[3], &bytes) ) return TCL_ERROR; bytes 3551 third_party/sqlite/src/src/test1.c rc = sqlite3_prepare(db, zSql, bytes, &pStmt, objc>=5 ? &zTail : 0); bytes 3555 third_party/sqlite/src/src/test1.c if( bytes>=0 ){ bytes 3556 third_party/sqlite/src/src/test1.c bytes = bytes - (zTail-zSql); bytes 3558 third_party/sqlite/src/src/test1.c if( strlen(zTail)<bytes ){ bytes 3559 third_party/sqlite/src/src/test1.c bytes = strlen(zTail); bytes 3561 third_party/sqlite/src/src/test1.c Tcl_ObjSetVar2(interp, objv[4], 0, Tcl_NewStringObj(zTail, bytes), 0); bytes 3593 third_party/sqlite/src/src/test1.c int bytes; bytes 3606 third_party/sqlite/src/src/test1.c if( Tcl_GetIntFromObj(interp, objv[3], &bytes) ) return TCL_ERROR; bytes 3608 third_party/sqlite/src/src/test1.c rc = sqlite3_prepare_v2(db, zSql, bytes, &pStmt, objc>=5 ? &zTail : 0); bytes 3613 third_party/sqlite/src/src/test1.c if( bytes>=0 ){ bytes 3614 third_party/sqlite/src/src/test1.c bytes = bytes - (zTail-zSql); bytes 3616 third_party/sqlite/src/src/test1.c Tcl_ObjSetVar2(interp, objv[4], 0, Tcl_NewStringObj(zTail, bytes), 0); bytes 3695 third_party/sqlite/src/src/test1.c int bytes; /* The integer specified as arg 3 */ bytes 3705 third_party/sqlite/src/src/test1.c if( Tcl_GetIntFromObj(interp, objv[3], &bytes) ) return TCL_ERROR; bytes 3707 third_party/sqlite/src/src/test1.c rc = sqlite3_prepare16(db, zSql, bytes, &pStmt, objc>=5 ? &zTail : 0); bytes 3755 third_party/sqlite/src/src/test1.c int bytes; /* The integer specified as arg 3 */ bytes 3765 third_party/sqlite/src/src/test1.c if( Tcl_GetIntFromObj(interp, objv[3], &bytes) ) return TCL_ERROR; bytes 3767 third_party/sqlite/src/src/test1.c rc = sqlite3_prepare16_v2(db, zSql, bytes, &pStmt, objc>=5 ? &zTail : 0); bytes 36 third_party/sqlite/src/src/test5.c char *bytes; bytes 40 third_party/sqlite/src/src/test5.c bytes = Tcl_GetStringFromObj(objv[1], &len); bytes 41 third_party/sqlite/src/src/test5.c pRet = Tcl_NewByteArrayObj((u8*)bytes, len+1); bytes 563 third_party/sqlite/src/src/test_thread.c int bytes; bytes 577 third_party/sqlite/src/src/test_thread.c if( Tcl_GetIntFromObj(interp, objv[3], &bytes) ) return TCL_ERROR; bytes 580 third_party/sqlite/src/src/test_thread.c rc = sqlite3_blocking_prepare_v2(db, zSql, bytes, &pStmt, &zTail); bytes 582 third_party/sqlite/src/src/test_thread.c rc = sqlite3_prepare_v2(db, zSql, bytes, &pStmt, &zTail); bytes 587 third_party/sqlite/src/src/test_thread.c if( bytes>=0 ){ bytes 588 third_party/sqlite/src/src/test_thread.c bytes = bytes - (zTail-zSql); bytes 590 third_party/sqlite/src/src/test_thread.c Tcl_ObjSetVar2(interp, objv[4], 0, Tcl_NewStringObj(zTail, bytes), 0); bytes 64 third_party/tcmalloc/chromium/src/central_freelist.cc int32_t bytes = Static::sizemap()->ByteSizeForClass(cl); bytes 67 third_party/tcmalloc/chromium/src/central_freelist.cc ASSERT(objs_to_move > 0 && bytes > 0); bytes 74 third_party/tcmalloc/chromium/src/central_freelist.cc (max)(1, (1024 * 1024) / (bytes * objs_to_move))); bytes 198 third_party/tcmalloc/chromium/src/common.cc void* MetaDataAlloc(size_t bytes) { bytes 205 third_party/tcmalloc/chromium/src/common.cc void* result = TCMalloc_SystemAlloc(bytes, NULL, pagesize); bytes 207 third_party/tcmalloc/chromium/src/common.cc metadata_system_bytes_ += bytes; bytes 142 third_party/tcmalloc/chromium/src/common.h inline Length pages(size_t bytes) { bytes 143 third_party/tcmalloc/chromium/src/common.h return (bytes >> kPageShift) + bytes 144 third_party/tcmalloc/chromium/src/common.h ((bytes & (kPageSize - 1)) > 0 ? 1 : 0); bytes 246 third_party/tcmalloc/chromium/src/common.h void* MetaDataAlloc(size_t bytes); bytes 195 third_party/tcmalloc/chromium/src/deep-heap-profile.cc size_t bytes = page_size; bytes 199 third_party/tcmalloc/chromium/src/deep-heap-profile.cc bytes = last_address - page_address + 1; bytes 204 third_party/tcmalloc/chromium/src/deep-heap-profile.cc bytes -= first_address - page_address; bytes 207 third_party/tcmalloc/chromium/src/deep-heap-profile.cc committed_size += bytes; bytes 610 third_party/tcmalloc/chromium/src/deep-heap-profile.cc const int bytes = table_size * sizeof(DeepBucket*); bytes 611 third_party/tcmalloc/chromium/src/deep-heap-profile.cc table_ = reinterpret_cast<DeepBucket**>(alloc(bytes)); bytes 612 third_party/tcmalloc/chromium/src/deep-heap-profile.cc memset(table_, 0, bytes); bytes 1082 third_party/tcmalloc/chromium/src/deep-heap-profile.cc address, address + alloc_value->bytes - 1, NULL); bytes 1091 third_party/tcmalloc/chromium/src/deep-heap-profile.cc deep_profile->stats_.profiled_malloc_.AddToVirtualBytes(alloc_value->bytes); bytes 216 third_party/tcmalloc/chromium/src/heap-profile-table.cc const void* ptr, size_t bytes, int stack_depth, bytes 220 third_party/tcmalloc/chromium/src/heap-profile-table.cc b->alloc_size += bytes; bytes 222 third_party/tcmalloc/chromium/src/heap-profile-table.cc total_.alloc_size += bytes; bytes 226 third_party/tcmalloc/chromium/src/heap-profile-table.cc v.bytes = bytes; bytes 235 third_party/tcmalloc/chromium/src/heap-profile-table.cc b->free_size += v.bytes; bytes 237 third_party/tcmalloc/chromium/src/heap-profile-table.cc total_.free_size += v.bytes; bytes 243 third_party/tcmalloc/chromium/src/heap-profile-table.cc if (alloc_value != NULL) *object_size = alloc_value->bytes; bytes 251 third_party/tcmalloc/chromium/src/heap-profile-table.cc info->object_size = alloc_value->bytes; bytes 264 third_party/tcmalloc/chromium/src/heap-profile-table.cc if (alloc_value != NULL) *object_size = alloc_value->bytes; bytes 468 third_party/tcmalloc/chromium/src/heap-profile-table.cc count->bytes += value->bytes; bytes 471 third_party/tcmalloc/chromium/src/heap-profile-table.cc type_size_map->Insert(key, TypeCount(value->bytes, 1)); bytes 483 third_party/tcmalloc/chromium/src/heap-profile-table.cc count->objects, count->bytes, bytes 502 third_party/tcmalloc/chromium/src/heap-profile-table.cc b.alloc_size = v->bytes; bytes 518 third_party/tcmalloc/chromium/src/heap-profile-table.cc b.alloc_size = v->bytes; bytes 645 third_party/tcmalloc/chromium/src/heap-profile-table.cc int bytes; bytes 647 third_party/tcmalloc/chromium/src/heap-profile-table.cc Entry() : count(0), bytes(0) { } bytes 651 third_party/tcmalloc/chromium/src/heap-profile-table.cc return this->bytes > x.bytes; bytes 668 third_party/tcmalloc/chromium/src/heap-profile-table.cc e->bytes += v->bytes; bytes 721 third_party/tcmalloc/chromium/src/heap-profile-table.cc e.bytes, e.count); bytes 748 third_party/tcmalloc/chromium/src/heap-profile-table.cc RAW_LOG(ERROR, "leaked %" PRIuS " byte object %p", v->bytes, ptr); bytes 115 third_party/tcmalloc/chromium/src/heap-profile-table.h void RecordAlloc(const void* ptr, size_t bytes, bytes 247 third_party/tcmalloc/chromium/src/heap-profile-table.h size_t bytes; // Number of bytes in this allocation bytes 278 third_party/tcmalloc/chromium/src/heap-profile-table.h static size_t AllocValueSize(const AllocValue& v) { return v.bytes; } bytes 334 third_party/tcmalloc/chromium/src/heap-profile-table.h : bytes(bytes_arg), bytes 338 third_party/tcmalloc/chromium/src/heap-profile-table.h size_t bytes; bytes 380 third_party/tcmalloc/chromium/src/heap-profile-table.h info.object_size = v->bytes; bytes 513 third_party/tcmalloc/chromium/src/heap-profile-table.h total_.alloc_size += v.bytes; bytes 189 third_party/tcmalloc/chromium/src/heap-profiler.cc static void* ProfilerMalloc(size_t bytes) { bytes 190 third_party/tcmalloc/chromium/src/heap-profiler.cc return LowLevelAlloc::AllocWithArena(bytes, heap_profiler_memory); bytes 379 third_party/tcmalloc/chromium/src/heap-profiler.cc static void RecordAlloc(const void* ptr, size_t bytes, int skip_count) { bytes 385 third_party/tcmalloc/chromium/src/heap-profiler.cc heap_profile->RecordAlloc(ptr, bytes, depth, stack); bytes 326 third_party/tcmalloc/chromium/src/profiledata.cc size_t bytes = sizeof(evict_[0]) * num_evicted_; bytes 327 third_party/tcmalloc/chromium/src/profiledata.cc total_bytes_ += bytes; bytes 328 third_party/tcmalloc/chromium/src/profiledata.cc FDWrite(out_, buf, bytes); bytes 60 third_party/tcmalloc/chromium/src/system-alloc.h extern void* TCMalloc_SystemAlloc(size_t bytes, size_t *actual_bytes, bytes 856 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc size_t bytes; bytes 858 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc "tcmalloc.pageheap_unmapped_bytes", &bytes)); bytes 859 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc return bytes; bytes 53 third_party/tcmalloc/chromium/src/type_profiler_map.cc void* TypeProfilerMalloc(size_t bytes) { bytes 54 third_party/tcmalloc/chromium/src/type_profiler_map.cc return LowLevelAlloc::AllocWithArena(bytes, g_type_profiler_map_memory); bytes 64 third_party/tcmalloc/vendor/src/central_freelist.cc int32_t bytes = Static::sizemap()->ByteSizeForClass(cl); bytes 67 third_party/tcmalloc/vendor/src/central_freelist.cc ASSERT(objs_to_move > 0 && bytes > 0); bytes 74 third_party/tcmalloc/vendor/src/central_freelist.cc (max)(1, (1024 * 1024) / (bytes * objs_to_move))); bytes 192 third_party/tcmalloc/vendor/src/common.cc void* MetaDataAlloc(size_t bytes) { bytes 193 third_party/tcmalloc/vendor/src/common.cc void* result = TCMalloc_SystemAlloc(bytes, NULL); bytes 195 third_party/tcmalloc/vendor/src/common.cc metadata_system_bytes_ += bytes; bytes 125 third_party/tcmalloc/vendor/src/common.h inline Length pages(size_t bytes) { bytes 126 third_party/tcmalloc/vendor/src/common.h return (bytes >> kPageShift) + bytes 127 third_party/tcmalloc/vendor/src/common.h ((bytes & (kPageSize - 1)) > 0 ? 1 : 0); bytes 229 third_party/tcmalloc/vendor/src/common.h void* MetaDataAlloc(size_t bytes); bytes 225 third_party/tcmalloc/vendor/src/heap-profile-table.cc const void* ptr, size_t bytes, int stack_depth, bytes 230 third_party/tcmalloc/vendor/src/heap-profile-table.cc b->alloc_size += bytes; bytes 232 third_party/tcmalloc/vendor/src/heap-profile-table.cc total_.alloc_size += bytes; bytes 236 third_party/tcmalloc/vendor/src/heap-profile-table.cc v.bytes = bytes; bytes 245 third_party/tcmalloc/vendor/src/heap-profile-table.cc b->free_size += v.bytes; bytes 247 third_party/tcmalloc/vendor/src/heap-profile-table.cc total_.free_size += v.bytes; bytes 253 third_party/tcmalloc/vendor/src/heap-profile-table.cc if (alloc_value != NULL) *object_size = alloc_value->bytes; bytes 261 third_party/tcmalloc/vendor/src/heap-profile-table.cc info->object_size = alloc_value->bytes; bytes 274 third_party/tcmalloc/vendor/src/heap-profile-table.cc if (alloc_value != NULL) *object_size = alloc_value->bytes; bytes 385 third_party/tcmalloc/vendor/src/heap-profile-table.cc v.bytes = r->end_addr - r->start_addr; bytes 469 third_party/tcmalloc/vendor/src/heap-profile-table.cc b.alloc_size = v->bytes; bytes 587 third_party/tcmalloc/vendor/src/heap-profile-table.cc int bytes; bytes 589 third_party/tcmalloc/vendor/src/heap-profile-table.cc Entry() : count(0), bytes(0) { } bytes 593 third_party/tcmalloc/vendor/src/heap-profile-table.cc return this->bytes > x.bytes; bytes 610 third_party/tcmalloc/vendor/src/heap-profile-table.cc e->bytes += v->bytes; bytes 663 third_party/tcmalloc/vendor/src/heap-profile-table.cc e.bytes, e.count); bytes 690 third_party/tcmalloc/vendor/src/heap-profile-table.cc RAW_LOG(ERROR, "leaked %"PRIuS" byte object %p", v->bytes, ptr); bytes 112 third_party/tcmalloc/vendor/src/heap-profile-table.h void RecordAlloc(const void* ptr, size_t bytes, bytes 221 third_party/tcmalloc/vendor/src/heap-profile-table.h size_t bytes; // Number of bytes in this allocation bytes 246 third_party/tcmalloc/vendor/src/heap-profile-table.h static size_t AllocValueSize(const AllocValue& v) { return v.bytes; } bytes 295 third_party/tcmalloc/vendor/src/heap-profile-table.h info.object_size = v->bytes; bytes 410 third_party/tcmalloc/vendor/src/heap-profile-table.h total_.alloc_size += v.bytes; bytes 140 third_party/tcmalloc/vendor/src/heap-profiler.cc static void* ProfilerMalloc(size_t bytes) { bytes 141 third_party/tcmalloc/vendor/src/heap-profiler.cc return LowLevelAlloc::AllocWithArena(bytes, heap_profiler_memory); bytes 300 third_party/tcmalloc/vendor/src/heap-profiler.cc static void RecordAlloc(const void* ptr, size_t bytes, int skip_count) { bytes 306 third_party/tcmalloc/vendor/src/heap-profiler.cc heap_profile->RecordAlloc(ptr, bytes, depth, stack); bytes 326 third_party/tcmalloc/vendor/src/profiledata.cc size_t bytes = sizeof(evict_[0]) * num_evicted_; bytes 327 third_party/tcmalloc/vendor/src/profiledata.cc total_bytes_ += bytes; bytes 328 third_party/tcmalloc/vendor/src/profiledata.cc FDWrite(out_, buf, bytes); bytes 60 third_party/tcmalloc/vendor/src/system-alloc.h extern void* TCMalloc_SystemAlloc(size_t bytes, size_t *actual_bytes, bytes 856 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc size_t bytes; bytes 858 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc "tcmalloc.pageheap_unmapped_bytes", &bytes)); bytes 859 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc return bytes; bytes 31 third_party/tlslite/tlslite/utils/entropy.c unsigned char* bytes = NULL; bytes 63 third_party/tlslite/tlslite/utils/entropy.c if ((bytes = (unsigned char*)PyMem_Malloc(howMany)) == NULL) bytes 72 third_party/tlslite/tlslite/utils/entropy.c PyMem_Free(bytes); bytes 77 third_party/tlslite/tlslite/utils/entropy.c if(!pCryptGenRandom(hCryptProv, howMany, bytes)) { bytes 80 third_party/tlslite/tlslite/utils/entropy.c PyMem_Free(bytes); bytes 86 third_party/tlslite/tlslite/utils/entropy.c returnVal = Py_BuildValue("s#", bytes, howMany); bytes 87 third_party/tlslite/tlslite/utils/entropy.c PyMem_Free(bytes); bytes 108 third_party/tlslite/tlslite/utils/entropy.c unsigned char* bytes = NULL; bytes 117 third_party/tlslite/tlslite/utils/entropy.c if ((bytes = (unsigned char*)PyMem_Malloc(howMany)) == NULL) bytes 124 third_party/tlslite/tlslite/utils/entropy.c PyMem_Free(bytes); bytes 129 third_party/tlslite/tlslite/utils/entropy.c if (read(fd, bytes, howMany) < howMany) { bytes 132 third_party/tlslite/tlslite/utils/entropy.c PyMem_Free(bytes); bytes 138 third_party/tlslite/tlslite/utils/entropy.c returnVal = Py_BuildValue("s#", bytes, howMany); bytes 139 third_party/tlslite/tlslite/utils/entropy.c PyMem_Free(bytes); bytes 11 third_party/tlslite/tlslite/utils/win32prng.c unsigned char* bytes = NULL; bytes 30 third_party/tlslite/tlslite/utils/win32prng.c bytes = malloc(howMany); bytes 37 third_party/tlslite/tlslite/utils/win32prng.c bytes) == 0) bytes 40 third_party/tlslite/tlslite/utils/win32prng.c returnVal = Py_BuildValue("s#", bytes, howMany); bytes 42 third_party/tlslite/tlslite/utils/win32prng.c free(bytes); bytes 226 tools/android/forwarder/forwarder.cc int bytes = buffer1.Read(socket1); bytes 227 tools/android/forwarder/forwarder.cc if (bytes <= 0) bytes 229 tools/android/forwarder/forwarder.cc info->socket1_bytes += bytes; bytes 233 tools/android/forwarder/forwarder.cc int bytes = buffer2.Read(socket2); bytes 234 tools/android/forwarder/forwarder.cc if (bytes <= 0) bytes 236 tools/android/forwarder/forwarder.cc info->socket2_bytes += bytes; bytes 170 tools/android/memdump/memdump.cc ssize_t bytes = read(fd, value, sizeof(*value)); bytes 171 tools/android/memdump/memdump.cc if (bytes != sizeof(*value) && bytes != 0) { bytes 215 tools/android/memdump/memdump.cc ssize_t bytes = read(pagemap_fd, &page_map_entry, sizeof(page_map_entry)); bytes 216 tools/android/memdump/memdump.cc if (bytes != sizeof(PageMapEntry) && bytes != 0) { bytes 331 tools/traceline/traceline/assembler.h void emit_bytes(const char* bytes, size_t size) { bytes 333 tools/traceline/traceline/assembler.h emit(bytes[i]); bytes 336 tools/traceline/traceline/assembler.h void emit_bytes(const std::string& bytes) { bytes 337 tools/traceline/traceline/assembler.h emit_bytes(bytes.data(), bytes.size()); bytes 890 ui/aura/window_tree_host_x11.cc unsigned long old_nvalues, bytes; bytes 894 ui/aura/window_tree_host_x11.cc &old_nvalues, &bytes, &data); bytes 790 ui/base/clipboard/clipboard_aurax11.cc std::vector<unsigned char> bytes(data_data, data_data + data_len); bytes 792 ui/base/clipboard/clipboard_aurax11.cc base::RefCountedBytes::TakeVector(&bytes)); bytes 202 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc std::vector<unsigned char> bytes; bytes 203 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc bytes.insert(bytes.end(), data, data + pickle.size()); bytes 205 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc base::RefCountedBytes::TakeVector(&bytes)); bytes 444 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc std::vector<unsigned char> bytes; bytes 447 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc bytes.push_back(0xFF); bytes 448 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc bytes.push_back(0xFE); bytes 449 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc ui::AddString16ToVector(html, &bytes); bytes 451 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc base::RefCountedBytes::TakeVector(&bytes)); bytes 38 ui/base/dragdrop/os_exchange_data_provider_win.cc static STGMEDIUM* GetStorageForBytes(const void* data, size_t bytes); bytes 882 ui/base/dragdrop/os_exchange_data_provider_win.cc static STGMEDIUM* GetStorageForBytes(const void* data, size_t bytes) { bytes 883 ui/base/dragdrop/os_exchange_data_provider_win.cc HANDLE handle = GlobalAlloc(GPTR, static_cast<int>(bytes)); bytes 886 ui/base/dragdrop/os_exchange_data_provider_win.cc memcpy(scoped.get(), data, bytes); bytes 404 ui/base/resource/resource_bundle.cc base::RefCountedStaticMemory* bytes = NULL; bytes 406 ui/base/resource/resource_bundle.cc bytes = delegate_->LoadDataResourceBytes(resource_id, scale_factor); bytes 408 ui/base/resource/resource_bundle.cc if (!bytes) { bytes 412 ui/base/resource/resource_bundle.cc bytes = new base::RefCountedStaticMemory(data.data(), data.length()); bytes 416 ui/base/resource/resource_bundle.cc return bytes; bytes 37 ui/base/text/bytes_formatting.cc base::string16 FormatBytesInternal(int64 bytes, bytes 42 ui/base/text/bytes_formatting.cc if (bytes < 0) { bytes 48 ui/base/text/bytes_formatting.cc double unit_amount = static_cast<double>(bytes); bytes 53 ui/base/text/bytes_formatting.cc if (bytes != 0 && units != DATA_UNITS_BYTE && unit_amount < 100) bytes 66 ui/base/text/bytes_formatting.cc DataUnits GetByteDisplayUnits(int64 bytes) { bytes 79 ui/base/text/bytes_formatting.cc if (bytes < 0) { bytes 86 ui/base/text/bytes_formatting.cc if (bytes >= kUnitThresholds[unit_index]) bytes 94 ui/base/text/bytes_formatting.cc base::string16 FormatBytesWithUnits(int64 bytes, bytes 97 ui/base/text/bytes_formatting.cc return FormatBytesInternal(bytes, units, show_units, kByteStrings); bytes 100 ui/base/text/bytes_formatting.cc base::string16 FormatSpeedWithUnits(int64 bytes, bytes 103 ui/base/text/bytes_formatting.cc return FormatBytesInternal(bytes, units, show_units, kSpeedStrings); bytes 106 ui/base/text/bytes_formatting.cc base::string16 FormatBytes(int64 bytes) { bytes 107 ui/base/text/bytes_formatting.cc return FormatBytesWithUnits(bytes, GetByteDisplayUnits(bytes), true); bytes 110 ui/base/text/bytes_formatting.cc base::string16 FormatSpeed(int64 bytes) { bytes 111 ui/base/text/bytes_formatting.cc return FormatSpeedWithUnits(bytes, GetByteDisplayUnits(bytes), true); bytes 19 ui/base/text/bytes_formatting.h UI_BASE_EXPORT base::string16 FormatBytes(int64 bytes); bytes 24 ui/base/text/bytes_formatting.h UI_BASE_EXPORT base::string16 FormatSpeed(int64 bytes); bytes 40 ui/base/text/bytes_formatting.h UI_BASE_EXPORT DataUnits GetByteDisplayUnits(int64 bytes); bytes 46 ui/base/text/bytes_formatting.h UI_BASE_EXPORT base::string16 FormatBytesWithUnits(int64 bytes, bytes 53 ui/base/text/bytes_formatting.h base::string16 FormatSpeedWithUnits(int64 bytes, bytes 13 ui/base/text/bytes_formatting_unittest.cc int64 bytes; bytes 29 ui/base/text/bytes_formatting_unittest.cc EXPECT_EQ(cases[i].expected, GetByteDisplayUnits(cases[i].bytes)); bytes 34 ui/base/text/bytes_formatting_unittest.cc int64 bytes; bytes 73 ui/base/text/bytes_formatting_unittest.cc FormatBytesWithUnits(cases[i].bytes, cases[i].units, false)); bytes 75 ui/base/text/bytes_formatting_unittest.cc FormatBytesWithUnits(cases[i].bytes, cases[i].units, true)); bytes 72 ui/base/x/selection_utils.cc std::vector<unsigned char>* bytes) { bytes 75 ui/base/x/selection_utils.cc bytes->insert(bytes->end(), front, front + (str.size() * 2)); bytes 47 ui/base/x/selection_utils.h std::vector<unsigned char>* bytes); bytes 747 ui/base/x/x11_util.cc size_t bytes = 0; bytes 753 ui/base/x/x11_util.cc bytes = nitems; bytes 756 ui/base/x/x11_util.cc bytes = sizeof(short) * nitems; bytes 759 ui/base/x/x11_util.cc bytes = sizeof(long) * nitems; bytes 767 ui/base/x/x11_util.cc *out_data_bytes = bytes; bytes 770 ui/base/x/x11_util.cc *out_data = new XRefcountedMemory(property_data, bytes); bytes 72 ui/gfx/image/image_unittest_util.cc scoped_refptr<base::RefCountedBytes> bytes(new base::RefCountedBytes()); bytes 73 ui/gfx/image/image_unittest_util.cc PNGCodec::EncodeBGRASkBitmap(bitmap, false, &bytes->data()); bytes 74 ui/gfx/image/image_unittest_util.cc return bytes; bytes 128 ui/gfx/image/image_unittest_util.cc bool IsEqual(const scoped_refptr<base::RefCountedMemory>& bytes, bytes 131 ui/gfx/image/image_unittest_util.cc if (!bytes.get() || bytes 132 ui/gfx/image/image_unittest_util.cc !PNGCodec::Decode(bytes->front(), bytes->size(), &decoded)) { bytes 49 ui/gfx/image/image_unittest_util.h bool IsEqual(const scoped_refptr<base::RefCountedMemory>& bytes, bytes 76 ui/gl/gl_context.cc bool GLContext::GetTotalGpuMemory(size_t* bytes) { bytes 77 ui/gl/gl_context.cc DCHECK(bytes); bytes 78 ui/gl/gl_context.cc *bytes = 0; bytes 87 ui/gl/gl_context.h virtual bool GetTotalGpuMemory(size_t* bytes); bytes 100 ui/gl/gl_context_android.cc bool GLContextEGL::GetTotalGpuMemory(size_t* bytes) { bytes 101 ui/gl/gl_context_android.cc DCHECK(bytes); bytes 102 ui/gl/gl_context_android.cc *bytes = 0; bytes 150 ui/gl/gl_context_android.cc *bytes = limit_bytes; bytes 239 ui/gl/gl_context_cgl.cc bool GLContextCGL::GetTotalGpuMemory(size_t* bytes) { bytes 240 ui/gl/gl_context_cgl.cc DCHECK(bytes); bytes 241 ui/gl/gl_context_cgl.cc *bytes = 0; bytes 285 ui/gl/gl_context_cgl.cc *bytes = video_memory; bytes 30 ui/gl/gl_context_cgl.h virtual bool GetTotalGpuMemory(size_t* bytes) OVERRIDE; bytes 201 ui/gl/gl_context_egl.cc bool GLContextEGL::GetTotalGpuMemory(size_t* bytes) { bytes 202 ui/gl/gl_context_egl.cc DCHECK(bytes); bytes 203 ui/gl/gl_context_egl.cc *bytes = 0; bytes 37 ui/gl/gl_context_egl.h virtual bool GetTotalGpuMemory(size_t* bytes) OVERRIDE; bytes 196 ui/gl/gl_context_glx.cc bool GLContextGLX::GetTotalGpuMemory(size_t* bytes) { bytes 197 ui/gl/gl_context_glx.cc DCHECK(bytes); bytes 198 ui/gl/gl_context_glx.cc *bytes = 0; bytes 202 ui/gl/gl_context_glx.cc *bytes = 1024*kbytes; bytes 36 ui/gl/gl_context_glx.h virtual bool GetTotalGpuMemory(size_t* bytes) OVERRIDE; bytes 62 url/url_canon_unittest.cc std::string BytesToHexString(unsigned char bytes[16], int length) { bytes 67 url/url_canon_unittest.cc result.push_back(url_canon::kHexCharLookup[(bytes[i] >> 4) & 0xf]); bytes 68 url/url_canon_unittest.cc result.push_back(url_canon::kHexCharLookup[bytes[i] & 0xf]); bytes 151 webkit/browser/blob/blob_storage_context.cc item.bytes(), bytes 251 webkit/browser/blob/blob_storage_context.cc iter->bytes() + static_cast<size_t>(iter->offset() + offset), bytes 276 webkit/browser/blob/blob_storage_context.cc BlobData* target_blob_data, const char* bytes, int64 length) { bytes 283 webkit/browser/blob/blob_storage_context.cc target_blob_data->AppendData(bytes, static_cast<size_t>(length)); bytes 368 webkit/browser/blob/blob_url_request_job.cc item.bytes() + item.offset() + current_item_offset_, bytes 226 webkit/browser/fileapi/file_system_operation.h int64 bytes, bytes 530 webkit/browser/fileapi/file_system_operation_impl.cc int64 bytes, bytes 541 webkit/browser/fileapi/file_system_operation_impl.cc write_callback.Run(rv, bytes, complete); bytes 176 webkit/browser/fileapi/file_system_operation_impl.h int64 bytes, bytes 561 webkit/browser/fileapi/file_system_operation_runner.cc int64 bytes, bytes 567 webkit/browser/fileapi/file_system_operation_runner.cc handle, callback, rv, bytes, complete)); bytes 570 webkit/browser/fileapi/file_system_operation_runner.cc callback.Run(rv, bytes, complete); bytes 269 webkit/browser/fileapi/file_system_operation_runner.h int64 bytes, bytes 33 webkit/browser/fileapi/file_writer_delegate.h int64 bytes, bytes 36 webkit/common/data_element.h const char* bytes() const { return bytes_ ? bytes_ : &buf_[0]; } bytes 47 webkit/common/data_element.h void SetToBytes(const char* bytes, int bytes_len) { bytes 49 webkit/common/data_element.h buf_.assign(bytes, bytes + bytes_len); bytes 55 webkit/common/data_element.h void SetToSharedBytes(const char* bytes, int bytes_len) { bytes 57 webkit/common/data_element.h bytes_ = bytes; bytes 105 webkit/common/data_element.h return memcmp(a.bytes(), b.bytes(), b.length()) == 0;