data 28 android_webview/browser/aw_contents_client_bridge_base.cc UserData* data = reinterpret_cast<UserData*>( data 30 android_webview/browser/aw_contents_client_bridge_base.cc return data ? data->contents_ : NULL; data 1390 android_webview/java/src/org/chromium/android_webview/AwContents.java Bundle data = msg.getData(); data 1395 android_webview/java/src/org/chromium/android_webview/AwContents.java data.putString("url", mPossiblyStaleHitTestData.href); data 1396 android_webview/java/src/org/chromium/android_webview/AwContents.java data.putString("title", mPossiblyStaleHitTestData.anchorText); data 1397 android_webview/java/src/org/chromium/android_webview/AwContents.java data.putString("src", mPossiblyStaleHitTestData.imgSrc); data 1398 android_webview/java/src/org/chromium/android_webview/AwContents.java msg.setData(data); data 1409 android_webview/java/src/org/chromium/android_webview/AwContents.java Bundle data = msg.getData(); data 1410 android_webview/java/src/org/chromium/android_webview/AwContents.java data.putString("url", mPossiblyStaleHitTestData.imgSrc); data 1411 android_webview/java/src/org/chromium/android_webview/AwContents.java msg.setData(data); data 21 android_webview/java/src/org/chromium/android_webview/InterceptedRequestData.java public InterceptedRequestData(String mimeType, String encoding, InputStream data) { data 24 android_webview/java/src/org/chromium/android_webview/InterceptedRequestData.java mData = data; data 68 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientGetDefaultVideoPosterTest.java String data = "<html><head><body><video id='video' control src='' /> </body></html>"; data 69 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientGetDefaultVideoPosterTest.java loadDataAsync(testContainerView.getAwContents(), data, "text/html", false); data 107 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientOnFormResubmissionTest.java byte[] data = EncodingUtils.getBytes(postData, "BASE64"); data 108 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientOnFormResubmissionTest.java postUrlSync(mAwContents, mContentsClient.getOnPageFinishedHelper(), url, data); data 258 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java public SlowInterceptedRequestData(String mimeType, String encoding, InputStream data) { data 259 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java super(mimeType, encoding, data); data 364 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java final String data = "download data"; data 371 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java downloadHeaders.add(Pair.create("Content-Length", Integer.toString(data.length()))); data 377 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java "/download.txt", data, downloadHeaders); data 387 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java assertEquals(data.length(), downloadStartHelper.getContentLength()); data 106 android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java protected void loadDataSync(String data) throws Throwable { data 110 android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java data, data 2561 android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java String data = "<html><head><script>" + data 2570 android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java loadDataAsync(awContents, data, "text/html", false); data 2625 android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java String data = "<html><head><body>" + data 2628 android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java loadDataAsync(awContents, data, "text/html", false); data 175 android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java final String data, final String mimeType, data 178 android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java loadDataAsync(awContents, data, mimeType, isBase64Encoded); data 185 android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java final String data, final String mimeType, data 193 android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java data, mimeType, isBase64Encoded, charset)); data 203 android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java protected void loadDataAsync(final AwContents awContents, final String data, data 210 android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java data, mimeType, isBase64Encoded)); data 216 android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java CallbackHelper onPageFinishedHelper, final String data, final String mimeType, data 220 android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java loadDataWithBaseUrlAsync(awContents, data, mimeType, isBase64Encoded, baseUrl, historyUrl); data 226 android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java final String data, final String mimeType, final boolean isBase64Encoded, data 232 android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java data, mimeType, isBase64Encoded, baseUrl, historyUrl)); data 123 android_webview/javatests/src/org/chromium/android_webview/test/ClientAddMessageToConsoleTest.java String data = getLogMessageJavaScriptData("log", TEST_MESSAGE_ONE); data 125 android_webview/javatests/src/org/chromium/android_webview/test/ClientAddMessageToConsoleTest.java data, "text/html", false); data 128 android_webview/javatests/src/org/chromium/android_webview/test/ClientAddMessageToConsoleTest.java data + "].", addMessageToConsoleHelper.getSourceId().endsWith(data)); data 45 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java final String data, final String mimeType, final boolean isBase64Encoded, data 48 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java data, mimeType, isBase64Encoded, baseUrl, historyUrl); data 279 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java String data = "<html><body>" + data 285 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java loadDataWithBaseUrlSync(data, "text/html", false, baseUrl, null); data 37 android_webview/javatests/src/org/chromium/android_webview/test/LoadUrlTest.java final String data = data 44 android_webview/javatests/src/org/chromium/android_webview/test/LoadUrlTest.java loadDataSync(awContents, contentsClient.getOnPageFinishedHelper(), data, data 53 android_webview/javatests/src/org/chromium/android_webview/test/LoadUrlTest.java final String data = "PGh0bWw+PGhlYWQ+PHRpdGxlPmRhdGFVcmxUZXN0QmFzZTY0PC90aXRsZT48" + data 60 android_webview/javatests/src/org/chromium/android_webview/test/LoadUrlTest.java loadDataSync(awContents, contentsClient.getOnPageFinishedHelper(), data, data 71 android_webview/javatests/src/org/chromium/android_webview/test/LoadUrlTest.java final String data = data 77 android_webview/javatests/src/org/chromium/android_webview/test/LoadUrlTest.java loadDataSyncWithCharset(awContents, contentsClient.getOnPageFinishedHelper(), data, data 113 android_webview/javatests/src/org/chromium/android_webview/test/WebKitHitTestTest.java AwContents.HitTestData data = mAwContents.getLastHitTestResult(); data 114 android_webview/javatests/src/org/chromium/android_webview/test/WebKitHitTestTest.java return expectedType == data.hitTestResultType && data 115 android_webview/javatests/src/org/chromium/android_webview/test/WebKitHitTestTest.java stringEquals(expectedExtra, data.hitTestResultExtraData); data 127 android_webview/javatests/src/org/chromium/android_webview/test/WebKitHitTestTest.java AwContents.HitTestData data = mAwContents.getLastHitTestResult(); data 128 android_webview/javatests/src/org/chromium/android_webview/test/WebKitHitTestTest.java return stringEquals(expectedHref, data.href) && data 129 android_webview/javatests/src/org/chromium/android_webview/test/WebKitHitTestTest.java stringEquals(expectedAnchorText, data.anchorText) && data 130 android_webview/javatests/src/org/chromium/android_webview/test/WebKitHitTestTest.java stringEquals(expectedImageSrc, data.imgSrc); data 57 android_webview/javatests/src/org/chromium/android_webview/test/WebViewFindApisTestBase.java final String data = "<html><head></head><body>" + html + "</body></html>"; data 59 android_webview/javatests/src/org/chromium/android_webview/test/WebViewFindApisTestBase.java data, "text/html", false); data 68 android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestWebServer.java String data = loadAssetData(context, FULL_SCREEN_VIDEO_PATH); data 70 android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestWebServer.java data.replace("VIDEO_FILE_URL", getOnePixelOneFrameWebmURL()), data 110 android_webview/native/aw_contents.cc AwContentsUserData* data = reinterpret_cast<AwContentsUserData*>( data 112 android_webview/native/aw_contents.cc return data ? data->contents_ : NULL; data 713 android_webview/native/aw_contents.cc reinterpret_cast<const uint8*>(der_string.data()), der_string.length()); data 726 android_webview/native/aw_contents.cc const AwHitTestData& data = render_view_host_ext_->GetLastHitTestData(); data 731 android_webview/native/aw_contents.cc if (data.extra_data_for_type.length()) data 733 android_webview/native/aw_contents.cc env, data.extra_data_for_type); data 736 android_webview/native/aw_contents.cc if (data.href.length()) data 737 android_webview/native/aw_contents.cc href = ConvertUTF16ToJavaString(env, data.href); data 740 android_webview/native/aw_contents.cc if (data.anchor_text.length()) data 741 android_webview/native/aw_contents.cc anchor_text = ConvertUTF16ToJavaString(env, data.anchor_text); data 744 android_webview/native/aw_contents.cc if (data.img_src.is_valid()) data 745 android_webview/native/aw_contents.cc img_src = ConvertUTF8ToJavaString(env, data.img_src.spec()); data 749 android_webview/native/aw_contents.cc data.type, data 812 android_webview/native/aw_contents.cc reinterpret_cast<const uint8*>(pickle.data()), pickle.size()); data 63 android_webview/native/aw_contents_client_bridge.cc reinterpret_cast<const uint8*>(der_string.data()), data 37 android_webview/native/aw_settings.cc AwSettingsUserData* data = reinterpret_cast<AwSettingsUserData*>( data 39 android_webview/native/aw_settings.cc return data ? data->settings_ : NULL; data 88 android_webview/native/input_stream_impl.cc char* dest_write_ptr = dest->data(); data 105 android_webview/native/input_stream_unittest.cc EXPECT_EQ(i, (unsigned char)buffer->data()[i]); data 73 android_webview/renderer/aw_render_view_ext.cc url_util::DecodeURLEscapeSequences(spec.data() + prefix.length(), data 76 android_webview/renderer/aw_render_view_ext.cc base::string16(output.data(), output.length())); data 83 android_webview/renderer/aw_render_view_ext.cc void DistinguishAndAssignSrcLinkType(const GURL& url, AwHitTestData* data) { data 87 android_webview/renderer/aw_render_view_ext.cc &data->extra_data_for_type)) { data 88 android_webview/renderer/aw_render_view_ext.cc data->type = AwHitTestData::GEO_TYPE; data 92 android_webview/renderer/aw_render_view_ext.cc &data->extra_data_for_type)) { data 93 android_webview/renderer/aw_render_view_ext.cc data->type = AwHitTestData::PHONE_TYPE; data 97 android_webview/renderer/aw_render_view_ext.cc &data->extra_data_for_type)) { data 98 android_webview/renderer/aw_render_view_ext.cc data->type = AwHitTestData::EMAIL_TYPE; data 100 android_webview/renderer/aw_render_view_ext.cc data->type = AwHitTestData::SRC_LINK_TYPE; data 101 android_webview/renderer/aw_render_view_ext.cc data->extra_data_for_type = url.possibly_invalid_spec(); data 102 android_webview/renderer/aw_render_view_ext.cc if (!data->extra_data_for_type.empty()) data 103 android_webview/renderer/aw_render_view_ext.cc data->href = base::UTF8ToUTF16(data->extra_data_for_type); data 110 android_webview/renderer/aw_render_view_ext.cc AwHitTestData* data) { data 116 android_webview/renderer/aw_render_view_ext.cc data->img_src = absolute_image_url; data 124 android_webview/renderer/aw_render_view_ext.cc DistinguishAndAssignSrcLinkType(absolute_link_url, data); data 126 android_webview/renderer/aw_render_view_ext.cc data->type = AwHitTestData::SRC_IMAGE_LINK_TYPE; data 127 android_webview/renderer/aw_render_view_ext.cc data->extra_data_for_type = data->img_src.possibly_invalid_spec(); data 129 android_webview/renderer/aw_render_view_ext.cc data->href = base::UTF8ToUTF16(absolute_link_url.possibly_invalid_spec()); data 131 android_webview/renderer/aw_render_view_ext.cc data->type = AwHitTestData::IMAGE_TYPE; data 132 android_webview/renderer/aw_render_view_ext.cc data->extra_data_for_type = data->img_src.possibly_invalid_spec(); data 134 android_webview/renderer/aw_render_view_ext.cc data->type = AwHitTestData::EDIT_TEXT_TYPE; data 135 android_webview/renderer/aw_render_view_ext.cc DCHECK(data->extra_data_for_type.length() == 0); data 254 android_webview/renderer/aw_render_view_ext.cc AwHitTestData data; data 256 android_webview/renderer/aw_render_view_ext.cc data.href = GetHref(element); data 257 android_webview/renderer/aw_render_view_ext.cc data.anchor_text = element.innerText(); data 261 android_webview/renderer/aw_render_view_ext.cc absolute_link_url = GetAbsoluteUrl(node, data.href); data 273 android_webview/renderer/aw_render_view_ext.cc &data); data 274 android_webview/renderer/aw_render_view_ext.cc Send(new AwViewHostMsg_UpdateHitTestData(routing_id(), data)); data 284 android_webview/renderer/aw_render_view_ext.cc AwHitTestData data; data 287 android_webview/renderer/aw_render_view_ext.cc data.anchor_text = result.urlElement().innerText(); data 288 android_webview/renderer/aw_render_view_ext.cc data.href = GetHref(result.urlElement()); data 294 android_webview/renderer/aw_render_view_ext.cc &data); data 295 android_webview/renderer/aw_render_view_ext.cc Send(new AwViewHostMsg_UpdateHitTestData(routing_id(), data)); data 119 ash/desktop_background/desktop_background_controller.cc std::string data; data 120 ash/desktop_background/desktop_background_controller.cc if (!base::ReadFileToString(path, &data)) { data 126 ash/desktop_background/desktop_background_controller.cc reinterpret_cast<const unsigned char*>(data.data()), data.size())); data 208 ash/display/resolution_notification_controller.cc message_center::RichNotificationData data; data 210 ash/display/resolution_notification_controller.cc data.buttons.push_back(message_center::ButtonInfo( data 218 ash/display/resolution_notification_controller.cc data.buttons.push_back(message_center::ButtonInfo( data 221 ash/display/resolution_notification_controller.cc data.should_make_spoken_feedback_for_popup_updates = enable_spoken_feedback; data 249 ash/display/resolution_notification_controller.cc data, data 157 ash/drag_drop/drag_drop_controller.cc const ui::OSExchangeData& data, data 166 ash/drag_drop/drag_drop_controller.cc const ui::OSExchangeData::Provider* provider = &data.provider(); data 193 ash/drag_drop/drag_drop_controller.cc drag_data_ = &data; data 47 ash/drag_drop/drag_drop_controller.h const ui::OSExchangeData& data, data 79 ash/drag_drop/drag_drop_controller_unittest.cc OSExchangeData* data) OVERRIDE { data 80 ash/drag_drop/drag_drop_controller_unittest.cc data->SetString(base::UTF8ToUTF16("I am being dragged")); data 85 ash/drag_drop/drag_drop_controller_unittest.cc image_skia, image_skia.size(), gfx::Vector2d(), data); data 105 ash/drag_drop/drag_drop_controller_unittest.cc virtual bool CanDrop(const OSExchangeData& data) OVERRIDE { data 164 ash/drag_drop/drag_drop_controller_unittest.cc const ui::OSExchangeData& data, data 171 ash/drag_drop/drag_drop_controller_unittest.cc data.GetString(&drag_string_); data 173 ash/drag_drop/drag_drop_controller_unittest.cc data, root_window, source_window, location, operation, source); data 311 ash/drag_drop/drag_drop_controller_unittest.cc void UpdateDragData(ui::OSExchangeData* data) { data 312 ash/drag_drop/drag_drop_controller_unittest.cc drag_drop_controller_->drag_data_ = data; data 363 ash/drag_drop/drag_drop_controller_unittest.cc ui::OSExchangeData data; data 364 ash/drag_drop/drag_drop_controller_unittest.cc data.SetString(base::UTF8ToUTF16("I am being dragged")); data 377 ash/drag_drop/drag_drop_controller_unittest.cc UpdateDragData(&data); data 409 ash/drag_drop/drag_drop_controller_unittest.cc ui::OSExchangeData data; data 410 ash/drag_drop/drag_drop_controller_unittest.cc data.SetString(base::UTF8ToUTF16("I am being dragged")); data 422 ash/drag_drop/drag_drop_controller_unittest.cc UpdateDragData(&data); data 426 ash/drag_drop/drag_drop_controller_unittest.cc UpdateDragData(&data); data 456 ash/drag_drop/drag_drop_controller_unittest.cc ui::OSExchangeData data; data 457 ash/drag_drop/drag_drop_controller_unittest.cc data.SetString(base::UTF8ToUTF16("I am being dragged")); data 471 ash/drag_drop/drag_drop_controller_unittest.cc UpdateDragData(&data); data 522 ash/drag_drop/drag_drop_controller_unittest.cc ui::OSExchangeData data; data 523 ash/drag_drop/drag_drop_controller_unittest.cc data.SetString(base::UTF8ToUTF16("I am being dragged")); data 536 ash/drag_drop/drag_drop_controller_unittest.cc UpdateDragData(&data); data 580 ash/drag_drop/drag_drop_controller_unittest.cc ui::OSExchangeData data; data 581 ash/drag_drop/drag_drop_controller_unittest.cc data.SetString(base::UTF8ToUTF16("I am being dragged")); data 594 ash/drag_drop/drag_drop_controller_unittest.cc UpdateDragData(&data); data 605 ash/drag_drop/drag_drop_controller_unittest.cc UpdateDragData(&data); data 646 ash/drag_drop/drag_drop_controller_unittest.cc ui::OSExchangeData data; data 648 ash/drag_drop/drag_drop_controller_unittest.cc data.SetString(base::ASCIIToUTF16(data_str)); data 673 ash/drag_drop/drag_drop_controller_unittest.cc ui::OSExchangeData data; data 674 ash/drag_drop/drag_drop_controller_unittest.cc data.SetString(base::UTF8ToUTF16("I am being dragged")); data 686 ash/drag_drop/drag_drop_controller_unittest.cc UpdateDragData(&data); data 702 ash/drag_drop/drag_drop_controller_unittest.cc UpdateDragData(&data); data 717 ash/drag_drop/drag_drop_controller_unittest.cc ui::OSExchangeData data; data 718 ash/drag_drop/drag_drop_controller_unittest.cc data.SetString(base::UTF8ToUTF16("I am being dragged")); data 730 ash/drag_drop/drag_drop_controller_unittest.cc UpdateDragData(&data); data 773 ash/drag_drop/drag_drop_controller_unittest.cc ui::OSExchangeData data; data 774 ash/drag_drop/drag_drop_controller_unittest.cc data.SetString(base::UTF8ToUTF16("I am being dragged")); data 786 ash/drag_drop/drag_drop_controller_unittest.cc UpdateDragData(&data); data 815 ash/drag_drop/drag_drop_controller_unittest.cc ui::OSExchangeData data; data 816 ash/drag_drop/drag_drop_controller_unittest.cc data.SetString(base::UTF8ToUTF16("I am being dragged")); data 828 ash/drag_drop/drag_drop_controller_unittest.cc UpdateDragData(&data); data 876 ash/drag_drop/drag_drop_controller_unittest.cc ui::OSExchangeData data; data 877 ash/drag_drop/drag_drop_controller_unittest.cc data.SetString(base::UTF8ToUTF16("I am being dragged")); data 888 ash/drag_drop/drag_drop_controller_unittest.cc UpdateDragData(&data); data 1004 ash/drag_drop/drag_drop_controller_unittest.cc ui::OSExchangeData data; data 1005 ash/drag_drop/drag_drop_controller_unittest.cc data.SetString(base::UTF8ToUTF16("I am being dragged")); data 1010 ash/drag_drop/drag_drop_controller_unittest.cc data, data 1048 ash/drag_drop/drag_drop_controller_unittest.cc data, data 35 ash/drag_drop/drag_drop_interactive_uitest.cc OSExchangeData* data)OVERRIDE { data 36 ash/drag_drop/drag_drop_interactive_uitest.cc data->SetString(base::UTF8ToUTF16("test")); data 58 ash/drag_drop/drag_drop_interactive_uitest.cc virtual bool CanDrop(const OSExchangeData& data) OVERRIDE { data 494 ash/sticky_keys/sticky_keys_controller.cc static_cast<XIDeviceEvent*>(xev->xcookie.data); data 516 ash/sticky_keys/sticky_keys_controller.cc static_cast<XIDeviceEvent*>(xev->xcookie.data); data 54 ash/system/chromeos/screen_security/screen_capture_tray_item.cc message_center::RichNotificationData data; data 55 ash/system/chromeos/screen_security/screen_capture_tray_item.cc data.buttons.push_back(message_center::ButtonInfo( data 68 ash/system/chromeos/screen_security/screen_capture_tray_item.cc data, data 64 ash/system/chromeos/screen_security/screen_share_tray_item.cc message_center::RichNotificationData data; data 65 ash/system/chromeos/screen_security/screen_share_tray_item.cc data.buttons.push_back(message_center::ButtonInfo( data 78 ash/system/chromeos/screen_security/screen_share_tray_item.cc data, data 93 ash/system/chromeos/session/tray_session_length_limit.cc message_center::RichNotificationData data; data 95 ash/system/chromeos/session/tray_session_length_limit.cc data.should_make_spoken_feedback_for_popup_updates = state_changed; data 106 ash/system/chromeos/session/tray_session_length_limit.cc data, data 51 ash/system/chromeos/tray_display_unittest.cc const std::string& data) { data 52 ash/system/chromeos/tray_display_unittest.cc return GetTooltipText(headline, name, data, base::string16(), ""); data 92 ash/touch/touch_hud_debug.cc return static_cast<XIDeviceEvent*>(xev->xcookie.data)->sourceid; data 257 ash/touch/touch_uma.cc XIEvent* xievent = static_cast<XIEvent*>(xevent->xcookie.data); data 262 ash/touch/touch_uma.cc static_cast<XIDeviceEvent*>(xevent->xcookie.data); data 1041 ash/wm/overview/window_selector_unittest.cc ui::OSExchangeData data; data 1047 ash/wm/overview/window_selector_unittest.cc data.SetString(base::UTF8ToUTF16("I am being dragged")); data 1048 ash/wm/overview/window_selector_unittest.cc drag_drop_controller->StartDragAndDrop(data, window->GetRootWindow(), data 20 base/android/important_file_writer_android.cc jbyteArray data) { data 27 base/android/important_file_writer_android.cc int data_length = env->GetArrayLength(data); data 28 base/android/important_file_writer_android.cc jbyte* native_data = env->GetByteArrayElements(data, NULL); data 33 base/android/important_file_writer_android.cc env->ReleaseByteArrayElements(data, native_data, JNI_ABORT); data 23 base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java public static boolean writeFileAtomically(String fileName, byte[] data) { data 24 base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java return nativeWriteFileAtomically(fileName, data); data 28 base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java String fileName, byte[] data); data 73 base/android/jni_array.cc reinterpret_cast<const uint8*>(v[i].data()), v[i].length()); data 16 base/android/jni_string.cc jstring result = env->NewString(str.data(), str.length()); data 16 base/base64.cc size_t output_size = modp_b64_encode(&(temp[0]), input.data(), input.size()); data 28 base/base64.cc size_t output_size = modp_b64_decode(&(temp[0]), input.data(), input_size); data 13 base/big_endian_unittest.cc char data[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0xA, 0xB, 0xC }; data 19 base/big_endian_unittest.cc BigEndianReader reader(data, sizeof(data)); data 22 base/big_endian_unittest.cc EXPECT_EQ(data + 2, reader.ptr()); data 23 base/big_endian_unittest.cc EXPECT_EQ(reader.remaining(), static_cast<int>(sizeof(data)) - 2); data 36 base/big_endian_unittest.cc EXPECT_EQ(expected.data(), piece.data()); data 40 base/big_endian_unittest.cc char data[4]; data 46 base/big_endian_unittest.cc BigEndianReader reader(data, sizeof(data)); data 65 base/big_endian_unittest.cc char data[sizeof(expected)]; data 67 base/big_endian_unittest.cc memset(data, 0, sizeof(data)); data 68 base/big_endian_unittest.cc BigEndianWriter writer(data, sizeof(data)); data 75 base/big_endian_unittest.cc EXPECT_EQ(0, memcmp(expected, data, sizeof(expected))); data 79 base/big_endian_unittest.cc char data[4]; data 84 base/big_endian_unittest.cc BigEndianWriter writer(data, sizeof(data)); data 525 base/bind_helpers.h static inline internal::IgnoreResultHelper<T> IgnoreResult(T data) { data 526 base/bind_helpers.h return internal::IgnoreResultHelper<T>(data); data 531 base/bind_helpers.h IgnoreResult(const Callback<T>& data) { data 532 base/bind_helpers.h return internal::IgnoreResultHelper<Callback<T> >(data); data 42 base/containers/scoped_ptr_hash_map.h iterator set(const Key& key, scoped_ptr<Value> data) { data 46 base/containers/scoped_ptr_hash_map.h it->second = data.release(); data 50 base/containers/scoped_ptr_hash_map.h return data_.insert(std::make_pair(key, data.release())).first; data 54 base/containers/scoped_ptr_hash_map.h std::pair<iterator, bool> add(const Key& key, scoped_ptr<Value> data) { data 56 base/containers/scoped_ptr_hash_map.h data_.insert(std::make_pair(key, data.get())); data 58 base/containers/scoped_ptr_hash_map.h ignore_result(data.release()); data 69 base/debug/crash_logging.cc g_clear_key_func_(base::StringPrintf(kChunkFormatString, key.data(), i+1)); data 74 base/debug/crash_logging.cc g_set_key_func_(base::StringPrintf(kChunkFormatString, key.data(), i+1), data 92 base/debug/crash_logging.cc g_clear_key_func_(base::StringPrintf(kChunkFormatString, key.data(), i+1)); data 913 base/debug/trace_event.h name, trace_event_trace_id.data(), trace_event_flags, \ data 930 base/debug/trace_event.h name, trace_event_trace_id.data(), \ data 1022 base/debug/trace_event.h unsigned long long data() const { return data_; } data 1044 base/debug/trace_event.h unsigned long long data() const { return data_; } data 1054 base/debug/trace_event.h TraceID(ForceMangle id, unsigned char* flags) : data_(id.data()) { data 1057 base/debug/trace_event.h TraceID(DontMangle id, unsigned char* flags) : data_(id.data()) { data 1080 base/debug/trace_event.h unsigned long long data() const { return data_; } data 591 base/debug/trace_event_impl.cc parameter_copy_storage_->data().resize(alloc_size); data 592 base/debug/trace_event_impl.cc char* ptr = string_as_array(¶meter_copy_storage_->data()); data 1618 base/debug/trace_event_impl.cc json_events_str_ptr->data().append(","); data 1619 base/debug/trace_event_impl.cc chunk->GetEventAt(j)->AppendAsJSON(&(json_events_str_ptr->data())); data 168 base/debug/trace_event_unittest.cc trace_buffer_.AddFragment(events_str->data()); data 1892 base/debug/trace_event_unittest.cc scoped_refptr<ConvertableToTraceFormat> data(new MyData()); data 1895 base/debug/trace_event_unittest.cc TRACE_EVENT1("foo", "bar", "data", data); data 225 base/environment.cc memcpy(storage_data, value_storage.data(), value_storage.size()); data 314 base/file_util.h BASE_EXPORT int ReadFile(const FilePath& filename, char* data, int size); data 318 base/file_util.h BASE_EXPORT int WriteFile(const FilePath& filename, const char* data, data 323 base/file_util.h BASE_EXPORT int WriteFileDescriptor(const int fd, const char* data, int size); data 329 base/file_util.h const char* data, int size); data 654 base/file_util_posix.cc int ReadFile(const FilePath& filename, char* data, int size) { data 660 base/file_util_posix.cc ssize_t bytes_read = HANDLE_EINTR(read(fd, data, size)); data 666 base/file_util_posix.cc int WriteFile(const FilePath& filename, const char* data, int size) { data 672 base/file_util_posix.cc int bytes_written = WriteFileDescriptor(fd, data, size); data 678 base/file_util_posix.cc int WriteFileDescriptor(const int fd, const char* data, int size) { data 684 base/file_util_posix.cc HANDLE_EINTR(write(fd, data + bytes_written_total, data 693 base/file_util_posix.cc int AppendToFile(const FilePath& filename, const char* data, int size) { data 699 base/file_util_posix.cc int bytes_written = WriteFileDescriptor(fd, data, size); data 97 base/file_util_unittest.cc REPARSE_DATA_BUFFER* data = reinterpret_cast<REPARSE_DATA_BUFFER*>(buffer); data 99 base/file_util_unittest.cc data->ReparseTag = 0xa0000003; data 100 base/file_util_unittest.cc memcpy(data->MountPointReparseBuffer.PathBuffer, target, size_target + 2); data 102 base/file_util_unittest.cc data->MountPointReparseBuffer.SubstituteNameLength = size_target; data 103 base/file_util_unittest.cc data->MountPointReparseBuffer.PrintNameOffset = size_target + 2; data 104 base/file_util_unittest.cc data->ReparseDataLength = size_target + 4 + 8; data 106 base/file_util_unittest.cc int data_size = data->ReparseDataLength + 8; data 119 base/file_util_unittest.cc REPARSE_DATA_BUFFER data = {0}; data 120 base/file_util_unittest.cc data.ReparseTag = 0xa0000003; data 121 base/file_util_unittest.cc if (!DeviceIoControl(source, FSCTL_DELETE_REPARSE_POINT, &data, 8, NULL, 0, data 707 base/file_util_unittest.cc WriteFile(file_name, kData.data(), kData.length())); data 746 base/file_util_unittest.cc WriteFile(file_name, kData.data(), kData.length())); data 760 base/file_util_unittest.cc EXPECT_EQ(-1, WriteFile(file_name, kData.data(), kData.length())); data 770 base/file_util_unittest.cc WriteFile(file_name, kData.data(), kData.length())); data 790 base/file_util_unittest.cc WriteFile(file_name, kData.data(), kData.length())); data 1952 base/file_util_unittest.cc std::string data("hello"); data 1953 base/file_util_unittest.cc EXPECT_EQ(-1, AppendToFile(foobar, data.c_str(), data.length())); data 1954 base/file_util_unittest.cc EXPECT_EQ(static_cast<int>(data.length()), data 1955 base/file_util_unittest.cc WriteFile(foobar, data.c_str(), data.length())); data 1956 base/file_util_unittest.cc EXPECT_EQ(static_cast<int>(data.length()), data 1957 base/file_util_unittest.cc AppendToFile(foobar, data.c_str(), data.length())); data 1965 base/file_util_unittest.cc std::string data; data 1972 base/file_util_unittest.cc EXPECT_TRUE(ReadFileToString(file_path, &data)); data 1973 base/file_util_unittest.cc EXPECT_EQ(kTestData, data); data 1975 base/file_util_unittest.cc data = "temp"; data 1976 base/file_util_unittest.cc EXPECT_FALSE(ReadFileToString(file_path, &data, 0)); data 1977 base/file_util_unittest.cc EXPECT_EQ(data.length(), 0u); data 1979 base/file_util_unittest.cc data = "temp"; data 1980 base/file_util_unittest.cc EXPECT_FALSE(ReadFileToString(file_path, &data, 2)); data 1981 base/file_util_unittest.cc EXPECT_EQ("01", data); data 1983 base/file_util_unittest.cc data.clear(); data 1984 base/file_util_unittest.cc EXPECT_FALSE(ReadFileToString(file_path, &data, 3)); data 1985 base/file_util_unittest.cc EXPECT_EQ("012", data); data 1987 base/file_util_unittest.cc data.clear(); data 1988 base/file_util_unittest.cc EXPECT_TRUE(ReadFileToString(file_path, &data, 4)); data 1989 base/file_util_unittest.cc EXPECT_EQ("0123", data); data 1991 base/file_util_unittest.cc data.clear(); data 1992 base/file_util_unittest.cc EXPECT_TRUE(ReadFileToString(file_path, &data, 6)); data 1993 base/file_util_unittest.cc EXPECT_EQ("0123", data); data 2001 base/file_util_unittest.cc data = "temp"; data 2002 base/file_util_unittest.cc EXPECT_FALSE(ReadFileToString(file_path, &data)); data 2003 base/file_util_unittest.cc EXPECT_EQ(data.length(), 0u); data 2005 base/file_util_unittest.cc data = "temp"; data 2006 base/file_util_unittest.cc EXPECT_FALSE(ReadFileToString(file_path, &data, 6)); data 2007 base/file_util_unittest.cc EXPECT_EQ(data.length(), 0u); data 2021 base/file_util_unittest.cc std::string data("hello"); data 2022 base/file_util_unittest.cc ASSERT_TRUE(WriteFile(foobar, data.c_str(), data.length())); data 574 base/file_util_win.cc int ReadFile(const FilePath& filename, char* data, int size) { data 587 base/file_util_win.cc if (::ReadFile(file, data, size, &read, NULL) && data 593 base/file_util_win.cc int WriteFile(const FilePath& filename, const char* data, int size) { data 609 base/file_util_win.cc BOOL result = ::WriteFile(file, data, size, &written, NULL); data 625 base/file_util_win.cc int AppendToFile(const FilePath& filename, const char* data, int size) { data 641 base/file_util_win.cc BOOL result = ::WriteFile(file, data, size, &written, NULL); data 17 base/file_version_info_win.cc FileVersionInfoWin::FileVersionInfoWin(void* data, int language, int code_page) data 20 base/file_version_info_win.cc data_.reset((char*) data); data 60 base/file_version_info_win.cc void* data = calloc(length, 1); data 61 base/file_version_info_win.cc if (!data) data 64 base/file_version_info_win.cc if (!::GetFileVersionInfo(path, dummy, length, data)) { data 65 base/file_version_info_win.cc free(data); data 71 base/file_version_info_win.cc BOOL query_result = VerQueryValue(data, L"\\VarFileInfo\\Translation", data 75 base/file_version_info_win.cc return new FileVersionInfoWin(data, translate->language, data 79 base/file_version_info_win.cc free(data); data 20 base/file_version_info_win.h BASE_EXPORT FileVersionInfoWin(void* data, int language, int code_page); data 214 base/files/file.h int Read(int64 offset, char* data, int size); data 217 base/files/file.h int ReadAtCurrentPos(char* data, int size); data 222 base/files/file.h int ReadNoBestEffort(int64 offset, char* data, int size); data 225 base/files/file.h int ReadAtCurrentPosNoBestEffort(char* data, int size); data 233 base/files/file.h int Write(int64 offset, const char* data, int size); data 236 base/files/file.h int WriteAtCurrentPos(const char* data, int size); data 240 base/files/file.h int WriteAtCurrentPosNoBestEffort(const char* data, int size); data 191 base/files/file_path_watcher_kqueue.cc EventData* data = new EventData(built_path, subdir); data 195 base/files/file_path_watcher_kqueue.cc NOTE_RENAME | NOTE_REVOKE | NOTE_EXTEND), 0, data); data 227 base/files/file_path_watcher_kqueue.cc if (kevents[i].flags & EV_ERROR && kevents[i].data) { data 246 base/files/file_path_watcher_kqueue.cc DLOG(ERROR) << "Error: " << kevents[i].data << " for " << path_name; data 289 base/files/file_posix.cc int File::Read(int64 offset, char* data, int size) { data 298 base/files/file_posix.cc rv = HANDLE_EINTR(pread(file_.get(), data + bytes_read, data 309 base/files/file_posix.cc int File::ReadAtCurrentPos(char* data, int size) { data 318 base/files/file_posix.cc rv = HANDLE_EINTR(read(file_.get(), data + bytes_read, size - bytes_read)); data 328 base/files/file_posix.cc int File::ReadNoBestEffort(int64 offset, char* data, int size) { data 332 base/files/file_posix.cc return HANDLE_EINTR(pread(file_.get(), data, size, offset)); data 335 base/files/file_posix.cc int File::ReadAtCurrentPosNoBestEffort(char* data, int size) { data 341 base/files/file_posix.cc return HANDLE_EINTR(read(file_.get(), data, size)); data 344 base/files/file_posix.cc int File::Write(int64 offset, const char* data, int size) { data 348 base/files/file_posix.cc return WriteAtCurrentPos(data, size); data 357 base/files/file_posix.cc rv = HANDLE_EINTR(pwrite(file_.get(), data + bytes_written, data 368 base/files/file_posix.cc int File::WriteAtCurrentPos(const char* data, int size) { data 377 base/files/file_posix.cc rv = HANDLE_EINTR(write(file_.get(), data + bytes_written, data 388 base/files/file_posix.cc int File::WriteAtCurrentPosNoBestEffort(const char* data, int size) { data 394 base/files/file_posix.cc return HANDLE_EINTR(write(file_.get(), data, size)); data 57 base/files/file_proxy.h const char* data, data 59 base/files/file_proxy_unittest.cc const char* data, data 63 base/files/file_proxy_unittest.cc memcpy(&buffer_[0], data, bytes_read); data 186 base/files/file_proxy_unittest.cc std::string data; data 187 base/files/file_proxy_unittest.cc EXPECT_TRUE(ReadFileToString(path_, &data)); data 188 base/files/file_proxy_unittest.cc EXPECT_EQ("test", data); data 242 base/files/file_proxy_unittest.cc const char data[] = "foo!"; data 243 base/files/file_proxy_unittest.cc int data_bytes = ARRAYSIZE_UNSAFE(data); data 244 base/files/file_proxy_unittest.cc proxy.Write(0, data, data_bytes, data 260 base/files/file_proxy_unittest.cc EXPECT_EQ(data[i], buffer[i]); data 342 base/files/file_unittest.cc char data[] = "test"; data 344 base/files/file_unittest.cc int bytes_written = file.Write(0, data, kTestDataSize); data 72 base/files/file_util_proxy_unittest.cc const char* data, data 76 base/files/file_util_proxy_unittest.cc memcpy(&buffer_[0], data, bytes_read); data 216 base/files/file_util_proxy_unittest.cc std::string data; data 217 base/files/file_util_proxy_unittest.cc EXPECT_TRUE(ReadFileToString(path_, &data)); data 218 base/files/file_util_proxy_unittest.cc EXPECT_EQ("test", data); data 295 base/files/file_util_proxy_unittest.cc const char data[] = "foo!"; data 296 base/files/file_util_proxy_unittest.cc int data_bytes = ARRAYSIZE_UNSAFE(data); data 304 base/files/file_util_proxy_unittest.cc data, data 324 base/files/file_util_proxy_unittest.cc EXPECT_EQ(data[i], buffer[i]); data 132 base/files/file_win.cc int File::Read(int64 offset, char* data, int size) { data 147 base/files/file_win.cc if (::ReadFile(file_, data, size, &bytes_read, &overlapped)) data 155 base/files/file_win.cc int File::ReadAtCurrentPos(char* data, int size) { data 163 base/files/file_win.cc if (::ReadFile(file_, data, size, &bytes_read, NULL)) data 171 base/files/file_win.cc int File::ReadNoBestEffort(int64 offset, char* data, int size) { data 172 base/files/file_win.cc return Read(offset, data, size); data 175 base/files/file_win.cc int File::ReadAtCurrentPosNoBestEffort(char* data, int size) { data 176 base/files/file_win.cc return ReadAtCurrentPos(data, size); data 179 base/files/file_win.cc int File::Write(int64 offset, const char* data, int size) { data 192 base/files/file_win.cc if (::WriteFile(file_, data, size, &bytes_written, &overlapped)) data 198 base/files/file_win.cc int File::WriteAtCurrentPos(const char* data, int size) { data 206 base/files/file_win.cc if (::WriteFile(file_, data, size, &bytes_written, NULL)) data 212 base/files/file_win.cc int File::WriteAtCurrentPosNoBestEffort(const char* data, int size) { data 213 base/files/file_win.cc return WriteAtCurrentPos(data, size); data 56 base/files/important_file_writer.cc const std::string& data) { data 74 base/files/important_file_writer.cc CHECK_LE(data.length(), static_cast<size_t>(kint32max)); data 75 base/files/important_file_writer.cc int bytes_written = tmp_file.Write(0, data.data(), data 76 base/files/important_file_writer.cc static_cast<int>(data.length())); data 80 base/files/important_file_writer.cc if (bytes_written < static_cast<int>(data.length())) { data 119 base/files/important_file_writer.cc void ImportantFileWriter::WriteNow(const std::string& data) { data 121 base/files/important_file_writer.cc if (data.length() > static_cast<size_t>(kint32max)) { data 133 base/files/important_file_writer.cc path_, data)))) { data 139 base/files/important_file_writer.cc WriteFileAtomically(path_, data); data 157 base/files/important_file_writer.cc std::string data; data 158 base/files/important_file_writer.cc if (serializer_->SerializeData(&data)) { data 159 base/files/important_file_writer.cc WriteNow(data); data 48 base/files/important_file_writer.h virtual bool SerializeData(std::string* data) = 0; data 57 base/files/important_file_writer.h const std::string& data); data 79 base/files/important_file_writer.h void WriteNow(const std::string& data); data 32 base/files/important_file_writer_unittest.cc explicit DataSerializer(const std::string& data) : data_(data) { data 44 base/files/memory_mapped_file.h const uint8* data() const { return data_; } data 10 base/hash.cc extern "C" uint32_t SuperFastHash(const char* data, int len); data 14 base/hash.cc uint32 SuperFastHash(const char* data, int len) { data 15 base/hash.cc return ::SuperFastHash(data, len); data 18 base/hash.h BASE_EXPORT uint32 SuperFastHash(const char* data, int len); data 22 base/hash.h inline uint32 Hash(const char* data, size_t length) { data 27 base/hash.h return SuperFastHash(data, static_cast<int>(length)); data 33 base/hash.h return Hash(str.data(), str.size()); data 32 base/i18n/bidi_line_iterator.cc ubidi_setPara(bidi_, text.data(), static_cast<int>(text.length()), data 49 base/i18n/break_iterator.cc string_.data(), static_cast<int32_t>(string_.size()), data 14 base/i18n/case_conversion.cc icu::UnicodeString unicode_string(string.data(), string.size()); data 20 base/i18n/case_conversion.cc icu::UnicodeString unicode_string(string.data(), string.size()); data 14 base/i18n/char_iterator.cc : str_(reinterpret_cast<const uint8_t*>(str->data())), data 40 base/i18n/char_iterator.cc : str_(reinterpret_cast<const char16*>(str->data())), data 109 base/i18n/file_util_icu.cc U8_NEXT(file_name->data(), cursor, static_cast<int>(file_name->length()), data 113 base/i18n/file_util_icu.cc U16_NEXT(file_name->data(), cursor, static_cast<int>(file_name->length()), data 22 base/i18n/icu_encoding_detection.cc ucsdet_setText(detector, text.data(), static_cast<int32_t>(text.length()), data 41 base/i18n/icu_encoding_detection.cc ucsdet_setText(detector, text.data(), static_cast<int32_t>(text.length()), data 188 base/i18n/icu_string_conversions.cc static_cast<int>(uchar_max_length), encoded.data(), data 254 base/i18n/icu_string_conversions.cc static_cast<int>(wchar_max_length) * sizeof(wchar_t), encoded.data(), data 288 base/i18n/icu_string_conversions.cc return UTF16ToUTF8(normalized_utf16.data(), data 129 base/i18n/icu_util.cc udata_setCommonData(const_cast<uint8*>(mapped_file.data()), &err); data 24 base/i18n/streaming_utf8_validator.cc StreamingUtf8Validator::State StreamingUtf8Validator::AddBytes(const char* data, data 29 base/i18n/streaming_utf8_validator.cc for (const char* p = data; p != data + size; ++p) { data 55 base/i18n/streaming_utf8_validator.cc return StreamingUtf8Validator().AddBytes(string.data(), string.size()) == data 41 base/i18n/streaming_utf8_validator.h State AddBytes(const char* data, size_t size); data 242 base/i18n/streaming_utf8_validator_unittest.cc validator.AddBytes(sequence.data(), sequence.size())) data 283 base/i18n/streaming_utf8_validator_unittest.cc validator.AddBytes(c1.data(), c1.size()); data 284 base/i18n/streaming_utf8_validator_unittest.cc EXPECT_EQ(expected, validator.AddBytes(c2.data(), c2.size())) data 21 base/i18n/string_search.cc search_ = usearch_open(find_this_.data(), find_this_.size(), data 22 base/i18n/string_search.cc dummy.data(), dummy.size(), data 42 base/i18n/string_search.cc usearch_setText(search_, in_this.data(), in_this.size(), &status); data 62 base/i18n/string_search_unittest.cc SetICUDefaultLocale(default_locale.data()); data 180 base/i18n/string_search_unittest.cc SetICUDefaultLocale(default_locale.data()); data 222 base/i18n/string_search_unittest.cc SetICUDefaultLocale(default_locale.data()); data 58 base/id_map.h KeyType Add(T* data) { data 60 base/id_map.h CHECK(!check_on_null_data_ || data); data 63 base/id_map.h data_[this_id] = data; data 72 base/id_map.h void AddWithID(T* data, KeyType id) { data 74 base/id_map.h CHECK(!check_on_null_data_ || data); data 76 base/id_map.h data_[id] = data; data 39 base/json/json_file_value_serializer.cc if (base::WriteFile(json_file_path_, json_string.data(), data_size) != data 211 base/json/json_parser.cc start_pos_ = input_copy->data(); data 213 base/json/json_parser.cc start_pos_ = input.data(); data 19 base/json/json_parser_unittest.cc parser->start_pos_ = input.data(); data 81 base/json/string_escape.cc if (!ReadUnicodeCharacter(str.data(), length, &i, &code_point)) { data 600 base/logging.cc ignore_result(fwrite(str_newline.data(), str_newline.size(), 1, stderr)); data 606 base/logging.cc ignore_result(fwrite(str_newline.data(), str_newline.size(), 1, stderr)); data 632 base/logging.cc str_newline.data(), str_newline.size(), 1, log_file)); data 58 base/md5.cc #define MD5STEP(f, w, x, y, z, data, s) \ data 59 base/md5.cc ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x ) data 170 base/md5.cc void MD5Update(MD5Context* context, const StringPiece& data) { data 171 base/md5.cc const unsigned char* inbuf = (const unsigned char*)data.data(); data 172 base/md5.cc size_t len = data.size(); data 286 base/md5.cc void MD5Sum(const void* data, size_t length, MD5Digest* digest) { data 290 base/md5.cc StringPiece(reinterpret_cast<const char*>(data), length)); data 296 base/md5.cc MD5Sum(str.data(), str.length(), &digest); data 47 base/md5.h BASE_EXPORT void MD5Sum(const void* data, size_t length, MD5Digest* digest); data 56 base/md5.h BASE_EXPORT void MD5Update(MD5Context* context, const StringPiece& data); data 18 base/md5_unittest.cc int data[] = { data 26 base/md5_unittest.cc digest.a[i] = data[i] & 0xff; data 36 base/md5_unittest.cc const char* data = ""; data 38 base/md5_unittest.cc MD5Sum(data, strlen(data), &digest); data 53 base/md5_unittest.cc const char* data = "a"; data 55 base/md5_unittest.cc MD5Sum(data, strlen(data), &digest); data 70 base/md5_unittest.cc scoped_ptr<char[]> data(new char[length]); data 73 base/md5_unittest.cc data[i] = i & 0xFF; data 76 base/md5_unittest.cc MD5Sum(data.get(), length, &digest); data 112 base/md5_unittest.cc scoped_ptr<char[]> data(new char[length]); data 115 base/md5_unittest.cc data[i] = i & 0xFF; data 124 base/md5_unittest.cc StringPiece(reinterpret_cast<char*>(data.get() + total), len)); data 203 base/memory/ref_counted.h RefCountedData() : data() {} data 204 base/memory/ref_counted.h RefCountedData(const T& in_value) : data(in_value) {} data 206 base/memory/ref_counted.h T data; data 72 base/memory/ref_counted_memory.cc reinterpret_cast<const unsigned char*>(data_.data()); data 80 base/memory/ref_counted_memory.cc void* data, size_t length) data 81 base/memory/ref_counted_memory.cc : data_(reinterpret_cast<unsigned char*>(data)), length_(length) { data 82 base/memory/ref_counted_memory.cc DCHECK(data || length == 0); data 50 base/memory/ref_counted_memory.h RefCountedStaticMemory(const void* data, size_t length) data 51 base/memory/ref_counted_memory.h : data_(static_cast<const unsigned char*>(length ? data : NULL)), data 85 base/memory/ref_counted_memory.h const std::vector<unsigned char>& data() const { return data_; } data 86 base/memory/ref_counted_memory.h std::vector<unsigned char>& data() { return data_; } data 111 base/memory/ref_counted_memory.h const std::string& data() const { return data_; } data 112 base/memory/ref_counted_memory.h std::string& data() { return data_; } data 127 base/memory/ref_counted_memory.h RefCountedMallocedMemory(void* data, size_t length); data 20 base/memory/ref_counted_memory_unittest.cc std::vector<uint8> data; data 21 base/memory/ref_counted_memory_unittest.cc data.push_back(45); data 22 base/memory/ref_counted_memory_unittest.cc data.push_back(99); data 23 base/memory/ref_counted_memory_unittest.cc scoped_refptr<RefCountedMemory> mem = RefCountedBytes::TakeVector(&data); data 25 base/memory/ref_counted_memory_unittest.cc EXPECT_EQ(0U, data.size()); data 44 base/memory/ref_counted_memory_unittest.cc void* data = malloc(6); data 45 base/memory/ref_counted_memory_unittest.cc memcpy(data, "hello", 6); data 47 base/memory/ref_counted_memory_unittest.cc scoped_refptr<RefCountedMemory> mem = new RefCountedMallocedMemory(data, 6); data 377 base/memory/shared_memory_unittest.cc memcpy(writable_shmem.memory(), contents.data(), contents.size()); data 394 base/memory/shared_memory_unittest.cc memcpy(writable_shmem.memory(), new_contents.data(), new_contents.size()); data 452 base/memory/shared_memory_unittest.cc memcpy(shmem.memory(), contents.data(), contents.size()); data 188 base/memory/weak_ptr_unittest.cc int data; data 189 base/memory/weak_ptr_unittest.cc WeakPtrFactory<int> factory(&data); data 191 base/memory/weak_ptr_unittest.cc EXPECT_EQ(&data, ptr.get()); data 195 base/memory/weak_ptr_unittest.cc int data; data 196 base/memory/weak_ptr_unittest.cc WeakPtrFactory<int> factory(&data); data 206 base/memory/weak_ptr_unittest.cc int data; data 207 base/memory/weak_ptr_unittest.cc WeakPtrFactory<int> factory(&data); data 216 base/memory/weak_ptr_unittest.cc int data; data 217 base/memory/weak_ptr_unittest.cc WeakPtrFactory<int> factory(&data); data 220 base/memory/weak_ptr_unittest.cc EXPECT_EQ(&data, a.get()); data 221 base/memory/weak_ptr_unittest.cc EXPECT_EQ(&data, b.get()); data 230 base/memory/weak_ptr_unittest.cc int data; data 231 base/memory/weak_ptr_unittest.cc WeakPtrFactory<int> factory(&data); data 242 base/memory/weak_ptr_unittest.cc Base data; data 243 base/memory/weak_ptr_unittest.cc data.member = "123456"; data 244 base/memory/weak_ptr_unittest.cc WeakPtrFactory<Base> factory(&data); data 246 base/memory/weak_ptr_unittest.cc EXPECT_EQ(&data, ptr.get()); data 247 base/memory/weak_ptr_unittest.cc EXPECT_EQ(data.member, (*ptr).member); data 248 base/memory/weak_ptr_unittest.cc EXPECT_EQ(data.member, ptr->member); data 252 base/memory/weak_ptr_unittest.cc Derived data; data 253 base/memory/weak_ptr_unittest.cc WeakPtrFactory<Derived> factory(&data); data 256 base/memory/weak_ptr_unittest.cc EXPECT_EQ(ptr.get(), &data); data 272 base/memory/weak_ptr_unittest.cc int data; data 273 base/memory/weak_ptr_unittest.cc WeakPtrFactory<int> factory(&data); data 275 base/memory/weak_ptr_unittest.cc EXPECT_EQ(&data, ptr.get()); data 283 base/memory/weak_ptr_unittest.cc int data; data 284 base/memory/weak_ptr_unittest.cc WeakPtrFactory<int> factory(&data); data 115 base/message_loop/message_pump_gtk.cc void MessagePumpGtk::EventDispatcher(GdkEvent* event, gpointer data) { data 116 base/message_loop/message_pump_gtk.cc MessagePumpGtk* message_pump = reinterpret_cast<MessagePumpGtk*>(data); data 58 base/message_loop/message_pump_gtk.h static void EventDispatcher(GdkEvent* event, void* data); data 33 base/message_loop/message_pump_x11.cc gpointer data) { data 34 base/message_loop/message_pump_x11.cc MessagePumpX11* pump = static_cast<MessagePumpX11*>(data); data 95 base/message_loop/message_pump_x11.cc static_cast<XIEvent*>(xev->xcookie.data)->extension == g_xinput_opcode) { data 96 base/message_loop/message_pump_x11.cc target = static_cast<XIDeviceEvent*>(xev->xcookie.data)->event; data 78 base/metrics/histogram_delta_serialization.cc Pickle pickle(it->data(), checked_cast<int>(it->size())); data 93 base/metrics/histogram_delta_serialization.cc std::string(static_cast<const char*>(pickle.data()), pickle.size())); data 241 base/metrics/stats_table.cc char* data = static_cast<char*>(memory); data 244 base/metrics/stats_table.cc table_header_ = reinterpret_cast<TableHeader*>(data); data 251 base/metrics/stats_table.cc thread_names_table_ = reinterpret_cast<char*>(data + offset); data 256 base/metrics/stats_table.cc thread_tid_table_ = reinterpret_cast<PlatformThreadId*>(data + offset); data 260 base/metrics/stats_table.cc thread_pid_table_ = reinterpret_cast<int*>(data + offset); data 264 base/metrics/stats_table.cc counter_names_table_ = reinterpret_cast<char*>(data + offset); data 269 base/metrics/stats_table.cc data_table_ = reinterpret_cast<int*>(data + offset); data 333 base/metrics/stats_table.cc TLSData* data = GetTLSData(); data 334 base/metrics/stats_table.cc if (!data) data 336 base/metrics/stats_table.cc return data->slot; data 366 base/metrics/stats_table.cc TLSData* data = new TLSData; data 367 base/metrics/stats_table.cc data->table = this; data 368 base/metrics/stats_table.cc data->slot = slot; data 369 base/metrics/stats_table.cc tls_index_.Set(data); data 494 base/metrics/stats_table.cc void StatsTable::UnregisterThread(TLSData* data) { data 495 base/metrics/stats_table.cc if (!data) data 500 base/metrics/stats_table.cc char* name = internal_->thread_name(data->slot); data 505 base/metrics/stats_table.cc delete data; data 508 base/metrics/stats_table.cc void StatsTable::SlotReturnFunction(void* data) { data 512 base/metrics/stats_table.cc TLSData* tls_data = static_cast<TLSData*>(data); data 595 base/metrics/stats_table.cc TLSData* data = data 597 base/metrics/stats_table.cc if (!data) data 600 base/metrics/stats_table.cc DCHECK(data->slot); data 601 base/metrics/stats_table.cc DCHECK_EQ(data->table, this); data 602 base/metrics/stats_table.cc return data; data 155 base/metrics/stats_table.h static void SlotReturnFunction(void* data); data 584 base/nix/mime_util_xdg.cc std::string GetDataMimeType(const std::string& data) { data 587 base/nix/mime_util_xdg.cc return xdg_mime_get_mime_type_for_data(data.data(), data.length(), NULL); data 26 base/nix/mime_util_xdg.h BASE_EXPORT std::string GetDataMimeType(const std::string& data); data 144 base/pickle.cc bool PickleIterator::ReadData(const char** data, int* length) { data 146 base/pickle.cc *data = 0; data 151 base/pickle.cc return ReadBytes(data, *length); data 154 base/pickle.cc bool PickleIterator::ReadBytes(const char** data, int length) { data 158 base/pickle.cc *data = read_from; data 184 base/pickle.cc Pickle::Pickle(const char* data, int data_len) data 185 base/pickle.cc : header_(reinterpret_cast<Header*>(const_cast<char*>(data))), data 243 base/pickle.cc return WriteBytes(value.data(), static_cast<int>(value.size())); data 250 base/pickle.cc return WriteBytes(value.data(), data 258 base/pickle.cc return WriteBytes(value.data(), data 262 base/pickle.cc bool Pickle::WriteData(const char* data, int length) { data 263 base/pickle.cc return length >= 0 && WriteInt(length) && WriteBytes(data, length); data 266 base/pickle.cc bool Pickle::WriteBytes(const void* data, int length) { data 267 base/pickle.cc WriteBytesCommon(data, length); data 310 base/pickle.cc template <size_t length> void Pickle::WriteBytesStatic(const void* data) { data 311 base/pickle.cc WriteBytesCommon(data, length); data 314 base/pickle.cc template void Pickle::WriteBytesStatic<2>(const void* data); data 315 base/pickle.cc template void Pickle::WriteBytesStatic<4>(const void* data); data 316 base/pickle.cc template void Pickle::WriteBytesStatic<8>(const void* data); data 318 base/pickle.cc inline void Pickle::WriteBytesCommon(const void* data, size_t length) { data 333 base/pickle.cc memcpy(write, data, length); data 41 base/pickle.h bool ReadData(const char** data, int* length) WARN_UNUSED_RESULT; data 42 base/pickle.h bool ReadBytes(const char** data, int length) WARN_UNUSED_RESULT; data 117 base/pickle.h Pickle(const char* data, int data_len); data 136 base/pickle.h const void* data() const { return header_; } data 190 base/pickle.h const char** data, data 192 base/pickle.h return iter->ReadData(data, length); data 199 base/pickle.h const char** data, data 201 base/pickle.h return iter->ReadBytes(data, length); data 249 base/pickle.h bool WriteData(const char* data, int length); data 253 base/pickle.h bool WriteBytes(const void* data, int length); data 333 base/pickle.h template<size_t length> void WriteBytesStatic(const void* data); data 336 base/pickle.h template <typename T> bool WritePOD(const T& data) { data 337 base/pickle.h WriteBytesStatic<sizeof(data)>(&data); data 340 base/pickle.h inline void WriteBytesCommon(const void* data, size_t length); data 101 base/pickle_unittest.cc int data; data 102 base/pickle_unittest.cc EXPECT_FALSE(pickle.ReadInt(&iter, &data)); data 112 base/pickle_unittest.cc int data; data 113 base/pickle_unittest.cc EXPECT_FALSE(pickle.ReadInt(&iter, &data)); data 122 base/pickle_unittest.cc int data; data 123 base/pickle_unittest.cc EXPECT_FALSE(pickle.ReadInt(&iter, &data)); data 169 base/pickle_unittest.cc const char* start = reinterpret_cast<const char*>(pickle.data()); data 240 base/pickle_unittest.cc scoped_ptr<char[]> data(new char[unit]); data 241 base/pickle_unittest.cc char* data_ptr = data.get(); data 298 base/pickle_unittest.cc Pickle copy_refs_source_buffer(static_cast<const char*>(source.data()), data 354 base/pickle_unittest.cc int data = 0x7abcd; data 355 base/pickle_unittest.cc EXPECT_TRUE(pickle.WriteBytes(&data, sizeof(data))); data 359 base/pickle_unittest.cc EXPECT_TRUE(pickle.ReadBytes(&iter, &outdata_char, sizeof(data))); data 363 base/pickle_unittest.cc EXPECT_EQ(data, outdata); data 174 base/platform_file.h char* data, int size); data 178 base/platform_file.h char* data, int size); data 184 base/platform_file.h char* data, int size); data 188 base/platform_file.h char* data, int size); data 197 base/platform_file.h const char* data, int size); data 201 base/platform_file.h const char* data, int size); data 206 base/platform_file.h const char* data, int size); data 237 base/platform_file_posix.cc int ReadPlatformFile(PlatformFile file, int64 offset, char* data, int size) { data 245 base/platform_file_posix.cc rv = HANDLE_EINTR(pread(file, data + bytes_read, data 256 base/platform_file_posix.cc int ReadPlatformFileAtCurrentPos(PlatformFile file, char* data, int size) { data 264 base/platform_file_posix.cc rv = HANDLE_EINTR(read(file, data + bytes_read, size - bytes_read)); data 275 base/platform_file_posix.cc char* data, int size) { data 280 base/platform_file_posix.cc return HANDLE_EINTR(pread(file, data, size, offset)); data 284 base/platform_file_posix.cc char* data, int size) { data 289 base/platform_file_posix.cc return HANDLE_EINTR(read(file, data, size)); data 293 base/platform_file_posix.cc const char* data, int size) { data 297 base/platform_file_posix.cc return WritePlatformFileAtCurrentPos(file, data, size); data 305 base/platform_file_posix.cc rv = HANDLE_EINTR(pwrite(file, data + bytes_written, data 317 base/platform_file_posix.cc const char* data, int size) { data 325 base/platform_file_posix.cc rv = HANDLE_EINTR(write(file, data + bytes_written, size - bytes_written)); data 336 base/platform_file_posix.cc const char* data, int size) { data 341 base/platform_file_posix.cc return HANDLE_EINTR(write(file, data, size)); data 17 base/platform_file_unittest.cc int ReadFully(PlatformFile file, int64 offset, char* data, int size) { data 18 base/platform_file_unittest.cc return ReadPlatformFile(file, offset, data, size); data 24 base/platform_file_unittest.cc const char* data, int size) { data 25 base/platform_file_unittest.cc return WritePlatformFile(file, offset, data, size); data 359 base/platform_file_unittest.cc char data[] = "test"; data 361 base/platform_file_unittest.cc int bytes_written = WriteFully(file, 0, data, kTestDataSize); data 149 base/platform_file_win.cc int ReadPlatformFile(PlatformFile file, int64 offset, char* data, int size) { data 162 base/platform_file_win.cc if (::ReadFile(file, data, size, &bytes_read, &overlapped) != 0) data 170 base/platform_file_win.cc int ReadPlatformFileAtCurrentPos(PlatformFile file, char* data, int size) { data 176 base/platform_file_win.cc if (::ReadFile(file, data, size, &bytes_read, NULL) != 0) data 184 base/platform_file_win.cc int ReadPlatformFileNoBestEffort(PlatformFile file, int64 offset, char* data, data 186 base/platform_file_win.cc return ReadPlatformFile(file, offset, data, size); data 190 base/platform_file_win.cc char* data, int size) { data 191 base/platform_file_win.cc return ReadPlatformFileAtCurrentPos(file, data, size); data 195 base/platform_file_win.cc const char* data, int size) { data 208 base/platform_file_win.cc if (::WriteFile(file, data, size, &bytes_written, &overlapped) != 0) data 214 base/platform_file_win.cc int WritePlatformFileAtCurrentPos(PlatformFile file, const char* data, data 216 base/platform_file_win.cc return WritePlatformFile(file, 0, data, size); data 220 base/platform_file_win.cc const char* data, int size) { data 221 base/platform_file_win.cc return WritePlatformFile(file, 0, data, size); data 144 base/posix/unix_domain_socket_linux.cc if (!SendMsg(fd, request.data(), request.size(), fd_vector)) { data 319 base/process/launch_win.cc writable_command_line_string.assign(cl.data(), cl.size()); data 66 base/process/process_iterator_freebsd.cc std::string data; data 82 base/process/process_iterator_freebsd.cc data.resize(length); data 84 base/process/process_iterator_freebsd.cc if (sysctl(mib, arraysize(mib), &data[0], &length, NULL, 0) < 0) { data 91 base/process/process_iterator_freebsd.cc Tokenize(data, delimiters, &entry_.cmd_line_args_); data 93 base/process/process_iterator_freebsd.cc size_t exec_name_end = data.find('\0'); data 103 base/process/process_iterator_freebsd.cc size_t last_slash = data.rfind('/', exec_name_end); data 105 base/process/process_iterator_freebsd.cc entry_.exe_file_.assign(data, 0, exec_name_end); data 107 base/process/process_iterator_freebsd.cc entry_.exe_file_.assign(data, last_slash + 1, data 73 base/process/process_iterator_mac.cc std::string data; data 90 base/process/process_iterator_mac.cc data.resize(data_len); data 91 base/process/process_iterator_mac.cc if (sysctl(mib, arraysize(mib), &data[0], &data_len, NULL, 0) < 0) { data 102 base/process/process_iterator_mac.cc Tokenize(data, delimiters, &entry_.cmd_line_args_); data 107 base/process/process_iterator_mac.cc size_t exec_name_end = data.find('\0'); data 116 base/process/process_iterator_mac.cc size_t last_slash = data.rfind('/', exec_name_end); data 118 base/process/process_iterator_mac.cc entry_.exe_file_.assign(data, 0, exec_name_end); data 120 base/process/process_iterator_mac.cc entry_.exe_file_.assign(data, last_slash + 1, data 66 base/process/process_iterator_openbsd.cc std::string data; data 83 base/process/process_iterator_openbsd.cc data.resize(data_len); data 84 base/process/process_iterator_openbsd.cc if (sysctl(mib, arraysize(mib), &data[0], &data_len, NULL, 0) < 0) { data 95 base/process/process_iterator_openbsd.cc Tokenize(data, delimiters, &entry_.cmd_line_args_); data 100 base/process/process_iterator_openbsd.cc size_t exec_name_end = data.find('\0'); data 109 base/process/process_iterator_openbsd.cc size_t last_slash = data.rfind('/', exec_name_end); data 111 base/process/process_iterator_openbsd.cc entry_.exe_file_.assign(data, 0, exec_name_end); data 113 base/process/process_iterator_openbsd.cc entry_.exe_file_.assign(data, last_slash + 1, data 373 base/process/process_metrics_mac.cc vm_statistics_data_t data; data 375 base/process/process_metrics_mac.cc reinterpret_cast<host_info_t>(&data), data 389 base/process/process_metrics_mac.cc return (data.active_count * page_size) / 1024; data 24 base/sha1.h BASE_EXPORT void SHA1HashBytes(const unsigned char* data, size_t len, data 41 base/sha1_portable.cc void Update(const void* data, size_t nbytes); data 126 base/sha1_portable.cc void SecureHashAlgorithm::Update(const void* data, size_t nbytes) { data 127 base/sha1_portable.cc const uint8* d = reinterpret_cast<const uint8*>(data); data 206 base/sha1_portable.cc void SHA1HashBytes(const unsigned char* data, size_t len, data 209 base/sha1_portable.cc sha.Update(data, len); data 32 base/sha1_win.cc if (!CryptHashData(hash, reinterpret_cast<CONST BYTE*>(str.data()), data 25 base/strings/string_piece.cc const char* const data = characters_wanted.data(); data 27 base/strings/string_piece.cc table[static_cast<unsigned char>(data[i])] = true; data 43 base/strings/string_piece.cc return StringPiece::wordmemcmp(x.data(), y.data(), x.size()) == 0; data 47 base/strings/string_piece.cc o.write(piece.data(), static_cast<std::streamsize>(piece.size())); data 58 base/strings/string_piece.cc target->assign(self.data(), self.size()); data 72 base/strings/string_piece.cc target->append(self.data(), self.size()); data 89 base/strings/string_piece.cc memcpy(buf, self.data() + pos, ret * sizeof(typename STR::value_type)); data 179 base/strings/string_piece.cc if (self.data()[i] == c) data 204 base/strings/string_piece.cc return find(self, s.data()[0], pos); data 209 base/strings/string_piece.cc if (lookup[static_cast<unsigned char>(self.data()[i])]) { data 239 base/strings/string_piece.cc return find_first_not_of(self, s.data()[0], pos); data 244 base/strings/string_piece.cc if (!lookup[static_cast<unsigned char>(self.data()[i])]) { data 280 base/strings/string_piece.cc if (self.data()[pos] != c) { data 306 base/strings/string_piece.cc return rfind(self, s.data()[0], pos); data 311 base/strings/string_piece.cc if (lookup[static_cast<unsigned char>(self.data()[i])]) data 329 base/strings/string_piece.cc if (self.data()[self_i] == s[s_i]) data 351 base/strings/string_piece.cc return find_last_not_of(self, s.data()[0], pos); data 356 base/strings/string_piece.cc if (!lookup[static_cast<unsigned char>(self.data()[i])]) data 374 base/strings/string_piece.cc if (self.data()[self_i] == s[s_i]) { data 395 base/strings/string_piece.cc if (self.data()[i] != c) data 421 base/strings/string_piece.cc return BasicStringPiece<STR>(self.data() + pos, n); data 180 base/strings/string_piece.h : ptr_(str.data()), length_(str.size()) {} data 192 base/strings/string_piece.h const value_type* data() const { return ptr_; } data 201 base/strings/string_piece.h void set(const value_type* data, size_type len) { data 202 base/strings/string_piece.h ptr_ = data; data 233 base/strings/string_piece.h return empty() ? STRING_TYPE() : STRING_TYPE(data(), size()); data 369 base/strings/string_piece.h x.data(), y.data(), (x.size() < y.size() ? x.size() : y.size())); data 391 base/strings/string_piece.h return StringPiece16::wordmemcmp(x.data(), y.data(), x.size()) == 0; data 400 base/strings/string_piece.h x.data(), y.data(), (x.size() < y.size() ? x.size() : y.size())); data 157 base/strings/string_piece_unittest.cc ASSERT_EQ(*d.data(), static_cast<typename TypeParam::value_type>('f')); data 158 base/strings/string_piece_unittest.cc ASSERT_EQ(d.data()[5], static_cast<typename TypeParam::value_type>('r')); data 159 base/strings/string_piece_unittest.cc ASSERT_TRUE(e.data() == NULL); data 188 base/strings/string_piece_unittest.cc ASSERT_TRUE(d.data() == NULL); data 585 base/strings/string_piece_unittest.cc ASSERT_EQ(s.data(), (const typename TypeParam::value_type*)NULL); data 589 base/strings/string_piece_unittest.cc ASSERT_EQ(s.data(), (const typename TypeParam::value_type*)NULL); data 300 base/strings/string_split_unittest.cc } data[] = { data 315 base/strings/string_split_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(data); ++i) { data 317 base/strings/string_split_unittest.cc SplitStringAlongWhitespace(data[i].input, &results); data 318 base/strings/string_split_unittest.cc ASSERT_EQ(data[i].expected_result_count, results.size()); data 319 base/strings/string_split_unittest.cc if (data[i].expected_result_count > 0) data 320 base/strings/string_split_unittest.cc ASSERT_EQ(data[i].output1, results[0]); data 321 base/strings/string_split_unittest.cc if (data[i].expected_result_count > 1) data 322 base/strings/string_split_unittest.cc ASSERT_EQ(data[i].output2, results[1]); data 221 base/strings/string_util.cc const char* data = input.data(); data 230 base/strings/string_util.cc CBU8_NEXT(data, char_index, truncation_length, code_point); data 348 base/strings/string_util.cc const char *src = str.data(); data 856 base/strings/string_util.cc return MatchPatternT(eval.data(), eval.data() + eval.size(), data 857 base/strings/string_util.cc pattern.data(), pattern.data() + pattern.size(), data 23 base/strings/sys_string_conversions_posix.cc UTF8ToWide(utf8.data(), utf8.size(), &out); data 110 base/strings/sys_string_conversions_posix.cc const char* src = native_mb.data() + i; data 138 base/strings/sys_string_conversions_posix.cc const char* src = native_mb.data() + i; data 39 base/strings/sys_string_conversions_win.cc mb.data(), mb_length, NULL, 0); data 45 base/strings/sys_string_conversions_win.cc MultiByteToWideChar(code_page, 0, mb.data(), mb_length, &wide[0], charcount); data 57 base/strings/sys_string_conversions_win.cc int charcount = WideCharToMultiByte(code_page, 0, wide.data(), wide_length, data 64 base/strings/sys_string_conversions_win.cc WideCharToMultiByte(code_page, 0, wide.data(), wide_length, data 84 base/strings/utf_offset_string_conversions.cc UTF8ToUTF16AndAdjustOffsets(utf8.data(), utf8.length(), &result, data 95 base/strings/utf_offset_string_conversions.cc UTF8ToUTF16AndAdjustOffsets(utf8.data(), utf8.length(), &result, data 116 base/strings/utf_offset_string_conversions.cc PrepareForUTF8Output(utf16.data(), utf16.length(), &result); data 117 base/strings/utf_offset_string_conversions.cc ConvertUnicode(utf16.data(), utf16.length(), &result, offsets_for_adjustment); data 54 base/strings/utf_string_conversions.cc WideToUTF8(wide.data(), wide.length(), &ret); data 65 base/strings/utf_string_conversions.cc UTF8ToWide(utf8.data(), utf8.length(), &ret); data 104 base/strings/utf_string_conversions.cc WideToUTF16(wide.data(), wide.length(), &ret); data 118 base/strings/utf_string_conversions.cc UTF16ToWide(utf16.data(), utf16.length(), &ret); data 137 base/strings/utf_string_conversions.cc UTF8ToUTF16(utf8.data(), utf8.length(), &ret); data 150 base/strings/utf_string_conversions.cc UTF16ToUTF8(utf16.data(), utf16.length(), &ret); data 22 base/supports_user_data.cc void SupportsUserData::SetUserData(const void* key, Data* data) { data 24 base/supports_user_data.cc user_data_[key] = linked_ptr<Data>(data); data 36 base/supports_user_data.h void SetUserData(const void* key, Data* data); data 65 base/supports_user_data.h UserDataAdapter* data = data 67 base/supports_user_data.h return data ? static_cast<T*>(data->object_.get()) : NULL; data 26 base/sync_socket_unittest.cc int data = 0; data 31 base/sync_socket_unittest.cc &data, sizeof(data), base::TimeDelta::FromMilliseconds( data 67 base/test/android/javatests/src/org/chromium/base/test/util/AdvancedMockContext.java public void addSharedPreferences(String name, Map<String, Object> data) { data 69 base/test/android/javatests/src/org/chromium/base/test/util/AdvancedMockContext.java mSharedPreferences.put(name, new InMemorySharedPreferences(data)); data 28 base/test/android/javatests/src/org/chromium/base/test/util/InMemorySharedPreferences.java public InMemorySharedPreferences(Map<String, Object> data) { data 29 base/test/android/javatests/src/org/chromium/base/test/util/InMemorySharedPreferences.java mData = data; data 19 base/test/android/javatests/src/org/chromium/base/test/util/ScalableTimeout.java char[] data = TestFileUtil.readUtf8File(PROPERTY_FILE, 32); data 20 base/test/android/javatests/src/org/chromium/base/test/util/ScalableTimeout.java sTimeoutScale = Double.parseDouble(new String(data)); data 41 base/test/test_file_util_mac.cc if (msync(const_cast<uint8*>(mapped_file.data()), mapped_file.length(), data 46 base/test/trace_event_analyzer.cc phase = *phase_str.data(); data 40 base/test/trace_event_analyzer_unittest.cc buffer_.AddFragment(json_events_str->data()); data 41 base/third_party/superfasthash/superfasthash.c uint32_t SuperFastHash (const char * data, int len) { data 45 base/third_party/superfasthash/superfasthash.c if (len <= 0 || data == NULL) return 0; data 52 base/third_party/superfasthash/superfasthash.c hash += get16bits (data); data 53 base/third_party/superfasthash/superfasthash.c tmp = (get16bits (data+2) << 11) ^ hash; data 55 base/third_party/superfasthash/superfasthash.c data += 2*sizeof (uint16_t); data 61 base/third_party/superfasthash/superfasthash.c case 3: hash += get16bits (data); data 63 base/third_party/superfasthash/superfasthash.c hash ^= ((signed char)data[sizeof (uint16_t)]) << 18; data 66 base/third_party/superfasthash/superfasthash.c case 2: hash += get16bits (data); data 70 base/third_party/superfasthash/superfasthash.c case 1: hash += (signed char)*data; data 92 base/third_party/xdg_mime/xdgmime.c void *data; data 466 base/third_party/xdg_mime/xdgmime.c xdg_mime_get_mime_type_for_data (const void *data, data 481 base/third_party/xdg_mime/xdgmime.c mime_type = _xdg_mime_cache_get_mime_type_for_data (data, len, result_prio); data 483 base/third_party/xdg_mime/xdgmime.c mime_type = _xdg_mime_magic_lookup_data (global_magic, data, len, result_prio, NULL, 0); data 488 base/third_party/xdg_mime/xdgmime.c return _xdg_binary_or_text_fallback(data, len); data 501 base/third_party/xdg_mime/xdgmime.c unsigned char *data; data 539 base/third_party/xdg_mime/xdgmime.c data = malloc (max_extent); data 540 base/third_party/xdg_mime/xdgmime.c if (data == NULL) data 546 base/third_party/xdg_mime/xdgmime.c free (data); data 550 base/third_party/xdg_mime/xdgmime.c bytes_read = fread (data, 1, max_extent, file); data 553 base/third_party/xdg_mime/xdgmime.c free (data); data 558 base/third_party/xdg_mime/xdgmime.c mime_type = _xdg_mime_magic_lookup_data (global_magic, data, bytes_read, NULL, data 561 base/third_party/xdg_mime/xdgmime.c free (data); data 567 base/third_party/xdg_mime/xdgmime.c return _xdg_binary_or_text_fallback(data, bytes_read); data 666 base/third_party/xdg_mime/xdgmime.c (list->callback) (list->data); data 867 base/third_party/xdg_mime/xdgmime.c void *data, data 877 base/third_party/xdg_mime/xdgmime.c list_el->data = data; data 907 base/third_party/xdg_mime/xdgmime.c (list->destroy) (list->data); data 88 base/third_party/xdg_mime/xdgmime.h const char *xdg_mime_get_mime_type_for_data (const void *data, data 118 base/third_party/xdg_mime/xdgmime.h void *data, data 167 base/third_party/xdg_mime/xdgmimecache.c const void *data, data 190 base/third_party/xdg_mime/xdgmimecache.c ((((unsigned char *) data)[j + i]) & ((unsigned char *)cache->buffer)[mask_offset + j])) data 199 base/third_party/xdg_mime/xdgmimecache.c valid_matchlet = memcmp(cache->buffer + data_offset, data + i, data_length) == 0; data 212 base/third_party/xdg_mime/xdgmimecache.c const void *data, data 220 base/third_party/xdg_mime/xdgmimecache.c if (cache_magic_matchlet_compare_to_data (cache, offset, data, len)) data 228 base/third_party/xdg_mime/xdgmimecache.c data, len)) data 239 base/third_party/xdg_mime/xdgmimecache.c const void *data, data 253 base/third_party/xdg_mime/xdgmimecache.c data, len)) data 266 base/third_party/xdg_mime/xdgmimecache.c const void *data, data 289 base/third_party/xdg_mime/xdgmimecache.c data, len, prio); data 662 base/third_party/xdg_mime/xdgmimecache.c cache_get_mime_type_for_data (const void *data, data 680 base/third_party/xdg_mime/xdgmimecache.c match = cache_magic_lookup_data (cache, data, len, &prio, data 716 base/third_party/xdg_mime/xdgmimecache.c _xdg_mime_cache_get_mime_type_for_data (const void *data, data 720 base/third_party/xdg_mime/xdgmimecache.c return cache_get_mime_type_for_data (data, len, result_prio, NULL, 0); data 730 base/third_party/xdg_mime/xdgmimecache.c unsigned char *data; data 767 base/third_party/xdg_mime/xdgmimecache.c data = malloc (max_extent); data 768 base/third_party/xdg_mime/xdgmimecache.c if (data == NULL) data 774 base/third_party/xdg_mime/xdgmimecache.c free (data); data 778 base/third_party/xdg_mime/xdgmimecache.c bytes_read = fread (data, 1, max_extent, file); data 781 base/third_party/xdg_mime/xdgmimecache.c free (data); data 786 base/third_party/xdg_mime/xdgmimecache.c mime_type = cache_get_mime_type_for_data (data, bytes_read, NULL, data 790 base/third_party/xdg_mime/xdgmimecache.c mime_type = _xdg_binary_or_text_fallback(data, bytes_read); data 792 base/third_party/xdg_mime/xdgmimecache.c free (data); data 58 base/third_party/xdg_mime/xdgmimecache.h const char *_xdg_mime_cache_get_mime_type_for_data (const void *data, data 62 base/third_party/xdg_mime/xdgmimeglob.c const char *data; data 101 base/third_party/xdg_mime/xdgmimeglob.c if (ptr->data) data 102 base/third_party/xdg_mime/xdgmimeglob.c free ((void *) ptr->data); data 113 base/third_party/xdg_mime/xdgmimeglob.c void *data, data 124 base/third_party/xdg_mime/xdgmimeglob.c if (strcmp (tmp_element->data, data) == 0 && data 132 base/third_party/xdg_mime/xdgmimeglob.c new_element->data = data; data 426 base/third_party/xdg_mime/xdgmimeglob.c if (strcmp ((const char *)list->data, file_name) == 0) data 437 base/third_party/xdg_mime/xdgmimeglob.c strcmp ((const char *)list->data, lower_case) == 0) data 457 base/third_party/xdg_mime/xdgmimeglob.c if (fnmatch ((const char *)list->data, file_name, 0) == 0) data 584 base/third_party/xdg_mime/xdgmimeglob.c printf (" %s - %s %d\n", (char *)list->data, list->mime_type, list->weight); data 604 base/third_party/xdg_mime/xdgmimeglob.c printf (" %s - %s %d\n", (char *)list->data, list->mime_type, list->weight); data 193 base/third_party/xdg_mime/xdgmimeint.c _xdg_binary_or_text_fallback(const void *data, size_t len) data 198 base/third_party/xdg_mime/xdgmimeint.c chardata = (unsigned char *) data; data 76 base/third_party/xdg_mime/xdgmimeint.h const char *_xdg_binary_or_text_fallback(const void *data, size_t len); data 521 base/third_party/xdg_mime/xdgmimemagic.c const void *data, data 537 base/third_party/xdg_mime/xdgmimemagic.c ((((unsigned char *) data)[j + i]) & matchlet->mask[j])) data 548 base/third_party/xdg_mime/xdgmimemagic.c if (matchlet->value[j] != ((unsigned char *) data)[j + i]) data 563 base/third_party/xdg_mime/xdgmimemagic.c const void *data, data 569 base/third_party/xdg_mime/xdgmimemagic.c if (_xdg_mime_magic_matchlet_compare_to_data (matchlet, data, len)) data 576 base/third_party/xdg_mime/xdgmimemagic.c data, data 594 base/third_party/xdg_mime/xdgmimemagic.c const void *data, data 597 base/third_party/xdg_mime/xdgmimemagic.c return _xdg_mime_magic_matchlet_compare_level (match->matchlet, data, len, 0); data 657 base/third_party/xdg_mime/xdgmimemagic.c const void *data, data 672 base/third_party/xdg_mime/xdgmimemagic.c if (_xdg_mime_magic_match_compare_to_data (match, data, len)) data 51 base/third_party/xdg_mime/xdgmimemagic.h const void *data, data 276 base/threading/sequenced_worker_pool_unittest.cc virtual ~DeletionHelper() { deleted_flag_->data = true; } data 319 base/threading/sequenced_worker_pool_unittest.cc ASSERT_TRUE(deleted_flag->data); data 103 base/tracked_objects_unittest.cc ThreadData* data = ThreadData::Get(); data 105 base/tracked_objects_unittest.cc ASSERT_TRUE(data); data 106 base/tracked_objects_unittest.cc EXPECT_FALSE(data->next()); data 107 base/tracked_objects_unittest.cc EXPECT_EQ(data, ThreadData::Get()); data 111 base/tracked_objects_unittest.cc data->SnapshotMaps(false, &birth_map, &death_map, &parent_child_set); data 123 base/tracked_objects_unittest.cc data = ThreadData::Get(); data 125 base/tracked_objects_unittest.cc ASSERT_TRUE(data); data 126 base/tracked_objects_unittest.cc EXPECT_FALSE(data->next()); data 127 base/tracked_objects_unittest.cc EXPECT_EQ(data, ThreadData::Get()); data 131 base/tracked_objects_unittest.cc data->SnapshotMaps(false, &birth_map, &death_map, &parent_child_set); data 147 base/tracked_objects_unittest.cc ThreadData* data = ThreadData::first(); data 148 base/tracked_objects_unittest.cc ASSERT_TRUE(data); data 149 base/tracked_objects_unittest.cc EXPECT_FALSE(data->next()); data 150 base/tracked_objects_unittest.cc EXPECT_EQ(data, ThreadData::Get()); data 154 base/tracked_objects_unittest.cc data->SnapshotMaps(false, &birth_map, &death_map, &parent_child_set); data 177 base/tracked_objects_unittest.cc data->SnapshotMaps(false, &birth_map, &death_map, &parent_child_set); data 236 base/tracked_objects_unittest.cc scoped_ptr<DeathData> data(new DeathData()); data 237 base/tracked_objects_unittest.cc ASSERT_NE(data, reinterpret_cast<DeathData*>(NULL)); data 238 base/tracked_objects_unittest.cc EXPECT_EQ(data->run_duration_sum(), 0); data 239 base/tracked_objects_unittest.cc EXPECT_EQ(data->run_duration_sample(), 0); data 240 base/tracked_objects_unittest.cc EXPECT_EQ(data->queue_duration_sum(), 0); data 241 base/tracked_objects_unittest.cc EXPECT_EQ(data->queue_duration_sample(), 0); data 242 base/tracked_objects_unittest.cc EXPECT_EQ(data->count(), 0); data 248 base/tracked_objects_unittest.cc data->RecordDeath(queue_ms, run_ms, kUnrandomInt); data 249 base/tracked_objects_unittest.cc EXPECT_EQ(data->run_duration_sum(), run_ms); data 250 base/tracked_objects_unittest.cc EXPECT_EQ(data->run_duration_sample(), run_ms); data 251 base/tracked_objects_unittest.cc EXPECT_EQ(data->queue_duration_sum(), queue_ms); data 252 base/tracked_objects_unittest.cc EXPECT_EQ(data->queue_duration_sample(), queue_ms); data 253 base/tracked_objects_unittest.cc EXPECT_EQ(data->count(), 1); data 255 base/tracked_objects_unittest.cc data->RecordDeath(queue_ms, run_ms, kUnrandomInt); data 256 base/tracked_objects_unittest.cc EXPECT_EQ(data->run_duration_sum(), run_ms + run_ms); data 257 base/tracked_objects_unittest.cc EXPECT_EQ(data->run_duration_sample(), run_ms); data 258 base/tracked_objects_unittest.cc EXPECT_EQ(data->queue_duration_sum(), queue_ms + queue_ms); data 259 base/tracked_objects_unittest.cc EXPECT_EQ(data->queue_duration_sample(), queue_ms); data 260 base/tracked_objects_unittest.cc EXPECT_EQ(data->count(), 2); data 262 base/tracked_objects_unittest.cc DeathDataSnapshot snapshot(*data); data 67 base/win/event_trace_provider.h void SetField(int field, size_t size, const void *data) { data 70 base/win/event_trace_provider.h fields[field].DataPtr = reinterpret_cast<ULONG64>(data); data 46 base/win/event_trace_provider_unittest.cc DWORD data = 0; data 47 base/win/event_trace_provider_unittest.cc dummy.SetField(0, sizeof(data), &data); data 232 base/win/registry.cc void* data, data 236 base/win/registry.cc reinterpret_cast<LPBYTE>(data), dsize); data 282 base/win/registry.cc const void* data, data 285 base/win/registry.cc DCHECK(data || !dsize); data 288 base/win/registry.cc reinterpret_cast<LPBYTE>(const_cast<void*>(data)), dsize); data 99 base/win/registry.h void* data, data 113 base/win/registry.h const void* data, data 116 base/win/registry_unittest.cc std::wstring data(MAX_PATH * 2, L'a'); data 118 base/win/registry_unittest.cc ASSERT_EQ(ERROR_SUCCESS, key.WriteValue(data.c_str(), data.c_str())); data 122 base/win/registry_unittest.cc EXPECT_STREQ(data.c_str(), iterator.Name()); data 123 base/win/registry_unittest.cc EXPECT_STREQ(data.c_str(), iterator.Value()); data 14 base/win/resource_util.cc void** data, data 38 base/win/resource_util.cc *data = resource; data 45 base/win/resource_util.cc void** data, data 47 base/win/resource_util.cc return GetResourceFromModule(module, resource_id, L"BINDATA", data, length); data 25 base/win/resource_util.h void** data, data 33 base/win/resource_util.h void** data, data 58 base/win/scoped_bstr.cc uint32* data = reinterpret_cast<uint32*>(bstr_); data 59 base/win/scoped_bstr.cc data[-1] = static_cast<uint32>(bytes); data 36 base/win/scoped_hglobal.h T* data = data_; data 38 base/win/scoped_hglobal.h return data; data 24 cc/base/scoped_ptr_vector_unittest.cc bool operator()(const Data* data) { return (data->data() % 2) == 1; } data 38 cc/base/scoped_ptr_vector_unittest.cc EXPECT_EQ(1, v[0]->data()); data 39 cc/base/scoped_ptr_vector_unittest.cc EXPECT_EQ(2, v[1]->data()); data 40 cc/base/scoped_ptr_vector_unittest.cc EXPECT_EQ(3, v[2]->data()); data 41 cc/base/scoped_ptr_vector_unittest.cc EXPECT_EQ(4, v[3]->data()); data 42 cc/base/scoped_ptr_vector_unittest.cc EXPECT_EQ(5, v[4]->data()); data 60 cc/base/scoped_ptr_vector_unittest.cc EXPECT_EQ(6, (*it)->data()); data 65 cc/base/scoped_ptr_vector_unittest.cc EXPECT_EQ(1, v[0]->data()); data 66 cc/base/scoped_ptr_vector_unittest.cc EXPECT_EQ(2, v[1]->data()); data 67 cc/base/scoped_ptr_vector_unittest.cc EXPECT_EQ(3, v[2]->data()); data 68 cc/base/scoped_ptr_vector_unittest.cc EXPECT_EQ(4, v[3]->data()); data 69 cc/base/scoped_ptr_vector_unittest.cc EXPECT_EQ(5, v[4]->data()); data 70 cc/base/scoped_ptr_vector_unittest.cc EXPECT_EQ(6, v[5]->data()); data 91 cc/base/scoped_ptr_vector_unittest.cc EXPECT_EQ(1, (*second_it)->data() % 2); data 92 cc/base/scoped_ptr_vector_unittest.cc odd_numbers.insert((*second_it)->data()); data 98 cc/base/scoped_ptr_vector_unittest.cc EXPECT_EQ(0, (*it)->data() % 2); data 99 cc/base/scoped_ptr_vector_unittest.cc even_numbers.insert((*it)->data()); data 705 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(5, 5), gfx::Size(5, 5), false); data 706 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, data.total_size().width()); data 707 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, data.total_size().height()); data 708 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, data.num_tiles_x()); data 709 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, data.TileSizeX(0)); data 710 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, data.num_tiles_y()); data 711 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, data.TileSizeY(0)); data 713 cc/base/tiling_data_unittest.cc data.SetTotalSize(gfx::Size(6, 5)); data 714 cc/base/tiling_data_unittest.cc EXPECT_EQ(6, data.total_size().width()); data 715 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, data.total_size().height()); data 716 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, data.num_tiles_x()); data 717 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, data.TileSizeX(0)); data 718 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, data.TileSizeX(1)); data 719 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, data.num_tiles_y()); data 720 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, data.TileSizeY(0)); data 722 cc/base/tiling_data_unittest.cc data.SetTotalSize(gfx::Size(5, 12)); data 723 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, data.total_size().width()); data 724 cc/base/tiling_data_unittest.cc EXPECT_EQ(12, data.total_size().height()); data 725 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, data.num_tiles_x()); data 726 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, data.TileSizeX(0)); data 727 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, data.num_tiles_y()); data 728 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, data.TileSizeY(0)); data 729 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, data.TileSizeY(1)); data 730 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, data.TileSizeY(2)); data 734 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(8, 8), gfx::Size(16, 32), false); data 735 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, data.num_tiles_x()); data 736 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, data.num_tiles_y()); data 738 cc/base/tiling_data_unittest.cc data.SetMaxTextureSize(gfx::Size(32, 32)); data 739 cc/base/tiling_data_unittest.cc EXPECT_EQ(gfx::Size(32, 32), data.max_texture_size()); data 740 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, data.num_tiles_x()); data 741 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, data.num_tiles_y()); data 743 cc/base/tiling_data_unittest.cc data.SetMaxTextureSize(gfx::Size(2, 2)); data 744 cc/base/tiling_data_unittest.cc EXPECT_EQ(gfx::Size(2, 2), data.max_texture_size()); data 745 cc/base/tiling_data_unittest.cc EXPECT_EQ(8, data.num_tiles_x()); data 746 cc/base/tiling_data_unittest.cc EXPECT_EQ(16, data.num_tiles_y()); data 748 cc/base/tiling_data_unittest.cc data.SetMaxTextureSize(gfx::Size(5, 5)); data 749 cc/base/tiling_data_unittest.cc EXPECT_EQ(gfx::Size(5, 5), data.max_texture_size()); data 750 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, data.num_tiles_x()); data 751 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, data.num_tiles_y()); data 753 cc/base/tiling_data_unittest.cc data.SetMaxTextureSize(gfx::Size(8, 5)); data 754 cc/base/tiling_data_unittest.cc EXPECT_EQ(gfx::Size(8, 5), data.max_texture_size()); data 755 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, data.num_tiles_x()); data 756 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, data.num_tiles_y()); data 760 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(8, 8), gfx::Size(16, 32), true); data 761 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, data.num_tiles_x()); data 762 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, data.num_tiles_y()); data 764 cc/base/tiling_data_unittest.cc data.SetMaxTextureSize(gfx::Size(32, 32)); data 765 cc/base/tiling_data_unittest.cc EXPECT_EQ(gfx::Size(32, 32), data.max_texture_size()); data 766 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, data.num_tiles_x()); data 767 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, data.num_tiles_y()); data 769 cc/base/tiling_data_unittest.cc data.SetMaxTextureSize(gfx::Size(2, 2)); data 770 cc/base/tiling_data_unittest.cc EXPECT_EQ(gfx::Size(2, 2), data.max_texture_size()); data 771 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, data.num_tiles_x()); data 772 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, data.num_tiles_y()); data 774 cc/base/tiling_data_unittest.cc data.SetMaxTextureSize(gfx::Size(5, 5)); data 775 cc/base/tiling_data_unittest.cc EXPECT_EQ(gfx::Size(5, 5), data.max_texture_size()); data 776 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, data.num_tiles_x()); data 777 cc/base/tiling_data_unittest.cc EXPECT_EQ(10, data.num_tiles_y()); data 779 cc/base/tiling_data_unittest.cc data.SetMaxTextureSize(gfx::Size(8, 5)); data 780 cc/base/tiling_data_unittest.cc EXPECT_EQ(gfx::Size(8, 5), data.max_texture_size()); data 781 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, data.num_tiles_x()); data 782 cc/base/tiling_data_unittest.cc EXPECT_EQ(10, data.num_tiles_y()); data 809 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(8, 8), gfx::Size(16, 32), false); data 810 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, data.num_tiles_x()); data 811 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, data.num_tiles_y()); data 813 cc/base/tiling_data_unittest.cc data.SetHasBorderTexels(true); data 814 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, data.num_tiles_x()); data 815 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, data.num_tiles_y()); data 817 cc/base/tiling_data_unittest.cc data.SetHasBorderTexels(true); data 818 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, data.num_tiles_x()); data 819 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, data.num_tiles_y()); data 821 cc/base/tiling_data_unittest.cc data.SetHasBorderTexels(false); data 822 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, data.num_tiles_x()); data 823 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, data.num_tiles_y()); data 827 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(100, 80), gfx::Size(200, 145), 30); data 828 cc/base/tiling_data_unittest.cc EXPECT_EQ(30, data.border_texels()); data 830 cc/base/tiling_data_unittest.cc EXPECT_EQ(70, data.TileSizeX(0)); data 831 cc/base/tiling_data_unittest.cc EXPECT_EQ(40, data.TileSizeX(1)); data 832 cc/base/tiling_data_unittest.cc EXPECT_EQ(40, data.TileSizeX(2)); data 833 cc/base/tiling_data_unittest.cc EXPECT_EQ(50, data.TileSizeX(3)); data 834 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, data.num_tiles_x()); data 836 cc/base/tiling_data_unittest.cc EXPECT_EQ(50, data.TileSizeY(0)); data 837 cc/base/tiling_data_unittest.cc EXPECT_EQ(20, data.TileSizeY(1)); data 838 cc/base/tiling_data_unittest.cc EXPECT_EQ(20, data.TileSizeY(2)); data 839 cc/base/tiling_data_unittest.cc EXPECT_EQ(20, data.TileSizeY(3)); data 840 cc/base/tiling_data_unittest.cc EXPECT_EQ(35, data.TileSizeY(4)); data 841 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, data.num_tiles_y()); data 843 cc/base/tiling_data_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 70, 50), data.TileBounds(0, 0)); data 844 cc/base/tiling_data_unittest.cc EXPECT_RECT_EQ(gfx::Rect(70, 50, 40, 20), data.TileBounds(1, 1)); data 845 cc/base/tiling_data_unittest.cc EXPECT_RECT_EQ(gfx::Rect(110, 110, 40, 35), data.TileBounds(2, 4)); data 846 cc/base/tiling_data_unittest.cc EXPECT_RECT_EQ(gfx::Rect(150, 70, 50, 20), data.TileBounds(3, 2)); data 847 cc/base/tiling_data_unittest.cc EXPECT_RECT_EQ(gfx::Rect(150, 110, 50, 35), data.TileBounds(3, 4)); data 849 cc/base/tiling_data_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 100, 80), data.TileBoundsWithBorder(0, 0)); data 850 cc/base/tiling_data_unittest.cc EXPECT_RECT_EQ(gfx::Rect(40, 20, 100, 80), data.TileBoundsWithBorder(1, 1)); data 851 cc/base/tiling_data_unittest.cc EXPECT_RECT_EQ(gfx::Rect(80, 80, 100, 65), data.TileBoundsWithBorder(2, 4)); data 852 cc/base/tiling_data_unittest.cc EXPECT_RECT_EQ(gfx::Rect(120, 40, 80, 80), data.TileBoundsWithBorder(3, 2)); data 853 cc/base/tiling_data_unittest.cc EXPECT_RECT_EQ(gfx::Rect(120, 80, 80, 65), data.TileBoundsWithBorder(3, 4)); data 855 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, data.TileXIndexFromSrcCoord(0)); data 856 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, data.TileXIndexFromSrcCoord(69)); data 857 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, data.TileXIndexFromSrcCoord(70)); data 858 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, data.TileXIndexFromSrcCoord(109)); data 859 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, data.TileXIndexFromSrcCoord(110)); data 860 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, data.TileXIndexFromSrcCoord(149)); data 861 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, data.TileXIndexFromSrcCoord(150)); data 862 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, data.TileXIndexFromSrcCoord(199)); data 864 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, data.TileYIndexFromSrcCoord(0)); data 865 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, data.TileYIndexFromSrcCoord(49)); data 866 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, data.TileYIndexFromSrcCoord(50)); data 867 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, data.TileYIndexFromSrcCoord(69)); data 868 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, data.TileYIndexFromSrcCoord(70)); data 869 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, data.TileYIndexFromSrcCoord(89)); data 870 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, data.TileYIndexFromSrcCoord(90)); data 871 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, data.TileYIndexFromSrcCoord(109)); data 872 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, data.TileYIndexFromSrcCoord(110)); data 873 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, data.TileYIndexFromSrcCoord(144)); data 875 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, data.FirstBorderTileXIndexFromSrcCoord(0)); data 876 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, data.FirstBorderTileXIndexFromSrcCoord(99)); data 877 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, data.FirstBorderTileXIndexFromSrcCoord(100)); data 878 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, data.FirstBorderTileXIndexFromSrcCoord(139)); data 879 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, data.FirstBorderTileXIndexFromSrcCoord(140)); data 880 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, data.FirstBorderTileXIndexFromSrcCoord(179)); data 881 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, data.FirstBorderTileXIndexFromSrcCoord(180)); data 882 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, data.FirstBorderTileXIndexFromSrcCoord(199)); data 884 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, data.FirstBorderTileYIndexFromSrcCoord(0)); data 885 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, data.FirstBorderTileYIndexFromSrcCoord(79)); data 886 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, data.FirstBorderTileYIndexFromSrcCoord(80)); data 887 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, data.FirstBorderTileYIndexFromSrcCoord(99)); data 888 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, data.FirstBorderTileYIndexFromSrcCoord(100)); data 889 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, data.FirstBorderTileYIndexFromSrcCoord(119)); data 890 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, data.FirstBorderTileYIndexFromSrcCoord(120)); data 891 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, data.FirstBorderTileYIndexFromSrcCoord(139)); data 892 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, data.FirstBorderTileYIndexFromSrcCoord(140)); data 893 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, data.FirstBorderTileYIndexFromSrcCoord(144)); data 895 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, data.LastBorderTileXIndexFromSrcCoord(0)); data 896 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, data.LastBorderTileXIndexFromSrcCoord(39)); data 897 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, data.LastBorderTileXIndexFromSrcCoord(40)); data 898 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, data.LastBorderTileXIndexFromSrcCoord(79)); data 899 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, data.LastBorderTileXIndexFromSrcCoord(80)); data 900 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, data.LastBorderTileXIndexFromSrcCoord(119)); data 901 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, data.LastBorderTileXIndexFromSrcCoord(120)); data 902 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, data.LastBorderTileXIndexFromSrcCoord(199)); data 904 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, data.LastBorderTileYIndexFromSrcCoord(0)); data 905 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, data.LastBorderTileYIndexFromSrcCoord(19)); data 906 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, data.LastBorderTileYIndexFromSrcCoord(20)); data 907 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, data.LastBorderTileYIndexFromSrcCoord(39)); data 908 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, data.LastBorderTileYIndexFromSrcCoord(40)); data 909 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, data.LastBorderTileYIndexFromSrcCoord(59)); data 910 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, data.LastBorderTileYIndexFromSrcCoord(60)); data 911 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, data.LastBorderTileYIndexFromSrcCoord(79)); data 912 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, data.LastBorderTileYIndexFromSrcCoord(80)); data 913 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, data.LastBorderTileYIndexFromSrcCoord(144)); data 916 cc/base/tiling_data_unittest.cc void TestIterate(const TilingData& data, data 925 cc/base/tiling_data_unittest.cc EXPECT_LT(expect_right, data.num_tiles_x()); data 926 cc/base/tiling_data_unittest.cc EXPECT_LT(expect_bottom, data.num_tiles_y()); data 929 cc/base/tiling_data_unittest.cc for (int x = 0; x < data.num_tiles_x(); ++x) { data 930 cc/base/tiling_data_unittest.cc for (int y = 0; y < data.num_tiles_y(); ++y) { data 933 cc/base/tiling_data_unittest.cc bounds = data.TileBoundsWithBorder(x, y); data 935 cc/base/tiling_data_unittest.cc bounds = data.TileBounds(x, y); data 949 cc/base/tiling_data_unittest.cc for (TilingData::Iterator iter(&data, rect, include_borders); iter; data 969 cc/base/tiling_data_unittest.cc for (TilingData::DifferenceIterator iter(&data, rect, gfx::Rect()); data 986 cc/base/tiling_data_unittest.cc void TestIterateBorders(const TilingData& data, data 993 cc/base/tiling_data_unittest.cc TestIterate(data, data 1002 cc/base/tiling_data_unittest.cc void TestIterateNoBorders(const TilingData& data, data 1009 cc/base/tiling_data_unittest.cc TestIterate(data, data 1018 cc/base/tiling_data_unittest.cc void TestIterateAll(const TilingData& data, data 1025 cc/base/tiling_data_unittest.cc data, rect, expect_left, expect_top, expect_right, expect_bottom); data 1027 cc/base/tiling_data_unittest.cc data, rect, expect_left, expect_top, expect_right, expect_bottom); data 1031 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(10, 10), gfx::Size(40, 25), false); data 1034 cc/base/tiling_data_unittest.cc TestIterateAll(data, gfx::Rect(0, 0, 40, 25), 0, 0, 3, 2); data 1035 cc/base/tiling_data_unittest.cc TestIterateAll(data, gfx::Rect(15, 15, 8, 8), 1, 1, 2, 2); data 1038 cc/base/tiling_data_unittest.cc TestIterateAll(data, gfx::Rect(-100, -100, 1000, 1000), 0, 0, 3, 2); data 1039 cc/base/tiling_data_unittest.cc TestIterateAll(data, gfx::Rect(-100, 20, 1000, 1), 0, 2, 3, 2); data 1040 cc/base/tiling_data_unittest.cc TestIterateAll(data, gfx::Rect(29, -100, 31, 1000), 2, 0, 3, 2); data 1042 cc/base/tiling_data_unittest.cc TestIterateAll(data, gfx::Rect(60, 80, 100, 100), 0, 0, -1, -1); data 1046 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(10, 20), gfx::Size(25, 45), true); data 1049 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(0, 0, 25, 45), 0, 0, 2, 2); data 1050 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(18, 19, 3, 17), 2, 0, 2, 1); data 1051 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(10, 20, 6, 16), 1, 1, 1, 1); data 1052 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(9, 19, 8, 18), 0, 0, 2, 2); data 1054 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(-100, -100, 1000, 1000), 0, 0, 2, 2); data 1055 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(-100, 20, 1000, 1), 0, 1, 2, 1); data 1056 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(18, -100, 6, 1000), 2, 0, 2, 2); data 1058 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(60, 80, 100, 100), 0, 0, -1, -1); data 1062 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(10, 20), gfx::Size(25, 45), true); data 1065 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(0, 0, 25, 45), 0, 0, 2, 2); data 1066 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(17, 19, 3, 18), 2, 1, 2, 1); data 1067 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(17, 19, 3, 19), 2, 1, 2, 2); data 1068 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(8, 18, 9, 19), 0, 0, 1, 1); data 1069 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(9, 19, 9, 19), 1, 1, 2, 2); data 1071 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(-100, -100, 1000, 1000), 0, 0, 2, 2); data 1072 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(-100, 20, 1000, 1), 0, 1, 2, 1); data 1073 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(18, -100, 6, 1000), 2, 0, 2, 2); data 1075 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(60, 80, 100, 100), 0, 0, -1, -1); data 1079 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(50, 60), gfx::Size(65, 110), 20); data 1082 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(0, 0, 65, 110), 0, 0, 2, 3); data 1083 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(50, 60, 15, 65), 1, 1, 2, 3); data 1084 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(60, 30, 2, 10), 2, 0, 2, 1); data 1086 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(-100, -100, 1000, 1000), 0, 0, 2, 3); data 1087 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(-100, 10, 1000, 10), 0, 0, 2, 0); data 1088 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(10, -100, 10, 1000), 0, 0, 1, 3); data 1090 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(65, 110, 100, 100), 0, 0, -1, -1); data 1094 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(50, 60), gfx::Size(65, 110), 20); data 1097 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(0, 0, 65, 110), 0, 0, 2, 3); data 1098 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(30, 40, 15, 65), 1, 1, 2, 3); data 1099 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(60, 20, 2, 21), 2, 0, 2, 1); data 1101 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(-100, -100, 1000, 1000), 0, 0, 2, 3); data 1102 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(-100, 10, 1000, 10), 0, 0, 2, 0); data 1103 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(10, -100, 10, 1000), 0, 0, 0, 3); data 1105 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(65, 110, 100, 100), 0, 0, -1, -1); data 1126 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(100, 100), gfx::Size(), false); data 1127 cc/base/tiling_data_unittest.cc TestIterateAll(data, gfx::Rect(0, 0, 100, 100), 0, 0, -1, -1); data 1131 cc/base/tiling_data_unittest.cc const TilingData& data, data 1137 cc/base/tiling_data_unittest.cc for (int y = 0; y < data.num_tiles_y(); ++y) { data 1138 cc/base/tiling_data_unittest.cc for (int x = 0; x < data.num_tiles_x(); ++x) { data 1139 cc/base/tiling_data_unittest.cc gfx::Rect bounds = data.TileBoundsWithBorder(x, y); data 1148 cc/base/tiling_data_unittest.cc for (TilingData::DifferenceIterator iter(&data, consider, ignore); data 1172 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(10, 10), gfx::Size(40, 25), false); data 1175 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(0, 0, 40, 25), 0); data 1176 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(-100, -100, 200, 200), 0); data 1177 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(9, 9, 30, 15), 0); data 1178 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(15, 15, 8, 8), gfx::Rect(15, 15, 8, 8), 0); data 1181 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(-30, -20, 8, 8), 12); data 1182 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(), 12); data 1185 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(0, 0, 20, 19), 8); data 1187 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(20, 15, 20, 6), 8); data 1189 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(0, 15, 20, 6), 8); data 1191 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(20, 0, 20, 19), 8); data 1193 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(10, 10, 5, 5), 11); data 1196 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(0, 0, 11, 25), 6); data 1198 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(11, 0, 11, 25), 6); data 1200 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(30, 0, 2, 25), 9); data 1203 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(0, 5, 40, 5), 8); data 1205 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(0, 13, 40, 5), 8); data 1207 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(0, 13, 40, 12), 4); data 1210 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(8, 0, 32, 25), gfx::Rect(0, 12, 5, 12), 10); data 1213 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(5, 2, 20, 10), gfx::Rect(25, 15, 5, 10), 5); data 1219 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(50, 60), gfx::Size(65, 110), 20); data 1222 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 30, 55, 80), gfx::Rect(5, 30, 5, 15), 9); data 1225 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(10, 30, 55, 80), gfx::Rect(30, 59, 20, 1), 3); data 1228 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 65, 110), gfx::Rect(30, 59, 1, 2), 0); data 1246 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(100, 100), gfx::Size(), false); data 1247 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 100, 100), gfx::Rect(0, 0, 5, 5), 0); data 21 cc/layers/heads_up_display_layer_impl_unittest.cc AppendQuadsData data; data 24 cc/layers/heads_up_display_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); data 65 cc/layers/nine_patch_layer_impl_unittest.cc AppendQuadsData data; data 66 cc/layers/nine_patch_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); data 157 cc/layers/picture_image_layer_impl_unittest.cc AppendQuadsData data; data 159 cc/layers/picture_image_layer_impl_unittest.cc active_layer->AppendQuads(&quad_culler, &data); data 165 cc/layers/picture_image_layer_impl_unittest.cc EXPECT_FALSE(data.had_incomplete_tile); data 1247 cc/layers/picture_layer_impl_unittest.cc AppendQuadsData data; data 1249 cc/layers/picture_layer_impl_unittest.cc active_layer_->AppendQuads(&quad_culler, &data); data 294 cc/layers/scrollbar_layer_unittest.cc AppendQuadsData data; data 295 cc/layers/scrollbar_layer_unittest.cc scrollbar_layer_impl->AppendQuads(&quad_culler, &data); data 308 cc/layers/scrollbar_layer_unittest.cc AppendQuadsData data; data 309 cc/layers/scrollbar_layer_unittest.cc scrollbar_layer_impl->AppendQuads(&quad_culler, &data); data 324 cc/layers/scrollbar_layer_unittest.cc AppendQuadsData data; data 325 cc/layers/scrollbar_layer_unittest.cc scrollbar_layer_impl->AppendQuads(&quad_culler, &data); data 379 cc/layers/scrollbar_layer_unittest.cc AppendQuadsData data; data 380 cc/layers/scrollbar_layer_unittest.cc scrollbar_layer_impl->AppendQuads(&quad_culler, &data); data 40 cc/layers/solid_color_layer_impl_unittest.cc AppendQuadsData data; data 41 cc/layers/solid_color_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); data 66 cc/layers/solid_color_layer_impl_unittest.cc AppendQuadsData data; data 67 cc/layers/solid_color_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); data 93 cc/layers/solid_color_layer_impl_unittest.cc AppendQuadsData data; data 94 cc/layers/solid_color_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); data 138 cc/layers/solid_color_layer_impl_unittest.cc AppendQuadsData data; data 139 cc/layers/solid_color_layer_impl_unittest.cc layer_impl->AppendQuads(&quad_culler, &data); data 163 cc/layers/solid_color_layer_impl_unittest.cc AppendQuadsData data; data 164 cc/layers/solid_color_layer_impl_unittest.cc layer_impl->AppendQuads(&quad_culler, &data); data 82 cc/layers/tiled_layer_impl_unittest.cc AppendQuadsData data; data 83 cc/layers/tiled_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); data 104 cc/layers/tiled_layer_impl_unittest.cc AppendQuadsData data; data 106 cc/layers/tiled_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); data 131 cc/layers/tiled_layer_impl_unittest.cc AppendQuadsData data; data 133 cc/layers/tiled_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); data 145 cc/layers/tiled_layer_impl_unittest.cc AppendQuadsData data; data 146 cc/layers/tiled_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); data 164 cc/layers/tiled_layer_impl_unittest.cc AppendQuadsData data; data 165 cc/layers/tiled_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); data 167 cc/layers/tiled_layer_impl_unittest.cc EXPECT_EQ(0u, data.num_missing_tiles); data 180 cc/layers/tiled_layer_impl_unittest.cc AppendQuadsData data; data 181 cc/layers/tiled_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); data 182 cc/layers/tiled_layer_impl_unittest.cc EXPECT_LT(0u, data.num_missing_tiles); data 49 cc/layers/ui_resource_layer_impl_unittest.cc AppendQuadsData data; data 50 cc/layers/ui_resource_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); data 88 cc/layers/ui_resource_layer_impl_unittest.cc AppendQuadsData data; data 89 cc/layers/ui_resource_layer_impl_unittest.cc layer->AppendQuads(&quad_culler, &data); data 27 cc/output/geometry_binding.cc uint16 data[6]; data 135 cc/output/gl_renderer.cc xform.data[1] = 1.0f - xform.data[1]; data 136 cc/output/gl_renderer.cc xform.data[3] = -xform.data[3]; data 1870 cc/output/gl_renderer.cc draw_cache_.background_color_location, 1, background_color.data)); data 1954 cc/output/gl_renderer.cc quad_rect_matrix.matrix().asColMajorf(m.data); data 17 cc/output/gl_renderer_draw_cache.h float data[4]; data 22 cc/output/gl_renderer_draw_cache.h float data[16]; data 84 cc/output/program_binding.cc const char* shader_source_str[] = { shader_source.data() }; data 426 cc/output/renderer_pixeltest.cc uint8_t* y_row = video_frame->data(media::VideoFrame::kYPlane) + data 434 cc/output/renderer_pixeltest.cc uint8_t* u_row = video_frame->data(media::VideoFrame::kUPlane) + data 436 cc/output/renderer_pixeltest.cc uint8_t* v_row = video_frame->data(media::VideoFrame::kVPlane) + data 445 cc/output/renderer_pixeltest.cc memset(video_frame->data(media::VideoFrame::kAPlane), data 38 cc/resources/picture.cc std::vector<unsigned char> data; data 55 cc/resources/picture.cc &data); data 57 cc/resources/picture.cc encoding_succeeded = gfx::PNGCodec::EncodeBGRASkBitmap(bm, false, &data); data 62 cc/resources/picture.cc return SkData::NewWithCopy(&data.front(), data.size()); data 68 cc/resources/picture.cc const unsigned char* data = static_cast<const unsigned char *>(buffer); data 71 cc/resources/picture.cc if (gfx::PNGCodec::Decode(data, size, bm)) data 75 cc/resources/picture.cc scoped_ptr<SkBitmap> decoded_jpeg(gfx::JPEGCodec::Decode(data, size)); data 117 cc/resources/picture.cc SkMemoryStream stream(decoded.data(), decoded.size()); data 142 cc/resources/picture.cc SkMemoryStream stream(decoded.data(), decoded.size()); data 277 cc/resources/resource_provider_unittest.cc memcpy(pixels, texture->data.get(), TextureSizeBytes(size, format)); data 309 cc/resources/resource_provider_unittest.cc ASSERT_TRUE(texture->data.get()); data 316 cc/resources/resource_provider_unittest.cc uint8_t* dest = texture->data.get() + yoffset * out_pitch + data 502 cc/resources/resource_provider_unittest.cc uint8_t data[4] = { 1, 2, 3, 4 }; data 504 cc/resources/resource_provider_unittest.cc resource_provider->SetPixels(id, data, rect, rect, gfx::Vector2d()); data 510 cc/resources/resource_provider_unittest.cc EXPECT_EQ(0, memcmp(data, result, pixel_size)); data 1424 cc/resources/resource_provider_unittest.cc uint8_t data[4] = { 1, 2, 3, 4 }; data 1426 cc/resources/resource_provider_unittest.cc child_resource_provider_->SetPixels(id, data, rect, rect, gfx::Vector2d()); data 1474 cc/resources/resource_provider_unittest.cc uint8_t data[4] = {1, 2, 3, 4}; data 1476 cc/resources/resource_provider_unittest.cc child_resource_provider_->SetPixels(id, data, rect, rect, gfx::Vector2d()); data 1644 cc/resources/resource_provider_unittest.cc uint8_t data[4] = { 1, 2, 3, 4 }; data 1648 cc/resources/resource_provider_unittest.cc child_resource_provider->SetPixels(id, data, rect, rect, gfx::Vector2d()); data 1764 cc/resources/resource_provider_unittest.cc uint8_t data[4] = { 1, 2, 3, 4 }; data 1766 cc/resources/resource_provider_unittest.cc GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, &data); data 1806 cc/resources/resource_provider_unittest.cc EXPECT_EQ(0, memcmp(data, test_data, sizeof(data))); data 1856 cc/resources/resource_provider_unittest.cc EXPECT_EQ(0, memcmp(data, test_data, sizeof(data))); data 2610 cc/resources/resource_provider_unittest.cc const void* data)); data 149 cc/resources/texture_uploader_unittest.cc const uint8* data) { data 151 cc/resources/texture_uploader_unittest.cc data, gfx::Rect(size), gfx::Rect(size), gfx::Vector2d(), format, size); data 252 cc/resources/video_resource_updater.cc const uint8_t* input_plane_pixels = video_frame->data(i); data 329 cc/resources/video_resource_updater.cc RecycleResourceData data, data 344 cc/resources/video_resource_updater.cc updater->DeleteResource(data.resource_id); data 351 cc/resources/video_resource_updater.cc data.resource_format) { data 356 cc/resources/video_resource_updater.cc PlaneResource recycled_resource(data.resource_id, data 357 cc/resources/video_resource_updater.cc data.resource_size, data 358 cc/resources/video_resource_updater.cc data.resource_format, data 359 cc/resources/video_resource_updater.cc data.mailbox); data 106 cc/resources/video_resource_updater.h RecycleResourceData data, data 45 cc/test/fake_content_layer_client.h BitmapData data; data 46 cc/test/fake_content_layer_client.h data.bitmap = bitmap; data 47 cc/test/fake_content_layer_client.h data.point = point; data 48 cc/test/fake_content_layer_client.h data.paint = paint; data 49 cc/test/fake_content_layer_client.h draw_bitmaps_.push_back(data); data 24 cc/test/fake_ui_resource_layer_tree_host_impl.cc UIResourceData data; data 25 cc/test/fake_ui_resource_layer_tree_host_impl.cc data.resource_id = fake_next_resource_id_++; data 26 cc/test/fake_ui_resource_layer_tree_host_impl.cc data.size = bitmap.GetSize(); data 27 cc/test/fake_ui_resource_layer_tree_host_impl.cc data.opaque = bitmap.GetOpaque(); data 28 cc/test/fake_ui_resource_layer_tree_host_impl.cc fake_ui_resource_map_[uid] = data; data 120 cc/test/layer_test_common.cc AppendQuadsData data; data 125 cc/test/layer_test_common.cc layer_impl->AppendQuads(&quad_culler_, &data); data 133 cc/test/layer_test_common.cc AppendQuadsData data(id); data 138 cc/test/layer_test_common.cc layer_impl->AppendQuads(&quad_culler_, &data); data 145 cc/test/layer_test_common.cc AppendQuadsData data; data 151 cc/test/layer_test_common.cc surface_impl->AppendQuads(&quad_culler_, &data, for_replica, id); data 24 cc/test/pixel_test_utils.cc char* data = reinterpret_cast<char*>(&png_data[0]); data 26 cc/test/pixel_test_utils.cc return base::WriteFile(file_path, data, size) == size; data 267 cc/test/test_gles2_interface.cc const void* data) { data 269 cc/test/test_gles2_interface.cc target, level, internalformat, width, height, border, image_size, data); data 319 cc/test/test_gles2_interface.cc const void* data, data 321 cc/test/test_gles2_interface.cc test_context_->bufferData(target, size, data, usage); data 125 cc/test/test_gles2_interface.h const void* data) OVERRIDE; data 144 cc/test/test_gles2_interface.h const void* data, data 34 cc/test/test_texture.cc this->data.reset(new uint8_t[TextureSizeBytes(size, format)]); data 27 cc/test/test_texture.h scoped_ptr<uint8_t[]> data; data 490 cc/test/test_web_graphics_context_3d.cc const void* data, data 504 cc/test/test_web_graphics_context_3d.cc if (data != NULL) data 505 cc/test/test_web_graphics_context_3d.cc memcpy(buffer->pixels.get(), data, size); data 92 cc/test/test_web_graphics_context_3d.h const void* data) {} data 229 cc/test/test_web_graphics_context_3d.h const void* data, data 162 cc/trees/damage_tracker.cc RectMapData data(layer_id); data 165 cc/trees/damage_tracker.cc rect_history_.end(), data); data 169 cc/trees/damage_tracker.cc it = rect_history_.insert(it, data); data 284 cc/trees/damage_tracker.cc RectMapData& data = RectDataForLayer(layer->id(), &layer_is_new); data 285 cc/trees/damage_tracker.cc gfx::RectF old_rect_in_target_space = data.rect_; data 290 cc/trees/damage_tracker.cc data.Update(rect_in_target_space, mailboxId_); data 331 cc/trees/damage_tracker.cc RectMapData& data = RectDataForLayer(layer->id(), &surface_is_new); data 332 cc/trees/damage_tracker.cc gfx::RectF old_surface_rect = data.rect_; data 337 cc/trees/damage_tracker.cc data.Update(surface_rect_in_target_space, mailboxId_); data 374 cc/trees/damage_tracker.cc RectMapData& data = data 382 cc/trees/damage_tracker.cc data.Update(replica_mask_layer_rect, mailboxId_); data 1175 cc/trees/layer_tree_host.cc UIResourceClientData data; data 1176 cc/trees/layer_tree_host.cc data.client = client; data 1177 cc/trees/layer_tree_host.cc data.size = request.GetBitmap().GetSize(); data 1179 cc/trees/layer_tree_host.cc ui_resource_client_map_[request.GetId()] = data; data 1199 cc/trees/layer_tree_host.cc const UIResourceClientData& data = iter->second; data 1203 cc/trees/layer_tree_host.cc data.client->GetBitmap(uid, resource_lost)); data 1214 cc/trees/layer_tree_host.cc const UIResourceClientData& data = iter->second; data 1215 cc/trees/layer_tree_host.cc return data.size; data 1056 cc/trees/layer_tree_host_common.cc void Merge(const PreCalculateMetaInformationRecursiveData& data) { data 1058 cc/trees/layer_tree_host_common.cc data.layer_or_descendant_has_copy_request; data 1060 cc/trees/layer_tree_host_common.cc data.num_unclipped_descendants; data 2960 cc/trees/layer_tree_host_impl.cc UIResourceData data; data 2961 cc/trees/layer_tree_host_impl.cc data.resource_id = id; data 2962 cc/trees/layer_tree_host_impl.cc data.size = bitmap.GetSize(); data 2963 cc/trees/layer_tree_host_impl.cc data.opaque = bitmap.GetOpaque(); data 2965 cc/trees/layer_tree_host_impl.cc ui_resource_map_[uid] = data; data 48 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc AppendQuadsData data; data 49 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc picture_layer->AppendQuads(&quad_culler, &data); data 98 cc/trees/quad_culler_unittest.cc AppendQuadsData data; data 99 cc/trees/quad_culler_unittest.cc layer->AppendQuads(&quad_culler, &data); data 139 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerManager.java public void onAppDetailsRetrieved(AppData data) { data 140 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerManager.java if (data == null || !isBannerForCurrentPage(data.siteUrl())) return; data 142 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerManager.java mAppData = data; data 143 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerManager.java String imageUrl = data.imageUrl(); data 161 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java public static AppBannerView create(ContentView contentView, Observer observer, AppData data) { data 165 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java banner.initialize(observer, data); data 194 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java private void initialize(Observer observer, AppData data) { data 196 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java mAppData = data; data 345 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java ContentResolver contentResolver, Intent data) { data 19 chrome/android/java/src/org/chromium/chrome/browser/banners/AppDetailsDelegate.java public void onAppDetailsRetrieved(AppData data); data 52 chrome/android/java/src/org/chromium/chrome/browser/util/HashUtil.java private static String encodeHex(byte[] data) { data 53 chrome/android/java/src/org/chromium/chrome/browser/util/HashUtil.java StringBuilder sb = new StringBuilder(data.length * 2); data 55 chrome/android/java/src/org/chromium/chrome/browser/util/HashUtil.java for (byte b : data) { data 234 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java public void onActivityResult(int requestCode, int resultCode, Intent data) { data 235 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java mWindow.onActivityResult(requestCode, resultCode, data); data 2078 chrome/browser/about_flags.cc base::DictionaryValue* data = new base::DictionaryValue(); data 2079 chrome/browser/about_flags.cc data->SetString("internal_name", experiment.internal_name); data 2080 chrome/browser/about_flags.cc data->SetString("name", data 2082 chrome/browser/about_flags.cc data->SetString("description", data 2088 chrome/browser/about_flags.cc data->Set("supported_platforms", supported_platforms); data 2092 chrome/browser/about_flags.cc data->SetBoolean( data 2098 chrome/browser/about_flags.cc data->Set("choices", CreateChoiceData(experiment, enabled_experiments)); data 2112 chrome/browser/about_flags.cc supported_experiments->Append(data); data 2114 chrome/browser/about_flags.cc unsupported_experiments->Append(data); data 54 chrome/browser/android/bookmarks/partner_bookmarks_shim.cc PartnerBookmarksShim* data = data 57 chrome/browser/android/bookmarks/partner_bookmarks_shim.cc if (data) data 58 chrome/browser/android/bookmarks/partner_bookmarks_shim.cc return data; data 60 chrome/browser/android/bookmarks/partner_bookmarks_shim.cc data = new PartnerBookmarksShim( data 62 chrome/browser/android/bookmarks/partner_bookmarks_shim.cc browser_context->SetUserData(kPartnerBookmarksShimUserDataKey, data); data 63 chrome/browser/android/bookmarks/partner_bookmarks_shim.cc data->ReloadNodeMapping(); data 64 chrome/browser/android/bookmarks/partner_bookmarks_shim.cc return data; data 286 chrome/browser/android/dev_tools_server.cc scoped_refptr<base::RefCountedMemory> data; data 287 chrome/browser/android/dev_tools_server.cc if (top_sites->GetPageThumbnail(url, false, &data)) data 288 chrome/browser/android/dev_tools_server.cc return std::string(data->front_as<char>(), data->size()); data 102 chrome/browser/android/most_visited_sites.cc scoped_refptr<base::RefCountedMemory> data; data 103 chrome/browser/android/most_visited_sites.cc if (top_sites->GetPageThumbnail(gurl, false, &data)) { data 104 chrome/browser/android/most_visited_sites.cc SkBitmap thumbnail_bitmap = ExtractThumbnail(*data.get()); data 37 chrome/browser/android/prerender_condition_platform.cc base::SupportsUserData::Data* data = context_->GetUserData(kAllowPrerender); data 38 chrome/browser/android/prerender_condition_platform.cc if (!data) data 40 chrome/browser/android/prerender_condition_platform.cc BooleanWrapper* b = static_cast<BooleanWrapper*>(data); data 218 chrome/browser/autocomplete/autocomplete_provider_unittest.cc TemplateURLData data; data 219 chrome/browser/autocomplete/autocomplete_provider_unittest.cc data.SetURL(template_url); data 220 chrome/browser/autocomplete/autocomplete_provider_unittest.cc data.SetKeyword(keyword); data 221 chrome/browser/autocomplete/autocomplete_provider_unittest.cc TemplateURL* default_t_url = new TemplateURL(&profile_, data); data 295 chrome/browser/autocomplete/autocomplete_provider_unittest.cc TemplateURLData data; data 296 chrome/browser/autocomplete/autocomplete_provider_unittest.cc data.SetURL("http://defaultturl/{searchTerms}"); data 297 chrome/browser/autocomplete/autocomplete_provider_unittest.cc TemplateURL* default_t_url = new TemplateURL(&profile_, data); data 306 chrome/browser/autocomplete/autocomplete_provider_unittest.cc data.short_name = base::ASCIIToUTF16("k"); data 307 chrome/browser/autocomplete/autocomplete_provider_unittest.cc data.SetKeyword(base::ASCIIToUTF16("k")); data 308 chrome/browser/autocomplete/autocomplete_provider_unittest.cc data.SetURL("http://keyword/{searchTerms}"); data 309 chrome/browser/autocomplete/autocomplete_provider_unittest.cc TemplateURL* keyword_t_url = new TemplateURL(&profile_, data); data 326 chrome/browser/autocomplete/autocomplete_provider_unittest.cc TemplateURLData data; data 327 chrome/browser/autocomplete/autocomplete_provider_unittest.cc data.short_name = base::ASCIIToUTF16("foo.com"); data 328 chrome/browser/autocomplete/autocomplete_provider_unittest.cc data.SetKeyword(base::ASCIIToUTF16("foo.com")); data 329 chrome/browser/autocomplete/autocomplete_provider_unittest.cc data.SetURL("http://foo.com/{searchTerms}"); data 330 chrome/browser/autocomplete/autocomplete_provider_unittest.cc TemplateURL* keyword_t_url = new TemplateURL(&profile_, data); data 335 chrome/browser/autocomplete/autocomplete_provider_unittest.cc data.short_name = base::ASCIIToUTF16("bar.com"); data 336 chrome/browser/autocomplete/autocomplete_provider_unittest.cc data.SetKeyword(base::ASCIIToUTF16("bar.com")); data 337 chrome/browser/autocomplete/autocomplete_provider_unittest.cc data.SetURL("http://bar.com/{searchTerms}"); data 338 chrome/browser/autocomplete/autocomplete_provider_unittest.cc keyword_t_url = new TemplateURL(&profile_, data); data 47 chrome/browser/autocomplete/autocomplete_result_unittest.cc const AutocompleteMatchTestData* data, data 53 chrome/browser/autocomplete/autocomplete_result_unittest.cc match.destination_url = GURL(data[i].destination_url); data 57 chrome/browser/autocomplete/autocomplete_result_unittest.cc match.type = data[i].type; data 104 chrome/browser/autocomplete/autocomplete_result_unittest.cc static void PopulateAutocompleteMatch(const TestData& data, data 108 chrome/browser/autocomplete/autocomplete_result_unittest.cc static void PopulateAutocompleteMatches(const TestData* data, data 134 chrome/browser/autocomplete/autocomplete_result_unittest.cc const TestData& data, data 136 chrome/browser/autocomplete/autocomplete_result_unittest.cc match->provider = reinterpret_cast<AutocompleteProvider*>(data.provider_id); data 137 chrome/browser/autocomplete/autocomplete_result_unittest.cc match->fill_into_edit = base::IntToString16(data.url_id); data 138 chrome/browser/autocomplete/autocomplete_result_unittest.cc std::string url_id(1, data.url_id + 'a'); data 140 chrome/browser/autocomplete/autocomplete_result_unittest.cc match->relevance = data.relevance; data 142 chrome/browser/autocomplete/autocomplete_result_unittest.cc match->duplicate_matches = data.duplicate_matches; data 147 chrome/browser/autocomplete/autocomplete_result_unittest.cc const TestData* data, data 152 chrome/browser/autocomplete/autocomplete_result_unittest.cc PopulateAutocompleteMatch(data[i], &match); data 280 chrome/browser/autocomplete/autocomplete_result_unittest.cc TestData data[] = { data 289 chrome/browser/autocomplete/autocomplete_result_unittest.cc PopulateAutocompleteMatches(data, arraysize(data), &matches); data 324 chrome/browser/autocomplete/autocomplete_result_unittest.cc TestData data[] = { data 333 chrome/browser/autocomplete/autocomplete_result_unittest.cc PopulateAutocompleteMatches(data, arraysize(data), &matches); data 374 chrome/browser/autocomplete/autocomplete_result_unittest.cc TestData data[] = { data 384 chrome/browser/autocomplete/autocomplete_result_unittest.cc PopulateAutocompleteMatches(data, arraysize(data), &matches); data 423 chrome/browser/autocomplete/autocomplete_result_unittest.cc const AutocompleteMatchTestData data[] = { data 430 chrome/browser/autocomplete/autocomplete_result_unittest.cc PopulateAutocompleteMatchesFromTestData(data, arraysize(data), &matches); data 518 chrome/browser/autocomplete/autocomplete_result_unittest.cc TestData data[] = { data 530 chrome/browser/autocomplete/autocomplete_result_unittest.cc PopulateAutocompleteMatches(data, arraysize(data), &matches); data 538 chrome/browser/autocomplete/autocomplete_result_unittest.cc AssertResultMatches(result, data, 4); data 544 chrome/browser/autocomplete/autocomplete_result_unittest.cc PopulateAutocompleteMatches(data, arraysize(data), &matches); data 524 chrome/browser/autocomplete/base_search_provider.cc scoped_ptr<base::Value> data(deserializer.Deserialize(&error_code, NULL)); data 526 chrome/browser/autocomplete/base_search_provider.cc return data.Pass(); data 647 chrome/browser/autocomplete/base_search_provider.cc scoped_ptr<base::Value> data(DeserializeJsonData(json_data)); data 648 chrome/browser/autocomplete/base_search_provider.cc results_updated = data.get() && ParseSuggestResults( data 649 chrome/browser/autocomplete/base_search_provider.cc *data.get(), is_keyword, GetResultsToFill(is_keyword)); data 587 chrome/browser/autocomplete/history_quick_provider_unittest.cc TemplateURLData data; data 588 chrome/browser/autocomplete/history_quick_provider_unittest.cc data.SetKeyword(ASCIIToUTF16("TestEngine")); data 589 chrome/browser/autocomplete/history_quick_provider_unittest.cc data.SetURL("http://testsearch.com/?q={searchTerms}"); data 592 chrome/browser/autocomplete/history_quick_provider_unittest.cc TemplateURL* template_url = new TemplateURL(profile_.get(), data); data 370 chrome/browser/autocomplete/history_url_provider.cc default_search_provider->data()) : NULL), data 727 chrome/browser/autocomplete/history_url_provider.cc UIThreadSearchTermsData data(profile_); data 736 chrome/browser/autocomplete/history_url_provider.cc default_search_provider, data)); data 796 chrome/browser/autocomplete/history_url_provider_unittest.cc TemplateURLData data; data 797 chrome/browser/autocomplete/history_url_provider_unittest.cc data.SetKeyword(ASCIIToUTF16("TestEngine")); data 798 chrome/browser/autocomplete/history_url_provider_unittest.cc data.SetURL("http://testsearch.com/?q={searchTerms}"); data 801 chrome/browser/autocomplete/history_url_provider_unittest.cc TemplateURL* template_url = new TemplateURL(profile_.get(), data); data 257 chrome/browser/autocomplete/keyword_provider_unittest.cc TemplateURLData data; data 258 chrome/browser/autocomplete/keyword_provider_unittest.cc data.short_name = ASCIIToUTF16("Test"); data 260 chrome/browser/autocomplete/keyword_provider_unittest.cc data.SetKeyword(keyword); data 261 chrome/browser/autocomplete/keyword_provider_unittest.cc data.SetURL("http://www.google.com/foo?q={searchTerms}"); data 262 chrome/browser/autocomplete/keyword_provider_unittest.cc TemplateURL* template_url = new TemplateURL(NULL, data); data 249 chrome/browser/autocomplete/search_provider_unittest.cc TemplateURLData data; data 250 chrome/browser/autocomplete/search_provider_unittest.cc data.short_name = ASCIIToUTF16("t"); data 251 chrome/browser/autocomplete/search_provider_unittest.cc data.SetURL("http://defaultturl/{searchTerms}"); data 252 chrome/browser/autocomplete/search_provider_unittest.cc data.suggestions_url = "http://defaultturl2/{searchTerms}"; data 253 chrome/browser/autocomplete/search_provider_unittest.cc data.instant_url = "http://does/not/exist?strk=1"; data 254 chrome/browser/autocomplete/search_provider_unittest.cc data.search_terms_replacement_key = "strk"; data 255 chrome/browser/autocomplete/search_provider_unittest.cc default_t_url_ = new TemplateURL(&profile_, data); data 265 chrome/browser/autocomplete/search_provider_unittest.cc data.short_name = ASCIIToUTF16("k"); data 266 chrome/browser/autocomplete/search_provider_unittest.cc data.SetKeyword(ASCIIToUTF16("k")); data 267 chrome/browser/autocomplete/search_provider_unittest.cc data.SetURL("http://keyword/{searchTerms}"); data 268 chrome/browser/autocomplete/search_provider_unittest.cc data.suggestions_url = "http://suggest_keyword/{searchTerms}"; data 269 chrome/browser/autocomplete/search_provider_unittest.cc keyword_t_url_ = new TemplateURL(&profile_, data); data 1020 chrome/browser/autocomplete/search_provider_unittest.cc TemplateURLData data; data 1021 chrome/browser/autocomplete/search_provider_unittest.cc data.short_name = ASCIIToUTF16("default"); data 1022 chrome/browser/autocomplete/search_provider_unittest.cc data.SetKeyword(data.short_name); data 1023 chrome/browser/autocomplete/search_provider_unittest.cc data.SetURL("{google:baseURL}{searchTerms}"); data 1024 chrome/browser/autocomplete/search_provider_unittest.cc default_t_url_ = new TemplateURL(&profile_, data); data 102 chrome/browser/autocomplete/shortcuts_backend_unittest.cc TemplateURLData data; data 103 chrome/browser/autocomplete/shortcuts_backend_unittest.cc data.SetURL("http://foo.com/search?bar={searchTerms}"); data 104 chrome/browser/autocomplete/shortcuts_backend_unittest.cc data.SetKeyword(base::UTF8ToUTF16("foo")); data 106 chrome/browser/autocomplete/shortcuts_backend_unittest.cc TemplateURL* template_url = new TemplateURL(&profile_, data); data 174 chrome/browser/autofill/autofill_browsertest.cc void FillFormAndSubmit(const std::string& filename, const FormMap& data) { data 179 chrome/browser/autofill/autofill_browsertest.cc for (FormMap::const_iterator i = data.begin(); i != data.end(); ++i) { data 201 chrome/browser/autofill/autofill_browsertest.cc FormMap data; data 202 chrome/browser/autofill/autofill_browsertest.cc data["CREDIT_CARD_NAME"] = name; data 203 chrome/browser/autofill/autofill_browsertest.cc data["CREDIT_CARD_NUMBER"] = number; data 204 chrome/browser/autofill/autofill_browsertest.cc data["CREDIT_CARD_EXP_MONTH"] = exp_month; data 205 chrome/browser/autofill/autofill_browsertest.cc data["CREDIT_CARD_EXP_4_DIGIT_YEAR"] = exp_year; data 206 chrome/browser/autofill/autofill_browsertest.cc FillFormAndSubmit("autofill_creditcard_form.html", data); data 214 chrome/browser/autofill/autofill_browsertest.cc std::string data; data 218 chrome/browser/autofill/autofill_browsertest.cc CHECK(base::ReadFileToString(data_file, &data)); data 220 chrome/browser/autofill/autofill_browsertest.cc base::SplitString(data, '\n', &lines); data 234 chrome/browser/autofill/autofill_browsertest.cc FormMap data; data 235 chrome/browser/autofill/autofill_browsertest.cc data["NAME_FIRST"] = fields[0]; data 236 chrome/browser/autofill/autofill_browsertest.cc data["NAME_MIDDLE"] = fields[1]; data 237 chrome/browser/autofill/autofill_browsertest.cc data["NAME_LAST"] = fields[2]; data 238 chrome/browser/autofill/autofill_browsertest.cc data["EMAIL_ADDRESS"] = fields[3]; data 239 chrome/browser/autofill/autofill_browsertest.cc data["COMPANY_NAME"] = fields[4]; data 240 chrome/browser/autofill/autofill_browsertest.cc data["ADDRESS_HOME_LINE1"] = fields[5]; data 241 chrome/browser/autofill/autofill_browsertest.cc data["ADDRESS_HOME_LINE2"] = fields[6]; data 242 chrome/browser/autofill/autofill_browsertest.cc data["ADDRESS_HOME_CITY"] = fields[7]; data 243 chrome/browser/autofill/autofill_browsertest.cc data["ADDRESS_HOME_STATE"] = fields[8]; data 244 chrome/browser/autofill/autofill_browsertest.cc data["ADDRESS_HOME_ZIP"] = fields[9]; data 245 chrome/browser/autofill/autofill_browsertest.cc data["ADDRESS_HOME_COUNTRY"] = fields[10]; data 246 chrome/browser/autofill/autofill_browsertest.cc data["PHONE_HOME_WHOLE_NUMBER"] = fields[11]; data 248 chrome/browser/autofill/autofill_browsertest.cc FillFormAndSubmit("duplicate_profiles_test.html", data); data 530 chrome/browser/autofill/autofill_browsertest.cc FormMap data; data 531 chrome/browser/autofill/autofill_browsertest.cc data["NAME_FIRST"] = "Bob"; data 532 chrome/browser/autofill/autofill_browsertest.cc data["NAME_LAST"] = "Smith"; data 533 chrome/browser/autofill/autofill_browsertest.cc data["ADDRESS_HOME_LINE1"] = "1234 H St."; data 534 chrome/browser/autofill/autofill_browsertest.cc data["ADDRESS_HOME_CITY"] = "Mountain View"; data 535 chrome/browser/autofill/autofill_browsertest.cc data["ADDRESS_HOME_STATE"] = "CA"; data 536 chrome/browser/autofill/autofill_browsertest.cc data["ADDRESS_HOME_ZIP"] = "94043"; data 537 chrome/browser/autofill/autofill_browsertest.cc FillFormAndSubmit("duplicate_profiles_test.html", data); data 547 chrome/browser/autofill/autofill_browsertest.cc FormMap data; data 548 chrome/browser/autofill/autofill_browsertest.cc data["NAME_FIRST"] = "Bob"; data 549 chrome/browser/autofill/autofill_browsertest.cc data["NAME_LAST"] = "Smith"; data 550 chrome/browser/autofill/autofill_browsertest.cc data["EMAIL_ADDRESS"] = "bsmith@example.com"; data 551 chrome/browser/autofill/autofill_browsertest.cc data["COMPANY_NAME"] = "Mountain View"; data 552 chrome/browser/autofill/autofill_browsertest.cc data["ADDRESS_HOME_CITY"] = "Mountain View"; data 553 chrome/browser/autofill/autofill_browsertest.cc data["PHONE_HOME_WHOLE_NUMBER"] = "650-555-4567"; data 554 chrome/browser/autofill/autofill_browsertest.cc FillFormAndSubmit("duplicate_profiles_test.html", data); data 562 chrome/browser/autofill/autofill_browsertest.cc FormMap data; data 563 chrome/browser/autofill/autofill_browsertest.cc data["NAME_FIRST"] = "Bob"; data 564 chrome/browser/autofill/autofill_browsertest.cc data["NAME_LAST"] = "Smith"; data 565 chrome/browser/autofill/autofill_browsertest.cc data["EMAIL_ADDRESS"] = "garbage"; data 566 chrome/browser/autofill/autofill_browsertest.cc data["ADDRESS_HOME_LINE1"] = "1234 H St."; data 567 chrome/browser/autofill/autofill_browsertest.cc data["ADDRESS_HOME_CITY"] = "San Jose"; data 568 chrome/browser/autofill/autofill_browsertest.cc data["ADDRESS_HOME_STATE"] = "CA"; data 569 chrome/browser/autofill/autofill_browsertest.cc data["ADDRESS_HOME_ZIP"] = "95110"; data 570 chrome/browser/autofill/autofill_browsertest.cc data["COMPANY_NAME"] = "Company X"; data 571 chrome/browser/autofill/autofill_browsertest.cc data["PHONE_HOME_WHOLE_NUMBER"] = "408-871-4567"; data 572 chrome/browser/autofill/autofill_browsertest.cc FillFormAndSubmit("duplicate_profiles_test.html", data); data 646 chrome/browser/autofill/autofill_browsertest.cc FormMap data; data 647 chrome/browser/autofill/autofill_browsertest.cc data["NAME_FIRST"] = "Bob"; data 648 chrome/browser/autofill/autofill_browsertest.cc data["NAME_LAST"] = "Smith"; data 649 chrome/browser/autofill/autofill_browsertest.cc data["ADDRESS_HOME_LINE1"] = "1234 H St."; data 650 chrome/browser/autofill/autofill_browsertest.cc data["ADDRESS_HOME_CITY"] = "San Jose"; data 651 chrome/browser/autofill/autofill_browsertest.cc data["ADDRESS_HOME_STATE"] = "CA"; data 652 chrome/browser/autofill/autofill_browsertest.cc data["ADDRESS_HOME_ZIP"] = "95110"; data 653 chrome/browser/autofill/autofill_browsertest.cc data["ADDRESS_HOME_COUNTRY"] = "Germany"; data 654 chrome/browser/autofill/autofill_browsertest.cc data["PHONE_HOME_WHOLE_NUMBER"] = "(08) 450 777-777"; data 655 chrome/browser/autofill/autofill_browsertest.cc FillFormAndSubmit("autofill_test_form.html", data); data 675 chrome/browser/autofill/autofill_browsertest.cc FormMap data; data 676 chrome/browser/autofill/autofill_browsertest.cc data["CREDIT_CARD_NAME"] = "Bob Smith"; data 677 chrome/browser/autofill/autofill_browsertest.cc data["CREDIT_CARD_NUMBER"] = "4408041234567893"; data 678 chrome/browser/autofill/autofill_browsertest.cc data["CREDIT_CARD_EXP_MONTH"] = "12"; data 679 chrome/browser/autofill/autofill_browsertest.cc data["CREDIT_CARD_EXP_4_DIGIT_YEAR"] = "2014"; data 680 chrome/browser/autofill/autofill_browsertest.cc FillFormAndSubmit("cc_autocomplete_off_test.html", data); data 691 chrome/browser/autofill/autofill_browsertest.cc FormMap data; data 692 chrome/browser/autofill/autofill_browsertest.cc data["NAME_FIRST"] = "Bob"; data 693 chrome/browser/autofill/autofill_browsertest.cc data["NAME_LAST"] = "Smith"; data 694 chrome/browser/autofill/autofill_browsertest.cc data["ADDRESS_HOME_LINE1"] = "bsmith@gmail.com"; data 695 chrome/browser/autofill/autofill_browsertest.cc data["ADDRESS_HOME_CITY"] = "San Jose"; data 696 chrome/browser/autofill/autofill_browsertest.cc data["ADDRESS_HOME_STATE"] = "CA"; data 697 chrome/browser/autofill/autofill_browsertest.cc data["ADDRESS_HOME_ZIP"] = "95110"; data 698 chrome/browser/autofill/autofill_browsertest.cc data["COMPANY_NAME"] = "Company X"; data 699 chrome/browser/autofill/autofill_browsertest.cc data["PHONE_HOME_WHOLE_NUMBER"] = "408-871-4567"; data 700 chrome/browser/autofill/autofill_browsertest.cc FillFormAndSubmit("duplicate_profiles_test.html", data); data 45 chrome/browser/background/background_mode_manager_unittest.cc const std::string& data, data 48 chrome/browser/background/background_mode_manager_unittest.cc extension_function_test_utils::ParseDictionary(data)); data 460 chrome/browser/bookmarks/bookmark_codec.cc reinterpret_cast<const char*>(str.data()), data 267 chrome/browser/bookmarks/bookmark_html_writer.cc scoped_refptr<base::RefCountedMemory> data(itr->second.get()); data 269 chrome/browser/bookmarks/bookmark_html_writer.cc base::Base64Encode(std::string(data->front_as<char>(), data->size()), data 29 chrome/browser/bookmarks/bookmark_index.cc icu::UnicodeString unicode_text(text.data(), text.length()); data 118 chrome/browser/bookmarks/bookmark_index_unittest.cc } data[] = { data 145 chrome/browser/bookmarks/bookmark_index_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(data); ++i) { data 147 chrome/browser/bookmarks/bookmark_index_unittest.cc base::SplitString(data[i].input, ';', &titles); data 151 chrome/browser/bookmarks/bookmark_index_unittest.cc if (!data[i].expected.empty()) data 152 chrome/browser/bookmarks/bookmark_index_unittest.cc base::SplitString(data[i].expected, ';', &expected); data 154 chrome/browser/bookmarks/bookmark_index_unittest.cc ExpectMatches(data[i].query, expected); data 164 chrome/browser/bookmarks/bookmark_index_unittest.cc } data[] = { data 179 chrome/browser/bookmarks/bookmark_index_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(data); ++i) { data 180 chrome/browser/bookmarks/bookmark_index_unittest.cc model_->AddURL(model_->other_node(), 0, base::UTF8ToUTF16(data[i].title), data 184 chrome/browser/bookmarks/bookmark_index_unittest.cc base::UTF8ToUTF16(data[i].query), 10, &matches); data 196 chrome/browser/bookmarks/bookmark_index_unittest.cc } data[] = { data 207 chrome/browser/bookmarks/bookmark_index_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(data); ++i) { data 209 chrome/browser/bookmarks/bookmark_index_unittest.cc titles.push_back(data[i].title); data 213 chrome/browser/bookmarks/bookmark_index_unittest.cc ExtractMatchPositions(data[i].expected, &expected_matches); data 214 chrome/browser/bookmarks/bookmark_index_unittest.cc ExpectMatchPositions(data[i].query, expected_matches); data 287 chrome/browser/bookmarks/bookmark_index_unittest.cc } data[] = { data 294 chrome/browser/bookmarks/bookmark_index_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(data); ++i) { data 295 chrome/browser/bookmarks/bookmark_index_unittest.cc history::URLRow info(data[i].url); data 296 chrome/browser/bookmarks/bookmark_index_unittest.cc info.set_title(base::UTF8ToUTF16(data[i].title)); data 297 chrome/browser/bookmarks/bookmark_index_unittest.cc info.set_typed_count(data[i].typed_count); data 301 chrome/browser/bookmarks/bookmark_index_unittest.cc model->AddURL(model->other_node(), i, base::UTF8ToUTF16(data[i].title), data 302 chrome/browser/bookmarks/bookmark_index_unittest.cc data[i].url); data 307 chrome/browser/bookmarks/bookmark_index_unittest.cc url_db->GetRowForURL(data[0].url, &result1); data 308 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_EQ(data[0].title, base::UTF16ToUTF8(result1.title())); data 311 chrome/browser/bookmarks/bookmark_index_unittest.cc url_db->GetRowForURL(data[1].url, &result2); data 312 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_EQ(data[1].title, base::UTF16ToUTF8(result2.title())); data 315 chrome/browser/bookmarks/bookmark_index_unittest.cc url_db->GetRowForURL(data[2].url, &result3); data 316 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_EQ(data[2].title, base::UTF16ToUTF8(result3.title())); data 319 chrome/browser/bookmarks/bookmark_index_unittest.cc url_db->GetRowForURL(data[3].url, &result4); data 320 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_EQ(data[3].title, base::UTF16ToUTF8(result4.title())); data 332 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_EQ(data[0].url, matches[0].node->url()); data 333 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_EQ(data[3].url, matches[1].node->url()); data 334 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_EQ(data[2].url, matches[2].node->url()); data 335 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_EQ(data[1].url, matches[3].node->url()); data 342 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_EQ(data[0].url, matches[0].node->url()); data 343 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_EQ(data[3].url, matches[1].node->url()); data 931 chrome/browser/bookmarks/bookmark_model_unittest.cc } data[] = { data 940 chrome/browser/bookmarks/bookmark_model_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(data); ++i) { data 951 chrome/browser/bookmarks/bookmark_model_unittest.cc PopulateNodeFromString(data[i].bbn_contents, &bbn); data 955 chrome/browser/bookmarks/bookmark_model_unittest.cc PopulateNodeFromString(data[i].other_contents, &other); data 959 chrome/browser/bookmarks/bookmark_model_unittest.cc PopulateNodeFromString(data[i].mobile_contents, &mobile); data 189 chrome/browser/bookmarks/bookmark_node_data.cc std::string data; data 192 chrome/browser/bookmarks/bookmark_node_data.cc &data); data 194 chrome/browser/bookmarks/bookmark_node_data.cc if (!data.empty()) { data 195 chrome/browser/bookmarks/bookmark_node_data.cc Pickle pickle(data.data(), data.size()); data 120 chrome/browser/bookmarks/bookmark_node_data.h void Write(Profile* profile, ui::OSExchangeData* data) const; data 123 chrome/browser/bookmarks/bookmark_node_data.h bool Read(const ui::OSExchangeData& data); data 52 chrome/browser/bookmarks/bookmark_node_data_unittest.cc ui::OSExchangeData::Provider* CloneProvider(const ui::OSExchangeData& data) { data 53 chrome/browser/bookmarks/bookmark_node_data_unittest.cc return data.provider().Clone(); data 60 chrome/browser/bookmarks/bookmark_node_data_unittest.cc BookmarkNodeData data; data 61 chrome/browser/bookmarks/bookmark_node_data_unittest.cc EXPECT_FALSE(data.is_valid()); data 66 chrome/browser/bookmarks/bookmark_node_data_unittest.cc ui::OSExchangeData data; data 68 chrome/browser/bookmarks/bookmark_node_data_unittest.cc EXPECT_FALSE(drag_data.Read(ui::OSExchangeData(CloneProvider(data)))); data 78 chrome/browser/bookmarks/bookmark_node_data_unittest.cc ui::OSExchangeData data; data 79 chrome/browser/bookmarks/bookmark_node_data_unittest.cc data.SetURL(url, title); data 82 chrome/browser/bookmarks/bookmark_node_data_unittest.cc EXPECT_TRUE(drag_data.Read(ui::OSExchangeData(CloneProvider(data)))); data 108 chrome/browser/bookmarks/bookmark_node_data_unittest.cc ui::OSExchangeData data; data 109 chrome/browser/bookmarks/bookmark_node_data_unittest.cc drag_data.Write(profile(), &data); data 112 chrome/browser/bookmarks/bookmark_node_data_unittest.cc ui::OSExchangeData data2(CloneProvider(data)); data 153 chrome/browser/bookmarks/bookmark_node_data_unittest.cc ui::OSExchangeData data; data 154 chrome/browser/bookmarks/bookmark_node_data_unittest.cc drag_data.Write(profile(), &data); data 157 chrome/browser/bookmarks/bookmark_node_data_unittest.cc ui::OSExchangeData data2(CloneProvider(data)); data 188 chrome/browser/bookmarks/bookmark_node_data_unittest.cc ui::OSExchangeData data; data 189 chrome/browser/bookmarks/bookmark_node_data_unittest.cc drag_data.Write(profile(), &data); data 192 chrome/browser/bookmarks/bookmark_node_data_unittest.cc ui::OSExchangeData data2(CloneProvider(data)); data 227 chrome/browser/bookmarks/bookmark_node_data_unittest.cc ui::OSExchangeData data; data 228 chrome/browser/bookmarks/bookmark_node_data_unittest.cc drag_data.Write(profile(), &data); data 231 chrome/browser/bookmarks/bookmark_node_data_unittest.cc ui::OSExchangeData data2(CloneProvider(data)); data 272 chrome/browser/bookmarks/bookmark_node_data_unittest.cc ui::OSExchangeData data; data 273 chrome/browser/bookmarks/bookmark_node_data_unittest.cc node_data.Write(profile(), &data); data 276 chrome/browser/bookmarks/bookmark_node_data_unittest.cc ui::OSExchangeData data2(CloneProvider(data)); data 24 chrome/browser/bookmarks/bookmark_node_data_views.cc void BookmarkNodeData::Write(Profile* profile, ui::OSExchangeData* data) const { data 25 chrome/browser/bookmarks/bookmark_node_data_views.cc DCHECK(data); data 31 chrome/browser/bookmarks/bookmark_node_data_views.cc data->SetString(base::UTF8ToUTF16(elements[0].url.spec())); data 33 chrome/browser/bookmarks/bookmark_node_data_views.cc data->SetURL(elements[0].url, elements[0].title); data 40 chrome/browser/bookmarks/bookmark_node_data_views.cc data->SetPickledData(GetBookmarkCustomFormat(), data_pickle); data 43 chrome/browser/bookmarks/bookmark_node_data_views.cc bool BookmarkNodeData::Read(const ui::OSExchangeData& data) { data 48 chrome/browser/bookmarks/bookmark_node_data_views.cc if (data.HasCustomFormat(GetBookmarkCustomFormat())) { data 50 chrome/browser/bookmarks/bookmark_node_data_views.cc if (data.GetPickledData(GetBookmarkCustomFormat(), &drag_data_pickle)) { data 59 chrome/browser/bookmarks/bookmark_node_data_views.cc if (data.GetURLAndTitle( data 181 chrome/browser/bookmarks/bookmark_storage.cc std::string data; data 182 chrome/browser/bookmarks/bookmark_storage.cc if (!SerializeData(&data)) data 184 chrome/browser/bookmarks/bookmark_storage.cc writer_.WriteNow(data); data 281 chrome/browser/browser_keyevents_browsertest.cc std::string GetTestDataDescription(const KeyEventTestData& data) { data 286 chrome/browser/browser_keyevents_browsertest.cc data.key, data.ctrl, data.shift, data.alt, data.command, data 287 chrome/browser/browser_keyevents_browsertest.cc data.suppress_keydown, data.suppress_keypress, data.suppress_keyup, data 288 chrome/browser/browser_keyevents_browsertest.cc data.suppress_textinput, data.result_length); data 289 chrome/browser/browser_keyevents_browsertest.cc for (int i = 0; i < data.result_length; ++i) { data 291 chrome/browser/browser_keyevents_browsertest.cc desc.append(data.result[i]); data 70 chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc void RegisterClient(const quota::MockOriginData* data, std::size_t data_len) { data 73 chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc quota_manager_->proxy(), data, quota::QuotaClient::kFileSystem, data 48 chrome/browser/browsing_data/browsing_data_remover_browsertest.cc std::string data; data 50 chrome/browser/browsing_data/browsing_data_remover_browsertest.cc browser()->tab_strip_model()->GetActiveWebContents(), script, &data)); data 51 chrome/browser/browsing_data/browsing_data_remover_browsertest.cc ASSERT_EQ(data, result); data 159 chrome/browser/certificate_manager_model.cc const std::string& data, data 162 chrome/browser/certificate_manager_model.cc int result = cert_db_->ImportFromPKCS12(module, data, password, data 82 chrome/browser/certificate_manager_model.h int ImportFromPKCS12(net::CryptoModule* module, const std::string& data, data 109 chrome/browser/chrome_content_browser_client_unittest.cc TemplateURLData data; data 110 chrome/browser/chrome_content_browser_client_unittest.cc data.SetURL("http://foo.com/url?bar={searchTerms}"); data 111 chrome/browser/chrome_content_browser_client_unittest.cc data.new_tab_url = new_tab_page_url.spec(); data 112 chrome/browser/chrome_content_browser_client_unittest.cc TemplateURL* template_url = new TemplateURL(browser()->profile(), data); data 127 chrome/browser/chromeos/accessibility/accessibility_manager.cc void OnFileLoaded(bool success, const std::string& data) { data 133 chrome/browser/chromeos/accessibility/accessibility_manager.cc params.code = data; data 62 chrome/browser/chromeos/app_mode/kiosk_app_data.cc raw_icon->data().c_str(), raw_icon->size())); data 122 chrome/browser/chromeos/app_mode/kiosk_app_data.cc std::string data; data 123 chrome/browser/chromeos/app_mode/kiosk_app_data.cc if (!base::ReadFileToString(base::FilePath(icon_path_), &data)) { data 127 chrome/browser/chromeos/app_mode/kiosk_app_data.cc raw_icon_ = base::RefCountedString::TakeString(&data); data 130 chrome/browser/chromeos/app_mode/kiosk_app_data.cc this, raw_icon_->data(), ImageDecoder::DEFAULT_CODEC); data 387 chrome/browser/chromeos/app_mode/kiosk_app_data.cc raw_icon_->data().assign(image_data.begin(), image_data.end()); data 84 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc KioskAppManager::App::App(const KioskAppData& data) data 85 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc : app_id(data.app_id()), data 86 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc user_id(data.user_id()), data 87 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc name(data.name()), data 88 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc icon(data.icon()), data 89 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc is_loading(data.IsLoading()) { data 300 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc const KioskAppData* data = GetAppData(app_id); data 301 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc if (!data) data 304 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc *app = App(*data); data 310 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc const KioskAppData* data = GetAppData(app_id); data 311 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc if (!data) data 314 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc return data->raw_icon(); data 377 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc const KioskAppData* data = apps_[i]; data 378 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc if (data->app_id() == app_id) data 379 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc return data; data 57 chrome/browser/chromeos/app_mode/kiosk_app_manager.h explicit App(const KioskAppData& data); data 29 chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc void DataCallback (bool result, const std::string& data) { data 32 chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc data_ = data; data 37 chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc const std::string& data) { data 39 chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc DataCallback(result, data); data 77 chrome/browser/chromeos/attestation/attestation_policy_observer.cc const std::string& data) { data 85 chrome/browser/chromeos/attestation/attestation_policy_observer.cc on_success.Run(data); data 215 chrome/browser/chromeos/attestation/attestation_policy_observer.cc net::X509Certificate::CreateFromBytes(certificate.data(), data 65 chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc explicit FakeDBusData(const std::string& data) : data_(data) {} data 355 chrome/browser/chromeos/attestation/platform_verification_flow.cc signed_data_pb.data(), data 469 chrome/browser/chromeos/attestation/platform_verification_flow.cc net::X509Certificate::CreateFromBytes(certificate.data(), data 42 chrome/browser/chromeos/base/locale_util.cc void SwitchLanguageDoReloadLocale(SwitchLanguageData* data) { data 45 chrome/browser/chromeos/base/locale_util.cc data->loaded_locale = data 46 chrome/browser/chromeos/base/locale_util.cc ResourceBundle::GetSharedInstance().ReloadLocaleResources(data->locale); data 48 chrome/browser/chromeos/base/locale_util.cc data->success = !data->loaded_locale.empty(); data 54 chrome/browser/chromeos/base/locale_util.cc void FinishSwitchLanguage(scoped_ptr<SwitchLanguageData> data) { data 56 chrome/browser/chromeos/base/locale_util.cc if (data->success) { data 57 chrome/browser/chromeos/base/locale_util.cc g_browser_process->SetApplicationLocale(data->loaded_locale); data 59 chrome/browser/chromeos/base/locale_util.cc if (data->enableLocaleKeyboardLayouts) { data 67 chrome/browser/chromeos/base/locale_util.cc data->locale, data 69 chrome/browser/chromeos/base/locale_util.cc if (!data->login_layouts_only) { data 75 chrome/browser/chromeos/base/locale_util.cc data->locale, input_method::kKeyboardLayoutsOnly, &candidates); data 84 chrome/browser/chromeos/base/locale_util.cc if (data->callback) data 85 chrome/browser/chromeos/base/locale_util.cc data->callback->Run(data->locale, data->loaded_locale, data->success); data 97 chrome/browser/chromeos/base/locale_util.cc scoped_ptr<SwitchLanguageData> data( data 103 chrome/browser/chromeos/base/locale_util.cc base::Bind(&SwitchLanguageDoReloadLocale, base::Unretained(data.get()))); data 107 chrome/browser/chromeos/base/locale_util.cc base::Bind(&FinishSwitchLanguage, base::Passed(data.Pass()))); data 78 chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.cc std::string data; data 79 chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.cc base::JSONWriter::Write(&device_data_, &data); data 80 chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.cc return data; data 130 chrome/browser/chromeos/boot_times_loader.cc const char* data, data 136 chrome/browser/chromeos/boot_times_loader.cc const int num_bytes_written = fwrite(data, 1, size, file); data 151 chrome/browser/chromeos/boot_times_loader.cc AppendFile(uptime_output, uptime.data(), uptime.size()); data 152 chrome/browser/chromeos/boot_times_loader.cc AppendFile(disk_output, disk.data(), disk.size()); data 207 chrome/browser/chromeos/boot_times_loader.cc name.data()); data 212 chrome/browser/chromeos/boot_times_loader.cc base::WriteFile(log_path.Append(base_name), output.data(), output.size()); data 589 chrome/browser/chromeos/chrome_browser_main_chromeos.cc scoped_ptr<GuestLanguageSetCallbackData> data( data 593 chrome/browser/chromeos/chrome_browser_main_chromeos.cc &GuestLanguageSetCallbackData::Callback, base::Passed(data.Pass())))); data 491 chrome/browser/chromeos/customization_document.cc std::string data; data 496 chrome/browser/chromeos/customization_document.cc source->GetResponseAsString(&data)) { data 497 chrome/browser/chromeos/customization_document.cc LoadManifestFromString(data); data 73 chrome/browser/chromeos/device_uma.cc static_cast<XIDeviceEvent*>(native_event->xcookie.data); data 182 chrome/browser/chromeos/drive/download_handler.cc const DriveUserData* data = GetDriveUserData(download); data 185 chrome/browser/chromeos/drive/download_handler.cc DCHECK(data); data 186 chrome/browser/chromeos/drive/download_handler.cc return data ? data->file_path() : base::FilePath(); data 190 chrome/browser/chromeos/drive/download_handler.cc const DriveUserData* data = GetDriveUserData(download); data 191 chrome/browser/chromeos/drive/download_handler.cc return data ? data->cache_file_path() : base::FilePath(); data 237 chrome/browser/chromeos/drive/download_handler.cc DriveUserData* data = GetDriveUserData(download); data 239 chrome/browser/chromeos/drive/download_handler.cc !data || data 240 chrome/browser/chromeos/drive/download_handler.cc data->is_complete()) data 249 chrome/browser/chromeos/drive/download_handler.cc data->set_complete(); data 310 chrome/browser/chromeos/drive/download_handler.cc DriveUserData* data = GetDriveUserData(download); data 311 chrome/browser/chromeos/drive/download_handler.cc if (!data) data 313 chrome/browser/chromeos/drive/download_handler.cc data->set_cache_file_path(*cache_file_path); data 75 chrome/browser/chromeos/drive/drive_file_stream_reader.cc std::memmove(buffer->data() + offset, chunk.data(), bytes_to_read); data 125 chrome/browser/chromeos/drive/drive_file_stream_reader.cc void LocalReaderProxy::OnGetContent(scoped_ptr<std::string> data) { data 211 chrome/browser/chromeos/drive/drive_file_stream_reader.cc void NetworkReaderProxy::OnGetContent(scoped_ptr<std::string> data) { data 213 chrome/browser/chromeos/drive/drive_file_stream_reader.cc DCHECK(data && !data->empty()); data 215 chrome/browser/chromeos/drive/drive_file_stream_reader.cc if (remaining_offset_ >= static_cast<int64>(data->length())) { data 217 chrome/browser/chromeos/drive/drive_file_stream_reader.cc remaining_offset_ -= data->length(); data 223 chrome/browser/chromeos/drive/drive_file_stream_reader.cc data->erase(0, static_cast<size_t>(remaining_offset_)); data 227 chrome/browser/chromeos/drive/drive_file_stream_reader.cc pending_data_.push_back(data.release()); data 448 chrome/browser/chromeos/drive/drive_file_stream_reader.cc scoped_ptr<std::string> data) { data 451 chrome/browser/chromeos/drive/drive_file_stream_reader.cc reader_proxy_->OnGetContent(data.Pass()); data 47 chrome/browser/chromeos/drive/drive_file_stream_reader.h virtual void OnGetContent(scoped_ptr<std::string> data) = 0; data 67 chrome/browser/chromeos/drive/drive_file_stream_reader.h virtual void OnGetContent(scoped_ptr<std::string> data) OVERRIDE; data 99 chrome/browser/chromeos/drive/drive_file_stream_reader.h virtual void OnGetContent(scoped_ptr<std::string> data) OVERRIDE; data 197 chrome/browser/chromeos/drive/drive_file_stream_reader.h scoped_ptr<std::string> data); data 135 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc scoped_ptr<std::string> data(new std::string("abcde")); data 136 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc proxy.OnGetContent(data.Pass()); data 141 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ("abc", std::string(buffer->data(), result)); data 146 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ("de", std::string(buffer->data(), result)); data 149 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc data.reset(new std::string("fg")); data 150 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc proxy.OnGetContent(data.Pass()); data 151 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc data.reset(new std::string("hij")); data 152 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc proxy.OnGetContent(data.Pass()); // Now 10 bytes are supplied. data 157 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ("fgh", std::string(buffer->data(), result)); data 161 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ("ij", std::string(buffer->data(), result)); data 180 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc scoped_ptr<std::string> data(new std::string("abcde")); data 181 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc proxy.OnGetContent(data.Pass()); data 182 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc data.reset(new std::string("fgh")); data 183 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc proxy.OnGetContent(data.Pass()); data 184 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc data.reset(new std::string("ijklmno")); data 185 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc proxy.OnGetContent(data.Pass()); data 190 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ("klm", std::string(buffer->data(), result)); data 195 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ("no", std::string(buffer->data(), result)); data 198 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc data.reset(new std::string("pqrs")); data 199 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc proxy.OnGetContent(data.Pass()); data 200 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc data.reset(new std::string("tuvwxyz")); data 201 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc proxy.OnGetContent(data.Pass()); // 't' is the 20-th byte. data 206 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ("pqr", std::string(buffer->data(), result)); data 210 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc EXPECT_EQ("st", std::string(buffer->data(), result)); data 246 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc scoped_ptr<std::string> data(new std::string("abcde")); data 247 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc proxy.OnGetContent(data.Pass()); data 87 chrome/browser/chromeos/drive/fake_file_system_unittest.cc EXPECT_TRUE(get_content_callback.data().empty()); data 346 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc EXPECT_TRUE(get_content_callback.data().empty()); data 374 chrome/browser/chromeos/drive/file_system_util.cc return base::WriteFile(file_path, content.data(), content.size()) == data 295 chrome/browser/chromeos/drive/file_system_util_unittest.cc std::string data = "Hello world!"; data 296 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_TRUE(google_apis::test_util::WriteStringToFile(file, data)); data 123 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::ReadPlatformFile(platform_file, 0, buffer.data(), data_size)); data 91 chrome/browser/chromeos/drive/resource_metadata_storage.cc key.data() + key.size() - expected_suffix.size(), expected_suffix.size()); data 101 chrome/browser/chromeos/drive/resource_metadata_storage.cc return std::string(key.data(), id_length); data 122 chrome/browser/chromeos/drive/resource_metadata_storage.cc const leveldb::Slice key_substring(key.data() + 1, expected_prefix.size()); data 197 chrome/browser/chromeos/drive/resource_metadata_storage.cc cache_entry->ParseFromArray(it_->value().data(), it_->value().size()); data 215 chrome/browser/chromeos/drive/resource_metadata_storage.cc entry_.ParseFromArray(it_->value().data(), it_->value().size())) data 274 chrome/browser/chromeos/drive/resource_metadata_storage.cc entry_.ParseFromArray(it_->value().data(), it_->value().size())) { data 554 chrome/browser/chromeos/drive/resource_metadata_storage.cc if (cache_entry.ParseFromArray(it->value().data(), it->value().size())) { data 873 chrome/browser/chromeos/drive/resource_metadata_storage.cc !header.ParseFromArray(it->value().data(), it->value().size()) || data 916 chrome/browser/chromeos/drive/resource_metadata_storage.cc if (!entry.ParseFromArray(it->value().data(), it->value().size())) { data 66 chrome/browser/chromeos/drive/test_util.h content->append(buffer->data(), result); data 202 chrome/browser/chromeos/events/event_rewriter.cc XIDeviceEvent* xievent = static_cast<XIDeviceEvent*>(xevent->xcookie.data); data 851 chrome/browser/chromeos/events/event_rewriter.cc XIDeviceEvent* xievent = static_cast<XIDeviceEvent*>(event->xcookie.data); data 105 chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.cc XIHierarchyEvent* event = static_cast<XIHierarchyEvent*>(cookie->data); data 175 chrome/browser/chromeos/extensions/wallpaper_api.cc scoped_refptr<base::RefCountedBytes> data; data 181 chrome/browser/chromeos/extensions/wallpaper_api.cc &data); data 186 chrome/browser/chromeos/extensions/wallpaper_api.cc this, data)); data 190 chrome/browser/chromeos/extensions/wallpaper_api.cc base::RefCountedBytes* data) { data 192 chrome/browser/chromeos/extensions/wallpaper_api.cc reinterpret_cast<const char*>(data->front()), data->size()); data 43 chrome/browser/chromeos/extensions/wallpaper_api.h void ThumbnailGenerated(base::RefCountedBytes* data); data 106 chrome/browser/chromeos/extensions/wallpaper_function_base.cc void WallpaperFunctionBase::StartDecode(const std::string& data) { data 111 chrome/browser/chromeos/extensions/wallpaper_function_base.cc unsafe_wallpaper_decoder_->Start(data); data 32 chrome/browser/chromeos/extensions/wallpaper_function_base.h void StartDecode(const std::string& data); data 65 chrome/browser/chromeos/extensions/wallpaper_private_api.cc bool SaveData(int key, const std::string& file_name, const std::string& data) { data 75 chrome/browser/chromeos/extensions/wallpaper_private_api.cc (base::WriteFile(file_path, data.c_str(), data.size()) != -1); data 82 chrome/browser/chromeos/extensions/wallpaper_private_api.cc bool GetData(const base::FilePath& path, std::string* data) { data 89 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::ReadFileToString(path, data); data 330 chrome/browser/chromeos/extensions/wallpaper_private_api.cc std::string data; data 337 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::ReadFileToString(path, &data)) { data 340 chrome/browser/chromeos/extensions/wallpaper_private_api.cc this, data)); data 585 chrome/browser/chromeos/extensions/wallpaper_private_api.cc scoped_refptr<base::RefCountedBytes> data; data 591 chrome/browser/chromeos/extensions/wallpaper_private_api.cc &data); data 596 chrome/browser/chromeos/extensions/wallpaper_private_api.cc this, data)); data 600 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::RefCountedBytes* data) { data 602 chrome/browser/chromeos/extensions/wallpaper_private_api.cc reinterpret_cast<const char*>(data->front()), data->size()); data 726 chrome/browser/chromeos/extensions/wallpaper_private_api.cc const std::string& data) { data 727 chrome/browser/chromeos/extensions/wallpaper_private_api.cc BinaryValue* thumbnail = BinaryValue::CreateWithCopiedBuffer(data.c_str(), data 728 chrome/browser/chromeos/extensions/wallpaper_private_api.cc data.size()); data 736 chrome/browser/chromeos/extensions/wallpaper_private_api.cc std::string data; data 737 chrome/browser/chromeos/extensions/wallpaper_private_api.cc if (GetData(path, &data)) { data 738 chrome/browser/chromeos/extensions/wallpaper_private_api.cc if (data.empty()) { data 746 chrome/browser/chromeos/extensions/wallpaper_private_api.cc data)); data 776 chrome/browser/chromeos/extensions/wallpaper_private_api.cc this, params->data, GURL(params->url).ExtractFileName())); data 791 chrome/browser/chromeos/extensions/wallpaper_private_api.cc void WallpaperPrivateSaveThumbnailFunction::Save(const std::string& data, data 795 chrome/browser/chromeos/extensions/wallpaper_private_api.cc if (SaveData(chrome::DIR_CHROMEOS_WALLPAPER_THUMBNAILS, file_name, data)) { data 140 chrome/browser/chromeos/extensions/wallpaper_private_api.h void ThumbnailGenerated(base::RefCountedBytes* data); data 224 chrome/browser/chromeos/extensions/wallpaper_private_api.h void FileLoaded(const std::string& data); data 255 chrome/browser/chromeos/extensions/wallpaper_private_api.h void Save(const std::string& data, const std::string& file_name); data 467 chrome/browser/chromeos/first_run/drive_first_run_controller.cc message_center::RichNotificationData data; data 468 chrome/browser/chromeos/first_run/drive_first_run_controller.cc data.buttons.push_back(message_center::ButtonInfo( data 481 chrome/browser/chromeos/first_run/drive_first_run_controller.cc data, data 54 chrome/browser/chromeos/imageburner/burn_manager.cc source_image_file->data() = data 447 chrome/browser/chromeos/imageburner/burn_manager.cc std::string data; data 449 chrome/browser/chromeos/imageburner/burn_manager.cc config_fetcher_->GetResponseAsString(&data); data 451 chrome/browser/chromeos/imageburner/burn_manager.cc ConfigFileFetched(success, data); data 584 chrome/browser/chromeos/imageburner/burn_manager.cc source_image_path_ = base::FilePath(source_image_file->data()); data 21 chrome/browser/chromeos/login/hwid_checker.cc unsigned CalculateCRC32(const std::string& data) { data 24 chrome/browser/chromeos/login/hwid_checker.cc reinterpret_cast<const Bytef*>(data.c_str()), data 25 chrome/browser/chromeos/login/hwid_checker.cc data.length())); data 28 chrome/browser/chromeos/login/hwid_checker.cc std::string CalculateHWIDv2Checksum(const std::string& data) { data 29 chrome/browser/chromeos/login/hwid_checker.cc unsigned crc32 = CalculateCRC32(data); data 50 chrome/browser/chromeos/login/hwid_checker.cc std::string CalculateExceptionalHWIDChecksum(const std::string& data) { data 52 chrome/browser/chromeos/login/hwid_checker.cc unsigned crc32 = CalculateCRC32(data); data 79 chrome/browser/chromeos/login/hwid_checker.cc std::string CalculateHWIDv3Checksum(const std::string& data) { data 82 chrome/browser/chromeos/login/hwid_checker.cc unsigned crc32 = CalculateCRC32(data); data 1248 chrome/browser/chromeos/login/login_display_host_impl.cc scoped_ptr<ShowLoginWizardSwitchLanguageCallbackData> data( data 1254 chrome/browser/chromeos/login/login_display_host_impl.cc base::Bind(&OnLanguageSwitchedCallback, base::Passed(data.Pass())))); data 368 chrome/browser/chromeos/login/login_utils.cc scoped_ptr<DoBrowserLaunchOnLocaleLoadedData> data( data 374 chrome/browser/chromeos/login/login_utils.cc base::Passed(data.Pass())))); data 458 chrome/browser/chromeos/login/login_utils_browsertest.cc std::string data; data 459 chrome/browser/chromeos/login/login_utils_browsertest.cc EXPECT_TRUE(response.SerializeToString(&data)); data 460 chrome/browser/chromeos/login/login_utils_browsertest.cc fetcher->SetResponseString(data); data 293 chrome/browser/chromeos/login/oauth2_login_manager.cc void OAuth2LoginManager::OnListAccountsSuccess(const std::string& data) { data 297 chrome/browser/chromeos/login/oauth2_login_manager.cc gaia::ParseListAccountsData(data, &accounts); data 160 chrome/browser/chromeos/login/oauth2_login_manager.h virtual void OnListAccountsSuccess(const std::string& data) OVERRIDE; data 155 chrome/browser/chromeos/login/oauth2_login_verifier.cc void OAuth2LoginVerifier::OnMergeSessionSuccess(const std::string& data) { data 225 chrome/browser/chromeos/login/oauth2_login_verifier.cc const std::string& data) { data 228 chrome/browser/chromeos/login/oauth2_login_verifier.cc delegate_->OnListAccountsSuccess(data); data 43 chrome/browser/chromeos/login/oauth2_login_verifier.h virtual void OnListAccountsSuccess(const std::string& data) = 0; data 72 chrome/browser/chromeos/login/oauth2_login_verifier.h virtual void OnMergeSessionSuccess(const std::string& data) OVERRIDE; data 75 chrome/browser/chromeos/login/oauth2_login_verifier.h virtual void OnListAccountsSuccess(const std::string& data) OVERRIDE; data 96 chrome/browser/chromeos/login/parallel_authenticator_unittest.cc base::FilePath PopulateTempFile(const char* data, int data_len) { data 100 chrome/browser/chromeos/login/parallel_authenticator_unittest.cc EXPECT_EQ(base::WriteFile(out, data, data_len), data_len); data 19 chrome/browser/chromeos/login/user_image.cc bool IsAnimatedImage(const UserImage::RawImage& data) { data 23 chrome/browser/chromeos/login/user_image.cc if (data.size() >= kGIFStampLength && data 24 chrome/browser/chromeos/login/user_image.cc memcmp(&data[0], kGIFStamp, kGIFStampLength) == 0) { data 54 chrome/browser/chromeos/login/user_image_loader.cc void UserImageLoader::Start(scoped_ptr<std::string> data, data 60 chrome/browser/chromeos/login/user_image_loader.cc base::Passed(&data), data 68 chrome/browser/chromeos/login/user_image_loader.cc scoped_ptr<std::string> data(new std::string); data 70 chrome/browser/chromeos/login/user_image_loader.cc base::ReadFileToString(base::FilePath(filepath), data.get()); data 73 chrome/browser/chromeos/login/user_image_loader.cc DecodeImage(data.Pass(), image_info); data 76 chrome/browser/chromeos/login/user_image_loader.cc void UserImageLoader::DecodeImage(const scoped_ptr<std::string> data, data 81 chrome/browser/chromeos/login/user_image_loader.cc new ImageDecoder(this, *data, image_codec_); data 47 chrome/browser/chromeos/login/user_image_loader.h void Start(scoped_ptr<std::string> data, data 74 chrome/browser/chromeos/login/user_image_loader.h void DecodeImage(const scoped_ptr<std::string> data, data 95 chrome/browser/chromeos/login/user_image_manager.h scoped_ptr<std::string> data) = 0; data 604 chrome/browser/chromeos/login/user_image_manager_browsertest.cc reinterpret_cast<const char*>(user_key_bits.data()), data 225 chrome/browser/chromeos/login/user_image_manager_impl.cc void SetToImageData(scoped_ptr<std::string> data); data 355 chrome/browser/chromeos/login/user_image_manager_impl.cc void UserImageManagerImpl::Job::SetToImageData(scoped_ptr<std::string> data) { data 371 chrome/browser/chromeos/login/user_image_manager_impl.cc parent_->image_loader_->Start(data.Pass(), data 705 chrome/browser/chromeos/login/user_image_manager_impl.cc scoped_ptr<std::string> data) { data 708 chrome/browser/chromeos/login/user_image_manager_impl.cc if (data) { data 710 chrome/browser/chromeos/login/user_image_manager_impl.cc job_->SetToImageData(data.Pass()); data 63 chrome/browser/chromeos/login/user_image_manager_impl.h scoped_ptr<std::string> data) OVERRIDE; data 1002 chrome/browser/chromeos/login/user_manager_impl.cc scoped_ptr<std::string> data) { data 1004 chrome/browser/chromeos/login/user_manager_impl.cc GetUserImageManager(user_id)->OnExternalDataFetched(policy, data.Pass()); data 1006 chrome/browser/chromeos/login/user_manager_impl.cc WallpaperManager::Get()->OnPolicyFetched(policy, user_id, data.Pass()); data 157 chrome/browser/chromeos/login/user_manager_impl.h scoped_ptr<std::string> data) OVERRIDE; data 569 chrome/browser/chromeos/login/wallpaper_manager.cc kDefaultEncodingQuality, &(*output)->data()); data 584 chrome/browser/chromeos/login/wallpaper_manager.cc scoped_refptr<base::RefCountedBytes> data; data 586 chrome/browser/chromeos/login/wallpaper_manager.cc &data)) { data 588 chrome/browser/chromeos/login/wallpaper_manager.cc reinterpret_cast<const char*>(data->front()), data 589 chrome/browser/chromeos/login/wallpaper_manager.cc data->size()); data 619 chrome/browser/chromeos/login/wallpaper_manager.cc scoped_ptr<std::string> data) { data 620 chrome/browser/chromeos/login/wallpaper_manager.cc if (!data) data 624 chrome/browser/chromeos/login/wallpaper_manager.cc data.Pass(), data 1382 chrome/browser/chromeos/login/wallpaper_manager.cc const char* data, data 1384 chrome/browser/chromeos/login/wallpaper_manager.cc int written_bytes = base::WriteFile(path, data, size); data 306 chrome/browser/chromeos/login/wallpaper_manager.h scoped_ptr<std::string> data); data 430 chrome/browser/chromeos/login/wallpaper_manager.h void SaveWallpaperInternal(const base::FilePath& path, const char* data, data 162 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc reinterpret_cast<const char*>(user_key_bits.data()), data 113 chrome/browser/chromeos/login/wizard_controller_browsertest.cc SwitchLanguageTestData data; data 116 chrome/browser/chromeos/login/wizard_controller_browsertest.cc base::Bind(&OnLocaleSwitched, base::Unretained(&data)))); data 124 chrome/browser/chromeos/login/wizard_controller_browsertest.cc EXPECT_EQ(data.done, true); data 125 chrome/browser/chromeos/login/wizard_controller_browsertest.cc EXPECT_EQ(data.requested_locale, locale); data 126 chrome/browser/chromeos/login/wizard_controller_browsertest.cc EXPECT_EQ(data.loaded_locale, expected_locale); data 127 chrome/browser/chromeos/login/wizard_controller_browsertest.cc EXPECT_EQ(data.success, expect_success); data 76 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc const std::string& data); data 110 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc scoped_ptr<std::string> data) const; data 225 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc const std::string& data) { data 229 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc external_data_store_->Store(policy, hash, data); data 234 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc RunCallback(*it, make_scoped_ptr(new std::string(data))); data 259 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc scoped_ptr<std::string> data(new std::string); data 262 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc data.get())) { data 265 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc RunCallback(callback, data.Pass()); data 280 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc scoped_ptr<std::string> data(new std::string); data 284 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc data.get()))) { data 315 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc scoped_ptr<std::string> data) const { data 317 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc base::Bind(callback, base::Passed(&data))); data 25 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.cc scoped_ptr<std::string> data) { data 26 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.cc *destination = data.Pass(); data 32 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.cc const std::string& data) { data 33 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.cc const std::string hash = crypto::SHA256HashString(data); data 27 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.h scoped_ptr<std::string> data); data 33 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.h const std::string& data); data 120 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc void OnFetchDone(int id, scoped_ptr<std::string> data); data 233 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc scoped_ptr<std::string> data) { data 235 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc callback_data_[id] = data.release(); data 337 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc std::string data; data 341 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc k10BytePolicy, crypto::SHA256HashString(k10ByteData), 10, &data)); data 342 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc EXPECT_EQ(k10ByteData, data); data 399 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc std::string data; data 403 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc &data)); data 404 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc EXPECT_EQ(k10ByteData, data); data 408 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc &data)); data 409 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc EXPECT_EQ(k20ByteData, data); data 580 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc std::string data; data 586 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc &data)); data 587 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc EXPECT_EQ(k10ByteData, data); data 593 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc &data)); data 597 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc &data)); data 633 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc std::string data; data 637 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc &data)); data 701 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc std::string data; data 714 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc &data)); data 720 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc &data)); data 721 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc EXPECT_EQ(k20ByteData, data); data 116 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc scoped_ptr<std::string> data) { data 310 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc scoped_ptr<std::string> data) { data 314 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc delegate_->OnExternalDataFetched(policy_, user_id, data.Pass()); data 58 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.h scoped_ptr<std::string> data); data 97 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.h scoped_ptr<std::string> data); data 109 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc scoped_ptr<std::string> data) OVERRIDE; data 232 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc scoped_ptr<std::string> data) { data 235 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc fetched_calls_.back().second.swap(*data); data 56 chrome/browser/chromeos/policy/cloud_external_data_store.cc const std::string& data) { data 58 chrome/browser/chromeos/policy/cloud_external_data_store.cc return cache_->Store(cache_key_, GetSubkey(policy, hash), data); data 64 chrome/browser/chromeos/policy/cloud_external_data_store.cc std::string* data) { data 67 chrome/browser/chromeos/policy/cloud_external_data_store.cc if (cache_->Load(cache_key_, subkey, data)) { data 68 chrome/browser/chromeos/policy/cloud_external_data_store.cc if (data->size() <= max_size && crypto::SHA256HashString(*data) == hash) data 73 chrome/browser/chromeos/policy/cloud_external_data_store.cc data->clear(); data 46 chrome/browser/chromeos/policy/cloud_external_data_store.h const std::string& data); data 55 chrome/browser/chromeos/policy/cloud_external_data_store.h std::string* data); data 64 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc std::string data; data 65 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_FALSE(store.Load(kPolicy1, kData2Hash, kMaxSize, &data)); data 68 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_TRUE(store.Load(kPolicy1, kData1Hash, kMaxSize, &data)); data 69 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_EQ(kData1, data); data 86 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc std::string data; data 87 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_FALSE(store.Load(kPolicy1, kData1Hash, 1, &data)); data 108 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc std::string data; data 109 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_FALSE(store.Load(kPolicy1, kData1Hash, kMaxSize, &data)); data 124 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc std::string data; data 125 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_TRUE(store.Load(kPolicy1, kData1Hash, kMaxSize, &data)); data 126 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_EQ(kData1, data); data 127 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_TRUE(store.Load(kPolicy2, kData2Hash, kMaxSize, &data)); data 128 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_EQ(kData2, data); data 174 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc std::string data; data 175 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_TRUE(store1.Load(kPolicy1, kData1Hash, kMaxSize, &data)); data 176 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_EQ(kData1, data); data 177 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_FALSE(store1.Load(kPolicy2, kData2Hash, kMaxSize, &data)); data 179 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_FALSE(store2.Load(kPolicy1, kData1Hash, kMaxSize, &data)); data 180 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_TRUE(store2.Load(kPolicy2, kData2Hash, kMaxSize, &data)); data 181 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_EQ(kData2, data); data 215 chrome/browser/chromeos/policy/power_policy_browsertest.cc reinterpret_cast<const char*>(user_key_bits.data()), data 131 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc reinterpret_cast<const char*>(public_key.data()), data 397 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc std::string data; data 402 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(credentials.SerializeToString(&data)); data 403 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_NE(-1, base::WriteFile(token_file(), data.c_str(), data.size())); data 407 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(cached_policy.SerializeToString(&data)); data 408 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_NE(-1, base::WriteFile(policy_file(), data.c_str(), data.size())); data 429 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc std::string data; data 434 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(cached_policy.SerializeToString(&data)); data 435 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_NE(-1, base::WriteFile(policy_file(), data.c_str(), data.size())); data 454 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc std::string data; data 459 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(credentials.SerializeToString(&data)); data 460 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_NE(-1, base::WriteFile(token_file(), data.c_str(), data.size())); data 481 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc std::string data; data 484 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(cached_policy.SerializeToString(&data)); data 485 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_NE(-1, base::WriteFile(policy_file(), data.c_str(), data.size())); data 59 chrome/browser/chromeos/policy/user_policy_disk_cache.cc std::string data; data 60 chrome/browser/chromeos/policy/user_policy_disk_cache.cc if (!base::ReadFileToString(backing_file_path_, &data)) { data 68 chrome/browser/chromeos/policy/user_policy_disk_cache.cc if (!cached_response.ParseFromArray(data.c_str(), data.size())) { data 115 chrome/browser/chromeos/policy/user_policy_disk_cache.cc std::string data; data 116 chrome/browser/chromeos/policy/user_policy_disk_cache.cc if (!policy.SerializeToString(&data)) { data 133 chrome/browser/chromeos/policy/user_policy_disk_cache.cc int size = data.size(); data 134 chrome/browser/chromeos/policy/user_policy_disk_cache.cc if (base::WriteFile(backing_file_path_, data.c_str(), size) != size) { data 47 chrome/browser/chromeos/policy/user_policy_token_loader.cc std::string data; data 49 chrome/browser/chromeos/policy/user_policy_token_loader.cc if (base::ReadFileToString(cache_file_, &data) && data 50 chrome/browser/chromeos/policy/user_policy_token_loader.cc device_credentials.ParseFromArray(data.c_str(), data.size())) { data 292 chrome/browser/chromeos/proxy_cros_settings_parser.cc base::Value* data = NULL; data 300 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = new base::StringValue(config.automatic_proxy.pac_url.spec()); data 303 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = CreateServerHostValue(config.single_proxy); data 305 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = CreateServerPortValue(config.single_proxy); data 307 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = CreateServerHostValue(config.http_proxy); data 309 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = CreateServerHostValue(config.https_proxy); data 313 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = base::Value::CreateIntegerValue(3); data 316 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = base::Value::CreateIntegerValue(2); data 318 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = base::Value::CreateIntegerValue(1); data 336 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = base::Value::CreateBooleanValue( data 339 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = base::Value::CreateBooleanValue( data 342 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = CreateServerHostValue(config.ftp_proxy); data 344 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = CreateServerHostValue(config.socks_proxy); data 346 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = CreateServerPortValue(config.http_proxy); data 348 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = CreateServerPortValue(config.https_proxy); data 350 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = CreateServerPortValue(config.ftp_proxy); data 352 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = CreateServerPortValue(config.socks_proxy); data 358 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = list; data 366 chrome/browser/chromeos/proxy_cros_settings_parser.cc if (!data) data 367 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = new base::StringValue(""); data 368 chrome/browser/chromeos/proxy_cros_settings_parser.cc dict->Set("value", data); data 412 chrome/browser/chromeos/settings/device_settings_provider.cc em::PolicyData data; data 413 chrome/browser/chromeos/settings/device_settings_provider.cc data.set_username(device_settings_service_->GetUsername()); data 414 chrome/browser/chromeos/settings/device_settings_provider.cc CHECK(device_settings_.SerializeToString(data.mutable_policy_value())); data 417 chrome/browser/chromeos/settings/device_settings_provider.cc UpdateValuesCache(data, device_settings_, trusted_status_); data 422 chrome/browser/chromeos/settings/device_settings_provider.cc if (!device_settings_cache::Store(data, g_browser_process->local_state())) data 92 chrome/browser/chromeos/settings/token_encryptor.cc reinterpret_cast<const void*>(encoded_token.data()), data 107 chrome/browser/chromeos/settings/token_encryptor.cc reinterpret_cast<char*>(encrypted_token_bytes.data()), data 101 chrome/browser/chromeos/system/input_device_settings.cc exists->data = false; data 111 chrome/browser/chromeos/system/input_device_settings.cc exists->data = base::GetAppOutput(CommandLine(argv), &output) && data 113 chrome/browser/chromeos/system/input_device_settings.cc DVLOG(1) << "DeviceExistsBlockingPool:" << device_type << "=" << exists->data; data 120 chrome/browser/chromeos/system/input_device_settings.cc DVLOG(1) << "RunCallbackUIThread " << exists->data; data 121 chrome/browser/chromeos/system/input_device_settings.cc callback.Run(exists->data); data 53 chrome/browser/chromeos/system/syslogs_provider.cc std::string ReadKey(std::string* data) { data 55 chrome/browser/chromeos/system/syslogs_provider.cc size_t equal_sign = data->find("="); data 58 chrome/browser/chromeos/system/syslogs_provider.cc key = data->substr(0, equal_sign); data 59 chrome/browser/chromeos/system/syslogs_provider.cc data->erase(0, equal_sign); data 60 chrome/browser/chromeos/system/syslogs_provider.cc if (data->empty()) data 63 chrome/browser/chromeos/system/syslogs_provider.cc data->erase(0, 1); data 70 chrome/browser/chromeos/system/syslogs_provider.cc std::string ReadValue(std::string* data) { data 82 chrome/browser/chromeos/system/syslogs_provider.cc base::TrimString(*data, " \t", data); data 85 chrome/browser/chromeos/system/syslogs_provider.cc if (StartsWithASCII(*data, std::string(kMultilineQuote), false)) { data 86 chrome/browser/chromeos/system/syslogs_provider.cc data->erase(0, strlen(kMultilineQuote)); data 87 chrome/browser/chromeos/system/syslogs_provider.cc size_t next_multi = data->find(kMultilineQuote); data 90 chrome/browser/chromeos/system/syslogs_provider.cc data->erase(); data 93 chrome/browser/chromeos/system/syslogs_provider.cc std::string value = data->substr(0, next_multi); data 94 chrome/browser/chromeos/system/syslogs_provider.cc data->erase(0, next_multi + 3); data 98 chrome/browser/chromeos/system/syslogs_provider.cc size_t endl_pos = data->find_first_of(kNewLineChars); data 100 chrome/browser/chromeos/system/syslogs_provider.cc std::string value = data->substr(0, endl_pos); data 101 chrome/browser/chromeos/system/syslogs_provider.cc data->erase(0, endl_pos); data 145 chrome/browser/chromeos/system/syslogs_provider.cc std::string data; data 146 chrome/browser/chromeos/system/syslogs_provider.cc bool read_success = base::ReadFileToString(temp_filename, &data); data 156 chrome/browser/chromeos/system/syslogs_provider.cc while (data.length() > 0) { data 157 chrome/browser/chromeos/system/syslogs_provider.cc std::string key = ReadKey(&data); data 160 chrome/browser/chromeos/system/syslogs_provider.cc std::string value = ReadValue(&data); data 367 chrome/browser/chromeos/timezone/timezone_request.cc std::string data; data 368 chrome/browser/chromeos/timezone/timezone_request.cc source->GetResponseAsString(&data); data 370 chrome/browser/chromeos/timezone/timezone_request.cc status.is_success(), response_code, data, source->GetURL()); data 261 chrome/browser/common/cancelable_request.h void GetAllClientData(std::vector<T>* data); data 397 chrome/browser/common/cancelable_request.h std::vector<T>* data) { data 398 chrome/browser/common/cancelable_request.h DCHECK(data); data 401 chrome/browser/common/cancelable_request.h data->push_back(i->second); data 218 chrome/browser/component_updater/component_patcher_operation.cc hasher->Update(output_file_mmapped.data(), output_file_mmapped.length()); data 37 chrome/browser/component_updater/test/url_request_post_interceptor.cc std::string* data, data 41 chrome/browser/component_updater/test/url_request_post_interceptor.cc data->assign(response_); data 334 chrome/browser/component_updater/widevine_cdm_component_installer.cc adapter_version_path, chrome_version.data(), chrome_version.size()); data 219 chrome/browser/devtools/adb/android_rsa.cc std::vector<uint8> pk_data(pk.data() + 10, pk.data() + pk.length()); data 106 chrome/browser/devtools/adb/android_usb_device.cc uint32 Checksum(const std::string& data) { data 107 chrome/browser/devtools/adb/android_usb_device.cc unsigned char* x = (unsigned char*)data.data(); data 108 chrome/browser/devtools/adb/android_usb_device.cc int count = data.length(); data 115 chrome/browser/devtools/adb/android_usb_device.cc void DumpMessage(bool outgoing, const char* data, size_t length) { data 121 chrome/browser/devtools/adb/android_usb_device.cc data[i] > 0 ? data[i] : (data[i] + 0x100) & 0xFF); data 126 chrome/browser/devtools/adb/android_usb_device.cc if (data[i] >= 0x20 && data[i] <= 0x7E) data 127 chrome/browser/devtools/adb/android_usb_device.cc result += data[i]; data 134 chrome/browser/devtools/adb/android_usb_device.cc if (data[i] >= 0x20 && data[i] <= 0x7E) data 135 chrome/browser/devtools/adb/android_usb_device.cc result += data[i]; data 392 chrome/browser/devtools/adb/android_usb_device.cc memcpy(header_buffer.get()->data(), &header[0], kHeaderSize); data 398 chrome/browser/devtools/adb/android_usb_device.cc memcpy(body_buffer->data(), message->body.data(), message->body.length()); data 400 chrome/browser/devtools/adb/android_usb_device.cc body_buffer->data()[body_length - 1] = 0; data 416 chrome/browser/devtools/adb/android_usb_device.cc DumpMessage(true, message.first->data(), message.second); data 458 chrome/browser/devtools/adb/android_usb_device.cc DumpMessage(false, buffer->data(), result); data 460 chrome/browser/devtools/adb/android_usb_device.cc memcpy(&header[0], buffer->data(), result); data 512 chrome/browser/devtools/adb/android_usb_device.cc DumpMessage(false, buffer->data(), data_length); data 513 chrome/browser/devtools/adb/android_usb_device.cc message->body = std::string(buffer->data(), result); data 118 chrome/browser/devtools/adb/android_usb_socket.cc memcpy(buffer->data(), read_buffer_.data(), bytes_to_copy); data 136 chrome/browser/devtools/adb/android_usb_socket.cc std::string(buffer->data(), length)); data 231 chrome/browser/devtools/adb/android_usb_socket.cc memcpy(read_request.buffer->data(), read_buffer_.data(), bytes_to_copy); data 157 chrome/browser/devtools/adb_client_socket.cc response_ += std::string(response_buffer->data(), result); data 374 chrome/browser/devtools/adb_client_socket.cc std::string data = std::string(response_buffer->data(), result); data 376 chrome/browser/devtools/adb_client_socket.cc callback.Run(net::ERR_FAILED, "Response is too short: " + data); data 380 chrome/browser/devtools/adb_client_socket.cc std::string status = data.substr(0, 4); data 382 chrome/browser/devtools/adb_client_socket.cc callback.Run(net::ERR_FAILED, data); data 386 chrome/browser/devtools/adb_client_socket.cc data = data.substr(4); data 391 chrome/browser/devtools/adb_client_socket.cc if (data.length() >= 4 && data 392 chrome/browser/devtools/adb_client_socket.cc base::HexStringToInt(data.substr(0, 4), &payload_length)) { data 393 chrome/browser/devtools/adb_client_socket.cc data = data.substr(4); data 398 chrome/browser/devtools/adb_client_socket.cc OnResponseData(callback, data, response_buffer, bytes_left, 0); data 400 chrome/browser/devtools/adb_client_socket.cc callback.Run(net::OK, data); data 417 chrome/browser/devtools/adb_client_socket.cc response + std::string(response_buffer->data(), result); data 66 chrome/browser/devtools/adb_client_socket_browsertest.cc virtual int TryProcessData(const char* data, int size) = 0; data 67 chrome/browser/devtools/adb_client_socket_browsertest.cc void SendData(const char* data, int size); data 116 chrome/browser/devtools/adb_client_socket_browsertest.cc void SingleConnectionServer::SendData(const char* data, int size) { data 128 chrome/browser/devtools/adb_client_socket_browsertest.cc output_buffer_->data(), data 133 chrome/browser/devtools/adb_client_socket_browsertest.cc memcpy(output_buffer_->data() + bytes_to_write_, data, size); data 190 chrome/browser/devtools/adb_client_socket_browsertest.cc char* data = input_buffer_->StartOfBuffer(); data 193 chrome/browser/devtools/adb_client_socket_browsertest.cc bytes_processed = TryProcessData(data, data_size); data 196 chrome/browser/devtools/adb_client_socket_browsertest.cc memmove(data, data + bytes_processed, data_size - bytes_processed); data 250 chrome/browser/devtools/adb_client_socket_browsertest.cc virtual int TryProcessData(const char* data, int size) OVERRIDE { data 254 chrome/browser/devtools/adb_client_socket_browsertest.cc std::string message_header(data, kAdbMessageHeaderSize); data 260 chrome/browser/devtools/adb_client_socket_browsertest.cc std::string message_body(data + kAdbMessageHeaderSize, message_size ); data 106 chrome/browser/devtools/adb_web_socket.cc std::string data = std::string(response_buffer->data(), result); data 107 chrome/browser/devtools/adb_web_socket.cc response_buffer_ += data; data 91 chrome/browser/devtools/android_device.cc const std::string& data, data 149 chrome/browser/devtools/android_device.cc const std::string& data, data 153 chrome/browser/devtools/android_device.cc callback.Run(result, result == 0 ? data : std::string()); data 158 chrome/browser/devtools/android_device.cc std::string new_data = data + std::string(buffer->data(), result); data 78 chrome/browser/devtools/browser_list_tabcontents_provider.cc scoped_refptr<base::RefCountedMemory> data; data 79 chrome/browser/devtools/browser_list_tabcontents_provider.cc if (top_sites->GetPageThumbnail(url, false, &data)) data 80 chrome/browser/devtools/browser_list_tabcontents_provider.cc return std::string(data->front_as<char>(), data->size()); data 176 chrome/browser/devtools/devtools_file_system_indexer.cc const char* data = query.c_str(); data 180 chrome/browser/devtools/devtools_file_system_indexer.cc trigram_chars.push_back(TrigramCharForChar(data[i])); data 378 chrome/browser/devtools/devtools_file_system_indexer.cc const char* data, data 394 chrome/browser/devtools/devtools_file_system_indexer.cc if (IsBinaryChar(data[i])) { data 399 chrome/browser/devtools/devtools_file_system_indexer.cc trigram_chars.push_back(TrigramCharForChar(data[i])); data 60 chrome/browser/devtools/devtools_file_system_indexer.h const char* data, data 287 chrome/browser/devtools/devtools_targets_ui.cc const content::ChildProcessData& data) OVERRIDE; data 289 chrome/browser/devtools/devtools_targets_ui.cc const content::ChildProcessData& data) OVERRIDE; data 310 chrome/browser/devtools/devtools_targets_ui.cc const content::ChildProcessData& data) { data 311 chrome/browser/devtools/devtools_targets_ui.cc if (data.process_type == content::PROCESS_TYPE_WORKER) data 316 chrome/browser/devtools/devtools_targets_ui.cc const content::ChildProcessData& data) { data 317 chrome/browser/devtools/devtools_targets_ui.cc if (data.process_type == content::PROCESS_TYPE_WORKER) data 61 chrome/browser/download/download_history.cc base::SupportsUserData::Data* data = item->GetUserData(kKey); data 62 chrome/browser/download/download_history.cc return (data == NULL) ? NULL : data 63 chrome/browser/download/download_history.cc static_cast<DownloadHistoryData*>(data); data 172 chrome/browser/download/download_history.cc const history::DownloadRow& data) { data 173 chrome/browser/download/download_history.cc history_->UpdateDownload(data); data 186 chrome/browser/download/download_history.cc DownloadHistoryData* data = DownloadHistoryData::Get(item); data 187 chrome/browser/download/download_history.cc return data && (data->state() == DownloadHistoryData::PERSISTED); data 265 chrome/browser/download/download_history.cc DownloadHistoryData* data = DownloadHistoryData::Get(item); data 271 chrome/browser/download/download_history.cc (data->state() != DownloadHistoryData::NOT_PERSISTED) || data 275 chrome/browser/download/download_history.cc data->SetState(DownloadHistoryData::PERSISTING); data 276 chrome/browser/download/download_history.cc if (data->info() == NULL) { data 280 chrome/browser/download/download_history.cc data->set_info(GetDownloadRow(item)); data 283 chrome/browser/download/download_history.cc history_->CreateDownload(*data->info(), base::Bind( data 287 chrome/browser/download/download_history.cc item, *data->info())); data 312 chrome/browser/download/download_history.cc DownloadHistoryData* data = DownloadHistoryData::Get(item); data 319 chrome/browser/download/download_history.cc data->SetState(DownloadHistoryData::NOT_PERSISTED); data 322 chrome/browser/download/download_history.cc data->SetState(DownloadHistoryData::PERSISTED); data 344 chrome/browser/download/download_history.cc DownloadHistoryData* data = new DownloadHistoryData(item); data 346 chrome/browser/download/download_history.cc data->SetState(DownloadHistoryData::PERSISTED); data 350 chrome/browser/download/download_history.cc data->set_info(GetDownloadRow(item)); data 359 chrome/browser/download/download_history.cc DownloadHistoryData* data = DownloadHistoryData::Get(item); data 360 chrome/browser/download/download_history.cc if (data->state() == DownloadHistoryData::NOT_PERSISTED) { data 370 chrome/browser/download/download_history.cc bool should_update = ShouldUpdateHistory(data->info(), current_info); data 379 chrome/browser/download/download_history.cc data->set_info(current_info); data 381 chrome/browser/download/download_history.cc data->clear_info(); data 394 chrome/browser/download/download_history.cc DownloadHistoryData* data = DownloadHistoryData::Get(item); data 395 chrome/browser/download/download_history.cc if (data->state() != DownloadHistoryData::PERSISTED) { data 396 chrome/browser/download/download_history.cc if (data->state() == DownloadHistoryData::PERSISTING) { data 405 chrome/browser/download/download_history.cc data->SetState(DownloadHistoryData::NOT_PERSISTED); data 43 chrome/browser/download/download_history.h virtual void UpdateDownload(const history::DownloadRow& data); data 97 chrome/browser/download/download_item_model.cc DownloadItemModelData* data = data 99 chrome/browser/download/download_item_model.cc if (data == NULL) { data 100 chrome/browser/download/download_item_model.cc data = new DownloadItemModelData(); data 101 chrome/browser/download/download_item_model.cc download->SetUserData(kKey, data); data 103 chrome/browser/download/download_item_model.cc return data; data 549 chrome/browser/download/download_item_model.cc const DownloadItemModelData* data = DownloadItemModelData::Get(download_); data 550 chrome/browser/download/download_item_model.cc return !data || data->should_show_in_shelf(); data 554 chrome/browser/download/download_item_model.cc DownloadItemModelData* data = DownloadItemModelData::GetOrCreate(download_); data 555 chrome/browser/download/download_item_model.cc data->set_should_show_in_shelf(should_show); data 559 chrome/browser/download/download_item_model.cc const DownloadItemModelData* data = DownloadItemModelData::Get(download_); data 560 chrome/browser/download/download_item_model.cc return data && data->should_notify_ui(); data 564 chrome/browser/download/download_item_model.cc DownloadItemModelData* data = DownloadItemModelData::GetOrCreate(download_); data 565 chrome/browser/download/download_item_model.cc data->set_should_notify_ui(should_notify); data 569 chrome/browser/download/download_item_model.cc const DownloadItemModelData* data = DownloadItemModelData::Get(download_); data 570 chrome/browser/download/download_item_model.cc return data && data->should_prefer_opening_in_browser(); data 574 chrome/browser/download/download_item_model.cc DownloadItemModelData* data = DownloadItemModelData::GetOrCreate(download_); data 575 chrome/browser/download/download_item_model.cc data->set_should_prefer_opening_in_browser(preference); data 41 chrome/browser/download/drag_download_item_views.cc ui::OSExchangeData data; data 46 chrome/browser/download/drag_download_item_views.cc &data); data 61 chrome/browser/download/drag_download_item_views.cc data.SetFilenames(file_infos); data 72 chrome/browser/download/drag_download_item_views.cc data, data 84 chrome/browser/download/drag_download_item_views.cc DoDragDrop(ui::OSExchangeDataProviderWin::GetIDataObject(data), data 100 chrome/browser/download/drag_download_item_views.cc widget->DoDrag(data, data 322 chrome/browser/drive/drive_uploader_unittest.cc std::string data; data 324 chrome/browser/drive/drive_uploader_unittest.cc temp_dir_.path(), 0, &local_path, &data)); data 330 chrome/browser/drive/drive_uploader_unittest.cc MockDriveServiceWithUploadExpectation mock_service(local_path, data.size()); data 357 chrome/browser/drive/drive_uploader_unittest.cc std::string data; data 359 chrome/browser/drive/drive_uploader_unittest.cc temp_dir_.path(), 512 * 1024, &local_path, &data)); data 365 chrome/browser/drive/drive_uploader_unittest.cc MockDriveServiceWithUploadExpectation mock_service(local_path, data.size()); data 394 chrome/browser/drive/drive_uploader_unittest.cc std::string data; data 396 chrome/browser/drive/drive_uploader_unittest.cc temp_dir_.path(), 512 * 1024, &local_path, &data)); data 421 chrome/browser/drive/drive_uploader_unittest.cc std::string data; data 423 chrome/browser/drive/drive_uploader_unittest.cc temp_dir_.path(), 512 * 1024, &local_path, &data)); data 429 chrome/browser/drive/drive_uploader_unittest.cc MockDriveServiceWithUploadExpectation mock_service(local_path, data.size()); data 449 chrome/browser/drive/drive_uploader_unittest.cc std::string data; data 451 chrome/browser/drive/drive_uploader_unittest.cc temp_dir_.path(), 512 * 1024, &local_path, &data)); data 458 chrome/browser/drive/drive_uploader_unittest.cc MockDriveServiceWithUploadExpectation mock_service(local_path, data.size()); data 478 chrome/browser/drive/drive_uploader_unittest.cc std::string data; data 480 chrome/browser/drive/drive_uploader_unittest.cc temp_dir_.path(), 512 * 1024, &local_path, &data)); data 504 chrome/browser/drive/drive_uploader_unittest.cc std::string data; data 506 chrome/browser/drive/drive_uploader_unittest.cc temp_dir_.path(), 512 * 1024, &local_path, &data)); data 551 chrome/browser/drive/drive_uploader_unittest.cc std::string data; data 553 chrome/browser/drive/drive_uploader_unittest.cc temp_dir_.path(), 1024 * 1024, &local_path, &data)); data 559 chrome/browser/drive/drive_uploader_unittest.cc MockDriveServiceWithUploadExpectation mock_service(local_path, data.size()); data 876 chrome/browser/enumerate_modules_model_win.cc base::DictionaryValue* data = new base::DictionaryValue(); data 877 chrome/browser/enumerate_modules_model_win.cc data->SetInteger("type", module->type); data 895 chrome/browser/enumerate_modules_model_win.cc data->SetString("type_description", type_string); data 896 chrome/browser/enumerate_modules_model_win.cc data->SetInteger("status", module->status); data 897 chrome/browser/enumerate_modules_model_win.cc data->SetString("location", module->location); data 898 chrome/browser/enumerate_modules_model_win.cc data->SetString("name", module->name); data 899 chrome/browser/enumerate_modules_model_win.cc data->SetString("product_name", module->product_name); data 900 chrome/browser/enumerate_modules_model_win.cc data->SetString("description", module->description); data 901 chrome/browser/enumerate_modules_model_win.cc data->SetString("version", module->version); data 902 chrome/browser/enumerate_modules_model_win.cc data->SetString("digital_signer", module->digital_signer); data 940 chrome/browser/enumerate_modules_model_win.cc data->SetString("possibleResolution", possible_resolution); data 941 chrome/browser/enumerate_modules_model_win.cc data->SetString("help_url", data 945 chrome/browser/enumerate_modules_model_win.cc list->Append(data); data 505 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc const device::BluetoothOutOfBandPairingData& data) { data 507 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc reinterpret_cast<const char*>(data.hash), data 510 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc reinterpret_cast<const char*>(data.randomizer), data 228 chrome/browser/extensions/api/bluetooth/bluetooth_api.h const device::BluetoothOutOfBandPairingData& data); data 144 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc BluetoothOutOfBandPairingData data; data 145 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc memcpy(&(data.hash), kOutOfBandPairingDataHash, data 147 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc memcpy(&(data.randomizer), kOutOfBandPairingDataRandomizer, data 149 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc return data; data 146 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc CreateApiBookmarkNodeData(Profile* profile, const BookmarkNodeData& data) { data 149 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc node_data->same_profile = data.IsFromProfile(profile); data 152 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc std::vector<const BookmarkNode*> nodes = data.GetNodes(profile); data 159 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc std::vector<BookmarkNodeData::Element> elements = data.elements; data 268 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc const BookmarkNodeData& data) { data 269 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc if (data.size() == 0) data 273 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc *CreateApiBookmarkNodeData(profile_, data))); data 277 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc const BookmarkNodeData& data) { data 283 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc const BookmarkNodeData& data) { data 284 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc if (data.size() == 0) data 288 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc *CreateApiBookmarkNodeData(profile_, data))); data 292 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc const BookmarkNodeData& data) { data 293 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc if (data.size() == 0) data 297 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc *CreateApiBookmarkNodeData(profile_, data))); data 301 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc bookmark_drag_data_ = data; data 90 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.h virtual void OnDragEnter(const BookmarkNodeData& data) OVERRIDE; data 91 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.h virtual void OnDragOver(const BookmarkNodeData& data) OVERRIDE; data 92 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.h virtual void OnDragLeave(const BookmarkNodeData& data) OVERRIDE; data 93 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.h virtual void OnDrop(const BookmarkNodeData& data) OVERRIDE; data 108 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc std::memcpy(&sizedCells[0], cells.data(), std::min(cells.size(), size)); data 66 chrome/browser/extensions/api/braille_display_private/braille_display_private_apitest.cc explicit MockBrlapiConnection(MockBrlapiConnectionData* data) data 67 chrome/browser/extensions/api/braille_display_private/braille_display_private_apitest.cc : data_(data) {} data 116 chrome/browser/extensions/api/capture_web_contents_function.cc std::vector<unsigned char> data; data 129 chrome/browser/extensions/api/capture_web_contents_function.cc &data); data 136 chrome/browser/extensions/api/capture_web_contents_function.cc &data); data 150 chrome/browser/extensions/api/capture_web_contents_function.cc reinterpret_cast<const char*>(vector_as_array(&data)), data.size()); data 86 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc const std::string& data) { data 91 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc der_cert.data = reinterpret_cast<unsigned char*>(const_cast<char*>( data 92 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc certificate.data())); data 106 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc trusted_ca_key_der_item.data = const_cast<unsigned char*>(kCAPublicKeyDER); data 125 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc signature_item.data = reinterpret_cast<unsigned char*>( data 126 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc const_cast<char*>(signature.data())); data 129 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc reinterpret_cast<unsigned char*>(const_cast<char*>(data.data())), data 130 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc data.size(), data 40 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc message_info->data.reset(new base::StringValue(message)); data 29 chrome/browser/extensions/api/cast_channel/cast_message_util.cc if (!message.data) data 38 chrome/browser/extensions/api/cast_channel/cast_message_util.cc std::string data; data 40 chrome/browser/extensions/api/cast_channel/cast_message_util.cc switch (message.data->GetType()) { data 43 chrome/browser/extensions/api/cast_channel/cast_message_util.cc if (message.data->GetAsString(&data)) { data 45 chrome/browser/extensions/api/cast_channel/cast_message_util.cc message_proto->set_payload_utf8(data); data 50 chrome/browser/extensions/api/cast_channel/cast_message_util.cc real_value = static_cast<base::BinaryValue*>(message.data.get()); data 81 chrome/browser/extensions/api/cast_channel/cast_message_util.cc message_proto.payload_binary().data(), data 89 chrome/browser/extensions/api/cast_channel/cast_message_util.cc DCHECK(!message->data.get()); data 90 chrome/browser/extensions/api/cast_channel/cast_message_util.cc message->data.reset(value.release()); data 48 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc const std::string& data, data 53 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc message->data.reset(new base::StringValue(data)); data 60 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc const std::string& data, data 65 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc message->data.reset(base::BinaryValue::CreateWithCopiedBuffer( data 66 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc data.c_str(), data.size())); data 208 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc void AddReadResult(net::IoMode mode, const char* data, int data_len) { data 209 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc AddReadResult(net::MockRead(mode, data, data_len)); data 213 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc const char* data = msg.c_str(); data 214 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc AddReadResult(mode, data, kMessageHeaderSize); data 215 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc AddReadResult(mode, data + kMessageHeaderSize, body_size); data 221 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc const char* data = msg.c_str(); data 225 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc AddReadResult(mode, data + offset, ch_size); data 250 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc reads_.data(), reads_.size(), writes_.data(), writes_.size())); data 794 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc test_messages_[0].data.reset( data 201 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc video_frame->data(kPlanes[i])); data 231 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc uint8* data) { data 239 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc uint8* const src = data + y * stride; data 240 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc uint8* const dest = data + y * width; data 245 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc std::nth_element(data, data + middle_idx, data + num_pixels); data 246 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc return data[middle_idx]; data 137 chrome/browser/extensions/api/cast_streaming/performance_test.cc static MeanAndError AnalyzeJitter(const std::vector<TimeData>& data) { data 138 chrome/browser/extensions/api/cast_streaming/performance_test.cc CHECK_GT(data.size(), 1UL); data 139 chrome/browser/extensions/api/cast_streaming/performance_test.cc VLOG(0) << "Jitter analyzis on " << data.size() << " values."; data 142 chrome/browser/extensions/api/cast_streaming/performance_test.cc for (size_t i = 1; i < data.size(); i++) { data 143 chrome/browser/extensions/api/cast_streaming/performance_test.cc double delta = (data[i].render_time - data 144 chrome/browser/extensions/api/cast_streaming/performance_test.cc data[i - 1].render_time).InMillisecondsF(); data 436 chrome/browser/extensions/api/cast_streaming/performance_test.cc const std::vector<std::vector<double> > data, data 441 chrome/browser/extensions/api/cast_streaming/performance_test.cc for (size_t i = 0; i < data.size(); i++) { data 442 chrome/browser/extensions/api/cast_streaming/performance_test.cc tmp.push_back((data[i][col_b] - data[i][col_a]) / 1000.0); data 688 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc to_pattern_(to_pattern.data(), to_pattern.size()) {} data 69 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.cc : data(request_data) {} data 95 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.cc if (!(request_data.data->stage & applicable_request_stages_)) { data 113 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.cc if (!(*i)->IsFulfilled(*(request_data.data))) data 46 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.h const WebRequestData* data; data 317 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc static scoped_ptr<StringMatchTest> Create(const base::Value* data, data 326 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc StringMatchTest(const std::string& data, data 409 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc HeaderMatcher::StringMatchTest::Create(const base::Value* data, data 413 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc CHECK(data->GetAsString(&str)); data 443 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc HeaderMatcher::StringMatchTest::StringMatchTest(const std::string& data, data 446 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc : data_(data), data 82 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc WebRequestData data(&match_request, ON_BEFORE_REQUEST); data 83 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc WebRequestDataWithMatchIds request_data(&data); data 93 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc data.request = &wrong_resource_type; data 131 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc WebRequestData data(&match_request, ON_BEFORE_REQUEST); data 132 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc WebRequestDataWithMatchIds request_data(&data); data 207 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc WebRequestData data(&https_request, ON_BEFORE_REQUEST); data 209 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc condition_no_url_false->IsFulfilled(WebRequestDataWithMatchIds(&data))); data 211 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc data = WebRequestData(&https_request, ON_BEFORE_REQUEST); data 213 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc condition_no_url_true->IsFulfilled(WebRequestDataWithMatchIds(&data))); data 217 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc data = WebRequestData(&https_request, ON_BEFORE_REQUEST); data 218 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc EXPECT_TRUE(condition_empty->IsFulfilled(WebRequestDataWithMatchIds(&data))); data 264 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc WebRequestData data(&http_request, ON_BEFORE_REQUEST); data 265 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc WebRequestDataWithMatchIds request_data(&data); data 276 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc data.request = &https_request; data 286 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc data.request = &https_foo_request; data 60 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc request_data.data->request->url()); data 62 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc request_data.data->request->first_party_for_cookies()); data 310 chrome/browser/extensions/api/dial/dial_service.cc std::string response(recv_buffer_->data(), bytes_read); data 122 chrome/browser/extensions/api/dial/dial_service_unittest.cc strncpy(dial_socket_->recv_buffer_->data(), data 584 chrome/browser/extensions/api/downloads/downloads_api.cc base::SupportsUserData::Data* data = download_item->GetUserData(kKey); data 585 chrome/browser/extensions/api/downloads/downloads_api.cc return (data == NULL) ? NULL : data 586 chrome/browser/extensions/api/downloads/downloads_api.cc static_cast<ExtensionDownloadsEventRouterData*>(data); data 899 chrome/browser/extensions/api/downloads/downloads_api.cc ExtensionDownloadsEventRouterData* data, data 906 chrome/browser/extensions/api/downloads/downloads_api.cc data->AddPendingDeterminer(extension->id(), installed); data 945 chrome/browser/extensions/api/downloads/downloads_api.cc base::SupportsUserData::Data* data = item->GetUserData(kKey); data 946 chrome/browser/extensions/api/downloads/downloads_api.cc return (data == NULL) ? NULL : data 947 chrome/browser/extensions/api/downloads/downloads_api.cc static_cast<DownloadedByExtension*>(data); data 1052 chrome/browser/extensions/api/downloads/downloads_api.cc ExtensionDownloadsEventRouterData* data = data 1054 chrome/browser/extensions/api/downloads/downloads_api.cc if (!data) { data 1055 chrome/browser/extensions/api/downloads/downloads_api.cc data = new ExtensionDownloadsEventRouterData( data 1059 chrome/browser/extensions/api/downloads/downloads_api.cc data->CreatorSuggestedFilename( data 1586 chrome/browser/extensions/api/downloads/downloads_api.cc ExtensionDownloadsEventRouterData* data = data 1588 chrome/browser/extensions/api/downloads/downloads_api.cc if (!data) { data 1592 chrome/browser/extensions/api/downloads/downloads_api.cc data->ClearPendingDeterminers(); data 1593 chrome/browser/extensions/api/downloads/downloads_api.cc data->set_filename_change_callbacks(no_change, change); data 1602 chrome/browser/extensions/api/downloads/downloads_api.cc data), data 1605 chrome/browser/extensions/api/downloads/downloads_api.cc data->ClearPendingDeterminers(); data 1606 chrome/browser/extensions/api/downloads/downloads_api.cc if (!data->creator_suggested_filename().empty()) { data 1607 chrome/browser/extensions/api/downloads/downloads_api.cc change.Run(data->creator_suggested_filename(), data 1608 chrome/browser/extensions/api/downloads/downloads_api.cc ConvertConflictAction(data->creator_conflict_action())); data 1610 chrome/browser/extensions/api/downloads/downloads_api.cc data->ResetCreatorSuggestion(); data 1671 chrome/browser/extensions/api/downloads/downloads_api.cc ExtensionDownloadsEventRouterData* data = data 1680 chrome/browser/extensions/api/downloads/downloads_api.cc Fault(!data, errors::kUnexpectedDeterminer, error) || data 1681 chrome/browser/extensions/api/downloads/downloads_api.cc Fault(data->DeterminerAlreadyReported(ext_id), data 1694 chrome/browser/extensions/api/downloads/downloads_api.cc if (Fault(!data->DeterminerCallback( data 1723 chrome/browser/extensions/api/downloads/downloads_api.cc ExtensionDownloadsEventRouterData* data = data 1725 chrome/browser/extensions/api/downloads/downloads_api.cc if (!data) data 1733 chrome/browser/extensions/api/downloads/downloads_api.cc data->DeterminerRemoved(details.extension_id); data 1736 chrome/browser/extensions/api/downloads/downloads_api.cc data->creator_suggested_filename().empty()) { data 1781 chrome/browser/extensions/api/downloads/downloads_api.cc ExtensionDownloadsEventRouterData* data = data 1787 chrome/browser/extensions/api/downloads/downloads_api.cc if (!data) { data 1790 chrome/browser/extensions/api/downloads/downloads_api.cc data = new ExtensionDownloadsEventRouterData( data 1810 chrome/browser/extensions/api/downloads/downloads_api.cc if (!data->json().HasKey(iter.key()) || data 1811 chrome/browser/extensions/api/downloads/downloads_api.cc (data->json().Get(iter.key(), &old_value) && data 1823 chrome/browser/extensions/api/downloads/downloads_api.cc for (base::DictionaryValue::Iterator iter(data->json()); data 1835 chrome/browser/extensions/api/downloads/downloads_api.cc data->OnItemUpdated(); data 1841 chrome/browser/extensions/api/downloads/downloads_api.cc data->OnChangedFired(); data 1843 chrome/browser/extensions/api/downloads/downloads_api.cc data->set_json(new_json.Pass()); data 707 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc const char*data, data 712 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::WriteFile(temp_file, data, length) != length) { data 31 chrome/browser/extensions/api/execute_code_function.cc const std::string& data) { data 34 chrome/browser/extensions/api/execute_code_function.cc DidLoadAndLocalizeFile(success, data); data 55 chrome/browser/extensions/api/execute_code_function.cc data, data 63 chrome/browser/extensions/api/execute_code_function.cc const std::string& data, data 68 chrome/browser/extensions/api/execute_code_function.cc std::string localized_data = data; data 72 chrome/browser/extensions/api/execute_code_function.cc (data.find(MessageBundle::kMessageBegin) != std::string::npos)) { data 96 chrome/browser/extensions/api/execute_code_function.cc const std::string& data) { data 98 chrome/browser/extensions/api/execute_code_function.cc if (!Execute(data)) data 46 chrome/browser/extensions/api/execute_code_function.h void DidLoadFile(bool success, const std::string& data); data 52 chrome/browser/extensions/api/execute_code_function.h const std::string& data, data 58 chrome/browser/extensions/api/execute_code_function.h void DidLoadAndLocalizeFile(bool success, const std::string& data); data 118 chrome/browser/extensions/api/extension_action/extension_action_api.cc reinterpret_cast<unsigned const char*>(raw_str.data()), raw_str.size(), data 127 chrome/browser/extensions/api/extension_action/extension_action_api.cc std::vector<unsigned char> data; data 128 chrome/browser/extensions/api/extension_action/extension_action_api.cc bool success = gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, &data); data 133 chrome/browser/extensions/api/extension_action/extension_action_api.cc reinterpret_cast<const char*>(&data[0]), data.size()); data 374 chrome/browser/extensions/api/extension_action/extension_action_api.cc base::DictionaryValue* data = new base::DictionaryValue(); data 375 chrome/browser/extensions/api/extension_action/extension_action_api.cc data->Set(page_actions_keys::kTabIdKey, new base::FundamentalValue(tab_id)); data 376 chrome/browser/extensions/api/extension_action/extension_action_api.cc data->Set(page_actions_keys::kTabUrlKey, new base::StringValue(url)); data 377 chrome/browser/extensions/api/extension_action/extension_action_api.cc data->Set(page_actions_keys::kButtonKey, data 379 chrome/browser/extensions/api/extension_action/extension_action_api.cc args->Append(data); data 69 chrome/browser/extensions/api/feedback_private/feedback_service.cc void FeedbackService::AttachedFileCallback(scoped_ptr<std::string> data, data 71 chrome/browser/extensions/api/feedback_private/feedback_service.cc if (!data.get()) data 74 chrome/browser/extensions/api/feedback_private/feedback_service.cc feedback_data_->AttachAndCompressFileData(data.Pass()); data 79 chrome/browser/extensions/api/feedback_private/feedback_service.cc void FeedbackService::ScreenshotCallback(scoped_ptr<std::string> data, data 81 chrome/browser/extensions/api/feedback_private/feedback_service.cc if (!data.get()) data 84 chrome/browser/extensions/api/feedback_private/feedback_service.cc feedback_data_->set_image(data.Pass()); data 60 chrome/browser/extensions/api/feedback_private/feedback_service.h void AttachedFileCallback(scoped_ptr<std::string> data, data 62 chrome/browser/extensions/api/feedback_private/feedback_service.h void ScreenshotCallback(scoped_ptr<std::string> data, data 288 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc for (FileHandlerList::const_iterator data = file_handlers->begin(); data 289 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc data != file_handlers->end(); ++data) { data 293 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc if (!FileHandlerCanHandleFile(*data, it->second, it->first)) { data 299 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc handlers.push_back(&*data); data 83 chrome/browser/extensions/api/file_system/file_system_apitest_chromeos.cc const std::string& data, data 88 chrome/browser/extensions/api/file_system/file_system_apitest_chromeos.cc "text/plain", data, parent_id, title, false, data 157 chrome/browser/extensions/api/gcm/gcm_api.cc ValidateMessageData(params->message.data.additional_properties)); data 161 chrome/browser/extensions/api/gcm/gcm_api.cc outgoing_message.data = params->message.data.additional_properties; data 183 chrome/browser/extensions/api/gcm/gcm_api.cc const gcm::GCMClient::MessageData& data) const { data 185 chrome/browser/extensions/api/gcm/gcm_api.cc for (std::map<std::string, std::string>::const_iterator iter = data.begin(); data 186 chrome/browser/extensions/api/gcm/gcm_api.cc iter != data.end(); ++iter) { data 219 chrome/browser/extensions/api/gcm/gcm_api.cc message_arg.data.additional_properties = message.data; data 91 chrome/browser/extensions/api/gcm/gcm_api.h bool ValidateMessageData(const gcm::GCMClient::MessageData& data) const; data 154 chrome/browser/extensions/api/gcm/gcm_apitest.cc EXPECT_TRUE((iter = message.data.find("key1")) != message.data.end()); data 157 chrome/browser/extensions/api/gcm/gcm_apitest.cc EXPECT_TRUE((iter = message.data.find("key2")) != message.data.end()); data 185 chrome/browser/extensions/api/gcm/gcm_apitest.cc message.data["property1"] = "value1"; data 186 chrome/browser/extensions/api/gcm/gcm_apitest.cc message.data["property2"] = "value2"; data 195 chrome/browser/extensions/api/hid/hid_api.cc SetResult(base::BinaryValue::CreateWithCopiedBuffer(buffer_->data(), bytes)); data 219 chrome/browser/extensions/api/hid/hid_api.cc new net::IOBufferWithSize(parameters_->data.size())); data 220 chrome/browser/extensions/api/hid/hid_api.cc memcpy(buffer->data(), parameters_->data.c_str(), parameters_->data.size()); data 265 chrome/browser/extensions/api/hid/hid_api.cc SetResult(base::BinaryValue::CreateWithCopiedBuffer(buffer_->data(), bytes)); data 288 chrome/browser/extensions/api/hid/hid_api.cc new net::IOBufferWithSize(parameters_->data.size())); data 183 chrome/browser/extensions/api/image_writer_private/image_writer_private_api.cc device_list.get()->data); data 48 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos.cc device_list->data.push_back(device); data 85 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos_unittest.cc list->data.begin(); data 86 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos_unittest.cc iter != list->data.end(); data 130 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos_unittest.cc ASSERT_EQ(2U, devices_->data.size()); data 148 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos_unittest.cc ASSERT_EQ(2U, devices_->data.size()); data 114 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_linux.cc device_list->data.push_back(device); data 147 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_win.cc device_list->data.push_back(device); data 205 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc std::vector<linked_ptr<api::log_private::LogEntry> > data; data 207 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc CollectLogInfo(filter_handler_.get(), sys_info.get(), &data); data 211 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc result.data = data; data 28 chrome/browser/extensions/api/messaging/native_message_port.cc base::Unretained(native_process_), message.data)); data 226 chrome/browser/extensions/api/messaging/native_message_process_host.cc *reinterpret_cast<uint32*>(buffer->data()) = json.size(); data 227 chrome/browser/extensions/api/messaging/native_message_process_host.cc memcpy(buffer->data() + kMessageHeaderSize, json.data(), json.size()); data 302 chrome/browser/extensions/api/messaging/native_message_process_host.cc ProcessIncomingData(read_buffer_->data(), result); data 316 chrome/browser/extensions/api/messaging/native_message_process_host.cc const char* data, int data_size) { data 319 chrome/browser/extensions/api/messaging/native_message_process_host.cc incoming_data_.append(data, data_size); data 326 chrome/browser/extensions/api/messaging/native_message_process_host.cc *reinterpret_cast<const uint32*>(incoming_data_.data()); data 117 chrome/browser/extensions/api/messaging/native_message_process_host.h void ProcessIncomingData(const char* data, int data_size); data 158 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc filename, message_with_header.data(), message_with_header.size()); data 50 chrome/browser/extensions/api/messaging/native_messaging_host_manifest_unittest.cc manifest_path_, manifest_content.data(), manifest_content.size()); data 32 chrome/browser/extensions/api/module/module.cc std::string data; data 33 chrome/browser/extensions/api/module/module.cc prefs->ReadPrefAsString(extension_id, kUpdateURLData, &data); data 34 chrome/browser/extensions/api/module/module.cc return data; data 40 chrome/browser/extensions/api/module/module.cc std::string data; data 41 chrome/browser/extensions/api/module/module.cc EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &data)); data 50 chrome/browser/extensions/api/module/module.cc extension_id(), extension::kUpdateURLData, new base::StringValue(data)); data 27 chrome/browser/extensions/api/music_manager_private/device_id.cc *signature_return = StringToLowerASCII(base::HexEncode(digest.data(), data 593 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc params->data, data 106 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc if (!crypto.EncryptByteString(public_key_data, params->data, &ciphertext)) { data 69 chrome/browser/extensions/api/notifications/notifications_api.cc std::string* rgba_data = notification_bitmap->data.get(); data 92 chrome/browser/extensions/api/notifications/notifications_api.cc const char* c_rgba_data = rgba_data->data(); data 124 chrome/browser/extensions/api/push_messaging/obfuscated_gaia_id_fetcher.cc const std::string& data, std::string* result) { data 125 chrome/browser/extensions/api/push_messaging/obfuscated_gaia_id_fetcher.cc scoped_ptr<base::Value> value(base::JSONReader::Read(data)); data 73 chrome/browser/extensions/api/push_messaging/obfuscated_gaia_id_fetcher.h const std::string& data, std::string* obfuscated_id); data 256 chrome/browser/extensions/api/serial/serial_api.cc if (!connection->Send(params_->data, data 86 chrome/browser/extensions/api/serial/serial_apitest.cc virtual bool Send(const std::string& data, data 88 chrome/browser/extensions/api/serial/serial_apitest.cc callback.Run(data.length(), api::serial::SEND_ERROR_NONE); data 90 chrome/browser/extensions/api/serial/serial_apitest.cc read_callback_.Run(data, api::serial::RECEIVE_ERROR_NONE); data 110 chrome/browser/extensions/api/serial/serial_connection.cc bool SerialConnection::Send(const std::string& data, data 116 chrome/browser/extensions/api/serial/serial_connection.cc io_handler_->Write(data); data 226 chrome/browser/extensions/api/serial/serial_connection.cc void SerialConnection::OnAsyncReadComplete(const std::string& data, data 233 chrome/browser/extensions/api/serial/serial_connection.cc callback.Run(data, error); data 42 chrome/browser/extensions/api/serial/serial_connection.h void(const std::string& data, api::serial::ReceiveError error)> data 94 chrome/browser/extensions/api/serial/serial_connection.h virtual bool Send(const std::string& data, data 179 chrome/browser/extensions/api/serial/serial_connection.h void OnAsyncReadComplete(const std::string& data, data 90 chrome/browser/extensions/api/serial/serial_event_dispatcher.cc const std::string& data, data 96 chrome/browser/extensions/api/serial/serial_event_dispatcher.cc if (data.length() > 0) { data 99 chrome/browser/extensions/api/serial/serial_event_dispatcher.cc receive_info.data = data; data 58 chrome/browser/extensions/api/serial/serial_event_dispatcher.h const std::string& data, data 45 chrome/browser/extensions/api/serial/serial_io_handler.cc void SerialIoHandler::Write(const std::string& data) { data 48 chrome/browser/extensions/api/serial/serial_io_handler.cc pending_write_buffer_ = new net::IOBuffer(data.length()); data 49 chrome/browser/extensions/api/serial/serial_io_handler.cc pending_write_buffer_len_ = data.length(); data 50 chrome/browser/extensions/api/serial/serial_io_handler.cc memcpy(pending_write_buffer_->data(), data.data(), pending_write_buffer_len_); data 60 chrome/browser/extensions/api/serial/serial_io_handler.cc read_complete_.Run(std::string(pending_read_buffer_->data(), bytes_read), data 29 chrome/browser/extensions/api/serial/serial_io_handler.h typedef base::Callback<void(const std::string& data, data 52 chrome/browser/extensions/api/serial/serial_io_handler.h void Write(const std::string& data); data 57 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc pending_read_buffer()->data(), data 84 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc pending_write_buffer()->data(), data 66 chrome/browser/extensions/api/serial/serial_io_handler_win.cc pending_write_buffer()->data(), data 106 chrome/browser/extensions/api/serial/serial_io_handler_win.cc pending_read_buffer()->data(), data 45 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc TemplateURLData data; data 47 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc data.short_name = base::UTF8ToUTF16(search_provider.name); data 48 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc data.SetKeyword(base::UTF8ToUTF16(search_provider.keyword)); data 49 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc data.SetURL( data 52 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc data.suggestions_url = data 56 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc data.instant_url = data 60 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc data.image_url = data 64 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc data.search_url_post_params = *search_provider.search_url_post_params; data 66 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc data.suggestions_url_post_params = *search_provider.suggest_url_post_params; data 68 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc data.instant_url_post_params = *search_provider.instant_url_post_params; data 70 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc data.image_url_post_params = *search_provider.image_url_post_params; data 71 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc data.favicon_url = GURL( data 73 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc data.show_in_default_list = true; data 74 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc data.safe_for_autoreplace = false; data 75 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc data.input_encodings.push_back(search_provider.encoding); data 76 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc data.date_created = base::Time(); data 77 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc data.last_modified = base::Time(); data 78 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc data.prepopulate_id = 0; data 82 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc data.alternate_urls.push_back(SubstituteInstallParam( data 86 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc return data; data 246 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc TemplateURLData data = data 248 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc url_service_->AddExtensionControlledTURL(new TemplateURL(profile_, data), data 91 chrome/browser/extensions/api/socket/udp_socket_unittest.cc scoped_refptr<net::IOBuffer> data = new net::WrappedIOBuffer(test_message); data 92 chrome/browser/extensions/api/socket/udp_socket_unittest.cc src->Write(data, test_message_length, base::Bind(&OnSendCompleted)); data 106 chrome/browser/extensions/api/socket/udp_socket_unittest.cc EXPECT_EQ(0, strncmp(io_buffer->data(), test_message, test_message_length)); data 1402 chrome/browser/extensions/api/storage/settings_sync_unittest.cc ValueStore::ReadResult data = storage->Get(); data 1403 chrome/browser/extensions/api/storage/settings_sync_unittest.cc ASSERT_FALSE(data->HasError()); data 1409 chrome/browser/extensions/api/storage/settings_sync_unittest.cc EXPECT_TRUE(base::Value::Equals(&expected_data, &data->settings())); data 182 chrome/browser/extensions/api/storage/sync_storage_backend.cc SettingSyncData data(*it); data 184 chrome/browser/extensions/api/storage/sync_storage_backend.cc grouped_sync_data[data.extension_id()]; data 188 chrome/browser/extensions/api/storage/sync_storage_backend.cc grouped_sync_data[data.extension_id()] = sync_data; data 190 chrome/browser/extensions/api/storage/sync_storage_backend.cc DCHECK(!sync_data->HasKey(data.key())) << "Duplicate settings for " data 191 chrome/browser/extensions/api/storage/sync_storage_backend.cc << data.extension_id() << "/" data 192 chrome/browser/extensions/api/storage/sync_storage_backend.cc << data.key(); data 193 chrome/browser/extensions/api/storage/sync_storage_backend.cc sync_data->SetWithoutPathExpansion(data.key(), data.value().DeepCopy()); data 242 chrome/browser/extensions/api/storage/sync_storage_backend.cc SettingSyncData data(*it); data 243 chrome/browser/extensions/api/storage/sync_storage_backend.cc grouped_sync_data[data.extension_id()].push_back(data); data 25 chrome/browser/extensions/api/system_display/display_info_provider_win.cc LPARAM data) { data 26 chrome/browser/extensions/api/system_display/display_info_provider_win.cc DisplayInfo* all_displays = reinterpret_cast<DisplayInfo*>(data); data 32 chrome/browser/extensions/api/top_sites/top_sites_api.cc const history::MostVisitedURLList& data) { data 34 chrome/browser/extensions/api/top_sites/top_sites_api.cc for (size_t i = 0; i < data.size(); i++) { data 35 chrome/browser/extensions/api/top_sites/top_sites_api.cc const history::MostVisitedURL& url = data[i]; data 27 chrome/browser/extensions/api/top_sites/top_sites_api.h void OnMostVisitedURLsAvailable(const history::MostVisitedURLList& data); data 43 chrome/browser/extensions/api/top_sites/top_sites_apitest.cc void OnTopSitesAvailable(const history::MostVisitedURLList& data) { data 247 chrome/browser/extensions/api/usb/usb_api.cc if (input.data.get()) { data 248 chrome/browser/extensions/api/usb/usb_api.cc *output = input.data->size(); data 271 chrome/browser/extensions/api/usb/usb_api.cc if (input.data.get() && size <= input.data->size()) { data 272 chrome/browser/extensions/api/usb/usb_api.cc memcpy(buffer->data(), input.data->data(), size); data 343 chrome/browser/extensions/api/usb/usb_api.cc scoped_refptr<net::IOBuffer> data, data 347 chrome/browser/extensions/api/usb/usb_api.cc result->Set(kDataKey, base::BinaryValue::CreateWithCopiedBuffer(data->data(), data 490 chrome/browser/extensions/api/usb/usb_api.cc scoped_refptr<net::IOBuffer> data, data 495 chrome/browser/extensions/api/usb/usb_api.cc SetResult(CreateTransferInfo(status, data, length)); data 64 chrome/browser/extensions/api/usb/usb_api.h scoped_refptr<net::IOBuffer> data, data 234 chrome/browser/extensions/api/web_request/form_data_parser.cc bool FinishReadingPart(base::StringPiece* data); data 395 chrome/browser/extensions/api/web_request/form_data_parser.cc source_.set(source.data(), source.size()); data 417 chrome/browser/extensions/api/web_request/form_data_parser.cc const char* copy_start = literal.data(); data 422 chrome/browser/extensions/api/web_request/form_data_parser.cc copy_length = seek_unquote.data() - copy_start; data 426 chrome/browser/extensions/api/web_request/form_data_parser.cc copy_start = seek_unquote.data(); data 430 chrome/browser/extensions/api/web_request/form_data_parser.cc copy_length = (literal.data() + literal.size()) - copy_start; data 455 chrome/browser/extensions/api/web_request/form_data_parser.cc bool FormDataParserMultipart::FinishReadingPart(base::StringPiece* data) { data 456 chrome/browser/extensions/api/web_request/form_data_parser.cc const char* data_start = source_.data(); data 464 chrome/browser/extensions/api/web_request/form_data_parser.cc if (data != NULL) { data 465 chrome/browser/extensions/api/web_request/form_data_parser.cc if (source_.data() == data_start) { data 471 chrome/browser/extensions/api/web_request/form_data_parser.cc data->set(data_start, source_.data() - data_start - 2u); data 532 chrome/browser/extensions/api/web_request/form_data_parser.cc if (source.data() == NULL || source_.size() != 0) data 534 chrome/browser/extensions/api/web_request/form_data_parser.cc source_.set(source.data(), source.size()); data 569 chrome/browser/extensions/api/web_request/form_data_parser.cc const char* header_start = source_.data(); data 575 chrome/browser/extensions/api/web_request/form_data_parser.cc re2::StringPiece header(header_start, source_.data() - header_start - 2u); data 588 chrome/browser/extensions/api/web_request/form_data_parser.cc name->set(groups[1].data(), groups[1].size()); data 593 chrome/browser/extensions/api/web_request/form_data_parser.cc value->set(groups[1].data(), groups[1].size()); data 55 chrome/browser/extensions/app_background_page_apitest.cc app_manifest.data(), data 197 chrome/browser/extensions/blacklist_state_fetcher.cc std::string data; data 198 chrome/browser/extensions/blacklist_state_fetcher.cc source->GetResponseAsString(&data); data 200 chrome/browser/extensions/blacklist_state_fetcher.cc if (response.ParseFromString(data)) { data 253 chrome/browser/extensions/bookmark_app_helper.cc icon_info.data = resized_bitmaps_it->second; data 254 chrome/browser/extensions/bookmark_app_helper.cc icon_info.width = icon_info.data.width(); data 255 chrome/browser/extensions/bookmark_app_helper.cc icon_info.height = icon_info.data.height(); data 75 chrome/browser/extensions/bookmark_app_helper_unittest.cc icon_info.data = CreateSquareBitmapWithColor(size, color); data 137 chrome/browser/extensions/convert_web_app.cc if (web_app.icons[i].data.config() == SkBitmap::kNo_Config) data 143 chrome/browser/extensions/convert_web_app.cc if (!gfx::PNGCodec::EncodeBGRASkBitmap(web_app.icons[i].data, data 61 chrome/browser/extensions/convert_web_app_unittest.cc icon_data.size(), &result.data)) { data 73 chrome/browser/extensions/extension_action_icon_factory_unittest.cc const unsigned char* data = data 74 chrome/browser/extensions/extension_action_icon_factory_unittest.cc reinterpret_cast<const unsigned char*>(file_contents.data()); data 77 chrome/browser/extensions/extension_action_icon_factory_unittest.cc gfx::PNGCodec::Decode(data, file_contents.length(), &bitmap); data 53 chrome/browser/extensions/extension_function_test_utils.cc base::Value* ParseJSON(const std::string& data) { data 54 chrome/browser/extensions/extension_function_test_utils.cc return base::JSONReader::Read(data); data 57 chrome/browser/extensions/extension_function_test_utils.cc base::ListValue* ParseList(const std::string& data) { data 58 chrome/browser/extensions/extension_function_test_utils.cc scoped_ptr<base::Value> result(ParseJSON(data)); data 66 chrome/browser/extensions/extension_function_test_utils.cc const std::string& data) { data 67 chrome/browser/extensions/extension_function_test_utils.cc scoped_ptr<base::Value> result(ParseJSON(data)); data 31 chrome/browser/extensions/extension_function_test_utils.h base::Value* ParseJSON(const std::string& data); data 32 chrome/browser/extensions/extension_function_test_utils.h base::ListValue* ParseList(const std::string& data); data 33 chrome/browser/extensions/extension_function_test_utils.h base::DictionaryValue* ParseDictionary(const std::string& data); data 390 chrome/browser/extensions/extension_install_prompt.cc StarAppender appender, void* data) const { data 407 chrome/browser/extensions/extension_install_prompt.cc appender(rb.GetImageSkiaNamed(IDR_EXTENSIONS_RATING_STAR_ON), data); data 410 chrome/browser/extensions/extension_install_prompt.cc appender(rb.GetImageSkiaNamed(IDR_EXTENSIONS_RATING_STAR_HALF_LEFT), data); data 414 chrome/browser/extensions/extension_install_prompt.cc appender(rb.GetImageSkiaNamed(IDR_EXTENSIONS_RATING_STAR_OFF), data); data 125 chrome/browser/extensions/extension_install_prompt.h void AppendRatingStars(StarAppender appender, void* data) const; data 276 chrome/browser/extensions/extension_message_bubble_controller_unittest.cc const std::string& data, data 279 chrome/browser/extensions/extension_message_bubble_controller_unittest.cc extension_function_test_utils::ParseDictionary(data)); data 54 chrome/browser/extensions/extension_messages_apitest.cc const std::string& data) { data 57 chrome/browser/extensions/extension_messages_apitest.cc event->SetString("data", data); data 124 chrome/browser/extensions/extension_protocols.cc std::string* data, data 127 chrome/browser/extensions/extension_protocols.cc *data = rb.GetRawDataResource(resource_id_).as_string(); data 132 chrome/browser/extensions/extension_protocols.cc base::UintToString(data->size()).c_str())); data 142 chrome/browser/extensions/extension_protocols.cc mime_type, charset, data, data 159 chrome/browser/extensions/extension_protocols.cc std::string* data, data 167 chrome/browser/extensions/extension_protocols.cc DCHECK(IsStringUTF8(*data)); data 203 chrome/browser/extensions/extension_protocols.cc std::string* data, data 208 chrome/browser/extensions/extension_protocols.cc *data = "<!DOCTYPE html>\n<body>\n"; data 212 chrome/browser/extensions/extension_protocols.cc *data += "<script src=\""; data 213 chrome/browser/extensions/extension_protocols.cc *data += background_scripts[i]; data 214 chrome/browser/extensions/extension_protocols.cc *data += "\"></script>\n"; data 5514 chrome/browser/extensions/extension_service_unittest.cc extensions::ExtensionSyncData data(list[0]); data 5515 chrome/browser/extensions/extension_service_unittest.cc EXPECT_EQ(extension->id(), data.id()); data 5516 chrome/browser/extensions/extension_service_unittest.cc EXPECT_FALSE(data.uninstalled()); data 5517 chrome/browser/extensions/extension_service_unittest.cc EXPECT_EQ(service_->IsExtensionEnabled(good_crx), data.enabled()); data 5519 chrome/browser/extensions/extension_service_unittest.cc data.incognito_enabled()); data 5520 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(data.version().Equals(*extension->version())); data 5522 chrome/browser/extensions/extension_service_unittest.cc data.update_url()); data 5523 chrome/browser/extensions/extension_service_unittest.cc EXPECT_EQ(extension->name(), data.name()); data 5545 chrome/browser/extensions/extension_service_unittest.cc extensions::ExtensionSyncData data(list[0]); data 5546 chrome/browser/extensions/extension_service_unittest.cc EXPECT_EQ(extension->id(), data.id()); data 5547 chrome/browser/extensions/extension_service_unittest.cc EXPECT_FALSE(data.uninstalled()); data 5548 chrome/browser/extensions/extension_service_unittest.cc EXPECT_EQ(service_->IsExtensionEnabled(good_crx), data.enabled()); data 5550 chrome/browser/extensions/extension_service_unittest.cc data.incognito_enabled()); data 5551 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(data.version().Equals(*extension->version())); data 5553 chrome/browser/extensions/extension_service_unittest.cc data.update_url()); data 5554 chrome/browser/extensions/extension_service_unittest.cc EXPECT_EQ(extension->name(), data.name()); data 5597 chrome/browser/extensions/extension_service_unittest.cc extensions::ExtensionSyncData data(list[0]); data 5598 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(data.enabled()); data 5599 chrome/browser/extensions/extension_service_unittest.cc EXPECT_FALSE(data.incognito_enabled()); data 5607 chrome/browser/extensions/extension_service_unittest.cc extensions::ExtensionSyncData data(list[0]); data 5608 chrome/browser/extensions/extension_service_unittest.cc EXPECT_FALSE(data.enabled()); data 5609 chrome/browser/extensions/extension_service_unittest.cc EXPECT_FALSE(data.incognito_enabled()); data 5617 chrome/browser/extensions/extension_service_unittest.cc extensions::ExtensionSyncData data(list[0]); data 5618 chrome/browser/extensions/extension_service_unittest.cc EXPECT_FALSE(data.enabled()); data 5619 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(data.incognito_enabled()); data 5627 chrome/browser/extensions/extension_service_unittest.cc extensions::ExtensionSyncData data(list[0]); data 5628 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(data.enabled()); data 5629 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(data.incognito_enabled()); data 5759 chrome/browser/extensions/extension_service_unittest.cc extensions::AppSyncData data[kAppCount]; data 5761 chrome/browser/extensions/extension_service_unittest.cc data[i] = extensions::AppSyncData(list[i]); data 5770 chrome/browser/extensions/extension_service_unittest.cc if (apps[i]->id() == data[j].id()) data 5771 chrome/browser/extensions/extension_service_unittest.cc app_launch_ordinals[i] = data[j].app_launch_ordinal(); data 103 chrome/browser/extensions/extension_web_ui.cc &bitmap_data->data())) { data 93 chrome/browser/extensions/image_loader.cc const unsigned char* data = data 94 chrome/browser/extensions/image_loader.cc reinterpret_cast<const unsigned char*>(file_contents.data()); data 101 chrome/browser/extensions/image_loader.cc gfx::PNGCodec::Decode(data, file_contents.length(), bitmap); data 93 chrome/browser/extensions/install_signer.cc hash->Update(machine_id.data(), machine_id.size()); data 94 chrome/browser/extensions/install_signer.cc hash->Update(salt.data(), salt.size()); data 259 chrome/browser/extensions/install_signer.cc signature.signature.data()), data 261 chrome/browser/extensions/install_signer.cc reinterpret_cast<const uint8*>(public_key.data()), data 265 chrome/browser/extensions/install_signer.cc verifier.VerifyUpdate(reinterpret_cast<const uint8*>(signed_data.data()), data 190 chrome/browser/extensions/sandboxed_unpacker.cc IPC::Message pickle(file_str.data(), file_str.size()); data 206 chrome/browser/extensions/sandboxed_unpacker.cc IPC::Message pickle(file_str.data(), file_str.size()); data 632 chrome/browser/extensions/sandboxed_unpacker.cc if (base::WriteFile(manifest_path, manifest_json.data(), size) != size) { data 36 chrome/browser/extensions/test_extension_dir.cc dir_.path().Append(filename), contents.data(), contents.size())); data 412 chrome/browser/extensions/updater/extension_downloader.cc std::string data; data 413 chrome/browser/extensions/updater/extension_downloader.cc source->GetResponseAsString(&data); data 418 chrome/browser/extensions/updater/extension_downloader.cc data); data 435 chrome/browser/extensions/updater/extension_downloader.cc const std::string& data) { data 439 chrome/browser/extensions/updater/extension_downloader.cc (response_code == 200 || (url.SchemeIsFile() && data.length() > 0))) { data 445 chrome/browser/extensions/updater/extension_downloader.cc data, data 162 chrome/browser/extensions/updater/extension_downloader.h const std::string& data); data 81 chrome/browser/extensions/updater/local_extension_cache_unittest.cc std::string data(size, 0); data 82 chrome/browser/extensions/updater/local_extension_cache_unittest.cc EXPECT_EQ(base::WriteFile(file, data.data(), data.size()), int(size)); data 174 chrome/browser/extensions/user_script_listener.cc ProfileData& data = profile_data_[profile_id]; data 175 chrome/browser/extensions/user_script_listener.cc data.user_scripts_ready = false; data 177 chrome/browser/extensions/user_script_listener.cc data.url_patterns.insert(data.url_patterns.end(), data 185 chrome/browser/extensions/user_script_listener.cc ProfileData& data = profile_data_[profile_id]; data 186 chrome/browser/extensions/user_script_listener.cc data.url_patterns = patterns; data 48 chrome/browser/extensions/user_script_master.cc std::string temp(line.data() + index + prefix.length(), data 94 chrome/browser/extensions/user_script_master.cc line.set(script_text.data() + line_start, line_end - line_start); data 279 chrome/browser/extensions/user_script_master.cc pickle.WriteData(contents.data(), contents.length()); data 283 chrome/browser/extensions/user_script_master.cc pickle.WriteData(contents.data(), contents.length()); data 294 chrome/browser/extensions/user_script_master.cc memcpy(shared_memory.memory(), pickle.data(), pickle.size()); data 70 chrome/browser/external_extension_browsertest.cc const IsSearchProviderTestData& data) { data 71 chrome/browser/external_extension_browsertest.cc base::string16 title = data.tab->GetTitle(); data 73 chrome/browser/external_extension_browsertest.cc content::TitleWatcher title_watcher(data.tab, base::ASCIIToUTF16("OK")); data 55 chrome/browser/favicon/favicon_handler_unittest.cc scoped_refptr<base::RefCountedBytes> data(new base::RefCountedBytes()); data 56 chrome/browser/favicon/favicon_handler_unittest.cc FillBitmap(gfx::kFaviconSize, gfx::kFaviconSize, &data->data()); data 59 chrome/browser/favicon/favicon_handler_unittest.cc bitmap_result.bitmap_data = data; data 292 chrome/browser/favicon/favicon_service.cc &bitmap_data->data())) { data 247 chrome/browser/favicon/favicon_util.cc resized_image_skia_reps[i].sk_bitmap(), false, &png_bytes->data())) { data 76 chrome/browser/feedback/feedback_data.cc const std::string& data, std::string* compressed_data) { data 77 chrome/browser/feedback/feedback_data.cc if (!feedback_util::ZipString(filename, data, compressed_data)) data 215 chrome/browser/feedback/feedback_data.cc scoped_ptr<std::string> data(new std::string); data 216 chrome/browser/feedback/feedback_data.cc data->swap(trace_data->data()); data 219 chrome/browser/feedback/feedback_data.cc attached_filedata_ = data.Pass(); data 52 chrome/browser/feedback/feedback_profile_observer.cc const std::string& data) { data 55 chrome/browser/feedback/feedback_profile_observer.cc uploader->AsWeakPtr(), data)); data 44 chrome/browser/feedback/feedback_profile_observer.h const std::string& data); data 24 chrome/browser/feedback/feedback_report.cc const std::string& data) { data 31 chrome/browser/feedback/feedback_report.cc base::ImportantFileWriter::WriteFileAtomically(file, data); data 41 chrome/browser/feedback/feedback_report.cc const std::string& data, data 45 chrome/browser/feedback/feedback_report.cc data_(data), data 76 chrome/browser/feedback/feedback_report.cc std::string data; data 77 chrome/browser/feedback/feedback_report.cc if (ReadFileToString(name, &data)) data 78 chrome/browser/feedback/feedback_report.cc callback.Run(data); data 31 chrome/browser/feedback/feedback_report.h const std::string& data, data 39 chrome/browser/feedback/feedback_report.h const std::string& data() const { return data_; } data 45 chrome/browser/feedback/feedback_uploader.cc void FeedbackUploader::QueueReport(const std::string& data) { data 46 chrome/browser/feedback/feedback_uploader.cc QueueReportWithDelay(data, base::TimeDelta()); data 57 chrome/browser/feedback/feedback_uploader.cc dispatch_callback_.Run(report->data()); data 69 chrome/browser/feedback/feedback_uploader.cc void FeedbackUploader::RetryReport(const std::string& data) { data 70 chrome/browser/feedback/feedback_uploader.cc QueueReportWithDelay(data, retry_delay_); data 73 chrome/browser/feedback/feedback_uploader.cc void FeedbackUploader::QueueReportWithDelay(const std::string& data, data 84 chrome/browser/feedback/feedback_uploader.cc data, data 34 chrome/browser/feedback/feedback_uploader.h void QueueReport(const std::string& data); data 45 chrome/browser/feedback/feedback_uploader.h virtual void DispatchReport(const std::string& data) = 0; data 51 chrome/browser/feedback/feedback_uploader.h void RetryReport(const std::string& data); data 53 chrome/browser/feedback/feedback_uploader.h void QueueReportWithDelay(const std::string& data, base::TimeDelta delay); data 41 chrome/browser/feedback/feedback_uploader_chrome.cc void FeedbackUploaderChrome::DispatchReport(const std::string& data) { data 47 chrome/browser/feedback/feedback_uploader_chrome.cc data, data 51 chrome/browser/feedback/feedback_uploader_chrome.cc fetcher->SetUploadData(std::string(kProtoBufMimeType), data); data 23 chrome/browser/feedback/feedback_uploader_chrome.h virtual void DispatchReport(const std::string& data) OVERRIDE; data 60 chrome/browser/feedback/feedback_uploader_unittest.cc void QueueReport(const std::string& data) { data 61 chrome/browser/feedback/feedback_uploader_unittest.cc uploader_->QueueReport(data); data 64 chrome/browser/feedback/feedback_uploader_unittest.cc void ReportFailure(const std::string& data) { data 65 chrome/browser/feedback/feedback_uploader_unittest.cc uploader_->RetryReport(data); data 97 chrome/browser/feedback/feedback_util.cc std::string* data) { data 98 chrome/browser/feedback/feedback_util.cc if (data == NULL || data->empty()) data 105 chrome/browser/feedback/feedback_util.cc attachment->set_data(*data); data 150 chrome/browser/feedback/feedback_util.cc void SendReport(scoped_refptr<FeedbackData> data) { data 151 chrome/browser/feedback/feedback_util.cc if (!data.get()) { data 164 chrome/browser/feedback/feedback_util.cc common_data->set_user_email(data->user_email()); data 165 chrome/browser/feedback/feedback_util.cc common_data->set_description(data->description()); data 171 chrome/browser/feedback/feedback_util.cc web_data->set_url(data->page_url()); data 175 chrome/browser/feedback/feedback_util.cc if (data->sys_info()) { data 177 chrome/browser/feedback/feedback_util.cc data->sys_info()->begin(); i != data->sys_info()->end(); ++i) { data 182 chrome/browser/feedback/feedback_util.cc AddAttachment(&feedback_data, kLogsAttachmentName, data->compressed_logs()); data 185 chrome/browser/feedback/feedback_util.cc if (data->histograms()) { data 188 chrome/browser/feedback/feedback_util.cc data->compressed_histograms()); data 191 chrome/browser/feedback/feedback_util.cc if (!data->attached_filename().empty()) { data 195 chrome/browser/feedback/feedback_util.cc data->attached_filename()).BaseName().AsUTF8Unsafe(); data 196 chrome/browser/feedback/feedback_util.cc AddAttachment(&feedback_data, name.c_str(), data->attached_filedata()); data 201 chrome/browser/feedback/feedback_util.cc if (data->image() && data->image()->size()) { data 212 chrome/browser/feedback/feedback_util.cc screenshot.set_binary_content(*data->image()); data 217 chrome/browser/feedback/feedback_util.cc if (data->category_tag().size()) data 218 chrome/browser/feedback/feedback_util.cc feedback_data.set_bucket(data->category_tag()); data 248 chrome/browser/feedback/feedback_util.cc feedback::FeedbackUploaderFactory::GetForBrowserContext(data->profile()); data 253 chrome/browser/feedback/feedback_util.cc const std::string& data, std::string* compressed_logs) { data 261 chrome/browser/feedback/feedback_util.cc if (base::WriteFile(temp_path.Append(filename), data.c_str(), data.size()) == data 38 chrome/browser/feedback/feedback_util.h void SendReport(scoped_refptr<FeedbackData> data); data 40 chrome/browser/feedback/feedback_util.h const std::string& data, std::string* compressed_data); data 67 chrome/browser/feedback/tracing_manager.cc std::map<int, scoped_refptr<base::RefCountedString> >::iterator data = data 69 chrome/browser/feedback/tracing_manager.cc if (data == trace_data_.end()) data 75 chrome/browser/feedback/tracing_manager.cc base::Bind(callback, data->second)); data 105 chrome/browser/feedback/tracing_manager.cc std::string data; data 106 chrome/browser/feedback/tracing_manager.cc if (!base::ReadFileToString(path, &data)) { data 114 chrome/browser/feedback/tracing_manager.cc base::FilePath(kTracingFilename), data, &output_val); data 103 chrome/browser/file_select_helper.cc const net::DirectoryLister::DirectoryListerData& data) { data 104 chrome/browser/file_select_helper.cc parent_->OnListFile(id_, data); data 199 chrome/browser/file_select_helper.cc const net::DirectoryLister::DirectoryListerData& data) { data 203 chrome/browser/file_select_helper.cc if (data.info.IsDirectory()) data 206 chrome/browser/file_select_helper.cc entry->results_.push_back(data.path); data 64 chrome/browser/file_select_helper.h const net::DirectoryLister::DirectoryListerData& data) OVERRIDE; data 117 chrome/browser/file_select_helper.h const net::DirectoryLister::DirectoryListerData& data); data 111 chrome/browser/first_run/first_run_internal_win.cc base::WriteFile(*eula_path, terms.data(), terms.size()) != -1); data 57 chrome/browser/google/google_url_tracker_infobar_delegate.cc replacements.SetHost(host.data(), url_parse::Component(0, host.length())); data 849 chrome/browser/google/google_url_tracker_unittest.cc replacements.SetScheme(scheme.data(), data 202 chrome/browser/hang_monitor/hung_plugin_action.cc ULONG_PTR data, data 204 chrome/browser/hang_monitor/hung_plugin_action.cc HungPluginAction* instance = reinterpret_cast<HungPluginAction*>(data); data 34 chrome/browser/hang_monitor/hung_plugin_action.h ULONG_PTR data, data 120 chrome/browser/history/android/android_history_types.h void set_favicon(const scoped_refptr<base::RefCountedMemory>& data) { data 122 chrome/browser/history/android/android_history_types.h favicon_ = data; data 254 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<unsigned char> data; data 255 chrome/browser/history/android/android_provider_backend_unittest.cc data.push_back('1'); data 257 chrome/browser/history/android/android_provider_backend_unittest.cc bitmap_data_element.bitmap_data = new base::RefCountedBytes(data); data 403 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<unsigned char> data; data 404 chrome/browser/history/android/android_provider_backend_unittest.cc data.push_back('1'); data 406 chrome/browser/history/android/android_provider_backend_unittest.cc bitmap_data_element.bitmap_data = new base::RefCountedBytes(data); data 506 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<unsigned char> data; data 507 chrome/browser/history/android/android_provider_backend_unittest.cc data.push_back('1'); data 508 chrome/browser/history/android/android_provider_backend_unittest.cc row2.set_favicon(base::RefCountedBytes::TakeVector(&data)); data 614 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<unsigned char> data; data 615 chrome/browser/history/android/android_provider_backend_unittest.cc data.push_back('1'); data 616 chrome/browser/history/android/android_provider_backend_unittest.cc row2.set_favicon(base::RefCountedBytes::TakeVector(&data)); data 801 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<unsigned char> data; data 802 chrome/browser/history/android/android_provider_backend_unittest.cc data.push_back('1'); data 803 chrome/browser/history/android/android_provider_backend_unittest.cc row2.set_favicon(base::RefCountedBytes::TakeVector(&data)); data 980 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<unsigned char> data; data 981 chrome/browser/history/android/android_provider_backend_unittest.cc data.push_back('1'); data 982 chrome/browser/history/android/android_provider_backend_unittest.cc row2.set_favicon(base::RefCountedBytes::TakeVector(&data)); data 1060 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<unsigned char> data; data 1061 chrome/browser/history/android/android_provider_backend_unittest.cc data.push_back('1'); data 1062 chrome/browser/history/android/android_provider_backend_unittest.cc row2.set_favicon(base::RefCountedBytes::TakeVector(&data)); data 1140 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<unsigned char> data; data 1141 chrome/browser/history/android/android_provider_backend_unittest.cc data.push_back('1'); data 1142 chrome/browser/history/android/android_provider_backend_unittest.cc update_row1.set_favicon(base::RefCountedBytes::TakeVector(&data)); data 1562 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<unsigned char> data; data 1563 chrome/browser/history/android/android_provider_backend_unittest.cc data.push_back('1'); data 1564 chrome/browser/history/android/android_provider_backend_unittest.cc row2.set_favicon(base::RefCountedBytes::TakeVector(&data)); data 1726 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<unsigned char> data; data 1727 chrome/browser/history/android/android_provider_backend_unittest.cc data.push_back('1'); data 1728 chrome/browser/history/android/android_provider_backend_unittest.cc row2.set_favicon(base::RefCountedBytes::TakeVector(&data)); data 1802 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<unsigned char> data; data 1803 chrome/browser/history/android/android_provider_backend_unittest.cc data.push_back('1'); data 1805 chrome/browser/history/android/android_provider_backend_unittest.cc bitmap_data_element.bitmap_data = new base::RefCountedBytes(data); data 1891 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<unsigned char> data; data 1892 chrome/browser/history/android/android_provider_backend_unittest.cc data.push_back('1'); data 1893 chrome/browser/history/android/android_provider_backend_unittest.cc row2.set_favicon(base::RefCountedBytes::TakeVector(&data)); data 1950 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<unsigned char> data; data 1951 chrome/browser/history/android/android_provider_backend_unittest.cc data.push_back('1'); data 1952 chrome/browser/history/android/android_provider_backend_unittest.cc row2.set_favicon(base::RefCountedBytes::TakeVector(&data)); data 2051 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<unsigned char> data; data 2052 chrome/browser/history/android/android_provider_backend_unittest.cc data.push_back('1'); data 2053 chrome/browser/history/android/android_provider_backend_unittest.cc update_row1.set_favicon(base::RefCountedBytes::TakeVector(&data)); data 85 chrome/browser/history/android/sqlite_cursor.cc env->NewString(value.data(), value.size())); data 211 chrome/browser/history/android/sqlite_cursor_unittest.cc base::android::ScopedJavaLocalRef<jbyteArray> data = data 214 chrome/browser/history/android/sqlite_cursor_unittest.cc base::android::JavaByteArrayToByteVector(env, data.obj(), &out); data 215 chrome/browser/history/android/sqlite_cursor_unittest.cc EXPECT_EQ(data_bytes->data().size(), out.size()); data 216 chrome/browser/history/android/sqlite_cursor_unittest.cc EXPECT_EQ(data_bytes->data()[0], out[0]); data 449 chrome/browser/history/download_database.cc bool DownloadDatabase::UpdateDownload(const DownloadRow& data) { data 452 chrome/browser/history/download_database.cc DCHECK_NE(content::DownloadItem::kInvalidId, data.id); data 453 chrome/browser/history/download_database.cc int state = StateToInt(data.state); data 458 chrome/browser/history/download_database.cc int danger_type = DangerTypeToInt(data.danger_type); data 471 chrome/browser/history/download_database.cc BindFilePath(statement, data.current_path, column++); data 472 chrome/browser/history/download_database.cc BindFilePath(statement, data.target_path, column++); data 473 chrome/browser/history/download_database.cc statement.BindInt64(column++, data.received_bytes); data 476 chrome/browser/history/download_database.cc statement.BindInt(column++, static_cast<int>(data.interrupt_reason)); data 477 chrome/browser/history/download_database.cc statement.BindInt64(column++, data.end_time.ToInternalValue()); data 478 chrome/browser/history/download_database.cc statement.BindInt64(column++, data.total_bytes); data 479 chrome/browser/history/download_database.cc statement.BindInt(column++, (data.opened ? 1 : 0)); data 480 chrome/browser/history/download_database.cc statement.BindString(column++, data.by_ext_id); data 481 chrome/browser/history/download_database.cc statement.BindString(column++, data.by_ext_name); data 482 chrome/browser/history/download_database.cc statement.BindString(column++, data.etag); data 483 chrome/browser/history/download_database.cc statement.BindString(column++, data.last_modified); data 484 chrome/browser/history/download_database.cc statement.BindInt(column++, data.id); data 40 chrome/browser/history/download_database.h bool UpdateDownload(const DownloadRow& data); data 313 chrome/browser/history/expire_history_backend_unittest.cc scoped_refptr<base::RefCountedMemory> data; data 314 chrome/browser/history/expire_history_backend_unittest.cc return top_sites_->GetPageThumbnail(url, false, &data); data 1182 chrome/browser/history/history_backend.cc void HistoryBackend::UpdateDownload(const history::DownloadRow& data) { data 1185 chrome/browser/history/history_backend.cc db_->UpdateDownload(data); data 1406 chrome/browser/history/history_backend.cc ScopedVector<PageUsageData> data; data 1408 chrome/browser/history/history_backend.cc result_count, &data.get()); data 1410 chrome/browser/history/history_backend.cc for (size_t i = 0; i < data.size(); ++i) { data 1411 chrome/browser/history/history_backend.cc top_urls->push_back(data[i]->GetURL()); data 1413 chrome/browser/history/history_backend.cc GetMostRecentRedirectsFrom(top_urls->back(), &list->data); data 1466 chrome/browser/history/history_backend.cc ScopedVector<PageUsageData> data; data 1467 chrome/browser/history/history_backend.cc data.reserve(score_map.size()); data 1472 chrome/browser/history/history_backend.cc data.push_back(pud); data 1476 chrome/browser/history/history_backend.cc std::sort(data.begin(), data.end(), PageUsageData::Predicate); data 1477 chrome/browser/history/history_backend.cc if (result_count && implicit_cast<int>(data.size()) > result_count) data 1478 chrome/browser/history/history_backend.cc data.resize(result_count); data 1480 chrome/browser/history/history_backend.cc for (size_t i = 0; i < data.size(); ++i) { data 1482 chrome/browser/history/history_backend.cc if (db_->GetURLRow(data[i]->GetID(), &info)) { data 1483 chrome/browser/history/history_backend.cc data[i]->SetURL(info.url()); data 1484 chrome/browser/history/history_backend.cc data[i]->SetTitle(info.title()); data 1489 chrome/browser/history/history_backend.cc for (size_t i = 0; i < data.size(); ++i) { data 1490 chrome/browser/history/history_backend.cc PageUsageData* current_data = data[i]; data 1528 chrome/browser/history/history_backend.cc ScopedVector<PageUsageData> data; data 1531 chrome/browser/history/history_backend.cc result_count, &data.get()); data 1533 chrome/browser/history/history_backend.cc for (size_t i = 0; i < data.size(); ++i) { data 1534 chrome/browser/history/history_backend.cc PageUsageData* current_data = data[i]; data 278 chrome/browser/history/history_backend.h void UpdateDownload(const DownloadRow& data); data 125 chrome/browser/history/history_backend_unittest.cc history::MostVisitedURLList data) { data 126 chrome/browser/history/history_backend_unittest.cc most_visited_list_.swap(data); data 131 chrome/browser/history/history_backend_unittest.cc const history::FilteredURLList& data) { data 132 chrome/browser/history/history_backend_unittest.cc filtered_list_ = data; data 324 chrome/browser/history/history_backend_unittest.cc std::vector<unsigned char> data; data 325 chrome/browser/history/history_backend_unittest.cc data.push_back(bitmap_char); data 328 chrome/browser/history/history_backend_unittest.cc base::RefCountedBytes::TakeVector(&data); data 337 chrome/browser/history/history_backend_unittest.cc std::vector<unsigned char> data; data 338 chrome/browser/history/history_backend_unittest.cc data.push_back(bitmap_char); data 341 chrome/browser/history/history_backend_unittest.cc base::RefCountedBytes::TakeVector(&data); data 448 chrome/browser/history/history_backend_unittest.cc std::vector<unsigned char> data; data 449 chrome/browser/history/history_backend_unittest.cc data.push_back('a'); data 451 chrome/browser/history/history_backend_unittest.cc new base::RefCountedBytes(data), Time::Now(), kSmallSize)); data 452 chrome/browser/history/history_backend_unittest.cc data[0] = 'b'; data 454 chrome/browser/history/history_backend_unittest.cc new base::RefCountedBytes(data), Time::Now(), kLargeSize)); data 456 chrome/browser/history/history_backend_unittest.cc data[0] = 'c'; data 458 chrome/browser/history/history_backend_unittest.cc new base::RefCountedBytes(data), Time::Now(), kSmallSize)); data 459 chrome/browser/history/history_backend_unittest.cc data[0] = 'd'; data 461 chrome/browser/history/history_backend_unittest.cc new base::RefCountedBytes(data), Time::Now(), kLargeSize)); data 612 chrome/browser/history/history_backend_unittest.cc std::vector<unsigned char> data; data 613 chrome/browser/history/history_backend_unittest.cc data.push_back('1'); data 617 chrome/browser/history/history_backend_unittest.cc new base::RefCountedBytes(data), data 621 chrome/browser/history/history_backend_unittest.cc data[0] = '2'; data 625 chrome/browser/history/history_backend_unittest.cc new base::RefCountedBytes(data), data 794 chrome/browser/history/history_backend_unittest.cc std::vector<unsigned char> data; data 795 chrome/browser/history/history_backend_unittest.cc data.push_back('1'); data 799 chrome/browser/history/history_backend_unittest.cc base::RefCountedBytes::TakeVector(&data), data 1598 chrome/browser/history/history_backend_unittest.cc std::vector<unsigned char> data; data 1599 chrome/browser/history/history_backend_unittest.cc data.push_back('a'); data 1601 chrome/browser/history/history_backend_unittest.cc new base::RefCountedBytes(data)); data 1620 chrome/browser/history/history_backend_unittest.cc data[0] = 'b'; data 1621 chrome/browser/history/history_backend_unittest.cc bitmap_data = new base::RefCountedBytes(data); data 1667 chrome/browser/history/history_backend_unittest.cc std::vector<unsigned char> data; data 1668 chrome/browser/history/history_backend_unittest.cc data.push_back('a'); data 1670 chrome/browser/history/history_backend_unittest.cc new base::RefCountedBytes(data)); data 1690 chrome/browser/history/history_backend_unittest.cc data[0] = 'b'; data 1691 chrome/browser/history/history_backend_unittest.cc bitmap_data = new base::RefCountedBytes(data); data 1709 chrome/browser/history/history_backend_unittest.cc data[0] = 'c'; data 1710 chrome/browser/history/history_backend_unittest.cc bitmap_data = new base::RefCountedBytes(data); data 1734 chrome/browser/history/history_backend_unittest.cc data[0] = 'd'; data 1735 chrome/browser/history/history_backend_unittest.cc bitmap_data = new base::RefCountedBytes(data); data 1792 chrome/browser/history/history_backend_unittest.cc std::vector<unsigned char> data; data 1793 chrome/browser/history/history_backend_unittest.cc data.push_back('a'); data 1795 chrome/browser/history/history_backend_unittest.cc new base::RefCountedBytes(data)); data 1812 chrome/browser/history/history_backend_unittest.cc bitmap_data->data()[0] = 'b'; data 1856 chrome/browser/history/history_backend_unittest.cc std::vector<unsigned char> data; data 1857 chrome/browser/history/history_backend_unittest.cc data.push_back('a'); data 1859 chrome/browser/history/history_backend_unittest.cc base::RefCountedBytes::TakeVector(&data); data 1898 chrome/browser/history/history_backend_unittest.cc std::vector<unsigned char> data; data 1899 chrome/browser/history/history_backend_unittest.cc data.push_back('c'); data 1901 chrome/browser/history/history_backend_unittest.cc new base::RefCountedBytes(data)); data 2225 chrome/browser/history/history_backend_unittest.cc std::vector<unsigned char> data; data 2226 chrome/browser/history/history_backend_unittest.cc data.push_back('a'); data 2228 chrome/browser/history/history_backend_unittest.cc base::RefCountedBytes::TakeVector(&data)); data 2832 chrome/browser/history/history_backend_unittest.cc const char* data = "Dummy"; data 2834 chrome/browser/history/history_backend_unittest.cc ASSERT_TRUE(base::WriteFile(db1, data, data_len)); data 2835 chrome/browser/history/history_backend_unittest.cc ASSERT_TRUE(base::WriteFile(db1_journal, data, data_len)); data 2836 chrome/browser/history/history_backend_unittest.cc ASSERT_TRUE(base::WriteFile(db1_wal, data, data_len)); data 2837 chrome/browser/history/history_backend_unittest.cc ASSERT_TRUE(base::WriteFile(db2_actual, data, data_len)); data 779 chrome/browser/history/history_service.cc void HistoryService::UpdateDownload(const history::DownloadRow& data) { data 781 chrome/browser/history/history_service.cc ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::UpdateDownload, data); data 441 chrome/browser/history/history_service.h void UpdateDownload(const history::DownloadRow& data); data 548 chrome/browser/history/history_types.h explicit FilteredURL(const PageUsageData& data); data 894 chrome/browser/history/history_unittest.cc std::vector<PageUsageData*>* data) { data 895 chrome/browser/history/history_unittest.cc page_usage_data_.swap(*data); data 117 chrome/browser/history/in_memory_url_index_unittest.cc void ExpectPrivateDataNotEmpty(const URLIndexPrivateData& data); data 118 chrome/browser/history/in_memory_url_index_unittest.cc void ExpectPrivateDataEmpty(const URLIndexPrivateData& data); data 298 chrome/browser/history/in_memory_url_index_unittest.cc const URLIndexPrivateData& data) { data 299 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_FALSE(data.word_list_.empty()); data 302 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_TRUE(data.available_words_.empty()); data 303 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_FALSE(data.word_map_.empty()); data 304 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_FALSE(data.char_word_map_.empty()); data 305 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_FALSE(data.word_id_history_map_.empty()); data 306 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_FALSE(data.history_id_word_map_.empty()); data 307 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_FALSE(data.history_info_map_.empty()); data 311 chrome/browser/history/in_memory_url_index_unittest.cc const URLIndexPrivateData& data) { data 312 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_TRUE(data.word_list_.empty()); data 313 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_TRUE(data.available_words_.empty()); data 314 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_TRUE(data.word_map_.empty()); data 315 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_TRUE(data.char_word_map_.empty()); data 316 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_TRUE(data.word_id_history_map_.empty()); data 317 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_TRUE(data.history_id_word_map_.empty()); data 318 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_TRUE(data.history_info_map_.empty()); data 893 chrome/browser/history/in_memory_url_index_unittest.cc } data[] = { data 965 chrome/browser/history/in_memory_url_index_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(data); ++i) { data 966 chrome/browser/history/in_memory_url_index_unittest.cc GURL url(data[i].url_spec); data 967 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_EQ(data[i].expected_is_whitelisted, data 37 chrome/browser/history/most_visited_tiles_experiment.cc void MostVisitedTilesExperiment::MaybeShuffle(MostVisitedURLList* data) { data 48 chrome/browser/history/most_visited_tiles_experiment.cc if (data->size() < 8) { data 54 chrome/browser/history/most_visited_tiles_experiment.cc if (data->size() < 4) { data 60 chrome/browser/history/most_visited_tiles_experiment.cc std::swap((*data)[0], (*data)[index_to_flip]); data 29 chrome/browser/history/most_visited_tiles_experiment.h static void MaybeShuffle(MostVisitedURLList* data); data 75 chrome/browser/history/query_parser_unittest.cc TestData data[] = { data 82 chrome/browser/history/query_parser_unittest.cc for (size_t i = 0; i < arraysize(data); ++i) { data 84 chrome/browser/history/query_parser_unittest.cc EXPECT_EQ(data[i].expected_word_count, data 85 chrome/browser/history/query_parser_unittest.cc query_parser_.ParseQuery(base::UTF8ToUTF16(data[i].input), data 99 chrome/browser/history/query_parser_unittest.cc } data[] = { data 117 chrome/browser/history/query_parser_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(data); ++i) { data 120 chrome/browser/history/query_parser_unittest.cc parser.ParseQueryNodes(base::UTF8ToUTF16(data[i].query), data 123 chrome/browser/history/query_parser_unittest.cc ASSERT_EQ(data[i].matches, data 124 chrome/browser/history/query_parser_unittest.cc parser.DoesQueryMatch(base::UTF8ToUTF16(data[i].text), data 128 chrome/browser/history/query_parser_unittest.cc if (data[i].m1_start != 0 || data[i].m1_end != 0) { data 130 chrome/browser/history/query_parser_unittest.cc EXPECT_EQ(data[i].m1_start, match_positions[0].first); data 131 chrome/browser/history/query_parser_unittest.cc EXPECT_EQ(data[i].m1_end, match_positions[0].second); data 134 chrome/browser/history/query_parser_unittest.cc if (data[i].m2_start != 0 || data[i].m2_end != 0) { data 136 chrome/browser/history/query_parser_unittest.cc EXPECT_EQ(data[i].m2_start, match_positions[offset].first); data 137 chrome/browser/history/query_parser_unittest.cc EXPECT_EQ(data[i].m2_end, match_positions[offset].second); data 149 chrome/browser/history/query_parser_unittest.cc } data[] = { data 155 chrome/browser/history/query_parser_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(data); ++i) { data 158 chrome/browser/history/query_parser_unittest.cc parser.ParseQueryWords(base::UTF8ToUTF16(data[i].text), &results); data 159 chrome/browser/history/query_parser_unittest.cc ASSERT_EQ(data[i].word_count, results.size()); data 160 chrome/browser/history/query_parser_unittest.cc EXPECT_EQ(data[i].w1, base::UTF16ToUTF8(results[0])); data 162 chrome/browser/history/query_parser_unittest.cc EXPECT_EQ(data[i].w2, base::UTF16ToUTF8(results[1])); data 164 chrome/browser/history/query_parser_unittest.cc EXPECT_EQ(data[i].w3, base::UTF16ToUTF8(results[2])); data 141 chrome/browser/history/redirect_browsertest.cc file_redirect_contents.data(), data 218 chrome/browser/history/snippet.cc document_utext = utext_openUTF8(document_utext, document.data(), data 231 chrome/browser/history/snippet_unittest.cc } data[] = { data 243 chrome/browser/history/snippet_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(data); ++i) { data 245 chrome/browser/history/snippet_unittest.cc Snippet::ExtractMatchPositions(data[i].offsets_string, "0", &matches); data 246 chrome/browser/history/snippet_unittest.cc EXPECT_EQ(data[i].expected_match_count, matches.size()); data 247 chrome/browser/history/snippet_unittest.cc for (size_t j = 0; j < data[i].expected_match_count; ++j) { data 248 chrome/browser/history/snippet_unittest.cc EXPECT_EQ(data[i].expected_matches[2 * j], matches[j].first); data 249 chrome/browser/history/snippet_unittest.cc EXPECT_EQ(data[i].expected_matches[2 * j + 1], matches[j].second); data 692 chrome/browser/history/thumbnail_database.cc scoped_refptr<base::RefCountedBytes> data(new base::RefCountedBytes()); data 693 chrome/browser/history/thumbnail_database.cc statement.ColumnBlobAsVector(2, &data->data()); data 694 chrome/browser/history/thumbnail_database.cc favicon_bitmap.bitmap_data = data; data 721 chrome/browser/history/thumbnail_database.cc scoped_refptr<base::RefCountedBytes> data(new base::RefCountedBytes()); data 722 chrome/browser/history/thumbnail_database.cc statement.ColumnBlobAsVector(1, &data->data()); data 723 chrome/browser/history/thumbnail_database.cc *png_icon_data = data; data 200 chrome/browser/history/thumbnail_database_unittest.cc std::vector<unsigned char> data(kBlob1, kBlob1 + sizeof(kBlob1)); data 201 chrome/browser/history/thumbnail_database_unittest.cc scoped_refptr<base::RefCountedBytes> favicon(new base::RefCountedBytes(data)); data 254 chrome/browser/history/thumbnail_database_unittest.cc std::vector<unsigned char> data(kBlob1, kBlob1 + sizeof(kBlob1)); data 255 chrome/browser/history/thumbnail_database_unittest.cc scoped_refptr<base::RefCountedBytes> favicon(new base::RefCountedBytes(data)); data 286 chrome/browser/history/thumbnail_database_unittest.cc std::vector<unsigned char> data(kBlob1, kBlob1 + sizeof(kBlob1)); data 287 chrome/browser/history/thumbnail_database_unittest.cc scoped_refptr<base::RefCountedBytes> favicon(new base::RefCountedBytes(data)); data 398 chrome/browser/history/thumbnail_database_unittest.cc std::vector<unsigned char> data(kBlob1, kBlob1 + sizeof(kBlob1)); data 399 chrome/browser/history/thumbnail_database_unittest.cc scoped_refptr<base::RefCountedBytes> favicon(new base::RefCountedBytes(data)); data 422 chrome/browser/history/thumbnail_database_unittest.cc new base::RefCountedBytes(data); data 466 chrome/browser/history/thumbnail_database_unittest.cc std::vector<unsigned char> data(kBlob1, kBlob1 + sizeof(kBlob1)); data 467 chrome/browser/history/thumbnail_database_unittest.cc scoped_refptr<base::RefCountedBytes> favicon(new base::RefCountedBytes(data)); data 529 chrome/browser/history/thumbnail_database_unittest.cc std::vector<unsigned char> data(kBlob1, kBlob1 + sizeof(kBlob1)); data 530 chrome/browser/history/thumbnail_database_unittest.cc scoped_refptr<base::RefCountedBytes> favicon(new base::RefCountedBytes(data)); data 580 chrome/browser/history/thumbnail_database_unittest.cc std::vector<unsigned char> data(kBlob1, kBlob1 + sizeof(kBlob1)); data 581 chrome/browser/history/thumbnail_database_unittest.cc scoped_refptr<base::RefCountedBytes> favicon(new base::RefCountedBytes(data)); data 52 chrome/browser/history/top_sites_cache.cc base::RefCountedMemory* data = found->second.thumbnail.get(); data 53 chrome/browser/history/top_sites_cache.cc if (data) { data 54 chrome/browser/history/top_sites_cache.cc *bytes = data; data 466 chrome/browser/history/top_sites_database.cc std::vector<unsigned char> data; data 467 chrome/browser/history/top_sites_database.cc statement.ColumnBlobAsVector(3, &data); data 469 chrome/browser/history/top_sites_database.cc if (!data.empty()) data 470 chrome/browser/history/top_sites_database.cc thumbnail.thumbnail = base::RefCountedBytes::TakeVector(&data); data 663 chrome/browser/history/top_sites_database.cc std::vector<unsigned char> data; data 664 chrome/browser/history/top_sites_database.cc statement.ColumnBlobAsVector(0, &data); data 665 chrome/browser/history/top_sites_database.cc thumbnail->thumbnail = base::RefCountedBytes::TakeVector(&data); data 544 chrome/browser/history/top_sites_impl.cc std::vector<unsigned char> data; data 545 chrome/browser/history/top_sites_impl.cc if (!gfx::JPEG1xEncodedDataFromImage(bitmap, kTopSitesImageQuality, &data)) data 551 chrome/browser/history/top_sites_impl.cc (*bytes)->data() = data; data 220 chrome/browser/history/top_sites_impl.h MostVisitedURLList data); data 95 chrome/browser/history/top_sites_impl_unittest.cc void OnTopSitesAvailable(const history::MostVisitedURLList& data) { data 96 chrome/browser/history/top_sites_impl_unittest.cc urls_ = data; data 159 chrome/browser/history/top_sites_impl_unittest.cc scoped_refptr<base::RefCountedMemory> data; data 160 chrome/browser/history/top_sites_impl_unittest.cc return top_sites()->GetPageThumbnail(url, false, &data) ? data 161 chrome/browser/history/top_sites_impl_unittest.cc ExtractThumbnail(*data.get()) : SkBitmap(); data 403 chrome/browser/history/url_index_private_data.cc std::string data; data 406 chrome/browser/history/url_index_private_data.cc if (!base::ReadFileToString(file_path, &data)) data 411 chrome/browser/history/url_index_private_data.cc if (!index_cache.ParseFromArray(data.c_str(), data.size())) { data 424 chrome/browser/history/url_index_private_data.cc UMA_HISTOGRAM_COUNTS("History.InMemoryURLCacheSize", data.size()); data 895 chrome/browser/history/url_index_private_data.cc std::string data; data 896 chrome/browser/history/url_index_private_data.cc if (!index_cache.SerializeToString(&data)) { data 901 chrome/browser/history/url_index_private_data.cc int size = data.size(); data 902 chrome/browser/history/url_index_private_data.cc if (base::WriteFile(file_path, data.c_str(), size) != size) { data 63 chrome/browser/icon_loader_linux.cc reinterpret_cast<const unsigned char*>(icon_data.data()), data 233 chrome/browser/importer/ie_importer_browsertest_win.cc char* data; data 249 chrome/browser/importer/ie_importer_browsertest_win.cc items[i].data_size, reinterpret_cast<BYTE*>(items[i].data), data 568 chrome/browser/importer/ie_importer_browsertest_win.cc const char* data; data 603 chrome/browser/importer/ie_importer_browsertest_win.cc key.WriteValue(L"Order", kBadBinary[i].data, kBadBinary[i].length, data 100 chrome/browser/importer/in_process_importer_bridge.cc TemplateURLData data; data 102 chrome/browser/importer/in_process_importer_bridge.cc data.SetKeyword(TemplateURLService::GenerateKeyword(url)); data 104 chrome/browser/importer/in_process_importer_bridge.cc data.SetKeyword(keyword); data 107 chrome/browser/importer/in_process_importer_bridge.cc data.short_name = title.empty() ? keyword : title; data 108 chrome/browser/importer/in_process_importer_bridge.cc data.SetURL( data 110 chrome/browser/importer/in_process_importer_bridge.cc return new TemplateURL(NULL, data); data 129 chrome/browser/importer/in_process_importer_bridge.cc xml_iter->data(), xml_iter->length(), ¶m_filter); data 294 chrome/browser/invalidation/gcm_invalidation_bridge.cc it = message.data.find(kContentKey); data 295 chrome/browser/invalidation/gcm_invalidation_bridge.cc if (it != message.data.end()) data 297 chrome/browser/invalidation/gcm_invalidation_bridge.cc it = message.data.find(kEchoTokenKey); data 298 chrome/browser/invalidation/gcm_invalidation_bridge.cc if (it != message.data.end()) data 95 chrome/browser/invalidation/invalidator_storage.cc void InvalidatorStorage::SetBootstrapData(const std::string& data) { data 98 chrome/browser/invalidation/invalidator_storage.cc base::Base64Encode(data, &base64_data); data 106 chrome/browser/invalidation/invalidator_storage.cc std::string data; data 107 chrome/browser/invalidation/invalidator_storage.cc base::Base64Decode(base64_data, &data); data 108 chrome/browser/invalidation/invalidator_storage.cc return data; data 44 chrome/browser/invalidation/invalidator_storage.h virtual void SetBootstrapData(const std::string& data) OVERRIDE; data 44 chrome/browser/jumplist_updater_win.h void set_icon_data(const SkBitmap& data) { data 45 chrome/browser/jumplist_updater_win.h icon_data_ = data; data 280 chrome/browser/jumplist_win.cc const history::MostVisitedURLList& data) { data 288 chrome/browser/jumplist_win.cc for (size_t i = 0; i < data.size(); i++) { data 289 chrome/browser/jumplist_win.cc const history::MostVisitedURL& url = data[i]; data 117 chrome/browser/jumplist_win.h std::vector<PageUsageData*>* data); data 130 chrome/browser/jumplist_win.h const history::MostVisitedURLList& data); data 16 chrome/browser/lifetime/application_lifetime_gtk.cc GtkWindow* window = GTK_WINDOW(i->data); data 139 chrome/browser/local_discovery/privet_http.h virtual void SetData(base::RefCountedBytes* data) = 0; data 782 chrome/browser/local_discovery/privet_http_impl.cc void PrivetLocalPrintOperationImpl::SetData(base::RefCountedBytes* data) { data 784 chrome/browser/local_discovery/privet_http_impl.cc data_ = data; data 209 chrome/browser/local_discovery/privet_http_impl.h virtual void SetData(base::RefCountedBytes* data) OVERRIDE; data 284 chrome/browser/local_discovery/privet_http_unittest.cc const std::string& data, data 292 chrome/browser/local_discovery/privet_http_unittest.cc EXPECT_EQ(data, fetcher->upload_data()); data 293 chrome/browser/local_discovery/privet_http_unittest.cc if (data != fetcher->upload_data()) return false; data 299 chrome/browser/local_discovery/privet_http_unittest.cc const std::string& data, data 308 chrome/browser/local_discovery/privet_http_unittest.cc std::string normalized_data = NormalizeJson(data); data 456 chrome/browser/local_discovery/privet_http_unittest.cc virtual void Start(base::RefCountedMemory* data, data 461 chrome/browser/local_discovery/privet_http_unittest.cc std::string data_str(data->front_as<char>(), data->size()); data 151 chrome/browser/local_discovery/privet_traffic_detector.cc const char* buffer_begin = io_buffer_->data(); data 57 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc const std::string& data, data 65 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc OnRawDataInternal(data); data 71 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc MOCK_METHOD1(OnRawDataInternal, void(std::string data)); data 37 chrome/browser/local_discovery/pwg_raster_converter.cc void Init(base::RefCountedMemory* data); data 70 chrome/browser/local_discovery/pwg_raster_converter.cc void FileHandlers::Init(base::RefCountedMemory* data) { data 77 chrome/browser/local_discovery/pwg_raster_converter.cc if (static_cast<int>(data->size()) != data 78 chrome/browser/local_discovery/pwg_raster_converter.cc base::WriteFile(GetPdfPath(), data->front_as<char>(), data->size())) { data 114 chrome/browser/local_discovery/pwg_raster_converter.cc void Convert(base::RefCountedMemory* data, data 156 chrome/browser/local_discovery/pwg_raster_converter.cc base::RefCountedMemory* data, data 165 chrome/browser/local_discovery/pwg_raster_converter.cc make_scoped_refptr(data)), data 256 chrome/browser/local_discovery/pwg_raster_converter.cc virtual void Start(base::RefCountedMemory* data, data 275 chrome/browser/local_discovery/pwg_raster_converter.cc base::RefCountedMemory* data, data 284 chrome/browser/local_discovery/pwg_raster_converter.cc utility_client_->Convert(data, callback_.callback()); data 39 chrome/browser/local_discovery/pwg_raster_converter.h virtual void Start(base::RefCountedMemory* data, data 33 chrome/browser/local_discovery/test_service_discovery_client.h MOCK_METHOD1(OnSendTo, void(const std::string& data)); data 104 chrome/browser/mac/security_wrappers.cc attributes_and_data_->attribute_list, attributes_and_data_->data); data 144 chrome/browser/mac/security_wrappers.cc void* data) { data 145 chrome/browser/mac/security_wrappers.cc OSStatus status = SecKeychainItemFreeAttributesAndData(attribute_list, data); data 153 chrome/browser/mac/security_wrappers.cc void* data; data 159 chrome/browser/mac/security_wrappers.cc &data); data 167 chrome/browser/mac/security_wrappers.cc CrSKeychainItemFreeAttributesAndData(NULL, data); data 398 chrome/browser/mac/security_wrappers.cc attributes_and_data.data, data 87 chrome/browser/mac/security_wrappers.h void* data; data 131 chrome/browser/mac/security_wrappers.h void* data() const { data 132 chrome/browser/mac/security_wrappers.h return attributes_and_data_->data; data 136 chrome/browser/mac/security_wrappers.h return &attributes_and_data_->data; data 158 chrome/browser/mac/security_wrappers.h void* data); data 218 chrome/browser/managed_mode/managed_mode_url_filter.cc return base::HexEncode(hash.data(), hash.length()); data 120 chrome/browser/managed_mode/managed_user_settings_service.cc SyncData data = CreateSyncDataForSetting(key, *value); data 124 chrome/browser/managed_mode/managed_user_settings_service.cc change_list.push_back(SyncChange(FROM_HERE, change_type, data)); data 198 chrome/browser/managed_mode/managed_user_settings_service.cc SyncData data = CreateSyncDataForSetting(it.key(), it.value()); data 202 chrome/browser/managed_mode/managed_user_settings_service.cc change_list.push_back(SyncChange(FROM_HERE, change_type, data)); data 228 chrome/browser/managed_mode/managed_user_settings_service.cc SyncDataList data; data 231 chrome/browser/managed_mode/managed_user_settings_service.cc data.push_back(CreateSyncDataForSetting(it.key(), it.value())); data 239 chrome/browser/managed_mode/managed_user_settings_service.cc data.push_back(CreateSyncDataForSetting( data 244 chrome/browser/managed_mode/managed_user_settings_service.cc return data; data 252 chrome/browser/managed_mode/managed_user_settings_service.cc SyncData data = it->sync_data(); data 253 chrome/browser/managed_mode/managed_user_settings_service.cc DCHECK_EQ(MANAGED_USER_SETTINGS, data.GetDataType()); data 255 chrome/browser/managed_mode/managed_user_settings_service.cc data.GetSpecifics().managed_user_setting(); data 153 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc syncer::SyncData data = data 158 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc syncer::SyncChange(FROM_HERE, syncer::SyncChange::ACTION_ADD, data)); data 183 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc syncer::SyncData data = data 189 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc syncer::SyncChange(FROM_HERE, syncer::SyncChange::ACTION_ADD, data)); data 118 chrome/browser/managed_mode/managed_user_shared_settings_service.cc SyncData data = CreateSyncDataForSetting(mu_id, key, value, acknowledged); data 122 chrome/browser/managed_mode/managed_user_shared_settings_service.cc changes.push_back(SyncChange(FROM_HERE, change_type, data)); data 130 chrome/browser/managed_mode/managed_user_shared_settings_service.cc const DictionaryValue* data = data 133 chrome/browser/managed_mode/managed_user_shared_settings_service.cc if (!data->GetDictionaryWithoutPathExpansion(mu_id, &dict)) data 247 chrome/browser/managed_mode/managed_user_shared_settings_service.cc SyncData data = CreateSyncDataForValue(it.key(), jt.key(), jt.value()); data 248 chrome/browser/managed_mode/managed_user_shared_settings_service.cc DCHECK(data.IsValid()); data 250 chrome/browser/managed_mode/managed_user_shared_settings_service.cc SyncChange(FROM_HERE, SyncChange::ACTION_ADD, data)); data 274 chrome/browser/managed_mode/managed_user_shared_settings_service.cc SyncDataList data; data 283 chrome/browser/managed_mode/managed_user_shared_settings_service.cc data.push_back(CreateSyncDataForValue(it.key(), jt.key(), jt.value())); data 286 chrome/browser/managed_mode/managed_user_shared_settings_service.cc return data; data 295 chrome/browser/managed_mode/managed_user_shared_settings_service.cc SyncData data = it->sync_data(); data 296 chrome/browser/managed_mode/managed_user_shared_settings_service.cc DCHECK_EQ(MANAGED_USER_SHARED_SETTINGS, data.GetDataType()); data 299 chrome/browser/managed_mode/managed_user_shared_settings_service.cc data.GetSpecifics().managed_user_shared_setting(); data 468 chrome/browser/managed_mode/managed_user_sync_service.cc SyncDataList data; data 472 chrome/browser/managed_mode/managed_user_sync_service.cc data.push_back(CreateSyncDataFromDictionaryEntry(it.key(), it.value())); data 474 chrome/browser/managed_mode/managed_user_sync_service.cc return data; data 485 chrome/browser/managed_mode/managed_user_sync_service.cc SyncData data = it->sync_data(); data 486 chrome/browser/managed_mode/managed_user_sync_service.cc DCHECK_EQ(MANAGED_USERS, data.GetDataType()); data 488 chrome/browser/managed_mode/managed_user_sync_service.cc data.GetSpecifics().managed_user(); data 182 chrome/browser/media/cast_transport_host_filter.cc const media::cast::transport::SendRtcpFromRtpSenderData& data, data 189 chrome/browser/media/cast_transport_host_filter.cc sender->SendRtcpFromRtpSender(data.packet_type_flags, data 193 chrome/browser/media/cast_transport_host_filter.cc data.sending_ssrc, data 194 chrome/browser/media/cast_transport_host_filter.cc data.c_name); data 60 chrome/browser/media/cast_transport_host_filter.h const media::cast::transport::SendRtcpFromRtpSenderData& data, data 101 chrome/browser/media/cast_transport_host_filter_unittest.cc audio_frame.data = std::string(kSamples * kBytesPerSample * kChannels, 'q'); data 114 chrome/browser/media/cast_transport_host_filter_unittest.cc video_frame.data = std::string(kVideoDataSize, 'p'); data 114 chrome/browser/media/media_capture_devices_dispatcher.cc base::HexEncode(origin_hash.data(), origin_hash.length()); data 138 chrome/browser/media/media_capture_devices_dispatcher.cc base::HexEncode(origin_hash.data(), origin_hash.length()); data 39 chrome/browser/media/native_desktop_media_list.cc return base::SuperFastHash(reinterpret_cast<char*>(frame->data()), data_size); data 56 chrome/browser/media/native_desktop_media_list.cc libyuv::ARGBScale(frame->data(), frame->stride(), data 46 chrome/browser/media/native_desktop_media_list_unittest.cc memset(frame->data(), 0, frame->stride() * frame->size().height()); data 107 chrome/browser/media/native_desktop_media_list_unittest.cc memset(frame->data(), value, frame->stride() * frame->size().height()); data 26 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc std::string input(reinterpret_cast<const char*>(path.value().data()), data 61 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc void WritePrefFile(const std::string& data) { data 65 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc ASSERT_EQ(data.size(), data 67 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc data.data(), data.size())); data 126 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::WriteFile(test_file, content.data(), test_file_size_)); data 79 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return IsMediaHeader(buf->data(), length); data 79 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc std::copy(source_buffer->data(), source_buffer->data() + copy_len, data 80 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc sink->data()); data 97 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc int64 request_id, scoped_ptr<std::string> data, data 104 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc request_id, base::Passed(data.Pass()))); data 108 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc int64 request_id, scoped_ptr<std::string> data) { data 113 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc request_id, *data)); data 67 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.h scoped_ptr<std::string> data, data 69 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.h void FinishRequestBlobBytes(int64 request_id, scoped_ptr<std::string> data); data 53 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc scoped_ptr<std::string> data, data 55 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc : data_(data.Pass()), data 121 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc void SupportedImageTypeValidator::OnFileOpen(scoped_ptr<std::string> data) { data 123 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc if (!data.get()) { data 130 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc new ImageDecoderDelegateAdapter(data.Pass(), callback_); data 131 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc decoder_ = new ImageDecoder(adapter, adapter->data(), data 34 chrome/browser/media_galleries/fileapi/supported_image_type_validator.h void OnFileOpen(scoped_ptr<std::string> data); data 238 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc const std::string& data, data 246 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc CHECK_LE(base::checked_cast<int>(data.length()), request.buf_len); data 247 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc std::copy(data.begin(), data.end(), request.buf->data()); data 252 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc file_info, data.length())); data 158 chrome/browser/media_galleries/linux/mtp_device_task_helper.h const std::string& data, data 28 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc const std::string& data) { data 31 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc base::AppendToFile(snapshot_file_path, data.data(), data 32 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc base::checked_cast<int>(data.size())); data 33 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc return (static_cast<int>(data.size()) == bytes_written) ? data 81 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc const std::string& data, data 86 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc error || (data.size() != snapshot_file_details->BytesToRead())); data 100 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc data), data 66 chrome/browser/media_galleries/linux/mtp_read_file_worker.h const std::string& data, data 84 chrome/browser/metrics/compression_utils.cc bit_cast<const Bytef*>(input.data()), data 39 chrome/browser/metrics/compression_utils_unittest.cc std::string data(reinterpret_cast<const char*>(kData), arraysize(kData)); data 41 chrome/browser/metrics/compression_utils_unittest.cc EXPECT_TRUE(chrome::GzipCompress(data, &compressed_data)); data 47 chrome/browser/metrics/extension_metrics.cc uint64 output = CityHash64(message.data(), message.size()); data 211 chrome/browser/metrics/metrics_log.cc std::string ComputeSHA1(const std::string& data) { data 212 chrome/browser/metrics/metrics_log.cc const std::string sha1 = base::SHA1HashString(data); data 213 chrome/browser/metrics/metrics_log.cc return base::HexEncode(sha1.data(), sha1.size()); data 731 chrome/browser/metrics/metrics_service.cc const content::ChildProcessData& data) { data 732 chrome/browser/metrics/metrics_service.cc GetChildProcessStats(data).process_launches++; data 736 chrome/browser/metrics/metrics_service.cc const content::ChildProcessData& data) { data 737 chrome/browser/metrics/metrics_service.cc GetChildProcessStats(data).process_crashes++; data 740 chrome/browser/metrics/metrics_service.cc if (!IsPluginProcess(data.process_type)) data 745 chrome/browser/metrics/metrics_service.cc const content::ChildProcessData& data) { data 746 chrome/browser/metrics/metrics_service.cc GetChildProcessStats(data).instances++; data 1695 chrome/browser/metrics/metrics_service.cc base::HexEncode(log_manager_.staged_log_hash().data(), data 1972 chrome/browser/metrics/metrics_service.cc const content::ChildProcessData& data) { data 1973 chrome/browser/metrics/metrics_service.cc const base::string16& child_name = data.name; data 1976 chrome/browser/metrics/metrics_service.cc ChildProcessStats(data.process_type); data 205 chrome/browser/metrics/metrics_service.h const content::ChildProcessData& data) OVERRIDE; data 207 chrome/browser/metrics/metrics_service.h const content::ChildProcessData& data) OVERRIDE; data 209 chrome/browser/metrics/metrics_service.h const content::ChildProcessData& data) OVERRIDE; data 497 chrome/browser/metrics/metrics_service.h const content::ChildProcessData& data); data 178 chrome/browser/metrics/perf_provider_chromeos.cc const std::vector<uint8>& data) { data 186 chrome/browser/metrics/perf_provider_chromeos.cc if (!perf_data_proto_.ParseFromArray(data.data(), data.size())) { data 58 chrome/browser/metrics/perf_provider_chromeos.h const std::vector<uint8>& data); data 260 chrome/browser/metrics/variations/variations_seed_store.cc reinterpret_cast<const uint8*>(signature.data()), signature.size(), data 265 chrome/browser/metrics/variations/variations_seed_store.cc verifier.VerifyUpdate(reinterpret_cast<const uint8*>(seed_bytes.data()), data 66 chrome/browser/metrics/variations/variations_seed_store_unittest.cc *hash = base::HexEncode(sha1.data(), sha1.size()); data 66 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc memcpy(hash_value.data(), required_pins[i], hash_value.size()); data 71 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc memcpy(hash_value.data(), excluded_pins[i], hash_value.size()); data 174 chrome/browser/net/crl_set_fetcher.cc if (base::WriteFile(save_to, crl_set_bytes.data(), size) != size) { data 190 chrome/browser/net/crl_set_fetcher.cc if (base::WriteFile(save_to, new_crl_set_bytes.data(), size) != size) { data 150 chrome/browser/net/http_pipelining_compatibility_client.cc response_.append(read_buffer_->data(), bytes_read); data 369 chrome/browser/net/network_stats.cc std::string encoded_message(read_buffer_->data(), data 370 chrome/browser/net/network_stats.cc read_buffer_->data() + result); data 82 chrome/browser/net/sdch_dictionary_fetcher.cc std::string data; data 83 chrome/browser/net/sdch_dictionary_fetcher.cc source->GetResponseAsString(&data); data 84 chrome/browser/net/sdch_dictionary_fetcher.cc net::SdchManager::Global()->AddSdchDictionary(data, source->GetURL()); data 153 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc realm.data(), timestamp, rand[0], rand[1], rand[2]); data 351 chrome/browser/net/sqlite_server_bound_cert_store.cc cert_from_db.data(), cert_from_db.size())); data 514 chrome/browser/net/sqlite_server_bound_cert_store.cc add_smt.BindBlob(1, private_key.data(), private_key.size()); data 516 chrome/browser/net/sqlite_server_bound_cert_store.cc add_smt.BindBlob(2, cert.data(), cert.size()); data 188 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc add_smt.BindBlob(1, key_data.data(), key_data.size()); data 189 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc add_smt.BindBlob(2, cert_data.data(), cert_data.size()); data 259 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc add_smt.BindBlob(1, key_data.data(), key_data.size()); data 260 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc add_smt.BindBlob(2, cert_data.data(), cert_data.size()); data 344 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc add_smt.BindBlob(1, key_data.data(), key_data.size()); data 345 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc add_smt.BindBlob(2, cert_data.data(), cert_data.size()); data 434 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc add_smt.BindBlob(1, key_data.data(), key_data.size()); data 435 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc add_smt.BindBlob(2, cert_data.data(), cert_data.size()); data 447 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc add_smt.BindBlob(1, key_data.data(), key_data.size()); data 448 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc add_smt.BindBlob(2, cert_data.data(), cert_data.size()); data 381 chrome/browser/notifications/desktop_notification_service.cc std::string data = ReplaceStringPlaceholders(template_html, subst, NULL); data 383 chrome/browser/notifications/desktop_notification_service.cc net::EscapeQueryParamValue(data, false)); data 132 chrome/browser/notifications/message_center_notifications_browsertest.cc message_center::RichNotificationData data; data 145 chrome/browser/notifications/message_center_notifications_browsertest.cc data, data 456 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service_unittest.cc std::vector<SyncedNotificationSendingServiceSettingsData> data; data 457 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service_unittest.cc data = app_info_service.GetAllSendingServiceSettingsData(); data 459 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service_unittest.cc EXPECT_EQ(static_cast<unsigned int>(2), data.size()); data 460 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service_unittest.cc EXPECT_EQ(kSendingService1Name, data[0].settings_display_name); data 461 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service_unittest.cc EXPECT_EQ(kSendingService2Name, data[1].settings_display_name); data 256 chrome/browser/password_manager/chrome_password_manager_client.cc autofill::PasswordFormFillData* data) { data 257 chrome/browser/password_manager/chrome_password_manager_client.cc driver_.FillPasswordForm(*data); data 156 chrome/browser/password_manager/native_backend_gnome_x.cc GnomeKeyringFound* data = static_cast<GnomeKeyringFound*>(element->data); data 157 chrome/browser/password_manager/native_backend_gnome_x.cc GnomeKeyringAttributeList* attrs = data->attributes; data 171 chrome/browser/password_manager/native_backend_gnome_x.cc if (data->secret) { data 172 chrome/browser/password_manager/native_backend_gnome_x.cc form->password_value = UTF8ToUTF16(data->secret); data 281 chrome/browser/password_manager/native_backend_gnome_x.cc static void OnOperationDone(GnomeKeyringResult result, gpointer data); data 284 chrome/browser/password_manager/native_backend_gnome_x.cc gpointer data); data 477 chrome/browser/password_manager/native_backend_gnome_x.cc void GKRMethod::OnOperationDone(GnomeKeyringResult result, gpointer data) { data 478 chrome/browser/password_manager/native_backend_gnome_x.cc GKRMethod* method = static_cast<GKRMethod*>(data); data 485 chrome/browser/password_manager/native_backend_gnome_x.cc gpointer data) { data 486 chrome/browser/password_manager/native_backend_gnome_x.cc GKRMethod* method = static_cast<GKRMethod*>(data); data 105 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc gpointer data, data 143 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc callback(GNOME_KEYRING_RESULT_IO_ERROR, data); data 148 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc callback(GNOME_KEYRING_RESULT_OK, data); data 155 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc gpointer data, data 187 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc : GNOME_KEYRING_RESULT_NO_MATCH, data); data 195 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc gpointer data, data 244 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc : GNOME_KEYRING_RESULT_NO_MATCH, results, data); data 248 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc GnomeKeyringFound* found = static_cast<GnomeKeyringFound*>(element->data); data 671 chrome/browser/password_manager/native_backend_kwallet_x.cc builder.AppendArrayOfBytes(static_cast<const uint8_t*>(value.data()), data 424 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc writer.AppendArrayOfBytes(value.data(), value.size()); data 462 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc Pickle pickle(reinterpret_cast<const char*>(value.data()), value.size()); data 88 chrome/browser/password_manager/password_store_mac.cc search_attributes_.attr[entries].data = data 96 chrome/browser/password_manager/password_store_mac.cc search_attributes_.attr[entries].data = data 104 chrome/browser/password_manager/password_store_mac.cc search_attributes_.attr[entries].data = data 112 chrome/browser/password_manager/password_store_mac.cc search_attributes_.attr[entries].data = data 120 chrome/browser/password_manager/password_store_mac.cc search_attributes_.attr[entries].data = data 128 chrome/browser/password_manager/password_store_mac.cc search_attributes_.attr[entries].data = data 136 chrome/browser/password_manager/password_store_mac.cc search_attributes_.attr[entries].data = data 144 chrome/browser/password_manager/password_store_mac.cc search_attributes_.attr[entries].data = data 290 chrome/browser/password_manager/password_store_mac.cc if (!attr.data) { data 295 chrome/browser/password_manager/password_store_mac.cc base::UTF8ToUTF16(static_cast<const char *>(attr.data), attr.length, data 299 chrome/browser/password_manager/password_store_mac.cc server.assign(static_cast<const char *>(attr.data), attr.length); data 302 chrome/browser/password_manager/password_store_mac.cc port = *(static_cast<UInt32*>(attr.data)); data 305 chrome/browser/password_manager/password_store_mac.cc path.assign(static_cast<const char *>(attr.data), attr.length); data 309 chrome/browser/password_manager/password_store_mac.cc SecProtocolType protocol = *(static_cast<SecProtocolType*>(attr.data)); data 317 chrome/browser/password_manager/password_store_mac.cc *(static_cast<SecAuthenticationType*>(attr.data)); data 322 chrome/browser/password_manager/password_store_mac.cc security_domain.assign(static_cast<const char *>(attr.data), data 328 chrome/browser/password_manager/password_store_mac.cc TimeFromKeychainTimeString(static_cast<char*>(attr.data), attr.length, data 332 chrome/browser/password_manager/password_store_mac.cc Boolean negative_item = *(static_cast<Boolean*>(attr.data)); data 361 chrome/browser/password_manager/password_store_mac_unittest.cc const PasswordFormData data; data 412 chrome/browser/password_manager/password_store_mac_unittest.cc CreatePasswordFormFromData(test_data[i].data)); data 543 chrome/browser/password_manager/password_store_mac_unittest.cc PasswordFormData data; data 577 chrome/browser/password_manager/password_store_mac_unittest.cc CreatePasswordFormFromData(test_data[i].data)); data 596 chrome/browser/password_manager/password_store_mac_unittest.cc PasswordFormData data = { data 601 chrome/browser/password_manager/password_store_mac_unittest.cc scoped_ptr<PasswordForm> update_form(CreatePasswordFormFromData(data)); data 616 chrome/browser/password_manager/password_store_mac_unittest.cc PasswordFormData data; data 634 chrome/browser/password_manager/password_store_mac_unittest.cc PasswordForm* add_form = CreatePasswordFormFromData(test_data[0].data); data 640 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[i].data)); data 68 chrome/browser/password_manager/password_store_win_unittest.cc unsigned char data[] = "\x0c\x00\x00\x00\x38\x00\x00\x00\x2c\x00\x00\x00" data 82 chrome/browser/password_manager/password_store_win_unittest.cc input.pbData = data; data 83 chrome/browser/password_manager/password_store_win_unittest.cc input.cbData = sizeof(data); data 86 chrome/browser/password_manager/password_store_win_unittest.cc const_cast<wchar_t*>(url.data())); data 200 chrome/browser/password_manager/password_store_x_unittest.cc PasswordFormData data = { data 211 chrome/browser/password_manager/password_store_x_unittest.cc forms->push_back(CreatePasswordFormFromData(data)); data 59 chrome/browser/performance_monitor/database.cc scoped_ptr<Event> EventFromJSON(const std::string& data) { data 60 chrome/browser/performance_monitor/database.cc base::Value* value = base::JSONReader::Read(data); data 124 chrome/browser/performance_monitor/database.cc base::JSONWriter::Write(event.data(), &value); data 279 chrome/browser/performance_monitor/database_unittest.cc EXPECT_TRUE(events[0]->data()->Equals(install_event_1_->data())); data 280 chrome/browser/performance_monitor/database_unittest.cc EXPECT_TRUE(events[1]->data()->Equals(install_event_2_->data())); data 281 chrome/browser/performance_monitor/database_unittest.cc EXPECT_TRUE(events[2]->data()->Equals(uninstall_event_1_->data())); data 282 chrome/browser/performance_monitor/database_unittest.cc EXPECT_TRUE(events[3]->data()->Equals(uninstall_event_2_->data())); data 320 chrome/browser/performance_monitor/database_unittest.cc EXPECT_TRUE(events[0]->data()->Equals(crash_event->data())); data 326 chrome/browser/performance_monitor/database_unittest.cc EXPECT_TRUE(events[0]->data()->Equals(install_event_1_->data())); data 327 chrome/browser/performance_monitor/database_unittest.cc EXPECT_TRUE(events[1]->data()->Equals(install_event_2_->data())); data 372 chrome/browser/performance_monitor/database_unittest.cc EXPECT_TRUE(events[0]->data()->Equals(new_install_event->data())); data 373 chrome/browser/performance_monitor/database_unittest.cc EXPECT_TRUE(events[1]->data()->Equals(new_uninstall_event->data())); data 377 chrome/browser/performance_monitor/database_unittest.cc EXPECT_TRUE(events[0]->data()->Equals(new_install_event->data())); data 13 chrome/browser/performance_monitor/event.cc scoped_ptr<base::DictionaryValue> data) data 14 chrome/browser/performance_monitor/event.cc : type_(type), time_(time), data_(data.release()) { data 20 chrome/browser/performance_monitor/event.cc scoped_ptr<Event> Event::FromValue(scoped_ptr<base::DictionaryValue> data) { data 22 chrome/browser/performance_monitor/event.cc if (!data->GetInteger(std::string("eventType"), &type)) data 25 chrome/browser/performance_monitor/event.cc if (!data->GetDouble(std::string("time"), &time)) data 29 chrome/browser/performance_monitor/event.cc data.Pass())); data 29 chrome/browser/performance_monitor/event.h scoped_ptr<base::DictionaryValue> data); data 34 chrome/browser/performance_monitor/event.h static scoped_ptr<Event> FromValue(scoped_ptr<base::DictionaryValue> data); data 39 chrome/browser/performance_monitor/event.h base::DictionaryValue* data() const { return data_.get(); } data 114 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_TRUE(event->data()->GetInteger("eventType", &event_type)); data 139 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ValidateExtensionInfo(extension_infos[i], events[i]->data()); data 141 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_TRUE(events[i]->data()->GetInteger("eventType", &event_type)); data 547 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_TRUE(events[0]->data()->GetAsDictionary(&value)); data 619 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_TRUE(events[0]->data()->GetString("url", &url)); data 641 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_TRUE(events[0]->data()->GetString("url", &url)); data 665 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_TRUE(events[0]->data()->GetString("profileName", &event_profile)); data 697 chrome/browser/performance_monitor/performance_monitor_browsertest.cc if (events[i]->data()->GetInteger("eventType", &event_type) && data 707 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_TRUE(events[0]->data()->GetString("profileName", &event_profile)); data 710 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_TRUE(events[1]->data()->GetString("profileName", &event_profile)); data 249 chrome/browser/policy/cloud/cloud_policy_browsertest.cc int result = base::WriteFile(policy_file_path(), policy.data(), data 278 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc enterprise_management::PolicyData* data = data 281 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc data->set_invalidation_source(GetPolicyObjectId(object).source()); data 282 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc data->set_invalidation_name(GetPolicyObjectId(object).name()); data 284 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc data->set_timestamp(timestamp); data 289 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc data->set_policy_value(policy_value_cur_); data 291 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc store_.policy_.reset(data); data 87 chrome/browser/policy/cloud/test_request_interceptor.cc std::string data(reader->bytes(), reader->length()); data 88 chrome/browser/policy/cloud/test_request_interceptor.cc if (!request_msg->ParseFromString(data)) data 134 chrome/browser/policy/cloud/test_request_interceptor.cc std::string data; data 135 chrome/browser/policy/cloud/test_request_interceptor.cc response.SerializeToString(&data); data 143 chrome/browser/policy/cloud/test_request_interceptor.cc request, network_delegate, headers, data, true); data 154 chrome/browser/policy/test/local_policy_test_server.cc const std::string& data) { data 161 chrome/browser/policy/test/local_policy_test_server.cc return base::WriteFile(data_file, data.c_str(), data.size()) == data 162 chrome/browser/policy/test/local_policy_test_server.cc static_cast<int>(data.size()); data 77 chrome/browser/policy/test/local_policy_test_server.h const std::string& data); data 240 chrome/browser/prefs/chrome_pref_service_factory.cc PrefHashFilter::TrackedPreferenceMetadata data = kTrackedPrefs[i]; data 245 chrome/browser/prefs/chrome_pref_service_factory.cc data.enforcement_level = PrefHashFilter::NO_ENFORCEMENT; data 254 chrome/browser/prefs/chrome_pref_service_factory.cc if (data.name == extensions::pref_names::kExtensions) data 255 chrome/browser/prefs/chrome_pref_service_factory.cc data.enforcement_level = PrefHashFilter::ENFORCE_ON_LOAD; data 258 chrome/browser/prefs/chrome_pref_service_factory.cc result.push_back(data); data 38 chrome/browser/prefs/pref_hash_store_impl_unittest.cc explicit MockHashStoreContents(Data* data) : data_(data) {} data 83 chrome/browser/prefs/pref_hash_store_impl_unittest.cc explicit MockMutableDictionary(Data* data) : data_(data) {} data 70 chrome/browser/prefs/tracked/pref_hash_calculator_helper_win_unittest.cc return StringToLowerASCII(base::HexEncode(digest.data(), digest.size())); data 39 chrome/browser/prefs/tracked/segregated_pref_store_unittest.cc explicit MockReadErrorDelegate(Data* data) : data_(data) { data 296 chrome/browser/prerender/prerender_local_predictor.cc int64 URLHashToInt64(const unsigned char* data) { data 299 chrome/browser/prerender/prerender_local_predictor.cc memcpy(&value, data, kURLHashSize); data 127 chrome/browser/prerender/prerender_unittest.cc if (PrerenderData* data = FindPrerenderData(url, NULL)) data 128 chrome/browser/prerender/prerender_unittest.cc return data->contents(); data 113 chrome/browser/prerender/prerender_util.cc GURL new_url(base::string16(decoded_url.data(), decoded_url.length())); data 232 chrome/browser/printing/print_dialog_cloud.cc const base::RefCountedMemory* data) data 237 chrome/browser/printing/print_dialog_cloud.cc data_(data) { data 281 chrome/browser/printing/print_dialog_cloud.cc const base::RefCountedMemory* data, data 286 chrome/browser/printing/print_dialog_cloud.cc data_(data), data 488 chrome/browser/printing/print_dialog_cloud.cc const base::RefCountedMemory* data, data 494 chrome/browser/printing/print_dialog_cloud.cc new CloudPrintFlowHandler(data, print_job_title, print_ticket, data 619 chrome/browser/printing/print_dialog_cloud.cc const base::RefCountedMemory* data, data 626 chrome/browser/printing/print_dialog_cloud.cc browser_context, modal_parent, data, std::string(), print_job_title, data 656 chrome/browser/printing/print_dialog_cloud.cc scoped_refptr<base::RefCountedMemory> data; data 666 chrome/browser/printing/print_dialog_cloud.cc data = base::RefCountedString::TakeString(&file_data); data 673 chrome/browser/printing/print_dialog_cloud.cc browser_context, modal_parent, data, print_job_title, data 729 chrome/browser/printing/print_dialog_cloud.cc const base::RefCountedMemory* data, data 734 chrome/browser/printing/print_dialog_cloud.cc data, print_job_title, data 55 chrome/browser/printing/print_dialog_cloud.h const base::RefCountedMemory* data, data 62 chrome/browser/printing/print_dialog_cloud_internal.h const base::RefCountedMemory* data); data 98 chrome/browser/printing/print_dialog_cloud_internal.h CloudPrintFlowHandler(const base::RefCountedMemory* data, data 150 chrome/browser/printing/print_dialog_cloud_internal.h const base::RefCountedMemory* data, data 218 chrome/browser/printing/print_dialog_cloud_unittest.cc const base::RefCountedString* data) { data 223 chrome/browser/printing/print_dialog_cloud_unittest.cc data); data 240 chrome/browser/printing/print_dialog_cloud_unittest.cc std::string data("test_data"); data 242 chrome/browser/printing/print_dialog_cloud_unittest.cc CreateSender(base::RefCountedString::TakeString(&data))); data 264 chrome/browser/printing/print_dialog_cloud_unittest.cc std::string data; data 266 chrome/browser/printing/print_dialog_cloud_unittest.cc CreateSender(base::RefCountedString::TakeString(&data))); data 103 chrome/browser/printing/print_dialog_gtk.cc static gboolean SetPrinter(GtkPrinter* printer, gpointer data) { data 104 chrome/browser/printing/print_dialog_gtk.cc GtkPrinterList* printer_list = reinterpret_cast<GtkPrinterList*>(data); data 33 chrome/browser/printing/print_preview_data_service.cc scoped_refptr<base::RefCountedBytes>* data) { data 39 chrome/browser/printing/print_preview_data_service.cc *data = it->second.get(); data 43 chrome/browser/printing/print_preview_data_service.cc void SetPreviewDataForIndex(int index, const base::RefCountedBytes* data) { data 47 chrome/browser/printing/print_preview_data_service.cc page_data_map_[index] = const_cast<base::RefCountedBytes*>(data); data 32 chrome/browser/printing/print_preview_data_service.h scoped_refptr<base::RefCountedBytes>* data); data 40 chrome/browser/printing/print_preview_data_service.h const base::RefCountedBytes* data); data 58 chrome/browser/printing/print_preview_message_handler.cc std::vector<unsigned char> data(data_begin, data_begin + data_size); data 59 chrome/browser/printing/print_preview_message_handler.cc return base::RefCountedBytes::TakeVector(&data); data 790 chrome/browser/process_singleton_linux.cc if (!WriteToSocket(socket.fd(), to_send.data(), to_send.length())) { data 204 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc TemplateURLData data; data 206 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc data.SetURL("http://example.com/search?q={searchTerms}"); data 207 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc data.suggestions_url = "http://example.com/suggest?q={searchTerms}"; data 208 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc data.instant_url = "http://example.com/instant?q={searchTerms}"; data 209 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc data.image_url = "http://example.com/image?q={searchTerms}"; data 210 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc data.search_url_post_params = "search-post-params"; data 211 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc data.suggestions_url_post_params = "suggest-post-params"; data 212 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc data.instant_url_post_params = "instant-post-params"; data 213 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc data.image_url_post_params = "image-post-params"; data 215 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc data.favicon_url = GURL("http://example.com/favicon.ico"); data 216 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc data.new_tab_url = "http://example.com/newtab.html"; data 217 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc data.alternate_urls.push_back("http://example.com/s?q={searchTerms}"); data 219 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc data.short_name = base::ASCIIToUTF16("name"); data 220 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc data.SetKeyword(base::ASCIIToUTF16("keyword")); data 221 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc data.search_terms_replacement_key = "search-terms-replacment-key"; data 222 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc data.prepopulate_id = 42; data 223 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc data.input_encodings.push_back("UTF-8"); data 224 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc data.safe_for_autoreplace = true; data 226 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc return scoped_ptr<TemplateURL>(new TemplateURL(profile(), data)); data 38 chrome/browser/profile_resetter/brandcode_config_fetcher.cc std::string data(kPostXml); data 40 chrome/browser/profile_resetter/brandcode_config_fetcher.cc size_t placeholder_pos = data.find(placeholder); data 42 chrome/browser/profile_resetter/brandcode_config_fetcher.cc data.replace(placeholder_pos, placeholder.size(), brand); data 43 chrome/browser/profile_resetter/brandcode_config_fetcher.cc return data; data 330 chrome/browser/profile_resetter/profile_resetter.cc if (cancel && cancel->data.IsSet()) data 91 chrome/browser/profile_resetter/resettable_settings_snapshot.cc cancellation_flag_->data.Set(); data 35 chrome/browser/profiles/profile_browsertest.cc std::string data("{}"); data 36 chrome/browser/profiles/profile_browsertest.cc ASSERT_TRUE(base::WriteFile(pref_path, data.c_str(), data.size())); data 136 chrome/browser/profiles/profile_downloader.cc bool ProfileDownloader::ParseProfileJSON(const std::string& data, data 155 chrome/browser/profiles/profile_downloader.cc data, base::JSON_PARSE_RFC, &error_code, &error_message)); data 312 chrome/browser/profiles/profile_downloader.cc std::string data; data 313 chrome/browser/profiles/profile_downloader.cc source->GetResponseAsString(&data); data 330 chrome/browser/profiles/profile_downloader.cc if (!ParseProfileJSON(data, data 373 chrome/browser/profiles/profile_downloader.cc this, data, ImageDecoder::DEFAULT_CODEC); data 104 chrome/browser/profiles/profile_downloader.h static bool ParseProfileJSON(const std::string& data, data 224 chrome/browser/profiles/profile_impl.cc if (base::WriteFile(readme_path, readme_text.data(), readme_text.size()) == data 156 chrome/browser/profiles/profile_info_cache.cc void SaveBitmap(ImageData* data, data 160 chrome/browser/profiles/profile_info_cache.cc scoped_ptr<ImageData> data_owner(data); data 170 chrome/browser/profiles/profile_info_cache.cc if (base::WriteFile(image_path, reinterpret_cast<char*>(&(*data)[0]), data 171 chrome/browser/profiles/profile_info_cache.cc data->size()) == -1) { data 763 chrome/browser/profiles/profile_info_cache.cc scoped_ptr<ImageData> data(new ImageData); data 765 chrome/browser/profiles/profile_info_cache.cc data->assign(png_data->front(), png_data->front() + png_data->size()); data 766 chrome/browser/profiles/profile_info_cache.cc if (!data->size()) { data 774 chrome/browser/profiles/profile_info_cache.cc base::Bind(&SaveBitmap, data.release(), image_path, success), data 1876 chrome/browser/renderer_context_menu/render_view_context_menu.cc TemplateURLData data; data 1877 chrome/browser/renderer_context_menu/render_view_context_menu.cc data.short_name = keyword; data 1878 chrome/browser/renderer_context_menu/render_view_context_menu.cc data.SetKeyword(keyword); data 1879 chrome/browser/renderer_context_menu/render_view_context_menu.cc data.SetURL(params_.keyword_url.spec()); data 1880 chrome/browser/renderer_context_menu/render_view_context_menu.cc data.favicon_url = data 1884 chrome/browser/renderer_context_menu/render_view_context_menu.cc ConfirmAddSearchProvider(new TemplateURL(profile_, data), profile_); data 83 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc bool WriteDataToPickle(const std::map<base::string16, std::string>& data, data 85 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc pickle->WriteUInt64(data.size()); data 86 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc for (std::map<base::string16, std::string>::const_iterator it = data.begin(); data 87 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc it != data.end(); ++it) { data 195 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc Pickle pickle(clipboard_data.data(), clipboard_data.size()); data 273 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc Pickle pickle(clipboard_data.data(), clipboard_data.size()); data 294 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc const std::vector<std::string>& data) { data 299 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc if (formats.size() != data.size()) data 314 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc if (data[i].length() > kMaxClipboardWriteSize) { data 321 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc scw.WriteText(base::UTF8ToUTF16(data[i])); data 324 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc scw.WriteHTML(base::UTF8ToUTF16(data[i]), std::string()); data 327 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc scw.WriteRTF(data[i]); data 335 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc custom_data_map[base::UTF8ToUTF16(format_name)] = data[i]; data 63 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.h const std::vector<std::string>& data); data 68 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.h const std::string& data, data 102 chrome/browser/safe_browsing/binary_feature_extractor_win.cc if (!pe_image.Initialize(file.data(), file.length())) data 41 chrome/browser/safe_browsing/binary_feature_extractor_win_unittest.cc chain.element(i).certificate().data(), data 211 chrome/browser/safe_browsing/client_side_detection_service.cc std::string data; data 212 chrome/browser/safe_browsing/client_side_detection_service.cc source->GetResponseAsString(&data); data 216 chrome/browser/safe_browsing/client_side_detection_service.cc source->GetResponseCode(), source->GetCookies(), data); data 221 chrome/browser/safe_browsing/client_side_detection_service.cc source->GetResponseCode(), source->GetCookies(), data); data 226 chrome/browser/safe_browsing/client_side_detection_service.cc source->GetResponseCode(), source->GetCookies(), data); data 412 chrome/browser/safe_browsing/client_side_detection_service.cc const std::string& data) { data 423 chrome/browser/safe_browsing/client_side_detection_service.cc } else if (data.empty()) { data 425 chrome/browser/safe_browsing/client_side_detection_service.cc } else if (data.size() > kMaxModelSizeBytes) { data 427 chrome/browser/safe_browsing/client_side_detection_service.cc } else if (!model->ParseFromString(data)) { data 440 chrome/browser/safe_browsing/client_side_detection_service.cc model_str_.assign(data); data 453 chrome/browser/safe_browsing/client_side_detection_service.cc const std::string& data) { data 458 chrome/browser/safe_browsing/client_side_detection_service.cc response.ParseFromString(data)) { data 480 chrome/browser/safe_browsing/client_side_detection_service.cc const std::string& data) { data 493 chrome/browser/safe_browsing/client_side_detection_service.cc response.ParseFromString(data)) { data 229 chrome/browser/safe_browsing/client_side_detection_service.h const std::string& data); data 238 chrome/browser/safe_browsing/client_side_detection_service.h const std::string& data); data 247 chrome/browser/safe_browsing/client_side_detection_service.h const std::string& data); data 154 chrome/browser/safe_browsing/download_feedback_service_unittest.cc upload_file_path, upload_file_data.data(), upload_file_data.size()); data 122 chrome/browser/safe_browsing/download_feedback_unittest.cc base::WriteFile(upload_file_path_, upload_file_data_.data(), data 196 chrome/browser/safe_browsing/download_protection_service.cc post_data += base::HexEncode(sha256_hash_.data(), data 409 chrome/browser/safe_browsing/download_protection_service.cc std::string data; data 410 chrome/browser/safe_browsing/download_protection_service.cc bool got_data = source->GetResponseAsString(&data); data 412 chrome/browser/safe_browsing/download_protection_service.cc if (!response.ParseFromString(data)) { data 443 chrome/browser/safe_browsing/download_protection_service.cc result, item_, client_download_request_data_, data); data 785 chrome/browser/safe_browsing/download_protection_service.cc chain.element(0).certificate().data(), data 794 chrome/browser/safe_browsing/download_protection_service.cc chain.element(i).certificate().data(), data 1027 chrome/browser/safe_browsing/download_protection_service.cc std::string issuer_fp = base::HexEncode(issuer.fingerprint().data, data 1028 chrome/browser/safe_browsing/download_protection_service.cc sizeof(issuer.fingerprint().data)); data 283 chrome/browser/safe_browsing/download_protection_service_unittest.cc cert_data.data(), data 784 chrome/browser/safe_browsing/download_protection_service_unittest.cc file_contents.data(), file_contents.size())); data 799 chrome/browser/safe_browsing/download_protection_service_unittest.cc file_contents.data(), file_contents.size())); data 863 chrome/browser/safe_browsing/download_protection_service_unittest.cc a_tmp, file_contents.data(), file_contents.size())); data 1438 chrome/browser/safe_browsing/download_protection_service_unittest.cc issuer_cert->fingerprint().data, data 1439 chrome/browser/safe_browsing/download_protection_service_unittest.cc sizeof(issuer_cert->fingerprint().data)); data 132 chrome/browser/safe_browsing/malware_details_cache.cc std::string data; data 133 chrome/browser/safe_browsing/malware_details_cache.cc source->GetResponseAsString(&data); data 134 chrome/browser/safe_browsing/malware_details_cache.cc ReadData(resource, data); data 173 chrome/browser/safe_browsing/malware_details_cache.cc const std::string& data) { data 178 chrome/browser/safe_browsing/malware_details_cache.cc if (data.size() <= kMaxBodySizeBytes) { // Only send small bodies for now. data 179 chrome/browser/safe_browsing/malware_details_cache.cc pb_response->set_body(data); data 181 chrome/browser/safe_browsing/malware_details_cache.cc pb_response->set_bodylength(data.size()); data 183 chrome/browser/safe_browsing/malware_details_cache.cc base::MD5Sum(data.c_str(), data.size(), &digest); data 102 chrome/browser/safe_browsing/malware_details_cache.h const std::string& data); data 75 chrome/browser/safe_browsing/malware_details_unittest.cc reinterpret_cast<const char*>(pickle.data()))); data 83 chrome/browser/safe_browsing/malware_details_unittest.cc void WriteData(disk_cache::Entry* entry, const std::string& data) { data 84 chrome/browser/safe_browsing/malware_details_unittest.cc if (data.empty()) data 87 chrome/browser/safe_browsing/malware_details_unittest.cc int len = data.length(); data 89 chrome/browser/safe_browsing/malware_details_unittest.cc memcpy(buf->data(), data.data(), data.length()); data 97 chrome/browser/safe_browsing/malware_details_unittest.cc const std::string& headers, const std::string& data) { data 108 chrome/browser/safe_browsing/malware_details_unittest.cc WriteData(entry, data); data 120 chrome/browser/safe_browsing/pe_image_reader_win.cc const uint8_t* data = GetImageData(IMAGE_DIRECTORY_ENTRY_EXPORT, &data_size); data 123 chrome/browser/safe_browsing/pe_image_reader_win.cc if (!data || data_size < sizeof(IMAGE_EXPORT_DIRECTORY)) data 127 chrome/browser/safe_browsing/pe_image_reader_win.cc return data; data 132 chrome/browser/safe_browsing/pe_image_reader_win.cc const uint8_t* data = GetImageData(IMAGE_DIRECTORY_ENTRY_DEBUG, &data_size); data 133 chrome/browser/safe_browsing/pe_image_reader_win.cc return data ? (data_size / sizeof(IMAGE_DEBUG_DIRECTORY)) : 0; data 35 chrome/browser/safe_browsing/pe_image_reader_win_unittest.cc ASSERT_TRUE(image_reader_.Initialize(data_file_.data(), data 93 chrome/browser/safe_browsing/pe_image_reader_win_unittest.cc size_t header_size = headers_end - data_file_.data(); data 97 chrome/browser/safe_browsing/pe_image_reader_win_unittest.cc EXPECT_TRUE(short_reader.Initialize(data_file_.data(), header_size)); data 101 chrome/browser/safe_browsing/pe_image_reader_win_unittest.cc EXPECT_FALSE(short_reader.Initialize(data_file_.data(), i)); data 235 chrome/browser/safe_browsing/protocol_manager.cc std::string data; data 236 chrome/browser/safe_browsing/protocol_manager.cc source->GetResponseAsString(&data); data 238 chrome/browser/safe_browsing/protocol_manager.cc data.data(), data 239 chrome/browser/safe_browsing/protocol_manager.cc static_cast<int>(data.length()), data 281 chrome/browser/safe_browsing/protocol_manager.cc std::string data; data 282 chrome/browser/safe_browsing/protocol_manager.cc source->GetResponseAsString(&data); data 284 chrome/browser/safe_browsing/protocol_manager.cc source->GetURL(), data.data(), static_cast<int>(data.length())); data 359 chrome/browser/safe_browsing/protocol_manager.cc const char* data, data 372 chrome/browser/safe_browsing/protocol_manager.cc if (!parser.ParseUpdate(data, length, &next_update_sec, data 423 chrome/browser/safe_browsing/protocol_manager.cc if (!parser.ParseChunk(chunk_url.list_name, data, length, data 427 chrome/browser/safe_browsing/protocol_manager.cc data_str.assign(data, length); data 252 chrome/browser/safe_browsing/protocol_manager.h bool HandleServiceResponse(const GURL& url, const char* data, int length); data 50 chrome/browser/safe_browsing/protocol_parser.cc const char* data = chunk_data; data 55 chrome/browser/safe_browsing/protocol_parser.cc if (!GetLine(data, length, &line)) data 59 chrome/browser/safe_browsing/protocol_parser.cc data += offset; data 74 chrome/browser/safe_browsing/protocol_parser.cc data += full_hash_len; data 81 chrome/browser/safe_browsing/protocol_parser.cc memcpy(&full_hash.hash, data, sizeof(SBFullHash)); data 83 chrome/browser/safe_browsing/protocol_parser.cc data += sizeof(SBFullHash); data 118 chrome/browser/safe_browsing/protocol_parser.cc const char* data = chunk_data; data 125 chrome/browser/safe_browsing/protocol_parser.cc if (!GetLine(data, length, &cmd_line)) data 137 chrome/browser/safe_browsing/protocol_parser.cc data += consumed; data 194 chrome/browser/safe_browsing/protocol_parser.cc const char* data, data 198 chrome/browser/safe_browsing/protocol_parser.cc const char* chunk_data = data; data 256 chrome/browser/safe_browsing/protocol_parser.cc const char* data, data 260 chrome/browser/safe_browsing/protocol_parser.cc const char* chunk_data = data; data 305 chrome/browser/safe_browsing/protocol_parser.cc const char* data, data 310 chrome/browser/safe_browsing/protocol_parser.cc const char* chunk_data = data; data 361 chrome/browser/safe_browsing/protocol_parser.cc const char** data, int* remaining, SBPrefix* host, int* count) { data 365 chrome/browser/safe_browsing/protocol_parser.cc memcpy(host, *data, sizeof(SBPrefix)); data 366 chrome/browser/safe_browsing/protocol_parser.cc *data += sizeof(SBPrefix); data 370 chrome/browser/safe_browsing/protocol_parser.cc *count = static_cast<unsigned char>(**data); data 371 chrome/browser/safe_browsing/protocol_parser.cc *data += 1; data 378 chrome/browser/safe_browsing/protocol_parser.cc const char** data, int* remaining, int* chunk_id) { data 384 chrome/browser/safe_browsing/protocol_parser.cc memcpy(chunk_id, *data, sizeof(*chunk_id)); data 385 chrome/browser/safe_browsing/protocol_parser.cc *data += sizeof(*chunk_id); data 393 chrome/browser/safe_browsing/protocol_parser.cc const char** data, int* remaining, SBEntry* entry, int count) { data 398 chrome/browser/safe_browsing/protocol_parser.cc if (!ReadChunkId(data, remaining, &chunk_id)) data 409 chrome/browser/safe_browsing/protocol_parser.cc memcpy(&prefix, *data, sizeof(prefix)); data 414 chrome/browser/safe_browsing/protocol_parser.cc memcpy(&hash, *data, sizeof(hash)); data 417 chrome/browser/safe_browsing/protocol_parser.cc *data += hash_len; data 88 chrome/browser/safe_browsing/protocol_parser.h const char* data, data 93 chrome/browser/safe_browsing/protocol_parser.h const char* data, data 99 chrome/browser/safe_browsing/protocol_parser.h static bool ReadHostAndPrefixCount(const char** data, data 103 chrome/browser/safe_browsing/protocol_parser.h static bool ReadChunkId(const char** data, int* remaining, int* chunk_id); data 105 chrome/browser/safe_browsing/protocol_parser.h const char** data, int* remaining, SBEntry* entry, int count); data 25 chrome/browser/safe_browsing/protocol_parser_unittest.cc add_chunk.data(), data 76 chrome/browser/safe_browsing/protocol_parser_unittest.cc add_chunk.data(), data 105 chrome/browser/safe_browsing/protocol_parser_unittest.cc add_chunk.data(), data 165 chrome/browser/safe_browsing/protocol_parser_unittest.cc add_chunk.data(), data 238 chrome/browser/safe_browsing/protocol_parser_unittest.cc truncated_chunks.data(), data 256 chrome/browser/safe_browsing/protocol_parser_unittest.cc sub_chunk.data(), data 315 chrome/browser/safe_browsing/protocol_parser_unittest.cc sub_chunk.data(), data 344 chrome/browser/safe_browsing/protocol_parser_unittest.cc EXPECT_TRUE(parser.ParseUpdate(add_del.data(), data 370 chrome/browser/safe_browsing/protocol_parser_unittest.cc EXPECT_FALSE(parser.ParseUpdate(add_del.data(), data 389 chrome/browser/safe_browsing/protocol_parser_unittest.cc EXPECT_TRUE(parser.ParseUpdate(redirects.data(), data 416 chrome/browser/safe_browsing/protocol_parser_unittest.cc EXPECT_TRUE(parser.ParseUpdate(headers.data(), data 434 chrome/browser/safe_browsing/protocol_parser_unittest.cc EXPECT_TRUE(parser.ParseGetHash(get_hash.data(), data 458 chrome/browser/safe_browsing/protocol_parser_unittest.cc EXPECT_TRUE(parser.ParseGetHash(get_hash2.data(), data 484 chrome/browser/safe_browsing/protocol_parser_unittest.cc EXPECT_TRUE(parser.ParseGetHash(hash_response.data(), data 497 chrome/browser/safe_browsing/protocol_parser_unittest.cc EXPECT_TRUE(parser.ParseGetHash(hash_response.data(), data 533 chrome/browser/safe_browsing/protocol_parser_unittest.cc EXPECT_TRUE(parser.ParseUpdate(update.data(), data 549 chrome/browser/safe_browsing/protocol_parser_unittest.cc add_chunk.data(), data 564 chrome/browser/safe_browsing/protocol_parser_unittest.cc add_chunks.data(), data 595 chrome/browser/safe_browsing/protocol_parser_unittest.cc sub_chunk.data(), data 612 chrome/browser/safe_browsing/protocol_parser_unittest.cc sub_chunks.data(), data 645 chrome/browser/safe_browsing/protocol_parser_unittest.cc add_chunk.data(), data 681 chrome/browser/safe_browsing/protocol_parser_unittest.cc add_chunk.data(), data 704 chrome/browser/safe_browsing/protocol_parser_unittest.cc sub_chunk.data(), data 732 chrome/browser/safe_browsing/protocol_parser_unittest.cc add_chunk.data(), data 770 chrome/browser/safe_browsing/protocol_parser_unittest.cc sub_chunk.data(), data 866 chrome/browser/safe_browsing/protocol_parser_unittest.cc chunk_data.data(), data 880 chrome/browser/safe_browsing/protocol_parser_unittest.cc chunk_data.data(), data 819 chrome/browser/safe_browsing/safe_browsing_database.cc << " mask:" << base::HexEncode(mask.data(), mask.size()) data 820 chrome/browser/safe_browsing/safe_browsing_database.cc << " subnet:" << base::HexEncode(subnet.data(), subnet.size()) data 821 chrome/browser/safe_browsing/safe_browsing_database.cc << " hash:" << base::HexEncode(hash.data(), hash.size()); data 1676 chrome/browser/safe_browsing/safe_browsing_database.cc << " mask:" << base::HexEncode(mask.data(), mask.size()) data 1678 chrome/browser/safe_browsing/safe_browsing_database.cc << " hashed_ip:" << base::HexEncode(hashed_ip_prefix.data(), data 93 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc std::memcpy(&(full_hash.full_hash), full_hash_str.data(), sizeof(SBFullHash)); data 76 chrome/browser/safe_browsing/safe_browsing_test.cc bool ParsePhishingUrls(const std::string& data, data 78 chrome/browser/safe_browsing/safe_browsing_test.cc if (data.empty()) data 82 chrome/browser/safe_browsing/safe_browsing_test.cc base::SplitString(data, '\n', &urls); data 330 chrome/browser/safe_browsing/safe_browsing_util.cc url_parse::ParseStandardURL(url_unescaped_str.data(), data 354 chrome/browser/safe_browsing/safe_browsing_util.cc hp_replacements.SetHost(host_without_consecutive_dots.data(), data 356 chrome/browser/safe_browsing/safe_browsing_util.cc hp_replacements.SetPath(path_without_consecutive_slash.data(), data 362 chrome/browser/safe_browsing/safe_browsing_util.cc url_util::ReplaceComponents(url_unescaped_str.data(), data 374 chrome/browser/safe_browsing/safe_browsing_util.cc url_parse::ParseStandardURL(escaped_canon_url_str.data(), data 537 chrome/browser/safe_browsing/safe_browsing_util.cc memcpy(hash_out.full_hash, hash_in.data(), crypto::kSHA256Length); data 14 chrome/browser/safe_browsing/safe_browsing_util_unittest.cc bool VectorContains(const std::vector<std::string>& data, data 16 chrome/browser/safe_browsing/safe_browsing_util_unittest.cc return std::find(data.begin(), data.end(), str) != data.end(); data 332 chrome/browser/safe_browsing/safe_browsing_util_unittest.cc EXPECT_EQ(0, memcmp(hash_in.data(), hash_out.full_hash, sizeof(SBFullHash))); data 144 chrome/browser/search/iframe_source_unittest.cc void SaveResponse(base::RefCountedMemory* data) { data 145 chrome/browser/search/iframe_source_unittest.cc response_ = data; data 274 chrome/browser/search/instant_service.cc const history::MostVisitedURLList& data) { data 275 chrome/browser/search/instant_service.cc history::MostVisitedURLList reordered_data(data); data 127 chrome/browser/search/instant_service.h void OnMostVisitedItemsReceived(const history::MostVisitedURLList& data); data 113 chrome/browser/search/instant_service_unittest.cc TemplateURLData data; data 114 chrome/browser/search/instant_service_unittest.cc data.SetURL("https://foobar.com/url?bar={searchTerms}"); data 115 chrome/browser/search/instant_service_unittest.cc TemplateURL* template_url = new TemplateURL(profile(), data); data 54 chrome/browser/search/instant_unittest_base.cc TemplateURLData data; data 55 chrome/browser/search/instant_unittest_base.cc data.SetURL(base_url + "url?bar={searchTerms}"); data 56 chrome/browser/search/instant_unittest_base.cc data.instant_url = base_url + data 59 chrome/browser/search/instant_unittest_base.cc data.new_tab_url = base_url + "newtab"; data 60 chrome/browser/search/instant_unittest_base.cc data.alternate_urls.push_back(base_url + "alt#quux={searchTerms}"); data 61 chrome/browser/search/instant_unittest_base.cc data.search_terms_replacement_key = "strk"; data 63 chrome/browser/search/instant_unittest_base.cc TemplateURL* template_url = new TemplateURL(profile(), data); data 14 chrome/browser/search/most_visited_iframe_source_unittest.cc void ExpectNullData(base::RefCountedMemory* data) { data 15 chrome/browser/search/most_visited_iframe_source_unittest.cc EXPECT_EQ(NULL, data); data 683 chrome/browser/search/search.cc replacements.SetScheme(search_scheme.data(), data 173 chrome/browser/search/search_unittest.cc TemplateURLData data; data 174 chrome/browser/search/search_unittest.cc data.SetURL("http://foo.com/url?bar={searchTerms}"); data 175 chrome/browser/search/search_unittest.cc data.instant_url = "http://foo.com/instant?" data 179 chrome/browser/search/search_unittest.cc data.new_tab_url = (insecure_ntp_url ? "http" : "https") + data 182 chrome/browser/search/search_unittest.cc data.alternate_urls.push_back("http://foo.com/alt#quux={searchTerms}"); data 183 chrome/browser/search/search_unittest.cc data.search_terms_replacement_key = "strk"; data 185 chrome/browser/search/search_unittest.cc TemplateURL* template_url = new TemplateURL(profile(), data); data 203 chrome/browser/search/search_unittest.cc TemplateURLData data; data 204 chrome/browser/search/search_unittest.cc data.SetURL("http://foo.com/url?bar={searchTerms}"); data 205 chrome/browser/search/search_unittest.cc data.instant_url = (has_search_term_replacement_key ? data 207 chrome/browser/search/search_unittest.cc data.search_terms_replacement_key = "strk"; data 209 chrome/browser/search/search_unittest.cc TemplateURL* template_url = new TemplateURL(profile(), data); data 623 chrome/browser/search/search_unittest.cc TemplateURLData data; data 624 chrome/browser/search/search_unittest.cc data.SetURL("{google:baseURL}search?q={searchTerms}"); data 625 chrome/browser/search/search_unittest.cc data.instant_url = "{google:baseURL}webhp?strk"; data 626 chrome/browser/search/search_unittest.cc data.search_terms_replacement_key = "strk"; data 627 chrome/browser/search/search_unittest.cc TemplateURL* template_url = new TemplateURL(profile(), data); data 867 chrome/browser/search/search_unittest.cc TemplateURLData data; data 868 chrome/browser/search/search_unittest.cc data.SetURL("{google:baseURL}search?" data 870 chrome/browser/search/search_unittest.cc data.search_terms_replacement_key = "espv"; data 871 chrome/browser/search/search_unittest.cc template_url_ = new TemplateURL(profile(), data); data 299 chrome/browser/search_engines/default_search_policy_handler.cc TemplateURLData data; data 300 chrome/browser/search_engines/default_search_policy_handler.cc data.SetURL(*url_string); data 302 chrome/browser/search_engines/default_search_policy_handler.cc return TemplateURL(NULL, data).SupportsReplacementUsingTermsData( data 32 chrome/browser/search_engines/search_host_to_urls_map_unittest.cc TemplateURLData data; data 33 chrome/browser/search_engines/search_host_to_urls_map_unittest.cc data.SetURL("http://" + host_ + "/path1"); data 34 chrome/browser/search_engines/search_host_to_urls_map_unittest.cc t_urls_[0].reset(new TemplateURL(NULL, data)); data 35 chrome/browser/search_engines/search_host_to_urls_map_unittest.cc data.SetURL("http://" + host_ + "/path2"); data 36 chrome/browser/search_engines/search_host_to_urls_map_unittest.cc t_urls_[1].reset(new TemplateURL(NULL, data)); data 48 chrome/browser/search_engines/search_host_to_urls_map_unittest.cc TemplateURLData data; data 49 chrome/browser/search_engines/search_host_to_urls_map_unittest.cc data.SetURL("http://" + new_host + "/"); data 50 chrome/browser/search_engines/search_host_to_urls_map_unittest.cc TemplateURL new_t_url(NULL, data); data 199 chrome/browser/search_engines/search_provider_install_data_unittest.cc TemplateURLData data; data 200 chrome/browser/search_engines/search_provider_install_data_unittest.cc data.short_name = keyword; data 201 chrome/browser/search_engines/search_provider_install_data_unittest.cc data.SetKeyword(keyword); data 202 chrome/browser/search_engines/search_provider_install_data_unittest.cc data.SetURL(url); data 203 chrome/browser/search_engines/search_provider_install_data_unittest.cc TemplateURL* t_url = new TemplateURL(util_.profile(), data); data 1079 chrome/browser/search_engines/template_url.cc TemplateURL::TemplateURL(Profile* profile, const TemplateURLData& data) data 1081 chrome/browser/search_engines/template_url.cc data_(data), data 560 chrome/browser/search_engines/template_url.h TemplateURL(Profile* profile, const TemplateURLData& data); data 567 chrome/browser/search_engines/template_url.h const TemplateURLData& data() const { return data_; } data 127 chrome/browser/search_engines/template_url_fetcher.cc std::string data; data 131 chrome/browser/search_engines/template_url_fetcher.cc !source->GetResponseAsString(&data)) { data 138 chrome/browser/search_engines/template_url_fetcher.cc data.data(), data.length(), NULL)); data 184 chrome/browser/search_engines/template_url_fetcher.cc TemplateURLData data(template_url_->data()); data 185 chrome/browser/search_engines/template_url_fetcher.cc data.SetKeyword(keyword_); data 186 chrome/browser/search_engines/template_url_fetcher.cc data.originating_url = osdd_url_; data 189 chrome/browser/search_engines/template_url_fetcher.cc if (!data.favicon_url.is_valid()) data 190 chrome/browser/search_engines/template_url_fetcher.cc data.favicon_url = favicon_url_; data 195 chrome/browser/search_engines/template_url_fetcher.cc data.safe_for_autoreplace = true; data 196 chrome/browser/search_engines/template_url_fetcher.cc model->Add(new TemplateURL(profile, data)); data 206 chrome/browser/search_engines/template_url_fetcher.cc callbacks_->ConfirmAddSearchProvider(new TemplateURL(profile, data), data 292 chrome/browser/search_engines/template_url_fetcher_unittest.cc TemplateURLData data; data 293 chrome/browser/search_engines/template_url_fetcher_unittest.cc data.short_name = keyword; data 294 chrome/browser/search_engines/template_url_fetcher_unittest.cc data.SetKeyword(keyword); data 295 chrome/browser/search_engines/template_url_fetcher_unittest.cc data.SetURL("http://example.com/"); data 296 chrome/browser/search_engines/template_url_fetcher_unittest.cc test_util_.model()->Add(new TemplateURL(test_util_.profile(), data)); data 477 chrome/browser/search_engines/template_url_parser.cc const char* data, data 491 chrome/browser/search_engines/template_url_parser.cc int error = xmlSAXUserParseMemory(&sax_handler, &context, data, data 42 chrome/browser/search_engines/template_url_parser.h const char* data, data 104 chrome/browser/search_engines/template_url_parser_unittest.cc template_url_.reset(TemplateURLParser::Parse(NULL, false, contents.data(), data 1080 chrome/browser/search_engines/template_url_prepopulate_data.cc TemplateURLData data; data 1082 chrome/browser/search_engines/template_url_prepopulate_data.cc data.short_name = name; data 1083 chrome/browser/search_engines/template_url_prepopulate_data.cc data.SetKeyword(keyword); data 1084 chrome/browser/search_engines/template_url_prepopulate_data.cc data.SetURL(search_url.as_string()); data 1085 chrome/browser/search_engines/template_url_prepopulate_data.cc data.suggestions_url = suggest_url.as_string(); data 1086 chrome/browser/search_engines/template_url_prepopulate_data.cc data.instant_url = instant_url.as_string(); data 1087 chrome/browser/search_engines/template_url_prepopulate_data.cc data.image_url = image_url.as_string(); data 1088 chrome/browser/search_engines/template_url_prepopulate_data.cc data.new_tab_url = new_tab_url.as_string(); data 1089 chrome/browser/search_engines/template_url_prepopulate_data.cc data.search_url_post_params = search_url_post_params.as_string(); data 1090 chrome/browser/search_engines/template_url_prepopulate_data.cc data.suggestions_url_post_params = suggest_url_post_params.as_string(); data 1091 chrome/browser/search_engines/template_url_prepopulate_data.cc data.instant_url_post_params = instant_url_post_params.as_string(); data 1092 chrome/browser/search_engines/template_url_prepopulate_data.cc data.image_url_post_params = image_url_post_params.as_string(); data 1093 chrome/browser/search_engines/template_url_prepopulate_data.cc data.favicon_url = GURL(favicon_url.as_string()); data 1094 chrome/browser/search_engines/template_url_prepopulate_data.cc data.show_in_default_list = true; data 1095 chrome/browser/search_engines/template_url_prepopulate_data.cc data.safe_for_autoreplace = true; data 1096 chrome/browser/search_engines/template_url_prepopulate_data.cc data.input_encodings.push_back(encoding.as_string()); data 1097 chrome/browser/search_engines/template_url_prepopulate_data.cc data.date_created = base::Time(); data 1098 chrome/browser/search_engines/template_url_prepopulate_data.cc data.last_modified = base::Time(); data 1099 chrome/browser/search_engines/template_url_prepopulate_data.cc data.prepopulate_id = id; data 1104 chrome/browser/search_engines/template_url_prepopulate_data.cc data.alternate_urls.push_back(alternate_url); data 1106 chrome/browser/search_engines/template_url_prepopulate_data.cc data.search_terms_replacement_key = search_terms_replacement_key.as_string(); data 1107 chrome/browser/search_engines/template_url_prepopulate_data.cc return new TemplateURL(profile, data); data 26 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc TemplateURLData data; data 27 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc data.SetURL(url); data 28 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc return TemplateURLPrepopulateData::GetEngineType(TemplateURL(NULL, data)); data 339 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc TemplateURLData data; data 340 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc data.SetURL("http://www.google.com/"); data 341 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc TemplateURL turl(NULL, data); data 353 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc TemplateURLData data; data 354 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc data.SetURL("http://webalta.ru/"); data 355 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc TemplateURL turl(NULL, data); data 363 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc TemplateURLData data; data 364 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc data.SetURL("http://invalid:search:url/"); data 365 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc TemplateURL turl(NULL, data); data 641 chrome/browser/search_engines/template_url_service.cc service_.get()->UpdateKeyword(url->data()); data 652 chrome/browser/search_engines/template_url_service.cc TemplateURLData data(url->data()); data 653 chrome/browser/search_engines/template_url_service.cc data.short_name = title; data 654 chrome/browser/search_engines/template_url_service.cc data.SetKeyword(keyword); data 655 chrome/browser/search_engines/template_url_service.cc if (search_url != data.url()) { data 656 chrome/browser/search_engines/template_url_service.cc data.SetURL(search_url); data 658 chrome/browser/search_engines/template_url_service.cc data.favicon_url = GURL(); data 660 chrome/browser/search_engines/template_url_service.cc data.safe_for_autoreplace = false; data 661 chrome/browser/search_engines/template_url_service.cc data.last_modified = time_provider_(); data 662 chrome/browser/search_engines/template_url_service.cc TemplateURL new_url(url->profile(), data); data 1026 chrome/browser/search_engines/template_url_service.cc TemplateURLData data(existing_turl->data()); data 1027 chrome/browser/search_engines/template_url_service.cc data.SetKeyword(updated_keyword); data 1028 chrome/browser/search_engines/template_url_service.cc TemplateURL new_turl(existing_turl->profile(), data); data 1057 chrome/browser/search_engines/template_url_service.cc TemplateURLData data(turl->data()); data 1058 chrome/browser/search_engines/template_url_service.cc data.id = kInvalidTemplateURLID; data 1059 chrome/browser/search_engines/template_url_service.cc Add(new TemplateURL(profile_, data)); data 1344 chrome/browser/search_engines/template_url_service.cc TemplateURLData data(existing_turl ? data 1345 chrome/browser/search_engines/template_url_service.cc existing_turl->data() : TemplateURLData()); data 1346 chrome/browser/search_engines/template_url_service.cc data.short_name = base::UTF8ToUTF16(specifics.short_name()); data 1347 chrome/browser/search_engines/template_url_service.cc data.originating_url = GURL(specifics.originating_url()); data 1358 chrome/browser/search_engines/template_url_service.cc data.SetKeyword(keyword); data 1359 chrome/browser/search_engines/template_url_service.cc data.SetURL(specifics.url()); data 1360 chrome/browser/search_engines/template_url_service.cc data.suggestions_url = specifics.suggestions_url(); data 1361 chrome/browser/search_engines/template_url_service.cc data.instant_url = specifics.instant_url(); data 1362 chrome/browser/search_engines/template_url_service.cc data.image_url = specifics.image_url(); data 1363 chrome/browser/search_engines/template_url_service.cc data.new_tab_url = specifics.new_tab_url(); data 1364 chrome/browser/search_engines/template_url_service.cc data.search_url_post_params = specifics.search_url_post_params(); data 1365 chrome/browser/search_engines/template_url_service.cc data.suggestions_url_post_params = specifics.suggestions_url_post_params(); data 1366 chrome/browser/search_engines/template_url_service.cc data.instant_url_post_params = specifics.instant_url_post_params(); data 1367 chrome/browser/search_engines/template_url_service.cc data.image_url_post_params = specifics.image_url_post_params(); data 1368 chrome/browser/search_engines/template_url_service.cc data.favicon_url = GURL(specifics.favicon_url()); data 1369 chrome/browser/search_engines/template_url_service.cc data.show_in_default_list = specifics.show_in_default_list(); data 1370 chrome/browser/search_engines/template_url_service.cc data.safe_for_autoreplace = specifics.safe_for_autoreplace(); data 1371 chrome/browser/search_engines/template_url_service.cc base::SplitString(specifics.input_encodings(), ';', &data.input_encodings); data 1376 chrome/browser/search_engines/template_url_service.cc bool deduped = DeDupeEncodings(&data.input_encodings); data 1377 chrome/browser/search_engines/template_url_service.cc data.date_created = base::Time::FromInternalValue(specifics.date_created()); data 1378 chrome/browser/search_engines/template_url_service.cc data.last_modified = base::Time::FromInternalValue(specifics.last_modified()); data 1379 chrome/browser/search_engines/template_url_service.cc data.prepopulate_id = specifics.prepopulate_id(); data 1380 chrome/browser/search_engines/template_url_service.cc data.sync_guid = specifics.sync_guid(); data 1381 chrome/browser/search_engines/template_url_service.cc data.alternate_urls.clear(); data 1383 chrome/browser/search_engines/template_url_service.cc data.alternate_urls.push_back(specifics.alternate_urls(i)); data 1384 chrome/browser/search_engines/template_url_service.cc data.search_terms_replacement_key = specifics.search_terms_replacement_key(); data 1386 chrome/browser/search_engines/template_url_service.cc TemplateURL* turl = new TemplateURL(profile, data); data 1479 chrome/browser/search_engines/template_url_service.cc TemplateURLData data; data 1480 chrome/browser/search_engines/template_url_service.cc data.short_name = base::UTF8ToUTF16(initializers[i].content); data 1481 chrome/browser/search_engines/template_url_service.cc data.SetKeyword(base::UTF8ToUTF16(initializers[i].keyword)); data 1482 chrome/browser/search_engines/template_url_service.cc data.SetURL(initializers[i].url); data 1483 chrome/browser/search_engines/template_url_service.cc TemplateURL* template_url = new TemplateURL(profile_, data); data 1749 chrome/browser/search_engines/template_url_service.cc TemplateURLData data; data 1750 chrome/browser/search_engines/template_url_service.cc data.short_name = name; data 1751 chrome/browser/search_engines/template_url_service.cc data.SetKeyword(keyword); data 1752 chrome/browser/search_engines/template_url_service.cc data.SetURL(search_url); data 1753 chrome/browser/search_engines/template_url_service.cc data.suggestions_url = suggest_url; data 1754 chrome/browser/search_engines/template_url_service.cc data.instant_url = instant_url; data 1755 chrome/browser/search_engines/template_url_service.cc data.image_url = image_url; data 1756 chrome/browser/search_engines/template_url_service.cc data.new_tab_url = new_tab_url; data 1757 chrome/browser/search_engines/template_url_service.cc data.search_url_post_params = search_url_post_params; data 1758 chrome/browser/search_engines/template_url_service.cc data.suggestions_url_post_params = suggest_url_post_params; data 1759 chrome/browser/search_engines/template_url_service.cc data.instant_url_post_params = instant_url_post_params; data 1760 chrome/browser/search_engines/template_url_service.cc data.image_url_post_params = image_url_post_params; data 1761 chrome/browser/search_engines/template_url_service.cc data.favicon_url = GURL(icon_url); data 1762 chrome/browser/search_engines/template_url_service.cc data.show_in_default_list = true; data 1763 chrome/browser/search_engines/template_url_service.cc data.alternate_urls.clear(); data 1767 chrome/browser/search_engines/template_url_service.cc data.alternate_urls.push_back(alternate_url); data 1769 chrome/browser/search_engines/template_url_service.cc data.search_terms_replacement_key = search_terms_replacement_key; data 1770 chrome/browser/search_engines/template_url_service.cc base::SplitString(encodings, ';', &data.input_encodings); data 1774 chrome/browser/search_engines/template_url_service.cc data.id = value; data 1779 chrome/browser/search_engines/template_url_service.cc data.prepopulate_id = value; data 1781 chrome/browser/search_engines/template_url_service.cc default_provider->reset(new TemplateURL(profile_, data)); data 1889 chrome/browser/search_engines/template_url_service.cc service_->UpdateKeyword(existing_turl->data()); data 1994 chrome/browser/search_engines/template_url_service.cc TemplateURL updated_turl(t_url->profile(), t_url->data()); data 2069 chrome/browser/search_engines/template_url_service.cc TemplateURLData data(new_default_from_prefs->data()); data 2070 chrome/browser/search_engines/template_url_service.cc data.created_by_policy = true; data 2071 chrome/browser/search_engines/template_url_service.cc TemplateURL new_values(new_default_from_prefs->profile(), data); data 2078 chrome/browser/search_engines/template_url_service.cc TemplateURLData data(new_default_from_prefs->data()); data 2079 chrome/browser/search_engines/template_url_service.cc data.created_by_policy = true; data 2080 chrome/browser/search_engines/template_url_service.cc new_template = new TemplateURL(profile_, data); data 2093 chrome/browser/search_engines/template_url_service.cc TemplateURLData data(new_default_from_prefs->data()); data 2094 chrome/browser/search_engines/template_url_service.cc data.created_by_policy = true; data 2095 chrome/browser/search_engines/template_url_service.cc new_template = new TemplateURL(profile_, data); data 2163 chrome/browser/search_engines/template_url_service.cc service_->UpdateKeyword(url->data()); data 2250 chrome/browser/search_engines/template_url_service.cc service_->AddKeyword(template_url->data()); data 2361 chrome/browser/search_engines/template_url_service.cc TemplateURLData data(url->data()); data 2362 chrome/browser/search_engines/template_url_service.cc data.sync_guid = guid; data 2363 chrome/browser/search_engines/template_url_service.cc TemplateURL new_url(url->profile(), data); data 2434 chrome/browser/search_engines/template_url_service.cc TemplateURLData data(applied_sync_turl->data()); data 2435 chrome/browser/search_engines/template_url_service.cc data.SetKeyword(new_keyword); data 2436 chrome/browser/search_engines/template_url_service.cc TemplateURL new_turl(applied_sync_turl->profile(), data); data 2521 chrome/browser/search_engines/template_url_service.cc TemplateURLData data(sync_turl->data()); data 2522 chrome/browser/search_engines/template_url_service.cc data.id = kInvalidTemplateURLID; data 2523 chrome/browser/search_engines/template_url_service.cc Add(new TemplateURL(profile_, data)); data 2572 chrome/browser/search_engines/template_url_service.cc service_->UpdateKeyword(template_url->data()); data 2608 chrome/browser/search_engines/template_url_service.cc TemplateURLData data(default_from_prefs->data()); data 2609 chrome/browser/search_engines/template_url_service.cc data.created_by_policy = true; data 2610 chrome/browser/search_engines/template_url_service.cc data.id = kInvalidTemplateURLID; data 2611 chrome/browser/search_engines/template_url_service.cc default_search_provider = new TemplateURL(profile_, data); data 2687 chrome/browser/search_engines/template_url_service.cc TemplateURLData data; data 2688 chrome/browser/search_engines/template_url_service.cc data.short_name = base::UTF8ToUTF16(extension_keyword.extension_name); data 2689 chrome/browser/search_engines/template_url_service.cc data.SetKeyword(base::UTF8ToUTF16(extension_keyword.extension_keyword)); data 2692 chrome/browser/search_engines/template_url_service.cc data.SetURL(std::string(extensions::kExtensionScheme) + "://" + data 2694 chrome/browser/search_engines/template_url_service.cc return new TemplateURL(profile_, data); data 267 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURLData data; data 268 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.short_name = ASCIIToUTF16("unittest"); data 269 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.SetKeyword(keyword); data 270 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.SetURL(url); data 271 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.favicon_url = GURL("http://favicon.url"); data 272 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.safe_for_autoreplace = safe_for_autoreplace; data 273 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.date_created = Time::FromTimeT(100); data 274 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.last_modified = Time::FromTimeT(last_mod); data 275 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.created_by_policy = created_by_policy; data 276 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.prepopulate_id = 999999; data 278 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.sync_guid = guid; data 279 chrome/browser/search_engines/template_url_service_sync_unittest.cc return new TemplateURL(NULL, data); data 353 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURLData data (turl->data()); data 354 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.SetURL(url); data 355 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.date_created = Time::FromTimeT(100); data 356 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.last_modified = Time::FromTimeT(100); data 357 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.sync_guid = guid; data 358 chrome/browser/search_engines/template_url_service_sync_unittest.cc return new TemplateURL(NULL, data); data 1239 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURLData data; data 1240 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.short_name = ASCIIToUTF16("test"); data 1241 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.SetKeyword(ASCIIToUTF16("keyword")); data 1242 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.SetURL("http://test/%s"); data 1243 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.input_encodings.push_back("UTF-8"); data 1244 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.input_encodings.push_back("UTF-8"); data 1245 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.input_encodings.push_back("UTF-16"); data 1246 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.input_encodings.push_back("UTF-8"); data 1247 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.input_encodings.push_back("Big5"); data 1248 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.input_encodings.push_back("UTF-16"); data 1249 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.input_encodings.push_back("Big5"); data 1250 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.input_encodings.push_back("Windows-1252"); data 1251 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.date_created = Time::FromTimeT(100); data 1252 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.last_modified = Time::FromTimeT(100); data 1253 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.sync_guid = "keyword"; data 1254 chrome/browser/search_engines/template_url_service_sync_unittest.cc scoped_ptr<TemplateURL> turl(new TemplateURL(NULL, data)); data 1416 chrome/browser/search_engines/template_url_service_sync_unittest.cc key1_url->data())); data 1422 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURLData data(temp_turl->data()); data 1423 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.short_name = ASCIIToUTF16("SomethingDifferent"); data 1424 chrome/browser/search_engines/template_url_service_sync_unittest.cc temp_turl.reset(new TemplateURL(temp_turl->profile(), data)); data 1499 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURLData data; data 1500 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.short_name = ASCIIToUTF16("unittest"); data 1501 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.SetKeyword(ASCIIToUTF16("key2")); data 1502 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.SetURL("http://key2.com/{searchTerms}"); data 1503 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.favicon_url = GURL("http://favicon.url"); data 1504 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.safe_for_autoreplace = false; data 1505 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.date_created = Time::FromTimeT(100); data 1506 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.last_modified = Time::FromTimeT(100); data 1507 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.created_by_policy = false; data 1508 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.prepopulate_id = 999999; data 1509 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.sync_guid = "key2"; data 1510 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.show_in_default_list = true; data 1511 chrome/browser/search_engines/template_url_service_sync_unittest.cc scoped_ptr<TemplateURL> turl2(new TemplateURL(NULL, data)); data 1862 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURLData data_copy(prepop_turls[0]->data()); data 2163 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURLData data(default_turl->data()); data 2164 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.SetURL("http://old.wrong.url.com?q={searchTerms}"); data 2165 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.sync_guid = "default"; data 2166 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(new TemplateURL(NULL, data)); data 2193 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURLData data(default_turl->data()); data 2194 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.safe_for_autoreplace = false; data 2195 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.SetKeyword(ASCIIToUTF16("new_kw")); data 2196 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.short_name = ASCIIToUTF16("my name"); data 2197 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.SetURL("http://wrong.url.com?q={searchTerms}"); data 2198 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.date_created = Time::FromTimeT(50); data 2199 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.last_modified = Time::FromTimeT(50); data 2200 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.sync_guid = "default"; data 2201 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(new TemplateURL(NULL, data)); data 2203 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.date_created = Time::FromTimeT(100); data 2204 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.last_modified = Time::FromTimeT(100); data 2205 chrome/browser/search_engines/template_url_service_sync_unittest.cc scoped_ptr<TemplateURL> sync_turl(new TemplateURL(NULL, data)); data 2223 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURLData data(default_turl->data()); data 2224 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.safe_for_autoreplace = true; // Can be replaced with built-in values. data 2225 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.SetKeyword(ASCIIToUTF16("new_kw")); data 2226 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.short_name = ASCIIToUTF16("my name"); data 2227 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.SetURL("http://wrong.url.com?q={searchTerms}"); data 2228 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.date_created = Time::FromTimeT(50); data 2229 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.last_modified = Time::FromTimeT(50); data 2230 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.sync_guid = "default"; data 2231 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(new TemplateURL(NULL, data)); data 2233 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.date_created = Time::FromTimeT(100); data 2234 chrome/browser/search_engines/template_url_service_sync_unittest.cc data.last_modified = Time::FromTimeT(100); data 2235 chrome/browser/search_engines/template_url_service_sync_unittest.cc scoped_ptr<TemplateURL> sync_turl(new TemplateURL(NULL, data)); data 127 chrome/browser/search_engines/template_url_service_test_util.cc UIThreadSearchTermsData data(profile()); data 128 chrome/browser/search_engines/template_url_service_test_util.cc GoogleURLTracker::UpdatedDetails urls(GURL(data.GoogleBaseURLValue()), data 103 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURLData data; data 104 chrome/browser/search_engines/template_url_service_unittest.cc data.short_name = base::UTF8ToUTF16(short_name); data 105 chrome/browser/search_engines/template_url_service_unittest.cc data.SetKeyword(base::UTF8ToUTF16(keyword)); data 106 chrome/browser/search_engines/template_url_service_unittest.cc data.SetURL(url); data 107 chrome/browser/search_engines/template_url_service_unittest.cc data.suggestions_url = suggest_url; data 109 chrome/browser/search_engines/template_url_service_unittest.cc data.alternate_urls.push_back(alternate_url); data 110 chrome/browser/search_engines/template_url_service_unittest.cc data.favicon_url = GURL(favicon_url); data 111 chrome/browser/search_engines/template_url_service_unittest.cc data.safe_for_autoreplace = safe_for_autoreplace; data 112 chrome/browser/search_engines/template_url_service_unittest.cc base::SplitString(encodings, ';', &data.input_encodings); data 113 chrome/browser/search_engines/template_url_service_unittest.cc data.date_created = date_created; data 114 chrome/browser/search_engines/template_url_service_unittest.cc data.last_modified = last_modified; data 115 chrome/browser/search_engines/template_url_service_unittest.cc return new TemplateURL(model->profile(), data); data 224 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURLData data; data 225 chrome/browser/search_engines/template_url_service_unittest.cc data.SetURL(generate_url_cases[i].url); data 226 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURL t_url(NULL, data); data 293 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURLData data; data 294 chrome/browser/search_engines/template_url_service_unittest.cc data.short_name = ASCIIToUTF16("unittest"); data 295 chrome/browser/search_engines/template_url_service_unittest.cc data.SetKeyword(ASCIIToUTF16("unittest")); data 296 chrome/browser/search_engines/template_url_service_unittest.cc data.SetURL("http://www.unittest.com/{searchTerms}"); data 297 chrome/browser/search_engines/template_url_service_unittest.cc data.favicon_url = GURL("http://favicon.url"); data 298 chrome/browser/search_engines/template_url_service_unittest.cc data.show_in_default_list = true; data 299 chrome/browser/search_engines/template_url_service_unittest.cc data.safe_for_autoreplace = safe_for_autoreplace; data 300 chrome/browser/search_engines/template_url_service_unittest.cc data.input_encodings.push_back("UTF-8"); data 301 chrome/browser/search_engines/template_url_service_unittest.cc data.date_created = Time::FromTimeT(100); data 302 chrome/browser/search_engines/template_url_service_unittest.cc data.last_modified = Time::FromTimeT(100); data 303 chrome/browser/search_engines/template_url_service_unittest.cc data.prepopulate_id = prepopulate_id; data 304 chrome/browser/search_engines/template_url_service_unittest.cc return new TemplateURL(test_util_.profile(), data); data 386 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURLData data; data 387 chrome/browser/search_engines/template_url_service_unittest.cc data.short_name = ASCIIToUTF16("google"); data 388 chrome/browser/search_engines/template_url_service_unittest.cc data.SetKeyword(ASCIIToUTF16("keyword")); data 389 chrome/browser/search_engines/template_url_service_unittest.cc data.SetURL("http://www.google.com/foo/bar"); data 390 chrome/browser/search_engines/template_url_service_unittest.cc data.favicon_url = GURL("http://favicon.url"); data 391 chrome/browser/search_engines/template_url_service_unittest.cc data.safe_for_autoreplace = true; data 392 chrome/browser/search_engines/template_url_service_unittest.cc data.date_created = Time::FromTimeT(100); data 393 chrome/browser/search_engines/template_url_service_unittest.cc data.last_modified = Time::FromTimeT(100); data 394 chrome/browser/search_engines/template_url_service_unittest.cc data.sync_guid = "00000000-0000-0000-0000-000000000001"; data 395 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURL* t_url = new TemplateURL(test_util_.profile(), data); data 407 chrome/browser/search_engines/template_url_service_unittest.cc t_url->data())); data 436 chrome/browser/search_engines/template_url_service_unittest.cc cloned_url.reset(new TemplateURL(loaded_url->profile(), loaded_url->data())); data 465 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURLData data; data 466 chrome/browser/search_engines/template_url_service_unittest.cc data.short_name = ASCIIToUTF16("second"); data 467 chrome/browser/search_engines/template_url_service_unittest.cc data.SetKeyword(ASCIIToUTF16("keyword")); data 468 chrome/browser/search_engines/template_url_service_unittest.cc data.SetURL("http://test2"); data 469 chrome/browser/search_engines/template_url_service_unittest.cc data.safe_for_autoreplace = false; data 470 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURL* t_url = new TemplateURL(test_util_.profile(), data); data 483 chrome/browser/search_engines/template_url_service_unittest.cc data.short_name = ASCIIToUTF16("third"); data 484 chrome/browser/search_engines/template_url_service_unittest.cc data.SetURL("http://test3"); data 485 chrome/browser/search_engines/template_url_service_unittest.cc data.safe_for_autoreplace = true; data 486 chrome/browser/search_engines/template_url_service_unittest.cc model()->Add(new TemplateURL(test_util_.profile(), data)); data 495 chrome/browser/search_engines/template_url_service_unittest.cc data.short_name = ASCIIToUTF16("fourth"); data 496 chrome/browser/search_engines/template_url_service_unittest.cc data.SetURL("http://test4"); data 497 chrome/browser/search_engines/template_url_service_unittest.cc data.safe_for_autoreplace = false; data 498 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURL* t_url2 = new TemplateURL(test_util_.profile(), data); data 524 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURLData data; data 525 chrome/browser/search_engines/template_url_service_unittest.cc data.short_name = ASCIIToUTF16("test"); data 526 chrome/browser/search_engines/template_url_service_unittest.cc data.SetKeyword(ASCIIToUTF16("keyword1")); data 527 chrome/browser/search_engines/template_url_service_unittest.cc data.SetURL(std::string(extensions::kExtensionScheme) + "://test4"); data 528 chrome/browser/search_engines/template_url_service_unittest.cc data.safe_for_autoreplace = false; data 531 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURL* extension1 = new TemplateURL(test_util_.profile(), data); data 537 chrome/browser/search_engines/template_url_service_unittest.cc data.SetKeyword(ASCIIToUTF16("keyword2")); data 538 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURL* extension2 = new TemplateURL(test_util_.profile(), data); data 546 chrome/browser/search_engines/template_url_service_unittest.cc data.SetKeyword(ASCIIToUTF16("keyword3")); data 547 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURL* extension3 = new TemplateURL(test_util_.profile(), data); data 573 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURLData data; data 574 chrome/browser/search_engines/template_url_service_unittest.cc data.short_name = ASCIIToUTF16("name1"); data 575 chrome/browser/search_engines/template_url_service_unittest.cc data.SetKeyword(ASCIIToUTF16("keyword")); data 576 chrome/browser/search_engines/template_url_service_unittest.cc data.SetURL("http://test3"); data 577 chrome/browser/search_engines/template_url_service_unittest.cc data.safe_for_autoreplace = true; data 578 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURL* t_url = new TemplateURL(test_util_.profile(), data); data 587 chrome/browser/search_engines/template_url_service_unittest.cc data.short_name = ASCIIToUTF16("name2"); data 588 chrome/browser/search_engines/template_url_service_unittest.cc data.SetURL("http://test4"); data 589 chrome/browser/search_engines/template_url_service_unittest.cc data.safe_for_autoreplace = false; data 590 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURL* t_url2 = new TemplateURL(test_util_.profile(), data); data 742 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURLData data; data 743 chrome/browser/search_engines/template_url_service_unittest.cc data.short_name = ASCIIToUTF16("google"); data 744 chrome/browser/search_engines/template_url_service_unittest.cc data.SetKeyword(ASCIIToUTF16("keyword")); data 745 chrome/browser/search_engines/template_url_service_unittest.cc data.SetURL("http://www.google.com/foo/bar"); data 746 chrome/browser/search_engines/template_url_service_unittest.cc data.favicon_url = GURL("http://favicon.url"); data 747 chrome/browser/search_engines/template_url_service_unittest.cc data.date_created = Time::FromTimeT(100); data 748 chrome/browser/search_engines/template_url_service_unittest.cc data.last_modified = Time::FromTimeT(100); data 749 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURL* t_url = new TemplateURL(test_util_.profile(), data); data 774 chrome/browser/search_engines/template_url_service_unittest.cc t_url->data())); data 804 chrome/browser/search_engines/template_url_service_unittest.cc t_url->data())); data 867 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURLData data; data 868 chrome/browser/search_engines/template_url_service_unittest.cc data.short_name = ASCIIToUTF16("a"); data 869 chrome/browser/search_engines/template_url_service_unittest.cc data.safe_for_autoreplace = true; data 870 chrome/browser/search_engines/template_url_service_unittest.cc data.SetURL("http://url/{searchTerms}"); data 871 chrome/browser/search_engines/template_url_service_unittest.cc data.suggestions_url = "http://url2"; data 872 chrome/browser/search_engines/template_url_service_unittest.cc data.instant_url = "http://instant"; data 873 chrome/browser/search_engines/template_url_service_unittest.cc data.date_created = Time::FromTimeT(100); data 874 chrome/browser/search_engines/template_url_service_unittest.cc data.last_modified = Time::FromTimeT(100); data 875 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURL* t_url = new TemplateURL(test_util_.profile(), data); data 882 chrome/browser/search_engines/template_url_service_unittest.cc t_url->data())); data 971 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURLData data; data 972 chrome/browser/search_engines/template_url_service_unittest.cc data.short_name = ASCIIToUTF16(kName); data 973 chrome/browser/search_engines/template_url_service_unittest.cc data.SetKeyword(ASCIIToUTF16(kKeyword)); data 974 chrome/browser/search_engines/template_url_service_unittest.cc data.SetURL(kSearchURL); data 975 chrome/browser/search_engines/template_url_service_unittest.cc data.favicon_url = GURL(kIconURL); data 976 chrome/browser/search_engines/template_url_service_unittest.cc data.show_in_default_list = true; data 977 chrome/browser/search_engines/template_url_service_unittest.cc base::SplitString(kEncodings, ';', &data.input_encodings); data 978 chrome/browser/search_engines/template_url_service_unittest.cc data.alternate_urls.push_back(kAlternateURL); data 979 chrome/browser/search_engines/template_url_service_unittest.cc data.search_terms_replacement_key = kSearchTermsReplacementKey; data 981 chrome/browser/search_engines/template_url_service_unittest.cc test_util_.profile(), data)); data 999 chrome/browser/search_engines/template_url_service_unittest.cc } data[] = { data 1018 chrome/browser/search_engines/template_url_service_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(data); ++i) { data 1020 chrome/browser/search_engines/template_url_service_unittest.cc details.row = history::URLRow(GURL(data[i].url)); data 1023 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(data[i].term, test_util_.GetAndClearSearchTerm()); data 1030 chrome/browser/search_engines/template_url_service_unittest.cc } data[] = { data 1040 chrome/browser/search_engines/template_url_service_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(data); ++i) { data 1042 chrome/browser/search_engines/template_url_service_unittest.cc details.row = history::URLRow(GURL(data[i].url)); data 1186 chrome/browser/search_engines/template_url_service_unittest.cc t_url->data())); data 1217 chrome/browser/search_engines/template_url_service_unittest.cc default_search->data())); data 1246 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURLData data; data 1247 chrome/browser/search_engines/template_url_service_unittest.cc data.short_name = ASCIIToUTF16("valid"); data 1248 chrome/browser/search_engines/template_url_service_unittest.cc data.SetKeyword(ASCIIToUTF16("validkeyword")); data 1249 chrome/browser/search_engines/template_url_service_unittest.cc data.SetURL("http://valid/{searchTerms}"); data 1250 chrome/browser/search_engines/template_url_service_unittest.cc data.favicon_url = GURL("http://validicon"); data 1251 chrome/browser/search_engines/template_url_service_unittest.cc data.show_in_default_list = true; data 1252 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURL* valid_turl(new TemplateURL(test_util_.profile(), data)); data 1280 chrome/browser/search_engines/template_url_service_unittest.cc t_url->data())); data 1411 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURLData data; data 1412 chrome/browser/search_engines/template_url_service_unittest.cc data.short_name = ASCIIToUTF16(kName); data 1413 chrome/browser/search_engines/template_url_service_unittest.cc data.SetKeyword(ASCIIToUTF16(kKeyword)); data 1414 chrome/browser/search_engines/template_url_service_unittest.cc data.SetURL(kSearchURL); data 1415 chrome/browser/search_engines/template_url_service_unittest.cc data.favicon_url = GURL(kIconURL); data 1416 chrome/browser/search_engines/template_url_service_unittest.cc data.show_in_default_list = true; data 1417 chrome/browser/search_engines/template_url_service_unittest.cc base::SplitString(kEncodings, ';', &data.input_encodings); data 1418 chrome/browser/search_engines/template_url_service_unittest.cc data.alternate_urls.push_back(kAlternateURL); data 1419 chrome/browser/search_engines/template_url_service_unittest.cc data.search_terms_replacement_key = kSearchTermsReplacementKey; data 1422 chrome/browser/search_engines/template_url_service_unittest.cc data)); data 1517 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURLData data; data 1518 chrome/browser/search_engines/template_url_service_unittest.cc data.short_name = ASCIIToUTF16("google"); data 1519 chrome/browser/search_engines/template_url_service_unittest.cc data.SetKeyword(ASCIIToUTF16("keyword")); data 1520 chrome/browser/search_engines/template_url_service_unittest.cc data.SetURL("http://www.google.com/foo/bar"); data 1521 chrome/browser/search_engines/template_url_service_unittest.cc data.sync_guid.clear(); data 1522 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURL* t_url = new TemplateURL(test_util_.profile(), data); data 1546 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURLData data; data 1547 chrome/browser/search_engines/template_url_service_unittest.cc data.short_name = ASCIIToUTF16("google"); data 1548 chrome/browser/search_engines/template_url_service_unittest.cc data.SetKeyword(ASCIIToUTF16("keyword")); data 1549 chrome/browser/search_engines/template_url_service_unittest.cc data.SetURL("http://www.google.com/foo/bar"); data 1551 chrome/browser/search_engines/template_url_service_unittest.cc data.input_encodings.push_back("UTF-8"); data 1552 chrome/browser/search_engines/template_url_service_unittest.cc data.input_encodings.push_back("UTF-8"); data 1553 chrome/browser/search_engines/template_url_service_unittest.cc data.input_encodings.push_back("UTF-16"); data 1554 chrome/browser/search_engines/template_url_service_unittest.cc data.input_encodings.push_back("UTF-8"); data 1555 chrome/browser/search_engines/template_url_service_unittest.cc data.input_encodings.push_back("Big5"); data 1556 chrome/browser/search_engines/template_url_service_unittest.cc data.input_encodings.push_back("UTF-16"); data 1557 chrome/browser/search_engines/template_url_service_unittest.cc data.input_encodings.push_back("Big5"); data 1558 chrome/browser/search_engines/template_url_service_unittest.cc data.input_encodings.push_back("Windows-1252"); data 1559 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURL* t_url = new TemplateURL(test_util_.profile(), data); data 1656 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURLData data; data 1657 chrome/browser/search_engines/template_url_service_unittest.cc data.short_name = ASCIIToUTF16(kName); data 1658 chrome/browser/search_engines/template_url_service_unittest.cc data.SetKeyword(ASCIIToUTF16(kKeyword)); data 1659 chrome/browser/search_engines/template_url_service_unittest.cc data.SetURL(kSearchURL); data 1660 chrome/browser/search_engines/template_url_service_unittest.cc data.favicon_url = GURL(kIconURL); data 1661 chrome/browser/search_engines/template_url_service_unittest.cc data.show_in_default_list = true; data 1662 chrome/browser/search_engines/template_url_service_unittest.cc base::SplitString(kEncodings, ';', &data.input_encodings); data 1663 chrome/browser/search_engines/template_url_service_unittest.cc data.alternate_urls.push_back(kAlternateURL); data 1664 chrome/browser/search_engines/template_url_service_unittest.cc data.search_terms_replacement_key = kSearchTermsReplacementKey; data 1666 chrome/browser/search_engines/template_url_service_unittest.cc test_util_.profile(), data)); data 21 chrome/browser/search_engines/template_url_service_util_unittest.cc TemplateURLData data; data 22 chrome/browser/search_engines/template_url_service_util_unittest.cc data.prepopulate_id = prepopulate_id; data 23 chrome/browser/search_engines/template_url_service_util_unittest.cc data.SetKeyword(base::ASCIIToUTF16(keyword)); data 24 chrome/browser/search_engines/template_url_service_util_unittest.cc data.id = id; data 25 chrome/browser/search_engines/template_url_service_util_unittest.cc return new TemplateURL(NULL, data); data 70 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 71 chrome/browser/search_engines/template_url_unittest.cc EXPECT_FALSE(data.show_in_default_list); data 72 chrome/browser/search_engines/template_url_unittest.cc EXPECT_FALSE(data.safe_for_autoreplace); data 73 chrome/browser/search_engines/template_url_unittest.cc EXPECT_EQ(0, data.prepopulate_id); data 77 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 78 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("{searchTerms}"); data 79 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 100 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 101 chrome/browser/search_engines/template_url_unittest.cc data.SetURL(value.url); data 102 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 113 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 114 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("http://foo{searchTerms}{count?}"); data 115 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 125 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 126 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("http://foo{searchTerms}{count}"); data 127 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 137 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 138 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("http://foo{searchTerms}x{startIndex?}y{startPage?}"); data 139 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 149 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 150 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("http://foo{searchTerms}x{startIndex}y{startPage}"); data 151 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 161 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 162 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("http://foo{searchTerms}x{inputEncoding?}y{outputEncoding?}a"); data 163 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 184 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 185 chrome/browser/search_engines/template_url_unittest.cc data.image_url = KImageSearchURL; data 188 chrome/browser/search_engines/template_url_unittest.cc data.image_url_post_params = kInvalidPostParamsString; data 189 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url_bad(NULL, data); data 200 chrome/browser/search_engines/template_url_unittest.cc data.image_url_post_params = kValidPostParamsString; data 201 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 277 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 278 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("http://foo{fhqwhgads}bar"); data 279 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 287 chrome/browser/search_engines/template_url_unittest.cc data.prepopulate_id = 123; data 288 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url2(NULL, data); data 297 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 298 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("http://foox{inputEncoding?}a{searchTerms}y{outputEncoding?}b"); data 299 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 309 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 310 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("http://foo{searchTerms}x{inputEncoding}y{outputEncoding}a"); data 311 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 333 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 336 chrome/browser/search_engines/template_url_unittest.cc data.SetURL(value.url); data 337 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 369 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 370 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("http://foo?q={searchTerms}"); data 371 chrome/browser/search_engines/template_url_unittest.cc data.input_encodings.push_back("big-5"); data 372 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 396 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 398 chrome/browser/search_engines/template_url_unittest.cc data.SetURL(test_data[i].url); data 399 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 436 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 437 chrome/browser/search_engines/template_url_unittest.cc data.input_encodings.push_back("UTF-8"); data 439 chrome/browser/search_engines/template_url_unittest.cc data.SetURL(test_data[i].url); data 440 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 476 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 478 chrome/browser/search_engines/template_url_unittest.cc data.SetURL(test_data[i].url); data 479 chrome/browser/search_engines/template_url_unittest.cc data.input_encodings.clear(); data 480 chrome/browser/search_engines/template_url_unittest.cc data.input_encodings.push_back(test_data[i].encoding); data 481 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 531 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 532 chrome/browser/search_engines/template_url_unittest.cc data.input_encodings.push_back("UTF-8"); data 534 chrome/browser/search_engines/template_url_unittest.cc data.SetURL(test_data[i].url); data 535 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 568 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 569 chrome/browser/search_engines/template_url_unittest.cc data.input_encodings.push_back("UTF-8"); data 571 chrome/browser/search_engines/template_url_unittest.cc data.SetURL(test_data[i].url); data 572 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 604 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 605 chrome/browser/search_engines/template_url_unittest.cc data.input_encodings.push_back("UTF-8"); data 607 chrome/browser/search_engines/template_url_unittest.cc data.SetURL(test_data[i].url); data 608 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 636 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 637 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("http://bar/foo?{google:originalQueryForSuggestion}" data 639 chrome/browser/search_engines/template_url_unittest.cc data.input_encodings.push_back("UTF-8"); data 640 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 669 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 670 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("http://bar/?{google:RLZ}{searchTerms}"); data 671 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 713 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 714 chrome/browser/search_engines/template_url_unittest.cc data.SetURL(test_data[i].url); data 715 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 726 chrome/browser/search_engines/template_url_unittest.cc } data[] = { data 734 chrome/browser/search_engines/template_url_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(data); ++i) data 735 chrome/browser/search_engines/template_url_unittest.cc CheckSuggestBaseURL(data[i].base_url, data[i].base_suggest_url); data 740 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 741 chrome/browser/search_engines/template_url_unittest.cc data.SetURL(parsed_url); data 742 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 753 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 754 chrome/browser/search_engines/template_url_unittest.cc data.SetURL(parsed_url); data 755 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 766 chrome/browser/search_engines/template_url_unittest.cc data.prepopulate_id = 1; data 767 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url2(NULL, data); data 784 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 785 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("{"); data 786 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 796 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 797 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("{}"); data 798 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 807 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 808 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("{}{{%s}}"); data 809 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 822 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 823 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("{%s"); data 824 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 844 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 845 chrome/browser/search_engines/template_url_unittest.cc data.SetURL(full_url_str); data 846 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 865 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 866 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("http://google.com/?q={searchTerms}"); data 867 chrome/browser/search_engines/template_url_unittest.cc data.suggestions_url = "http://google.com/suggest?q={searchTerms}"; data 868 chrome/browser/search_engines/template_url_unittest.cc data.alternate_urls.push_back("http://google.com/alt?q={searchTerms}"); data 869 chrome/browser/search_engines/template_url_unittest.cc data.alternate_urls.push_back("{google:baseURL}/alt/#q={searchTerms}"); data 870 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 878 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 879 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("http://google.com/?q={searchTerms}"); data 880 chrome/browser/search_engines/template_url_unittest.cc data.instant_url = "http://google.com/instant#q={searchTerms}"; data 881 chrome/browser/search_engines/template_url_unittest.cc data.alternate_urls.push_back("http://google.com/alt?q={searchTerms}"); data 882 chrome/browser/search_engines/template_url_unittest.cc data.alternate_urls.push_back("{google:baseURL}/alt/#q={searchTerms}"); data 883 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 891 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 892 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("http://www.google.co.uk/"); data 893 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 899 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 900 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("http://google.com/?q={searchTerms}"); data 901 chrome/browser/search_engines/template_url_unittest.cc data.instant_url = "http://google.com/instant#q={searchTerms}"; data 902 chrome/browser/search_engines/template_url_unittest.cc data.alternate_urls.push_back("http://google.com/alt/#q={searchTerms}"); data 903 chrome/browser/search_engines/template_url_unittest.cc data.alternate_urls.push_back( data 905 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 998 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 999 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("http://google.com/?q={searchTerms}"); data 1000 chrome/browser/search_engines/template_url_unittest.cc data.instant_url = "http://google.com/instant#q={searchTerms}"; data 1001 chrome/browser/search_engines/template_url_unittest.cc data.alternate_urls.push_back("http://google.com/alt/#q={searchTerms}"); data 1002 chrome/browser/search_engines/template_url_unittest.cc data.alternate_urls.push_back( data 1004 chrome/browser/search_engines/template_url_unittest.cc data.search_terms_replacement_key = "espv"; data 1005 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 1080 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 1081 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("http://google.com/?q={searchTerms}"); data 1082 chrome/browser/search_engines/template_url_unittest.cc data.instant_url = "http://google.com/instant#q={searchTerms}"; data 1083 chrome/browser/search_engines/template_url_unittest.cc data.alternate_urls.push_back("http://google.com/alt/#q={searchTerms}"); data 1084 chrome/browser/search_engines/template_url_unittest.cc data.alternate_urls.push_back( data 1086 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 1151 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 1154 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("{google:baseURL}search?q={searchTerms}" data 1156 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 1181 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 1184 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("{google:baseURL}search?q={searchTerms}" data 1186 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 1216 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 1217 chrome/browser/search_engines/template_url_unittest.cc data.input_encodings.push_back("UTF-8"); data 1218 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("{google:baseURL}?{google:pageClassification}q={searchTerms}"); data 1219 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 1239 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 1240 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("http://bar/search?q={searchTerms}"); data 1241 chrome/browser/search_engines/template_url_unittest.cc data.instant_url = "http://bar/instant#q={searchTerms}"; data 1242 chrome/browser/search_engines/template_url_unittest.cc data.new_tab_url = "http://bar/newtab"; data 1243 chrome/browser/search_engines/template_url_unittest.cc data.alternate_urls.push_back("http://bar/?q={searchTerms}"); data 1244 chrome/browser/search_engines/template_url_unittest.cc data.alternate_urls.push_back("http://bar/#q={searchTerms}"); data 1245 chrome/browser/search_engines/template_url_unittest.cc data.alternate_urls.push_back("http://bar/search#q{searchTerms}"); data 1246 chrome/browser/search_engines/template_url_unittest.cc data.alternate_urls.push_back("http://bar/webhp#q={searchTerms}"); data 1247 chrome/browser/search_engines/template_url_unittest.cc TemplateURL search_provider(NULL, data); data 1272 chrome/browser/search_engines/template_url_unittest.cc TemplateURLData data; data 1273 chrome/browser/search_engines/template_url_unittest.cc data.input_encodings.push_back("UTF-8"); data 1274 chrome/browser/search_engines/template_url_unittest.cc data.SetURL("{google:baseURL}?{google:bookmarkBarPinned}q={searchTerms}"); data 1275 chrome/browser/search_engines/template_url_unittest.cc TemplateURL url(NULL, data); data 223 chrome/browser/search_engines/util.cc TemplateURLData& data = i->second; data 226 chrome/browser/search_engines/util.cc service->UpdateKeyword(data); data 231 chrome/browser/search_engines/util.cc *j = new TemplateURL(profile, data); data 278 chrome/browser/search_engines/util.cc TemplateURLData data(prepopulated_url->data()); data 281 chrome/browser/search_engines/util.cc MergeIntoPrepopulatedEngineData(&data, existing_url); data 285 chrome/browser/search_engines/util.cc data.last_modified = base::Time::Now(); data 286 chrome/browser/search_engines/util.cc actions.edited_engines.push_back(std::make_pair(existing_url, data)); data 182 chrome/browser/services/gcm/gcm_client_mock.cc send_error_details.additional_data = message.data; data 107 chrome/browser/services/gcm/gcm_profile_service_unittest.cc message_.data.clear(); data 528 chrome/browser/services/gcm/gcm_profile_service_unittest.cc message.data["key1"] = "value1"; data 550 chrome/browser/services/gcm/gcm_profile_service_unittest.cc message.data["key1"] = "value1"; data 778 chrome/browser/services/gcm/gcm_profile_service_unittest.cc message.data["key1"] = "value1"; data 779 chrome/browser/services/gcm/gcm_profile_service_unittest.cc message.data["key2"] = "value2"; data 796 chrome/browser/services/gcm/gcm_profile_service_unittest.cc message.data["key1"] = "value1"; data 797 chrome/browser/services/gcm/gcm_profile_service_unittest.cc message.data["key2"] = "value2"; data 817 chrome/browser/services/gcm/gcm_profile_service_unittest.cc message.data["key1"] = "value1"; data 818 chrome/browser/services/gcm/gcm_profile_service_unittest.cc message.data["key2"] = "value2"; data 829 chrome/browser/services/gcm/gcm_profile_service_unittest.cc message.data["key1"] = "value1"; data 830 chrome/browser/services/gcm/gcm_profile_service_unittest.cc message.data["key2"] = "value2"; data 847 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(message.data, consumer()->gcm_app_handler()->send_error_data()); data 854 chrome/browser/services/gcm/gcm_profile_service_unittest.cc message.data["key1"] = "value1"; data 855 chrome/browser/services/gcm/gcm_profile_service_unittest.cc message.data["key2"] = "value2"; data 862 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_TRUE(message.data == consumer()->gcm_app_handler()->message().data); data 872 chrome/browser/services/gcm/gcm_profile_service_unittest.cc message.data["key1"] = "value1"; data 880 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_TRUE(message.data == consumer()->gcm_app_handler()->message().data); data 971 chrome/browser/services/gcm/gcm_profile_service_unittest.cc message.data["key1"] = "value1"; data 972 chrome/browser/services/gcm/gcm_profile_service_unittest.cc message.data["key2"] = "value2"; data 978 chrome/browser/services/gcm/gcm_profile_service_unittest.cc message2.data["foo"] = "bar"; data 993 chrome/browser/services/gcm/gcm_profile_service_unittest.cc message3.data["hello"] = "world"; data 1012 chrome/browser/services/gcm/gcm_profile_service_unittest.cc message.data["key1"] = "value1"; data 1013 chrome/browser/services/gcm/gcm_profile_service_unittest.cc message.data["key2"] = "value2"; data 1019 chrome/browser/services/gcm/gcm_profile_service_unittest.cc message2.data["foo"] = "bar"; data 1029 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_TRUE(message.data == consumer()->gcm_app_handler()->message().data); data 1035 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_TRUE(message2.data == consumer2()->gcm_app_handler()->message().data); data 1040 chrome/browser/services/gcm/gcm_profile_service_unittest.cc message3.data["bar1"] = "foo1"; data 1041 chrome/browser/services/gcm/gcm_profile_service_unittest.cc message3.data["bar2"] = "foo2"; data 1050 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_TRUE(message3.data == consumer2()->gcm_app_handler()->message().data); data 1099 chrome/browser/services/gcm/gcm_profile_service_unittest.cc out_message.data["out1"] = "out_data1"; data 1100 chrome/browser/services/gcm/gcm_profile_service_unittest.cc out_message.data["out1_2"] = "out_data1_2"; data 1110 chrome/browser/services/gcm/gcm_profile_service_unittest.cc in_message.data["in1"] = "in_data1"; data 1111 chrome/browser/services/gcm/gcm_profile_service_unittest.cc in_message.data["in1_2"] = "in_data1_2"; data 1121 chrome/browser/services/gcm/gcm_profile_service_unittest.cc in_message.data == consumer()->gcm_app_handler()->message().data); data 1126 chrome/browser/services/gcm/gcm_profile_service_unittest.cc in_message2.data["in2"] = "in_data2"; data 1131 chrome/browser/services/gcm/gcm_profile_service_unittest.cc in_message3.data["in3"] = "in_data3"; data 1132 chrome/browser/services/gcm/gcm_profile_service_unittest.cc in_message3.data["in3_2"] = "in_data3_2"; data 1143 chrome/browser/services/gcm/gcm_profile_service_unittest.cc in_message2.data == consumer2()->gcm_app_handler()->message().data); data 1152 chrome/browser/services/gcm/gcm_profile_service_unittest.cc in_message3.data == consumer2()->gcm_app_handler()->message().data); data 1157 chrome/browser/services/gcm/gcm_profile_service_unittest.cc out_message2.data["out2"] = "out_data2"; data 1162 chrome/browser/services/gcm/gcm_profile_service_unittest.cc out_message3.data["out3"] = "out_data3"; data 1202 chrome/browser/services/gcm/gcm_profile_service_unittest.cc out_message4.data["out4"] = "out_data4"; data 1218 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(out_message4.data, data 1230 chrome/browser/services/gcm/gcm_profile_service_unittest.cc in_message5.data["in5"] = "in_data5"; data 1240 chrome/browser/services/gcm/gcm_profile_service_unittest.cc in_message5.data == consumer()->gcm_app_handler()->message().data); data 18 chrome/browser/sessions/session_backend_unittest.cc std::string data; data 21 chrome/browser/sessions/session_backend_unittest.cc SessionCommand* CreateCommandFromData(const TestData& data) { data 24 chrome/browser/sessions/session_backend_unittest.cc data.command_id, data 25 chrome/browser/sessions/session_backend_unittest.cc static_cast<SessionCommand::size_type>(data.data.size())); data 26 chrome/browser/sessions/session_backend_unittest.cc if (!data.data.empty()) data 27 chrome/browser/sessions/session_backend_unittest.cc memcpy(command->contents(), data.data.c_str(), data.data.size()); data 41 chrome/browser/sessions/session_backend_unittest.cc void AssertCommandEqualsData(const TestData& data, SessionCommand* command) { data 42 chrome/browser/sessions/session_backend_unittest.cc EXPECT_EQ(data.command_id, command->id()); data 43 chrome/browser/sessions/session_backend_unittest.cc EXPECT_EQ(data.data.size(), command->size()); data 45 chrome/browser/sessions/session_backend_unittest.cc memcmp(command->contents(), data.data.c_str(), command->size()) == 0); data 56 chrome/browser/sessions/session_backend_unittest.cc struct TestData data = { 1, "a" }; data 58 chrome/browser/sessions/session_backend_unittest.cc commands.push_back(CreateCommandFromData(data)); data 68 chrome/browser/sessions/session_backend_unittest.cc AssertCommandEqualsData(data, commands[0]); data 85 chrome/browser/sessions/session_backend_unittest.cc struct TestData data[] = { data 101 chrome/browser/sessions/session_backend_unittest.cc for (size_t i = 0; i < arraysize(data); ++i) { data 111 chrome/browser/sessions/session_backend_unittest.cc AssertCommandEqualsData(data[j - commands.begin()], *j); data 116 chrome/browser/sessions/session_backend_unittest.cc commands.push_back(CreateCommandFromData(data[i])); data 122 chrome/browser/sessions/session_backend_unittest.cc struct TestData data[] = { data 130 chrome/browser/sessions/session_backend_unittest.cc commands.push_back(CreateCommandFromData(data[0])); data 138 chrome/browser/sessions/session_backend_unittest.cc commands.push_back(CreateCommandFromData(data[1])); data 147 chrome/browser/sessions/session_backend_unittest.cc AssertCommandEqualsData(data[0], commands[0]); data 148 chrome/browser/sessions/session_backend_unittest.cc AssertCommandEqualsData(data[1], commands[2]); data 20 chrome/browser/sessions/session_command.cc memcpy(contents(), pickle.data(), pickle.size()); data 1030 chrome/browser/sessions/session_service.cc const std::vector<SessionCommand*>& data, data 1041 chrome/browser/sessions/session_service.cc for (std::vector<SessionCommand*>::const_iterator i = data.begin(); data 1042 chrome/browser/sessions/session_service.cc i != data.end(); ++i) { data 344 chrome/browser/sessions/session_service.h bool CreateTabsAndWindows(const std::vector<SessionCommand*>& data, data 158 chrome/browser/shell_integration_linux.cc ssize_t bytes_written = base::WriteFileDescriptor(fd, contents.data(), data 200 chrome/browser/shell_integration_linux.cc directory_contents.data(), data 209 chrome/browser/shell_integration_linux.cc int bytes_written = base::WriteFile(temp_file_path, contents.data(), data 82 chrome/browser/signin/account_reconcilor_unittest.cc const std::string& data, data 85 chrome/browser/signin/account_reconcilor_unittest.cc url_fetcher_factory_.SetFakeResponse(GURL(url), data, code, status); data 173 chrome/browser/signin/local_auth.cc std::string salt_str(record.data(), kHash1Bytes); data 174 chrome/browser/signin/local_auth.cc password_saved = record.data() + kHash1Bytes; data 176 chrome/browser/signin/local_auth.cc password_check = password_hash.data(); data 177 chrome/browser/signin/signin_error_notifier_ash.cc message_center::RichNotificationData data; data 178 chrome/browser/signin/signin_error_notifier_ash.cc data.buttons.push_back(message_center::ButtonInfo( data 203 chrome/browser/signin/signin_error_notifier_ash.cc data, data 92 chrome/browser/speech/tts_android.cc VoiceData& data = out_voices->back(); data 93 chrome/browser/speech/tts_android.cc data.native = true; data 94 chrome/browser/speech/tts_android.cc data.name = base::android::ConvertJavaStringToUTF8( data 96 chrome/browser/speech/tts_android.cc data.lang = base::android::ConvertJavaStringToUTF8( data 98 chrome/browser/speech/tts_android.cc data.gender = TTS_GENDER_NONE; data 99 chrome/browser/speech/tts_android.cc data.events.insert(TTS_EVENT_START); data 100 chrome/browser/speech/tts_android.cc data.events.insert(TTS_EVENT_END); data 101 chrome/browser/speech/tts_android.cc data.events.insert(TTS_EVENT_ERROR); data 111 chrome/browser/spellchecker/feedback_sender_unittest.cc bool UploadDataContains(const std::string& data) const { data 114 chrome/browser/spellchecker/feedback_sender_unittest.cc return fetcher && CountOccurences(fetcher->upload_data(), data) > 0; data 117 chrome/browser/spellchecker/feedback_sender_unittest.cc bool UploadDataContains(const std::string& data, data 121 chrome/browser/spellchecker/feedback_sender_unittest.cc return fetcher && CountOccurences(fetcher->upload_data(), data) == data 347 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc syncer::SyncDataList data; data 357 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc data.push_back(syncer::SyncData::CreateLocalData(word, word, specifics)); data 359 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc return data; data 46 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::SyncDataList data; data 53 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc data.push_back(syncer::SyncData::CreateLocalData(word, word, specifics)); data 55 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc return data; data 300 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::SyncDataList data = dictionary->GetAllSyncData(syncer::DICTIONARY); data 301 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc EXPECT_TRUE(data.empty()); data 306 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc data = dictionary->GetAllSyncData(syncer::DICTIONARY); data 307 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc EXPECT_EQ(2UL, data.size()); data 311 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc for (size_t i = 0; i < data.size(); i++) { data 312 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc EXPECT_TRUE(data[i].GetSpecifics().has_dictionary()); data 313 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc EXPECT_EQ(syncer::DICTIONARY, data[i].GetDataType()); data 314 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc EXPECT_EQ(words[i], syncer::SyncDataLocal(data[i]).GetTag()); data 315 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc EXPECT_EQ(words[i], data[i].GetSpecifics().dictionary().word()); data 321 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc data = dictionary->GetAllSyncData(syncer::DICTIONARY); data 322 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc EXPECT_TRUE(data.empty()); data 37 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc bool SaveDictionaryData(scoped_ptr<std::string> data, data 42 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::WriteFile(path, data->data(), data->length()); data 43 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc if (bytes_written != data->length()) { data 51 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::WriteFile(fallback_file_path, data->data(), data->length()); data 52 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc if (bytes_written == data->length()) data 189 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc scoped_ptr<std::string> data(new std::string); data 190 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc source->GetResponseAsString(data.get()); data 191 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc if (data->size() < 4 || data->compare(0, 4, "BDic") != 0) { data 199 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc if (!hunspell::BDict::Verify(data->data(), data->size())) { data 210 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::Passed(&data), data 277 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc hunspell::BDict::Verify(reinterpret_cast<const char*>(map.data()), data 144 chrome/browser/spellchecker/spelling_service_client.cc const std::string& data, data 188 chrome/browser/spellchecker/spelling_service_client.cc base::JSONReader::Read(data, base::JSON_ALLOW_TRAILING_COMMAS))); data 253 chrome/browser/spellchecker/spelling_service_client.cc std::string data; data 254 chrome/browser/spellchecker/spelling_service_client.cc fetcher->GetResponseAsString(&data); data 255 chrome/browser/spellchecker/spelling_service_client.cc success = ParseResponse(data, &results); data 95 chrome/browser/spellchecker/spelling_service_client.h bool ParseResponse(const std::string& data, data 136 chrome/browser/spellchecker/spelling_service_client_unittest.cc void SetHTTPResponse(int status, const char* data) { data 138 chrome/browser/spellchecker/spelling_service_client_unittest.cc response_data_.assign(data); data 165 chrome/browser/spellchecker/spelling_service_client_unittest.cc bool ParseResponseSuccess(const std::string& data) { data 167 chrome/browser/spellchecker/spelling_service_client_unittest.cc return ParseResponse(data, &results); data 778 chrome/browser/sync/glue/bookmark_change_processor.cc icon_bytes->data().assign(icon_bytes_str); data 33 chrome/browser/sync/glue/fake_generic_change_processor.h syncer::SyncDataList* data) const OVERRIDE; data 129 chrome/browser/sync/glue/favicon_cache.cc temp_string->data() = favicon_data.favicon(); data 558 chrome/browser/sync/glue/favicon_cache.cc temp_string->data() = icon_bytes; data 946 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncData data; data 957 chrome/browser/sync/glue/favicon_cache.cc data = syncer::SyncData::CreateLocalData(favicon_url.spec(), data 960 chrome/browser/sync/glue/favicon_cache.cc return data; data 119 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData data; data 120 chrome/browser/sync/glue/favicon_cache_unittest.cc data.page_url = GURL(base::StringPrintf("http://bla.com/%.2i.html", index)); data 121 chrome/browser/sync/glue/favicon_cache_unittest.cc data.icon_url = GURL(base::StringPrintf("http://bla.com/%.2i.ico", index)); data 122 chrome/browser/sync/glue/favicon_cache_unittest.cc data.image_16 = base::StringPrintf("16 %i", index); data 126 chrome/browser/sync/glue/favicon_cache_unittest.cc data.last_visit_time = index; data 127 chrome/browser/sync/glue/favicon_cache_unittest.cc return data; data 217 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData data = BuildFaviconData(expected_icons[i]); data 224 chrome/browser/sync/glue/favicon_cache_unittest.cc data.icon_url.spec()) data 229 chrome/browser/sync/glue/favicon_cache_unittest.cc data, data 419 chrome/browser/sync/glue/favicon_cache_unittest.cc temp_string->data() = test_data.image_16; data 429 chrome/browser/sync/glue/favicon_cache_unittest.cc temp_string->data() = test_data.image_32; data 439 chrome/browser/sync/glue/favicon_cache_unittest.cc temp_string->data() = test_data.image_64; data 167 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncDataList data; data 168 chrome/browser/sync/glue/generic_change_processor.cc GetAllSyncDataReturnError(type, &data); data 169 chrome/browser/sync/glue/generic_change_processor.cc return data; data 79 chrome/browser/sync/glue/generic_change_processor.h syncer::SyncDataList* data) const; data 124 chrome/browser/sync/glue/shared_change_processor.cc syncer::SyncDataList data; data 125 chrome/browser/sync/glue/shared_change_processor.cc GetAllSyncDataReturnError(type, &data); // Handles the disconnect case. data 126 chrome/browser/sync/glue/shared_change_processor.cc return data; data 131 chrome/browser/sync/glue/shared_change_processor.cc syncer::SyncDataList* data) const { data 142 chrome/browser/sync/glue/shared_change_processor.cc return generic_change_processor_->GetAllSyncDataReturnError(type, data); data 89 chrome/browser/sync/glue/shared_change_processor.h syncer::SyncDataList* data) const; data 1306 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const TestData* data, data 1310 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const TestData* data, data 1443 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const TestData* data, data 1447 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc DCHECK(data); data 1450 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const TestData& item = data[i]; data 1465 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const TestData* data, data 1469 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc DCHECK(data); data 1474 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const TestData& item = data[i]; data 119 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncData data = syncer::SyncData::CreateLocalData( data 122 chrome/browser/sync/sessions2/sessions_sync_manager.cc FROM_HERE, syncer::SyncChange::ACTION_ADD, data)); data 247 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncData data = syncer::SyncData::CreateLocalData( data 250 chrome/browser/sync/sessions2/sessions_sync_manager.cc FROM_HERE, syncer::SyncChange::ACTION_UPDATE, data)); data 305 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncData data = syncer::SyncData::CreateLocalData( data 311 chrome/browser/sync/sessions2/sessions_sync_manager.cc FROM_HERE, syncer::SyncChange::ACTION_UPDATE, data)); data 324 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncDataList data( data 331 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SESSIONS, data, processor.Pass(), error_handler.Pass()); data 406 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncData data = syncer::SyncData::CreateLocalData( data 408 chrome/browser/sync/sessions2/sessions_sync_manager.cc list.push_back(data); data 425 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncData data = syncer::SyncData::CreateLocalData( data 430 chrome/browser/sync/sessions2/sessions_sync_manager.cc list.push_back(data); data 534 chrome/browser/sync/sessions2/sessions_sync_manager.cc const syncer::SyncData& data = *it; data 535 chrome/browser/sync/sessions2/sessions_sync_manager.cc DCHECK(data.GetSpecifics().has_session()); data 536 chrome/browser/sync/sessions2/sessions_sync_manager.cc const sync_pb::SessionSpecifics& specifics = data.GetSpecifics().session(); data 545 chrome/browser/sync/sessions2/sessions_sync_manager.cc specifics, syncer::SyncDataRemote(data).GetModifiedTime()); data 892 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncData data = syncer::SyncData::CreateLocalData( data 898 chrome/browser/sync/sessions2/sessions_sync_manager.cc FROM_HERE, syncer::SyncChange::ACTION_UPDATE, data)); data 153 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc void SetSyncDataToReturn(const syncer::SyncDataList& data) { data 154 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc sync_data_to_return_ = data; data 272 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc void SetSyncData(const syncer::SyncDataList& data) { data 273 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc test_processor_->SetSyncDataToReturn(data); data 640 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc const SyncData data(out[0].sync_data()); data 642 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataLocal(data).GetTag()); data 643 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc const sync_pb::SessionSpecifics& specifics(data.GetSpecifics().session()); data 663 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc SyncData d(SyncData::CreateRemoteData(1, data.GetSpecifics(), base::Time())); data 830 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc const SyncData data(output[0].sync_data()); data 832 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataLocal(data).GetTag()); data 833 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc const sync_pb::SessionSpecifics& specifics(data.GetSpecifics().session()); data 844 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc const SyncData data(output[i].sync_data()); data 845 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc EXPECT_TRUE(StartsWithASCII(syncer::SyncDataLocal(data).GetTag(), data 847 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc const sync_pb::SessionSpecifics& specifics(data.GetSpecifics().session()); data 1279 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc const SyncData data(out[2].sync_data()); data 1281 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataLocal(data).GetTag()); data 1282 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc const sync_pb::SessionSpecifics& specifics(data.GetSpecifics().session()); data 1324 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc const SyncData data(out[i].sync_data()); data 1325 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc EXPECT_TRUE(StartsWithASCII(syncer::SyncDataLocal(data).GetTag(), data 1327 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc const sync_pb::SessionSpecifics& specifics(data.GetSpecifics().session()); data 1332 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc data.GetSpecifics().SerializeAsString()); data 1334 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataLocal(data).GetTag()); data 1340 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc data.GetSpecifics().session().tab_node_id()), data 1341 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataLocal(data).GetTag()); data 1347 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc data.GetSpecifics().session().tab_node_id()), data 1348 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataLocal(data).GetTag()); data 1359 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc data.GetSpecifics().session().tab_node_id()), data 1360 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataLocal(data).GetTag()); data 1366 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc header = data.GetSpecifics(); data 1418 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc const SyncData data(out[0].sync_data()); data 1420 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataLocal(data).GetTag()); data 1421 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc const sync_pb::SessionSpecifics& specifics(data.GetSpecifics().session()); data 1432 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc const SyncData data(out[i].sync_data()); data 1433 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc EXPECT_TRUE(StartsWithASCII(syncer::SyncDataLocal(data).GetTag(), data 1435 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc const sync_pb::SessionSpecifics& specifics(data.GetSpecifics().session()); data 1519 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc const SyncData data(output[0].sync_data()); data 1520 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc EXPECT_EQ(tag1, syncer::SyncDataLocal(data).GetTag()); data 1523 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc const SyncData data(output[i].sync_data()); data 1525 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataLocal(data).GetTag()); data 168 chrome/browser/sync/sync_error_notifier_ash.cc message_center::RichNotificationData data; data 169 chrome/browser/sync/sync_error_notifier_ash.cc data.buttons.push_back(message_center::ButtonInfo( data 195 chrome/browser/sync/sync_error_notifier_ash.cc data, data 197 chrome/browser/sync/test/integration/search_engines_helper.cc TemplateURLData data; data 198 chrome/browser/sync/test/integration/search_engines_helper.cc data.short_name = CreateKeyword(seed); data 199 chrome/browser/sync/test/integration/search_engines_helper.cc data.SetKeyword(keyword); data 200 chrome/browser/sync/test/integration/search_engines_helper.cc data.SetURL(url); data 201 chrome/browser/sync/test/integration/search_engines_helper.cc data.favicon_url = GURL("http://favicon.url"); data 202 chrome/browser/sync/test/integration/search_engines_helper.cc data.safe_for_autoreplace = true; data 203 chrome/browser/sync/test/integration/search_engines_helper.cc data.date_created = base::Time::FromTimeT(100); data 204 chrome/browser/sync/test/integration/search_engines_helper.cc data.last_modified = base::Time::FromTimeT(100); data 205 chrome/browser/sync/test/integration/search_engines_helper.cc data.prepopulate_id = 999999; data 206 chrome/browser/sync/test/integration/search_engines_helper.cc data.sync_guid = sync_guid; data 207 chrome/browser/sync/test/integration/search_engines_helper.cc return new TemplateURL(profile, data); data 94 chrome/browser/sync/test/integration/sync_test.cc std::string data; data 95 chrome/browser/sync/test/integration/sync_test.cc source->GetResponseAsString(&data); data 98 chrome/browser/sync/test/integration/sync_test.cc source->GetResponseCode() == 200 && data.find("ok") == 0); data 822 chrome/browser/sync/test/integration/sync_test.cc const std::string& data = data 830 chrome/browser/sync/test/integration/sync_test.cc syncer::kSyncP2PNotificationChannel + "&data=" + data; data 347 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::WriteFile(temp_file, content.data(), content.size())); data 111 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc std::string data; data 112 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc const bool read_status = base::ReadFileToString(platform_path, &data); data 114 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc EXPECT_EQ(expected_data, data); data 477 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc const FileSystemURL& url, const std::string& data) { data 483 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc data)); data 695 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc const std::string& data, data 701 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc WriteHelper* helper = new WriteHelper(url_request_context, data); data 146 chrome/browser/sync_file_system/local/canned_syncable_file_system.h int64 WriteString(const fileapi::FileSystemURL& url, const std::string& data); data 209 chrome/browser/sync_file_system/local/canned_syncable_file_system.h const std::string& data, data 359 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc temp_path, kTestData.data(), kTestData.size())); data 268 chrome/browser/task_manager/child_process_resource_provider.cc const content::ChildProcessData& data) { data 272 chrome/browser/task_manager/child_process_resource_provider.cc if (data.process_type == content::PROCESS_TYPE_WORKER) data 274 chrome/browser/task_manager/child_process_resource_provider.cc if (resources_.count(data.handle)) { data 281 chrome/browser/task_manager/child_process_resource_provider.cc AddToTaskManager(data); data 286 chrome/browser/task_manager/child_process_resource_provider.cc const content::ChildProcessData& data) { data 289 chrome/browser/task_manager/child_process_resource_provider.cc if (data.process_type == content::PROCESS_TYPE_WORKER) data 291 chrome/browser/task_manager/child_process_resource_provider.cc ChildProcessMap::iterator iter = resources_.find(data.handle); data 40 chrome/browser/task_manager/child_process_resource_provider.h const content::ChildProcessData& data) OVERRIDE; data 42 chrome/browser/task_manager/child_process_resource_provider.h const content::ChildProcessData& data) OVERRIDE; data 219 chrome/browser/task_manager/worker_resource_provider.cc const content::ChildProcessData& data) { data 222 chrome/browser/task_manager/worker_resource_provider.cc if (data.process_type != content::PROCESS_TYPE_WORKER) data 225 chrome/browser/task_manager/worker_resource_provider.cc ProcessIdToWorkerResources::iterator it(launching_workers_.find(data.id)); data 231 chrome/browser/task_manager/worker_resource_provider.cc (*r)->UpdateProcessHandle(data.handle); data 238 chrome/browser/task_manager/worker_resource_provider.cc const content::ChildProcessData& data) { data 241 chrome/browser/task_manager/worker_resource_provider.cc if (data.process_type != content::PROCESS_TYPE_WORKER) data 250 chrome/browser/task_manager/worker_resource_provider.cc if ((*it)->process_id() == data.id) { data 258 chrome/browser/task_manager/worker_resource_provider.cc DCHECK(!ContainsKey(launching_workers_, data.id)); data 46 chrome/browser/task_manager/worker_resource_provider.h const content::ChildProcessData& data) OVERRIDE; data 48 chrome/browser/task_manager/worker_resource_provider.h const content::ChildProcessData& data) OVERRIDE; data 167 chrome/browser/task_profiler/task_profiler_data_serializer.cc return data_size == base::WriteFile(path, output.data(), data_size); data 245 chrome/browser/themes/browser_theme_pack.cc memcpy(scales.get(), input.data(), input.size()); data 427 chrome/browser/themes/browser_theme_pack.cc char* data = reinterpret_cast<char*>(&(raw_data.front())); data 428 chrome/browser/themes/browser_theme_pack.cc if (file.ReadAtCurrentPos(data, size) == length) data 716 chrome/browser/themes/browser_theme_pack.cc pointer.data())); data 735 chrome/browser/themes/browser_theme_pack.cc pointer.data())); data 740 chrome/browser/themes/browser_theme_pack.cc reinterpret_cast<ColorPair*>(const_cast<char*>(pointer.data())); data 745 chrome/browser/themes/browser_theme_pack.cc const_cast<char*>(pointer.data())); data 750 chrome/browser/themes/browser_theme_pack.cc const_cast<char*>(pointer.data())); data 231 chrome/browser/themes/theme_service.cc base::RefCountedMemory* data = NULL; data 233 chrome/browser/themes/theme_service.cc data = theme_supplier_->GetRawData(id, scale_factor); data 234 chrome/browser/themes/theme_service.cc if (!data) data 235 chrome/browser/themes/theme_service.cc data = rb_.LoadDataResourceBytesForScale(id, ui::SCALE_FACTOR_100P); data 237 chrome/browser/themes/theme_service.cc return data; data 409 chrome/browser/translate/translate_manager.cc const std::string& script_data = script->data(); data 520 chrome/browser/translate/translate_manager.cc const std::string& data) { data 534 chrome/browser/translate/translate_manager.cc DoTranslatePage(translate_script->data(), source_lang, target_lang); data 120 chrome/browser/translate/translate_manager.h const std::string& data); data 316 chrome/browser/translate/translate_manager_render_view_host_unittest.cc std::string data; data 318 chrome/browser/translate/translate_manager_render_view_host_unittest.cc data = data 324 chrome/browser/translate/translate_manager_render_view_host_unittest.cc data += base::StringPrintf( data 331 chrome/browser/translate/translate_manager_render_view_host_unittest.cc data += base::StringPrintf("},\"%s\": {", data 335 chrome/browser/translate/translate_manager_render_view_host_unittest.cc data += base::StringPrintf( data 342 chrome/browser/translate/translate_manager_render_view_host_unittest.cc data += "}})"; data 350 chrome/browser/translate/translate_manager_render_view_host_unittest.cc fetcher->SetResponseString(data); data 489 chrome/browser/ui/app_list/app_list_syncable_service.cc const syncer::SyncData& data = *iter; data 490 chrome/browser/ui/app_list/app_list_syncable_service.cc const std::string& item_id = data.GetSpecifics().app_list().item_id(); data 492 chrome/browser/ui/app_list/app_list_syncable_service.cc << " Type: " << data.GetSpecifics().app_list().item_type(); data 493 chrome/browser/ui/app_list/app_list_syncable_service.cc DCHECK_EQ(syncer::APP_LIST, data.GetDataType()); data 494 chrome/browser/ui/app_list/app_list_syncable_service.cc if (ProcessSyncItemSpecifics(data.GetSpecifics().app_list())) data 86 chrome/browser/ui/app_list/search/common/dictionary_data_store.cc bool DictionaryDataStore::SerializeData(std::string* data) { data 87 chrome/browser/ui/app_list/search/common/dictionary_data_store.cc JSONStringValueSerializer serializer(data); data 60 chrome/browser/ui/app_list/search/common/dictionary_data_store.h virtual bool SerializeData(std::string* data) OVERRIDE; data 57 chrome/browser/ui/app_list/search/history_data.cc Data& data = associations_[query]; data 58 chrome/browser/ui/app_list/search/history_data.cc data.primary = result_id; data 59 chrome/browser/ui/app_list/search/history_data.cc data.update_time = base::Time::Now(); data 62 chrome/browser/ui/app_list/search/history_data.cc store_->SetUpdateTime(query, data.update_time); data 68 chrome/browser/ui/app_list/search/history_data.cc Data& data = assoc_it->second; data 69 chrome/browser/ui/app_list/search/history_data.cc data.update_time = base::Time::Now(); data 70 chrome/browser/ui/app_list/search/history_data.cc store_->SetUpdateTime(query, data.update_time); data 72 chrome/browser/ui/app_list/search/history_data.cc SecondaryDeque& secondary = data.secondary; data 75 chrome/browser/ui/app_list/search/history_data.cc if (data.primary == result_id) data 81 chrome/browser/ui/app_list/search/history_data.cc secondary.push_back(data.primary); data 82 chrome/browser/ui/app_list/search/history_data.cc data.primary = result_id; data 78 chrome/browser/ui/app_list/search/history_data_store.cc scoped_ptr<HistoryData::Associations> data(new HistoryData::Associations); data 99 chrome/browser/ui/app_list/search/history_data_store.cc HistoryData::Data& association_data = (*data.get())[query]; data 109 chrome/browser/ui/app_list/search/history_data_store.cc return data.Pass(); data 22 chrome/browser/ui/app_list/search/history_data_store_unittest.cc std::string GetDataContent(const HistoryData::Data& data) { data 23 chrome/browser/ui/app_list/search/history_data_store_unittest.cc std::string str = std::string("p:") + data.primary + ";s:"; data 25 chrome/browser/ui/app_list/search/history_data_store_unittest.cc for (HistoryData::SecondaryDeque::const_iterator it = data.secondary.begin(); data 26 chrome/browser/ui/app_list/search/history_data_store_unittest.cc it != data.secondary.end(); ++it) { data 74 chrome/browser/ui/app_list/search/history_data_store_unittest.cc const std::string& data) { data 76 chrome/browser/ui/app_list/search/history_data_store_unittest.cc temp_dir_.path().AppendASCII(file_name), data.c_str(), data.size()); data 35 chrome/browser/ui/app_list/search/history_unittest.cc explicit HistoryDataLoadWaiter(HistoryData* data) : data_(data) {} data 74 chrome/browser/ui/ash/screenshot_taker.cc base::Base64Encode(png_data->data(), &encoded); data 94 chrome/browser/ui/ash/screenshot_taker.cc if (!base::ReadFileToString(screenshot_path, &(png_data->data()))) { data 197 chrome/browser/ui/ash/screenshot_taker.cc reinterpret_cast<char*>(&(png_data->data()[0])), data 44 chrome/browser/ui/aura/tab_contents/web_drag_bookmark_handler_aura.cc const ui::OSExchangeData& data) { data 48 chrome/browser/ui/aura/tab_contents/web_drag_bookmark_handler_aura.cc bookmark_drag_data_.Read(data); data 34 chrome/browser/ui/aura/tab_contents/web_drag_bookmark_handler_aura.h virtual void OnReceiveDragData(const ui::OSExchangeData& data) OVERRIDE; data 19 chrome/browser/ui/bookmarks/bookmark_drag_drop.cc const BookmarkNodeData& data, data 26 chrome/browser/ui/bookmarks/bookmark_drag_drop.cc if (data.IsFromProfile(profile)) { data 28 chrome/browser/ui/bookmarks/bookmark_drag_drop.cc data.GetNodes(profile); data 40 chrome/browser/ui/bookmarks/bookmark_drag_drop.cc bookmark_utils::CloneBookmarkNode(model, data.elements, parent_node, data 28 chrome/browser/ui/bookmarks/bookmark_drag_drop.h const BookmarkNodeData& data, data 28 chrome/browser/ui/bookmarks/bookmark_tab_helper.h virtual void OnDragEnter(const BookmarkNodeData& data) = 0; data 29 chrome/browser/ui/bookmarks/bookmark_tab_helper.h virtual void OnDragOver(const BookmarkNodeData& data) = 0; data 30 chrome/browser/ui/bookmarks/bookmark_tab_helper.h virtual void OnDragLeave(const BookmarkNodeData& data) = 0; data 31 chrome/browser/ui/bookmarks/bookmark_tab_helper.h virtual void OnDrop(const BookmarkNodeData& data) = 0; data 92 chrome/browser/ui/browser_navigator_browsertest.cc post_data.data(), post_data.size()); data 27 chrome/browser/ui/certificate_dialogs.cc void WriterCallback(const base::FilePath& path, const std::string& data) { data 28 chrome/browser/ui/certificate_dialogs.cc int bytes_written = base::WriteFile(path, data.data(), data.size()); data 29 chrome/browser/ui/certificate_dialogs.cc if (bytes_written != static_cast<ssize_t>(data.size())) { data 31 chrome/browser/ui/certificate_dialogs.cc << data.size() << "B) returned " << bytes_written; data 36 chrome/browser/ui/certificate_dialogs.cc const std::string& data) { data 38 chrome/browser/ui/certificate_dialogs.cc BrowserThread::FILE, FROM_HERE, base::Bind(&WriterCallback, path, data)); data 110 chrome/browser/ui/certificate_dialogs.cc std::string data; data 114 chrome/browser/ui/certificate_dialogs.cc data += GetBase64String(cert_chain_list_[i]); data 117 chrome/browser/ui/certificate_dialogs.cc data = x509_certificate_model::GetDerString(cert_chain_list_[0]); data 120 chrome/browser/ui/certificate_dialogs.cc data = x509_certificate_model::GetCMSString(cert_chain_list_, 0, 1); data 123 chrome/browser/ui/certificate_dialogs.cc data = x509_certificate_model::GetCMSString( data 128 chrome/browser/ui/certificate_dialogs.cc data = GetBase64String(cert_chain_list_[0]); data 132 chrome/browser/ui/certificate_dialogs.cc if (!data.empty()) data 133 chrome/browser/ui/certificate_dialogs.cc WriteFileOnFileThread(path, data); data 25 chrome/browser/ui/cocoa/about_ipc_controller.h - (id)initWithLogData:(const IPC::LogData&)data; data 69 chrome/browser/ui/cocoa/about_ipc_controller.h - (void)log:(CocoaLogData*)data; data 78 chrome/browser/ui/cocoa/about_ipc_controller.h - (BOOL)filterOut:(CocoaLogData*)data; data 28 chrome/browser/ui/cocoa/about_ipc_dialog.h virtual void Log(const IPC::LogData& data) OVERRIDE; data 633 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc GtkWidget* tool_item = reinterpret_cast<GtkWidget*>(iter->data); data 1117 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc if (item->data == item_to_find) { data 78 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc gboolean IsSeparator(GtkTreeModel* model, GtkTreeIter* iter, gpointer data) { data 65 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc ExpandNodesData* data = reinterpret_cast<ExpandNodesData*>(pointer_data); data 67 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc if (data->ids->find(node_id) != data->ids->end()) data 68 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc gtk_tree_view_expand_to_path(GTK_TREE_VIEW(data->tree_view), path); data 85 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc SaveExpandedNodesData* data = data 89 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc const BookmarkNode* node = data->bookmark_model->GetNodeByID( data 92 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc data->nodes.insert(node); data 411 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc ExpandNodesData data = { &ids, tree_view_ }; data 413 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc reinterpret_cast<gpointer>(&data)); data 560 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc SaveExpandedNodesData data; data 561 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc data.bookmark_model = bb_model_; data 564 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc reinterpret_cast<gpointer>(&data)); data 565 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc bb_model_->expanded_state_tracker()->SetExpandedNodes(data.nodes); data 135 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc DragRepresentationData* data) { data 144 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc gdk_cairo_set_source_pixbuf(cr, data->favicon, 0, 0); data 153 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc int text_x = gdk_pixbuf_get_width(data->favicon) + kBarButtonPadding; data 156 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc canvas.DrawStringRectWithFlags(data->text, gfx::FontList(), data->text_color, data 162 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc void OnDragIconDestroy(GtkWidget* drag_icon, DragRepresentationData* data) { data 164 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc delete data; data 199 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc DragRepresentationData* data = new DragRepresentationData( data 203 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc data); data 205 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc g_signal_connect(window, "destroy", G_CALLBACK(OnDragIconDestroy), data); data 338 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc BookmarkNodeData data(nodes); data 340 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc data.WriteToPickle(profile, &pickle); data 345 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc static_cast<const guchar*>(pickle.data()), data 386 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc reinterpret_cast<const guchar*>(utf8_html.data()), data 20 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk_unittest.cc GtkSelectionData data; data 21 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk_unittest.cc data.data = NULL; data 22 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk_unittest.cc data.length = 0; data 23 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk_unittest.cc nodes = GetNodesFromSelection(NULL, &data, 0, NULL, NULL, NULL); data 30 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk_unittest.cc data.data = NULL; data 31 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk_unittest.cc data.length = 0; data 33 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk_unittest.cc NULL, &data, ui::CHROME_BOOKMARK_ITEM, NULL, NULL, NULL); data 37 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk_unittest.cc data.data = test_data; data 38 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk_unittest.cc data.length = 0; data 40 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk_unittest.cc NULL, &data, ui::CHROME_BOOKMARK_ITEM, NULL, NULL, NULL); data 47 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk_unittest.cc GtkSelectionData data; data 48 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk_unittest.cc data.data = NULL; data 49 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk_unittest.cc data.length = 0; data 50 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk_unittest.cc WriteBookmarkToSelection(&x, &data, ui::TEXT_HTML, NULL); data 51 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk_unittest.cc std::string selection(reinterpret_cast<char*>(data.data), data.length); data 55 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk_unittest.cc gtk_selection_data_set(&data, data.type, data.format, NULL, -1); data 646 chrome/browser/ui/gtk/browser_toolbar_gtk.cc GtkSelectionData* data, guint info, guint time) { data 652 chrome/browser/ui/gtk/browser_toolbar_gtk.cc GURL url(reinterpret_cast<const char*>(gtk_selection_data_get_data(data))); data 388 chrome/browser/ui/gtk/collected_cookies_gtk.cc reinterpret_cast<GtkTreePath*>(item->data)); data 422 chrome/browser/ui/gtk/collected_cookies_gtk.cc model, &iter, reinterpret_cast<GtkTreePath*>(item->data)); data 485 chrome/browser/ui/gtk/collected_cookies_gtk.cc model, &iter, reinterpret_cast<GtkTreePath*>(item->data)); data 528 chrome/browser/ui/gtk/collected_cookies_gtk.cc model, &iter, reinterpret_cast<GtkTreePath*>(item->data)); data 46 chrome/browser/ui/gtk/download/download_item_drag.cc static void OnDestroy(gpointer data, GClosure* closure); data 97 chrome/browser/ui/gtk/download/download_item_drag.cc void DownloadItemDrag::DragData::OnDestroy(gpointer data, GClosure* closure) { data 98 chrome/browser/ui/gtk/download/download_item_drag.cc DragData* drag_data = reinterpret_cast<DragData*>(data); data 32 chrome/browser/ui/gtk/edit_search_engine_dialog.cc gint length, gint *position, gpointer data) { data 39 chrome/browser/ui/gtk/edit_search_engine_dialog.cc reinterpret_cast<gpointer>(LowercaseInsertTextHandler), data); data 42 chrome/browser/ui/gtk/edit_search_engine_dialog.cc reinterpret_cast<gpointer>(LowercaseInsertTextHandler), data); data 26 chrome/browser/ui/gtk/extensions/browser_action_test_util_gtk.cc static_cast<GtkWidget*>(g_list_nth(children, index)->data); data 47 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc void AddResourceIcon(const gfx::ImageSkia* icon, void* data) { data 48 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc GtkWidget* container = static_cast<GtkWidget*>(data); data 46 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc SizeAllocateData* data = reinterpret_cast<SizeAllocateData*>(userdata); data 50 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc if (data->homogeneous) { data 52 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc if (child_allocation.width > data->homogeneous_child_width) { data 54 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc (child_allocation.width - data->homogeneous_child_width) / 2; data 55 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc child_allocation.width = data->homogeneous_child_width; data 60 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc gtk_box_query_child_packing(GTK_BOX(data->box), child, NULL, NULL, data 63 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc if ((data->direction == GTK_TEXT_DIR_RTL && pack_type == GTK_PACK_START) || data 64 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc (data->direction != GTK_TEXT_DIR_RTL && pack_type == GTK_PACK_END)) { data 67 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc int overflow = (data->allocation->x + data->border_width + padding - data 77 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc (data->allocation->x + data->allocation->width - data->border_width)); data 87 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc if (data->box->hide_child_directly || child_allocation.width <= 1) data 209 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc SizeAllocateData data; data 210 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc data.box = GTK_CHROME_SHRINKABLE_HBOX(widget); data 211 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc data.allocation = allocation; data 212 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc data.direction = gtk_widget_get_direction(widget); data 213 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc data.homogeneous = gtk_box_get_homogeneous(GTK_BOX(widget)); data 214 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc data.border_width = gtk_container_get_border_width(GTK_CONTAINER(widget)); data 215 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc data.homogeneous_child_width = data 216 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc (allocation->width - data.border_width * 2 - data 221 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc gtk_container_foreach(GTK_CONTAINER(widget), ChildSizeAllocate, &data); data 200 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc ChildData data; data 201 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc data.visible = gtk_widget_get_visible(child); data 202 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc data.padding = padding; data 203 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc data.x = child->allocation.x; data 204 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc data.width = child->allocation.width; data 206 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc reinterpret_cast<std::vector<ChildData>*>(userdata)->push_back(data); data 33 chrome/browser/ui/gtk/gtk_custom_menu_item.cc data1 = closure->data; data 44 chrome/browser/ui/gtk/gtk_custom_menu_item.cc data2 = (param_values + 0)->data[0].v_pointer; data 46 chrome/browser/ui/gtk/gtk_custom_menu_item.cc data1 = (param_values + 0)->data[0].v_pointer; data 47 chrome/browser/ui/gtk/gtk_custom_menu_item.cc data2 = closure->data; data 194 chrome/browser/ui/gtk/gtk_custom_menu_item.cc GtkWidget* current_button = GTK_WIDGET(button_item->data); data 196 chrome/browser/ui/gtk/gtk_custom_menu_item.cc for (GList* i = button_item; i && GTK_IS_BUTTON(i->data); data 198 chrome/browser/ui/gtk/gtk_custom_menu_item.cc first_button = GTK_WIDGET(i->data); data 202 chrome/browser/ui/gtk/gtk_custom_menu_item.cc for (GList* i = button_item; i && GTK_IS_BUTTON(i->data); data 204 chrome/browser/ui/gtk/gtk_custom_menu_item.cc last_button = GTK_WIDGET(i->data); data 242 chrome/browser/ui/gtk/gtk_custom_menu_item.cc if (GTK_IS_BUTTON(current_item->data)) { data 243 chrome/browser/ui/gtk/gtk_custom_menu_item.cc if (GTK_WIDGET(current_item->data) != data 255 chrome/browser/ui/gtk/gtk_custom_menu_item.cc if (GTK_IS_BUTTON(current_item->data)) { data 258 chrome/browser/ui/gtk/gtk_custom_menu_item.cc if (next_item && GTK_IS_BUTTON(next_item->data)) { data 259 chrome/browser/ui/gtk/gtk_custom_menu_item.cc GtkWidget* current_button = GTK_WIDGET(current_item->data); data 384 chrome/browser/ui/gtk/gtk_custom_menu_item.cc GtkWidget* current_widget = GTK_WIDGET(current->data); data 406 chrome/browser/ui/gtk/gtk_custom_menu_item.cc if (g_list_first(menu_item->button_widgets)->data == current) data 410 chrome/browser/ui/gtk/gtk_custom_menu_item.cc menu_item->button_widgets, current))->data)); data 414 chrome/browser/ui/gtk/gtk_custom_menu_item.cc if (g_list_last(menu_item->button_widgets)->data == current) data 418 chrome/browser/ui/gtk/gtk_custom_menu_item.cc menu_item->button_widgets, current))->data)); data 439 chrome/browser/ui/gtk/gtk_custom_menu_item.cc GTK_WIDGET(g_list_last(menu_item->button_widgets)->data); data 446 chrome/browser/ui/gtk/gtk_custom_menu_item.cc GTK_WIDGET(g_list_first(menu_item->button_widgets)->data); data 487 chrome/browser/ui/gtk/gtk_custom_menu_item.cc for (GList* i = menu_item->all_widgets; i && GTK_IS_BUTTON(i->data); data 489 chrome/browser/ui/gtk/gtk_custom_menu_item.cc if (GTK_IS_BUTTON(i->data)) { data 490 chrome/browser/ui/gtk/gtk_custom_menu_item.cc callback(GTK_WIDGET(i->data), callback_data); data 513 chrome/browser/ui/gtk/gtk_theme_service.cc unsigned char data[3 * kWidth * kHeight]; data 526 chrome/browser/ui/gtk/gtk_theme_service.cc GdkPixbuf* pb = gdk_pixbuf_new_from_data(data, GDK_COLORSPACE_RGB, data 540 chrome/browser/ui/gtk/gtk_theme_service.cc components[c] += data[3 * (kWidth / 3 + y * kWidth) + c]; data 76 chrome/browser/ui/gtk/gtk_tree.cc gtk_tree::GetRowNumForPath(static_cast<GtkTreePath*>(node->data))); data 273 chrome/browser/ui/gtk/gtk_util.cc GTK_WIDGET(item->data), data 427 chrome/browser/ui/gtk/gtk_util.cc gtk_window_group_add_window(window_group, GTK_WINDOW(window->data)); data 447 chrome/browser/ui/gtk/gtk_util.cc GtkWindow* window = GTK_WINDOW(item->data); data 721 chrome/browser/ui/gtk/gtk_util.cc pango_layout_set_text(layout, text_utf8.data(), text_utf8.length()); data 1096 chrome/browser/ui/gtk/location_bar_view_gtk.cc GtkSelectionData* data, data 1098 chrome/browser/ui/gtk/location_bar_view_gtk.cc ui::WriteURLWithName(data, drag_url_, drag_title_, info); data 17 chrome/browser/ui/gtk/menu_bar_helper.cc void PopulateSubmenus(GtkWidget* child, gpointer data) { data 19 chrome/browser/ui/gtk/menu_bar_helper.cc static_cast<std::vector<GtkWidget*>*>(data); data 863 chrome/browser/ui/gtk/menu_gtk.cc RemoveSubMenuModels(GTK_WIDGET(child->data), NULL); data 864 chrome/browser/ui/gtk/menu_gtk.cc gtk_container_remove(GTK_CONTAINER(submenu), GTK_WIDGET(child->data)); data 453 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc pango_layout_set_text(layout, text_utf8.data(), text_utf8.length()); data 123 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gpointer data) { data 126 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc GtkTextBuffer* buffer = GTK_TEXT_BUFFER(data); data 145 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (GTK_IS_IMAGE_MENU_ITEM(item->data)) { data 147 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc GTK_IMAGE_MENU_ITEM(item->data)); data 150 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gtk_menu_item_get_label(GTK_MENU_ITEM(item->data)); data 1417 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc klass->insert_text(buffer, location, utf8_text.data(), data 1524 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc BookmarkNodeData data; data 1525 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc data.ReadFromTuple(url, text); data 1526 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc data.WriteToClipboard(ui::CLIPBOARD_TYPE_COPY_PASTE); data 1942 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc clipboard, selected_text.data(), selected_text.size()); data 1949 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gtk_text_buffer_set_text(text_buffer_, utf8.data(), utf8.length()); data 35 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc gpointer data = g_object_get_data(G_OBJECT(widget), "menu-id"); data 36 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc if (data && (GPOINTER_TO_INT(data) - 1) == param->index && data 48 chrome/browser/ui/gtk/rounded_window.cc void FreeRoundedWindowData(gpointer data) { data 49 chrome/browser/ui/gtk/rounded_window.cc delete static_cast<RoundedWindowData*>(data); data 60 chrome/browser/ui/gtk/rounded_window.cc std::vector<GdkPoint> MakeFramePolygonPoints(RoundedWindowData* data, data 63 chrome/browser/ui/gtk/rounded_window.cc int width = data->expected_width; data 64 chrome/browser/ui/gtk/rounded_window.cc int height = data->expected_height; data 65 chrome/browser/ui/gtk/rounded_window.cc int corner_size = data->corner_size; data 85 chrome/browser/ui/gtk/rounded_window.cc (data->drawn_borders & (BORDER_LEFT | BORDER_BOTTOM))) { data 86 chrome/browser/ui/gtk/rounded_window.cc if (data->rounded_edges & ROUNDED_BOTTOM_LEFT) { data 116 chrome/browser/ui/gtk/rounded_window.cc (data->drawn_borders & (BORDER_LEFT | BORDER_TOP))) { data 117 chrome/browser/ui/gtk/rounded_window.cc if (data->rounded_edges & ROUNDED_TOP_LEFT) { data 142 chrome/browser/ui/gtk/rounded_window.cc (data->drawn_borders & (BORDER_TOP | BORDER_RIGHT))) { data 143 chrome/browser/ui/gtk/rounded_window.cc if (data->rounded_edges & ROUNDED_TOP_RIGHT) { data 171 chrome/browser/ui/gtk/rounded_window.cc (data->drawn_borders & (BORDER_RIGHT | BORDER_BOTTOM))) { data 172 chrome/browser/ui/gtk/rounded_window.cc if (data->rounded_edges & ROUNDED_BOTTOM_RIGHT) { data 205 chrome/browser/ui/gtk/rounded_window.cc RoundedWindowData* data = static_cast<RoundedWindowData*>( data 211 chrome/browser/ui/gtk/rounded_window.cc if (data->expected_width != allocation.width || data 212 chrome/browser/ui/gtk/rounded_window.cc data->expected_height != allocation.height) { data 213 chrome/browser/ui/gtk/rounded_window.cc data->expected_width = allocation.width; data 214 chrome/browser/ui/gtk/rounded_window.cc data->expected_height = allocation.height; data 219 chrome/browser/ui/gtk/rounded_window.cc data, FRAME_MASK); data 231 chrome/browser/ui/gtk/rounded_window.cc gdk_gc_set_rgb_fg_color(gc, &data->border_color); data 235 chrome/browser/ui/gtk/rounded_window.cc data, FRAME_STROKE); data 236 chrome/browser/ui/gtk/rounded_window.cc if (data->drawn_borders == BORDER_ALL) { data 253 chrome/browser/ui/gtk/rounded_window.cc RoundedWindowData* data = static_cast<RoundedWindowData*>( data 255 chrome/browser/ui/gtk/rounded_window.cc DCHECK(data); data 256 chrome/browser/ui/gtk/rounded_window.cc data->expected_width = -1; data 257 chrome/browser/ui/gtk/rounded_window.cc data->expected_height = -1; data 270 chrome/browser/ui/gtk/rounded_window.cc RoundedWindowData* data = new RoundedWindowData; data 271 chrome/browser/ui/gtk/rounded_window.cc data->signals.Connect(widget, "expose-event", data 273 chrome/browser/ui/gtk/rounded_window.cc data->signals.Connect(widget, "style-set", G_CALLBACK(OnStyleSet), NULL); data 275 chrome/browser/ui/gtk/rounded_window.cc data->expected_width = -1; data 276 chrome/browser/ui/gtk/rounded_window.cc data->expected_height = -1; data 278 chrome/browser/ui/gtk/rounded_window.cc data->border_color = color; data 279 chrome/browser/ui/gtk/rounded_window.cc data->corner_size = corner_size; data 281 chrome/browser/ui/gtk/rounded_window.cc data->rounded_edges = rounded_edges; data 282 chrome/browser/ui/gtk/rounded_window.cc data->drawn_borders = drawn_borders; data 285 chrome/browser/ui/gtk/rounded_window.cc data, FreeRoundedWindowData); data 310 chrome/browser/ui/gtk/rounded_window.cc RoundedWindowData* data = static_cast<RoundedWindowData*>( data 312 chrome/browser/ui/gtk/rounded_window.cc DCHECK(data); data 313 chrome/browser/ui/gtk/rounded_window.cc data->corner_size = corner_size; data 314 chrome/browser/ui/gtk/rounded_window.cc data->rounded_edges = rounded_edges; data 315 chrome/browser/ui/gtk/rounded_window.cc data->drawn_borders = drawn_borders; data 320 chrome/browser/ui/gtk/rounded_window.cc RoundedWindowData* data = static_cast<RoundedWindowData*>( data 322 chrome/browser/ui/gtk/rounded_window.cc DCHECK(data); data 323 chrome/browser/ui/gtk/rounded_window.cc data->border_color = color; data 43 chrome/browser/ui/gtk/tab_contents/web_drag_bookmark_handler_gtk.cc void WebDragBookmarkHandlerGtk::OnReceiveDataFromGtk(GtkSelectionData* data) { data 47 chrome/browser/ui/gtk/tab_contents/web_drag_bookmark_handler_gtk.cc NULL, data, ui::CHROME_BOOKMARK_ITEM, profile, NULL, NULL)); data 28 chrome/browser/ui/gtk/tab_contents/web_drag_bookmark_handler_gtk.h virtual void OnReceiveDataFromGtk(GtkSelectionData* data) OVERRIDE; data 198 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc const LoadingAnimation::Data& data) data 199 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc : data_(new Data(data)), data 66 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h explicit LoadingAnimation(const LoadingAnimation::Data& data); data 1109 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc TabData data = {tab, gfx::Rect()}; data 1112 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc tab_data_.insert(tab_data_.begin() + to_index, data); data 1762 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc bool TabStripGtk::CompleteDrop(const guchar* data, bool is_plain_text) { data 1779 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc base::UTF8ToUTF16(reinterpret_cast<const char*>(data)), data 1783 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc std::string url_string(reinterpret_cast<const char*>(data)); data 2163 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc GtkSelectionData* data, data 2170 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc success = CompleteDrop(gtk_selection_data_get_data(data), data 398 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h bool CompleteDrop(const guchar* data, bool is_plain_text); data 755 chrome/browser/ui/gtk/task_manager_gtk.cc reinterpret_cast<GtkTreePath*>(item->data)); data 884 chrome/browser/ui/gtk/task_manager_gtk.cc reinterpret_cast<GtkTreePath*>(item->data)); data 25 chrome/browser/ui/gtk/view_id_util.cc void SearchForWidgetWithViewID(GtkWidget* widget, gpointer data) { data 27 chrome/browser/ui/gtk/view_id_util.cc reinterpret_cast<ViewIDSearchStruct*>(data); data 56 chrome/browser/ui/gtk/view_id_util.cc SearchForWidgetWithViewID, data); data 79 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc gtk_container_remove(GTK_CONTAINER(container), GTK_WIDGET(item->data)); data 617 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc if (it->data == button) data 79 chrome/browser/ui/hung_plugin_tab_helper.cc renderer_handles->data()->begin(); data 80 chrome/browser/ui/hung_plugin_tab_helper.cc iter != renderer_handles->data()->end(); ++iter) { data 103 chrome/browser/ui/hung_plugin_tab_helper.cc const content::ChildProcessData& data = iter.GetData(); data 104 chrome/browser/ui/hung_plugin_tab_helper.cc if (data.id == child_id) { data 108 chrome/browser/ui/hung_plugin_tab_helper.cc ::DuplicateHandle(current_process, data.handle, current_process, &handle, data 117 chrome/browser/ui/hung_plugin_tab_helper.cc base::KillProcess(data.handle, content::RESULT_CODE_HUNG, false); data 369 chrome/browser/ui/hung_plugin_tab_helper.cc renderer_handles->data()->push_back(handle); data 375 chrome/browser/ui/hung_plugin_tab_helper.cc if (renderer_handles->data()->size() > 0 && data 376 chrome/browser/ui/hung_plugin_tab_helper.cc renderer_handles->data()->size() < 4) { data 234 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc if (g_object_get_data(G_OBJECT(child->data), "click-action-item") != data 236 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc gtk_menu_item_set_label(GTK_MENU_ITEM(child->data), data 78 chrome/browser/ui/libgtk2ui/g_object_destructor_filo.h static void WeakNotifyThunk(gpointer data, GObject* where_the_object_was) { data 79 chrome/browser/ui/libgtk2ui/g_object_destructor_filo.h reinterpret_cast<GObjectDestructorFILO*>(data)->WeakNotify( data 35 chrome/browser/ui/libgtk2ui/gtk2_signal_registrar.cc gpointer data) { data 36 chrome/browser/ui/libgtk2ui/gtk2_signal_registrar.cc return ConnectInternal(instance, detailed_signal, signal_handler, data, data 43 chrome/browser/ui/libgtk2ui/gtk2_signal_registrar.cc gpointer data) { data 44 chrome/browser/ui/libgtk2ui/gtk2_signal_registrar.cc return ConnectInternal(instance, detailed_signal, signal_handler, data, true); data 50 chrome/browser/ui/libgtk2ui/gtk2_signal_registrar.cc gpointer data, data 63 chrome/browser/ui/libgtk2ui/gtk2_signal_registrar.cc g_signal_connect_after(instance, detailed_signal, signal_handler, data) : data 64 chrome/browser/ui/libgtk2ui/gtk2_signal_registrar.cc g_signal_connect(instance, detailed_signal, signal_handler, data); data 46 chrome/browser/ui/libgtk2ui/gtk2_signal_registrar.h GCallback signal_handler, gpointer data); data 49 chrome/browser/ui/libgtk2ui/gtk2_signal_registrar.h GCallback signal_handler, gpointer data); data 58 chrome/browser/ui/libgtk2ui/gtk2_signal_registrar.h static void WeakNotifyThunk(gpointer data, GObject* where_the_object_was) { data 59 chrome/browser/ui/libgtk2ui/gtk2_signal_registrar.h reinterpret_cast<Gtk2SignalRegistrar*>(data)->WeakNotify( data 65 chrome/browser/ui/libgtk2ui/gtk2_signal_registrar.h GCallback signal_handler, gpointer data, bool after); data 729 chrome/browser/ui/libgtk2ui/gtk2_ui.cc unsigned char data[3 * kWidth * kHeight]; data 742 chrome/browser/ui/libgtk2ui/gtk2_ui.cc GdkPixbuf* pb = gdk_pixbuf_new_from_data(data, GDK_COLORSPACE_RGB, data 756 chrome/browser/ui/libgtk2ui/gtk2_ui.cc components[c] += data[3 * (kWidth / 3 + y * kWidth) + c]; data 105 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc static gboolean SetPrinter(GtkPrinter* printer, gpointer data) { data 106 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc GtkPrinterList* printer_list = reinterpret_cast<GtkPrinterList*>(data); data 581 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc base::FilePath path(static_cast<char*>(iter->data)); data 582 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc g_free(iter->data); data 270 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc TemplateURLData data; data 271 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc data.short_name = ASCIIToUTF16(kSearchShortName); data 272 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc data.SetKeyword(ASCIIToUTF16(kSearchKeyword)); data 273 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc data.SetURL(kSearchURL); data 274 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc TemplateURL* template_url = new TemplateURL(profile, data); data 278 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc data.SetKeyword(ASCIIToUTF16(kSearchKeyword2)); data 279 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc model->Add(new TemplateURL(profile, data)); data 609 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc TemplateURLData data; data 610 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc data.short_name = ASCIIToUTF16("abc"); data 611 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc data.SetKeyword(ASCIIToUTF16(kSearchText)); data 612 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc data.SetURL("http://abc.com/"); data 613 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc template_url_service->Add(new TemplateURL(profile, data)); data 1031 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc TemplateURLData data; data 1032 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc data.short_name = ASCIIToUTF16("Search abc"); data 1033 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc data.SetKeyword(ASCIIToUTF16(kSearchText)); data 1034 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc data.SetURL("http://abc.com/{searchTerms}"); data 1035 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc TemplateURL* template_url = new TemplateURL(profile, data); data 1057 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc data.short_name = ASCIIToUTF16("abc"); data 1058 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc data.SetURL("http://abc.com/"); data 1059 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc template_url_service->Add(new TemplateURL(profile, data)); data 140 chrome/browser/ui/pdf/pdf_browsertest.cc scoped_ptr<char[]> data(new char[size]); data 141 chrome/browser/ui/pdf/pdf_browsertest.cc ASSERT_EQ(size, base::ReadFile(reference, data.get(), size)); data 146 chrome/browser/ui/pdf/pdf_browsertest.cc reinterpret_cast<unsigned char*>(data.get()), size, data 55 chrome/browser/ui/search/instant_test_utils.cc TemplateURLData data; data 58 chrome/browser/ui/search/instant_test_utils.cc data.short_name = base::ASCIIToUTF16("name"); data 59 chrome/browser/ui/search/instant_test_utils.cc data.SetURL(instant_url_.spec() + data 61 chrome/browser/ui/search/instant_test_utils.cc data.instant_url = instant_url_.spec(); data 62 chrome/browser/ui/search/instant_test_utils.cc data.new_tab_url = ntp_url_.spec(); data 64 chrome/browser/ui/search/instant_test_utils.cc data.suggestions_url = instant_url_.spec() + "#q={searchTerms}"; data 65 chrome/browser/ui/search/instant_test_utils.cc data.alternate_urls.push_back(instant_url_.spec() + "#q={searchTerms}"); data 66 chrome/browser/ui/search/instant_test_utils.cc data.search_terms_replacement_key = "strk"; data 68 chrome/browser/ui/search/instant_test_utils.cc TemplateURL* template_url = new TemplateURL(browser_->profile(), data); data 78 chrome/browser/ui/search/instant_test_utils.cc TemplateURLData data; data 79 chrome/browser/ui/search/instant_test_utils.cc data.short_name = base::ASCIIToUTF16("name"); data 80 chrome/browser/ui/search/instant_test_utils.cc data.SetURL(url); data 81 chrome/browser/ui/search/instant_test_utils.cc data.instant_url = url; data 83 chrome/browser/ui/search/instant_test_utils.cc TemplateURL* template_url = new TemplateURL(browser_->profile(), data); data 106 chrome/browser/ui/search/search_ipc_router_unittest.cc TemplateURLData data; data 107 chrome/browser/ui/search/search_ipc_router_unittest.cc data.SetURL("http://foo.com/url?bar={searchTerms}"); data 108 chrome/browser/ui/search/search_ipc_router_unittest.cc data.instant_url = "http://foo.com/instant?" data 110 chrome/browser/ui/search/search_ipc_router_unittest.cc data.new_tab_url = "https://foo.com/newtab?espv"; data 111 chrome/browser/ui/search/search_ipc_router_unittest.cc data.alternate_urls.push_back("http://foo.com/alt#quux={searchTerms}"); data 112 chrome/browser/ui/search/search_ipc_router_unittest.cc data.search_terms_replacement_key = "espv"; data 114 chrome/browser/ui/search/search_ipc_router_unittest.cc TemplateURL* template_url = new TemplateURL(profile(), data); data 276 chrome/browser/ui/search/search_tab_helper_unittest.cc TemplateURLData data; data 277 chrome/browser/ui/search/search_tab_helper_unittest.cc data.SetURL("http://foo.com/url?bar={searchTerms}"); data 278 chrome/browser/ui/search/search_tab_helper_unittest.cc data.instant_url = "http://foo.com/instant?" data 281 chrome/browser/ui/search/search_tab_helper_unittest.cc data.new_tab_url = std::string("https://foo.com/newtab?strk"); data 282 chrome/browser/ui/search/search_tab_helper_unittest.cc data.alternate_urls.push_back("http://foo.com/alt#quux={searchTerms}"); data 283 chrome/browser/ui/search/search_tab_helper_unittest.cc data.search_terms_replacement_key = "strk"; data 285 chrome/browser/ui/search/search_tab_helper_unittest.cc TemplateURL* template_url = new TemplateURL(profile(), data); data 44 chrome/browser/ui/search_engines/edit_search_engine_controller.cc TemplateURLData data; data 45 chrome/browser/ui/search_engines/edit_search_engine_controller.cc data.SetURL(url); data 46 chrome/browser/ui/search_engines/edit_search_engine_controller.cc TemplateURL t_url(profile_, data); data 135 chrome/browser/ui/search_engines/edit_search_engine_controller.cc TemplateURLData data; data 136 chrome/browser/ui/search_engines/edit_search_engine_controller.cc data.SetURL(url); data 137 chrome/browser/ui/search_engines/edit_search_engine_controller.cc TemplateURL t_url(profile_, data); data 246 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc TemplateURLData data; data 247 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc data.short_name = ASCIIToUTF16("b"); data 248 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc data.SetKeyword(ASCIIToUTF16("a")); data 249 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc TemplateURL* turl = new TemplateURL(profile_.get(), data); data 188 chrome/browser/ui/search_engines/search_engine_tab_helper.cc TemplateURLData data; data 189 chrome/browser/ui/search_engines/search_engine_tab_helper.cc data.short_name = keyword; data 190 chrome/browser/ui/search_engines/search_engine_tab_helper.cc data.SetKeyword(keyword); data 191 chrome/browser/ui/search_engines/search_engine_tab_helper.cc data.SetURL(url.spec()); data 200 chrome/browser/ui/search_engines/search_engine_tab_helper.cc data.favicon_url = current_favicon.is_valid() ? data 202 chrome/browser/ui/search_engines/search_engine_tab_helper.cc data.safe_for_autoreplace = true; data 203 chrome/browser/ui/search_engines/search_engine_tab_helper.cc data.input_encodings.push_back(params.searchable_form_encoding); data 204 chrome/browser/ui/search_engines/search_engine_tab_helper.cc url_service->Add(new TemplateURL(profile, data)); data 270 chrome/browser/ui/search_engines/template_url_table_model.cc TemplateURLData data; data 271 chrome/browser/ui/search_engines/template_url_table_model.cc data.short_name = short_name; data 272 chrome/browser/ui/search_engines/template_url_table_model.cc data.SetKeyword(keyword); data 273 chrome/browser/ui/search_engines/template_url_table_model.cc data.SetURL(url); data 274 chrome/browser/ui/search_engines/template_url_table_model.cc TemplateURL* turl = new TemplateURL(template_url_service_->profile(), data); data 243 chrome/browser/ui/startup/startup_browser_creator.cc base::WriteFile(output_file, output_string.data(), data 221 chrome/browser/ui/tab_contents/core_tab_helper.cc std::vector<unsigned char> data; data 226 chrome/browser/ui/tab_contents/core_tab_helper.cc &data)) data 231 chrome/browser/ui/tab_contents/core_tab_helper.cc search_args.image_thumbnail_content = std::string(data.begin(), data.end()); data 299 chrome/browser/ui/tabs/tab_strip_model.cc WebContentsData* data = new WebContentsData(this, contents); data 300 chrome/browser/ui/tabs/tab_strip_model.cc data->set_pinned(pin); data 308 chrome/browser/ui/tabs/tab_strip_model.cc data->set_group(active_contents); data 309 chrome/browser/ui/tabs/tab_strip_model.cc data->set_opener(active_contents); data 316 chrome/browser/ui/tabs/tab_strip_model.cc data->set_opener(active_contents); data 322 chrome/browser/ui/tabs/tab_strip_model.cc data->set_blocked(modal_dialog_manager->IsDialogActive()); data 324 chrome/browser/ui/tabs/tab_strip_model.cc contents_data_.insert(contents_data_.begin() + index, data); data 1391 chrome/browser/ui/tabs/tab_strip_model.cc bool TabStripModel::OpenerMatches(const WebContentsData* data, data 1394 chrome/browser/ui/tabs/tab_strip_model.cc return data->opener() == opener || (use_group && data->group() == opener); data 546 chrome/browser/ui/tabs/tab_strip_model.h static bool OpenerMatches(const WebContentsData* data, data 244 chrome/browser/ui/views/autofill/autofill_dialog_views.cc NotificationView(const DialogNotification& data, data 246 chrome/browser/ui/views/autofill/autofill_dialog_views.cc : data_(data), data 250 chrome/browser/ui/views/autofill/autofill_dialog_views.cc if (data.HasCheckbox()) { data 253 chrome/browser/ui/views/autofill/autofill_dialog_views.cc checkbox->SetText(data.display_text()); data 257 chrome/browser/ui/views/autofill/autofill_dialog_views.cc data.GetTextColor()); data 259 chrome/browser/ui/views/autofill/autofill_dialog_views.cc data.GetTextColor()); data 260 chrome/browser/ui/views/autofill/autofill_dialog_views.cc checkbox->SetChecked(data.checked()); data 266 chrome/browser/ui/views/autofill/autofill_dialog_views.cc data.display_text(), this)); data 270 chrome/browser/ui/views/autofill/autofill_dialog_views.cc text_style.color = data.GetTextColor(); data 272 chrome/browser/ui/views/autofill/autofill_dialog_views.cc if (data.link_range().is_empty()) { data 273 chrome/browser/ui/views/autofill/autofill_dialog_views.cc label->AddStyleRange(gfx::Range(0, data.display_text().size()), data 276 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Range prefix_range(0, data.link_range().start()); data 281 chrome/browser/ui/views/autofill/autofill_dialog_views.cc data.link_range(), data 284 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Range suffix_range(data.link_range().end(), data 285 chrome/browser/ui/views/autofill/autofill_dialog_views.cc data.display_text().size()); data 295 chrome/browser/ui/views/autofill/autofill_dialog_views.cc if (!data.tooltip_text().empty()) data 296 chrome/browser/ui/views/autofill/autofill_dialog_views.cc AddChildView(new TooltipIcon(data.tooltip_text())); data 299 chrome/browser/ui/views/autofill/autofill_dialog_views.cc views::Background::CreateSolidBackground(data.GetBackgroundColor())); data 301 chrome/browser/ui/views/autofill/autofill_dialog_views.cc 1, 0, 1, 0, data.GetBorderColor())); data 378 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc BookmarkNodeData data; data 795 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc bool BookmarkBarView::CanDrop(const ui::OSExchangeData& data) { data 806 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc return drop_info_->data.Read(data) && drop_info_->data.size() == 1; data 826 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc CalculateDropLocation(event, drop_info_->data, &location); data 907 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const BookmarkNodeData data = drop_info_->data; data 908 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc DCHECK(data.is_valid()); data 910 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc return chrome::DropBookmarks(browser_->profile(), data, parent_node, index); data 1081 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc ui::OSExchangeData* data) { data 1092 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc data); data 1093 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc WriteBookmarkDragData(model_->bookmark_bar_node()->GetChild(i), data); data 1514 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const BookmarkNodeData& data, data 1518 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc DCHECK(data.is_valid()); data 1541 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc int ops = data.GetFirstNode(profile) ? ui::DragDropTypes::DRAG_MOVE : data 1605 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc profile, event, data, parent, parent->child_count()); data 1606 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc if (!location->operation && !data.has_single_url() && data 1607 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc data.GetFirstNode(profile) == parent) { data 1613 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc data, model_->bookmark_bar_node(), location->index); data 1618 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc ui::OSExchangeData* data) { data 1619 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc DCHECK(node && data); data 1621 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc drag_data.Write(browser_->profile(), data); data 176 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h virtual bool CanDrop(const ui::OSExchangeData& data) OVERRIDE; data 229 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h ui::OSExchangeData* data) OVERRIDE; data 336 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h const BookmarkNodeData& data, data 341 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h ui::OSExchangeData* data); data 29 chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.cc ui::OSExchangeData data; data 31 chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.cc drag_data.Write(profile, &data); data 43 chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.cc widget->RunShellDrag(NULL, data, gfx::Point(), operation, source); data 47 chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.cc views::RunShellDrag(view, data, gfx::Point(), operation, source); data 80 chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.cc const BookmarkNodeData& data, data 83 chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.cc if (data.IsFromProfile(profile) && data.size() > 1) data 87 chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.cc if (!IsValidBookmarkDropLocation(profile, data, parent, index)) data 90 chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.cc if (data.GetFirstNode(profile)) data 100 chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.cc const BookmarkNodeData& data, data 108 chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.cc if (!data.is_valid()) data 111 chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.cc if (data.IsFromProfile(profile)) { data 112 chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.cc std::vector<const BookmarkNode*> nodes = data.GetNodes(profile); data 36 chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.h const BookmarkNodeData& data, data 46 chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.h const BookmarkNodeData& data, data 119 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc const ui::OSExchangeData& data) { data 120 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc return menu_delegate_->CanDrop(menu, data); data 155 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc ui::OSExchangeData* data) { data 156 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc return menu_delegate_->WriteDragData(sender, data); data 91 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h const ui::OSExchangeData& data) OVERRIDE; data 105 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h ui::OSExchangeData* data) OVERRIDE; data 166 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc const ui::OSExchangeData& data) { data 170 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc if (!drop_data_.Read(data) || drop_data_.elements.size() != 1 || data 309 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc ui::OSExchangeData* data) { data 310 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc DCHECK(sender && data); data 315 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc drag_data.Write(profile_, data); data 106 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h bool CanDrop(views::MenuItemView* menu, const ui::OSExchangeData& data); data 118 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h void WriteDragData(views::MenuItemView* sender, ui::OSExchangeData* data); data 45 chrome/browser/ui/views/download/download_feedback_dialog_view.cc DialogStatusData* data = data 47 chrome/browser/ui/views/download/download_feedback_dialog_view.cc if (data == NULL) { data 48 chrome/browser/ui/views/download/download_feedback_dialog_view.cc data = new DialogStatusData(); data 49 chrome/browser/ui/views/download/download_feedback_dialog_view.cc profile->SetUserData(kDialogStatusKey, data); data 51 chrome/browser/ui/views/download/download_feedback_dialog_view.cc if (data->currently_shown() == false) { data 52 chrome/browser/ui/views/download/download_feedback_dialog_view.cc data->set_currently_shown(true); data 91 chrome/browser/ui/views/download/download_feedback_dialog_view.cc DialogStatusData* data = data 93 chrome/browser/ui/views/download/download_feedback_dialog_view.cc DCHECK(data); data 94 chrome/browser/ui/views/download/download_feedback_dialog_view.cc data->set_currently_shown(false); data 31 chrome/browser/ui/views/extensions/browser_action_drag_data.cc Profile* profile, ui::OSExchangeData* data) const { data 32 chrome/browser/ui/views/extensions/browser_action_drag_data.cc DCHECK(data); data 35 chrome/browser/ui/views/extensions/browser_action_drag_data.cc data->SetPickledData(GetBrowserActionCustomFormat(), data_pickle); data 38 chrome/browser/ui/views/extensions/browser_action_drag_data.cc bool BrowserActionDragData::Read(const ui::OSExchangeData& data) { data 39 chrome/browser/ui/views/extensions/browser_action_drag_data.cc if (!data.HasCustomFormat(GetBrowserActionCustomFormat())) data 43 chrome/browser/ui/views/extensions/browser_action_drag_data.cc if (!data.GetPickledData(GetBrowserActionCustomFormat(), &drag_data_pickle)) data 32 chrome/browser/ui/views/extensions/browser_action_drag_data.h void Write(Profile* profile, ui::OSExchangeData* data) const; data 35 chrome/browser/ui/views/extensions/browser_action_drag_data.h bool Read(const ui::OSExchangeData& data); data 15 chrome/browser/ui/views/extensions/browser_action_drag_data_unittest.cc ui::OSExchangeData::Provider* CloneProvider(const ui::OSExchangeData& data) { data 17 chrome/browser/ui/views/extensions/browser_action_drag_data_unittest.cc ui::OSExchangeDataProviderWin::GetIDataObject(data)); data 28 chrome/browser/ui/views/extensions/browser_action_drag_data_unittest.cc ui::OSExchangeData data; data 29 chrome/browser/ui/views/extensions/browser_action_drag_data_unittest.cc data.SetURL(GURL("http://www.google.com"), L"Title"); data 33 chrome/browser/ui/views/extensions/browser_action_drag_data_unittest.cc EXPECT_FALSE(drag_data.Read(ui::OSExchangeData(CloneProvider(data)))); data 47 chrome/browser/ui/views/extensions/browser_action_drag_data_unittest.cc ui::OSExchangeData data; data 48 chrome/browser/ui/views/extensions/browser_action_drag_data_unittest.cc data.SetPickledData(BrowserActionDragData::GetBrowserActionCustomFormat(), data 52 chrome/browser/ui/views/extensions/browser_action_drag_data_unittest.cc EXPECT_TRUE(drag_data.Read(ui::OSExchangeData(CloneProvider(data)))); data 189 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc views::MenuItemView* menu, const OSExchangeData& data) { data 191 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc if (!drop_data.Read(data)) data 206 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc if (!drop_data.Read(event.data())) data 221 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc if (!drop_data.Read(event.data())) data 245 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc views::MenuItemView* sender, OSExchangeData* data) { data 251 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc drag_data.Write(owner_->profile(), data); data 70 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.h const ui::OSExchangeData& data) OVERRIDE; data 81 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.h ui::OSExchangeData* data) OVERRIDE; data 104 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc void AddResourceIcon(const gfx::ImageSkia* skia_image, void* data) { data 105 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc views::View* parent = static_cast<views::View*>(data); data 46 chrome/browser/ui/views/frame/browser_root_view.cc bool BrowserRootView::CanDrop(const ui::OSExchangeData& data) { data 51 chrome/browser/ui/views/frame/browser_root_view.cc if (data.HasURL(ui::OSExchangeData::CONVERT_FILENAMES)) data 55 chrome/browser/ui/views/frame/browser_root_view.cc return GetPasteAndGoURL(data, NULL); data 62 chrome/browser/ui/views/frame/browser_root_view.cc MapEventToTabStrip(event, event.data())); data 70 chrome/browser/ui/views/frame/browser_root_view.cc MapEventToTabStrip(event, event.data())); data 100 chrome/browser/ui/views/frame/browser_root_view.cc if (!event.data().GetURLAndTitle( data 104 chrome/browser/ui/views/frame/browser_root_view.cc if (GetPasteAndGoURL(event.data(), &url)) data 175 chrome/browser/ui/views/frame/browser_root_view.cc const ui::OSExchangeData& data) { data 178 chrome/browser/ui/views/frame/browser_root_view.cc return new ui::DropTargetEvent(data, tab_strip_loc, tab_strip_loc, data 186 chrome/browser/ui/views/frame/browser_root_view.cc bool BrowserRootView::GetPasteAndGoURL(const ui::OSExchangeData& data, data 188 chrome/browser/ui/views/frame/browser_root_view.cc if (!data.HasString()) data 192 chrome/browser/ui/views/frame/browser_root_view.cc if (!data.GetString(&text) || text.empty()) data 35 chrome/browser/ui/views/frame/browser_root_view.h virtual bool CanDrop(const ui::OSExchangeData& data) OVERRIDE; data 54 chrome/browser/ui/views/frame/browser_root_view.h const ui::OSExchangeData& data); data 61 chrome/browser/ui/views/frame/browser_root_view.h bool GetPasteAndGoURL(const ui::OSExchangeData& data, GURL* url); data 594 chrome/browser/ui/views/frame/global_menu_bar_x11.cc GPOINTER_TO_INT(g_object_get_data(G_OBJECT(childs->data), kTypeTag)); data 609 chrome/browser/ui/views/frame/global_menu_bar_x11.cc childs->data); data 613 chrome/browser/ui/views/frame/global_menu_bar_x11.cc GPOINTER_TO_INT(g_object_get_data(G_OBJECT(childs->data), kTypeTag)); data 1284 chrome/browser/ui/views/location_bar/location_bar_view.cc OSExchangeData* data) { data 1295 chrome/browser/ui/views/location_bar/location_bar_view.cc data, data 283 chrome/browser/ui/views/location_bar/location_bar_view.h OSExchangeData* data) OVERRIDE; data 876 chrome/browser/ui/views/omnibox/omnibox_view_views.cc BookmarkNodeData data; data 877 chrome/browser/ui/views/omnibox/omnibox_view_views.cc data.ReadFromTuple(url, selected_text); data 878 chrome/browser/ui/views/omnibox/omnibox_view_views.cc data.WriteToClipboard(ui::CLIPBOARD_TYPE_COPY_PASTE); data 896 chrome/browser/ui/views/omnibox/omnibox_view_views.cc void OmniboxViewViews::OnWriteDragData(ui::OSExchangeData* data) { data 903 chrome/browser/ui/views/omnibox/omnibox_view_views.cc data->SetString(selected_text); data 910 chrome/browser/ui/views/omnibox/omnibox_view_views.cc data, GetWidget()); data 911 chrome/browser/ui/views/omnibox/omnibox_view_views.cc data->SetURL(url, title); data 921 chrome/browser/ui/views/omnibox/omnibox_view_views.cc int OmniboxViewViews::OnDrop(const ui::OSExchangeData& data) { data 925 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (data.HasURL(ui::OSExchangeData::CONVERT_FILENAMES)) { data 928 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (data.GetURLAndTitle( data 937 chrome/browser/ui/views/omnibox/omnibox_view_views.cc } else if (data.HasString()) { data 939 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (data.GetString(&text)) { data 143 chrome/browser/ui/views/omnibox/omnibox_view_views.h virtual void OnWriteDragData(ui::OSExchangeData* data) OVERRIDE; data 148 chrome/browser/ui/views/omnibox/omnibox_view_views.h virtual int OnDrop(const ui::OSExchangeData& data) OVERRIDE; data 469 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc TabRendererData data; data 470 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc SetTabRendererDataFromModel(contents, to_model_index, &data, EXISTING_TAB); data 471 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc tabstrip_->MoveTab(from_model_index, to_model_index, data); data 511 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc TabRendererData* data, data 516 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc data->favicon = favicon_tab_helper->GetFavicon().AsImageSkia(); data 517 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc data->network_state = TabContentsNetworkState(contents); data 518 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc data->title = contents->GetTitle(); data 519 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc data->url = contents->GetURL(); data 520 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc data->loading = contents->IsLoading(); data 521 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc data->crashed_status = contents->GetCrashedStatus(); data 522 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc data->incognito = contents->GetBrowserContext()->IsOffTheRecord(); data 523 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc data->mini = model_->IsMiniTab(model_index); data 524 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc data->show_icon = data->mini || favicon_tab_helper->ShouldDisplayFavicon(); data 525 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc data->blocked = model_->IsTabBlocked(model_index); data 526 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc data->app = extensions::TabHelper::FromWebContents(contents)->is_app(); data 527 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc data->media_state = chrome::GetTabMediaStateForContents(contents); data 532 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc TabRendererData data; data 533 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc SetTabRendererDataFromModel(web_contents, model_index, &data, EXISTING_TAB); data 534 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc tabstrip_->SetTabData(model_index, data); data 570 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc TabRendererData data; data 571 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc SetTabRendererDataFromModel(contents, index, &data, NEW_TAB); data 572 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc tabstrip_->AddTabAt(index, data, is_active); data 115 chrome/browser/ui/views/tabs/browser_tab_strip_controller.h TabRendererData* data, data 44 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc void CreateLayout(const CommonTestData& data) { data 45 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc if (!data.start_bounds.empty()) data 46 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc PrepareChildViewsFromString(data.start_bounds); data 48 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc PrepareChildViewsFromString(data.expected_bounds); data 50 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc gfx::Size(data.tab_size, 10), data.tab_padding, data 51 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc data.stacked_offset, 4, &view_model_)); data 52 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc if (data.start_bounds.empty()) { data 53 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc PrepareChildViewsFromString(data.expected_bounds); data 54 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc layout_->Reset(data.initial_x, data.width, data.mini_tab_count, data 55 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc data.active_index); data 57 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc ASSERT_NO_FATAL_FAILURE(SetBoundsFromString(data.start_bounds)); data 58 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc layout_->Reset(data.initial_x, data.width, data.mini_tab_count, data 59 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc data.active_index); data 60 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc ASSERT_NO_FATAL_FAILURE(SetBoundsFromString(data.start_bounds)); data 548 chrome/browser/ui/views/tabs/tab.cc void Tab::SetData(const TabRendererData& data) { data 549 chrome/browser/ui/views/tabs/tab.cc if (data_.Equals(data)) data 553 chrome/browser/ui/views/tabs/tab.cc data_ = data; data 627 chrome/browser/ui/views/tabs/tab.cc if (!data().mini) data 762 chrome/browser/ui/views/tabs/tab.cc if (width() < GetMinimumUnselectedSize().width() && !data().mini) data 865 chrome/browser/ui/views/tabs/tab.cc if (!data().mini || width() >= kMiniTabRendererAsNormalTabWidth) { data 1097 chrome/browser/ui/views/tabs/tab.cc if (!data().mini || width() >= kMiniTabRendererAsNormalTabWidth) data 1108 chrome/browser/ui/views/tabs/tab.cc if (data().media_state != old.media_state || data().title != old.title) data 1111 chrome/browser/ui/views/tabs/tab.cc if (data().blocked == old.blocked) data 1114 chrome/browser/ui/views/tabs/tab.cc if (data().blocked) data 1138 chrome/browser/ui/views/tabs/tab.cc if (!data().mini || width() > kMiniTabRendererAsNormalTabWidth) data 1162 chrome/browser/ui/views/tabs/tab.cc !data().mini) { data 1177 chrome/browser/ui/views/tabs/tab.cc if (data().network_state != TabRendererData::NETWORK_STATE_NONE) { data 1209 chrome/browser/ui/views/tabs/tab.cc data().mini) { data 1442 chrome/browser/ui/views/tabs/tab.cc if (data().network_state != TabRendererData::NETWORK_STATE_NONE) { data 1446 chrome/browser/ui/views/tabs/tab.cc (data().network_state == TabRendererData::NETWORK_STATE_WAITING) ? data 1463 chrome/browser/ui/views/tabs/tab.cc } else if (!data().favicon.isNull()) { data 1465 chrome/browser/ui/views/tabs/tab.cc DrawIconCenter(canvas, data().favicon, 0, data 1466 chrome/browser/ui/views/tabs/tab.cc data().favicon.width(), data 1467 chrome/browser/ui/views/tabs/tab.cc data().favicon.height(), data 1496 chrome/browser/ui/views/tabs/tab.cc base::string16 title = data().title; data 1498 chrome/browser/ui/views/tabs/tab.cc title = data().loading ? data 1584 chrome/browser/ui/views/tabs/tab.cc IconCapacity(), data().mini, IsActive(), data().show_icon, data 1590 chrome/browser/ui/views/tabs/tab.cc IconCapacity(), data().mini, IsActive(), data().show_icon, data 1596 chrome/browser/ui/views/tabs/tab.cc IconCapacity(), data().mini, IsActive()); data 1604 chrome/browser/ui/views/tabs/tab.cc if (!data().mini) { data 1681 chrome/browser/ui/views/tabs/tab.cc } else if (data().incognito) { data 69 chrome/browser/ui/views/tabs/tab.h void SetData(const TabRendererData& data); data 70 chrome/browser/ui/views/tabs/tab.h const TabRendererData& data() const { return data_; } data 1086 chrome/browser/ui/views/tabs/tab_drag_controller.cc tab_data.push_back(drag_data_[i].attached_tab->data()); data 1566 chrome/browser/ui/views/tabs/tab_drag_controller.cc TabDragData* data = &(drag_data_[drag_index]); data 1569 chrome/browser/ui/views/tabs/tab_drag_controller.cc GetModel(attached_tabstrip_)->GetIndexOfWebContents(data->contents); data 1577 chrome/browser/ui/views/tabs/tab_drag_controller.cc data->source_model_index, data->contents, data 1578 chrome/browser/ui/views/tabs/tab_drag_controller.cc (data->pinned ? TabStripModel::ADD_PINNED : 0)); data 1583 chrome/browser/ui/views/tabs/tab_drag_controller.cc index, data->source_model_index, false); data 1590 chrome/browser/ui/views/tabs/tab_drag_controller.cc data->source_model_index, data->contents, data 1591 chrome/browser/ui/views/tabs/tab_drag_controller.cc (data->pinned ? TabStripModel::ADD_PINNED : 0)); data 21 chrome/browser/ui/views/tabs/tab_renderer_data.cc bool TabRendererData::Equals(const TabRendererData& data) { data 23 chrome/browser/ui/views/tabs/tab_renderer_data.cc favicon.BackedBySameObjectAs(data.favicon) && data 24 chrome/browser/ui/views/tabs/tab_renderer_data.cc network_state == data.network_state && data 25 chrome/browser/ui/views/tabs/tab_renderer_data.cc title == data.title && data 26 chrome/browser/ui/views/tabs/tab_renderer_data.cc url == data.url && data 27 chrome/browser/ui/views/tabs/tab_renderer_data.cc loading == data.loading && data 28 chrome/browser/ui/views/tabs/tab_renderer_data.cc crashed_status == data.crashed_status && data 29 chrome/browser/ui/views/tabs/tab_renderer_data.cc incognito == data.incognito && data 30 chrome/browser/ui/views/tabs/tab_renderer_data.cc show_icon == data.show_icon && data 31 chrome/browser/ui/views/tabs/tab_renderer_data.cc mini == data.mini && data 32 chrome/browser/ui/views/tabs/tab_renderer_data.cc blocked == data.blocked && data 33 chrome/browser/ui/views/tabs/tab_renderer_data.cc app == data.app && data 34 chrome/browser/ui/views/tabs/tab_renderer_data.cc media_state == data.media_state; data 39 chrome/browser/ui/views/tabs/tab_renderer_data.h bool Equals(const TabRendererData& data); data 709 chrome/browser/ui/views/tabs/tab_strip.cc const TabRendererData& data, data 720 chrome/browser/ui/views/tabs/tab_strip.cc tab->SetData(data); data 728 chrome/browser/ui/views/tabs/tab_strip.cc if (data.mini) data 750 chrome/browser/ui/views/tabs/tab_strip.cc const TabRendererData& data) { data 753 chrome/browser/ui/views/tabs/tab_strip.cc tab_at(from_model_index)->SetData(data); data 797 chrome/browser/ui/views/tabs/tab_strip.cc void TabStrip::SetTabData(int model_index, const TabRendererData& data) { data 799 chrome/browser/ui/views/tabs/tab_strip.cc bool mini_state_changed = tab->data().mini != data.mini; data 800 chrome/browser/ui/views/tabs/tab_strip.cc tab->SetData(data); data 836 chrome/browser/ui/views/tabs/tab_strip.cc if (model_index == 0 && tab_being_removed->data().mini && data 837 chrome/browser/ui/views/tabs/tab_strip.cc !tab_at(1)->data().mini) { data 882 chrome/browser/ui/views/tabs/tab_strip.cc if (tab->data().mini && !tab->IsActive()) data 1401 chrome/browser/ui/views/tabs/tab_strip.cc if (event.data().GetURLAndTitle( data 1443 chrome/browser/ui/views/tabs/tab_strip.cc !event.data().GetURLAndTitle( data 1521 chrome/browser/ui/views/tabs/tab_strip.cc while (mini_count < tab_count() && tab_at(mini_count)->data().mini) data 1827 chrome/browser/ui/views/tabs/tab_strip.cc const bool is_active_mini = tab_at(active_index)->data().mini; data 1834 chrome/browser/ui/views/tabs/tab_strip.cc if (new_x == max_x && !tab_at(i)->data().mini && !is_active_mini && data 1861 chrome/browser/ui/views/tabs/tab_strip.cc if (new_x == max_x && !tab_at(i)->data().mini && data 1924 chrome/browser/ui/views/tabs/tab_strip.cc if (i > 0 && tab->data().mini != tabs[i - 1]->data().mini) data 1938 chrome/browser/ui/views/tabs/tab_strip.cc if (i > 0 && tab->data().mini != tabs[i - 1]->data().mini) data 2513 chrome/browser/ui/views/tabs/tab_strip.cc DCHECK(!tab->data().mini); data 2543 chrome/browser/ui/views/tabs/tab_strip.cc for (; index < tab_count() && tab_at(index)->data().mini; ++index) { data 2593 chrome/browser/ui/views/tabs/tab_strip.cc if (tab_closing->data().mini && model_index + 1 < tab_count() && data 2594 chrome/browser/ui/views/tabs/tab_strip.cc !tab_at(model_index + 1)->data().mini) { data 87 chrome/browser/ui/views/tabs/tab_strip.h void AddTabAt(int model_index, const TabRendererData& data, bool is_active); data 92 chrome/browser/ui/views/tabs/tab_strip.h const TabRendererData& data); data 98 chrome/browser/ui/views/tabs/tab_strip.h void SetTabData(int model_index, const TabRendererData& data); data 231 chrome/browser/ui/views/tabs/tab_unittest.cc TabRendererData data; data 232 chrome/browser/ui/views/tabs/tab_unittest.cc data.favicon = gfx::ImageSkia::CreateFrom1xBitmap(bitmap); data 247 chrome/browser/ui/views/tabs/tab_unittest.cc data.mini = !!is_mini_tab; data 249 chrome/browser/ui/views/tabs/tab_unittest.cc data.media_state = media_state; data 250 chrome/browser/ui/views/tabs/tab_unittest.cc tab.SetData(data); data 277 chrome/browser/ui/views/toolbar/browser_actions_container.cc bool BrowserActionsContainer::CanDrop(const OSExchangeData& data) { data 279 chrome/browser/ui/views/toolbar/browser_actions_container.cc return drop_data.Read(data) ? drop_data.IsFromProfile(profile_) : false; data 353 chrome/browser/ui/views/toolbar/browser_actions_container.cc BrowserActionDragData data; data 354 chrome/browser/ui/views/toolbar/browser_actions_container.cc if (!data.Read(event.data())) data 358 chrome/browser/ui/views/toolbar/browser_actions_container.cc DCHECK_EQ(browser_action_views_[data.index()]->button()->extension()->id(), data 359 chrome/browser/ui/views/toolbar/browser_actions_container.cc data.id()); data 379 chrome/browser/ui/views/toolbar/browser_actions_container.cc if (i > data.index()) data 386 chrome/browser/ui/views/toolbar/browser_actions_container.cc browser_action_views_[data.index()]->button()->extension(), i); data 411 chrome/browser/ui/views/toolbar/browser_actions_container.cc OSExchangeData* data) { data 412 chrome/browser/ui/views/toolbar/browser_actions_container.cc DCHECK(data); data 421 chrome/browser/ui/views/toolbar/browser_actions_container.cc data); data 426 chrome/browser/ui/views/toolbar/browser_actions_container.cc drag_data.Write(profile_, data); data 180 chrome/browser/ui/views/toolbar/browser_actions_container.h virtual bool CanDrop(const ui::OSExchangeData& data) OVERRIDE; data 194 chrome/browser/ui/views/toolbar/browser_actions_container.h ui::OSExchangeData* data) OVERRIDE; data 156 chrome/browser/ui/views/toolbar/home_button.cc bool HomeButton::CanDrop(const OSExchangeData& data) { data 157 chrome/browser/ui/views/toolbar/home_button.cc return data.HasURL(ui::OSExchangeData::CONVERT_FILENAMES); data 168 chrome/browser/ui/views/toolbar/home_button.cc if (event.data().GetURLAndTitle( data 23 chrome/browser/ui/views/toolbar/home_button.h virtual bool CanDrop(const OSExchangeData& data) OVERRIDE; data 349 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc OSExchangeData* data) { data 359 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc data, data 78 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.h OSExchangeData* data) OVERRIDE; data 1040 chrome/browser/ui/views/toolbar/wrench_menu.cc const ui::OSExchangeData& data) { data 1043 chrome/browser/ui/views/toolbar/wrench_menu.cc bookmark_menu_delegate_->CanDrop(menu, data); data 1081 chrome/browser/ui/views/toolbar/wrench_menu.cc ui::OSExchangeData* data) { data 1083 chrome/browser/ui/views/toolbar/wrench_menu.cc return bookmark_menu_delegate_->WriteDragData(sender, data); data 75 chrome/browser/ui/views/toolbar/wrench_menu.h const ui::OSExchangeData& data) OVERRIDE; data 88 chrome/browser/ui/views/toolbar/wrench_menu.h ui::OSExchangeData* data) OVERRIDE; data 134 chrome/browser/ui/webui/about_ui.cc void BindProcessMetrics(base::DictionaryValue* data, data 550 chrome/browser/ui/webui/about_ui.cc std::string data; data 551 chrome/browser/ui/webui/about_ui.cc AppendHeader(&data, 0, "About DNS"); data 552 chrome/browser/ui/webui/about_ui.cc AppendBody(&data); data 553 chrome/browser/ui/webui/about_ui.cc chrome_browser_net::Predictor::PredictorGetHtmlInfo(predictor, &data); data 554 chrome/browser/ui/webui/about_ui.cc AppendFooter(&data); data 558 chrome/browser/ui/webui/about_ui.cc base::Bind(&AboutDnsHandler::FinishOnUIThread, this, data)); data 561 chrome/browser/ui/webui/about_ui.cc void FinishOnUIThread(const std::string& data) { data 563 chrome/browser/ui/webui/about_ui.cc std::string data_copy(data); data 702 chrome/browser/ui/webui/about_ui.cc std::string data; data 707 chrome/browser/ui/webui/about_ui.cc &data); data 709 chrome/browser/ui/webui/about_ui.cc data = "var templateData = " + data + ";"; data 712 chrome/browser/ui/webui/about_ui.cc data = "<pre>"; data 713 chrome/browser/ui/webui/about_ui.cc data.append(base::StringPrintf("Counter changes in the last %ldms\n", data 735 chrome/browser/ui/webui/about_ui.cc data.append(name); data 736 chrome/browser/ui/webui/about_ui.cc data.append(":"); data 737 chrome/browser/ui/webui/about_ui.cc data.append(base::IntToString(delta)); data 738 chrome/browser/ui/webui/about_ui.cc data.append("\n"); data 741 chrome/browser/ui/webui/about_ui.cc data.append("</pre>"); data 744 chrome/browser/ui/webui/about_ui.cc data = ResourceBundle::GetSharedInstance().GetRawDataResource( data 762 chrome/browser/ui/webui/about_ui.cc return data; data 767 chrome/browser/ui/webui/about_ui.cc std::string data; data 768 chrome/browser/ui/webui/about_ui.cc AppendHeader(&data, 0, data 770 chrome/browser/ui/webui/about_ui.cc data.append("<style>body { max-width: 70ex; padding: 2ex 5ex; }</style>"); data 771 chrome/browser/ui/webui/about_ui.cc AppendBody(&data); data 773 chrome/browser/ui/webui/about_ui.cc data.append(l10n_util::GetStringFUTF8( data 777 chrome/browser/ui/webui/about_ui.cc AppendFooter(&data); data 778 chrome/browser/ui/webui/about_ui.cc return data; data 781 chrome/browser/ui/webui/about_ui.cc void AboutSandboxRow(std::string* data, const std::string& prefix, int name_id, data 783 chrome/browser/ui/webui/about_ui.cc data->append("<tr><td>"); data 784 chrome/browser/ui/webui/about_ui.cc data->append(prefix); data 785 chrome/browser/ui/webui/about_ui.cc data->append(l10n_util::GetStringUTF8(name_id)); data 787 chrome/browser/ui/webui/about_ui.cc data->append("</td><td style='color: green;'>"); data 788 chrome/browser/ui/webui/about_ui.cc data->append( data 791 chrome/browser/ui/webui/about_ui.cc data->append("</td><td style='color: red;'>"); data 792 chrome/browser/ui/webui/about_ui.cc data->append( data 795 chrome/browser/ui/webui/about_ui.cc data->append("</td></tr>"); data 799 chrome/browser/ui/webui/about_ui.cc std::string data; data 800 chrome/browser/ui/webui/about_ui.cc AppendHeader(&data, 0, l10n_util::GetStringUTF8(IDS_ABOUT_SANDBOX_TITLE)); data 801 chrome/browser/ui/webui/about_ui.cc AppendBody(&data); data 802 chrome/browser/ui/webui/about_ui.cc data.append("<h1>"); data 803 chrome/browser/ui/webui/about_ui.cc data.append(l10n_util::GetStringUTF8(IDS_ABOUT_SANDBOX_TITLE)); data 804 chrome/browser/ui/webui/about_ui.cc data.append("</h1>"); data 809 chrome/browser/ui/webui/about_ui.cc data.append("<table>"); data 811 chrome/browser/ui/webui/about_ui.cc AboutSandboxRow(&data, data 815 chrome/browser/ui/webui/about_ui.cc AboutSandboxRow(&data, " ", IDS_ABOUT_SANDBOX_PID_NAMESPACES, data 817 chrome/browser/ui/webui/about_ui.cc AboutSandboxRow(&data, " ", IDS_ABOUT_SANDBOX_NET_NAMESPACES, data 819 chrome/browser/ui/webui/about_ui.cc AboutSandboxRow(&data, data 823 chrome/browser/ui/webui/about_ui.cc AboutSandboxRow(&data, data 828 chrome/browser/ui/webui/about_ui.cc data.append("</table>"); data 839 chrome/browser/ui/webui/about_ui.cc data.append("<p style='color: green'>"); data 840 chrome/browser/ui/webui/about_ui.cc data.append(l10n_util::GetStringUTF8(IDS_ABOUT_SANDBOX_OK)); data 842 chrome/browser/ui/webui/about_ui.cc data.append("<p style='color: red'>"); data 843 chrome/browser/ui/webui/about_ui.cc data.append(l10n_util::GetStringUTF8(IDS_ABOUT_SANDBOX_BAD)); data 845 chrome/browser/ui/webui/about_ui.cc data.append("</p>"); data 847 chrome/browser/ui/webui/about_ui.cc AppendFooter(&data); data 848 chrome/browser/ui/webui/about_ui.cc return data; data 857 chrome/browser/ui/webui/about_ui.cc void AboutMemoryHandler::BindProcessMetrics(base::DictionaryValue* data, data 859 chrome/browser/ui/webui/about_ui.cc DCHECK(data && info); data 862 chrome/browser/ui/webui/about_ui.cc data->SetInteger("ws_priv", static_cast<int>(info->working_set.priv)); data 863 chrome/browser/ui/webui/about_ui.cc data->SetInteger("ws_shareable", data 865 chrome/browser/ui/webui/about_ui.cc data->SetInteger("ws_shared", static_cast<int>(info->working_set.shared)); data 866 chrome/browser/ui/webui/about_ui.cc data->SetInteger("comm_priv", static_cast<int>(info->committed.priv)); data 867 chrome/browser/ui/webui/about_ui.cc data->SetInteger("comm_map", static_cast<int>(info->committed.mapped)); data 868 chrome/browser/ui/webui/about_ui.cc data->SetInteger("comm_image", static_cast<int>(info->committed.image)); data 869 chrome/browser/ui/webui/about_ui.cc data->SetInteger("pid", info->pid); data 870 chrome/browser/ui/webui/about_ui.cc data->SetString("version", info->version); data 871 chrome/browser/ui/webui/about_ui.cc data->SetInteger("processes", info->num_processes); data 976 chrome/browser/ui/webui/about_ui.cc std::string data; data 977 chrome/browser/ui/webui/about_ui.cc webui::AppendJsonJS(&load_time_data, &data); data 978 chrome/browser/ui/webui/about_ui.cc callback_.Run(base::RefCountedString::TakeString(&data)); data 40 chrome/browser/ui/webui/app_list/start_page_ui.cc scoped_refptr<base::RefCountedString> data(new base::RefCountedString()); data 41 chrome/browser/ui/webui/app_list/start_page_ui.cc base::ReadFileToString(base_dir.AppendASCII(path), &(data->data())); data 42 chrome/browser/ui/webui/app_list/start_page_ui.cc callback.Run(data.get()); data 97 chrome/browser/ui/webui/certificate_viewer_webui.cc std::string data; data 189 chrome/browser/ui/webui/certificate_viewer_webui.cc base::JSONWriter::Write(&cert_info, &data); data 191 chrome/browser/ui/webui/certificate_viewer_webui.cc return data; data 89 chrome/browser/ui/webui/chromeos/login/app_launch_splash_screen_handler.cc base::DictionaryValue data; data 90 chrome/browser/ui/webui/chromeos/login/app_launch_splash_screen_handler.cc data.SetBoolean("shortcutEnabled", data 96 chrome/browser/ui/webui/chromeos/login/app_launch_splash_screen_handler.cc data.Set("appInfo", app_info); data 99 chrome/browser/ui/webui/chromeos/login/app_launch_splash_screen_handler.cc ShowScreen(OobeUI::kScreenAppLaunchSplash, &data); data 31 chrome/browser/ui/webui/chromeos/login/authenticated_user_email_retriever.cc const std::string& data) { data 33 chrome/browser/ui/webui/chromeos/login/authenticated_user_email_retriever.cc gaia::ParseListAccountsData(data, &accounts); data 41 chrome/browser/ui/webui/chromeos/login/authenticated_user_email_retriever.h virtual void OnListAccountsSuccess(const std::string& data) OVERRIDE; data 96 chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc const base::DictionaryValue* data) { data 101 chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc if (data) data 102 chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc screen_params.SetWithoutPathExpansion("data", data->DeepCopy()); data 208 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h void ShowScreen(const char* screen, const base::DictionaryValue* data); data 212 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); data 230 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc data->Set("managers", users_list.release()); data 231 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc ShowScreen(OobeUI::kScreenManagedUserCreationFlow, data.get()); data 69 chrome/browser/ui/webui/chromeos/network_ui.cc base::DictionaryValue data; data 70 chrome/browser/ui/webui/chromeos/network_ui.cc data.SetString(kNetworkEventLogTag, GetNetworkEventLog()); data 74 chrome/browser/ui/webui/chromeos/network_ui.cc data.Set(kNetworkStateTag, networkState); data 78 chrome/browser/ui/webui/chromeos/network_ui.cc data.Set(kFavoriteStateTag, favoriteState); data 80 chrome/browser/ui/webui/chromeos/network_ui.cc RespondToPage(data); data 647 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::DictionaryValue* record_data = record->data().DeepCopy(); data 655 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::DictionaryValue data; data 656 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc GetAdapterProperties(&data); data 657 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc web_ui()->CallJavascriptFunction(kOnNfcAdapterInfoChangedFunction, data); data 661 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::DictionaryValue data; data 662 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc GetPeerProperties(&data); data 663 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc web_ui()->CallJavascriptFunction(kOnNfcPeerDeviceInfoChangedFunction, data); data 667 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::DictionaryValue data; data 668 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc GetTagProperties(&data); data 669 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc web_ui()->CallJavascriptFunction(kOnNfcTagInfoChangedFunction, data); data 53 chrome/browser/ui/webui/chromeos/power_ui.cc const std::vector<CpuDataCollector::StateOccupancySampleDeque>& data, data 141 chrome/browser/ui/webui/chromeos/power_ui.cc void PowerMessageHandler::GetJsSystemResumedData(base::ListValue *data) { data 142 chrome/browser/ui/webui/chromeos/power_ui.cc DCHECK(data); data 153 chrome/browser/ui/webui/chromeos/power_ui.cc data->Append(element.release()); data 158 chrome/browser/ui/webui/chromeos/power_ui.cc const std::vector<CpuDataCollector::StateOccupancySampleDeque>& data, data 161 chrome/browser/ui/webui/chromeos/power_ui.cc for (unsigned int cpu = 0; cpu < data.size(); ++cpu) { data 162 chrome/browser/ui/webui/chromeos/power_ui.cc const CpuDataCollector::StateOccupancySampleDeque& sample_deque = data[cpu]; data 42 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc std::string data; data 43 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc base::ReadFileToString(path, &data); data 44 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc return data; data 46 chrome/browser/ui/webui/extensions/extension_icon_source.cc gfx::PNGCodec::EncodeBGRASkBitmap(*image, false, &image_bytes->data()); data 55 chrome/browser/ui/webui/extensions/extension_icon_source.cc SkBitmap* ToBitmap(const unsigned char* data, size_t size) { data 57 chrome/browser/ui/webui/extensions/extension_icon_source.cc bool success = gfx::PNGCodec::Decode(data, size, decoded); data 103 chrome/browser/ui/webui/extensions/extension_icon_source.cc const unsigned char* data = data 104 chrome/browser/ui/webui/extensions/extension_icon_source.cc reinterpret_cast<const unsigned char*>(contents.data()); data 105 chrome/browser/ui/webui/extensions/extension_icon_source.cc return ToBitmap(data, contents.length()); data 108 chrome/browser/ui/webui/fileicon_source.cc false, &icon_data->data()); data 157 chrome/browser/ui/webui/fileicon_source.cc &icon_data->data()); data 131 chrome/browser/ui/webui/instant_ui.cc base::DictionaryValue data; data 140 chrome/browser/ui/webui/instant_ui.cc data.Set("entries", entries); data 142 chrome/browser/ui/webui/instant_ui.cc web_ui()->CallJavascriptFunction("instantConfig.getDebugInfoResult", data); data 159 chrome/browser/ui/webui/ntp/android/ntp_resource_cache_android.cc full_html.assign(new_tab_html.data(), pos); data 162 chrome/browser/ui/webui/ntp/android/ntp_resource_cache_android.cc full_html.append(new_tab_html.data() + after_offset, data 166 chrome/browser/ui/webui/ntp/android/ntp_resource_cache_android.cc full_html.assign(new_tab_html.data(), new_tab_html.size()); data 748 chrome/browser/ui/webui/ntp/app_launcher_handler.cc icon.data = image_result.image.AsBitmap(); data 749 chrome/browser/ui/webui/ntp/app_launcher_handler.cc icon.width = icon.data.width(); data 750 chrome/browser/ui/webui/ntp/app_launcher_handler.cc icon.height = icon.data.height(); data 227 chrome/browser/ui/webui/ntp/most_visited_handler.cc const history::MostVisitedURLList& data) { data 230 chrome/browser/ui/webui/ntp/most_visited_handler.cc history::MostVisitedURLList top_sites(data); data 250 chrome/browser/ui/webui/ntp/most_visited_handler.cc const history::MostVisitedURLList& data) { data 251 chrome/browser/ui/webui/ntp/most_visited_handler.cc SetPagesValueFromTopSites(data); data 82 chrome/browser/ui/webui/ntp/most_visited_handler.h void SetPagesValueFromTopSites(const history::MostVisitedURLList& data); data 85 chrome/browser/ui/webui/ntp/most_visited_handler.h void OnMostVisitedUrlsAvailable(const history::MostVisitedURLList& data); data 87 chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc const history::FilteredURLList& data) { data 89 chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc for (size_t i = 0; i < data.size(); i++) { data 90 chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc const history::FilteredURL& suggested_url = data[i]; data 41 chrome/browser/ui/webui/ntp/suggestions_source_top_sites.h const history::FilteredURLList& data); data 130 chrome/browser/ui/webui/ntp/thumbnail_list_source.cc scoped_refptr<base::RefCountedMemory> data; data 131 chrome/browser/ui/webui/ntp/thumbnail_list_source.cc if (thumbnail_service_->GetPageThumbnail(mvurl_list[i].url, false, &data)) { data 132 chrome/browser/ui/webui/ntp/thumbnail_list_source.cc base::Base64Encode(std::string(data->front_as<char>(), data->size()), data 42 chrome/browser/ui/webui/ntp/thumbnail_source.cc scoped_refptr<base::RefCountedMemory> data; data 44 chrome/browser/ui/webui/ntp/thumbnail_source.cc &data)) { data 46 chrome/browser/ui/webui/ntp/thumbnail_source.cc callback.Run(data.get()); data 224 chrome/browser/ui/webui/options/certificate_manager_handler.cc const std::string& data, data 236 chrome/browser/ui/webui/options/certificate_manager_handler.cc std::string* data); data 240 chrome/browser/ui/webui/options/certificate_manager_handler.cc const std::string& data, data 251 chrome/browser/ui/webui/options/certificate_manager_handler.cc std::string* data = new std::string(); data 257 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&FileAccessProvider::DoRead, this, path, saved_errno, data), data 258 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(callback, base::Owned(saved_errno), base::Owned(data))); data 263 chrome/browser/ui/webui/options/certificate_manager_handler.cc const std::string& data, data 277 chrome/browser/ui/webui/options/certificate_manager_handler.cc data, data 286 chrome/browser/ui/webui/options/certificate_manager_handler.cc std::string* data) { data 287 chrome/browser/ui/webui/options/certificate_manager_handler.cc bool success = base::ReadFileToString(path, data); data 292 chrome/browser/ui/webui/options/certificate_manager_handler.cc const std::string& data, data 295 chrome/browser/ui/webui/options/certificate_manager_handler.cc *bytes_written = base::WriteFile(path, data.data(), data.size()); data 746 chrome/browser/ui/webui/options/certificate_manager_handler.cc const int* read_errno, const std::string* data) { data 757 chrome/browser/ui/webui/options/certificate_manager_handler.cc file_data_ = *data; data 855 chrome/browser/ui/webui/options/certificate_manager_handler.cc const std::string* data) { data 866 chrome/browser/ui/webui/options/certificate_manager_handler.cc data->data(), data->size(), net::X509Certificate::FORMAT_AUTO); data 914 chrome/browser/ui/webui/options/certificate_manager_handler.cc const std::string* data) { data 925 chrome/browser/ui/webui/options/certificate_manager_handler.cc data->data(), data->size(), net::X509Certificate::FORMAT_AUTO); data 100 chrome/browser/ui/webui/options/certificate_manager_handler.h void ImportPersonalFileRead(const int* read_errno, const std::string* data); data 111 chrome/browser/ui/webui/options/certificate_manager_handler.h void ImportServerFileRead(const int* read_errno, const std::string* data); data 123 chrome/browser/ui/webui/options/certificate_manager_handler.h void ImportCAFileRead(const int* read_errno, const std::string* data); data 270 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc for (base::DictionaryValue::Iterator data(*(*event)->data()); data 271 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc !data.IsAtEnd(); data 272 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc data.Advance()) { data 278 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc if (data.key() == "eventType") data 280 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc else if (data.key() == "time") { data 284 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc if (!data.value().GetAsDouble(&time)) { data 297 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc GetLocalizedStringFromEventProperty(data.key())); data 299 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc data.value().DeepCopy()); data 303 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc localized_event->SetWithoutPathExpansion(data.key(), value); data 136 chrome/browser/ui/webui/policy_ui.cc base::string16 FormatAssociationState(const em::PolicyData* data) { data 137 chrome/browser/ui/webui/policy_ui.cc if (data) { data 138 chrome/browser/ui/webui/policy_ui.cc switch (data->state()) { data 148 chrome/browser/ui/webui/policy_ui.cc NOTREACHED() << "Unknown state " << data->state(); data 767 chrome/browser/ui/webui/print_preview/print_preview_handler.cc scoped_refptr<base::RefCountedBytes> data; data 769 chrome/browser/ui/webui/print_preview/print_preview_handler.cc if (!GetPreviewDataAndTitle(&data, &title)) { data 778 chrome/browser/ui/webui/print_preview/print_preview_handler.cc SendCloudPrintJob(data.get()); data 931 chrome/browser/ui/webui/print_preview/print_preview_handler.cc scoped_refptr<base::RefCountedBytes> data; data 933 chrome/browser/ui/webui/print_preview/print_preview_handler.cc if (!GetPreviewDataAndTitle(&data, &title)) { data 943 chrome/browser/ui/webui/print_preview/print_preview_handler.cc data.get(), data 1187 chrome/browser/ui/webui/print_preview/print_preview_handler.cc void PrintPreviewHandler::SendCloudPrintJob(const base::RefCountedBytes* data) { data 1189 chrome/browser/ui/webui/print_preview/print_preview_handler.cc std::string raw_data(reinterpret_cast<const char*>(data->front()), data 1190 chrome/browser/ui/webui/print_preview/print_preview_handler.cc data->size()); data 1277 chrome/browser/ui/webui/print_preview/print_preview_handler.cc scoped_refptr<base::RefCountedBytes> data; data 1279 chrome/browser/ui/webui/print_preview/print_preview_handler.cc if (!GetPreviewDataAndTitle(&data, &title)) { data 1284 chrome/browser/ui/webui/print_preview/print_preview_handler.cc metafile->InitFromData(static_cast<const void*>(data->front()), data->size()); data 1313 chrome/browser/ui/webui/print_preview/print_preview_handler.cc scoped_refptr<base::RefCountedBytes>* data, data 1327 chrome/browser/ui/webui/print_preview/print_preview_handler.cc *data = tmp_data; data 1449 chrome/browser/ui/webui/print_preview/print_preview_handler.cc scoped_refptr<base::RefCountedBytes> data; data 1452 chrome/browser/ui/webui/print_preview/print_preview_handler.cc if (!GetPreviewDataAndTitle(&data, &title)) { data 1460 chrome/browser/ui/webui/print_preview/print_preview_handler.cc privet_local_print_operation_->SetData(data); data 214 chrome/browser/ui/webui/print_preview/print_preview_handler.h void SendCloudPrintJob(const base::RefCountedBytes* data); data 240 chrome/browser/ui/webui/print_preview/print_preview_handler.h bool GetPreviewDataAndTitle(scoped_refptr<base::RefCountedBytes>* data, data 129 chrome/browser/ui/webui/print_preview/print_preview_ui.cc scoped_refptr<base::RefCountedBytes> data; data 139 chrome/browser/ui/webui/print_preview/print_preview_ui.cc preview_ui_id, page_index, &data); data 141 chrome/browser/ui/webui/print_preview/print_preview_ui.cc if (data.get()) { data 142 chrome/browser/ui/webui/print_preview/print_preview_ui.cc callback.Run(data.get()); data 388 chrome/browser/ui/webui/print_preview/print_preview_ui.cc scoped_refptr<base::RefCountedBytes>* data) { data 389 chrome/browser/ui/webui/print_preview/print_preview_ui.cc print_preview_data_service()->GetDataEntry(id_, index, data); data 394 chrome/browser/ui/webui/print_preview/print_preview_ui.cc const base::RefCountedBytes* data) { data 395 chrome/browser/ui/webui/print_preview/print_preview_ui.cc print_preview_data_service()->SetDataEntry(id_, index, data); data 41 chrome/browser/ui/webui/print_preview/print_preview_ui.h scoped_refptr<base::RefCountedBytes>* data); data 47 chrome/browser/ui/webui/print_preview/print_preview_ui.h const base::RefCountedBytes* data); data 87 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc scoped_refptr<base::RefCountedBytes> data; data 90 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc &data); data 91 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc EXPECT_EQ(NULL, data.get()); data 100 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc &data); data 101 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc EXPECT_EQ(dummy_data->size(), data->size()); data 102 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc EXPECT_EQ(dummy_data.get(), data.get()); data 114 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc &data); data 115 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc EXPECT_EQ(NULL, data.get()); data 140 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc scoped_refptr<base::RefCountedBytes> data; data 141 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc preview_ui->GetPrintPreviewDataForIndex(printing::FIRST_PAGE_INDEX, &data); data 142 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc EXPECT_EQ(NULL, data.get()); data 148 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc preview_ui->GetPrintPreviewDataForIndex(printing::FIRST_PAGE_INDEX, &data); data 149 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc EXPECT_EQ(dummy_data->size(), data->size()); data 150 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc EXPECT_EQ(dummy_data.get(), data.get()); data 156 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc &data); data 157 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc EXPECT_EQ(dummy_data->size(), data->size()); data 158 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc EXPECT_EQ(dummy_data.get(), data.get()); data 162 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc &data); data 163 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc EXPECT_EQ(NULL, data.get()); data 168 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc &data); data 169 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc EXPECT_EQ(dummy_data->size(), data->size()); data 170 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc EXPECT_EQ(dummy_data.get(), data.get()); data 174 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc preview_ui->GetPrintPreviewDataForIndex(printing::FIRST_PAGE_INDEX, &data); data 175 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc EXPECT_EQ(NULL, data.get()); data 26 chrome/browser/ui/webui/print_preview/sticky_settings.cc void StickySettings::StoreAppState(const std::string& data) { data 27 chrome/browser/ui/webui/print_preview/sticky_settings.cc printer_app_state_.reset(new std::string(data)); data 91 chrome/browser/ui/webui/profiler_ui.cc response->data() = file_contents; data 42 chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc void QuotaInternalsHandler::ReportGlobalInfo(const GlobalStorageInfo& data) { data 43 chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc scoped_ptr<base::Value> value(data.NewValue()); data 39 chrome/browser/ui/webui/quota_internals/quota_internals_handler.h void ReportGlobalInfo(const GlobalStorageInfo& data); data 52 chrome/browser/ui/webui/quota_internals/quota_internals_proxy.h void ReportGlobalInfo(const GlobalStorageInfo& data); data 191 chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.cc std::string data; data 198 chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.cc base::JSONWriter::Write(&dict, &data); data 199 chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.cc return data; data 338 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const TestWebUI::CallData& data = web_ui_.call_data()[0]; data 339 chrome/browser/ui/webui/sync_setup_handler_unittest.cc EXPECT_EQ("SyncSetupOverlay.showSyncSetupPage", data.function_name); data 341 chrome/browser/ui/webui/sync_setup_handler_unittest.cc ASSERT_TRUE(data.arg1->GetAsString(&page)); data 347 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const TestWebUI::CallData& data = web_ui_.call_data()[0]; data 348 chrome/browser/ui/webui/sync_setup_handler_unittest.cc EXPECT_EQ("SyncSetupOverlay.showSyncSetupPage", data.function_name); data 350 chrome/browser/ui/webui/sync_setup_handler_unittest.cc ASSERT_TRUE(data.arg1->GetAsString(&page)); data 357 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const TestWebUI::CallData& data = web_ui_.call_data()[0]; data 358 chrome/browser/ui/webui/sync_setup_handler_unittest.cc EXPECT_EQ("SyncSetupOverlay.showSyncSetupPage", data.function_name); data 361 chrome/browser/ui/webui/sync_setup_handler_unittest.cc ASSERT_TRUE(data.arg1->GetAsString(&page)); data 435 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const TestWebUI::CallData& data = web_ui_.call_data()[0]; data 436 chrome/browser/ui/webui/sync_setup_handler_unittest.cc EXPECT_EQ("SyncSetupOverlay.showSyncSetupPage", data.function_name); data 566 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const TestWebUI::CallData& data = web_ui_.call_data()[0]; data 567 chrome/browser/ui/webui/sync_setup_handler_unittest.cc EXPECT_EQ("SyncSetupOverlay.showSyncSetupPage", data.function_name); data 569 chrome/browser/ui/webui/sync_setup_handler_unittest.cc ASSERT_TRUE(data.arg1->GetAsString(&page)); data 663 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const TestWebUI::CallData& data = web_ui_.call_data()[0]; data 664 chrome/browser/ui/webui/sync_setup_handler_unittest.cc EXPECT_EQ("SyncSetupOverlay.showSyncSetupPage", data.function_name); data 790 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const TestWebUI::CallData& data = web_ui_.call_data()[0]; data 792 chrome/browser/ui/webui/sync_setup_handler_unittest.cc ASSERT_TRUE(data.arg2->GetAsDictionary(&dictionary)); data 915 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const TestWebUI::CallData& data = web_ui_.call_data()[0]; data 917 chrome/browser/ui/webui/sync_setup_handler_unittest.cc ASSERT_TRUE(data.arg2->GetAsDictionary(&dictionary)); data 949 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const TestWebUI::CallData& data = web_ui_.call_data()[0]; data 951 chrome/browser/ui/webui/sync_setup_handler_unittest.cc ASSERT_TRUE(data.arg2->GetAsDictionary(&dictionary)); data 979 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const TestWebUI::CallData& data = web_ui_.call_data()[0]; data 981 chrome/browser/ui/webui/sync_setup_handler_unittest.cc ASSERT_TRUE(data.arg2->GetAsDictionary(&dictionary)); data 1001 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const TestWebUI::CallData& data = web_ui_.call_data()[0]; data 1003 chrome/browser/ui/webui/sync_setup_handler_unittest.cc ASSERT_TRUE(data.arg2->GetAsDictionary(&dictionary)); data 1023 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const TestWebUI::CallData& data = web_ui_.call_data()[0]; data 1025 chrome/browser/ui/webui/sync_setup_handler_unittest.cc ASSERT_TRUE(data.arg2->GetAsDictionary(&dictionary)); data 1045 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const TestWebUI::CallData& data = web_ui_.call_data()[0]; data 1047 chrome/browser/ui/webui/sync_setup_handler_unittest.cc ASSERT_TRUE(data.arg2->GetAsDictionary(&dictionary)); data 47 chrome/browser/ui/webui/theme_source_unittest.cc void SendResponse(base::RefCountedMemory* data) { data 48 chrome/browser/ui/webui/theme_source_unittest.cc result_data_size_ = data ? data->size() : 0; data 241 chrome/browser/usb/usb_device_handle.cc memcpy(resized_buffer->data(), data 242 chrome/browser/usb/usb_device_handle.cc buffer->data() + LIBUSB_CONTROL_SETUP_SIZE, data 264 chrome/browser/usb/usb_device_handle.cc memmove(buffer->data() + actual_length, data 265 chrome/browser/usb/usb_device_handle.cc buffer->data() + packet_buffer_start, data 410 chrome/browser/usb/usb_device_handle.cc memcpy(resized_buffer->data() + LIBUSB_CONTROL_SETUP_SIZE, buffer->data(), data 416 chrome/browser/usb/usb_device_handle.cc libusb_fill_control_setup(reinterpret_cast<uint8*>(resized_buffer->data()), data 421 chrome/browser/usb/usb_device_handle.cc reinterpret_cast<uint8*>(resized_buffer->data()), data 450 chrome/browser/usb/usb_device_handle.cc reinterpret_cast<uint8*>(buffer->data()), length, data 477 chrome/browser/usb/usb_device_handle.cc reinterpret_cast<uint8*>(buffer->data()), length, data 508 chrome/browser/usb/usb_device_handle.cc reinterpret_cast<uint8*>(buffer->data()), length, packets, data 145 chrome/browser/web_resource/web_resource_service.cc std::string data; data 146 chrome/browser/web_resource/web_resource_service.cc source->GetResponseAsString(&data); data 150 chrome/browser/web_resource/web_resource_service.cc json_unpacker_->Start(data); data 322 chrome/browser/webdata/autocomplete_syncable_service.cc const syncer::SyncData& data, data 325 chrome/browser/webdata/autocomplete_syncable_service.cc const sync_pb::EntitySpecifics& specifics = data.GetSpecifics(); data 126 chrome/browser/webdata/autocomplete_syncable_service.h void CreateOrUpdateEntry(const syncer::SyncData& data, data 92 chrome/browser/webdata/keyword_table.cc void BindURLToStatement(const TemplateURLData& data, data 101 chrome/browser/webdata/keyword_table.cc for (size_t i = 0; i < data.alternate_urls.size(); ++i) data 102 chrome/browser/webdata/keyword_table.cc alternate_urls_value.AppendString(data.alternate_urls[i]); data 106 chrome/browser/webdata/keyword_table.cc s->BindInt64(id_column, data.id); data 107 chrome/browser/webdata/keyword_table.cc s->BindString16(starting_column, data.short_name); data 108 chrome/browser/webdata/keyword_table.cc s->BindString16(starting_column + 1, data.keyword()); data 109 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 2, data.favicon_url.is_valid() ? data 110 chrome/browser/webdata/keyword_table.cc history::HistoryDatabase::GURLToDatabaseURL(data.favicon_url) : data 112 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 3, data.url()); data 113 chrome/browser/webdata/keyword_table.cc s->BindBool(starting_column + 4, data.safe_for_autoreplace); data 114 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 5, data.originating_url.is_valid() ? data 115 chrome/browser/webdata/keyword_table.cc history::HistoryDatabase::GURLToDatabaseURL(data.originating_url) : data 117 chrome/browser/webdata/keyword_table.cc s->BindInt64(starting_column + 6, data.date_created.ToTimeT()); data 118 chrome/browser/webdata/keyword_table.cc s->BindInt(starting_column + 7, data.usage_count); data 119 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 8, JoinString(data.input_encodings, ';')); data 120 chrome/browser/webdata/keyword_table.cc s->BindBool(starting_column + 9, data.show_in_default_list); data 121 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 10, data.suggestions_url); data 122 chrome/browser/webdata/keyword_table.cc s->BindInt(starting_column + 11, data.prepopulate_id); data 123 chrome/browser/webdata/keyword_table.cc s->BindBool(starting_column + 12, data.created_by_policy); data 124 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 13, data.instant_url); data 125 chrome/browser/webdata/keyword_table.cc s->BindInt64(starting_column + 14, data.last_modified.ToTimeT()); data 126 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 15, data.sync_guid); data 128 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 17, data.search_terms_replacement_key); data 129 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 18, data.image_url); data 130 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 19, data.search_url_post_params); data 131 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 20, data.suggestions_url_post_params); data 132 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 21, data.instant_url_post_params); data 133 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 22, data.image_url_post_params); data 134 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 23, data.new_tab_url); data 457 chrome/browser/webdata/keyword_table.cc TemplateURLData* data) { data 458 chrome/browser/webdata/keyword_table.cc DCHECK(data); data 460 chrome/browser/webdata/keyword_table.cc data->short_name = s.ColumnString16(1); data 461 chrome/browser/webdata/keyword_table.cc data->SetKeyword(s.ColumnString16(2)); data 468 chrome/browser/webdata/keyword_table.cc data->SetURL(s.ColumnString(4)); data 469 chrome/browser/webdata/keyword_table.cc data->suggestions_url = s.ColumnString(11); data 470 chrome/browser/webdata/keyword_table.cc data->instant_url = s.ColumnString(14); data 471 chrome/browser/webdata/keyword_table.cc data->image_url = s.ColumnString(19); data 472 chrome/browser/webdata/keyword_table.cc data->new_tab_url = s.ColumnString(24); data 473 chrome/browser/webdata/keyword_table.cc data->search_url_post_params = s.ColumnString(20); data 474 chrome/browser/webdata/keyword_table.cc data->suggestions_url_post_params = s.ColumnString(21); data 475 chrome/browser/webdata/keyword_table.cc data->instant_url_post_params = s.ColumnString(22); data 476 chrome/browser/webdata/keyword_table.cc data->image_url_post_params = s.ColumnString(23); data 477 chrome/browser/webdata/keyword_table.cc data->favicon_url = GURL(s.ColumnString(3)); data 478 chrome/browser/webdata/keyword_table.cc data->originating_url = GURL(s.ColumnString(6)); data 479 chrome/browser/webdata/keyword_table.cc data->show_in_default_list = s.ColumnBool(10); data 480 chrome/browser/webdata/keyword_table.cc data->safe_for_autoreplace = s.ColumnBool(5); data 481 chrome/browser/webdata/keyword_table.cc base::SplitString(s.ColumnString(9), ';', &data->input_encodings); data 482 chrome/browser/webdata/keyword_table.cc data->id = s.ColumnInt64(0); data 483 chrome/browser/webdata/keyword_table.cc data->date_created = Time::FromTimeT(s.ColumnInt64(7)); data 484 chrome/browser/webdata/keyword_table.cc data->last_modified = Time::FromTimeT(s.ColumnInt64(15)); data 485 chrome/browser/webdata/keyword_table.cc data->created_by_policy = s.ColumnBool(13); data 486 chrome/browser/webdata/keyword_table.cc data->usage_count = s.ColumnInt(8); data 487 chrome/browser/webdata/keyword_table.cc data->prepopulate_id = s.ColumnInt(12); data 488 chrome/browser/webdata/keyword_table.cc data->sync_guid = s.ColumnString(16); data 490 chrome/browser/webdata/keyword_table.cc data->alternate_urls.clear(); data 498 chrome/browser/webdata/keyword_table.cc data->alternate_urls.push_back(alternate_url); data 502 chrome/browser/webdata/keyword_table.cc data->search_terms_replacement_key = s.ColumnString(18); data 507 chrome/browser/webdata/keyword_table.cc bool KeywordTable::AddKeyword(const TemplateURLData& data) { data 508 chrome/browser/webdata/keyword_table.cc DCHECK(data.id); data 513 chrome/browser/webdata/keyword_table.cc BindURLToStatement(data, &s, 0, 1); data 527 chrome/browser/webdata/keyword_table.cc bool KeywordTable::UpdateKeyword(const TemplateURLData& data) { data 528 chrome/browser/webdata/keyword_table.cc DCHECK(data.id); data 539 chrome/browser/webdata/keyword_table.cc BindURLToStatement(data, &s, 24, 0); // "24" binds id() as the last item. data 604 chrome/browser/webdata/keyword_table.cc TemplateURLData data; data 605 chrome/browser/webdata/keyword_table.cc data.SetKeyword(keyword); data 606 chrome/browser/webdata/keyword_table.cc data.SetURL(s.ColumnString(2)); data 607 chrome/browser/webdata/keyword_table.cc TemplateURL turl(NULL, data); data 157 chrome/browser/webdata/keyword_table.h TemplateURLData* data); data 161 chrome/browser/webdata/keyword_table.h bool AddKeyword(const TemplateURLData& data); data 169 chrome/browser/webdata/keyword_table.h bool UpdateKeyword(const TemplateURLData& data); data 70 chrome/browser/webdata/web_data_service.cc void WebDataService::AddKeyword(const TemplateURLData& data) { data 73 chrome/browser/webdata/web_data_service.cc KeywordTable::Operation(KeywordTable::ADD, data)); data 76 chrome/browser/webdata/web_data_service.cc AddKeyword(data); data 83 chrome/browser/webdata/web_data_service.cc TemplateURLData data; data 84 chrome/browser/webdata/web_data_service.cc data.id = id; data 86 chrome/browser/webdata/web_data_service.cc KeywordTable::Operation(KeywordTable::REMOVE, data)); data 94 chrome/browser/webdata/web_data_service.cc void WebDataService::UpdateKeyword(const TemplateURLData& data) { data 97 chrome/browser/webdata/web_data_service.cc KeywordTable::Operation(KeywordTable::UPDATE, data)); data 100 chrome/browser/webdata/web_data_service.cc UpdateKeyword(data); data 137 chrome/browser/webdata/web_data_service.h void AddKeyword(const TemplateURLData& data); data 139 chrome/browser/webdata/web_data_service.h void UpdateKeyword(const TemplateURLData& data); data 35 chrome/common/cast_messages.h IPC_STRUCT_TRAITS_MEMBER(data) data 44 chrome/common/cast_messages.h IPC_STRUCT_TRAITS_MEMBER(data) data 38 chrome/common/child_process_logging_win.cc (set_crash_key)(base::UTF8ToWide(key).data(), data 39 chrome/common/child_process_logging_win.cc base::UTF8ToWide(value).data()); data 54 chrome/common/child_process_logging_win.cc (clear_crash_key)(base::UTF8ToWide(key).data()); data 339 chrome/common/crash_keys.cc ScopedPrinterInfo::ScopedPrinterInfo(const base::StringPiece& data) { data 341 chrome/common/crash_keys.cc base::SplitString(data.as_string(), ';', &info); data 45 chrome/common/crash_keys.h explicit ScopedPrinterInfo(const base::StringPiece& data); data 30 chrome/common/extensions/api/bluetooth/bluetooth_manifest_data.cc const BluetoothManifestData* data = BluetoothManifestData::Get(extension); data 31 chrome/common/extensions/api/bluetooth/bluetooth_manifest_data.cc return data && data->permission()->CheckRequest(extension, request); data 22 chrome/common/extensions/api/bluetooth/bluetooth_manifest_handler.cc scoped_ptr<BluetoothManifestData> data = data 24 chrome/common/extensions/api/bluetooth/bluetooth_manifest_handler.cc if (!data) data 27 chrome/common/extensions/api/bluetooth/bluetooth_manifest_handler.cc extension->SetManifestData(manifest_keys::kBluetooth, data.release()); data 37 chrome/common/extensions/api/bluetooth/bluetooth_manifest_handler.cc BluetoothManifestData* data = BluetoothManifestData::Get(extension); data 38 chrome/common/extensions/api/bluetooth/bluetooth_manifest_handler.cc if (data) data 39 chrome/common/extensions/api/bluetooth/bluetooth_manifest_handler.cc return data->permission()->Clone(); data 41 chrome/common/extensions/api/extension_action/action_info.cc ActionInfoData* data = static_cast<ActionInfoData*>( data 43 chrome/common/extensions/api/extension_action/action_info.cc return data ? data->action_info.get() : NULL; data 66 chrome/common/extensions/api/networking_private/networking_private_crypto.cc der_output->assign(pem_tok.data().begin(), pem_tok.data().end()); data 79 chrome/common/extensions/api/networking_private/networking_private_crypto.cc const std::string& data, data 90 chrome/common/extensions/api/networking_private/networking_private_crypto.cc der_cert.data = cert_data.data(); data 108 chrome/common/extensions/api/networking_private/networking_private_crypto.cc trusted_ca_key_der_item.data = data 146 chrome/common/extensions/api/networking_private/networking_private_crypto.cc signature_item.data = data 150 chrome/common/extensions/api/networking_private/networking_private_crypto.cc reinterpret_cast<unsigned char*>(const_cast<char*>(data.c_str())), data 151 chrome/common/extensions/api/networking_private/networking_private_crypto.cc data.size(), data 167 chrome/common/extensions/api/networking_private/networking_private_crypto.cc const std::string& data, data 173 chrome/common/extensions/api/networking_private/networking_private_crypto.cc pub_key_der_item.data = const_cast<unsigned char*>(pub_key_der.data()); data 186 chrome/common/extensions/api/networking_private/networking_private_crypto.cc if (encrypted_length < data.size() + 11) { data 195 chrome/common/extensions/api/networking_private/networking_private_crypto.cc reinterpret_cast<unsigned char*>(const_cast<char*>(data.data())), data 196 chrome/common/extensions/api/networking_private/networking_private_crypto.cc data.length(), data 233 chrome/common/extensions/api/networking_private/networking_private_crypto.cc const_cast<unsigned char*>(encrypted_data.data()), data 28 chrome/common/extensions/api/networking_private/networking_private_crypto.h const std::string& data, data 38 chrome/common/extensions/api/networking_private/networking_private_crypto.h const std::string& data, data 47 chrome/common/extensions/api/plugins/plugins_handler.cc PluginManifestData* data = static_cast<PluginManifestData*>( data 49 chrome/common/extensions/api/plugins/plugins_handler.cc return data ? &data->plugins : NULL; data 54 chrome/common/extensions/api/plugins/plugins_handler.cc PluginManifestData* data = static_cast<PluginManifestData*>( data 56 chrome/common/extensions/api/plugins/plugins_handler.cc return data && !data->plugins.empty() ? true : false; data 49 chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc if (base::WriteFile(schema_path, schema.data(), schema.size()) != data 24 chrome/common/extensions/chrome_extension_messages.h IPC_STRUCT_TRAITS_MEMBER(data) data 54 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php , $ax = false, $sreg = false, $data; data 76 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php $this->data = $_POST + $_GET; # OPs may send data as POST or GET. data 449 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php $this->claimed_id = isset($this->data['openid_claimed_id'])?$this->data['openid_claimed_id']:$this->data['openid_identity']; data 451 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php 'openid.assoc_handle' => $this->data['openid_assoc_handle'], data 452 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php 'openid.signed' => $this->data['openid_signed'], data 453 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php 'openid.sig' => $this->data['openid_sig'], data 456 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php if (isset($this->data['openid_op_endpoint'])) { data 462 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php $server = $this->discover($this->data['openid_identity']); data 464 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php foreach (explode(',', $this->data['openid_signed']) as $item) { data 471 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php $value = $this->data['openid_' . str_replace('.','_',$item)]; data 484 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php if (isset($this->data['openid_ns_ax']) data 485 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php && $this->data['openid_ns_ax'] != 'http://openid.net/srv/ax/1.0' data 491 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php foreach ($this->data as $key => $val) { data 506 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php foreach ($this->data as $key => $value) { data 512 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php if (!isset($this->data['openid_' . $alias . '_type_' . $key])) { data 518 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php $key = substr($this->data['openid_' . $alias . '_type_' . $key], data 529 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php foreach ($this->data as $key => $value) { data 555 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php if (isset($this->data['openid_ns']) data 556 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php && $this->data['openid_ns'] == 'http://specs.openid.net/auth/2.0' data 49 chrome/common/extensions/docs/examples/extensions/irc/servlet/src/org/chromium/IRCProxyWebSocket.java public void onMessage(byte frame, byte[] data,int offset, int length) {} data 51 chrome/common/extensions/docs/examples/extensions/irc/servlet/src/org/chromium/IRCProxyWebSocket.java public void onMessage(byte frame, String data) { data 57 chrome/common/extensions/docs/examples/extensions/irc/servlet/src/org/chromium/IRCProxyWebSocket.java String tokens[] = data.split(":"); data 77 chrome/common/extensions/docs/examples/extensions/irc/servlet/src/org/chromium/IRCProxyWebSocket.java System.out.print(">> " + data); data 78 chrome/common/extensions/docs/examples/extensions/irc/servlet/src/org/chromium/IRCProxyWebSocket.java out_.write(data); data 133 chrome/common/extensions/extension_file_util_unittest.cc std::string data = "{ \"name\": { \"message\": \"foobar\" } }"; data 135 chrome/common/extensions/extension_file_util_unittest.cc data.c_str(), data.length())); data 41 chrome/common/extensions/extension_l10n_util_unittest.cc std::string data = "{ \"name\":"; data 42 chrome/common/extensions/extension_l10n_util_unittest.cc ASSERT_TRUE(base::WriteFile(messages_file, data.c_str(), data.length())); data 96 chrome/common/extensions/extension_l10n_util_unittest.cc std::string data("whatever"); data 99 chrome/common/extensions/extension_l10n_util_unittest.cc data.c_str(), data.length())); data 188 chrome/common/extensions/extension_l10n_util_unittest.cc std::string data = "{ \"name\":"; data 190 chrome/common/extensions/extension_l10n_util_unittest.cc ASSERT_TRUE(base::WriteFile(messages_file, data.c_str(), data.length())); data 219 chrome/common/extensions/extension_l10n_util_unittest.cc std::string data = data 223 chrome/common/extensions/extension_l10n_util_unittest.cc data.c_str(), data.length())); data 229 chrome/common/extensions/extension_l10n_util_unittest.cc data.c_str(), data.length())); data 207 chrome/common/extensions/extension_unittest.cc std::string data; data 208 chrome/common/extensions/extension_unittest.cc ASSERT_TRUE(base::ReadFileToString(path, &data)); data 211 chrome/common/extensions/extension_unittest.cc EXPECT_TRUE(net::SniffMimeType(data.c_str(), data 212 chrome/common/extensions/extension_unittest.cc data.size(), data 218 chrome/common/extensions/extension_unittest.cc data.clear(); data 221 chrome/common/extensions/extension_unittest.cc ASSERT_TRUE(base::ReadFileToString(path, &data)); data 222 chrome/common/extensions/extension_unittest.cc EXPECT_TRUE(net::SniffMimeType(data.c_str(), data 223 chrome/common/extensions/extension_unittest.cc data.size(), data 32 chrome/common/extensions/manifest_handlers/nacl_modules_handler.cc NaClModuleData* data = static_cast<NaClModuleData*>( data 34 chrome/common/extensions/manifest_handlers/nacl_modules_handler.cc return data ? &data->nacl_modules_ : NULL; data 341 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc const SettingsOverrides* data = SettingsOverrides::Get(extension); data 342 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc if (data) data 343 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc return data->manifest_permission->Clone(); data 212 chrome/common/extensions/manifest_handlers/ui_overrides_handler.cc const UIOverrides* data = UIOverrides::Get(extension); data 213 chrome/common/extensions/manifest_handlers/ui_overrides_handler.cc if (data) data 214 chrome/common/extensions/manifest_handlers/ui_overrides_handler.cc return data->manifest_permission->Clone(); data 23 chrome/common/extensions/permissions/socket_permission_unittest.cc SocketPermissionData data; data 24 chrome/common/extensions/permissions/socket_permission_unittest.cc ASSERT_TRUE(data.ParseForTest(permission)) << "Parse permission \"" data 26 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_EQ(expected_result, data.GetAsStringForTest()); data 46 chrome/common/extensions/permissions/socket_permission_unittest.cc SocketPermissionData data; data 48 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.ParseForTest(std::string())); data 49 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.ParseForTest("*")); data 50 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.ParseForTest("\00\00*")); data 51 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.ParseForTest("\01*")); data 52 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.ParseForTest("tcp-connect:www.example.com:-1")); data 53 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.ParseForTest("tcp-connect:www.example.com:65536")); data 54 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.ParseForTest("tcp-connect:::")); data 55 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.ParseForTest("tcp-connect::0")); data 56 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.ParseForTest("tcp-connect: www.exmaple.com: 99 ")); data 57 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.ParseForTest("tcp-connect:*.exmaple.com :99")); data 58 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.ParseForTest("tcp-connect:*.exmaple.com: 99")); data 59 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.ParseForTest("tcp-connect:*.exmaple.com:99 ")); data 60 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.ParseForTest("tcp-connect:\t*.exmaple.com:99")); data 61 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.ParseForTest("tcp-connect:\n*.exmaple.com:99")); data 62 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.ParseForTest("resolve-host:exmaple.com:99")); data 63 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.ParseForTest("resolve-host:127.0.0.1")); data 64 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.ParseForTest("resolve-host:")); data 65 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.ParseForTest("resolve-proxy:exmaple.com:99")); data 66 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.ParseForTest("resolve-proxy:exmaple.com")); data 127 chrome/common/extensions/permissions/socket_permission_unittest.cc SocketPermissionData data; data 130 chrome/common/extensions/permissions/socket_permission_unittest.cc CHECK(data.ParseForTest("tcp-connect")); data 133 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_TRUE(data.Check(param.get())); data 136 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.Check(param.get())); data 138 chrome/common/extensions/permissions/socket_permission_unittest.cc CHECK(data.ParseForTest("udp-send-to::8800")); data 141 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_TRUE(data.Check(param.get())); data 144 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_TRUE(data.Check(param.get())); data 147 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.Check(param.get())); data 149 chrome/common/extensions/permissions/socket_permission_unittest.cc CHECK(data.ParseForTest("udp-send-to:*.example.com:8800")); data 152 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_TRUE(data.Check(param.get())); data 155 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_TRUE(data.Check(param.get())); data 158 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_TRUE(data.Check(param.get())); data 161 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.Check(param.get())); data 164 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.Check(param.get())); data 167 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.Check(param.get())); data 169 chrome/common/extensions/permissions/socket_permission_unittest.cc CHECK(data.ParseForTest("udp-send-to:*.ExAmPlE.cOm:8800")); data 172 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_TRUE(data.Check(param.get())); data 175 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_TRUE(data.Check(param.get())); data 178 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_TRUE(data.Check(param.get())); data 181 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.Check(param.get())); data 184 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.Check(param.get())); data 186 chrome/common/extensions/permissions/socket_permission_unittest.cc ASSERT_TRUE(data.ParseForTest("udp-bind::8800")); data 189 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_TRUE(data.Check(param.get())); data 192 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.Check(param.get())); data 195 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.Check(param.get())); data 198 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.Check(param.get())); data 201 chrome/common/extensions/permissions/socket_permission_unittest.cc ASSERT_TRUE(data.ParseForTest("tcp-connect:*.168.0.1:8800")); data 204 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.Check(param.get())); data 206 chrome/common/extensions/permissions/socket_permission_unittest.cc ASSERT_FALSE(data.ParseForTest("udp-multicast-membership:*")); data 207 chrome/common/extensions/permissions/socket_permission_unittest.cc ASSERT_FALSE(data.ParseForTest("udp-multicast-membership:*:*")); data 208 chrome/common/extensions/permissions/socket_permission_unittest.cc ASSERT_TRUE(data.ParseForTest("udp-multicast-membership")); data 211 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.Check(param.get())); data 214 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.Check(param.get())); data 217 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.Check(param.get())); data 220 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.Check(param.get())); data 223 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_TRUE(data.Check(param.get())); data 225 chrome/common/extensions/permissions/socket_permission_unittest.cc ASSERT_TRUE(data.ParseForTest("resolve-host")); data 228 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_TRUE(data.Check(param.get())); data 231 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_TRUE(data.Check(param.get())); data 234 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.Check(param.get())); data 237 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.Check(param.get())); data 239 chrome/common/extensions/permissions/socket_permission_unittest.cc ASSERT_TRUE(data.ParseForTest("resolve-proxy")); data 242 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_TRUE(data.Check(param.get())); data 245 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_TRUE(data.Check(param.get())); data 248 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.Check(param.get())); data 251 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.Check(param.get())); data 253 chrome/common/extensions/permissions/socket_permission_unittest.cc ASSERT_TRUE(data.ParseForTest("network-state")); data 256 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_TRUE(data.Check(param.get())); data 259 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.Check(param.get())); data 262 chrome/common/extensions/permissions/socket_permission_unittest.cc EXPECT_FALSE(data.Check(param.get())); data 25 chrome/common/instant_restricted_id_cache_unittest.cc void PrintTo(const TestData& data, std::ostream* os) { data 26 chrome/common/instant_restricted_id_cache_unittest.cc *os << data.value; data 43 chrome/common/mac/mock_launchd.cc const char *data = "#! testbundle\n"; data 44 chrome/common/mac/mock_launchd.cc int len = strlen(data); data 45 chrome/common/mac/mock_launchd.cc if (base::WriteFile(*executable, data, len) != len) { data 78 chrome/common/media_galleries/pmp_test_util.cc std::vector<char> data = PmpTestUtil::MakeHeaderAndBody( data 81 chrome/common/media_galleries/pmp_test_util.cc size_t bytes_written = base::WriteFile(path, &data[0], data.size()); data 82 chrome/common/media_galleries/pmp_test_util.cc return (bytes_written == data.size()); data 351 chrome/common/net/url_fixer_upper.cc if (!url_parse::ExtractScheme(text.data(), static_cast<int>(text.length()), data 361 chrome/common/net/url_fixer_upper.cc if (!url_canon::CanonicalizeScheme(text.data(), *scheme_component, data 399 chrome/common/net/url_fixer_upper.cc if (url_parse::DoesBeginWindowsDriveSpec(trimmed.data(), 0, trimmed_length) || data 400 chrome/common/net/url_fixer_upper.cc url_parse::DoesBeginUNCPath(trimmed.data(), 0, trimmed_length, true)) data 403 chrome/common/net/url_fixer_upper.cc if (base::FilePath::IsSeparator(trimmed.data()[0]) || data 404 chrome/common/net/url_fixer_upper.cc trimmed.data()[0] == '~') data 441 chrome/common/net/url_fixer_upper.cc url_parse::ParseFileSystemURL(text->data(), data 448 chrome/common/net/url_fixer_upper.cc url_parse::ParseStandardURL(text->data(), static_cast<int>(text->length()), data 467 chrome/common/net/url_fixer_upper.cc url_parse::ParseStandardURL(text_to_parse.data(), data 34 chrome/common/net/x509_certificate_model.cc std::string ProcessRawBytesWithSeparators(const unsigned char* data, data 51 chrome/common/net/x509_certificate_model.cc unsigned char b = data[i]; data 64 chrome/common/net/x509_certificate_model.cc std::string ProcessRawBytes(const unsigned char* data, size_t data_length) { data 65 chrome/common/net/x509_certificate_model.cc return ProcessRawBytesWithSeparators(data, data_length, ' ', '\n'); data 69 chrome/common/net/x509_certificate_model.cc std::string ProcessRawBits(const unsigned char* data, size_t data_length) { data 70 chrome/common/net/x509_certificate_model.cc return ProcessRawBytes(data, (data_length + 7) / 8); data 132 chrome/common/net/x509_certificate_model.h std::string ProcessRawBytesWithSeparators(const unsigned char* data, data 138 chrome/common/net/x509_certificate_model.h std::string ProcessRawBytes(const unsigned char* data, data 144 chrome/common/net/x509_certificate_model.h std::string ProcessRawBits(const unsigned char* data, data 48 chrome/common/net/x509_certificate_model_nss.cc DCHECK(NULL != cert->derCert.data); data 52 chrome/common/net/x509_certificate_model_nss.cc SECStatus rv = HASH_HashBuf(algorithm, fingerprint, cert->derCert.data, data 67 chrome/common/net/x509_certificate_model_nss.cc extension->critical.data && extension->critical.data[0] ? data 152 chrome/common/net/x509_certificate_model_nss.cc key_usage.data = NULL; data 156 chrome/common/net/x509_certificate_model_nss.cc PORT_Free(key_usage.data); data 276 chrome/common/net/x509_certificate_model_nss.cc pkcs11_id = base::HexEncode(sec_item->data, sec_item->len); data 329 chrome/common/net/x509_certificate_model_nss.cc return string(reinterpret_cast<const char*>(cert_handle->derCert.data), data 381 chrome/common/net/x509_certificate_model_nss.cc return string(reinterpret_cast<const char*>(cert_p7.data), cert_p7.len); data 405 chrome/common/net/x509_certificate_model_nss.cc return ProcessRawBits(cert_handle->signatureWrap.signature.data, data 94 chrome/common/net/x509_certificate_model_openssl.cc num->data, num->length, kSerialNumberSeparator, kSerialNumberSeparator); data 27 chrome/common/partial_circular_buffer.cc buffer_data_->data - reinterpret_cast<uint8*>(buffer_data_); data 47 chrome/common/partial_circular_buffer.cc buffer_data_->data - reinterpret_cast<uint8*>(buffer_data_); data 77 chrome/common/partial_circular_buffer.cc memcpy(buffer_uint8, buffer_data_->data + position_, to_read); data 106 chrome/common/partial_circular_buffer.cc memcpy(buffer_uint8 + read, buffer_data_->data + position_, to_read); data 131 chrome/common/partial_circular_buffer.cc memcpy(buffer_uint8 + read, buffer_data_->data + position_, to_read); data 146 chrome/common/partial_circular_buffer.cc DoWrite(buffer_data_->data + position_, buffer, to_write); data 156 chrome/common/partial_circular_buffer.cc DoWrite(buffer_data_->data + position_, data 51 chrome/common/partial_circular_buffer.h uint8 data[1]; data 34 chrome/common/partial_circular_buffer_unittest.cc &test_struct.data[0] - reinterpret_cast<uint8*>(&test_struct); data 19 chrome/common/ref_counted_util.h : data(initializer) {} data 21 chrome/common/ref_counted_util.h std::vector<T> data; data 25 chrome/common/web_application_info.h SkBitmap data; data 102 chrome/installer/gcapi/gcapi.cc LPVOID data = NULL; data 106 chrome/installer/gcapi/gcapi.cc reinterpret_cast<LPVOID *>(&data), reinterpret_cast<UINT *>(&data_len))) data 115 chrome/installer/gcapi/gcapi.cc memcpy(&lang, data, 4); data 123 chrome/installer/gcapi/gcapi.cc reinterpret_cast<LPVOID *>(&data), reinterpret_cast<UINT *>(&data_len))) data 131 chrome/installer/gcapi/gcapi.cc reinterpret_cast<const wchar_t*>(data), data 9 chrome/installer/mac/third_party/bsdiff/sha1_adapter.cc void SHA1(const unsigned char* data, size_t len, unsigned char* hash) { data 10 chrome/installer/mac/third_party/bsdiff/sha1_adapter.cc base::SHA1HashBytes(data, len, hash); data 19 chrome/installer/mac/third_party/bsdiff/sha1_adapter.h void SHA1(const unsigned char* data, size_t len, unsigned char* hash); data 31 chrome/installer/mini_installer/pe_resource.cc void* data = ::LockResource(data_handle); data 32 chrome/installer/mini_installer/pe_resource.cc if (NULL == data) { data 42 chrome/installer/mini_installer/pe_resource.cc if (!::WriteFile(out_file, data, static_cast<DWORD>(resource_size), data 318 chrome/installer/test/alternate_version_generator.cc uint8* data, DWORD size, DWORD code_page, data 325 chrome/installer/test/alternate_version_generator.cc data, data 326 chrome/installer/test/alternate_version_generator.cc data + size, data 344 chrome/installer/test/alternate_version_generator.cc ReplaceAll(data, data + size, reinterpret_cast<const uint8*>(&cur_ver), data 378 chrome/installer/test/alternate_version_generator.cc reinterpret_cast<HMODULE>(image_mapping.data())); data 18 chrome/installer/test/pe_image_resources.cc bool StructureAt(const uint8* data, size_t data_size, const T** structure) { data 20 chrome/installer/test/pe_image_resources.cc *structure = reinterpret_cast<const T*>(data); data 51 chrome/installer/test/pe_image_resources.h typedef void (*EnumResource_Fn)(const EntryPath& path, uint8* data, data 46 chrome/installer/test/resource_updater.cc const_cast<uint8*>(input.data()), input.length()) data 64 chrome/installer/util/app_command.cc this->*(kNameBoolVars[i].data) = (value != 0); data 82 chrome/installer/util/app_command.cc bool var_data = this->*(kNameBoolVars[i].data); data 77 chrome/installer/util/app_command.h bool AppCommand::* data; data 175 chrome/installer/util/delete_after_reboot_helper.cc const wchar_t* data = reinterpret_cast<const wchar_t*>(buffer); data 176 chrome/installer/util/delete_after_reboot_helper.cc const wchar_t* data_end = data + data_len; data 179 chrome/installer/util/delete_after_reboot_helper.cc if (data[data_len - 1] != 0 || data[data_len - 2] != 0) { data 185 chrome/installer/util/delete_after_reboot_helper.cc while (data < data_end) { data 186 chrome/installer/util/delete_after_reboot_helper.cc std::wstring str_from(data); data 187 chrome/installer/util/delete_after_reboot_helper.cc data += str_from.length() + 1; data 188 chrome/installer/util/delete_after_reboot_helper.cc if (data < data_end) { data 189 chrome/installer/util/delete_after_reboot_helper.cc std::wstring str_to(data); data 190 chrome/installer/util/delete_after_reboot_helper.cc data += str_to.length() + 1; data 751 chrome/installer/util/google_update_settings.cc ProductData* data) { data 753 chrome/installer/util/google_update_settings.cc DCHECK(data); data 772 chrome/installer/util/google_update_settings.cc data->version = base::UTF16ToASCII(version); data 773 chrome/installer/util/google_update_settings.cc data->last_success = base::Time::FromTimeT(dword_value); data 774 chrome/installer/util/google_update_settings.cc data->last_result = 0; data 775 chrome/installer/util/google_update_settings.cc data->last_error_code = 0; data 776 chrome/installer/util/google_update_settings.cc data->last_extra_code = 0; data 783 chrome/installer/util/google_update_settings.cc data->last_result = std::min(dword_value, kMaxValidInstallResult); data 787 chrome/installer/util/google_update_settings.cc data->last_error_code = dword_value; data 791 chrome/installer/util/google_update_settings.cc data->last_extra_code = dword_value; data 800 chrome/installer/util/google_update_settings.cc ProductData* data) { data 803 chrome/installer/util/google_update_settings.cc data); data 807 chrome/installer/util/google_update_settings.cc ProductData* data) { data 811 chrome/installer/util/google_update_settings.cc data); data 280 chrome/installer/util/google_update_settings.h ProductData* data); data 285 chrome/installer/util/google_update_settings.h ProductData* data); data 289 chrome/installer/util/google_update_settings.h static bool GetUpdateDetail(bool system_install, ProductData* data); data 418 chrome/installer/util/install_util_unittest.cc static const char data[] = "data"; data 420 chrome/installer/util/install_util_unittest.cc ASSERT_NE(-1, base::WriteFile(expect, data, arraysize(data) - 1)); data 21 chrome/installer/util/lzma_util.cc SRes LzmaReadFile(HANDLE file, void *data, size_t *size) { data 29 chrome/installer/util/lzma_util.cc BOOL res = ReadFile(file, data, maxSize, &processedLoc, NULL); data 30 chrome/installer/util/lzma_util.cc data = (void *)((unsigned char *) data + processedLoc); data 30 chrome/installer/util/registry_key_backup.cc DWORD type, const uint8* data, DWORD data_size); data 99 chrome/installer/util/registry_key_backup.cc const uint8* data, data 103 chrome/installer/util/registry_key_backup.cc data_.assign(data, data + data_size); data 238 chrome/installer/util/registry_key_backup.cc value.data(), value.data_len()); data 20 chrome/installer/util/self_cleaning_temp_dir_unittest.cc uint8 data[4]; data 27 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_NE(FALSE, CryptGenRandom(crypt_ctx, arraysize(data), &data[0])); data 31 chrome/installer/util/self_cleaning_temp_dir_unittest.cc std::string result(base::HexEncode(&data[0], arraysize(data))); data 27 chrome/installer/util/set_reg_value_work_item.cc const uint8* data = reinterpret_cast<const uint8*>(value_data.c_str()); data 28 chrome/installer/util/set_reg_value_work_item.cc value_.assign(data, data + (value_data.length() + 1) * sizeof(wchar_t)); data 43 chrome/installer/util/set_reg_value_work_item.cc const uint8* data = reinterpret_cast<const uint8*>(&value_data); data 44 chrome/installer/util/set_reg_value_work_item.cc value_.assign(data, data + sizeof(value_data)); data 59 chrome/installer/util/set_reg_value_work_item.cc const uint8* data = reinterpret_cast<const uint8*>(&value_data); data 60 chrome/installer/util/set_reg_value_work_item.cc value_.assign(data, data + sizeof(value_data)); data 143 chrome/installer/util/set_reg_value_work_item_unittest.cc std::wstring data(kDataStr2); data 146 chrome/installer/util/set_reg_value_work_item_unittest.cc name, data, false)); data 197 chrome/installer/util/set_reg_value_work_item_unittest.cc std::wstring data(kDataStr2); data 200 chrome/installer/util/set_reg_value_work_item_unittest.cc name, data, true)); data 203 chrome/installer/util/set_reg_value_work_item_unittest.cc name_empty, data, true)); data 257 chrome/installer/util/set_reg_value_work_item_unittest.cc std::wstring data(kDataStr1); data 260 chrome/installer/util/set_reg_value_work_item_unittest.cc name, data, false)); data 1344 chrome/installer/util/shell_util.cc if (cancel && cancel->data.IsSet()) data 77 chrome/installer/util/work_item_list_unittest.cc std::wstring data(kDataStr); data 80 chrome/installer/util/work_item_list_unittest.cc name, data, false))); data 132 chrome/installer/util/work_item_list_unittest.cc std::wstring data(kDataStr); data 135 chrome/installer/util/work_item_list_unittest.cc name, data, false))); data 190 chrome/installer/util/work_item_list_unittest.cc std::wstring data(kDataStr); data 193 chrome/installer/util/work_item_list_unittest.cc name, data, false))); data 246 chrome/installer/util/work_item_list_unittest.cc std::wstring data(kDataStr); data 249 chrome/installer/util/work_item_list_unittest.cc name, data, false))); data 463 chrome/renderer/chrome_content_renderer_client.cc const std::string extension_id = origin.host().utf8().data(); data 701 chrome/renderer/content_settings_observer.cc const std::string extension_id = origin.host().utf8().data(); data 33 chrome/renderer/extensions/app_runtime_custom_bindings.cc WebSerializedScriptValue data = data 35 chrome/renderer/extensions/app_runtime_custom_bindings.cc WebString data_webstring = data.toString(); data 19 chrome/renderer/extensions/blob_native_handler.cc v8::String::NewFromUtf8(args.GetIsolate(), blob.uuid().utf8().data())); data 279 chrome/renderer/extensions/cast_streaming_native_handler.cc isolate, message.data(), v8::String::kNormalString, message.size())); data 63 chrome/renderer/extensions/extension_localization_peer.cc void ExtensionLocalizationPeer::OnReceivedData(const char* data, data 66 chrome/renderer/extensions/extension_localization_peer.cc data_.append(data, data_length); data 94 chrome/renderer/extensions/extension_localization_peer.cc original_peer_->OnReceivedData(data_.data(), data 43 chrome/renderer/extensions/extension_localization_peer.h virtual void OnReceivedData(const char* data, data 67 chrome/renderer/extensions/extension_localization_peer_unittest.cc MOCK_METHOD3(OnReceivedData, void(const char* data, data 106 chrome/renderer/extensions/extension_localization_peer_unittest.cc const std::string& data) { data 108 chrome/renderer/extensions/extension_localization_peer_unittest.cc filter_peer->data_ = data; data 175 chrome/renderer/extensions/extension_localization_peer_unittest.cc std::string data = GetData(filter_peer); data 177 chrome/renderer/extensions/extension_localization_peer_unittest.cc OnReceivedData(StrEq(data.data()), data.length(), -1)).Times(2); data 212 chrome/renderer/extensions/extension_localization_peer_unittest.cc std::string data("some new text"); data 214 chrome/renderer/extensions/extension_localization_peer_unittest.cc OnReceivedData(StrEq(data.data()), data.length(), -1)); data 243 chrome/renderer/extensions/extension_localization_peer_unittest.cc OnReceivedData(StrEq(message.data()), message.length(), -1)); data 192 chrome/renderer/extensions/messaging_bindings.cc const v8::WeakCallbackData<v8::Object, GCCallback>& data) { data 195 chrome/renderer/extensions/messaging_bindings.cc data.GetParameter()->object_.reset(); data 199 chrome/renderer/extensions/messaging_bindings.cc base::Owned(data.GetParameter()))); data 391 chrome/renderer/extensions/messaging_bindings.cc message.data.c_str(), data 393 chrome/renderer/extensions/messaging_bindings.cc message.data.size())); data 42 chrome/renderer/extensions/object_backed_native_handler.cc v8::Handle<v8::Object> data = args.Data().As<v8::Object>(); data 45 chrome/renderer/extensions/object_backed_native_handler.cc data->Get(v8::String::NewFromUtf8(args.GetIsolate(), kHandlerFunction)); data 65 chrome/renderer/extensions/object_backed_native_handler.cc v8::Persistent<v8::Object> data(isolate, v8::Object::New(isolate)); data 66 chrome/renderer/extensions/object_backed_native_handler.cc v8::Local<v8::Object> local_data = v8::Local<v8::Object>::New(isolate, data); data 89 chrome/renderer/extensions/object_backed_native_handler.cc v8::Handle<v8::Object> data = router_data_.Get(i); data 91 chrome/renderer/extensions/object_backed_native_handler.cc data->Get(v8::String::NewFromUtf8(isolate, kHandlerFunction)); data 95 chrome/renderer/extensions/object_backed_native_handler.cc data->Delete(v8::String::NewFromUtf8(isolate, kHandlerFunction)); data 40 chrome/renderer/extensions/set_icon_natives.cc v8::Local<v8::Object> data = data 63 chrome/renderer/extensions/set_icon_natives.cc data->Get(v8::String::NewFromUtf8(isolate, "length"))->Int32Value(); data 83 chrome/renderer/extensions/set_icon_natives.cc ((data->Get(v8::Integer::New(isolate, 4*t + 3))->Int32Value() & 0xFF) data 85 chrome/renderer/extensions/set_icon_natives.cc ((data->Get(v8::Integer::New(isolate, 4*t + 0))->Int32Value() & 0xFF) data 87 chrome/renderer/extensions/set_icon_natives.cc ((data->Get(v8::Integer::New(isolate, 4*t + 1))->Int32Value() & 0xFF) data 89 chrome/renderer/extensions/set_icon_natives.cc ((data->Get(v8::Integer::New(isolate, 4*t + 2))->Int32Value() & 0xFF) data 97 chrome/renderer/extensions/set_icon_natives.cc static_cast<const char*>(bitmap_pickle.data()), bitmap_pickle.size()); data 71 chrome/renderer/media/cast_transport_sender_ipc.cc struct media::cast::transport::SendRtcpFromRtpSenderData data; data 72 chrome/renderer/media/cast_transport_sender_ipc.cc data.packet_type_flags = packet_type_flags; data 73 chrome/renderer/media/cast_transport_sender_ipc.cc data.sending_ssrc = sending_ssrc; data 74 chrome/renderer/media/cast_transport_sender_ipc.cc data.c_name = c_name; data 77 chrome/renderer/media/cast_transport_sender_ipc.cc data, data 26 chrome/renderer/media/chrome_webrtc_log_message_delegate.cc WebRtcLoggingMessageData data(base::Time::Now(), message); data 32 chrome/renderer/media/chrome_webrtc_log_message_delegate.cc data)); data 100 chrome/renderer/mock_printer.h bool GetSource(unsigned int page, const void** data, uint32* size) const; data 101 chrome/renderer/mock_printer.h bool GetBitmap(unsigned int page, const void** data, uint32* size) const; data 266 chrome/renderer/net/net_error_helper.cc const std::string& data) { data 273 chrome/renderer/net/net_error_helper.cc data, render_frame()->GetRenderView()->GetAcceptLanguages(), data 98 chrome/renderer/net/net_error_helper.h const std::string& data); data 156 chrome/renderer/net/net_error_helper_core.cc const std::string& data, data 161 chrome/renderer/net/net_error_helper_core.cc scoped_ptr<base::Value> parsed(base::JSONReader::Read(data)); data 59 chrome/renderer/net/prescient_networking_dispatcher.cc net_predictor_.Resolve(hostname_utf8.data(), hostname_utf8.length()); data 23 chrome/renderer/net/renderer_predictor_unittest.cc #define TESTNAME(string) RendererNetPredictor::is_numeric_ip((string.data()), \ data 303 chrome/renderer/pepper/pepper_flash_renderer_host.cc const ppapi::URLRequestInfoData& data, data 320 chrome/renderer/pepper/pepper_flash_renderer_host.cc net::HttpUtil::HeadersIterator header_iter(data.headers.begin(), data 321 chrome/renderer/pepper/pepper_flash_renderer_host.cc data.headers.end(), data 358 chrome/renderer/pepper/pepper_flash_renderer_host.cc plugin_instance->Navigate(data, target.c_str(), from_user_action); data 53 chrome/renderer/pepper/pepper_flash_renderer_host.h const ppapi::URLRequestInfoData& data, data 31 chrome/renderer/prerender/prerenderer_client.cc << prerender->url().spec().data(); data 12 chrome/renderer/safe_browsing/murmurhash3_util.cc MurmurHash3_x86_32(str.data(), str.size(), seed, &output); data 78 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc text.data(), text.size(), data 170 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc HandleWord(base::StringPiece16(page_text_->data() + state_->position, data 57 chrome/renderer/safe_browsing/scorer.cc if (!model.ParseFromArray(model_str.data(), model_str.size())) { data 69 chrome/renderer/searchbox/searchbox_extension.cc reinterpret_cast<const uint16_t*>(s.data()), data 78 chrome/renderer/searchbox/searchbox_extension.cc isolate, s.data(), v8::String::kNormalString, s.size()); data 538 chrome/renderer/searchbox/searchbox_extension.cc : v8::Extension(kSearchBoxExtensionName, code.data(), 0, 0, code.size()) { data 765 chrome/renderer/searchbox/searchbox_extension.cc v8::Handle<v8::Object> data = v8::Object::New(isolate); data 766 chrome/renderer/searchbox/searchbox_extension.cc data->Set(v8::String::NewFromUtf8(isolate, "text"), data 768 chrome/renderer/searchbox/searchbox_extension.cc data->Set(v8::String::NewFromUtf8(isolate, "metadata"), data 770 chrome/renderer/searchbox/searchbox_extension.cc args.GetReturnValue().Set(data); data 88 chrome/renderer/security_filter_peer.cc void SecurityFilterPeer::OnReceivedData(const char* data, data 152 chrome/renderer/security_filter_peer.cc void BufferedPeer::OnReceivedData(const char* data, data 155 chrome/renderer/security_filter_peer.cc data_.append(data, data_length); data 180 chrome/renderer/security_filter_peer.cc original_peer_->OnReceivedData(data_.data(), data 195 chrome/renderer/security_filter_peer.cc const std::string& data) data 198 chrome/renderer/security_filter_peer.cc data_(data) { data 209 chrome/renderer/security_filter_peer.cc void ReplaceContentPeer::OnReceivedData(const char* data, data 228 chrome/renderer/security_filter_peer.cc original_peer_->OnReceivedData(data_.data(), data 45 chrome/renderer/security_filter_peer.h virtual void OnReceivedData(const char* data, data 78 chrome/renderer/security_filter_peer.h virtual void OnReceivedData(const char* data, data 118 chrome/renderer/security_filter_peer.h const std::string& data); data 124 chrome/renderer/security_filter_peer.h virtual void OnReceivedData(const char* data, data 28 chrome/renderer/spellchecker/custom_dictionary_engine_unittest.cc base::char16 data[4] = {'a', 0, 'b', 'c'}; data 29 chrome/renderer/spellchecker/custom_dictionary_engine_unittest.cc EXPECT_FALSE(CustomDictionaryEngine().SpellCheckWord(data, 1, 1)); data 68 chrome/renderer/spellchecker/hunspell_engine.cc hunspell_.reset(new Hunspell(bdict_file_->data(), bdict_file_->length())); data 245 chrome/renderer/spellchecker/spellcheck_provider.cc const base::char16* data = text.data(); data 249 chrome/renderer/spellchecker/spellcheck_provider.cc U16_NEXT(data, index, length, code); data 329 chrome/renderer/spellchecker/spellcheck_provider.cc U16_PREV(text.data(), 0, length, code); data 16 chrome/renderer/static_v8_external_string_resource.cc return buffer_.data(); data 21 chrome/renderer/static_v8_external_string_resource.h virtual const char* data() const OVERRIDE; data 682 chrome/renderer/translate/translate_helper.cc const uint8* data_ptr = s_cld_mmap_.Get().value->data() + data_offset; data 21 chrome/renderer/web_apps_unittest.cc } data[] = { data 43 chrome/renderer/web_apps_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(data); ++i) { data 47 chrome/renderer/web_apps_unittest.cc base::ASCIIToUTF16(data[i].input), &sizes, &is_any); data 48 chrome/renderer/web_apps_unittest.cc ASSERT_EQ(result, data[i].expected_result); data 50 chrome/renderer/web_apps_unittest.cc ASSERT_EQ(data[i].is_any, is_any); data 51 chrome/renderer/web_apps_unittest.cc ASSERT_EQ(data[i].expected_size_count, sizes.size()); data 53 chrome/renderer/web_apps_unittest.cc ASSERT_EQ(data[i].width1, sizes[0].width()); data 54 chrome/renderer/web_apps_unittest.cc ASSERT_EQ(data[i].height1, sizes[0].height()); data 57 chrome/renderer/web_apps_unittest.cc ASSERT_EQ(data[i].width2, sizes[1].width()); data 58 chrome/renderer/web_apps_unittest.cc ASSERT_EQ(data[i].height2, sizes[1].height()); data 171 chrome/service/cloud_print/cloud_print_connector.cc const std::string& data) { data 97 chrome/service/cloud_print/cloud_print_connector.h const std::string& data) OVERRIDE; data 555 chrome/service/cloud_print/cloud_print_proxy_backend.cc HandlePrinterNotification(notification.data); data 113 chrome/service/cloud_print/cloud_print_url_fetcher.cc const std::string& data) { data 121 chrome/service/cloud_print/cloud_print_url_fetcher.cc const std::string& data) { data 172 chrome/service/cloud_print/cloud_print_url_fetcher.cc std::string data; data 173 chrome/service/cloud_print/cloud_print_url_fetcher.cc source->GetResponseAsString(&data); data 175 chrome/service/cloud_print/cloud_print_url_fetcher.cc ReportDownloadSize(type_, data.size()); data 182 chrome/service/cloud_print/cloud_print_url_fetcher.cc data); data 195 chrome/service/cloud_print/cloud_print_url_fetcher.cc action = delegate_->HandleRawData(source, source->GetURL(), data); data 204 chrome/service/cloud_print/cloud_print_url_fetcher.cc ParseResponseJSON(data, &succeeded); data 77 chrome/service/cloud_print/cloud_print_url_fetcher.h const std::string& data); data 88 chrome/service/cloud_print/cloud_print_url_fetcher.h const std::string& data); data 102 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const std::string& data) OVERRIDE; data 155 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const std::string& data) OVERRIDE; data 160 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const std::string& data) OVERRIDE; data 189 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const std::string& data) OVERRIDE; data 205 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const std::string& data) OVERRIDE; data 237 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const std::string& data) { data 240 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc EXPECT_FALSE(data.empty()); data 251 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const std::string& data) { data 254 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc EXPECT_FALSE(data.empty()); data 270 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const std::string& data) { data 299 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const std::string& data) { data 319 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const std::string& data) { data 134 chrome/service/cloud_print/printer_job_handler.cc const std::string& data) { data 151 chrome/service/cloud_print/printer_job_handler.cc const std::string& data) { data 154 chrome/service/cloud_print/printer_job_handler.cc return (this->*next_data_handler_)(source, url, data); data 354 chrome/service/cloud_print/printer_job_handler.cc const std::string& data) { data 359 chrome/service/cloud_print/printer_job_handler.cc if (print_system_->ValidatePrintTicket(printer_info_.printer_name, data, data 363 chrome/service/cloud_print/printer_job_handler.cc job_details_.print_ticket_ = data; data 384 chrome/service/cloud_print/printer_job_handler.cc const std::string& data) { data 391 chrome/service/cloud_print/printer_job_handler.cc data.c_str(), data.length()); data 394 chrome/service/cloud_print/printer_job_handler.cc DCHECK(ret == static_cast<int>(data.length())); data 395 chrome/service/cloud_print/printer_job_handler.cc if (ret == static_cast<int>(data.length())) { data 124 chrome/service/cloud_print/printer_job_handler.h const std::string& data) OVERRIDE; data 128 chrome/service/cloud_print/printer_job_handler.h const std::string& data) OVERRIDE; data 177 chrome/service/cloud_print/printer_job_handler.h const std::string& data); data 197 chrome/service/cloud_print/printer_job_handler.h const std::string& data); data 202 chrome/service/cloud_print/printer_job_handler.h const std::string& data); data 112 chrome/test/base/v8_unit_test.cc testFixture.data(), data 117 chrome/test/base/v8_unit_test.cc testName.data(), data 213 chrome/test/base/v8_unit_test.cc script_source.data(), data 218 chrome/test/base/v8_unit_test.cc script_name.data(), data 128 chrome/test/chromedriver/chrome/devtools_http_client.cc std::string data; data 129 chrome/test/chromedriver/chrome/devtools_http_client.cc if (!FetchUrlAndLog(server_url_ + "/json", context_getter_.get(), &data)) data 132 chrome/test/chromedriver/chrome/devtools_http_client.cc return internal::ParseWebViewsInfo(data, views_info); data 146 chrome/test/chromedriver/chrome/devtools_http_client.cc std::string data; data 148 chrome/test/chromedriver/chrome/devtools_http_client.cc server_url_ + "/json/close/" + id, context_getter_.get(), &data)) { data 170 chrome/test/chromedriver/chrome/devtools_http_client.cc std::string data; data 172 chrome/test/chromedriver/chrome/devtools_http_client.cc server_url_ + "/json/activate/" + id, context_getter_.get(), &data)) data 186 chrome/test/chromedriver/chrome/devtools_http_client.cc std::string data; data 188 chrome/test/chromedriver/chrome/devtools_http_client.cc server_url_ + "/json/version", context_getter_.get(), &data)) data 191 chrome/test/chromedriver/chrome/devtools_http_client.cc return internal::ParseVersionInfo(data, version); data 288 chrome/test/chromedriver/chrome/devtools_http_client.cc Status ParseWebViewsInfo(const std::string& data, data 290 chrome/test/chromedriver/chrome/devtools_http_client.cc scoped_ptr<base::Value> value(base::JSONReader::Read(data)); data 333 chrome/test/chromedriver/chrome/devtools_http_client.cc Status ParseVersionInfo(const std::string& data, data 335 chrome/test/chromedriver/chrome/devtools_http_client.cc scoped_ptr<base::Value> value(base::JSONReader::Read(data)); data 100 chrome/test/chromedriver/chrome/devtools_http_client.h Status ParseWebViewsInfo(const std::string& data, data 102 chrome/test/chromedriver/chrome/devtools_http_client.h Status ParseVersionInfo(const std::string& data, data 75 chrome/test/chromedriver/chrome/devtools_http_client_unittest.cc std::string data = "[{\"type\": \"" + type_as_string data 77 chrome/test/chromedriver/chrome/devtools_http_client_unittest.cc Status status = internal::ParseWebViewsInfo(data, &views_info); data 84 chrome/test/chromedriver/chrome/devtools_http_client_unittest.cc void AssertFails(const std::string& data) { data 86 chrome/test/chromedriver/chrome/devtools_http_client_unittest.cc Status status = internal::ParseWebViewsInfo(data, &views_info); data 148 chrome/test/chromedriver/chrome/devtools_http_client_unittest.cc void AssertVersionFails(const std::string& data) { data 150 chrome/test/chromedriver/chrome/devtools_http_client_unittest.cc Status status = internal::ParseVersionInfo(data, &version); data 26 chrome/test/chromedriver/chrome/log.cc void TruncateString(std::string* data) { data 28 chrome/test/chromedriver/chrome/log.cc if (data->length() > kMaxLength) { data 29 chrome/test/chromedriver/chrome/log.cc data->resize(kMaxLength); data 30 chrome/test/chromedriver/chrome/log.cc data->replace(kMaxLength - 3, 3, "..."); data 38 chrome/test/chromedriver/chrome/log.cc std::string data; data 66 chrome/test/chromedriver/chrome/log.cc } else if (value->GetAsString(&data)) { data 67 chrome/test/chromedriver/chrome/log.cc TruncateString(&data); data 68 chrome/test/chromedriver/chrome/log.cc return scoped_ptr<base::Value>(new base::StringValue(data)); data 178 chrome/test/chromedriver/net/adb_client_socket.cc response_ += std::string(response_buffer->data(), result); data 427 chrome/test/chromedriver/net/adb_client_socket.cc std::string data = std::string(response_buffer->data(), result); data 429 chrome/test/chromedriver/net/adb_client_socket.cc callback.Run(net::ERR_FAILED, "Response is too short: " + data); data 433 chrome/test/chromedriver/net/adb_client_socket.cc std::string status = data.substr(0, 4); data 435 chrome/test/chromedriver/net/adb_client_socket.cc callback.Run(net::ERR_FAILED, data); data 439 chrome/test/chromedriver/net/adb_client_socket.cc data = data.substr(4); data 444 chrome/test/chromedriver/net/adb_client_socket.cc if (data.length() >= 4 && data 445 chrome/test/chromedriver/net/adb_client_socket.cc base::HexStringToInt(data.substr(0, 4), &payload_length)) { data 446 chrome/test/chromedriver/net/adb_client_socket.cc data = data.substr(4); data 451 chrome/test/chromedriver/net/adb_client_socket.cc OnResponseData(callback, data, response_buffer, bytes_left, 0); data 453 chrome/test/chromedriver/net/adb_client_socket.cc callback.Run(net::OK, data); data 470 chrome/test/chromedriver/net/adb_client_socket.cc response + std::string(response_buffer->data(), result); data 95 chrome/test/chromedriver/net/net_util_unittest.cc const std::string& data) OVERRIDE {} data 104 chrome/test/chromedriver/net/test_http_server.cc const std::string& data) { data 112 chrome/test/chromedriver/net/test_http_server.cc server_->SendOverWebSocket(connection_id, data); data 70 chrome/test/chromedriver/net/test_http_server.h const std::string& data) OVERRIDE; data 142 chrome/test/chromedriver/net/websocket.cc void WebSocket::Write(const std::string& data) { data 143 chrome/test/chromedriver/net/websocket.cc pending_write_ += data; data 196 chrome/test/chromedriver/net/websocket.cc OnReadDuringHandshake(read_buffer_->data(), code); data 198 chrome/test/chromedriver/net/websocket.cc OnReadDuringOpen(read_buffer_->data(), code); data 204 chrome/test/chromedriver/net/websocket.cc void WebSocket::OnReadDuringHandshake(const char* data, int len) { data 205 chrome/test/chromedriver/net/websocket.cc handshake_response_ += std::string(data, len); data 207 chrome/test/chromedriver/net/websocket.cc handshake_response_.data(), handshake_response_.size(), 0); data 218 chrome/test/chromedriver/net/websocket.cc handshake_response_.data(), headers_end))); data 235 chrome/test/chromedriver/net/websocket.cc void WebSocket::OnReadDuringOpen(const char* data, int len) { data 237 chrome/test/chromedriver/net/websocket.cc CHECK(parser_.Decode(data, len, &frame_chunks)); data 239 chrome/test/chromedriver/net/websocket.cc scoped_refptr<net::IOBufferWithSize> buffer = frame_chunks[i]->data; data 241 chrome/test/chromedriver/net/websocket.cc next_message_ += std::string(buffer->data(), buffer->size()); data 51 chrome/test/chromedriver/net/websocket.h void Write(const std::string& data); data 57 chrome/test/chromedriver/net/websocket.h void OnReadDuringHandshake(const char* data, int len); data 58 chrome/test/chromedriver/net/websocket.h void OnReadDuringOpen(const char* data, int len); data 71 chrome/test/chromedriver/server/chromedriver_server.cc const std::string& data) OVERRIDE {} data 611 chrome/test/chromedriver/server/http_handler.cc if (request.data.length()) { data 613 chrome/test/chromedriver/server/http_handler.cc scoped_ptr<base::Value> parsed_body(base::JSONReader::Read(request.data)); data 44 chrome/test/chromedriver/server/http_handler_unittest.cc request.data = "body"; data 88 chrome/test/chromedriver/server/http_handler_unittest.cc request.data = "should be a dictionary"; data 40 chrome/test/chromedriver/session_commands_unittest.cc std::string data; data 41 chrome/test/chromedriver/session_commands_unittest.cc ASSERT_TRUE(base::ReadFileToString(base::FilePath(path), &data)); data 42 chrome/test/chromedriver/session_commands_unittest.cc ASSERT_STREQ("COW\n", data.c_str()); data 107 chrome/test/chromedriver/util.cc void WriteUInt16(uint16 data) { data 108 chrome/test/chromedriver/util.cc WriteBytes(&data, sizeof(data)); data 111 chrome/test/chromedriver/util.cc void WriteUInt32(uint32 data) { data 112 chrome/test/chromedriver/util.cc WriteBytes(&data, sizeof(data)); data 115 chrome/test/chromedriver/util.cc void WriteString(const std::string& data) { data 116 chrome/test/chromedriver/util.cc WriteBytes(data.c_str(), data.length()); data 136 chrome/test/chromedriver/util.cc DataInputStream(const char* data, int size) data 137 chrome/test/chromedriver/util.cc : data_(data), size_(size), iter_(0) {} data 140 chrome/test/chromedriver/util.cc bool ReadUInt16(uint16* data) { data 141 chrome/test/chromedriver/util.cc return ReadBytes(data, sizeof(*data)); data 144 chrome/test/chromedriver/util.cc bool ReadUInt32(uint32* data) { data 145 chrome/test/chromedriver/util.cc return ReadBytes(data, sizeof(*data)); data 148 chrome/test/chromedriver/util.cc bool ReadString(std::string* data, int length) { data 154 chrome/test/chromedriver/util.cc data->resize(length); data 157 chrome/test/chromedriver/util.cc return ReadBytes(&(*data)[0], length); data 18 chrome/test/chromedriver/util_unittest.cc std::string data; data 24 chrome/test/chromedriver/util_unittest.cc ASSERT_TRUE(base::Base64Decode(kBase64ZipEntry, &data)); data 26 chrome/test/chromedriver/util_unittest.cc Status status = UnzipSoleFile(temp_dir.path(), data, &file); data 36 chrome/test/chromedriver/util_unittest.cc std::string data; data 43 chrome/test/chromedriver/util_unittest.cc ASSERT_TRUE(base::Base64Decode(kBase64ZipArchive, &data)); data 45 chrome/test/chromedriver/util_unittest.cc Status status = UnzipSoleFile(temp_dir.path(), data, &file); data 766 chrome/test/data/dromaeo/JSON.php function isError($data, $code = null) data 769 chrome/test/data/dromaeo/JSON.php return PEAR::isError($data, $code); data 770 chrome/test/data/dromaeo/JSON.php } elseif (is_object($data) && (get_class($data) == 'services_json_error' || data 771 chrome/test/data/dromaeo/JSON.php is_subclass_of($data, 'services_json_error'))) { data 47 chrome/test/data/dromaeo/store.php $data = mysql_fetch_assoc($query); data 56 chrome/test/data/dromaeo/store.php $data['results'] = $results; data 57 chrome/test/data/dromaeo/store.php $data['ip'] = ''; data 59 chrome/test/data/dromaeo/store.php array_push($sets, $data); data 64 chrome/test/data/dromaeo/store.php $data = $json->decode(str_replace('\\"', '"', $_REQUEST['data'])); data 66 chrome/test/data/dromaeo/store.php if ( $data ) { data 74 chrome/test/data/dromaeo/store.php foreach ($data as $row) { data 23 chrome/test/data/nacl/ppapi/ppb_core/ppapi_ppb_core.cc void EmptyCompletionCallback(void* data, int32_t /*result*/) { data 24 chrome/test/data/nacl/ppapi/ppb_core/ppapi_ppb_core.cc CHECK(data == NULL); data 53 chrome/test/data/nacl/ppapi/ppb_core/ppapi_ppb_core.cc void ThreadStressCompletionCallback(void* data, int32_t result) { data 55 chrome/test/data/nacl/ppapi/ppb_core/ppapi_ppb_core.cc StressData* stress = reinterpret_cast<StressData*>(data); data 69 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp std::string BMPtoUTF8(PRArenaPool* arena, unsigned char* data, data 76 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp if (!PORT_UCS2_UTF8Conversion(PR_FALSE, data, len, data 87 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp od.oid.data = buffer; data 103 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp std::string ProcessRawBytes(SECItem* data) { data 104 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp return x509_certificate_model::ProcessRawBytes(data->data, data->len); data 410 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp std::string value(reinterpret_cast<char*>(decode_item->data), data 482 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp value = std::string(reinterpret_cast<char*>(decoded.data), data 495 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp unsigned char* d = guid.data; data 512 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp value = std::string(reinterpret_cast<char*>(current->name.other.data), data 517 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp value = std::string(reinterpret_cast<char*>(current->name.other.data), data 535 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp value = std::string(reinterpret_cast<char*>(current->name.other.data), data 542 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp current->name.other.data, data 543 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp current->name.other.data + current->name.other.len); data 657 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp reinterpret_cast<char*>(notice->noticeReference.organization.data), data 685 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp rv += std::string(reinterpret_cast<char*>(notice->displayText.data), data 804 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp if (point->reasons.data[0] & reason_string_map[i].reason) { data 863 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp std::string rv((char*)item.data, item.len); // ASCII data. data 864 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp PORT_Free(item.data); data 877 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp rv = BMPtoUTF8(arena.get(), item.data, item.len); data 893 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp bits |= bitfield->data[i] << (i * 8); data 910 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp decoded.data = NULL; data 916 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp PORT_Free(decoded.data); data 1047 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp spki->subjectPublicKey.data, spki->subjectPublicKey.len); data 35 chrome/tools/convert_dict/convert_dict.cc if (!reader.Init(reinterpret_cast<const unsigned char*>(serialized.data()), data 28 chrome/tools/convert_dict/convert_dict_unittest.cc reader.Init(reinterpret_cast<const unsigned char*>(serialized.data()), data 119 chrome/tools/convert_dict/convert_dict_unittest.cc EXPECT_TRUE(hunspell::BDict::Verify(bdict_data.data(), bdict_data.size())); data 125 chrome/tools/convert_dict/convert_dict_unittest.cc EXPECT_FALSE(hunspell::BDict::Verify(bdict_data.data(), data 104 chrome/tools/profile_reset/jtl_compiler_frontend.cc bytecode.data(), data 49 chrome/tools/safe_browsing/sb_sigutil.cc serialized_info.data(), data 694 chrome/utility/chrome_content_utility_client.cc std::string data(info.size, 0); data 695 chrome/utility/chrome_content_utility_client.cc int data_size = base::ReadPlatformFile(pdf_file, 0, &data[0], data.size()); data 696 chrome/utility/chrome_content_utility_client.cc if (data_size != static_cast<int>(data.size())) data 700 chrome/utility/chrome_content_utility_client.cc if (!g_pdf_lib.Get().GetPDFDocInfo(data.data(), data.size(), data 709 chrome/utility/chrome_content_utility_client.cc pwg_header.data(), data 731 chrome/utility/chrome_content_utility_client.cc if (!g_pdf_lib.Get().RenderPDFPageToBitmap(data.data(), data 732 chrome/utility/chrome_content_utility_client.cc data.size(), data 747 chrome/utility/chrome_content_utility_client.cc pwg_page.data(), data 57 chrome/utility/extensions/unpacker.cc const unsigned char* data = data 58 chrome/utility/extensions/unpacker.cc reinterpret_cast<const unsigned char*>(file_contents.data()); data 59 chrome/utility/extensions/unpacker.cc SkBitmap bitmap = content::DecodeImage(data, data 90 chrome/utility/extensions/unpacker.cc const char* data = static_cast<const char*>(pickle.data()); data 91 chrome/utility/extensions/unpacker.cc int bytes_written = base::WriteFile(dest_path, data, size); data 64 chrome/utility/importer/bookmark_html_reader.cc std::string mime_type, char_set, data; data 65 chrome/utility/importer/bookmark_html_reader.cc if (!net::DataURL::Parse(favicon_data, &mime_type, &char_set, &data) || data 66 chrome/utility/importer/bookmark_html_reader.cc data.empty()) data 71 chrome/utility/importer/bookmark_html_reader.cc reinterpret_cast<const unsigned char*>(&data[0]), data 72 chrome/utility/importer/bookmark_html_reader.cc data.size(), &usage.png_data)) data 607 chrome/utility/importer/firefox_importer.cc std::vector<unsigned char> data; data 608 chrome/utility/importer/firefox_importer.cc s.ColumnBlobAsVector(1, &data); data 609 chrome/utility/importer/firefox_importer.cc if (data.empty()) data 612 chrome/utility/importer/firefox_importer.cc if (!importer::ReencodeFavicon(&data[0], data.size(), &usage.png_data)) data 62 chrome/utility/importer/ie_importer_win.cc std::vector<base::string16> data; data 82 chrome/utility/importer/ie_importer_win.cc bool BinaryRead(T* data, size_t offset, const std::vector<uint8>& blob) { data 85 chrome/utility/importer/ie_importer_win.cc memcpy(data, &blob[offset], sizeof(T)); data 324 chrome/utility/importer/ie_importer_win.cc std::string* data) { data 326 chrome/utility/importer/ie_importer_win.cc base::FilePath(file + kFaviconStreamName), data); data 331 chrome/utility/importer/ie_importer_win.cc bool ReadFaviconDataFromCache(const GURL& favicon_url, std::string* data) { data 346 chrome/utility/importer/ie_importer_win.cc return base::ReadFileToString(base::FilePath(cache->lpszLocalFileName), data); data 354 chrome/utility/importer/ie_importer_win.cc std::vector<unsigned char>* data) { data 363 chrome/utility/importer/ie_importer_win.cc return importer::ReencodeFavicon(ptr, image_data.size(), data); data 577 chrome/utility/importer/ie_importer_win.cc base::string16 data; data 578 chrome/utility/importer/ie_importer_win.cc data.insert(0, reinterpret_cast<wchar_t*>(buffer), data 588 chrome/utility/importer/ie_importer_win.cc base::SplitString(data, L'\0', &ac_list[ac_list.size() - 1].data); data 601 chrome/utility/importer/ie_importer_win.cc if (!ac_list[i].is_url || ac_list[i].data.size() < 2) data 617 chrome/utility/importer/ie_importer_win.cc form.username_value = ac_list[i].data[0]; data 618 chrome/utility/importer/ie_importer_win.cc form.password_value = ac_list[i].data[1]; data 635 chrome/utility/importer/ie_importer_win.cc for (item_it = 0; item_it < ac_list[list_it].data.size(); ++item_it) data 636 chrome/utility/importer/ie_importer_win.cc if (ac_list[list_it].data[item_it] == form.username_value) { data 83 chrome/utility/importer/nss_decryptor.cc request.data = reinterpret_cast<unsigned char*>( data 84 chrome/utility/importer/nss_decryptor.cc const_cast<char*>(decoded_data.data())); data 87 chrome/utility/importer/nss_decryptor.cc reply.data = NULL; data 95 chrome/utility/importer/nss_decryptor.cc plain.assign(reinterpret_cast<char*>(reply.data), reply.len); data 79 chrome/utility/importer/nss_decryptor_mac.h unsigned char *data; data 105 chrome/utility/importer/nss_decryptor_mac.h (*PK11SDRDecryptFunc)(SECItem *data, SECItem *result, void *cx); data 91 chrome/utility/importer/nss_decryptor_system_nss.cc SECItem data; data 100 chrome/utility/importer/nss_decryptor_system_nss.cc { SEC_ASN1_OCTET_STRING, offsetof(SDRResult, data) }, data 105 chrome/utility/importer/nss_decryptor_system_nss.cc unpadBlock(SECItem *data, int blockSize, SECItem *result) data 111 chrome/utility/importer/nss_decryptor_system_nss.cc result->data = 0; data 115 chrome/utility/importer/nss_decryptor_system_nss.cc if (data->len == 0 || data->len % blockSize != 0) { data 120 chrome/utility/importer/nss_decryptor_system_nss.cc padLength = data->data[data->len-1]; data 124 chrome/utility/importer/nss_decryptor_system_nss.cc for (i=data->len - padLength; static_cast<uint32>(i) < data->len; i++) { data 125 chrome/utility/importer/nss_decryptor_system_nss.cc if (data->data[i] != padLength) { data 131 chrome/utility/importer/nss_decryptor_system_nss.cc result->len = data->len - padLength; data 132 chrome/utility/importer/nss_decryptor_system_nss.cc result->data = (unsigned char *)PORT_Alloc(result->len); data 133 chrome/utility/importer/nss_decryptor_system_nss.cc if (!result->data) { rv = SECFailure; goto loser; } data 135 chrome/utility/importer/nss_decryptor_system_nss.cc PORT_Memcpy(result->data, data->data, result->len); data 156 chrome/utility/importer/nss_decryptor_system_nss.cc paddedResult.data = 0; data 162 chrome/utility/importer/nss_decryptor_system_nss.cc paddedResult.data = static_cast<unsigned char*>( data 165 chrome/utility/importer/nss_decryptor_system_nss.cc rv = PK11_CipherOp(ctx, paddedResult.data, data 167 chrome/utility/importer/nss_decryptor_system_nss.cc in->data, in->len); data 182 chrome/utility/importer/nss_decryptor_system_nss.cc PK11SlotInfo* slot, SECItem* data, SECItem* result, void* cx) const { data 196 chrome/utility/importer/nss_decryptor_system_nss.cc rv = SEC_QuickDERDecodeItem(arena, &sdrResult, g_template, data); data 210 chrome/utility/importer/nss_decryptor_system_nss.cc &sdrResult.data, result); data 233 chrome/utility/importer/nss_decryptor_system_nss.cc &sdrResult.data, result); data 239 chrome/utility/importer/nss_decryptor_system_nss.cc if (possibleResult.data) { data 259 chrome/utility/importer/nss_decryptor_system_nss.cc if ((rv != SECSuccess) && (possibleResult.data)) { data 261 chrome/utility/importer/nss_decryptor_system_nss.cc possibleResult.data = NULL; data 269 chrome/utility/importer/nss_decryptor_system_nss.cc if (possibleResult.data) SECITEM_ZfreeItem(&possibleResult, PR_FALSE); data 54 chrome/utility/importer/nss_decryptor_system_nss.h PK11SlotInfo* slot, SECItem* data, SECItem* result, void* cx) const; data 76 chrome/utility/importer/nss_decryptor_win.h unsigned char *data; data 102 chrome/utility/importer/nss_decryptor_win.h (*PK11SDRDecryptFunc)(SECItem *data, SECItem *result, void *cx); data 29 chrome/utility/media_galleries/ipc_data_source.cc void IPCDataSource::Read(int64 position, int size, uint8* data, data 35 chrome/utility/media_galleries/ipc_data_source.cc position, size, data, read_cb)); data 71 chrome/utility/media_galleries/ipc_data_source.cc void IPCDataSource::ReadOnUtilityThread(int64 position, int size, uint8* data, data 86 chrome/utility/media_galleries/ipc_data_source.cc request.destination = data; data 36 chrome/utility/media_galleries/ipc_data_source.h virtual void Read(int64 position, int size, uint8* data, data 54 chrome/utility/media_galleries/ipc_data_source.h void ReadOnUtilityThread(int64 position, int size, uint8* data, data 77 chrome/utility/media_galleries/itunes_library_parser.cc base::string16 location(decoded_location.data(), data 80 chrome/utility/media_galleries/itunes_library_parser.cc base::string16 location16(decoded_location.data(), data 48 chrome/utility/media_galleries/itunes_pref_parser_win.cc std::string data; data 50 chrome/utility/media_galleries/itunes_pref_parser_win.cc &data)) data 53 chrome/utility/media_galleries/itunes_pref_parser_win.cc reinterpret_cast<const wchar_t*>(data.data()), data.size() / 2); data 22 chrome/utility/media_galleries/pmp_column_reader_unittest.cc const std::vector<char>& data, data 33 chrome/utility/media_galleries/pmp_column_reader_unittest.cc size_t bytes_written = base::WriteFile(temp_path, &data[0], data.size()); data 34 chrome/utility/media_galleries/pmp_column_reader_unittest.cc if (bytes_written != data.size()) data 70 chrome/utility/media_galleries/pmp_column_reader_unittest.cc std::vector<char> data = data 72 chrome/utility/media_galleries/pmp_column_reader_unittest.cc ASSERT_TRUE(InitColumnReaderFromBytes(&reader, data, field_type)); data 120 chrome/utility/media_galleries/pmp_column_reader_unittest.cc std::vector<T> data(n, 0); data 122 chrome/utility/media_galleries/pmp_column_reader_unittest.cc data[i] = i*3; data 125 chrome/utility/media_galleries/pmp_column_reader_unittest.cc TestValid<T>(field_type, data); data 126 chrome/utility/media_galleries/pmp_column_reader_unittest.cc TestMalformed<T>(field_type, data); data 215 chrome_elf/create_file/chrome_create_file.cc if (g_nt_thunk_storage.data[0] != 0) { data 9 chrome_elf/dll_hash/dll_hash.cc uint32 data = base::Hash(dll_name); data 13 chrome_elf/dll_hash/dll_hash.cc return static_cast<int>(data & 0x7fffffff); data 44 chrome_elf/elf_imports_unittest.cc reinterpret_cast<HMODULE>(const_cast<uint8*>(module_mmap.data()))); data 92 chromeos/accelerometer/accelerometer_reader.cc &(configuration->data.base_scale))) { data 96 chromeos/accelerometer/accelerometer_reader.cc &(configuration->data.lid_scale))) { data 117 chromeos/accelerometer/accelerometer_reader.cc configuration->data.index.push_back(index); data 135 chromeos/accelerometer/accelerometer_reader.cc reading->data, kTriggerDataLength); data 197 chromeos/accelerometer/accelerometer_reader.cc int16* values = reinterpret_cast<int16*>(reading->data); data 198 chromeos/accelerometer/accelerometer_reader.cc base_reading.set_x(values[configuration_->data.index[0]]); data 199 chromeos/accelerometer/accelerometer_reader.cc base_reading.set_y(values[configuration_->data.index[1]]); data 200 chromeos/accelerometer/accelerometer_reader.cc base_reading.set_z(values[configuration_->data.index[2]]); data 201 chromeos/accelerometer/accelerometer_reader.cc base_reading.Scale(1.0f / configuration_->data.base_scale); data 203 chromeos/accelerometer/accelerometer_reader.cc lid_reading.set_x(values[configuration_->data.index[3]]); data 204 chromeos/accelerometer/accelerometer_reader.cc lid_reading.set_y(values[configuration_->data.index[4]]); data 205 chromeos/accelerometer/accelerometer_reader.cc lid_reading.set_z(values[configuration_->data.index[5]]); data 206 chromeos/accelerometer/accelerometer_reader.cc lid_reading.Scale(1.0f / configuration_->data.lid_scale); data 45 chromeos/attestation/attestation_flow.cc const std::string& data) { data 53 chromeos/attestation/attestation_flow.cc callback.Run(result, data); data 139 chromeos/attestation/attestation_flow.cc const std::string& data) { data 149 chromeos/attestation/attestation_flow.cc data, data 160 chromeos/attestation/attestation_flow.cc const std::string& data) { data 171 chromeos/attestation/attestation_flow.cc data, data 252 chromeos/attestation/attestation_flow.cc const std::string& data) { data 262 chromeos/attestation/attestation_flow.cc data, data 277 chromeos/attestation/attestation_flow.cc const std::string& data) { data 286 chromeos/attestation/attestation_flow.cc async_caller_->AsyncTpmAttestationFinishCertRequest(data, data 35 chromeos/attestation/attestation_flow.h const std::string& data)> DataCallback; data 111 chromeos/attestation/attestation_flow.h const std::string& data); data 125 chromeos/attestation/attestation_flow.h const std::string& data); data 173 chromeos/attestation/attestation_flow.h const std::string& data); data 191 chromeos/attestation/attestation_flow.h const std::string& data); data 50 chromeos/attestation/attestation_flow_unittest.cc explicit FakeDBusData(const std::string& data) : data_(data) {} data 139 chromeos/cert_loader.cc pkcs11_id = base::HexEncode(sec_item->data, sec_item->len); data 38 chromeos/cryptohome/async_method_caller.h typedef base::Callback<void(bool success, const std::string& data)> data 45 chromeos/cryptohome/cryptohome_util.cc value->assign(reinterpret_cast<char*>(buf.data()), buf.size() - 1); data 23 chromeos/cryptohome/homedir_methods.cc KeyData* data = key->mutable_data(); data 24 chromeos/cryptohome/homedir_methods.cc data->set_label(key_def.label); data 27 chromeos/cryptohome/homedir_methods.cc data->set_revision(key_def.revision); data 30 chromeos/cryptohome/homedir_methods.cc KeyPrivileges* privileges = data->mutable_privileges(); data 42 chromeos/cryptohome/homedir_methods.cc KeyAuthorizationData* auth_data = data->add_authorization_data(); data 98 chromeos/cryptohome/system_salt_getter.cc reinterpret_cast<const void*>(salt.data()), salt.size())); data 112 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc variant_writer.AppendArrayOfBytes(value.data(), value.size()); data 364 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc variant_writer.AppendArrayOfBytes(value.data(), value.size()); data 387 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc variant_writer.AppendArrayOfBytes(value.data(), value.size()); data 109 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc variant_writer.AppendArrayOfBytes(value.data(), value.size()); data 361 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc variant_writer.AppendArrayOfBytes(value.data(), value.size()); data 384 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc variant_writer.AppendArrayOfBytes(value.data(), value.size()); data 489 chromeos/dbus/cros_disks_client.cc dummy_file_path, dummy_file_content.data(), dummy_file_content.size()); data 379 chromeos/dbus/cryptohome_client.cc writer.AppendArrayOfBytes(value.data(), value.size()); data 461 chromeos/dbus/cryptohome_client.cc reinterpret_cast<const uint8*>(pca_response.data()), data 502 chromeos/dbus/cryptohome_client.cc reinterpret_cast<const uint8*>(pca_response.data()), data 610 chromeos/dbus/cryptohome_client.cc writer.AppendArrayOfBytes(reinterpret_cast<const uint8*>(device_id.data()), data 615 chromeos/dbus/cryptohome_client.cc writer.AppendArrayOfBytes(reinterpret_cast<const uint8*>(challenge.data()), data 638 chromeos/dbus/cryptohome_client.cc writer.AppendArrayOfBytes(reinterpret_cast<const uint8*>(challenge.data()), data 681 chromeos/dbus/cryptohome_client.cc writer.AppendArrayOfBytes(reinterpret_cast<const uint8*>(payload.data()), data 947 chromeos/dbus/cryptohome_client.cc std::string data(reinterpret_cast<const char*>(data_buffer), data_length); data 948 chromeos/dbus/cryptohome_client.cc callback.Run(DBUS_METHOD_CALL_SUCCESS, result, data); data 46 chromeos/dbus/cryptohome_client.h const std::string& data)> data 73 chromeos/dbus/cryptohome_client.h const std::string& data)> DataMethodCallback; data 417 chromeos/dbus/debug_daemon_client.cc std::vector<uint8> data; data 430 chromeos/dbus/debug_daemon_client.cc data.insert(data.end(), buffer, buffer + buf_size); data 432 chromeos/dbus/debug_daemon_client.cc callback.Run(data); data 87 chromeos/dbus/debug_daemon_client.h typedef base::Callback<void(const std::vector<uint8>& data)> data 76 chromeos/dbus/fake_debug_daemon_client.cc std::vector<uint8> data; data 77 chromeos/dbus/fake_debug_daemon_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind(callback, data)); data 321 chromeos/dbus/fake_shill_manager_client.cc const std::string& data, data 74 chromeos/dbus/fake_shill_manager_client.h const std::string& data, data 63 chromeos/dbus/mock_shill_manager_client.h const std::string& data, data 66 chromeos/dbus/pipe_reader.cc AcceptData(io_buffer_->data(), byte_count); data 81 chromeos/dbus/pipe_reader.cc void PipeReaderForString::AcceptData(const char *data, int byte_count) { data 82 chromeos/dbus/pipe_reader.cc data_.append(data, byte_count); data 86 chromeos/dbus/pipe_reader.cc void PipeReaderForString::GetData(std::string* data) { data 87 chromeos/dbus/pipe_reader.cc data_.swap(*data); data 49 chromeos/dbus/pipe_reader.h virtual void AcceptData(const char *data, int length) = 0; data 72 chromeos/dbus/pipe_reader.h virtual void AcceptData(const char *data, int length) OVERRIDE; data 75 chromeos/dbus/pipe_reader.h void GetData(std::string* data); data 192 chromeos/dbus/session_manager_client.cc reinterpret_cast<const uint8*>(policy_blob.data()), policy_blob.size()); data 316 chromeos/dbus/session_manager_client.cc reinterpret_cast<const uint8*>(policy_blob.data()), policy_blob.size()); data 605 chromeos/dbus/session_manager_client.cc const std::string& data) { data 606 chromeos/dbus/session_manager_client.cc const int size = static_cast<int>(data.size()); data 608 chromeos/dbus/session_manager_client.cc base::WriteFile(path, data.data(), size) != size) { data 185 chromeos/dbus/shill_manager_client.cc const std::string& data, data 198 chromeos/dbus/shill_manager_client.cc writer.AppendString(data); data 213 chromeos/dbus/shill_manager_client.h const std::string& data, data 92 chromeos/network/network_cert_migrator_unittest.cc der_encoded.data(), der_encoded.size(), kNSSNickname); data 19 chromeos/network/onc/onc_normalizer_unittest.cc scoped_ptr<const base::DictionaryValue> data( data 24 chromeos/network/onc/onc_normalizer_unittest.cc data->GetDictionary("ethernet-and-vpn", &original); data 25 chromeos/network/onc/onc_normalizer_unittest.cc data->GetDictionary("ethernet-and-vpn-normalized", &expected_normalized); data 302 chromeos/network/onc/onc_utils.cc decoded = pem_tokenizer.data(); data 451 chromeos/network/onc/onc_utils.cc net::X509Certificate::CreateFromBytes(decoded.data(), decoded.size()); data 47 chromeos/process_proxy/process_output_watcher_unittest.cc bool CheckExpectations(const std::string& data, ProcessOutputType type) { data 57 chromeos/process_proxy/process_output_watcher_unittest.cc out_expectations_.find(data, received_from_out_)); data 59 chromeos/process_proxy/process_output_watcher_unittest.cc received_from_out_ += data.length(); data 109 chromeos/process_proxy/process_proxy_registry.cc bool ProcessProxyRegistry::SendInput(pid_t pid, const std::string& data) { data 115 chromeos/process_proxy/process_proxy_registry.cc return it->second.proxy->Write(data); data 142 chromeos/process_proxy/process_proxy_registry.cc ProcessOutputType type, const std::string& data) { data 151 chromeos/process_proxy/process_proxy_registry.cc it->second.callback.Run(pid, std::string(type_str), data); data 47 chromeos/process_proxy/process_proxy_registry.h bool SendInput(pid_t pid, const std::string& data); data 65 chromeos/process_proxy/process_proxy_registry.h const std::string& data); data 130 cloud_print/gcp20/prototype/cloud_print_requester.cc std::string data; data 135 cloud_print/gcp20/prototype/cloud_print_requester.cc std::string(), &data); data 137 cloud_print/gcp20/prototype/cloud_print_requester.cc std::string(), &data); data 139 cloud_print/gcp20/prototype/cloud_print_requester.cc std::string(), &data); data 141 cloud_print/gcp20/prototype/cloud_print_requester.cc std::string(), &data); data 143 cloud_print/gcp20/prototype/cloud_print_requester.cc "application/json", &data); data 145 cloud_print/gcp20/prototype/cloud_print_requester.cc mime_boundary, std::string(), &data); data 147 cloud_print/gcp20/prototype/cloud_print_requester.cc mime_boundary, std::string(), &data); data 149 cloud_print/gcp20/prototype/cloud_print_requester.cc mime_boundary, std::string(), &data); data 152 cloud_print/gcp20/prototype/cloud_print_requester.cc mime_boundary, std::string(), &data); data 155 cloud_print/gcp20/prototype/cloud_print_requester.cc mime_boundary, std::string(), &data); data 158 cloud_print/gcp20/prototype/cloud_print_requester.cc mime_boundary, std::string(), &data); data 161 cloud_print/gcp20/prototype/cloud_print_requester.cc mime_boundary, std::string(), &data); data 164 cloud_print/gcp20/prototype/cloud_print_requester.cc mime_boundary, std::string(), &data); data 167 cloud_print/gcp20/prototype/cloud_print_requester.cc mime_boundary, std::string(), &data); data 170 cloud_print/gcp20/prototype/cloud_print_requester.cc mime_boundary, std::string(), &data); data 171 cloud_print/gcp20/prototype/cloud_print_requester.cc net::AddMultipartFinalDelimiterForUpload(mime_boundary, &data); data 175 cloud_print/gcp20/prototype/cloud_print_requester.cc data, data 242 cloud_print/gcp20/prototype/cloud_print_requester.cc std::string data = base::StringPrintf( data 249 cloud_print/gcp20/prototype/cloud_print_requester.cc data, data_mimetype, data 111 cloud_print/gcp20/prototype/cloud_print_xmpp_listener.cc TokenizeXmppMessage(notification.data, &device_id, &path); data 120 cloud_print/gcp20/prototype/cloud_print_xmpp_listener.cc LOG(ERROR) << "Cannot parse XMPP notification: " << notification.data; data 64 cloud_print/gcp20/prototype/dns_response_builder.cc base::BigEndianWriter writer(reinterpret_cast<char*>(rdata.data()), data 69 cloud_print/gcp20/prototype/dns_response_builder.cc writer.WriteBytes(domain_name.data(), domain_name.size()); data 140 cloud_print/gcp20/prototype/dns_response_builder.cc base::BigEndianWriter writer(message->data(), message->size()); data 156 cloud_print/gcp20/prototype/dns_response_builder.cc success = writer.WriteBytes(name_in_dns_format.data(), data 162 cloud_print/gcp20/prototype/dns_response_builder.cc writer.WriteBytes(iter->rdata.data(), iter->rdata.size()); data 154 cloud_print/gcp20/prototype/dns_sd_server.cc DnsPacketParser parser(buf->data(), len); data 44 cloud_print/gcp20/prototype/print_job_handler.cc : data(job), data 50 cloud_print/gcp20/prototype/print_job_handler.cc LocalPrintJob data; data 173 cloud_print/gcp20/prototype/print_job_handler.cc if (!SavePrintJob(current_job->second.data.content, data 177 cloud_print/gcp20/prototype/print_job_handler.cc current_job->second.data.job_name, file_extension)) { data 239 cloud_print/gcp20/prototype/print_job_handler.cc ticket.data(), data 248 cloud_print/gcp20/prototype/print_job_handler.cc content.data(), static_cast<int>(content.size())); data 78 cloud_print/gcp20/prototype/printer_state.cc return (base::WriteFile(path, json_str.data(), size) == size); data 168 cloud_print/gcp20/prototype/privet_http_server.cc const std::string& data) { data 215 cloud_print/gcp20/prototype/privet_http_server.cc json_response = ProcessCreateJob(url, info.data, &status_code); data 342 cloud_print/gcp20/prototype/privet_http_server.cc job.content = info.data; data 151 cloud_print/gcp20/prototype/privet_http_server.h const std::string& data) OVERRIDE; data 30 cloud_print/gcp20/prototype/x_privet_token_unittest.cc base::HexEncode(sha1_val.data(), sha1_val.size()).c_str()); data 68 cloud_print/service/service_state.cc data_.append(buf->data(), buf->data() + num_bytes); data 102 cloud_print/service/service_state.cc scoped_ptr<base::Value> data(base::JSONReader::Read(json)); data 103 cloud_print/service/service_state.cc if (!data.get()) data 107 cloud_print/service/service_state.cc if (!data->GetAsDictionary(&services)) data 203 cloud_print/service/service_state.cc Tokenize(fetcher_delegate.data(), "\r\n", &lines); data 188 cloud_print/virtual_driver/win/install/setup.cc UINT CALLBACK CabinetCallback(PVOID data, data 193 cloud_print/virtual_driver/win/install/setup.cc reinterpret_cast<const base::FilePath*>(data)); data 284 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::string16 data; data 285 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc if (SUCCEEDED(gcp_key.ReadValue(path_name, &data)) && data 286 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::PathExists(base::FilePath(data))) { data 287 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc return base::FilePath(data); data 95 components/autofill/content/browser/content_autofill_driver.cc const FormData& data) { data 102 components/autofill/content/browser/content_autofill_driver.cc new AutofillMsg_FillForm(host->GetRoutingID(), query_id, data)); data 106 components/autofill/content/browser/content_autofill_driver.cc new AutofillMsg_PreviewForm(host->GetRoutingID(), query_id, data)); data 52 components/autofill/content/browser/content_autofill_driver.h const FormData& data) OVERRIDE; data 553 components/autofill/content/browser/wallet/wallet_client.cc std::string data; data 554 components/autofill/content/browser/wallet/wallet_client.cc source->GetResponseAsString(&data); data 555 components/autofill/content/browser/wallet/wallet_client.cc DVLOG(1) << "Response body: " << data; data 573 components/autofill/content/browser/wallet/wallet_client.cc scoped_ptr<base::Value> message_value(base::JSONReader::Read(data)); data 151 components/autofill/content/browser/wallet/wallet_signin_helper.cc std::string data; data 152 components/autofill/content/browser/wallet/wallet_signin_helper.cc if (!fetcher->GetResponseAsString(&data)) { data 158 components/autofill/content/browser/wallet/wallet_signin_helper.cc if (!LowerCaseEqualsASCII(data, "yes")) { data 67 components/autofill/content/common/autofill_messages.h IPC_STRUCT_TRAITS_MEMBER(data) data 471 components/autofill/content/renderer/form_autofill_util.cc const FormData& data, data 479 components/autofill/content/renderer/form_autofill_util.cc if (control_elements.size() != data.fields.size()) { data 494 components/autofill/content/renderer/form_autofill_util.cc if (base::string16(element->nameForAutofill()) != data.fields[i].name) { data 520 components/autofill/content/renderer/form_autofill_util.cc callback(data.fields[i], is_initiating_element, element); data 526 components/autofill/content/renderer/form_autofill_util.cc void FillFormField(const FormFieldData& data, data 530 components/autofill/content/renderer/form_autofill_util.cc if (data.value.empty()) data 537 components/autofill/content/renderer/form_autofill_util.cc input_element->setChecked(data.is_checked, true); data 539 components/autofill/content/renderer/form_autofill_util.cc base::string16 value = data.value; data 560 components/autofill/content/renderer/form_autofill_util.cc void PreviewFormField(const FormFieldData& data, data 564 components/autofill/content/renderer/form_autofill_util.cc if (data.value.empty()) data 575 components/autofill/content/renderer/form_autofill_util.cc data.value.substr(0, input_element->maxLength())); data 578 components/autofill/content/renderer/form_autofill_util.cc field->setSuggestedValue(data.value); data 235 components/autofill/content/renderer/form_cache.cc DCHECK_EQ(form.data.fields.size(), form.fields.size()); data 258 components/autofill/content/renderer/form_cache.cc if (element_name == form.data.name && action == form.data.action) { data 281 components/autofill/content/renderer/form_cache.cc form.data.fields[i].name) { data 60 components/autofill/content/renderer/password_autofill_agent.cc const FormData& data, data 65 components/autofill/content/renderer/password_autofill_agent.cc for (size_t j = 0; j < data.fields.size(); j++) { data 67 components/autofill/content/renderer/password_autofill_agent.cc fe->getNamedElements(data.fields[j].name, temp_elements); data 88 components/autofill/content/renderer/password_autofill_agent.cc (data.fields[j].form_control_type == "password")) data 96 components/autofill/content/renderer/password_autofill_agent.cc result->input_elements[data.fields[j].name] = input_element; data 115 components/autofill/content/renderer/password_autofill_agent.cc const FormData& data, data 134 components/autofill/content/renderer/password_autofill_agent.cc if (data.origin != full_origin.ReplaceComponents(rep)) data 150 components/autofill/content/renderer/password_autofill_agent.cc if (data.action != full_action.ReplaceComponents(rep)) data 154 components/autofill/content/renderer/password_autofill_agent.cc if (!FindFormInputElements(&fe, data, curr_elements.get())) data 30 components/autofill/content/renderer/password_form_conversion_utils.cc web_password_form.possibleUserNames.data(), data 31 components/autofill/content/renderer/password_form_conversion_utils.cc web_password_form.possibleUserNames.data() + data 816 components/autofill/core/browser/autofill_country.cc CountryData data = { data 820 components/autofill/core/browser/autofill_country.cc country_data_.insert(std::make_pair(country_code, data)); data 1049 components/autofill/core/browser/autofill_country.cc const CountryData& data = result->second; data 1053 components/autofill/core/browser/autofill_country.cc postal_code_label_ = l10n_util::GetStringUTF16(data.postal_code_label_id); data 1054 components/autofill/core/browser/autofill_country.cc state_label_ = l10n_util::GetStringUTF16(data.state_label_id); data 1055 components/autofill/core/browser/autofill_country.cc address_required_fields_ = data.address_required_fields; data 207 components/autofill/core/browser/autofill_download.cc std::pair<std::string, std::string> data = *it; data 209 components/autofill/core/browser/autofill_download.cc cached_forms_.push_front(data); data 213 components/autofill/core/browser/autofill_download.cc std::pair<std::string, std::string> data; data 214 components/autofill/core/browser/autofill_download.cc data.first = signature; data 215 components/autofill/core/browser/autofill_download.cc data.second = query_data; data 216 components/autofill/core/browser/autofill_download.cc cached_forms_.push_front(data); data 317 components/autofill/core/browser/autofill_download.cc parser.Parse(response_body.data(), response_body.length(), true); data 59 components/autofill/core/browser/autofill_driver.h const FormData& data) = 0; data 54 components/autofill/core/browser/autofill_ie_toolbar_import_win.cc std::wstring DecryptCCNumber(const std::wstring& data) { data 59 components/autofill/core/browser/autofill_ie_toolbar_import_win.cc if (data.length() <= kMacLen) data 63 components/autofill/core/browser/autofill_ie_toolbar_import_win.cc return rc4_algorithm.Run(data.substr(kMacLen)); data 84 components/autofill/core/browser/autofill_ie_toolbar_import_win.cc std::string data; data 85 components/autofill/core/browser/autofill_ie_toolbar_import_win.cc data.resize(data_size); data 86 components/autofill/core/browser/autofill_ie_toolbar_import_win.cc result = key.ReadValue(value_name, &(data[0]), &data_size, &data_type); data 89 components/autofill/core/browser/autofill_ie_toolbar_import_win.cc if (OSCrypt::DecryptString(data, &out_data)) { data 89 components/autofill/core/browser/autofill_ie_toolbar_import_win_unittest.cc std::string data; data 91 components/autofill/core/browser/autofill_ie_toolbar_import_win_unittest.cc data.resize(data_size); data 92 components/autofill/core/browser/autofill_ie_toolbar_import_win_unittest.cc memcpy(&data[0], value->value, data_size); data 95 components/autofill/core/browser/autofill_ie_toolbar_import_win_unittest.cc OSCrypt::EncryptString(data, &encrypted_data); data 380 components/autofill/core/browser/autofill_manager_unittest.cc const FormData& data)); data 381 components/autofill/core/browser/autofill_profile.cc base::string16 data = GetRawInfo(type); data 382 components/autofill/core/browser/autofill_profile.cc if (data.empty()) data 387 components/autofill/core/browser/autofill_profile.cc return country == "US" && !autofill::IsValidState(data); data 390 components/autofill/core/browser/autofill_profile.cc return country == "US" && !autofill::IsValidZip(data); data 393 components/autofill/core/browser/autofill_profile.cc return !i18n::PhoneObject(data, country).IsValidNumber(); data 396 components/autofill/core/browser/autofill_profile.cc return !autofill::IsValidEmailAddress(data); data 53 components/autofill/core/browser/autofill_regexes.cc const icu::UnicodeString icu_pattern(pattern.data(), pattern.length()); data 75 components/autofill/core/browser/autofill_regexes.cc icu::UnicodeString icu_input(input.data(), input.length()); data 29 components/autofill/core/browser/crypto/rc4_decryptor.h std::wstring data; data 31 components/autofill/core/browser/crypto/rc4_decryptor.h data.resize(128, L' '); data 32 components/autofill/core/browser/crypto/rc4_decryptor.h Run(data.c_str()); data 36 components/autofill/core/browser/crypto/rc4_decryptor.h std::wstring Run(const std::wstring& data) { data 37 components/autofill/core/browser/crypto/rc4_decryptor.h int data_size = data.length() * sizeof(wchar_t); data 39 components/autofill/core/browser/crypto/rc4_decryptor.h scoped_ptr<wchar_t[]> buffer(new wchar_t[data.length() + 1]); data 40 components/autofill/core/browser/crypto/rc4_decryptor.h memset(buffer.get(), 0, (data.length() + 1) * sizeof(wchar_t)); data 41 components/autofill/core/browser/crypto/rc4_decryptor.h memcpy(buffer.get(), data.c_str(), data_size); data 303 components/autofill/core/browser/form_structure.cc icu::UnicodeString icu_input(input.data(), input.length()); data 610 components/autofill/core/browser/form_structure.cc form.data.name = form_structure->form_name_; data 611 components/autofill/core/browser/form_structure.cc form.data.method = data 613 components/autofill/core/browser/form_structure.cc form.data.origin = form_structure->source_url_; data 614 components/autofill/core/browser/form_structure.cc form.data.action = form_structure->target_url_; data 620 components/autofill/core/browser/form_structure.cc form.data.fields.push_back(FormFieldData(**field)); data 903 components/autofill/core/browser/form_structure.cc FormData data; data 904 components/autofill/core/browser/form_structure.cc data.name = form_name_; data 905 components/autofill/core/browser/form_structure.cc data.origin = source_url_; data 906 components/autofill/core/browser/form_structure.cc data.action = target_url_; data 907 components/autofill/core/browser/form_structure.cc data.method = base::ASCIIToUTF16(method_ == POST ? "POST" : "GET"); data 910 components/autofill/core/browser/form_structure.cc data.fields.push_back(FormFieldData(*fields_[i])); data 913 components/autofill/core/browser/form_structure.cc return data; data 34 components/autofill/core/browser/test_autofill_driver.h const FormData& data) OVERRIDE; data 119 components/autofill/core/browser/validation_unittest.cc const ExpirationDate& data = kValidCreditCardExpirationDate[i]; data 120 components/autofill/core/browser/validation_unittest.cc SCOPED_TRACE(data.year); data 121 components/autofill/core/browser/validation_unittest.cc SCOPED_TRACE(data.month); data 123 components/autofill/core/browser/validation_unittest.cc autofill::IsValidCreditCardExpirationDate(ASCIIToUTF16(data.year), data 124 components/autofill/core/browser/validation_unittest.cc ASCIIToUTF16(data.month), data 128 components/autofill/core/browser/validation_unittest.cc const ExpirationDate& data = kInvalidCreditCardExpirationDate[i]; data 129 components/autofill/core/browser/validation_unittest.cc SCOPED_TRACE(data.year); data 130 components/autofill/core/browser/validation_unittest.cc SCOPED_TRACE(data.month); data 132 components/autofill/core/browser/validation_unittest.cc !autofill::IsValidCreditCardExpirationDate(ASCIIToUTF16(data.year), data 133 components/autofill/core/browser/validation_unittest.cc ASCIIToUTF16(data.month), data 144 components/autofill/core/browser/validation_unittest.cc const IntExpirationDate& data = kValidCreditCardIntExpirationDate[i]; data 145 components/autofill/core/browser/validation_unittest.cc SCOPED_TRACE(data.year); data 146 components/autofill/core/browser/validation_unittest.cc SCOPED_TRACE(data.month); data 148 components/autofill/core/browser/validation_unittest.cc autofill::IsValidCreditCardExpirationDate(data.year, data.month, now)); data 151 components/autofill/core/browser/validation_unittest.cc const IntExpirationDate& data = kInvalidCreditCardIntExpirationDate[i]; data 152 components/autofill/core/browser/validation_unittest.cc SCOPED_TRACE(data.year); data 153 components/autofill/core/browser/validation_unittest.cc SCOPED_TRACE(data.month); data 155 components/autofill/core/browser/validation_unittest.cc !autofill::IsValidCreditCardExpirationDate(data.year, data.month, now)); data 29 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc std::string LimitData(const std::string& data) { data 30 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc std::string sanitized_value(data); data 460 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc const syncer::SyncData& data, data 466 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc DCHECK_EQ(syncer::AUTOFILL_PROFILE, data.GetDataType()); data 468 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc const sync_pb::EntitySpecifics& specifics = data.GetSpecifics(); data 157 components/autofill/core/browser/webdata/autofill_profile_syncable_service.h const syncer::SyncData& data, data 52 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc ACTION_P(CopyData, data) { data 53 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc arg0->resize(data->size()); data 54 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc std::copy(data->begin(), data->end(), arg0->begin()); data 493 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncDataList data = data 496 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc ASSERT_EQ(2U, data.size()); data 497 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc EXPECT_EQ(guid_present1, data[0].GetSpecifics().autofill_profile().guid()); data 498 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc EXPECT_EQ(guid_present2, data[1].GetSpecifics().autofill_profile().guid()); data 499 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc EXPECT_EQ(kHttpOrigin, data[0].GetSpecifics().autofill_profile().origin()); data 500 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc EXPECT_EQ(kHttpsOrigin, data[1].GetSpecifics().autofill_profile().origin()); data 71 components/autofill/core/browser/webdata/autofill_table.cc base::string16 data = data_model.GetRawInfo(type); data 72 components/autofill/core/browser/webdata/autofill_table.cc if (data.size() > AutofillTable::kMaxDataLength) data 73 components/autofill/core/browser/webdata/autofill_table.cc return data.substr(0, AutofillTable::kMaxDataLength); data 75 components/autofill/core/browser/webdata/autofill_table.cc return data; data 132 components/autofill/core/browser/webdata/autofill_table.cc s->BindBlob(index++, encrypted_data.data(), data 57 components/autofill/core/common/form_data.cc FormData::FormData(const FormData& data) data 58 components/autofill/core/common/form_data.cc : name(data.name), data 59 components/autofill/core/common/form_data.cc method(data.method), data 60 components/autofill/core/common/form_data.cc origin(data.origin), data 61 components/autofill/core/common/form_data.cc action(data.action), data 62 components/autofill/core/common/form_data.cc user_submitted(data.user_submitted), data 63 components/autofill/core/common/form_data.cc fields(data.fields) { data 19 components/autofill/core/common/form_data.h FormData(const FormData& data); data 13 components/autofill/core/common/form_data_predictions.cc : data(other.data), data 24 components/autofill/core/common/form_data_predictions.cc return (data == predictions.data && data 19 components/autofill/core/common/form_data_predictions.h FormData data; data 14 components/autofill/core/common/form_data_unittest.cc FormData data; data 15 components/autofill/core/common/form_data_unittest.cc data.name = base::ASCIIToUTF16("name"); data 16 components/autofill/core/common/form_data_unittest.cc data.method = base::ASCIIToUTF16("POST"); data 17 components/autofill/core/common/form_data_unittest.cc data.origin = GURL("origin"); data 18 components/autofill/core/common/form_data_unittest.cc data.action = GURL("action"); data 19 components/autofill/core/common/form_data_unittest.cc data.user_submitted = true; data 39 components/autofill/core/common/form_data_unittest.cc data.fields.push_back(field_data); data 45 components/autofill/core/common/form_data_unittest.cc data.fields.push_back(field_data); data 48 components/autofill/core/common/form_data_unittest.cc SerializeFormData(data, &pickle); data 54 components/autofill/core/common/form_data_unittest.cc EXPECT_EQ(actual, data); data 15 components/autofill/core/common/form_field_data_unittest.cc FormFieldData data; data 16 components/autofill/core/common/form_field_data_unittest.cc data.label = base::ASCIIToUTF16("label"); data 17 components/autofill/core/common/form_field_data_unittest.cc data.name = base::ASCIIToUTF16("name"); data 18 components/autofill/core/common/form_field_data_unittest.cc data.value = base::ASCIIToUTF16("value"); data 19 components/autofill/core/common/form_field_data_unittest.cc data.form_control_type = "password"; data 20 components/autofill/core/common/form_field_data_unittest.cc data.autocomplete_attribute = "off"; data 21 components/autofill/core/common/form_field_data_unittest.cc data.max_length = 200; data 22 components/autofill/core/common/form_field_data_unittest.cc data.is_autofilled = true; data 23 components/autofill/core/common/form_field_data_unittest.cc data.is_checked = true; data 24 components/autofill/core/common/form_field_data_unittest.cc data.is_checkable = true; data 25 components/autofill/core/common/form_field_data_unittest.cc data.is_focusable = true; data 26 components/autofill/core/common/form_field_data_unittest.cc data.should_autocomplete = false; data 27 components/autofill/core/common/form_field_data_unittest.cc data.text_direction = base::i18n::RIGHT_TO_LEFT; data 28 components/autofill/core/common/form_field_data_unittest.cc data.option_values.push_back(base::ASCIIToUTF16("First")); data 29 components/autofill/core/common/form_field_data_unittest.cc data.option_values.push_back(base::ASCIIToUTF16("Second")); data 30 components/autofill/core/common/form_field_data_unittest.cc data.option_contents.push_back(base::ASCIIToUTF16("First")); data 31 components/autofill/core/common/form_field_data_unittest.cc data.option_contents.push_back(base::ASCIIToUTF16("Second")); data 34 components/autofill/core/common/form_field_data_unittest.cc SerializeFormFieldData(data, &pickle); data 40 components/autofill/core/common/form_field_data_unittest.cc EXPECT_EQ(actual, data); data 446 components/breakpad/app/breakpad_linux.cc char data[kUint64StringSize]; data 448 components/breakpad/app/breakpad_linux.cc my_uitos(data, msg_data_size, data_len); data 452 components/breakpad/app/breakpad_linux.cc AddItem(data, data_len); data 485 components/breakpad/app/breakpad_linux.cc char data[kUint64StringSize]; data 487 components/breakpad/app/breakpad_linux.cc my_uitos(data, write_len, data_len); data 492 components/breakpad/app/breakpad_linux.cc AddItem(data, data_len); data 505 components/breakpad/app/breakpad_linux.cc char data[kUint64StringSize]; data 507 components/breakpad/app/breakpad_linux.cc my_uitos(data, file_size, data_len); data 511 components/breakpad/app/breakpad_linux.cc AddItem(data, data_len); data 860 components/breakpad/app/breakpad_linux.cc g_crash_keys->SetKeyValue(key.data(), value.data()); data 864 components/breakpad/app/breakpad_linux.cc g_crash_keys->RemoveKey(key.data()); data 450 components/breakpad/app/breakpad_win.cc entry->set(safe_key.data(), safe_value.data()); data 122 components/breakpad/browser/crash_dump_manager_android.cc const content::ChildProcessData& data) { data 123 components/breakpad/browser/crash_dump_manager_android.cc OnChildExit(data.id, data.handle); data 127 components/breakpad/browser/crash_dump_manager_android.cc const content::ChildProcessData& data) { data 128 components/breakpad/browser/crash_dump_manager_android.cc OnChildExit(data.id, data.handle); data 56 components/breakpad/browser/crash_dump_manager_android.h const content::ChildProcessData& data) OVERRIDE; data 58 components/breakpad/browser/crash_dump_manager_android.h const content::ChildProcessData& data) OVERRIDE; data 24 components/dom_distiller/core/article_distillation_update.cc return pages_[index]->data; data 55 components/dom_distiller/core/article_entry.cc std::string GetEntryIdFromSyncData(const syncer::SyncData& data) { data 56 components/dom_distiller/core/article_entry.cc const EntitySpecifics& entity = data.GetSpecifics(); data 32 components/dom_distiller/core/article_entry.h std::string GetEntryIdFromSyncData(const syncer::SyncData& data); data 152 components/dom_distiller/core/distiller.cc page_data->distilled_page_proto->data.set_url(page_url.spec()); data 153 components/dom_distiller/core/distiller.cc page_data->distilled_page_proto->data.set_html(distilled_page->html); data 220 components/dom_distiller/core/distiller.cc page_data->distilled_page_proto->data.add_image(); data 273 components/dom_distiller/core/distiller.cc *(article_proto->add_pages()) = page_data->distilled_page_proto->data; data 173 components/dom_distiller/core/distiller_unittest.cc page.image(img_num).data()); data 374 components/dom_distiller/core/distiller_unittest.cc EXPECT_EQ(kImageData[0], first_page.image(0).data()); data 376 components/dom_distiller/core/distiller_unittest.cc EXPECT_EQ(kImageData[1], first_page.image(1).data()); data 39 components/dom_distiller/core/distiller_url_fetcher.h typedef base::Callback<void(const std::string& data)> URLFetcherCallback; data 96 components/dom_distiller/core/dom_distiller_database.cc if (!entry.ParseFromArray(value_slice.data(), value_slice.size())) { data 94 components/dom_distiller/core/dom_distiller_model.cc SyncDataList data; data 97 components/dom_distiller/core/dom_distiller_model.cc data.push_back(CreateLocalData(it->second)); data 99 components/dom_distiller/core/dom_distiller_model.cc return data; data 103 components/dom_distiller/core/dom_distiller_model.cc const SyncDataList& data, data 108 components/dom_distiller/core/dom_distiller_model.cc for (SyncDataList::const_iterator it = data.begin(); it != data.end(); ++it) { data 45 components/dom_distiller/core/dom_distiller_model.h void CalculateChangesForMerge(const syncer::SyncDataList& data, data 269 components/dom_distiller/core/dom_distiller_store.cc SyncDataList data; data 272 components/dom_distiller/core/dom_distiller_store.cc data.push_back(CreateLocalData(*it)); data 276 components/dom_distiller/core/dom_distiller_store.cc MergeDataWithModel(data, &changes_applied, &database_changes_needed); data 335 components/dom_distiller/core/dom_distiller_store.cc const SyncDataList& data, data 345 components/dom_distiller/core/dom_distiller_store.cc model_.CalculateChangesForMerge(data, &changes_to_apply, changes_missing); data 123 components/dom_distiller/core/dom_distiller_store.h const syncer::SyncDataList& data, data 130 components/dom_distiller/core/dom_distiller_store.h void CalculateChangesForMerge(const syncer::SyncDataList& data, data 164 components/dom_distiller/core/dom_distiller_store_unittest.cc SyncDataList data; data 166 components/dom_distiller/core/dom_distiller_store_unittest.cc data.push_back(CreateSyncData(it->second)); data 168 components/dom_distiller/core/dom_distiller_store_unittest.cc return data; data 365 components/dom_distiller/core/dom_distiller_store_unittest.cc SyncDataList data = store_->GetAllSyncData(kDomDistillerModelType); data 367 components/dom_distiller/core/dom_distiller_store_unittest.cc for (SyncDataList::iterator it = data.begin(); it != data.end(); ++it) { data 19 components/metrics/metrics_hashes.cc memcpy(&value, hash.data(), sizeof(value)); data 83 components/nacl/browser/nacl_browser.cc void ReadCache(const base::FilePath& filename, std::string* data) { data 84 components/nacl/browser/nacl_browser.cc if (!base::ReadFileToString(filename, data)) { data 86 components/nacl/browser/nacl_browser.cc data->clear(); data 91 components/nacl/browser/nacl_browser.cc base::WriteFile(filename, static_cast<const char*>(pickle->data()), data 324 components/nacl/browser/nacl_browser.cc std::string* data = new std::string(); data 330 components/nacl/browser/nacl_browser.cc base::Bind(ReadCache, validation_cache_file_path_, data), data 333 components/nacl/browser/nacl_browser.cc base::Owned(data)))) { data 342 components/nacl/browser/nacl_browser.cc void NaClBrowser::OnValidationCacheLoaded(const std::string *data) { data 349 components/nacl/browser/nacl_browser.cc if (data->size() == 0) { data 353 components/nacl/browser/nacl_browser.cc Pickle pickle(data->data(), data->size()); data 146 components/nacl/browser/nacl_browser.h void OnValidationCacheLoaded(const std::string* data); data 713 components/nacl/browser/nacl_process_host.cc const ChildProcessData& data = process_->GetData(); data 718 components/nacl/browser/nacl_process_host.cc base::GetProcId(data.handle), data 719 components/nacl/browser/nacl_process_host.cc data.id), data 798 components/nacl/browser/nacl_process_host.cc const ChildProcessData& data = process_->GetData(); data 799 components/nacl/browser/nacl_process_host.cc if (!ShareHandleToSelLdr(data.handle, data 809 components/nacl/browser/nacl_process_host.cc if (!ShareHandleToSelLdr(data.handle, irt_file, false, ¶ms.handles)) data 162 components/nacl/browser/nacl_validation_cache_unittest.cc Pickle truncated(static_cast<const char*>(pickle.data()), pickle.size()-20); data 381 components/nacl/browser/pnacl_host.cc if (base::ReadPlatformFile(fd, 0, buffer->data(), buffer->size()) != data 513 components/nacl/browser/pnacl_host.cc int rv = base::WritePlatformFile(fd, 0, buffer->data(), buffer->size()); data 90 components/nacl/browser/pnacl_host_unittest.cc char data[16]; data 91 components/nacl/browser/pnacl_host_unittest.cc memset(data, 0x0, 16); data 95 components/nacl/browser/pnacl_host_unittest.cc EXPECT_EQ(16, base::ReadPlatformFile(fd, 0, data, 16)); data 96 components/nacl/browser/pnacl_host_unittest.cc EXPECT_STREQ(str, data); data 117 components/nacl/browser/pnacl_translation_cache_unittest.cc std::string nexe(buf->data(), buf->size()); data 48 components/nacl/common/nacl_debug_exception_handler_win.cc reinterpret_cast<const void*>(startup_info_.data()), data 227 components/nacl/loader/nacl_helper_linux.cc if (!UnixDomainSocket::SendMsg(reply_fd, write_pickle.data(), data 46 components/nacl/loader/nacl_ipc_adapter.cc BufferSizeStatus GetBufferStatus(const char* data, size_t len) { data 51 components/nacl/loader/nacl_ipc_adapter.cc reinterpret_cast<const NaClIPCAdapter::NaClMessageHeader*>(data); data 60 components/nacl/loader/nacl_validation_query.cc void NaClValidationQuery::AddData(const char* data, size_t length) { data 72 components/nacl/loader/nacl_validation_query.cc CHECK(hasher_.Sign(base::StringPiece(data, length), data 78 components/nacl/loader/nacl_validation_query.cc void NaClValidationQuery::AddData(const unsigned char* data, size_t length) { data 79 components/nacl/loader/nacl_validation_query.cc AddData(reinterpret_cast<const char*>(data), length); data 82 components/nacl/loader/nacl_validation_query.cc void NaClValidationQuery::AddData(const base::StringPiece& data) { data 83 components/nacl/loader/nacl_validation_query.cc AddData(data.data(), data.length()); data 123 components/nacl/loader/nacl_validation_query.cc static void AddData(void* query, const uint8* data, size_t length) { data 124 components/nacl/loader/nacl_validation_query.cc static_cast<NaClValidationQuery*>(query)->AddData(data, length); data 150 components/nacl/loader/nacl_validation_query.cc memcpy(*file_path, path.data(), path.length()); data 49 components/nacl/loader/nacl_validation_query.h void AddData(const char* data, size_t length); data 50 components/nacl/loader/nacl_validation_query.h void AddData(const unsigned char* data, size_t length); data 51 components/nacl/loader/nacl_validation_query.h void AddData(const base::StringPiece& data); data 50 components/nacl/loader/nacl_validation_query_unittest.cc memcpy(query_signature_, signature.data(), data 63 components/nacl/loader/nacl_validation_query_unittest.cc memcpy(set_signature_, signature.data(), data 270 components/nacl/loader/nonsfi/elf_loader.cc ::scoped_ptr<Data> data(new Data); data 274 components/nacl/loader/nonsfi/elf_loader.cc descriptor, &data->ehdr, sizeof(data->ehdr), 0); data 276 components/nacl/loader/nonsfi/elf_loader.cc static_cast<size_t>(read_ret) != sizeof(data->ehdr)) { data 281 components/nacl/loader/nonsfi/elf_loader.cc NaClErrorCode error_code = ValidateElfHeader(data->ehdr); data 286 components/nacl/loader/nonsfi/elf_loader.cc if (data->ehdr.e_phnum > Data::MAX_PROGRAM_HEADERS) { data 291 components/nacl/loader/nonsfi/elf_loader.cc if (data->ehdr.e_phentsize != sizeof(data->phdrs[0])) { data 293 components/nacl/loader/nonsfi/elf_loader.cc << " ehdr_.e_phentsize = " << data->ehdr.e_phentsize << "\n" data 294 components/nacl/loader/nonsfi/elf_loader.cc << " sizeof phdrs[0] = " << sizeof(data->phdrs[0]); data 298 components/nacl/loader/nonsfi/elf_loader.cc size_t read_size = data->ehdr.e_phnum * data->ehdr.e_phentsize; data 300 components/nacl/loader/nonsfi/elf_loader.cc descriptor, data->phdrs, read_size, data->ehdr.e_phoff); data 308 components/nacl/loader/nonsfi/elf_loader.cc data_.swap(data); data 330 components/nacl/renderer/nexe_load_manager.cc event.resource_url.data(), event.resource_url.size()); data 86 components/nacl/zygote/nacl_fork_delegate_linux.cc if (!UnixDomainSocket::SendMsg(ipc_channel, request_pickle.data(), data 55 components/os_crypt/ie7_password_win.cc bool GetUserPassFromData(const std::vector<unsigned char>& data, data 58 components/os_crypt/ie7_password_win.cc reinterpret_cast<const PasswordEntry*>(&data.front()); data 72 components/os_crypt/ie7_password_win.cc const uint8* offset_to_data = &data[0] + data 116 components/os_crypt/ie7_password_win.cc const std::vector<unsigned char>& data, data 123 components/os_crypt/ie7_password_win.cc input.pbData = const_cast<unsigned char*>(&data.front()); data 124 components/os_crypt/ie7_password_win.cc input.cbData = static_cast<DWORD>((data.size()) * data 128 components/os_crypt/ie7_password_win.cc const_cast<wchar_t*>(lower_case_url.data())); data 39 components/os_crypt/ie7_password_win.h bool GetUserPassFromData(const std::vector<unsigned char>& data, data 46 components/os_crypt/ie7_password_win.h const std::vector<unsigned char>& data, data 33 components/os_crypt/os_crypt_win.cc reinterpret_cast<const BYTE*>(plaintext.data())); data 54 components/os_crypt/os_crypt_win.cc reinterpret_cast<const BYTE*>(ciphertext.data())); data 259 components/password_manager/core/browser/login_database.cc s.BindBlob(COLUMN_PASSWORD_VALUE, encrypted_password.data(), data 271 components/password_manager/core/browser/login_database.cc usernames_pickle.data(), data 277 components/password_manager/core/browser/login_database.cc form_data_pickle.data(), data 310 components/password_manager/core/browser/login_database.cc s.BindBlob(1, encrypted_password.data(), data 315 components/password_manager/core/browser/login_database.cc s.BindBlob(4, pickle.data(), pickle.size()); data 376 components/password_manager/core/browser/password_syncable_service.cc const syncer::SyncData& data, data 381 components/password_manager/core/browser/password_syncable_service.cc const sync_pb::EntitySpecifics& specifics = data.GetSpecifics(); data 94 components/password_manager/core/browser/password_syncable_service.h const syncer::SyncData& data, data 75 components/password_manager/core/browser/password_syncable_service_unittest.cc SyncData data = SyncDataFromPassword(password); data 76 components/password_manager/core/browser/password_syncable_service_unittest.cc return SyncChange(FROM_HERE, type, data); data 235 components/password_manager/core/browser/password_syncable_service_unittest.cc const SyncChange& data = *it; data 237 components/password_manager/core/browser/password_syncable_service_unittest.cc GetPasswordSpecifics(data.sync_data())); data 249 components/password_manager/core/browser/password_syncable_service_unittest.cc EXPECT_EQ(expected_it->change_type(), data.change_type()); data 56 components/plugins/renderer/mobile_youtube_plugin.cc if (strncmp(str.data(), kSlashVSlash, len) != 0 && data 57 components/plugins/renderer/mobile_youtube_plugin.cc strncmp(str.data(), kSlashESlash, len) != 0) data 125 components/plugins/renderer/plugin_placeholder.cc width_str += element.getAttribute("width").utf8().data(); data 132 components/plugins/renderer/plugin_placeholder.cc height_str += element.getAttribute("height").utf8().data(); data 191 components/plugins/renderer/webview_plugin.cc void WebViewPlugin::didReceiveData(const char* data, int data_length) { data 192 components/plugins/renderer/webview_plugin.cc data_.push_back(std::string(data, data_length)); data 96 components/plugins/renderer/webview_plugin.h virtual void didReceiveData(const char* data, int data_length); data 45 components/policy/core/browser/browser_policy_connector.cc const icu::UnicodeString icu_pattern(pattern.data(), pattern.length()); data 48 components/policy/core/browser/browser_policy_connector.cc icu::UnicodeString icu_input(domain.data(), domain.length()); data 246 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc const base::DictionaryValue* data) { data 248 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc if (!data->HasKey(kGetHostedDomainKey)) { data 519 components/policy/core/common/cloud/cloud_policy_validator.cc bool CloudPolicyValidatorBase::VerifySignature(const std::string& data, data 545 components/policy/core/common/cloud/cloud_policy_validator.cc verifier.VerifyUpdate(reinterpret_cast<const uint8*>(data.c_str()), data 546 components/policy/core/common/cloud/cloud_policy_validator.cc data.size()); data 273 components/policy/core/common/cloud/cloud_policy_validator.h static bool VerifySignature(const std::string& data, data 181 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc em::PolicyData* data = new em::PolicyData(); data 182 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc data->set_username(ComponentPolicyBuilder::kFakeUsername); data 183 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc data->set_request_token(ComponentPolicyBuilder::kFakeToken); data 184 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc store_.policy_.reset(data); data 468 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc em::PolicyData* data = new em::PolicyData(); data 469 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc data->set_username(ComponentPolicyBuilder::kFakeUsername); data 470 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc data->set_request_token(ComponentPolicyBuilder::kFakeToken); data 471 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc store_.policy_.reset(data); data 143 components/policy/core/common/cloud/component_cloud_policy_store.cc std::string data; data 145 components/policy/core/common/cloud/component_cloud_policy_store.cc if (cache_->Load(constants.data_cache_key, id, &data) && data 146 components/policy/core/common/cloud/component_cloud_policy_store.cc ValidateData(data, payload.secure_hash(), &policy)) { data 161 components/policy/core/common/cloud/component_cloud_policy_store.cc const std::string& data) { data 166 components/policy/core/common/cloud/component_cloud_policy_store.cc if (!constants || !ValidateData(data, secure_hash, &policy)) data 171 components/policy/core/common/cloud/component_cloud_policy_store.cc cache_->Store(constants->data_cache_key, ns.component_id, data); data 295 components/policy/core/common/cloud/component_cloud_policy_store.cc em::ExternalPolicyData* data = validator->payload().get(); data 299 components/policy/core/common/cloud/component_cloud_policy_store.cc if (data->has_download_url() && !data->download_url().empty()) { data 300 components/policy/core/common/cloud/component_cloud_policy_store.cc if (!GURL(data->download_url()).is_valid() || data 301 components/policy/core/common/cloud/component_cloud_policy_store.cc !data->has_secure_hash() || data 302 components/policy/core/common/cloud/component_cloud_policy_store.cc data->secure_hash().empty()) { data 305 components/policy/core/common/cloud/component_cloud_policy_store.cc } else if (data->has_secure_hash()) { data 317 components/policy/core/common/cloud/component_cloud_policy_store.cc const std::string& data, data 320 components/policy/core/common/cloud/component_cloud_policy_store.cc return crypto::SHA256HashString(data) == secure_hash && data 321 components/policy/core/common/cloud/component_cloud_policy_store.cc ParsePolicy(data, policy); data 324 components/policy/core/common/cloud/component_cloud_policy_store.cc bool ComponentCloudPolicyStore::ParsePolicy(const std::string& data, data 327 components/policy/core/common/cloud/component_cloud_policy_store.cc data, base::JSON_PARSE_RFC | base::JSON_DETACHABLE_CHILDREN)); data 88 components/policy/core/common/cloud/component_cloud_policy_store.h const std::string& data); data 124 components/policy/core/common/cloud/component_cloud_policy_store.h bool ValidateData(const std::string& data, data 130 components/policy/core/common/cloud/component_cloud_policy_store.h bool ParsePolicy(const std::string& data, PolicyMap* policy); data 59 components/policy/core/common/cloud/component_cloud_policy_updater.cc em::ExternalPolicyData data; data 60 components/policy/core/common/cloud/component_cloud_policy_updater.cc if (!store_->ValidatePolicy(response.Pass(), &ns, &data)) { data 67 components/policy/core/common/cloud/component_cloud_policy_updater.cc if (!cached_hash.empty() && data.secure_hash() == cached_hash) data 71 components/policy/core/common/cloud/component_cloud_policy_updater.cc if (data.download_auth_method() != em::ExternalPolicyData::NONE) data 76 components/policy/core/common/cloud/component_cloud_policy_updater.cc if (data.download_url().empty() || !data.has_secure_hash()) { data 88 components/policy/core/common/cloud/component_cloud_policy_updater.cc ExternalPolicyDataUpdater::Request(data.download_url(), data 89 components/policy/core/common/cloud/component_cloud_policy_updater.cc data.secure_hash(), data 94 components/policy/core/common/cloud/component_cloud_policy_updater.cc data.secure_hash())); data 149 components/policy/core/common/cloud/device_management_service.cc const std::string& data); data 212 components/policy/core/common/cloud/device_management_service.cc const std::string& data) { data 227 components/policy/core/common/cloud/device_management_service.cc if (!response.ParseFromString(data)) { data 493 components/policy/core/common/cloud/device_management_service.cc std::string data; data 494 components/policy/core/common/cloud/device_management_service.cc source->GetResponseAsString(&data); data 496 components/policy/core/common/cloud/device_management_service.cc source->GetCookies(), data); data 31 components/policy/core/common/cloud/external_policy_data_fetcher.cc scoped_ptr<std::string> data) { data 33 components/policy/core/common/cloud/external_policy_data_fetcher.cc base::Bind(callback, job, result, base::Passed(&data))); data 135 components/policy/core/common/cloud/external_policy_data_fetcher.cc scoped_ptr<std::string> data) { data 144 components/policy/core/common/cloud/external_policy_data_fetcher.cc callback.Run(result, data.Pass()); data 210 components/policy/core/common/cloud/external_policy_data_fetcher.cc scoped_ptr<std::string> data; data 230 components/policy/core/common/cloud/external_policy_data_fetcher.cc data.reset(new std::string); data 231 components/policy/core/common/cloud/external_policy_data_fetcher.cc source->GetResponseAsString(data.get()); data 232 components/policy/core/common/cloud/external_policy_data_fetcher.cc if (static_cast<int64>(data->size()) > it->second->max_size) { data 234 components/policy/core/common/cloud/external_policy_data_fetcher.cc data.reset(); data 242 components/policy/core/common/cloud/external_policy_data_fetcher.cc job->callback.Run(job, result, data.Pass()); data 98 components/policy/core/common/cloud/external_policy_data_fetcher.h scoped_ptr<std::string> data); data 48 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc scoped_ptr<std::string> data); data 106 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc scoped_ptr<std::string> data) { data 110 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc callback_data_.reset(data.release()); data 127 components/policy/core/common/cloud/external_policy_data_updater.cc scoped_ptr<std::string> data); data 220 components/policy/core/common/cloud/external_policy_data_updater.cc scoped_ptr<std::string> data) { data 257 components/policy/core/common/cloud/external_policy_data_updater.cc if (crypto::SHA256HashString(*data) != request_.hash) { data 265 components/policy/core/common/cloud/external_policy_data_updater.cc if (!callback_.Run(*data)) { data 294 components/policy/core/common/cloud/policy_builder.cc void PolicyBuilder::SignData(const std::string& data, data 299 components/policy/core/common/cloud/policy_builder.cc signature_creator->Update(reinterpret_cast<const uint8*>(data.c_str()), data 300 components/policy/core/common/cloud/policy_builder.cc data.size()); data 97 components/policy/core/common/cloud/policy_builder.h void SignData(const std::string& data, data 73 components/policy/core/common/cloud/resource_cache.cc const std::string& data) { data 85 components/policy/core/common/cloud/resource_cache.cc int size = base::checked_cast<int>(data.size()); data 88 components/policy/core/common/cloud/resource_cache.cc (base::WriteFile(subkey_path, data.data(), size) == size); data 93 components/policy/core/common/cloud/resource_cache.cc std::string* data) { data 101 components/policy/core/common/cloud/resource_cache.cc data->clear(); data 102 components/policy/core/common/cloud/resource_cache.cc return base::ReadFileToString(subkey_path, data); data 119 components/policy/core/common/cloud/resource_cache.cc std::string data; data 124 components/policy/core/common/cloud/resource_cache.cc base::ReadFileToString(path, &data)) { data 125 components/policy/core/common/cloud/resource_cache.cc (*contents)[subkey].swap(data); data 40 components/policy/core/common/cloud/resource_cache.h const std::string& data); data 47 components/policy/core/common/cloud/resource_cache.h std::string* data); data 43 components/policy/core/common/cloud/resource_cache_unittest.cc std::string data; data 44 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_FALSE(cache.Load(kKey1, kSubA, &data)); data 48 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_TRUE(cache.Load(kKey1, kSubA, &data)); data 49 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(kData0, data); data 73 components/policy/core/common/cloud/user_cloud_policy_store.cc std::string data; data 75 components/policy/core/common/cloud/user_cloud_policy_store.cc if (!base::ReadFileToString(policy_path, &data, kPolicySizeLimit) || data 76 components/policy/core/common/cloud/user_cloud_policy_store.cc !result.policy.ParseFromString(data)) { data 83 components/policy/core/common/cloud/user_cloud_policy_store.cc if (!base::ReadFileToString(key_path, &data, kKeySizeLimit) || data 84 components/policy/core/common/cloud/user_cloud_policy_store.cc !result.key.ParseFromString(data)) { data 103 components/policy/core/common/cloud/user_cloud_policy_store.cc bool WriteStringToFile(const base::FilePath path, const std::string& data) { data 109 components/policy/core/common/cloud/user_cloud_policy_store.cc int size = data.size(); data 110 components/policy/core/common/cloud/user_cloud_policy_store.cc if (base::WriteFile(path, data.c_str(), size) != size) { data 126 components/policy/core/common/cloud/user_cloud_policy_store.cc std::string data; data 127 components/policy/core/common/cloud/user_cloud_policy_store.cc if (!policy.SerializeToString(&data)) { data 132 components/policy/core/common/cloud/user_cloud_policy_store.cc if (!WriteStringToFile(policy_path, data)) data 37 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc bool WriteStringToFile(const base::FilePath path, const std::string& data) { data 43 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc int size = data.size(); data 44 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc if (base::WriteFile(path, data.c_str(), size) != size) { data 220 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc std::string data; data 221 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_TRUE(unsigned_builder.policy().SerializeToString(&data)); data 223 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc int size = data.size(); data 224 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_EQ(size, base::WriteFile(policy_file(), data.c_str(), size)); data 141 components/policy/core/common/config_dir_policy_loader_unittest.cc std::string data; data 142 components/policy/core/common/config_dir_policy_loader_unittest.cc JSONStringValueSerializer serializer(&data); data 147 components/policy/core/common/config_dir_policy_loader_unittest.cc ASSERT_EQ((int) data.size(), data 148 components/policy/core/common/config_dir_policy_loader_unittest.cc base::WriteFile(file_path, data.c_str(), data.size())); data 270 components/policy/core/common/policy_loader_win_unittest.cc uint8* data); data 573 components/policy/core/common/policy_loader_win_unittest.cc uint8* data) { data 588 components/policy/core/common/policy_loader_win_unittest.cc buffer.insert(buffer.end(), data, data + size); data 610 components/policy/core/common/policy_loader_win_unittest.cc std::vector<base::char16> data; data 612 components/policy/core/common/policy_loader_win_unittest.cc std::back_inserter(data), std::ptr_fun(base::ByteSwapToLE16)); data 613 components/policy/core/common/policy_loader_win_unittest.cc data.push_back(base::ByteSwapToLE16(L'\0')); data 615 components/policy/core/common/policy_loader_win_unittest.cc AppendRecordToPRegFile(path, key, REG_SZ, data.size() * sizeof(base::char16), data 616 components/policy/core/common/policy_loader_win_unittest.cc reinterpret_cast<uint8*>(vector_as_array(&data))); data 68 components/policy/core/common/preg_parser_win.cc uint8* data) { data 75 components/policy/core/common/preg_parser_win.cc std::copy(*cursor, field_end, data); data 80 components/policy/core/common/preg_parser_win.cc bool ReadField32(const uint8** cursor, const uint8* end, uint32* data) { data 86 components/policy/core/common/preg_parser_win.cc *data = base::ByteSwapToLE32(value); data 101 components/policy/core/common/preg_parser_win.cc std::string DecodePRegStringValue(const std::vector<uint8>& data) { data 102 components/policy/core/common/preg_parser_win.cc size_t len = data.size() / sizeof(base::char16); data 107 components/policy/core/common/preg_parser_win.cc reinterpret_cast<const base::char16*>(vector_as_array(&data)); data 116 components/policy/core/common/preg_parser_win.cc const std::vector<uint8>& data, data 121 components/policy/core/common/preg_parser_win.cc value->reset(base::Value::CreateStringValue(DecodePRegStringValue(data))); data 125 components/policy/core/common/preg_parser_win.cc if (data.size() == sizeof(uint32)) { data 126 components/policy/core/common/preg_parser_win.cc uint32 val = *reinterpret_cast<const uint32*>(vector_as_array(&data)); data 134 components/policy/core/common/preg_parser_win.cc LOG(ERROR) << "Bad data size " << data.size(); data 156 components/policy/core/common/preg_parser_win.cc const std::vector<uint8>& data, data 181 components/policy/core/common/preg_parser_win.cc if (DecodePRegValue(type, data, &value)) data 190 components/policy/core/common/preg_parser_win.cc Tokenize(DecodePRegStringValue(data), ";", &values); data 197 components/policy/core/common/preg_parser_win.cc Tokenize(DecodePRegStringValue(data), ";", &keys); data 238 components/policy/core/common/preg_parser_win.cc memcmp(kPRegFileHeader, mapped_file.data(), kHeaderSize) != 0) { data 247 components/policy/core/common/preg_parser_win.cc const uint8* cursor = mapped_file.data() + kHeaderSize; data 248 components/policy/core/common/preg_parser_win.cc const uint8* end = mapped_file.data() + mapped_file.length(); data 261 components/policy/core/common/preg_parser_win.cc std::vector<uint8> data; data 288 components/policy/core/common/preg_parser_win.cc data.resize(size); data 289 components/policy/core/common/preg_parser_win.cc if (!ReadFieldBinary(&cursor, end, size, vector_as_array(&data))) data 299 components/policy/core/common/preg_parser_win.cc HandleRecord(key_name.substr(root.size()), value, type, data, dict); data 303 components/policy/core/common/preg_parser_win.cc << reinterpret_cast<const uint8*>(cursor - 1) - mapped_file.data(); data 142 components/policy/core/common/schema.cc static scoped_refptr<const InternalStorage> Wrap(const SchemaData* data); data 256 components/policy/core/common/schema.cc const SchemaData* data) { data 258 components/policy/core/common/schema.cc storage->schema_data_.schema_nodes = data->schema_nodes; data 259 components/policy/core/common/schema.cc storage->schema_data_.property_nodes = data->property_nodes; data 260 components/policy/core/common/schema.cc storage->schema_data_.properties_nodes = data->properties_nodes; data 261 components/policy/core/common/schema.cc storage->schema_data_.restriction_nodes = data->restriction_nodes; data 262 components/policy/core/common/schema.cc storage->schema_data_.int_enums = data->int_enums; data 263 components/policy/core/common/schema.cc storage->schema_data_.string_enums = data->string_enums; data 317 components/policy/core/common/schema.cc SchemaData* data = &storage->schema_data_; data 318 components/policy/core/common/schema.cc data->schema_nodes = vector_as_array(&storage->schema_nodes_); data 319 components/policy/core/common/schema.cc data->property_nodes = vector_as_array(&storage->property_nodes_); data 320 components/policy/core/common/schema.cc data->properties_nodes = vector_as_array(&storage->properties_nodes_); data 321 components/policy/core/common/schema.cc data->restriction_nodes = vector_as_array(&storage->restriction_nodes_); data 322 components/policy/core/common/schema.cc data->int_enums = vector_as_array(&storage->int_enums_); data 323 components/policy/core/common/schema.cc data->string_enums = vector_as_array(&storage->string_enums_); data 656 components/policy/core/common/schema.cc Schema Schema::Wrap(const SchemaData* data) { data 657 components/policy/core/common/schema.cc scoped_refptr<const InternalStorage> storage = InternalStorage::Wrap(data); data 73 components/policy/core/common/schema.h static Schema Wrap(const internal::SchemaData* data); data 30 components/rappor/bloom_filter.cc CityHash64WithSeed(str.data(), str.size(), hash_seed_offset_ + i); data 24 components/rappor/byte_vector_utils.cc std::string Concat(const ByteVector& value, char c, const std::string& data) { data 25 components/rappor/byte_vector_utils.cc return std::string(value.begin(), value.end()) + c + data; data 33 components/rappor/byte_vector_utils.cc const std::string& data, data 36 components/rappor/byte_vector_utils.cc if (!hmac.Sign(data, &key[0], key.size())) data 192 components/rappor/byte_vector_utils.cc uint8_t* data = &bytes[0]; data 204 components/rappor/byte_vector_utils.cc memcpy(data, &value_[requested_byte_in_digest], n); data 205 components/rappor/byte_vector_utils.cc data += n; data 443 components/signin/core/browser/account_reconcilor.cc void AccountReconcilor::OnListAccountsSuccess(const std::string& data) { data 448 components/signin/core/browser/account_reconcilor.cc bool valid_json = gaia::ParseListAccountsData(data, &gaia_accounts); data 180 components/signin/core/browser/account_reconcilor.h virtual void OnListAccountsSuccess(const std::string& data) OVERRIDE; data 289 components/signin/core/browser/signin_manager.cc const icu::UnicodeString icu_pattern(pattern.data(), pattern.length()); data 298 components/signin/core/browser/signin_manager.cc icu::UnicodeString icu_input(username16.data(), username16.length()); data 46 components/signin/core/browser/signin_oauth_helper.cc void SigninOAuthHelper::OnGetUserInfoSuccess(const UserInfoMap& data) { data 47 components/signin/core/browser/signin_oauth_helper.cc UserInfoMap::const_iterator email_iter = data.find("email"); data 48 components/signin/core/browser/signin_oauth_helper.cc UserInfoMap::const_iterator display_email_iter = data.find("displayEmail"); data 49 components/signin/core/browser/signin_oauth_helper.cc if (email_iter == data.end() || display_email_iter == data.end()) { data 50 components/signin/core/browser/signin_oauth_helper.h virtual void OnGetUserInfoSuccess(const UserInfoMap& data) OVERRIDE; data 85 components/signin/core/browser/webdata/token_service_table.cc s.BindBlob(1, encrypted_token.data(), data 39 components/storage_monitor/portable_device_watcher_win.cc bool IsPortableDeviceStructure(LPARAM data) { data 41 components/storage_monitor/portable_device_watcher_win.cc reinterpret_cast<DEV_BROADCAST_HDR*>(data); data 51 components/storage_monitor/portable_device_watcher_win.cc reinterpret_cast<DEV_BROADCAST_DEVICEINTERFACE*>(data); data 56 components/storage_monitor/portable_device_watcher_win.cc base::string16 GetPnpDeviceId(LPARAM data) { data 58 components/storage_monitor/portable_device_watcher_win.cc reinterpret_cast<DEV_BROADCAST_DEVICEINTERFACE*>(data); data 501 components/storage_monitor/portable_device_watcher_win.cc void PortableDeviceWatcherWin::OnWindowMessage(UINT event_type, LPARAM data) { data 503 components/storage_monitor/portable_device_watcher_win.cc if (!IsPortableDeviceStructure(data)) data 506 components/storage_monitor/portable_device_watcher_win.cc base::string16 device_id = GetPnpDeviceId(data); data 76 components/storage_monitor/portable_device_watcher_win.h void OnWindowMessage(UINT event_type, LPARAM data); data 196 components/storage_monitor/storage_monitor_linux_unittest.cc void AppendToMtabAndRunLoop(const MtabTestData* data, size_t data_size) { data 197 components/storage_monitor/storage_monitor_linux_unittest.cc WriteToMtab(data, data_size, false /* do not overwrite */); data 203 components/storage_monitor/storage_monitor_linux_unittest.cc void OverwriteMtabAndRunLoop(const MtabTestData* data, size_t data_size) { data 204 components/storage_monitor/storage_monitor_linux_unittest.cc WriteToMtab(data, data_size, true /* overwrite */); data 272 components/storage_monitor/storage_monitor_linux_unittest.cc void WriteToMtab(const MtabTestData* data, data 293 components/storage_monitor/storage_monitor_linux_unittest.cc entry.mnt_fsname = const_cast<char*>(data[i].mount_device.c_str()); data 294 components/storage_monitor/storage_monitor_linux_unittest.cc entry.mnt_dir = const_cast<char*>(data[i].mount_point.c_str()); data 295 components/storage_monitor/storage_monitor_linux_unittest.cc entry.mnt_type = const_cast<char*>(data[i].mount_type.c_str()); data 158 components/storage_monitor/storage_monitor_win.cc void StorageMonitorWin::OnDeviceChange(UINT event_type, LPARAM data) { data 159 components/storage_monitor/storage_monitor_win.cc volume_mount_watcher_->OnWindowMessage(event_type, data); data 160 components/storage_monitor/storage_monitor_win.cc portable_device_watcher_->OnWindowMessage(event_type, data); data 64 components/storage_monitor/storage_monitor_win.h void OnDeviceChange(UINT event_type, LPARAM data); data 222 components/storage_monitor/storage_monitor_win_unittest.cc memcpy(dev_interface_broadcast->dbcc_name, pnp_device_id.data(), data 25 components/storage_monitor/test_storage_monitor_win.cc void TestStorageMonitorWin::InjectDeviceChange(UINT event_type, DWORD data) { data 26 components/storage_monitor/test_storage_monitor_win.cc OnDeviceChange(event_type, data); data 29 components/storage_monitor/test_storage_monitor_win.h void InjectDeviceChange(UINT event_type, DWORD data); data 92 components/storage_monitor/volume_mount_watcher_win.cc uint32 GetVolumeBitMaskFromBroadcastHeader(LPARAM data) { data 94 components/storage_monitor/volume_mount_watcher_win.cc reinterpret_cast<DEV_BROADCAST_VOLUME*>(data); data 101 components/storage_monitor/volume_mount_watcher_win.cc bool IsLogicalVolumeStructure(LPARAM data) { data 103 components/storage_monitor/volume_mount_watcher_win.cc reinterpret_cast<DEV_BROADCAST_HDR*>(data); data 444 components/storage_monitor/volume_mount_watcher_win.cc void VolumeMountWatcherWin::OnWindowMessage(UINT event_type, LPARAM data) { data 448 components/storage_monitor/volume_mount_watcher_win.cc if (IsLogicalVolumeStructure(data)) { data 449 components/storage_monitor/volume_mount_watcher_win.cc DWORD unitmask = GetVolumeBitMaskFromBroadcastHeader(data); data 461 components/storage_monitor/volume_mount_watcher_win.cc if (IsLogicalVolumeStructure(data)) { data 462 components/storage_monitor/volume_mount_watcher_win.cc DWORD unitmask = GetVolumeBitMaskFromBroadcastHeader(data); data 50 components/storage_monitor/volume_mount_watcher_win.h void OnWindowMessage(UINT event_type, LPARAM data); data 139 components/tracing/child_trace_message_filter.cc if (events_str_ptr->data().size()) { data 141 components/tracing/child_trace_message_filter.cc events_str_ptr->data())); data 163 components/tracing/child_trace_message_filter.cc events_str_ptr->data())); data 228 components/translate/core/browser/translate_language_list.cc const std::string& data) { data 244 components/translate/core/browser/translate_language_list.cc SetSupportedLanguages(data); data 79 components/translate/core/browser/translate_language_list.h const std::string& data); data 119 components/translate/core/browser/translate_script.cc int id, bool success, const std::string& data) { data 138 components/translate/core/browser/translate_script.cc data_ += data; data 153 components/translate/core/browser/translate_script.cc it->Run(success, data); data 30 components/translate/core/browser/translate_script.h const std::string& data() { return data_; } data 72 components/translate/core/browser/translate_script.h void OnScriptFetchComplete(int id, bool success, const std::string& data); data 70 components/translate/core/browser/translate_url_fetcher.cc std::string data; data 74 components/translate/core/browser/translate_url_fetcher.cc source->GetResponseAsString(&data); data 81 components/translate/core/browser/translate_url_fetcher.cc callback_.Run(id_, state_ == COMPLETED, data); data 76 components/visitedlink/browser/visitedlink_master.cc const void* data, data 81 components/visitedlink/browser/visitedlink_master.cc size_t num_written = fwrite(data, 1, data_len, file); data 96 components/visitedlink/browser/visitedlink_master.cc void AsyncWrite(FILE** file, int32 offset, const std::string& data) { data 98 components/visitedlink/browser/visitedlink_master.cc WriteToFile(*file, offset, data.data(), data.size()); data 259 components/visitedlink/browser/visitedlink_master.cc Fingerprint fingerprint = ComputeURLFingerprint(url.spec().data(), data 352 components/visitedlink/browser/visitedlink_master.cc ComputeURLFingerprint(url.spec().data(), url.spec().size(), salt_); data 376 components/visitedlink/browser/visitedlink_master.cc ComputeURLFingerprint(url.spec().data(), url.spec().size(), salt_)); data 889 components/visitedlink/browser/visitedlink_master.cc void* data, data 897 components/visitedlink/browser/visitedlink_master.cc std::string(static_cast<const char*>(data), data_size))); data 931 components/visitedlink/browser/visitedlink_master.cc void* data, data 943 components/visitedlink/browser/visitedlink_master.cc size_t num_read = fread(data, 1, data_size, file); data 967 components/visitedlink/browser/visitedlink_master.cc url.spec().data(), url.spec().length(), salt_)); data 229 components/visitedlink/browser/visitedlink_master.h void WriteToFile(FILE** hfile, off_t offset, void* data, int32 data_size); data 242 components/visitedlink/browser/visitedlink_master.h bool ReadFromFile(FILE* hfile, off_t offset, void* data, size_t data_size); data 39 components/visitedlink/common/visitedlink_common.cc return IsVisited(url.spec().data(), url.spec().size()); data 269 components/webdata/common/web_database_migration_unittest.cc ASSERT_TRUE(connection.Execute(contents.data())); data 109 content/browser/accessibility/accessibility_ui.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); data 110 content/browser/accessibility/accessibility_ui.cc data->Set("list", rvh_list.release()); data 113 content/browser/accessibility/accessibility_ui.cc data->Set("global_a11y_mode", a11y_mode.release()); data 116 content/browser/accessibility/accessibility_ui.cc base::JSONWriter::Write(data.get(), &json_string); data 281 content/browser/accessibility/browser_accessibility_gtk.cc static void browser_accessibility_init(AtkObject* atk_object, gpointer data) { data 284 content/browser/accessibility/browser_accessibility_gtk.cc atk_object, data); data 288 content/browser/accessibility/browser_accessibility_gtk.cc reinterpret_cast<BrowserAccessibilityGtk*>(data); data 98 content/browser/accessibility/cross_platform_accessibility_browsertest.cc const ui::AXNodeData& data = node->data(); data 99 content/browser/accessibility/cross_platform_accessibility_browsertest.cc for (size_t i = 0; i < data.string_attributes.size(); ++i) { data 100 content/browser/accessibility/cross_platform_accessibility_browsertest.cc if (data.string_attributes[i].first == attr) data 101 content/browser/accessibility/cross_platform_accessibility_browsertest.cc return data.string_attributes[i].second; data 111 content/browser/accessibility/cross_platform_accessibility_browsertest.cc const ui::AXNodeData& data = node->data(); data 112 content/browser/accessibility/cross_platform_accessibility_browsertest.cc for (size_t i = 0; i < data.int_attributes.size(); ++i) { data 113 content/browser/accessibility/cross_platform_accessibility_browsertest.cc if (data.int_attributes[i].first == attr) data 114 content/browser/accessibility/cross_platform_accessibility_browsertest.cc return data.int_attributes[i].second; data 124 content/browser/accessibility/cross_platform_accessibility_browsertest.cc const ui::AXNodeData& data = node->data(); data 125 content/browser/accessibility/cross_platform_accessibility_browsertest.cc for (size_t i = 0; i < data.bool_attributes.size(); ++i) { data 126 content/browser/accessibility/cross_platform_accessibility_browsertest.cc if (data.bool_attributes[i].first == attr) data 127 content/browser/accessibility/cross_platform_accessibility_browsertest.cc return data.bool_attributes[i].second; data 161 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_ROOT_WEB_AREA, root->data().role); data 166 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_GROUP, body->data().role); data 176 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_BUTTON, button->data().role); data 185 content/browser/accessibility/cross_platform_accessibility_browsertest.cc ASSERT_EQ(2U, button->data().html_attributes.size()); data 186 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_STREQ("type", button->data().html_attributes[0].first.c_str()); data 187 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_STREQ("button", button->data().html_attributes[0].second.c_str()); data 188 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_STREQ("value", button->data().html_attributes[1].first.c_str()); data 189 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_STREQ("push", button->data().html_attributes[1].second.c_str()); data 192 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_CHECK_BOX, checkbox->data().role); data 198 content/browser/accessibility/cross_platform_accessibility_browsertest.cc ASSERT_EQ(1U, checkbox->data().html_attributes.size()); data 199 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_STREQ("type", checkbox->data().html_attributes[0].first.c_str()); data 200 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_STREQ("checkbox", checkbox->data().html_attributes[0].second.c_str()); data 221 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_TEXT_FIELD, text->data().role); data 253 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_TEXT_FIELD, text->data().role); data 281 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_TABLE, table->data().role); data 283 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_ROW, row->data().role); data 285 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_CELL, cell1->data().role); data 287 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_CELL, cell2->data().role); data 289 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_COLUMN, column1->data().role); data 291 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(1U, column1->data().intlist_attributes.size()); data 293 content/browser/accessibility/cross_platform_accessibility_browsertest.cc column1->data().intlist_attributes[0].first); data 295 content/browser/accessibility/cross_platform_accessibility_browsertest.cc column1->data().intlist_attributes[0].second; data 299 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_COLUMN, column2->data().role); data 302 content/browser/accessibility/cross_platform_accessibility_browsertest.cc column2->data().intlist_attributes[0].first); data 304 content/browser/accessibility/cross_platform_accessibility_browsertest.cc column2->data().intlist_attributes[0].second; data 355 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_BUTTON, button1->data().role); data 366 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_SCROLL_AREA, scroll_area->data().role); data 370 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_WEB_AREA, sub_document->data().role); data 377 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_BUTTON, button2->data().role); data 382 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_BUTTON, button3->data().role); data 430 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_TABLE, table->data().role); data 432 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_ROW, table->ChildAtIndex(0)->data().role); data 433 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_ROW, table->ChildAtIndex(1)->data().role); data 434 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_COLUMN, table->ChildAtIndex(2)->data().role); data 435 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_COLUMN, table->ChildAtIndex(3)->data().role); data 436 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_COLUMN, table->ChildAtIndex(4)->data().role); data 447 content/browser/accessibility/cross_platform_accessibility_browsertest.cc table->data().intlist_attributes[0].first); data 449 content/browser/accessibility/cross_platform_accessibility_browsertest.cc table->data().intlist_attributes[0].second; data 206 content/browser/android/content_view_core_impl.cc ContentViewCoreImpl::ContentViewUserData* data = data 209 content/browser/android/content_view_core_impl.cc return data ? data->get() : NULL; data 583 content/browser/android/content_view_core_impl.cc event.data.flingStart.velocityX * dpi_scale(), data 584 content/browser/android/content_view_core_impl.cc event.data.flingStart.velocityY * dpi_scale()); data 595 content/browser/android/content_view_core_impl.cc event.data.flingStart.velocityX * dpi_scale(), data 596 content/browser/android/content_view_core_impl.cc event.data.flingStart.velocityY * dpi_scale()); data 1163 content/browser/android/content_view_core_impl.cc event.data.scrollBegin.deltaXHint = hintx / dpi_scale(); data 1164 content/browser/android/content_view_core_impl.cc event.data.scrollBegin.deltaYHint = hinty / dpi_scale(); data 1179 content/browser/android/content_view_core_impl.cc event.data.scrollUpdate.deltaX = -dx / dpi_scale(); data 1180 content/browser/android/content_view_core_impl.cc event.data.scrollUpdate.deltaY = -dy / dpi_scale(); data 1189 content/browser/android/content_view_core_impl.cc event.data.flingStart.velocityX = vx / dpi_scale(); data 1190 content/browser/android/content_view_core_impl.cc event.data.flingStart.velocityY = vy / dpi_scale(); data 1205 content/browser/android/content_view_core_impl.cc event.data.tap.tapCount = 1; data 1216 content/browser/android/content_view_core_impl.cc event.data.tap.tapCount = 1; data 1247 content/browser/android/content_view_core_impl.cc event.data.pinchUpdate.scale = delta; data 1687 content/browser/appcache/appcache_storage_impl_unittest.cc index_file, kCorruptData.data(), kCorruptData.length())); data 87 content/browser/appcache/view_appcache_internals_job.cc const std::string& data, data 91 content/browser/appcache/view_appcache_internals_job.cc out->append(net::EscapeForHTML(data)); data 113 content/browser/appcache/view_appcache_internals_job.cc replacements.SetQuery(query.data(), data 173 content/browser/appcache/view_appcache_internals_job.cc void EmitTableData(const std::string& data, bool align_right, bool bold, data 181 content/browser/appcache/view_appcache_internals_job.cc out->append(data); data 228 content/browser/appcache/view_appcache_internals_job.cc replacements.SetQuery(query.data(), data 427 content/browser/appcache/view_appcache_internals_job.cc std::string* data, data 588 content/browser/appcache/view_appcache_internals_job.cc EmitHexDump(response_data_->data(), data 45 content/browser/browser_child_process_host_impl.cc void NotifyProcessHostConnected(const ChildProcessData& data) { data 47 content/browser/browser_child_process_host_impl.cc BrowserChildProcessHostConnected(data)); data 50 content/browser/browser_child_process_host_impl.cc void NotifyProcessHostDisconnected(const ChildProcessData& data) { data 52 content/browser/browser_child_process_host_impl.cc BrowserChildProcessHostDisconnected(data)); data 55 content/browser/browser_child_process_host_impl.cc void NotifyProcessCrashed(const ChildProcessData& data) { data 57 content/browser/browser_child_process_host_impl.cc BrowserChildProcessCrashed(data)); data 216 content/browser/browser_child_process_host_impl.cc const ChildProcessData& data) { data 219 content/browser/browser_child_process_host_impl.cc BrowserChildProcessInstanceCreated(data)); data 82 content/browser/browser_child_process_host_impl.h static void NotifyProcessInstanceCreated(const ChildProcessData& data); data 101 content/browser/browser_shutdown_profile_dumper.cc WriteString(events_str->data()); data 116 content/browser/browser_shutdown_profile_dumper.cc WriteChars(string.data(), string.size()); data 119 content/browser/byte_stream.cc virtual StreamState Read(scoped_refptr<net::IOBuffer>* data, data 345 content/browser/byte_stream.cc ByteStreamReaderImpl::Read(scoped_refptr<net::IOBuffer>* data, data 350 content/browser/byte_stream.cc *data = available_contents_.front().first; data 178 content/browser/byte_stream.h virtual StreamState Read(scoped_refptr<net::IOBuffer>* data, data 36 content/browser/byte_stream_unittest.cc char *bufferp = buffer->data(); data 59 content/browser/byte_stream_unittest.cc char *bufferp = buffer->data(); data 201 content/browser/compositor/gpu_process_transport_factory.cc PerCompositorData* data = per_compositor_data_[compositor]; data 202 content/browser/compositor/gpu_process_transport_factory.cc if (!data) data 203 content/browser/compositor/gpu_process_transport_factory.cc data = CreatePerCompositorData(compositor); data 219 content/browser/compositor/gpu_process_transport_factory.cc GpuProcessTransportFactory::CreateContextCommon(data->surface_id), data 258 content/browser/compositor/gpu_process_transport_factory.cc if (data->reflector.get()) data 259 content/browser/compositor/gpu_process_transport_factory.cc data->reflector->ReattachToOutputSurfaceFromMainThread(surface.get()); data 267 content/browser/compositor/gpu_process_transport_factory.cc PerCompositorData* data = per_compositor_data_[source]; data 268 content/browser/compositor/gpu_process_transport_factory.cc DCHECK(data); data 270 content/browser/compositor/gpu_process_transport_factory.cc if (data->reflector.get()) data 271 content/browser/compositor/gpu_process_transport_factory.cc RemoveObserver(data->reflector.get()); data 273 content/browser/compositor/gpu_process_transport_factory.cc data->reflector = new ReflectorImpl( data 274 content/browser/compositor/gpu_process_transport_factory.cc source, target, &output_surface_map_, data->surface_id); data 275 content/browser/compositor/gpu_process_transport_factory.cc AddObserver(data->reflector.get()); data 276 content/browser/compositor/gpu_process_transport_factory.cc return data->reflector; data 283 content/browser/compositor/gpu_process_transport_factory.cc PerCompositorData* data = data 285 content/browser/compositor/gpu_process_transport_factory.cc DCHECK(data); data 287 content/browser/compositor/gpu_process_transport_factory.cc data->reflector->Shutdown(); data 288 content/browser/compositor/gpu_process_transport_factory.cc data->reflector = NULL; data 295 content/browser/compositor/gpu_process_transport_factory.cc PerCompositorData* data = it->second; data 296 content/browser/compositor/gpu_process_transport_factory.cc DCHECK(data); data 297 content/browser/compositor/gpu_process_transport_factory.cc GpuSurfaceTracker::Get()->RemoveSurface(data->surface_id); data 298 content/browser/compositor/gpu_process_transport_factory.cc delete data; data 427 content/browser/compositor/gpu_process_transport_factory.cc PerCompositorData* data = new PerCompositorData; data 428 content/browser/compositor/gpu_process_transport_factory.cc data->surface_id = tracker->AddSurfaceForNativeWidget(widget); data 430 content/browser/compositor/gpu_process_transport_factory.cc data->surface_id, data 433 content/browser/compositor/gpu_process_transport_factory.cc per_compositor_data_[compositor] = data; data 435 content/browser/compositor/gpu_process_transport_factory.cc return data; data 29 content/browser/database_browsertest.cc std::string data; data 33 content/browser/database_browsertest.cc &data)); data 34 content/browser/database_browsertest.cc ASSERT_EQ(data, result); data 45 content/browser/database_browsertest.cc void InsertRecord(Shell* shell, const std::string& data) { data 46 content/browser/database_browsertest.cc RunScriptAndCheckResult(shell, "insertRecord('" + data + "')", "done"); data 49 content/browser/database_browsertest.cc void UpdateRecord(Shell* shell, int index, const std::string& data) { data 52 content/browser/database_browsertest.cc "updateRecord(" + base::IntToString(index) + ", '" + data + "')", data 66 content/browser/database_browsertest.cc std::string data; data 70 content/browser/database_browsertest.cc &data)); data 71 content/browser/database_browsertest.cc return data != "getRecords error: [object SQLError]"; data 54 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc buffer->data.interval = kInertialSensorIntervalMillis; data 63 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc buffer->data.alpha = 1; data 297 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc fake_data_fetcher.GetMotionBuffer()->data.interval); data 312 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc EXPECT_EQ(1, fake_data_fetcher.GetOrientationBuffer()->data.alpha); data 328 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc fake_data_fetcher.GetMotionBuffer()->data.interval); data 344 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc EXPECT_EQ(1, fake_data_fetcher.GetOrientationBuffer()->data.alpha); data 375 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc EXPECT_EQ(1, fake_data_fetcher.GetOrientationBuffer()->data.alpha); data 377 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc fake_data_fetcher.GetMotionBuffer()->data.interval); data 395 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc EXPECT_EQ(0, fake_data_fetcher.GetOrientationBuffer()->data.alpha); data 17 content/browser/device_orientation/data_fetcher_shared_memory_default.cc buffer->data.allAvailableSensorsAreActive = enabled; data 27 content/browser/device_orientation/data_fetcher_shared_memory_default.cc buffer->data.allAvailableSensorsAreActive = enabled; data 24 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->data.accelerationIncludingGravityX = axis_value[0] * kMeanGravity; data 25 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->data.hasAccelerationIncludingGravityX = true; data 26 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->data.accelerationIncludingGravityY = axis_value[1] * kMeanGravity; data 27 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->data.hasAccelerationIncludingGravityY = true; data 28 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->data.accelerationIncludingGravityZ = axis_value[2] * kMeanGravity; data 29 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->data.hasAccelerationIncludingGravityZ = true; data 30 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->data.allAvailableSensorsAreActive = true; data 82 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->data.beta = beta; data 83 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->data.hasBeta = true; data 84 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->data.gamma = gamma; data 85 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->data.hasGamma = true; data 86 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc buffer->data.allAvailableSensorsAreActive = true; data 132 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc motion_buffer_->data.allAvailableSensorsAreActive = true; data 144 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc orientation_buffer_->data.absolute = false; data 145 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc orientation_buffer_->data.hasAbsolute = true; data 150 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc orientation_buffer_->data.allAvailableSensorsAreActive = true; data 167 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc motion_buffer_->data.allAvailableSensorsAreActive = false; data 175 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc orientation_buffer_->data.allAvailableSensorsAreActive = false; data 118 content/browser/device_orientation/data_fetcher_shared_memory_win.cc buffer_->data.alpha = alpha; data 119 content/browser/device_orientation/data_fetcher_shared_memory_win.cc buffer_->data.hasAlpha = has_alpha; data 120 content/browser/device_orientation/data_fetcher_shared_memory_win.cc buffer_->data.beta = beta; data 121 content/browser/device_orientation/data_fetcher_shared_memory_win.cc buffer_->data.hasBeta = has_beta; data 122 content/browser/device_orientation/data_fetcher_shared_memory_win.cc buffer_->data.gamma = gamma; data 123 content/browser/device_orientation/data_fetcher_shared_memory_win.cc buffer_->data.hasGamma = has_gamma; data 124 content/browser/device_orientation/data_fetcher_shared_memory_win.cc buffer_->data.absolute = true; data 125 content/browser/device_orientation/data_fetcher_shared_memory_win.cc buffer_->data.hasAbsolute = has_alpha || has_beta || has_gamma; data 126 content/browser/device_orientation/data_fetcher_shared_memory_win.cc buffer_->data.allAvailableSensorsAreActive = true; data 174 content/browser/device_orientation/data_fetcher_shared_memory_win.cc buffer_->data.accelerationIncludingGravityX = data 176 content/browser/device_orientation/data_fetcher_shared_memory_win.cc buffer_->data.hasAccelerationIncludingGravityX = data 178 content/browser/device_orientation/data_fetcher_shared_memory_win.cc buffer_->data.accelerationIncludingGravityY = data 180 content/browser/device_orientation/data_fetcher_shared_memory_win.cc buffer_->data.hasAccelerationIncludingGravityY = data 182 content/browser/device_orientation/data_fetcher_shared_memory_win.cc buffer_->data.accelerationIncludingGravityZ = data 184 content/browser/device_orientation/data_fetcher_shared_memory_win.cc buffer_->data.hasAccelerationIncludingGravityZ = data 188 content/browser/device_orientation/data_fetcher_shared_memory_win.cc buffer_->data.allAvailableSensorsAreActive = true; data 205 content/browser/device_orientation/data_fetcher_shared_memory_win.cc buffer_->data.rotationRateAlpha = alpha; data 206 content/browser/device_orientation/data_fetcher_shared_memory_win.cc buffer_->data.hasRotationRateAlpha = has_alpha; data 207 content/browser/device_orientation/data_fetcher_shared_memory_win.cc buffer_->data.rotationRateBeta = beta; data 208 content/browser/device_orientation/data_fetcher_shared_memory_win.cc buffer_->data.hasRotationRateBeta = has_beta; data 209 content/browser/device_orientation/data_fetcher_shared_memory_win.cc buffer_->data.rotationRateGamma = gamma; data 210 content/browser/device_orientation/data_fetcher_shared_memory_win.cc buffer_->data.hasRotationRateGamma = has_gamma; data 211 content/browser/device_orientation/data_fetcher_shared_memory_win.cc buffer_->data.allAvailableSensorsAreActive = true; data 274 content/browser/device_orientation/data_fetcher_shared_memory_win.cc motion_buffer_->data.interval = GetInterval().InMilliseconds(); data 384 content/browser/device_orientation/data_fetcher_shared_memory_win.cc orientation_buffer_->data.allAvailableSensorsAreActive = enabled; data 390 content/browser/device_orientation/data_fetcher_shared_memory_win.cc motion_buffer_->data.allAvailableSensorsAreActive = enabled; data 95 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.allAvailableSensorsAreActive = true; data 101 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.allAvailableSensorsAreActive = true; data 107 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.accelerationX = 1; data 108 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.hasAccelerationX = true; data 109 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.accelerationY = 2; data 110 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.hasAccelerationY = true; data 111 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.accelerationZ = 3; data 112 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.hasAccelerationZ = true; data 114 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.accelerationIncludingGravityX = 4; data 115 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.hasAccelerationIncludingGravityX = true; data 116 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.accelerationIncludingGravityY = 5; data 117 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.hasAccelerationIncludingGravityY = true; data 118 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.accelerationIncludingGravityZ = 6; data 119 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.hasAccelerationIncludingGravityZ = true; data 121 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.rotationRateAlpha = 7; data 122 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.hasRotationRateAlpha = true; data 123 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.rotationRateBeta = 8; data 124 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.hasRotationRateBeta = true; data 125 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.rotationRateGamma = 9; data 126 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.hasRotationRateGamma = true; data 128 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.interval = 100; data 129 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.allAvailableSensorsAreActive = true; data 135 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.alpha = 1; data 136 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.hasAlpha = true; data 137 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.beta = 2; data 138 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.hasBeta = true; data 139 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.gamma = 3; data 140 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.hasGamma = true; data 141 content/browser/device_orientation/device_inertial_sensor_browsertest.cc buffer->data.allAvailableSensorsAreActive = true; data 60 content/browser/device_orientation/sensor_manager_android.cc device_orientation_buffer_->data.alpha = alpha; data 61 content/browser/device_orientation/sensor_manager_android.cc device_orientation_buffer_->data.hasAlpha = true; data 62 content/browser/device_orientation/sensor_manager_android.cc device_orientation_buffer_->data.beta = beta; data 63 content/browser/device_orientation/sensor_manager_android.cc device_orientation_buffer_->data.hasBeta = true; data 64 content/browser/device_orientation/sensor_manager_android.cc device_orientation_buffer_->data.gamma = gamma; data 65 content/browser/device_orientation/sensor_manager_android.cc device_orientation_buffer_->data.hasGamma = true; data 82 content/browser/device_orientation/sensor_manager_android.cc device_motion_buffer_->data.accelerationX = x; data 83 content/browser/device_orientation/sensor_manager_android.cc device_motion_buffer_->data.hasAccelerationX = true; data 84 content/browser/device_orientation/sensor_manager_android.cc device_motion_buffer_->data.accelerationY = y; data 85 content/browser/device_orientation/sensor_manager_android.cc device_motion_buffer_->data.hasAccelerationY = true; data 86 content/browser/device_orientation/sensor_manager_android.cc device_motion_buffer_->data.accelerationZ = z; data 87 content/browser/device_orientation/sensor_manager_android.cc device_motion_buffer_->data.hasAccelerationZ = true; data 104 content/browser/device_orientation/sensor_manager_android.cc device_motion_buffer_->data.accelerationIncludingGravityX = x; data 105 content/browser/device_orientation/sensor_manager_android.cc device_motion_buffer_->data.hasAccelerationIncludingGravityX = true; data 106 content/browser/device_orientation/sensor_manager_android.cc device_motion_buffer_->data.accelerationIncludingGravityY = y; data 107 content/browser/device_orientation/sensor_manager_android.cc device_motion_buffer_->data.hasAccelerationIncludingGravityY = true; data 108 content/browser/device_orientation/sensor_manager_android.cc device_motion_buffer_->data.accelerationIncludingGravityZ = z; data 109 content/browser/device_orientation/sensor_manager_android.cc device_motion_buffer_->data.hasAccelerationIncludingGravityZ = true; data 126 content/browser/device_orientation/sensor_manager_android.cc device_motion_buffer_->data.rotationRateAlpha = alpha; data 127 content/browser/device_orientation/sensor_manager_android.cc device_motion_buffer_->data.hasRotationRateAlpha = true; data 128 content/browser/device_orientation/sensor_manager_android.cc device_motion_buffer_->data.rotationRateBeta = beta; data 129 content/browser/device_orientation/sensor_manager_android.cc device_motion_buffer_->data.hasRotationRateBeta = true; data 130 content/browser/device_orientation/sensor_manager_android.cc device_motion_buffer_->data.rotationRateGamma = gamma; data 131 content/browser/device_orientation/sensor_manager_android.cc device_motion_buffer_->data.hasRotationRateGamma = true; data 204 content/browser/device_orientation/sensor_manager_android.cc device_motion_buffer_->data.interval = kInertialSensorIntervalMillis; data 221 content/browser/device_orientation/sensor_manager_android.cc device_motion_buffer_->data.allAvailableSensorsAreActive = ready; data 236 content/browser/device_orientation/sensor_manager_android.cc device_orientation_buffer_->data.absolute = ready; data 237 content/browser/device_orientation/sensor_manager_android.cc device_orientation_buffer_->data.hasAbsolute = ready; data 238 content/browser/device_orientation/sensor_manager_android.cc device_orientation_buffer_->data.allAvailableSensorsAreActive = ready; data 59 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_FALSE(motion_buffer_->data.allAvailableSensorsAreActive); data 62 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_FALSE(motion_buffer_->data.allAvailableSensorsAreActive); data 63 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_EQ(1, motion_buffer_->data.accelerationX); data 64 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_TRUE(motion_buffer_->data.hasAccelerationX); data 65 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_EQ(2, motion_buffer_->data.accelerationY); data 66 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_TRUE(motion_buffer_->data.hasAccelerationY); data 67 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_EQ(3, motion_buffer_->data.accelerationZ); data 68 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_TRUE(motion_buffer_->data.hasAccelerationZ); data 71 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_FALSE(motion_buffer_->data.allAvailableSensorsAreActive); data 72 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_EQ(4, motion_buffer_->data.accelerationIncludingGravityX); data 73 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_TRUE(motion_buffer_->data.hasAccelerationIncludingGravityX); data 74 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_EQ(5, motion_buffer_->data.accelerationIncludingGravityY); data 75 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_TRUE(motion_buffer_->data.hasAccelerationIncludingGravityY); data 76 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_EQ(6, motion_buffer_->data.accelerationIncludingGravityZ); data 77 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_TRUE(motion_buffer_->data.hasAccelerationIncludingGravityZ); data 80 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_TRUE(motion_buffer_->data.allAvailableSensorsAreActive); data 81 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_EQ(7, motion_buffer_->data.rotationRateAlpha); data 82 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_TRUE(motion_buffer_->data.hasRotationRateAlpha); data 83 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_EQ(8, motion_buffer_->data.rotationRateBeta); data 84 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_TRUE(motion_buffer_->data.hasRotationRateBeta); data 85 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_EQ(9, motion_buffer_->data.rotationRateGamma); data 86 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_TRUE(motion_buffer_->data.hasRotationRateGamma); data 87 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_EQ(kInertialSensorIntervalMillis, motion_buffer_->data.interval); data 90 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_FALSE(motion_buffer_->data.allAvailableSensorsAreActive); data 99 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_FALSE(motion_buffer_->data.allAvailableSensorsAreActive); data 102 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_FALSE(motion_buffer_->data.allAvailableSensorsAreActive); data 105 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_TRUE(motion_buffer_->data.allAvailableSensorsAreActive); data 106 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_EQ(kInertialSensorIntervalMillis, motion_buffer_->data.interval); data 109 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_FALSE(motion_buffer_->data.allAvailableSensorsAreActive); data 118 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_TRUE(motion_buffer_->data.allAvailableSensorsAreActive); data 119 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_EQ(kInertialSensorIntervalMillis, motion_buffer_->data.interval); data 122 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_FALSE(motion_buffer_->data.allAvailableSensorsAreActive); data 130 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_FALSE(orientation_buffer_->data.allAvailableSensorsAreActive); data 133 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_TRUE(orientation_buffer_->data.allAvailableSensorsAreActive); data 134 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_EQ(1, orientation_buffer_->data.alpha); data 135 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_TRUE(orientation_buffer_->data.hasAlpha); data 136 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_EQ(2, orientation_buffer_->data.beta); data 137 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_TRUE(orientation_buffer_->data.hasBeta); data 138 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_EQ(3, orientation_buffer_->data.gamma); data 139 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_TRUE(orientation_buffer_->data.hasGamma); data 142 content/browser/device_orientation/sensor_manager_android_unittest.cc ASSERT_FALSE(orientation_buffer_->data.allAvailableSensorsAreActive); data 44 content/browser/devtools/devtools_browser_target.cc void DevToolsBrowserTarget::HandleMessage(const std::string& data) { data 47 content/browser/devtools/devtools_browser_target.cc DevToolsProtocol::ParseCommand(data, &error_response); data 46 content/browser/devtools/devtools_browser_target.h void HandleMessage(const std::string& data); data 107 content/browser/devtools/devtools_http_handler_impl.cc virtual void DispatchOnInspectorFrontend(const std::string& data) OVERRIDE { data 113 content/browser/devtools/devtools_http_handler_impl.cc data)); data 297 content/browser/devtools/devtools_http_handler_impl.cc std::string data; data 298 content/browser/devtools/devtools_http_handler_impl.cc base::ReadFileToString(path, &data); data 299 content/browser/devtools/devtools_http_handler_impl.cc server_->Send200(connection_id, data, mime_type); data 305 content/browser/devtools/devtools_http_handler_impl.cc base::StringPiece data = GetContentClient()->GetDataResource( data 307 content/browser/devtools/devtools_http_handler_impl.cc server_->Send200(connection_id, data.as_string(), mime_type); data 355 content/browser/devtools/devtools_http_handler_impl.cc const std::string& data) { data 357 content/browser/devtools/devtools_http_handler_impl.cc browser_target_->HandleMessage(data); data 368 content/browser/devtools/devtools_http_handler_impl.cc data)); data 566 content/browser/devtools/devtools_http_handler_impl.cc std::string data = delegate_->GetPageThumbnailData(page_url); data 567 content/browser/devtools/devtools_http_handler_impl.cc if (!data.empty()) data 568 content/browser/devtools/devtools_http_handler_impl.cc Send200(connection_id, data, "image/png"); data 617 content/browser/devtools/devtools_http_handler_impl.cc const std::string& data) { data 624 content/browser/devtools/devtools_http_handler_impl.cc manager->DispatchOnInspectorBackend(it->second, data); data 705 content/browser/devtools/devtools_http_handler_impl.cc const std::string& data, data 714 content/browser/devtools/devtools_http_handler_impl.cc data, data 64 content/browser/devtools/devtools_http_handler_impl.h const std::string& data) OVERRIDE; data 74 content/browser/devtools/devtools_http_handler_impl.h void OnWebSocketMessageUI(int connection_id, const std::string& data); data 98 content/browser/devtools/devtools_http_handler_impl.h const std::string& data, data 29 content/browser/devtools/devtools_http_handler_unittest.cc const char* data, data 69 content/browser/devtools/devtools_tracing_handler.cc if (trace_data->data().size()) { data 71 content/browser/devtools/devtools_tracing_handler.cc trace_data->data())); data 472 content/browser/devtools/renderer_overrides_handler.cc command->SuccessResponse(CreateScreenshotResponse(png_data->data()))); data 530 content/browser/devtools/renderer_overrides_handler.cc std::vector<unsigned char> data; data 539 content/browser/devtools/renderer_overrides_handler.cc false, std::vector<gfx::PNGCodec::Comment>(), &data); data 547 content/browser/devtools/renderer_overrides_handler.cc quality, &data); data 557 content/browser/devtools/renderer_overrides_handler.cc base::StringPiece(reinterpret_cast<char*>(&data[0]), data.size()), data 955 content/browser/devtools/renderer_overrides_handler.cc event.data.scrollUpdate.deltaX = dx; data 956 content/browser/devtools/renderer_overrides_handler.cc event.data.scrollUpdate.deltaY = dy; data 966 content/browser/devtools/renderer_overrides_handler.cc event.data.pinchUpdate.scale = static_cast<float>(scale); data 82 content/browser/devtools/tethering_handler.cc const char* data, data 88 content/browser/devtools/tethering_handler.cc memcpy(wire_buffer_->StartOfBuffer() + old_size, data, len); data 104 content/browser/devtools/tethering_handler.cc accepted_socket_->Send(buffer_->data(), result); data 131 content/browser/devtools/tethering_handler.cc memcpy(buffer->data(), wire_buffer_->data(), remaining); data 140 content/browser/devtools/tethering_handler.cc memcpy(wire_buffer_->StartOfBuffer(), wire_buffer_->data(), data 109 content/browser/dom_storage/dom_storage_database.cc statement.BindBlob(1, value.string().data(), data 272 content/browser/dom_storage/dom_storage_namespace.cc TransactionData* data = transactions_[process_id]; data 273 content/browser/dom_storage/dom_storage_namespace.cc if (data->max_log_size_exceeded) data 275 content/browser/dom_storage/dom_storage_namespace.cc if (data->log.size() < 1) { data 289 content/browser/dom_storage/dom_storage_namespace.cc for (unsigned int i = 0; i < data->log.size(); i++) { data 290 content/browser/dom_storage/dom_storage_namespace.cc TransactionRecord& transaction = data->log[i]; data 321 content/browser/dom_storage/dom_storage_namespace.cc for (unsigned int i = 0; i < data->log.size(); i++) { data 322 content/browser/dom_storage/dom_storage_namespace.cc TransactionRecord& transaction = data->log[i]; data 583 content/browser/dom_storage/session_storage_database.cc reinterpret_cast<const base::char16*>(it->value().data()); data 604 content/browser/dom_storage/session_storage_database.cc const char* data = reinterpret_cast<const char*>(value.string().data()); data 606 content/browser/dom_storage/session_storage_database.cc batch->Put(key, leveldb::Slice(data, size)); data 45 content/browser/dom_storage/session_storage_database_unittest.cc void ReadData(DataMap* data) const; data 183 content/browser/dom_storage/session_storage_database_unittest.cc void SessionStorageDatabaseTest::ReadData(DataMap* data) const { data 188 content/browser/dom_storage/session_storage_database_unittest.cc (*data)[it->key().ToString()] = it->value().ToString(); data 193 content/browser/dom_storage/session_storage_database_unittest.cc DataMap data; data 194 content/browser/dom_storage/session_storage_database_unittest.cc ReadData(&data); data 196 content/browser/dom_storage/session_storage_database_unittest.cc if (data.empty()) data 204 content/browser/dom_storage/session_storage_database_unittest.cc if (data.find(SessionStorageDatabase::NamespacePrefix()) == data.end()) { data 207 content/browser/dom_storage/session_storage_database_unittest.cc for (DataMap::const_iterator it = data.begin(); it != data.end(); ++it) { data 220 content/browser/dom_storage/session_storage_database_unittest.cc for (DataMap::const_iterator it = data.begin(); it != data.end(); ++it) { data 247 content/browser/dom_storage/session_storage_database_unittest.cc ASSERT_TRUE(data.find(next_map_id_key) != data.end()); data 250 content/browser/dom_storage/session_storage_database_unittest.cc base::StringToInt64(data[next_map_id_key], &next_map_id); data 257 content/browser/dom_storage/session_storage_database_unittest.cc for (DataMap::const_iterator it = data.begin(); it != data.end(); ++it) { data 280 content/browser/dom_storage/session_storage_database_unittest.cc if (data.find(next_map_id_key) != data.end()) data 283 content/browser/dom_storage/session_storage_database_unittest.cc ASSERT_EQ(data.size(), valid_keys); data 287 content/browser/dom_storage/session_storage_database_unittest.cc DataMap data; data 288 content/browser/dom_storage/session_storage_database_unittest.cc ReadData(&data); data 290 content/browser/dom_storage/session_storage_database_unittest.cc if (data.find(SessionStorageDatabase::NamespacePrefix()) != data.end()) data 292 content/browser/dom_storage/session_storage_database_unittest.cc if (data.find(SessionStorageDatabase::NextMapIdKey()) != data.end()) data 294 content/browser/dom_storage/session_storage_database_unittest.cc EXPECT_EQ(valid_keys, data.size()); data 309 content/browser/dom_storage/session_storage_database_unittest.cc reinterpret_cast<const base::char16*>(it->value().data()), len); data 709 content/browser/dom_storage/session_storage_database_unittest.cc const unsigned char* data = data 710 content/browser/dom_storage/session_storage_database_unittest.cc reinterpret_cast<const unsigned char*>(values[kKey1].string().data()); data 712 content/browser/dom_storage/session_storage_database_unittest.cc EXPECT_EQ(raw_data[i], data[i]); data 91 content/browser/download/base_file.cc DownloadInterruptReason BaseFile::AppendDataToFile(const char* data, data 112 content/browser/download/base_file.cc const char* current_data = data; data 134 content/browser/download/base_file.cc secure_hash_->Update(data, data_len); data 228 content/browser/download/base_file.cc return std::string(reinterpret_cast<const char*>(hash_state.data()), data 235 content/browser/download/base_file.cc 0 == memcmp(hash.data(), kEmptySha256Hash, crypto::kSHA256Length)); data 56 content/browser/download/base_file.h DownloadInterruptReason AppendDataToFile(const char* data, size_t data_len); data 89 content/browser/download/base_file_unittest.cc void UpdateHash(const char* data, size_t length) { data 90 content/browser/download/base_file_unittest.cc secure_hash_->Update(data, length); data 118 content/browser/download/base_file_unittest.cc bool AppendDataToFile(const std::string& data) { data 121 content/browser/download/base_file_unittest.cc base_file_->AppendDataToFile(data.data(), data.size()); data 127 content/browser/download/base_file_unittest.cc expected_data_ += data; data 136 content/browser/download/base_file_unittest.cc void set_expected_data(const std::string& data) { expected_data_ = data; } data 262 content/browser/download/base_file_unittest.cc base::HexEncode(expected_hash.data(), expected_hash.size()); data 273 content/browser/download/base_file_unittest.cc EXPECT_EQ(expected_hash_hex, base::HexEncode(hash.data(), hash.size())); data 324 content/browser/download/base_file_unittest.cc base::HexEncode(expected_hash.data(), expected_hash.size()); data 336 content/browser/download/base_file_unittest.cc EXPECT_EQ(expected_hash_hex, base::HexEncode(hash.data(), hash.size())); data 348 content/browser/download/base_file_unittest.cc base::HexEncode(expected_hash.data(), expected_hash.size()); data 363 content/browser/download/base_file_unittest.cc EXPECT_EQ(expected_hash_hex, base::HexEncode(hash.data(), hash.size())); data 376 content/browser/download/base_file_unittest.cc base::HexEncode(expected_hash.data(), expected_hash.size()); data 405 content/browser/download/base_file_unittest.cc std::string data(kTestData3); data 407 content/browser/download/base_file_unittest.cc second_file.AppendDataToFile(data.data(), data.size())); data 414 content/browser/download/base_file_unittest.cc base::HexEncode(hash.data(), hash.size()).c_str()); data 94 content/browser/download/download_file_impl.cc const char* data, size_t data_len) { data 103 content/browser/download/download_file_impl.cc return file_.AppendDataToFile(data, data_len); data 231 content/browser/download/download_file_impl.cc incoming_data.get()->data(), incoming_data_size); data 71 content/browser/download/download_file_impl.h const char* data, size_t data_len); data 183 content/browser/download/download_file_unittest.cc scoped_refptr<net::IOBuffer> data = new net::IOBuffer(length); data 184 content/browser/download/download_file_unittest.cc memcpy(data->data(), source_data, length); data 187 content/browser/download/download_file_unittest.cc .WillOnce(DoAll(SetArgPointee<0>(data), data 410 content/browser/download/download_file_unittest.cc EXPECT_EQ(kDataHash, base::HexEncode(hash.data(), hash.size())); data 96 content/browser/download/download_net_log_parameters.cc base::HexEncode(hash_state->data(), hash_state->size())); data 112 content/browser/download/download_net_log_parameters.cc base::HexEncode(hash_state->data(), hash_state->size())); data 124 content/browser/download/download_net_log_parameters.cc base::HexEncode(final_hash->data(), final_hash->size())); data 145 content/browser/download/download_net_log_parameters.cc base::HexEncode(hash_state->data(), hash_state->size())); data 29 content/browser/download/mock_download_file.h const char* data, size_t data_len)); data 40 content/browser/download/save_file.cc DownloadInterruptReason SaveFile::AppendDataToFile(const char* data, data 42 content/browser/download/save_file.cc return file_.AppendDataToFile(data, data_len); data 29 content/browser/download/save_file.h DownloadInterruptReason AppendDataToFile(const char* data, size_t data_len); data 237 content/browser/download/save_file_manager.cc net::IOBuffer* data, data 245 content/browser/download/save_file_manager.cc save_file->AppendDataToFile(data->data(), data_len); data 110 content/browser/download/save_file_manager.h void UpdateSaveProgress(int save_id, net::IOBuffer* data, int size); data 1066 content/browser/download/save_package.cc const std::string& data, data 1115 content/browser/download/save_package.cc if (!data.empty()) { data 1117 content/browser/download/save_package.cc scoped_refptr<net::IOBuffer> new_data(new net::IOBuffer(data.size())); data 1118 content/browser/download/save_package.cc memcpy(new_data->data(), data.data(), data.size()); data 1127 content/browser/download/save_package.cc static_cast<int>(data.size()))); data 212 content/browser/download/save_package.h const std::string& data, data 105 content/browser/fileapi/blob_url_request_job_unittest.cc response_data_.append(received_data_->data(), data 339 content/browser/fileapi/blob_url_request_job_unittest.cc base::WriteFile(large_temp_file, large_data.data(), data 381 content/browser/fileapi/blob_url_request_job_unittest.cc WriteFileSystemFile(kFilename, large_data.data(), large_data.size(), NULL); data 40 content/browser/fileapi/file_system_file_stream_reader_unittest.cc std::string* data, data 59 content/browser/fileapi/file_system_file_stream_reader_unittest.cc data->append(buf->data(), rv); data 149 content/browser/fileapi/file_system_file_stream_reader_unittest.cc std::string data; data 150 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ReadFromReader(reader.get(), &data, 10, &result); data 152 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ASSERT_EQ(0U, data.size()); data 162 content/browser/fileapi/file_system_file_stream_reader_unittest.cc std::string data; data 163 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ReadFromReader(reader.get(), &data, 10, &result); data 165 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ASSERT_EQ(0U, data.size()); data 220 content/browser/fileapi/file_system_file_stream_reader_unittest.cc std::string data; data 221 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ReadFromReader(reader.get(), &data, kTestDataSize, &result); data 223 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ASSERT_EQ(kTestData, data); data 234 content/browser/fileapi/file_system_file_stream_reader_unittest.cc std::string data; data 235 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ReadFromReader(reader.get(), &data, kTestDataSize, &result); data 237 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ASSERT_EQ(0U, data.size()); data 240 content/browser/fileapi/file_system_file_stream_reader_unittest.cc data.clear(); data 242 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ReadFromReader(reader.get(), &data, kTestDataSize, &result); data 244 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ASSERT_EQ(kTestData, data); data 251 content/browser/fileapi/file_system_file_stream_reader_unittest.cc std::string data; data 252 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ReadFromReader(reader.get(), &data, kTestDataSize, &result); data 254 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ASSERT_EQ(&kTestData[3], data); data 1061 content/browser/fileapi/file_system_operation_impl_unittest.cc char data[100]; data 1062 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(length, base::ReadFile(platform_path, data, length)); data 1065 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(test_data[i], data[i]); data 1067 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(0, data[i]); data 1081 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(length, base::ReadFile(platform_path, data, length)); data 1083 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(test_data[i], data[i]); data 189 content/browser/fileapi/file_writer_delegate_unittest.cc buf->data()[i] = content_[cursor_++]; data 211 content/browser/fileapi/fileapi_message_filter_unittest.cc item.SetToBytes(kFakeData.data(), kFakeData.size()); data 230 content/browser/fileapi/fileapi_message_filter_unittest.cc EXPECT_EQ(kFakeData, std::string(buffer->data(), bytes_read)); data 257 content/browser/fileapi/fileapi_message_filter_unittest.cc memcpy(shared_memory->memory(), kFakeData.data(), kFakeData.size()); data 277 content/browser/fileapi/fileapi_message_filter_unittest.cc EXPECT_EQ(kFakeData, std::string(buffer->data(), bytes_read)); data 340 content/browser/fileapi/obfuscated_file_util_unittest.cc const char data[] = "test data"; data 341 content/browser/fileapi/obfuscated_file_util_unittest.cc const int length = arraysize(data) - 1; data 350 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(length, base::WritePlatformFile(file_handle, 0, data, length)); data 768 content/browser/fileapi/obfuscated_file_util_unittest.cc kFakeDirectoryData.data(), data 134 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_TRUE(std::equal(file_data_.begin(), file_data_.end(), buf->data())); data 152 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc buf->data())); data 160 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc buf->data())); data 172 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_TRUE(std::equal(file_data_.begin(), file_data_.end(), buf->data())); data 185 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_TRUE(std::equal(file_data_.begin(), file_data_.end(), buf->data())); data 200 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_TRUE(std::equal(file_data_.begin(), file_data_.end(), buf->data())); data 232 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc buf2->data())); data 256 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc buf->data())); data 557 content/browser/frame_host/navigation_controller_impl_unittest.cc scoped_refptr<base::RefCountedBytes> data = data 559 content/browser/frame_host/navigation_controller_impl_unittest.cc load_params.browser_initiated_post_data = data.get(); data 234 content/browser/frame_host/navigation_entry_impl.cc const base::RefCountedMemory* data) { data 235 content/browser/frame_host/navigation_entry_impl.cc browser_initiated_post_data_ = data; data 313 content/browser/frame_host/navigation_entry_impl.cc const base::string16& data) { data 314 content/browser/frame_host/navigation_entry_impl.cc extra_data_[key] = data; data 318 content/browser/frame_host/navigation_entry_impl.cc base::string16* data) const { data 323 content/browser/frame_host/navigation_entry_impl.cc *data = iter->second; data 65 content/browser/frame_host/navigation_entry_impl.h const base::RefCountedMemory* data) OVERRIDE; data 83 content/browser/frame_host/navigation_entry_impl.h const base::string16& data) OVERRIDE; data 85 content/browser/frame_host/navigation_entry_impl.h base::string16* data) const OVERRIDE; data 54 content/browser/frame_host/navigation_entry_screenshot_manager.cc std::vector<unsigned char> data; data 69 content/browser/frame_host/navigation_entry_screenshot_manager.cc if (gfx::PNGCodec::EncodeA8SkBitmap(a8Bitmap, &data)) data 70 content/browser/frame_host/navigation_entry_screenshot_manager.cc data_ = new base::RefCountedBytes(data); data 212 content/browser/frame_host/navigation_entry_screenshot_manager.cc entry->SetScreenshotPNGData(screenshot->data()); data 63 content/browser/frame_host/navigation_entry_screenshot_manager.h scoped_refptr<ScreenshotData> data); data 69 content/browser/gamepad/gamepad_platform_data_fetcher_mac.h const XboxController::Data& data) OVERRIDE; data 362 content/browser/gamepad/raw_input_data_fetcher_win.cc reinterpret_cast<PCHAR>(input->data.hid.bRawData), data 363 content/browser/gamepad/raw_input_data_fetcher_win.cc input->data.hid.dwSizeHid); data 372 content/browser/gamepad/raw_input_data_fetcher_win.cc reinterpret_cast<PCHAR>(input->data.hid.bRawData), data 373 content/browser/gamepad/raw_input_data_fetcher_win.cc input->data.hid.dwSizeHid); data 398 content/browser/gamepad/raw_input_data_fetcher_win.cc reinterpret_cast<PCHAR>(input->data.hid.bRawData), data 399 content/browser/gamepad/raw_input_data_fetcher_win.cc input->data.hid.dwSizeHid); data 408 content/browser/gamepad/raw_input_data_fetcher_win.cc reinterpret_cast<PCHAR>(input->data.hid.bRawData), data 409 content/browser/gamepad/raw_input_data_fetcher_win.cc input->data.hid.dwSizeHid); data 172 content/browser/gamepad/xbox_data_fetcher_mac.cc void NormalizeXbox360ButtonData(const Xbox360ButtonData& data, data 174 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[0] = data.a; data 175 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[1] = data.b; data 176 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[2] = data.x; data 177 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[3] = data.y; data 178 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[4] = data.bumper_left; data 179 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[5] = data.bumper_right; data 180 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[6] = data.back; data 181 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[7] = data.start; data 182 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[8] = data.stick_left_click; data 183 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[9] = data.stick_right_click; data 184 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[10] = data.dpad_up; data 185 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[11] = data.dpad_down; data 186 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[12] = data.dpad_left; data 187 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[13] = data.dpad_right; data 188 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[14] = data.guide; data 189 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->triggers[0] = NormalizeTrigger(data.trigger_left); data 190 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->triggers[1] = NormalizeTrigger(data.trigger_right); data 191 content/browser/gamepad/xbox_data_fetcher_mac.cc NormalizeAxis(data.stick_left_x, data 192 content/browser/gamepad/xbox_data_fetcher_mac.cc data.stick_left_y, data 196 content/browser/gamepad/xbox_data_fetcher_mac.cc NormalizeAxis(data.stick_right_x, data 197 content/browser/gamepad/xbox_data_fetcher_mac.cc data.stick_right_y, data 203 content/browser/gamepad/xbox_data_fetcher_mac.cc void NormalizeXboxOneButtonData(const XboxOneButtonData& data, data 205 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[0] = data.a; data 206 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[1] = data.b; data 207 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[2] = data.x; data 208 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[3] = data.y; data 209 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[4] = data.bumper_left; data 210 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[5] = data.bumper_right; data 211 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[6] = data.back; data 212 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[7] = data.start; data 213 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[8] = data.stick_left_click; data 214 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[9] = data.stick_right_click; data 215 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[10] = data.dpad_up; data 216 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[11] = data.dpad_down; data 217 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[12] = data.dpad_left; data 218 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[13] = data.dpad_right; data 219 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->buttons[14] = data.sync; data 220 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->triggers[0] = NormalizeXboxOneTrigger(data.trigger_left); data 221 content/browser/gamepad/xbox_data_fetcher_mac.cc normalized_data->triggers[1] = NormalizeXboxOneTrigger(data.trigger_right); data 222 content/browser/gamepad/xbox_data_fetcher_mac.cc NormalizeAxis(data.stick_left_x, data 223 content/browser/gamepad/xbox_data_fetcher_mac.cc data.stick_left_y, data 227 content/browser/gamepad/xbox_data_fetcher_mac.cc NormalizeAxis(data.stick_right_x, data 228 content/browser/gamepad/xbox_data_fetcher_mac.cc data.stick_right_y, data 537 content/browser/gamepad/xbox_data_fetcher_mac.cc Xbox360ButtonData* data = reinterpret_cast<Xbox360ButtonData*>(buffer); data 539 content/browser/gamepad/xbox_data_fetcher_mac.cc NormalizeXbox360ButtonData(*data, &normalized_data); data 574 content/browser/gamepad/xbox_data_fetcher_mac.cc XboxOneButtonData* data = reinterpret_cast<XboxOneButtonData*>(buffer); data 576 content/browser/gamepad/xbox_data_fetcher_mac.cc NormalizeXboxOneButtonData(*data, &normalized_data); data 801 content/browser/gamepad/xbox_data_fetcher_mac.cc const XboxController::Data& data) { data 802 content/browser/gamepad/xbox_data_fetcher_mac.cc delegate_->XboxValueChanged(controller, data); data 72 content/browser/gamepad/xbox_data_fetcher_mac.h const Data& data) = 0; data 144 content/browser/gamepad/xbox_data_fetcher_mac.h const XboxController::Data& data) = 0; data 167 content/browser/gamepad/xbox_data_fetcher_mac.h const XboxController::Data& data) OVERRIDE; data 15 content/browser/geolocation/empty_wifi_data_provider.cc bool EmptyWifiDataProvider::GetData(WifiData* data) { data 16 content/browser/geolocation/empty_wifi_data_provider.cc DCHECK(data); data 21 content/browser/geolocation/empty_wifi_data_provider.h virtual bool GetData(WifiData* data) OVERRIDE; data 161 content/browser/geolocation/network_location_provider_unittest.cc WifiData data; data 170 content/browser/geolocation/network_location_provider_unittest.cc data.access_point_data.insert(ap); data 172 content/browser/geolocation/network_location_provider_unittest.cc return data; data 154 content/browser/geolocation/network_location_request.cc std::string data; data 155 content/browser/geolocation/network_location_request.cc source->GetResponseAsString(&data); data 158 content/browser/geolocation/network_location_request.cc data, data 123 content/browser/geolocation/wifi_data_provider.cc bool WifiDataProvider::GetData(WifiData* data) { data 124 content/browser/geolocation/wifi_data_provider.cc return impl_->GetData(data); data 57 content/browser/geolocation/wifi_data_provider.h virtual bool GetData(WifiData* data) = 0; data 129 content/browser/geolocation/wifi_data_provider.h bool GetData(WifiData* data); data 52 content/browser/geolocation/wifi_data_provider_chromeos.cc bool WifiDataProviderChromeOs::GetData(WifiData* data) { data 54 content/browser/geolocation/wifi_data_provider_chromeos.cc DCHECK(data); data 55 content/browser/geolocation/wifi_data_provider_chromeos.cc *data = wifi_data_; data 22 content/browser/geolocation/wifi_data_provider_chromeos.h virtual bool GetData(WifiData* data) OVERRIDE; data 46 content/browser/geolocation/wifi_data_provider_chromeos.h bool GetAccessPointData(WifiData::AccessPointDataSet* data); data 58 content/browser/geolocation/wifi_data_provider_common.cc bool WifiDataProviderCommon::GetData(WifiData* data) { data 59 content/browser/geolocation/wifi_data_provider_common.cc *data = wifi_data_; data 36 content/browser/geolocation/wifi_data_provider_common.h virtual bool GetAccessPointData(WifiData::AccessPointDataSet* data) = 0; data 44 content/browser/geolocation/wifi_data_provider_common.h virtual bool GetData(WifiData* data) OVERRIDE; data 31 content/browser/geolocation/wifi_data_provider_common_unittest.cc MOCK_METHOD1(GetAccessPointData, bool(WifiData::AccessPointDataSet* data)); data 38 content/browser/geolocation/wifi_data_provider_common_unittest.cc bool GetAccessPointDataInternal(WifiData::AccessPointDataSet* data) { data 40 content/browser/geolocation/wifi_data_provider_common_unittest.cc *data = data_out_; data 192 content/browser/geolocation/wifi_data_provider_common_unittest.cc WifiData data; data 193 content/browser/geolocation/wifi_data_provider_common_unittest.cc EXPECT_TRUE(provider_->GetData(&data)); data 194 content/browser/geolocation/wifi_data_provider_common_unittest.cc EXPECT_EQ(0, static_cast<int>(data.access_point_data.size())); data 213 content/browser/geolocation/wifi_data_provider_common_unittest.cc WifiData data; data 214 content/browser/geolocation/wifi_data_provider_common_unittest.cc EXPECT_TRUE(provider_->GetData(&data)); data 215 content/browser/geolocation/wifi_data_provider_common_unittest.cc EXPECT_EQ(1, static_cast<int>(data.access_point_data.size())); data 216 content/browser/geolocation/wifi_data_provider_common_unittest.cc EXPECT_EQ(single_access_point.ssid, data.access_point_data.begin()->ssid); data 14 content/browser/geolocation/wifi_data_provider_common_win.cc bool ConvertToAccessPointData(const NDIS_WLAN_BSSID& data, data 19 content/browser/geolocation/wifi_data_provider_common_win.cc access_point_data->mac_address = MacAddressAsString16(data.MacAddress); data 20 content/browser/geolocation/wifi_data_provider_common_win.cc access_point_data->radio_signal_strength = data.Rssi; data 22 content/browser/geolocation/wifi_data_provider_common_win.cc base::UTF8ToUTF16(reinterpret_cast<const char*>(data.Ssid.Ssid), data 23 content/browser/geolocation/wifi_data_provider_common_win.cc data.Ssid.SsidLength, data 30 content/browser/geolocation/wifi_data_provider_common_win.cc WifiData::AccessPointDataSet* data) { data 46 content/browser/geolocation/wifi_data_provider_common_win.cc data->insert(access_point_data); data 20 content/browser/geolocation/wifi_data_provider_common_win.h WifiData::AccessPointDataSet* data); data 56 content/browser/geolocation/wifi_data_provider_linux.cc virtual bool GetAccessPointData(WifiData::AccessPointDataSet* data) OVERRIDE; data 67 content/browser/geolocation/wifi_data_provider_linux.cc WifiData::AccessPointDataSet* data); data 125 content/browser/geolocation/wifi_data_provider_linux.cc WifiData::AccessPointDataSet* data) { data 166 content/browser/geolocation/wifi_data_provider_linux.cc if (GetAccessPointsForAdapter(device_path, data)) data 198 content/browser/geolocation/wifi_data_provider_linux.cc const dbus::ObjectPath& adapter_path, WifiData::AccessPointDataSet* data) { data 323 content/browser/geolocation/wifi_data_provider_linux.cc data->insert(access_point_data); data 40 content/browser/geolocation/wifi_data_provider_mac.cc virtual bool GetAccessPointData(WifiData::AccessPointDataSet* data) OVERRIDE; data 102 content/browser/geolocation/wifi_data_provider_mac.cc bool Apple80211Api::GetAccessPointData(WifiData::AccessPointDataSet* data) { data 104 content/browser/geolocation/wifi_data_provider_mac.cc DCHECK(data); data 149 content/browser/geolocation/wifi_data_provider_mac.cc data->insert(access_point_data); data 94 content/browser/geolocation/wifi_data_provider_win.cc virtual bool GetAccessPointData(WifiData::AccessPointDataSet* data); data 104 content/browser/geolocation/wifi_data_provider_win.cc WifiData::AccessPointDataSet* data); data 126 content/browser/geolocation/wifi_data_provider_win.cc virtual bool GetAccessPointData(WifiData::AccessPointDataSet* data); data 136 content/browser/geolocation/wifi_data_provider_win.cc WifiData::AccessPointDataSet* data); data 251 content/browser/geolocation/wifi_data_provider_win.cc WifiData::AccessPointDataSet* data) { data 252 content/browser/geolocation/wifi_data_provider_win.cc DCHECK(data); data 296 content/browser/geolocation/wifi_data_provider_win.cc data); data 315 content/browser/geolocation/wifi_data_provider_win.cc WifiData::AccessPointDataSet* data) { data 316 content/browser/geolocation/wifi_data_provider_win.cc DCHECK(data); data 352 content/browser/geolocation/wifi_data_provider_win.cc data->insert(access_point_data); data 380 content/browser/geolocation/wifi_data_provider_win.cc bool WindowsNdisApi::GetAccessPointData(WifiData::AccessPointDataSet* data) { data 381 content/browser/geolocation/wifi_data_provider_win.cc DCHECK(data); data 399 content/browser/geolocation/wifi_data_provider_win.cc if (GetInterfaceDataNDIS(adapter_handle, data)) { data 469 content/browser/geolocation/wifi_data_provider_win.cc WifiData::AccessPointDataSet* data) { data 470 content/browser/geolocation/wifi_data_provider_win.cc DCHECK(data); data 511 content/browser/geolocation/wifi_data_provider_win.cc GetDataFromBssIdList(*bssid_list, oid_buffer_size_, data); data 1209 content/browser/gpu/gpu_process_host.cc const std::string& data) { data 1212 content/browser/gpu/gpu_process_host.cc Send(new GpuMsg_LoadedShader(data)); data 136 content/browser/gpu/gpu_process_host.h void LoadedShader(const std::string& key, const std::string& data); data 327 content/browser/gpu/shader_disk_cache.cc host->LoadedShader(entry_->GetKey(), std::string(buf_->data(), data 30 content/browser/histogram_internals_request_job.cc void AboutHistogram(std::string* data, const std::string& path) { data 41 content/browser/histogram_internals_request_job.cc data->append("<!DOCTYPE html>\n<html>\n<head>\n"); data 42 content/browser/histogram_internals_request_job.cc data->append( data 45 content/browser/histogram_internals_request_job.cc data->append("<title>"); data 46 content/browser/histogram_internals_request_job.cc data->append(net::EscapeForHTML(unescaped_title)); data 47 content/browser/histogram_internals_request_job.cc data->append("</title>\n"); data 48 content/browser/histogram_internals_request_job.cc data->append("</head><body>"); data 51 content/browser/histogram_internals_request_job.cc data->append("<p>Stats as of last page load;"); data 52 content/browser/histogram_internals_request_job.cc data->append("reload to get stats as of this page load.</p>\n"); data 53 content/browser/histogram_internals_request_job.cc data->append("<table width=\"100%\">\n"); data 55 content/browser/histogram_internals_request_job.cc base::StatisticsRecorder::WriteHTMLGraph(unescaped_query, data); data 61 content/browser/histogram_internals_request_job.cc std::string* data, data 66 content/browser/histogram_internals_request_job.cc data->clear(); data 67 content/browser/histogram_internals_request_job.cc AboutHistogram(data, path_); data 22 content/browser/histogram_internals_request_job.h std::string* data, data 1333 content/browser/indexed_db/indexed_db_backing_store.cc std::string data; data 1338 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = leveldb_transaction->Get(leveldb_key, &data, &found); data 1345 content/browser/indexed_db/indexed_db_backing_store.cc if (data.empty()) { data 1351 content/browser/indexed_db/indexed_db_backing_store.cc StringPiece slice(data); data 1485 content/browser/indexed_db/indexed_db_backing_store.cc std::string data; data 1489 content/browser/indexed_db/indexed_db_backing_store.cc leveldb_transaction->Get(key_generator_current_number_key, &data, &found); data 1494 content/browser/indexed_db/indexed_db_backing_store.cc if (found && !data.empty()) { data 1495 content/browser/indexed_db/indexed_db_backing_store.cc StringPiece slice(data); data 1579 content/browser/indexed_db/indexed_db_backing_store.cc std::string data; data 1582 content/browser/indexed_db/indexed_db_backing_store.cc transaction->transaction()->Get(leveldb_key, &data, found); data 1589 content/browser/indexed_db/indexed_db_backing_store.cc if (!data.size()) { data 1595 content/browser/indexed_db/indexed_db_backing_store.cc StringPiece slice(data); data 1816 content/browser/indexed_db/indexed_db_backing_store.cc std::string data; data 1817 content/browser/indexed_db/indexed_db_backing_store.cc EncodeVarInt(record_identifier.version(), &data); data 1818 content/browser/indexed_db/indexed_db_backing_store.cc data.append(record_identifier.primary_key()); data 1820 content/browser/indexed_db/indexed_db_backing_store.cc transaction->transaction()->Put(index_data_key, &data); data 1860 content/browser/indexed_db/indexed_db_backing_store.cc std::string data; data 1862 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = transaction->Get(key, &data, exists); data 1870 content/browser/indexed_db/indexed_db_backing_store.cc StringPiece slice(data); data 119 content/browser/indexed_db/indexed_db_dispatcher_host.h KeyType Add(RefCountedType* data) { data 120 content/browser/indexed_db/indexed_db_dispatcher_host.h return map_.Add(new scoped_refptr<RefCountedType>(data)); data 54 content/browser/indexed_db/leveldb/leveldb_database.cc return StringPiece(s.data(), s.size()); data 218 content/browser/loader/async_resource_handler.cc std::vector<char> copy(request()->response_info().metadata->data(), data 219 content/browser/loader/async_resource_handler.cc request()->response_info().metadata->data() + data 67 content/browser/loader/buffered_resource_handler.cc : net::WrappedIOBuffer(buf->data() + offset), data 291 content/browser/loader/buffered_resource_handler.cc net::SniffMimeType(read_buffer_->data(), bytes_read_, request()->url(), data 471 content/browser/loader/buffered_resource_handler.cc memcpy(buf->data(), read_buffer_->data(), bytes_read_); data 114 content/browser/loader/certificate_resource_handler.cc content_bytes = resource_buffer_->data(); data 137 content/browser/loader/certificate_resource_handler.cc net::IOBuffer* data = buffer_[i].first.get(); data 139 content/browser/loader/certificate_resource_handler.cc DCHECK(data != NULL); data 141 content/browser/loader/certificate_resource_handler.cc memcpy(resource_buffer_->data() + bytes_copied, data->data(), data_len); data 370 content/browser/loader/resource_dispatcher_host_unittest.cc std::string* data, data 380 content/browser/loader/resource_dispatcher_host_unittest.cc data->reserve(text.size() * count); data 382 content/browser/loader/resource_dispatcher_host_unittest.cc data->append(text); data 724 content/browser/loader/resource_dispatcher_host_unittest.cc void SetResponse(const std::string& headers, const std::string& data) { data 725 content/browser/loader/resource_dispatcher_host_unittest.cc response_headers_ = net::HttpUtil::AssembleRawHeaders(headers.data(), data 727 content/browser/loader/resource_dispatcher_host_unittest.cc response_data_ = data; data 961 content/browser/loader/resource_dispatcher_host_unittest.cc const char* data = static_cast<char*>(shared_mem.memory()) + data_offset; data 962 content/browser/loader/resource_dispatcher_host_unittest.cc ASSERT_EQ(0, memcmp(reference_data.c_str(), data, data_length)); data 1772 content/browser/loader/resource_dispatcher_host_unittest.cc upload_content.data(), upload_content.size())); data 127 content/browser/loader/sync_resource_handler.cc result_.data.append(read_buffer_->data(), bytes_read); data 85 content/browser/loader/temporary_file_stream_unittest.cc memcpy(buf->data(), kTestData, kTestDataSize); data 79 content/browser/loader/upload_data_stream_builder.cc if (handle->data()->items().empty()) data 83 content/browser/loader/upload_data_stream_builder.cc for (size_t i = 0; i < handle->data()->items().size(); ++i) { data 84 content/browser/loader/upload_data_stream_builder.cc const BlobData::Item& item = handle->data()->items().at(i); data 71 content/browser/mach_broker_mac.h const ChildProcessData& data) OVERRIDE; data 73 content/browser/mach_broker_mac.h const ChildProcessData& data) OVERRIDE; data 125 content/browser/media/android/browser_demuxer_android.cc const media::DemuxerData& data) { data 129 content/browser/media/android/browser_demuxer_android.cc client->OnDemuxerDataAvailable(data); data 51 content/browser/media/android/browser_demuxer_android.h const media::DemuxerData& data); data 51 content/browser/media/android/media_resource_getter_impl.cc handle->data()->items(); data 118 content/browser/media/capture/content_video_capture_device_core.cc static_cast<uint8*>(output_buffer->data()), data 202 content/browser/media/capture/desktop_capture_device.cc output_data = frame->data(); data 228 content/browser/media/capture/desktop_capture_device.cc memset(output_frame_->data(), 0, output_bytes); data 234 content/browser/media/capture/desktop_capture_device.cc uint8_t* output_rect_data = output_frame_->data() + data 237 content/browser/media/capture/desktop_capture_device.cc libyuv::ARGBScale(frame->data(), frame->stride(), data 242 content/browser/media/capture/desktop_capture_device.cc output_data = output_frame_->data(); data 57 content/browser/media/capture/desktop_capture_device_aura.cc uint8* yplane = target->data(media::VideoFrame::kYPlane) + data 59 content/browser/media/capture/desktop_capture_device_aura.cc uint8* uplane = target->data(media::VideoFrame::kUPlane) + data 61 content/browser/media/capture/desktop_capture_device_aura.cc uint8* vplane = target->data(media::VideoFrame::kVPlane) + data 42 content/browser/media/capture/desktop_capture_device_aura_unittest.cc void(const uint8* data, data 48 content/browser/media/capture/desktop_capture_device_unittest.cc void(const uint8* data, data 68 content/browser/media/capture/desktop_capture_device_unittest.cc frame->data() + (frame->size().height() - 1) * frame->stride(), data 51 content/browser/media/capture/web_contents_capture_util.cc const base::StringPiece component1(device_id.data(), sep_pos); data 52 content/browser/media/capture/web_contents_capture_util.cc const base::StringPiece component2(device_id.data() + sep_pos + 1, data 331 content/browser/media/capture/web_contents_video_capture_device_unittest.cc void* data; data 333 content/browser/media/capture/web_contents_video_capture_device_unittest.cc buffer_pool_->GetBufferInfo(buffer_id, &data, &size); data 335 content/browser/media/capture/web_contents_video_capture_device_unittest.cc new PoolBuffer(buffer_pool_, buffer_id, data, size)); data 339 content/browser/media/capture/web_contents_video_capture_device_unittest.cc const uint8* data, data 357 content/browser/media/capture/web_contents_video_capture_device_unittest.cc yuv[plane] = frame->data(plane)[0]; data 373 content/browser/media/capture/web_contents_video_capture_device_unittest.cc void* data, data 375 content/browser/media/capture/web_contents_video_capture_device_unittest.cc : Buffer(buffer_id, data, size), pool_(pool) {} data 121 content/browser/media/webrtc_getusermedia_browsertest.cc return TraceAnalyzer::Create("[" + recorded_trace_data_->data() + "]"); data 560 content/browser/media/webrtc_identity_store_backend.cc add_stmt.BindBlob(3, cert.data(), cert.size()); data 562 content/browser/media/webrtc_identity_store_backend.cc add_stmt.BindBlob(4, private_key.data(), private_key.size()); data 1008 content/browser/net/sqlite_persistent_cookie_store.cc add_smt.BindBlob(4, encrypted_value.data(), data 172 content/browser/net/view_http_cache_job_factory.cc memcpy(buf->data(), data_.data() + data_offset_, buf_size); data 462 content/browser/ppapi_plugin_process_host.cc const ChildProcessData& data = process_->GetData(); data 463 content/browser/ppapi_plugin_process_host.cc client->OnPpapiChannelOpened(channel_handle, base::GetProcId(data.handle), data 464 content/browser/ppapi_plugin_process_host.cc data.id); data 198 content/browser/renderer_host/backing_store_gtk.cc BackingStoreEvents* data = backing_store_events_.front(); data 200 content/browser/renderer_host/backing_store_gtk.cc XRenderFreePicture(data->display, data->picture); data 201 content/browser/renderer_host/backing_store_gtk.cc XFreePixmap(data->display, data->pixmap); data 202 content/browser/renderer_host/backing_store_gtk.cc data->dib->DecreaseInFlightCounter(); data 203 content/browser/renderer_host/backing_store_gtk.cc delete data; data 223 content/browser/renderer_host/backing_store_gtk.cc BackingStoreEvents* data = backing_store_events_.front(); data 228 content/browser/renderer_host/backing_store_gtk.cc XRenderFreePicture(data->display, data->picture); data 229 content/browser/renderer_host/backing_store_gtk.cc XFreePixmap(data->display, data->pixmap); data 232 content/browser/renderer_host/backing_store_gtk.cc data->closure.Run(); data 234 content/browser/renderer_host/backing_store_gtk.cc data->dib->DecreaseInFlightCounter(); data 235 content/browser/renderer_host/backing_store_gtk.cc delete data; data 457 content/browser/renderer_host/backing_store_gtk.cc image.data = static_cast<char*>(dib->memory()); data 566 content/browser/renderer_host/backing_store_gtk.cc shminfo.shmaddr = image->data = static_cast<char*>(mapped_memory); data 607 content/browser/renderer_host/backing_store_gtk.cc &image->data[image->bytes_per_line * y]); data 59 content/browser/renderer_host/clipboard_message_filter.h std::string* data); data 116 content/browser/renderer_host/input/gesture_event_queue.cc gesture_event.event.data.flingStart.velocityX != 0 || data 117 content/browser/renderer_host/input/gesture_event_queue.cc gesture_event.event.data.flingStart.velocityY != 0; data 341 content/browser/renderer_host/input/gesture_event_queue.cc scroll_event.event.data.scrollUpdate.deltaX = data 344 content/browser/renderer_host/input/gesture_event_queue.cc scroll_event.event.data.scrollUpdate.deltaY = data 348 content/browser/renderer_host/input/gesture_event_queue.cc pinch_event.event.data.pinchUpdate.scale = combined_scale; data 369 content/browser/renderer_host/input/gesture_event_queue.cc gesture_transform.Translate(gesture_event.event.data.scrollUpdate.deltaX, data 370 content/browser/renderer_host/input/gesture_event_queue.cc gesture_event.event.data.scrollUpdate.deltaY); data 372 content/browser/renderer_host/input/gesture_event_queue.cc float scale = gesture_event.event.data.pinchUpdate.scale; data 241 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(16, merged_event.data.scrollUpdate.deltaX); data 242 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(-11, merged_event.data.scrollUpdate.deltaY); data 367 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(1.5, merged_event.data.pinchUpdate.scale); data 372 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(8, merged_event.data.scrollUpdate.deltaX); data 373 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(-4, merged_event.data.scrollUpdate.deltaY); data 384 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(1.5, merged_event.data.pinchUpdate.scale); data 389 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(12, merged_event.data.scrollUpdate.deltaX); data 390 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(-6, merged_event.data.scrollUpdate.deltaY); data 401 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(3, merged_event.data.pinchUpdate.scale); data 406 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(12, merged_event.data.scrollUpdate.deltaX); data 407 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(-6, merged_event.data.scrollUpdate.deltaY); data 418 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(6, merged_event.data.pinchUpdate.scale); data 423 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(12, merged_event.data.scrollUpdate.deltaX); data 424 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(-6, merged_event.data.scrollUpdate.deltaY); data 444 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(6, merged_event.data.pinchUpdate.scale); data 449 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(13, merged_event.data.scrollUpdate.deltaX); data 450 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(-7, merged_event.data.scrollUpdate.deltaY); data 473 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(1, merged_event.data.scrollUpdate.deltaX); data 474 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(-1, merged_event.data.scrollUpdate.deltaY); data 479 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(6, merged_event.data.pinchUpdate.scale); data 490 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(3, merged_event.data.scrollUpdate.deltaX); data 491 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(-3, merged_event.data.scrollUpdate.deltaY); data 496 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(6, merged_event.data.pinchUpdate.scale); data 507 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(0.5, merged_event.data.pinchUpdate.scale); data 512 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(3, merged_event.data.scrollUpdate.deltaX); data 513 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(-3, merged_event.data.scrollUpdate.deltaY); data 533 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(2, merged_event.data.scrollUpdate.deltaX); data 534 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(-2, merged_event.data.scrollUpdate.deltaY); data 539 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(0.5, merged_event.data.pinchUpdate.scale); data 596 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(1.5, merged_event.data.pinchUpdate.scale); data 600 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(8, merged_event.data.scrollUpdate.deltaX); data 601 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(-4, merged_event.data.scrollUpdate.deltaY); data 611 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(1.5, merged_event.data.pinchUpdate.scale); data 615 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(12, merged_event.data.scrollUpdate.deltaX); data 616 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(-6, merged_event.data.scrollUpdate.deltaY); data 642 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(1.5, merged_event.data.pinchUpdate.scale); data 646 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(8, merged_event.data.scrollUpdate.deltaX); data 647 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(-4, merged_event.data.scrollUpdate.deltaY); data 657 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(1.5, merged_event.data.pinchUpdate.scale); data 661 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(12, merged_event.data.scrollUpdate.deltaX); data 662 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(-6, merged_event.data.scrollUpdate.deltaY); data 972 content/browser/renderer_host/input/gesture_event_queue_unittest.cc gesture_event.data.flingStart.velocityX = 0.f; data 973 content/browser/renderer_host/input/gesture_event_queue_unittest.cc gesture_event.data.flingStart.velocityY = 0.f; data 748 content/browser/renderer_host/input/input_router_impl.cc gesture_event.event.data.scrollUpdate.deltaX = dx; data 749 content/browser/renderer_host/input/input_router_impl.cc gesture_event.event.data.scrollUpdate.deltaY = dy; data 791 content/browser/renderer_host/input/input_router_impl.cc gesture_event.event.data.pinchUpdate.scale = dx; data 127 content/browser/renderer_host/input/input_router_impl_perftest.cc gesture.data.scrollUpdate.deltaX = delta.x(); data 128 content/browser/renderer_host/input/input_router_impl_perftest.cc gesture.data.scrollUpdate.deltaY = delta.y(); data 47 content/browser/renderer_host/input/input_router_impl_unittest.cc const char* data; data 49 content/browser/renderer_host/input/input_router_impl_unittest.cc if (!message.ReadData(&iter, &data, &data_length)) data 51 content/browser/renderer_host/input/input_router_impl_unittest.cc return reinterpret_cast<const WebInputEvent*>(data); data 39 content/browser/renderer_host/input/touch_action_filter.cc gesture_event->data.scrollUpdate.deltaY = 0; data 40 content/browser/renderer_host/input/touch_action_filter.cc gesture_event->data.scrollUpdate.velocityY = 0; data 42 content/browser/renderer_host/input/touch_action_filter.cc gesture_event->data.scrollUpdate.deltaX = 0; data 43 content/browser/renderer_host/input/touch_action_filter.cc gesture_event->data.scrollUpdate.velocityX = 0; data 53 content/browser/renderer_host/input/touch_action_filter.cc gesture_event->data.flingStart.velocityY = 0; data 55 content/browser/renderer_host/input/touch_action_filter.cc gesture_event->data.flingStart.velocityX = 0; data 91 content/browser/renderer_host/input/touch_action_filter.cc DCHECK_EQ(1, gesture_event->data.tap.tapCount); data 99 content/browser/renderer_host/input/touch_action_filter.cc DCHECK_EQ(1, gesture_event->data.tap.tapCount); data 171 content/browser/renderer_host/input/touch_action_filter.cc if (fabs(gesture_event.data.scrollBegin.deltaXHint) == data 172 content/browser/renderer_host/input/touch_action_filter.cc fabs(gesture_event.data.scrollBegin.deltaYHint)) data 177 content/browser/renderer_host/input/touch_action_filter.cc if (fabs(gesture_event.data.scrollBegin.deltaXHint) > data 178 content/browser/renderer_host/input/touch_action_filter.cc fabs(gesture_event.data.scrollBegin.deltaYHint)) data 35 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kDeltaX, scroll_update.data.scrollUpdate.deltaX); data 36 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kDeltaY, scroll_update.data.scrollUpdate.deltaY); data 46 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kDeltaX, scroll_update.data.scrollUpdate.deltaX); data 47 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kDeltaY, scroll_update.data.scrollUpdate.deltaY); data 57 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kDeltaX, scroll_update.data.scrollUpdate.deltaX); data 58 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kDeltaY, scroll_update.data.scrollUpdate.deltaY); data 86 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kDeltaX, scroll_update.data.scrollUpdate.deltaX); data 87 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kDeltaY, scroll_update.data.scrollUpdate.deltaY); data 112 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kFlingX, fling_start.data.flingStart.velocityX); data 113 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kFlingY, fling_start.data.flingStart.velocityY); data 146 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kDX, scroll_update.data.scrollUpdate.deltaX); data 147 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(0, scroll_update.data.scrollUpdate.deltaY); data 163 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kDX, scroll_update.data.scrollUpdate.deltaX); data 164 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(0, scroll_update.data.scrollUpdate.deltaY); data 169 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(-4, scroll_update2.data.scrollUpdate.deltaX); data 170 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(0, scroll_update2.data.scrollUpdate.deltaY); data 175 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kFlingX, fling_start.data.flingStart.velocityX); data 176 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(0, fling_start.data.flingStart.velocityY); data 190 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kDX, scroll_update.data.scrollUpdate.deltaX); data 191 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kDY, scroll_update.data.scrollUpdate.deltaY); data 219 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(0, scroll_update.data.scrollUpdate.deltaX); data 220 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kDY, scroll_update.data.scrollUpdate.deltaY); data 236 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(0, scroll_update.data.scrollUpdate.deltaX); data 237 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kDY, scroll_update.data.scrollUpdate.deltaY); data 242 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(0, scroll_update2.data.scrollUpdate.deltaX); data 243 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(-2, scroll_update2.data.scrollUpdate.deltaY); data 248 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(0, fling_start.data.flingStart.velocityX); data 249 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kFlingY, fling_start.data.flingStart.velocityY); data 263 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kDX, scroll_update.data.scrollUpdate.deltaX); data 264 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kDY, scroll_update.data.scrollUpdate.deltaY); data 289 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kDX, scroll_update.data.scrollUpdate.deltaX); data 290 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kDY, scroll_update.data.scrollUpdate.deltaY); data 295 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kFlingX, fling_start.data.flingStart.velocityX); data 296 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kFlingY, fling_start.data.flingStart.velocityY); data 310 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kDX, scroll_update.data.scrollUpdate.deltaX); data 311 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kDY, scroll_update.data.scrollUpdate.deltaY); data 316 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kFlingX, fling_start.data.flingStart.velocityX); data 317 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kFlingY, fling_start.data.flingStart.velocityY); data 362 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kDeltaX, scroll_update.data.scrollUpdate.deltaX); data 363 content/browser/renderer_host/input/touch_action_filter_unittest.cc EXPECT_EQ(kDeltaY, scroll_update.data.scrollUpdate.deltaY); data 238 content/browser/renderer_host/input/web_input_event_util.cc const ui::GestureEventData& data, data 241 content/browser/renderer_host/input/web_input_event_util.cc gesture.x = data.x * scale; data 242 content/browser/renderer_host/input/web_input_event_util.cc gesture.y = data.y * scale; data 243 content/browser/renderer_host/input/web_input_event_util.cc gesture.timeStampSeconds = (data.time - base::TimeTicks()).InSecondsF(); data 246 content/browser/renderer_host/input/web_input_event_util.cc switch (data.type) { data 249 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.showPress.width = data 250 content/browser/renderer_host/input/web_input_event_util.cc data.details.bounding_box_f().width() * scale; data 251 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.showPress.height = data 252 content/browser/renderer_host/input/web_input_event_util.cc data.details.bounding_box_f().height() * scale; data 256 content/browser/renderer_host/input/web_input_event_util.cc DCHECK_EQ(1, data.details.tap_count()); data 257 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.tap.tapCount = data.details.tap_count(); data 258 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.tap.width = data.details.bounding_box_f().width() * scale; data 259 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.tap.height = data.details.bounding_box_f().height() * scale; data 263 content/browser/renderer_host/input/web_input_event_util.cc DCHECK_EQ(1, data.details.tap_count()); data 264 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.tap.tapCount = data.details.tap_count(); data 265 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.tap.width = data.details.bounding_box_f().width() * scale; data 266 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.tap.height = data.details.bounding_box_f().height() * scale; data 270 content/browser/renderer_host/input/web_input_event_util.cc DCHECK_EQ(1, data.details.tap_count()); data 271 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.tap.tapCount = data.details.tap_count(); data 272 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.tap.width = data.details.bounding_box_f().width() * scale; data 273 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.tap.height = data.details.bounding_box_f().height() * scale; data 277 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.longPress.width = data 278 content/browser/renderer_host/input/web_input_event_util.cc data.details.bounding_box_f().width() * scale; data 279 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.longPress.height = data 280 content/browser/renderer_host/input/web_input_event_util.cc data.details.bounding_box_f().height() * scale; data 284 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.longPress.width = data 285 content/browser/renderer_host/input/web_input_event_util.cc data.details.bounding_box_f().width() * scale; data 286 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.longPress.height = data 287 content/browser/renderer_host/input/web_input_event_util.cc data.details.bounding_box_f().height() * scale; data 291 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.scrollBegin.deltaXHint = data 292 content/browser/renderer_host/input/web_input_event_util.cc data.details.scroll_x_hint() * scale; data 293 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.scrollBegin.deltaYHint = data 294 content/browser/renderer_host/input/web_input_event_util.cc data.details.scroll_y_hint() * scale; data 298 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.scrollUpdate.deltaX = data.details.scroll_x() * scale; data 299 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.scrollUpdate.deltaY = data.details.scroll_y() * scale; data 300 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.scrollUpdate.velocityX = data.details.velocity_x() * scale; data 301 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.scrollUpdate.velocityY = data.details.velocity_y() * scale; data 308 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.flingStart.velocityX = data.details.velocity_x() * scale; data 309 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.flingStart.velocityY = data.details.velocity_y() * scale; data 319 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.pinchUpdate.scale = data.details.scale(); data 329 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.tapDown.width = data 330 content/browser/renderer_host/input/web_input_event_util.cc data.details.bounding_box_f().width() * scale; data 331 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.tapDown.height = data 332 content/browser/renderer_host/input/web_input_event_util.cc data.details.bounding_box_f().height() * scale; data 34 content/browser/renderer_host/input/web_input_event_util.h const ui::GestureEventData& data, data 115 content/browser/renderer_host/media/audio_input_renderer_host.cc const uint8* data, data 121 content/browser/renderer_host/media/audio_input_renderer_host.h const uint8* data, data 36 content/browser/renderer_host/media/audio_input_sync_writer.cc uint32 AudioInputSyncWriter::Write(const void* data, data 65 content/browser/renderer_host/media/audio_input_sync_writer.cc memcpy(buffer->audio, data, size); data 35 content/browser/renderer_host/media/audio_input_sync_writer.h virtual uint32 Write(const void* data, data 38 content/browser/renderer_host/media/midi_host.cc bool IsDataByte(uint8 data) { data 39 content/browser/renderer_host/media/midi_host.cc return (data & 0x80) == 0; data 42 content/browser/renderer_host/media/midi_host.cc bool IsSystemRealTimeMessage(uint8 data) { data 43 content/browser/renderer_host/media/midi_host.cc return 0xf8 <= data && data <= 0xff; data 110 content/browser/renderer_host/media/midi_host.cc const std::vector<uint8>& data, data 115 content/browser/renderer_host/media/midi_host.cc if (data.empty()) data 122 content/browser/renderer_host/media/midi_host.cc std::find(data.begin(), data.end(), kSysExByte) != data.end()) { data 128 content/browser/renderer_host/media/midi_host.cc if (!IsValidWebMIDIData(data)) data 136 content/browser/renderer_host/media/midi_host.cc if (data.size() + sent_bytes_in_flight_ > kMaxInFlightBytes) data 138 content/browser/renderer_host/media/midi_host.cc sent_bytes_in_flight_ += data.size(); data 140 content/browser/renderer_host/media/midi_host.cc midi_manager_->DispatchSendMidiData(this, port, data, timestamp); data 145 content/browser/renderer_host/media/midi_host.cc const uint8* data, data 157 content/browser/renderer_host/media/midi_host.cc received_messages_queues_[port]->Add(data, length); data 195 content/browser/renderer_host/media/midi_host.cc bool MidiHost::IsValidWebMIDIData(const std::vector<uint8>& data) { data 198 content/browser/renderer_host/media/midi_host.cc for (size_t i = 0; i < data.size(); ++i) { data 199 content/browser/renderer_host/media/midi_host.cc const uint8 current = data[i]; data 209 content/browser/renderer_host/media/midi_host.cc if (data[i] == kEndOfSysExByte) data 40 content/browser/renderer_host/media/midi_host.h const uint8* data, data 50 content/browser/renderer_host/media/midi_host.h const std::vector<uint8>& data, data 65 content/browser/renderer_host/media/midi_host.h static bool IsValidWebMIDIData(const std::vector<uint8>& data); data 31 content/browser/renderer_host/media/midi_host_unittest.cc const std::vector<T> AsVector(const T(&data)[N]) { data 33 content/browser/renderer_host/media/midi_host_unittest.cc buffer.insert(buffer.end(), data, data + N); data 38 content/browser/renderer_host/media/midi_host_unittest.cc void PushToVector(const T(&data)[N], std::vector<T>* buffer) { data 39 content/browser/renderer_host/media/midi_host_unittest.cc buffer->insert(buffer->end(), data, data + N); data 25 content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc void* data, data 27 content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc : pool_(pool), id_(id), data_(data), size_(size) {} data 96 content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc memset(buffer1->data(), 0x11, buffer1->size()); data 97 content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc memset(buffer2->data(), 0x44, buffer2->size()); data 98 content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc memset(buffer3->data(), 0x77, buffer3->size()); data 116 content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc void* const memory_pointer3 = buffer3->data(); data 144 content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc ASSERT_EQ(memory_pointer3, buffer3->data()); data 174 content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc void* const memory_pointer_hi = buffer2->data(); data 178 content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc void* const memory_pointer_lo = buffer2->data(); data 193 content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc memset(buffer2->data(), 0x22, buffer2->size()); data 194 content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc memset(buffer4->data(), 0x55, buffer4->size()); data 198 content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc memset(buffer4->data(), 0x77, buffer4->size()); data 47 content/browser/renderer_host/media/video_capture_controller.cc void* data, data 49 content/browser/renderer_host/media/video_capture_controller.cc : Buffer(buffer_id, data, size), pool_(pool) { data 126 content/browser/renderer_host/media/video_capture_controller.cc virtual void OnIncomingCapturedData(const uint8* data, data 290 content/browser/renderer_host/media/video_capture_controller.cc const uint8* data, data 331 content/browser/renderer_host/media/video_capture_controller.cc yplane = reinterpret_cast<uint8*>(buffer->data()); data 397 content/browser/renderer_host/media/video_capture_controller.cc libyuv::ConvertToI420(data, data 510 content/browser/renderer_host/media/video_capture_controller.cc void* data; data 512 content/browser/renderer_host/media/video_capture_controller.cc buffer_pool_->GetBufferInfo(buffer_id, &data, &size); data 515 content/browser/renderer_host/media/video_capture_controller.cc new PoolBuffer(buffer_pool_, buffer_id, data, size)); data 133 content/browser/renderer_host/media/video_capture_controller_unittest.cc reinterpret_cast<uint8*>(buffer->data()), data 321 content/browser/renderer_host/media/video_capture_controller_unittest.cc memset(buffer->data(), buffer_no++, buffer->size()); data 356 content/browser/renderer_host/media/video_capture_controller_unittest.cc memset(buffer->data(), buffer_no++, buffer->size()); data 387 content/browser/renderer_host/media/video_capture_controller_unittest.cc memset(buffer->data(), buffer_no++, buffer->size()); data 427 content/browser/renderer_host/media/video_capture_controller_unittest.cc memset(buffer->data(), buffer_no++, buffer->size()); data 445 content/browser/renderer_host/media/video_capture_controller_unittest.cc memset(buffer->data(), buffer_no++, buffer->size()); data 169 content/browser/renderer_host/overscroll_controller.cc if (gesture.data.flingStart.velocityX < 0) data 173 content/browser/renderer_host/overscroll_controller.cc if (gesture.data.flingStart.velocityX > 0) data 177 content/browser/renderer_host/overscroll_controller.cc if (gesture.data.flingStart.velocityY > 0) data 181 content/browser/renderer_host/overscroll_controller.cc if (gesture.data.flingStart.velocityY < 0) data 244 content/browser/renderer_host/overscroll_controller.cc ProcessOverscroll(gesture.data.scrollUpdate.deltaX, data 245 content/browser/renderer_host/overscroll_controller.cc gesture.data.scrollUpdate.deltaY, data 254 content/browser/renderer_host/overscroll_controller.cc float velocity_x = gesture.data.flingStart.velocityX; data 255 content/browser/renderer_host/overscroll_controller.cc float velocity_y = gesture.data.flingStart.velocityY; data 234 content/browser/renderer_host/p2p/socket_dispatcher_host.cc const std::vector<char>& data, data 243 content/browser/renderer_host/p2p/socket_dispatcher_host.cc if (data.size() > kMaximumPacketSize) { data 245 content/browser/renderer_host/p2p/socket_dispatcher_host.cc << data.size(); data 252 content/browser/renderer_host/p2p/socket_dispatcher_host.cc socket->Send(socket_address, data, options, packet_id); data 78 content/browser/renderer_host/p2p/socket_dispatcher_host.h const std::vector<char>& data, data 34 content/browser/renderer_host/p2p/socket_host.cc bool IsTurnChannelData(const char* data) { data 35 content/browser/renderer_host/p2p/socket_host.cc return ((*data & 0xC0) == 0x40); data 38 content/browser/renderer_host/p2p/socket_host.cc bool IsDtlsPacket(const char* data, int len) { data 39 content/browser/renderer_host/p2p/socket_host.cc const uint8* u = reinterpret_cast<const uint8*>(data); data 43 content/browser/renderer_host/p2p/socket_host.cc bool IsRtcpPacket(const char* data) { data 44 content/browser/renderer_host/p2p/socket_host.cc int type = (static_cast<uint8>(data[1]) & 0x7F); data 48 content/browser/renderer_host/p2p/socket_host.cc bool IsTurnSendIndicationPacket(const char* data) { data 49 content/browser/renderer_host/p2p/socket_host.cc uint16 type = talk_base::GetBE16(data); data 53 content/browser/renderer_host/p2p/socket_host.cc bool IsRtpPacket(const char* data, int len) { data 54 content/browser/renderer_host/p2p/socket_host.cc return ((*data & 0xC0) == 0x80); data 167 content/browser/renderer_host/p2p/socket_host.cc bool ApplyPacketOptions(char* data, int length, data 170 content/browser/renderer_host/p2p/socket_host.cc DCHECK(data != NULL); data 179 content/browser/renderer_host/p2p/socket_host.cc DCHECK(!IsDtlsPacket(data, length)); data 180 content/browser/renderer_host/p2p/socket_host.cc DCHECK(!IsRtcpPacket(data)); data 188 content/browser/renderer_host/p2p/socket_host.cc data, length, &rtp_start_pos, &rtp_length)) { data 195 content/browser/renderer_host/p2p/socket_host.cc char* start = data + rtp_start_pos; data 404 content/browser/renderer_host/p2p/socket_host.cc const char* data, int data_size, StunMessageType* type) { data 409 content/browser/renderer_host/p2p/socket_host.cc uint32 cookie = base::NetToHost32(*reinterpret_cast<const uint32*>(data + 4)); data 413 content/browser/renderer_host/p2p/socket_host.cc uint16 length = base::NetToHost16(*reinterpret_cast<const uint16*>(data + 2)); data 417 content/browser/renderer_host/p2p/socket_host.cc int message_type = base::NetToHost16(*reinterpret_cast<const uint16*>(data)); data 34 content/browser/renderer_host/p2p/socket_host.h CONTENT_EXPORT bool ApplyPacketOptions(char* data, int length, data 40 content/browser/renderer_host/p2p/socket_host.h CONTENT_EXPORT bool GetRtpPacketStartPositionAndLength(char* data, int length, data 68 content/browser/renderer_host/p2p/socket_host.h const std::vector<char>& data, data 118 content/browser/renderer_host/p2p/socket_host.h static bool GetStunPacketType(const char* data, int data_size, data 272 content/browser/renderer_host/p2p/socket_host_tcp.cc void P2PSocketHostTcpBase::OnPacket(const std::vector<char>& data) { data 275 content/browser/renderer_host/p2p/socket_host_tcp.cc bool stun = GetStunPacketType(&*data.begin(), data.size(), &type); data 289 content/browser/renderer_host/p2p/socket_host_tcp.cc id_, remote_address_.ip_address, data, base::TimeTicks::Now())); data 295 content/browser/renderer_host/p2p/socket_host_tcp.cc const std::vector<char>& data, data 313 content/browser/renderer_host/p2p/socket_host_tcp.cc bool stun = GetStunPacketType(&*data.begin(), data.size(), &type); data 322 content/browser/renderer_host/p2p/socket_host_tcp.cc DoSend(to, data, options); data 447 content/browser/renderer_host/p2p/socket_host_tcp.cc std::vector<char> data(cur, cur + packet_size); data 448 content/browser/renderer_host/p2p/socket_host_tcp.cc OnPacket(data); data 454 content/browser/renderer_host/p2p/socket_host_tcp.cc const std::vector<char>& data, data 456 content/browser/renderer_host/p2p/socket_host_tcp.cc int size = kPacketHeaderSize + data.size(); data 459 content/browser/renderer_host/p2p/socket_host_tcp.cc *reinterpret_cast<uint16*>(buffer->data()) = base::HostToNet16(data.size()); data 460 content/browser/renderer_host/p2p/socket_host_tcp.cc memcpy(buffer->data() + kPacketHeaderSize, &data[0], data.size()); data 463 content/browser/renderer_host/p2p/socket_host_tcp.cc buffer->data() + kPacketHeaderSize, data 497 content/browser/renderer_host/p2p/socket_host_tcp.cc std::vector<char> data(cur, cur + packet_size); data 498 content/browser/renderer_host/p2p/socket_host_tcp.cc OnPacket(data); data 505 content/browser/renderer_host/p2p/socket_host_tcp.cc const std::vector<char>& data, data 509 content/browser/renderer_host/p2p/socket_host_tcp.cc if (data.size() < kPacketHeaderSize + kPacketLengthOffset) { data 517 content/browser/renderer_host/p2p/socket_host_tcp.cc &data[0], data.size(), &pad_bytes); data 520 content/browser/renderer_host/p2p/socket_host_tcp.cc if (data.size() != expected_len) { data 527 content/browser/renderer_host/p2p/socket_host_tcp.cc int size = data.size() + pad_bytes; data 531 content/browser/renderer_host/p2p/socket_host_tcp.cc memcpy(buffer->data(), &data[0], data.size()); data 534 content/browser/renderer_host/p2p/socket_host_tcp.cc buffer->data(), data.size(), options, 0); data 539 content/browser/renderer_host/p2p/socket_host_tcp.cc memcpy(buffer->data() + data.size(), padding, pad_bytes); data 545 content/browser/renderer_host/p2p/socket_host_tcp.cc const char* data, int len, int* pad_bytes) { data 549 content/browser/renderer_host/p2p/socket_host_tcp.cc data + kPacketLengthOffset)); data 552 content/browser/renderer_host/p2p/socket_host_tcp.cc uint16 msg_type = base::NetToHost16(*reinterpret_cast<const uint16*>(data)); data 44 content/browser/renderer_host/p2p/socket_host_tcp.h const std::vector<char>& data, data 55 content/browser/renderer_host/p2p/socket_host_tcp.h const std::vector<char>& data, data 59 content/browser/renderer_host/p2p/socket_host_tcp.h void OnPacket(const std::vector<char>& data); data 112 content/browser/renderer_host/p2p/socket_host_tcp.h const std::vector<char>& data, data 134 content/browser/renderer_host/p2p/socket_host_tcp.h const std::vector<char>& data, data 137 content/browser/renderer_host/p2p/socket_host_tcp.h int GetExpectedPacketSize(const char* data, int len, int* pad_bytes); data 118 content/browser/renderer_host/p2p/socket_host_tcp_server.cc const std::vector<char>& data, data 39 content/browser/renderer_host/p2p/socket_host_tcp_server.h const std::vector<char>& data, data 31 content/browser/renderer_host/p2p/socket_host_test_utils.cc void FakeSocket::AppendInputData(const char* data, int data_size) { data 32 content/browser/renderer_host/p2p/socket_host_test_utils.cc input_data_.insert(input_data_.end(), data, data + data_size); data 39 content/browser/renderer_host/p2p/socket_host_test_utils.cc memcpy(read_buffer_->data(), &input_data_[0] + input_pos_, result); data 62 content/browser/renderer_host/p2p/socket_host_test_utils.cc memcpy(buf->data(), &(*input_data_.begin()) + input_pos_, result); data 90 content/browser/renderer_host/p2p/socket_host_test_utils.cc buf->data(), buf->data() + buf_len); data 101 content/browser/renderer_host/p2p/socket_host_test_utils.cc buf->data(), buf->data() + buf_len); data 37 content/browser/renderer_host/p2p/socket_host_test_utils.h void AppendInputData(const char* data, int data_size); data 57 content/browser/renderer_host/p2p/socket_host_udp.cc data(new net::IOBuffer(content.size())), data 61 content/browser/renderer_host/p2p/socket_host_udp.cc memcpy(data->data(), &content[0], size); data 158 content/browser/renderer_host/p2p/socket_host_udp.cc std::vector<char> data(recv_buffer_->data(), recv_buffer_->data() + result); data 162 content/browser/renderer_host/p2p/socket_host_udp.cc bool stun = GetStunPacketType(&*data.begin(), data.size(), &type); data 174 content/browser/renderer_host/p2p/socket_host_udp.cc id_, recv_address_, data, base::TimeTicks::Now())); data 182 content/browser/renderer_host/p2p/socket_host_udp.cc const std::vector<char>& data, data 193 content/browser/renderer_host/p2p/socket_host_udp.cc bool stun = GetStunPacketType(&*data.begin(), data.size(), &type); data 201 content/browser/renderer_host/p2p/socket_host_udp.cc if (throttler_->DropNextPacket(data.size())) { data 209 content/browser/renderer_host/p2p/socket_host_udp.cc send_queue_.push_back(PendingPacket(to, data, options, packet_id)); data 212 content/browser/renderer_host/p2p/socket_host_udp.cc PendingPacket packet(to, data, options, packet_id); data 239 content/browser/renderer_host/p2p/socket_host_udp.cc packet.data->data(), packet.size, packet.packet_options, 0); data 241 content/browser/renderer_host/p2p/socket_host_udp.cc packet.data.get(), data 251 content/browser/renderer_host/p2p/socket_host_udp.cc packet.data.get(), data 37 content/browser/renderer_host/p2p/socket_host_udp.h const std::vector<char>& data, data 56 content/browser/renderer_host/p2p/socket_host_udp.h scoped_refptr<net::IOBuffer> data; data 75 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc memcpy(buffer->data(), &*incoming_packets_.front().second.begin(), size); data 92 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc std::vector<char> data_vector(buffer->data(), buffer->data() + buf_len); data 105 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc void ReceivePacket(const net::IPEndPoint& address, std::vector<char> data) { data 107 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc int size = std::min(recv_size_, static_cast<int>(data.size())); data 108 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc memcpy(recv_buffer_->data(), &*data.begin(), size); data 115 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc incoming_packets_.push_back(UDPPacket(address, data)); data 237 content/browser/renderer_host/pepper/pepper_renderer_connection.cc PepperRendererInstanceData data = instance_data; data 238 content/browser/renderer_host/pepper/pepper_renderer_connection.cc data.render_process_id = render_process_id_; data 239 content/browser/renderer_host/pepper/pepper_renderer_connection.cc in_process_host_->AddInstance(instance, data); data 104 content/browser/renderer_host/pepper/pepper_socket_utils.cc base::BinaryValue::CreateWithCopiedBuffer(serial_number.data(), data 113 content/browser/renderer_host/pepper/pepper_socket_utils.cc base::BinaryValue::CreateWithCopiedBuffer(der.data(), der.length())); data 197 content/browser/renderer_host/pepper/pepper_tcp_socket.cc void PepperTCPSocket::Write(const std::string& data) { data 210 content/browser/renderer_host/pepper/pepper_tcp_socket.cc size_t data_size = data.size(); data 218 content/browser/renderer_host/pepper/pepper_tcp_socket.cc memcpy(write_buffer_base_->data(), data.data(), data_size); data 336 content/browser/renderer_host/pepper/pepper_tcp_socket.cc base::BinaryValue::CreateWithCopiedBuffer(serial_number.data(), data 345 content/browser/renderer_host/pepper/pepper_tcp_socket.cc base::BinaryValue::CreateWithCopiedBuffer(der.data(), der.length())); data 468 content/browser/renderer_host/pepper/pepper_tcp_socket.cc std::string(read_buffer_->data(), net_result))); data 346 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc const std::string& data) { data 354 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc size_t data_size = data.size(); data 361 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc memcpy(write_buffer_base_->data(), data.data(), data_size); data 783 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc std::string(read_buffer_->data(), net_result)); data 931 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc const std::string& data) { data 934 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc SendReply(reply_context, PpapiPluginMsg_TCPSocket_ReadReply(data)); data 94 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.h const std::string& data); data 146 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.h const std::string& data); data 231 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc const std::string& data, data 248 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc context->MakeReplyMessageContext(), data, addr)); data 315 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc const std::string& data, data 330 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc size_t num_bytes = data.size(); data 341 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc memcpy(sendto_buffer_->data(), data.data(), num_bytes); data 389 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc std::string(recvfrom_buffer_->data(), pp_result), addr); data 423 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc const std::string& data, data 428 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc PpapiPluginMsg_UDPSocket_RecvFromReply(data, addr)); data 75 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.h const std::string& data, data 82 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.h const std::string& data, data 96 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.h const std::string& data, data 1013 content/browser/renderer_host/render_message_filter.cc const std::vector<char>& data) { data 1027 content/browser/renderer_host/render_message_filter.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(data.size())); data 1028 content/browser/renderer_host/render_message_filter.cc memcpy(buf->data(), &data.front(), data.size()); data 1033 content/browser/renderer_host/render_message_filter.cc data.size()); data 233 content/browser/renderer_host/render_message_filter.h const std::vector<char>& data); data 271 content/browser/renderer_host/render_sandbox_host_linux.cc if (family.name.data()) { data 272 content/browser/renderer_host/render_sandbox_host_linux.cc reply.WriteString(family.name.data()); data 319 content/browser/renderer_host/render_sandbox_host_linux.cc memcpy(&time, time_string.data(), sizeof(time)); data 652 content/browser/renderer_host/render_sandbox_host_linux.cc struct iovec iov = {const_cast<void*>(reply.data()), reply.size()}; data 2456 content/browser/renderer_host/render_widget_host_impl.cc routing_id, snapshot_id, snapshot_size, png_data->data())); data 771 content/browser/renderer_host/render_widget_host_unittest.cc const char* data; data 773 content/browser/renderer_host/render_widget_host_unittest.cc if (!message.ReadData(&iter, &data, &data_length)) data 775 content/browser/renderer_host/render_widget_host_unittest.cc return reinterpret_cast<const WebInputEvent*>(data); data 457 content/browser/renderer_host/render_widget_host_view_gtk.cc << " data: " << event->data.l; data 92 content/browser/renderer_host/socket_stream_dispatcher_host.cc net::SocketStream* socket, const char* data, int len) { data 101 content/browser/renderer_host/socket_stream_dispatcher_host.cc socket_id, std::vector<char>(data, data + len)))) { data 235 content/browser/renderer_host/socket_stream_dispatcher_host.cc int socket_id, const std::vector<char>& data) { data 242 content/browser/renderer_host/socket_stream_dispatcher_host.cc if (!socket_stream_host->SendData(data)) { data 55 content/browser/renderer_host/socket_stream_dispatcher_host.h const char* data, int len) OVERRIDE; data 80 content/browser/renderer_host/socket_stream_dispatcher_host.h void OnSendData(int socket_id, const std::vector<char>& data); data 74 content/browser/renderer_host/socket_stream_host.cc bool SocketStreamHost::SendData(const std::vector<char>& data) { data 76 content/browser/renderer_host/socket_stream_host.cc return job_.get() && job_->SendData(&data[0], data.size()); data 51 content/browser/renderer_host/socket_stream_host.h bool SendData(const std::vector<char>& data); data 151 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.tap.tapCount = event.details().tap_count(); data 152 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.tap.width = event.details().bounding_box().width(); data 153 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.tap.height = event.details().bounding_box().height(); data 157 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.tapDown.width = data 159 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.tapDown.height = data 164 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.showPress.width = data 166 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.showPress.height = data 174 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.scrollBegin.deltaXHint = data 176 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.scrollBegin.deltaYHint = data 181 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.scrollUpdate.deltaX = event.details().scroll_x(); data 182 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.scrollUpdate.deltaY = event.details().scroll_y(); data 192 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.pinchUpdate.scale = event.details().scale(); data 199 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.flingStart.velocityX = event.details().velocity_x(); data 200 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.flingStart.velocityY = event.details().velocity_y(); data 207 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.longPress.width = data 209 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.longPress.height = data 214 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.longPress.width = data 216 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.longPress.height = data 221 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.twoFingerTap.firstFingerWidth = data 223 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.twoFingerTap.firstFingerHeight = data 167 content/browser/renderer_host/web_input_event_aura.cc webkit_event.data.flingStart.velocityX = event->x_offset(); data 168 content/browser/renderer_host/web_input_event_aura.cc webkit_event.data.flingStart.velocityY = event->y_offset(); data 131 content/browser/renderer_host/websocket_dispatcher_host.cc const std::vector<char>& data) { data 132 content/browser/renderer_host/websocket_dispatcher_host.cc return SendOrDrop(new WebSocketMsg_SendFrame(routing_id, fin, type, data)); data 79 content/browser/renderer_host/websocket_dispatcher_host.h const std::vector<char>& data); data 109 content/browser/renderer_host/websocket_dispatcher_host_unittest.cc std::vector<char> data; data 111 content/browser/renderer_host/websocket_dispatcher_host_unittest.cc routing_id, true, WEB_SOCKET_MESSAGE_TYPE_TEXT, data); data 135 content/browser/renderer_host/websocket_dispatcher_host_unittest.cc std::vector<char> data; data 137 content/browser/renderer_host/websocket_dispatcher_host_unittest.cc routing_id, true, WEB_SOCKET_MESSAGE_TYPE_TEXT, data); data 94 content/browser/renderer_host/websocket_host.cc const std::vector<char>& data) OVERRIDE; data 138 content/browser/renderer_host/websocket_host.cc const std::vector<char>& data) { data 141 content/browser/renderer_host/websocket_host.cc << " type=" << type << " data is " << data.size() << " bytes"; data 144 content/browser/renderer_host/websocket_host.cc routing_id_, fin, OpCodeToMessageType(type), data)); data 275 content/browser/renderer_host/websocket_host.cc const std::vector<char>& data) { data 278 content/browser/renderer_host/websocket_host.cc << " type=" << type << " data is " << data.size() << " bytes"; data 280 content/browser/renderer_host/websocket_host.cc channel_->SendFrame(fin, MessageTypeToOpCode(type), data); data 58 content/browser/renderer_host/websocket_host.h const std::vector<char>& data); data 203 content/browser/shared_worker/shared_worker_service_impl_unittest.cc void SendPostMessage(std::string data) { data 207 content/browser/shared_worker/shared_worker_service_impl_unittest.cc local_port_id_, base::ASCIIToUTF16(data), empty_ids))); data 285 content/browser/shared_worker/shared_worker_service_impl_unittest.cc base::string16 data; data 289 content/browser/shared_worker/shared_worker_service_impl_unittest.cc msg.get(), &data, &sent_message_port_ids, &new_routing_ids)); data 290 content/browser/shared_worker/shared_worker_service_impl_unittest.cc EXPECT_EQ(base::ASCIIToUTF16(expected_data), data); data 16 content/browser/speech/audio_buffer.cc AudioChunk::AudioChunk(const uint8* data, size_t length, int bytes_per_sample) data 17 content/browser/speech/audio_buffer.cc : data_string_(reinterpret_cast<const char*>(data), length), data 40 content/browser/speech/audio_buffer.cc return reinterpret_cast<const int16*>(data_string_.data()); data 55 content/browser/speech/audio_buffer.cc void AudioBuffer::Enqueue(const uint8* data, size_t length) { data 56 content/browser/speech/audio_buffer.cc chunks_.push_back(new AudioChunk(data, length, bytes_per_sample_)); data 22 content/browser/speech/audio_buffer.h AudioChunk(const uint8* data, size_t length, int bytes_per_sample); data 50 content/browser/speech/audio_buffer.h void Enqueue(const uint8* data, size_t length); data 99 content/browser/speech/chunked_byte_buffer.cc Append(reinterpret_cast<const uint8*>(string.data()), string.size()); data 235 content/browser/speech/google_one_shot_remote_engine.cc void GoogleOneShotRemoteEngine::TakeAudioChunk(const AudioChunk& data) { data 238 content/browser/speech/google_one_shot_remote_engine.cc DCHECK_EQ(data.bytes_per_sample(), config_.audio_num_bits_per_sample / 8); data 239 content/browser/speech/google_one_shot_remote_engine.cc encoder_->Encode(data); data 273 content/browser/speech/google_one_shot_remote_engine.cc std::string data; data 279 content/browser/speech/google_one_shot_remote_engine.cc !source->GetResponseAsString(&data) || data 280 content/browser/speech/google_one_shot_remote_engine.cc !ParseServerResponse(data, &result, &error)); data 42 content/browser/speech/google_one_shot_remote_engine.h virtual void TakeAudioChunk(const AudioChunk& data) OVERRIDE; data 104 content/browser/speech/google_streaming_remote_engine.cc void GoogleStreamingRemoteEngine::TakeAudioChunk(const AudioChunk& data) { data 106 content/browser/speech/google_streaming_remote_engine.cc event_args.audio_data = &data; data 66 content/browser/speech/google_streaming_remote_engine.h virtual void TakeAudioChunk(const AudioChunk& data) OVERRIDE; data 81 content/browser/speech/speech_recognition_engine.h virtual void TakeAudioChunk(const AudioChunk& data) = 0; data 43 content/browser/speech/speech_recognizer_impl.cc scoped_refptr<AudioChunk> Convert(const uint8* data, size_t size); data 135 content/browser/speech/speech_recognizer_impl.cc const uint8* data, size_t size) { data 139 content/browser/speech/speech_recognizer_impl.cc data, input_bus_->frames(), input_parameters_.bits_per_sample() / 8); data 274 content/browser/speech/speech_recognizer_impl.cc const uint8* data, uint32 size) { data 280 content/browser/speech/speech_recognizer_impl.cc event_args.audio_data = audio_converter_->Convert(data, size); data 135 content/browser/speech/speech_recognizer_impl.h const uint8* data, uint32 size) OVERRIDE; data 102 content/browser/streams/stream.cc void Stream::AddData(const char* data, size_t size) { data 107 content/browser/streams/stream.cc memcpy(io_buffer->data(), data, size); data 154 content/browser/streams/stream.cc memcpy(buf->data(), data_->data() + data_bytes_read_, to_read); data 70 content/browser/streams/stream.h void AddData(const char* data, size_t size); data 27 content/browser/streams/stream_unittest.cc char *bufferp = buffer->data(); data 75 content/browser/streams/stream_unittest.cc buffer->data(), bytes_read); data 167 content/browser/streams/stream_unittest.cc EXPECT_EQ(buffer->data()[i], reader.buffer()->data()[i]); data 105 content/browser/system_message_window_win.cc LRESULT SystemMessageWindowWin::OnDeviceChange(UINT event_type, LPARAM data) { data 122 content/browser/system_message_window_win.cc reinterpret_cast<DEV_BROADCAST_DEVICEINTERFACE*>(data); data 22 content/browser/system_message_window_win.h virtual LRESULT OnDeviceChange(UINT event_type, LPARAM data); data 41 content/browser/tcmalloc_internals_request_job.cc void AboutTcmallocOutputs::DumpToHTMLTable(std::string* data) { data 44 content/browser/tcmalloc_internals_request_job.cc data->append("<table width=\"100%\">\n"); data 48 content/browser/tcmalloc_internals_request_job.cc data->append("<tr><td bgcolor=\"yellow\">"); data 49 content/browser/tcmalloc_internals_request_job.cc data->append(oit->first); data 50 content/browser/tcmalloc_internals_request_job.cc data->append("</td></tr>\n"); data 51 content/browser/tcmalloc_internals_request_job.cc data->append("<tr><td><pre>\n"); data 52 content/browser/tcmalloc_internals_request_job.cc data->append(oit->second); data 53 content/browser/tcmalloc_internals_request_job.cc data->append("</pre></td></tr>\n"); data 55 content/browser/tcmalloc_internals_request_job.cc data->append("</table>\n"); data 73 content/browser/tcmalloc_internals_request_job.cc void AboutTcmalloc(std::string* data) { data 74 content/browser/tcmalloc_internals_request_job.cc data->append("<!DOCTYPE html>\n<html>\n<head>\n"); data 75 content/browser/tcmalloc_internals_request_job.cc data->append( data 78 content/browser/tcmalloc_internals_request_job.cc data->append("<title>tcmalloc stats</title>"); data 79 content/browser/tcmalloc_internals_request_job.cc data->append("</head><body>"); data 82 content/browser/tcmalloc_internals_request_job.cc data->append("<p>Stats as of last page load;"); data 83 content/browser/tcmalloc_internals_request_job.cc data->append("reload to get stats as of this page load.</p>\n"); data 84 content/browser/tcmalloc_internals_request_job.cc data->append("<table width=\"100%\">\n"); data 86 content/browser/tcmalloc_internals_request_job.cc AboutTcmallocOutputs::GetInstance()->DumpToHTMLTable(data); data 88 content/browser/tcmalloc_internals_request_job.cc data->append("</body></html>\n"); data 109 content/browser/tcmalloc_internals_request_job.cc std::string* data, data 114 content/browser/tcmalloc_internals_request_job.cc data->clear(); data 116 content/browser/tcmalloc_internals_request_job.cc AboutTcmalloc(data); data 25 content/browser/tcmalloc_internals_request_job.h void DumpToHTMLTable(std::string* data); data 55 content/browser/tcmalloc_internals_request_job.h std::string* data, data 143 content/browser/tracing/trace_message_filter.cc void TraceMessageFilter::OnTraceDataCollected(const std::string& data) { data 145 content/browser/tracing/trace_message_filter.cc data_ptr->data() = data; data 150 content/browser/tracing/trace_message_filter.cc const std::string& data) { data 152 content/browser/tracing/trace_message_filter.cc data_ptr->data() = data; data 50 content/browser/tracing/trace_message_filter.h void OnTraceDataCollected(const std::string& data); data 51 content/browser/tracing/trace_message_filter.h void OnMonitoringTraceDataCollected(const std::string& data); data 104 content/browser/tracing/tracing_controller_impl.cc if (!file_ || !events_str_ptr->data().size()) data 114 content/browser/tracing/tracing_controller_impl.cc size_t written = fwrite(events_str_ptr->data().c_str(), data 115 content/browser/tracing/tracing_controller_impl.cc events_str_ptr->data().size(), 1, data 138 content/browser/tracing/tracing_controller_impl.cc std::string json_string = system_trace_->data(); data 140 content/browser/tracing/tracing_controller_impl.cc std::string json_string = base::GetQuotedJSONString(system_trace_->data()); data 147 content/browser/tracing/tracing_controller_impl.cc written = fwrite(json_string.data(), json_string.size(), 1, file_); data 836 content/browser/tracing/tracing_controller_impl.cc if (events_str_ptr->data().size()) data 851 content/browser/tracing/tracing_controller_impl.cc if (events_str_ptr->data().size()) data 41 content/browser/tracing/tracing_ui.cc base::JSONWriter::Write(category_list.get(), &res->data()); data 48 content/browser/tracing/tracing_ui.cc std::string data; data 49 content/browser/tracing/tracing_ui.cc if (!base::Base64Decode(data64, &data)) { data 54 content/browser/tracing/tracing_ui.cc scoped_ptr<base::Value> optionsRaw(base::JSONReader::Read(data)); data 182 content/browser/tracing/tracing_ui.cc &monitoring_options_base64->data()); data 212 content/browser/tracing/tracing_ui.cc std::string data = path.substr(strlen(beginRecordingPath)); data 213 content/browser/tracing/tracing_ui.cc return BeginRecording(data, callback); data 226 content/browser/tracing/tracing_ui.cc std::string data = path.substr(strlen(enableMonitoringPath)); data 227 content/browser/tracing/tracing_ui.cc return EnableMonitoring(data, callback); data 1245 content/browser/web_contents/web_contents_impl.cc totalPinchGestureAmount_ += event.data.pinchUpdate.scale; data 2499 content/browser/web_contents/web_contents_impl_unittest.cc event.data.pinchUpdate.scale = kZoomStepValue * 0.8f; data 2509 content/browser/web_contents/web_contents_impl_unittest.cc event.data.pinchUpdate.scale = -kZoomStepValue; data 2527 content/browser/web_contents/web_contents_impl_unittest.cc event.data.pinchUpdate.scale = kZoomStepValue * 3; data 332 content/browser/web_contents/web_contents_view_aura.cc void PrepareDropData(DropData* drop_data, const ui::OSExchangeData& data) { data 333 content/browser/web_contents/web_contents_view_aura.cc drop_data->did_originate_from_renderer = data.DidOriginateFromRenderer(); data 336 content/browser/web_contents/web_contents_view_aura.cc data.GetString(&plain_text); data 342 content/browser/web_contents/web_contents_view_aura.cc data.GetURLAndTitle( data 351 content/browser/web_contents/web_contents_view_aura.cc data.GetHtml(&html, &html_base_url); data 357 content/browser/web_contents/web_contents_view_aura.cc data.GetFilenames(&drop_data->filenames); data 360 content/browser/web_contents/web_contents_view_aura.cc if (data.GetPickledData(ui::Clipboard::GetWebCustomDataFormatType(), &pickle)) data 362 content/browser/web_contents/web_contents_view_aura.cc pickle.data(), pickle.size(), &drop_data->custom_data); data 1132 content/browser/web_contents/web_contents_view_aura.cc ui::OSExchangeData data(provider); // takes ownership of |provider|. data 1136 content/browser/web_contents/web_contents_view_aura.cc gfx::Size(image.width(), image.height()), image_offset, &data); data 1150 content/browser/web_contents/web_contents_view_aura.cc ->StartDragAndDrop(data, data 1425 content/browser/web_contents/web_contents_view_aura.cc PrepareDropData(current_drop_data_.get(), event.data()); data 1436 content/browser/web_contents/web_contents_view_aura.cc drag_dest_delegate_->OnReceiveDragData(event.data()); data 173 content/browser/web_contents/web_drag_dest_gtk.cc GtkSelectionData* data, guint info, guint time) { data 182 content/browser/web_contents/web_drag_dest_gtk.cc gint data_length = gtk_selection_data_get_length(data); data 183 content/browser/web_contents/web_drag_dest_gtk.cc const guchar* raw_data = gtk_selection_data_get_data(data); data 184 content/browser/web_contents/web_drag_dest_gtk.cc GdkAtom target = gtk_selection_data_get_target(data); data 191 content/browser/web_contents/web_drag_dest_gtk.cc guchar* text = gtk_selection_data_get_text(data); data 199 content/browser/web_contents/web_drag_dest_gtk.cc gchar** uris = gtk_selection_data_get_uris(data); data 243 content/browser/web_contents/web_drag_dest_gtk.cc ui::ExtractNamedURL(data, &drop_data_->url, &drop_data_->url_title); data 271 content/browser/web_contents/web_drag_dest_gtk.cc delegate()->OnReceiveDataFromGtk(data); data 78 content/browser/web_contents/web_drag_dest_mac.h - (void)populateDropData:(content::DropData*)data data 191 content/browser/web_contents/web_drag_source_gtk.cc reinterpret_cast<const guchar*>(drop_data_->file_contents.data()), data 259 content/browser/web_contents/web_drag_source_gtk.cc reinterpret_cast<const guchar*>(custom_data.data()), data 139 content/browser/webui/url_data_manager_backend.cc const std::string& data) { data 140 content/browser/webui/url_data_manager_backend.cc content_security_policy_object_source_ = data; data 144 content/browser/webui/url_data_manager_backend.cc const std::string& data) { data 145 content/browser/webui/url_data_manager_backend.cc content_security_policy_frame_source_ = data; data 314 content/browser/webui/url_data_manager_backend.cc CHECK(pending_buf_->data()); data 331 content/browser/webui/url_data_manager_backend.cc CHECK(buf->data()); data 348 content/browser/webui/url_data_manager_backend.cc memcpy(buf->data(), data_->front() + data_offset_, buf_size); data 183 content/browser/webui/web_ui_data_source_impl.cc const std::string& data) { data 185 content/browser/webui/web_ui_data_source_impl.cc object_src_ = data; data 189 content/browser/webui/web_ui_data_source_impl.cc const std::string& data) { data 191 content/browser/webui/web_ui_data_source_impl.cc frame_src_ = data; data 48 content/browser/webui/web_ui_data_source_impl.h const std::string& data) OVERRIDE; data 50 content/browser/webui/web_ui_data_source_impl.h const std::string& data) OVERRIDE; data 82 content/browser/webui/web_ui_data_source_unittest.cc void SendResult(base::RefCountedMemory* data) { data 83 content/browser/webui/web_ui_data_source_unittest.cc result_data_ = data; data 61 content/browser/webui/web_ui_mojo_browsertest.cc ref_contents->data() = contents; data 270 content/browser/zygote_host/zygote_host_impl_linux.cc bool ZygoteHostImpl::SendMessage(const Pickle& data, data 273 content/browser/zygote_host/zygote_host_impl_linux.cc CHECK(data.size() <= kZygoteMaxMessageLength) data 274 content/browser/zygote_host/zygote_host_impl_linux.cc << "Trying to send too-large message to zygote (sending " << data.size() data 282 content/browser/zygote_host/zygote_host_impl_linux.cc data.data(), data.size(), data 82 content/browser/zygote_host/zygote_host_impl_linux.h bool SendMessage(const Pickle& data, const std::vector<int>* fds); data 257 content/child/appcache/web_application_cache_host_impl.cc const char* data, int len) { data 49 content/child/appcache/web_application_cache_host_impl.h virtual void didReceiveDataForMainResource(const char* data, int len); data 407 content/child/blink_platform_impl.cc std::string mime_type, char_set, data; data 408 content/child/blink_platform_impl.cc if (net::DataURL::Parse(url, &mime_type, &char_set, &data) data 412 content/child/blink_platform_impl.cc return data; data 553 content/child/blink_platform_impl.cc return WebData(resource.data(), resource.size()); data 597 content/child/blink_platform_impl.cc return WebData(resource.data(), resource.size()); data 728 content/child/blink_platform_impl.cc return WebData(resource.data(), resource.size()); data 954 content/child/blink_platform_impl.cc HeapProfilerStart(prefix.utf8().data()); data 967 content/child/blink_platform_impl.cc HeapProfilerDump(reason.utf8().data()); data 973 content/child/blink_platform_impl.cc char* data = GetHeapProfile(); data 974 content/child/blink_platform_impl.cc WebString result = WebString::fromUTF8(std::string(data)); data 975 content/child/blink_platform_impl.cc free(data); data 77 content/child/browser_font_resource_trusted.cc ubidi_setPara(bidi_, text_.data(), text_.size(), run.rtl, NULL, &uerror); data 75 content/child/ftp_directory_listing_response_delegate.cc void FtpDirectoryListingResponseDelegate::OnReceivedData(const char* data, data 77 content/child/ftp_directory_listing_response_delegate.cc buffer_.append(data, data_len); data 121 content/child/ftp_directory_listing_response_delegate.cc const std::string& data) { data 122 content/child/ftp_directory_listing_response_delegate.cc client_->didReceiveData(loader_, data.data(), data.length(), -1); data 32 content/child/ftp_directory_listing_response_delegate.h void OnReceivedData(const char* data, int data_len); data 38 content/child/ftp_directory_listing_response_delegate.h void SendDataToClient(const std::string& data); data 18 content/child/image_decoder.cc SkBitmap DecodeImage(const unsigned char* data, data 22 content/child/image_decoder.cc return decoder.Decode(data, size); data 35 content/child/image_decoder.cc SkBitmap ImageDecoder::Decode(const unsigned char* data, size_t size) const { data 37 content/child/image_decoder.cc WebData(reinterpret_cast<const char*>(data), size), desired_icon_size_); data 43 content/child/image_decoder.cc const unsigned char* data, size_t size) { data 45 content/child/image_decoder.cc WebData(reinterpret_cast<const char*>(data), size)); data 30 content/child/image_decoder.h SkBitmap Decode(const unsigned char* data, size_t size) const; data 35 content/child/image_decoder.h const unsigned char* data, size_t size); data 295 content/child/indexed_db/indexed_db_dispatcher.cc .assign(object_store_ids.data(), data 296 content/child/indexed_db/indexed_db_dispatcher.cc object_store_ids.data() + object_store_ids.size()); data 351 content/child/indexed_db/indexed_db_dispatcher.cc params.value.assign(value.data(), value.data() + value.size()); data 72 content/child/indexed_db/indexed_db_dispatcher_unittest.cc const std::vector<char> data(kMaxIDBValueSizeInBytes + 1); data 73 content/child/indexed_db/indexed_db_dispatcher_unittest.cc const WebData value(&data.front(), data.size()); data 97 content/child/indexed_db/indexed_db_dispatcher_unittest.cc const std::vector<char> data(kMaxIDBValueSizeInBytes - kKeySize); data 98 content/child/indexed_db/indexed_db_dispatcher_unittest.cc const WebData value(&data.front(), data.size()); data 50 content/child/indexed_db/indexed_db_key_builders.cc std::string(key.binary().data(), key.binary().size())); data 160 content/child/indexed_db/webidbdatabase_impl.cc std::vector<int64> index_ids(web_index_ids.data(), data 161 content/child/indexed_db/webidbdatabase_impl.cc web_index_ids.data() + web_index_ids.size()); data 268 content/child/indexed_db/webidbdatabase_impl.cc param[i] = uuids[i].latin1().data(); data 36 content/child/npapi/npruntime_util.cc const char* data; data 38 content/child/npapi/npruntime_util.cc if (!pickle_iter->ReadData(&data, &data_len)) data 40 content/child/npapi/npruntime_util.cc DCHECK_EQ((static_cast<size_t>(data_len)), strlen(data) + 1); data 41 content/child/npapi/npruntime_util.cc *identifier = WebBindings::getStringIdentifier(data); data 22 content/child/npapi/plugin_string_stream.cc void PluginStringStream::SendToPlugin(const std::string &data, data 28 content/child/npapi/plugin_string_stream.cc int length = static_cast<int>(data.length()); data 31 content/child/npapi/plugin_string_stream.cc int written = Write(data.c_str(), length, 0); data 28 content/child/npapi/plugin_string_stream.h void SendToPlugin(const std::string& data, data 57 content/child/npapi/plugin_url_fetcher.cc const char* data, data 65 content/child/npapi/plugin_url_fetcher.cc plugin_stream_->DidReceiveData(data, data_length, data_offset); data 335 content/child/npapi/plugin_url_fetcher.cc void PluginURLFetcher::OnReceivedData(const char* data, data 342 content/child/npapi/plugin_url_fetcher.cc multipart_delegate_->OnReceivedData(data, data_length, encoded_data_length); data 352 content/child/npapi/plugin_url_fetcher.cc memcpy(data_copy.get(), data, data_length); data 355 content/child/npapi/plugin_url_fetcher.cc plugin_stream_->DidReceiveData(data, data_length, offset); data 66 content/child/npapi/plugin_url_fetcher.h virtual void OnReceivedData(const char* data, data 260 content/child/resource_dispatcher.cc response->data.swap(result.data); data 369 content/child/resource_dispatcher.cc int request_id, const std::vector<char>& data) { data 374 content/child/resource_dispatcher.cc if (data.size()) data 375 content/child/resource_dispatcher.cc request_info->peer->OnReceivedCachedMetadata(&data.front(), data.size()); data 450 content/child/resource_dispatcher.cc request_info->peer->OnReceivedData(alternative_data.data(), data 145 content/child/resource_dispatcher.h void OnReceivedCachedMetadata(int request_id, const std::vector<char>& data); data 64 content/child/resource_dispatcher_unittest.cc virtual void OnReceivedData(const char* data, data 68 content/child/resource_dispatcher_unittest.cc data_.append(data, data_length); data 288 content/child/resource_dispatcher_unittest.cc virtual void OnReceivedData(const char* data, data 377 content/child/resource_dispatcher_unittest.cc virtual void OnReceivedData(const char* data, data 52 content/child/site_isolation_policy.cc bool MatchesSignature(StringPiece data, data 56 content/child/site_isolation_policy.cc size_t offset = data.find_first_not_of(" \t\r\n"); data 61 content/child/site_isolation_policy.cc data.remove_prefix(offset); data 62 content/child/site_isolation_policy.cc size_t length = data.length(); data 71 content/child/site_isolation_policy.cc data.begin(), data.begin() + signature_length, signature.data())) data 217 content/child/site_isolation_policy.cc StringPiece data(raw_data, raw_length); data 232 content/child/site_isolation_policy.cc bool sniffed_as_js = SniffForJS(data); data 245 content/child/site_isolation_policy.cc sniffed_as_target_document = SniffForHTML(data); data 249 content/child/site_isolation_policy.cc sniffed_as_target_document = SniffForXML(data); data 253 content/child/site_isolation_policy.cc sniffed_as_target_document = SniffForJSON(data); data 275 content/child/site_isolation_policy.cc if (SniffForHTML(data)) data 277 content/child/site_isolation_policy.cc else if (SniffForXML(data)) data 279 content/child/site_isolation_policy.cc else if (SniffForJSON(data)) data 389 content/child/site_isolation_policy.cc bool SiteIsolationPolicy::SniffForHTML(StringPiece data) { data 422 content/child/site_isolation_policy.cc while (data.length() > 0) { data 424 content/child/site_isolation_policy.cc data, kHtmlSignatures, arraysize(kHtmlSignatures))) data 429 content/child/site_isolation_policy.cc if (!MatchesSignature(data, kCommentBegins, arraysize(kCommentBegins))) data 435 content/child/site_isolation_policy.cc size_t offset = data.find(kEndComment); data 440 content/child/site_isolation_policy.cc data.remove_prefix(offset + strlen(kEndComment)); data 446 content/child/site_isolation_policy.cc bool SiteIsolationPolicy::SniffForXML(base::StringPiece data) { data 455 content/child/site_isolation_policy.cc return MatchesSignature(data, kXmlSignatures, arraysize(kXmlSignatures)); data 458 content/child/site_isolation_policy.cc bool SiteIsolationPolicy::SniffForJSON(base::StringPiece data) { data 472 content/child/site_isolation_policy.cc size_t length = data.length(); data 474 content/child/site_isolation_policy.cc const char c = data[i]; data 504 content/child/site_isolation_policy.cc bool SiteIsolationPolicy::SniffForJS(StringPiece data) { data 511 content/child/site_isolation_policy.cc return data.find("var ") != base::StringPiece::npos; data 136 content/child/site_isolation_policy.h static bool SniffForHTML(base::StringPiece data); data 137 content/child/site_isolation_policy.h static bool SniffForXML(base::StringPiece data); data 138 content/child/site_isolation_policy.h static bool SniffForJSON(base::StringPiece data); data 142 content/child/site_isolation_policy.h static bool SniffForJS(base::StringPiece data); data 41 content/child/socket_stream_dispatcher.cc virtual bool Send(const std::vector<char>& data) OVERRIDE; data 47 content/child/socket_stream_dispatcher.cc void OnReceivedData(const std::vector<char>& data); data 99 content/child/socket_stream_dispatcher.cc const SocketStreamHandleData* data = data 101 content/child/socket_stream_dispatcher.cc if (data) data 102 content/child/socket_stream_dispatcher.cc render_frame_id = data->render_frame_id(); data 110 content/child/socket_stream_dispatcher.cc bool IPCWebSocketStreamHandleBridge::Send(const std::vector<char>& data) { data 111 content/child/socket_stream_dispatcher.cc DVLOG(1) << "Bridge #" << socket_id_ << " Send (" << data.size() data 115 content/child/socket_stream_dispatcher.cc new SocketStreamHostMsg_SendData(socket_id_, data)); data 117 content/child/socket_stream_dispatcher.cc delegate_->WillSendData(handle_, &data[0], data.size()); data 145 content/child/socket_stream_dispatcher.cc const std::vector<char>& data) { data 146 content/child/socket_stream_dispatcher.cc DVLOG(1) << "Bridge #" << socket_id_ << " OnReceiveData (" << data.size() data 149 content/child/socket_stream_dispatcher.cc delegate_->DidReceiveData(handle_, &data[0], data.size()); data 222 content/child/socket_stream_dispatcher.cc int socket_id, const std::vector<char>& data) { data 223 content/child/socket_stream_dispatcher.cc DVLOG(1) << "SocketStreamDispatcher::OnReceivedData (" << data.size() data 229 content/child/socket_stream_dispatcher.cc bridge->OnReceivedData(data); data 42 content/child/socket_stream_dispatcher.h void OnReceivedData(int socket_id, const std::vector<char>& data); data 29 content/child/sync_load_response.h std::string data; data 30 content/child/web_discardable_memory_impl.h virtual void* data(); data 22 content/child/web_socket_stream_handle_bridge.h virtual bool Send(const std::vector<char>& data) = 0; data 25 content/child/web_socket_stream_handle_delegate.h const char* data, int len) {} data 32 content/child/web_socket_stream_handle_delegate.h const char* data, int len) {} data 47 content/child/web_socket_stream_handle_impl.cc bool Send(const WebData& data); data 99 content/child/web_socket_stream_handle_impl.cc bool WebSocketStreamHandleImpl::Context::Send(const WebData& data) { data 100 content/child/web_socket_stream_handle_impl.cc VLOG(1) << "Send data.size=" << data.size(); data 103 content/child/web_socket_stream_handle_impl.cc std::vector<char>(data.data(), data.data() + data.size())); data 137 content/child/web_socket_stream_handle_impl.cc WebSocketStreamHandle* web_handle, const char* data, int size) { data 139 content/child/web_socket_stream_handle_impl.cc client_->didReceiveData(handle_, WebData(data, size)); data 190 content/child/web_socket_stream_handle_impl.cc bool WebSocketStreamHandleImpl::send(const WebData& data) { data 191 content/child/web_socket_stream_handle_impl.cc return context_->Send(data); data 23 content/child/web_socket_stream_handle_impl.h virtual bool send(const blink::WebData& data); data 131 content/child/web_url_loader_impl.cc std::string* data, data 135 content/child/web_url_loader_impl.cc if (net::DataURL::Parse(url, &mime_type, &charset, data)) { data 147 content/child/web_url_loader_impl.cc info->content_length = data->length(); data 247 content/child/web_url_loader_impl.cc virtual void OnReceivedData(const char* data, data 250 content/child/web_url_loader_impl.cc virtual void OnReceivedCachedMetadata(const char* data, int len) OVERRIDE; data 322 content/child/web_url_loader_impl.cc std::string data; data 324 content/child/web_url_loader_impl.cc &sync_load_response->data, data 414 content/child/web_url_loader_impl.cc if (!element.data.isEmpty()) { data 418 content/child/web_url_loader_impl.cc element.data.data(), static_cast<int>(element.data.size())); data 582 content/child/web_url_loader_impl.cc void WebURLLoaderImpl::Context::OnReceivedData(const char* data, data 591 content/child/web_url_loader_impl.cc ftp_listing_delegate_->OnReceivedData(data, data_length); data 595 content/child/web_url_loader_impl.cc multipart_delegate_->OnReceivedData(data, data_length, encoded_data_length); data 597 content/child/web_url_loader_impl.cc client_->didReceiveData(loader_, data, data_length, encoded_data_length); data 602 content/child/web_url_loader_impl.cc const char* data, int len) { data 604 content/child/web_url_loader_impl.cc client_->didReceiveCachedMetadata(loader_, data, len); data 678 content/child/web_url_loader_impl.cc std::string data; data 680 content/child/web_url_loader_impl.cc if (GetInfoFromDataURL(request_.url(), &info, &data, &error_code)) { data 682 content/child/web_url_loader_impl.cc if (!data.empty()) data 683 content/child/web_url_loader_impl.cc OnReceivedData(data.data(), data.size(), 0); data 831 content/child/web_url_loader_impl.cc WebData& data) { data 850 content/child/web_url_loader_impl.cc data.assign(sync_load_response.data.data(), data 851 content/child/web_url_loader_impl.cc sync_load_response.data.size()); data 36 content/child/web_url_loader_impl.h blink::WebData& data); data 43 content/child/webblobregistry_impl.cc const blink::WebString& uuid, const blink::WebBlobData& data) { data 49 content/child/webblobregistry_impl.cc while (data.itemAt(i++, data_item)) { data 54 content/child/webblobregistry_impl.cc SendDataForBlob(uuid_str, data_item.data); data 99 content/child/webblobregistry_impl.cc uuid_str, data.contentType().utf8().data())); data 120 content/child/webblobregistry_impl.cc const WebThreadSafeData& data) { data 122 content/child/webblobregistry_impl.cc if (data.size() == 0) data 124 content/child/webblobregistry_impl.cc if (data.size() < kLargeThresholdBytes) { data 126 content/child/webblobregistry_impl.cc item.SetToBytes(data.data(), data.size()); data 132 content/child/webblobregistry_impl.cc data.size(), kMaxSharedMemoryBytes); data 138 content/child/webblobregistry_impl.cc size_t data_size = data.size(); data 139 content/child/webblobregistry_impl.cc const char* data_ptr = data.data(); data 166 content/child/webblobregistry_impl.cc WebThreadSafeData& data) { data 168 content/child/webblobregistry_impl.cc if (data.size() == 0) data 170 content/child/webblobregistry_impl.cc if (data.size() < kLargeThresholdBytes) { data 172 content/child/webblobregistry_impl.cc item.SetToBytes(data.data(), data.size()); data 178 content/child/webblobregistry_impl.cc data.size(), kMaxSharedMemoryBytes); data 184 content/child/webblobregistry_impl.cc size_t data_size = data.size(); data 185 content/child/webblobregistry_impl.cc const char* data_ptr = data.data(); data 28 content/child/webblobregistry_impl.h const blink::WebBlobData& data); data 41 content/child/webblobregistry_impl.h blink::WebThreadSafeData& data); data 48 content/child/webblobregistry_impl.h const blink::WebThreadSafeData& data); data 22 content/child/webcrypto/crypto_data.cc : bytes_(bytes.size() ? reinterpret_cast<const unsigned char*>(bytes.data()) data 27 content/child/webcrypto/crypto_data.cc : bytes_(reinterpret_cast<const unsigned char*>(buffer.data())), data 31 content/child/webcrypto/crypto_data.cc : bytes_(bytes.data()), byte_length_(bytes.size()) {} data 309 content/child/webcrypto/jwk.cc DCHECK(raw_key.data()); data 312 content/child/webcrypto/jwk.cc const base::StringPiece key_str(static_cast<const char*>(raw_key.data()), data 838 content/child/webcrypto/jwk.cc *buffer = CreateArrayBuffer(reinterpret_cast<const uint8*>(json.data()), data 54 content/child/webcrypto/platform_crypto.h const CryptoData& data, data 63 content/child/webcrypto/platform_crypto.h const CryptoData& data, data 73 content/child/webcrypto/platform_crypto.h const CryptoData& data, data 79 content/child/webcrypto/platform_crypto.h const CryptoData& data, data 87 content/child/webcrypto/platform_crypto.h const CryptoData& data, data 93 content/child/webcrypto/platform_crypto.h const CryptoData& data, data 106 content/child/webcrypto/platform_crypto.h const CryptoData& data, data 115 content/child/webcrypto/platform_crypto.h const CryptoData& data, data 229 content/child/webcrypto/platform_crypto.h const CryptoData& data, data 220 content/child/webcrypto/platform_crypto_nss.cc const CryptoData& data, data 238 content/child/webcrypto/platform_crypto_nss.cc if (data.byte_length() >= INT_MAX - AES_BLOCK_SIZE) { data 249 content/child/webcrypto/platform_crypto_nss.cc (data.byte_length() == 0 || (data.byte_length() % AES_BLOCK_SIZE != 0))) { data 255 content/child/webcrypto/platform_crypto_nss.cc unsigned int output_max_len = data.byte_length() + AES_BLOCK_SIZE; data 256 content/child/webcrypto/platform_crypto_nss.cc CHECK_GT(output_max_len, data.byte_length()); data 260 content/child/webcrypto/platform_crypto_nss.cc unsigned char* buffer_data = reinterpret_cast<unsigned char*>(buffer->data()); data 267 content/child/webcrypto/platform_crypto_nss.cc data.bytes(), data 268 content/child/webcrypto/platform_crypto_nss.cc data.byte_length())) { data 289 content/child/webcrypto/platform_crypto_nss.cc const CryptoData& data, data 310 content/child/webcrypto/platform_crypto_nss.cc param.data = reinterpret_cast<unsigned char*>(&gcm_params); data 318 content/child/webcrypto/platform_crypto_nss.cc if (data.byte_length() > (UINT_MAX - tag_length_bytes)) data 320 content/child/webcrypto/platform_crypto_nss.cc buffer_size = data.byte_length() + tag_length_bytes; data 333 content/child/webcrypto/platform_crypto_nss.cc buffer_size = data.byte_length(); data 337 content/child/webcrypto/platform_crypto_nss.cc unsigned char* buffer_data = reinterpret_cast<unsigned char*>(buffer->data()); data 350 content/child/webcrypto/platform_crypto_nss.cc data.bytes(), data 351 content/child/webcrypto/platform_crypto_nss.cc data.byte_length()); data 379 content/child/webcrypto/platform_crypto_nss.cc bool BigIntegerToLong(const uint8* data, data 391 content/child/webcrypto/platform_crypto_nss.cc if (reverse_i >= sizeof(unsigned long) && data[i]) data 394 content/child/webcrypto/platform_crypto_nss.cc *result |= data[i] << 8 * reverse_i; data 413 content/child/webcrypto/platform_crypto_nss.cc CryptoData public_exponent(key->u.rsa.publicExponent.data, data 547 content/child/webcrypto/platform_crypto_nss.cc out->assign(item.data, item.data + item.len); data 621 content/child/webcrypto/platform_crypto_nss.cc DCHECK(!out->version.data); data 623 content/child/webcrypto/platform_crypto_nss.cc DCHECK(!out->modulus.data); data 680 content/child/webcrypto/platform_crypto_nss.cc virtual bool consume(const unsigned char* data, unsigned int size) { data 681 content/child/webcrypto/platform_crypto_nss.cc return ConsumeWithStatus(data, size).IsSuccess(); data 684 content/child/webcrypto/platform_crypto_nss.cc Status ConsumeWithStatus(const unsigned char* data, unsigned int size) { data 692 content/child/webcrypto/platform_crypto_nss.cc HASH_Update(hash_context_, data, size); data 712 content/child/webcrypto/platform_crypto_nss.cc unsigned char* digest = reinterpret_cast<unsigned char*>(result->data()); data 806 content/child/webcrypto/platform_crypto_nss.cc *buffer = CreateArrayBuffer(key_data->data, key_data->len); data 888 content/child/webcrypto/platform_crypto_nss.cc DCHECK(spki_der->data); data 891 content/child/webcrypto/platform_crypto_nss.cc *buffer = CreateArrayBuffer(spki_der->data, spki_der->len); data 963 content/child/webcrypto/platform_crypto_nss.cc *buffer = CreateArrayBuffer(encoded_key->data, encoded_key->len); data 1022 content/child/webcrypto/platform_crypto_nss.cc const CryptoData& data, data 1027 content/child/webcrypto/platform_crypto_nss.cc SECItem data_item = MakeSECItemForBuffer(data); data 1042 content/child/webcrypto/platform_crypto_nss.cc signature_item.data = reinterpret_cast<unsigned char*>(buffer->data()); data 1061 content/child/webcrypto/platform_crypto_nss.cc const CryptoData& data, data 1069 content/child/webcrypto/platform_crypto_nss.cc encrypted_length_bytes - 11 < data.byte_length()) data 1074 content/child/webcrypto/platform_crypto_nss.cc reinterpret_cast<unsigned char*>(buffer->data()); data 1078 content/child/webcrypto/platform_crypto_nss.cc const_cast<unsigned char*>(data.bytes()), data 1079 content/child/webcrypto/platform_crypto_nss.cc data.byte_length(), data 1087 content/child/webcrypto/platform_crypto_nss.cc const CryptoData& data, data 1096 content/child/webcrypto/platform_crypto_nss.cc reinterpret_cast<unsigned char*>(buffer->data()); data 1103 content/child/webcrypto/platform_crypto_nss.cc const_cast<unsigned char*>(data.bytes()), data 1104 content/child/webcrypto/platform_crypto_nss.cc data.byte_length()) != SECSuccess) { data 1118 content/child/webcrypto/platform_crypto_nss.cc const CryptoData& data, data 1142 content/child/webcrypto/platform_crypto_nss.cc data.bytes(), data 1143 content/child/webcrypto/platform_crypto_nss.cc data.byte_length(), data 1149 content/child/webcrypto/platform_crypto_nss.cc *buffer = CreateArrayBuffer(signature_item->data, signature_item->len); data 1156 content/child/webcrypto/platform_crypto_nss.cc const CryptoData& data, data 1179 content/child/webcrypto/platform_crypto_nss.cc SECSuccess == VFY_VerifyDataDirect(data.bytes(), data 1180 content/child/webcrypto/platform_crypto_nss.cc data.byte_length(), data 1192 content/child/webcrypto/platform_crypto_nss.cc const CryptoData& data, data 1196 content/child/webcrypto/platform_crypto_nss.cc return AesCbcEncryptDecrypt(mode, key, iv, data, buffer); data 1201 content/child/webcrypto/platform_crypto_nss.cc const CryptoData& data, data 1208 content/child/webcrypto/platform_crypto_nss.cc mode, key, data, iv, additional_data, tag_length_bits, buffer); data 1300 content/child/webcrypto/platform_crypto_nss.cc const CryptoData& data, data 1303 content/child/webcrypto/platform_crypto_nss.cc Status error = digestor.ConsumeWithStatus(data.bytes(), data.byte_length()); data 1483 content/child/webcrypto/platform_crypto_nss.cc const CryptoData& data, data 1489 content/child/webcrypto/platform_crypto_nss.cc data, wrapping_key, CKK_GENERIC_SECRET, CKA_ENCRYPT, &decrypted); data 1500 content/child/webcrypto/platform_crypto_nss.cc *buffer = webcrypto::CreateArrayBuffer(key_data->data, key_data->len); data 85 content/child/webcrypto/platform_crypto_openssl.cc const CryptoData& data, data 90 content/child/webcrypto/platform_crypto_openssl.cc if (data.byte_length() >= INT_MAX - AES_BLOCK_SIZE) { data 119 content/child/webcrypto/platform_crypto_openssl.cc unsigned int output_max_len = data.byte_length() + AES_BLOCK_SIZE - 1; data 123 content/child/webcrypto/platform_crypto_openssl.cc DCHECK_GT(output_max_len, data.byte_length()); data 128 content/child/webcrypto/platform_crypto_openssl.cc reinterpret_cast<unsigned char*>(buffer->data()); data 134 content/child/webcrypto/platform_crypto_openssl.cc data.bytes(), data 135 content/child/webcrypto/platform_crypto_openssl.cc data.byte_length())) data 162 content/child/webcrypto/platform_crypto_openssl.cc virtual bool consume(const unsigned char* data, unsigned int size) { data 163 content/child/webcrypto/platform_crypto_openssl.cc return ConsumeWithStatus(data, size).IsSuccess(); data 166 content/child/webcrypto/platform_crypto_openssl.cc Status ConsumeWithStatus(const unsigned char* data, unsigned int size) { data 172 content/child/webcrypto/platform_crypto_openssl.cc if (!EVP_DigestUpdate(digest_context_.get(), data, size)) data 191 content/child/webcrypto/platform_crypto_openssl.cc static_cast<unsigned char* const>(result->data()); data 251 content/child/webcrypto/platform_crypto_openssl.cc const CryptoData& data, data 255 content/child/webcrypto/platform_crypto_openssl.cc return AesCbcEncryptDecrypt(mode, key, iv, data, buffer); data 259 content/child/webcrypto/platform_crypto_openssl.cc const CryptoData& data, data 262 content/child/webcrypto/platform_crypto_openssl.cc Status error = digestor.ConsumeWithStatus(data.bytes(), data.byte_length()); data 337 content/child/webcrypto/platform_crypto_openssl.cc const CryptoData& data, data 358 content/child/webcrypto/platform_crypto_openssl.cc reinterpret_cast<unsigned char*>(result.data()), hmac_expected_length); data 366 content/child/webcrypto/platform_crypto_openssl.cc data.bytes(), data 367 content/child/webcrypto/platform_crypto_openssl.cc data.byte_length(), data 390 content/child/webcrypto/platform_crypto_openssl.cc const CryptoData& data, data 401 content/child/webcrypto/platform_crypto_openssl.cc const CryptoData& data, data 408 content/child/webcrypto/platform_crypto_openssl.cc const CryptoData& data, data 416 content/child/webcrypto/platform_crypto_openssl.cc const CryptoData& data, data 426 content/child/webcrypto/platform_crypto_openssl.cc const CryptoData& data, data 487 content/child/webcrypto/platform_crypto_openssl.cc const CryptoData& data, data 68 content/child/webcrypto/shared_crypto.cc const CryptoData& data, data 79 content/child/webcrypto/shared_crypto.cc CryptoData iv(params->iv().data(), params->iv().size()); data 83 content/child/webcrypto/shared_crypto.cc return platform::EncryptDecryptAesCbc(mode, sym_key, data, iv, buffer); data 89 content/child/webcrypto/shared_crypto.cc const CryptoData& data, data 112 content/child/webcrypto/shared_crypto.cc data, data 121 content/child/webcrypto/shared_crypto.cc const CryptoData& data, data 129 content/child/webcrypto/shared_crypto.cc if (!data.byte_length()) data 132 content/child/webcrypto/shared_crypto.cc return platform::EncryptRsaEsPkcs1v1_5(public_key, data, buffer); data 137 content/child/webcrypto/shared_crypto.cc const CryptoData& data, data 145 content/child/webcrypto/shared_crypto.cc if (!data.byte_length()) data 148 content/child/webcrypto/shared_crypto.cc return platform::DecryptRsaEsPkcs1v1_5(private_key, data, buffer); data 153 content/child/webcrypto/shared_crypto.cc const CryptoData& data, data 161 content/child/webcrypto/shared_crypto.cc sym_key, key.algorithm().hmacParams()->hash(), data, buffer); data 167 content/child/webcrypto/shared_crypto.cc const CryptoData& data, data 170 content/child/webcrypto/shared_crypto.cc Status status = SignHmac(algorithm, key, data, &result); data 178 content/child/webcrypto/shared_crypto.cc result.data(), signature.bytes(), signature.byte_length()); data 185 content/child/webcrypto/shared_crypto.cc const CryptoData& data, data 193 content/child/webcrypto/shared_crypto.cc private_key, key.algorithm().rsaHashedParams()->hash(), data, buffer); data 199 content/child/webcrypto/shared_crypto.cc const CryptoData& data, data 210 content/child/webcrypto/shared_crypto.cc data, data 299 content/child/webcrypto/shared_crypto.cc if (memcmp(algorithm.rsaParams()->publicExponent().data(), data 300 content/child/webcrypto/shared_crypto.cc key.algorithm().rsaParams()->publicExponent().data(), data 401 content/child/webcrypto/shared_crypto.cc const CryptoData& data, data 407 content/child/webcrypto/shared_crypto.cc status = CheckAesKwInputSize(data); data 410 content/child/webcrypto/shared_crypto.cc return platform::DecryptAesKw(sym_key, data, buffer); data 415 content/child/webcrypto/shared_crypto.cc const CryptoData& data, data 421 content/child/webcrypto/shared_crypto.cc return EncryptDecryptAesCbc(DECRYPT, algorithm, key, data, buffer); data 423 content/child/webcrypto/shared_crypto.cc return EncryptDecryptAesGcm(DECRYPT, algorithm, key, data, buffer); data 425 content/child/webcrypto/shared_crypto.cc return DecryptRsaEsPkcs1v1_5(algorithm, key, data, buffer); data 427 content/child/webcrypto/shared_crypto.cc return DecryptAesKw(algorithm, key, data, buffer); data 435 content/child/webcrypto/shared_crypto.cc const CryptoData& data, data 441 content/child/webcrypto/shared_crypto.cc return EncryptDecryptAesCbc(ENCRYPT, algorithm, key, data, buffer); data 443 content/child/webcrypto/shared_crypto.cc return EncryptDecryptAesGcm(ENCRYPT, algorithm, key, data, buffer); data 445 content/child/webcrypto/shared_crypto.cc return EncryptRsaEsPkcs1v1_5(algorithm, key, data, buffer); data 508 content/child/webcrypto/shared_crypto.cc const CryptoData& data, data 512 content/child/webcrypto/shared_crypto.cc return EncryptDontCheckUsage(algorithm, key, data, buffer); data 517 content/child/webcrypto/shared_crypto.cc const CryptoData& data, data 521 content/child/webcrypto/shared_crypto.cc return DecryptDontCheckKeyUsage(algorithm, key, data, buffer); data 525 content/child/webcrypto/shared_crypto.cc const CryptoData& data, data 532 content/child/webcrypto/shared_crypto.cc return platform::DigestSha(algorithm.id(), data, buffer); data 694 content/child/webcrypto/shared_crypto.cc const CryptoData& data, data 703 content/child/webcrypto/shared_crypto.cc return SignHmac(algorithm, key, data, buffer); data 705 content/child/webcrypto/shared_crypto.cc return SignRsaSsaPkcs1v1_5(algorithm, key, data, buffer); data 714 content/child/webcrypto/shared_crypto.cc const CryptoData& data, data 731 content/child/webcrypto/shared_crypto.cc return VerifyHmac(algorithm, key, signature, data, signature_match); data 734 content/child/webcrypto/shared_crypto.cc algorithm, key, signature, data, signature_match); data 806 content/child/webcrypto/shared_crypto.cc blink::WebVector<unsigned char>* data) { data 812 content/child/webcrypto/shared_crypto.cc data->assign( data 813 content/child/webcrypto/shared_crypto.cc reinterpret_cast<unsigned char*>(buffer.data()), buffer.byteLength()); data 78 content/child/webcrypto/shared_crypto.h const CryptoData& data, data 83 content/child/webcrypto/shared_crypto.h const CryptoData& data, data 87 content/child/webcrypto/shared_crypto.h const CryptoData& data, data 119 content/child/webcrypto/shared_crypto.h const CryptoData& data, data 126 content/child/webcrypto/shared_crypto.h const CryptoData& data, data 148 content/child/webcrypto/shared_crypto.h blink::WebVector<unsigned char>* data); data 164 content/child/webcrypto/shared_crypto_unittest.cc base::HexEncode(actual.data(), actual.byteLength())) data 327 content/child/webcrypto/shared_crypto_unittest.cc memcmp(a.data(), b.data(), a.byteLength()) == 0; data 486 content/child/webcrypto/shared_crypto_unittest.cc cipher_text->assign(static_cast<uint8*>(output.data()), data 487 content/child/webcrypto/shared_crypto_unittest.cc static_cast<uint8*>(output.data()) + data 490 content/child/webcrypto/shared_crypto_unittest.cc static_cast<uint8*>(output.data()) + cipher_text->size(), data 491 content/child/webcrypto/shared_crypto_unittest.cc static_cast<uint8*>(output.data()) + output.byteLength()); data 547 content/child/webcrypto/shared_crypto_unittest.cc base::StringPiece json_string(reinterpret_cast<const char*>(json.data()), data 624 content/child/webcrypto/shared_crypto_unittest.cc if (!LowerCaseEqualsASCII(base::HexEncode(k_value.data(), k_value.size()), data 653 content/child/webcrypto/shared_crypto_unittest.cc if (base::HexEncode(n_value.data(), n_value.size()) != n_expected_hex) { data 665 content/child/webcrypto/shared_crypto_unittest.cc if (!LowerCaseEqualsASCII(base::HexEncode(e_value.data(), e_value.size()), data 811 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(static_cast<const unsigned char*>(output.data()), data 2262 content/child/webcrypto/shared_crypto_unittest.cc static_cast<uint8*>(encrypted_data.data()), data 2263 content/child/webcrypto/shared_crypto_unittest.cc static_cast<uint8*>(encrypted_data.data()) + encrypted_data.byteLength()); data 2303 content/child/webcrypto/shared_crypto_unittest.cc const std::vector<uint8> data = HexStringToBytes("010203040506070809"); data 2305 content/child/webcrypto/shared_crypto_unittest.cc Sign(algorithm, private_key, CryptoData(data), &signature)); data 2311 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(reinterpret_cast<const unsigned char*>(signature.data()), data 2313 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(data), data 2319 content/child/webcrypto/shared_crypto_unittest.cc algorithm, public_key, CryptoData(), CryptoData(data), &signature_match)); data 2324 content/child/webcrypto/shared_crypto_unittest.cc static_cast<uint8*>(signature.data()), data 2325 content/child/webcrypto/shared_crypto_unittest.cc static_cast<uint8*>(signature.data()) + signature.byteLength()); data 2330 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(data), data 2342 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(data), data 2351 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(data), data 2356 content/child/webcrypto/shared_crypto_unittest.cc Sign(algorithm, public_key, CryptoData(data), &signature)); data 2362 content/child/webcrypto/shared_crypto_unittest.cc Sign(algorithm, private_key, CryptoData(data), &signature)); data 2367 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(data), data 2383 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(data), data 2411 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(data), data 3001 content/child/webcrypto/shared_crypto_unittest.cc const std::vector<uint8> data(64, 0); data 3022 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(data), data 3062 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(data), data 3237 content/child/webcrypto/shared_crypto_unittest.cc const std::string decrypted(static_cast<const char*>(decrypted_data.data()), data 46 content/child/webcrypto/webcrypto_impl.cc const unsigned char* data, data 52 content/child/webcrypto/webcrypto_impl.cc algorithm, key, webcrypto::CryptoData(data, data_size), &buffer); data 61 content/child/webcrypto/webcrypto_impl.cc const unsigned char* data, data 67 content/child/webcrypto/webcrypto_impl.cc algorithm, key, webcrypto::CryptoData(data, data_size), &buffer); data 75 content/child/webcrypto/webcrypto_impl.cc const unsigned char* data, data 81 content/child/webcrypto/webcrypto_impl.cc algorithm, webcrypto::CryptoData(data, data_size), &buffer); data 165 content/child/webcrypto/webcrypto_impl.cc const unsigned char* data, data 171 content/child/webcrypto/webcrypto_impl.cc algorithm, key, webcrypto::CryptoData(data, data_size), &buffer); data 182 content/child/webcrypto/webcrypto_impl.cc const unsigned char* data, data 191 content/child/webcrypto/webcrypto_impl.cc webcrypto::CryptoData(data, data_size), data 242 content/child/webcrypto/webcrypto_impl.cc const unsigned char* data, data 248 content/child/webcrypto/webcrypto_impl.cc algorithm, webcrypto::CryptoData(data, data_size), &result)) data 27 content/child/webcrypto/webcrypto_impl.h const unsigned char* data, data 32 content/child/webcrypto/webcrypto_impl.h const unsigned char* data, data 36 content/child/webcrypto/webcrypto_impl.h const unsigned char* data, data 55 content/child/webcrypto/webcrypto_impl.h const unsigned char* data, data 62 content/child/webcrypto/webcrypto_impl.h const unsigned char* data, data 83 content/child/webcrypto/webcrypto_impl.h const unsigned char* data, data 19 content/child/webcrypto/webcrypto_util.cc const uint8* Uint8VectorStart(const std::vector<uint8>& data) { data 20 content/child/webcrypto/webcrypto_util.cc if (data.empty()) data 22 content/child/webcrypto/webcrypto_util.cc return &data[0]; data 33 content/child/webcrypto/webcrypto_util.cc memcpy(new_buffer.data(), buffer->data(), new_size); data 37 content/child/webcrypto/webcrypto_util.cc blink::WebArrayBuffer CreateArrayBuffer(const uint8* data, data 42 content/child/webcrypto/webcrypto_util.cc memcpy(buffer.data(), data, data_size); data 27 content/child/webcrypto/webcrypto_util.h CONTENT_EXPORT const uint8* Uint8VectorStart(const std::vector<uint8>& data); data 35 content/child/webcrypto/webcrypto_util.h blink::WebArrayBuffer CreateArrayBuffer(const uint8* data, data 147 content/child/websocket_bridge.cc const std::vector<char>& data) { data 151 content/child/websocket_bridge.cc << "(data size = " << data.size() << "))"; data 168 content/child/websocket_bridge.cc const char* data_to_pass = data.empty() ? NULL : &data[0]; data 169 content/child/websocket_bridge.cc client_->didReceiveData(this, fin, type_to_pass, data_to_pass, data.size()); data 237 content/child/websocket_bridge.cc const char* data, data 263 content/child/websocket_bridge.cc std::vector<char>(data, data + size))); data 40 content/child/websocket_bridge.h const char* data, data 59 content/child/websocket_bridge.h const std::vector<char>& data); data 213 content/common/cc_messages.cc skia::RefPtr<SkData> data = data 215 content/common/cc_messages.cc m->WriteData(static_cast<const char*>(data->data()), data->size()); data 223 content/common/cc_messages.cc const char* data = 0; data 225 content/common/cc_messages.cc if (!m->ReadData(iter, &data, &length)) data 231 content/common/cc_messages.cc data, length, SkImageFilter::GetFlattenableType()); data 41 content/common/content_param_traits.cc const char* data; data 43 content/common/content_param_traits.cc if (!m->ReadData(iter, &data, &data_length)) { data 51 content/common/content_param_traits.cc param_type event = reinterpret_cast<param_type>(data); data 86 content/common/cursors/webcursor.cc const char* data; data 95 content/common/cursors/webcursor.cc !iter->ReadData(&data, &data_len)) data 128 content/common/cursors/webcursor.cc memcpy(&custom_data_[0], data, data_len); data 144 content/common/cursors/webcursor.cc const char* data = NULL; data 146 content/common/cursors/webcursor.cc data = &custom_data_[0]; data 147 content/common/cursors/webcursor.cc if (!pickle->WriteData(data, custom_data_.size())) data 31 content/common/cursors/webcursor_aurax11.cc memcpy(bitmap.getAddr32(0, 0), custom_data_.data(), custom_data_.size()); data 179 content/common/cursors/webcursor_gtk.cc memcpy(bitmap.getAddr32(0, 0), custom_data_.data(), custom_data_.size()); data 28 content/common/font_config_ipc_linux.cc skia::RefPtr<SkData> data = skia::AdoptRef(SkData::NewFromFD(fd)); data 29 content/common/font_config_ipc_linux.cc if (!data) { data 32 content/common/font_config_ipc_linux.cc return new SkMemoryStream(data.get()); data 28 content/common/gamepad_seqlock_unittest.cc TestData* data, data 31 content/common/gamepad_seqlock_unittest.cc data_ = data; data 64 content/common/gamepad_seqlock_unittest.cc TestData data = { 0, 0, 0 }; data 67 content/common/gamepad_seqlock_unittest.cc ANNOTATE_BENIGN_RACE_SIZED(&data, sizeof(data), "Racey reads are discarded"); data 74 content/common/gamepad_seqlock_unittest.cc threads[i].Init(&seqlock, &data, &ready); data 82 content/common/gamepad_seqlock_unittest.cc data.a = counter++; data 83 content/common/gamepad_seqlock_unittest.cc data.b = data.a + 100; data 84 content/common/gamepad_seqlock_unittest.cc data.c = data.b + data.a; data 624 content/common/gpu/client/gl_helper.cc unsigned char* data = static_cast<unsigned char*>(gl_->MapBufferCHROMIUM( data 626 content/common/gpu/client/gl_helper.cc if (data) { data 630 content/common/gpu/client/gl_helper.cc memcpy(request->pixels, data, data 635 content/common/gpu/client/gl_helper.cc memcpy(out, data, request->bytes_per_row); data 637 content/common/gpu/client/gl_helper.cc data += request->size.width() * bytes_per_pixel; data 916 content/common/gpu/client/gl_helper.cc target->data(plane) + offset, data 91 content/common/gpu/client/gl_helper_benchmark.cc reinterpret_cast<const unsigned char*>(compressed.data()), data 96 content/common/gpu/client/gl_helper_unittest.cc output->append(json_events_str->data()); data 149 content/common/gpu/client/gl_helper_unittest.cc uint32* data = data 152 content/common/gpu/client/gl_helper_unittest.cc return (*data) >> (c * 8) & 0xff; data 161 content/common/gpu/client/gl_helper_unittest.cc uint32* data = pixels->getAddr32(x, y); data 163 content/common/gpu/client/gl_helper_unittest.cc *data = (*data & ~(0xffu << (c * 8))) | (v << (c * 8)); data 1188 content/common/gpu/client/gl_helper_unittest.cc unsigned char* Y = truth_frame->data(media::VideoFrame::kYPlane); data 1189 content/common/gpu/client/gl_helper_unittest.cc unsigned char* U = truth_frame->data(media::VideoFrame::kUPlane); data 1190 content/common/gpu/client/gl_helper_unittest.cc unsigned char* V = truth_frame->data(media::VideoFrame::kVPlane); data 1222 content/common/gpu/client/gl_helper_unittest.cc output_frame->data(media::VideoFrame::kYPlane), data 1230 content/common/gpu/client/gl_helper_unittest.cc output_frame->data(media::VideoFrame::kUPlane), data 1238 content/common/gpu/client/gl_helper_unittest.cc output_frame->data(media::VideoFrame::kVPlane), data 129 content/common/gpu/client/gpu_video_encode_accelerator_host.cc DCHECK_EQ(reinterpret_cast<void*>(frame->data(i)), data 130 content/common/gpu/client/gpu_video_encode_accelerator_host.cc reinterpret_cast<void*>((frame->data(0) + frame_size))) data 202 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h const void* data, WGC3Denum usage); data 204 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Dsizeiptr size, const void* data); data 223 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h const void* data); data 232 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h const void* data); data 308 content/common/gpu/media/android_video_encode_accelerator.cc bool converted = !libyuv::I420ToNV12(frame->data(VideoFrame::kYPlane), data 310 content/common/gpu/media/android_video_encode_accelerator.cc frame->data(VideoFrame::kUPlane), data 312 content/common/gpu/media/android_video_encode_accelerator.cc frame->data(VideoFrame::kVPlane), data 796 content/common/gpu/media/exynos_video_encode_accelerator.cc frame->data(media::VideoFrame::kYPlane)); data 800 content/common/gpu/media/exynos_video_encode_accelerator.cc frame->data(media::VideoFrame::kUPlane)); data 804 content/common/gpu/media/exynos_video_encode_accelerator.cc frame->data(media::VideoFrame::kVPlane)); data 554 content/common/gpu/media/v4l2_video_decode_accelerator.cc const uint8* const data = data 561 content/common/gpu/media/v4l2_video_decode_accelerator.cc if (!AdvanceFrameFragment(data, data_size, &decoded_size)) { data 572 content/common/gpu/media/v4l2_video_decode_accelerator.cc schedule_task = DecodeBufferInitial(data, decoded_size, &decoded_size); data 575 content/common/gpu/media/v4l2_video_decode_accelerator.cc schedule_task = DecodeBufferContinue(data, decoded_size); data 602 content/common/gpu/media/v4l2_video_decode_accelerator.cc const uint8* data, data 609 content/common/gpu/media/v4l2_video_decode_accelerator.cc decoder_h264_parser_->SetStream(data, size); data 637 content/common/gpu/media/v4l2_video_decode_accelerator.cc if (nalu.data[1] >= 0x80) { data 666 content/common/gpu/media/v4l2_video_decode_accelerator.cc *endpos = (nalu.data + nalu.size) - data; data 697 content/common/gpu/media/v4l2_video_decode_accelerator.cc const void* data, size_t size, size_t* endpos) { data 698 content/common/gpu/media/v4l2_video_decode_accelerator.cc DVLOG(3) << "DecodeBufferInitial(): data=" << data << ", size=" << size; data 706 content/common/gpu/media/v4l2_video_decode_accelerator.cc if (!AppendToInputFrame(data, size)) data 753 content/common/gpu/media/v4l2_video_decode_accelerator.cc const void* data, size_t size) { data 754 content/common/gpu/media/v4l2_video_decode_accelerator.cc DVLOG(3) << "DecodeBufferContinue(): data=" << data << ", size=" << size; data 760 content/common/gpu/media/v4l2_video_decode_accelerator.cc return (AppendToInputFrame(data, size) && data 765 content/common/gpu/media/v4l2_video_decode_accelerator.cc const void* data, size_t size) { data 806 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK(data != NULL || size == 0); data 824 content/common/gpu/media/v4l2_video_decode_accelerator.cc data, data 178 content/common/gpu/media/v4l2_video_decode_accelerator.h bool AdvanceFrameFragment(const uint8* data, size_t size, size_t* endpos); data 184 content/common/gpu/media/v4l2_video_decode_accelerator.h bool DecodeBufferInitial(const void* data, size_t size, size_t* endpos); data 185 content/common/gpu/media/v4l2_video_decode_accelerator.h bool DecodeBufferContinue(const void* data, size_t size); data 190 content/common/gpu/media/v4l2_video_decode_accelerator.h bool AppendToInputFrame(const void* data, size_t size); data 217 content/common/gpu/media/vaapi_h264_decoder_unittest.cc uint8_t* dst_y = frame->data(media::VideoFrame::kYPlane); data 218 content/common/gpu/media/vaapi_h264_decoder_unittest.cc uint8_t* dst_u = frame->data(media::VideoFrame::kUPlane); data 219 content/common/gpu/media/vaapi_h264_decoder_unittest.cc uint8_t* dst_v = frame->data(media::VideoFrame::kVPlane); data 250 content/common/gpu/media/vaapi_h264_decoder_unittest.cc const char* buf = reinterpret_cast<const char*>(frame->data(i)); data 728 content/common/gpu/media/video_decode_accelerator_unittest.cc output->WriteAtCurrentPos(s.data(), s.length()); data 735 content/common/gpu/media/video_decode_accelerator_unittest.cc output->WriteAtCurrentPos(s.data(), s.length()); data 849 content/common/gpu/media/video_decode_accelerator_unittest.cc static bool FragmentHasConfigInfo(const uint8* data, size_t size, data 854 content/common/gpu/media/video_decode_accelerator_unittest.cc parser.SetStream(data, size); data 865 content/common/gpu/media/video_decode_accelerator_unittest.cc return (size > 0 && !(data[0] & 0x01)); data 898 content/common/gpu/media/video_decode_accelerator_unittest.cc reinterpret_cast<const uint8*>(next_fragment_bytes.data()), data 909 content/common/gpu/media/video_decode_accelerator_unittest.cc memcpy(shm.memory(), next_fragment_bytes.data(), next_fragment_size); data 973 content/common/gpu/media/video_decode_accelerator_unittest.cc void ParseAndReadTestVideoData(base::FilePath::StringType data, data 1041 content/common/gpu/media/video_decode_accelerator_unittest.cc base::FilePath::StringType data, data 1044 content/common/gpu/media/video_decode_accelerator_unittest.cc base::SplitString(data, ';', &entries); data 1045 content/common/gpu/media/video_decode_accelerator_unittest.cc CHECK_GE(entries.size(), 1U) << data; data 1146 content/common/gpu/media/video_decode_accelerator_unittest.cc file.WriteAtCurrentPos(content.data(), content.length()); data 70 content/common/gpu/media/video_encode_accelerator_unittest.cc static void ParseAndReadTestStreamData(const base::FilePath::StringType& data, data 73 content/common/gpu/media/video_encode_accelerator_unittest.cc base::SplitString(data, ':', &fields); data 74 content/common/gpu/media/video_encode_accelerator_unittest.cc CHECK_GE(fields.size(), 4U) << data; data 75 content/common/gpu/media/video_encode_accelerator_unittest.cc CHECK_LE(fields.size(), 6U) << data; data 450 content/common/gpu/media/video_encode_accelerator_unittest.cc ASSERT_EQ(reinterpret_cast<off_t>(test_stream_.input_file.data()) & 63, 0) data 539 content/common/gpu/media/video_encode_accelerator_unittest.cc const_cast<uint8*>(test_stream_.input_file.data() + position); data 34 content/common/host_shared_bitmap_manager.cc void FreeSharedMemory(scoped_refptr<BitmapData> data, data 62 content/common/host_shared_bitmap_manager.cc BitmapData* data = it->second.get(); data 66 content/common/host_shared_bitmap_manager.cc bitmap_size > data->buffer_size) data 69 content/common/host_shared_bitmap_manager.cc if (!data->memory->memory()) { data 72 content/common/host_shared_bitmap_manager.cc if (!data->memory->Map(data->buffer_size)) { data 78 content/common/host_shared_bitmap_manager.cc data->memory.get(), id, base::Bind(&FreeSharedMemory, it->second))); data 96 content/common/host_shared_bitmap_manager.cc scoped_refptr<BitmapData> data( data 99 content/common/host_shared_bitmap_manager.cc handle_map_[id] = data; data 102 content/common/host_shared_bitmap_manager.cc data->memory = make_scoped_ptr( data 103 content/common/host_shared_bitmap_manager.cc new base::SharedMemory(data->memory_handle, false, data->process_handle)); data 105 content/common/host_shared_bitmap_manager.cc data->memory = data 106 content/common/host_shared_bitmap_manager.cc make_scoped_ptr(new base::SharedMemory(data->memory_handle, false)); data 127 content/common/host_shared_bitmap_manager.cc scoped_refptr<BitmapData> data( data 129 content/common/host_shared_bitmap_manager.cc data->memory = shared_memory.Pass(); data 131 content/common/host_shared_bitmap_manager.cc handle_map_[id] = data; data 133 content/common/host_shared_bitmap_manager.cc if (!data->memory->ShareToProcess(process_handle, shared_memory_handle)) { data 92 content/common/input/synthetic_web_input_event_builders.cc result.data.tap.tapCount = 1; data 93 content/common/input/synthetic_web_input_event_builders.cc result.data.tap.width = 10; data 94 content/common/input/synthetic_web_input_event_builders.cc result.data.tap.height = 10; data 104 content/common/input/synthetic_web_input_event_builders.cc result.data.scrollBegin.deltaXHint = dx_hint; data 105 content/common/input/synthetic_web_input_event_builders.cc result.data.scrollBegin.deltaYHint = dy_hint; data 115 content/common/input/synthetic_web_input_event_builders.cc result.data.scrollUpdate.deltaX = dx; data 116 content/common/input/synthetic_web_input_event_builders.cc result.data.scrollUpdate.deltaY = dy; data 128 content/common/input/synthetic_web_input_event_builders.cc result.data.pinchUpdate.scale = scale; data 141 content/common/input/synthetic_web_input_event_builders.cc result.data.flingStart.velocityX = velocity_x; data 142 content/common/input/synthetic_web_input_event_builders.cc result.data.flingStart.velocityY = velocity_y; data 170 content/common/input/web_input_event_traits.cc event->data.scrollUpdate.deltaX += data 171 content/common/input/web_input_event_traits.cc event_to_coalesce.data.scrollUpdate.deltaX; data 172 content/common/input/web_input_event_traits.cc event->data.scrollUpdate.deltaY += data 173 content/common/input/web_input_event_traits.cc event_to_coalesce.data.scrollUpdate.deltaY; data 175 content/common/input/web_input_event_traits.cc event->data.pinchUpdate.scale *= event_to_coalesce.data.pinchUpdate.scale; data 132 content/common/input/web_input_event_traits_unittest.cc pinch0.data.pinchUpdate.scale = 2.f; data 134 content/common/input/web_input_event_traits_unittest.cc pinch1.data.pinchUpdate.scale = 3.f; data 137 content/common/input/web_input_event_traits_unittest.cc EXPECT_EQ(2.f * 3.f, pinch1.data.pinchUpdate.scale); data 50 content/common/media/media_player_messages_android.h IPC_STRUCT_TRAITS_MEMBER(data) data 25 content/common/page_state_serialization.cc void AppendDataToHttpBody(ExplodedHttpBody* http_body, const char* data, data 29 content/common/page_state_serialization.cc element.data.assign(data, data_length); data 166 content/common/page_state_serialization.cc SerializeObject(const char* data, int len) data 167 content/common/page_state_serialization.cc : pickle(data, len), data 174 content/common/page_state_serialization.cc return std::string(static_cast<const char*>(pickle.data()), pickle.size()); data 205 content/common/page_state_serialization.cc void WriteData(const void* data, int length, SerializeObject* obj) { data 206 content/common/page_state_serialization.cc obj->pickle.WriteData(static_cast<const char*>(data), length); data 209 content/common/page_state_serialization.cc void ReadData(SerializeObject* obj, const void** data, int* length) { data 212 content/common/page_state_serialization.cc *data = tmp; data 215 content/common/page_state_serialization.cc *data = NULL; data 220 content/common/page_state_serialization.cc void WriteInteger(int data, SerializeObject* obj) { data 221 content/common/page_state_serialization.cc obj->pickle.WriteInt(data); data 236 content/common/page_state_serialization.cc void WriteInteger64(int64 data, SerializeObject* obj) { data 237 content/common/page_state_serialization.cc obj->pickle.WriteInt64(data); data 252 content/common/page_state_serialization.cc void WriteReal(double data, SerializeObject* obj) { data 253 content/common/page_state_serialization.cc WriteData(&data, sizeof(double), obj); data 274 content/common/page_state_serialization.cc void WriteBoolean(bool data, SerializeObject* obj) { data 275 content/common/page_state_serialization.cc obj->pickle.WriteInt(data ? 1 : 0); data 321 content/common/page_state_serialization.cc const base::char16* data = str.string().data(); data 327 content/common/page_state_serialization.cc obj->pickle.WriteBytes(data, length_in_bytes); data 343 content/common/page_state_serialization.cc const char* data; data 344 content/common/page_state_serialization.cc if (!obj->pickle.ReadBytes(&obj->iter, &data, length_in_bytes)) { data 351 content/common/page_state_serialization.cc return reinterpret_cast<const base::char16*>(data); data 393 content/common/page_state_serialization.cc const std::vector<base::NullableString16>& data, SerializeObject* obj) { data 394 content/common/page_state_serialization.cc WriteAndValidateVectorSize(data, obj); data 395 content/common/page_state_serialization.cc for (size_t i = 0; i < data.size(); ++i) { data 396 content/common/page_state_serialization.cc WriteString(data[i], obj); data 422 content/common/page_state_serialization.cc WriteData(element.data.data(), static_cast<int>(element.data.size()), data 455 content/common/page_state_serialization.cc const void* data; data 457 content/common/page_state_serialization.cc ReadData(obj, &data, &length); data 459 content/common/page_state_serialization.cc AppendDataToHttpBody(http_body, static_cast<const char*>(data), data 702 content/common/page_state_serialization.cc SerializeObject obj(encoded.data(), static_cast<int>(encoded.size())); data 21 content/common/page_state_serialization.h std::string data; data 48 content/common/page_state_serialization_unittest.cc EXPECT_EQ(a.data, b.data); data 118 content/common/page_state_serialization_unittest.cc e1.data = "foo"; data 162 content/common/page_state_serialization_unittest.cc e1.data = "first data block"; data 172 content/common/page_state_serialization_unittest.cc e3.data = "data the second"; data 328 content/common/page_state_serialization_unittest.cc std::string s(static_cast<const char*>(p.data()), p.size()); data 354 content/common/page_state_serialization_unittest.cc std::string s(static_cast<const char*>(p.data()), p.size()); data 385 content/common/page_state_serialization_unittest.cc ASSERT_EQ(1U, fwrite(segment.data(), segment.size(), 1, fp)); data 214 content/common/plugin_list_win.cc base::win::PEImage image(plugin_image.data()); data 76 content/common/resource_messages.cc const char* data; data 78 content/common/resource_messages.cc if (!m->ReadData(iter, &data, &len)) data 80 content/common/resource_messages.cc r->SetToBytes(data, len); data 96 content/common/resource_messages.h IPC_STRUCT_TRAITS_MEMBER(data) data 524 content/common/sandbox_win.cc policy->AddKernelObjectToClose(L"Section", object_path.data()); data 25 content/common/shared_memory_seqlock_buffer.h Data data; data 31 content/common/ssl_status_serialization.cc return std::string(static_cast<const char*>(pickle.data()), pickle.size()); data 54 content/common/ssl_status_serialization.cc Pickle pickle(state.data(), static_cast<int>(state.size())); data 510 content/common/view_messages.h IPC_STRUCT_MEMBER(base::string16, data) data 43 content/plugin/plugin_thread.h void OnPluginMessage(const std::vector<uint8> &data); data 430 content/plugin/webplugin_delegate_stub.cc const char* data = NULL; data 432 content/plugin/webplugin_delegate_stub.cc data = ¶ms.post_data[0]; data 439 content/plugin/webplugin_delegate_stub.cc data, data 86 content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java String data, String mimeType, boolean isBase64Encoded) { data 87 content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java return createLoadDataParams(data, mimeType, isBase64Encoded, null); data 99 content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java String data, String mimeType, boolean isBase64Encoded, String charset) { data 109 content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java dataUrl.append(data); data 131 content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java String data, String mimeType, boolean isBase64Encoded, data 133 content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java return createLoadDataParamsWithBaseUrl(data, mimeType, isBase64Encoded, data 153 content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java String data, String mimeType, boolean isBase64Encoded, data 155 content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java LoadUrlParams params = createLoadDataParams(data, mimeType, isBase64Encoded, charset); data 450 content/public/android/java/src/org/chromium/content/browser/accessibility/AccessibilityInjector.java WriteData data = WriteData.forView(mView); data 451 content/public/android/java/src/org/chromium/content/browser/accessibility/AccessibilityInjector.java data.setText(jsonObj.getString("text")); data 452 content/public/android/java/src/org/chromium/content/browser/accessibility/AccessibilityInjector.java data.setSelectionStart(jsonObj.getInt("startIndex")); data 453 content/public/android/java/src/org/chromium/content/browser/accessibility/AccessibilityInjector.java data.setSelectionEnd(jsonObj.getInt("endIndex")); data 454 content/public/android/java/src/org/chromium/content/browser/accessibility/AccessibilityInjector.java mSelfBrailleClient.write(data); data 97 content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java CipherData data = getCipherData(true); data 99 content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java if (data != null) { data 102 content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java cipher.init(opmode, data.key, new IvParameterSpec(data.iv)); data 124 content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java CipherData data; data 126 content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java data = mDataGenerator.get(); data 135 content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java if (mData == null) mData = data; data 211 content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java CipherData data = getCipherData(false); data 212 content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java if (data == null) return; data 214 content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java byte[] wrappedKey = data.key.getEncoded(); data 215 content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java if (wrappedKey != null && data.iv != null) { data 217 content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java outState.putByteArray(BUNDLE_IV, data.iv); data 54 content/public/android/javatests/src/org/chromium/content/browser/ContentViewTestBase.java protected void loadDataSync(final ContentView contentView, final String data, data 57 content/public/android/javatests/src/org/chromium/content/browser/ContentViewTestBase.java data, mimeType, isBase64Encoded)); data 25 content/public/android/javatests/src/org/chromium/content/browser/EncodeHtmlDataUriTest.java String data = getData(dataUri); data 26 content/public/android/javatests/src/org/chromium/content/browser/EncodeHtmlDataUriTest.java return URLDecoder.decode(data, "UTF-8"); data 45 content/public/android/javatests/src/org/chromium/content/browser/ImportantFileWriterAndroidTest.java private void checkFile(File testFile, byte[] data) { data 53 content/public/android/javatests/src/org/chromium/content/browser/ImportantFileWriterAndroidTest.java assertEquals("Data length wrong", data.length, fileData.length); data 54 content/public/android/javatests/src/org/chromium/content/browser/ImportantFileWriterAndroidTest.java for (int i = 0; i < data.length; i++) { data 55 content/public/android/javatests/src/org/chromium/content/browser/ImportantFileWriterAndroidTest.java assertEquals("Data byte wrong", data[i], fileData[i]); data 20 content/public/browser/browser_child_process_observer.h virtual void BrowserChildProcessHostConnected(const ChildProcessData& data) {} data 24 content/public/browser/browser_child_process_observer.h const ChildProcessData& data) {} data 27 content/public/browser/browser_child_process_observer.h virtual void BrowserChildProcessCrashed(const ChildProcessData& data) {} data 33 content/public/browser/browser_child_process_observer.h const ChildProcessData& data) {} data 150 content/public/browser/navigation_entry.h const base::RefCountedMemory* data) = 0; data 196 content/public/browser/navigation_entry.h const base::string16& data) = 0; data 199 content/public/browser/navigation_entry.h base::string16* data) const = 0; data 119 content/public/browser/web_contents_delegate.cc const DropData& data, data 281 content/public/browser/web_contents_delegate.h const DropData& data, data 45 content/public/browser/web_drag_dest_delegate.h virtual void OnReceiveDataFromGtk(GtkSelectionData* data) = 0; data 51 content/public/browser/web_drag_dest_delegate.h virtual void OnReceiveDragData(const ui::OSExchangeData& data) = 0; data 95 content/public/browser/web_ui_data_source.h const std::string& data) = 0; data 97 content/public/browser/web_ui_data_source.h const std::string& data) = 0; data 19 content/public/child/image_decoder_utils.h CONTENT_EXPORT SkBitmap DecodeImage(const unsigned char* data, data 69 content/public/child/request_peer.h virtual void OnReceivedData(const char* data, data 75 content/public/child/request_peer.h virtual void OnReceivedCachedMetadata(const char* data, int len) {} data 166 content/public/common/common_param_traits.cc std::string data; data 167 content/public/common/common_param_traits.cc if (!ReadParam(m, iter, &data)) data 169 content/public/common/common_param_traits.cc *r = content::PageState::CreateFromEncodedData(data); data 168 content/public/common/common_param_traits.h const char *data; data 170 content/public/common/common_param_traits.h bool result = m->ReadData(iter, &data, &data_size); data 172 content/public/common/common_param_traits.h memcpy(r, data, sizeof(gfx::NativeWindow)); data 60 content/public/common/page_state.cc PageState PageState::CreateFromEncodedData(const std::string& data) { data 61 content/public/common/page_state.cc return PageState(data); data 88 content/public/common/page_state.cc element.data = optional_body_data; data 164 content/public/common/page_state.cc PageState::PageState(const std::string& data) data 165 content/public/common/page_state.cc : data_(data) { data 31 content/public/common/page_state.h static PageState CreateFromEncodedData(const std::string& data); data 52 content/public/common/page_state.h PageState(const std::string& data); data 37 content/public/common/resource_response.h std::string data; data 36 content/public/renderer/history_item_serialization.cc output->data.assign(input.data.data(), input.data.size()); data 60 content/public/renderer/history_item_serialization.cc http_body->appendData(element.data); data 37 content/public/renderer/resource_fetcher.h const std::string& data)> Callback; data 54 content/public/test/layouttest_support.h void SetMockDeviceMotionData(const blink::WebDeviceMotionData& data); data 58 content/public/test/layouttest_support.h void SetMockDeviceOrientationData(const blink::WebDeviceOrientationData& data); data 32 content/public/test/mock_blob_url_request_context.cc const std::string& data) data 38 content/public/test/mock_blob_url_request_context.cc if (!data.empty()) data 39 content/public/test/mock_blob_url_request_context.cc blob_data->AppendData(data); data 44 content/public/test/mock_blob_url_request_context.h const std::string& data); data 51 content/public/test/test_file_error_injector.cc const char* data, size_t data_len) OVERRIDE; data 170 content/public/test/test_file_error_injector.cc const char* data, size_t data_len) { data 173 content/public/test/test_file_error_injector.cc DownloadFileImpl::AppendDataToFile(data, data_len)); data 264 content/public/test/test_utils.cc const ChildProcessData& data) { data 269 content/public/test/test_utils.cc const ChildProcessData& data) { data 205 content/public/test/test_utils.h const ChildProcessData& data) OVERRIDE; data 207 content/public/test/test_utils.h const ChildProcessData& data) OVERRIDE; data 52 content/renderer/android/email_detector.cc icu::UnicodeString input(utf16_input.data(), utf16_input.length()); data 1278 content/renderer/browser_plugin/browser_plugin.cc void BrowserPlugin::didReceiveData(const char* data, int data_length) { data 174 content/renderer/browser_plugin/browser_plugin.h virtual void didReceiveData(const char* data, int data_length) OVERRIDE; data 67 content/renderer/clipboard_client.h virtual void ReadImage(ui::ClipboardType type, std::string* data) = 0; data 72 content/renderer/clipboard_client.h base::string16* data) = 0; data 19 content/renderer/context_menu_params_builder.cc const blink::WebContextMenuData& data) { data 21 content/renderer/context_menu_params_builder.cc params.media_type = data.mediaType; data 22 content/renderer/context_menu_params_builder.cc params.x = data.mousePosition.x; data 23 content/renderer/context_menu_params_builder.cc params.y = data.mousePosition.y; data 24 content/renderer/context_menu_params_builder.cc params.link_url = data.linkURL; data 25 content/renderer/context_menu_params_builder.cc params.unfiltered_link_url = data.linkURL; data 26 content/renderer/context_menu_params_builder.cc params.src_url = data.srcURL; data 27 content/renderer/context_menu_params_builder.cc params.has_image_contents = data.hasImageContents; data 28 content/renderer/context_menu_params_builder.cc params.page_url = data.pageURL; data 29 content/renderer/context_menu_params_builder.cc params.keyword_url = data.keywordURL; data 30 content/renderer/context_menu_params_builder.cc params.frame_url = data.frameURL; data 31 content/renderer/context_menu_params_builder.cc params.media_flags = data.mediaFlags; data 32 content/renderer/context_menu_params_builder.cc params.selection_text = data.selectedText; data 33 content/renderer/context_menu_params_builder.cc params.misspelled_word = data.misspelledWord; data 34 content/renderer/context_menu_params_builder.cc params.misspelling_hash = data.misspellingHash; data 35 content/renderer/context_menu_params_builder.cc params.speech_input_enabled = data.isSpeechInputEnabled; data 36 content/renderer/context_menu_params_builder.cc params.spellcheck_enabled = data.isSpellCheckingEnabled; data 37 content/renderer/context_menu_params_builder.cc params.is_editable = data.isEditable; data 38 content/renderer/context_menu_params_builder.cc params.writing_direction_default = data.writingDirectionDefault; data 39 content/renderer/context_menu_params_builder.cc params.writing_direction_left_to_right = data.writingDirectionLeftToRight; data 40 content/renderer/context_menu_params_builder.cc params.writing_direction_right_to_left = data.writingDirectionRightToLeft; data 41 content/renderer/context_menu_params_builder.cc params.edit_flags = data.editFlags; data 42 content/renderer/context_menu_params_builder.cc params.frame_charset = data.frameEncoding.utf8(); data 43 content/renderer/context_menu_params_builder.cc params.referrer_policy = data.referrerPolicy; data 45 content/renderer/context_menu_params_builder.cc for (size_t i = 0; i < data.dictionarySuggestions.size(); ++i) data 46 content/renderer/context_menu_params_builder.cc params.dictionary_suggestions.push_back(data.dictionarySuggestions[i]); data 49 content/renderer/context_menu_params_builder.cc for (size_t i = 0; i < data.customItems.size(); ++i) data 50 content/renderer/context_menu_params_builder.cc params.custom_items.push_back(MenuItemBuilder::Build(data.customItems[i])); data 52 content/renderer/context_menu_params_builder.cc if (!data.frameHistoryItem.isNull()) data 53 content/renderer/context_menu_params_builder.cc params.frame_page_state = HistoryItemToPageState(data.frameHistoryItem); data 56 content/renderer/context_menu_params_builder.cc blink::WebNode selectedNode = data.node; data 75 content/renderer/context_menu_params_builder.cc if (!data.securityInfo.isEmpty()) { data 76 content/renderer/context_menu_params_builder.cc DeserializeSecurityInfo(data.securityInfo, data 17 content/renderer/context_menu_params_builder.h static ContextMenuParams Build(const blink::WebContextMenuData& data); data 42 content/renderer/device_orientation/device_motion_event_pump.cc blink::WebDeviceMotionData data; data 43 content/renderer/device_orientation/device_motion_event_pump.cc if (reader_->GetLatestData(&data) && data.allAvailableSensorsAreActive) data 44 content/renderer/device_orientation/device_motion_event_pump.cc listener_->didChangeDeviceMotion(data); data 33 content/renderer/device_orientation/device_motion_event_pump_unittest.cc const blink::WebDeviceMotionData& data) { data 34 content/renderer/device_orientation/device_motion_event_pump_unittest.cc memcpy(&data_, &data, sizeof(data)); data 75 content/renderer/device_orientation/device_motion_event_pump_unittest.cc blink::WebDeviceMotionData& data = buffer_->data; data 76 content/renderer/device_orientation/device_motion_event_pump_unittest.cc data.accelerationX = 1; data 77 content/renderer/device_orientation/device_motion_event_pump_unittest.cc data.hasAccelerationX = true; data 78 content/renderer/device_orientation/device_motion_event_pump_unittest.cc data.accelerationY = 2; data 79 content/renderer/device_orientation/device_motion_event_pump_unittest.cc data.hasAccelerationY = true; data 80 content/renderer/device_orientation/device_motion_event_pump_unittest.cc data.accelerationZ = 3; data 81 content/renderer/device_orientation/device_motion_event_pump_unittest.cc data.hasAccelerationZ = true; data 82 content/renderer/device_orientation/device_motion_event_pump_unittest.cc data.allAvailableSensorsAreActive = allAvailableSensorsActive; data 46 content/renderer/device_orientation/device_orientation_event_pump.cc blink::WebDeviceOrientationData data; data 47 content/renderer/device_orientation/device_orientation_event_pump.cc if (reader_->GetLatestData(&data) && ShouldFireEvent(data)) { data 48 content/renderer/device_orientation/device_orientation_event_pump.cc memcpy(&data_, &data, sizeof(data)); data 49 content/renderer/device_orientation/device_orientation_event_pump.cc listener_->didChangeDeviceOrientation(data); data 62 content/renderer/device_orientation/device_orientation_event_pump.cc const blink::WebDeviceOrientationData& data) const { data 63 content/renderer/device_orientation/device_orientation_event_pump.cc if (!data.allAvailableSensorsAreActive) data 66 content/renderer/device_orientation/device_orientation_event_pump.cc if (!data.hasAlpha && !data.hasBeta && !data.hasGamma) { data 72 content/renderer/device_orientation/device_orientation_event_pump.cc data_.hasAlpha, data_.alpha, data.hasAlpha, data.alpha) || data 74 content/renderer/device_orientation/device_orientation_event_pump.cc data_.hasBeta, data_.beta, data.hasBeta, data.beta) || data 76 content/renderer/device_orientation/device_orientation_event_pump.cc data_.hasGamma, data_.gamma, data.hasGamma, data.gamma); data 45 content/renderer/device_orientation/device_orientation_event_pump.h bool ShouldFireEvent(const blink::WebDeviceOrientationData& data) const; data 34 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc const blink::WebDeviceOrientationData& data) { data 35 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc memcpy(&data_, &data, sizeof(data)); data 78 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc blink::WebDeviceOrientationData& data = buffer_->data; data 79 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc data.alpha = 1; data 80 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc data.hasAlpha = true; data 81 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc data.beta = 2; data 82 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc data.hasBeta = true; data 83 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc data.gamma = 3; data 84 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc data.hasGamma = true; data 85 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc data.allAvailableSensorsAreActive = true; data 89 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc blink::WebDeviceOrientationData& data = buffer_->data; data 90 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc data.allAvailableSensorsAreActive = true; data 177 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc buffer_->data.alpha = data 195 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc buffer_->data.alpha = data 251 content/renderer/devtools/devtools_agent.cc static void AllocationVisitor(void* data, const void* ptr) { data 253 content/renderer/devtools/devtools_agent.cc Visitor* visitor = reinterpret_cast<Visitor*>(data); data 51 content/renderer/devtools/devtools_agent.h virtual void sendMessageToInspectorFrontend(const blink::WebString& data); data 32 content/renderer/devtools/devtools_agent_filter.h static void SendRpcMessage(const DevToolsMessageData& data); data 182 content/renderer/dom_serializer_browsertest.cc const WebCString& data, data 209 content/renderer/dom_serializer_browsertest.cc serialized_frame_map_[frame_url.spec()] += data.data(); data 252 content/renderer/dom_serializer_browsertest.cc WebData data(contents.data(), contents.length()); data 261 content/renderer/dom_serializer_browsertest.cc web_frame->loadData(data, "text/html", encoding_info, base_url); data 52 content/renderer/drop_data_builder.cc result.file_contents.assign(item.binaryData.data(), data 17 content/renderer/drop_data_builder.h static DropData Build(const blink::WebDragData& data); data 48 content/renderer/fetchers/image_resource_fetcher.cc const std::string& data) { data 54 content/renderer/fetchers/image_resource_fetcher.cc reinterpret_cast<const unsigned char*>(data.data()), data.size()); data 51 content/renderer/fetchers/image_resource_fetcher.h const std::string& data); data 44 content/renderer/fetchers/multi_resolution_image_resource_fetcher.cc const std::string& data) { data 52 content/renderer/fetchers/multi_resolution_image_resource_fetcher.cc reinterpret_cast<const unsigned char*>(data.data()), data.size()); data 56 content/renderer/fetchers/multi_resolution_image_resource_fetcher.h const std::string& data); data 112 content/renderer/fetchers/resource_fetcher_impl.cc const std::string& data) { data 121 content/renderer/fetchers/resource_fetcher_impl.cc callback.Run(response, data); data 150 content/renderer/fetchers/resource_fetcher_impl.cc WebURLLoader* loader, const char* data, int data_length, data 155 content/renderer/fetchers/resource_fetcher_impl.cc data_.append(data, data_length); data 159 content/renderer/fetchers/resource_fetcher_impl.cc WebURLLoader* loader, const char* data, int data_length) { data 163 content/renderer/fetchers/resource_fetcher_impl.cc metadata_.assign(data, data_length); data 51 content/renderer/fetchers/resource_fetcher_impl.h const std::string& data); data 67 content/renderer/fetchers/resource_fetcher_impl.h blink::WebURLLoader* loader, const char* data, int data_length); data 70 content/renderer/fetchers/resource_fetcher_impl.h blink::WebURLLoader* loader, const char* data, int data_length, data 50 content/renderer/gpu/gpu_benchmarking_extension.cc SkData* data = pr->refEncodedData(); data 51 content/renderer/gpu/gpu_benchmarking_extension.cc if (data != NULL) data 52 content/renderer/gpu/gpu_benchmarking_extension.cc return data; data 181 content/renderer/image_loading_helper.cc std::string mime_type, char_set, data; data 182 content/renderer/image_loading_helper.cc if (net::DataURL::Parse(url, &mime_type, &char_set, &data) && !data.empty()) { data 186 content/renderer/image_loading_helper.cc reinterpret_cast<const unsigned char*>(&data[0]); data 188 content/renderer/image_loading_helper.cc return decoder.Decode(src_data, data.size()); data 197 content/renderer/input/input_handler_proxy.cc gfx::Vector2dF(-gesture_event.data.scrollUpdate.deltaX, data 198 content/renderer/input/input_handler_proxy.cc -gesture_event.data.scrollUpdate.deltaY)); data 227 content/renderer/input/input_handler_proxy.cc gesture_event.data.pinchUpdate.scale, data 294 content/renderer/input/input_handler_proxy.cc WebFloatPoint(gesture_event.data.flingStart.velocityX, data 295 content/renderer/input/input_handler_proxy.cc gesture_event.data.flingStart.velocityY), data 298 content/renderer/input/input_handler_proxy.cc !gesture_event.data.flingStart.velocityX; data 300 content/renderer/input/input_handler_proxy.cc !gesture_event.data.flingStart.velocityY; data 312 content/renderer/input/input_handler_proxy.cc WebFloatPoint(gesture_event.data.flingStart.velocityX, data 313 content/renderer/input/input_handler_proxy.cc gesture_event.data.flingStart.velocityY); data 218 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.scrollUpdate.deltaY = data 231 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.scrollUpdate.deltaY = data 242 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.scrollUpdate.deltaY = 0; data 261 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.scrollUpdate.deltaY = 40; data 267 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.scrollUpdate.deltaY = 0; data 305 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.pinchUpdate.scale = 1.5; data 314 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.pinchUpdate.scale = 0.5; data 341 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.scrollUpdate.deltaY = 40; data 356 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.pinchUpdate.scale = 1.5; data 365 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.scrollUpdate.deltaY = data 376 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.pinchUpdate.scale = 0.5; data 394 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.scrollUpdate.deltaY = 0; data 411 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.flingStart.velocityX = 10; data 483 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.flingStart.velocityX = fling_delta.x; data 484 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.flingStart.velocityY = fling_delta.y; data 593 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.flingStart.velocityX = fling_delta.x; data 594 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.flingStart.velocityY = fling_delta.y; data 699 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.flingStart.velocityX = fling_delta.x; data 700 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.flingStart.velocityY = fling_delta.y; data 785 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.flingStart.velocityX = 10; data 879 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.flingStart.velocityX = fling_delta.x; data 880 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.flingStart.velocityY = fling_delta.y; data 943 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.flingStart.velocityX = fling_delta.x; data 944 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.flingStart.velocityY = fling_delta.y; data 1003 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.flingStart.velocityX = fling_delta.x; data 1004 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.flingStart.velocityY = fling_delta.y; data 1061 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.flingStart.velocityX = fling_delta.x; data 1062 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.flingStart.velocityY = fling_delta.y; data 1134 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.flingStart.velocityX = fling_delta.x; data 1135 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.flingStart.velocityY = fling_delta.y; data 41 content/renderer/internal_document_state_data.cc InternalDocumentStateData* data = static_cast<InternalDocumentStateData*>( data 43 content/renderer/internal_document_state_data.cc if (!data) { data 44 content/renderer/internal_document_state_data.cc data = new InternalDocumentStateData; data 45 content/renderer/internal_document_state_data.cc ds->SetUserData(&kUserDataKey, data); data 47 content/renderer/internal_document_state_data.cc return data; data 28 content/renderer/media/android/audio_decoder_android.cc AudioDecoderIO(const char* data, size_t data_size); data 51 content/renderer/media/android/audio_decoder_android.cc AudioDecoderIO::AudioDecoderIO(const char* data, size_t data_size) data 55 content/renderer/media/android/audio_decoder_android.cc if (!data || !data_size || data_size > 0x80000000) data 65 content/renderer/media/android/audio_decoder_android.cc memcpy(encoded_shared_memory_.memory(), data, data_size); data 109 content/renderer/media/android/audio_decoder_android.cc WAVEDecoder(const uint8* data, size_t data_size); data 505 content/renderer/media/android/audio_decoder_android.cc bool DecodeAudioFileData(blink::WebAudioBus* destination_bus, const char* data, data 511 content/renderer/media/android/audio_decoder_android.cc destination_bus, reinterpret_cast<const uint8_t*>(data), data_size)) { data 515 content/renderer/media/android/audio_decoder_android.cc AudioDecoderIO audio_decoder(data, data_size); data 17 content/renderer/media/android/audio_decoder_android.h const char* data, data 128 content/renderer/media/android/media_info_loader.cc const char* data, data 143 content/renderer/media/android/media_info_loader.cc const char* data, data 161 content/renderer/media/android/media_info_loader.cc << ", domain=" << error.domain.utf8().data() data 163 content/renderer/media/android/media_info_loader.cc << error.localizedDescription.utf8().data(); data 90 content/renderer/media/android/media_info_loader.h const char* data, data 95 content/renderer/media/android/media_info_loader.h const char* data, int dataLength); data 336 content/renderer/media/android/media_source_delegate.cc scoped_ptr<DemuxerData> data(new DemuxerData()); data 337 content/renderer/media/android/media_source_delegate.cc data->type = type; data 338 content/renderer/media/android/media_source_delegate.cc data->access_units.resize(access_unit_size_); data 339 content/renderer/media/android/media_source_delegate.cc ReadFromDemuxerStream(type, data.Pass(), 0); data 343 content/renderer/media/android/media_source_delegate.cc scoped_ptr<DemuxerData> data, data 351 content/renderer/media/android/media_source_delegate.cc media_weak_factory_.GetWeakPtr(), type, base::Passed(&data), index)); data 356 content/renderer/media/android/media_source_delegate.cc scoped_ptr<DemuxerData> data, data 376 content/renderer/media/android/media_source_delegate.cc index >= data->access_units.size()) { data 379 content/renderer/media/android/media_source_delegate.cc << ", size " << data->access_units.size() data 388 content/renderer/media/android/media_source_delegate.cc data->access_units[index].status = status; data 389 content/renderer/media/android/media_source_delegate.cc data->access_units.resize(index + 1); data 404 content/renderer/media/android/media_source_delegate.cc data->access_units[index].status = status; data 405 content/renderer/media/android/media_source_delegate.cc data->access_units.resize(index + 1); data 409 content/renderer/media/android/media_source_delegate.cc data->access_units[index].status = status; data 411 content/renderer/media/android/media_source_delegate.cc data->access_units[index].end_of_stream = true; data 412 content/renderer/media/android/media_source_delegate.cc data->access_units.resize(index + 1); data 424 content/renderer/media/android/media_source_delegate.cc data->access_units[index].timestamp = buffer->timestamp(); data 426 content/renderer/media/android/media_source_delegate.cc data->access_units[index].data.assign( data 427 content/renderer/media/android/media_source_delegate.cc buffer->data(), buffer->data() + buffer->data_size()); data 432 content/renderer/media/android/media_source_delegate.cc data->access_units[index].data.insert( data 433 content/renderer/media/android/media_source_delegate.cc data->access_units[index].data.end(), kVorbisPadding, data 437 content/renderer/media/android/media_source_delegate.cc data->access_units[index].key_id = std::vector<char>( data 440 content/renderer/media/android/media_source_delegate.cc data->access_units[index].iv = std::vector<char>( data 443 content/renderer/media/android/media_source_delegate.cc data->access_units[index].subsamples = data 446 content/renderer/media/android/media_source_delegate.cc if (++index < data->access_units.size()) { data 447 content/renderer/media/android/media_source_delegate.cc ReadFromDemuxerStream(type, data.Pass(), index); data 457 content/renderer/media/android/media_source_delegate.cc demuxer_client_->ReadFromDemuxerAck(demuxer_client_id_, *data); data 162 content/renderer/media/android/media_source_delegate.h scoped_ptr<media::DemuxerData> data, data 165 content/renderer/media/android/media_source_delegate.h scoped_ptr<media::DemuxerData> data, data 62 content/renderer/media/android/renderer_demuxer_android.cc const media::DemuxerData& data) { data 64 content/renderer/media/android/renderer_demuxer_android.cc demuxer_client_id, data)); data 53 content/renderer/media/android/renderer_demuxer_android.h const media::DemuxerData& data); data 29 content/renderer/media/audio_decoder.cc const char* data, size_t data_size) { data 35 content/renderer/media/audio_decoder.cc InMemoryUrlProtocol url_protocol(reinterpret_cast<const uint8*>(data), data 84 content/renderer/media/audio_decoder.cc << " data: " << data data 15 content/renderer/media/audio_decoder.h bool DecodeAudioFileData(blink::WebAudioBus* destination_bus, const char* data, data 32 content/renderer/media/buffered_data_source.cc ReadOperation(int64 position, int size, uint8* data, data 60 content/renderer/media/buffered_data_source.cc int64 position, int size, uint8* data, data 65 content/renderer/media/buffered_data_source.cc data_(data), data 233 content/renderer/media/buffered_data_source.cc int64 position, int size, uint8* data, data 247 content/renderer/media/buffered_data_source.cc read_op_.reset(new ReadOperation(position, size, data, read_cb)); data 455 content/renderer/media/buffered_data_source.cc memcpy(read_op_->data(), intermediate_read_buffer_.get(), bytes_read); data 89 content/renderer/media/buffered_data_source.h virtual void Read(int64 position, int size, uint8* data, data 169 content/renderer/media/buffered_data_source_unittest.cc scoped_ptr<char[]> data(new char[size]); data 170 content/renderer/media/buffered_data_source_unittest.cc memset(data.get(), 0xA5, size); // Arbitrary non-zero value. data 172 content/renderer/media/buffered_data_source_unittest.cc loader()->didReceiveData(url_loader(), data.get(), size, size); data 441 content/renderer/media/buffered_resource_loader.cc const char* data, data 448 content/renderer/media/buffered_resource_loader.cc buffer_.Append(reinterpret_cast<const uint8*>(data), data_length); data 479 content/renderer/media/buffered_resource_loader.cc const char* data, data 523 content/renderer/media/buffered_resource_loader.cc << ", domain=" << error.domain.utf8().data() data 525 content/renderer/media/buffered_resource_loader.cc << error.localizedDescription.utf8().data(); data 159 content/renderer/media/buffered_resource_loader.h const char* data, data 164 content/renderer/media/buffered_resource_loader.h const char* data, int dataLength); data 219 content/renderer/media/buffered_resource_loader_unittest.cc scoped_ptr<char[]> data(new char[size]); data 220 content/renderer/media/buffered_resource_loader_unittest.cc loader_->didReceiveData(url_loader_, data.get(), size, size); data 76 content/renderer/media/cache_util.cc if (Time::FromString(response.httpHeaderField("Date").utf8().data(), &date) && data 77 content/renderer/media/cache_util.cc Time::FromString(response.httpHeaderField("Expires").utf8().data(), data 100 content/renderer/media/crypto/proxy_decryptor.cc bool HasHeader(const uint8* data, int data_length, const std::string& header) { data 102 content/renderer/media/crypto/proxy_decryptor.cc std::equal(data, data + header.size(), header.begin()); data 168 content/renderer/media/crypto/proxy_decryptor.cc session_id, reinterpret_cast<const uint8*>(jwk.data()), jwk.size()); data 41 content/renderer/media/media_stream_audio_processor_unittest.cc void ReadDataFromSpeechFile(char* data, int length) { data 51 content/renderer/media/media_stream_audio_processor_unittest.cc EXPECT_EQ(length, base::ReadFile(file, data, length)); data 157 content/renderer/media/midi_message_filter.cc const std::vector<uint8>& data, data 164 content/renderer/media/midi_message_filter.cc port, data, timestamp)); data 174 content/renderer/media/midi_message_filter.cc const std::vector<uint8>& data, data 176 content/renderer/media/midi_message_filter.cc DCHECK(!data.empty()); data 180 content/renderer/media/midi_message_filter.cc (*i).first->didReceiveMIDIData(port, &data[0], data.size(), timestamp); data 184 content/renderer/media/midi_message_filter.cc const uint8* data, data 193 content/renderer/media/midi_message_filter.cc std::vector<uint8> v(data, data + length); data 200 content/renderer/media/midi_message_filter.cc const std::vector<uint8>& data, data 202 content/renderer/media/midi_message_filter.cc size_t n = data.size(); data 214 content/renderer/media/midi_message_filter.cc Send(new MidiHostMsg_SendData(port, data, timestamp)); data 40 content/renderer/media/midi_message_filter.h const uint8* data, data 72 content/renderer/media/midi_message_filter.h const std::vector<uint8>& data, data 86 content/renderer/media/midi_message_filter.h const std::vector<uint8>& data, data 92 content/renderer/media/midi_message_filter.h const std::vector<uint8>& data, data 29 content/renderer/media/renderer_webmidiaccessor_impl.cc const unsigned char* data, data 34 content/renderer/media/renderer_webmidiaccessor_impl.cc data, data 27 content/renderer/media/renderer_webmidiaccessor_impl.h const unsigned char* data, data 96 content/renderer/media/rtc_data_channel_handler.cc bool RtcDataChannelHandler::sendStringData(const blink::WebString& data) { data 97 content/renderer/media/rtc_data_channel_handler.cc std::string utf8_buffer = base::UTF16ToUTF8(data); data 104 content/renderer/media/rtc_data_channel_handler.cc bool RtcDataChannelHandler::sendRawData(const char* data, size_t length) { data 105 content/renderer/media/rtc_data_channel_handler.cc talk_base::Buffer buffer(data, length); data 152 content/renderer/media/rtc_data_channel_handler.cc webkit_client_->didReceiveRawData(buffer.data.data(), buffer.data.length()); data 155 content/renderer/media/rtc_data_channel_handler.cc if (!base::UTF8ToUTF16(buffer.data.data(), buffer.data.length(), &utf16)) { data 43 content/renderer/media/rtc_data_channel_handler.h virtual bool sendStringData(const blink::WebString& data) OVERRIDE; data 44 content/renderer/media/rtc_data_channel_handler.h virtual bool sendRawData(const char* data, size_t length) OVERRIDE; data 82 content/renderer/media/video_source_handler_unittest.cc captured_frame.data = &test_buffer[0]; data 68 content/renderer/media/webmediaplayer_ms.cc media::CopyPlane(i, frame->data(i), frame->stride(i), data 44 content/renderer/media/webmediasource_impl.cc new_codecs[i] = codecs[i].utf8().data(); data 57 content/renderer/media/webmediasource_impl.cc demuxer_->AddId(id, type.utf8().data(), new_codecs, data 112 content/renderer/media/webrtc/video_destination_handler.cc new_frame->data(media::VideoFrame::kYPlane), data 114 content/renderer/media/webrtc/video_destination_handler.cc new_frame->data(media::VideoFrame::kUPlane), data 116 content/renderer/media/webrtc/video_destination_handler.cc new_frame->data(media::VideoFrame::kVPlane), data 65 content/renderer/media/webrtc/webrtc_local_audio_track_adapter_unittest.cc scoped_ptr<int16[]> data(new int16[length]); data 67 content/renderer/media/webrtc/webrtc_local_audio_track_adapter_unittest.cc memset(data.get(), 0, length * sizeof(data[0])); data 72 content/renderer/media/webrtc/webrtc_local_audio_track_adapter_unittest.cc track_->Capture(data.get(), base::TimeDelta(), 255, false, false); data 79 content/renderer/media/webrtc/webrtc_local_audio_track_adapter_unittest.cc track_->Capture(data.get(), base::TimeDelta(), 255, false, false); data 105 content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc captured_frame.data = buffer_; data 111 content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc captured_frame.data = frame->data(0); data 132 content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc const uint8* src_y = src->data(media::VideoFrame::kYPlane) + data 135 content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc const uint8* src_u = src->data(media::VideoFrame::kUPlane) + data 137 content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc const uint8* src_v = src->data(media::VideoFrame::kVPlane) + data 73 content/renderer/media/websourcebuffer_impl.cc const unsigned char* data, data 77 content/renderer/media/websourcebuffer_impl.cc demuxer_->AppendData(id_, data, length, data 30 content/renderer/media/websourcebuffer_impl.h const unsigned char* data, data 54 content/renderer/mhtml_generator.cc const char* data = mhtml.data(); data 60 content/renderer/mhtml_generator.cc data + total_bytes_written, data 158 content/renderer/npapi/webplugin_delegate_proxy.cc std::vector<char> data; data 159 content/renderer/npapi/webplugin_delegate_proxy.cc data.resize(static_cast<size_t>(length)); data 160 content/renderer/npapi/webplugin_delegate_proxy.cc memcpy(&data.front(), buffer, length); data 165 content/renderer/npapi/webplugin_delegate_proxy.cc data, data_offset)); data 424 content/renderer/npapi/webplugin_delegate_proxy.cc std::vector<char> data; data 425 content/renderer/npapi/webplugin_delegate_proxy.cc data.resize(static_cast<size_t>(length)); data 426 content/renderer/npapi/webplugin_delegate_proxy.cc memcpy(&data.front(), buffer, length); data 427 content/renderer/npapi/webplugin_delegate_proxy.cc Send(new PluginMsg_DidReceiveManualData(instance_id_, data)); data 1084 content/renderer/npapi/webplugin_delegate_proxy.cc const char* data = NULL; data 1086 content/renderer/npapi/webplugin_delegate_proxy.cc data = ¶ms.buffer[0]; data 1093 content/renderer/npapi/webplugin_delegate_proxy.cc params.url.c_str(), params.method.c_str(), target, data, data 124 content/renderer/npapi/webplugin_impl.cc const char* data, data 131 content/renderer/npapi/webplugin_impl.cc data, data_length, byte_range_lower_bound_); data 438 content/renderer/npapi/webplugin_impl.cc void WebPluginImpl::didReceiveData(const char* data, int data_length) { data 439 content/renderer/npapi/webplugin_impl.cc delegate_->DidReceiveManualData(data, data_length); data 505 content/renderer/npapi/webplugin_impl.cc blink::WebURLLoader* loader, const char* data, data 507 content/renderer/npapi/webplugin_impl.cc parent_->didReceiveData(loader, data, dataLength, encodedDataLength); data 511 content/renderer/npapi/webplugin_impl.cc blink::WebURLLoader* loader, const char* data, int dataLength) { data 672 content/renderer/npapi/webplugin_impl.cc const char* url_to_check(url.spec().data()); data 89 content/renderer/npapi/webplugin_impl.h virtual void didReceiveData(const char* data, int data_length); data 349 content/renderer/npapi/webplugin_impl.h const char* data, data 353 content/renderer/npapi/webplugin_impl.h const char* data, data 39 content/renderer/npapi/webplugin_impl_unittest.cc result.append(element.data.data(), element.data.size()); data 101 content/renderer/p2p/ipc_socket_factory.cc const std::vector<char>& data, data 277 content/renderer/p2p/ipc_socket_factory.cc int IpcPacketSocket::Send(const void *data, size_t data_size, data 280 content/renderer/p2p/ipc_socket_factory.cc return SendTo(data, data_size, remote_address_, options); data 283 content/renderer/p2p/ipc_socket_factory.cc int IpcPacketSocket::SendTo(const void *data, size_t data_size, data 329 content/renderer/p2p/ipc_socket_factory.cc const char* data_char = reinterpret_cast<const char*>(data); data 482 content/renderer/p2p/ipc_socket_factory.cc const std::vector<char>& data, data 495 content/renderer/p2p/ipc_socket_factory.cc SignalReadPacket(this, &data[0], data.size(), address_lj, data 124 content/renderer/p2p/port_allocator.cc WebURLLoader* loader, const char* data, data 133 content/renderer/p2p/port_allocator.cc relay_session_response_.append(data, data + data_length); data 93 content/renderer/p2p/port_allocator.h const char* data, data 41 content/renderer/p2p/socket_client.h const std::vector<char>& data) = 0; data 46 content/renderer/p2p/socket_client.h const std::vector<char>& data, data 40 content/renderer/p2p/socket_client_delegate.h const std::vector<char>& data, data 73 content/renderer/p2p/socket_client_impl.cc const std::vector<char>& data, data 78 content/renderer/p2p/socket_client_impl.cc &P2PSocketClientImpl::SendWithDscp, this, address, data, options)); data 87 content/renderer/p2p/socket_client_impl.cc dispatcher_->SendP2PMessage(new P2PHostMsg_Send(socket_id_, address, data, data 93 content/renderer/p2p/socket_client_impl.cc const std::vector<char>& data) { data 95 content/renderer/p2p/socket_client_impl.cc SendWithDscp(address, data, options); data 222 content/renderer/p2p/socket_client_impl.cc const std::vector<char>& data, data 231 content/renderer/p2p/socket_client_impl.cc data, data 236 content/renderer/p2p/socket_client_impl.cc const net::IPEndPoint& address, const std::vector<char>& data, data 240 content/renderer/p2p/socket_client_impl.cc delegate_->OnDataReceived(address, data, timestamp); data 43 content/renderer/p2p/socket_client_impl.h const std::vector<char>& data) OVERRIDE; data 48 content/renderer/p2p/socket_client_impl.h const std::vector<char>& data, data 82 content/renderer/p2p/socket_client_impl.h const std::vector<char>& data, data 93 content/renderer/p2p/socket_client_impl.h const std::vector<char>& data, data 172 content/renderer/p2p/socket_dispatcher.cc const std::vector<char>& data, data 176 content/renderer/p2p/socket_dispatcher.cc client->OnDataReceived(address, data, timestamp); data 103 content/renderer/p2p/socket_dispatcher.h const std::vector<char>& data, data 46 content/renderer/pepper/content_decryptor_delegate.cc const uint8* data, uint32_t size, data 51 content/renderer/pepper/content_decryptor_delegate.cc if (!data || !size) { data 52 content/renderer/pepper/content_decryptor_delegate.cc DCHECK(!data && !size); data 63 content/renderer/pepper/content_decryptor_delegate.cc if (!mapper.data() || mapper.size() < size) data 65 content/renderer/pepper/content_decryptor_delegate.cc memcpy(mapper.data(), data, size); data 79 content/renderer/pepper/content_decryptor_delegate.cc memcpy(array, str.data(), str.size()); data 603 content/renderer/pepper/content_decryptor_delegate.cc const uint8* data = static_cast<const uint8*>(message_array_buffer->Map()); data 604 content/renderer/pepper/content_decryptor_delegate.cc message.assign(data, data + message_array_buffer->ByteLength()); data 715 content/renderer/pepper/content_decryptor_delegate.cc if (!mapper.data() || !mapper.size() || data 725 content/renderer/pepper/content_decryptor_delegate.cc static_cast<uint8*>(mapper.data()), block_info->data_size)); data 939 content/renderer/pepper/content_decryptor_delegate.cc if (!mapper.data() || mapper.size() < data_size) { data 943 content/renderer/pepper/content_decryptor_delegate.cc memcpy(mapper.data(), encrypted_buffer->data(), data_size); data 976 content/renderer/pepper/content_decryptor_delegate.cc if (!mapper.data() || !mapper.size() || data 983 content/renderer/pepper/content_decryptor_delegate.cc const uint8* cur = static_cast<uint8*>(mapper.data()); data 512 content/renderer/pepper/event_conversion.cc WebString::fromUTF8(char_text.data(), char_text.size()); data 41 content/renderer/pepper/host_array_buffer_var.cc memcpy(buffer_.data(), s.memory(), size_in_bytes); data 52 content/renderer/pepper/host_array_buffer_var.cc return buffer_.data(); data 98 content/renderer/pepper/npapi_glue.cc memcpy(c_string, value.data(), value.size()); data 145 content/renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc std::vector<ppapi::DeviceRefData> data; data 150 content/renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc data.push_back(data_item); data 154 content/renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc data.push_back(data_item); data 155 content/renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc ASSERT_TRUE(delegate_.SimulateEnumerateResult(request_id, data)); data 175 content/renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc EXPECT_EQ(data, reply_data); data 185 content/renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc std::vector<ppapi::DeviceRefData> data; data 186 content/renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc ASSERT_TRUE(delegate_.SimulateEnumerateResult(request_id, data)); data 192 content/renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc CheckNotifyDeviceChangeMessage(callback_id, data); data 198 content/renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc data.push_back(data_item); data 202 content/renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc data.push_back(data_item); data 203 content/renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc ASSERT_TRUE(delegate_.SimulateEnumerateResult(request_id, data)); data 206 content/renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc CheckNotifyDeviceChangeMessage(callback_id, data); data 218 content/renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc data.push_back(data_item); data 219 content/renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc ASSERT_TRUE(delegate_.SimulateEnumerateResult(request_id2, data)); data 221 content/renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc CheckNotifyDeviceChangeMessage(callback_id2, data); data 152 content/renderer/pepper/pepper_file_chooser_host.cc suggested_file_name.data(), suggested_file_name.size()); data 159 content/renderer/pepper/pepper_file_chooser_host.cc accept_mime_types[i].data(), accept_mime_types[i].size()); data 17 content/renderer/pepper/pepper_media_device_manager.cc ppapi::DeviceRefData data; data 18 content/renderer/pepper/pepper_media_device_manager.cc data.id = info.device.id; data 19 content/renderer/pepper/pepper_media_device_manager.cc data.name = info.device.name; data 20 content/renderer/pepper/pepper_media_device_manager.cc data.type = PepperMediaDeviceManager::FromMediaStreamType(info.device.type); data 21 content/renderer/pepper/pepper_media_device_manager.cc return data; data 116 content/renderer/pepper/pepper_media_stream_audio_track_host.cc memcpy(buffer->data, audio_data, buffer_data_size_); data 75 content/renderer/pepper/pepper_media_stream_video_track_host.cc libyuv::I420ToARGB(src->data(VideoFrame::kYPlane), data 77 content/renderer/pepper/pepper_media_stream_video_track_host.cc src->data(VideoFrame::kUPlane), data 79 content/renderer/pepper/pepper_media_stream_video_track_host.cc src->data(VideoFrame::kVPlane), data 86 content/renderer/pepper/pepper_media_stream_video_track_host.cc media::ScaleYUVToRGB32(src->data(VideoFrame::kYPlane), data 87 content/renderer/pepper/pepper_media_stream_video_track_host.cc src->data(VideoFrame::kUPlane), data 88 content/renderer/pepper/pepper_media_stream_video_track_host.cc src->data(VideoFrame::kVPlane), data 110 content/renderer/pepper/pepper_media_stream_video_track_host.cc libyuv::ScalePlane(src->data(kPlanesOrder[plane_order][0]), data 121 content/renderer/pepper/pepper_media_stream_video_track_host.cc libyuv::ScalePlane(src->data(kPlanesOrder[plane_order][1]), data 127 content/renderer/pepper/pepper_media_stream_video_track_host.cc libyuv::ScalePlane(src->data(kPlanesOrder[plane_order][2]), data 226 content/renderer/pepper/pepper_media_stream_video_track_host.cc ConvertFromMediaVideoFrame(frame, format, size, buffer->data); data 440 content/renderer/pepper/pepper_plugin_instance_impl.cc const char* data, data 443 content/renderer/pepper/pepper_plugin_instance_impl.cc data_.push_back(std::string(data, data_length)); data 474 content/renderer/pepper/pepper_plugin_instance_impl.cc PP_GamepadsSampleData* data) { data 478 content/renderer/pepper/pepper_plugin_instance_impl.cc bit_cast<ppapi::WebKitGamepads>(webkit_data), data); data 1875 content/renderer/pepper/pepper_plugin_instance_impl.cc if (!mapper.data() || !mapper.size()) { data 1900 content/renderer/pepper/pepper_plugin_instance_impl.cc ret = metafile->InitFromData(mapper.data(), mapper.size()); data 1907 content/renderer/pepper/pepper_plugin_instance_impl.cc ret = metafile->InitFromData(mapper.data(), mapper.size()); data 1945 content/renderer/pepper/pepper_plugin_instance_impl.cc ret = render_proc(static_cast<unsigned char*>(mapper.data()), mapper.size(), data 3184 content/renderer/pepper/pepper_plugin_instance_impl.cc const ppapi::URLResponseInfoData& data) { data 3193 content/renderer/pepper/pepper_plugin_instance_impl.cc pp_instance(), pending_host_id, data)); data 3209 content/renderer/pepper/pepper_plugin_instance_impl.cc ppapi::API_ID_PPP_INSTANCE, pp_instance(), pending_host_id, data)); data 539 content/renderer/pepper/pepper_plugin_instance_impl.h const char* data, data 563 content/renderer/pepper/pepper_plugin_instance_impl.h PP_GamepadsSampleData* data) OVERRIDE; data 669 content/renderer/pepper/pepper_plugin_instance_impl.h const ppapi::URLResponseInfoData& data); data 45 content/renderer/pepper/pepper_truetype_font.h std::string* data) = 0; data 87 content/renderer/pepper/pepper_truetype_font_host.cc std::string data; data 90 content/renderer/pepper/pepper_truetype_font_host.cc font_->GetTable(table, offset, max_data_length, &data)); data 92 content/renderer/pepper/pepper_truetype_font_host.cc PpapiPluginMsg_TrueTypeFont_GetTableReply(data)); data 33 content/renderer/pepper/pepper_truetype_font_linux.cc std::string* data) OVERRIDE; data 134 content/renderer/pepper/pepper_truetype_font_linux.cc std::string* data) { data 143 content/renderer/pepper/pepper_truetype_font_linux.cc data->resize(table_size); data 145 content/renderer/pepper/pepper_truetype_font_linux.cc reinterpret_cast<uint8_t*>(&(*data)[0]), data 38 content/renderer/pepper/pepper_truetype_font_win.cc std::string* data) OVERRIDE; data 208 content/renderer/pepper/pepper_truetype_font_win.cc std::string* data) { data 225 content/renderer/pepper/pepper_truetype_font_win.cc data->resize(safe_length); data 230 content/renderer/pepper/pepper_truetype_font_win.cc reinterpret_cast<uint8_t*>(&(*data)[0]), data 162 content/renderer/pepper/pepper_url_loader_host.cc const char* data, data 171 content/renderer/pepper/pepper_url_loader_host.cc message->WriteData(data, data_length); data 410 content/renderer/pepper/pepper_url_loader_host.cc const ppapi::URLResponseInfoData& data) { data 411 content/renderer/pepper/pepper_url_loader_host.cc SendUpdateToPlugin(new PpapiPluginMsg_URLLoader_ReceivedResponse(data)); data 58 content/renderer/pepper/pepper_url_loader_host.h const char* data, data 108 content/renderer/pepper/pepper_url_loader_host.h void DidDataFromWebURLResponse(const ppapi::URLResponseInfoData& data); data 37 content/renderer/pepper/pepper_url_request_unittest.cc const char* result = web_string.data(); data 80 content/renderer/pepper/pepper_url_request_unittest.cc URLRequestInfoData data = info_->GetData(); data 81 content/renderer/pepper/pepper_url_request_unittest.cc if (!CreateWebURLRequest(pp_instance_, &data, GetMainFrame(), &web_request)) data 88 content/renderer/pepper/pepper_url_request_unittest.cc URLRequestInfoData data = info_->GetData(); data 89 content/renderer/pepper/pepper_url_request_unittest.cc if (!CreateWebURLRequest(pp_instance_, &data, GetMainFrame(), &web_request)) data 96 content/renderer/pepper/pepper_url_request_unittest.cc URLRequestInfoData data = info_->GetData(); data 97 content/renderer/pepper/pepper_url_request_unittest.cc if (!CreateWebURLRequest(pp_instance_, &data, GetMainFrame(), &web_request)) data 104 content/renderer/pepper/pepper_url_request_unittest.cc URLRequestInfoData data = info_->GetData(); data 105 content/renderer/pepper/pepper_url_request_unittest.cc if (!CreateWebURLRequest(pp_instance_, &data, GetMainFrame(), &web_request)) data 155 content/renderer/pepper/pepper_video_capture_host.cc uint8* dst = reinterpret_cast<uint8*>(buffers_[i].data); data 161 content/renderer/pepper/pepper_video_capture_host.cc const uint8* src = frame->data(j); data 212 content/renderer/pepper/pepper_video_capture_host.cc buf.data = buf.buffer->Map(); data 213 content/renderer/pepper/pepper_video_capture_host.cc if (!buf.data) { data 437 content/renderer/pepper/pepper_video_capture_host.cc data(NULL), data 85 content/renderer/pepper/pepper_video_capture_host.h void* data; data 205 content/renderer/pepper/pepper_webplugin_impl.cc void PepperWebPluginImpl::didReceiveData(const char* data, int data_length) { data 208 content/renderer/pepper/pepper_webplugin_impl.cc document_loader->didReceiveData(NULL, data, data_length, 0); data 59 content/renderer/pepper/pepper_webplugin_impl.h virtual void didReceiveData(const char* data, int data_length); data 133 content/renderer/pepper/pepper_websocket_host.cc uint8_t* data = static_cast<uint8_t*>(binaryData.data()); data 134 content/renderer/pepper/pepper_websocket_host.cc std::vector<uint8_t> array_message(data, data + binaryData.byteLength()); data 320 content/renderer/pepper/pepper_websocket_host.cc memcpy(web_message.data(), &message.front(), message.size()); data 62 content/renderer/pepper/ppb_buffer_impl.h void* data() { return data_; } data 96 content/renderer/pepper/ppb_image_data_impl.cc data(new PPB_ImageData_Impl(instance, type)); data 97 content/renderer/pepper/ppb_image_data_impl.cc if (!data->Init(format, size.width, size.height, !!init_to_zero)) data 99 content/renderer/pepper/ppb_image_data_impl.cc return data->GetReference(); data 154 content/renderer/pepper/ppb_scrollbar_impl.cc const ppapi::InputEventData& data) { data 155 content/renderer/pepper/ppb_scrollbar_impl.cc scoped_ptr<WebInputEvent> web_input_event(CreateWebInputEvent(data)); data 50 content/renderer/pepper/ppb_scrollbar_impl.h const ppapi::InputEventData& data) OVERRIDE; data 158 content/renderer/pepper/ppb_video_decoder_impl.cc EnterResourceNoLock<PPB_Buffer_API> enter(bitstream_buffer->data, true); data 48 content/renderer/pepper/ppb_widget_impl.h virtual PP_Bool HandleEventInternal(const ppapi::InputEventData& data) = 0; data 97 content/renderer/pepper/url_request_info_util.cc bool ValidateURLRequestData(const URLRequestInfoData& data) { data 98 content/renderer/pepper/url_request_info_util.cc if (data.prefetch_buffer_lower_threshold < 0 || data 99 content/renderer/pepper/url_request_info_util.cc data.prefetch_buffer_upper_threshold < 0 || data 100 content/renderer/pepper/url_request_info_util.cc data.prefetch_buffer_upper_threshold <= data 101 content/renderer/pepper/url_request_info_util.cc data.prefetch_buffer_lower_threshold) { data 110 content/renderer/pepper/url_request_info_util.cc URLRequestInfoData* data, data 116 content/renderer/pepper/url_request_info_util.cc if (!ValidateURLRequestData(*data)) data 121 content/renderer/pepper/url_request_info_util.cc data->url))); data 122 content/renderer/pepper/url_request_info_util.cc dest->setDownloadToFile(data->stream_to_file); data 123 content/renderer/pepper/url_request_info_util.cc dest->setReportUploadProgress(data->record_upload_progress); data 125 content/renderer/pepper/url_request_info_util.cc if (!data->method.empty()) data 126 content/renderer/pepper/url_request_info_util.cc dest->setHTTPMethod(WebString::fromUTF8(data->method)); data 130 content/renderer/pepper/url_request_info_util.cc const std::string& headers = data->headers; data 141 content/renderer/pepper/url_request_info_util.cc if (!data->body.empty()) { data 145 content/renderer/pepper/url_request_info_util.cc for (size_t i = 0; i < data->body.size(); ++i) { data 146 content/renderer/pepper/url_request_info_util.cc const URLRequestInfoData::BodyItem& item = data->body[i]; data 157 content/renderer/pepper/url_request_info_util.cc DCHECK(!item.data.empty()); data 158 content/renderer/pepper/url_request_info_util.cc http_body.appendData(WebData(item.data)); data 167 content/renderer/pepper/url_request_info_util.cc if (data->has_custom_referrer_url && !data->custom_referrer_url.empty()) data 168 content/renderer/pepper/url_request_info_util.cc frame->setReferrerForRequest(*dest, GURL(data->custom_referrer_url)); data 170 content/renderer/pepper/url_request_info_util.cc if (data->has_custom_content_transfer_encoding && data 171 content/renderer/pepper/url_request_info_util.cc !data->custom_content_transfer_encoding.empty()) { data 174 content/renderer/pepper/url_request_info_util.cc WebString::fromUTF8(data->custom_content_transfer_encoding)); data 177 content/renderer/pepper/url_request_info_util.cc if (data->has_custom_user_agent) { data 181 content/renderer/pepper/url_request_info_util.cc WebString::fromUTF8(data->custom_user_agent)); data 189 content/renderer/pepper/url_request_info_util.cc bool URLRequestRequiresUniversalAccess(const URLRequestInfoData& data) { data 191 content/renderer/pepper/url_request_info_util.cc data.has_custom_referrer_url || data 192 content/renderer/pepper/url_request_info_util.cc data.has_custom_content_transfer_encoding || data 193 content/renderer/pepper/url_request_info_util.cc data.has_custom_user_agent || data 194 content/renderer/pepper/url_request_info_util.cc url_util::FindAndCompareScheme(data.url, "javascript", NULL); data 28 content/renderer/pepper/url_request_info_util.h ppapi::URLRequestInfoData* data, data 34 content/renderer/pepper/url_request_info_util.h const ppapi::URLRequestInfoData& data); data 61 content/renderer/pepper/url_response_info_util.cc ppapi::URLResponseInfoData data = in_data; data 63 content/renderer/pepper/url_response_info_util.cc data.body_as_file_ref = ppapi::MakeExternalFileRefCreateInfo( data 68 content/renderer/pepper/url_response_info_util.cc callback.Run(data); data 77 content/renderer/pepper/url_response_info_util.cc ppapi::URLResponseInfoData data; data 78 content/renderer/pepper/url_response_info_util.cc data.url = response.url().spec(); data 79 content/renderer/pepper/url_response_info_util.cc data.status_code = response.httpStatusCode(); data 80 content/renderer/pepper/url_response_info_util.cc data.status_text = response.httpStatusText().utf8(); data 81 content/renderer/pepper/url_response_info_util.cc if (IsRedirect(data.status_code)) { data 82 content/renderer/pepper/url_response_info_util.cc data.redirect_url = response.httpHeaderField( data 88 content/renderer/pepper/url_response_info_util.cc data.headers = flattener.buffer(); data 107 content/renderer/pepper/url_response_info_util.cc data, data 114 content/renderer/pepper/url_response_info_util.cc base::Bind(callback, data)); data 711 content/renderer/render_frame_impl.cc std::string mime_type, charset, data; data 712 content/renderer/render_frame_impl.cc if (net::DataURL::Parse(params.url, &mime_type, &charset, &data)) { data 714 content/renderer/render_frame_impl.cc WebData(data.c_str(), data.length()), data 758 content/renderer/render_frame_impl.cc const char* data = NULL; data 760 content/renderer/render_frame_impl.cc data = reinterpret_cast<const char*>( data 764 content/renderer/render_frame_impl.cc WebData(data, params.browser_initiated_post_data.size())); data 2019 content/renderer/render_frame_impl.cc void RenderFrameImpl::showContextMenu(const blink::WebContextMenuData& data) { data 2020 content/renderer/render_frame_impl.cc ContextMenuParams params = ContextMenuParamsBuilder::Build(data); data 2052 content/renderer/render_frame_impl.cc context_menu_node_ = data.node; data 2841 content/renderer/render_frame_impl.cc GURL frame_url(origin_str.utf8().data()); data 285 content/renderer/render_frame_impl.h virtual void showContextMenu(const blink::WebContextMenuData& data); data 1380 content/renderer/render_thread_impl.cc void RenderThreadImpl::OnTempCrashWithData(const GURL& data) { data 1381 content/renderer/render_thread_impl.cc GetContentClient()->SetActiveURL(data); data 1487 content/renderer/render_thread_impl.cc void RenderThreadImpl::SampleGamepads(blink::WebGamepads* data) { data 1490 content/renderer/render_thread_impl.cc gamepad_shared_memory_reader_->SampleGamepads(*data); data 368 content/renderer/render_thread_impl.h void SampleGamepads(blink::WebGamepads* data); data 413 content/renderer/render_thread_impl.h void OnTempCrashWithData(const GURL& data); data 378 content/renderer/render_view_browsertest.cc EXPECT_EQ(length, element.data.size()); data 379 content/renderer/render_view_browsertest.cc EXPECT_EQ(0, memcmp(raw_data, element.data.data(), length)); data 1912 content/renderer/render_view_impl.cc const WebDragData& data, data 1916 content/renderer/render_view_impl.cc DropData drop_data(DropDataBuilder::Build(data)); data 2747 content/renderer/render_view_impl.cc InternalDocumentStateData* data = data 2749 content/renderer/render_view_impl.cc data->set_did_first_visually_non_empty_layout(true); data 2810 content/renderer/render_view_impl.cc params.data = event.data().toString(); data 2883 content/renderer/render_view_impl.cc const WebCString& data, data 2888 content/renderer/render_view_impl.cc data.data(), data 3339 content/renderer/render_view_impl.cc WebSerializedScriptValue::fromString(params.data), data 3754 content/renderer/render_view_impl.cc InternalDocumentStateData* data = data 3756 content/renderer/render_view_impl.cc if (data->did_first_visually_non_empty_layout() && data 3757 content/renderer/render_view_impl.cc !data->did_first_visually_non_empty_paint()) { data 3758 content/renderer/render_view_impl.cc data->set_did_first_visually_non_empty_paint(true); data 4607 content/renderer/render_view_impl.cc event.x - event.data.tap.width / 2, event.y - event.data.tap.height / 2, data 4608 content/renderer/render_view_impl.cc event.data.tap.width, event.data.tap.height); data 469 content/renderer/render_view_impl.h const blink::WebDragData& data, data 617 content/renderer/render_view_impl.h const blink::WebCString& data, data 231 content/renderer/render_widget_fullscreen_pepper.cc mouse.clickCount = gesture_event->data.tap.tapCount; data 150 content/renderer/renderer_clipboard_client.cc std::string* data) { data 158 content/renderer/renderer_clipboard_client.cc data->append(static_cast<char*>(buffer.memory()), image_size); data 164 content/renderer/renderer_clipboard_client.cc base::string16* data) { data 166 content/renderer/renderer_clipboard_client.cc new ClipboardHostMsg_ReadCustomData(clipboard_type, type, data)); data 35 content/renderer/renderer_clipboard_client.h virtual void ReadImage(ui::ClipboardType type, std::string* data) OVERRIDE; data 38 content/renderer/renderer_clipboard_client.h base::string16* data) OVERRIDE; data 342 content/renderer/renderer_webkitplatformsupport_impl.cc const char* data, data 350 content/renderer/renderer_webkitplatformsupport_impl.cc std::vector<char> copy(data, data + size); data 1066 content/renderer/renderer_webkitplatformsupport_impl.cc const blink::WebDeviceMotionData& data) { data 1067 content/renderer/renderer_webkitplatformsupport_impl.cc g_test_device_motion_data.Get() = data; data 1093 content/renderer/renderer_webkitplatformsupport_impl.cc const blink::WebDeviceOrientationData& data) { data 1094 content/renderer/renderer_webkitplatformsupport_impl.cc g_test_device_orientation_data.Get() = data; data 173 content/renderer/renderer_webkitplatformsupport_impl.h const blink::WebDeviceMotionData& data); data 177 content/renderer/renderer_webkitplatformsupport_impl.h const blink::WebDeviceOrientationData& data); data 58 content/renderer/resource_fetcher_browsertest.cc const std::string& data) { data 60 content/renderer/resource_fetcher_browsertest.cc data_ = data; data 118 content/renderer/resource_fetcher_browsertest.cc const std::string& data) OVERRIDE { data 119 content/renderer/resource_fetcher_browsertest.cc FetcherDelegate::OnURLFetchComplete(response, data); data 160 content/renderer/resource_fetcher_browsertest.cc std::string text = delegate->data(); data 176 content/renderer/resource_fetcher_browsertest.cc EXPECT_TRUE(delegate->data().find("Not Found.") != std::string::npos); data 195 content/renderer/resource_fetcher_browsertest.cc EXPECT_EQ(delegate->data(), std::string()); data 214 content/renderer/resource_fetcher_browsertest.cc EXPECT_EQ(delegate->data(), std::string()); data 247 content/renderer/resource_fetcher_browsertest.cc EXPECT_EQ(kBody, delegate->data()); data 264 content/renderer/resource_fetcher_browsertest.cc EXPECT_EQ(kHeader, delegate->data()); data 45 content/renderer/shared_memory_seqlock_reader.h bool GetLatestData(Data* data) { data 47 content/renderer/shared_memory_seqlock_reader.h DCHECK(sizeof(*data) == sizeof(*temp_buffer_)); data 48 content/renderer/shared_memory_seqlock_reader.h return FetchFromBuffer(&buffer_->seqlock, data, temp_buffer_.get(), data 49 content/renderer/shared_memory_seqlock_reader.h &buffer_->data, sizeof(*temp_buffer_)); data 41 content/renderer/shared_worker/embedded_shared_worker_stub.cc virtual void didReceiveDataForMainResource(const char* data, int len) {} data 187 content/renderer/skia_benchmarking_extension.cc uint8* buffer_pixels = reinterpret_cast<uint8*>(buffer.data()); data 231 content/renderer/v8_value_converter_impl.cc memcpy(buffer.data(), value->GetBuffer(), value->GetSize()); data 357 content/renderer/v8_value_converter_impl.cc char* data = NULL; data 364 content/renderer/v8_value_converter_impl.cc data = reinterpret_cast<char*>(array_buffer->data()); data 369 content/renderer/v8_value_converter_impl.cc data = reinterpret_cast<char*>(view->baseAddress()) + view->byteOffset(); data 374 content/renderer/v8_value_converter_impl.cc if (data) data 375 content/renderer/v8_value_converter_impl.cc return base::BinaryValue::CreateWithCopiedBuffer(data, length); data 72 content/renderer/web_ui_mojo.cc WebUIMojoContextStateData* data = new WebUIMojoContextStateData; data 73 content/renderer/web_ui_mojo.cc data->state.reset(new WebUIMojoContextState( data 75 content/renderer/web_ui_mojo.cc context_data->SetUserData(kWebUIMojoContextStateKey, data); data 113 content/renderer/web_ui_mojo_context_state.cc const std::string& data) { data 123 content/renderer/web_ui_mojo_context_state.cc if (data.empty()) { data 128 content/renderer/web_ui_mojo_context_state.cc runner_->Run(data, module); data 60 content/renderer/web_ui_mojo_context_state.h const std::string& data); data 130 content/renderer/webclipboard_impl.cc base::string16 data; data 131 content/renderer/webclipboard_impl.cc client_->ReadCustomData(clipboard_type, type, &data); data 132 content/renderer/webclipboard_impl.cc return data; data 178 content/renderer/webclipboard_impl.cc void WebClipboardImpl::writeDataObject(const WebDragData& data) { data 181 content/renderer/webclipboard_impl.cc const DropData& data_object = DropDataBuilder::Build(data); data 48 content/renderer/webclipboard_impl.h virtual void writeDataObject(const blink::WebDragData& data); data 171 content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestActivity.java public void onActivityResult(int requestCode, int resultCode, Intent data) { data 172 content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestActivity.java super.onActivityResult(requestCode, resultCode, data); data 173 content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestActivity.java mWindowAndroid.onActivityResult(requestCode, resultCode, data); data 191 content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java public void onActivityResult(int requestCode, int resultCode, Intent data) { data 192 content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java super.onActivityResult(requestCode, resultCode, data); data 193 content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java mWindowAndroid.onActivityResult(requestCode, resultCode, data); data 170 content/shell/browser/webkit_test_controller.cc const std::vector<unsigned char>& data) { data 175 content/shell/browser/webkit_test_controller.cc base::StringPiece(reinterpret_cast<const char*>(&data[0]), data.size()), data 81 content/shell/browser/webkit_test_controller.h void PrintEncodedBinaryData(const std::vector<unsigned char>& data); data 30 content/shell/common/webkit_test_helpers.cc to->default_encoding = from.default_text_encoding_name.utf8().data(); data 18 content/shell/renderer/test_runner/MockSpellCheck.cpp void append(WebVector<WebString>* data, const WebString& item) data 20 content/shell/renderer/test_runner/MockSpellCheck.cpp WebVector<WebString> result(data->size() + 1); data 21 content/shell/renderer/test_runner/MockSpellCheck.cpp for (size_t i = 0; i < data->size(); ++i) data 22 content/shell/renderer/test_runner/MockSpellCheck.cpp result[i] = (*data)[i]; data 23 content/shell/renderer/test_runner/MockSpellCheck.cpp result[data->size()] = item; data 24 content/shell/renderer/test_runner/MockSpellCheck.cpp data->swap(result); data 30 content/shell/renderer/test_runner/MockWebMIDIAccessor.h const unsigned char* data, data 98 content/shell/renderer/test_runner/MockWebRTCDataChannelHandler.cpp bool MockWebRTCDataChannelHandler::sendStringData(const WebString& data) data 101 content/shell/renderer/test_runner/MockWebRTCDataChannelHandler.cpp m_client->didReceiveStringData(data); data 105 content/shell/renderer/test_runner/MockWebRTCDataChannelHandler.cpp bool MockWebRTCDataChannelHandler::sendRawData(const char* data, size_t size) data 108 content/shell/renderer/test_runner/MockWebRTCDataChannelHandler.cpp m_client->didReceiveRawData(data, size); data 63 content/shell/renderer/test_runner/SpellCheckClient.cpp base::string16 data = text; data 64 content/shell/renderer/test_runner/SpellCheckClient.cpp while (offset < data.length()) { data 67 content/shell/renderer/test_runner/SpellCheckClient.cpp m_spellcheck.spellCheckWord(data.substr(offset), &misspelledPosition, &misspelledLength); data 388 content/shell/renderer/test_runner/TestPlugin.cpp return static_cast<float>(atof(string.utf8().data())); data 551 content/shell/renderer/test_runner/TestPlugin.cpp m_context->shaderSource(shader, source.data()); data 64 content/shell/renderer/test_runner/TestPlugin.h virtual void didReceiveData(const char* data, int dataLength) { } data 131 content/shell/renderer/test_runner/WebTestProxy.cpp char data[100]; data 132 content/shell/renderer/test_runner/WebTestProxy.cpp snprintf(data, sizeof(data), "%d", response. httpStatusCode()); data 133 content/shell/renderer/test_runner/WebTestProxy.cpp delegate->printMessage(string("<NSURLResponse ") + descriptionSuitableForTestResult(url) + ", http status code " + data + ">"); data 246 content/shell/renderer/test_runner/WebTestProxy.cpp result.append(frame->uniqueName().utf8().data()); data 272 content/shell/renderer/test_runner/WebTestProxy.cpp result.append(frame->uniqueName().utf8().data()); data 293 content/shell/renderer/test_runner/WebTestProxy.cpp result = string("frame '") + frame->uniqueName().utf8().data() + "' "; data 294 content/shell/renderer/test_runner/WebTestProxy.cpp char data[100]; data 295 content/shell/renderer/test_runner/WebTestProxy.cpp snprintf(data, sizeof(data), "scrolled to %d,%d\n", offset.width, offset.height); data 296 content/shell/renderer/test_runner/WebTestProxy.cpp result += data; data 881 content/shell/renderer/test_runner/WebTestProxy.cpp message += element.getAttribute("id").utf8().data(); data 889 content/shell/renderer/test_runner/WebTestProxy.cpp void WebTestProxyBase::startDragging(WebLocalFrame*, const WebDragData& data, WebDragOperationsMask mask, const WebImage&, const WebPoint&) data 893 content/shell/renderer/test_runner/WebTestProxy.cpp m_testInterfaces->eventSender()->DoDragDrop(data, mask); data 931 content/shell/renderer/test_runner/WebTestProxy.cpp m_delegate->printMessage(string("UI DELEGATE STATUS CALLBACK: setStatusText:") + text.utf8().data() + "\n"); data 1083 content/shell/renderer/test_runner/WebTestProxy.cpp m_delegate->printMessage(string(" - didReceiveTitle: ") + title8.data() + "\n"); data 1087 content/shell/renderer/test_runner/WebTestProxy.cpp m_delegate->printMessage(string("TITLE CHANGED: '") + title8.data() + "'\n"); data 1156 content/shell/renderer/test_runner/WebTestProxy.cpp m_delegate->printMessage(string(" - ") + request.initiatorName().utf8().data()); data 1184 content/shell/renderer/test_runner/WebTestProxy.cpp m_delegate->printMessage(request.httpMethod().utf8().data()); data 1235 content/shell/renderer/test_runner/WebTestProxy.cpp m_delegate->printMessage(mimeType.isEmpty() ? "application/octet-stream" : mimeType.utf8().data()); data 1309 content/shell/renderer/test_runner/WebTestProxy.cpp m_delegate->printMessage(string("ALERT: ") + message.utf8().data() + "\n"); data 1314 content/shell/renderer/test_runner/WebTestProxy.cpp m_delegate->printMessage(string("CONFIRM: ") + message.utf8().data() + "\n"); data 1320 content/shell/renderer/test_runner/WebTestProxy.cpp m_delegate->printMessage(string("PROMPT: ") + message.utf8().data() + ", default text: " + defaultValue.utf8().data() + "\n"); data 1326 content/shell/renderer/test_runner/WebTestProxy.cpp m_delegate->printMessage(string("CONFIRM NAVIGATION: ") + message.utf8().data() + "\n"); data 1367 content/shell/renderer/test_runner/WebTestProxy.cpp m_delegate->printMessage(string("SpellCheckEvent: ") + eventName.utf8().data() + "\n"); data 290 content/shell/renderer/test_runner/WebTestProxy.h virtual void startDragging(blink::WebLocalFrame* frame, const blink::WebDragData& data, blink::WebDragOperationsMask mask, const blink::WebImage& image, const blink::WebPoint& point) data 292 content/shell/renderer/test_runner/WebTestProxy.h WebTestProxyBase::startDragging(frame, data, mask, image, point); data 192 content/shell/renderer/test_runner/accessibility_controller.cc v8::String::NewFromUtf8(isolate, notification_name.data(), data 1074 content/shell/renderer/test_runner/event_sender.cc void EventSender::SetContextMenuData(const WebContextMenuData& data) { data 1075 content/shell/renderer/test_runner/event_sender.cc last_context_menu_data_.reset(new WebContextMenuData(data)); data 1221 content/shell/renderer/test_runner/event_sender.cc WebString::fromUTF8(code_str.data(), code_str.size()); data 1452 content/shell/renderer/test_runner/event_sender.cc filename.utf8().data() + "\n"); data 1478 content/shell/renderer/test_runner/event_sender.cc event.data.flingStart.velocityX = velocity_x; data 1479 content/shell/renderer/test_runner/event_sender.cc event.data.flingStart.velocityY = velocity_y; data 1815 content/shell/renderer/test_runner/event_sender.cc event.data.scrollUpdate.deltaX = static_cast<float>(x); data 1816 content/shell/renderer/test_runner/event_sender.cc event.data.scrollUpdate.deltaY = static_cast<float>(y); data 1820 content/shell/renderer/test_runner/event_sender.cc current_gesture_location_.x + event.data.scrollUpdate.deltaX; data 1822 content/shell/renderer/test_runner/event_sender.cc current_gesture_location_.y + event.data.scrollUpdate.deltaY; data 1841 content/shell/renderer/test_runner/event_sender.cc event.data.tap.tapCount = tap_count; data 1843 content/shell/renderer/test_runner/event_sender.cc event.data.tap.tapCount = 1; data 1856 content/shell/renderer/test_runner/event_sender.cc event.data.tap.tapCount = tap_count; data 1858 content/shell/renderer/test_runner/event_sender.cc event.data.tap.tapCount = 1; data 1872 content/shell/renderer/test_runner/event_sender.cc event.data.tapDown.width = width; data 1880 content/shell/renderer/test_runner/event_sender.cc event.data.tapDown.height = height; data 1892 content/shell/renderer/test_runner/event_sender.cc event.data.showPress.width = width; data 1899 content/shell/renderer/test_runner/event_sender.cc event.data.showPress.height = height; data 1916 content/shell/renderer/test_runner/event_sender.cc event.data.longPress.width = width; data 1923 content/shell/renderer/test_runner/event_sender.cc event.data.longPress.height = height; data 1936 content/shell/renderer/test_runner/event_sender.cc event.data.longPress.width = width; data 1943 content/shell/renderer/test_runner/event_sender.cc event.data.longPress.height = height; data 1956 content/shell/renderer/test_runner/event_sender.cc event.data.twoFingerTap.firstFingerWidth = first_finger_width; data 1963 content/shell/renderer/test_runner/event_sender.cc event.data.twoFingerTap.firstFingerHeight = first_finger_height; data 45 content/shell/renderer/test_runner/gamepad_controller.cc void SetButtonData(int index, int button, double data); data 47 content/shell/renderer/test_runner/gamepad_controller.cc void SetAxisData(int index, int axis, double data); data 122 content/shell/renderer/test_runner/gamepad_controller.cc double data) { data 124 content/shell/renderer/test_runner/gamepad_controller.cc controller_->SetButtonData(index, button, data); data 132 content/shell/renderer/test_runner/gamepad_controller.cc void GamepadControllerBindings::SetAxisData(int index, int axis, double data) { data 134 content/shell/renderer/test_runner/gamepad_controller.cc controller_->SetAxisData(index, axis, data); data 213 content/shell/renderer/test_runner/gamepad_controller.cc void GamepadController::SetButtonData(int index, int button, double data) { data 218 content/shell/renderer/test_runner/gamepad_controller.cc gamepads_.items[index].buttons[button].value = data; data 219 content/shell/renderer/test_runner/gamepad_controller.cc gamepads_.items[index].buttons[button].pressed = data > 0.1f; data 234 content/shell/renderer/test_runner/gamepad_controller.cc void GamepadController::SetAxisData(int index, int axis, double data) { data 239 content/shell/renderer/test_runner/gamepad_controller.cc gamepads_.items[index].axes[axis] = data; data 45 content/shell/renderer/test_runner/gamepad_controller.h void SetButtonData(int index, int button, double data); data 47 content/shell/renderer/test_runner/gamepad_controller.h void SetAxisData(int index, int axis, double data); data 80 content/shell/renderer/test_runner/notification_presenter.cc delegate_->printMessage(notification.title().utf8().data()); data 89 content/shell/renderer/test_runner/notification_presenter.cc notification.body().utf8().data()); data 94 content/shell/renderer/test_runner/notification_presenter.cc notification.replaceId().utf8().data()); data 99 content/shell/renderer/test_runner/notification_presenter.cc notification.iconURL().spec().data()); data 1864 content/shell/renderer/test_runner/test_runner.cc WebData(html_.data(), html_.length()), data 586 content/shell/renderer/test_runner/web_ax_object_proxy.cc v8::String::NewFromUtf8(isolate, notification_name.data(), data 643 content/shell/renderer/test_runner/web_ax_object_proxy.cc return atoi(accessibility_object().stringValue().utf8().data()); data 252 content/shell/renderer/webkit_test_runner.cc void WebKitTestRunner::setDeviceMotionData(const WebDeviceMotionData& data) { data 253 content/shell/renderer/webkit_test_runner.cc SetMockDeviceMotionData(data); data 257 content/shell/renderer/webkit_test_runner.cc const WebDeviceOrientationData& data) { data 258 content/shell/renderer/webkit_test_runner.cc SetMockDeviceOrientationData(data); data 386 content/shell/renderer/webkit_test_runner.cc domain.c_str(), code, error.unreachableURL.spec().data()); data 65 content/shell/renderer/webkit_test_runner.h const blink::WebDeviceMotionData& data) OVERRIDE; data 67 content/shell/renderer/webkit_test_runner.h const blink::WebDeviceOrientationData& data) OVERRIDE; data 600 content/shell/tools/plugin/main.cpp if (event->data.focus.hasFocus) data 614 content/shell/tools/plugin/main.cpp if (obj->eventLogging && event->data.key.characters) data 615 content/shell/tools/plugin/main.cpp pluginLog(instance, "keyDown '%c'", CFStringGetCharacterAtIndex(reinterpret_cast<CFStringRef>(event->data.key.characters), 0)); data 621 content/shell/tools/plugin/main.cpp if (obj->eventLogging && event->data.key.characters) { data 622 content/shell/tools/plugin/main.cpp pluginLog(instance, "keyUp '%c'", CFStringGetCharacterAtIndex(reinterpret_cast<CFStringRef>(event->data.key.characters), 0)); data 637 content/shell/tools/plugin/main.cpp (int)event->data.mouse.pluginX, data 638 content/shell/tools/plugin/main.cpp (int)event->data.mouse.pluginY); data 646 content/shell/tools/plugin/main.cpp (int)event->data.mouse.pluginX, data 647 content/shell/tools/plugin/main.cpp (int)event->data.mouse.pluginY); data 75 content/test/accessibility_browser_test_utils.cc const ui::AXNodeData& root = GetAXTree().GetRoot()->data(); data 55 content/test/fileapi_test_file_set.cc file.Write(0, content.data(), static_cast<int>(content.size()))); data 46 content/test/image_decoder_test.cc memcpy(&contents->front(), raw_image_data.data(), raw_image_data.size()); data 98 content/test/image_decoder_test.cc memcpy(&expected_digest, file_bytes.data(), sizeof expected_digest); data 196 content/test/image_decoder_test.cc blink::WebData data(reinterpret_cast<const char*>(&(image_contents.at(0))), data 198 content/test/image_decoder_test.cc decoder->setData(const_cast<blink::WebData&>(data), true); data 94 content/test/layouttest_support.cc void SetMockDeviceMotionData(const WebDeviceMotionData& data) { data 95 content/test/layouttest_support.cc RendererWebKitPlatformSupportImpl::SetMockDeviceMotionDataForTesting(data); data 98 content/test/layouttest_support.cc void SetMockDeviceOrientationData(const WebDeviceOrientationData& data) { data 100 content/test/layouttest_support.cc SetMockDeviceOrientationDataForTesting(data); data 92 content/test/mock_webclipboard_impl.cc std::string data; data 109 content/test/mock_webclipboard_impl.cc data.assign(reinterpret_cast<char*>(vector_as_array(&encoded_image)), data 111 content/test/mock_webclipboard_impl.cc return data; data 161 content/test/mock_webclipboard_impl.cc void MockWebClipboardImpl::writeDataObject(const WebDragData& data) { data 164 content/test/mock_webclipboard_impl.cc const WebVector<WebDragData::Item>& itemList = data.items(); data 51 content/test/mock_webclipboard_impl.h virtual void writeDataObject(const blink::WebDragData& data); data 21 content/test/mock_weburlloader.h blink::WebData& data)); data 105 content/test/net/url_request_abort_on_end_job.cc std::memcpy(buf->data(), kPageContent, *bytes_read); data 143 content/test/net/url_request_slow_download_job.cc buf->data()[i] = '*'; data 158 content/test/net/url_request_slow_download_job.cc buf->data()[i] = '*'; data 111 content/test/plugin/plugin_get_javascript_url2_test.cc void ExecuteGetJavascriptUrl2Test::URLNotify(const char* url, NPReason reason, void* data) { data 112 content/test/plugin/plugin_get_javascript_url2_test.cc COMPILE_ASSERT(sizeof(unsigned long) <= sizeof(data), data 115 content/test/plugin/plugin_get_javascript_url2_test.cc unsigned long stream_id = reinterpret_cast<unsigned long>(data); data 32 content/test/plugin/plugin_get_javascript_url2_test.h void* data) OVERRIDE; data 196 content/test/plugin/plugin_get_javascript_url_test.cc void* data) { data 197 content/test/plugin/plugin_get_javascript_url_test.cc COMPILE_ASSERT(sizeof(unsigned long) <= sizeof(data), data 205 content/test/plugin/plugin_get_javascript_url_test.cc unsigned long stream_id = reinterpret_cast<unsigned long>(data); data 31 content/test/plugin/plugin_get_javascript_url_test.h void* data) OVERRIDE; data 389 content/test/plugin/plugin_geturl_test.cc void PluginGetURLTest::URLNotify(const char* url, NPReason reason, void* data) { data 403 content/test/plugin/plugin_geturl_test.cc COMPILE_ASSERT(sizeof(unsigned long) <= sizeof(data), cast_validity_check); data 404 content/test/plugin/plugin_geturl_test.cc unsigned long stream_id = reinterpret_cast<unsigned long>(data); data 41 content/test/plugin/plugin_geturl_test.h void* data) OVERRIDE; data 68 content/test/plugin/plugin_npobject_lifetime_test.cc void* data) { data 28 content/test/plugin/plugin_npobject_lifetime_test.h void* data) OVERRIDE; data 95 content/test/plugin/plugin_request_read_test.cc const char* data = static_cast<const char*>(buffer); data 99 content/test/plugin/plugin_request_read_test.cc if (data[i] != expected) { data 185 content/test/plugin/plugin_test.cc void PluginTest::URLNotify(const char* url, NPReason reason, void* data) { data 42 content/test/plugin/plugin_test.h virtual void URLNotify(const char* url, NPReason reason, void* data); data 26 content/test/plugin/plugin_thread_async_call_test.cc void OnCallSucceededHelper(void* data) { data 27 content/test/plugin/plugin_thread_async_call_test.cc static_cast<PluginThreadAsyncCallTest*>(data)->OnCallSucceeded(); data 30 content/test/plugin/plugin_thread_async_call_test.cc void OnCallFailed(void* data) { data 34 content/test/plugin/plugin_thread_async_call_test.cc void OnCallCompletedHelper(void* data) { data 35 content/test/plugin/plugin_thread_async_call_test.cc static_cast<PluginThreadAsyncCallTest*>(data)->OnCallCompleted(); data 31 content/test/plugin/plugin_windowless_test.cc void OnFinishTest(void* data) { data 32 content/test/plugin/plugin_windowless_test.cc static_cast<WindowlessPluginTest*>(data)->SignalTestCompleted(); data 62 content/test/plugin/plugin_windowless_test.cc np_event->data.focus.hasFocus; data 289 content/test/test_webkit_platform_support.cc return blink::WebData(buffer.data(), buffer.size()); data 27 content/test/weburl_loader_mock.cc const blink::WebData& data, data 39 content/test/weburl_loader_mock.cc client_->didReceiveData(this, data.data(), data.size(), data.size()); data 40 content/test/weburl_loader_mock.cc client_->didFinishLoading(this, 0, data.size()); data 56 content/test/weburl_loader_mock.cc blink::WebData& data) { data 58 content/test/weburl_loader_mock.cc factory_->LoadSynchronously(request, &response, &error, &data); data 63 content/test/weburl_loader_mock.cc << request.url().spec().data(); data 65 content/test/weburl_loader_mock.cc default_loader_->loadSynchronously(request, response, error, data); data 77 content/test/weburl_loader_mock.cc << request.url().spec().data(); data 35 content/test/weburl_loader_mock.h const blink::WebData& data, data 46 content/test/weburl_loader_mock.h blink::WebData& data); data 44 content/test/weburl_loader_mock_factory.cc file_path_16.data(), file_path_16.length())); data 89 content/test/weburl_loader_mock_factory.cc WebData data; data 91 content/test/weburl_loader_mock_factory.cc LoadRequest(request, &response, &error, &data); data 99 content/test/weburl_loader_mock_factory.cc LoadRequest(newRequest, &response, &error, &data); data 103 content/test/weburl_loader_mock_factory.cc loader->ServeAsynchronousRequest(response, data, error); data 134 content/test/weburl_loader_mock_factory.cc WebData* data) { data 135 content/test/weburl_loader_mock_factory.cc LoadRequest(request, response, error, data); data 148 content/test/weburl_loader_mock_factory.cc WebData* data) { data 162 content/test/weburl_loader_mock_factory.cc if (!error->reason && !ReadFile(iter->second.file_path, data)) { data 177 content/test/weburl_loader_mock_factory.cc WebData* data) { data 184 content/test/weburl_loader_mock_factory.cc data->reset(); data 189 content/test/weburl_loader_mock_factory.cc data->assign(buffer.get(), size); data 70 content/test/weburl_loader_mock_factory.h blink::WebData* data); data 89 content/test/weburl_loader_mock_factory.h blink::WebData* data); data 96 content/test/weburl_loader_mock_factory.h static bool ReadFile(const base::FilePath& file_path, blink::WebData* data); data 24 content/worker/worker_webapplicationcachehost_impl.h virtual void didReceiveDataForMainResource(const char* data, int len); data 292 content/zygote/zygote_linux.cc HANDLE_EINTR(write(fd, write_pickle.data(), write_pickle.size())); data 548 content/zygote/zygote_linux.cc if (HANDLE_EINTR(write(fd, reply_pickle.data(), reply_pickle.size())) != data 91 content/zygote/zygote_main_linux.cc memcpy(output, result.data(), sizeof(struct tm)); data 94 content/zygote/zygote_main_linux.cc memcpy(timezone_out, timezone.data(), copy_len); data 393 courgette/ensemble_apply.cc patch_header_stream.Init(patch_file.data(), patch_file.length()); data 408 courgette/ensemble_apply.cc old_source_stream.Init(old_file.data(), old_file.length()); data 409 courgette/ensemble_apply.cc patch_source_stream.Init(patch_file.data(), patch_file.length()); data 352 courgette/memory_allocator.h CheckBool append(const T* data, size_t size) WARN_UNUSED_RESULT { data 376 courgette/memory_allocator.h memcpy(buffer_ + size_, data, size * sizeof(T)); data 448 courgette/memory_allocator.h T* data() const { data 184 courgette/streams.cc CheckBool SinkStream::Write(const void* data, size_t byte_count) { data 185 courgette/streams.cc return buffer_.append(static_cast<const char*>(data), byte_count); data 215 courgette/streams.cc bool ret = Write(other->buffer_.data(), other->buffer_.size()); data 124 courgette/streams.h CheckBool Write(const void* data, size_t byte_count) WARN_UNUSED_RESULT; data 147 courgette/streams.h return reinterpret_cast<const uint8*>(buffer_.data()); data 82 courgette/streams_unittest.cc static const unsigned int data[] = { data 90 courgette/streams_unittest.cc for (size_t i = 0; data[i] != kEnd; i += 2) { data 91 courgette/streams_unittest.cc size_t id = data[i]; data 92 courgette/streams_unittest.cc size_t datum = data[i + 1]; data 104 courgette/streams_unittest.cc for (size_t i = 0; data[i] != kEnd; i += 2) { data 105 courgette/streams_unittest.cc size_t id = data[i]; data 106 courgette/streams_unittest.cc size_t datum = data[i + 1]; data 121 courgette/streams_unittest.cc static const int32 data[] = { data 129 courgette/streams_unittest.cc for (size_t i = 0; i < sizeof(data)/sizeof(data[0]); ++i) { data 130 courgette/streams_unittest.cc int32 basis = data[i]; data 183 courgette/third_party/bsdiff_apply.cc old_file_stream.Init(old_file.data(), old_file.length()); data 191 courgette/third_party/bsdiff_apply.cc patch_file_stream.Init(patch_file.data(), patch_file.length()); data 44 crypto/apple_keychain.h void* data) const; data 68 crypto/apple_keychain.h const void* data) const; data 71 crypto/apple_keychain.h void* data) const; data 68 crypto/ec_private_key_nss.cc output->assign(item.data, item.data + item.len); data 186 crypto/ec_private_key_nss.cc reinterpret_cast<unsigned char*>(const_cast<char*>(password.data())), data 221 crypto/ec_private_key_nss.cc reinterpret_cast<unsigned char*>(const_cast<char*>(password.data())), data 251 crypto/ec_private_key_nss.cc output->assign(der_key.data, der_key.data + der_key.len); data 263 crypto/ec_private_key_nss.cc output->assign(der_pubkey->data, der_pubkey->data + der_pubkey->len); data 303 crypto/ec_private_key_nss.cc ec_parameters.data[0] = SEC_ASN1_OBJECT_ID; data 304 crypto/ec_private_key_nss.cc ec_parameters.data[1] = oid_data->oid.len; data 305 crypto/ec_private_key_nss.cc memcpy(ec_parameters.data + 2, oid_data->oid.data, oid_data->oid.len); data 41 crypto/ec_private_key_openssl.cc char* data = NULL; data 42 crypto/ec_private_key_openssl.cc long len = BIO_get_mem_data(bio.get(), &data); data 43 crypto/ec_private_key_openssl.cc if (!data || len < 0) data 46 crypto/ec_private_key_openssl.cc output->assign(data, data + len); data 55 crypto/ec_private_key_openssl.cc typedef int (*ExportDataFunction)(const void* key, unsigned char** data); data 69 crypto/ec_private_key_openssl.cc unsigned char* data = &(*output)[0]; data 70 crypto/ec_private_key_openssl.cc if (export_fn(key, &data) < 0) data 51 crypto/ec_signature_creator.h virtual bool Sign(const uint8* data, data 18 crypto/ec_signature_creator_impl.h virtual bool Sign(const uint8* data, data 38 crypto/ec_signature_creator_nss.cc hash_type, &hash_data[0], input->data, input->len); data 69 crypto/ec_signature_creator_nss.cc bool ECSignatureCreatorImpl::Sign(const uint8* data, data 76 crypto/ec_signature_creator_nss.cc secret.data = const_cast<unsigned char*>(data); data 82 crypto/ec_signature_creator_nss.cc result.data = NULL; data 93 crypto/ec_signature_creator_nss.cc signature->assign(result.data, result.data + result.len); data 104 crypto/ec_signature_creator_nss.cc der_sig_item.data = const_cast<uint8*>(&der_sig[0]); data 109 crypto/ec_signature_creator_nss.cc out_raw_sig->assign(raw_sig->data, raw_sig->data + raw_sig->len); data 26 crypto/ec_signature_creator_openssl.cc bool ECSignatureCreatorImpl::Sign(const uint8* data, data 34 crypto/ec_signature_creator_openssl.cc !EVP_DigestSignUpdate(ctx.get(), data, data_len) || data 40 crypto/ec_signature_creator_unittest.cc std::string data("Hello, World!"); data 42 crypto/ec_signature_creator_unittest.cc ASSERT_TRUE(signer->Sign(reinterpret_cast<const uint8*>(data.c_str()), data 43 crypto/ec_signature_creator_unittest.cc data.size(), data 72 crypto/ec_signature_creator_unittest.cc verifier.VerifyUpdate(reinterpret_cast<const uint8*>(data.c_str()), data 73 crypto/ec_signature_creator_unittest.cc data.size()); data 17 crypto/encryptor.cc memcpy(&counter_, counter.data(), sizeof(counter_)); data 60 crypto/encryptor_nss.cc iv_item.data = reinterpret_cast<unsigned char*>( data 61 crypto/encryptor_nss.cc const_cast<char *>(iv.data())); data 120 crypto/encryptor_nss.cc reinterpret_cast<uint8*>(const_cast<char*>(output->data())); data 124 crypto/encryptor_nss.cc reinterpret_cast<uint8*>(const_cast<char*>(input.data())); data 166 crypto/encryptor_nss.cc reinterpret_cast<uint8*>(const_cast<char*>(output->data())); data 196 crypto/encryptor_nss.cc reinterpret_cast<uint8*>(const_cast<char*>(input.data())), data 108 crypto/encryptor_openssl.cc reinterpret_cast<const uint8*>(key.data()), data 109 crypto/encryptor_openssl.cc reinterpret_cast<const uint8*>(iv_.data()), data 121 crypto/encryptor_openssl.cc reinterpret_cast<const uint8*>(input.data()), data 148 crypto/encryptor_openssl.cc if (AES_set_encrypt_key(reinterpret_cast<const uint8*>(key_->key().data()), data 166 crypto/encryptor_openssl.cc AES_ctr128_encrypt(reinterpret_cast<const uint8*>(input.data()), out_ptr, data 206 crypto/encryptor_unittest.cc EXPECT_EQ(0, memcmp(encrypted.data(), ciphertext, encrypted.size())); data 244 crypto/encryptor_unittest.cc EXPECT_EQ(0, memcmp(decrypted.data(), plaintext + offset, len)); data 423 crypto/encryptor_unittest.cc EXPECT_EQ(0, memcmp(ciphertext.data(), kRawCiphertext, ciphertext.size())); data 451 crypto/encryptor_unittest.cc EXPECT_EQ(expected_ciphertext_hex, base::HexEncode(ciphertext.data(), data 477 crypto/encryptor_unittest.cc EXPECT_EQ(expected_ciphertext_hex, base::HexEncode(ciphertext.data(), data 530 crypto/encryptor_unittest.cc EXPECT_EQ(expected_ciphertext_hex, base::HexEncode(ciphertext.data(), data 79 crypto/ghash.cc void GaloisHash::UpdateAdditional(const uint8* data, size_t length) { data 82 crypto/ghash.cc Update(data, length); data 85 crypto/ghash.cc void GaloisHash::UpdateCiphertext(const uint8* data, size_t length) { data 99 crypto/ghash.cc Update(data, length); data 232 crypto/ghash.cc void GaloisHash::Update(const uint8* data, size_t length) { data 235 crypto/ghash.cc memcpy(&buf_[buf_used_], data, n); data 238 crypto/ghash.cc data += n; data 248 crypto/ghash.cc UpdateBlocks(data, n); data 250 crypto/ghash.cc data += n*16; data 254 crypto/ghash.cc memcpy(buf_, data, length); data 39 crypto/ghash.h void UpdateAdditional(const uint8* data, size_t length); data 42 crypto/ghash.h void UpdateCiphertext(const uint8* data, size_t length); data 60 crypto/hkdf.cc memcpy(buf.get(), previous.data(), previous.size()); data 62 crypto/hkdf.cc memcpy(buf.get() + j, info.data(), info.size()); data 59 crypto/hkdf_unittest.cc std::vector<uint8> data; data 60 crypto/hkdf_unittest.cc ASSERT_TRUE(base::HexStringToBytes(test.key_hex, &data)); data 61 crypto/hkdf_unittest.cc const std::string key(reinterpret_cast<char*>(&data[0]), data.size()); data 63 crypto/hkdf_unittest.cc data.clear(); data 67 crypto/hkdf_unittest.cc ASSERT_TRUE(base::HexStringToBytes(salt, &data)); data 68 crypto/hkdf_unittest.cc salt.assign(reinterpret_cast<char*>(&data[0]), data.size()); data 71 crypto/hkdf_unittest.cc data.clear(); data 75 crypto/hkdf_unittest.cc ASSERT_TRUE(base::HexStringToBytes(info, &data)); data 76 crypto/hkdf_unittest.cc info.assign(reinterpret_cast<char*>(&data[0]), data.size()); data 79 crypto/hkdf_unittest.cc data.clear(); data 80 crypto/hkdf_unittest.cc ASSERT_TRUE(base::HexStringToBytes(test.output_hex, &data)); data 81 crypto/hkdf_unittest.cc const std::string expected(reinterpret_cast<char*>(&data[0]), data.size()); data 88 crypto/hkdf_unittest.cc EXPECT_EQ(0, memcmp(expected.data(), hkdf.client_write_key().data(), data 36 crypto/hmac.cc bool HMAC::Verify(const base::StringPiece& data, data 40 crypto/hmac.cc return VerifyTruncated(data, digest); data 43 crypto/hmac.cc bool HMAC::VerifyTruncated(const base::StringPiece& data, data 50 crypto/hmac.cc if (!Sign(data, computed_digest.get(), digest_length)) data 53 crypto/hmac.cc return SecureMemEqual(digest.data(), computed_digest.get(), data 58 crypto/hmac.h return Init(reinterpret_cast<const unsigned char*>(key.data()), data 65 crypto/hmac.h bool Sign(const base::StringPiece& data, unsigned char* digest, data 75 crypto/hmac.h bool Verify(const base::StringPiece& data, data 81 crypto/hmac.h const base::StringPiece& data, data 59 crypto/hmac_nss.cc key_item.data = const_cast<unsigned char*>(key); // NSS API isn't const. data 76 crypto/hmac_nss.cc bool HMAC::Sign(const base::StringPiece& data, data 101 crypto/hmac_nss.cc reinterpret_cast<const unsigned char*>(data.data()), data 102 crypto/hmac_nss.cc data.length()) != SECSuccess) { data 43 crypto/hmac_openssl.cc bool HMAC::Sign(const base::StringPiece& data, data 51 crypto/hmac_openssl.cc reinterpret_cast<const unsigned char*>(data.data()), data 52 crypto/hmac_openssl.cc data.size(), data 22 crypto/hmac_unittest.cc const char *data; data 90 crypto/hmac_unittest.cc const char *data; data 149 crypto/hmac_unittest.cc std::string data_string(cases[i].data, cases[i].data_len); data 162 crypto/hmac_unittest.cc std::string data = "Test Using Larger Than Block-Size Key - Hash Key First"; data 163 crypto/hmac_unittest.cc ASSERT_EQ(54U, data.size()); data 177 crypto/hmac_unittest.cc EXPECT_TRUE(hmac.Sign(data, calculated_hmac, kSHA256DigestSize)); data 243 crypto/hmac_unittest.cc std::string data_string(kSimpleHmacCases[i].data, data 260 crypto/hmac_unittest.cc base::StringPiece(kSimpleHmacCases[i].data, data 266 crypto/hmac_unittest.cc base::StringPiece(kSimpleHmacCases[i].data, data 268 crypto/hmac_unittest.cc base::StringPiece(kSimpleHmacCases[i].data, data 273 crypto/hmac_unittest.cc base::StringPiece(kSimpleHmacCases[i].data, data 169 crypto/hmac_win.cc bool HMAC::Sign(const base::StringPiece& data, data 176 crypto/hmac_win.cc reinterpret_cast<const unsigned char*>(data.data()), data 177 crypto/hmac_win.cc data.size(), digest, digest_length); data 201 crypto/hmac_win.cc if (!CryptHashData(hash, reinterpret_cast<const BYTE*>(data.data()), data 202 crypto/hmac_win.cc static_cast<DWORD>(data.size()), 0)) data 36 crypto/mock_apple_keychain.cc void* data) const { data 45 crypto/mock_apple_keychain.h void* data) const OVERRIDE; data 69 crypto/mock_apple_keychain.h const void* data) const OVERRIDE; data 71 crypto/mock_apple_keychain.h void* data) const OVERRIDE; data 172 crypto/mock_apple_keychain.h const void* data, data 192 crypto/mock_apple_keychain.h const void* data, data 206 crypto/mock_apple_keychain.h KeychainPasswordData() : data(NULL), length(0) {} data 207 crypto/mock_apple_keychain.h void* data; data 62 crypto/mock_apple_keychain_mac.cc keychain_attr_list_[key].attr[i].data = calloc(1, data_size); data 72 crypto/mock_apple_keychain_mac.cc if (it->second.attr[i].data) data 73 crypto/mock_apple_keychain_mac.cc free(it->second.attr[i].data); data 76 crypto/mock_apple_keychain_mac.cc if (keychain_data_[it->first].data) data 77 crypto/mock_apple_keychain_mac.cc free(keychain_data_[it->first].data); data 102 crypto/mock_apple_keychain_mac.cc const void* data, data 108 crypto/mock_apple_keychain_mac.cc if (attribute->data) data 109 crypto/mock_apple_keychain_mac.cc free(attribute->data); data 110 crypto/mock_apple_keychain_mac.cc attribute->data = malloc(length); data 111 crypto/mock_apple_keychain_mac.cc CHECK(attribute->data); data 112 crypto/mock_apple_keychain_mac.cc memcpy(attribute->data, data, length); data 114 crypto/mock_apple_keychain_mac.cc attribute->data = NULL; data 128 crypto/mock_apple_keychain_mac.cc UInt32* data = static_cast<UInt32*>(attribute->data); data 129 crypto/mock_apple_keychain_mac.cc *data = value; data 136 crypto/mock_apple_keychain_mac.cc SecProtocolType* data = static_cast<SecProtocolType*>(attribute->data); data 137 crypto/mock_apple_keychain_mac.cc *data = value; data 144 crypto/mock_apple_keychain_mac.cc SecAuthenticationType* data = static_cast<SecAuthenticationType*>( data 145 crypto/mock_apple_keychain_mac.cc attribute->data); data 146 crypto/mock_apple_keychain_mac.cc *data = value; data 153 crypto/mock_apple_keychain_mac.cc Boolean* data = static_cast<Boolean*>(attribute->data); data 154 crypto/mock_apple_keychain_mac.cc *data = value; data 161 crypto/mock_apple_keychain_mac.cc OSType* data = static_cast<OSType*>(attribute->data); data 162 crypto/mock_apple_keychain_mac.cc *data = value; data 166 crypto/mock_apple_keychain_mac.cc const void* data, data 170 crypto/mock_apple_keychain_mac.cc if (keychain_data_[item].data) data 171 crypto/mock_apple_keychain_mac.cc free(keychain_data_[item].data); data 172 crypto/mock_apple_keychain_mac.cc keychain_data_[item].data = malloc(length); data 173 crypto/mock_apple_keychain_mac.cc memcpy(keychain_data_[item].data, data, length); data 175 crypto/mock_apple_keychain_mac.cc keychain_data_[item].data = NULL; data 201 crypto/mock_apple_keychain_mac.cc *outData = keychain_data_[key].data; data 214 crypto/mock_apple_keychain_mac.cc const void* data) const { data 218 crypto/mock_apple_keychain_mac.cc memcmp(data, fail_trigger, length) == 0) { data 231 crypto/mock_apple_keychain_mac.cc void* data = attrList->attr[change_attr].data; data 232 crypto/mock_apple_keychain_mac.cc mutable_this->SetTestDataCreator(key, *(static_cast<OSType*>(data))); data 238 crypto/mock_apple_keychain_mac.cc if (data) data 239 crypto/mock_apple_keychain_mac.cc mutable_this->SetTestDataPasswordBytes(key, data, length); data 245 crypto/mock_apple_keychain_mac.cc void* data) const { data 255 crypto/mock_apple_keychain_mac.cc if (keychain_attr_list_[key].attr[i].data) data 256 crypto/mock_apple_keychain_mac.cc free(keychain_attr_list_[key].attr[i].data); data 259 crypto/mock_apple_keychain_mac.cc if (keychain_data_[key].data) data 260 crypto/mock_apple_keychain_mac.cc free(keychain_data_[key].data); data 285 crypto/mock_apple_keychain_mac.cc memcmp(mock_attribute->data, attrList->attr[search_attr].data, data 320 crypto/mock_apple_keychain_mac.cc (attribute->data == NULL && *serverName != '\0') || data 321 crypto/mock_apple_keychain_mac.cc (attribute->data != NULL && *serverName == '\0') || data 323 crypto/mock_apple_keychain_mac.cc (const char*) attribute->data, data 329 crypto/mock_apple_keychain_mac.cc (attribute->data == NULL && *securityDomain != '\0') || data 330 crypto/mock_apple_keychain_mac.cc (attribute->data != NULL && *securityDomain == '\0') || data 332 crypto/mock_apple_keychain_mac.cc (const char*) attribute->data, data 338 crypto/mock_apple_keychain_mac.cc (attribute->data == NULL && *accountName != '\0') || data 339 crypto/mock_apple_keychain_mac.cc (attribute->data != NULL && *accountName == '\0') || data 341 crypto/mock_apple_keychain_mac.cc (const char*) attribute->data, data 347 crypto/mock_apple_keychain_mac.cc (attribute->data == NULL && *path != '\0') || data 348 crypto/mock_apple_keychain_mac.cc (attribute->data != NULL && *path == '\0') || data 350 crypto/mock_apple_keychain_mac.cc (const char*) attribute->data, data 355 crypto/mock_apple_keychain_mac.cc if ((attribute->data == NULL) || data 356 crypto/mock_apple_keychain_mac.cc (port != *(static_cast<UInt32*>(attribute->data)))) { data 360 crypto/mock_apple_keychain_mac.cc if ((attribute->data == NULL) || data 361 crypto/mock_apple_keychain_mac.cc (protocol != *(static_cast<SecProtocolType*>(attribute->data)))) { data 365 crypto/mock_apple_keychain_mac.cc if ((attribute->data == NULL) || data 367 crypto/mock_apple_keychain_mac.cc *(static_cast<SecAuthenticationType*>(attribute->data)))) { data 485 crypto/mock_apple_keychain_mac.cc OSType* data = static_cast<OSType*>(attribute->data); data 486 crypto/mock_apple_keychain_mac.cc if (*data == 0) data 55 crypto/openpgp_symmetric_encryption.cc *out = base::StringPiece(data_.data(), n); data 124 crypto/openpgp_symmetric_encryption.cc reinterpret_cast<const uint8*>(combined.data()), data 129 crypto/openpgp_symmetric_encryption.cc reinterpret_cast<const uint8*>(combined.data()), data 158 crypto/openpgp_symmetric_encryption.cc key_item.data = const_cast<uint8*>(key); data 316 crypto/openpgp_symmetric_encryption.cc memcpy(buf + j, first_chunk.data(), first_chunk_length); data 329 crypto/openpgp_symmetric_encryption.cc memcpy(buf + j, chunk.data(), chunk_length); data 520 crypto/openpgp_symmetric_encryption.cc memcpy(prefix, prefix_sp.data(), sizeof(prefix)); data 667 crypto/openpgp_symmetric_encryption.cc literal_data += ByteString(reinterpret_cast<const uint8*>(contents.data()), data 718 crypto/openpgp_symmetric_encryption.cc CHECK(CreateAESContext(key.data(), key.size(), &aes_context)); data 739 crypto/openpgp_symmetric_encryption.cc HASH_Update(hash_context, plaintext_copy.data(), plaintext_copy.size()); data 792 crypto/openpgp_symmetric_encryption.cc return std::string(reinterpret_cast<const char*>(b.data()), b.size()); data 650 crypto/p224.cc const uint32* inwords = reinterpret_cast<const uint32*>(in.data()); data 113 crypto/p224_spake.cc SHA256HashString(std::string(password.data(), password.length()), data 152 crypto/p224_spake.cc if (!SecureMemEqual(message.data(), expected_authenticator_, data 101 crypto/p224_spake_unittest.cc const_cast<char*>(m->data())[bit_to_corrupt / 8] ^= data 780 crypto/p224_unittest.cc EXPECT_TRUE(memcmp(external.data(), kBasePointExternal, data 791 crypto/p224_unittest.cc EXPECT_TRUE(memcmp(external.data(), kNISTTestVectors[i].affine, data 818 crypto/p224_unittest.cc EXPECT_TRUE(memcmp(zeros, a.ToString().data(), sizeof(zeros)) == 0); data 176 crypto/rsa_private_key.cc std::list<uint8>* data) { data 177 crypto/rsa_private_key.cc PrependIntegerImpl(val, num_bytes, data, big_endian_); data 182 crypto/rsa_private_key.cc std::list<uint8>* data, data 199 crypto/rsa_private_key.cc PrependBytes(val, start, num_bytes, data); data 205 crypto/rsa_private_key.cc uint8 front = data->front(); data 207 crypto/rsa_private_key.cc data->push_front(0x00); data 211 crypto/rsa_private_key.cc PrependTypeHeaderAndLength(kIntegerTag, num_bytes, data); data 275 crypto/rsa_private_key.cc std::list<uint8>* data) { data 278 crypto/rsa_private_key.cc data->push_front(val[start + num_bytes]); data 282 crypto/rsa_private_key.cc void PrivateKeyInfoCodec::PrependLength(size_t size, std::list<uint8>* data) { data 286 crypto/rsa_private_key.cc data->push_front(static_cast<uint8>(size)); data 290 crypto/rsa_private_key.cc data->push_front(static_cast<uint8>(size & 0xFF)); data 295 crypto/rsa_private_key.cc data->push_front(0x80 | num_bytes); data 89 crypto/rsa_private_key.h void PrependInteger(uint8* val, int num_bytes, std::list<uint8>* data); data 95 crypto/rsa_private_key.h std::list<uint8>* data, data 118 crypto/rsa_private_key.h std::list<uint8>* data); data 121 crypto/rsa_private_key.h void PrependLength(size_t size, std::list<uint8>* data); data 36 crypto/rsa_private_key_nss.cc output->assign(item.data, item.data + item.len); data 122 crypto/rsa_private_key_nss.cc key_der.data = const_cast<unsigned char*>(&input[0]); data 207 crypto/rsa_private_key_nss.cc output->assign(der_pubkey->data, der_pubkey->data + der_pubkey->len); data 253 crypto/rsa_private_key_nss.cc der_private_key_info.data = const_cast<unsigned char*>(&input.front()); data 38 crypto/rsa_private_key_openssl.cc char* data = NULL; data 39 crypto/rsa_private_key_openssl.cc long len = BIO_get_mem_data(bio.get(), &data); data 40 crypto/rsa_private_key_openssl.cc if (!data || len < 0) data 43 crypto/rsa_private_key_openssl.cc output->assign(data, data + len); data 77 crypto/rsa_private_key_openssl.cc char* data = reinterpret_cast<char*>(const_cast<uint8*>(&input[0])); data 78 crypto/rsa_private_key_openssl.cc ScopedOpenSSL<BIO, BIO_free_all> bio(BIO_new_mem_buf(data, input.size())); data 75 crypto/secure_hash_default.cc const char* data = NULL; data 76 crypto/secure_hash_default.cc if (!data_iterator->ReadBytes(&data, sizeof(ctx_))) data 79 crypto/secure_hash_default.cc memcpy(&ctx_, data, sizeof(ctx_)); data 81 crypto/secure_hash_openssl.cc const char* data = NULL; data 82 crypto/secure_hash_openssl.cc if (!data_iterator->ReadBytes(&data, sizeof(ctx_))) data 85 crypto/secure_hash_openssl.cc memcpy(&ctx_, data, sizeof(ctx_)); data 29 crypto/secure_hash_unittest.cc ctx->Update(input3.data(), input3.size()); data 30 crypto/secure_hash_unittest.cc ctx->Update(input3.data(), input3.size()); data 55 crypto/secure_hash_unittest.cc ctx1->Update(input1.data(), input1.size()); data 56 crypto/secure_hash_unittest.cc ctx1->Update(input2.data(), input2.size()); data 57 crypto/secure_hash_unittest.cc ctx1->Update(input3.data(), input3.size()); data 60 crypto/secure_hash_unittest.cc ctx1->Update(input4.data(), input4.size()); data 61 crypto/secure_hash_unittest.cc ctx1->Update(input5.data(), input5.size()); data 67 crypto/secure_hash_unittest.cc ctx2->Update(input4.data(), input4.size()); data 68 crypto/secure_hash_unittest.cc ctx2->Update(input5.data(), input5.size()); data 15 crypto/sha2.cc ctx->Update(str.data(), str.length()); data 40 crypto/signature_creator.h const uint8* data, data 48 crypto/signature_creator_nss.cc const uint8* data, data 53 crypto/signature_creator_nss.cc data_item.data = const_cast<unsigned char*>(data); data 63 crypto/signature_creator_nss.cc signature->assign(signature_item.data, data 64 crypto/signature_creator_nss.cc signature_item.data + signature_item.len); data 85 crypto/signature_creator_nss.cc signature->assign(signature_item.data, data 86 crypto/signature_creator_nss.cc signature_item.data + signature_item.len); data 30 crypto/signature_creator_openssl.cc const uint8* data, data 39 crypto/signature_creator_openssl.cc bool success = RSA_sign(NID_sha1, data, data_len, vector_as_array(signature), data 40 crypto/signature_creator_unittest.cc std::string data("Hello, World!"); data 41 crypto/signature_creator_unittest.cc ASSERT_TRUE(signer->Update(reinterpret_cast<const uint8*>(data.c_str()), data 42 crypto/signature_creator_unittest.cc data.size())); data 56 crypto/signature_creator_unittest.cc verifier.VerifyUpdate(reinterpret_cast<const uint8*>(data.c_str()), data 57 crypto/signature_creator_unittest.cc data.size()); data 73 crypto/signature_creator_unittest.cc std::string data("Hello, World!"); data 74 crypto/signature_creator_unittest.cc std::string sha1 = base::SHA1HashString(data); data 93 crypto/signature_creator_unittest.cc verifier.VerifyUpdate(reinterpret_cast<const uint8*>(data.c_str()), data 94 crypto/signature_creator_unittest.cc data.size()); data 100 crypto/signature_verifier_nss.cc sig_alg_der.data = const_cast<uint8*>(signature_algorithm); data 115 crypto/signature_verifier_nss.cc sig.data = const_cast<uint8*>(signature); data 183 crypto/signature_verifier_nss.cc signature_.data(), data 200 crypto/signature_verifier_nss.cc spki_der.data = const_cast<uint8*>(public_key_info); data 137 crypto/signature_verifier_openssl.cc char* data = reinterpret_cast<char*>(const_cast<uint8*>(public_key_info)); data 138 crypto/signature_verifier_openssl.cc ScopedOpenSSL<BIO, BIO_free_all> bio(BIO_new_mem_buf(data, data 50 crypto/symmetric_key_nss.cc password_item.data = reinterpret_cast<unsigned char*>( data 51 crypto/symmetric_key_nss.cc const_cast<char *>(password.data())); data 56 crypto/symmetric_key_nss.cc salt_item.data = reinterpret_cast<unsigned char*>( data 57 crypto/symmetric_key_nss.cc const_cast<char *>(salt.data())); data 92 crypto/symmetric_key_nss.cc key_item.data = reinterpret_cast<unsigned char*>( data 93 crypto/symmetric_key_nss.cc const_cast<char *>(raw_key.data())); data 120 crypto/symmetric_key_nss.cc raw_key->assign(reinterpret_cast<char*>(key_item->data), key_item->len); data 59 crypto/symmetric_key_openssl.cc int rv = PKCS5_PBKDF2_HMAC_SHA1(password.data(), password.length(), data 60 crypto/symmetric_key_openssl.cc reinterpret_cast<const uint8*>(salt.data()), data 103 crypto/symmetric_key_unittest.cc StringToLowerASCII(base::HexEncode(raw_key.data(), data 260 crypto/symmetric_key_win.cc ok = CryptHashData(safe_hash, reinterpret_cast<const BYTE*>(salt.data()), data 311 crypto/symmetric_key_win.cc SecureZeroMemory(const_cast<char *>(raw_key_.data()), raw_key_.size()); data 394 crypto/symmetric_key_win.cc const_cast<BYTE*>(reinterpret_cast<const BYTE*>(password.data())); data 491 crypto/symmetric_key_win.cc if (!ImportRawKey(provider, alg, raw_key.data(), raw_key.size(), &key)) data 495 crypto/symmetric_key_win.cc raw_key.data(), raw_key.size()); data 60 crypto/third_party/nss/secsign.cc return SEC_DerSignData(arena, result, input->data, input->len, key, data 93 crypto/third_party/nss/secsign.cc hash_type, &hash_data[0], input->data, input->len); data 111 crypto/third_party/nss/secsign.cc sd.data.data = (unsigned char*) input->data; data 112 crypto/third_party/nss/secsign.cc sd.data.len = input->len; data 129 crypto/third_party/nss/secsign.cc PORT_Free(sd.signature.data); data 1124 dbus/bus.cc dbus_bool_t Bus::OnAddWatchThunk(DBusWatch* raw_watch, void* data) { data 1125 dbus/bus.cc Bus* self = static_cast<Bus*>(data); data 1130 dbus/bus.cc void Bus::OnRemoveWatchThunk(DBusWatch* raw_watch, void* data) { data 1131 dbus/bus.cc Bus* self = static_cast<Bus*>(data); data 1136 dbus/bus.cc void Bus::OnToggleWatchThunk(DBusWatch* raw_watch, void* data) { data 1137 dbus/bus.cc Bus* self = static_cast<Bus*>(data); data 1142 dbus/bus.cc dbus_bool_t Bus::OnAddTimeoutThunk(DBusTimeout* raw_timeout, void* data) { data 1143 dbus/bus.cc Bus* self = static_cast<Bus*>(data); data 1148 dbus/bus.cc void Bus::OnRemoveTimeoutThunk(DBusTimeout* raw_timeout, void* data) { data 1149 dbus/bus.cc Bus* self = static_cast<Bus*>(data); data 1154 dbus/bus.cc void Bus::OnToggleTimeoutThunk(DBusTimeout* raw_timeout, void* data) { data 1155 dbus/bus.cc Bus* self = static_cast<Bus*>(data); data 1162 dbus/bus.cc void* data) { data 1163 dbus/bus.cc Bus* self = static_cast<Bus*>(data); data 1171 dbus/bus.cc void* data) { data 1175 dbus/bus.cc Bus* self = static_cast<Bus*>(data); data 1186 dbus/bus.cc void* data) { data 1190 dbus/bus.cc Bus* self = static_cast<Bus*>(data); data 667 dbus/bus.h static dbus_bool_t OnAddWatchThunk(DBusWatch* raw_watch, void* data); data 668 dbus/bus.h static void OnRemoveWatchThunk(DBusWatch* raw_watch, void* data); data 669 dbus/bus.h static void OnToggleWatchThunk(DBusWatch* raw_watch, void* data); data 670 dbus/bus.h static dbus_bool_t OnAddTimeoutThunk(DBusTimeout* raw_timeout, void* data); data 671 dbus/bus.h static void OnRemoveTimeoutThunk(DBusTimeout* raw_timeout, void* data); data 672 dbus/bus.h static void OnToggleTimeoutThunk(DBusTimeout* raw_timeout, void* data); data 675 dbus/bus.h void* data); data 633 dbus/message.cc AppendArrayOfBytes(reinterpret_cast<const uint8*>(serialized_proto.data()), data 208 dbus/message_unittest.cc writer.AppendArrayOfBytes(bytes.data(), bytes.size()); data 225 dbus/message_unittest.cc writer.AppendArrayOfBytes(bytes.data(), bytes.size()); data 273 dbus/object_proxy.cc OnPendingCallIsCompleteData* data = data 281 dbus/object_proxy.cc data, data 367 dbus/object_proxy.cc OnPendingCallIsCompleteData* data = data 369 dbus/object_proxy.cc ObjectProxy* self = data->object_proxy; data 371 dbus/object_proxy.cc data->response_callback, data 372 dbus/object_proxy.cc data->error_callback, data 373 dbus/object_proxy.cc data->start_time); data 374 dbus/object_proxy.cc delete data; data 476 dbus/property.cc variant_writer.AppendArrayOfBytes(set_value_.data(), set_value_.size()); data 191 dbus/values_util_unittest.cc std::vector<int32> data; data 192 dbus/values_util_unittest.cc data.push_back(0); data 193 dbus/values_util_unittest.cc data.push_back(1); data 194 dbus/values_util_unittest.cc data.push_back(2); data 196 dbus/values_util_unittest.cc for (size_t i = 0; i != data.size(); ++i) data 197 dbus/values_util_unittest.cc sub_writer.AppendInt32(data[i]); data 202 dbus/values_util_unittest.cc for (size_t i = 0; i != data.size(); ++i) data 203 dbus/values_util_unittest.cc list_value->Append(new base::FundamentalValue(data[i])); data 217 dbus/values_util_unittest.cc std::vector<std::string> data; data 218 dbus/values_util_unittest.cc data.push_back("Dreamlifter"); data 219 dbus/values_util_unittest.cc data.push_back("Beluga"); data 220 dbus/values_util_unittest.cc data.push_back("Mriya"); data 221 dbus/values_util_unittest.cc writer.AppendArrayOfStrings(data); data 225 dbus/values_util_unittest.cc for (size_t i = 0; i != data.size(); ++i) data 226 dbus/values_util_unittest.cc list_value->Append(new base::StringValue(data[i])); data 87 device/bluetooth/bluetooth_adapter.h typedef base::Callback<void(const BluetoothOutOfBandPairingData& data)> data 345 device/bluetooth/bluetooth_device.h const BluetoothOutOfBandPairingData& data, data 386 device/bluetooth/bluetooth_device_chromeos.cc const device::BluetoothOutOfBandPairingData& data, data 62 device/bluetooth/bluetooth_device_chromeos.h const device::BluetoothOutOfBandPairingData& data, data 62 device/bluetooth/bluetooth_device_mac.h const BluetoothOutOfBandPairingData& data, data 192 device/bluetooth/bluetooth_device_win.cc const BluetoothOutOfBandPairingData& data, data 62 device/bluetooth/bluetooth_device_win.h const BluetoothOutOfBandPairingData& data, data 215 device/bluetooth/bluetooth_profile_chromeos_unittest.cc std::string data = std::string(read_buffer->StartOfBuffer(), data 217 device/bluetooth/bluetooth_profile_chromeos_unittest.cc EXPECT_EQ("test", data); data 340 device/bluetooth/bluetooth_profile_chromeos_unittest.cc std::string data = std::string(read_buffer->StartOfBuffer(), data 342 device/bluetooth/bluetooth_profile_chromeos_unittest.cc EXPECT_EQ("test", data); data 26 device/bluetooth/bluetooth_service_record_win.cc sequence_data.data.sequence.value, data 27 device/bluetooth/bluetooth_service_record_win.cc sequence_data.data.sequence.length, data 52 device/bluetooth/bluetooth_service_record_win.cc inner_sequence_data.data.uuid32 == kRfcommUuid && data 58 device/bluetooth/bluetooth_service_record_win.cc *rfcomm_channel = inner_sequence_data.data.uint8; data 74 device/bluetooth/bluetooth_service_record_win.cc base::StringPrintf("%04x", inner_uuid_data.data.uuid16); data 78 device/bluetooth/bluetooth_service_record_win.cc base::StringPrintf("%08x", inner_uuid_data.data.uuid32); data 83 device/bluetooth/bluetooth_service_record_win.cc inner_uuid_data.data.uuid128.Data1, data 84 device/bluetooth/bluetooth_service_record_win.cc inner_uuid_data.data.uuid128.Data2, data 85 device/bluetooth/bluetooth_service_record_win.cc inner_uuid_data.data.uuid128.Data3, data 86 device/bluetooth/bluetooth_service_record_win.cc inner_uuid_data.data.uuid128.Data4[0], data 87 device/bluetooth/bluetooth_service_record_win.cc inner_uuid_data.data.uuid128.Data4[1], data 88 device/bluetooth/bluetooth_service_record_win.cc inner_uuid_data.data.uuid128.Data4[2], data 89 device/bluetooth/bluetooth_service_record_win.cc inner_uuid_data.data.uuid128.Data4[3], data 90 device/bluetooth/bluetooth_service_record_win.cc inner_uuid_data.data.uuid128.Data4[4], data 91 device/bluetooth/bluetooth_service_record_win.cc inner_uuid_data.data.uuid128.Data4[5], data 92 device/bluetooth/bluetooth_service_record_win.cc inner_uuid_data.data.uuid128.Data4[6], data 93 device/bluetooth/bluetooth_service_record_win.cc inner_uuid_data.data.uuid128.Data4[7])); data 98 device/bluetooth/bluetooth_socket_chromeos.cc HANDLE_EINTR(read(fd_, buffer->data(), buffer->RemainingCapacity())); data 134 device/bluetooth/bluetooth_socket_chromeos.cc HANDLE_EINTR(write(fd_, buffer->data(), buffer->BytesRemaining())); data 52 device/bluetooth/bluetooth_socket_mac.h void* data, data 82 device/bluetooth/bluetooth_socket_win.cc bytes_read = recv(fd_, buffer->data(), buffer->RemainingCapacity(), 0); data 98 device/bluetooth/bluetooth_socket_win.cc bytes_written = send(fd_, buffer->data(), buffer->BytesRemaining(), 0); data 70 device/bluetooth/test/mock_bluetooth_device.h void(const BluetoothOutOfBandPairingData& data, data 40 device/hid/hid_connection_linux.cc new_buffer->data()[0] = report_id; data 41 device/hid/hid_connection_linux.cc memcpy(new_buffer->data() + 1, buffer->data(), buffer->size()); data 109 device/hid/hid_connection_linux.cc memcpy(report.buffer->data(), buffer, bytes_read); data 145 device/hid/hid_connection_linux.cc write(device_file_.GetPlatformFile(), buffer->data(), buffer->size())); data 166 device/hid/hid_connection_linux.cc buffer->data()[0] = report_id; data 169 device/hid/hid_connection_linux.cc buffer->data()); data 185 device/hid/hid_connection_linux.cc buffer->data()); data 200 device/hid/hid_connection_linux.cc memcpy(read.buffer->data(), report.buffer->data(), report.buffer->size()); data 79 device/hid/hid_connection_mac.cc uint8_t* feature_report_buffer = reinterpret_cast<uint8_t*>(buffer->data()); data 111 device/hid/hid_connection_mac.cc memcpy(buffer->data(), report_bytes, report_length); data 128 device/hid/hid_connection_mac.cc memcpy(read.buffer->data(), report.buffer->data(), report.buffer->size()); data 157 device/hid/hid_connection_mac.cc output_buffer->data()[0] = static_cast<uint8_t>(report_id); data 158 device/hid/hid_connection_mac.cc memcpy(output_buffer->data() + 1, buffer->data(), buffer->size()); data 161 device/hid/hid_connection_mac.cc memcpy(output_buffer->data(), buffer->data(), buffer->size()); data 167 device/hid/hid_connection_mac.cc reinterpret_cast<uint8_t*>(output_buffer->data()), data 38 device/hid/hid_connection_unittest.cc uint64_t* data = reinterpret_cast<uint64_t*>(buffer->data()); data 39 device/hid/hid_connection_unittest.cc EXPECT_EQ(kReport, *data); data 68 device/hid/hid_connection_unittest.cc *(int64_t*)buffer->data() = kReport; data 150 device/hid/hid_connection_win.cc receive_buffer->data(), data 170 device/hid/hid_connection_win.cc output_buffer->data()[0] = report_id; data 171 device/hid/hid_connection_win.cc memcpy(output_buffer->data() + 1, buffer->data(), buffer->size()); data 178 device/hid/hid_connection_win.cc output_buffer->data(), data 205 device/hid/hid_connection_win.cc receive_buffer->data()[0] = report_id; data 214 device/hid/hid_connection_win.cc receive_buffer->data(), data 240 device/hid/hid_connection_win.cc output_buffer->data()[0] = report_id; data 241 device/hid/hid_connection_win.cc memcpy(output_buffer->data() + 1, buffer->data(), buffer->size()); data 248 device/hid/hid_connection_win.cc output_buffer->data(), data 272 device/hid/hid_connection_win.cc memcpy(transfer->target_buffer_->data(), data 273 device/hid/hid_connection_win.cc transfer->receive_buffer_->data() + 1, data 362 device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc std::string data(reinterpret_cast<const char*>(data_bytes), data_length); data 363 device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc callback.Run(data); data 64 device/media_transfer_protocol/media_transfer_protocol_daemon_client.h typedef base::Callback<void(const std::string& data)> ReadFileCallback; data 393 device/media_transfer_protocol/media_transfer_protocol_manager.cc void OnReadFile(const std::string& data) { data 395 device/media_transfer_protocol/media_transfer_protocol_manager.cc read_file_callbacks_.front().Run(data, false); data 51 device/media_transfer_protocol/media_transfer_protocol_manager.h typedef base::Callback<void(const std::string& data, data 435 device/nfc/nfc_chromeos_unittest.cc EXPECT_TRUE(record->data().GetString(NfcNdefRecord::kFieldURI, &uri)); data 646 device/nfc/nfc_chromeos_unittest.cc EXPECT_TRUE(received_record->data().GetString( data 672 device/nfc/nfc_chromeos_unittest.cc base::DictionaryValue data; data 673 device/nfc/nfc_chromeos_unittest.cc data.SetString(NfcNdefRecord::kFieldText, kText); data 674 device/nfc/nfc_chromeos_unittest.cc data.SetString(NfcNdefRecord::kFieldLanguageCode, kLanguageCode); data 675 device/nfc/nfc_chromeos_unittest.cc data.SetString(NfcNdefRecord::kFieldEncoding, kEncoding); data 678 device/nfc/nfc_chromeos_unittest.cc ASSERT_TRUE(record->Populate(NfcNdefRecord::kTypeText, &data)); data 699 device/nfc/nfc_chromeos_unittest.cc data.Clear(); data 700 device/nfc/nfc_chromeos_unittest.cc data.SetString(NfcNdefRecord::kFieldURI, kURI); data 701 device/nfc/nfc_chromeos_unittest.cc data.SetString(NfcNdefRecord::kFieldMimeType, kMimeType); data 702 device/nfc/nfc_chromeos_unittest.cc data.SetDouble(NfcNdefRecord::kFieldTargetSize, kSize); data 705 device/nfc/nfc_chromeos_unittest.cc ASSERT_TRUE(record->Populate(NfcNdefRecord::kTypeURI, &data)); data 729 device/nfc/nfc_chromeos_unittest.cc data.Set(NfcNdefRecord::kFieldTitles, titles); data 732 device/nfc/nfc_chromeos_unittest.cc ASSERT_TRUE(record->Populate(NfcNdefRecord::kTypeSmartPoster, &data)); data 782 device/nfc/nfc_chromeos_unittest.cc EXPECT_TRUE(record->data().GetString( data 785 device/nfc/nfc_chromeos_unittest.cc EXPECT_TRUE(record->data().GetString( data 788 device/nfc/nfc_chromeos_unittest.cc EXPECT_TRUE(record->data().GetString( data 808 device/nfc/nfc_chromeos_unittest.cc EXPECT_TRUE(record->data().GetString( data 811 device/nfc/nfc_chromeos_unittest.cc EXPECT_TRUE(record->data().GetString( data 815 device/nfc/nfc_chromeos_unittest.cc EXPECT_TRUE(record->data().GetDouble( data 836 device/nfc/nfc_chromeos_unittest.cc EXPECT_TRUE(record->data().GetString( data 839 device/nfc/nfc_chromeos_unittest.cc EXPECT_TRUE(record->data().GetString( data 842 device/nfc/nfc_chromeos_unittest.cc EXPECT_TRUE(record->data().GetDouble( data 847 device/nfc/nfc_chromeos_unittest.cc EXPECT_TRUE(record->data().GetList(NfcNdefRecord::kFieldTitles, &titles)); data 21 device/nfc/nfc_ndef_record.cc bool ValidateURI(const DictionaryValue* data) { data 23 device/nfc/nfc_ndef_record.cc if (!data->GetString(NfcNdefRecord::kFieldURI, &uri)) { data 41 device/nfc/nfc_ndef_record.cc const DictionaryValue* data) { data 43 device/nfc/nfc_ndef_record.cc for (DictionaryValue::Iterator iter(*data); data 86 device/nfc/nfc_ndef_record.cc bool HandleTypeText(const DictionaryValue* data) { data 93 device/nfc/nfc_ndef_record.cc if (!CheckFieldsAreValid(required_fields, optional_fields, data)) { data 100 device/nfc/nfc_ndef_record.cc if (!data->GetString(NfcNdefRecord::kFieldEncoding, &encoding)) { data 112 device/nfc/nfc_ndef_record.cc bool HandleTypeSmartPoster(const DictionaryValue* data) { data 125 device/nfc/nfc_ndef_record.cc if (!CheckFieldsAreValid(required_fields, optional_fields, data)) { data 131 device/nfc/nfc_ndef_record.cc if (data->GetList(NfcNdefRecord::kFieldTitles, &titles)) { data 150 device/nfc/nfc_ndef_record.cc return ValidateURI(data); data 155 device/nfc/nfc_ndef_record.cc bool HandleTypeUri(const DictionaryValue* data) { data 164 device/nfc/nfc_ndef_record.cc if (!CheckFieldsAreValid(required_fields, optional_fields, data)) { data 168 device/nfc/nfc_ndef_record.cc return ValidateURI(data); data 210 device/nfc/nfc_ndef_record.cc bool NfcNdefRecord::Populate(Type type, const DictionaryValue* data) { data 220 device/nfc/nfc_ndef_record.cc result = HandleTypeText(data); data 223 device/nfc/nfc_ndef_record.cc result = HandleTypeSmartPoster(data); data 226 device/nfc/nfc_ndef_record.cc result = HandleTypeUri(data); data 235 device/nfc/nfc_ndef_record.cc data_.MergeDictionary(data); data 107 device/nfc/nfc_ndef_record.h const base::DictionaryValue& data() const { return data_; } data 120 device/nfc/nfc_ndef_record.h bool Populate(Type type, const base::DictionaryValue* data); data 29 device/nfc/nfc_ndef_record_unittest.cc DictionaryValue data; data 33 device/nfc/nfc_ndef_record_unittest.cc EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeText, &data)); data 37 device/nfc/nfc_ndef_record_unittest.cc data.SetInteger(NfcNdefRecord::kFieldText, 0); data 38 device/nfc/nfc_ndef_record_unittest.cc EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeText, &data)); data 43 device/nfc/nfc_ndef_record_unittest.cc data.SetString(NfcNdefRecord::kFieldText, kTestText); data 44 device/nfc/nfc_ndef_record_unittest.cc EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeText, &data)); data 48 device/nfc/nfc_ndef_record_unittest.cc EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeText, &data)); data 51 device/nfc/nfc_ndef_record_unittest.cc data.SetInteger(NfcNdefRecord::kFieldLanguageCode, 0); data 52 device/nfc/nfc_ndef_record_unittest.cc EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeText, &data)); data 56 device/nfc/nfc_ndef_record_unittest.cc data.SetString(NfcNdefRecord::kFieldLanguageCode, kTestLanguageCode); data 57 device/nfc/nfc_ndef_record_unittest.cc data.SetInteger(NfcNdefRecord::kFieldEncoding, 0); data 58 device/nfc/nfc_ndef_record_unittest.cc EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeText, &data)); data 62 device/nfc/nfc_ndef_record_unittest.cc data.SetString(NfcNdefRecord::kFieldEncoding, kTestEncoding); data 63 device/nfc/nfc_ndef_record_unittest.cc EXPECT_TRUE(record->Populate(NfcNdefRecord::kTypeText, &data)); data 69 device/nfc/nfc_ndef_record_unittest.cc EXPECT_TRUE(record->data().GetString( data 72 device/nfc/nfc_ndef_record_unittest.cc EXPECT_TRUE(record->data().GetString( data 75 device/nfc/nfc_ndef_record_unittest.cc EXPECT_TRUE(record->data().GetString( data 81 device/nfc/nfc_ndef_record_unittest.cc DictionaryValue data; data 85 device/nfc/nfc_ndef_record_unittest.cc EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeURI, &data)); data 89 device/nfc/nfc_ndef_record_unittest.cc data.SetInteger(NfcNdefRecord::kFieldURI, 0); data 90 device/nfc/nfc_ndef_record_unittest.cc EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeURI, &data)); data 94 device/nfc/nfc_ndef_record_unittest.cc data.SetString(NfcNdefRecord::kFieldURI, "test.uri"); data 95 device/nfc/nfc_ndef_record_unittest.cc EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeURI, &data)); data 98 device/nfc/nfc_ndef_record_unittest.cc data.SetString(NfcNdefRecord::kFieldURI, kTestURI); data 99 device/nfc/nfc_ndef_record_unittest.cc EXPECT_TRUE(record->Populate(NfcNdefRecord::kTypeURI, &data)); data 104 device/nfc/nfc_ndef_record_unittest.cc EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeURI, &data)); data 111 device/nfc/nfc_ndef_record_unittest.cc data.SetInteger(NfcNdefRecord::kFieldMimeType, 0); data 112 device/nfc/nfc_ndef_record_unittest.cc EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeURI, &data)); data 115 device/nfc/nfc_ndef_record_unittest.cc data.SetString(NfcNdefRecord::kFieldMimeType, kTestMimeType); data 116 device/nfc/nfc_ndef_record_unittest.cc data.SetInteger(NfcNdefRecord::kFieldTargetSize, kTestTargetSize); data 117 device/nfc/nfc_ndef_record_unittest.cc EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeURI, &data)); data 121 device/nfc/nfc_ndef_record_unittest.cc data.SetDouble(NfcNdefRecord::kFieldTargetSize, data 123 device/nfc/nfc_ndef_record_unittest.cc EXPECT_TRUE(record->Populate(NfcNdefRecord::kTypeURI, &data)); data 130 device/nfc/nfc_ndef_record_unittest.cc EXPECT_TRUE(record->data().GetString( data 133 device/nfc/nfc_ndef_record_unittest.cc EXPECT_TRUE(record->data().GetString( data 136 device/nfc/nfc_ndef_record_unittest.cc EXPECT_TRUE(record->data().GetDouble( data 142 device/nfc/nfc_ndef_record_unittest.cc DictionaryValue data; data 146 device/nfc/nfc_ndef_record_unittest.cc EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeSmartPoster, &data)); data 150 device/nfc/nfc_ndef_record_unittest.cc data.SetInteger(NfcNdefRecord::kFieldURI, 0); data 151 device/nfc/nfc_ndef_record_unittest.cc EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeSmartPoster, &data)); data 155 device/nfc/nfc_ndef_record_unittest.cc data.SetString(NfcNdefRecord::kFieldURI, kTestURI); data 156 device/nfc/nfc_ndef_record_unittest.cc EXPECT_TRUE(record->Populate(NfcNdefRecord::kTypeSmartPoster, &data)); data 161 device/nfc/nfc_ndef_record_unittest.cc EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeSmartPoster, &data)); data 168 device/nfc/nfc_ndef_record_unittest.cc data.SetInteger(NfcNdefRecord::kFieldAction, 0); data 169 device/nfc/nfc_ndef_record_unittest.cc EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeSmartPoster, &data)); data 172 device/nfc/nfc_ndef_record_unittest.cc data.SetString(NfcNdefRecord::kFieldAction, kTestAction); data 173 device/nfc/nfc_ndef_record_unittest.cc data.SetInteger(NfcNdefRecord::kFieldMimeType, 0); data 174 device/nfc/nfc_ndef_record_unittest.cc EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeSmartPoster, &data)); data 177 device/nfc/nfc_ndef_record_unittest.cc data.SetString(NfcNdefRecord::kFieldMimeType, kTestMimeType); data 178 device/nfc/nfc_ndef_record_unittest.cc data.SetInteger(NfcNdefRecord::kFieldTargetSize, kTestTargetSize); data 179 device/nfc/nfc_ndef_record_unittest.cc EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeSmartPoster, &data)); data 182 device/nfc/nfc_ndef_record_unittest.cc data.SetDouble(NfcNdefRecord::kFieldTargetSize, kTestTargetSize); data 183 device/nfc/nfc_ndef_record_unittest.cc data.SetInteger(NfcNdefRecord::kFieldTitles, 0); data 184 device/nfc/nfc_ndef_record_unittest.cc EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeSmartPoster, &data)); data 189 device/nfc/nfc_ndef_record_unittest.cc data.Set(NfcNdefRecord::kFieldTitles, list_value); data 191 device/nfc/nfc_ndef_record_unittest.cc EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeSmartPoster, &data)); data 198 device/nfc/nfc_ndef_record_unittest.cc EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeSmartPoster, &data)); data 204 device/nfc/nfc_ndef_record_unittest.cc EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeSmartPoster, &data)); data 212 device/nfc/nfc_ndef_record_unittest.cc EXPECT_TRUE(record->Populate(NfcNdefRecord::kTypeSmartPoster, &data)); data 220 device/nfc/nfc_ndef_record_unittest.cc EXPECT_TRUE(record->data().GetString( data 223 device/nfc/nfc_ndef_record_unittest.cc EXPECT_TRUE(record->data().GetString( data 226 device/nfc/nfc_ndef_record_unittest.cc EXPECT_TRUE(record->data().GetDouble( data 229 device/nfc/nfc_ndef_record_unittest.cc EXPECT_TRUE(record->data().GetString( data 232 device/nfc/nfc_ndef_record_unittest.cc EXPECT_TRUE(record->data().GetList( data 170 device/nfc/nfc_ndef_record_utils_chromeos.cc return ConvertNdefFieldsToDBusAttributes(record->data(), out); data 55 extensions/browser/api/socket/socket.cc io_buffer_write_ = new net::WrappedIOBuffer(request.io_buffer->data() + data 391 extensions/browser/api/socket/socket_api.cc base::BinaryValue::CreateWithCopiedBuffer(io_buffer->data(), data 408 extensions/browser/api/socket/socket_api.cc base::BinaryValue* data = NULL; data 409 extensions/browser/api/socket/socket_api.cc EXTENSION_FUNCTION_VALIDATE(args_->GetBinary(1, &data)); data 411 extensions/browser/api/socket/socket_api.cc io_buffer_size_ = data->GetSize(); data 412 extensions/browser/api/socket/socket_api.cc io_buffer_ = new net::WrappedIOBuffer(data->GetBuffer()); data 468 extensions/browser/api/socket/socket_api.cc base::BinaryValue::CreateWithCopiedBuffer(io_buffer->data(), data 491 extensions/browser/api/socket/socket_api.cc base::BinaryValue* data = NULL; data 492 extensions/browser/api/socket/socket_api.cc EXTENSION_FUNCTION_VALIDATE(args_->GetBinary(1, &data)); data 496 extensions/browser/api/socket/socket_api.cc io_buffer_size_ = data->GetSize(); data 497 extensions/browser/api/socket/socket_api.cc io_buffer_ = new net::WrappedIOBuffer(data->GetBuffer()); data 151 extensions/browser/api/socket/udp_socket.cc &address->data, data 228 extensions/browser/api/socket/udp_socket.cc IPEndPointToStringAndPort(address->data, &ip, &port); data 337 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc io_buffer_size_ = params_->data.size(); data 338 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc io_buffer_ = new net::WrappedIOBuffer(params_->data.data()); data 130 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc receive_info.data = std::string(io_buffer->data(), bytes_read); data 220 extensions/browser/api/sockets_udp/sockets_udp_api.cc io_buffer_size_ = params_->data.size(); data 221 extensions/browser/api/sockets_udp/sockets_udp_api.cc io_buffer_ = new net::WrappedIOBuffer(params_->data.data()); data 114 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc receive_info.data = std::string(io_buffer->data(), bytes_read); data 29 extensions/browser/file_reader.cc std::string data; data 30 extensions/browser/file_reader.cc bool success = base::ReadFileToString(resource_.GetFilePath(), &data); data 31 extensions/browser/file_reader.cc origin_loop_->PostTask(FROM_HERE, base::Bind(callback_, success, data)); data 45 extensions/browser/file_reader_unittest.cc void DidReadFile(bool success, const std::string& data) { data 47 extensions/browser/file_reader_unittest.cc data_ = data; data 75 extensions/browser/file_reader_unittest.cc EXPECT_EQ(file_contents, receiver.data()); data 12 extensions/common/api/messaging/message.h std::string data; data 15 extensions/common/api/messaging/message.h Message() : data(), user_gesture(false) {} data 16 extensions/common/api/messaging/message.h Message(const std::string& data, bool user_gesture) data 17 extensions/common/api/messaging/message.h : data(data), user_gesture(user_gesture) {} data 30 extensions/common/api/sockets/sockets_manifest_data.cc const SocketsManifestData* data = SocketsManifestData::Get(extension); data 31 extensions/common/api/sockets/sockets_manifest_data.cc if (data) data 32 extensions/common/api/sockets/sockets_manifest_data.cc return data->permission()->CheckRequest(extension, request); data 22 extensions/common/api/sockets/sockets_manifest_handler.cc scoped_ptr<SocketsManifestData> data = data 24 extensions/common/api/sockets/sockets_manifest_handler.cc if (!data) data 27 extensions/common/api/sockets/sockets_manifest_handler.cc extension->SetManifestData(manifest_keys::kSockets, data.release()); data 37 extensions/common/api/sockets/sockets_manifest_handler.cc SocketsManifestData* data = SocketsManifestData::Get(extension); data 38 extensions/common/api/sockets/sockets_manifest_handler.cc if (data) data 39 extensions/common/api/sockets/sockets_manifest_handler.cc return data->permission()->Clone(); data 401 extensions/common/extension.cc Extension::ManifestData* data) { data 403 extensions/common/extension.cc manifest_data_[key] = linked_ptr<ManifestData>(data); data 282 extensions/common/extension.h void SetManifestData(const std::string& key, ManifestData* data); data 192 extensions/common/extension_messages.h IPC_STRUCT_TRAITS_MEMBER(data) data 125 extensions/common/extension_resource_unittest.cc std::string data = "some foo"; data 126 extensions/common/extension_resource_unittest.cc ASSERT_TRUE(base::WriteFile(root_resource, data.c_str(), data.length())); data 142 extensions/common/extension_resource_unittest.cc data.c_str(), data.length())); data 67 extensions/common/file_util_unittest.cc const char data[] = "Test Data"; data 69 extensions/common/file_util_unittest.cc ASSERT_TRUE(base::WriteFile(resource_path, data, sizeof(data))); data 71 extensions/common/file_util_unittest.cc ASSERT_TRUE(base::WriteFile(resource_path, data, sizeof(data))); data 51 extensions/common/id_util.cc std::string(reinterpret_cast<const char*>(new_path.value().data()), data 135 extensions/common/permissions/set_disjunction_permission.h PermissionDataType data; data 136 extensions/common/permissions/set_disjunction_permission.h if (data.FromValue(item_value)) { data 137 extensions/common/permissions/set_disjunction_permission.h data_set_.insert(data); data 69 extensions/common/user_script.h if (external_content_.data()) data 32 gin/array_buffer.cc void ArrayBufferAllocator::Free(void* data, size_t length) { data 33 gin/array_buffer.cc free(data); data 77 gin/array_buffer.cc const v8::WeakCallbackData<v8::ArrayBuffer, Private>& data); data 120 gin/array_buffer.cc const v8::WeakCallbackData<v8::ArrayBuffer, Private>& data) { data 121 gin/array_buffer.cc Private* parameter = data.GetParameter(); data 21 gin/array_buffer.h virtual void Free(void* data, size_t length) OVERRIDE; data 108 gin/converter.cc return String::NewFromUtf8(isolate, val.data(), String::kNormalString, data 191 gin/converter.cc val.data(), data 26 gin/function_template.cc const v8::WeakCallbackData<v8::External, CallbackHolderBase>& data) { data 27 gin/function_template.cc data.GetParameter()->v8_ref_.Reset(); data 28 gin/function_template.cc delete data.GetParameter(); data 61 gin/function_template.h const v8::WeakCallbackData<v8::External, CallbackHolderBase>& data); data 38 gin/modules/console.cc PerIsolateData* data = PerIsolateData::From(isolate); data 39 gin/modules/console.cc v8::Local<ObjectTemplate> templ = data->GetObjectTemplate(&g_wrapper_info); data 44 gin/modules/console.cc data->SetObjectTemplate(&g_wrapper_info, templ); data 89 gin/modules/module_registry.cc PerIsolateData* data = PerIsolateData::From(isolate); data 90 gin/modules/module_registry.cc Local<FunctionTemplate> templ = data->GetFunctionTemplate( data 94 gin/modules/module_registry.cc data->SetFunctionTemplate(&g_wrapper_info, templ); data 124 gin/modules/module_registry.cc PerContextData* data = PerContextData::From(context); data 125 gin/modules/module_registry.cc if (!data) data 129 gin/modules/module_registry.cc data->GetUserData(kModuleRegistryKey)); data 134 gin/modules/module_registry.cc data->SetUserData(kModuleRegistryKey, registry_data); data 222 gin/modules/module_registry.cc PerContextData* data = PerContextData::From(isolate->GetCurrentContext()); data 223 gin/modules/module_registry.cc Runner* runner = data->runner(); data 27 gin/test/gc.cc PerIsolateData* data = PerIsolateData::From(isolate); data 29 gin/test/gc.cc data->GetObjectTemplate(&g_wrapper_info); data 34 gin/test/gc.cc data->SetObjectTemplate(&g_wrapper_info, templ); data 47 gin/test/gtest.cc PerIsolateData* data = PerIsolateData::From(isolate); data 49 gin/test/gtest.cc data->GetObjectTemplate(&g_wrapper_info); data 57 gin/test/gtest.cc data->SetObjectTemplate(&g_wrapper_info, templ); data 26 gin/wrappable.cc const v8::WeakCallbackData<v8::Object, WrappableBase>& data) { data 27 gin/wrappable.cc WrappableBase* wrappable = data.GetParameter(); data 38 gin/wrappable.cc PerIsolateData* data = PerIsolateData::From(isolate); data 39 gin/wrappable.cc v8::Local<v8::ObjectTemplate> templ = data->GetObjectTemplate(info); data 43 gin/wrappable.cc data->SetObjectTemplate(info, templ); data 72 gin/wrappable.h const v8::WeakCallbackData<v8::Object, WrappableBase>& data); data 33 google_apis/cup/client_update_protocol.cc std::vector<uint8> Hash(const std::vector<uint8>& data) { data 35 google_apis/cup/client_update_protocol.cc base::SHA1HashBytes(data.empty() ? NULL : &data[0], data 36 google_apis/cup/client_update_protocol.cc data.size(), data 45 google_apis/cup/client_update_protocol.cc reinterpret_cast<const unsigned char*>(sdata.data()), data 123 google_apis/cup/client_update_protocol.cc std::string UrlSafeB64Encode(const std::vector<uint8>& data) { data 125 google_apis/cup/client_update_protocol.cc base::Base64Encode(ByteVectorToSP(data), &result); data 32 google_apis/cup/client_update_protocol_nss.cc spki_item.data = data 33 google_apis/cup/client_update_protocol_nss.cc reinterpret_cast<unsigned char*>(const_cast<char*>(public_key.data())); data 143 google_apis/drive/base_requests.cc make_scoped_ptr(new std::string(buffer->data(), num_bytes))); data 157 google_apis/drive/base_requests.cc data_.append(buffer->data(), num_bytes); data 177 google_apis/drive/base_requests.cc data_.append(buffer->data(), std::min(static_cast<size_t>(result), data 245 google_apis/drive/base_requests.cc base::StringPrintf(kAuthorizationHeaderFormat, access_token.data())); data 353 google_apis/drive/base_requests.cc DVLOG(1) << response_writer_->data(); data 363 google_apis/drive/base_requests.cc scoped_ptr<base::Value> value(ParseJsonInternal(response_writer_->data())); data 451 google_apis/drive/base_requests.cc const std::string& data) { data 455 google_apis/drive/base_requests.cc << data.size() << " bytes"; data 457 google_apis/drive/base_requests.cc data, data 469 google_apis/drive/base_requests.cc ParseResponse(fetch_error_code, response_writer()->data()); data 623 google_apis/drive/base_requests.cc response_writer()->data(), data 102 google_apis/drive/base_requests.h const std::string& data() const { return data_; } data 275 google_apis/drive/base_requests.h void ParseResponse(GDataErrorCode fetch_error_code, const std::string& data); data 61 google_apis/drive/test_util.cc file_path, content.data(), static_cast<int>(content.size())); data 68 google_apis/drive/test_util.cc std::string* data) { data 74 google_apis/drive/test_util.cc data->clear(); data 78 google_apis/drive/test_util.cc *data = base::RandBytesAsString(size); data 79 google_apis/drive/test_util.cc return WriteStringToFile(*path, *data); data 179 google_apis/drive/test_util.cc scoped_ptr<std::string> data) { data 180 google_apis/drive/test_util.cc data_.push_back(data.release()); data 77 google_apis/drive/test_util.h std::string* data); data 282 google_apis/drive/test_util.h const ScopedVector<std::string>& data() const { return data_; } data 288 google_apis/drive/test_util.h scoped_ptr<std::string> data); data 19 google_apis/gaia/gaia_auth_consumer.cc data(new_data), data 29 google_apis/gaia/gaia_auth_consumer.cc data == b.data && data 38 google_apis/gaia/gaia_auth_consumer.h std::string data; // Full contents of ClientLogin return. data 80 google_apis/gaia/gaia_auth_consumer.h virtual void OnGetUserInfoSuccess(const UserInfoMap& data) {} data 86 google_apis/gaia/gaia_auth_consumer.h virtual void OnMergeSessionSuccess(const std::string& data) {} data 89 google_apis/gaia/gaia_auth_consumer.h virtual void OnListAccountsSuccess(const std::string& data) {} data 362 google_apis/gaia/gaia_auth_fetcher.cc void GaiaAuthFetcher::ParseClientLoginResponse(const std::string& data, data 373 google_apis/gaia/gaia_auth_fetcher.cc base::SplitStringIntoKeyValuePairs(data, '=', '\n', &tokens); data 387 google_apis/gaia/gaia_auth_fetcher.cc token->assign(data); data 401 google_apis/gaia/gaia_auth_fetcher.cc void GaiaAuthFetcher::ParseClientLoginFailure(const std::string& data, data 411 google_apis/gaia/gaia_auth_fetcher.cc base::SplitStringIntoKeyValuePairs(data, '=', '\n', &tokens); data 685 google_apis/gaia/gaia_auth_fetcher.cc const std::string& data, data 696 google_apis/gaia/gaia_auth_fetcher.cc if (IsSecondFactorSuccess(data)) data 703 google_apis/gaia/gaia_auth_fetcher.cc ParseClientLoginFailure(data, &error, &url, &captcha_url, &captcha_token); data 729 google_apis/gaia/gaia_auth_fetcher.cc void GaiaAuthFetcher::OnClientLoginFetched(const std::string& data, data 737 google_apis/gaia/gaia_auth_fetcher.cc ParseClientLoginResponse(data, &sid, &lsid, &token); data 739 google_apis/gaia/gaia_auth_fetcher.cc GaiaAuthConsumer::ClientLoginResult(sid, lsid, token, data)); data 741 google_apis/gaia/gaia_auth_fetcher.cc consumer_->OnClientLoginFailure(GenerateAuthError(data, status)); data 746 google_apis/gaia/gaia_auth_fetcher.cc const std::string& data, data 752 google_apis/gaia/gaia_auth_fetcher.cc consumer_->OnIssueAuthTokenSuccess(requested_service_, data); data 755 google_apis/gaia/gaia_auth_fetcher.cc GenerateAuthError(data, status)); data 760 google_apis/gaia/gaia_auth_fetcher.cc const std::string& data, data 772 google_apis/gaia/gaia_auth_fetcher.cc GoogleServiceAuthError auth_error(GenerateAuthError(data, status)); data 781 google_apis/gaia/gaia_auth_fetcher.cc const std::string& data, data 790 google_apis/gaia/gaia_auth_fetcher.cc scoped_ptr<base::Value> value(base::JSONReader::Read(data)); data 804 google_apis/gaia/gaia_auth_fetcher.cc consumer_->OnClientOAuthFailure(GenerateAuthError(data, status)); data 809 google_apis/gaia/gaia_auth_fetcher.cc const std::string& data, data 815 google_apis/gaia/gaia_auth_fetcher.cc void GaiaAuthFetcher::OnListAccountsFetched(const std::string& data, data 819 google_apis/gaia/gaia_auth_fetcher.cc consumer_->OnListAccountsSuccess(data); data 821 google_apis/gaia/gaia_auth_fetcher.cc consumer_->OnListAccountsFailure(GenerateAuthError(data, status)); data 826 google_apis/gaia/gaia_auth_fetcher.cc const std::string& data, data 832 google_apis/gaia/gaia_auth_fetcher.cc base::SplitStringIntoKeyValuePairs(data, '=', '\n', &tokens); data 839 google_apis/gaia/gaia_auth_fetcher.cc consumer_->OnGetUserInfoFailure(GenerateAuthError(data, status)); data 843 google_apis/gaia/gaia_auth_fetcher.cc void GaiaAuthFetcher::OnMergeSessionFetched(const std::string& data, data 847 google_apis/gaia/gaia_auth_fetcher.cc consumer_->OnMergeSessionSuccess(data); data 849 google_apis/gaia/gaia_auth_fetcher.cc consumer_->OnMergeSessionFailure(GenerateAuthError(data, status)); data 853 google_apis/gaia/gaia_auth_fetcher.cc void GaiaAuthFetcher::OnUberAuthTokenFetch(const std::string& data, data 857 google_apis/gaia/gaia_auth_fetcher.cc consumer_->OnUberAuthTokenSuccess(data); data 859 google_apis/gaia/gaia_auth_fetcher.cc consumer_->OnUberAuthTokenFailure(GenerateAuthError(data, status)); data 863 google_apis/gaia/gaia_auth_fetcher.cc void GaiaAuthFetcher::OnOAuthLoginFetched(const std::string& data, data 871 google_apis/gaia/gaia_auth_fetcher.cc ParseClientLoginResponse(data, &sid, &lsid, &token); data 873 google_apis/gaia/gaia_auth_fetcher.cc GaiaAuthConsumer::ClientLoginResult(sid, lsid, token, data)); data 875 google_apis/gaia/gaia_auth_fetcher.cc consumer_->OnClientLoginFailure(GenerateAuthError(data, status)); data 887 google_apis/gaia/gaia_auth_fetcher.cc std::string data; data 888 google_apis/gaia/gaia_auth_fetcher.cc source->GetResponseAsString(&data); data 895 google_apis/gaia/gaia_auth_fetcher.cc DVLOG(2) << "data: " << data << "\n"; data 900 google_apis/gaia/gaia_auth_fetcher.cc OnClientLoginFetched(data, status, response_code); data 902 google_apis/gaia/gaia_auth_fetcher.cc OnIssueAuthTokenFetched(data, status, response_code); data 905 google_apis/gaia/gaia_auth_fetcher.cc data, source->GetCookies(), status, response_code); data 907 google_apis/gaia/gaia_auth_fetcher.cc OnOAuth2TokenPairFetched(data, status, response_code); data 909 google_apis/gaia/gaia_auth_fetcher.cc OnGetUserInfoFetched(data, status, response_code); data 911 google_apis/gaia/gaia_auth_fetcher.cc OnMergeSessionFetched(data, status, response_code); data 913 google_apis/gaia/gaia_auth_fetcher.cc OnUberAuthTokenFetch(data, status, response_code); data 915 google_apis/gaia/gaia_auth_fetcher.cc OnOAuthLoginFetched(data, status, response_code); data 917 google_apis/gaia/gaia_auth_fetcher.cc OnOAuth2RevokeTokenFetched(data, status, response_code); data 919 google_apis/gaia/gaia_auth_fetcher.cc OnListAccountsFetched(data, status, response_code); data 186 google_apis/gaia/gaia_auth_fetcher.h const std::string& data, data 247 google_apis/gaia/gaia_auth_fetcher.h void OnClientLoginFetched(const std::string& data, data 251 google_apis/gaia/gaia_auth_fetcher.h void OnIssueAuthTokenFetched(const std::string& data, data 255 google_apis/gaia/gaia_auth_fetcher.h void OnClientLoginToOAuth2Fetched(const std::string& data, data 260 google_apis/gaia/gaia_auth_fetcher.h void OnOAuth2TokenPairFetched(const std::string& data, data 264 google_apis/gaia/gaia_auth_fetcher.h void OnOAuth2RevokeTokenFetched(const std::string& data, data 268 google_apis/gaia/gaia_auth_fetcher.h void OnListAccountsFetched(const std::string& data, data 272 google_apis/gaia/gaia_auth_fetcher.h void OnGetUserInfoFetched(const std::string& data, data 276 google_apis/gaia/gaia_auth_fetcher.h void OnMergeSessionFetched(const std::string& data, data 280 google_apis/gaia/gaia_auth_fetcher.h void OnUberAuthTokenFetch(const std::string& data, data 284 google_apis/gaia/gaia_auth_fetcher.h void OnOAuthLoginFetched(const std::string& data, data 289 google_apis/gaia/gaia_auth_fetcher.h static void ParseClientLoginResponse(const std::string& data, data 294 google_apis/gaia/gaia_auth_fetcher.h static void ParseClientLoginFailure(const std::string& data, data 363 google_apis/gaia/gaia_auth_fetcher.h const std::string& data, data 107 google_apis/gaia/gaia_auth_fetcher_unittest.cc void RunParsingTest(const std::string& data, data 115 google_apis/gaia/gaia_auth_fetcher_unittest.cc GaiaAuthFetcher::ParseClientLoginResponse(data, data 124 google_apis/gaia/gaia_auth_fetcher_unittest.cc void RunErrorParsingTest(const std::string& data, data 134 google_apis/gaia/gaia_auth_fetcher_unittest.cc GaiaAuthFetcher::ParseClientLoginFailure(data, data 180 google_apis/gaia/gaia_auth_fetcher_unittest.cc MOCK_METHOD1(OnMergeSessionSuccess, void(const std::string& data)); data 181 google_apis/gaia/gaia_auth_fetcher_unittest.cc MOCK_METHOD1(OnUberAuthTokenSuccess, void(const std::string& data)); data 194 google_apis/gaia/gaia_auth_fetcher_unittest.cc MOCK_METHOD1(OnListAccountsSuccess, void(const std::string& data)); data 265 google_apis/gaia/gaia_auth_fetcher_unittest.cc std::string data("Error=BadAuthentication"); data 278 google_apis/gaia/gaia_auth_fetcher_unittest.cc client_login_source_, status, net::HTTP_FORBIDDEN, cookies_, data, data 310 google_apis/gaia/gaia_auth_fetcher_unittest.cc std::string data("SID=sid\nLSID=lsid\nAuth=auth\n"); data 316 google_apis/gaia/gaia_auth_fetcher_unittest.cc result.data = data; data 325 google_apis/gaia/gaia_auth_fetcher_unittest.cc client_login_source_, status, net::HTTP_OK, cookies_, data, data 376 google_apis/gaia/gaia_auth_fetcher_unittest.cc std::string data = "Url=http://www.google.com/login/captcha\n" data 381 google_apis/gaia/gaia_auth_fetcher_unittest.cc GaiaAuthFetcher::GenerateAuthError(data, status); data 395 google_apis/gaia/gaia_auth_fetcher_unittest.cc std::string data = "Error=AccountDeleted\n"; data 397 google_apis/gaia/gaia_auth_fetcher_unittest.cc GaiaAuthFetcher::GenerateAuthError(data, status); data 403 google_apis/gaia/gaia_auth_fetcher_unittest.cc std::string data = "Error=AccountDisabled\n"; data 405 google_apis/gaia/gaia_auth_fetcher_unittest.cc GaiaAuthFetcher::GenerateAuthError(data, status); data 411 google_apis/gaia/gaia_auth_fetcher_unittest.cc std::string data = "Error=BadAuthentication\n"; data 413 google_apis/gaia/gaia_auth_fetcher_unittest.cc GaiaAuthFetcher::GenerateAuthError(data, status); data 419 google_apis/gaia/gaia_auth_fetcher_unittest.cc std::string data = "Error=Gobbledygook\n"; data 421 google_apis/gaia/gaia_auth_fetcher_unittest.cc GaiaAuthFetcher::GenerateAuthError(data, status); data 427 google_apis/gaia/gaia_auth_fetcher_unittest.cc std::string data = "Error=ServiceUnavailable\n"; data 429 google_apis/gaia/gaia_auth_fetcher_unittest.cc GaiaAuthFetcher::GenerateAuthError(data, status); data 794 google_apis/gaia/gaia_auth_fetcher_unittest.cc std::string data("SID=sid\nLSID=lsid\nAuth=auth\n"); data 800 google_apis/gaia/gaia_auth_fetcher_unittest.cc result.data = data; data 809 google_apis/gaia/gaia_auth_fetcher_unittest.cc oauth_login_gurl_, status, net::HTTP_OK, cookies_, data, data 815 google_apis/gaia/gaia_auth_fetcher_unittest.cc std::string data("[\"gaia.l.a.r\", [" data 819 google_apis/gaia/gaia_auth_fetcher_unittest.cc EXPECT_CALL(consumer, OnListAccountsSuccess(data)).Times(1); data 824 google_apis/gaia/gaia_auth_fetcher_unittest.cc status, net::HTTP_OK, cookies_, data, net::URLFetcher::GET, &auth); data 79 google_apis/gaia/gaia_auth_util.cc const std::string& data, data 84 google_apis/gaia/gaia_auth_util.cc scoped_ptr<base::Value> value(base::JSONReader::Read(data)); data 44 google_apis/gaia/gaia_auth_util.h const std::string& data, data 256 google_apis/gaia/gaia_oauth_client.cc std::string data; data 257 google_apis/gaia/gaia_oauth_client.cc source->GetResponseAsString(&data); data 258 google_apis/gaia/gaia_oauth_client.cc scoped_ptr<base::Value> message_value(base::JSONReader::Read(data)); data 127 google_apis/gaia/merge_session_helper.cc void MergeSessionHelper::OnMergeSessionSuccess(const std::string& data) { data 74 google_apis/gaia/merge_session_helper.h virtual void OnMergeSessionSuccess(const std::string& data) OVERRIDE; data 88 google_apis/gaia/merge_session_helper_unittest.cc const std::string& data) { data 89 google_apis/gaia/merge_session_helper_unittest.cc consumer->OnMergeSessionSuccess(data); data 120 google_apis/gaia/oauth2_access_token_fetcher_impl.cc std::string data; data 121 google_apis/gaia/oauth2_access_token_fetcher_impl.cc source->GetResponseAsString(&data); data 122 google_apis/gaia/oauth2_access_token_fetcher_impl.cc scoped_ptr<base::Value> value(base::JSONReader::Read(data)); data 36 google_apis/gcm/base/socket_stream.cc bool SocketInputStream::Next(const void** data, int* size) { data 50 google_apis/gcm/base/socket_stream.cc *data = io_buffer_->data() + next_pos_; data 131 google_apis/gcm/base/socket_stream.cc if (unread_data_ptr != io_buffer_->data()) { data 135 google_apis/gcm/base/socket_stream.cc std::memmove(io_buffer_->data(), unread_data_ptr, unread_data_size); data 222 google_apis/gcm/base/socket_stream.cc bool SocketOutputStream::Next(void** data, int* size) { data 228 google_apis/gcm/base/socket_stream.cc *data = write_buffer_->data() + next_pos_; data 69 google_apis/gcm/base/socket_stream.h virtual bool Next(const void** data, int* size) OVERRIDE; data 165 google_apis/gcm/base/socket_stream.h virtual bool Next(void** data, int* size) OVERRIDE; data 146 google_apis/gcm/base/socket_stream_unittest.cc write_src.data() + total_bytes_written, data 382 google_apis/gcm/engine/gcm_store_impl.cc std::string data = data 387 google_apis/gcm/engine/gcm_store_impl.cc MakeSlice(data)); data 569 google_apis/gcm/engine/gcm_store_impl.cc uint8 tag = iter->value().data()[0]; data 543 google_apis/gcm/engine/mcs_client.cc mcs_proto::AppData data; data 544 google_apis/gcm/engine/mcs_client.cc data.set_key(kIdleNotification); data 545 google_apis/gcm/engine/mcs_client.cc data.set_value("false"); data 546 google_apis/gcm/engine/mcs_client.cc response->add_app_data()->CopyFrom(data); data 690 google_apis/gcm/engine/mcs_client.cc if (BuildPersistentIdListFromProto(iq_extension.data(), data 68 google_apis/gcm/gcm_client.h MessageData data; data 76 google_apis/gcm/gcm_client.h MessageData data; data 532 google_apis/gcm/gcm_client_impl.cc for (MessageData::const_iterator iter = message.data.begin(); data 533 google_apis/gcm/gcm_client_impl.cc iter != message.data.end(); data 683 google_apis/gcm/gcm_client_impl.cc incoming_message.data = message_data; data 52 google_apis/gcm/gcm_client_impl_unittest.cc const std::map<std::string, std::string>& data) { data 56 google_apis/gcm/gcm_client_impl_unittest.cc for (std::map<std::string, std::string>::const_iterator iter = data.begin(); data 57 google_apis/gcm/gcm_client_impl_unittest.cc iter != data.end(); data 530 google_apis/gcm/gcm_client_impl_unittest.cc EXPECT_EQ(expected_data.size(), last_message().data.size()); data 531 google_apis/gcm/gcm_client_impl_unittest.cc EXPECT_EQ(expected_data, last_message().data); data 543 google_apis/gcm/gcm_client_impl_unittest.cc EXPECT_EQ(expected_data.size(), last_message().data.size()); data 544 google_apis/gcm/gcm_client_impl_unittest.cc EXPECT_EQ(expected_data, last_message().data); data 597 google_apis/gcm/gcm_client_impl_unittest.cc message.data["key"] = "value"; data 142 gpu/command_buffer/client/cmd_buffer_helper.h void* data = GetSpace(space_needed); data 143 gpu/command_buffer/client/cmd_buffer_helper.h return reinterpret_cast<T*>(data); data 151 gpu/command_buffer/client/cmd_buffer_helper.h void* data = GetSpace(space_needed); data 152 gpu/command_buffer/client/cmd_buffer_helper.h return reinterpret_cast<T*>(data); data 160 gpu/command_buffer/client/cmd_buffer_helper.h void* data = GetSpace(space_needed); data 161 gpu/command_buffer/client/cmd_buffer_helper.h return reinterpret_cast<T*>(data); data 211 gpu/command_buffer/client/cmd_buffer_helper.h uint32 bucket_id, uint32 offset, const void* data, uint32 size) { data 216 gpu/command_buffer/client/cmd_buffer_helper.h memcpy(ImmediateDataAddress(cmd), data, size); data 59 gpu/command_buffer/client/gles2_c_lib_autogen.h const void* data, data 61 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->BufferData(target, size, data, usage); data 66 gpu/command_buffer/client/gles2_c_lib_autogen.h const void* data) { data 67 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->BufferSubData(target, offset, size, data); data 99 gpu/command_buffer/client/gles2_c_lib_autogen.h const void* data) { data 101 gpu/command_buffer/client/gles2_c_lib_autogen.h target, level, internalformat, width, height, border, imageSize, data); data 111 gpu/command_buffer/client/gles2_c_lib_autogen.h const void* data) { data 113 gpu/command_buffer/client/gles2_c_lib_autogen.h target, level, xoffset, yoffset, width, height, format, imageSize, data); data 858 gpu/command_buffer/client/gles2_c_lib_autogen.h const void* data) { data 860 gpu/command_buffer/client/gles2_c_lib_autogen.h target, level, xoffset, yoffset, width, height, format, type, data); data 535 gpu/command_buffer/client/gles2_implementation.cc std::vector<int8>* data) { data 537 gpu/command_buffer/client/gles2_implementation.cc DCHECK(data); data 554 gpu/command_buffer/client/gles2_implementation.cc data->resize(size); data 568 gpu/command_buffer/client/gles2_implementation.cc memcpy(&(*data)[offset], buffer.address(), size_to_copy); data 582 gpu/command_buffer/client/gles2_implementation.cc uint32 bucket_id, const void* data, size_t size) { data 583 gpu/command_buffer/client/gles2_implementation.cc DCHECK(data); data 592 gpu/command_buffer/client/gles2_implementation.cc memcpy(buffer.address(), static_cast<const int8*>(data) + offset, data 616 gpu/command_buffer/client/gles2_implementation.cc std::vector<int8> data; data 619 gpu/command_buffer/client/gles2_implementation.cc if (!GetBucketContents(bucket_id, &data)) { data 622 gpu/command_buffer/client/gles2_implementation.cc if (data.empty()) { data 625 gpu/command_buffer/client/gles2_implementation.cc str->assign(&data[0], &data[0] + data.size() - 1); data 1383 gpu/command_buffer/client/gles2_implementation.cc GLenum target, GLsizeiptr size, const void* data, GLenum usage) { data 1402 gpu/command_buffer/client/gles2_implementation.cc if (buffer->address() && data) data 1403 gpu/command_buffer/client/gles2_implementation.cc memcpy(buffer->address(), data, size); data 1412 gpu/command_buffer/client/gles2_implementation.cc if (!data) { data 1424 gpu/command_buffer/client/gles2_implementation.cc memcpy(buffer.address(), data, size); data 1436 gpu/command_buffer/client/gles2_implementation.cc BufferSubDataHelperImpl(target, 0, size, data, &buffer); data 1441 gpu/command_buffer/client/gles2_implementation.cc GLenum target, GLsizeiptr size, const void* data, GLenum usage) { data 1446 gpu/command_buffer/client/gles2_implementation.cc << static_cast<const void*>(data) << ", " data 1448 gpu/command_buffer/client/gles2_implementation.cc BufferDataHelper(target, size, data, usage); data 1453 gpu/command_buffer/client/gles2_implementation.cc GLenum target, GLintptr offset, GLsizeiptr size, const void* data) { data 1481 gpu/command_buffer/client/gles2_implementation.cc if (buffer->address() && data) data 1482 gpu/command_buffer/client/gles2_implementation.cc memcpy(static_cast<uint8*>(buffer->address()) + offset, data, size); data 1487 gpu/command_buffer/client/gles2_implementation.cc BufferSubDataHelperImpl(target, offset, size, data, &buffer); data 1491 gpu/command_buffer/client/gles2_implementation.cc GLenum target, GLintptr offset, GLsizeiptr size, const void* data, data 1496 gpu/command_buffer/client/gles2_implementation.cc const int8* source = static_cast<const int8*>(data); data 1515 gpu/command_buffer/client/gles2_implementation.cc GLenum target, GLintptr offset, GLsizeiptr size, const void* data) { data 1520 gpu/command_buffer/client/gles2_implementation.cc << static_cast<const void*>(data) << ")"); data 1521 gpu/command_buffer/client/gles2_implementation.cc BufferSubDataHelper(target, offset, size, data); data 1597 gpu/command_buffer/client/gles2_implementation.cc GLsizei height, GLint border, GLsizei image_size, const void* data) { data 1605 gpu/command_buffer/client/gles2_implementation.cc << static_cast<const void*>(data) << ")"); data 1616 gpu/command_buffer/client/gles2_implementation.cc GLuint offset = ToGLuint(data); data 1628 gpu/command_buffer/client/gles2_implementation.cc SetBucketContents(kResultBucketId, data, image_size); data 1640 gpu/command_buffer/client/gles2_implementation.cc GLsizei height, GLenum format, GLsizei image_size, const void* data) { data 1649 gpu/command_buffer/client/gles2_implementation.cc << static_cast<const void*>(data) << ")"); data 1657 gpu/command_buffer/client/gles2_implementation.cc GLuint offset = ToGLuint(data); data 1670 gpu/command_buffer/client/gles2_implementation.cc SetBucketContents(kResultBucketId, data, image_size); data 3532 gpu/command_buffer/client/gles2_implementation.cc const GLbyte* data) { data 3535 gpu/command_buffer/client/gles2_implementation.cc << static_cast<const void*>(data) << ")"); data 3536 gpu/command_buffer/client/gles2_implementation.cc const Mailbox& mailbox = *reinterpret_cast<const Mailbox*>(data); data 3540 gpu/command_buffer/client/gles2_implementation.cc helper_->ProduceTextureCHROMIUMImmediate(target, data); data 3545 gpu/command_buffer/client/gles2_implementation.cc const GLbyte* data) { data 3548 gpu/command_buffer/client/gles2_implementation.cc << static_cast<const void*>(data) << ")"); data 3549 gpu/command_buffer/client/gles2_implementation.cc const Mailbox& mailbox = *reinterpret_cast<const Mailbox*>(data); data 3553 gpu/command_buffer/client/gles2_implementation.cc helper_->ConsumeTextureCHROMIUMImmediate(target, data); data 482 gpu/command_buffer/client/gles2_implementation.h bool GetBucketContents(uint32 bucket_id, std::vector<int8>* data); data 485 gpu/command_buffer/client/gles2_implementation.h void SetBucketContents(uint32 bucket_id, const void* data, size_t size); data 539 gpu/command_buffer/client/gles2_implementation.h GLenum target, GLsizeiptr size, const void* data, GLenum usage); data 541 gpu/command_buffer/client/gles2_implementation.h GLenum target, GLintptr offset, GLsizeiptr size, const void* data); data 543 gpu/command_buffer/client/gles2_implementation.h GLenum target, GLintptr offset, GLsizeiptr size, const void* data, data 50 gpu/command_buffer/client/gles2_implementation_autogen.h const void* data, data 56 gpu/command_buffer/client/gles2_implementation_autogen.h const void* data) OVERRIDE; data 85 gpu/command_buffer/client/gles2_implementation_autogen.h const void* data) OVERRIDE; data 95 gpu/command_buffer/client/gles2_implementation_autogen.h const void* data) OVERRIDE; data 685 gpu/command_buffer/client/gles2_implementation_autogen.h const void* data) OVERRIDE; data 601 gpu/command_buffer/client/gles2_implementation_unittest.cc bool GetBucketContents(uint32 bucket_id, std::vector<int8>* data) { data 602 gpu/command_buffer/client/gles2_implementation_unittest.cc return gl_->GetBucketContents(bucket_id, data); data 802 gpu/command_buffer/client/gles2_implementation_unittest.cc std::vector<int8> data; data 803 gpu/command_buffer/client/gles2_implementation_unittest.cc GetBucketContents(kBucketId, &data); data 805 gpu/command_buffer/client/gles2_implementation_unittest.cc ASSERT_EQ(kTestSize, data.size()); data 806 gpu/command_buffer/client/gles2_implementation_unittest.cc EXPECT_EQ(0, memcmp(expected_data, &data[0], data.size())); data 2892 gpu/command_buffer/client/gles2_implementation_unittest.cc GLuint data[2]; data 3117 gpu/command_buffer/client/gles2_implementation_unittest.cc GLbyte data[64]; data 3130 gpu/command_buffer/client/gles2_implementation_unittest.cc GLbyte data[64]; data 250 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLuint data[2]; data 254 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.data[0] = kBuffersStartId; data 255 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.data[1] = kBuffersStartId + 1; data 264 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLuint data[2]; data 268 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.data[0] = kFramebuffersStartId; data 269 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.data[1] = kFramebuffersStartId + 1; data 289 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLuint data[2]; data 293 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.data[0] = kRenderbuffersStartId; data 294 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.data[1] = kRenderbuffersStartId + 1; data 314 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLuint data[2]; data 318 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.data[0] = kTexturesStartId; data 319 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.data[1] = kTexturesStartId + 1; data 451 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLuint data[2]; data 455 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.data[0] = kBuffersStartId; data 456 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.data[1] = kBuffersStartId + 1; data 478 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLuint data[2]; data 482 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.data[0] = kFramebuffersStartId; data 483 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.data[1] = kFramebuffersStartId + 1; data 494 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLuint data[2]; data 498 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.data[0] = kRenderbuffersStartId; data 499 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.data[1] = kRenderbuffersStartId + 1; data 510 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLuint data[2]; data 514 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.data[0] = kTexturesStartId; data 515 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.data[1] = kTexturesStartId + 1; data 1063 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLfloat data[1] = {0}; data 1066 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLfloat data[1]; data 1070 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h data[jj] = static_cast<GLfloat>(jj); data 1073 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, &data[0]); data 1074 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h gl_->TexParameterfv(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, &data[0]); data 1090 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLint data[1] = {0}; data 1093 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLint data[1]; data 1097 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h data[jj] = static_cast<GLint>(jj); data 1100 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, &data[0]); data 1101 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h gl_->TexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, &data[0]); data 1117 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLfloat data[2][1] = {{0}}; data 1120 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLfloat data[2][1]; data 1126 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h data[ii][jj] = static_cast<GLfloat>(ii * 1 + jj); data 1129 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, 2, &data[0][0]); data 1130 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h gl_->Uniform1fv(1, 2, &data[0][0]); data 1146 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLint data[2][1] = {{0}}; data 1149 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLint data[2][1]; data 1155 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h data[ii][jj] = static_cast<GLint>(ii * 1 + jj); data 1158 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, 2, &data[0][0]); data 1159 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h gl_->Uniform1iv(1, 2, &data[0][0]); data 1175 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLfloat data[2][2] = {{0}}; data 1178 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLfloat data[2][2]; data 1184 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h data[ii][jj] = static_cast<GLfloat>(ii * 2 + jj); data 1187 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, 2, &data[0][0]); data 1188 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h gl_->Uniform2fv(1, 2, &data[0][0]); data 1204 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLint data[2][2] = {{0}}; data 1207 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLint data[2][2]; data 1213 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h data[ii][jj] = static_cast<GLint>(ii * 2 + jj); data 1216 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, 2, &data[0][0]); data 1217 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h gl_->Uniform2iv(1, 2, &data[0][0]); data 1233 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLfloat data[2][3] = {{0}}; data 1236 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLfloat data[2][3]; data 1242 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h data[ii][jj] = static_cast<GLfloat>(ii * 3 + jj); data 1245 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, 2, &data[0][0]); data 1246 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h gl_->Uniform3fv(1, 2, &data[0][0]); data 1262 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLint data[2][3] = {{0}}; data 1265 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLint data[2][3]; data 1271 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h data[ii][jj] = static_cast<GLint>(ii * 3 + jj); data 1274 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, 2, &data[0][0]); data 1275 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h gl_->Uniform3iv(1, 2, &data[0][0]); data 1291 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLfloat data[2][4] = {{0}}; data 1294 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLfloat data[2][4]; data 1300 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h data[ii][jj] = static_cast<GLfloat>(ii * 4 + jj); data 1303 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, 2, &data[0][0]); data 1304 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h gl_->Uniform4fv(1, 2, &data[0][0]); data 1320 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLint data[2][4] = {{0}}; data 1323 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLint data[2][4]; data 1329 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h data[ii][jj] = static_cast<GLint>(ii * 4 + jj); data 1332 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, 2, &data[0][0]); data 1333 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h gl_->Uniform4iv(1, 2, &data[0][0]); data 1338 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLfloat data[2][4] = {{0}}; data 1341 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLfloat data[2][4]; data 1347 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h data[ii][jj] = static_cast<GLfloat>(ii * 4 + jj); data 1350 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, 2, false, &data[0][0]); data 1351 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h gl_->UniformMatrix2fv(1, 2, false, &data[0][0]); data 1356 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLfloat data[2][9] = {{0}}; data 1359 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLfloat data[2][9]; data 1365 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h data[ii][jj] = static_cast<GLfloat>(ii * 9 + jj); data 1368 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, 2, false, &data[0][0]); data 1369 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h gl_->UniformMatrix3fv(1, 2, false, &data[0][0]); data 1374 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLfloat data[2][16] = {{0}}; data 1377 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLfloat data[2][16]; data 1383 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h data[ii][jj] = static_cast<GLfloat>(ii * 16 + jj); data 1386 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, 2, false, &data[0][0]); data 1387 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h gl_->UniformMatrix4fv(1, 2, false, &data[0][0]); data 1428 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLfloat data[1] = {0}; data 1431 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLfloat data[1]; data 1435 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h data[jj] = static_cast<GLfloat>(jj); data 1438 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, &data[0]); data 1439 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h gl_->VertexAttrib1fv(1, &data[0]); data 1455 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLfloat data[2] = {0}; data 1458 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLfloat data[2]; data 1462 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h data[jj] = static_cast<GLfloat>(jj); data 1465 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, &data[0]); data 1466 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h gl_->VertexAttrib2fv(1, &data[0]); data 1482 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLfloat data[3] = {0}; data 1485 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLfloat data[3]; data 1489 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h data[jj] = static_cast<GLfloat>(jj); data 1492 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, &data[0]); data 1493 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h gl_->VertexAttrib3fv(1, &data[0]); data 1509 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLfloat data[4] = {0}; data 1512 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLfloat data[4]; data 1516 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h data[jj] = static_cast<GLfloat>(jj); data 1519 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, &data[0]); data 1520 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h gl_->VertexAttrib4fv(1, &data[0]); data 1597 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLuint data[2]; data 1601 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.data[0] = kQueriesStartId; data 1602 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.data[1] = kQueriesStartId + 1; data 1613 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLuint data[2]; data 1617 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.data[0] = kQueriesStartId; data 1618 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.data[1] = kQueriesStartId + 1; data 1641 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLuint data[2]; data 1645 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.data[0] = kVertexArraysStartId; data 1646 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.data[1] = kVertexArraysStartId + 1; data 1657 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLuint data[2]; data 1661 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.data[0] = kVertexArraysStartId; data 1662 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.data[1] = kVertexArraysStartId + 1; data 1774 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLenum data[2][1] = {{0}}; data 1777 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLenum data[2][1]; data 1783 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h data[ii][jj] = static_cast<GLenum>(ii * 1 + jj); data 1786 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, 2, &data[0][0]); data 1787 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h gl_->DiscardFramebufferEXT(1, 2, &data[0][0]); data 1815 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLenum data[1][1] = {{0}}; data 1818 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h GLenum data[1][1]; data 1824 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h data[ii][jj] = static_cast<GLenum>(ii * 1 + jj); data 1827 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, &data[0][0]); data 1828 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h gl_->DrawBuffersEXT(1, &data[0][0]); data 38 gpu/command_buffer/client/gles2_interface_autogen.h const void* data, data 43 gpu/command_buffer/client/gles2_interface_autogen.h const void* data) = 0; data 64 gpu/command_buffer/client/gles2_interface_autogen.h const void* data) = 0; data 73 gpu/command_buffer/client/gles2_interface_autogen.h const void* data) = 0; data 470 gpu/command_buffer/client/gles2_interface_autogen.h const void* data) = 0; data 37 gpu/command_buffer/client/gles2_interface_stub_autogen.h const void* data, data 42 gpu/command_buffer/client/gles2_interface_stub_autogen.h const void* data) OVERRIDE; data 63 gpu/command_buffer/client/gles2_interface_stub_autogen.h const void* data) OVERRIDE; data 72 gpu/command_buffer/client/gles2_interface_stub_autogen.h const void* data) OVERRIDE; data 494 gpu/command_buffer/client/gles2_interface_stub_autogen.h const void* data) OVERRIDE; data 37 gpu/command_buffer/client/gles2_trace_implementation_autogen.h const void* data, data 42 gpu/command_buffer/client/gles2_trace_implementation_autogen.h const void* data) OVERRIDE; data 63 gpu/command_buffer/client/gles2_trace_implementation_autogen.h const void* data) OVERRIDE; data 72 gpu/command_buffer/client/gles2_trace_implementation_autogen.h const void* data) OVERRIDE; data 494 gpu/command_buffer/client/gles2_trace_implementation_autogen.h const void* data) OVERRIDE; data 88 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h const void* data, data 91 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->BufferData(target, size, data, usage); data 97 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h const void* data) { data 99 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->BufferSubData(target, offset, size, data); data 150 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h const void* data) { data 153 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h target, level, internalformat, width, height, border, imageSize, data); data 164 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h const void* data) { data 167 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h target, level, xoffset, yoffset, width, height, format, imageSize, data); data 1410 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h const void* data) { data 1414 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h target, level, xoffset, yoffset, width, height, format, type, data); data 309 gpu/command_buffer/client/program_info_manager.cc const std::vector<int8>& data, uint32 offset, size_t size) { data 310 gpu/command_buffer/client/program_info_manager.cc const int8* p = &data[0] + offset; data 311 gpu/command_buffer/client/program_info_manager.cc if (offset + size > data.size()) { data 142 gpu/command_buffer/client/transfer_buffer_unittest.cc void* data = transfer_buffer_->AllocUpTo(1, &size); data 143 gpu/command_buffer/client/transfer_buffer_unittest.cc EXPECT_TRUE(data != NULL); data 145 gpu/command_buffer/client/transfer_buffer_unittest.cc transfer_buffer_->FreePendingToken(data, 1); data 455 gpu/command_buffer/client/vertex_array_object_manager.cc const void* data, data 464 gpu/command_buffer/client/vertex_array_object_manager.cc const int8* src = static_cast<const int8*>(data); data 100 gpu/command_buffer/client/vertex_array_object_manager.h GLsizei CollectData(const void* data, data 80 gpu/command_buffer/common/gles2_cmd_format.h return static_cast<T*>(static_cast<void*>(&data)); data 113 gpu/command_buffer/common/gles2_cmd_format.h memcpy(dst, &data, size); data 117 gpu/command_buffer/common/gles2_cmd_format.h int32 data; // this is just here to get an offset. data 123 gpu/command_buffer/common/gles2_cmd_format.h COMPILE_ASSERT(offsetof(SizedResult<int8>, data) == 4, data 1766 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h static GLfloat data[] = { data 1771 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h cmd.Set(&cmd, static_cast<GLenum>(11), static_cast<GLenum>(12), data); data 1774 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data)), data 1779 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h next_cmd, sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data))); data 1817 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h static GLint data[] = {static_cast<GLint>(kSomeBaseValueToTestWith + 0), }; data 1821 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h cmd.Set(&cmd, static_cast<GLenum>(11), static_cast<GLenum>(12), data); data 1824 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data)), data 1829 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h next_cmd, sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data))); data 1893 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h static GLfloat data[] = { data 1901 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h cmd.Set(&cmd, static_cast<GLint>(1), static_cast<GLsizei>(2), data); data 1908 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h next_cmd, sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data))); data 1941 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h static GLint data[] = {static_cast<GLint>(kSomeBaseValueToTestWith + 0), data 1948 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h cmd.Set(&cmd, static_cast<GLint>(1), static_cast<GLsizei>(2), data); data 1955 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h next_cmd, sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data))); data 1991 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h static GLfloat data[] = { data 2001 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h cmd.Set(&cmd, static_cast<GLint>(1), static_cast<GLsizei>(2), data); data 2008 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h next_cmd, sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data))); data 2044 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h static GLint data[] = {static_cast<GLint>(kSomeBaseValueToTestWith + 0), data 2053 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h cmd.Set(&cmd, static_cast<GLint>(1), static_cast<GLsizei>(2), data); data 2060 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h next_cmd, sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data))); data 2098 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h static GLfloat data[] = { data 2110 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h cmd.Set(&cmd, static_cast<GLint>(1), static_cast<GLsizei>(2), data); data 2117 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h next_cmd, sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data))); data 2155 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h static GLint data[] = {static_cast<GLint>(kSomeBaseValueToTestWith + 0), data 2166 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h cmd.Set(&cmd, static_cast<GLint>(1), static_cast<GLsizei>(2), data); data 2173 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h next_cmd, sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data))); data 2213 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h static GLfloat data[] = { data 2227 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h cmd.Set(&cmd, static_cast<GLint>(1), static_cast<GLsizei>(2), data); data 2234 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h next_cmd, sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data))); data 2274 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h static GLint data[] = {static_cast<GLint>(kSomeBaseValueToTestWith + 0), data 2287 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h cmd.Set(&cmd, static_cast<GLint>(1), static_cast<GLsizei>(2), data); data 2294 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h next_cmd, sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data))); data 2319 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h static GLfloat data[] = { data 2337 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h data); data 2345 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h next_cmd, sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data))); data 2370 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h static GLfloat data[] = { data 2398 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h data); data 2406 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h next_cmd, sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data))); data 2431 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h static GLfloat data[] = { data 2473 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h data); data 2481 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h next_cmd, sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data))); data 2533 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h static GLfloat data[] = { data 2537 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h void* next_cmd = cmd.Set(&cmd, static_cast<GLuint>(11), data); data 2540 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data)), data 2544 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h next_cmd, sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data))); data 2580 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h static GLfloat data[] = { data 2585 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h void* next_cmd = cmd.Set(&cmd, static_cast<GLuint>(11), data); data 2588 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data)), data 2592 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h next_cmd, sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data))); data 2630 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h static GLfloat data[] = { data 2636 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h void* next_cmd = cmd.Set(&cmd, static_cast<GLuint>(11), data); data 2639 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data)), data 2643 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h next_cmd, sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data))); data 2683 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h static GLfloat data[] = { data 2690 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h void* next_cmd = cmd.Set(&cmd, static_cast<GLuint>(11), data); data 2693 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data)), data 2697 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h next_cmd, sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data))); data 3374 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h static GLbyte data[] = {static_cast<GLbyte>(kSomeBaseValueToTestWith + 0), data 3440 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h void* next_cmd = cmd.Set(&cmd, static_cast<GLenum>(11), data); data 3443 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data)), data 3447 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h next_cmd, sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data))); data 3469 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h static GLbyte data[] = {static_cast<GLbyte>(kSomeBaseValueToTestWith + 0), data 3535 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h void* next_cmd = cmd.Set(&cmd, static_cast<GLenum>(11), data); data 3538 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data)), data 3542 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h next_cmd, sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data))); data 3741 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h static GLenum data[] = {static_cast<GLenum>(kSomeBaseValueToTestWith + 0), data 3749 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h cmd.Set(&cmd, static_cast<GLenum>(1), static_cast<GLsizei>(2), data); data 3756 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h next_cmd, sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data))); data 3801 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h static GLenum data[] = {static_cast<GLenum>(kSomeBaseValueToTestWith + 0), }; data 3807 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h void* next_cmd = cmd.Set(&cmd, static_cast<GLsizei>(1), data); data 3813 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h next_cmd, sizeof(cmd) + RoundSizeToMultipleOfEntries(sizeof(data))); data 48 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc void DoTexImage2D(const AsyncTexImage2DParams& tex_params, void* data) { data 52 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc tex_params.border, tex_params.format, tex_params.type, data); data 56 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc void DoTexSubImage2D(const AsyncTexSubImage2DParams& tex_params, void* data) { data 61 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc tex_params.format, tex_params.type, data); data 65 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc void DoFullTexSubImage2D(const AsyncTexImage2DParams& tex_params, void* data) { data 69 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc tex_params.format, tex_params.type, data); data 257 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc void* data = mem_params.GetDataAddress(); data 275 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc DoTexImage2D(tex_params, data); data 288 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc DoFullTexSubImage2D(tex_params, data); data 315 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc void* data = mem_params.GetDataAddress(); data 333 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc DoTexSubImage2D(tex_params, data); data 594 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc void* data = mem_params.GetDataAddress(); data 599 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc DoTexImage2D(tex_params, data); data 645 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc void* data = mem_params.GetDataAddress(); data 653 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc DoTexImage2D(state_->define_params_, data); data 147 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc void* data = mem_params.GetDataAddress(); data 163 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc data); data 183 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc void* data = mem_params.GetDataAddress(); data 206 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc data); data 218 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc data); data 298 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc void* data = mem_params.GetDataAddress(); data 310 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc data); data 336 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc void* data = mem_params.GetDataAddress(); data 347 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc data); data 49 gpu/command_buffer/service/async_pixel_transfer_manager_sync.cc void* data = mem_params.GetDataAddress(); data 60 gpu/command_buffer/service/async_pixel_transfer_manager_sync.cc data); data 71 gpu/command_buffer/service/async_pixel_transfer_manager_sync.cc void* data = mem_params.GetDataAddress(); data 82 gpu/command_buffer/service/async_pixel_transfer_manager_sync.cc data); data 99 gpu/command_buffer/service/buffer_manager.cc GLsizeiptr size, GLenum usage, bool shadow, const GLvoid* data, data 114 gpu/command_buffer/service/buffer_manager.cc if (data) { data 115 gpu/command_buffer/service/buffer_manager.cc memcpy(shadow_.get(), data, size); data 132 gpu/command_buffer/service/buffer_manager.cc GLintptr offset, GLsizeiptr size, const GLvoid * data) { data 137 gpu/command_buffer/service/buffer_manager.cc memcpy(shadow_.get() + offset, data, size); data 159 gpu/command_buffer/service/buffer_manager.cc GLuint GetMaxValue(const void* data, GLuint offset, GLsizei count) { data 162 gpu/command_buffer/service/buffer_manager.cc static_cast<const int8*>(data) + offset); data 251 gpu/command_buffer/service/buffer_manager.cc Buffer* buffer, GLsizeiptr size, GLenum usage, const GLvoid* data) { data 258 gpu/command_buffer/service/buffer_manager.cc buffer->SetInfo(size, usage, shadow, data, is_client_side_array); data 264 gpu/command_buffer/service/buffer_manager.cc const GLvoid * data, GLenum usage) { data 295 gpu/command_buffer/service/buffer_manager.cc DoBufferData(error_state, buffer, size, usage, data); data 304 gpu/command_buffer/service/buffer_manager.cc const GLvoid* data) { data 307 gpu/command_buffer/service/buffer_manager.cc if (!data) { data 310 gpu/command_buffer/service/buffer_manager.cc data = zero.get(); data 318 gpu/command_buffer/service/buffer_manager.cc glBufferData(buffer->target(), size, data, usage); data 322 gpu/command_buffer/service/buffer_manager.cc SetInfo(buffer, size, usage, data); data 330 gpu/command_buffer/service/buffer_manager.cc const GLvoid * data) { data 339 gpu/command_buffer/service/buffer_manager.cc DoBufferSubData(error_state, buffer, offset, size, data); data 347 gpu/command_buffer/service/buffer_manager.cc const GLvoid* data) { data 348 gpu/command_buffer/service/buffer_manager.cc if (!buffer->SetRange(offset, size, data)) { data 355 gpu/command_buffer/service/buffer_manager.cc glBufferSubData(buffer->target(), offset, size, data); data 121 gpu/command_buffer/service/buffer_manager.h GLsizeiptr size, GLenum usage, bool shadow, const GLvoid* data, data 127 gpu/command_buffer/service/buffer_manager.h GLintptr offset, GLsizeiptr size, const GLvoid * data); data 200 gpu/command_buffer/service/buffer_manager.h GLsizeiptr size, const GLvoid * data); data 206 gpu/command_buffer/service/buffer_manager.h const GLvoid * data, GLenum usage); data 247 gpu/command_buffer/service/buffer_manager.h const GLvoid* data); data 256 gpu/command_buffer/service/buffer_manager.h const GLvoid* data); data 261 gpu/command_buffer/service/buffer_manager.h Buffer* buffer, GLsizeiptr size, GLenum usage, const GLvoid* data); data 49 gpu/command_buffer/service/buffer_manager_unittest.cc Buffer* buffer, GLsizeiptr size, GLenum usage, const GLvoid* data, data 53 gpu/command_buffer/service/buffer_manager_unittest.cc buffer, size, usage, data, error); data 58 gpu/command_buffer/service/buffer_manager_unittest.cc const GLvoid* data) { data 72 gpu/command_buffer/service/buffer_manager_unittest.cc error_state_.get(), buffer, offset, size, data); data 196 gpu/command_buffer/service/buffer_manager_unittest.cc const uint8 data[] = {10, 9, 8, 7, 6, 5, 4, 3, 2, 1}; data 201 gpu/command_buffer/service/buffer_manager_unittest.cc DoBufferData(buffer, sizeof(data), GL_STATIC_DRAW, NULL, GL_NO_ERROR); data 202 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(DoBufferSubData(buffer, 0, sizeof(data), data)); data 203 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(DoBufferSubData(buffer, sizeof(data), 0, data)); data 204 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_FALSE(DoBufferSubData(buffer, sizeof(data), 1, data)); data 205 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_FALSE(DoBufferSubData(buffer, 0, sizeof(data) + 1, data)); data 206 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_FALSE(DoBufferSubData(buffer, -1, sizeof(data), data)); data 207 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_FALSE(DoBufferSubData(buffer, 0, -1, data)); data 218 gpu/command_buffer/service/buffer_manager_unittest.cc const uint8 data[] = {10, 9, 8, 7, 6, 5, 4, 3, 2, 1}; data 223 gpu/command_buffer/service/buffer_manager_unittest.cc DoBufferData(buffer, sizeof(data), GL_STATIC_DRAW, NULL, GL_NO_ERROR); data 225 gpu/command_buffer/service/buffer_manager_unittest.cc static_cast<const char*>(buffer->GetRange(0, sizeof(data))); data 228 gpu/command_buffer/service/buffer_manager_unittest.cc static_cast<const char*>(buffer->GetRange(1, sizeof(data) - 1)); data 230 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(buffer->GetRange(sizeof(data), 1) == NULL); data 231 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(buffer->GetRange(0, sizeof(data) + 1) == NULL); data 232 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(buffer->GetRange(-1, sizeof(data)) == NULL); data 243 gpu/command_buffer/service/buffer_manager_unittest.cc const uint8 data[] = {10, 9, 8, 7, 6, 5, 4, 3, 2, 1}; data 249 gpu/command_buffer/service/buffer_manager_unittest.cc DoBufferData(buffer, sizeof(data), GL_STATIC_DRAW, NULL, GL_NO_ERROR); data 250 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(DoBufferSubData(buffer, 0, sizeof(data), data)); data 279 gpu/command_buffer/service/buffer_manager_unittest.cc const uint16 data[] = {10, 9, 8, 7, 6, 5, 4, 3, 2, 1}; data 285 gpu/command_buffer/service/buffer_manager_unittest.cc DoBufferData(buffer, sizeof(data), GL_STATIC_DRAW, NULL, GL_NO_ERROR); data 286 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(DoBufferSubData(buffer, 0, sizeof(data), data)); data 318 gpu/command_buffer/service/buffer_manager_unittest.cc const uint32 data[] = {10, 9, 8, 7, 6, 5, 4, 3, 2, 1}; data 324 gpu/command_buffer/service/buffer_manager_unittest.cc DoBufferData(buffer, sizeof(data), GL_STATIC_DRAW, NULL, GL_NO_ERROR); data 325 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_TRUE(DoBufferSubData(buffer, 0, sizeof(data), data)); data 358 gpu/command_buffer/service/buffer_manager_unittest.cc const uint32 data[] = {10, 9, 8, 7, 6, 5, 4, 3, 2, 1}; data 366 gpu/command_buffer/service/buffer_manager_unittest.cc DoBufferData(buffer.get(), sizeof(data), GL_STATIC_DRAW, NULL, GL_NO_ERROR); data 378 gpu/command_buffer/service/buffer_manager_unittest.cc static const uint32 data[] = {10, 9, 8, 7, 6, 5, 4, 3, 2, 1}; data 383 gpu/command_buffer/service/buffer_manager_unittest.cc DoBufferData(buffer, sizeof(data), GL_STREAM_DRAW, data, GL_NO_ERROR); data 385 gpu/command_buffer/service/buffer_manager_unittest.cc EXPECT_EQ(0, memcmp(data, buffer->GetRange(0, sizeof(data)), sizeof(data))); data 386 gpu/command_buffer/service/buffer_manager_unittest.cc DoBufferData(buffer, sizeof(data), GL_DYNAMIC_DRAW, data, GL_NO_ERROR); data 199 gpu/command_buffer/service/common_decoder.cc const void* data = GetSharedMemoryAs<const void*>( data 201 gpu/command_buffer/service/common_decoder.cc if (!data) { data 208 gpu/command_buffer/service/common_decoder.cc if (!bucket->SetData(data, offset, size)) { data 218 gpu/command_buffer/service/common_decoder.cc const void* data = GetImmediateDataAs<const void*>(args); data 229 gpu/command_buffer/service/common_decoder.cc if (!bucket->SetData(data, offset, size)) { data 244 gpu/command_buffer/service/common_decoder.cc uint8* data = NULL; data 246 gpu/command_buffer/service/common_decoder.cc data = GetSharedMemoryAs<uint8*>( data 248 gpu/command_buffer/service/common_decoder.cc if (!data) { data 265 gpu/command_buffer/service/common_decoder.cc if (data) { data 267 gpu/command_buffer/service/common_decoder.cc memcpy(data, bucket->GetData(0, size), size); data 278 gpu/command_buffer/service/common_decoder.cc void* data = GetSharedMemoryAs<void*>( data 280 gpu/command_buffer/service/common_decoder.cc if (!data) { data 291 gpu/command_buffer/service/common_decoder.cc memcpy(data, src, size); data 40 gpu/command_buffer/service/common_decoder_unittest.cc static const char data[] = "testing"; data 43 gpu/command_buffer/service/common_decoder_unittest.cc EXPECT_TRUE(bucket.SetData(data, 0, sizeof(data))); data 44 gpu/command_buffer/service/common_decoder_unittest.cc EXPECT_EQ(0, memcmp(data, bucket.GetData(0, sizeof(data)), sizeof(data))); data 45 gpu/command_buffer/service/common_decoder_unittest.cc EXPECT_TRUE(bucket.SetData(data, 2, sizeof(data))); data 46 gpu/command_buffer/service/common_decoder_unittest.cc EXPECT_EQ(0, memcmp(data, bucket.GetData(2, sizeof(data)), sizeof(data))); data 47 gpu/command_buffer/service/common_decoder_unittest.cc EXPECT_FALSE(bucket.SetData(data, 0, sizeof(data) * 2)); data 48 gpu/command_buffer/service/common_decoder_unittest.cc EXPECT_FALSE(bucket.SetData(data, 5, sizeof(data))); data 392 gpu/command_buffer/service/common_decoder_unittest.cc uint8* data = engine_.GetSharedMemoryAs<uint8*>(kDataOffsetInSharedMemory); data 394 gpu/command_buffer/service/common_decoder_unittest.cc memset(data, 0, sizeof(kData)); data 401 gpu/command_buffer/service/common_decoder_unittest.cc EXPECT_EQ(0, memcmp(data, kData, kBucketSize)); data 405 gpu/command_buffer/service/common_decoder_unittest.cc memset(data, 0, sizeof(kData)); data 413 gpu/command_buffer/service/common_decoder_unittest.cc EXPECT_EQ(0, memcmp(data, kData, kPieceSize)); data 414 gpu/command_buffer/service/common_decoder_unittest.cc EXPECT_EQ(0, memcmp(data + kPieceSize, zero, sizeof(kData) - kPieceSize)); data 532 gpu/command_buffer/service/gles2_cmd_decoder.cc void* data = mem_params.GetDataAddress(); data 533 gpu/command_buffer/service/gles2_cmd_decoder.cc AsyncUploadSync* sync = static_cast<AsyncUploadSync*>(data); data 852 gpu/command_buffer/service/gles2_cmd_decoder.cc const void* data); data 864 gpu/command_buffer/service/gles2_cmd_decoder.cc const void * data); data 903 gpu/command_buffer/service/gles2_cmd_decoder.cc const void * data); data 915 gpu/command_buffer/service/gles2_cmd_decoder.cc const void * data); data 923 gpu/command_buffer/service/gles2_cmd_decoder.cc const void * data); data 1131 gpu/command_buffer/service/gles2_cmd_decoder.cc GLuint client_id, const char* data, uint32 data_size); data 1237 gpu/command_buffer/service/gles2_cmd_decoder.cc GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data); data 6367 gpu/command_buffer/service/gles2_cmd_decoder.cc scoped_ptr<float[]> data(new float[size]); data 6371 gpu/command_buffer/service/gles2_cmd_decoder.cc float* dst = data.get(); data 6375 gpu/command_buffer/service/gles2_cmd_decoder.cc glBufferSubData(GL_ARRAY_BUFFER, offset, size, data.get()); data 6659 gpu/command_buffer/service/gles2_cmd_decoder.cc GLuint client_id, const char* data, uint32 data_size) { data 6660 gpu/command_buffer/service/gles2_cmd_decoder.cc std::string str(data, data + data_size); data 6674 gpu/command_buffer/service/gles2_cmd_decoder.cc const char* data = GetSharedMemoryAs<const char*>( data 6676 gpu/command_buffer/service/gles2_cmd_decoder.cc if (!data) { data 6679 gpu/command_buffer/service/gles2_cmd_decoder.cc return ShaderSourceHelper(c.shader, data, data_size); data 7251 gpu/command_buffer/service/gles2_cmd_decoder.cc void* data; data 7253 gpu/command_buffer/service/gles2_cmd_decoder.cc data = glMapBufferRange( data 7256 gpu/command_buffer/service/gles2_cmd_decoder.cc data = glMapBuffer(GL_PIXEL_PACK_BUFFER_ARB, GL_READ_ONLY); data 7258 gpu/command_buffer/service/gles2_cmd_decoder.cc memcpy(pixels, data, pixels_size); data 7750 gpu/command_buffer/service/gles2_cmd_decoder.cc const void* data = NULL; data 7752 gpu/command_buffer/service/gles2_cmd_decoder.cc data = GetSharedMemoryAs<const void*>(data_shm_id, data_shm_offset, size); data 7753 gpu/command_buffer/service/gles2_cmd_decoder.cc if (!data) { data 7757 gpu/command_buffer/service/gles2_cmd_decoder.cc buffer_manager()->ValidateAndDoBufferData(&state_, target, size, data, usage); data 7762 gpu/command_buffer/service/gles2_cmd_decoder.cc GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data) { data 7765 gpu/command_buffer/service/gles2_cmd_decoder.cc &state_, target, offset, size, data); data 8021 gpu/command_buffer/service/gles2_cmd_decoder.cc const void* data) { data 8075 gpu/command_buffer/service/gles2_cmd_decoder.cc if (!data) { data 8078 gpu/command_buffer/service/gles2_cmd_decoder.cc data = zero.get(); data 8082 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, internal_format, width, height, border, image_size, data); data 8103 gpu/command_buffer/service/gles2_cmd_decoder.cc const void* data = NULL; data 8105 gpu/command_buffer/service/gles2_cmd_decoder.cc data = GetSharedMemoryAs<const void*>( data 8107 gpu/command_buffer/service/gles2_cmd_decoder.cc if (!data) { data 8112 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, internal_format, width, height, border, image_size, data); data 8129 gpu/command_buffer/service/gles2_cmd_decoder.cc const void* data = bucket->GetData(0, data_size); data 8130 gpu/command_buffer/service/gles2_cmd_decoder.cc if (!data) { data 8135 gpu/command_buffer/service/gles2_cmd_decoder.cc imageSize, data); data 8154 gpu/command_buffer/service/gles2_cmd_decoder.cc const void* data = bucket->GetData(0, data_size); data 8155 gpu/command_buffer/service/gles2_cmd_decoder.cc if (!data) { data 8184 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, xoffset, yoffset, width, height, format, imageSize, data); data 8237 gpu/command_buffer/service/gles2_cmd_decoder.cc const void * data) { data 8282 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, xoffset, yoffset, width, height, format, image_size, data); data 8542 gpu/command_buffer/service/gles2_cmd_decoder.cc const void * data) { data 8600 gpu/command_buffer/service/gles2_cmd_decoder.cc if (data == NULL) { data 8616 gpu/command_buffer/service/gles2_cmd_decoder.cc const void * data) { data 8619 gpu/command_buffer/service/gles2_cmd_decoder.cc xoffset, yoffset, width, height, format, type, data)) { data 8639 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, xoffset, yoffset, width, height, format, type, data); data 8652 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, internal_format, width, height, 0, format, type, data); data 8656 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, xoffset, yoffset, width, height, format, type, data); data 10111 gpu/command_buffer/service/gles2_cmd_decoder.cc const GLbyte* data) { data 10114 gpu/command_buffer/service/gles2_cmd_decoder.cc "mailbox[0]", static_cast<unsigned char>(data[0])); data 10116 gpu/command_buffer/service/gles2_cmd_decoder.cc const Mailbox& mailbox = *reinterpret_cast<const Mailbox*>(data); data 10142 gpu/command_buffer/service/gles2_cmd_decoder.cc const GLbyte* data) { data 10145 gpu/command_buffer/service/gles2_cmd_decoder.cc "mailbox[0]", static_cast<unsigned char>(data[0])); data 10146 gpu/command_buffer/service/gles2_cmd_decoder.cc const Mailbox& mailbox = *reinterpret_cast<const Mailbox*>(data); data 10393 gpu/command_buffer/service/gles2_cmd_decoder.cc const void * data) { data 10405 gpu/command_buffer/service/gles2_cmd_decoder.cc if (data == NULL) { data 212 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h const void* data = GetSharedMemoryAs<const void*>( data 222 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (data == NULL) { data 225 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h DoBufferSubData(target, offset, size, data); data 337 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h const void* data = GetSharedMemoryAs<const void*>( data 364 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (data == NULL) { data 368 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h target, level, xoffset, yoffset, width, height, format, imageSize, data); data 2306 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLint x, GLint y, GLsizei width, const void* data) const { data 2308 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc return memcmp(data, GetPixelAddress(expected_pixels_, x, y), data 1312 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc GLenum target, GLint offset, GLsizei size, const void* data) { data 1317 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc memcpy(shared_memory_address_, data, size); data 277 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h GLenum target, GLint offset, GLsizei size, const void* data); data 154 gpu/command_buffer/service/memory_program_cache.cc static_cast<const GLvoid*>(value->data()), data 175 gpu/command_buffer/service/memory_program_cache.cc proto->set_program(value->data(), value->length()); data 336 gpu/command_buffer/service/memory_program_cache.cc const char* data, data 349 gpu/command_buffer/service/memory_program_cache.cc data_(data), data 55 gpu/command_buffer/service/memory_program_cache.h const char* data, data 75 gpu/command_buffer/service/memory_program_cache.h const char* data() const { data 442 gpu/command_buffer/service/program_manager.cc UniformData data; data 445 gpu/command_buffer/service/program_manager.cc &data.size, &data.type, name_buffer.get()); data 449 gpu/command_buffer/service/program_manager.cc data.queried_name = std::string(name_buffer.get()); data 451 gpu/command_buffer/service/program_manager.cc true, name_buffer.get(), &data.corrected_name, &data.original_name, data 452 gpu/command_buffer/service/program_manager.cc &data.size, &data.type); data 453 gpu/command_buffer/service/program_manager.cc uniform_data.push_back(data); data 468 gpu/command_buffer/service/program_manager.cc UniformData& data = uniform_data[ii]; data 469 gpu/command_buffer/service/program_manager.cc data.location = glGetUniformLocation( data 470 gpu/command_buffer/service/program_manager.cc service_id_, data.queried_name.c_str()); data 475 gpu/command_buffer/service/program_manager.cc data.queried_name, &element_index, &short_name);\ data 480 gpu/command_buffer/service/program_manager.cc data.added = AddUniformInfo( data 481 gpu/command_buffer/service/program_manager.cc data.size, data.type, data.location, it->second, data.corrected_name, data 482 gpu/command_buffer/service/program_manager.cc data.original_name, &next_available_index); data 488 gpu/command_buffer/service/program_manager.cc const UniformData& data = uniform_data[ii]; data 489 gpu/command_buffer/service/program_manager.cc if (!data.added) { data 491 gpu/command_buffer/service/program_manager.cc data.size, data.type, data.location, -1, data.corrected_name, data 492 gpu/command_buffer/service/program_manager.cc data.original_name, &next_available_index); data 40 gpu/command_buffer/service/query_manager.cc void* data = mem_params.GetDataAddress(); data 41 gpu/command_buffer/service/query_manager.cc QuerySync* sync = static_cast<QuerySync*>(data); data 582 gpu/command_buffer/service/test_helper.cc const GLvoid* data, GLenum error) { data 600 gpu/command_buffer/service/test_helper.cc manager->DoBufferData(error_state, buffer, size, usage, data); data 99 gpu/command_buffer/service/test_helper.h const GLvoid* data, GLenum error); data 58 gpu/command_buffer/tests/compressed_texture_test.cc static GLuint LoadCompressedTexture(const void* data, data 71 gpu/command_buffer/tests/compressed_texture_test.cc GL_TEXTURE_2D, 0, format, width, height, 0, size, data); data 77 gpu/command_buffer/tests/compressed_texture_test.cc uint16 data[kStride * kPaletteSize]; data 81 gpu/command_buffer/tests/compressed_texture_test.cc data[j++] = kPalette[i]; // color_0. data 82 gpu/command_buffer/tests/compressed_texture_test.cc data[j++] = kPalette[i]; // color_1. data 83 gpu/command_buffer/tests/compressed_texture_test.cc data[j++] = kColor0; // color index. data 84 gpu/command_buffer/tests/compressed_texture_test.cc data[j++] = kColor1; // color index. data 89 gpu/command_buffer/tests/compressed_texture_test.cc data, sizeof(data), format, kTextureWidth, kTextureHeight); data 95 gpu/command_buffer/tests/compressed_texture_test.cc uint16 data[kStride * kPaletteSize]; data 99 gpu/command_buffer/tests/compressed_texture_test.cc data[j++] = kOpaque; // alpha row 0. data 100 gpu/command_buffer/tests/compressed_texture_test.cc data[j++] = kOpaque; // alpha row 1. data 101 gpu/command_buffer/tests/compressed_texture_test.cc data[j++] = kOpaque; // alpha row 2. data 102 gpu/command_buffer/tests/compressed_texture_test.cc data[j++] = kOpaque; // alpha row 3. data 103 gpu/command_buffer/tests/compressed_texture_test.cc data[j++] = kPalette[i]; // color_0. data 104 gpu/command_buffer/tests/compressed_texture_test.cc data[j++] = kPalette[i]; // color_1. data 105 gpu/command_buffer/tests/compressed_texture_test.cc data[j++] = kColor0; // color index. data 106 gpu/command_buffer/tests/compressed_texture_test.cc data[j++] = kColor1; // color index. data 108 gpu/command_buffer/tests/compressed_texture_test.cc return LoadCompressedTexture(data, data 109 gpu/command_buffer/tests/compressed_texture_test.cc sizeof(data), data 119 gpu/command_buffer/tests/compressed_texture_test.cc uint16 data[kStride * kPaletteSize]; data 123 gpu/command_buffer/tests/compressed_texture_test.cc data[j++] = kClear; // alpha_0 | alpha_1. data 124 gpu/command_buffer/tests/compressed_texture_test.cc data[j++] = kAlpha7; // alpha index. data 125 gpu/command_buffer/tests/compressed_texture_test.cc data[j++] = kAlpha7; // alpha index. data 126 gpu/command_buffer/tests/compressed_texture_test.cc data[j++] = kAlpha7; // alpha index. data 127 gpu/command_buffer/tests/compressed_texture_test.cc data[j++] = kPalette[i]; // color_0. data 128 gpu/command_buffer/tests/compressed_texture_test.cc data[j++] = kPalette[i]; // color_1. data 129 gpu/command_buffer/tests/compressed_texture_test.cc data[j++] = kColor0; // color index. data 130 gpu/command_buffer/tests/compressed_texture_test.cc data[j++] = kColor1; // color index. data 132 gpu/command_buffer/tests/compressed_texture_test.cc return LoadCompressedTexture(data, data 133 gpu/command_buffer/tests/compressed_texture_test.cc sizeof(data), data 77 gpu/command_buffer/tests/gl_readback_unittest.cc unsigned char *data = static_cast<unsigned char *>( data 81 gpu/command_buffer/tests/gl_readback_unittest.cc EXPECT_TRUE(data); data 82 gpu/command_buffer/tests/gl_readback_unittest.cc EXPECT_EQ(data[0], 0); // red data 83 gpu/command_buffer/tests/gl_readback_unittest.cc EXPECT_EQ(data[1], 0); // green data 84 gpu/command_buffer/tests/gl_readback_unittest.cc EXPECT_EQ(data[2], 255); // blue data 127 gpu/command_buffer/tests/gl_readback_unittest.cc static GLuint CompileShader(GLenum type, const char *data) { data 128 gpu/command_buffer/tests/gl_readback_unittest.cc const char *shaderStrings[1] = { data }; data 205 gpu/command_buffer/tests/gl_test_utils.cc scoped_ptr<uint8[]> data(new uint8[size]); data 206 gpu/command_buffer/tests/gl_test_utils.cc uint8* pixels = data.get(); data 171 gpu/config/gpu_test_expectations_parser.cc bool GPUTestExpectationsParser::LoadTestExpectations(const std::string& data) { data 176 gpu/config/gpu_test_expectations_parser.cc base::SplitString(data, '\n', &lines); data 195 gpu/config/gpu_test_expectations_parser.cc std::string data; data 196 gpu/config/gpu_test_expectations_parser.cc if (!base::ReadFileToString(path, &data)) { data 200 gpu/config/gpu_test_expectations_parser.cc return LoadTestExpectations(data); data 34 gpu/config/gpu_test_expectations_parser.h bool LoadTestExpectations(const std::string& data); data 17 ios/consumer/base/supports_user_data.cc DataAdaptor(SupportsUserData::Data* data); data 26 ios/consumer/base/supports_user_data.cc DataAdaptor::DataAdaptor(SupportsUserData::Data* data) data 27 ios/consumer/base/supports_user_data.cc : data_(data) {} data 42 ios/consumer/base/supports_user_data.cc void SetIOSUserData(const void* key, ios::SupportsUserData::Data* data); data 57 ios/consumer/base/supports_user_data.cc return adaptor->data(); data 61 ios/consumer/base/supports_user_data.cc const void* key, ios::SupportsUserData::Data* data) { data 62 ios/consumer/base/supports_user_data.cc base::SupportsUserData::SetUserData(key, new DataAdaptor(data)); data 78 ios/consumer/base/supports_user_data.cc void SupportsUserData::SetUserData(const void* key, Data* data) { data 79 ios/consumer/base/supports_user_data.cc internal_helper_->SetIOSUserData(key, data); data 31 ios/public/consumer/base/supports_user_data.h void SetUserData(const void* key, Data* data); data 28 ipc/ipc_channel_nacl.cc std::vector<char> data; data 39 ipc/ipc_channel_nacl.cc contents->data.resize(Channel::kReadBufferSize); data 42 ipc/ipc_channel_nacl.cc NaClAbiNaClImcMsgIoVec iov = { &contents->data[0], contents->data.size() }; data 52 ipc/ipc_channel_nacl.cc contents->data.clear(); data 58 ipc/ipc_channel_nacl.cc contents->data.resize(bytes_read); data 221 ipc/ipc_channel_nacl.cc linked_ptr<std::vector<char> > data(new std::vector<char>); data 222 ipc/ipc_channel_nacl.cc data->swap(contents->data); data 223 ipc/ipc_channel_nacl.cc read_queue_.push_back(data); data 280 ipc/ipc_channel_nacl.cc const_cast<void*>(msg->data()), msg->size() data 399 ipc/ipc_channel_posix.cc const char* out_bytes = reinterpret_cast<const char*>(msg->data()) + data 69 ipc/ipc_channel_reader.cc p = input_overflow_buf_.data(); data 55 ipc/ipc_channel_unittest.cc std::string data; data 56 ipc/ipc_channel_unittest.cc EXPECT_TRUE(iter.ReadString(&data)); data 391 ipc/ipc_channel_win.cc m->data(), data 70 ipc/ipc_fuzzing_tests.cc const char* data = NULL; data 71 ipc/ipc_fuzzing_tests.cc EXPECT_TRUE(m.ReadBytes(&iter, &data, sizeof(int))); data 111 ipc/ipc_logging.cc std::vector<LogData> data; data 113 ipc/ipc_logging.cc if (!ReadParam(&message, &iter, &data)) data 116 ipc/ipc_logging.cc for (size_t i = 0; i < data.size(); ++i) { data 117 ipc/ipc_logging.cc Log(data[i]); data 126 ipc/ipc_logging.cc LogData* data = message->sync_log_data(); data 127 ipc/ipc_logging.cc if (!data) data 133 ipc/ipc_logging.cc GenerateLogData("", *message, data, true); data 134 ipc/ipc_logging.cc data->channel = channel_id; data 135 ipc/ipc_logging.cc Log(*data); data 136 ipc/ipc_logging.cc delete data; data 158 ipc/ipc_logging.cc LogData data; data 159 ipc/ipc_logging.cc GenerateLogData(channel_id, message, &data, true); data 162 ipc/ipc_logging.cc Log(data); data 165 ipc/ipc_logging.cc FROM_HERE, base::Bind(&Logging::Log, base::Unretained(this), data)); data 224 ipc/ipc_logging.cc void Logging::Log(const LogData& data) { data 227 ipc/ipc_logging.cc consumer_->Log(data); data 231 ipc/ipc_logging.cc queued_logs_.push_back(data); data 243 ipc/ipc_logging.cc if (data.message_name.empty()) { data 244 ipc/ipc_logging.cc message_name = base::StringPrintf("[unknown type %d]", data.type); data 246 ipc/ipc_logging.cc message_name = data.message_name; data 249 ipc/ipc_logging.cc (Time::FromInternalValue(data.receive) - data 250 ipc/ipc_logging.cc Time::FromInternalValue(data.sent)).InSecondsF(); data 252 ipc/ipc_logging.cc (Time::FromInternalValue(data.dispatch) - data 253 ipc/ipc_logging.cc Time::FromInternalValue(data.sent)).InSecondsF(); data 256 ipc/ipc_logging.cc data.channel.c_str(), data 257 ipc/ipc_logging.cc data.routing_id, data 258 ipc/ipc_logging.cc data.flags.c_str(), data 262 ipc/ipc_logging.cc data.params.c_str(), data 263 ipc/ipc_logging.cc Time::FromInternalValue(data.sent).ToDoubleT(), data 265 ipc/ipc_logging.cc Time::FromInternalValue(data.receive).ToDoubleT(), data 267 ipc/ipc_logging.cc Time::FromInternalValue(data.dispatch).ToDoubleT(), data 274 ipc/ipc_logging.cc LogData* data, bool get_params) { data 278 ipc/ipc_logging.cc Logging::GetMessageText(data->type, NULL, &message, ¶ms); data 280 ipc/ipc_logging.cc if (!data->params.empty() && !params.empty()) data 281 ipc/ipc_logging.cc data->params += ", "; data 283 ipc/ipc_logging.cc data->flags += " DR"; data 285 ipc/ipc_logging.cc data->params += params; data 301 ipc/ipc_logging.cc data->channel = channel; data 302 ipc/ipc_logging.cc data->routing_id = message.routing_id(); data 303 ipc/ipc_logging.cc data->type = message.type(); data 304 ipc/ipc_logging.cc data->flags = flags; data 305 ipc/ipc_logging.cc data->sent = message.sent_time(); data 306 ipc/ipc_logging.cc data->receive = message.received_time(); data 307 ipc/ipc_logging.cc data->dispatch = Time::Now().ToInternalValue(); data 308 ipc/ipc_logging.cc data->params = params; data 309 ipc/ipc_logging.cc data->message_name = message_name; data 41 ipc/ipc_logging.h virtual void Log(const LogData& data) = 0; data 106 ipc/ipc_logging.h void Log(const LogData& data); data 66 ipc/ipc_message.cc Message::Message(const char* data, int data_len) : Pickle(data, data_len) { data 113 ipc/ipc_message.cc const char* data = end_of_payload(); data 114 ipc/ipc_message.cc data -= sizeof(int64); data 115 ipc/ipc_message.cc return *(reinterpret_cast<const int64*>(data)); data 67 ipc/ipc_message.h Message(const char* data, int data_len); data 212 ipc/ipc_message.h void set_sync_log_data(LogData* data) const { log_data_ = data; } data 30 ipc/ipc_message_utils.cc void LogBytes(const std::vector<CharType>& data, std::string* out) { data 33 ipc/ipc_message_utils.cc for (size_t i = 0; i < data.size(); ++i) data 34 ipc/ipc_message_utils.cc out->push_back(data[i]); data 38 ipc/ipc_message_utils.cc for (size_t i = 0; i < std::min(data.size(), kMaxBytesToLog); ++i) { data 39 ipc/ipc_message_utils.cc if (isprint(data[i])) data 40 ipc/ipc_message_utils.cc out->push_back(data[i]); data 43 ipc/ipc_message_utils.cc base::StringPrintf("[%02X]", static_cast<unsigned char>(data[i]))); data 45 ipc/ipc_message_utils.cc if (data.size() > kMaxBytesToLog) { data 48 ipc/ipc_message_utils.cc static_cast<unsigned>(data.size() - kMaxBytesToLog))); data 209 ipc/ipc_message_utils.cc const char* data; data 211 ipc/ipc_message_utils.cc if (!m->ReadData(iter, &data, &length)) data 213 ipc/ipc_message_utils.cc *value = base::BinaryValue::CreateWithCopiedBuffer(data, length); data 262 ipc/ipc_message_utils.cc const char* data; data 263 ipc/ipc_message_utils.cc if (!m->ReadBytes(iter, &data, sizeof(param_type))) data 265 ipc/ipc_message_utils.cc memcpy(r, data, sizeof(param_type)); data 279 ipc/ipc_message_utils.cc const char* data; data 280 ipc/ipc_message_utils.cc if (!m->ReadBytes(iter, &data, sizeof(param_type))) data 282 ipc/ipc_message_utils.cc memcpy(r, data, sizeof(param_type)); data 324 ipc/ipc_message_utils.cc const char *data; data 325 ipc/ipc_message_utils.cc if (!m->ReadBytes(iter, &data, sizeof(*r))) { data 329 ipc/ipc_message_utils.cc memcpy(r, data, sizeof(param_type)); data 363 ipc/ipc_message_utils.cc const char *data; data 365 ipc/ipc_message_utils.cc if (!m->ReadData(iter, &data, &data_size) || data_size < 0) data 369 ipc/ipc_message_utils.cc memcpy(&r->front(), data, data_size); data 390 ipc/ipc_message_utils.cc const char *data; data 392 ipc/ipc_message_utils.cc if (!m->ReadData(iter, &data, &data_size) || data_size < 0) data 396 ipc/ipc_message_utils.cc memcpy(&r->front(), data, data_size); data 789 ipc/ipc_message_utils.cc const char *data; data 791 ipc/ipc_message_utils.cc if (m->ReadData(iter, &data, &data_size) && data_size == sizeof(LOGFONT)) { data 792 ipc/ipc_message_utils.cc const LOGFONT *font = reinterpret_cast<LOGFONT*>(const_cast<char*>(data)); data 794 ipc/ipc_message_utils.cc memcpy(r, data, sizeof(LOGFONT)); data 813 ipc/ipc_message_utils.cc const char *data; data 815 ipc/ipc_message_utils.cc bool result = m->ReadData(iter, &data, &data_size); data 817 ipc/ipc_message_utils.cc memcpy(r, data, sizeof(MSG)); data 782 ipc/ipc_message_utils.h LogData* data, bool get_params); data 809 ipc/ipc_message_utils.h LogData* data = new LogData; data 810 ipc/ipc_message_utils.h GenerateLogData("", *msg, data, true); data 812 ipc/ipc_message_utils.h reply->set_sync_log_data(data); data 81 jingle/glue/channel_socket_adapter.cc result = channel_->SendPacket(buffer->data(), buffer_size, options); data 143 jingle/glue/channel_socket_adapter.cc const char* data, data 159 jingle/glue/channel_socket_adapter.cc memcpy(read_buffer_->data(), data, data_size); data 178 jingle/glue/channel_socket_adapter.cc int result = channel_->SendPacket(write_buffer_->data(), data 56 jingle/glue/channel_socket_adapter.h const char* data, data 37 jingle/glue/channel_socket_adapter_unittest.cc MOCK_METHOD4(SendPacket, int(const char* data, data 114 jingle/glue/channel_socket_adapter_unittest.cc EXPECT_CALL(channel_, SendPacket(buffer->data(), kTestDataSize, _, 0)) data 126 jingle/glue/channel_socket_adapter_unittest.cc EXPECT_CALL(channel_, SendPacket(buffer->data(), kTestDataSize, _, 0)) data 214 jingle/glue/chrome_async_socket.cc bool ChromeAsyncSocket::Read(char* data, size_t len, size_t* len_read) { data 241 jingle/glue/chrome_async_socket.cc std::memcpy(data, read_buf_->data() + read_start_, *len_read); data 256 jingle/glue/chrome_async_socket.cc bool ChromeAsyncSocket::Write(const char* data, size_t len) { data 271 jingle/glue/chrome_async_socket.cc std::memcpy(write_buf_->data() + write_end_, data, len); data 346 jingle/glue/chrome_async_socket.cc std::memmove(write_buf_->data(), data 347 jingle/glue/chrome_async_socket.cc write_buf_->data() + written, data 88 jingle/glue/chrome_async_socket.h virtual bool Read(char* data, size_t len, size_t* len_read) OVERRIDE; data 107 jingle/glue/chrome_async_socket.h virtual bool Write(const char* data, size_t len) OVERRIDE; data 59 jingle/glue/chrome_async_socket_unittest.cc virtual net::MockWriteResult OnWrite(const std::string& data) OVERRIDE { data 66 jingle/glue/chrome_async_socket_unittest.cc std::string expected_data(mock_write.data, mock_write.data_len); data 67 jingle/glue/chrome_async_socket_unittest.cc EXPECT_EQ(expected_data, data); data 68 jingle/glue/chrome_async_socket_unittest.cc if (expected_data != data) { data 71 jingle/glue/chrome_async_socket_unittest.cc return net::MockWriteResult(mock_write.mode, data.size()); data 737 jingle/glue/chrome_async_socket_unittest.cc std::string data("foo"); data 738 jingle/glue/chrome_async_socket_unittest.cc EXPECT_FALSE(chrome_async_socket_->Write(data.data(), data.size())); data 822 jingle/glue/chrome_async_socket_unittest.cc EXPECT_FALSE(chrome_async_socket_->Write(large_data.data(), data 839 jingle/glue/chrome_async_socket_unittest.cc std::string data(15, 'x'); data 840 jingle/glue/chrome_async_socket_unittest.cc EXPECT_TRUE(chrome_async_socket_->Write(data.data(), data.size())); data 841 jingle/glue/chrome_async_socket_unittest.cc EXPECT_FALSE(chrome_async_socket_->Write(data.data(), data.size())); data 37 jingle/glue/fake_socket_factory.cc int FakeUDPPacketSocket::Send(const void *data, size_t data_size, data 40 jingle/glue/fake_socket_factory.cc return SendTo(data, data_size, remote_address_, options); data 43 jingle/glue/fake_socket_factory.cc int FakeUDPPacketSocket::SendTo(const void *data, size_t data_size, data 57 jingle/glue/fake_socket_factory.cc const char* data_char = reinterpret_cast<const char*>(data); data 106 jingle/glue/fake_socket_factory.cc const std::vector<char>& data) { data 117 jingle/glue/fake_socket_factory.cc SignalReadPacket(this, &data[0], data.size(), address, data 128 jingle/glue/fake_socket_factory.cc const std::vector<char>& data) { data 133 jingle/glue/fake_socket_factory.cc base::Bind(&FakeSocketManager::DeliverPacket, this, from, to, data)); data 138 jingle/glue/fake_socket_factory.cc const std::vector<char>& data) { data 148 jingle/glue/fake_socket_factory.cc it->second->DeliverPacket(from, data); data 36 jingle/glue/fake_socket_factory.h const std::vector<char>& data); data 75 jingle/glue/fake_socket_factory.h const std::vector<char>& data); data 87 jingle/glue/fake_socket_factory.h const std::vector<char>& data); data 87 jingle/glue/fake_ssl_client_socket.cc std::memcpy(write_buf_->data(), kSslClientHello, arraysize(kSslClientHello)); data 277 jingle/glue/fake_ssl_client_socket.cc if (std::memcmp(expected_data_start, read_buf_->data(), read) != 0) { data 76 jingle/glue/fake_ssl_client_socket_unittest.cc void AddChunkedOps(base::StringPiece data, size_t chunk_size, net::IoMode mode, data 80 jingle/glue/fake_ssl_client_socket_unittest.cc while (offset < data.size()) { data 81 jingle/glue/fake_ssl_client_socket_unittest.cc size_t bounded_chunk_size = std::min(data.size() - offset, chunk_size); data 82 jingle/glue/fake_ssl_client_socket_unittest.cc ops->push_back(net::MockReadWrite<type>(mode, data.data() + offset, data 212 jingle/glue/fake_ssl_client_socket_unittest.cc writes[index].data = NULL; data 223 jingle/glue/fake_ssl_client_socket_unittest.cc reads[index].data = kBadData; data 227 jingle/glue/fake_ssl_client_socket_unittest.cc reads[index].data = NULL; data 133 jingle/glue/pseudotcp_adapter.cc int result = pseudo_tcp_.Recv(buffer->data(), buffer_size); data 157 jingle/glue/pseudotcp_adapter.cc int result = pseudo_tcp_.Send(buffer->data(), buffer_size); data 249 jingle/glue/pseudotcp_adapter.cc int result = pseudo_tcp_.Recv(read_buffer_->data(), read_buffer_size_); data 275 jingle/glue/pseudotcp_adapter.cc int result = pseudo_tcp_.Send(write_buffer_->data(), write_buffer_size_); data 357 jingle/glue/pseudotcp_adapter.cc memcpy(write_buffer->data(), buffer, len); data 404 jingle/glue/pseudotcp_adapter.cc pseudo_tcp_.NotifyPacket(socket_read_buffer_->data(), result); data 83 jingle/glue/pseudotcp_adapter_unittest.cc void AppendInputPacket(const std::vector<char>& data) { data 88 jingle/glue/pseudotcp_adapter_unittest.cc int size = std::min(read_buffer_size_, static_cast<int>(data.size())); data 89 jingle/glue/pseudotcp_adapter_unittest.cc memcpy(read_buffer_->data(), &data[0], data.size()); data 95 jingle/glue/pseudotcp_adapter_unittest.cc incoming_packets_.push_back(data); data 119 jingle/glue/pseudotcp_adapter_unittest.cc memcpy(buffer->data(), &*incoming_packets_.front().begin(), size); data 138 jingle/glue/pseudotcp_adapter_unittest.cc std::vector<char>(buf->data(), buf->data() + buf_len)), data 192 jingle/glue/pseudotcp_adapter_unittest.cc EXPECT_EQ(0, memcmp(output_buffer_->data(), data 213 jingle/glue/pseudotcp_adapter_unittest.cc memset(output_buffer_->data(), 123, kTestDataSize); data 80 jingle/glue/thread_wrapper.cc talk_base::MessageData* data, bool time_sensitive) { data 81 jingle/glue/thread_wrapper.cc PostTaskInternal(0, handler, message_id, data); data 86 jingle/glue/thread_wrapper.cc uint32 message_id, talk_base::MessageData* data) { data 87 jingle/glue/thread_wrapper.cc PostTaskInternal(delay_ms, handler, message_id, data); data 131 jingle/glue/thread_wrapper.cc talk_base::MessageData *data) { data 142 jingle/glue/thread_wrapper.cc message.pdata = data; data 204 jingle/glue/thread_wrapper.cc uint32 message_id, talk_base::MessageData* data) { data 209 jingle/glue/thread_wrapper.cc message.pdata = data; data 65 jingle/glue/thread_wrapper.h talk_base::MessageData* data) OVERRIDE; data 71 jingle/glue/thread_wrapper.h talk_base::MessageData *data) OVERRIDE; data 88 jingle/glue/thread_wrapper.h talk_base::MessageData* data) OVERRIDE; data 103 jingle/glue/thread_wrapper.h uint32 message_id, talk_base::MessageData* data); data 36 jingle/glue/thread_wrapper_unittest.cc MATCHER_P3(MatchMessage, handler, message_id, data, "") { data 39 jingle/glue/thread_wrapper_unittest.cc arg->pdata == data; data 69 jingle/glue/thread_wrapper_unittest.cc talk_base::MessageData* data = new talk_base::MessageData(); data 73 jingle/glue/thread_wrapper_unittest.cc MatchMessage(&handler, kTestMessage2, data))) data 75 jingle/glue/thread_wrapper_unittest.cc thread_->Send(&handler, kTestMessage2, data); data 225 jingle/glue/thread_wrapper_unittest.cc talk_base::MessageData* data = new talk_base::MessageData(); data 228 jingle/glue/thread_wrapper_unittest.cc MatchMessage(&handler1_, kTestMessage1, data))) data 230 jingle/glue/thread_wrapper_unittest.cc thread_->Send(&handler1_, kTestMessage1, data); data 258 jingle/glue/thread_wrapper_unittest.cc talk_base::MessageData* data = new talk_base::MessageData(); data 261 jingle/glue/thread_wrapper_unittest.cc MatchMessage(&handler1_, kTestMessage1, data))) data 263 jingle/glue/thread_wrapper_unittest.cc target->Send(&handler1_, kTestMessage1, data); data 287 jingle/glue/thread_wrapper_unittest.cc talk_base::MessageData* data = new talk_base::MessageData(); data 290 jingle/glue/thread_wrapper_unittest.cc MatchMessage(&handler1_, kTestMessage1, data))) data 295 jingle/glue/thread_wrapper_unittest.cc target->Send(&handler1_, kTestMessage1, data); data 130 jingle/notifier/base/xmpp_connection.cc void XmppConnection::OnInputLog(const char* data, int len) { data 132 jingle/notifier/base/xmpp_connection.cc VLOG(2) << "XMPP Input: " << base::StringPiece(data, len); data 135 jingle/notifier/base/xmpp_connection.cc void XmppConnection::OnOutputLog(const char* data, int len) { data 137 jingle/notifier/base/xmpp_connection.cc VLOG(2) << "XMPP Output: " << base::StringPiece(data, len); data 84 jingle/notifier/base/xmpp_connection.h void OnInputLog(const char* data, int len); data 85 jingle/notifier/base/xmpp_connection.h void OnOutputLog(const char* data, int len); data 40 jingle/notifier/listener/non_blocking_push_client.cc void SendNotification(const Notification& data); data 99 jingle/notifier/listener/non_blocking_push_client_unittest.cc notification.data = "data"; data 63 jingle/notifier/listener/notification_defines.cc data == other.data && data 73 jingle/notifier/listener/notification_defines.cc base::EscapeBytesAsInvalidJSONString(data, true /* put_in_quotes */); data 57 jingle/notifier/listener/notification_defines.h std::string data; data 22 jingle/notifier/listener/notification_defines_unittest.cc notification.data = kNonUtf8Data; data 71 jingle/notifier/listener/push_notifications_listen_task.cc if (!base::Base64Decode(base64_encoded_data, ¬ification.data)) { data 79 jingle/notifier/listener/push_notifications_send_update_task.cc buzz::XmlElement* data = new buzz::XmlElement(kQnData, true); data 81 jingle/notifier/listener/push_notifications_send_update_task.cc base::Base64Encode(notification.data, &base64_data); data 82 jingle/notifier/listener/push_notifications_send_update_task.cc data->SetBodyText(base64_data); data 83 jingle/notifier/listener/push_notifications_send_update_task.cc push->AddElement(data); data 36 jingle/notifier/listener/push_notifications_send_update_task_unittest.cc notification.data = "test_data"; data 39 jingle/notifier/listener/push_notifications_send_update_task_unittest.cc base::Base64Encode(notification.data, &base64_data); data 493 media/audio/alsa/alsa_output_unittest.cc EXPECT_CALL(mock_alsa_wrapper_, PcmWritei(kFakeHandle, packet_->data(), _)) data 506 media/audio/alsa/alsa_output_unittest.cc packet_->data() + written * kTestBytesPerFrame, data 199 media/audio/android/audio_android_unittest.cc audio_bus->FromInterleaved(file_->data() + pos_, frames, kBytesPerSample); data 344 media/audio/audio_input_controller.cc const uint8* data, data 368 media/audio/audio_input_controller.cc sync_writer_->Write(data, size, volume, key_pressed); data 373 media/audio/audio_input_controller.cc handler_->OnData(this, data, size); data 112 media/audio/audio_input_controller.h virtual void OnData(AudioInputController* controller, const uint8* data, data 131 media/audio/audio_input_controller.h virtual uint32 Write(const void* data, data 57 media/audio/audio_input_controller_unittest.cc const uint8* data, uint32 size)); data 26 media/audio/audio_input_unittest.cc const uint8* data, data 25 media/audio/audio_power_monitor_unittest.cc TestScenario(const float* data, int num_channels, int num_frames, data 28 media/audio/audio_power_monitor_unittest.cc CreatePopulatedBuffer(data, num_channels, num_frames); data 65 media/audio/audio_power_monitor_unittest.cc const float* data, int num_channels, int num_frames) { data 70 media/audio/audio_power_monitor_unittest.cc memcpy(bus_->channel(ch) + frames, data + num_frames * ch, data 84 media/audio/audio_power_monitor_unittest.cc return os << "{" << ts.data().channels() << "-channel signal} --> {" data 191 media/audio/audio_power_monitor_unittest.cc AudioBus::Create(scenario.data().channels(), scenario.data().frames()); data 200 media/audio/audio_power_monitor_unittest.cc scenario.data(), scenario.expected_power(), scenario.expected_clipped()); data 163 media/audio/mac/audio_input_mac.cc void* data, data 169 media/audio/mac/audio_input_mac.cc reinterpret_cast<PCMQueueInAudioInputStream*>(data)-> data 52 media/audio/mac/audio_input_mac.h void* data, data 520 media/audio/mac/audio_low_latency_input_mac.cc data_->data(), data 261 media/audio/pulse/pulse_input.cc const void* data = NULL; data 262 media/audio/pulse/pulse_input.cc pa_stream_peek(handle_, &data, &length); data 263 media/audio/pulse/pulse_input.cc if (!data || length == 0) data 266 media/audio/pulse/pulse_input.cc buffer_->Append(reinterpret_cast<const uint8*>(data), length); data 30 media/audio/sounds/audio_stream_handler_unittest.cc base::StringPiece data(kTestAudioData, arraysize(kTestAudioData)); data 31 media/audio/sounds/audio_stream_handler_unittest.cc audio_stream_handler_.reset(new AudioStreamHandler(data)); data 33 media/audio/sounds/sounds_manager.cc const base::StringPiece& data) OVERRIDE; data 51 media/audio/sounds/sounds_manager.cc const base::StringPiece& data) { data 54 media/audio/sounds/sounds_manager.cc linked_ptr<AudioStreamHandler> handler(new AudioStreamHandler(data)); data 39 media/audio/sounds/sounds_manager.h virtual bool Initialize(SoundKey key, const base::StringPiece& data) = 0; data 43 media/audio/sounds/wav_audio_handler.cc T ReadInt(const base::StringPiece& data, size_t offset) { data 44 media/audio/sounds/wav_audio_handler.cc CHECK_LE(offset + sizeof(T), data.size()); data 46 media/audio/sounds/wav_audio_handler.cc memcpy(&result, data.data() + offset, sizeof(T)); data 63 media/audio/sounds/wav_audio_handler.cc memcmp(wav_data.data() + 8, kFormat, 4) == 0) data 105 media/audio/sounds/wav_audio_handler.cc bus->FromInterleaved(data_.data() + cursor, frames, data 112 media/audio/sounds/wav_audio_handler.cc int WavAudioHandler::ParseSubChunk(const base::StringPiece& data) { data 113 media/audio/sounds/wav_audio_handler.cc if (data.size() < kChunkHeaderSize) data 114 media/audio/sounds/wav_audio_handler.cc return data.size(); data 115 media/audio/sounds/wav_audio_handler.cc uint32 chunk_length = ReadInt<uint32>(data, 4); data 116 media/audio/sounds/wav_audio_handler.cc if (data.starts_with(kSubchunk1Id)) { data 117 media/audio/sounds/wav_audio_handler.cc if (!ParseFmtChunk(data.substr(kChunkHeaderSize, chunk_length))) data 119 media/audio/sounds/wav_audio_handler.cc } else if (data.starts_with(kSubchunk2Id)) { data 120 media/audio/sounds/wav_audio_handler.cc if (!ParseDataChunk(data.substr(kChunkHeaderSize, chunk_length))) data 123 media/audio/sounds/wav_audio_handler.cc DVLOG(1) << "Unknown data chunk: " << data.substr(0, 4) << "."; data 128 media/audio/sounds/wav_audio_handler.cc bool WavAudioHandler::ParseFmtChunk(const base::StringPiece& data) { data 129 media/audio/sounds/wav_audio_handler.cc if (data.size() < kFmtChunkMinimumSize) { data 130 media/audio/sounds/wav_audio_handler.cc DLOG(ERROR) << "Data size " << data.size() << " is too short."; data 133 media/audio/sounds/wav_audio_handler.cc DCHECK_EQ(ReadInt<uint16>(data, kAudioFormatOffset), kAudioFormatPCM); data 134 media/audio/sounds/wav_audio_handler.cc num_channels_ = ReadInt<uint16>(data, kChannelOffset); data 135 media/audio/sounds/wav_audio_handler.cc sample_rate_ = ReadInt<uint32>(data, kSampleRateOffset); data 136 media/audio/sounds/wav_audio_handler.cc bits_per_sample_ = ReadInt<uint16>(data, kBitsPerSampleOffset); data 140 media/audio/sounds/wav_audio_handler.cc bool WavAudioHandler::ParseDataChunk(const base::StringPiece& data) { data 141 media/audio/sounds/wav_audio_handler.cc data_ = data; data 33 media/audio/sounds/wav_audio_handler.h const base::StringPiece& data() const { return data_; } data 37 media/audio/sounds/wav_audio_handler.h int ParseSubChunk(const base::StringPiece& data); data 40 media/audio/sounds/wav_audio_handler.h bool ParseFmtChunk(const base::StringPiece& data); data 43 media/audio/sounds/wav_audio_handler.h bool ParseDataChunk(const base::StringPiece& data); data 25 media/audio/sounds/wav_audio_handler_unittest.cc ASSERT_EQ(4U, handler.data().size()); data 27 media/audio/sounds/wav_audio_handler_unittest.cc ASSERT_EQ(base::StringPiece(kData, arraysize(kData) - 1), handler.data()); data 30 media/audio/sounds/wav_audio_handler_unittest.cc params.channels(), handler.data().size() / params.channels()); data 34 media/audio/sounds/wav_audio_handler_unittest.cc ASSERT_EQ(static_cast<size_t>(handler.data().size()), bytes_written); data 42 media/audio/virtual_audio_input_stream_unittest.cc MOCK_METHOD5(OnData, void(AudioInputStream* stream, const uint8* data, data 127 media/audio/win/audio_low_latency_output_win_unittest.cc file_->data() + pos_, frames, kBitsPerSample / 8); data 623 media/audio/win/audio_output_win_unittest.cc scoped_ptr<float, base::AlignedFreeDeleter> data(static_cast<float*>( data 626 media/audio/win/audio_output_win_unittest.cc ctx.channels, ctx.frames, data.get()); data 638 media/audio/win/audio_output_win_unittest.cc ctx.socket->Send(data.get(), ctx.packet_size_bytes); data 827 media/audio/win/core_audio_util_win.cc BYTE* data = NULL; data 829 media/audio/win/core_audio_util_win.cc if (FAILED(render_client->GetBuffer(num_frames_to_fill, &data))) data 70 media/audio/win/core_audio_util_win_unittest.cc } data[] = { data 81 media/audio/win/core_audio_util_win_unittest.cc for (int i = 0; i < arraysize(data); ++i) { data 83 media/audio/win/core_audio_util_win_unittest.cc CoreAudioUtil::CreateDefaultDevice(data[i].flow, data[i].role); data 85 media/audio/win/core_audio_util_win_unittest.cc EXPECT_EQ(data[i].flow, CoreAudioUtil::GetDataFlow(audio_device)); data 125 media/audio/win/core_audio_util_win_unittest.cc } data[] = { data 135 media/audio/win/core_audio_util_win_unittest.cc for (int i = 0; i < arraysize(data); ++i) { data 137 media/audio/win/core_audio_util_win_unittest.cc CoreAudioUtil::CreateDefaultDevice(data[i].flow, data[i].role); data 216 media/audio/win/core_audio_util_win_unittest.cc EDataFlow data[] = {eRender, eCapture}; data 218 media/audio/win/core_audio_util_win_unittest.cc for (int i = 0; i < arraysize(data); ++i) { data 220 media/audio/win/core_audio_util_win_unittest.cc client = CoreAudioUtil::CreateDefaultClient(data[i], eConsole); data 229 media/audio/win/core_audio_util_win_unittest.cc EDataFlow data[] = {eRender, eCapture}; data 231 media/audio/win/core_audio_util_win_unittest.cc for (int i = 0; i < arraysize(data); ++i) { data 234 media/audio/win/core_audio_util_win_unittest.cc device = CoreAudioUtil::CreateDefaultDevice(data[i], eConsole); data 236 media/audio/win/core_audio_util_win_unittest.cc EXPECT_EQ(data[i], CoreAudioUtil::GetDataFlow(device)); data 295 media/audio/win/core_audio_util_win_unittest.cc EDataFlow data[] = {eRender, eCapture}; data 299 media/audio/win/core_audio_util_win_unittest.cc for (int i = 0; i < arraysize(data); ++i) { data 303 media/audio/win/core_audio_util_win_unittest.cc client = CoreAudioUtil::CreateDefaultClient(data[i], eConsole); data 319 media/audio/win/core_audio_util_win_unittest.cc EDataFlow data[] = {eRender, eCapture}; data 323 media/audio/win/core_audio_util_win_unittest.cc for (int i = 0; i < arraysize(data); ++i) { data 326 media/audio/win/core_audio_util_win_unittest.cc client = CoreAudioUtil::CreateDefaultClient(data[i], eConsole); data 401 media/audio/win/core_audio_util_win_unittest.cc EDataFlow data[] = {eRender, eCapture}; data 406 media/audio/win/core_audio_util_win_unittest.cc for (int i = 0; i < arraysize(data); ++i) { data 411 media/audio/win/core_audio_util_win_unittest.cc client = CoreAudioUtil::CreateDefaultClient(data[i], eConsole); data 415 media/audio/win/core_audio_util_win_unittest.cc if (data[i] == eRender) { data 427 media/audio/win/core_audio_util_win_unittest.cc } else if (data[i] == eCapture) { data 44 media/base/android/demuxer_stream_player_params.h std::vector<uint8> data; data 125 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java private static UUID getUUIDFromBytes(byte[] data) { data 126 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java if (data.length != 16) { data 132 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java mostSigBits = (mostSigBits << 8) | (data[i] & 0xff); data 135 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java leastSigBits = (leastSigBits << 8) | (data[i] & 0xff); data 399 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java private MediaDrm.KeyRequest getKeyRequest(ByteBuffer session, byte[] data, String mime) data 407 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java session.array(), data, mime, MediaDrm.KEY_TYPE_STREAMING, optionalParameters); data 765 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java MediaDrm mediaDrm, byte[] session_array, int event, int extra, byte[] data) { data 792 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java request = getKeyRequest(session, data, mime); data 165 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java final String data = url.substring(headerStop + 1); data 172 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java mLoadDataUriTask = new LoadDataUriTask(context, data); data 182 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java public LoadDataUriTask(Context context, String data) { data 183 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java mData = data; data 301 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java Object data = getMetadata.invoke(player, false, false); data 302 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java if (data != null) { data 303 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java Class<?> metadataClass = data.getClass(); data 314 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java canPause = !((Boolean) hasMethod.invoke(data, pause)) data 315 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java || ((Boolean) getBooleanMethod.invoke(data, pause)); data 316 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java canSeekForward = !((Boolean) hasMethod.invoke(data, seekForward)) data 317 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java || ((Boolean) getBooleanMethod.invoke(data, seekForward)); data 318 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java canSeekBackward = !((Boolean) hasMethod.invoke(data, seekBackward)) data 319 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java || ((Boolean) getBooleanMethod.invoke(data, seekBackward)); data 246 media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java byte[] data); data 350 media/base/android/java/src/org/chromium/media/VideoCapture.java byte[] data, data 180 media/base/android/java/src/org/chromium/media/VideoCaptureAndroid.java public void onPreviewFrame(byte[] data, Camera camera) { data 186 media/base/android/java/src/org/chromium/media/VideoCaptureAndroid.java if (data.length == mExpectedFrameSize) { data 196 media/base/android/java/src/org/chromium/media/VideoCaptureAndroid.java data, mExpectedFrameSize, rotation); data 201 media/base/android/java/src/org/chromium/media/VideoCaptureAndroid.java camera.addCallbackBuffer(data); data 111 media/base/android/java/src/org/chromium/media/VideoCaptureTango.java public void onPreviewFrame(byte[] data, Camera camera) { data 117 media/base/android/java/src/org/chromium/media/VideoCaptureTango.java if (data.length == SF_WIDTH * SF_FULL_HEIGHT) { data 139 media/base/android/java/src/org/chromium/media/VideoCaptureTango.java depthsample = (byte)((data[j + 1] << 4) | data 140 media/base/android/java/src/org/chromium/media/VideoCaptureTango.java ((data[j] & 0xF0) >> 4)); data 154 media/base/android/java/src/org/chromium/media/VideoCaptureTango.java ByteBuffer.wrap(data, startY, sizeY) data 173 media/base/android/java/src/org/chromium/media/VideoCaptureTango.java ByteBuffer.wrap(data, startY, sizeY) data 175 media/base/android/java/src/org/chromium/media/VideoCaptureTango.java ByteBuffer.wrap(data, startU, sizeU) data 177 media/base/android/java/src/org/chromium/media/VideoCaptureTango.java ByteBuffer.wrap(data, startV, sizeV) data 229 media/base/android/media_codec_bridge.cc const uint8* data, data 235 media/base/android/media_codec_bridge.cc if (data && !FillInputBuffer(index, data, data_size)) data 250 media/base/android/media_codec_bridge.cc const uint8* data, data 262 media/base/android/media_codec_bridge.cc if (data && !FillInputBuffer(index, data, data_size)) data 410 media/base/android/media_codec_bridge.cc uint8** data, data 415 media/base/android/media_codec_bridge.cc *data = static_cast<uint8*>(env->GetDirectBufferAddress(j_buffer.obj())); data 438 media/base/android/media_codec_bridge.cc const uint8* data, data 451 media/base/android/media_codec_bridge.cc memcpy(dst, data, size); data 106 media/base/android/media_codec_bridge.h const uint8* data, data 116 media/base/android/media_codec_bridge.h const uint8* data, data 171 media/base/android/media_codec_bridge.h void GetInputBuffer(int input_buffer_index, uint8** data, size_t* capacity); data 201 media/base/android/media_codec_bridge.h const uint8* data, data 112 media/base/android/media_codec_bridge_unittest.cc VideoCodecBridge* media_codec, const uint8* data, size_t data_size, data 125 media/base/android/media_codec_bridge_unittest.cc input_buf_index, data, data_size, input_presentation_timestamp); data 261 media/base/android/media_codec_bridge_unittest.cc buffer->data(), data 267 media/base/android/media_codec_bridge_unittest.cc std::vector<uint8> chunk(buffer->data(), data 268 media/base/android/media_codec_bridge_unittest.cc buffer->data() + buffer->data_size()); data 269 media/base/android/media_codec_bridge_unittest.cc chunk.insert(chunk.end(), buffer->data(), data 270 media/base/android/media_codec_bridge_unittest.cc buffer->data() + buffer->data_size()); data 47 media/base/android/media_decoder_job.cc void MediaDecoderJob::OnDataReceived(const DemuxerData& data) { data 48 media/base/android/media_decoder_job.cc DVLOG(1) << __FUNCTION__ << ": " << data.access_units.size() << " units"; data 54 media/base/android/media_decoder_job.cc "Data type", data.type == media::DemuxerStream::AUDIO ? "AUDIO" : "VIDEO", data 55 media/base/android/media_decoder_job.cc "Units read", data.access_units.size()); data 70 media/base/android/media_decoder_job.cc received_data_[next_demuxer_data_index] = data; data 193 media/base/android/media_decoder_job.cc if (unit.end_of_stream || unit.data.empty()) { data 201 media/base/android/media_decoder_job.cc input_buf_index, &unit.data[0], unit.data.size(), unit.timestamp); data 206 media/base/android/media_decoder_job.cc &unit.data[0], unit.data.size(), data 320 media/base/android/media_decoder_job.cc if (unit.end_of_stream || unit.data.empty()) { data 45 media/base/android/media_decoder_job.h void OnDataReceived(const DemuxerData& data); data 28 media/base/android/media_drm_bridge.cc static uint32 ReadUint32(const uint8_t* data) { data 31 media/base/android/media_drm_bridge.cc value = (value << 8) | data[i]; data 35 media/base/android/media_drm_bridge.cc static uint64 ReadUint64(const uint8_t* data) { data 38 media/base/android/media_drm_bridge.cc value = (value << 8) | data[i]; data 83 media/base/android/media_drm_bridge.cc static bool GetPsshData(const uint8* data, int data_size, data 86 media/base/android/media_drm_bridge.cc const uint8* cur = data; data 87 media/base/android/media_drm_bridge.cc const uint8* data_end = data + data_size; data 349 media/base/android/media_source_player.cc void MediaSourcePlayer::OnDemuxerDataAvailable(const DemuxerData& data) { data 350 media/base/android/media_source_player.cc DVLOG(1) << __FUNCTION__ << "(" << data.type << ")"; data 351 media/base/android/media_source_player.cc DCHECK_LT(0u, data.access_units.size()); data 353 media/base/android/media_source_player.cc if (has_pending_audio_data_request_ && data.type == DemuxerStream::AUDIO) { data 359 media/base/android/media_source_player.cc if (has_pending_video_data_request_ && data.type == DemuxerStream::VIDEO) { data 366 media/base/android/media_source_player.cc if (data.type == DemuxerStream::AUDIO && audio_decoder_job_) { data 367 media/base/android/media_source_player.cc audio_decoder_job_->OnDataReceived(data); data 368 media/base/android/media_source_player.cc } else if (data.type == DemuxerStream::VIDEO) { data 371 media/base/android/media_source_player.cc video_decoder_job_->OnDataReceived(data); data 261 media/base/android/media_source_player_unittest.cc buffer->data(), data 262 media/base/android/media_source_player_unittest.cc buffer->data() + buffer->data_size()); data 349 media/base/android/media_source_player_unittest.cc unit.data = std::vector<uint8>( data 350 media/base/android/media_source_player_unittest.cc buffer->data(), buffer->data() + buffer->data_size()); data 356 media/base/android/media_source_player_unittest.cc unit.data.insert(unit.data.end(), padding, padding + 4); data 363 media/base/android/media_source_player_unittest.cc DemuxerData data; data 364 media/base/android/media_source_player_unittest.cc data.type = DemuxerStream::AUDIO; data 365 media/base/android/media_source_player_unittest.cc data.access_units.resize(1); data 366 media/base/android/media_source_player_unittest.cc data.access_units[0] = CreateAccessUnitWithData(true, packet_id); data 367 media/base/android/media_source_player_unittest.cc return data; data 371 media/base/android/media_source_player_unittest.cc DemuxerData data; data 372 media/base/android/media_source_player_unittest.cc data.type = DemuxerStream::VIDEO; data 373 media/base/android/media_source_player_unittest.cc data.access_units.resize(1); data 374 media/base/android/media_source_player_unittest.cc data.access_units[0] = CreateAccessUnitWithData(false, 0); data 375 media/base/android/media_source_player_unittest.cc return data; data 379 media/base/android/media_source_player_unittest.cc DemuxerData data; data 380 media/base/android/media_source_player_unittest.cc data.type = is_audio ? DemuxerStream::AUDIO : DemuxerStream::VIDEO; data 381 media/base/android/media_source_player_unittest.cc data.access_units.resize(1); data 382 media/base/android/media_source_player_unittest.cc data.access_units[0].status = DemuxerStream::kOk; data 383 media/base/android/media_source_player_unittest.cc data.access_units[0].end_of_stream = true; data 384 media/base/android/media_source_player_unittest.cc return data; data 388 media/base/android/media_source_player_unittest.cc DemuxerData data; data 389 media/base/android/media_source_player_unittest.cc data.type = is_audio ? DemuxerStream::AUDIO : DemuxerStream::VIDEO; data 390 media/base/android/media_source_player_unittest.cc data.access_units.resize(1); data 391 media/base/android/media_source_player_unittest.cc data.access_units[0].status = DemuxerStream::kAborted; data 392 media/base/android/media_source_player_unittest.cc return data; data 463 media/base/android/media_source_player_unittest.cc DemuxerData data = is_audio ? CreateReadFromDemuxerAckForAudio(1) : data 473 media/base/android/media_source_player_unittest.cc data.access_units[0].timestamp = data 475 media/base/android/media_source_player_unittest.cc player_.OnDemuxerDataAvailable(data); data 486 media/base/android/media_source_player_unittest.cc DemuxerData data; data 487 media/base/android/media_source_player_unittest.cc data.type = is_audio ? DemuxerStream::AUDIO : DemuxerStream::VIDEO; data 488 media/base/android/media_source_player_unittest.cc data.access_units.resize(config_unit_index + 1); data 491 media/base/android/media_source_player_unittest.cc data.access_units[i] = CreateAccessUnitWithData(is_audio, i); data 493 media/base/android/media_source_player_unittest.cc data.access_units[config_unit_index].status = DemuxerStream::kConfigChanged; data 494 media/base/android/media_source_player_unittest.cc return data; data 1491 media/base/android/media_source_player_unittest.cc DemuxerData data = CreateReadFromDemuxerAckForAudio(i); data 1492 media/base/android/media_source_player_unittest.cc data.access_units[0].timestamp = base::TimeDelta::FromMilliseconds( data 1494 media/base/android/media_source_player_unittest.cc player_.OnDemuxerDataAvailable(data); data 1524 media/base/android/media_source_player_unittest.cc DemuxerData data; data 1526 media/base/android/media_source_player_unittest.cc data = CreateReadFromDemuxerAckForAudio(3); data 1527 media/base/android/media_source_player_unittest.cc data.access_units[0].timestamp = base::TimeDelta::FromMilliseconds(i * 10); data 1539 media/base/android/media_source_player_unittest.cc player_.OnDemuxerDataAvailable(data); data 1544 media/base/android/media_source_player_unittest.cc player_.OnDemuxerDataAvailable(data); data 1571 media/base/android/media_source_player_unittest.cc DemuxerData data = CreateReadFromDemuxerAckWithConfigChanged(true, 0); data 1573 media/base/android/media_source_player_unittest.cc player_.OnDemuxerDataAvailable(data); data 1778 media/base/android/media_source_player_unittest.cc DemuxerData data = CreateReadFromDemuxerAckForVideo(); data 1779 media/base/android/media_source_player_unittest.cc player_.OnDemuxerDataAvailable(data); data 1788 media/base/android/media_source_player_unittest.cc player_.OnDemuxerDataAvailable(data); data 169 media/base/android/webaudio_media_codec_bridge.cc int16_t* data = static_cast<int16_t*>(env->GetDirectBufferAddress(buf)); data 170 media/base/android/webaudio_media_codec_bridge.cc int frame_count = buf_size / sizeof(*data) / 2; data 174 media/base/android/webaudio_media_codec_bridge.cc decoded_data[k] = *data; data 175 media/base/android/webaudio_media_codec_bridge.cc data += 2; data 179 media/base/android/webaudio_media_codec_bridge.cc count = frame_count * sizeof(*data); data 20 media/base/audio_buffer.cc const uint8* const* data, data 29 media/base/audio_buffer.cc end_of_stream_(!create_buffer && data == NULL && frame_count == 0), data 62 media/base/audio_buffer.cc if (data) data 63 media/base/audio_buffer.cc memcpy(channel_data_[i], data[i], data_size); data 80 media/base/audio_buffer.cc if (data) data 81 media/base/audio_buffer.cc memcpy(data_.get(), data[0], data_size); data 93 media/base/audio_buffer.cc const uint8* const* data, data 98 media/base/audio_buffer.cc CHECK(data[0]); data 105 media/base/audio_buffer.cc data, data 44 media/base/audio_buffer.h const uint8* const* data, data 133 media/base/audio_buffer.h const uint8* const* data, data 61 media/base/audio_buffer_unittest.cc const uint8* const data[] = { kTestData }; data 68 media/base/audio_buffer_unittest.cc data, data 78 media/base/audio_buffer_unittest.cc data, data 115 media/base/audio_bus.cc AudioBus::AudioBus(int channels, int frames, float* data) data 119 media/base/audio_bus.cc CHECK(data); data 125 media/base/audio_bus.cc BuildChannelData(channels, aligned_frames, data); data 170 media/base/audio_bus.cc void* data) { data 172 media/base/audio_bus.cc CHECK(IsAligned(data)); data 174 media/base/audio_bus.cc channels, frames, static_cast<float*>(data))); data 178 media/base/audio_bus.cc void* data) { data 180 media/base/audio_bus.cc CHECK(IsAligned(data)); data 183 media/base/audio_bus.cc static_cast<float*>(data))); data 186 media/base/audio_bus.cc void AudioBus::SetChannelData(int channel, float* data) { data 188 media/base/audio_bus.cc CHECK(data); data 191 media/base/audio_bus.cc DCHECK(IsAligned(data)); data 192 media/base/audio_bus.cc channel_data_[channel] = data; data 230 media/base/audio_bus.cc void AudioBus::BuildChannelData(int channels, int aligned_frames, float* data) { data 231 media/base/audio_bus.cc DCHECK(IsAligned(data)); data 236 media/base/audio_bus.cc channel_data_.push_back(data + i * aligned_frames); data 47 media/base/audio_bus.h static scoped_ptr<AudioBus> WrapMemory(int channels, int frames, void* data); data 49 media/base/audio_bus.h void* data); data 92 media/base/audio_bus.h void SetChannelData(int channel, float* data); data 116 media/base/audio_bus.h AudioBus(int channels, int frames, float* data); data 122 media/base/audio_bus.h void BuildChannelData(int channels, int aligned_frame, float* data); data 36 media/base/audio_bus_unittest.cc void VerifyValue(const float data[], int size, float value) { data 38 media/base/audio_bus_unittest.cc ASSERT_FLOAT_EQ(value, data[i]) << "i=" << i; data 141 media/base/audio_bus_unittest.cc scoped_ptr<float, base::AlignedFreeDeleter> data(static_cast<float*>( data 147 media/base/audio_bus_unittest.cc data.get(), data.get() + data_size / sizeof(*data.get()), kTestValue); data 149 media/base/audio_bus_unittest.cc scoped_ptr<AudioBus> bus = AudioBus::WrapMemory(params, data.get()); data 157 media/base/audio_bus_unittest.cc EXPECT_GE(bus->channel(0), data.get()); data 159 media/base/audio_bus_unittest.cc data.get() + data_size / sizeof(*data.get())); data 191 media/base/audio_bus_unittest.cc scoped_ptr<float, base::AlignedFreeDeleter> data( data 196 media/base/audio_bus_unittest.cc bus2 = AudioBus::WrapMemory(params, data.get()); data 17 media/base/audio_fifo_unittest.cc void VerifyValue(const float data[], int size, float value) { data 19 media/base/audio_fifo_unittest.cc ASSERT_FLOAT_EQ(value, data[i]) << "i=" << i; data 37 media/base/audio_pull_fifo_unittest.cc void VerifyValue(const float data[], int size, float start_value) { data 40 media/base/audio_pull_fifo_unittest.cc ASSERT_FLOAT_EQ(value++, data[i]) << "i=" << i; data 9 media/base/bit_reader.cc BitReader::BitReader(const uint8* data, int size) data 11 media/base/bit_reader.cc data_(data), data 14 media/base/bit_reader.cc DCHECK(data != NULL); data 21 media/base/bit_reader.h BitReader(const uint8* data, int size); data 28 media/base/byte_queue.cc void ByteQueue::Push(const uint8* data, int size) { data 29 media/base/byte_queue.cc DCHECK(data); data 58 media/base/byte_queue.cc memcpy(front() + used_, data, size); data 62 media/base/byte_queue.cc void ByteQueue::Peek(const uint8** data, int* size) const { data 63 media/base/byte_queue.cc DCHECK(data); data 65 media/base/byte_queue.cc *data = front(); data 28 media/base/byte_queue.h void Push(const uint8* data, int size); data 33 media/base/byte_queue.h void Peek(const uint8** data, int* size) const; data 93 media/base/channel_mixer_unittest.cc std::ostream& operator<<(std::ostream& os, const ChannelMixerTestData& data) { data 94 media/base/channel_mixer_unittest.cc return os << data.DebugString(); data 26 media/base/data_buffer.cc DataBuffer::DataBuffer(const uint8* data, int data_size) data 29 media/base/data_buffer.cc if (!data) { data 36 media/base/data_buffer.cc memcpy(data_.get(), data, data_size_); data 42 media/base/data_buffer.cc scoped_refptr<DataBuffer> DataBuffer::CopyFrom(const uint8* data, int size) { data 44 media/base/data_buffer.cc CHECK(data); data 45 media/base/data_buffer.cc return make_scoped_refptr(new DataBuffer(data, size)); data 34 media/base/data_buffer.h static scoped_refptr<DataBuffer> CopyFrom(const uint8* data, int size); data 62 media/base/data_buffer.h const uint8* data() const { data 96 media/base/data_buffer.h DataBuffer(const uint8* data, int data_size); data 15 media/base/data_buffer_unittest.cc EXPECT_TRUE(buffer->data()); data 24 media/base/data_buffer_unittest.cc EXPECT_TRUE(buffer->data()); data 33 media/base/data_buffer_unittest.cc scoped_ptr<uint8[]> data(new uint8[kSize]); data 34 media/base/data_buffer_unittest.cc const uint8* kData = data.get(); data 36 media/base/data_buffer_unittest.cc scoped_refptr<DataBuffer> buffer = new DataBuffer(data.Pass(), kSize); data 37 media/base/data_buffer_unittest.cc EXPECT_TRUE(buffer->data()); data 39 media/base/data_buffer_unittest.cc EXPECT_EQ(kData, buffer->data()); data 54 media/base/data_buffer_unittest.cc EXPECT_EQ(0, memcmp(buffer->data(), kTestData, kTestDataSize)); data 56 media/base/data_buffer_unittest.cc EXPECT_NE(0, memcmp(buffer->data(), kTestData, kTestDataSize)); data 104 media/base/data_buffer_unittest.cc uint8* data = buffer->writable_data(); data 105 media/base/data_buffer_unittest.cc ASSERT_TRUE(data); data 106 media/base/data_buffer_unittest.cc memcpy(data, kData, kDataSize); data 108 media/base/data_buffer_unittest.cc const uint8* read_only_data = buffer->data(); data 109 media/base/data_buffer_unittest.cc ASSERT_EQ(data, read_only_data); data 114 media/base/data_buffer_unittest.cc data = buffer2->writable_data(); data 115 media/base/data_buffer_unittest.cc ASSERT_TRUE(data); data 116 media/base/data_buffer_unittest.cc memcpy(data, kNewData, kNewDataSize); data 118 media/base/data_buffer_unittest.cc read_only_data = buffer2->data(); data 120 media/base/data_buffer_unittest.cc ASSERT_EQ(data, read_only_data); data 42 media/base/data_source.h virtual void Read(int64 position, int size, uint8* data, data 19 media/base/decoder_buffer.cc DecoderBuffer::DecoderBuffer(const uint8* data, int size, data 23 media/base/decoder_buffer.cc if (!data) { data 30 media/base/decoder_buffer.cc memcpy(data_.get(), data, size_); data 51 media/base/decoder_buffer.cc scoped_refptr<DecoderBuffer> DecoderBuffer::CopyFrom(const uint8* data, data 54 media/base/decoder_buffer.cc CHECK(data); data 55 media/base/decoder_buffer.cc return make_scoped_refptr(new DecoderBuffer(data, data_size, NULL, 0)); data 59 media/base/decoder_buffer.cc scoped_refptr<DecoderBuffer> DecoderBuffer::CopyFrom(const uint8* data, data 64 media/base/decoder_buffer.cc CHECK(data); data 66 media/base/decoder_buffer.cc return make_scoped_refptr(new DecoderBuffer(data, data_size, data 48 media/base/decoder_buffer.h static scoped_refptr<DecoderBuffer> CopyFrom(const uint8* data, int size); data 53 media/base/decoder_buffer.h static scoped_refptr<DecoderBuffer> CopyFrom(const uint8* data, int size, data 83 media/base/decoder_buffer.h const uint8* data() const { data 156 media/base/decoder_buffer.h DecoderBuffer(const uint8* data, int size, data 13 media/base/decoder_buffer_unittest.cc EXPECT_TRUE(buffer->data()); data 34 media/base/decoder_buffer_unittest.cc EXPECT_NE(kData, buffer2->data()); data 36 media/base/decoder_buffer_unittest.cc EXPECT_EQ(0, memcmp(buffer2->data(), kData, kDataSize)); data 42 media/base/decoder_buffer_unittest.cc EXPECT_NE(kData, buffer3->data()); data 44 media/base/decoder_buffer_unittest.cc EXPECT_EQ(0, memcmp(buffer3->data(), kData, kDataSize)); data 61 media/base/decoder_buffer_unittest.cc EXPECT_EQ((buffer2->data() + kDataSize)[i], 0); data 71 media/base/decoder_buffer_unittest.cc EXPECT_EQ((buffer2->data() + kDataSize)[i], kFillChar); data 74 media/base/decoder_buffer_unittest.cc buffer2->data()) & (DecoderBuffer::kAlignmentSize - 1)); data 85 media/base/decoder_buffer_unittest.cc uint8* data = buffer->writable_data(); data 86 media/base/decoder_buffer_unittest.cc ASSERT_TRUE(data); data 88 media/base/decoder_buffer_unittest.cc memcpy(data, kData, kDataSize); data 89 media/base/decoder_buffer_unittest.cc const uint8* read_only_data = buffer->data(); data 90 media/base/decoder_buffer_unittest.cc ASSERT_EQ(data, read_only_data); data 49 media/base/fake_text_track_stream.cc const uint8* const data_buf = reinterpret_cast<const uint8*>(content.data()); data 93 media/base/media_file_checker.cc temp_packet.data += result; data 36 media/base/seekable_buffer.cc int SeekableBuffer::Read(uint8* data, int size) { data 37 media/base/seekable_buffer.cc DCHECK(data); data 38 media/base/seekable_buffer.cc return InternalRead(data, size, true, 0); data 41 media/base/seekable_buffer.cc int SeekableBuffer::Peek(uint8* data, int size, int forward_offset) { data 42 media/base/seekable_buffer.cc DCHECK(data); data 43 media/base/seekable_buffer.cc return InternalRead(data, size, false, forward_offset); data 46 media/base/seekable_buffer.cc bool SeekableBuffer::GetCurrentChunk(const uint8** data, int* size) const { data 57 media/base/seekable_buffer.cc *data = (*current_buffer)->data() + current_buffer_offset; data 89 media/base/seekable_buffer.cc bool SeekableBuffer::Append(const uint8* data, int size) { data 91 media/base/seekable_buffer.cc scoped_refptr<DataBuffer> data_buffer = DataBuffer::CopyFrom(data, size); data 182 media/base/seekable_buffer.cc int SeekableBuffer::InternalRead(uint8* data, int size, data 210 media/base/seekable_buffer.cc if (data) data 211 media/base/seekable_buffer.cc memcpy(data + taken, buffer->data() + current_buffer_offset, copied); data 62 media/base/seekable_buffer.h int Read(uint8* data, int size); data 67 media/base/seekable_buffer.h int Peek(uint8* data, int size) { return Peek(data, size, 0); } data 68 media/base/seekable_buffer.h int Peek(uint8* data, int size, int forward_offset); data 75 media/base/seekable_buffer.h bool GetCurrentChunk(const uint8** data, int* size) const; data 84 media/base/seekable_buffer.h bool Append(const uint8* data, int size); data 145 media/base/seekable_buffer.h uint8* data, int size, bool advance_position, int forward_offset); data 233 media/base/seekable_buffer_unittest.cc const uint8* data; data 235 media/base/seekable_buffer_unittest.cc EXPECT_FALSE(buffer_.GetCurrentChunk(&data, &size)); data 238 media/base/seekable_buffer_unittest.cc EXPECT_TRUE(buffer_.GetCurrentChunk(&data, &size)); data 239 media/base/seekable_buffer_unittest.cc EXPECT_EQ(data, buffer->data()); data 243 media/base/seekable_buffer_unittest.cc EXPECT_TRUE(buffer_.GetCurrentChunk(&data, &size)); data 244 media/base/seekable_buffer_unittest.cc EXPECT_EQ(data, buffer->data() + kSeekSize); data 18 media/base/stream_parser_buffer.cc StreamParserBuffer::CopyFrom(buffer.data(), data 47 media/base/stream_parser_buffer.cc const uint8* data, int data_size, bool is_keyframe, Type type, data 50 media/base/stream_parser_buffer.cc new StreamParserBuffer(data, data_size, NULL, 0, is_keyframe, type, data 55 media/base/stream_parser_buffer.cc const uint8* data, int data_size, data 59 media/base/stream_parser_buffer.cc new StreamParserBuffer(data, data_size, side_data, side_data_size, data 73 media/base/stream_parser_buffer.cc StreamParserBuffer::StreamParserBuffer(const uint8* data, int data_size, data 77 media/base/stream_parser_buffer.cc : DecoderBuffer(data, data_size, side_data, side_data_size), data 86 media/base/stream_parser_buffer.cc if (data) { data 28 media/base/stream_parser_buffer.h const uint8* data, int data_size, bool is_keyframe, Type type, data 31 media/base/stream_parser_buffer.h const uint8* data, int data_size, data 66 media/base/stream_parser_buffer.h StreamParserBuffer(const uint8* data, int data_size, data 226 media/base/test_helpers.cc static_cast<const uint8*>(pickle.data()), data 238 media/base/test_helpers.cc PickleIterator pickle(Pickle(reinterpret_cast<const char*>(buffer->data()), data 227 media/base/text_renderer.cc std::string text(input->data(), input->data() + input->data_size()); data 67 media/base/user_input_monitor_linux.cc static void ProcessReply(XPointer self, XRecordInterceptData* data); data 317 media/base/user_input_monitor_linux.cc XRecordInterceptData* data) { data 318 media/base/user_input_monitor_linux.cc if (data->category == XRecordFromServer) { data 319 media/base/user_input_monitor_linux.cc xEvent* event = reinterpret_cast<xEvent*>(data->data); data 322 media/base/user_input_monitor_linux.cc XRecordFreeData(data); data 214 media/base/user_input_monitor_win.cc ui::EventType event = (input->data.keyboard.Flags & RI_KEY_BREAK) data 218 media/base/user_input_monitor_win.cc ui::KeyboardCodeForWindowsKeyCode(input->data.keyboard.VKey); data 169 media/base/video_frame.cc uint8* data, data 187 media/base/video_frame.cc frame->data_[kYPlane] = data; data 188 media/base/video_frame.cc frame->data_[kUPlane] = data + coded_size.GetArea(); data 189 media/base/video_frame.cc frame->data_[kVPlane] = data + (coded_size.GetArea() * 5 / 4); data 241 media/base/video_frame.cc wrapped_frame->data_[i] = frame->data(i); data 389 media/base/video_frame.cc static void ReleaseData(uint8* data) { data 390 media/base/video_frame.cc DCHECK(data); data 391 media/base/video_frame.cc base::AlignedFree(data); data 430 media/base/video_frame.cc uint8* data = reinterpret_cast<uint8*>( data 434 media/base/video_frame.cc no_longer_needed_cb_ = base::Bind(&ReleaseData, data); data 436 media/base/video_frame.cc data_[VideoFrame::kYPlane] = data; data 437 media/base/video_frame.cc data_[VideoFrame::kUPlane] = data + y_bytes; data 438 media/base/video_frame.cc data_[VideoFrame::kVPlane] = data + y_bytes + uv_bytes; data 443 media/base/video_frame.cc data_[VideoFrame::kAPlane] = data + y_bytes + (2 * uv_bytes); data 557 media/base/video_frame.cc reinterpret_cast<char*>(data(plane) + stride(plane) * row), data 116 media/base/video_frame.h uint8* data, data 202 media/base/video_frame.h uint8* data(size_t plane) const; data 44 media/base/video_frame_pool_unittest.cc const uint8* old_y_data = frame->data(VideoFrame::kYPlane); data 51 media/base/video_frame_pool_unittest.cc EXPECT_EQ(old_y_data, new_frame->data(VideoFrame::kYPlane)); data 79 media/base/video_frame_pool_unittest.cc memset(frame->data(VideoFrame::kYPlane), 0xff, data 29 media/base/video_frame_unittest.cc uint8* y_plane = frame->data(VideoFrame::kYPlane); data 35 media/base/video_frame_unittest.cc uint8* u_plane = frame->data(VideoFrame::kUPlane); data 36 media/base/video_frame_unittest.cc uint8* v_plane = frame->data(VideoFrame::kVPlane); data 64 media/base/video_frame_unittest.cc media::ConvertYUVToRGB32(yv12_frame->data(VideoFrame::kYPlane), data 65 media/base/video_frame_unittest.cc yv12_frame->data(VideoFrame::kUPlane), data 66 media/base/video_frame_unittest.cc yv12_frame->data(VideoFrame::kVPlane), data 105 media/base/video_frame_unittest.cc EXPECT_TRUE(frame->data(plane)); data 110 media/base/video_frame_unittest.cc memset(frame->data(plane), kFillByte, data 182 media/base/video_frame_unittest.cc uint8* y_plane = frame->data(VideoFrame::kYPlane); data 188 media/base/video_frame_unittest.cc uint8* u_plane = frame->data(VideoFrame::kUPlane); data 189 media/base/video_frame_unittest.cc uint8* v_plane = frame->data(VideoFrame::kVPlane); data 221 media/base/video_frame_unittest.cc EXPECT_EQ(wrapped_frame->data(media::VideoFrame::kYPlane), data 222 media/base/video_frame_unittest.cc frame->data(media::VideoFrame::kYPlane)); data 36 media/base/video_util.cc uint8* dest = frame->data(plane); data 71 media/base/video_util.cc memset(frame->data(VideoFrame::kAPlane), 255, data 77 media/base/video_util.cc uint8* y_plane = frame->data(VideoFrame::kYPlane); data 86 media/base/video_util.cc uint8* u_plane = frame->data(VideoFrame::kUPlane); data 87 media/base/video_util.cc uint8* v_plane = frame->data(VideoFrame::kVPlane); data 103 media/base/video_util.cc uint8* ptr = frame->data(plane); data 299 media/base/video_util.cc frame->data(kY) + y_offset, data 300 media/base/video_util.cc frame->data(kU) + uv_offset, data 301 media/base/video_util.cc frame->data(kV) + uv_offset, data 374 media/base/video_util_unittest.cc EXPECT_EQ(frame->data(VideoFrame::kYPlane)[ data 377 media/base/video_util_unittest.cc EXPECT_EQ(frame->data(VideoFrame::kUPlane)[ data 380 media/base/video_util_unittest.cc EXPECT_EQ(frame->data(VideoFrame::kVPlane)[ data 42 media/base/yuv_convert_unittest.cc scoped_ptr<uint8[]>* data) { data 43 media/base/yuv_convert_unittest.cc data->reset(new uint8[expected_size]); data 59 media/base/yuv_convert_unittest.cc path, reinterpret_cast<char*>(data->get()), expected_size); data 63 media/base/yuv_convert_unittest.cc static void ReadYV12Data(scoped_ptr<uint8[]>* data) { data 64 media/base/yuv_convert_unittest.cc ReadData(FILE_PATH_LITERAL("bali_640x360_P420.yuv"), kYUV12Size, data); data 67 media/base/yuv_convert_unittest.cc static void ReadYV16Data(scoped_ptr<uint8[]>* data) { data 68 media/base/yuv_convert_unittest.cc ReadData(FILE_PATH_LITERAL("bali_640x360_P422.yuv"), kYUV16Size, data); data 71 media/base/yuv_convert_unittest.cc static void ReadRGB24Data(scoped_ptr<uint8[]>* data) { data 72 media/base/yuv_convert_unittest.cc ReadData(FILE_PATH_LITERAL("bali_640x360_RGB24.rgb"), kRGB24Size, data); data 75 media/base/yuv_convert_unittest.cc static void ReadYUY2Data(scoped_ptr<uint8[]>* data) { data 76 media/base/yuv_convert_unittest.cc ReadData(FILE_PATH_LITERAL("bali_640x360_YUY2.yuv"), kYUY2Size, data); data 72 media/cast/audio_receiver/audio_decoder.cc reinterpret_cast<uint8*>(string_as_array(&encoded_frame->data)), data 73 media/cast/audio_receiver/audio_decoder.cc static_cast<int>(encoded_frame->data.size())); data 88 media/cast/audio_receiver/audio_decoder.cc virtual scoped_ptr<AudioBus> Decode(uint8* data, int len) = 0; data 140 media/cast/audio_receiver/audio_decoder.cc virtual scoped_ptr<AudioBus> Decode(uint8* data, int len) OVERRIDE { data 143 media/cast/audio_receiver/audio_decoder.cc opus_decoder_, data, len, buffer_.get(), max_samples_per_frame_, 0); data 191 media/cast/audio_receiver/audio_decoder.cc virtual scoped_ptr<AudioBus> Decode(uint8* data, int len) OVERRIDE { data 197 media/cast/audio_receiver/audio_decoder.cc int16* const pcm_data = reinterpret_cast<int16*>(data); data 94 media/cast/audio_receiver/audio_decoder_unittest.cc encoded_frame->data.resize(num_elements * sizeof(int16)); data 96 media/cast/audio_receiver/audio_decoder_unittest.cc reinterpret_cast<int16*>(string_as_array(&encoded_frame->data)); data 103 media/cast/audio_receiver/audio_decoder_unittest.cc encoded_frame->data.resize(kOpusEncodeBufferSize); data 109 media/cast/audio_receiver/audio_decoder_unittest.cc string_as_array(&encoded_frame->data)), data 110 media/cast/audio_receiver/audio_decoder_unittest.cc encoded_frame->data.size()); data 112 media/cast/audio_receiver/audio_decoder_unittest.cc encoded_frame->data.resize(payload_size); data 221 media/cast/audio_receiver/audio_receiver.cc encoded_frame->data, data 228 media/cast/audio_receiver/audio_receiver.cc encoded_frame->data.swap(decrypted_audio_data); data 102 media/cast/audio_receiver/audio_receiver_unittest.cc payload_.data(), payload_.size(), rtp_header_); data 107 media/cast/audio_sender/audio_encoder.cc if (EncodeFromFilledBuffer(&audio_frame->data)) { data 47 media/cast/audio_sender/audio_encoder_unittest.cc EXPECT_TRUE(!encoded_frame->data.empty()); data 109 media/cast/cast_receiver_impl.cc const uint8_t* data = &packet->front(); data 116 media/cast/cast_receiver_impl.cc if (!Rtcp::IsRtcpPacket(data, length)) { data 121 media/cast/cast_receiver_impl.cc ssrc_of_sender = RtpReceiver::GetSsrcOfSender(data, length); data 123 media/cast/cast_receiver_impl.cc ssrc_of_sender = Rtcp::GetSsrcOfSender(data, length); data 164 media/cast/cast_sender_impl.cc const uint8_t* data = &packet->front(); data 165 media/cast/cast_sender_impl.cc if (!Rtcp::IsRtcpPacket(data, length)) { data 170 media/cast/cast_sender_impl.cc uint32 ssrc_of_sender = Rtcp::GetSsrcOfSender(data, length); data 48 media/cast/framer/frame_buffer.cc std::vector<uint8> data; data 50 media/cast/framer/frame_buffer.cc packets_.insert(make_pair(rtp_header.packet_id, data)); data 75 media/cast/framer/frame_buffer.cc audio_frame->data.clear(); data 76 media/cast/framer/frame_buffer.cc audio_frame->data.reserve(total_data_size_); data 79 media/cast/framer/frame_buffer.cc audio_frame->data.insert( data 80 media/cast/framer/frame_buffer.cc audio_frame->data.end(), it->second.begin(), it->second.end()); data 96 media/cast/framer/frame_buffer.cc video_frame->data.clear(); data 97 media/cast/framer/frame_buffer.cc video_frame->data.reserve(total_data_size_); data 100 media/cast/framer/frame_buffer.cc video_frame->data.insert( data 101 media/cast/framer/frame_buffer.cc video_frame->data.end(), it->second.begin(), it->second.end()); data 37 media/cast/framer/frame_buffer_unittest.cc buffer_.InsertPacket(payload_.data(), payload_.size(), rtp_header_); data 53 media/cast/framer/frame_buffer_unittest.cc buffer_.InsertPacket(payload_.data(), payload_.size(), rtp_header_); data 58 media/cast/framer/frame_buffer_unittest.cc EXPECT_EQ(payload_.size(), frame.data.size()); data 64 media/cast/framer/frame_buffer_unittest.cc buffer_.InsertPacket(payload_.data(), payload_.size(), rtp_header_); data 66 media/cast/framer/frame_buffer_unittest.cc buffer_.InsertPacket(payload_.data(), payload_.size(), rtp_header_); data 68 media/cast/framer/frame_buffer_unittest.cc buffer_.InsertPacket(payload_.data(), payload_.size(), rtp_header_); data 74 media/cast/framer/frame_buffer_unittest.cc EXPECT_EQ(3 * payload_.size(), frame.data.size()); data 79 media/cast/framer/frame_buffer_unittest.cc buffer_.InsertPacket(payload_.data(), payload_.size(), rtp_header_); data 81 media/cast/framer/frame_buffer_unittest.cc buffer_.InsertPacket(payload_.data(), payload_.size(), rtp_header_); data 85 media/cast/framer/frame_buffer_unittest.cc buffer_.InsertPacket(payload_.data(), payload_.size(), rtp_header_); data 87 media/cast/framer/frame_buffer_unittest.cc buffer_.InsertPacket(payload_.data(), payload_.size(), rtp_header_); data 91 media/cast/framer/frame_buffer_unittest.cc buffer_.InsertPacket(payload_.data(), payload_.size(), rtp_header_); data 56 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 62 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 80 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 93 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 101 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 117 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 125 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 134 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 143 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 156 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 164 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 173 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 182 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 198 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 210 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 225 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 235 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 251 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 268 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 273 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 286 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 296 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 311 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 315 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 321 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 327 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 343 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 350 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 366 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 374 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 379 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 402 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 411 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 414 media/cast/framer/framer_unittest.cc payload_.data(), payload_.size(), rtp_header_, &duplicate); data 25 media/cast/logging/log_deserializer.cc bool DoDeserializeEvents(char* data, data 30 media/cast/logging/log_deserializer.cc base::BigEndianReader reader(data, data_bytes); data 102 media/cast/logging/log_deserializer.cc bool Uncompress(char* data, data 112 media/cast/logging/log_deserializer.cc stream.next_in = reinterpret_cast<uint8*>(data); data 135 media/cast/logging/log_deserializer.cc bool DeserializeEvents(char* data, data 141 media/cast/logging/log_deserializer.cc DCHECK(data); data 150 media/cast/logging/log_deserializer.cc if (!Uncompress(data, data 164 media/cast/logging/log_deserializer.cc data, data_bytes, log_metadata, frame_events, packet_events); data 24 media/cast/logging/log_deserializer.h bool DeserializeEvents(char* data, data 49 media/cast/rtcp/rtcp_sender_unittest.cc EXPECT_EQ(0, memcmp(expected_packet_.data(), packet.data(), packet.size())); data 573 media/cast/rtcp/rtcp_utility.cc uint32 data; data 577 media/cast/rtcp/rtcp_utility.cc big_endian_reader.ReadU32(&data); data 583 media/cast/rtcp/rtcp_utility.cc field_.cast_receiver_log.event_timestamp_base = data & 0xffffff; data 585 media/cast/rtcp/rtcp_utility.cc number_of_blocks_ = 1 + static_cast<uint8>(data >> 24); data 632 media/cast/rtcp/rtcp_utility.cc uint32 data; data 635 media/cast/rtcp/rtcp_utility.cc big_endian_reader.ReadU32(&data); data 639 media/cast/rtcp/rtcp_utility.cc field_.cast_sender_log.status = static_cast<uint8>(data >> 24); data 641 media/cast/rtcp/rtcp_utility.cc field_.cast_sender_log.rtp_timestamp = data & 0xffffff; data 62 media/cast/rtp_receiver/rtp_parser/test/rtp_packet_builder.cc void RtpPacketBuilder::BuildHeader(uint8* data, uint32 data_length) { data 63 media/cast/rtp_receiver/rtp_parser/test/rtp_packet_builder.cc BuildCommonHeader(data, data_length); data 64 media/cast/rtp_receiver/rtp_parser/test/rtp_packet_builder.cc BuildCastHeader(data + kGenericRtpHeaderLength, data 68 media/cast/rtp_receiver/rtp_parser/test/rtp_packet_builder.cc void RtpPacketBuilder::BuildCastHeader(uint8* data, uint32 data_length) { data 72 media/cast/rtp_receiver/rtp_parser/test/rtp_packet_builder.cc memset(data, 0, kCastRtpHeaderLength); data 73 media/cast/rtp_receiver/rtp_parser/test/rtp_packet_builder.cc base::BigEndianWriter big_endian_writer(reinterpret_cast<char*>(data), 56); data 84 media/cast/rtp_receiver/rtp_parser/test/rtp_packet_builder.cc void RtpPacketBuilder::BuildCommonHeader(uint8* data, uint32 data_length) { data 86 media/cast/rtp_receiver/rtp_parser/test/rtp_packet_builder.cc base::BigEndianWriter big_endian_writer(reinterpret_cast<char*>(data), 96); data 28 media/cast/rtp_receiver/rtp_parser/test/rtp_packet_builder.h void BuildHeader(uint8* data, uint32 data_length); data 43 media/cast/rtp_receiver/rtp_parser/test/rtp_packet_builder.h void BuildCastHeader(uint8* data, uint32 data_length); data 44 media/cast/rtp_receiver/rtp_parser/test/rtp_packet_builder.h void BuildCommonHeader(uint8* data, uint32 data_length); data 127 media/cast/test/encode_decode_test.cc EXPECT_GT(encoded_frame.data.size(), UINT64_C(0)); data 292 media/cast/test/end2end_unittest.cc const int num_elements = audio_frame->data.size() / sizeof(int16); data 297 media/cast/test/end2end_unittest.cc reinterpret_cast<int16*>(string_as_array(&audio_frame->data)); data 104 media/cast/test/linux_output_window.cc shminfo_.shmaddr = image_->data = (char*)shmat(shminfo_.shmid, 0, 0); data 105 media/cast/test/linux_output_window.cc if (image_->data == reinterpret_cast<char*>(-1)) { data 123 media/cast/test/linux_output_window.cc libyuv::I420ToARGB(video_frame->data(VideoFrame::kYPlane), data 125 media/cast/test/linux_output_window.cc video_frame->data(VideoFrame::kUPlane), data 127 media/cast/test/linux_output_window.cc video_frame->data(VideoFrame::kVPlane), data 129 media/cast/test/linux_output_window.cc reinterpret_cast<uint8_t*>(image_->data), data 74 media/cast/test/utility/barcode.cc memcpy(output_frame->data(VideoFrame::kYPlane) + data 102 media/cast/test/utility/barcode.cc value += frame->data(VideoFrame::kYPlane)[ data 30 media/cast/test/utility/barcode.h bool EncodeBarcode(T data, scoped_refptr<media::VideoFrame> output_frame) { data 33 media/cast/test/utility/barcode.h bits[i] = ((data >> i) & 1) == 1; data 39 media/cast/test/utility/barcode.h bool DecodeBarcode(scoped_refptr<media::VideoFrame> output_frame, T* data) { data 43 media/cast/test/utility/barcode.h *data = 0; data 46 media/cast/test/utility/barcode.h *data |= 1UL << i; data 15 media/cast/test/utility/generate_barcode_video.cc fwrite(frame->data(plane) + frame->stride(plane) * row, data 22 media/cast/test/utility/video_utility.cc return libyuv::I420Psnr(frame1->data(VideoFrame::kYPlane), data 24 media/cast/test/utility/video_utility.cc frame1->data(VideoFrame::kUPlane), data 26 media/cast/test/utility/video_utility.cc frame1->data(VideoFrame::kVPlane), data 28 media/cast/test/utility/video_utility.cc frame2->data(VideoFrame::kYPlane), data 30 media/cast/test/utility/video_utility.cc frame2->data(VideoFrame::kUPlane), data 32 media/cast/test/utility/video_utility.cc frame2->data(VideoFrame::kVPlane), data 44 media/cast/test/utility/video_utility.cc uint8* y_plane = frame->data(VideoFrame::kYPlane); data 45 media/cast/test/utility/video_utility.cc uint8* u_plane = frame->data(VideoFrame::kUPlane); data 46 media/cast/test/utility/video_utility.cc uint8* v_plane = frame->data(VideoFrame::kVPlane); data 76 media/cast/test/utility/video_utility.cc uint8* y_plane = frame->data(VideoFrame::kYPlane); data 77 media/cast/test/utility/video_utility.cc uint8* u_plane = frame->data(VideoFrame::kUPlane); data 78 media/cast/test/utility/video_utility.cc uint8* v_plane = frame->data(VideoFrame::kVPlane); data 84 media/cast/transport/cast_transport_config.h std::string data; data 96 media/cast/transport/cast_transport_config.h std::string data; data 64 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.cc video_frame->data); data 79 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.cc audio_frame->data); data 102 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.cc const std::string& data) { data 108 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.cc size_t num_packets = (data.size() + max_length) / max_length; data 109 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.cc size_t payload_length = (data.size() + num_packets) / num_packets; data 114 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.cc size_t remaining_size = data.size(); data 115 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.cc std::string::const_iterator data_iter = data.begin(); data 87 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.h const std::string& data); data 68 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer_unittest.cc RtpHeaderParser parser(packet.data(), packet.size()); data 120 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer_unittest.cc video_frame_.data.assign(kFrameSize, 123); data 86 media/cast/transport/rtp_sender/rtp_packetizer/test/rtp_header_parser.cc const uint8* data = rtp_data_begin_ + kRtpCommonHeaderLength; data 87 media/cast/transport/rtp_sender/rtp_packetizer/test/rtp_header_parser.cc parsed_packet->is_key_frame = (data[0] & kCastKeyFrameBitMask); data 88 media/cast/transport/rtp_sender/rtp_packetizer/test/rtp_header_parser.cc parsed_packet->is_reference = (data[0] & kCastReferenceFrameIdBitMask); data 89 media/cast/transport/rtp_sender/rtp_packetizer/test/rtp_header_parser.cc parsed_packet->frame_id = frame_id_wrap_helper_.MapTo32bitsFrameId(data[1]); data 92 media/cast/transport/rtp_sender/rtp_packetizer/test/rtp_header_parser.cc reinterpret_cast<const char*>(data + 2), 8); data 98 media/cast/transport/rtp_sender/rtp_packetizer/test/rtp_header_parser.cc reference_frame_id_wrap_helper_.MapTo32bitsFrameId(data[6]); data 154 media/cast/transport/transport/udp_transport.cc memcpy(buf->data(), &packet[0], packet.size()); data 49 media/cast/transport/transport_audio_sender.cc audio_frame.frame_id, audio_frame.data, &encrypted_frame->data)) data 59 media/cast/transport/transport_video_sender.cc video_frame.frame_id, video_frame.data, &(encrypted_frame->data))) data 42 media/cast/transport/utility/transport_encryption_handler.cc const base::StringPiece& data, data 50 media/cast/transport/utility/transport_encryption_handler.cc if (!encryptor_->Encrypt(data, encrypted_data)) { data 33 media/cast/transport/utility/transport_encryption_handler.h const base::StringPiece& data, data 71 media/cast/video_receiver/codecs/vp8/vp8_decoder.cc << " sized:" << encoded_frame->data.size(); data 73 media/cast/video_receiver/codecs/vp8/vp8_decoder.cc if (encoded_frame->data.empty()) data 81 media/cast/video_receiver/codecs/vp8/vp8_decoder.cc reinterpret_cast<const uint8*>(encoded_frame->data.data()), data 82 media/cast/video_receiver/codecs/vp8/vp8_decoder.cc static_cast<unsigned int>(encoded_frame->data.size()), data 37 media/cast/video_receiver/video_decoder.cc DCHECK_GT(encoded_frame->data.size(), UINT64_C(0)) << "Empty video frame"; data 162 media/cast/video_receiver/video_receiver.cc (*video_frame)->data, data 168 media/cast/video_receiver/video_receiver.cc (*video_frame)->data.swap(decrypted_video_data); data 252 media/cast/video_receiver/video_receiver.cc (*encoded_frame)->data[0] &= 0xef; data 113 media/cast/video_receiver/video_receiver_unittest.cc payload_.data(), payload_.size(), rtp_header_); data 131 media/cast/video_receiver/video_receiver_unittest.cc payload_.data(), payload_.size(), rtp_header_); data 135 media/cast/video_receiver/video_receiver_unittest.cc payload_.data(), payload_.size(), rtp_header_); data 138 media/cast/video_receiver/video_receiver_unittest.cc payload_.data(), payload_.size(), rtp_header_); data 163 media/cast/video_receiver/video_receiver_unittest.cc payload_.data(), payload_.size(), rtp_header_); data 150 media/cast/video_sender/codecs/vp8/vp8_encoder.cc const_cast<uint8*>(video_frame->data(VideoFrame::kYPlane)); data 152 media/cast/video_sender/codecs/vp8/vp8_encoder.cc const_cast<uint8*>(video_frame->data(VideoFrame::kUPlane)); data 154 media/cast/video_sender/codecs/vp8/vp8_encoder.cc const_cast<uint8*>(video_frame->data(VideoFrame::kVPlane)); data 197 media/cast/video_sender/codecs/vp8/vp8_encoder.cc total_size += pkt->data.frame.sz; data 198 media/cast/video_sender/codecs/vp8/vp8_encoder.cc encoded_image->data.reserve(total_size); data 199 media/cast/video_sender/codecs/vp8/vp8_encoder.cc encoded_image->data.insert( data 200 media/cast/video_sender/codecs/vp8/vp8_encoder.cc encoded_image->data.end(), data 201 media/cast/video_sender/codecs/vp8/vp8_encoder.cc static_cast<const uint8*>(pkt->data.frame.buf), data 202 media/cast/video_sender/codecs/vp8/vp8_encoder.cc static_cast<const uint8*>(pkt->data.frame.buf) + pkt->data.frame.sz); data 203 media/cast/video_sender/codecs/vp8/vp8_encoder.cc if (pkt->data.frame.flags & VPX_FRAME_IS_KEY) { data 237 media/cast/video_sender/external_video_encoder.cc encoded_frame->data = stream_header_; data 240 media/cast/video_sender/external_video_encoder.cc encoded_frame->data.append( data 55 media/cast/video_sender/video_encoder_impl.cc if (encoded_frame->data.size() <= 0) { data 144 media/cdm/aes_decryptor.cc const char* sample = reinterpret_cast<const char*>(input.data()); data 161 media/cdm/aes_decryptor.cc reinterpret_cast<const uint8*>(decrypted_text.data()), data 213 media/cdm/aes_decryptor.cc reinterpret_cast<const uint8*>(decrypted_text.data()), data 346 media/cdm/aes_decryptor.cc decrypted = DecoderBuffer::CopyFrom(encrypted->data(), data 176 media/cdm/aes_decryptor_unittest.cc const std::vector<uint8>& data, data 180 media/cdm/aes_decryptor_unittest.cc DCHECK(!data.empty()); data 181 media/cdm/aes_decryptor_unittest.cc scoped_refptr<DecoderBuffer> encrypted_buffer(new DecoderBuffer(data.size())); data 182 media/cdm/aes_decryptor_unittest.cc memcpy(encrypted_buffer->writable_data(), &data[0], data.size()); data 305 media/cdm/aes_decryptor_unittest.cc decrypted->data(), decrypted->data() + decrypted->data_size()); data 57 media/cdm/ppapi/cdm_adapter.cc input_buffer->data = static_cast<uint8_t*>(encrypted_buffer.data()); data 240 media/cdm/ppapi/cdm_adapter.cc key_system.data(), key_system.size(), GetCdmHost, this)); data 295 media/cdm/ppapi/cdm_adapter.cc content_type.data(), data 311 media/cdm/ppapi/cdm_adapter.cc session_id, web_session_id.data(), web_session_id.size())) data 411 media/cdm/ppapi/cdm_adapter.cc static_cast<uint8_t*>(extra_data_buffer.data()); data 446 media/cdm/ppapi/cdm_adapter.cc static_cast<uint8_t*>(extra_data_buffer.data()); data 651 media/cdm/ppapi/cdm_adapter.cc memcpy(message_array_buffer.Map(), message.data(), message.size()); data 143 media/cdm/ppapi/cdm_file_io_impl.cc void CdmFileIOImpl::Write(const uint8_t* data, uint32_t data_size) { data 162 media/cdm/ppapi/cdm_file_io_impl.cc io_buffer_.assign(data, data + data_size); data 164 media/cdm/ppapi/cdm_file_io_impl.cc PP_DCHECK(!data); data 337 media/cdm/ppapi/cdm_file_io_impl.cc const uint8_t* data = local_buffer.empty() ? data 340 media/cdm/ppapi/cdm_file_io_impl.cc cdm::FileIOClient::kSuccess, data, local_buffer.size()); data 43 media/cdm/ppapi/cdm_file_io_impl.h virtual void Write(const uint8_t* data, uint32_t data_size) OVERRIDE; data 35 media/cdm/ppapi/cdm_file_io_test.cc #define ADD_TEST_STEP(type, status, data, data_size) \ data 37 media/cdm/ppapi/cdm_file_io_test.cc (data), (data_size)); data 55 media/cdm/ppapi/cdm_file_io_test.cc #define EXPECT_FILE_READ(status, data, data_size) \ data 56 media/cdm/ppapi/cdm_file_io_test.cc ADD_TEST_STEP(RESULT_READ, status, data, data_size) data 58 media/cdm/ppapi/cdm_file_io_test.cc #define WRITE_FILE(data, data_size) \ data 59 media/cdm/ppapi/cdm_file_io_test.cc ADD_TEST_STEP(ACTION_WRITE, kSuccess, data, data_size) data 317 media/cdm/ppapi/cdm_file_io_test.cc StepType type, Status status, const uint8* data, uint32 data_size) { data 318 media/cdm/ppapi/cdm_file_io_test.cc test_steps_.push_back(TestStep(type, status, data, data_size)); data 333 media/cdm/ppapi/cdm_file_io_test.cc const uint8_t* data, data 335 media/cdm/ppapi/cdm_file_io_test.cc OnResult(TestStep(RESULT_READ, status, data, data_size)); data 368 media/cdm/ppapi/cdm_file_io_test.cc std::equal(a.data, a.data + a.data_size, b.data)); data 395 media/cdm/ppapi/cdm_file_io_test.cc file_io->Open(test_name_.data(), test_name_.size()); data 401 media/cdm/ppapi/cdm_file_io_test.cc file_io->Write(test_step.data, test_step.data_size); data 70 media/cdm/ppapi/cdm_file_io_test.h StepType type, Status status, const uint8* data, uint32 data_size); data 79 media/cdm/ppapi/cdm_file_io_test.h TestStep(StepType type, Status status, const uint8* data, uint32 data_size) data 80 media/cdm/ppapi/cdm_file_io_test.h : type(type), status(status), data(data), data_size(data_size) {} data 88 media/cdm/ppapi/cdm_file_io_test.h const uint8* data; data 101 media/cdm/ppapi/cdm_file_io_test.h const uint8_t* data, data 31 media/cdm/ppapi/cdm_helpers.h PP_DCHECK(buffer.data()); data 43 media/cdm/ppapi/cdm_helpers.h return static_cast<uint8_t*>(buffer_.data()); data 338 media/cdm/ppapi/cdm_wrapper.h cdm::Status status = cdm->AddKey(web_session_id.data(), web_session_id.size(), data 362 media/cdm/ppapi/cdm_wrapper.h cdm->CancelKeyRequest(web_session_id.data(), web_session_id.size()); data 98 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc if (!input_buffer.data) { data 105 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc media::DecoderBuffer::CopyFrom(input_buffer.data, input_buffer.data_size); data 285 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc heartbeat_message.data(), data 306 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc DCHECK(encrypted_buffer.data); data 314 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc DCHECK(buffer->data()); data 318 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc buffer->data(), data 420 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc const uint8_t* data = NULL; data 424 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc data = buffer->data(); data 429 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc return video_decoder_->DecodeFrame(data, size, timestamp, decoded_frame); data 448 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc const uint8_t* data = NULL; data 452 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc data = buffer->data(); data 457 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc return audio_decoder_->DecodeBuffer(data, size, timestamp, audio_frames); data 539 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc reinterpret_cast<const uint8*>(jwk_set.data()), data 560 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc session_id, web_session_id.data(), web_session_id.size()); data 573 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc reinterpret_cast<const char*>(message.data()), data 575 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc destination_url.data(), data 623 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc uint8_t* data = audio_frames->FrameBuffer()->Data(); data 625 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc memcpy(data, ×tamp, sizeof(timestamp)); data 626 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc data += sizeof(timestamp); data 627 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc memcpy(data, &frame_size, sizeof(frame_size)); data 628 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc data += sizeof(frame_size); data 631 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc memset(data, 0, frame_size); data 670 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc last_session_id_, message.data(), message.size(), NULL, 0); data 113 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc memcpy(output_buffer, av_frame.data[0], decoded_audio_size); data 259 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc packet.data = const_cast<uint8_t*>(compressed_buffer); data 298 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc packet.data += result; data 218 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc packet.data = const_cast<uint8_t*>(compressed_frame); data 250 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc if (!av_frame_->data[cdm::VideoFrame::kYPlane] || data 251 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc !av_frame_->data[cdm::VideoFrame::kUPlane] || data 252 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc !av_frame_->data[cdm::VideoFrame::kVPlane]) { data 283 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc CopyPlane(av_frame_->data[cdm::VideoFrame::kYPlane], data 292 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc CopyPlane(av_frame_->data[cdm::VideoFrame::kUPlane], data 299 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc CopyPlane(av_frame_->data[cdm::VideoFrame::kVPlane], data 119 media/ffmpeg/ffmpeg_unittest.cc file_data_.data(), file_data_.length(), false)); data 156 media/filters/audio_file_reader.cc packet_temp.data += result; data 200 media/filters/audio_file_reader.cc float* decoded_audio_data = reinterpret_cast<float*>(av_frame->data[0]); data 216 media/filters/audio_file_reader.cc av_frame->data[0], current_frame, frames_read, bytes_per_sample); data 26 media/filters/audio_file_reader_unittest.cc data_->data(), data_->data_size(), false)); data 34 media/filters/audio_renderer_algorithm_unittest.cc int half_pulse_width, int offset, int num_samples, float* data) { data 46 media/filters/audio_renderer_algorithm_unittest.cc data[n] = pulse; data 57 media/filters/audio_renderer_algorithm_unittest.cc data[n] = pulse; data 30 media/filters/blocking_url_protocol.cc int BlockingUrlProtocol::Read(int size, uint8* data) { data 44 media/filters/blocking_url_protocol.cc data_source_->Read(read_position_, size, data, base::Bind( data 34 media/filters/blocking_url_protocol.h virtual int Read(int size, uint8* data) OVERRIDE; data 122 media/filters/chunk_demuxer.cc bool Append(const uint8* data, size_t length, data 295 media/filters/chunk_demuxer.cc bool SourceState::Append(const uint8* data, size_t length, data 307 media/filters/chunk_demuxer.cc bool err = stream_parser_->Parse(data, length); data 1195 media/filters/chunk_demuxer.cc const uint8* data, size_t length, data 1217 media/filters/chunk_demuxer.cc DCHECK(data); data 1222 media/filters/chunk_demuxer.cc if (!source_state_map_[id]->Append(data, length, data 1233 media/filters/chunk_demuxer.cc if (!source_state_map_[id]->Append(data, length, data 215 media/filters/chunk_demuxer.h void AppendData(const std::string& id, const uint8* data, size_t length, data 248 media/filters/chunk_demuxer_unittest.cc memcpy(buf, ebml_header->data(), ebml_header->data_size()); data 251 media/filters/chunk_demuxer_unittest.cc memcpy(buf, info->data(), info->data_size()); data 261 media/filters/chunk_demuxer_unittest.cc memcpy(buf, audio_track_entry->data(), data 265 media/filters/chunk_demuxer_unittest.cc audio_content_encodings->data(), data 277 media/filters/chunk_demuxer_unittest.cc memcpy(buf, video_track_entry->data(), data 281 media/filters/chunk_demuxer_unittest.cc video_content_encodings->data(), data 293 media/filters/chunk_demuxer_unittest.cc memcpy(buf, text_track_entry->data(), data 327 media/filters/chunk_demuxer_unittest.cc void AppendData(const uint8* data, size_t length) { data 328 media/filters/chunk_demuxer_unittest.cc AppendData(kSourceId, data, length); data 333 media/filters/chunk_demuxer_unittest.cc AppendData(source_id, cluster->data(), cluster->size()); data 377 media/filters/chunk_demuxer_unittest.cc std::vector<uint8> data(10); data 394 media/filters/chunk_demuxer_unittest.cc block_flags, &data[0], data.size()); data 397 media/filters/chunk_demuxer_unittest.cc &data[0], data.size()); data 404 media/filters/chunk_demuxer_unittest.cc const uint8* data, size_t length) { data 409 media/filters/chunk_demuxer_unittest.cc demuxer_->AppendData(source_id, data, length, data 415 media/filters/chunk_demuxer_unittest.cc void AppendDataInPieces(const uint8* data, size_t length) { data 416 media/filters/chunk_demuxer_unittest.cc AppendDataInPieces(data, length, 7); data 419 media/filters/chunk_demuxer_unittest.cc void AppendDataInPieces(const uint8* data, size_t length, size_t piece_size) { data 420 media/filters/chunk_demuxer_unittest.cc const uint8* start = data; data 421 media/filters/chunk_demuxer_unittest.cc const uint8* end = data + length; data 581 media/filters/chunk_demuxer_unittest.cc AppendData(bear1->data(), bear1->data_size()); data 594 media/filters/chunk_demuxer_unittest.cc AppendData(bear2->data(), 4340); data 597 media/filters/chunk_demuxer_unittest.cc AppendData(bear2->data() + 55290, 18785); data 602 media/filters/chunk_demuxer_unittest.cc AppendData(bear1->data(), 4370); data 603 media/filters/chunk_demuxer_unittest.cc AppendData(bear1->data() + 72737, 28183); data 618 media/filters/chunk_demuxer_unittest.cc uint8 data[] = { 0x00 }; data 619 media/filters/chunk_demuxer_unittest.cc cb->AddSimpleBlock(track_num, timecode, 0, data, sizeof(data)); data 628 media/filters/chunk_demuxer_unittest.cc const uint8* data = data 632 media/filters/chunk_demuxer_unittest.cc cb->AddBlockGroup(track_num, timecode, duration, flags, data, size); data 641 media/filters/chunk_demuxer_unittest.cc scoped_ptr<uint8[]> data(new uint8[size]); data 649 media/filters/chunk_demuxer_unittest.cc data.get(), size); data 662 media/filters/chunk_demuxer_unittest.cc data.get(), size); data 667 media/filters/chunk_demuxer_unittest.cc cb.AddSimpleBlock(kVideoTrackNum, video_timecode, video_flag, data.get(), data 677 media/filters/chunk_demuxer_unittest.cc kWebMFlagKeyframe, data.get(), size); data 684 media/filters/chunk_demuxer_unittest.cc kWebMFlagKeyframe, data.get(), size); data 696 media/filters/chunk_demuxer_unittest.cc std::vector<uint8> data(kBlockSize); data 704 media/filters/chunk_demuxer_unittest.cc &data[0], data.size()); data 713 media/filters/chunk_demuxer_unittest.cc kWebMFlagKeyframe, &data[0], data.size()); data 911 media/filters/chunk_demuxer_unittest.cc AppendDataInPieces(buffer->data(), buffer->data_size(), 512); data 1233 media/filters/chunk_demuxer_unittest.cc AppendData(cluster_a->data(), first_append_size); data 1246 media/filters/chunk_demuxer_unittest.cc AppendData(cluster_a->data() + first_append_size, second_append_size); data 1296 media/filters/chunk_demuxer_unittest.cc demuxer_->AppendData(kSourceId, cluster_c->data(), cluster_c->size(), data 1321 media/filters/chunk_demuxer_unittest.cc demuxer_->AppendData(kSourceId, cluster_b->data(), cluster_b->size(), data 1346 media/filters/chunk_demuxer_unittest.cc demuxer_->AppendData(kSourceId, cluster_b->data(), cluster_b->size(), data 1650 media/filters/chunk_demuxer_unittest.cc memcpy(dst, cluster_a->data(), cluster_a->size()); data 1653 media/filters/chunk_demuxer_unittest.cc memcpy(dst, cluster_b->data(), cluster_b->size()); data 1776 media/filters/chunk_demuxer_unittest.cc AppendData(cluster->data() + i, 1); data 1787 media/filters/chunk_demuxer_unittest.cc AppendData(cluster->data() + i, 1); data 1809 media/filters/chunk_demuxer_unittest.cc AppendData(cluster->data() + i, cluster->size() - i); data 2717 media/filters/chunk_demuxer_unittest.cc AppendData(cluster->data(), cluster->size() - 13); data 249 media/filters/decrypting_demuxer_stream.cc buffer->data(), buffer->data_size()); data 45 media/filters/ffmpeg_audio_decoder.cc static void ReleaseAudioBufferImpl(void* opaque, uint8* data) { data 104 media/filters/ffmpeg_audio_decoder.cc DCHECK_EQ(frame->extended_data, frame->data); data 106 media/filters/ffmpeg_audio_decoder.cc frame->data[i] = buffer->channel_data()[i]; data 114 media/filters/ffmpeg_audio_decoder.cc frame->extended_data[i] = frame->data[i] = buffer->channel_data()[i]; data 124 media/filters/ffmpeg_audio_decoder.cc frame->data[0], buffer_size_in_bytes, ReleaseAudioBufferImpl, opaque, 0); data 322 media/filters/ffmpeg_audio_decoder.cc packet.data = NULL; data 325 media/filters/ffmpeg_audio_decoder.cc packet.data = const_cast<uint8*>(buffer->data()); data 356 media/filters/ffmpeg_audio_decoder.cc packet.data += result; data 67 media/filters/ffmpeg_audio_decoder_unittest.cc vorbis_extradata_->data(), data 160 media/filters/ffmpeg_audio_decoder_unittest.cc vorbis_extradata_->data(), data 110 media/filters/ffmpeg_demuxer.cc if (packet->data && bitstream_converter_enabled_ && data 140 media/filters/ffmpeg_demuxer.cc buffer = DecoderBuffer::CopyFrom(packet.get()->data, packet.get()->size, data 141 media/filters/ffmpeg_demuxer.cc side_data.data(), side_data.size()); data 154 media/filters/ffmpeg_demuxer.cc packet->data, packet->size, data 155 media/filters/ffmpeg_demuxer.cc reinterpret_cast<const uint8*>(encryption_key_id_.data()), data 167 media/filters/ffmpeg_demuxer.cc buffer = DecoderBuffer::CopyFrom(packet.get()->data + data_offset, data 171 media/filters/ffmpeg_demuxer.cc buffer = DecoderBuffer::CopyFrom(packet.get()->data + data_offset, data 859 media/filters/ffmpeg_demuxer.cc if (!packet->data) { data 55 media/filters/ffmpeg_demuxer_unittest.cc EXPECT_TRUE(buffer->data()); data 167 media/filters/ffmpeg_glue.cc avio_context_.get()->opaque, buffer.get()->data(), buffer.get()->size()); data 172 media/filters/ffmpeg_glue.cc container_names::DetermineContainer(buffer.get()->data(), numRead); data 42 media/filters/ffmpeg_glue.h virtual int Read(int size, uint8* data) = 0; data 27 media/filters/ffmpeg_glue_unittest.cc MOCK_METHOD2(Read, int(int size, uint8* data)); data 57 media/filters/ffmpeg_glue_unittest.cc int ReadPacket(int size, uint8* data) { data 59 media/filters/ffmpeg_glue_unittest.cc protocol_.get(), data, size); data 81 media/filters/ffmpeg_glue_unittest.cc data_->data(), data_->data_size(), false)); data 48 media/filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc converter_.CalculateNeededOutputBufferSize(packet->data, packet->size); data 74 media/filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc dest_packet.data, &configuration_size)) { data 84 media/filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc packet->data, packet->size, data 85 media/filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc dest_packet.data + configuration_size, &io_size)) { data 272 media/filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc void CreatePacket(AVPacket* packet, const uint8* data, uint32 data_size) { data 275 media/filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc memcpy(packet->data, data, data_size); data 96 media/filters/ffmpeg_video_decoder.cc frame->base[i] = video_frame->data(i); data 97 media/filters/ffmpeg_video_decoder.cc frame->data[i] = video_frame->data(i); data 122 media/filters/ffmpeg_video_decoder.cc memset(frame->data, 0, sizeof(frame->data)); data 272 media/filters/ffmpeg_video_decoder.cc packet.data = NULL; data 275 media/filters/ffmpeg_video_decoder.cc packet.data = const_cast<uint8*>(buffer->data()); data 310 media/filters/ffmpeg_video_decoder.cc if (!av_frame_->data[VideoFrame::kYPlane] || data 311 media/filters/ffmpeg_video_decoder.cc !av_frame_->data[VideoFrame::kUPlane] || data 312 media/filters/ffmpeg_video_decoder.cc !av_frame_->data[VideoFrame::kVPlane]) { data 33 media/filters/file_data_source.cc void FileDataSource::Read(int64 position, int size, uint8* data, data 50 media/filters/file_data_source.cc memcpy(data, file_.data() + position, clamped_size); data 29 media/filters/file_data_source.h virtual void Read(int64 position, int size, uint8* data, data 274 media/filters/gpu_video_decoder.cc memcpy(shm_buffer->shm->memory(), buffer->data(), size); data 20 media/filters/h264_bit_reader.cc bool H264BitReader::Initialize(const uint8* data, off_t size) { data 21 media/filters/h264_bit_reader.cc DCHECK(data); data 26 media/filters/h264_bit_reader.cc data_ = data; data 31 media/filters/h264_bit_reader.h bool Initialize(const uint8* data, off_t size); data 154 media/filters/h264_parser.cc static inline bool IsStartCode(const uint8* data) { data 155 media/filters/h264_parser.cc return data[0] == 0x00 && data[1] == 0x00 && data[2] == 0x01; data 159 media/filters/h264_parser.cc bool H264Parser::FindStartCode(const uint8* data, off_t data_size, data 165 media/filters/h264_parser.cc if (IsStartCode(data)) { data 172 media/filters/h264_parser.cc if (*offset > 0 && *(data - 1) == 0x00) { data 180 media/filters/h264_parser.cc ++data; data 283 media/filters/h264_parser.cc nalu->data = stream_ + start_code_size; data 288 media/filters/h264_parser.cc if (!br_.Initialize(nalu->data, nalu->size)) data 299 media/filters/h264_parser.cc int data; data 300 media/filters/h264_parser.cc READ_BITS_OR_RETURN(1, &data); data 301 media/filters/h264_parser.cc TRUE_OR_RETURN(data == 0); data 307 media/filters/h264_parser.cc << " at: " << reinterpret_cast<const void*>(nalu->data) data 584 media/filters/h264_parser.cc int data; data 585 media/filters/h264_parser.cc READ_BOOL_OR_RETURN(&data); // {nal,vcl}_hrd_parameters_present_flag data 586 media/filters/h264_parser.cc if (!data) data 594 media/filters/h264_parser.cc READ_BITS_OR_RETURN(8, &data); // bit_rate_scale, cpb_size_scale data 596 media/filters/h264_parser.cc READ_UE_OR_RETURN(&data); // bit_rate_value_minus1[i] data 597 media/filters/h264_parser.cc READ_UE_OR_RETURN(&data); // cpb_size_value_minus1[i] data 598 media/filters/h264_parser.cc READ_BOOL_OR_RETURN(&data); // cbr_flag data 600 media/filters/h264_parser.cc READ_BITS_OR_RETURN(20, &data); // cpb/dpb delays, etc. data 622 media/filters/h264_parser.cc int data; data 624 media/filters/h264_parser.cc READ_BOOL_OR_RETURN(&data); // overscan_info_present_flag data 625 media/filters/h264_parser.cc if (data) data 626 media/filters/h264_parser.cc READ_BOOL_OR_RETURN(&data); // overscan_appropriate_flag data 628 media/filters/h264_parser.cc READ_BOOL_OR_RETURN(&data); // video_signal_type_present_flag data 629 media/filters/h264_parser.cc if (data) { data 630 media/filters/h264_parser.cc READ_BITS_OR_RETURN(3, &data); // video_format data 631 media/filters/h264_parser.cc READ_BOOL_OR_RETURN(&data); // video_full_range_flag data 632 media/filters/h264_parser.cc READ_BOOL_OR_RETURN(&data); // colour_description_present_flag data 633 media/filters/h264_parser.cc if (data) data 634 media/filters/h264_parser.cc READ_BITS_OR_RETURN(24, &data); // color description syntax elements data 637 media/filters/h264_parser.cc READ_BOOL_OR_RETURN(&data); // chroma_loc_info_present_flag data 638 media/filters/h264_parser.cc if (data) { data 639 media/filters/h264_parser.cc READ_UE_OR_RETURN(&data); // chroma_sample_loc_type_top_field data 640 media/filters/h264_parser.cc READ_UE_OR_RETURN(&data); // chroma_sample_loc_type_bottom_field data 644 media/filters/h264_parser.cc READ_BOOL_OR_RETURN(&data); // timing_info_present_flag data 645 media/filters/h264_parser.cc if (data) { data 646 media/filters/h264_parser.cc READ_BITS_OR_RETURN(16, &data); // num_units_in_tick data 647 media/filters/h264_parser.cc READ_BITS_OR_RETURN(16, &data); // num_units_in_tick data 648 media/filters/h264_parser.cc READ_BITS_OR_RETURN(16, &data); // time_scale data 649 media/filters/h264_parser.cc READ_BITS_OR_RETURN(16, &data); // time_scale data 650 media/filters/h264_parser.cc READ_BOOL_OR_RETURN(&data); // fixed_frame_rate_flag data 665 media/filters/h264_parser.cc READ_BOOL_OR_RETURN(&data); // low_delay_hrd_flag data 667 media/filters/h264_parser.cc READ_BOOL_OR_RETURN(&data); // pic_struct_present_flag data 670 media/filters/h264_parser.cc READ_BOOL_OR_RETURN(&data); // motion_vectors_over_pic_boundaries_flag data 671 media/filters/h264_parser.cc READ_UE_OR_RETURN(&data); // max_bytes_per_pic_denom data 672 media/filters/h264_parser.cc READ_UE_OR_RETURN(&data); // max_bits_per_mb_denom data 673 media/filters/h264_parser.cc READ_UE_OR_RETURN(&data); // log2_max_mv_length_horizontal data 674 media/filters/h264_parser.cc READ_UE_OR_RETURN(&data); // log2_max_mv_length_vertical data 697 media/filters/h264_parser.cc int data; data 711 media/filters/h264_parser.cc READ_BITS_OR_RETURN(2, &data); // reserved_zero_2bits data 1089 media/filters/h264_parser.cc shdr->nalu_data = nalu.data; data 40 media/filters/h264_parser.h const uint8* data; data 281 media/filters/h264_parser.h static bool FindStartCode(const uint8* data, off_t data_size, data 26 media/filters/h264_parser_unittest.cc parser.SetStream(stream.data(), stream.length()); data 9 media/filters/in_memory_url_protocol.cc InMemoryUrlProtocol::InMemoryUrlProtocol(const uint8* data, int64 size, data 11 media/filters/in_memory_url_protocol.cc : data_(data), data 19 media/filters/in_memory_url_protocol.cc int InMemoryUrlProtocol::Read(int size, uint8* data) { data 24 media/filters/in_memory_url_protocol.cc memcpy(data, data_ + position_, size); data 25 media/filters/in_memory_url_protocol.h virtual int Read(int size, uint8* data) OVERRIDE; data 22 media/filters/opus_audio_decoder.cc static uint16 ReadLE16(const uint8* data, size_t data_size, int read_offset) { data 25 media/filters/opus_audio_decoder.cc memcpy(&value, data + read_offset, sizeof(value)); data 198 media/filters/opus_audio_decoder.cc static bool ParseOpusExtraData(const uint8* data, int data_size, data 206 media/filters/opus_audio_decoder.cc extra_data->channels = *(data + kOpusExtraDataChannelsOffset); data 215 media/filters/opus_audio_decoder.cc ReadLE16(data, data_size, kOpusExtraDataSkipSamplesOffset); data 217 media/filters/opus_audio_decoder.cc ReadLE16(data, data_size, kOpusExtraDataGainOffset)); data 219 media/filters/opus_audio_decoder.cc extra_data->channel_mapping = *(data + kOpusExtraDataChannelMappingOffset); data 239 media/filters/opus_audio_decoder.cc extra_data->num_streams = *(data + kOpusExtraDataNumStreamsOffset); data 240 media/filters/opus_audio_decoder.cc extra_data->num_coupled = *(data + kOpusExtraDataNumCoupledOffset); data 246 media/filters/opus_audio_decoder.cc extra_data->stream_map[i] = *(data + kOpusExtraDataStreamMapOffset + i); data 481 media/filters/opus_audio_decoder.cc input->data(), data 212 media/filters/pipeline_integration_test.cc reinterpret_cast<const uint8*>(jwk.data()), data 311 media/filters/pipeline_integration_test.cc kSourceId, file_data_->data() + current_position_, size, data 649 media/filters/pipeline_integration_test.cc second_file->data(), second_file->data_size()); data 675 media/filters/pipeline_integration_test.cc second_file->data(), second_file->data_size()); data 706 media/filters/pipeline_integration_test.cc second_file->data(), second_file->data_size()); data 737 media/filters/pipeline_integration_test.cc second_file->data(), second_file->data_size()); data 779 media/filters/pipeline_integration_test.cc second_file->data(), data 815 media/filters/pipeline_integration_test.cc second_file->data(), data 848 media/filters/pipeline_integration_test.cc second_file->data(), second_file->data_size()); data 875 media/filters/pipeline_integration_test.cc second_file->data(), second_file->data_size()); data 904 media/filters/pipeline_integration_test.cc second_file->data(), second_file->data_size()); data 935 media/filters/pipeline_integration_test.cc second_file->data(), second_file->data_size()); data 158 media/filters/skcanvas_video_renderer.cc video_frame->data(media::VideoFrame::kYPlane) + y_offset; data 160 media/filters/skcanvas_video_renderer.cc video_frame->data(media::VideoFrame::kUPlane) + uv_offset; data 162 media/filters/skcanvas_video_renderer.cc video_frame->data(media::VideoFrame::kVPlane) + uv_offset; data 231 media/filters/skcanvas_video_renderer.cc video_frame->data(media::VideoFrame::kYPlane) + y_offset, data 232 media/filters/skcanvas_video_renderer.cc video_frame->data(media::VideoFrame::kUPlane) + uv_offset, data 233 media/filters/skcanvas_video_renderer.cc video_frame->data(media::VideoFrame::kVPlane) + uv_offset, data 245 media/filters/skcanvas_video_renderer.cc video_frame->data(media::VideoFrame::kYPlane) + y_offset, data 246 media/filters/skcanvas_video_renderer.cc video_frame->data(media::VideoFrame::kUPlane) + uv_offset, data 247 media/filters/skcanvas_video_renderer.cc video_frame->data(media::VideoFrame::kVPlane) + uv_offset, data 259 media/filters/skcanvas_video_renderer.cc video_frame->data(media::VideoFrame::kYPlane) + y_offset, data 260 media/filters/skcanvas_video_renderer.cc video_frame->data(media::VideoFrame::kUPlane) + uv_offset, data 261 media/filters/skcanvas_video_renderer.cc video_frame->data(media::VideoFrame::kVPlane) + uv_offset, data 262 media/filters/skcanvas_video_renderer.cc video_frame->data(media::VideoFrame::kAPlane), data 80 media/filters/source_buffer_stream_unittest.cc const uint8* data) { data 82 media/filters/source_buffer_stream_unittest.cc base::TimeDelta(), true, data, kDataSize); data 104 media/filters/source_buffer_stream_unittest.cc const uint8* data) { data 106 media/filters/source_buffer_stream_unittest.cc base::TimeDelta(), true, data, kDataSize); data 209 media/filters/source_buffer_stream_unittest.cc int starting_position, int ending_position, const uint8* data) { data 210 media/filters/source_buffer_stream_unittest.cc CheckExpectedBuffers(starting_position, ending_position, false, data, data 215 media/filters/source_buffer_stream_unittest.cc int starting_position, int ending_position, const uint8* data, data 218 media/filters/source_buffer_stream_unittest.cc data, kDataSize); data 237 media/filters/source_buffer_stream_unittest.cc const uint8* actual_data = buffer->data(); data 328 media/filters/source_buffer_stream_unittest.cc const uint8* data, data 341 media/filters/source_buffer_stream_unittest.cc StreamParserBuffer::CopyFrom(data, size, is_keyframe, data 124 media/filters/video_frame_stream_unittest.cc encrypted->data(), encrypted->data_size()); data 115 media/filters/vpx_video_decoder.cc std::vector<uint8> data; data 157 media/filters/vpx_video_decoder.cc if (frame_buffers_[i]->data.size() < min_size) data 158 media/filters/vpx_video_decoder.cc frame_buffers_[i]->data.resize(min_size); data 174 media/filters/vpx_video_decoder.cc fb->data = &fb_to_use->data[0]; data 175 media/filters/vpx_video_decoder.cc fb->size = fb_to_use->data.size(); data 387 media/filters/vpx_video_decoder.cc buffer->data(), data 43 media/formats/common/stream_parser_test_base.cc AppendDataInPieces(buffer->data(), buffer->data_size(), append_bytes)); data 59 media/formats/common/stream_parser_test_base.cc bool StreamParserTestBase::AppendDataInPieces(const uint8* data, data 62 media/formats/common/stream_parser_test_base.cc const uint8* start = data; data 63 media/formats/common/stream_parser_test_base.cc const uint8* end = data + length; data 44 media/formats/common/stream_parser_test_base.h bool AppendDataInPieces(const uint8* data, size_t length, size_t piece_size); data 160 media/formats/mp2t/es_parser_h264_unittest.cc stream_without_aud.data(), stream_without_aud.length()); data 162 media/formats/mp2t/es_parser_h264_unittest.cc AppendAUD(stream_without_aud.data(), stream_without_aud.length(), data 43 media/formats/mp2t/mp2t_stream_parser_unittest.cc bool AppendData(const uint8* data, size_t length) { data 44 media/formats/mp2t/mp2t_stream_parser_unittest.cc return parser_->Parse(data, length); data 47 media/formats/mp2t/mp2t_stream_parser_unittest.cc bool AppendDataInPieces(const uint8* data, size_t length, size_t piece_size) { data 48 media/formats/mp2t/mp2t_stream_parser_unittest.cc const uint8* start = data; data 49 media/formats/mp2t/mp2t_stream_parser_unittest.cc const uint8* end = data + length; data 152 media/formats/mp2t/mp2t_stream_parser_unittest.cc EXPECT_TRUE(AppendDataInPieces(buffer->data(), data 25 media/formats/mp4/aac.cc bool AAC::Parse(const std::vector<uint8>& data) { data 27 media/formats/mp4/aac.cc codec_specific_data_ = data; data 29 media/formats/mp4/aac.cc if (data.empty()) data 32 media/formats/mp4/aac.cc BitReader reader(&data[0], data.size()); data 33 media/formats/mp4/aac.h bool Parse(const std::vector<uint8>& data); data 16 media/formats/mp4/aac_unittest.cc std::vector<uint8> data; data 18 media/formats/mp4/aac_unittest.cc data.assign(buffer, buffer + sizeof(buffer)); data 20 media/formats/mp4/aac_unittest.cc EXPECT_TRUE(aac.Parse(data)); data 28 media/formats/mp4/aac_unittest.cc std::vector<uint8> data; data 30 media/formats/mp4/aac_unittest.cc data.assign(buffer, buffer + sizeof(buffer)); data 32 media/formats/mp4/aac_unittest.cc EXPECT_TRUE(aac.Parse(data)); data 45 media/formats/mp4/aac_unittest.cc std::vector<uint8> data; data 47 media/formats/mp4/aac_unittest.cc data.assign(buffer, buffer + sizeof(buffer)); data 49 media/formats/mp4/aac_unittest.cc EXPECT_TRUE(aac.Parse(data)); data 64 media/formats/mp4/aac_unittest.cc std::vector<uint8> data; data 66 media/formats/mp4/aac_unittest.cc data.assign(buffer, buffer + sizeof(buffer)); data 68 media/formats/mp4/aac_unittest.cc EXPECT_TRUE(aac.Parse(data)); data 82 media/formats/mp4/aac_unittest.cc std::vector<uint8> data; data 84 media/formats/mp4/aac_unittest.cc data.assign(buffer, buffer + sizeof(buffer)); data 86 media/formats/mp4/aac_unittest.cc EXPECT_TRUE(aac.Parse(data)); data 93 media/formats/mp4/aac_unittest.cc std::vector<uint8> data; data 95 media/formats/mp4/aac_unittest.cc EXPECT_FALSE(aac.Parse(data)); data 97 media/formats/mp4/aac_unittest.cc data.push_back(0x12); data 98 media/formats/mp4/aac_unittest.cc EXPECT_FALSE(aac.Parse(data)); data 104 media/formats/mp4/aac_unittest.cc std::vector<uint8> data; data 106 media/formats/mp4/aac_unittest.cc data.assign(buffer, buffer + sizeof(buffer)); data 108 media/formats/mp4/aac_unittest.cc EXPECT_FALSE(aac.Parse(data)); data 110 media/formats/mp4/aac_unittest.cc data[0] = 0x08; data 111 media/formats/mp4/aac_unittest.cc EXPECT_TRUE(aac.Parse(data)); data 113 media/formats/mp4/aac_unittest.cc data[0] = 0x28; data 114 media/formats/mp4/aac_unittest.cc EXPECT_FALSE(aac.Parse(data)); data 120 media/formats/mp4/aac_unittest.cc std::vector<uint8> data; data 122 media/formats/mp4/aac_unittest.cc data.assign(buffer, buffer + sizeof(buffer)); data 124 media/formats/mp4/aac_unittest.cc EXPECT_FALSE(aac.Parse(data)); data 126 media/formats/mp4/aac_unittest.cc data[0] = 0x0e; data 127 media/formats/mp4/aac_unittest.cc data[1] = 0x08; data 128 media/formats/mp4/aac_unittest.cc EXPECT_TRUE(aac.Parse(data)); data 134 media/formats/mp4/aac_unittest.cc std::vector<uint8> data; data 136 media/formats/mp4/aac_unittest.cc data.assign(buffer, buffer + sizeof(buffer)); data 138 media/formats/mp4/aac_unittest.cc EXPECT_FALSE(aac.Parse(data)); data 140 media/formats/mp4/aac_unittest.cc data[1] = 0x08; data 141 media/formats/mp4/aac_unittest.cc EXPECT_TRUE(aac.Parse(data)); data 38 media/formats/mp4/box_definitions.cc raw_box.assign(reader->data(), reader->data() + reader->size()); data 452 media/formats/mp4/box_definitions.cc std::vector<uint8> data; data 456 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadVec(&data, reader->size() - reader->pos())); data 457 media/formats/mp4/box_definitions.cc RCHECK(es_desc.Parse(data)); data 58 media/formats/mp4/box_reader.h const uint8* data() const { return buf_; } data 184 media/formats/mp4/box_reader_unittest.cc static void TestTopLevelBox(const uint8* data, int size, uint32 fourCC) { data 186 media/formats/mp4/box_reader_unittest.cc std::vector<uint8> buf(data, data + size); data 45 media/formats/mp4/es_descriptor.cc bool ESDescriptor::Parse(const std::vector<uint8>& data) { data 46 media/formats/mp4/es_descriptor.cc BitReader reader(&data[0], data.size()); data 38 media/formats/mp4/es_descriptor.h bool Parse(const std::vector<uint8>& data); data 21 media/formats/mp4/es_descriptor_unittest.cc std::vector<uint8> data; data 23 media/formats/mp4/es_descriptor_unittest.cc data.assign(buffer, buffer + sizeof(buffer)); data 26 media/formats/mp4/es_descriptor_unittest.cc EXPECT_TRUE(es_desc.Parse(data)); data 41 media/formats/mp4/es_descriptor_unittest.cc std::vector<uint8> data; data 43 media/formats/mp4/es_descriptor_unittest.cc data.assign(buffer, buffer + sizeof(buffer)); data 45 media/formats/mp4/es_descriptor_unittest.cc EXPECT_TRUE(es_desc.Parse(data)); data 61 media/formats/mp4/es_descriptor_unittest.cc std::vector<uint8> data; data 63 media/formats/mp4/es_descriptor_unittest.cc data.assign(buffer, buffer + sizeof(buffer)); data 65 media/formats/mp4/es_descriptor_unittest.cc EXPECT_TRUE(es_desc.Parse(data)); data 81 media/formats/mp4/es_descriptor_unittest.cc std::vector<uint8> data; data 83 media/formats/mp4/es_descriptor_unittest.cc data.assign(buffer, buffer + sizeof(buffer)); data 85 media/formats/mp4/es_descriptor_unittest.cc EXPECT_TRUE(es_desc.Parse(data)); data 44 media/formats/mp4/mp4_stream_parser_unittest.cc bool AppendData(const uint8* data, size_t length) { data 45 media/formats/mp4/mp4_stream_parser_unittest.cc return parser_->Parse(data, length); data 48 media/formats/mp4/mp4_stream_parser_unittest.cc bool AppendDataInPieces(const uint8* data, size_t length, size_t piece_size) { data 49 media/formats/mp4/mp4_stream_parser_unittest.cc const uint8* start = data; data 50 media/formats/mp4/mp4_stream_parser_unittest.cc const uint8* end = data + length; data 135 media/formats/mp4/mp4_stream_parser_unittest.cc EXPECT_TRUE(AppendDataInPieces(buffer->data(), data 165 media/formats/mp4/mp4_stream_parser_unittest.cc EXPECT_TRUE(AppendDataInPieces(buffer->data(), 65536, 512)); data 167 media/formats/mp4/mp4_stream_parser_unittest.cc EXPECT_TRUE(AppendDataInPieces(buffer->data(), data 177 media/formats/mp4/mp4_stream_parser_unittest.cc EXPECT_TRUE(AppendDataInPieces(buffer->data(), data 180 media/formats/mp4/mp4_stream_parser_unittest.cc EXPECT_TRUE(AppendDataInPieces(buffer->data(), data 198 media/formats/mp4/mp4_stream_parser_unittest.cc EXPECT_TRUE(AppendDataInPieces(buffer->data(), data 204 media/formats/mp4/mp4_stream_parser_unittest.cc EXPECT_TRUE(AppendDataInPieces(buffer->data() + kFirstMoofOffset, data 347 media/formats/mp4/track_run_iterator_unittest.cc EXPECT_TRUE(!memcmp(kKeyId, config->key_id().data(), data 350 media/formats/mp4/track_run_iterator_unittest.cc EXPECT_TRUE(!memcmp(kIv1, config->iv().data(), config->iv().size())); data 377 media/formats/mp4/track_run_iterator_unittest.cc EXPECT_TRUE(!memcmp(kIv1, config->iv().data(), config->iv().size())); data 386 media/formats/mp4/track_run_iterator_unittest.cc EXPECT_TRUE(!memcmp(kIv1, config->iv().data(), config->iv().size())); data 18 media/formats/mpeg/adts_stream_parser.cc int ADTSStreamParser::ParseFrameHeader(const uint8* data, data 24 media/formats/mpeg/adts_stream_parser.cc DCHECK(data); data 31 media/formats/mpeg/adts_stream_parser.cc BitReader reader(data, size); data 21 media/formats/mpeg/adts_stream_parser.h virtual int ParseFrameHeader(const uint8* data, data 95 media/formats/mpeg/mp3_stream_parser.cc int MP3StreamParser::ParseFrameHeader(const uint8* data, data 101 media/formats/mpeg/mp3_stream_parser.cc DCHECK(data); data 108 media/formats/mpeg/mp3_stream_parser.cc BitReader reader(data, size); data 21 media/formats/mpeg/mp3_stream_parser.h virtual int ParseFrameHeader(const uint8* data, data 99 media/formats/mpeg/mpeg_audio_stream_parser_base.cc const uint8* data; data 101 media/formats/mpeg/mpeg_audio_stream_parser_base.cc queue_.Peek(&data, &data_size); data 106 media/formats/mpeg/mpeg_audio_stream_parser_base.cc uint32 start_code = data[0] << 24 | data[1] << 16 | data[2] << 8 | data[3]; data 110 media/formats/mpeg/mpeg_audio_stream_parser_base.cc bytes_read = ParseFrame(data, data_size, &buffers); data 116 media/formats/mpeg/mpeg_audio_stream_parser_base.cc bytes_read = ParseIcecastHeader(data, data_size); data 118 media/formats/mpeg/mpeg_audio_stream_parser_base.cc bytes_read = ParseID3v1(data, data_size); data 120 media/formats/mpeg/mpeg_audio_stream_parser_base.cc bytes_read = ParseID3v2(data, data_size); data 122 media/formats/mpeg/mpeg_audio_stream_parser_base.cc bytes_read = FindNextValidStartCode(data, data_size); data 160 media/formats/mpeg/mpeg_audio_stream_parser_base.cc int MPEGAudioStreamParserBase::ParseFrame(const uint8* data, data 170 media/formats/mpeg/mpeg_audio_stream_parser_base.cc data, size, &frame_size, &sample_rate, &channel_layout, &sample_count); data 221 media/formats/mpeg/mpeg_audio_stream_parser_base.cc StreamParserBuffer::CopyFrom(data, frame_size, true, data 232 media/formats/mpeg/mpeg_audio_stream_parser_base.cc int MPEGAudioStreamParserBase::ParseIcecastHeader(const uint8* data, int size) { data 238 media/formats/mpeg/mpeg_audio_stream_parser_base.cc if (memcmp("ICY ", data, 4)) data 242 media/formats/mpeg/mpeg_audio_stream_parser_base.cc int offset = LocateEndOfHeaders(data, locate_size, 4); data 255 media/formats/mpeg/mpeg_audio_stream_parser_base.cc int MPEGAudioStreamParserBase::ParseID3v1(const uint8* data, int size) { data 263 media/formats/mpeg/mpeg_audio_stream_parser_base.cc return !memcmp(data, "TAG+", 4) ? kID3v1ExtendedSize : kID3v1Size; data 266 media/formats/mpeg/mpeg_audio_stream_parser_base.cc int MPEGAudioStreamParserBase::ParseID3v2(const uint8* data, int size) { data 272 media/formats/mpeg/mpeg_audio_stream_parser_base.cc BitReader reader(data, size); data 320 media/formats/mpeg/mpeg_audio_stream_parser_base.cc int MPEGAudioStreamParserBase::FindNextValidStartCode(const uint8* data, data 322 media/formats/mpeg/mpeg_audio_stream_parser_base.cc const uint8* start = data; data 323 media/formats/mpeg/mpeg_audio_stream_parser_base.cc const uint8* end = data + size; data 356 media/formats/mpeg/mpeg_audio_stream_parser_base.cc DVLOG(1) << "ParseFrameHeader() " << i << " failed @" << (sync - data); data 370 media/formats/mpeg/mpeg_audio_stream_parser_base.cc return candidate_start_code - data; data 65 media/formats/mpeg/mpeg_audio_stream_parser_base.h virtual int ParseFrameHeader(const uint8* data, data 90 media/formats/mpeg/mpeg_audio_stream_parser_base.h int ParseFrame(const uint8* data, int size, BufferQueue* buffers); data 91 media/formats/mpeg/mpeg_audio_stream_parser_base.h int ParseIcecastHeader(const uint8* data, int size); data 92 media/formats/mpeg/mpeg_audio_stream_parser_base.h int ParseID3v1(const uint8* data, int size); data 93 media/formats/mpeg/mpeg_audio_stream_parser_base.h int ParseID3v2(const uint8* data, int size); data 111 media/formats/mpeg/mpeg_audio_stream_parser_base.h int FindNextValidStartCode(const uint8* data, int size) const; data 223 media/formats/webm/chromeos/webm_encoder.cc bool is_keyframe = packet->data.frame.flags & VPX_FRAME_IS_KEY; data 224 media/formats/webm/chromeos/webm_encoder.cc int64_t pts_ms = 1000 * packet->data.frame.pts * fps_.den / fps_.num; data 227 media/formats/webm/chromeos/webm_encoder.cc << packet->data.frame.sz << " bytes " data 232 media/formats/webm/chromeos/webm_encoder.cc uint32 block_length = (packet->data.frame.sz + 4) | 0x10000000; data 243 media/formats/webm/chromeos/webm_encoder.cc if (packet->data.frame.flags & VPX_FRAME_IS_INVISIBLE) data 247 media/formats/webm/chromeos/webm_encoder.cc EbmlWrite(packet->data.frame.buf, packet->data.frame.sz); data 48 media/formats/webm/cluster_builder.cc Cluster::Cluster(scoped_ptr<uint8[]> data, int size) data 49 media/formats/webm/cluster_builder.cc : data_(data.Pass()), size_(size) {} data 69 media/formats/webm/cluster_builder.cc const uint8* data, int size) { data 81 media/formats/webm/cluster_builder.cc WriteBlock(buf, track_num, timecode, flags, data, size); data 87 media/formats/webm/cluster_builder.cc int flags, const uint8* data, int size) { data 107 media/formats/webm/cluster_builder.cc WriteBlock(buf, track_num, timecode, flags, data, size); data 113 media/formats/webm/cluster_builder.cc int flags, const uint8* data, int size) { data 118 media/formats/webm/cluster_builder.cc DCHECK(data); data 130 media/formats/webm/cluster_builder.cc memcpy(buf + 4, data, size); data 16 media/formats/webm/cluster_builder.h Cluster(scoped_ptr<uint8[]> data, int size); data 19 media/formats/webm/cluster_builder.h const uint8* data() const { return data_.get(); } data 36 media/formats/webm/cluster_builder.h const uint8* data, int size); data 38 media/formats/webm/cluster_builder.h const uint8* data, int size); data 47 media/formats/webm/cluster_builder.h const uint8* data, int size); data 135 media/formats/webm/tracks_builder.cc memcpy(buf, value.data(), size); data 251 media/formats/webm/webm_cluster_parser.cc bool WebMClusterParser::OnBinary(int id, const uint8* data, int size) { data 254 media/formats/webm/webm_cluster_parser.cc return ParseBlock(true, data, size, NULL, -1, -1, 0); data 263 media/formats/webm/webm_cluster_parser.cc memcpy(block_data_.get(), data, size); data 285 media/formats/webm/webm_cluster_parser.cc memcpy(block_additional_data_.get() + 8, data, size); data 298 media/formats/webm/webm_cluster_parser.cc const uint8* data, int size, data 357 media/formats/webm/webm_cluster_parser.cc is_simple_block ? (flags & 0x80) != 0 : track->IsKeyframe(data, size); data 366 media/formats/webm/webm_cluster_parser.cc data, size, data 367 media/formats/webm/webm_cluster_parser.cc reinterpret_cast<const uint8*>(encryption_key_id.data()), data 377 media/formats/webm/webm_cluster_parser.cc data + data_offset, size - data_offset, data 385 media/formats/webm/webm_cluster_parser.cc WebMWebVTTParser::Parse(data, size, &id, &settings, &content); data 396 media/formats/webm/webm_cluster_parser.cc reinterpret_cast<const uint8*>(content.data()), data 500 media/formats/webm/webm_cluster_parser.cc bool WebMClusterParser::Track::IsKeyframe(const uint8* data, int size) const { data 512 media/formats/webm/webm_cluster_parser.cc if ((data[0] & 0x01) != 0) data 517 media/formats/webm/webm_cluster_parser.cc if (data[3] != 0x9d || data[4] != 0x01 || data[5] != 0x2a) data 66 media/formats/webm/webm_cluster_parser.h bool IsKeyframe(const uint8* data, int size) const; data 143 media/formats/webm/webm_cluster_parser.h virtual bool OnBinary(int id, const uint8* data, int size) OVERRIDE; data 149 media/formats/webm/webm_cluster_parser.h int flags, const uint8* data, int size, data 58 media/formats/webm/webm_cluster_parser_unittest.cc uint8 data[] = { 0x00 }; data 62 media/formats/webm/webm_cluster_parser_unittest.cc 0, data, sizeof(data)); data 70 media/formats/webm/webm_cluster_parser_unittest.cc 0, data, sizeof(data)); data 224 media/formats/webm/webm_cluster_parser_unittest.cc int result = parser_->Parse(cluster->data(), cluster->size() - 1); data 232 media/formats/webm/webm_cluster_parser_unittest.cc result = parser_->Parse(cluster->data(), cluster->size()); data 241 media/formats/webm/webm_cluster_parser_unittest.cc int result = parser_->Parse(cluster->data(), cluster->size()); data 254 media/formats/webm/webm_cluster_parser_unittest.cc const uint8* data = cluster->data(); data 260 media/formats/webm/webm_cluster_parser_unittest.cc int result = parser_->Parse(data, parse_size); data 276 media/formats/webm/webm_cluster_parser_unittest.cc data += result; data 326 media/formats/webm/webm_cluster_parser_unittest.cc int result = parser_->Parse(cluster->data(), cluster->size()); data 368 media/formats/webm/webm_cluster_parser_unittest.cc int result = parser_->Parse(cluster->data(), cluster->size()); data 406 media/formats/webm/webm_cluster_parser_unittest.cc int result = parser_->Parse(cluster->data(), cluster->size()); data 438 media/formats/webm/webm_cluster_parser_unittest.cc int result = parser_->Parse(cluster->data(), cluster->size()); data 483 media/formats/webm/webm_cluster_parser_unittest.cc int result = parser_->Parse(cluster->data(), cluster->size()); data 513 media/formats/webm/webm_cluster_parser_unittest.cc int result = parser_->Parse(cluster->data(), cluster->size()); data 534 media/formats/webm/webm_cluster_parser_unittest.cc int result = parser_->Parse(cluster->data(), cluster->size()); data 246 media/formats/webm/webm_content_encodings_client.cc bool WebMContentEncodingsClient::OnBinary(int id, const uint8* data, int size) { data 248 media/formats/webm/webm_content_encodings_client.cc DCHECK(data); data 256 media/formats/webm/webm_content_encodings_client.cc cur_content_encoding_->SetEncryptionKeyId(data, size); data 34 media/formats/webm/webm_content_encodings_client.h virtual bool OnBinary(int id, const uint8* data, int size) OVERRIDE; data 27 media/formats/webm/webm_crypto_helpers.cc bool WebMCreateDecryptConfig(const uint8* data, int data_size, data 36 media/formats/webm/webm_crypto_helpers.cc uint8 signal_byte = data[0]; data 49 media/formats/webm/webm_crypto_helpers.cc counter_block = GenerateWebMCounterBlock(data + frame_offset, kWebMIvSize); data 26 media/formats/webm/webm_crypto_helpers.h bool WebMCreateDecryptConfig(const uint8* data, int data_size, data 76 media/formats/webm/webm_info_parser.cc bool WebMInfoParser::OnBinary(int id, const uint8* data, int size) { data 36 media/formats/webm/webm_info_parser.h virtual bool OnBinary(int id, const uint8* data, int size) OVERRIDE; data 671 media/formats/webm/webm_parser.cc bool WebMParserClient::OnBinary(int id, const uint8* data, int size) { data 791 media/formats/webm/webm_parser.cc const uint8* data, int size) { data 844 media/formats/webm/webm_parser.cc data, size, list_state.client_); data 36 media/formats/webm/webm_parser.h virtual bool OnBinary(int id, const uint8* data, int size); data 104 media/formats/webm/webm_parser.h const uint8* data, int size); data 44 media/formats/webm/webm_parser_unittest.cc uint8 data[] = { 0x00 }; data 45 media/formats/webm/webm_parser_unittest.cc cb.AddSimpleBlock(0, i, 0, data, sizeof(data)); data 221 media/formats/webm/webm_parser_unittest.cc EXPECT_EQ(cluster->size(), parser.Parse(cluster->data(), cluster->size())); data 229 media/formats/webm/webm_parser_unittest.cc const uint8* data = cluster->data(); data 236 media/formats/webm/webm_parser_unittest.cc int result = parser.Parse(data, parse_size); data 250 media/formats/webm/webm_parser_unittest.cc data += result; data 272 media/formats/webm/webm_parser_unittest.cc int result = parser.Parse(cluster->data(), cluster->size() - 1); data 280 media/formats/webm/webm_parser_unittest.cc EXPECT_EQ(cluster->size(), parser.Parse(cluster->data(), cluster->size())); data 122 media/formats/webm/webm_stream_parser.cc int WebMStreamParser::ParseInfoAndTracks(const uint8* data, int size) { data 124 media/formats/webm/webm_stream_parser.cc DCHECK(data); data 127 media/formats/webm/webm_stream_parser.cc const uint8* cur = data; data 227 media/formats/webm/webm_stream_parser.cc int WebMStreamParser::ParseCluster(const uint8* data, int size) { data 233 media/formats/webm/webm_stream_parser.cc int result = WebMParseElementHeader(data, size, &id, &element_size); data 257 media/formats/webm/webm_stream_parser.cc int bytes_parsed = cluster_parser_->Parse(data, size); data 54 media/formats/webm/webm_stream_parser.h int ParseInfoAndTracks(const uint8* data, int size); data 63 media/formats/webm/webm_stream_parser.h int ParseCluster(const uint8* data, int size); data 313 media/formats/webm/webm_tracks_parser.cc bool WebMTracksParser::OnBinary(int id, const uint8* data, int size) { data 320 media/formats/webm/webm_tracks_parser.cc codec_private_.assign(data, data + size); data 82 media/formats/webm/webm_tracks_parser.h virtual bool OnBinary(int id, const uint8* data, int size) OVERRIDE; data 153 media/formats/webm/webm_video_client.cc bool WebMVideoClient::OnBinary(int id, const uint8* data, int size) { data 41 media/formats/webm/webm_video_client.h virtual bool OnBinary(int id, const uint8* data, int size) OVERRIDE; data 19 media/formats/webm/webm_webvtt_parser_unittest.cc const uint8* const buf = reinterpret_cast<const uint8*>(result.data()); data 49 media/midi/midi_manager.cc const std::vector<uint8>& data, data 69 media/midi/midi_manager.cc const uint8* data, data 75 media/midi/midi_manager.cc (*i)->ReceiveMidiData(port_index, data, length, timestamp); data 32 media/midi/midi_manager.h const uint8* data, data 71 media/midi/midi_manager.h const std::vector<uint8>& data, data 94 media/midi/midi_manager.h const uint8* data, data 59 media/midi/midi_manager_alsa.cc void Send(MidiManagerClient* client, const std::vector<uint8>& data) { data 61 media/midi/midi_manager_alsa.cc midi_out_, reinterpret_cast<const void*>(&data[0]), data.size()); data 62 media/midi/midi_manager_alsa.cc if (static_cast<size_t>(result) != data.size()) { data 69 media/midi/midi_manager_alsa.cc base::Unretained(client), data.size())); data 75 media/midi/midi_manager_alsa.cc size_t Receive(uint8* data, size_t length) { data 76 media/midi/midi_manager_alsa.cc return snd_rawmidi_read(midi_in_, reinterpret_cast<void*>(data), length); data 218 media/midi/midi_manager_alsa.cc const std::vector<uint8>& data, data 237 media/midi/midi_manager_alsa.cc base::Bind(&MidiDeviceInfo::Send, device, client, data), data 27 media/midi/midi_manager_alsa.h const std::vector<uint8>& data, data 110 media/midi/midi_manager_mac.cc const std::vector<uint8>& data, data 119 media/midi/midi_manager_mac.cc client, port_index, data, timestamp)); data 163 media/midi/midi_manager_mac.cc packet.data, data 171 media/midi/midi_manager_mac.cc const std::vector<uint8>& data, data 183 media/midi/midi_manager_mac.cc data.size(), data 184 media/midi/midi_manager_mac.cc &data[0]); data 197 media/midi/midi_manager_mac.cc client->AccumulateMidiBytesSent(data.size()); data 30 media/midi/midi_manager_mac.h const std::vector<uint8>& data, data 46 media/midi/midi_manager_mac.h const std::vector<uint8>& data, data 54 media/midi/midi_manager_usb.cc const std::vector<uint8>& data, data 57 media/midi/midi_manager_usb.cc output_streams_[port_index]->Send(data); data 58 media/midi/midi_manager_usb.cc client->AccumulateMidiBytesSent(data.size()); data 63 media/midi/midi_manager_usb.cc const uint8* data, data 70 media/midi/midi_manager_usb.cc data, data 76 media/midi/midi_manager_usb.cc const uint8* data, data 79 media/midi/midi_manager_usb.cc ReceiveMidiData(jack_index, data, size, timestamp); data 93 media/midi/midi_manager_usb.cc const uint8* data = descriptor.size() > 0 ? &descriptor[0] : NULL; data 96 media/midi/midi_manager_usb.cc data, data 37 media/midi/midi_manager_usb.h const std::vector<uint8>& data, data 43 media/midi/midi_manager_usb.h const uint8* data, data 49 media/midi/midi_manager_usb.h const uint8* data, data 51 media/midi/midi_manager_usb_unittest.cc const std::vector<uint8>& data) OVERRIDE { data 55 media/midi/midi_manager_usb_unittest.cc for (size_t i = 0; i < data.size(); ++i) data 56 media/midi/midi_manager_usb_unittest.cc logger_->AddLog(base::StringPrintf(" 0x%02x", data[i])); data 77 media/midi/midi_manager_usb_unittest.cc const uint8* data, data 83 media/midi/midi_manager_usb_unittest.cc logger_->AddLog(base::StringPrintf(" 0x%02x", data[i])); data 242 media/midi/midi_manager_usb_unittest.cc uint8 data[] = { data 256 media/midi/midi_manager_usb_unittest.cc manager_->DispatchSendMidiData(&client, 1, ToVector(data), 0); data 287 media/midi/midi_manager_usb_unittest.cc uint8 data[] = { data 304 media/midi/midi_manager_usb_unittest.cc manager_->ReceiveUsbMidiData(device_raw, 2, data, arraysize(data), 0); data 334 media/midi/midi_manager_win.cc void OnMessageReceived(const uint8* data, size_t length, DWORD elapsed_ms) { data 347 media/midi/midi_manager_win.cc manager_->ReceiveMidiData(port_index_, data, length, timestamp); data 381 media/midi/midi_manager_win.cc void Send(const std::vector<uint8>& data) { data 394 media/midi/midi_manager_win.cc message_queue.Add(data); data 569 media/midi/midi_manager_win.cc const std::vector<uint8>& data, data 588 media/midi/midi_manager_win.cc base::Bind(&OutDeviceInfo::Send, base::Unretained(out_port), data), data 598 media/midi/midi_manager_win.cc base::Unretained(client), data.size())); data 26 media/midi/midi_manager_win.h const std::vector<uint8>& data, data 18 media/midi/midi_message_queue.cc bool IsDataByte(uint8 data) { data 19 media/midi/midi_message_queue.cc return (data & 0x80) == 0; data 22 media/midi/midi_message_queue.cc bool IsFirstStatusByte(uint8 data) { data 23 media/midi/midi_message_queue.cc return !IsDataByte(data) && data != kEndOfSysEx; data 26 media/midi/midi_message_queue.cc bool IsSystemRealTimeMessage(uint8 data) { data 27 media/midi/midi_message_queue.cc return 0xf8 <= data && data <= 0xff; data 37 media/midi/midi_message_queue.cc void MidiMessageQueue::Add(const std::vector<uint8>& data) { data 38 media/midi/midi_message_queue.cc queue_.insert(queue_.end(), data.begin(), data.end()); data 41 media/midi/midi_message_queue.cc void MidiMessageQueue::Add(const uint8* data, size_t length) { data 42 media/midi/midi_message_queue.cc queue_.insert(queue_.end(), data, data + length); data 49 media/midi/midi_message_queue.h void Add(const std::vector<uint8>& data); data 50 media/midi/midi_message_queue.h void Add(const uint8* data, size_t length); data 71 media/midi/usb_midi_descriptor_parser.cc const uint8* data, data 75 media/midi/usb_midi_descriptor_parser.cc bool result = ParseInternal(device, data, size, jacks); data 83 media/midi/usb_midi_descriptor_parser.cc const uint8* data, data 86 media/midi/usb_midi_descriptor_parser.cc for (const uint8* current = data; data 87 media/midi/usb_midi_descriptor_parser.cc current < data + size; data 94 media/midi/usb_midi_descriptor_parser.cc if (current + length > data + size) { data 132 media/midi/usb_midi_descriptor_parser.cc bool UsbMidiDescriptorParser::ParseInterface(const uint8* data, size_t size) { data 139 media/midi/usb_midi_descriptor_parser.cc uint8 interface_class = data[5]; data 140 media/midi/usb_midi_descriptor_parser.cc uint8 interface_subclass = data[6]; data 151 media/midi/usb_midi_descriptor_parser.cc const uint8* data, data 159 media/midi/usb_midi_descriptor_parser.cc DescriptorSubType subtype = static_cast<DescriptorSubType>(data[2]); data 169 media/midi/usb_midi_descriptor_parser.cc uint8 jack_type = data[3]; data 170 media/midi/usb_midi_descriptor_parser.cc uint8 id = data[4]; data 178 media/midi/usb_midi_descriptor_parser.cc bool UsbMidiDescriptorParser::ParseEndpoint(const uint8* data, size_t size) { data 183 media/midi/usb_midi_descriptor_parser.cc current_endpoint_address_ = data[2]; data 188 media/midi/usb_midi_descriptor_parser.cc bool UsbMidiDescriptorParser::ParseCSEndpoint(const uint8* data, data 198 media/midi/usb_midi_descriptor_parser.cc uint8 num_jacks = data[3]; data 205 media/midi/usb_midi_descriptor_parser.cc uint8 jack = data[kSizeForEmptyJacks + i]; data 31 media/midi/usb_midi_descriptor_parser.h const uint8* data, data 37 media/midi/usb_midi_descriptor_parser.h const uint8* data, data 40 media/midi/usb_midi_descriptor_parser.h bool ParseInterface(const uint8* data, size_t size); data 41 media/midi/usb_midi_descriptor_parser.h bool ParseCSInterface(UsbMidiDevice* device, const uint8* data, size_t size); data 42 media/midi/usb_midi_descriptor_parser.h bool ParseEndpoint(const uint8* data, size_t size); data 43 media/midi/usb_midi_descriptor_parser.h bool ParseCSEndpoint(const uint8* data, data 23 media/midi/usb_midi_descriptor_parser_unittest.cc uint8 data[] = {0x04}; data 24 media/midi/usb_midi_descriptor_parser_unittest.cc EXPECT_FALSE(parser.Parse(NULL, data, arraysize(data), &jacks)); data 33 media/midi/usb_midi_descriptor_parser_unittest.cc uint8 data[] = { data 38 media/midi/usb_midi_descriptor_parser_unittest.cc EXPECT_FALSE(parser.Parse(NULL, data, arraysize(data), &jacks)); data 48 media/midi/usb_midi_descriptor_parser_unittest.cc uint8 data[] = { data 53 media/midi/usb_midi_descriptor_parser_unittest.cc EXPECT_TRUE(parser.Parse(NULL, data, arraysize(data), &jacks)); data 61 media/midi/usb_midi_descriptor_parser_unittest.cc uint8 data[] = { data 77 media/midi/usb_midi_descriptor_parser_unittest.cc EXPECT_TRUE(parser.Parse(NULL, data, arraysize(data), &jacks)); data 28 media/midi/usb_midi_device.h const uint8* data, data 65 media/midi/usb_midi_device.h virtual void Send(int endpoint_number, const std::vector<uint8>& data) = 0; data 39 media/midi/usb_midi_device_android.cc const std::vector<uint8>& data) { data 41 media/midi/usb_midi_device_android.cc const uint8* head = data.size() ? &data[0] : NULL; data 43 media/midi/usb_midi_device_android.cc base::android::ToJavaByteArray(env, head, data.size()); data 52 media/midi/usb_midi_device_android.cc jbyteArray data) { data 54 media/midi/usb_midi_device_android.cc base::android::JavaByteArrayToByteVector(env, data, &bytes); data 31 media/midi/usb_midi_device_android.h const std::vector<uint8>& data) OVERRIDE; data 37 media/midi/usb_midi_device_android.h jbyteArray data); data 56 media/midi/usb_midi_input_stream.cc const uint8* data, data 62 media/midi/usb_midi_input_stream.cc ProcessOnePacket(device, endpoint_number, &data[current], timestamp); data 31 media/midi/usb_midi_input_stream.h const uint8* data, data 57 media/midi/usb_midi_input_stream.h const uint8* data, data 27 media/midi/usb_midi_input_stream_unittest.cc const std::vector<uint8>& data) OVERRIDE {} data 38 media/midi/usb_midi_input_stream_unittest.cc const uint8* data, data 42 media/midi/usb_midi_input_stream_unittest.cc received_data_ += base::StringPrintf("0x%02x ", data[i]); data 88 media/midi/usb_midi_input_stream_unittest.cc uint8 data[] = { data 93 media/midi/usb_midi_input_stream_unittest.cc stream_->OnReceivedData(&device1_, 7, data, arraysize(data), 0); data 98 media/midi/usb_midi_input_stream_unittest.cc uint8 data[] = { data 104 media/midi/usb_midi_input_stream_unittest.cc stream_->OnReceivedData(&device1_, 7, data, arraysize(data), 0); data 111 media/midi/usb_midi_input_stream_unittest.cc uint8 data[] = { data 118 media/midi/usb_midi_input_stream_unittest.cc stream_->OnReceivedData(&device1_, 7, data, arraysize(data), 0); data 126 media/midi/usb_midi_input_stream_unittest.cc uint8 data[] = { data 136 media/midi/usb_midi_input_stream_unittest.cc stream_->OnReceivedData(&device1_, 7, data, arraysize(data), 0); data 147 media/midi/usb_midi_input_stream_unittest.cc uint8 data[] = { data 151 media/midi/usb_midi_input_stream_unittest.cc stream_->OnReceivedData(&device1_, 7, data, arraysize(data), 0); data 156 media/midi/usb_midi_input_stream_unittest.cc uint8 data[] = { data 162 media/midi/usb_midi_input_stream_unittest.cc stream_->OnReceivedData(&device1_, 7, data, arraysize(data), 99); data 167 media/midi/usb_midi_input_stream_unittest.cc uint8 data[] = { 0x4f, 0xf8, 0x00, 0x00 }; data 169 media/midi/usb_midi_input_stream_unittest.cc stream_->OnReceivedData(&device2_, 7, data, arraysize(data), 99); data 16 media/midi/usb_midi_output_stream.cc void UsbMidiOutputStream::Send(const std::vector<uint8>& data) { data 23 media/midi/usb_midi_output_stream.cc size_t size = GetSize(data); data 25 media/midi/usb_midi_output_stream.cc uint8 first_byte = Get(data, current); data 28 media/midi/usb_midi_output_stream.cc if (!PushSysExMessage(data, ¤t, &data_to_send)) data 33 media/midi/usb_midi_output_stream.cc PushSysRTMessage(data, ¤t, &data_to_send); data 36 media/midi/usb_midi_output_stream.cc if (!PushSysCommonMessage(data, ¤t, &data_to_send)) data 40 media/midi/usb_midi_output_stream.cc if (!PushChannelMessage(data, ¤t, &data_to_send)) data 56 media/midi/usb_midi_output_stream.cc pending_data_[i - current] = Get(data, i); data 60 media/midi/usb_midi_output_stream.cc size_t UsbMidiOutputStream::GetSize(const std::vector<uint8>& data) const { data 61 media/midi/usb_midi_output_stream.cc return data.size() + pending_size_; data 64 media/midi/usb_midi_output_stream.cc uint8_t UsbMidiOutputStream::Get(const std::vector<uint8>& data, data 66 media/midi/usb_midi_output_stream.cc DCHECK_LT(index, GetSize(data)); data 69 media/midi/usb_midi_output_stream.cc return data[index - pending_size_]; data 72 media/midi/usb_midi_output_stream.cc bool UsbMidiOutputStream::PushSysExMessage(const std::vector<uint8>& data, data 80 media/midi/usb_midi_output_stream.cc while (index < GetSize(data)) { data 91 media/midi/usb_midi_output_stream.cc uint8 byte = Get(data, index); data 94 media/midi/usb_midi_output_stream.cc PushSysRTMessage(data, &index, data_to_send); data 117 media/midi/usb_midi_output_stream.cc const std::vector<uint8>& data, data 121 media/midi/usb_midi_output_stream.cc uint8 first_byte = Get(data, index); data 131 media/midi/usb_midi_output_stream.cc if (GetSize(data) < index + message_size) { data 139 media/midi/usb_midi_output_stream.cc data_to_send->push_back(i < index + message_size ? Get(data, i) : 0); data 144 media/midi/usb_midi_output_stream.cc void UsbMidiOutputStream::PushSysRTMessage(const std::vector<uint8>& data, data 148 media/midi/usb_midi_output_stream.cc uint8 first_byte = Get(data, index); data 159 media/midi/usb_midi_output_stream.cc bool UsbMidiOutputStream::PushChannelMessage(const std::vector<uint8>& data, data 163 media/midi/usb_midi_output_stream.cc uint8 first_byte = Get(data, index); data 175 media/midi/usb_midi_output_stream.cc if (GetSize(data) < index + message_size) { data 182 media/midi/usb_midi_output_stream.cc data_to_send->push_back(i < index + message_size ? Get(data, i) : 0); data 24 media/midi/usb_midi_output_stream.h void Send(const std::vector<uint8>& data); data 29 media/midi/usb_midi_output_stream.h size_t GetSize(const std::vector<uint8>& data) const; data 30 media/midi/usb_midi_output_stream.h uint8_t Get(const std::vector<uint8>& data, size_t index) const; data 32 media/midi/usb_midi_output_stream.h bool PushSysExMessage(const std::vector<uint8>& data, data 35 media/midi/usb_midi_output_stream.h bool PushSysCommonMessage(const std::vector<uint8>& data, data 38 media/midi/usb_midi_output_stream.h void PushSysRTMessage(const std::vector<uint8>& data, data 41 media/midi/usb_midi_output_stream.h bool PushChannelMessage(const std::vector<uint8>& data, data 33 media/midi/usb_midi_output_stream_unittest.cc virtual void Send(int endpoint_number, const std::vector<uint8>& data) data 35 media/midi/usb_midi_output_stream_unittest.cc for (size_t i = 0; i < data.size(); ++i) { data 36 media/midi/usb_midi_output_stream_unittest.cc log_ += base::StringPrintf("0x%02x ", data[i]); data 72 media/midi/usb_midi_output_stream_unittest.cc uint8 data[] = { 0x90, 0x45, 0x7f}; data 74 media/midi/usb_midi_output_stream_unittest.cc stream_->Send(ToVector(data)); data 104 media/midi/usb_midi_output_stream_unittest.cc uint8 data[] = { 0x80, 0x33, 0x44, }; data 106 media/midi/usb_midi_output_stream_unittest.cc stream_->Send(ToVector(data)); data 111 media/midi/usb_midi_output_stream_unittest.cc uint8 data[] = { 0xa0, 0x33, 0x44, }; data 113 media/midi/usb_midi_output_stream_unittest.cc stream_->Send(ToVector(data)); data 118 media/midi/usb_midi_output_stream_unittest.cc uint8 data[] = { 0xb7, 0x33, 0x44, }; data 120 media/midi/usb_midi_output_stream_unittest.cc stream_->Send(ToVector(data)); data 125 media/midi/usb_midi_output_stream_unittest.cc uint8 data[] = { 0xc2, 0x33, }; data 127 media/midi/usb_midi_output_stream_unittest.cc stream_->Send(ToVector(data)); data 132 media/midi/usb_midi_output_stream_unittest.cc uint8 data[] = { 0xd1, 0x33, 0x44, }; data 134 media/midi/usb_midi_output_stream_unittest.cc stream_->Send(ToVector(data)); data 139 media/midi/usb_midi_output_stream_unittest.cc uint8 data[] = { 0xe4, 0x33, 0x44, }; data 141 media/midi/usb_midi_output_stream_unittest.cc stream_->Send(ToVector(data)); data 146 media/midi/usb_midi_output_stream_unittest.cc uint8 data[] = { 0xf0, 0xf7, }; data 148 media/midi/usb_midi_output_stream_unittest.cc stream_->Send(ToVector(data)); data 153 media/midi/usb_midi_output_stream_unittest.cc uint8 data[] = { 0xf0, 0x4f, 0xf7, }; data 155 media/midi/usb_midi_output_stream_unittest.cc stream_->Send(ToVector(data)); data 160 media/midi/usb_midi_output_stream_unittest.cc uint8 data[] = { 0xf0, 0x00, 0x01, 0xf7, }; data 162 media/midi/usb_midi_output_stream_unittest.cc stream_->Send(ToVector(data)); data 168 media/midi/usb_midi_output_stream_unittest.cc uint8 data[] = { 0xf0, 0x00, 0x01, 0x02, 0xf7, }; data 170 media/midi/usb_midi_output_stream_unittest.cc stream_->Send(ToVector(data)); data 176 media/midi/usb_midi_output_stream_unittest.cc uint8 data[] = { 0xf0, 0x00, 0x01, 0x02, 0x03, 0xf7, }; data 178 media/midi/usb_midi_output_stream_unittest.cc stream_->Send(ToVector(data)); data 201 media/midi/usb_midi_output_stream_unittest.cc uint8 data[] = { 0xf0, 0x00, 0x01, 0x02, 0x03, 0xf7, 0x90, 0x44, 0x33, }; data 203 media/midi/usb_midi_output_stream_unittest.cc stream_->Send(ToVector(data)); data 210 media/midi/usb_midi_output_stream_unittest.cc uint8 data[] = { 0xf1, 0x22, }; data 212 media/midi/usb_midi_output_stream_unittest.cc stream_->Send(ToVector(data)); data 217 media/midi/usb_midi_output_stream_unittest.cc uint8 data[] = { 0xf2, 0x22, 0x33, }; data 219 media/midi/usb_midi_output_stream_unittest.cc stream_->Send(ToVector(data)); data 224 media/midi/usb_midi_output_stream_unittest.cc uint8 data[] = { 0xf3, 0x22, }; data 226 media/midi/usb_midi_output_stream_unittest.cc stream_->Send(ToVector(data)); data 231 media/midi/usb_midi_output_stream_unittest.cc uint8 data[] = { 0xf6, }; data 233 media/midi/usb_midi_output_stream_unittest.cc stream_->Send(ToVector(data)); data 249 media/midi/usb_midi_output_stream_unittest.cc uint8 data[] = { 0xf8, 0xfa, 0xfb, 0xfc, 0xfe, 0xff, }; data 251 media/midi/usb_midi_output_stream_unittest.cc stream_->Send(ToVector(data)); data 261 media/midi/usb_midi_output_stream_unittest.cc uint8 data[] = { data 267 media/midi/usb_midi_output_stream_unittest.cc stream_->Send(ToVector(data)); data 34 media/tools/player_x11/data_source_logger.cc int64 position, int size, uint8* data, data 37 media/tools/player_x11/data_source_logger.cc data_source_->Read(position, size, data, base::Bind( data 27 media/tools/player_x11/data_source_logger.h int64 position, int size, uint8* data, data 135 media/tools/player_x11/gl_video_renderer.cc GL_LUMINANCE, GL_UNSIGNED_BYTE, video_frame->data(i)); data 108 media/tools/player_x11/x11_video_renderer.cc DCHECK(image_->data); data 113 media/tools/player_x11/x11_video_renderer.cc media::ConvertYUVToRGB32(video_frame->data(media::VideoFrame::kYPlane), data 114 media/tools/player_x11/x11_video_renderer.cc video_frame->data(media::VideoFrame::kUPlane), data 115 media/tools/player_x11/x11_video_renderer.cc video_frame->data(media::VideoFrame::kVPlane), data 116 media/tools/player_x11/x11_video_renderer.cc (uint8*)image_->data, coded_width, coded_height, data 142 media/tools/player_x11/x11_video_renderer.cc image.data = image_->data; data 167 media/video/capture/android/video_capture_device_android.cc jbyteArray data, data 176 media/video/capture/android/video_capture_device_android.cc jbyte* buffer = env->GetByteArrayElements(data, NULL); data 201 media/video/capture/android/video_capture_device_android.cc env->ReleaseByteArrayElements(data, buffer, JNI_ABORT); data 47 media/video/capture/android/video_capture_device_android.h jbyteArray data, data 211 media/video/capture/fake_video_capture_device.cc canvas.drawText(time_string.data(), time_string.length(), 30, 20, data 123 media/video/capture/video_capture_device.h void* data() const { return data_; } data 129 media/video/capture/video_capture_device.h Buffer(int id, void* data, size_t size) data 130 media/video/capture/video_capture_device.h : id_(id), data_(data), size_(size) {} data 160 media/video/capture/video_capture_device.h virtual void OnIncomingCapturedData(const uint8* data, data 76 media/video/capture/video_capture_device_unittest.cc virtual void OnIncomingCapturedData(const uint8* data, data 222 media/video/capture/win/video_capture_device_mf_win.cc BYTE* data = NULL; data 223 media/video/capture/win/video_capture_device_mf_win.cc buffer->Lock(&data, &max_length, &length); data 224 media/video/capture/win/video_capture_device_mf_win.cc observer_->OnIncomingCapturedData(data, length, 0, stamp); data 463 media/video/capture/win/video_capture_device_mf_win.cc const uint8* data, data 468 media/video/capture/win/video_capture_device_mf_win.cc if (data && client_.get()) { data 470 media/video/capture/win/video_capture_device_mf_win.cc data, length, capture_format_, rotation, time_stamp); data 59 media/video/capture/win/video_capture_device_mf_win.h void OnIncomingCapturedData(const uint8* data, data 35 mojo/apps/js/bindings/gl/module.cc gin::PerIsolateData* data = gin::PerIsolateData::From(isolate); data 36 mojo/apps/js/bindings/gl/module.cc v8::Local<v8::ObjectTemplate> templ = data->GetObjectTemplate(&kWrapperInfo); data 42 mojo/apps/js/bindings/gl/module.cc data->SetObjectTemplate(&kWrapperInfo, templ); data 29 mojo/apps/js/bindings/monotonic_clock.cc gin::PerIsolateData* data = gin::PerIsolateData::From(isolate); data 31 mojo/apps/js/bindings/monotonic_clock.cc data->GetObjectTemplate(&g_wrapper_info); data 36 mojo/apps/js/bindings/monotonic_clock.cc data->SetObjectTemplate(&g_wrapper_info, templ); data 28 mojo/apps/js/bindings/threading.cc gin::PerIsolateData* data = gin::PerIsolateData::From(isolate); data 29 mojo/apps/js/bindings/threading.cc v8::Local<v8::ObjectTemplate> templ = data->GetObjectTemplate( data 37 mojo/apps/js/bindings/threading.cc data->SetObjectTemplate(&g_wrapper_info, templ); data 205 mojo/bindings/js/core.cc gin::PerIsolateData* data = gin::PerIsolateData::From(isolate); data 206 mojo/bindings/js/core.cc v8::Local<v8::ObjectTemplate> templ = data->GetObjectTemplate( data 275 mojo/bindings/js/core.cc data->SetObjectTemplate(&g_wrapper_info, templ); data 61 mojo/bindings/js/support.cc gin::PerIsolateData* data = gin::PerIsolateData::From(isolate); data 62 mojo/bindings/js/support.cc v8::Local<v8::ObjectTemplate> templ = data->GetObjectTemplate( data 71 mojo/bindings/js/support.cc data->SetObjectTemplate(&g_wrapper_info, templ); data 20 mojo/common/common_type_converters.cc memcpy(&result[0], input.data(), input.size()); data 32 mojo/common/environment_data.cc void EnvironmentData::SetData(const void* key, scoped_ptr<Data> data) { data 37 mojo/common/environment_data.cc if (data) data 38 mojo/common/environment_data.cc data_map_[key] = data.release(); data 33 mojo/common/environment_data.h void SetData(const void* key, scoped_ptr<Data> data); data 72 mojo/common/handle_watcher.cc void StartWatching(const WatchData& data); data 101 mojo/common/handle_watcher.cc void WatcherBackend::StartWatching(const WatchData& data) { data 102 mojo/common/handle_watcher.cc RemoveAndNotify(data.handle, MOJO_RESULT_CANCELLED); data 104 mojo/common/handle_watcher.cc DCHECK_EQ(0u, handle_to_data_.count(data.handle)); data 106 mojo/common/handle_watcher.cc handle_to_data_[data.handle] = data; data 107 mojo/common/handle_watcher.cc message_pump_mojo->AddHandler(this, data.handle, data 108 mojo/common/handle_watcher.cc data.wait_flags, data 109 mojo/common/handle_watcher.cc data.deadline); data 128 mojo/common/handle_watcher.cc const WatchData data(handle_to_data_[handle]); data 131 mojo/common/handle_watcher.cc data.message_loop->PostTask(FROM_HERE, base::Bind(data.callback, result)); data 203 mojo/common/handle_watcher.cc WatcherThreadManagerData* data = static_cast<WatcherThreadManagerData*>( data 205 mojo/common/handle_watcher.cc if (!data) { data 206 mojo/common/handle_watcher.cc data = new WatcherThreadManagerData; data 207 mojo/common/handle_watcher.cc data->thread_manager.reset(new WatcherThreadManager); data 210 mojo/common/handle_watcher.cc scoped_ptr<EnvironmentData::Data>(data)); data 212 mojo/common/handle_watcher.cc return data->thread_manager.get(); data 220 mojo/common/handle_watcher.cc WatchData data; data 221 mojo/common/handle_watcher.cc data.id = watcher_id_generator_.GetNext(); data 222 mojo/common/handle_watcher.cc data.handle = handle; data 223 mojo/common/handle_watcher.cc data.callback = callback; data 224 mojo/common/handle_watcher.cc data.wait_flags = wait_flags; data 225 mojo/common/handle_watcher.cc data.deadline = deadline; data 226 mojo/common/handle_watcher.cc data.message_loop = base::MessageLoopProxy::current(); data 228 mojo/common/handle_watcher.cc data.message_loop.get()); data 234 mojo/common/handle_watcher.cc data)); data 235 mojo/common/handle_watcher.cc return data.id; data 128 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc const void* data, data 132 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc glBufferData(target, size, data, usage); data 140 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc const void* data) { data 143 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc glBufferSubData(target, offset, size, data); data 214 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc const void* data) { data 218 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc target, level, internalformat, width, height, border, imageSize, data); data 231 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc const void* data) { data 242 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc data); data 55 mojo/public/c/gles2/gles2_call_visitor_autogen.h (GLenum target, GLsizeiptr size, const void* data, GLenum usage), data 56 mojo/public/c/gles2/gles2_call_visitor_autogen.h (target, size, data, usage)) data 60 mojo/public/c/gles2/gles2_call_visitor_autogen.h (GLenum target, GLintptr offset, GLsizeiptr size, const void* data), data 61 mojo/public/c/gles2/gles2_call_visitor_autogen.h (target, offset, size, data)) data 85 mojo/public/c/gles2/gles2_call_visitor_autogen.h const void* data), data 86 mojo/public/c/gles2/gles2_call_visitor_autogen.h (target, level, internalformat, width, height, border, imageSize, data)) data 98 mojo/public/c/gles2/gles2_call_visitor_autogen.h const void* data), data 99 mojo/public/c/gles2/gles2_call_visitor_autogen.h (target, level, xoffset, yoffset, width, height, format, imageSize, data)) data 79 mojo/public/cpp/bindings/array.h Data* data = NULL; data 80 mojo/public/cpp/bindings/array.h std::swap(data, data_); data 81 mojo/public/cpp/bindings/array.h return internal::Wrap(data); data 93 mojo/public/cpp/bindings/array.h Array(Wrap, const Data* data) : data_(data) {} data 14 mojo/public/cpp/bindings/lib/array.cc memcpy(&result[0], input.data(), input.size()); data 285 mojo/public/cpp/bindings/lib/array_internal.h static Ref ToRef(typename T::Data*& data) { data 286 mojo/public/cpp/bindings/lib/array_internal.h return *reinterpret_cast<T*>(&data); data 288 mojo/public/cpp/bindings/lib/array_internal.h static ConstRef ToConstRef(typename T::Data* const& data) { data 289 mojo/public/cpp/bindings/lib/array_internal.h return *reinterpret_cast<const T*>(&data); data 300 mojo/public/cpp/bindings/lib/array_internal.h static Ref ToRef(T& data) { return data; } data 301 mojo/public/cpp/bindings/lib/array_internal.h static ConstRef ToConstRef(const T& data) { return data; } data 311 mojo/public/cpp/bindings/lib/array_internal.h static Ref ToRef(const Ref& data) { return data; } data 312 mojo/public/cpp/bindings/lib/array_internal.h static ConstRef ToConstRef(ConstRef data) { return data; } data 322 mojo/public/cpp/bindings/lib/array_internal.h static Ref ToRef(Handle& data) { return Ref(&data); } data 323 mojo/public/cpp/bindings/lib/array_internal.h static ConstRef ToConstRef(const Handle& data) { data 324 mojo/public/cpp/bindings/lib/array_internal.h return ConstRef(const_cast<Handle*>(&data)); data 336 mojo/public/cpp/bindings/lib/array_internal.h static Ref ToRef(DataPipeConsumerHandle& data) { return Ref(&data); } data 337 mojo/public/cpp/bindings/lib/array_internal.h static ConstRef ToConstRef(const DataPipeConsumerHandle& data) { data 338 mojo/public/cpp/bindings/lib/array_internal.h return ConstRef(const_cast<DataPipeConsumerHandle*>(&data)); data 350 mojo/public/cpp/bindings/lib/array_internal.h static Ref ToRef(DataPipeProducerHandle& data) { return Ref(&data); } data 351 mojo/public/cpp/bindings/lib/array_internal.h static ConstRef ToConstRef(const DataPipeProducerHandle& data) { data 352 mojo/public/cpp/bindings/lib/array_internal.h return ConstRef(const_cast<DataPipeProducerHandle*>(&data)); data 363 mojo/public/cpp/bindings/lib/array_internal.h static Ref ToRef(MessagePipeHandle& data) { return Ref(&data); } data 364 mojo/public/cpp/bindings/lib/array_internal.h static ConstRef ToConstRef(const MessagePipeHandle& data) { data 365 mojo/public/cpp/bindings/lib/array_internal.h return ConstRef(const_cast<MessagePipeHandle*>(&data)); data 66 mojo/public/cpp/bindings/lib/bindings_internal.h static const T Wrap(const typename T::Data* data) { data 67 mojo/public/cpp/bindings/lib/bindings_internal.h return T(typename T::Wrap(), const_cast<typename T::Data*>(data)); data 75 mojo/public/cpp/bindings/lib/bindings_internal.h inline const typename Data::Wrapper Wrap(const Data* data) { data 76 mojo/public/cpp/bindings/lib/bindings_internal.h return WrapperHelper<typename Data::Wrapper>::Wrap(data); data 39 mojo/public/cpp/bindings/lib/bindings_serialization.cc const uint8_t* data = static_cast<const uint8_t*>(ptr); data 40 mojo/public/cpp/bindings/lib/bindings_serialization.cc if (reinterpret_cast<ptrdiff_t>(data) % 8 != 0) data 43 mojo/public/cpp/bindings/lib/bindings_serialization.cc const uint8_t* data_start = message.data(); data 46 mojo/public/cpp/bindings/lib/bindings_serialization.cc return data >= data_start && data < data_end; data 49 mojo/public/cpp/bindings/lib/connector.cc message->data(), data 35 mojo/public/cpp/bindings/lib/message.cc void Message::AdoptData(uint32_t num_bytes, internal::MessageData* data) { data 38 mojo/public/cpp/bindings/lib/message.cc data_ = data; data 27 mojo/public/cpp/bindings/message.h void AdoptData(uint32_t num_bytes, internal::MessageData* data); data 35 mojo/public/cpp/bindings/message.h const uint8_t* data() const { return data 62 mojo/public/cpp/bindings/tests/handle_passing_unittest.cc char data[64]; data 65 mojo/public/cpp/bindings/tests/handle_passing_unittest.cc ReadDataRaw(pipe.get(), data, &data_size, data 69 mojo/public/cpp/bindings/tests/handle_passing_unittest.cc client_->DidStuff2(String(std::string(data))); data 59 mojo/public/cpp/bindings/tests/sample_service_unittest.cc mojo::Array<uint8_t>::Builder data(10); data 60 mojo/public/cpp/bindings/tests/sample_service_unittest.cc for (size_t i = 0; i < data.size(); ++i) data 61 mojo/public/cpp/bindings/tests/sample_service_unittest.cc data[i] = static_cast<uint8_t>(data.size() - i); data 90 mojo/public/cpp/bindings/tests/sample_service_unittest.cc foo.set_data(data.Finish()); data 131 mojo/public/cpp/bindings/tests/sample_service_unittest.cc EXPECT_EQ(10u, foo.data().size()); data 132 mojo/public/cpp/bindings/tests/sample_service_unittest.cc for (size_t i = 0; i < foo.data().size(); ++i) { data 133 mojo/public/cpp/bindings/tests/sample_service_unittest.cc EXPECT_EQ(static_cast<uint8_t>(foo.data().size() - i), foo.data()[i]) << i; data 202 mojo/public/cpp/bindings/tests/sample_service_unittest.cc Print(depth, buf.str().data(), array.at(i)); data 221 mojo/public/cpp/bindings/tests/sample_service_unittest.cc Print(depth, "data", foo.data()); data 273 mojo/public/cpp/bindings/tests/sample_service_unittest.cc DumpHex(reinterpret_cast<const uint8_t*>(message->data()), data 326 mojo/public/cpp/bindings/tests/sample_service_unittest.cc EXPECT_EQ(3u, foo.data().size()); data 327 mojo/public/cpp/bindings/tests/sample_service_unittest.cc EXPECT_EQ(1, foo.data()[0]); data 328 mojo/public/cpp/bindings/tests/sample_service_unittest.cc EXPECT_EQ(2, foo.data()[1]); data 329 mojo/public/cpp/bindings/tests/sample_service_unittest.cc EXPECT_EQ(3, foo.data()[2]); data 16 mojo/public/cpp/test_support/lib/test_utils.cc text.data(), data 98 mojo/services/native_viewport/native_viewport_x11.cc Atom protocol = static_cast<Atom>(event->xclient.data.l[0]); data 173 mojo/system/multiprocess_message_pipe_unittest.cc write_buffer.data(), data 197 mojo/system/multiprocess_message_pipe_unittest.cc hello.data(), static_cast<uint32_t>(hello.size()), data 235 mojo/system/multiprocess_message_pipe_unittest.cc write_buffer.data(), data 244 mojo/system/multiprocess_message_pipe_unittest.cc quitquitquit.data(), data 26 mojo/tools/message_generator.cc base::StringAppendF(&result, "0X%.2X\n", static_cast<int>(piece.data()[i])); data 32 mojo/tools/message_generator.cc base::StringPiece(reinterpret_cast<const char*>(message.data()), data 35 mojo/tools/message_generator.cc base::WriteFile(path, hex_message.data(), data 44 mojo/tools/message_generator.cc char* data = static_cast<char*>(builder.buffer()->Allocate(4)); data 45 mojo/tools/message_generator.cc DCHECK(data); data 46 mojo/tools/message_generator.cc data[0] = 9; data 47 mojo/tools/message_generator.cc data[1] = 8; data 48 mojo/tools/message_generator.cc data[2] = 7; data 49 mojo/tools/message_generator.cc data[3] = 6; data 62 native_client_sdk/src/examples/api/audio/audio.cc void* data) { data 63 native_client_sdk/src/examples/api/audio/audio.cc AudioInstance* instance = reinterpret_cast<AudioInstance*>(data); data 184 native_client_sdk/src/examples/api/file_io/file_io.cc file_contents.data() + offset, data 233 native_client_sdk/src/examples/api/file_io/file_io.cc std::vector<char> data(info.size); data 239 native_client_sdk/src/examples/api/file_io/file_io.cc &data[offset], data 240 native_client_sdk/src/examples/api/file_io/file_io.cc data.size() - offset, data 252 native_client_sdk/src/examples/api/file_io/file_io.cc std::string string_data(data.begin(), data.end()); data 206 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc uint32_t* data = static_cast<uint32_t*>(image_data.data()); data 207 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc if (!data) data 213 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc data[offset] = palette_[buffer_[offset]]; data 77 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc uint32_t data = 0; data 78 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc data |= (kBase64Decode[*input++] << 18); data 79 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc data |= (kBase64Decode[*input++] << 12); data 80 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc data |= (kBase64Decode[*input++] << 6); data 81 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc data |= (kBase64Decode[*input++] ); data 83 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc decoded[decoded_count++] = (data >> 16) & 0xff; data 84 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc decoded[decoded_count++] = (data >> 8) & 0xff; data 85 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc decoded[decoded_count++] = (data ) & 0xff; data 109 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc GLuint CompileShader(GLenum type, const char* data) { data 111 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc glShaderSource(shader, 1, &data, NULL); data 167 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc const char* data = static_cast<const char*>(buffer.GetDataBuffer()); data 186 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc memcpy(samples_.data(), data, data 431 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc const char* data = static_cast<const char*>(frame.GetDataBuffer()); data 447 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc GL_LUMINANCE, GL_UNSIGNED_BYTE, data); data 449 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc data += width * height; data 455 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc GL_LUMINANCE, GL_UNSIGNED_BYTE, data); data 457 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc data += width * height; data 460 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc GL_LUMINANCE, GL_UNSIGNED_BYTE, data); data 464 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc GL_BGRA_EXT, GL_UNSIGNED_BYTE, data); data 78 native_client_sdk/src/examples/api/mouse_cursor/mouse_cursor.cc uint32_t* data = static_cast<uint32_t*>(custom_cursor_.data()); data 95 native_client_sdk/src/examples/api/mouse_cursor/mouse_cursor.cc data[y * size.width() + x] = MakeColor(r, g, b, a); data 104 native_client_sdk/src/examples/api/mouse_cursor/mouse_cursor.cc uint32_t* data = static_cast<uint32_t*>(custom_cursor_.data()); data 106 native_client_sdk/src/examples/api/mouse_cursor/mouse_cursor.cc data[y * size.width() + x] = MakeColor(r, g, b, a); data 208 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc if (image.is_null() || image.data() == NULL) { data 237 native_client_sdk/src/examples/api/socket/socket.cc const char* data = message.c_str(); data 242 native_client_sdk/src/examples/api/socket/socket.cc result = udp_socket_.SendTo(data, size, remote_host_, callback); data 244 native_client_sdk/src/examples/api/socket/socket.cc result = tcp_socket_.Write(data, size, callback); data 68 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc uint32_t* image_buffer = static_cast<uint32_t*>(image_data.data()); data 79 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc uint32_t* image_buffer = static_cast<uint32_t*>(image_data->data()); data 50 native_client_sdk/src/examples/api/websocket/websocket.cc uint8_t* data = static_cast<uint8_t*>(array.Map()); data 53 native_client_sdk/src/examples/api/websocket/websocket.cc sprintf(&tmp[offs * BYTES_PER_CHAR], "%02Xh ", data[offs]); data 121 native_client_sdk/src/examples/api/websocket/websocket.cc char* data = static_cast<char*>(array_buffer.Map()); data 123 native_client_sdk/src/examples/api/websocket/websocket.cc data[i] = message[i]; data 112 native_client_sdk/src/examples/demo/drive/drive.cc url_request.AppendDataToBody(params.request_body.data(), data 376 native_client_sdk/src/examples/demo/earth/earth.cc return ps_context_->data + x + y * ps_context_->stride / sizeof(uint32_t); data 786 native_client_sdk/src/examples/demo/earth/earth.cc if (NULL == ps_context_->data) data 58 native_client_sdk/src/examples/demo/flock/flock.cc if (NULL == ctx->data) return; data 61 native_client_sdk/src/examples/demo/flock/flock.cc memset(ctx->data, 0xFF, ctx->stride * ctx->height); data 88 native_client_sdk/src/examples/demo/flock/flock.cc ctx->data, canvas_bounds, 0, data 242 native_client_sdk/src/examples/demo/nacl_io/handlers.c const char* data; data 253 native_client_sdk/src/examples/demo/nacl_io/handlers.c data = params[1]; data 254 native_client_sdk/src/examples/demo/nacl_io/handlers.c data_len = strlen(data); data 262 native_client_sdk/src/examples/demo/nacl_io/handlers.c bytes_written = fwrite(data, 1, data_len, file); data 37 native_client_sdk/src/examples/demo/pi_generator/pi_generator.cc if (NULL == ctx->data) data 47 native_client_sdk/src/examples/demo/pi_generator/pi_generator.cc uint32_t color = ctx->data[ctx->width * py + px]; data 61 native_client_sdk/src/examples/demo/pi_generator/pi_generator.cc ctx->data[ctx->width * py + px] = color | kOpaqueColorMask; data 189 native_client_sdk/src/examples/demo/voronoi/voronoi.cc return ps_context_->data + x + y * ps_context_->stride / sizeof(uint32_t); data 503 native_client_sdk/src/examples/demo/voronoi/voronoi.cc if (NULL == ps_context_->data) data 60 native_client_sdk/src/examples/tutorial/debugging/debugging.c void* NexeMain(void* data) { data 78 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc uint32_t data = 0; data 79 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc data |= (kBase64Decode[*input++] << 18); data 80 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc data |= (kBase64Decode[*input++] << 12); data 81 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc data |= (kBase64Decode[*input++] << 6); data 82 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc data |= (kBase64Decode[*input++] ); data 84 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc decoded[decoded_count++] = (data >> 16) & 0xff; data 85 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc decoded[decoded_count++] = (data >> 8) & 0xff; data 86 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc decoded[decoded_count++] = (data ) & 0xff; data 110 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc GLuint CompileShader(GLenum type, const char* data) { data 112 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc glShaderSource(shader, 1, &data, NULL); data 228 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc static void FlushCallback(void* data, int32_t result); data 865 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc pixel_buffer_ = static_cast<uint32_t*>(image_data_->data()); data 178 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc return ps_context_->data + x + y * ps_context_->stride / sizeof(uint32_t); data 472 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc if (NULL == ps_context_->data) data 178 native_client_sdk/src/libraries/error_handling/error_handling.c s_eh_json_callback(ss.data); data 11 native_client_sdk/src/libraries/error_handling/string_stream.c stream->data = NULL; data 16 native_client_sdk/src/libraries/error_handling/string_stream.c free(stream->data); data 17 native_client_sdk/src/libraries/error_handling/string_stream.c stream->data = 0; data 30 native_client_sdk/src/libraries/error_handling/string_stream.c if (stream->data) { data 31 native_client_sdk/src/libraries/error_handling/string_stream.c memcpy(outstr, stream->data, stream->length); data 32 native_client_sdk/src/libraries/error_handling/string_stream.c free(stream->data); data 35 native_client_sdk/src/libraries/error_handling/string_stream.c stream->data = outstr; data 36 native_client_sdk/src/libraries/error_handling/string_stream.c vsprintf(&stream->data[stream->length], format, hold); data 19 native_client_sdk/src/libraries/error_handling/string_stream.h char* data; data 87 native_client_sdk/src/libraries/nacl_io/devfs/jspipe_node.cc HandleAttr data; data 90 native_client_sdk/src/libraries/nacl_io/devfs/jspipe_node.cc int error = PipeNode::Write(data, buffer, num_bytes, &wrote); data 16 native_client_sdk/src/libraries/nacl_io/devfs/tty_event_emitter.cc size_t TtyEventEmitter::Read_Locked(char* data, size_t len) { data 17 native_client_sdk/src/libraries/nacl_io/devfs/tty_event_emitter.cc size_t out_len = fifo_.Read(data, len); data 23 native_client_sdk/src/libraries/nacl_io/devfs/tty_event_emitter.cc size_t TtyEventEmitter::Write_Locked(const char* data, size_t len) { data 24 native_client_sdk/src/libraries/nacl_io/devfs/tty_event_emitter.cc size_t out_len = fifo_.Write(data, len); data 28 native_client_sdk/src/libraries/nacl_io/devfs/tty_event_emitter.h size_t Read_Locked(char* data, size_t len); data 29 native_client_sdk/src/libraries/nacl_io/devfs/tty_event_emitter.h size_t Write_Locked(const char* data, size_t len); data 155 native_client_sdk/src/libraries/nacl_io/devfs/tty_node.cc HandleAttr data; data 156 native_client_sdk/src/libraries/nacl_io/devfs/tty_node.cc Error error = Write(data, string, count, &wrote); data 41 native_client_sdk/src/libraries/nacl_io/fifo_char.cc char* data = new char[len]; data 42 native_client_sdk/src/libraries/nacl_io/fifo_char.cc avail_ = Read(data, avail_); data 46 native_client_sdk/src/libraries/nacl_io/fifo_char.cc buffer_ = data; data 204 native_client_sdk/src/libraries/nacl_io/fuse.h unsigned int flags, void* data); data 85 native_client_sdk/src/libraries/nacl_io/getdents_helper.cc memcpy(pdir, reinterpret_cast<const char*>(dirents_.data()) + offs, size); data 29 native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs_node.cc void* data; data 37 native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs_node.cc output->data = malloc(count * size); data 38 native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs_node.cc if (!output->data) data 41 native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs_node.cc output->data = NULL; data 43 native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs_node.cc return output->data; data 109 native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs_node.cc PP_DirectoryEntry* entries = static_cast<PP_DirectoryEntry*>(output_buf.data); data 138 native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs_node.cc free(output_buf.data); data 375 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc loader, cached_data_.data(), content_length, &real_size); data 406 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc memcpy(buf, &cached_data_.data()[attr.offs], count); data 540 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc ReadResponseToBuffer(loader, buffer_.data(), kBytesToRead, &bytes_read); data 560 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc void* buf = cached_data_.data() + *out_bytes; data 591 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc loader, buffer_.data(), bytes_to_read, &bytes_read); data 13 native_client_sdk/src/libraries/nacl_io/include/sys/mount.h unsigned long mountflags, const void *data); data 185 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc unsigned long mountflags, const void *data) { data 187 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc return s_state.kp->mount(source, target, filesystemtype, mountflags, data); data 83 native_client_sdk/src/libraries/nacl_io/kernel_intercept.h unsigned long mountflags, const void *data); data 391 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc const void* data) { data 406 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc if (data) { data 408 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc sdk_util::SplitString(static_cast<const char*>(data), ',', &elements); data 83 native_client_sdk/src/libraries/nacl_io/kernel_proxy.h const void *data); data 85 native_client_sdk/src/libraries/nacl_io/kernel_wrap.h unsigned long mountflags, const void* data) NOTHROW; data 142 native_client_sdk/src/libraries/nacl_io/node.cc HandleAttr data; data 143 native_client_sdk/src/libraries/nacl_io/node.cc data.offs = offset; data 144 native_client_sdk/src/libraries/nacl_io/node.cc data.flags = 0; data 146 native_client_sdk/src/libraries/nacl_io/node.cc Error read_error = Read(data, new_addr, length, &bytes_read); data 16 native_client_sdk/src/libraries/nacl_io/pipe/pipe_event_emitter.cc size_t PipeEventEmitter::Read_Locked(char* data, size_t len) { data 17 native_client_sdk/src/libraries/nacl_io/pipe/pipe_event_emitter.cc size_t out_len = fifo_.Read(data, len); data 23 native_client_sdk/src/libraries/nacl_io/pipe/pipe_event_emitter.cc size_t PipeEventEmitter::Write_Locked(const char* data, size_t len) { data 24 native_client_sdk/src/libraries/nacl_io/pipe/pipe_event_emitter.cc size_t out_len = fifo_.Write(data, len); data 27 native_client_sdk/src/libraries/nacl_io/pipe/pipe_event_emitter.h size_t Read_Locked(char* data, size_t len); data 28 native_client_sdk/src/libraries/nacl_io/pipe/pipe_event_emitter.h size_t Write_Locked(const char* data, size_t len); data 23 native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.cc uint32_t TcpEventEmitter::ReadIn_Locked(char* data, uint32_t len) { data 24 native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.cc uint32_t count = in_fifo_.Read(data, len); data 49 native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.cc uint32_t TcpEventEmitter::WriteIn_Locked(const char* data, uint32_t len) { data 50 native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.cc uint32_t count = in_fifo_.Write(data, len); data 56 native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.cc uint32_t TcpEventEmitter::ReadOut_Locked(char* data, uint32_t len) { data 57 native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.cc uint32_t count = out_fifo_.Read(data, len); data 63 native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.cc uint32_t TcpEventEmitter::WriteOut_Locked(const char* data, uint32_t len) { data 64 native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.cc uint32_t count = out_fifo_.Write(data, len); data 9 native_client_sdk/src/libraries/nacl_io/syscalls/syscall_mount.c unsigned long mountflags, const void* data) { data 10 native_client_sdk/src/libraries/nacl_io/syscalls/syscall_mount.c return ki_mount(source, target, filesystemtype, mountflags, data); data 119 native_client_sdk/src/libraries/ppapi_simple/ps_context_2d.cc ctx->data = static_cast<uint32_t*>(PSInterfaceImageData()->Map(image)); data 133 native_client_sdk/src/libraries/ppapi_simple/ps_context_2d.cc ctx->data = NULL; data 23 native_client_sdk/src/libraries/ppapi_simple/ps_context_2d.h uint32_t* data; data 387 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc const char* data = static_cast<const char*>(buf); data 389 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc message.append(data, count); data 56 native_client_sdk/src/libraries/sdk_util/thread_pool.cc void ThreadPool::Setup(int counter, WorkFunction work, void *data) { data 59 native_client_sdk/src/libraries/sdk_util/thread_pool.cc user_data_ = data; data 107 native_client_sdk/src/libraries/sdk_util/thread_pool.cc void ThreadPool::DispatchMany(int num_tasks, WorkFunction work, void* data) { data 109 native_client_sdk/src/libraries/sdk_util/thread_pool.cc Setup(num_tasks, work, data); data 124 native_client_sdk/src/libraries/sdk_util/thread_pool.cc void ThreadPool::DispatchHere(int num_tasks, WorkFunction work, void* data) { data 126 native_client_sdk/src/libraries/sdk_util/thread_pool.cc work(i, data); data 132 native_client_sdk/src/libraries/sdk_util/thread_pool.cc void ThreadPool::Dispatch(int num_tasks, WorkFunction work, void* data) { data 134 native_client_sdk/src/libraries/sdk_util/thread_pool.cc DispatchMany(num_tasks, work, data); data 136 native_client_sdk/src/libraries/sdk_util/thread_pool.cc DispatchHere(num_tasks, work, data); data 18 native_client_sdk/src/libraries/sdk_util/thread_pool.h typedef void (*WorkFunction)(int task_index, void* data); data 28 native_client_sdk/src/libraries/sdk_util/thread_pool.h void Dispatch(int num_tasks, WorkFunction work, void* data); data 33 native_client_sdk/src/libraries/sdk_util/thread_pool.h void Setup(int counter, WorkFunction work, void* data); data 34 native_client_sdk/src/libraries/sdk_util/thread_pool.h void DispatchMany(int num_tasks, WorkFunction work, void* data); data 35 native_client_sdk/src/libraries/sdk_util/thread_pool.h void DispatchHere(int num_tasks, WorkFunction work, void* data); data 37 native_client_sdk/src/libraries/sdk_util/thread_pool.h static void* WorkerThreadEntry(void* data); data 17 native_client_sdk/src/libraries/xray/hashtable.c void* data; data 73 native_client_sdk/src/libraries/xray/hashtable.c if (NULL == table->array[j].data) { data 82 native_client_sdk/src/libraries/xray/hashtable.c return table->array[j].data; data 94 native_client_sdk/src/libraries/xray/hashtable.c void* data, uint32_t key) { data 102 native_client_sdk/src/libraries/xray/hashtable.c if (NULL == table->array[j].data) { data 105 native_client_sdk/src/libraries/xray/hashtable.c table->array[j].data = data; data 108 native_client_sdk/src/libraries/xray/hashtable.c ret = data; data 117 native_client_sdk/src/libraries/xray/hashtable.c return table->array[j].data; data 129 native_client_sdk/src/libraries/xray/hashtable.c return table->array[i].data; data 143 native_client_sdk/src/libraries/xray/hashtable.c void* data = old_array[i].data; data 144 native_client_sdk/src/libraries/xray/hashtable.c if (NULL != data) { data 146 native_client_sdk/src/libraries/xray/hashtable.c XRayHashTableInsert(table, data, key); data 308 native_client_sdk/src/libraries/xray/xray.c void* data; data 309 native_client_sdk/src/libraries/xray/xray.c data = calloc(1, t); data 310 native_client_sdk/src/libraries/xray/xray.c if (NULL == data) { data 314 native_client_sdk/src/libraries/xray/xray.c return data; data 319 native_client_sdk/src/libraries/xray/xray.c void XRayFree(void* data) { data 320 native_client_sdk/src/libraries/xray/xray.c assert(NULL != data); data 321 native_client_sdk/src/libraries/xray/xray.c free(data); data 79 native_client_sdk/src/libraries/xray/xray_priv.h void* data, uint32_t addr); data 174 native_client_sdk/src/libraries/xray/xray_priv.h XRAY_NO_INSTRUMENT void XRayFree(void* data); data 70 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_host_resolver_interface.cc return ppapi_->GetVarInterface()->VarFromUtf8(fake_hostname.data(), data 94 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc memcpy(buffer, contents_.data() + offset, bytes_to_read); data 108 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc memcpy(contents_.data() + offset, buffer, bytes_to_write); data 162 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc std::vector<uint8_t> data; data 163 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc std::copy(contents.begin(), contents.end(), std::back_inserter(data)); data 164 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc return AddFile(path, data, out_node); data 30 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc if (strncasecmp(key.c_str(), &headers.data()[offset], key.size()) != 0) { data 361 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc memcpy(buffer, &body.data()[offset], bytes_to_read); data 482 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc return var_interface_->VarFromUtf8(response_resource->url.data(), data 489 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc return var_interface_->VarFromUtf8(response_resource->headers.data(), data 27 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_array_buffer_interface.cc FakeVarData* data = manager_->GetVarData(var); data 28 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_array_buffer_interface.cc EXPECT_NE(static_cast<FakeVarData*>(NULL), data); data 29 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_array_buffer_interface.cc *byte_length = data->buffer_value.length; data 35 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_array_buffer_interface.cc FakeVarData* data = manager_->GetVarData(var); data 36 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_array_buffer_interface.cc EXPECT_NE(static_cast<FakeVarData*>(NULL), data); data 37 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_array_buffer_interface.cc return data->buffer_value.ptr; data 25 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_array_interface.cc FakeVarData* data = manager_->GetVarData(var); data 26 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_array_interface.cc EXPECT_NE(static_cast<FakeVarData*>(NULL), data); data 27 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_array_interface.cc if (index >= data->array_value.size()) data 32 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_array_interface.cc PP_Var result = data->array_value[index]; data 39 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_array_interface.cc FakeVarData* data = manager_->GetVarData(var); data 40 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_array_interface.cc EXPECT_NE(static_cast<FakeVarData*>(NULL), data); data 41 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_array_interface.cc if (index >= data->array_value.size()) data 42 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_array_interface.cc data->array_value.resize(index+1); data 44 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_array_interface.cc manager_->Release(data->array_value[index]); data 45 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_array_interface.cc data->array_value[index] = value; data 52 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_array_interface.cc FakeVarData* data = manager_->GetVarData(var); data 53 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_array_interface.cc EXPECT_NE(static_cast<FakeVarData*>(NULL), data); data 54 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_array_interface.cc return data->array_value.size(); data 59 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_array_interface.cc FakeVarData* data = manager_->GetVarData(var); data 60 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_array_interface.cc EXPECT_NE(static_cast<FakeVarData*>(NULL), data); data 61 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_array_interface.cc data->array_value.resize(length); data 12 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_interface.cc PP_Var FakeVarInterface::VarFromUtf8(const char* data, uint32_t len) { data 15 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_interface.cc var_data->string_value.assign(data, len); data 21 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_interface.h virtual PP_Var VarFromUtf8(const char* data, uint32_t len); data 23 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_manager.cc FakeVarData data; data 24 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_manager.cc data.id = id; data 25 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_manager.cc data.ref_count = 1; data 26 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_manager.cc var_map_[id] = data; data 34 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc std::vector<uint8_t> data; data 78 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc stbuf->st_size = file->data.size(); data 131 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc size_t filesize = file->data.size(); data 139 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc memcpy(buf, file->data.data() + offset, size); data 152 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc size_t filesize = file->data.size(); data 155 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc file->data.resize(offset + size); data 157 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc memcpy(file->data.data() + offset, buf, size); data 210 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc hello.data.resize(hello_len); data 211 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc memcpy(hello.data.data(), hello_world, hello_len); data 58 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc packaged_message.buffer = message.data(); data 76 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc EXPECT_EQ(0, memcmp(message.data(), buffer, 5)); data 84 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc EXPECT_EQ(0, memcmp(message.data(), buffer, message.size())); data 126 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc char data[1024]; data 130 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc for (size_t a = 0; a < sizeof(data); a++) data 131 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc data[a] = a; data 137 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc ASSERT_EQ(0, file.Write(attr, data, sizeof(data), &result_bytes)); data 138 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc ASSERT_EQ(sizeof(data), result_bytes); data 141 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, file.FTruncate(sizeof(data) * 2)); data 143 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(sizeof(data) * 2, result_size); data 148 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, memcmp(buffer, data, sizeof(buffer))); data 151 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc attr.offs = sizeof(data); data 165 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, memcmp(buffer, data, 100)); data 57 native_client_sdk/src/tests/nacl_io_test/tty_test.cc packaged_message.buffer = message.data(); data 77 native_client_sdk/src/tests/nacl_io_test/tty_test.cc EXPECT_EQ(0, memcmp(message.data(), buffer, 5)); data 84 native_client_sdk/src/tests/nacl_io_test/tty_test.cc EXPECT_EQ(0, memcmp(message.data(), buffer, message.size())); data 95 native_client_sdk/src/tests/nacl_io_test/tty_test.cc static ssize_t output_handler(const char* buf, size_t count, void* data) { data 96 native_client_sdk/src/tests/nacl_io_test/tty_test.cc user_data_t* user_data = static_cast<user_data_t*>(data); data 78 net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java public static boolean storeCertificate(Context context, int certType, byte[] data) { data 86 net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java intent.putExtra(KeyChain.EXTRA_CERTIFICATE, data); data 90 net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java intent.putExtra(KeyChain.EXTRA_PKCS12, data); data 99 net/android/keystore.cc reinterpret_cast<const uint8*>(digest.data()), data 190 net/android/keystore_unittest.cc reinterpret_cast<const uint8*>(pkcs8_key.data()), data 246 net/android/keystore_unittest.cc reinterpret_cast<const unsigned char*>(message.data()); data 249 net/android/keystore_unittest.cc reinterpret_cast<const unsigned char*>(signature.data()); data 293 net/android/keystore_unittest.cc reinterpret_cast<const unsigned char*>(message.data()); data 296 net/android/keystore_unittest.cc reinterpret_cast<const unsigned char*>(signature.data()); data 317 net/android/keystore_unittest.cc reinterpret_cast<const unsigned char*>(message.data()); data 435 net/android/keystore_unittest.cc << base::HexEncode(signature.data(), signature.size()); data 437 net/android/keystore_unittest.cc << base::HexEncode(openssl_signature.data(), data 82 net/android/network_library.cc const void* data, data 86 net/android/network_library.cc ToJavaByteArray(env, reinterpret_cast<const uint8*>(data), data_len); data 55 net/android/network_library.h const void* data, data 98 net/base/address_tracker_linux_unittest.cc void AddPayload(const void* data, size_t length) { data 101 net/base/address_tracker_linux_unittest.cc Append(data, length); data 105 net/base/address_tracker_linux_unittest.cc void AddAttribute(uint16 type, const void* data, size_t length) { data 111 net/base/address_tracker_linux_unittest.cc Append(data, length); data 122 net/base/address_tracker_linux_unittest.cc void Append(const void* data, size_t length) { data 123 net/base/address_tracker_linux_unittest.cc const char* chardata = reinterpret_cast<const char*>(data); data 22 net/base/data_url.cc std::string* charset, std::string* data) { data 69 net/base/data_url.cc if (!data) data 116 net/base/data_url.cc return base::Base64Decode(temp_data, data); data 119 net/base/data_url.cc temp_data.swap(*data); data 47 net/base/data_url.h std::string* data); data 17 net/base/data_url_unittest.cc const char* data; data 171 net/base/data_url_unittest.cc std::string data; data 173 net/base/data_url_unittest.cc net::DataURL::Parse(GURL(tests[i].url), &mime_type, &charset, &data); data 178 net/base/data_url_unittest.cc EXPECT_EQ(tests[i].data, data); data 72 net/base/directory_lister.cc void SortData(std::vector<DirectoryLister::DirectoryListerData>* data, data 77 net/base/directory_lister.cc std::sort(data->begin(), data->end(), CompareDate); data 79 net/base/directory_lister.cc std::sort(data->begin(), data->end(), CompareFullPath); data 81 net/base/directory_lister.cc std::sort(data->begin(), data->end(), CompareAlphaDirsFirst); data 160 net/base/directory_lister.cc DirectoryListerData data; data 161 net/base/directory_lister.cc data.info = file_enum.GetInfo(); data 162 net/base/directory_lister.cc data.path = path; data 163 net/base/directory_lister.cc file_data.push_back(data); data 192 net/base/directory_lister.cc const std::vector<DirectoryLister::DirectoryListerData>& data) { data 196 net/base/directory_lister.cc for (size_t i = 0; lister_ && i < data.size(); ++i) data 197 net/base/directory_lister.cc lister_->OnReceivedData(data[i]); data 206 net/base/directory_lister.cc void DirectoryLister::OnReceivedData(const DirectoryListerData& data) { data 207 net/base/directory_lister.cc delegate_->OnListFile(data); data 37 net/base/directory_lister.h virtual void OnListFile(const DirectoryListerData& data) = 0; data 97 net/base/directory_lister.h void SendData(const std::vector<DirectoryListerData>& data); data 112 net/base/directory_lister.h void OnReceivedData(const DirectoryListerData& data); data 31 net/base/directory_lister_unittest.cc const DirectoryLister::DirectoryListerData& data) OVERRIDE { data 32 net/base/directory_lister_unittest.cc file_list_.push_back(data.info); data 33 net/base/directory_lister_unittest.cc paths_.push_back(data.path); data 74 net/base/dns_reloader.cc static void SlotReturnFunction(void* data) { data 75 net/base/dns_reloader.cc ReloadState* reload_state = static_cast<ReloadState*>(data); data 13 net/base/dns_util.cc const char* buf = dotted.data(); data 374 net/base/escape.cc if (base::UTF8ToUTF16AndAdjustOffsets(unescaped_url.data(), data 182 net/base/file_stream_context_posix.cc ssize_t res = HANDLE_EINTR(read(file_.GetPlatformFile(), buf->data(), data 193 net/base/file_stream_context_posix.cc ssize_t res = HANDLE_EINTR(write(file_.GetPlatformFile(), buf->data(), data 113 net/base/file_stream_context_win.cc if (!ReadFile(file_.GetPlatformFile(), buf->data(), buf_len, data 153 net/base/file_stream_context_win.cc if (!WriteFile(file_.GetPlatformFile(), buf->data(), buf_len, data 38 net/base/file_stream_unittest.cc memcpy(buf->data(), kTestData, kTestDataSize); data 229 net/base/file_stream_unittest.cc data_read.append(buf->data(), rv); data 260 net/base/file_stream_unittest.cc EXPECT_EQ(std::string(kTestData, rv), std::string(buf->data(), rv)); data 331 net/base/file_stream_unittest.cc data_read.append(buf->data(), rv); data 647 net/base/file_stream_unittest.cc data_read.append(buf->data(), rv); data 733 net/base/file_stream_unittest.cc data_read.append(buf->data(), rv); data 814 net/base/file_stream_unittest.cc data_read_->append(buf->data(), rv); data 1037 net/base/file_stream_unittest.cc buf->data()[0] = 0; data 1114 net/base/file_stream_unittest.cc data_read.append(buf->data(), rv); data 27 net/base/hash_value.cc return memcmp(data, other.data, sizeof(data)) == 0; data 31 net/base/hash_value.cc return memcmp(data, other.data, sizeof(data)) == 0; data 64 net/base/hash_value.cc memcpy(data(), decoded.data(), size()); data 70 net/base/hash_value.cc base::Base64Encode(base::StringPiece(reinterpret_cast<const char*>(data()), data 86 net/base/hash_value.cc return sizeof(fingerprint.sha1.data); data 88 net/base/hash_value.cc return sizeof(fingerprint.sha256.data); data 94 net/base/hash_value.cc return sizeof(fingerprint.sha1.data); data 99 net/base/hash_value.cc return const_cast<unsigned char*>(const_cast<const HashValue*>(this)->data()); data 105 net/base/hash_value.cc return fingerprint.sha1.data; data 107 net/base/hash_value.cc return fingerprint.sha256.data; data 119 net/base/hash_value.cc return NULL != bsearch(hash.data, array, arraylen, base::kSHA1Length, data 23 net/base/hash_value.h unsigned char data[20]; data 29 net/base/hash_value.h unsigned char data[32]; data 73 net/base/hash_value.h unsigned char* data(); data 74 net/base/hash_value.h const unsigned char* data() const; data 92 net/base/hash_value.h return memcmp(lhs.data, rhs.data, sizeof(lhs.data)) < 0; data 100 net/base/hash_value.h return memcmp(lhs.data, rhs.data, sizeof(lhs.data)) < 0; data 20 net/base/io_buffer.cc IOBuffer::IOBuffer(char* data) data 21 net/base/io_buffer.cc : data_(data) { data 34 net/base/io_buffer.cc IOBufferWithSize::IOBufferWithSize(char* data, int size) data 35 net/base/io_buffer.cc : IOBuffer(data), data 46 net/base/io_buffer.cc data_ = const_cast<char*>(string_data_.data()); data 56 net/base/io_buffer.cc : IOBuffer(base->data()), data 79 net/base/io_buffer.cc data_ = base_->data() + used_; data 126 net/base/io_buffer.cc data_ = const_cast<char*>(static_cast<const char*>(pickle_.data())); data 131 net/base/io_buffer.cc WrappedIOBuffer::WrappedIOBuffer(const char* data) data 132 net/base/io_buffer.cc : IOBuffer(const_cast<char*>(data)) { data 78 net/base/io_buffer.h char* data() { return data_; } data 85 net/base/io_buffer.h explicit IOBuffer(char* data); data 106 net/base/io_buffer.h IOBufferWithSize(char* data, int size); data 236 net/base/io_buffer.h explicit WrappedIOBuffer(const char* data); data 131 net/base/ip_pattern.cc if (!ParseComponentPattern(base::StringPiece(component_it->data() + 1, data 99 net/base/keygen_handler_mac.cc static OSStatus SignData(CSSM_DATA data, data 161 net/base/keygen_handler_mac.cc reinterpret_cast<uint8_t*>(const_cast<char*>(challenge_.data())); data 307 net/base/keygen_handler_mac.cc static OSStatus SignData(CSSM_DATA data, data 318 net/base/keygen_handler_mac.cc err = CSSM_SignData(cc_handle, &data, 1, CSSM_ALGID_NONE, signature); data 28 net/base/keygen_handler_openssl.cc challenge_.data(), challenge_.size()); data 39 net/base/mime_sniffer_unittest.cc SniffMimeType(content.data(), content.size(), GURL(url), data 376 net/base/mime_sniffer_unittest.cc EXPECT_TRUE(SniffMimeType(content.data(), content.size(), GURL(), data 392 net/base/mime_sniffer_unittest.cc EXPECT_TRUE(SniffMimeType(content.data(), content.size(), GURL(), data 170 net/base/net_log.cc NetLog::Entry::Entry(const EntryData* data, LogLevel log_level) data 171 net/base/net_log.cc : data_(data), log_level_(log_level) { data 143 net/base/net_log.h Entry(const EntryData* data, LogLevel log_level); data 475 net/base/net_util.cc if (IsIDNComponentSafe(out->data() + original_length, output_length, data 532 net/base/net_util.cc input16.data() + component_start, component_length, languages, data 1104 net/base/net_util.cc result.assign(header.data(), header.size()); data 2030 net/base/net_util.cc return url_canon::IPv6AddressToNumber(host_brackets.data(), data 2040 net/base/net_util.cc ip_literal.data(), host_comp, &(*ip_number)[0], &num_components); data 3459 net/base/net_util_unittest.cc void PrintTo(const NonUniqueNameTestData& data, std::ostream* os) { data 3460 net/base/net_util_unittest.cc ASSERT_TRUE(data.hostname); data 3461 net/base/net_util_unittest.cc *os << " hostname: " << testing::PrintToString(data.hostname) data 3462 net/base/net_util_unittest.cc << "; is_unique: " << testing::PrintToString(data.is_unique); data 300 net/base/nss_memio.c static PRStatus memio_GetSocketOption(PRFileDesc *fd, PRSocketOptionData *data) data 307 net/base/nss_memio.c if (PR_SockOpt_Nonblocking == data->option) { data 308 net/base/nss_memio.c data->value.non_blocking = PR_TRUE; data 144 net/base/prioritized_dispatcher_unittest.cc TestJob* AddJob(char data, Priority priority) { data 145 net/base/prioritized_dispatcher_unittest.cc TestJob* job = new TestJob(dispatcher_.get(), data, priority, &log_); data 151 net/base/prioritized_dispatcher_unittest.cc TestJob* AddJobAtHead(char data, Priority priority) { data 152 net/base/prioritized_dispatcher_unittest.cc TestJob* job = new TestJob(dispatcher_.get(), data, priority, &log_); data 107 net/base/registry_controlled_domains/registry_controlled_domain.cc const char* domain_str = host.data() + curr_start; data 202 net/base/registry_controlled_domains/registry_controlled_domain.cc gurl.possibly_invalid_spec().data() + host.begin, host.len), filter); data 233 net/base/registry_controlled_domains/registry_controlled_domain.cc return !strncmp(gurl1.possibly_invalid_spec().data() + host1.begin, data 234 net/base/registry_controlled_domains/registry_controlled_domain.cc gurl2.possibly_invalid_spec().data() + host2.begin, data 249 net/base/registry_controlled_domains/registry_controlled_domain.cc std::string(gurl.possibly_invalid_spec().data() + host.begin, host.len), data 219 net/base/sdch_manager.cc return gurl.DomainIs(restriction.data(), restriction.size()); data 574 net/base/sdch_manager.cc switch (output->data()[i]) { data 58 net/base/upload_bytes_element_reader.cc memcpy(buf->data(), bytes_ + offset_, num_bytes_to_read); data 66 net/base/upload_bytes_element_reader.cc std::vector<char>* data) data 67 net/base/upload_bytes_element_reader.cc : UploadBytesElementReader(vector_as_array(data), data->size()) { data 68 net/base/upload_bytes_element_reader.cc data_.swap(*data); data 75 net/base/upload_bytes_element_reader.cc std::vector<char> data(string.begin(), string.end()); data 76 net/base/upload_bytes_element_reader.cc return new UploadOwnedBytesElementReader(&data); data 51 net/base/upload_bytes_element_reader.h explicit UploadOwnedBytesElementReader(std::vector<char>* data); data 101 net/base/upload_data_stream.cc std::vector<char> data(bytes, bytes + bytes_len); data 102 net/base/upload_data_stream.cc UploadElementReader* reader = new UploadOwnedBytesElementReader(&data); data 216 net/base/upload_data_stream.cc memset(buf->data(), 0, num_bytes_to_fill); data 51 net/base/upload_data_stream_unittest.cc data_read.append(buf->data(), bytes_read); data 272 net/base/upload_data_stream_unittest.cc std::fill_n(buf->data(), kTestBufferSize, -1); data 282 net/base/upload_data_stream_unittest.cc std::count(buf->data(), buf->data() + kTestBufferSize, 0)); data 309 net/base/upload_data_stream_unittest.cc std::fill_n(buf->data(), kTestBufferSize, -1); data 321 net/base/upload_data_stream_unittest.cc std::count(buf->data(), buf->data() + kTestBufferSize, 0)); data 43 net/base/url_util.cc input.data(), &cursor, &key_range, &value_range)) { data 45 net/base/url_util.cc input.data() + key_range.begin, key_range.len); data 47 net/base/url_util.cc input.data() + value_range.begin, value_range.len); data 54 net/base/url_util.cc key_value_pair.assign(input.data(), data 15 net/cert/asn1_util.cc const uint8* data = reinterpret_cast<const uint8*>(in->data()); data 33 net/cert/asn1_util.cc static_cast<unsigned char>(data[0]) != (tag_value & 0xff)) { data 45 net/cert/asn1_util.cc if ((data[1] & 0x80) == 0) { data 49 net/cert/asn1_util.cc len = static_cast<size_t>(data[1]) + 2; data 52 net/cert/asn1_util.cc const unsigned num_bytes = data[1] & 0x7f; data 57 net/cert/asn1_util.cc len = data[2]; data 64 net/cert/asn1_util.cc len += data[3]; data 79 net/cert/asn1_util.cc *out = base::StringPiece(in->data(), len); data 249 net/cert/asn1_util.cc memcmp(oid.data(), kCRLDistributionPointsOID, oid.size()) != 0) { data 336 net/cert/cert_verify_proc.cc if (memcmp(kComodoSerials[i], serial.data(), kComodoSerialBytes) == 0) { data 415 net/cert/cert_verify_proc.cc memcmp(j->data(), kHashes[i], base::kSHA1Length) == 0) { data 527 net/cert/cert_verify_proc.cc memcmp(j->data(), kLimits[i].public_key, base::kSHA1Length) == 0) { data 81 net/cert/cert_verify_proc_android.cc base::SHA1HashBytes(reinterpret_cast<const uint8*>(spki_bytes.data()), data 82 net/cert/cert_verify_proc_android.cc spki_bytes.size(), sha1.data()); data 86 net/cert/cert_verify_proc_android.cc crypto::SHA256HashString(spki_bytes, sha256.data(), crypto::kSHA256Length); data 256 net/cert/cert_verify_proc_mac.cc CC_SHA1(spki_bytes.data(), spki_bytes.size(), sha1.data()); data 260 net/cert/cert_verify_proc_mac.cc CC_SHA256(spki_bytes.data(), spki_bytes.size(), sha256.data()); data 285 net/cert/cert_verify_proc_nss.cc base::StringPiece der(reinterpret_cast<char*>(cert->derCert.data), data 297 net/cert/cert_verify_proc_nss.cc reinterpret_cast<char*>(cert->serialNumber.data), data 577 net/cert/cert_verify_proc_nss.cc od.oid.data = policy_info->policyID.data; data 591 net/cert/cert_verify_proc_nss.cc CC_SHA1(cert->derPublicKey.data, cert->derPublicKey.len, hash.data()); data 593 net/cert/cert_verify_proc_nss.cc SECStatus rv = HASH_HashBuf(HASH_AlgSHA1, hash.data(), data 594 net/cert/cert_verify_proc_nss.cc cert->derPublicKey.data, cert->derPublicKey.len); data 603 net/cert/cert_verify_proc_nss.cc CC_SHA256(cert->derPublicKey.data, cert->derPublicKey.len, hash.data()); data 605 net/cert/cert_verify_proc_nss.cc SECStatus rv = HASH_HashBuf(HASH_AlgSHA256, hash.data(), data 606 net/cert/cert_verify_proc_nss.cc cert->derPublicKey.data, cert->derPublicKey.len); data 166 net/cert/cert_verify_proc_openssl.cc base::SHA1HashBytes(reinterpret_cast<const uint8*>(spki_bytes.data()), data 167 net/cert/cert_verify_proc_openssl.cc spki_bytes.size(), sha1.data()); data 171 net/cert/cert_verify_proc_openssl.cc crypto::SHA256HashString(spki_bytes, sha256.data(), crypto::kSHA256Length); data 205 net/cert/cert_verify_proc_unittest.cc EXPECT_EQ(paypal_null_fingerprint[i], fingerprint.data[i]); data 542 net/cert/cert_verify_proc_unittest.cc memcpy(hash.data(), spki_sha1.data(), spki_sha1.size()); data 692 net/cert/cert_verify_proc_unittest.cc HexEncode(sha1_hashes[i].data(), base::kSHA1Length)); data 705 net/cert/cert_verify_proc_unittest.cc HexEncode(sha256_hashes[i].data(), crypto::kSHA256Length)); data 1311 net/cert/cert_verify_proc_unittest.cc void PrintTo(const WeakDigestTestData& data, std::ostream* os) { data 1313 net/cert/cert_verify_proc_unittest.cc << (data.root_cert_filename ? data.root_cert_filename : "none") data 1314 net/cert/cert_verify_proc_unittest.cc << "; intermediate: " << data.intermediate_cert_filename data 1315 net/cert/cert_verify_proc_unittest.cc << "; end-entity: " << data.ee_cert_filename; data 1327 net/cert/cert_verify_proc_unittest.cc WeakDigestTestData data = GetParam(); data 1331 net/cert/cert_verify_proc_unittest.cc if (data.root_cert_filename) { data 1333 net/cert/cert_verify_proc_unittest.cc ImportCertFromFile(certs_dir, data.root_cert_filename); data 1339 net/cert/cert_verify_proc_unittest.cc ImportCertFromFile(certs_dir, data.intermediate_cert_filename); data 1342 net/cert/cert_verify_proc_unittest.cc ImportCertFromFile(certs_dir, data.ee_cert_filename); data 1361 net/cert/cert_verify_proc_unittest.cc EXPECT_EQ(data.expected_has_md5, verify_result.has_md5); data 1362 net/cert/cert_verify_proc_unittest.cc EXPECT_EQ(data.expected_has_md4, verify_result.has_md4); data 1363 net/cert/cert_verify_proc_unittest.cc EXPECT_EQ(data.expected_has_md2, verify_result.has_md2); data 1367 net/cert/cert_verify_proc_unittest.cc if (data.expected_has_md4 || data.expected_has_md2) { data 1373 net/cert/cert_verify_proc_unittest.cc if (data.expected_has_md5) { data 1385 net/cert/cert_verify_proc_unittest.cc if (data.root_cert_filename) { data 1386 net/cert/cert_verify_proc_unittest.cc if (data.expected_has_md4 || data.expected_has_md2) { data 1388 net/cert/cert_verify_proc_unittest.cc } else if (data.expected_has_md5) { data 1567 net/cert/cert_verify_proc_unittest.cc void PrintTo(const CertVerifyProcNameData& data, std::ostream* os) { data 1568 net/cert/cert_verify_proc_unittest.cc *os << "Hostname: " << data.hostname << "; valid=" << data.valid; data 1580 net/cert/cert_verify_proc_unittest.cc CertVerifyProcNameData data = GetParam(); data 1591 net/cert/cert_verify_proc_unittest.cc int error = Verify(cert.get(), data.hostname, 0, NULL, empty_cert_list_, data 1593 net/cert/cert_verify_proc_unittest.cc if (data.valid) { data 480 net/cert/cert_verify_proc_win.cc base::SHA1HashBytes(reinterpret_cast<const uint8*>(spki_bytes.data()), data 481 net/cert/cert_verify_proc_win.cc spki_bytes.size(), sha1.data()); data 485 net/cert/cert_verify_proc_win.cc crypto::SHA256HashString(spki_bytes, sha256.data(), crypto::kSHA256Length); data 27 net/cert/crl_set.cc z.next_in = reinterpret_cast<Bytef*>(const_cast<char*>(in.data())); data 123 net/cert/crl_set.cc static base::DictionaryValue* ReadHeader(base::StringPiece* data) { data 124 net/cert/crl_set.cc if (data->size() < 2) data 127 net/cert/crl_set.cc memcpy(&header_len, data->data(), 2); // assumes little-endian. data 128 net/cert/crl_set.cc data->remove_prefix(2); data 130 net/cert/crl_set.cc if (data->size() < header_len) data 133 net/cert/crl_set.cc const base::StringPiece header_bytes(data->data(), header_len); data 134 net/cert/crl_set.cc data->remove_prefix(header_len); data 150 net/cert/crl_set.cc static bool ReadCRL(base::StringPiece* data, std::string* out_parent_spki_hash, data 152 net/cert/crl_set.cc if (data->size() < crypto::kSHA256Length) data 154 net/cert/crl_set.cc *out_parent_spki_hash = std::string(data->data(), crypto::kSHA256Length); data 155 net/cert/crl_set.cc data->remove_prefix(crypto::kSHA256Length); data 157 net/cert/crl_set.cc if (data->size() < sizeof(uint32)) data 160 net/cert/crl_set.cc memcpy(&num_serials, data->data(), sizeof(uint32)); // assumes little endian data 161 net/cert/crl_set.cc data->remove_prefix(sizeof(uint32)); data 165 net/cert/crl_set.cc if (data->size() < sizeof(uint8)) data 167 net/cert/crl_set.cc memcpy(&serial_length, data->data(), sizeof(uint8)); data 168 net/cert/crl_set.cc data->remove_prefix(sizeof(uint8)); data 170 net/cert/crl_set.cc if (data->size() < serial_length) data 172 net/cert/crl_set.cc std::string serial(data->data(), serial_length); data 173 net/cert/crl_set.cc data->remove_prefix(serial_length); data 202 net/cert/crl_set.cc bool CRLSet::Parse(base::StringPiece data, scoped_refptr<CRLSet>* out_crl_set) { data 213 net/cert/crl_set.cc scoped_ptr<base::DictionaryValue> header_dict(ReadHeader(&data)); data 245 net/cert/crl_set.cc for (size_t crl_index = 0; !data.empty(); crl_index++) { data 248 net/cert/crl_set.cc if (!ReadCRL(&data, &parent_spki_sha256, &serials)) data 267 net/cert/crl_set.cc static bool ReadChanges(base::StringPiece* data, data 270 net/cert/crl_set.cc if (data->size() < 2 * sizeof(uint32)) data 273 net/cert/crl_set.cc memcpy(&uncompressed_size, data->data(), sizeof(uint32)); data 274 net/cert/crl_set.cc data->remove_prefix(4); data 275 net/cert/crl_set.cc memcpy(&compressed_size, data->data(), sizeof(uint32)); data 276 net/cert/crl_set.cc data->remove_prefix(4); data 280 net/cert/crl_set.cc if (data->size() < compressed_size) data 288 net/cert/crl_set.cc base::StringPiece compressed(data->data(), compressed_size); data 289 net/cert/crl_set.cc data->remove_prefix(compressed_size); data 301 net/cert/crl_set.cc bool ReadDeltaCRL(base::StringPiece* data, data 305 net/cert/crl_set.cc if (!ReadChanges(data, &changes)) data 318 net/cert/crl_set.cc if (data->size() < sizeof(uint8)) data 320 net/cert/crl_set.cc memcpy(&serial_length, data->data(), sizeof(uint8)); data 321 net/cert/crl_set.cc data->remove_prefix(sizeof(uint8)); data 323 net/cert/crl_set.cc if (data->size() < serial_length) data 325 net/cert/crl_set.cc const std::string serial(data->data(), serial_length); data 326 net/cert/crl_set.cc data->remove_prefix(serial_length); data 346 net/cert/crl_set.cc base::StringPiece data(in_data); data 347 net/cert/crl_set.cc scoped_ptr<base::DictionaryValue> header_dict(ReadHeader(&data)); data 388 net/cert/crl_set.cc if (!ReadChanges(&data, &crl_changes)) data 404 net/cert/crl_set.cc if (!ReadCRL(&data, &parent_spki_hash, &serials)) data 417 net/cert/crl_set.cc if (!ReadDeltaCRL(&data, crls_[i].second, &serials)) data 429 net/cert/crl_set.cc if (!data.empty()) data 441 net/cert/crl_set.cc base::StringPiece data(in_data); data 442 net/cert/crl_set.cc scoped_ptr<base::DictionaryValue> header_dict(ReadHeader(&data)); data 502 net/cert/crl_set.cc memcpy(out + off, header.data(), header.size()); data 506 net/cert/crl_set.cc memcpy(out + off, i->first.data(), i->first.size()); data 515 net/cert/crl_set.cc memcpy(out + off, j->data(), j->size()); data 528 net/cert/crl_set.cc memcmp(spki_hash.data(), i->data(), i->size()) == 0) { data 599 net/cert/crl_set.cc const std::string spki(reinterpret_cast<const char*>(issuer_spki->data), data 600 net/cert/crl_set.cc sizeof(issuer_spki->data)); data 37 net/cert/crl_set.h static bool Parse(base::StringPiece data, data 77 net/cert/ct_log_verifier_nss.cc key_data.data = reinterpret_cast<unsigned char*>( data 78 net/cert/ct_log_verifier_nss.cc const_cast<char*>(public_key.data())); data 129 net/cert/ct_log_verifier_nss.cc sig_data.data = reinterpret_cast<unsigned char*>(const_cast<char*>( data 130 net/cert/ct_log_verifier_nss.cc signature.data())); data 134 net/cert/ct_log_verifier_nss.cc reinterpret_cast<const unsigned char*>(data_to_sign.data()), data 58 net/cert/ct_log_verifier_openssl.cc BIO_new_mem_buf(const_cast<char*>(public_key.data()), public_key.size())); data 110 net/cert/ct_log_verifier_openssl.cc &ctx, data_to_sign.data(), data_to_sign.size()) && data 113 net/cert/ct_log_verifier_openssl.cc reinterpret_cast<unsigned char*>(const_cast<char*>(signature.data())), data 51 net/cert/ct_objects_extractor_nss.cc der_cert.data = data 52 net/cert/ct_objects_extractor_nss.cc reinterpret_cast<unsigned char*>(const_cast<char*>(der_data.data())); data 114 net/cert/ct_objects_extractor_nss.cc oid_data.oid.data = const_cast<unsigned char*>(oid); data 150 net/cert/ct_objects_extractor_nss.cc base::StringPiece raw_data(reinterpret_cast<char*>(extension.data), data 200 net/cert/ct_objects_extractor_nss.cc base::StringPiece parsed_data(reinterpret_cast<char*>(contents.data), data 241 net/cert/ct_objects_extractor_nss.cc tbs_data.data = NULL; data 249 net/cert/ct_objects_extractor_nss.cc to_be_signed->assign(reinterpret_cast<char*>(tbs_data.data), tbs_data.len); data 402 net/cert/ct_objects_extractor_nss.cc return memcmp(value1.data(), value2.data, value2.len) == 0; data 492 net/cert/ct_objects_extractor_nss.cc base::StringPiece(reinterpret_cast<char*>(encoded_issuer_pubKey->data), data 494 net/cert/ct_objects_extractor_nss.cc result->issuer_key_hash.data, data 495 net/cert/ct_objects_extractor_nss.cc sizeof(result->issuer_key_hash.data)); data 535 net/cert/ct_objects_extractor_nss.cc ocsp_response.data())), data 31 net/cert/ct_objects_extractor_unittest.cc test_cert_ = X509Certificate::CreateFromBytes(der_test_cert.data(), data 84 net/cert/ct_objects_extractor_unittest.cc memcpy(expected_issuer_key_hash.data, GetDefaultIssuerKeyHash().data(), 32); data 130 net/cert/ct_objects_extractor_unittest.cc X509Certificate::CreateFromBytes(der_subject_cert.data(), data 134 net/cert/ct_objects_extractor_unittest.cc X509Certificate::CreateFromBytes(der_issuer_cert.data(), data 152 net/cert/ct_objects_extractor_unittest.cc X509Certificate::CreateFromBytes(der_issuer_cert.data(), data 167 net/cert/ct_objects_extractor_unittest.cc X509Certificate::CreateFromBytes(der_subject_cert.data(), data 81 net/cert/ct_serialization.cc out->set(in->data(), length); data 232 net/cert/ct_serialization.cc reinterpret_cast<const char*>(input.issuer_key_hash.data), data 122 net/cert/ct_serialization_unittest.cc ASSERT_STREQ("abc", decoded[0].data()); data 123 net/cert/ct_serialization_unittest.cc ASSERT_STREQ("def", decoded[1].data()); data 482 net/cert/ev_root_ca_metadata.cc oid_item.data = buf; data 491 net/cert/ev_root_ca_metadata.cc od.oid.data = oid_item.data; data 30 net/cert/jwk_serializer_nss.cc spki->subjectPublicKey.data[0] != kUncompressedEncodingType) data 37 net/cert/jwk_serializer_nss.cc reinterpret_cast<char*>(spki->subjectPublicKey.data + 1), data 44 net/cert/jwk_serializer_nss.cc reinterpret_cast<char*>(spki->subjectPublicKey.data + 1 + data 64 net/cert/jwk_serializer_nss.cc !memcmp(spki->algorithm.parameters.data, kPrime256v1, data 91 net/cert/jwk_serializer_nss.cc sec_item.data = const_cast<unsigned char*>( data 92 net/cert/jwk_serializer_nss.cc reinterpret_cast<const unsigned char*>(spki_der.data())); data 108 net/cert/jwk_serializer_nss.cc !memcmp(spki->algorithm.algorithm.data, kIdEcPublicKey, data 88 net/cert/jwk_serializer_unittest.cc memcmp(decoded_coordinate.data(), data 96 net/cert/jwk_serializer_unittest.cc memcmp(decoded_coordinate.data(), data 115 net/cert/jwk_serializer_unittest.cc memcmp(decoded_coordinate.data(), data 123 net/cert/jwk_serializer_unittest.cc memcmp(decoded_coordinate.data(), data 49 net/cert/multi_log_ct_verifier_unittest.cc der_test_cert.data(), data 315 net/cert/multi_threaded_cert_verifier_unittest.cc memset(a_key.data, 'a', sizeof(a_key.data)); data 318 net/cert/multi_threaded_cert_verifier_unittest.cc memset(z_key.data, 'z', sizeof(z_key.data)); data 137 net/cert/nss_cert_database.cc const std::string& data, data 145 net/cert/nss_cert_database.cc data.data(), data.size(), data 142 net/cert/nss_cert_database.h const std::string& data, data 42 net/cert/pem_tokenizer.h const std::string& data() const { return data_; } data 12 net/cert/pem_tokenizer_unittest.cc const char data[] = data 16 net/cert/pem_tokenizer_unittest.cc base::StringPiece string_piece(data); data 24 net/cert/pem_tokenizer_unittest.cc EXPECT_EQ("MatchesAcceptedBlockType", tokenizer.data()); data 30 net/cert/pem_tokenizer_unittest.cc const char data[] = data 34 net/cert/pem_tokenizer_unittest.cc base::StringPiece string_piece(data); data 42 net/cert/pem_tokenizer_unittest.cc EXPECT_EQ("MatchesAcceptedBlockType", tokenizer.data()); data 48 net/cert/pem_tokenizer_unittest.cc const char data[] = data 52 net/cert/pem_tokenizer_unittest.cc base::StringPiece string_piece(data); data 61 net/cert/pem_tokenizer_unittest.cc const char data[] = data 68 net/cert/pem_tokenizer_unittest.cc base::StringPiece string_piece(data); data 77 net/cert/pem_tokenizer_unittest.cc EXPECT_EQ("EncodedDataOne", tokenizer.data()); data 82 net/cert/pem_tokenizer_unittest.cc EXPECT_EQ("EncodedDataTwo", tokenizer.data()); data 88 net/cert/pem_tokenizer_unittest.cc const char data[] = data 94 net/cert/pem_tokenizer_unittest.cc base::StringPiece string_piece(data); data 102 net/cert/pem_tokenizer_unittest.cc EXPECT_EQ("EncodedDataOne", tokenizer.data()); data 108 net/cert/pem_tokenizer_unittest.cc const char data[] = data 118 net/cert/pem_tokenizer_unittest.cc base::StringPiece string_piece(data); data 126 net/cert/pem_tokenizer_unittest.cc EXPECT_EQ("EncodedDataThree", tokenizer.data()); data 132 net/cert/pem_tokenizer_unittest.cc const char data[] = data 136 net/cert/pem_tokenizer_unittest.cc base::StringPiece string_piece(data); data 144 net/cert/pem_tokenizer_unittest.cc const char data[] = data 156 net/cert/pem_tokenizer_unittest.cc base::StringPiece string_piece(data); data 164 net/cert/pem_tokenizer_unittest.cc EXPECT_EQ("EncodedDataTwo", tokenizer.data()); data 31 net/cert/test_root_certs.cc raw_cert.data(), raw_cert.length(), X509Certificate::FORMAT_AUTO); data 20 net/cert/test_root_certs_android.cc reinterpret_cast<const uint8*>(cert_bytes.data()), cert_bytes.size()); data 120 net/cert/x509_cert_types.cc const char* field = raw_date.data(); data 109 net/cert/x509_cert_types_mac.cc std::string DataToString(CSSM_DATA data) { data 111 net/cert/x509_cert_types_mac.cc reinterpret_cast<std::string::value_type*>(data.Data), data 112 net/cert/x509_cert_types_mac.cc data.Length); data 116 net/cert/x509_cert_types_mac.cc std::string Latin1DataToUTF8String(CSSM_DATA data) { data 118 net/cert/x509_cert_types_mac.cc if (!CodepageToUTF16(DataToString(data), base::kCodepageLatin1, data 199 net/cert/x509_cert_types_unittest.cc void PrintTo(const CertDateTestData& data, std::ostream* os) { data 200 net/cert/x509_cert_types_unittest.cc *os << " format: " << data.format data 201 net/cert/x509_cert_types_unittest.cc << "; date string: " << base::StringPiece(data.date_string) data 202 net/cert/x509_cert_types_unittest.cc << "; valid: " << data.is_valid data 204 net/cert/x509_cert_types_unittest.cc << (data.is_valid ? data 205 net/cert/x509_cert_types_unittest.cc base::Time::FromUTCExploded(data.expected_result) data 227 net/cert/x509_certificate.cc int rv = memcmp(lhs->fingerprint_.data, rhs->fingerprint_.data, data 228 net/cert/x509_certificate.cc sizeof(lhs->fingerprint_.data)); data 232 net/cert/x509_certificate.cc rv = memcmp(lhs->ca_fingerprint_.data, rhs->ca_fingerprint_.data, data 233 net/cert/x509_certificate.cc sizeof(lhs->ca_fingerprint_.data)); data 246 net/cert/x509_certificate.cc memset(fingerprint_.data, 0, sizeof(fingerprint_.data)); data 247 net/cert/x509_certificate.cc memset(ca_fingerprint_.data, 0, sizeof(ca_fingerprint_.data)); data 267 net/cert/x509_certificate.cc const_cast<char*>(der_certs[i].data()), der_certs[i].size()); data 277 net/cert/x509_certificate.cc const_cast<char*>(der_certs[0].data()), der_certs[0].size()); data 293 net/cert/x509_certificate.cc X509Certificate* X509Certificate::CreateFromBytes(const char* data, data 295 net/cert/x509_certificate.cc OSCertHandle cert_handle = CreateOSCertHandleFromBytes(data, length); data 314 net/cert/x509_certificate.cc const char* data = NULL; data 317 net/cert/x509_certificate.cc if (!pickle_iter->ReadData(&data, &data_length)) data 319 net/cert/x509_certificate.cc cert_chain.push_back(base::StringPiece(data, data_length)); data 392 net/cert/x509_certificate.cc const char* data, int length, int format) { data 398 net/cert/x509_certificate.cc base::StringPiece data_string(data, length); data 409 net/cert/x509_certificate.cc std::string decoded(pem_tok.data()); data 448 net/cert/x509_certificate.cc certificates = CreateOSCertHandlesFromBytes(data, length, data 157 net/cert/x509_certificate.h static X509Certificate* CreateFromBytes(const char* data, int length); data 167 net/cert/x509_certificate.h static X509Certificate* CreateFromBytesWithNickname(const char* data, data 191 net/cert/x509_certificate.h static CertificateList CreateCertificateListFromBytes(const char* data, data 364 net/cert/x509_certificate.h static OSCertHandle CreateOSCertHandleFromBytes(const char* data, data 372 net/cert/x509_certificate.h const char* data, data 380 net/cert/x509_certificate.h const char* data, data 132 net/cert/x509_certificate_ios.cc const char* data, int length) { data 134 net/cert/x509_certificate_ios.cc kCFAllocatorDefault, reinterpret_cast<const UInt8 *>(data), length, data 150 net/cert/x509_certificate_ios.cc const char* data, data 153 net/cert/x509_certificate_ios.cc return x509_util::CreateOSCertHandlesFromBytes(data, length, format); data 173 net/cert/x509_certificate_ios.cc memset(sha1.data, 0, sizeof(sha1.data)); data 180 net/cert/x509_certificate_ios.cc CC_SHA1(CFDataGetBytePtr(cert_data), CFDataGetLength(cert_data), sha1.data); data 189 net/cert/x509_certificate_ios.cc memset(sha1.data, 0, sizeof(sha1.data)); data 204 net/cert/x509_certificate_ios.cc CC_SHA1_Final(sha1.data, &sha1_ctx); data 146 net/cert/x509_certificate_mac.cc void AddCertificatesFromBytes(const char* data, size_t length, data 151 net/cert/x509_certificate_mac.cc kCFAllocatorDefault, reinterpret_cast<const UInt8*>(data), length, data 301 net/cert/x509_certificate_mac.cc const char* data, int length) { data 303 net/cert/x509_certificate_mac.cc cert_data.Data = const_cast<uint8*>(reinterpret_cast<const uint8*>(data)); data 322 net/cert/x509_certificate_mac.cc const char* data, int length, Format format) { data 327 net/cert/x509_certificate_mac.cc OSCertHandle handle = CreateOSCertHandleFromBytes(data, length); data 333 net/cert/x509_certificate_mac.cc AddCertificatesFromBytes(data, length, kSecFormatPKCS7, &results); data 360 net/cert/x509_certificate_mac.cc memset(sha1.data, 0, sizeof(sha1.data)); data 370 net/cert/x509_certificate_mac.cc CC_SHA1(cert_data.Data, cert_data.Length, sha1.data); data 379 net/cert/x509_certificate_mac.cc memset(sha1.data, 0, sizeof(sha1.data)); data 392 net/cert/x509_certificate_mac.cc CC_SHA1_Final(sha1.data, &sha1_ctx); data 450 net/cert/x509_certificate_mac.cc const char* data; data 452 net/cert/x509_certificate_mac.cc if (!pickle_iter->ReadData(&data, &length)) data 455 net/cert/x509_certificate_mac.cc return CreateOSCertHandleFromBytes(data, length); data 43 net/cert/x509_certificate_nss.cc const char* data, data 46 net/cert/x509_certificate_nss.cc OSCertHandle cert_handle = CreateOSCertHandleFromBytesWithNickname(data, data 146 net/cert/x509_certificate_nss.cc encoded->assign(reinterpret_cast<char*>(cert_handle->derCert.data), data 158 net/cert/x509_certificate_nss.cc memcmp(a->derCert.data, b->derCert.data, a->derCert.len) == 0; data 163 net/cert/x509_certificate_nss.cc const char* data, int length) { data 164 net/cert/x509_certificate_nss.cc return CreateOSCertHandleFromBytesWithNickname(data, length, NULL); data 170 net/cert/x509_certificate_nss.cc const char* data, data 182 net/cert/x509_certificate_nss.cc der_cert.data = reinterpret_cast<unsigned char*>(const_cast<char*>(data)); data 194 net/cert/x509_certificate_nss.cc const char* data, data 197 net/cert/x509_certificate_nss.cc return x509_util::CreateOSCertHandlesFromBytes(data, length, format); data 215 net/cert/x509_certificate_nss.cc memset(sha1.data, 0, sizeof(sha1.data)); data 217 net/cert/x509_certificate_nss.cc DCHECK(NULL != cert->derCert.data); data 220 net/cert/x509_certificate_nss.cc SECStatus rv = HASH_HashBuf(HASH_AlgSHA1, sha1.data, data 221 net/cert/x509_certificate_nss.cc cert->derCert.data, cert->derCert.len); data 231 net/cert/x509_certificate_nss.cc memset(sha1.data, 0, sizeof(sha1.data)); data 239 net/cert/x509_certificate_nss.cc HASH_Update(sha1_ctx, ca_cert->derCert.data, ca_cert->derCert.len); data 242 net/cert/x509_certificate_nss.cc HASH_End(sha1_ctx, sha1.data, &result_len, HASH_ResultLenContext(sha1_ctx)); data 258 net/cert/x509_certificate_nss.cc reinterpret_cast<const char*>(cert_handle->derCert.data), data 36 net/cert/x509_certificate_openssl.cc const char* data, int length, data 39 net/cert/x509_certificate_openssl.cc const unsigned char* der_data = reinterpret_cast<const unsigned char*>(data); data 123 net/cert/x509_certificate_openssl.cc const unsigned char* ip_addr = name->d.iPAddress->data; data 142 net/cert/x509_certificate_openssl.cc unsigned char* data; data 151 net/cert/x509_certificate_openssl.cc if (der_cache->data) data 152 net/cert/x509_certificate_openssl.cc OPENSSL_free(der_cache->data); data 193 net/cert/x509_certificate_openssl.cc unsigned char* data, data 200 net/cert/x509_certificate_openssl.cc OPENSSL_free(data); data 204 net/cert/x509_certificate_openssl.cc internal_cache->data = data; data 224 net/cert/x509_certificate_openssl.cc unsigned char* data = NULL; data 225 net/cert/x509_certificate_openssl.cc int data_length = i2d_X509(cert, &data); data 226 net/cert/x509_certificate_openssl.cc if (data_length <= 0 || !data) data 228 net/cert/x509_certificate_openssl.cc internal_cache = SetDERCache(cert, x509_der_cache_index, data, data_length); data 298 net/cert/x509_certificate_openssl.cc unsigned int sha1_size = static_cast<unsigned int>(sizeof(sha1.data)); data 299 net/cert/x509_certificate_openssl.cc int ret = X509_digest(cert, EVP_sha1(), sha1.data, &sha1_size); data 301 net/cert/x509_certificate_openssl.cc CHECK_EQ(sha1_size, sizeof(sha1.data)); data 309 net/cert/x509_certificate_openssl.cc memset(sha1.data, 0, sizeof(sha1.data)); data 317 net/cert/x509_certificate_openssl.cc SHA1_Update(&sha1_ctx, der_cache.data, der_cache.data_length); data 319 net/cert/x509_certificate_openssl.cc SHA1_Final(sha1.data, &sha1_ctx); data 326 net/cert/x509_certificate_openssl.cc const char* data, int length) { data 331 net/cert/x509_certificate_openssl.cc reinterpret_cast<const unsigned char*>(data); data 340 net/cert/x509_certificate_openssl.cc const char* data, int length, Format format) { data 347 net/cert/x509_certificate_openssl.cc OSCertHandle handle = CreateOSCertHandleFromBytes(data, length); data 353 net/cert/x509_certificate_openssl.cc CreateOSCertHandlesFromPKCS7Bytes(data, length, &results); data 387 net/cert/x509_certificate_openssl.cc encoded->assign(reinterpret_cast<const char*>(der_cache.data), data 407 net/cert/x509_certificate_openssl.cc memcmp(der_cache_a.data, der_cache_b.data, der_cache_a.data_length) == 0; data 413 net/cert/x509_certificate_openssl.cc const char* data; data 415 net/cert/x509_certificate_openssl.cc if (!pickle_iter->ReadData(&data, &length)) data 418 net/cert/x509_certificate_openssl.cc return CreateOSCertHandleFromBytes(data, length); data 429 net/cert/x509_certificate_openssl.cc reinterpret_cast<const char*>(der_cache.data), data 483 net/cert/x509_certificate_openssl.cc reinterpret_cast<const unsigned char*>(it->data()); data 127 net/cert/x509_certificate_unittest.cc EXPECT_EQ(expected_fingerprint[i], fingerprint.data[i]); data 184 net/cert/x509_certificate_unittest.cc EXPECT_EQ(webkit_fingerprint[i], fingerprint.data[i]); data 240 net/cert/x509_certificate_unittest.cc EXPECT_EQ(thawte_fingerprint[i], fingerprint.data[i]); data 309 net/cert/x509_certificate_unittest.cc EXPECT_TRUE(memcmp(google_cert->serial_number().data(), google_serial, data 322 net/cert/x509_certificate_unittest.cc EXPECT_TRUE(memcmp(paypal_null_cert->serial_number().data(), data 372 net/cert/x509_certificate_unittest.cc EXPECT_TRUE(memcmp(cert_chain1->ca_fingerprint().data, data 374 net/cert/x509_certificate_unittest.cc EXPECT_TRUE(memcmp(cert_chain2->ca_fingerprint().data, data 376 net/cert/x509_certificate_unittest.cc EXPECT_TRUE(memcmp(cert_chain3->ca_fingerprint().data, data 402 net/cert/x509_certificate_unittest.cc EXPECT_EQ(0, memcmp(ip_addresses[0].data(), kIPv4Address, data 410 net/cert/x509_certificate_unittest.cc EXPECT_EQ(0, memcmp(ip_addresses[1].data(), kIPv6Address, data 432 net/cert/x509_certificate_unittest.cc base::SHA1HashBytes(reinterpret_cast<const uint8*>(spkiBytes.data()), data 916 net/cert/x509_certificate_unittest.cc EXPECT_EQ(expected_fingerprint[j], actual_fingerprint.data[j]); data 942 net/cert/x509_certificate_unittest.cc void PrintTo(const CertificateNameVerifyTestData& data, std::ostream* os) { data 943 net/cert/x509_certificate_unittest.cc ASSERT_TRUE(data.hostname && data.common_name); data 945 net/cert/x509_certificate_unittest.cc *os << " expected: " << data.expected data 946 net/cert/x509_certificate_unittest.cc << "; hostname: " << data.hostname data 947 net/cert/x509_certificate_unittest.cc << "; common_name: " << data.common_name data 948 net/cert/x509_certificate_unittest.cc << "; dns_names: " << base::StringPiece(data.dns_names) data 949 net/cert/x509_certificate_unittest.cc << "; ip_addrs: " << base::StringPiece(data.ip_addrs); data 1169 net/cert/x509_certificate_unittest.cc PublicKeyInfoTestData data = GetParam(); data 1173 net/cert/x509_certificate_unittest.cc data.expected_type == X509Certificate::kPublicKeyTypeECDSA) { data 1180 net/cert/x509_certificate_unittest.cc ImportCertFromFile(GetTestCertsDirectory(), data.cert_file)); data 1190 net/cert/x509_certificate_unittest.cc EXPECT_EQ(data.expected_bits, actual_bits); data 1191 net/cert/x509_certificate_unittest.cc EXPECT_EQ(data.expected_type, actual_type); data 100 net/cert/x509_certificate_win.cc X509Certificate::OSCertHandles ParsePKCS7(const char* data, size_t length) { data 104 net/cert/x509_certificate_win.cc data_blob.pbData = reinterpret_cast<BYTE*>(const_cast<char*>(data)); data 134 net/cert/x509_certificate_win.cc reinterpret_cast<BYTE*>(const_cast<char*>(it->data())); data 257 net/cert/x509_certificate_win.cc const char* data, int length) { data 260 net/cert/x509_certificate_win.cc NULL, X509_ASN_ENCODING, reinterpret_cast<const BYTE*>(data), data 268 net/cert/x509_certificate_win.cc const char* data, int length, Format format) { data 272 net/cert/x509_certificate_win.cc OSCertHandle handle = CreateOSCertHandleFromBytes(data, length); data 278 net/cert/x509_certificate_win.cc results = ParsePKCS7(data, length); data 307 net/cert/x509_certificate_win.cc DWORD sha1_size = sizeof(sha1.data); data 309 net/cert/x509_certificate_win.cc cert->cbCertEncoded, sha1.data, &sha1_size); data 310 net/cert/x509_certificate_win.cc DCHECK(rv && sha1_size == sizeof(sha1.data)); data 312 net/cert/x509_certificate_win.cc memset(sha1.data, 0, sizeof(sha1.data)); data 323 net/cert/x509_certificate_win.cc memset(sha1.data, 0, sizeof(sha1.data)); data 334 net/cert/x509_certificate_win.cc SHA1_End(sha1_ctx, sha1.data, &result_len, SHA1_LENGTH); data 343 net/cert/x509_certificate_win.cc const char* data; data 345 net/cert/x509_certificate_win.cc if (!pickle_iter->ReadData(&data, &length)) data 362 net/cert/x509_certificate_win.cc store.get(), reinterpret_cast<const BYTE*>(data), length, data 374 net/cert/x509_certificate_win.cc cert_handle = CreateOSCertHandleFromBytes(encoded.data(), encoded.size()); data 26 net/cert/x509_util_ios.cc CERTCertificate* CreateNSSCertHandleFromBytes(const char* data, data 37 net/cert/x509_util_ios.cc der_cert.data = reinterpret_cast<unsigned char*>(const_cast<char*>(data)); data 59 net/cert/x509_util_ios.cc reinterpret_cast<const char*>(nss_cert_handle->derCert.data), data 91 net/cert/x509_util_ios.cc DCHECK(cert->derCert.data); data 94 net/cert/x509_util_ios.cc memset(sha1.data, 0, sizeof(sha1.data)); data 95 net/cert/x509_util_ios.cc CC_SHA1(cert->derCert.data, cert->derCert.len, sha1.data); data 64 net/cert/x509_util_mac.cc tp_ssl_options.ServerName = hostname.data(); data 70 net/cert/x509_util_nss.cc oid_data.oid.data = const_cast<uint8*>(kObCertOID); data 169 net/cert/x509_util_nss.cc *(cert->version.data) = 2; data 185 net/cert/x509_util_nss.cc PORT_Free(der.data); data 209 net/cert/x509_util_nss.cc reinterpret_cast<char*>(certs[i]->data), certs[i]->len); data 226 net/cert/x509_util_nss.cc const base::StringPiece& data) { data 235 net/cert/x509_util_nss.cc item.len = static_cast<unsigned int>(data.length()); data 236 net/cert/x509_util_nss.cc item.data = reinterpret_cast<unsigned char*>( data 237 net/cert/x509_util_nss.cc const_cast<char*>(data.data())); data 275 net/cert/x509_util_nss.cc der_cert->assign(reinterpret_cast<char*>(cert->derCert.data), data 323 net/cert/x509_util_nss.cc (unsigned char*)domain.data(), data 365 net/cert/x509_util_nss.cc der_cert->append(reinterpret_cast<char*>(cert->derCert.data), data 409 net/cert/x509_util_nss.cc std::string value(reinterpret_cast<char*>(decode_item->data), data 443 net/cert/x509_util_nss.cc return std::string(reinterpret_cast<char*>(certificate->serialNumber.data), data 476 net/cert/x509_util_nss.cc reinterpret_cast<char*>(name->name.other.data), data 480 net/cert/x509_util_nss.cc reinterpret_cast<char*>(name->name.other.data), data 491 net/cert/x509_util_nss.cc const char* data, data 506 net/cert/x509_util_nss.cc X509Certificate::CreateOSCertHandleFromBytes(data, length); data 513 net/cert/x509_util_nss.cc std::vector<char> data_copy(data, data + length); data 531 net/cert/x509_util_nss.cc const char* data; data 533 net/cert/x509_util_nss.cc if (!pickle_iter->ReadData(&data, &length)) data 536 net/cert/x509_util_nss.cc return X509Certificate::CreateOSCertHandleFromBytes(data, length); data 47 net/cert/x509_util_nss.h const char* data, data 23 net/cert/x509_util_nss_unittest.cc CERTCertificate* CreateNSSCertHandleFromBytes(const char* data, size_t length) { data 25 net/cert/x509_util_nss_unittest.cc der_cert.data = reinterpret_cast<unsigned char*>(const_cast<char*>(data)); data 44 net/cert/x509_util_nss_unittest.cc reinterpret_cast<unsigned char*>(const_cast<char*>(der_cert.data())), data 63 net/cert/x509_util_nss_unittest.cc signature_algorithm->data, data 65 net/cert/x509_util_nss_unittest.cc sd.signature.data, data 71 net/cert/x509_util_nss_unittest.cc verifier.VerifyUpdate(sd.data.data, data 72 net/cert/x509_util_nss_unittest.cc sd.data.len); data 87 net/cert/x509_util_nss_unittest.cc (unsigned char*)domain.data(), data 117 net/cert/x509_util_nss_unittest.cc der_cert.data(), der_cert.size()); data 85 net/cert/x509_util_openssl.cc reinterpret_cast<unsigned char*>(const_cast<char*>(common_name.data())) + data 239 net/cert/x509_util_openssl.cc !ASN1_STRING_set(domain_ia5.get(), domain.data(), domain.size())) data 256 net/cert/x509_util_openssl.cc !ASN1_STRING_set(domain_str.get(), domain_der.data(), domain_der.size())) data 304 net/cert/x509_util_openssl.cc ASN1_STRING* data = X509_NAME_ENTRY_get_data(entry); data 305 net/cert/x509_util_openssl.cc if (!data) data 309 net/cert/x509_util_openssl.cc int len = ASN1_STRING_to_UTF8(&buf, data); data 338 net/cert/x509_util_openssl.cc base::StringPiece str_date(reinterpret_cast<const char*>(x509_time->data), data 23 net/cert/x509_util_openssl_unittest.cc reinterpret_cast<const unsigned char*>(der_cert.data()); data 54 net/cert/x509_util_openssl_unittest.cc reinterpret_cast<const unsigned char*>(der_cert.data()); data 74 net/cert/x509_util_openssl_unittest.cc std::string value_str(reinterpret_cast<const char*>(value_asn1->data), data 72 net/cert/x509_util_unittest.cc der_cert.data(), der_cert.size())); data 184 net/cert/x509_util_unittest.cc X509Certificate::CreateFromBytes(der_cert.data(), der_cert.size()); data 289 net/cookies/canonical_cookie.cc url_canon::CanonicalizePath(cookie_path.data(), path_component, data 291 net/cookies/canonical_cookie.cc cookie_path = std::string(canon_path.data() + canon_path_component.begin, data 154 net/cronet/android/java/src/org/chromium/net/HttpUrlConnectionUrlRequest.java public void setUploadData(String contentType, byte[] data) { data 157 net/cronet/android/java/src/org/chromium/net/HttpUrlConnectionUrlRequest.java mPostData = data; data 56 net/cronet/android/java/src/org/chromium/net/HttpUrlRequest.java void setUploadData(String contentType, byte[] data); data 106 net/cronet/android/java/src/org/chromium/net/UrlRequest.java public void setUploadData(String contentType, byte[] data) { data 110 net/cronet/android/java/src/org/chromium/net/UrlRequest.java nativeSetPostData(mUrlRequestPeer, contentType, data); data 77 net/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/ChunkedWritableByteChannelTest.java byte[] data = new byte[1234]; data 78 net/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/ChunkedWritableByteChannelTest.java Arrays.fill(data, (byte)'G'); data 79 net/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/ChunkedWritableByteChannelTest.java mChannel.write(ByteBuffer.wrap(data)); data 80 net/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/ChunkedWritableByteChannelTest.java assertTrue(Arrays.equals(data, mChannel.getBytes())); data 145 net/disk_cache/backend_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); data 187 net/disk_cache/backend_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); data 484 net/disk_cache/backend_unittest.cc CacheTestFillBuffer(buffer1->data(), kSize, false); data 485 net/disk_cache/backend_unittest.cc ASSERT_EQ(kSize, base::WriteFile(filename, buffer1->data(), kSize)); data 495 net/disk_cache/backend_unittest.cc ASSERT_EQ(kSize, base::ReadFile(filename, buffer2->data(), kSize)); data 496 net/disk_cache/backend_unittest.cc EXPECT_EQ(0, memcmp(buffer1->data(), buffer2->data(), kSize)); data 712 net/disk_cache/backend_unittest.cc memset(buffer->data(), 0, cache_size); data 913 net/disk_cache/backend_unittest.cc memset(buffer1->data(), 0, kSize); data 914 net/disk_cache/backend_unittest.cc base::strlcpy(buffer1->data(), "And the data to save", kSize); data 922 net/disk_cache/backend_unittest.cc memset(buffer2->data(), 0, kSize); data 925 net/disk_cache/backend_unittest.cc EXPECT_STREQ(buffer1->data(), buffer2->data()); data 949 net/disk_cache/backend_unittest.cc memset(buffer->data(), 0, kSize); data 950 net/disk_cache/backend_unittest.cc base::strlcpy(buffer->data(), "And the data to save", kSize); data 993 net/disk_cache/backend_unittest.cc memset(buffer->data(), 0, kSize); data 994 net/disk_cache/backend_unittest.cc base::strlcpy(buffer->data(), "And the data to save", kSize); data 1120 net/disk_cache/backend_unittest.cc memset(buffer->data(), 0, kSize); data 1169 net/disk_cache/backend_unittest.cc memset(buffer->data(), 0, kSize); data 1376 net/disk_cache/backend_unittest.cc memset(buffer1->data(), 0, kSize); data 1377 net/disk_cache/backend_unittest.cc base::strlcpy(buffer1->data(), "And the data to save", kSize); data 1411 net/disk_cache/backend_unittest.cc memset(buffer1->data(), 0, kSize); data 1412 net/disk_cache/backend_unittest.cc base::strlcpy(buffer1->data(), "And the data to save", kSize); data 2682 net/disk_cache/backend_unittest.cc memset(buf->data(), 0, kBufSize); data 3005 net/disk_cache/backend_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, true); data 3345 net/disk_cache/backend_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); data 3377 net/disk_cache/backend_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); data 3487 net/disk_cache/backend_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); data 1358 net/disk_cache/blockfile/backend_impl.cc scoped_ptr<char[]> data(new char[size]); data 1361 net/disk_cache/blockfile/backend_impl.cc if (!file->Read(data.get(), size, offset)) data 1364 net/disk_cache/blockfile/backend_impl.cc if (!stats_.Init(data.get(), size, address)) data 1373 net/disk_cache/blockfile/backend_impl.cc scoped_ptr<char[]> data(new char[size]); data 1375 net/disk_cache/blockfile/backend_impl.cc size = stats_.SerializeStats(data.get(), size, &address); data 1386 net/disk_cache/blockfile/backend_impl.cc file->Write(data.get(), size, offset); // ignore result. data 2066 net/disk_cache/blockfile/backend_impl.cc EntryStore* data = cache_entry->entry()->Data(); data 2067 net/disk_cache/blockfile/backend_impl.cc for (size_t i = 0; i < arraysize(data->data_addr); i++) { data 2068 net/disk_cache/blockfile/backend_impl.cc if (data->data_addr[i]) { data 2069 net/disk_cache/blockfile/backend_impl.cc Addr address(data->data_addr[i]); data 789 net/disk_cache/blockfile/backend_impl_v3.cc scoped_ptr<char[]> data(new char[size]); data 792 net/disk_cache/blockfile/backend_impl_v3.cc if (!file->Read(data.get(), size, offset)) data 795 net/disk_cache/blockfile/backend_impl_v3.cc if (!stats_.Init(data.get(), size, address)) data 804 net/disk_cache/blockfile/backend_impl_v3.cc scoped_ptr<char[]> data(new char[size]); data 806 net/disk_cache/blockfile/backend_impl_v3.cc size = stats_.SerializeStats(data.get(), size, &address); data 817 net/disk_cache/blockfile/backend_impl_v3.cc file->Write(data.get(), size, offset); // ignore result. data 1513 net/disk_cache/blockfile/backend_impl_v3.cc EntryStore* data = cache_entry->entry()->Data(); data 1514 net/disk_cache/blockfile/backend_impl_v3.cc for (size_t i = 0; i < arraysize(data->data_addr); i++) { data 1515 net/disk_cache/blockfile/backend_impl_v3.cc if (data->data_addr[i]) { data 1516 net/disk_cache/blockfile/backend_impl_v3.cc Addr address(data->data_addr[i]); data 446 net/disk_cache/blockfile/backend_worker_v3.cc scoped_ptr<char[]> data(new char[size]); data 449 net/disk_cache/blockfile/backend_worker_v3.cc if (!file->Read(data.get(), size, offset)) data 452 net/disk_cache/blockfile/backend_worker_v3.cc if (!stats_.Init(data.get(), size, address)) data 48 net/disk_cache/blockfile/disk_cache_perftest.cc CacheTestFillBuffer(buffer1->data(), kSize1, false); data 49 net/disk_cache/blockfile/disk_cache_perftest.cc CacheTestFillBuffer(buffer2->data(), kMaxSize, false); data 100 net/disk_cache/blockfile/disk_cache_perftest.cc CacheTestFillBuffer(buffer1->data(), kSize1, false); data 101 net/disk_cache/blockfile/disk_cache_perftest.cc CacheTestFillBuffer(buffer2->data(), kMaxSize, false); data 193 net/disk_cache/blockfile/entry_impl.cc char* buffer = buf->data(); data 241 net/disk_cache/blockfile/entry_impl.cc memset(buf->data(), 0, clean_bytes); data 253 net/disk_cache/blockfile/entry_impl.cc memcpy(buf->data() + clean_bytes, &buffer_[start], len); data 435 net/disk_cache/blockfile/entry_impl.cc if (!key_file || !key_file->Write(key.data(), key.size(), offset)) { data 443 net/disk_cache/blockfile/entry_impl.cc memcpy(entry_store->key, key.data(), key.size()); data 1041 net/disk_cache/blockfile/entry_impl.cc if (!file->Read(buf->data(), buf_len, file_offset, io_callback, &completed)) { data 1145 net/disk_cache/blockfile/entry_impl.cc if (!file->Write(buf->data(), buf_len, file_offset, io_callback, data 142 net/disk_cache/blockfile/entry_impl_v3.cc char* buffer = buf->data(); data 190 net/disk_cache/blockfile/entry_impl_v3.cc memset(buf->data(), 0, clean_bytes); data 202 net/disk_cache/blockfile/entry_impl_v3.cc memcpy(buf->data() + clean_bytes, &buffer_[start], len); data 290 net/disk_cache/blockfile/entry_impl_v3.cc if (!key_file || !key_file->Write(key.data(), key.size(), offset)) { data 298 net/disk_cache/blockfile/entry_impl_v3.cc memcpy(entry_store->key, key.data(), key.size()); data 840 net/disk_cache/blockfile/entry_impl_v3.cc if (!file->Read(buf->data(), buf_len, file_offset, io_callback, &completed)) { data 944 net/disk_cache/blockfile/entry_impl_v3.cc if (!file->Write(buf->data(), buf_len, file_offset, io_callback, data 45 net/disk_cache/blockfile/file_win.cc MyOverlapped* data = reinterpret_cast<MyOverlapped*>(context); data 53 net/disk_cache/blockfile/file_win.cc if (data->callback_) data 54 net/disk_cache/blockfile/file_win.cc data->callback_->OnFileIOComplete(static_cast<int>(actual_bytes)); data 56 net/disk_cache/blockfile/file_win.cc delete data; data 147 net/disk_cache/blockfile/file_win.cc MyOverlapped* data = new MyOverlapped(this, offset, callback); data 152 net/disk_cache/blockfile/file_win.cc data->overlapped())) { data 156 net/disk_cache/blockfile/file_win.cc delete data; data 163 net/disk_cache/blockfile/file_win.cc data->callback_ = NULL; data 164 net/disk_cache/blockfile/file_win.cc data->file_ = NULL; // There is no reason to hold on to this anymore. data 197 net/disk_cache/blockfile/file_win.cc MyOverlapped* data = new MyOverlapped(this, offset, callback); data 202 net/disk_cache/blockfile/file_win.cc data->overlapped())) { data 206 net/disk_cache/blockfile/file_win.cc delete data; data 213 net/disk_cache/blockfile/file_win.cc data->callback_ = NULL; data 214 net/disk_cache/blockfile/file_win.cc data->file_ = NULL; // There is no reason to hold on to this anymore. data 100 net/disk_cache/blockfile/histogram_macros.h CACHE_HISTOGRAM_##type(my_name.data(), sample);\ data 102 net/disk_cache/blockfile/histogram_macros_v3.h CACHE_HISTOGRAM_##type(my_name.data(), sample);\ data 786 net/disk_cache/blockfile/index_table_v3.cc memcpy(buffer->data(), header_, sizeof(*header_)); data 787 net/disk_cache/blockfile/index_table_v3.cc memcpy(buffer->data() + sizeof(*header_), backup_bitmap_storage_.get(), data 44 net/disk_cache/blockfile/rankings.cc Transaction(volatile disk_cache::LruData* data, disk_cache::Addr addr, data 52 net/disk_cache/blockfile/rankings.cc Transaction::Transaction(volatile disk_cache::LruData* data, data 54 net/disk_cache/blockfile/rankings.cc : data_(data) { data 518 net/disk_cache/blockfile/rankings.cc const RankingsNode* data = node->Data(); data 520 net/disk_cache/blockfile/rankings.cc if ((!data->next && data->prev) || (data->next && !data->prev)) data 524 net/disk_cache/blockfile/rankings.cc if (!data->next && !data->prev && from_list) data 528 net/disk_cache/blockfile/rankings.cc if ((node->address().value() == data->prev) && !IsHead(data->prev, &list)) data 531 net/disk_cache/blockfile/rankings.cc if ((node->address().value() == data->next) && !IsTail(data->next, &list)) data 534 net/disk_cache/blockfile/rankings.cc if (!data->next && !data->prev) data 537 net/disk_cache/blockfile/rankings.cc Addr next_addr(data->next); data 538 net/disk_cache/blockfile/rankings.cc Addr prev_addr(data->prev); data 547 net/disk_cache/blockfile/rankings.cc const RankingsNode* data = node->Data(); data 548 net/disk_cache/blockfile/rankings.cc if (!data->contents) data 552 net/disk_cache/blockfile/rankings.cc if (from_list && (!data->last_used || !data->last_modified)) data 93 net/disk_cache/blockfile/sparse_control.cc disk_cache::SparseData* data = data 95 net/disk_cache/blockfile/sparse_control.cc signature_ = data->header.signature; data 99 net/disk_cache/blockfile/sparse_control.cc children_map_.SetMap(data->bitmap, num_bits / 32); data 440 net/disk_cache/blockfile/sparse_control.cc children_map_.SetMap(reinterpret_cast<uint32*>(buf->data()), map_len); data 93 net/disk_cache/blockfile/sparse_control_v3.cc disk_cache::SparseData* data = data 95 net/disk_cache/blockfile/sparse_control_v3.cc signature_ = data->header.signature; data 99 net/disk_cache/blockfile/sparse_control_v3.cc children_map_.SetMap(data->bitmap, num_bits / 32); data 442 net/disk_cache/blockfile/sparse_control_v3.cc children_map_.SetMap(reinterpret_cast<uint32*>(buf->data()), map_len); data 100 net/disk_cache/blockfile/stats.cc bool Stats::Init(void* data, int num_bytes, Addr address) { data 108 net/disk_cache/blockfile/stats.cc stats = reinterpret_cast<OnDiskStats*>(data); data 216 net/disk_cache/blockfile/stats.cc int Stats::SerializeStats(void* data, int num_bytes, Addr* address) { data 217 net/disk_cache/blockfile/stats.cc OnDiskStats* stats = reinterpret_cast<OnDiskStats*>(data); data 58 net/disk_cache/blockfile/stats.h bool Init(void* data, int num_bytes, Addr address); data 84 net/disk_cache/blockfile/stats.h int SerializeStats(void* data, int num_bytes, Addr* address); data 153 net/disk_cache/blockfile/stress_cache.cc memset(buffer->data(), 'k', kSize); data 171 net/disk_cache/blockfile/stress_cache.cc base::snprintf(buffer->data(), kSize, data 76 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer1->data(), kSize1, false); data 80 net/disk_cache/entry_unittest.cc base::strlcpy(buffer1->data(), "the data", kSize1); data 84 net/disk_cache/entry_unittest.cc memset(buffer1->data(), 0, kSize1); data 88 net/disk_cache/entry_unittest.cc EXPECT_STREQ("the data", buffer1->data()); data 94 net/disk_cache/entry_unittest.cc memset(buffer3->data(), 0, kSize3); data 95 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer2->data(), kSize2, false); data 96 net/disk_cache/entry_unittest.cc base::strlcpy(buffer2->data(), "The really big data goes here", kSize2); data 101 net/disk_cache/entry_unittest.cc memset(buffer2->data(), 0, kSize2); data 105 net/disk_cache/entry_unittest.cc EXPECT_STREQ("big data goes here", buffer2->data()); data 109 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buffer2->data(), buffer3->data(), 1500)); data 204 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer1->data(), kSize1, false); data 205 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer2->data(), kSize2, false); data 206 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer3->data(), kSize3, false); data 215 net/disk_cache/entry_unittest.cc base::strlcpy(buffer1->data(), "the data", kSize1); data 229 net/disk_cache/entry_unittest.cc memset(buffer2->data(), 0, kSize2); data 241 net/disk_cache/entry_unittest.cc EXPECT_STREQ("the data", buffer2->data()); data 243 net/disk_cache/entry_unittest.cc base::strlcpy(buffer2->data(), "The really big data goes here", kSize2); data 256 net/disk_cache/entry_unittest.cc memset(buffer3->data(), 0, kSize3); data 268 net/disk_cache/entry_unittest.cc EXPECT_STREQ("big data goes here", buffer3->data()); data 279 net/disk_cache/entry_unittest.cc memset(buffer3->data(), 0, kSize3); data 282 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buffer2->data(), buffer3->data(), 1500)); data 374 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer1->data(), kSize1, false); data 375 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer2->data(), kSize2, false); data 376 net/disk_cache/entry_unittest.cc base::strlcpy(buffer1->data(), "the data", kSize1); data 380 net/disk_cache/entry_unittest.cc memset(buffer1->data(), 0, kSize1); data 384 net/disk_cache/entry_unittest.cc EXPECT_STREQ("the data", buffer1->data()); data 386 net/disk_cache/entry_unittest.cc base::strlcpy(buffer2->data(), "The really big data goes here", kSize2); data 391 net/disk_cache/entry_unittest.cc memset(buffer2->data(), 0, kSize2); data 395 net/disk_cache/entry_unittest.cc EXPECT_STREQ("big data goes here", buffer2->data()); data 478 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer1->data(), kSize1, false); data 479 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer2->data(), kSize2, false); data 480 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer3->data(), kSize3, false); data 481 net/disk_cache/entry_unittest.cc base::strlcpy(buffer1->data(), "the data", kSize1); data 495 net/disk_cache/entry_unittest.cc memset(buffer2->data(), 0, kSize1); data 507 net/disk_cache/entry_unittest.cc EXPECT_STREQ("the data", buffer2->data()); data 509 net/disk_cache/entry_unittest.cc base::strlcpy(buffer2->data(), "The really big data goes here", kSize2); data 523 net/disk_cache/entry_unittest.cc memset(buffer3->data(), 0, kSize3); data 535 net/disk_cache/entry_unittest.cc EXPECT_STREQ("big data goes here", buffer3->data()); data 547 net/disk_cache/entry_unittest.cc memset(buffer3->data(), 0, kSize3); data 548 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buffer2->data(), buffer3->data(), 10000)); data 622 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kBufferSize, false); data 653 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(reference_buffers[i]->data(), kBufferSize, false); data 660 net/disk_cache/entry_unittest.cc memset(buffer1->data(), 0, kBufferSize); data 663 net/disk_cache/entry_unittest.cc 0, memcmp(reference_buffers[i]->data(), buffer1->data(), kBufferSize)); data 677 net/disk_cache/entry_unittest.cc memset(buffer2->data(), 0, kReadBufferSize); data 682 net/disk_cache/entry_unittest.cc memcmp(reference_buffers[i]->data(), buffer2->data(), kReadBufferSize)); data 684 net/disk_cache/entry_unittest.cc memset(buffer2->data(), 0, kReadBufferSize); data 689 net/disk_cache/entry_unittest.cc memcmp(reference_buffers[i]->data() + kReadBufferSize, data 690 net/disk_cache/entry_unittest.cc buffer2->data(), data 832 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer1->data(), kSize, false); data 833 net/disk_cache/entry_unittest.cc memset(buffer2->data(), 0, kSize); data 835 net/disk_cache/entry_unittest.cc base::strlcpy(buffer1->data(), "the data", kSize); data 838 net/disk_cache/entry_unittest.cc EXPECT_STREQ("the data", buffer2->data()); data 845 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer1->data(), buffer2->data(), 2000)); data 851 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer1->data(), buffer2->data(), kSize)); data 854 net/disk_cache/entry_unittest.cc memset(buffer2->data(), 0, kSize); data 867 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer1->data(), buffer2->data(), 2000)); data 869 net/disk_cache/entry_unittest.cc memset(buffer2->data(), 0, kSize); data 877 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer1->data(), buffer2->data(), kSize)); data 921 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer1->data(), kSize1, false); data 922 net/disk_cache/entry_unittest.cc memset(buffer2->data(), 0, kSize2); data 943 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer1->data(), buffer2->data(), 20000)); data 944 net/disk_cache/entry_unittest.cc memset(buffer2->data(), 0, kSize2); data 961 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer1->data(), buffer2->data(), 600)); data 963 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer1->data(), buffer2->data(), 1000)) data 1016 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); data 1018 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer->data(), zeros, kSize)); data 1020 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); data 1022 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer->data(), zeros, kSize)); data 1024 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); data 1026 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer->data(), zeros, kSize)); data 1058 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer1->data(), kSize, true); data 1059 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer2->data(), kSize, true); data 1068 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer2->data(), buffer1->data(), kSize)); data 1077 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer2->data(), kSize, true); data 1079 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer2->data(), buffer1->data(), kSize)); data 1080 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer2->data(), kSize, true); data 1082 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer2->data(), buffer1->data(), kSize)); data 1083 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer2->data(), kSize, true); data 1085 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer2->data(), buffer1->data(), kSize)); data 1097 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer2->data(), kSize, true); data 1099 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer2->data(), buffer1->data(), kSize)); data 1100 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer2->data(), kSize, true); data 1102 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer2->data(), buffer1->data(), kSize)); data 1105 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer2->data(), kSize, true); data 1107 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer2->data(), buffer1->data() + 100, 100)); data 1109 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer2->data(), kSize, true); data 1111 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer2->data(), buffer1->data() + 100, 100)); data 1116 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer2->data(), kSize, true); data 1118 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer2->data(), buffer1->data(), kSize)); data 1119 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer2->data(), kSize, true); data 1121 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer2->data(), buffer1->data(), kSize)); data 1171 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer1->data(), kSize, true); data 1172 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer2->data(), kSize, true); data 1189 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer2->data(), zeros, kSize)); data 1195 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer2->data(), buffer1->data() + kSize - 35, 35)); data 1198 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer2->data(), kSize, true); data 1200 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer2->data(), zeros, 100)); data 1201 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer2->data() + 100, buffer1->data(), kSize - 100)); data 1207 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer2->data(), kSize, true); data 1209 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer2->data(), zeros, 100)); data 1210 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer2->data() + 100, buffer1->data(), kSize - 100)); data 1219 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer2->data(), buffer1->data() + kSize - 28, 28)); data 1229 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer2->data(), zeros, 100)); data 1230 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer2->data() + 100, buffer1->data(), kSize - 100)); data 1237 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer2->data(), zeros, 100)); data 1238 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer2->data() + 100, buffer1->data(), kSize - 100)); data 1251 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buffer1->data(), zeros, kSize)); data 1279 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), size, false); data 1333 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer1->data(), kSize1, false); data 1334 net/disk_cache/entry_unittest.cc memset(buffer2->data(), 0, kSize2); data 1341 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer3->data(), buffer2->data(), 100)); data 1350 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer3->data(), buffer2->data(), 100)); data 1359 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer3->data(), buffer2->data(), 100)); data 1366 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer3->data(), buffer2->data(), 4000)); data 1373 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer3->data(), buffer1->data(), 600)); data 1380 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer3->data(), buffer2->data(), 200)); data 1387 net/disk_cache/entry_unittest.cc EXPECT_TRUE(!memcmp(buffer3->data(), buffer2->data(), 200)); data 1417 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); data 1430 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); data 1455 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, true); data 1456 net/disk_cache/entry_unittest.cc buffer->data()[19999] = '\0'; data 1458 net/disk_cache/entry_unittest.cc key = buffer->data(); data 1538 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer1->data(), kSize1, false); data 1539 net/disk_cache/entry_unittest.cc memset(buffer2->data(), 0, kSize2); data 1544 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buffer1->data(), buffer2->data(), kSize1)); data 1574 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); data 1601 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buf->data(), kSize, false); data 1639 net/disk_cache/entry_unittest.cc memset(buf_2->data(), 0, size); data 1649 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buf_1->data(), buf_2->data(), size)); data 1659 net/disk_cache/entry_unittest.cc memset(buf_1->data(), 0, size); data 1662 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buf_1->data(), buffer, size)); data 1673 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buf_1->data(), kSize, false); data 1688 net/disk_cache/entry_unittest.cc VerifyContentSparseIO(entry, 0, buf_1->data(), kSize); data 1689 net/disk_cache/entry_unittest.cc VerifyContentSparseIO(entry, 0x400000, buf_1->data(), kSize); data 1690 net/disk_cache/entry_unittest.cc VerifyContentSparseIO(entry, 0x800000000LL, buf_1->data(), kSize); data 1714 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buf_1->data(), kSize, false); data 1722 net/disk_cache/entry_unittest.cc VerifyContentSparseIO(entry, 0x20F0000, buf_1->data(), kSize); data 1744 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buf->data(), kSize, false); data 1809 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buf->data(), kSize, false); data 1856 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buf_1->data(), kSize, false); data 1865 net/disk_cache/entry_unittest.cc new net::WrappedIOBuffer(buf_1->data() + i)); data 1871 net/disk_cache/entry_unittest.cc VerifyContentSparseIO(entry, 0, buf_1->data(), kSize); data 1872 net/disk_cache/entry_unittest.cc VerifyContentSparseIO(entry, 9000, buf_1->data(), kSize); data 1886 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buf->data(), kSize, false); data 1954 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buf_1->data(), kSize, false); data 1998 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buf->data(), kSize, false); data 2086 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buf->data(), kSize, false); data 2116 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buf1->data(), kSize, false); data 2129 net/disk_cache/entry_unittest.cc memset(buf2->data(), 0, kSize); data 2133 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buf2->data(), buf1->data() + kSize - 500, 500)); data 2185 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buf2->data(), buf1->data() + kSize - 500, 500)); data 2186 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buf2->data() + 500, buf1->data(), kSize - 500)); data 2211 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buf1->data(), kSize, false); data 2262 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buf->data(), kSize, false); data 2500 net/disk_cache/entry_unittest.cc const char data[] = "this is very good data"; data 2501 net/disk_cache/entry_unittest.cc const int kDataSize = arraysize(data); data 2503 net/disk_cache/entry_unittest.cc base::strlcpy(buffer->data(), data, kDataSize); data 2625 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(write_buffer->data(), write_buffer->size(), false); data 2657 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(write_buffer->data(), write_buffer->size(), false); data 2690 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(write_buffer->data(), write_buffer->size(), false); data 2718 net/disk_cache/entry_unittest.cc memcmp(read_buffer->data(), write_buffer->data(), read_buffer->size())); data 2743 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer1->data(), kSize1, false); data 2744 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer2->data(), kSize2, false); data 2778 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buffer1->data(), buffer1_read->data(), kSize1)); data 2803 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buffer2->data(), buffer2_read->data(), kSize2)); data 2889 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer1->data(), kSize1, false); data 2955 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer1->data(), kSize1, false); data 2990 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer1->data(), kSize1, false); data 3010 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buffer1->data(), buffer1_read->data(), kSize1)); data 3033 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer1->data(), kWriteSize, false); data 3062 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer1->data(), kSize1, false); data 3224 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kWriteSize, false); data 3265 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(write_buffer->data(), kBufferSize, false); data 3297 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(truncate_buffer->data(), kReadBufferSize, false); data 3315 net/disk_cache/entry_unittest.cc memcmp(write_buffer->data(), read_buffer->data(), kReadBufferSize)); data 3333 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(write_buffer->data(), kBufferSize, false); data 3363 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(write_buffer->data(), read_buffer->data(), kBufferSize)); data 3466 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer1->data(), kSize, false); data 3484 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buffer1->data(), buffer1_read1->data(), buf_len)); data 3491 net/disk_cache/entry_unittest.cc char* buffer1_data = buffer1->data() + offset; data 3492 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buffer1_data, buffer1_read2->data(), buf_len)); data 3517 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer1->data(), kSize, false); data 3518 net/disk_cache/entry_unittest.cc char* buffer1_data = buffer1->data() + kHalfSize; data 3519 net/disk_cache/entry_unittest.cc memcpy(buffer2->data(), buffer1_data, kHalfSize); data 3543 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buffer1->data(), buffer1_read1->data(), kSize)); data 3561 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); data 3569 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buffer->data(), buffer_read->data(), kSize)); data 3606 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buffer->data(), buffer_read->data(), kSize)); data 3618 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buffer->data(), buffer_read->data(), kSize)); data 3638 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer1->data(), kSize, false); data 3639 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer2->data(), kHalfSize, false); data 3663 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buffer1->data(), buffer1_read1->data(), kHalfSize)); data 3666 net/disk_cache/entry_unittest.cc memcmp(buffer2->data(), buffer1_read1->data() + kHalfSize, kHalfSize)); data 3717 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kHalfSize, false); data 3743 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer1->data(), kHalfSize, false); data 3757 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buffer1->data(), buffer2->data(), kHalfSize)); data 3777 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer1->data(), kHalfSize, false); data 3812 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kHalfSize, false); data 3839 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer1->data(), kSize, false); data 3840 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer2->data(), kSize, false); data 3934 net/disk_cache/entry_unittest.cc CacheTestFillBuffer(buffer->data(), kSize, false); data 301 net/disk_cache/memory/mem_entry_impl.cc memcpy(buf->data(), &(data_[index])[offset], buf_len); data 343 net/disk_cache/memory/mem_entry_impl.cc memcpy(&(data_[index])[offset], buf->data(), buf_len); data 444 net/disk_cache/simple/simple_entry_impl.cc memcpy(op_buf->data(), buf->data(), buf_len); data 1457 net/disk_cache/simple/simple_entry_impl.cc memcpy(buf->data(), stream_0_data_->data() + offset, buf_len); data 1479 net/disk_cache/simple/simple_entry_impl.cc memcpy(stream_0_data_->data(), buf->data(), buf_len); data 1490 net/disk_cache/simple/simple_entry_impl.cc memset(stream_0_data_->data() + data_size, 0, fill_size); data 1492 net/disk_cache/simple/simple_entry_impl.cc memcpy(stream_0_data_->data() + offset, buf->data(), buf_len); data 1518 net/disk_cache/simple/simple_entry_impl.cc initial_crc, reinterpret_cast<const Bytef*>(buffer->data()), length); data 70 net/disk_cache/simple/simple_index_file.cc file_name, static_cast<const char*>(pickle->data()), pickle->size()); data 343 net/disk_cache/simple/simple_index_file.cc reinterpret_cast<const char*>(index_file_map.data()), data 368 net/disk_cache/simple/simple_index_file.cc void SimpleIndexFile::Deserialize(const char* data, int data_len, data 371 net/disk_cache/simple/simple_index_file.cc DCHECK(data); data 376 net/disk_cache/simple/simple_index_file.cc Pickle pickle(data, data_len); data 377 net/disk_cache/simple/simple_index_file.cc if (!pickle.data()) { data 132 net/disk_cache/simple/simple_index_file.h static void Deserialize(const char* data, int data_len, data 143 net/disk_cache/simple/simple_index_file_unittest.cc WrappedSimpleIndexFile::Deserialize(static_cast<const char*>(pickle->data()), data 174 net/disk_cache/simple/simple_index_file_unittest.cc kDummyData.data(), kDummyData.size())); data 246 net/disk_cache/simple/simple_index_file_unittest.cc base::WriteFile(index_path, kDummyData.data(), kDummyData.size())); data 290 net/disk_cache/simple/simple_index_file_unittest.cc index_file_contents.data(), data 333 net/disk_cache/simple/simple_index_file_unittest.cc WrappedSimpleIndexFile::Deserialize(contents.data(), data 291 net/disk_cache/simple/simple_synchronous_entry.cc file->Read(file_offset, out_buf->data(), in_entry_op.buf_len); data 295 net/disk_cache/simple/simple_synchronous_entry.cc reinterpret_cast<const Bytef*>(out_buf->data()), data 361 net/disk_cache/simple/simple_synchronous_entry.cc if (files_[file_index].Write(file_offset, in_buf->data(), buf_len) != data 399 net/disk_cache/simple/simple_synchronous_entry.cc char* buf = out_buf->data(); data 463 net/disk_cache/simple/simple_synchronous_entry.cc const char* buf = in_buf->data(); data 628 net/disk_cache/simple/simple_synchronous_entry.cc if (files_[0].Write(stream_0_offset, stream_0_data->data(), data 1015 net/disk_cache/simple/simple_synchronous_entry.cc bytes_written = files_[file_index].Write(sizeof(header), key_.data(), data 1080 net/disk_cache/simple/simple_synchronous_entry.cc file->Read(file_offset, (*stream_0_data)->data(), stream_0_size); data 1089 net/disk_cache/simple/simple_synchronous_entry.cc reinterpret_cast<const Bytef*>((*stream_0_data)->data()), data 1243 net/disk_cache/simple/simple_synchronous_entry.cc int key_write_result = sparse_file_.Write(sizeof(header), key_.data(), data 77 net/disk_cache/simple/simple_util.cc base::SHA1HashBytes(reinterpret_cast<const unsigned char*>(key.data()), data 35 net/disk_cache/simple/simple_version_upgrade_unittest.cc disk_cache::FakeIndexData data; data 36 net/disk_cache/simple/simple_version_upgrade_unittest.cc data.version = 5; data 37 net/disk_cache/simple/simple_version_upgrade_unittest.cc data.initial_magic_number = kSimpleInitialMagicNumber; data 38 net/disk_cache/simple/simple_version_upgrade_unittest.cc data.unused_must_be_zero1 = 0; data 39 net/disk_cache/simple/simple_version_upgrade_unittest.cc data.unused_must_be_zero2 = 0; data 41 net/disk_cache/simple/simple_version_upgrade_unittest.cc return sizeof(data) == data 43 net/disk_cache/simple/simple_version_upgrade_unittest.cc file_name, reinterpret_cast<const char*>(&data), sizeof(data)); data 51 net/disk_cache/simple/simple_version_upgrade_unittest.cc disk_cache::FakeIndexData data; data 52 net/disk_cache/simple/simple_version_upgrade_unittest.cc data.version = 100500; data 53 net/disk_cache/simple/simple_version_upgrade_unittest.cc data.initial_magic_number = kSimpleInitialMagicNumber; data 54 net/disk_cache/simple/simple_version_upgrade_unittest.cc data.unused_must_be_zero1 = 0; data 55 net/disk_cache/simple/simple_version_upgrade_unittest.cc data.unused_must_be_zero2 = 0; data 57 net/disk_cache/simple/simple_version_upgrade_unittest.cc ASSERT_EQ(implicit_cast<int>(sizeof(data)), data 59 net/disk_cache/simple/simple_version_upgrade_unittest.cc file_name, reinterpret_cast<const char*>(&data), sizeof(data))); data 73 net/disk_cache/simple/simple_version_upgrade_unittest.cc index_file, file_contents.data(), file_contents.size())); data 85 net/disk_cache/simple/simple_version_upgrade_unittest.cc new_fake_index_contents.data()); data 100 net/disk_cache/simple/simple_version_upgrade_unittest.cc index_file, file_contents.data(), file_contents.size())); data 113 net/disk_cache/simple/simple_version_upgrade_unittest.cc entry_contents.data(), data 150 net/dns/dns_config_service_win.cc if (!url_canon::IDNToASCII(widestr.data(), widestr.length(), &punycode)) data 156 net/dns/dns_config_service_win.cc bool success = base::UTF16ToUTF8(punycode.data(), punycode.length(), domain); data 24 net/dns/dns_hosts.cc data_(text.data()), data 29 net/dns/dns_query.cc reinterpret_cast<dns_protocol::Header*>(io_buffer_->data()); data 38 net/dns/dns_query.cc writer.WriteBytes(qname.data(), qname.size()); data 52 net/dns/dns_query.cc reinterpret_cast<const dns_protocol::Header*>(io_buffer_->data()); data 57 net/dns/dns_query.cc return base::StringPiece(io_buffer_->data() + sizeof(dns_protocol::Header), data 64 net/dns/dns_query.cc io_buffer_->data() + sizeof(dns_protocol::Header) + qname_size_, &type); data 69 net/dns/dns_query.cc return base::StringPiece(io_buffer_->data() + sizeof(dns_protocol::Header), data 76 net/dns/dns_query.cc memcpy(io_buffer_.get()->data(), orig.io_buffer()->data(), data 79 net/dns/dns_query.cc reinterpret_cast<dns_protocol::Header*>(io_buffer_->data()); data 85 net/dns/dns_query.cc reinterpret_cast<dns_protocol::Header*>(io_buffer_->data()); data 45 net/dns/dns_query_unittest.cc EXPECT_EQ(0, memcmp(q1.io_buffer()->data(), query_data, sizeof(query_data))); data 152 net/dns/dns_response.cc DnsResponse::DnsResponse(const void* data, data 156 net/dns/dns_response.cc parser_(io_buffer_->data(), length, answer_offset) { data 157 net/dns/dns_response.cc DCHECK(data); data 158 net/dns/dns_response.cc memcpy(io_buffer_->data(), data, length); data 181 net/dns/dns_response.cc if (question != base::StringPiece(io_buffer_->data() + hdr_size, data 187 net/dns/dns_response.cc parser_ = DnsRecordParser(io_buffer_->data(), data 202 net/dns/dns_response.cc io_buffer_->data(), nbytes, hdr_size); data 246 net/dns/dns_response.cc return base::StringPiece(io_buffer_->data() + hdr_size, qname_size); data 254 net/dns/dns_response.cc base::ReadBigEndian<uint16>(io_buffer_->data() + type_offset, &type); data 269 net/dns/dns_response.cc return reinterpret_cast<const dns_protocol::Header*>(io_buffer_->data()); data 109 net/dns/dns_response.h DnsResponse(const void* data, size_t length, size_t answer_offset); data 21 net/dns/dns_response_unittest.cc const char data[] = { 0 }; data 24 net/dns/dns_response_unittest.cc EXPECT_TRUE(DnsRecordParser(data, 1, 0).IsValid()); data 25 net/dns/dns_response_unittest.cc EXPECT_TRUE(DnsRecordParser(data, 1, 1).IsValid()); data 27 net/dns/dns_response_unittest.cc EXPECT_FALSE(DnsRecordParser(data, 1, 0).AtEnd()); data 28 net/dns/dns_response_unittest.cc EXPECT_TRUE(DnsRecordParser(data, 1, 1).AtEnd()); data 32 net/dns/dns_response_unittest.cc const uint8 data[] = { data 50 net/dns/dns_response_unittest.cc DnsRecordParser parser(data, sizeof(data), 0); data 53 net/dns/dns_response_unittest.cc EXPECT_EQ(0x11u, parser.ReadName(data + 0x00, &out)); data 57 net/dns/dns_response_unittest.cc EXPECT_EQ(0x1u, parser.ReadName(data + 0x10, &out)); data 60 net/dns/dns_response_unittest.cc EXPECT_EQ(0x6u, parser.ReadName(data + 0x11, &out)); data 63 net/dns/dns_response_unittest.cc EXPECT_EQ(0x2u, parser.ReadName(data + 0x17, &out)); data 67 net/dns/dns_response_unittest.cc EXPECT_EQ(0x11u, parser.ReadName(data + 0x00, NULL)); data 68 net/dns/dns_response_unittest.cc EXPECT_EQ(0x1u, parser.ReadName(data + 0x10, NULL)); data 69 net/dns/dns_response_unittest.cc EXPECT_EQ(0x6u, parser.ReadName(data + 0x11, NULL)); data 70 net/dns/dns_response_unittest.cc EXPECT_EQ(0x2u, parser.ReadName(data + 0x17, NULL)); data 73 net/dns/dns_response_unittest.cc parser = DnsRecordParser(data, sizeof(data), 0x12); data 74 net/dns/dns_response_unittest.cc EXPECT_EQ(0x6u, parser.ReadName(data + 0x11, NULL)); data 78 net/dns/dns_response_unittest.cc const uint8 data[] = { data 93 net/dns/dns_response_unittest.cc DnsRecordParser parser(data, sizeof(data), 0); data 97 net/dns/dns_response_unittest.cc EXPECT_EQ(0u, parser.ReadName(data + 0x00, &out)); data 98 net/dns/dns_response_unittest.cc EXPECT_EQ(0u, parser.ReadName(data + 0x04, &out)); data 99 net/dns/dns_response_unittest.cc EXPECT_EQ(0u, parser.ReadName(data + 0x08, &out)); data 100 net/dns/dns_response_unittest.cc EXPECT_EQ(0u, parser.ReadName(data + 0x0a, &out)); data 101 net/dns/dns_response_unittest.cc EXPECT_EQ(0u, parser.ReadName(data + 0x0c, &out)); data 102 net/dns/dns_response_unittest.cc EXPECT_EQ(0u, parser.ReadName(data + 0x0e, &out)); data 106 net/dns/dns_response_unittest.cc const uint8 data[] = { data 128 net/dns/dns_response_unittest.cc DnsRecordParser parser(data, sizeof(data), 0); data 137 net/dns/dns_response_unittest.cc EXPECT_EQ(6u, parser.ReadName(record.rdata.data(), &out)); data 151 net/dns/dns_response_unittest.cc parser = DnsRecordParser(data, sizeof(data) - 2, 0); data 208 net/dns/dns_response_unittest.cc memcpy(resp.io_buffer()->data(), response_data, sizeof(response_data)); data 250 net/dns/dns_response_unittest.cc memcpy(resp.io_buffer()->data(), kT0ResponseDatagram, data 301 net/dns/dns_response_unittest.cc memcpy(resp.io_buffer()->data(), response_data, sizeof(response_data)); data 359 net/dns/dns_response_unittest.cc memcpy(resp.io_buffer()->data(), response_data, sizeof(response_data)); data 390 net/dns/dns_response_unittest.cc memcpy(resp.io_buffer()->data(), response_data, sizeof(response_data)); data 545 net/dns/dns_response_unittest.cc const uint8* data; data 571 net/dns/dns_response_unittest.cc DnsResponse response(t.data, t.size, kQuerySize); data 99 net/dns/dns_test_util.cc char* buffer = response.io_buffer()->data(); data 101 net/dns/dns_test_util.cc memcpy(buffer, query.io_buffer()->data(), nbytes); data 391 net/dns/dns_transaction.cc base::WriteBigEndian<uint16>(length_buffer_->data(), data 450 net/dns/dns_transaction.cc base::ReadBigEndian<uint16>(length_buffer_->data(), &response_length_); data 53 net/dns/dns_transaction_unittest.cc query_->io_buffer()->data(), data 73 net/dns/dns_transaction_unittest.cc response->io_buffer()->data(), data 85 net/dns/dns_transaction_unittest.cc void AddResponseData(const uint8* data, size_t length, IoMode mode) { data 88 net/dns/dns_transaction_unittest.cc new DnsResponse(reinterpret_cast<const char*>(data), length, 0)), mode); data 94 net/dns/dns_transaction_unittest.cc new DnsResponse(query_->io_buffer()->data(), data 98 net/dns/dns_transaction_unittest.cc reinterpret_cast<dns_protocol::Header*>(response->io_buffer()->data()); data 146 net/dns/dns_transaction_unittest.cc FailingUDPClientSocket(SocketDataProvider* data, data 148 net/dns/dns_transaction_unittest.cc : MockUDPClientSocket(data, net_log) { data 163 net/dns/dns_transaction_unittest.cc SocketDataProvider* data, data 165 net/dns/dns_transaction_unittest.cc : MockUDPClientSocket(data, net_log), factory_(factory) { data 356 net/dns/dns_transaction_unittest.cc void AddSocketData(scoped_ptr<DnsSocketData> data) { data 358 net/dns/dns_transaction_unittest.cc transaction_ids_.push_back(data->query_id()); data 359 net/dns/dns_transaction_unittest.cc socket_factory_->AddSocketDataProvider(data->GetProvider()); data 360 net/dns/dns_transaction_unittest.cc socket_data_.push_back(data.release()); data 374 net/dns/dns_transaction_unittest.cc scoped_ptr<DnsSocketData> data( data 376 net/dns/dns_transaction_unittest.cc data->AddResponseData(response_data, response_length, mode); data 377 net/dns/dns_transaction_unittest.cc AddSocketData(data.Pass()); data 383 net/dns/dns_transaction_unittest.cc const uint8* data, data 385 net/dns/dns_transaction_unittest.cc AddQueryAndResponse(id, dotted_name, qtype, data, data_length, ASYNC, data 392 net/dns/dns_transaction_unittest.cc const uint8* data, data 394 net/dns/dns_transaction_unittest.cc AddQueryAndResponse(id, dotted_name, qtype, data, data_length, SYNCHRONOUS, data 401 net/dns/dns_transaction_unittest.cc scoped_ptr<DnsSocketData> data( data 403 net/dns/dns_transaction_unittest.cc AddSocketData(data.Pass()); data 415 net/dns/dns_transaction_unittest.cc scoped_ptr<DnsSocketData> data( data 417 net/dns/dns_transaction_unittest.cc data->AddRcode(rcode, mode); data 418 net/dns/dns_transaction_unittest.cc AddSocketData(data.Pass()); data 552 net/dns/dns_transaction_unittest.cc scoped_ptr<DnsSocketData> data( data 554 net/dns/dns_transaction_unittest.cc data->AddResponseData(kT1ResponseDatagram, data 556 net/dns/dns_transaction_unittest.cc data->AddResponseData(kT0ResponseDatagram, data 558 net/dns/dns_transaction_unittest.cc AddSocketData(data.Pass()); data 571 net/dns/dns_transaction_unittest.cc scoped_ptr<DnsSocketData> data( data 573 net/dns/dns_transaction_unittest.cc data->AddResponseData(kT1ResponseDatagram, data 575 net/dns/dns_transaction_unittest.cc data->AddResponseData(kT0ResponseDatagram, data 577 net/dns/dns_transaction_unittest.cc AddSocketData(data.Pass()); data 902 net/dns/dns_transaction_unittest.cc scoped_ptr<DnsSocketData> data( data 905 net/dns/dns_transaction_unittest.cc data->AddResponseWithLength( data 911 net/dns/dns_transaction_unittest.cc AddSocketData(data.Pass()); data 355 net/dns/mdns_client_unittest.cc std::string MakeString(const uint8* data, unsigned size) { data 356 net/dns/mdns_client_unittest.cc return std::string(reinterpret_cast<const char*>(data), size); data 1076 net/dns/mdns_client_unittest.cc HandlePacketInternal(std::string(response->io_buffer()->data(), size)); data 1152 net/dns/mdns_client_unittest.cc memcpy(buf->data(), kSamplePacket1, sizeof(kSamplePacket1)); data 26 net/dns/mock_mdns_socket_factory.cc return SendToInternal(std::string(buf->data(), buf_len), address.ToString(), data 45 net/dns/mock_mdns_socket_factory.cc memcpy(buffer->data(), response_packet_.data(), size_returned); data 93 net/dns/mock_mdns_socket_factory.cc memcpy(recv_buffer_->data(), packet, size); data 26 net/dns/record_rdata.cc const base::StringPiece& data, data 28 net/dns/record_rdata.cc if (data.size() < kSrvRecordMinimumSize) return scoped_ptr<SrvRecordRdata>(); data 32 net/dns/record_rdata.cc base::BigEndianReader reader(data.data(), data.size()); data 38 net/dns/record_rdata.cc if (!parser.ReadName(data.substr(kSrvRecordMinimumSize).begin(), data 66 net/dns/record_rdata.cc const base::StringPiece& data, data 68 net/dns/record_rdata.cc if (data.size() != kIPv4AddressSize) data 75 net/dns/record_rdata.cc rdata->address_[i] = data[i]; data 99 net/dns/record_rdata.cc const base::StringPiece& data, data 101 net/dns/record_rdata.cc if (data.size() != kIPv6AddressSize) data 108 net/dns/record_rdata.cc rdata->address_[i] = data[i]; data 132 net/dns/record_rdata.cc const base::StringPiece& data, data 136 net/dns/record_rdata.cc if (!parser.ReadName(data.begin(), &rdata->cname_)) data 161 net/dns/record_rdata.cc const base::StringPiece& data, data 165 net/dns/record_rdata.cc if (!parser.ReadName(data.begin(), &rdata->ptrdomain_)) data 189 net/dns/record_rdata.cc const base::StringPiece& data, data 193 net/dns/record_rdata.cc for (size_t i = 0; i < data.size(); ) { data 194 net/dns/record_rdata.cc uint8 length = data[i]; data 196 net/dns/record_rdata.cc if (i + length >= data.size()) data 199 net/dns/record_rdata.cc rdata->texts_.push_back(data.substr(i + 1, length).as_string()); data 226 net/dns/record_rdata.cc const base::StringPiece& data, data 232 net/dns/record_rdata.cc unsigned next_domain_length = parser.ReadName(data.data(), NULL); data 236 net/dns/record_rdata.cc if (next_domain_length == 0 || data.length() < next_domain_length + 2) data 245 net/dns/record_rdata.cc data.data() + next_domain_length); data 252 net/dns/record_rdata.cc base::StringPiece bitmap_data = data.substr(next_domain_length + 2); data 48 net/dns/record_rdata.h static scoped_ptr<SrvRecordRdata> Create(const base::StringPiece& data, data 79 net/dns/record_rdata.h static scoped_ptr<ARecordRdata> Create(const base::StringPiece& data, data 101 net/dns/record_rdata.h static scoped_ptr<AAAARecordRdata> Create(const base::StringPiece& data, data 123 net/dns/record_rdata.h static scoped_ptr<CnameRecordRdata> Create(const base::StringPiece& data, data 145 net/dns/record_rdata.h static scoped_ptr<PtrRecordRdata> Create(const base::StringPiece& data, data 168 net/dns/record_rdata.h static scoped_ptr<TxtRecordRdata> Create(const base::StringPiece& data, data 192 net/dns/record_rdata.h static scoped_ptr<NsecRecordRdata> Create(const base::StringPiece& data, data 13 net/dns/record_rdata_unittest.cc base::StringPiece MakeStringPiece(const uint8* data, unsigned size) { data 14 net/dns/record_rdata_unittest.cc const char* data_cc = reinterpret_cast<const char*>(data); data 130 net/filter/filter.cc next_stream_data_ = stream_buffer()->data(); data 402 net/filter/filter.cc last_status_ = ReadFilteredData(next_buffer->data(), &next_size); data 177 net/filter/gzip_filter_unittest.cc memcpy(filter->stream_buffer()->data(), encode_next, encode_data_len); data 211 net/filter/gzip_filter_unittest.cc memcpy(filter->stream_buffer()->data(), source, source_len); data 232 net/filter/gzip_filter_unittest.cc const char* source_buffer() const { return source_buffer_.data(); } data 253 net/filter/gzip_filter_unittest.cc memcpy(filter_->stream_buffer()->data(), deflate_encode_buffer_, data 270 net/filter/gzip_filter_unittest.cc memcpy(filter_->stream_buffer()->data(), gzip_encode_buffer_, data 365 net/filter/sdch_filter.cc vcdiff_streaming_decoder_->StartDecoding(dictionary_->text().data(), data 378 net/filter/sdch_filter.cc memcpy(dest_buffer, dest_buffer_excess_.data() + dest_buffer_excess_index_, data 119 net/filter/sdch_filter_unittest.cc memcpy(filter->stream_buffer()->data(), source.data() + source_index, data 185 net/filter/sdch_filter_unittest.cc char* input_buffer = filter->stream_buffer()->data(); data 190 net/filter/sdch_filter_unittest.cc memcpy(input_buffer, non_gzip_content.data(), data 226 net/filter/sdch_filter_unittest.cc char* input_buffer = filter->stream_buffer()->data(); data 231 net/filter/sdch_filter_unittest.cc memcpy(input_buffer, non_sdch_content.data(), data 268 net/filter/sdch_filter_unittest.cc char* input_buffer = filter->stream_buffer()->data(); data 273 net/filter/sdch_filter_unittest.cc memcpy(input_buffer, non_sdch_content.data(), data 304 net/filter/sdch_filter_unittest.cc char* input_buffer = filter->stream_buffer()->data(); data 309 net/filter/sdch_filter_unittest.cc memcpy(input_buffer, non_sdch_content.data(), data 341 net/filter/sdch_filter_unittest.cc char* input_buffer = filter->stream_buffer()->data(); data 346 net/filter/sdch_filter_unittest.cc memcpy(input_buffer, dictionary_hash_prefix.data(), data 364 net/filter/sdch_filter_unittest.cc memcpy(input_buffer, dictionary_hash_postfix.data(), data 771 net/filter/sdch_filter_unittest.cc zlib_stream.next_in = bit_cast<Bytef*>(input.data()); data 30 net/ftp/ftp_ctrl_response_buffer.cc int FtpCtrlResponseBuffer::ConsumeData(const char* data, int data_length) { data 31 net/ftp/ftp_ctrl_response_buffer.cc buffer_.append(data, data_length); data 35 net/ftp/ftp_ctrl_response_buffer.h int ConsumeData(const char* data, int data_length); data 20 net/ftp/ftp_ctrl_response_buffer_unittest.cc int PushDataToBuffer(const char* data) { data 21 net/ftp/ftp_ctrl_response_buffer_unittest.cc return buffer_.ConsumeData(data, strlen(data)); data 475 net/ftp/ftp_network_transaction.cc memcpy(write_command_buf_->data(), command.data(), command.length()); data 476 net/ftp/ftp_network_transaction.cc memcpy(write_command_buf_->data() + command.length(), kCRLF, 2); data 717 net/ftp/ftp_network_transaction.cc ctrl_response_buffer_->ConsumeData(read_ctrl_buf_->data(), result); data 1305 net/ftp/ftp_network_transaction.cc read_data_buf_->data()[0] = 0; data 66 net/ftp/ftp_network_transaction_unittest.cc virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE { data 68 net/ftp/ftp_network_transaction_unittest.cc return MockWriteResult(ASYNC, data.length()); data 71 net/ftp/ftp_network_transaction_unittest.cc return Verify("USER anonymous\r\n", data, PRE_PASSWD, data 77 net/ftp/ftp_network_transaction_unittest.cc return Verify("PASS chrome@example.com\r\n", data, PRE_SYST, data 81 net/ftp/ftp_network_transaction_unittest.cc return Verify("SYST\r\n", data, PRE_PWD, "215 UNIX\r\n"); data 83 net/ftp/ftp_network_transaction_unittest.cc return Verify("PWD\r\n", data, PRE_TYPE, data 86 net/ftp/ftp_network_transaction_unittest.cc return Verify(std::string("TYPE ") + data_type_ + "\r\n", data, data 90 net/ftp/ftp_network_transaction_unittest.cc return Verify("EPSV\r\n", data, PRE_SIZE, data 93 net/ftp/ftp_network_transaction_unittest.cc return Verify("EPSV\r\n", data, PRE_CWD, data 96 net/ftp/ftp_network_transaction_unittest.cc return Verify("EPSV\r\n", data, PRE_RETR, data 99 net/ftp/ftp_network_transaction_unittest.cc return Verify("PASV\r\n", data, PRE_CWD, data 102 net/ftp/ftp_network_transaction_unittest.cc return Verify("PASV\r\n", data, PRE_RETR, data 105 net/ftp/ftp_network_transaction_unittest.cc return Verify("PASV\r\n", data, PRE_SIZE, data 110 net/ftp/ftp_network_transaction_unittest.cc return Verify("PASV\r\n", data, PRE_QUIT, data 113 net/ftp/ftp_network_transaction_unittest.cc return Verify("QUIT\r\n", data, QUIT, "221 Goodbye.\r\n"); data 163 net/ftp/ftp_network_transaction_unittest.cc const std::string& data, data 167 net/ftp/ftp_network_transaction_unittest.cc EXPECT_EQ(expected, data); data 168 net/ftp/ftp_network_transaction_unittest.cc if (expected == data) { data 171 net/ftp/ftp_network_transaction_unittest.cc return MockWriteResult(ASYNC, data.length()); data 177 net/ftp/ftp_network_transaction_unittest.cc const std::string& data, data 180 net/ftp/ftp_network_transaction_unittest.cc return Verify(expected, data, next_state, data 208 net/ftp/ftp_network_transaction_unittest.cc virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE { data 210 net/ftp/ftp_network_transaction_unittest.cc return MockWriteResult(ASYNC, data.length()); data 213 net/ftp/ftp_network_transaction_unittest.cc return Verify("SIZE /\r\n", data, data 217 net/ftp/ftp_network_transaction_unittest.cc return Verify("CWD /\r\n", data, PRE_LIST, "200 OK\r\n"); data 219 net/ftp/ftp_network_transaction_unittest.cc return Verify("LIST -l\r\n", data, PRE_QUIT, "200 OK\r\n"); data 221 net/ftp/ftp_network_transaction_unittest.cc return FtpSocketDataProvider::OnWrite(data); data 235 net/ftp/ftp_network_transaction_unittest.cc virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE { data 237 net/ftp/ftp_network_transaction_unittest.cc return MockWriteResult(ASYNC, data.length()); data 240 net/ftp/ftp_network_transaction_unittest.cc return Verify("EPSV\r\n", data, PRE_PASV, data 243 net/ftp/ftp_network_transaction_unittest.cc return Verify("SIZE /\r\n", data, PRE_CWD_PASV, data 246 net/ftp/ftp_network_transaction_unittest.cc return FtpSocketDataProviderDirectoryListing::OnWrite(data); data 261 net/ftp/ftp_network_transaction_unittest.cc virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE { data 263 net/ftp/ftp_network_transaction_unittest.cc return MockWriteResult(ASYNC, data.length()); data 266 net/ftp/ftp_network_transaction_unittest.cc return Verify("SIZE /\r\n", data, PRE_CWD, "213 0\r\n"); data 268 net/ftp/ftp_network_transaction_unittest.cc return FtpSocketDataProviderDirectoryListing::OnWrite(data); data 281 net/ftp/ftp_network_transaction_unittest.cc virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE { data 283 net/ftp/ftp_network_transaction_unittest.cc return MockWriteResult(ASYNC, data.length()); data 286 net/ftp/ftp_network_transaction_unittest.cc return Verify("SYST\r\n", data, PRE_PWD, "215 VMS\r\n"); data 288 net/ftp/ftp_network_transaction_unittest.cc return Verify("PWD\r\n", data, PRE_TYPE, data 291 net/ftp/ftp_network_transaction_unittest.cc return Verify("EPSV\r\n", data, PRE_PASV, "500 Invalid command\r\n"); data 293 net/ftp/ftp_network_transaction_unittest.cc return Verify("SIZE ANONYMOUS_ROOT:[000000]dir\r\n", data, PRE_CWD_PASV, data 296 net/ftp/ftp_network_transaction_unittest.cc return Verify("CWD ANONYMOUS_ROOT:[dir]\r\n", data, PRE_LIST, data 299 net/ftp/ftp_network_transaction_unittest.cc return Verify("LIST *.*;0\r\n", data, PRE_QUIT, "200 OK\r\n"); data 301 net/ftp/ftp_network_transaction_unittest.cc return FtpSocketDataProvider::OnWrite(data); data 315 net/ftp/ftp_network_transaction_unittest.cc virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE { data 317 net/ftp/ftp_network_transaction_unittest.cc return MockWriteResult(ASYNC, data.length()); data 320 net/ftp/ftp_network_transaction_unittest.cc return Verify("SYST\r\n", data, PRE_PWD, "215 VMS\r\n"); data 322 net/ftp/ftp_network_transaction_unittest.cc return Verify("PWD\r\n", data, PRE_TYPE, data 325 net/ftp/ftp_network_transaction_unittest.cc return Verify("EPSV\r\n", data, PRE_PASV, data 328 net/ftp/ftp_network_transaction_unittest.cc return Verify("SIZE ANONYMOUS_ROOT\r\n", data, PRE_CWD_PASV, data 331 net/ftp/ftp_network_transaction_unittest.cc return Verify("CWD ANONYMOUS_ROOT:[000000]\r\n", data, PRE_LIST, data 334 net/ftp/ftp_network_transaction_unittest.cc return Verify("LIST *.*;0\r\n", data, PRE_QUIT, "200 OK\r\n"); data 336 net/ftp/ftp_network_transaction_unittest.cc return FtpSocketDataProvider::OnWrite(data); data 351 net/ftp/ftp_network_transaction_unittest.cc virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE { data 353 net/ftp/ftp_network_transaction_unittest.cc return MockWriteResult(ASYNC, data.length()); data 356 net/ftp/ftp_network_transaction_unittest.cc return Verify("SIZE /file\r\n", data, PRE_RETR, data 359 net/ftp/ftp_network_transaction_unittest.cc return Verify("RETR /file\r\n", data, PRE_QUIT, "200 OK\r\n"); data 361 net/ftp/ftp_network_transaction_unittest.cc return FtpSocketDataProvider::OnWrite(data); data 374 net/ftp/ftp_network_transaction_unittest.cc virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE { data 376 net/ftp/ftp_network_transaction_unittest.cc return MockWriteResult(ASYNC, data.length()); data 379 net/ftp/ftp_network_transaction_unittest.cc return Verify("SIZE /file\r\n", data, PRE_CWD, data 382 net/ftp/ftp_network_transaction_unittest.cc return Verify("CWD /file\r\n", data, data 386 net/ftp/ftp_network_transaction_unittest.cc return Verify("RETR /file\r\n", data, PRE_QUIT, "200 OK\r\n"); data 388 net/ftp/ftp_network_transaction_unittest.cc return FtpSocketDataProvider::OnWrite(data); data 401 net/ftp/ftp_network_transaction_unittest.cc virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE { data 403 net/ftp/ftp_network_transaction_unittest.cc return MockWriteResult(ASYNC, data.length()); data 406 net/ftp/ftp_network_transaction_unittest.cc return Verify("SIZE /file\r\n", data, data 410 net/ftp/ftp_network_transaction_unittest.cc return Verify("CWD /file\r\n", data, data 414 net/ftp/ftp_network_transaction_unittest.cc return Verify("RETR /file\r\n", data, PRE_QUIT, data 417 net/ftp/ftp_network_transaction_unittest.cc return FtpSocketDataProvider::OnWrite(data); data 431 net/ftp/ftp_network_transaction_unittest.cc virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE { data 433 net/ftp/ftp_network_transaction_unittest.cc return MockWriteResult(ASYNC, data.length()); data 436 net/ftp/ftp_network_transaction_unittest.cc return Verify("EPSV\r\n", data, PRE_PASV, data 439 net/ftp/ftp_network_transaction_unittest.cc return Verify("CWD /file\r\n", data, PRE_RETR_PASV, data 442 net/ftp/ftp_network_transaction_unittest.cc return FtpSocketDataProviderFileDownload::OnWrite(data); data 456 net/ftp/ftp_network_transaction_unittest.cc virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE { data 458 net/ftp/ftp_network_transaction_unittest.cc return MockWriteResult(ASYNC, data.length()); data 461 net/ftp/ftp_network_transaction_unittest.cc return Verify("SIZE /file\r\n", data, PRE_CWD, data 464 net/ftp/ftp_network_transaction_unittest.cc return Verify("CWD /file\r\n", data, data 468 net/ftp/ftp_network_transaction_unittest.cc return FtpSocketDataProviderFileDownload::OnWrite(data); data 482 net/ftp/ftp_network_transaction_unittest.cc virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE { data 484 net/ftp/ftp_network_transaction_unittest.cc return MockWriteResult(ASYNC, data.length()); data 487 net/ftp/ftp_network_transaction_unittest.cc return Verify("CWD /file\r\n", data, data 491 net/ftp/ftp_network_transaction_unittest.cc return FtpSocketDataProviderFileDownload::OnWrite(data); data 504 net/ftp/ftp_network_transaction_unittest.cc virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE { data 506 net/ftp/ftp_network_transaction_unittest.cc return MockWriteResult(ASYNC, data.length()); data 509 net/ftp/ftp_network_transaction_unittest.cc return Verify("SYST\r\n", data, PRE_PWD, "215 VMS\r\n"); data 511 net/ftp/ftp_network_transaction_unittest.cc return Verify("PWD\r\n", data, PRE_TYPE, data 514 net/ftp/ftp_network_transaction_unittest.cc return Verify("EPSV\r\n", data, PRE_PASV, data 517 net/ftp/ftp_network_transaction_unittest.cc return Verify("SIZE ANONYMOUS_ROOT:[000000]file\r\n", data, PRE_CWD, data 520 net/ftp/ftp_network_transaction_unittest.cc return Verify("CWD ANONYMOUS_ROOT:[file]\r\n", data, PRE_RETR_PASV, data 523 net/ftp/ftp_network_transaction_unittest.cc return Verify("RETR ANONYMOUS_ROOT:[000000]file\r\n", data, PRE_QUIT, data 526 net/ftp/ftp_network_transaction_unittest.cc return FtpSocketDataProvider::OnWrite(data); data 539 net/ftp/ftp_network_transaction_unittest.cc virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE { data 541 net/ftp/ftp_network_transaction_unittest.cc return MockWriteResult(ASYNC, data.length()); data 544 net/ftp/ftp_network_transaction_unittest.cc return Verify("SIZE / !\"#$%y\200\201\r\n", data, PRE_CWD, data 547 net/ftp/ftp_network_transaction_unittest.cc return Verify("CWD / !\"#$%y\200\201\r\n", data, data 551 net/ftp/ftp_network_transaction_unittest.cc return Verify("RETR / !\"#$%y\200\201\r\n", data, PRE_QUIT, data 554 net/ftp/ftp_network_transaction_unittest.cc return FtpSocketDataProviderFileDownload::OnWrite(data); data 568 net/ftp/ftp_network_transaction_unittest.cc virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE { data 570 net/ftp/ftp_network_transaction_unittest.cc return MockWriteResult(ASYNC, data.length()); data 573 net/ftp/ftp_network_transaction_unittest.cc return Verify("RETR /file\r\n", data, PRE_QUIT, data 578 net/ftp/ftp_network_transaction_unittest.cc return FtpSocketDataProviderFileDownload::OnWrite(data); data 592 net/ftp/ftp_network_transaction_unittest.cc virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE { data 594 net/ftp/ftp_network_transaction_unittest.cc return MockWriteResult(ASYNC, data.length()); data 597 net/ftp/ftp_network_transaction_unittest.cc return Verify("LIST -l\r\n", data, PRE_QUIT, data 602 net/ftp/ftp_network_transaction_unittest.cc return FtpSocketDataProviderDirectoryListing::OnWrite(data); data 617 net/ftp/ftp_network_transaction_unittest.cc virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE { data 619 net/ftp/ftp_network_transaction_unittest.cc return MockWriteResult(ASYNC, data.length()); data 624 net/ftp/ftp_network_transaction_unittest.cc return Verify("SIZE /file\r\n", data, PRE_QUIT, data 628 net/ftp/ftp_network_transaction_unittest.cc return FtpSocketDataProviderFileDownload::OnWrite(data); data 651 net/ftp/ftp_network_transaction_unittest.cc virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE { data 653 net/ftp/ftp_network_transaction_unittest.cc return MockWriteResult(ASYNC, data.length()); data 656 net/ftp/ftp_network_transaction_unittest.cc return Verify("EPSV\r\n", data, expected_state_, data 659 net/ftp/ftp_network_transaction_unittest.cc return FtpSocketDataProviderFileDownload::OnWrite(data); data 679 net/ftp/ftp_network_transaction_unittest.cc virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE { data 681 net/ftp/ftp_network_transaction_unittest.cc return MockWriteResult(ASYNC, data.length()); data 684 net/ftp/ftp_network_transaction_unittest.cc return Verify("PASV\r\n", data, expected_state_, pasv_response_); data 686 net/ftp/ftp_network_transaction_unittest.cc return FtpSocketDataProviderFileDownloadWithPasvFallback::OnWrite(data); data 704 net/ftp/ftp_network_transaction_unittest.cc virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE { data 706 net/ftp/ftp_network_transaction_unittest.cc return MockWriteResult(ASYNC, data.length()); data 709 net/ftp/ftp_network_transaction_unittest.cc return Verify("SIZE /file\r\n", data, expected_state_, size_response_); data 711 net/ftp/ftp_network_transaction_unittest.cc return FtpSocketDataProviderFileDownload::OnWrite(data); data 731 net/ftp/ftp_network_transaction_unittest.cc virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE { data 733 net/ftp/ftp_network_transaction_unittest.cc return MockWriteResult(ASYNC, data.length()); data 736 net/ftp/ftp_network_transaction_unittest.cc return Verify(std::string("USER ") + expected_user_ + "\r\n", data, data 739 net/ftp/ftp_network_transaction_unittest.cc return Verify(std::string("PASS ") + expected_password_ + "\r\n", data, data 742 net/ftp/ftp_network_transaction_unittest.cc return FtpSocketDataProviderFileDownload::OnWrite(data); data 758 net/ftp/ftp_network_transaction_unittest.cc virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE { data 760 net/ftp/ftp_network_transaction_unittest.cc return MockWriteResult(ASYNC, data.length()); data 763 net/ftp/ftp_network_transaction_unittest.cc return Verify("USER anonymous\r\n", data, data 766 net/ftp/ftp_network_transaction_unittest.cc return FtpSocketDataProvider::OnWrite(data); data 846 net/ftp/ftp_network_transaction_unittest.cc memset(io_buffer->data(), 0, kBufferSize); data 852 net/ftp/ftp_network_transaction_unittest.cc EXPECT_EQ(mock_data, std::string(io_buffer->data(), mock_data.length())); data 121 net/http/des.cc key_item.data = const_cast<uint8*>(key); data 209 net/http/disk_cache_based_quic_server_info.cc data_.assign(read_buffer_->data(), rv); data 255 net/http/disk_cache_based_quic_server_info.cc memcpy(write_buffer_->data(), new_data_.data(), new_data_.size()); data 726 net/http/http_auth_gssapi_posix.cc const_cast<char*>(decoded_server_auth_token_.data()) : data 83 net/http/http_auth_handler_ntlm.cc in_buf = decoded_auth_data.data(); data 180 net/http/http_auth_handler_ntlm_portable.cc static void* WriteBytes(void* buf, const void* data, uint32 data_len) { data 181 net/http/http_auth_handler_ntlm_portable.cc memcpy(buf, data, data_len); data 264 net/http/http_auth_handler_ntlm_portable.cc DESMakeKey(reinterpret_cast<const uint8*>(passbuf.data()) , k1); data 265 net/http/http_auth_handler_ntlm_portable.cc DESMakeKey(reinterpret_cast<const uint8*>(passbuf.data()) + 7, k2); data 285 net/http/http_auth_handler_ntlm_portable.cc WriteUnicodeLE(passbuf, password.data(), len); data 291 net/http/http_auth_handler_ntlm_portable.cc weak_crypto::MD4Sum(reinterpret_cast<const uint8*>(password.data()), data 480 net/http/http_auth_handler_ntlm_portable.cc domain_ptr = ucs_domain_buf.data(); data 486 net/http/http_auth_handler_ntlm_portable.cc domain_ptr = domain.data(); data 491 net/http/http_auth_handler_ntlm_portable.cc domain_ptr = oem_domain_buf.data(); data 501 net/http/http_auth_handler_ntlm_portable.cc user_ptr = ucs_user_buf.data(); data 506 net/http/http_auth_handler_ntlm_portable.cc user_ptr = username.data(); data 511 net/http/http_auth_handler_ntlm_portable.cc user_ptr = oem_user_buf.data(); data 521 net/http/http_auth_handler_ntlm_portable.cc host_ptr = ucs_host_buf.data(); data 528 net/http/http_auth_handler_ntlm_portable.cc host_ptr = hostname.data(); data 224 net/http/http_cache.cc DCHECK(buf->data()); data 385 net/http/http_cache.cc bool HttpCache::ParseResponseInfo(const char* data, int len, data 388 net/http/http_cache.cc Pickle pickle(data, len); data 159 net/http/http_cache.h static bool ParseResponseInfo(const char* data, int len, data 1450 net/http/http_cache_transaction.cc !HttpCache::ParseResponseInfo(read_buf_->data(), io_buf_len_, data 2234 net/http/http_cache_transaction.cc int HttpCache::Transaction::ReadFromNetwork(IOBuffer* data, int data_len) { data 2235 net/http/http_cache_transaction.cc read_buf_ = data; data 2241 net/http/http_cache_transaction.cc int HttpCache::Transaction::ReadFromEntry(IOBuffer* data, int data_len) { data 2242 net/http/http_cache_transaction.cc read_buf_ = data; data 2249 net/http/http_cache_transaction.cc IOBuffer* data, int data_len, data 2256 net/http/http_cache_transaction.cc rv = entry_->disk_entry->WriteData(index, offset, data, data_len, callback, data 2259 net/http/http_cache_transaction.cc rv = partial_->CacheWrite(entry_->disk_entry, data, data_len, callback); data 2294 net/http/http_cache_transaction.cc scoped_refptr<PickledIOBuffer> data(new PickledIOBuffer()); data 2295 net/http/http_cache_transaction.cc response_.Persist(data->pickle(), skip_transient_headers, truncated); data 2296 net/http/http_cache_transaction.cc data->Done(); data 2298 net/http/http_cache_transaction.cc io_buf_len_ = data->pickle()->size(); data 2299 net/http/http_cache_transaction.cc return entry_->disk_entry->WriteData(kResponseInfoIndex, 0, data.get(), data 2304 net/http/http_cache_transaction.cc IOBuffer* data, int data_len, const CompletionCallback& callback) { data 2309 net/http/http_cache_transaction.cc return WriteToEntry(kResponseContentIndex, current_size, data, data_len, data 325 net/http/http_cache_transaction.h int ReadFromNetwork(IOBuffer* data, int data_len); data 328 net/http/http_cache_transaction.h int ReadFromEntry(IOBuffer* data, int data_len); data 333 net/http/http_cache_transaction.h int WriteToEntry(int index, int offset, IOBuffer* data, int data_len, data 342 net/http/http_cache_transaction.h int AppendResponseDataToEntry(IOBuffer* data, int data_len, data 118 net/http/http_cache_unittest.cc std::string expected(trans_info.data); data 375 net/http/http_cache_unittest.cc std::string data; data 378 net/http/http_cache_unittest.cc data = "r"; data 382 net/http/http_cache_unittest.cc base::StringAppendF(&data, "rg: %02d-%02d ", data 386 net/http/http_cache_unittest.cc *response_data = data; data 425 net/http/http_cache_unittest.cc std::string raw_headers(net::HttpUtil::AssembleRawHeaders(response.data(), data 450 net/http/http_cache_unittest.cc raw_headers = net::HttpUtil::AssembleRawHeaders(raw_headers.data(), data 461 net/http/http_cache_unittest.cc int len = static_cast<int>(base::strlcpy(buf->data(), data 475 net/http/http_cache_unittest.cc trans->data = body; data 938 net/http/http_cache_unittest.cc transaction.data = "Changed data."; data 2044 net/http/http_cache_unittest.cc response_data->assign(kTypicalGET_Transaction.data); data 3438 net/http/http_cache_unittest.cc transaction.data = "rg: 30-39 "; data 3451 net/http/http_cache_unittest.cc transaction.data = "rg: 20-29 rg: 30-39 rg: 40-49 rg: 50-59 "; data 3570 net/http/http_cache_unittest.cc transaction.data = "rg: 30-39 "; data 3583 net/http/http_cache_unittest.cc transaction.data = "rg: 20-29 rg: 30-39 rg: 40-49 rg: 50-59 "; data 3752 net/http/http_cache_unittest.cc transaction.data = ""; data 3781 net/http/http_cache_unittest.cc transaction.data = "rg: 70-79 "; data 3794 net/http/http_cache_unittest.cc transaction.data = "rg: 60-69 rg: 70-79 "; data 3820 net/http/http_cache_unittest.cc transaction.data = "rg: 70-79 "; data 3833 net/http/http_cache_unittest.cc transaction.data = "rg: 60-69 rg: 70-79 "; data 3858 net/http/http_cache_unittest.cc transaction.data = ""; data 3895 net/http/http_cache_unittest.cc transaction.data = "rg: 00-09 rg: 10-19 rg: 20-29 rg: 30-39 rg: 40-49 " data 3923 net/http/http_cache_unittest.cc transaction.data = "rg: 00-09 "; data 3932 net/http/http_cache_unittest.cc transaction.data = "rg: 70-79 "; data 3946 net/http/http_cache_unittest.cc transaction.data = "rg: 00-09 rg: 10-19 rg: 20-29 rg: 30-39 rg: 40-49 " data 3971 net/http/http_cache_unittest.cc transaction.data = "rg: 00-09 "; data 3986 net/http/http_cache_unittest.cc transaction2.data = "Not a range"; data 4020 net/http/http_cache_unittest.cc raw_headers = net::HttpUtil::AssembleRawHeaders(raw_headers.data(), data 4028 net/http/http_cache_unittest.cc int len = static_cast<int>(base::strlcpy(buf->data(), data 4029 net/http/http_cache_unittest.cc kRangeGET_TransactionOK.data, 500)); data 4068 net/http/http_cache_unittest.cc raw_headers = net::HttpUtil::AssembleRawHeaders(raw_headers.data(), data 4076 net/http/http_cache_unittest.cc int len = static_cast<int>(base::strlcpy(buf->data(), data 4077 net/http/http_cache_unittest.cc kRangeGET_TransactionOK.data, 500)); data 4110 net/http/http_cache_unittest.cc raw_headers = net::HttpUtil::AssembleRawHeaders(raw_headers.data(), data 4118 net/http/http_cache_unittest.cc int len = static_cast<int>(base::strlcpy(buf->data(), data 4119 net/http/http_cache_unittest.cc kRangeGET_TransactionOK.data, 500)); data 4147 net/http/http_cache_unittest.cc transaction.data = "rg: 00-09 rg: 10-19 rg: 20-29 rg: 30-39 rg: 40-49 " data 4177 net/http/http_cache_unittest.cc transaction3.data = transaction.data; data 4219 net/http/http_cache_unittest.cc transaction.data = "rg: 70-79 "; data 4268 net/http/http_cache_unittest.cc transaction.data = ""; data 4583 net/http/http_cache_unittest.cc transaction.data = "rg: 70-79 "; data 4613 net/http/http_cache_unittest.cc transaction.data = "Not a range"; data 4631 net/http/http_cache_unittest.cc transaction.data = "rg: 40-"; // Less than expected. data 4649 net/http/http_cache_unittest.cc transaction.data = "rg: 60-"; // Less than expected. data 4710 net/http/http_cache_unittest.cc headers = net::HttpUtil::AssembleRawHeaders(headers.data(), headers.size()); data 4981 net/http/http_cache_unittest.cc transaction.data = "rg: 00-09 rg: 10-19 rg: 20-29 rg: 30-39 rg: 40-49 " data 5030 net/http/http_cache_unittest.cc transaction.data = "rg: 00-09 rg: 10-19 rg: 20-29 rg: 30-39 rg: 40-49 " data 5076 net/http/http_cache_unittest.cc transaction.data = "rg: 00-09 rg: 10-19 rg: 20-29 rg: 30-39 rg: 40-49 " data 5134 net/http/http_cache_unittest.cc transaction.data = "Not a range"; data 5171 net/http/http_cache_unittest.cc transaction.data = "rg: 00-09 rg: 10-19 rg: 20-29 rg: 30-39 rg: 40-49 " data 5206 net/http/http_cache_unittest.cc transaction.data = "rg: 00-09 rg: 10-19 rg: 20-29 rg: 30-39 rg: 40-49 " data 5256 net/http/http_cache_unittest.cc transaction.data = "Not a range"; data 5701 net/http/http_cache_unittest.cc request.data = kData; data 5769 net/http/http_cache_unittest.cc memset(buf->data(), 0, buf->size()); data 5770 net/http/http_cache_unittest.cc base::strlcpy(buf->data(), "Hi there", buf->size()); data 5787 net/http/http_cache_unittest.cc EXPECT_EQ(0, strcmp(response.metadata->data(), "Hi there")); data 5806 net/http/http_cache_unittest.cc memset(buf->data(), 0, buf->size()); data 5807 net/http/http_cache_unittest.cc base::strlcpy(buf->data(), "Hi there", buf->size()); data 5841 net/http/http_cache_unittest.cc memset(buf->data(), 0, buf->size()); data 5842 net/http/http_cache_unittest.cc base::strlcpy(buf->data(), "Hi there", buf->size()); data 5859 net/http/http_cache_unittest.cc EXPECT_EQ(0, strcmp(response.metadata->data(), "Hi there")); data 5933 net/http/http_cache_unittest.cc transaction.data = ""; data 6297 net/http/http_cache_unittest.cc transaction.data = "rg: 00-09 rg: 10-19 rg: 20-29 rg: 30-39 rg: 40-49 " data 6338 net/http/http_cache_unittest.cc strlen(transaction.data); data 6406 net/http/http_cache_unittest.cc transaction.data = "rg: 30-39 "; data 6413 net/http/http_cache_unittest.cc transaction.data = "rg: 20-29 rg: 30-39 rg: 40-49 rg: 50-59 "; data 119 net/http/http_chunked_decoder.cc buf = line_buf_.data(); data 32 net/http/http_chunked_decoder_unittest.cc result.append(input.data(), n); data 88 net/http/http_content_disposition.cc decoded.data(), decoded.length(), &err); data 318 net/http/http_network_layer_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 320 net/http/http_network_layer_unittest.cc mock_socket_factory_.AddSocketDataProvider(&data); data 490 net/http/http_network_layer_unittest.cc "PROXY %s; PROXY good:8080", data_reduction_proxy.data()); data 773 net/http/http_network_layer_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 775 net/http/http_network_layer_unittest.cc mock_socket_factory_.AddSocketDataProvider(&data); data 806 net/http/http_network_layer_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 808 net/http/http_network_layer_unittest.cc mock_socket_factory_.AddSocketDataProvider(&data); data 295 net/http/http_network_transaction_unittest.cc SimpleGetHelperResult SimpleGetHelperForData(StaticSocketDataProvider* data[], data 311 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(data[i]); data 379 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider* data[] = { &reads }; data 380 net/http/http_network_transaction_unittest.cc return SimpleGetHelperForData(data, 1); data 760 net/http/http_network_transaction_unittest.cc MockRead(last_read.data()), data 937 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); data 938 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 1041 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); data 1042 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 1099 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); data 1100 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 1141 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); data 1142 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 1178 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); data 1179 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 1209 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); data 1210 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 1505 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); data 1506 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 1564 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); data 1565 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 1641 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); data 1642 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 1681 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); data 1682 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 1940 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 1942 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 2169 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, large_body_string.data(), large_body_string.size()), data 2556 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 2558 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 2967 net/http/http_network_transaction_unittest.cc scoped_ptr<SpdyFrame> data(spdy_util_.ConstructSpdyBodyFrame(1, true)); data 2970 net/http/http_network_transaction_unittest.cc CreateMockRead(*data), data 3067 net/http/http_network_transaction_unittest.cc OrderedSocketData data( data 3070 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 3318 net/http/http_network_transaction_unittest.cc scoped_ptr<SpdyFrame> data(spdy_util_.ConstructSpdyBodyFrame(1, true)); data 3875 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 3877 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 4544 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, large_headers_string.data(), large_headers_string.size()), data 4548 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); data 4549 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 4647 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); data 4648 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 4704 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 4706 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 4769 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 4773 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 4858 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); data 4859 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 5834 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 5840 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 5905 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 5911 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 5973 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 5978 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 6033 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 6037 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 6115 net/http/http_network_transaction_unittest.cc DelayedSocketData data( data 6122 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 6170 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 6174 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 6228 net/http/http_network_transaction_unittest.cc DelayedSocketData data( data 6235 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 6648 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(good_cert_reads, arraysize(good_cert_reads), data 6660 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 6713 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 6715 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 6752 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 6754 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 6792 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 6794 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 6829 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 6831 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 6866 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 6868 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 6903 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 6905 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 6942 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 6944 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 6981 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 6983 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 7019 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 7021 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 7061 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 7063 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 7107 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 7109 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 7168 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 7170 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 7230 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 7232 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 7303 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 7305 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 7378 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 7380 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 7734 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); data 7735 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 7771 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(NULL, 0, data 7773 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 7800 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); data 7801 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 7920 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(proxy_reads, arraysize(proxy_reads), NULL, 0); data 7923 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 7956 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); data 7957 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 8008 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); data 8009 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 8061 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(NULL, 0, NULL, 0); data 8062 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 8118 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data; data 8119 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 8306 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); data 8308 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 8669 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data( data 8671 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 8738 net/http/http_network_transaction_unittest.cc scoped_ptr<SpdyFrame> data(spdy_util_.ConstructSpdyBodyFrame(1, true)); data 8741 net/http/http_network_transaction_unittest.cc CreateMockRead(*data), data 9083 net/http/http_network_transaction_unittest.cc scoped_ptr<SpdyFrame> data(spdy_util_.ConstructSpdyBodyFrame(1, true)); data 9087 net/http/http_network_transaction_unittest.cc CreateMockRead(*data.get(), 4), // 5 data 9185 net/http/http_network_transaction_unittest.cc scoped_ptr<SpdyFrame> data(spdy_util_.ConstructSpdyBodyFrame(1, true)); data 9188 net/http/http_network_transaction_unittest.cc CreateMockRead(*data), data 9877 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 9879 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 10032 net/http/http_network_transaction_unittest.cc scoped_ptr<SpdyFrame> data(spdy_util_.ConstructSpdyBodyFrame(1, true)); data 10068 net/http/http_network_transaction_unittest.cc CreateMockRead(*data.get(), 6), data 10153 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); data 10154 net/http/http_network_transaction_unittest.cc data.set_connect_data(mock_connect); data 10155 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 10358 net/http/http_network_transaction_unittest.cc scoped_ptr<SpdyFrame> data(spdy_util_.ConstructSpdyBodyFrame(1, true)); data 10361 net/http/http_network_transaction_unittest.cc CreateMockRead(*data), data 10414 net/http/http_network_transaction_unittest.cc net::StaticSocketDataProvider data(NULL, 0, data 10416 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 11154 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider* data[] = { &data1, &data2 }; data 11156 net/http/http_network_transaction_unittest.cc SimpleGetHelperResult out = SimpleGetHelperForData(data, arraysize(data)); data 11181 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider* data[] = { &data1, &data2 }; data 11183 net/http/http_network_transaction_unittest.cc SimpleGetHelperResult out = SimpleGetHelperForData(data, arraysize(data)); data 11413 net/http/http_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 11419 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 11836 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data; data 11837 net/http/http_network_transaction_unittest.cc data.set_connect_data(mock_connect); data 11838 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 11866 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data; data 11867 net/http/http_network_transaction_unittest.cc data.set_connect_data(mock_connect); data 11868 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 11902 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 11904 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 11938 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 11940 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 11976 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 11978 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 12014 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 12016 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 12057 net/http/http_network_transaction_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 12059 net/http/http_network_transaction_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 157 net/http/http_pipelined_connection_impl_unittest.cc std::string actual(buffer->data(), expected.size()); data 501 net/http/http_pipelined_connection_impl_unittest.cc std::string actual(buffer->data(), expected.size()); data 100 net/http/http_pipelined_network_transaction_unittest.cc DeterministicSocketData* data = new DeterministicSocketData( data 102 net/http/http_pipelined_network_transaction_unittest.cc data->set_connect_data(MockConnect(SYNCHRONOUS, OK)); data 104 net/http/http_pipelined_network_transaction_unittest.cc data->StopAfter(reads_count + writes_count); data 106 net/http/http_pipelined_network_transaction_unittest.cc factory_.AddSocketDataProvider(data); data 107 net/http/http_pipelined_network_transaction_unittest.cc data_vector_.push_back(data); data 142 net/http/http_pipelined_network_transaction_unittest.cc std::string actual(buffer->data(), expected.size()); data 173 net/http/http_pipelined_network_transaction_unittest.cc std::string actual(buffer->data(), 8); data 753 net/http/http_pipelined_network_transaction_unittest.cc DataRunnerObserver(DeterministicSocketData* data, int run_before_task) data 754 net/http/http_pipelined_network_transaction_unittest.cc : data_(data), data 847 net/http/http_pipelined_network_transaction_unittest.cc DeterministicSocketData data(NULL, 0, NULL, 0); data 848 net/http/http_pipelined_network_transaction_unittest.cc data.set_connect_data(MockConnect(ASYNC, ERR_CONNECTION_REFUSED)); data 849 net/http/http_pipelined_network_transaction_unittest.cc factory_.AddSocketDataProvider(&data); data 913 net/http/http_pipelined_network_transaction_unittest.cc DeterministicSocketData data(NULL, 0, NULL, 0); data 914 net/http/http_pipelined_network_transaction_unittest.cc data.set_connect_data(MockConnect(ASYNC, ERR_FAILED)); data 915 net/http/http_pipelined_network_transaction_unittest.cc factory_.AddSocketDataProvider(&data); data 930 net/http/http_pipelined_network_transaction_unittest.cc data.Run(); data 992 net/http/http_pipelined_network_transaction_unittest.cc DeterministicSocketData data( data 994 net/http/http_pipelined_network_transaction_unittest.cc data.set_connect_data(MockConnect(ASYNC, OK)); data 995 net/http/http_pipelined_network_transaction_unittest.cc factory_.AddSocketDataProvider(&data); data 1025 net/http/http_pipelined_network_transaction_unittest.cc data.RunFor(3); data 45 net/http/http_request_headers.cc : key(key.data(), key.size()), value(value.data(), value.size()) { data 89 net/http/http_request_headers.cc it->value.assign(value.data(), value.size()); data 123 net/http/http_request_headers.cc const base::StringPiece header_key(header_line.data(), key_end_index); data 128 net/http/http_request_headers.cc std::string header_value(header_line.data() + value_index, data 241 net/http/http_request_headers.cc !base::strncasecmp(key.data(), it->key.data(), key.length())) data 253 net/http/http_request_headers.cc !base::strncasecmp(key.data(), it->key.data(), key.length())) data 193 net/http/http_response_body_drainer_unittest.cc std::memset(buf->data(), 1, buf_len); data 134 net/http/http_security_headers.cc memcpy(hash.data(), decoded.data(), hash.size()); data 25 net/http/http_security_headers_unittest.cc memset(hash_value.data(), label, hash_value.size()); data 33 net/http/http_security_headers_unittest.cc reinterpret_cast<char*>(hash_value.data()), hash_value.size()), &base64); data 254 net/http/http_stream_parser.cc memcpy(request_headers_->data(), request.data(), request.size()); data 485 net/http/http_stream_parser.cc const base::StringPiece payload(request_body_read_buf_->data(), result); data 488 net/http/http_stream_parser.cc request_body_send_buf_->data(), data 515 net/http/http_stream_parser.cc CHECK(read_buf_->data()); data 637 net/http/http_stream_parser.cc memcpy(user_read_buf_->data(), data 702 net/http/http_stream_parser.cc result = chunked_decoder_->FilterBuf(user_read_buf_->data(), result); data 742 net/http/http_stream_parser.cc memcpy(read_buf_->StartOfBuffer(), user_read_buf_->data() + result, data 747 net/http/http_stream_parser.cc memmove(read_buf_->data(), data 945 net/http/http_stream_parser.cc memcpy(cursor, payload.data(), payload.size()); data 120 net/http/http_stream_parser_unittest.cc body->AppendChunk(payload.data(), payload.size(), true); data 162 net/http/http_stream_parser_unittest.cc payload.data(), payload.size())); data 176 net/http/http_stream_parser_unittest.cc payload.data(), payload.size())); data 225 net/http/http_stream_parser_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 227 net/http/http_stream_parser_unittest.cc data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); data 230 net/http/http_stream_parser_unittest.cc new DeterministicMockTCPClientSocket(NULL, &data)); data 231 net/http/http_stream_parser_unittest.cc data.set_delegate(transport->AsWeakPtr()); data 265 net/http/http_stream_parser_unittest.cc data.RunFor(1); data 276 net/http/http_stream_parser_unittest.cc data.RunFor(1); data 282 net/http/http_stream_parser_unittest.cc data.RunFor(1); data 291 net/http/http_stream_parser_unittest.cc data.RunFor(1); data 295 net/http/http_stream_parser_unittest.cc data.RunFor(1); data 307 net/http/http_stream_parser_unittest.cc data.RunFor(2); data 318 net/http/http_stream_parser_unittest.cc data.RunFor(1); data 380 net/http/http_stream_parser_unittest.cc DeterministicSocketData data(reads[i], 2, writes, arraysize(writes)); data 381 net/http/http_stream_parser_unittest.cc data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); data 382 net/http/http_stream_parser_unittest.cc data.SetStop(3); data 385 net/http/http_stream_parser_unittest.cc new DeterministicMockTCPClientSocket(NULL, &data)); data 386 net/http/http_stream_parser_unittest.cc data.set_delegate(transport->AsWeakPtr()); data 448 net/http/http_stream_parser_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 450 net/http/http_stream_parser_unittest.cc data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); data 451 net/http/http_stream_parser_unittest.cc data.SetStop(2); data 454 net/http/http_stream_parser_unittest.cc new DeterministicMockTCPClientSocket(NULL, &data)); data 455 net/http/http_stream_parser_unittest.cc data.set_delegate(transport->AsWeakPtr()); data 504 net/http/http_stream_parser_unittest.cc void AddInitialData(const std::string& data) { data 506 net/http/http_stream_parser_unittest.cc int size = data.size(); data 508 net/http/http_stream_parser_unittest.cc memcpy(read_buffer_->StartOfBuffer() + offset, data.data(), size); data 512 net/http/http_stream_parser_unittest.cc void AddRead(const std::string& data) { data 513 net/http/http_stream_parser_unittest.cc reads_.push_back(MockRead(SYNCHRONOUS, sequence_number_++, data.data())); data 624 net/http/http_stream_parser_unittest.cc std::string data = response + next_response; data 627 net/http/http_stream_parser_unittest.cc get_runner.AddRead(data); data 687 net/http/http_stream_parser_unittest.cc std::string data = response + next_response; data 690 net/http/http_stream_parser_unittest.cc get_runner.AddInitialData(data); data 736 net/http/http_stream_parser_unittest.cc std::string data = response + next_response; data 739 net/http/http_stream_parser_unittest.cc get_runner.AddInitialData(data); data 189 net/http/http_transaction_unittest.cc content_.append(read_buf_->data(), result); data 289 net/http/http_transaction_unittest.cc memcpy(buf->data(), data_.data() + data_cursor_, num); data 386 net/http/http_transaction_unittest.cc std::string resp_data = t->data; data 494 net/http/http_transaction_unittest.cc content.append(buf->data(), rv); data 65 net/http/http_transaction_unittest.h const char* data; data 165 net/http/http_util.cc mime_type->data()); data 588 net/http/http_util_unittest.cc std::string raw = HttpUtil::AssembleRawHeaders(input.data(), input.size()); data 956 net/http/http_util_unittest.cc std::string data = "alpha='\\'a\\''; beta=\" b \"; cappa='c;'; delta=\"d\""; data 957 net/http/http_util_unittest.cc HttpUtil::NameValuePairsIterator parser_a(data.begin(), data.end(), ';'); data 991 net/http/http_util_unittest.cc std::string data; data 992 net/http/http_util_unittest.cc HttpUtil::NameValuePairsIterator parser(data.begin(), data.end(), ';'); data 1000 net/http/http_util_unittest.cc std::string data = "alpha=1; beta= 2 ;cappa =' 3; ';" data 1004 net/http/http_util_unittest.cc HttpUtil::NameValuePairsIterator parser(data.begin(), data.end(), ';'); data 1048 net/http/http_util_unittest.cc std::string data = " ; ;;alpha=1; ;; ; beta= 2;cappa=3;;; ; "; data 1049 net/http/http_util_unittest.cc HttpUtil::NameValuePairsIterator parser(data.begin(), data.end(), ';'); data 1065 net/http/http_util_unittest.cc std::string data = "name='value"; data 1066 net/http/http_util_unittest.cc HttpUtil::NameValuePairsIterator parser(data.begin(), data.end(), ';'); data 69 net/http/http_vary_data.cc const char* data; data 70 net/http/http_vary_data.cc if (pickle.ReadBytes(iter, &data, sizeof(request_digest_))) { data 71 net/http/http_vary_data.cc memcpy(&request_digest_, data, sizeof(request_digest_)); data 113 net/http/md4.cc static void md4step(Uint32 state[4], const Uint8 *data) data 117 net/http/md4.cc b2w(X, data, 64); data 100 net/http/mock_http_cache.cc memcpy(buf->data(), &data_[index][offset], num); data 126 net/http/mock_http_cache.cc memcpy(&data_[index][offset], buf->data(), buf_len); data 155 net/http/mock_http_cache.cc memcpy(buf->data(), &data_[1][real_offset], num); data 193 net/http/mock_http_cache.cc memcpy(&data_[1][real_offset], buf->data(), buf_len); data 530 net/http/mock_http_cache.cc return net::HttpCache::ParseResponseInfo(buffer->data(), size, data 543 net/http/mock_http_cache.cc scoped_refptr<net::WrappedIOBuffer> data(new net::WrappedIOBuffer( data 544 net/http/mock_http_cache.cc reinterpret_cast<const char*>(pickle.data()))); data 547 net/http/mock_http_cache.cc int rv = disk_entry->WriteData(0, 0, data.get(), len, cb.callback(), true); data 414 net/http/partial_data.cc disk_cache::Entry* entry, IOBuffer* data, int data_len, data 422 net/http/partial_data.cc rv = entry->ReadSparseData(current_range_start_, data, read_len, data 429 net/http/partial_data.cc data, read_len, callback); data 435 net/http/partial_data.cc disk_cache::Entry* entry, IOBuffer* data, int data_len, data 440 net/http/partial_data.cc current_range_start_, data, data_len, callback); data 446 net/http/partial_data.cc data, data_len, callback, true); data 99 net/http/partial_data.h int CacheRead(disk_cache::Entry* entry, IOBuffer* data, int data_len, data 104 net/http/partial_data.h int CacheWrite(disk_cache::Entry* entry, IOBuffer* data, int data_len, data 92 net/http/proxy_client_socket.cc HttpUtil::AssembleRawHeaders(fake_response_headers.data(), data 99 net/http/transport_security_persister.h virtual bool SerializeData(std::string* data) OVERRIDE; data 89 net/http/transport_security_persister_unittest.cc memset(fp1.data(), 0, fp1.size()); data 91 net/http/transport_security_persister_unittest.cc memset(fp2.data(), 1, fp2.size()); data 103 net/http/transport_security_persister_unittest.cc memset(fp1.data(), 2, fp1.size()); data 104 net/http/transport_security_persister_unittest.cc memset(fp2.data(), 3, fp2.size()); data 174 net/http/transport_security_persister_unittest.cc memset(sha1.data(), '1', sha1.size()); data 182 net/http/transport_security_persister_unittest.cc hashes[0].data()[0] = '2'; data 198 net/http/transport_security_persister_unittest.cc EXPECT_EQ(0, memcmp(domain_state.dynamic_spki_hashes[0].data(), sha1.data(), data 79 net/http/transport_security_state.cc memcpy(hash.data(), sha1_hash, hash.size()); data 320 net/ocsp/nss_ocsp.cc data_.append(buffer_->data(), bytes_read); data 415 net/ocsp/nss_ocsp.cc upload_content_.data(), upload_content_.size())); data 702 net/ocsp/nss_ocsp.cc const std::string& data = req->http_response_data(); data 704 net/ocsp/nss_ocsp.cc if (*http_response_data_len < data.size()) { data 706 net/ocsp/nss_ocsp.cc << " < " << data.size(); data 707 net/ocsp/nss_ocsp.cc *http_response_data_len = data.size(); data 716 net/ocsp/nss_ocsp.cc << " data_len=" << data.size(); data 724 net/ocsp/nss_ocsp.cc *http_response_data = data.data(); data 726 net/ocsp/nss_ocsp.cc *http_response_data_len = data.size(); data 777 net/ocsp/nss_ocsp.cc req->http_response_data().data()[0] != 0x30) { data 277 net/proxy/dhcp_proxy_script_adapter_fetcher_win.cc const char* data, size_t count_bytes) { data 290 net/proxy/dhcp_proxy_script_adapter_fetcher_win.cc std::string result(std::string(data, count_bytes).c_str()); data 83 net/proxy/dhcp_proxy_script_adapter_fetcher_win.h static std::string SanitizeDhcpApiString(const char* data, data 447 net/proxy/proxy_config_service_linux.cc result->push_back(static_cast<char*>(it->data)); data 448 net/proxy/proxy_config_service_linux.cc g_free(it->data); data 94 net/proxy/proxy_resolver_v8.cc return reinterpret_cast<const uint16*>(script_data_->utf16().data()); data 161 net/proxy/proxy_resolver_v8.cc return v8::String::NewFromUtf8(isolate, s.data(), v8::String::kNormalString, data 172 net/proxy/proxy_resolver_v8.cc reinterpret_cast<const uint16_t*>(s->utf16().data()), data 227 net/proxy/proxy_resolver_v8.cc if (!url_canon::IDNToASCII(hostname_utf16.data(), data 236 net/proxy/proxy_resolver_v8.cc bool success = base::UTF16ToUTF8(punycode_output.data(), data 129 net/proxy/proxy_script_fetcher_impl.cc std::string data; data 130 net/proxy/proxy_script_fetcher_impl.cc if (!DataURL::Parse(url, &mime_type, &charset, &data)) data 133 net/proxy/proxy_script_fetcher_impl.cc ConvertResponseToUTF16(charset, data, text); data 281 net/proxy/proxy_script_fetcher_impl.cc bytes_read_so_far_.append(buf_->data(), num_bytes); data 73 net/quic/crypto/aead_base_decrypter.h } data; data 37 net/quic/crypto/aead_base_decrypter_nss.cc memcpy(key_, key.data(), key.size()); data 46 net/quic/crypto/aead_base_decrypter_nss.cc memcpy(nonce_prefix_, nonce_prefix.data(), nonce_prefix.size()); data 69 net/quic/crypto/aead_base_decrypter_nss.cc key_item.data = key_; data 99 net/quic/crypto/aead_base_decrypter_nss.cc param.data = reinterpret_cast<unsigned char*>(&aead_params.data); data 105 net/quic/crypto/aead_base_decrypter_nss.cc reinterpret_cast<const unsigned char*>(ciphertext.data()), data 58 net/quic/crypto/aead_base_decrypter_openssl.cc memcpy(key_, key.data(), key.size()); data 75 net/quic/crypto/aead_base_decrypter_openssl.cc memcpy(nonce_prefix_, nonce_prefix.data(), nonce_prefix.size()); data 91 net/quic/crypto/aead_base_decrypter_openssl.cc reinterpret_cast<const uint8_t*>(nonce.data()), nonce.size(), data 92 net/quic/crypto/aead_base_decrypter_openssl.cc reinterpret_cast<const uint8_t*>(ciphertext.data()), ciphertext.size(), data 93 net/quic/crypto/aead_base_decrypter_openssl.cc reinterpret_cast<const uint8_t*>(associated_data.data()), data 20 net/quic/crypto/aead_base_encrypter.h const unsigned char* data, unsigned int dataLen); data 76 net/quic/crypto/aead_base_encrypter.h } data; data 37 net/quic/crypto/aead_base_encrypter_nss.cc memcpy(key_, key.data(), key.size()); data 46 net/quic/crypto/aead_base_encrypter_nss.cc memcpy(nonce_prefix_, nonce_prefix.data(), nonce_prefix.size()); data 63 net/quic/crypto/aead_base_encrypter_nss.cc key_item.data = key_; data 93 net/quic/crypto/aead_base_encrypter_nss.cc param.data = reinterpret_cast<unsigned char*>(&aead_params.data); data 99 net/quic/crypto/aead_base_encrypter_nss.cc reinterpret_cast<const unsigned char*>(plaintext.data()), data 54 net/quic/crypto/aead_base_encrypter_openssl.cc memcpy(key_, key.data(), key.size()); data 72 net/quic/crypto/aead_base_encrypter_openssl.cc memcpy(nonce_prefix_, nonce_prefix.data(), nonce_prefix.size()); data 86 net/quic/crypto/aead_base_encrypter_openssl.cc reinterpret_cast<const uint8_t*>(nonce.data()), nonce.size(), data 87 net/quic/crypto/aead_base_encrypter_openssl.cc reinterpret_cast<const uint8_t*>(plaintext.data()), plaintext.size(), data 88 net/quic/crypto/aead_base_encrypter_openssl.cc reinterpret_cast<const uint8_t*>(associated_data.data()), data 97 net/quic/crypto/aes_128_gcm_12_decrypter_nss.cc reinterpret_cast<CK_GCM_PARAMS*>(param->data); data 142 net/quic/crypto/aes_128_gcm_12_decrypter_nss.cc my_param.data = reinterpret_cast<unsigned char*>(&ctr_params); data 225 net/quic/crypto/aes_128_gcm_12_decrypter_nss.cc aead_params->len = sizeof(aead_params->data.gcm_params); data 226 net/quic/crypto/aes_128_gcm_12_decrypter_nss.cc CK_GCM_PARAMS* gcm_params = &aead_params->data.gcm_params; data 228 net/quic/crypto/aes_128_gcm_12_decrypter_nss.cc reinterpret_cast<CK_BYTE*>(const_cast<char*>(nonce.data())); data 231 net/quic/crypto/aes_128_gcm_12_decrypter_nss.cc reinterpret_cast<CK_BYTE*>(const_cast<char*>(associated_data.data())); data 328 net/quic/crypto/aes_128_gcm_12_decrypter_test.cc test::CompareCharArraysWithHexError("plaintext", decrypted->data(), data 329 net/quic/crypto/aes_128_gcm_12_decrypter_test.cc pt.length(), pt.data(), pt.length()); data 75 net/quic/crypto/aes_128_gcm_12_encrypter_nss.cc const unsigned char* data, data 82 net/quic/crypto/aes_128_gcm_12_encrypter_nss.cc return pk11_encrypt_func(key, mechanism, param, out, out_len, max_len, data, data 103 net/quic/crypto/aes_128_gcm_12_encrypter_nss.cc reinterpret_cast<CK_GCM_PARAMS*>(param->data); data 148 net/quic/crypto/aes_128_gcm_12_encrypter_nss.cc my_param.data = reinterpret_cast<unsigned char*>(&ctr_params); data 175 net/quic/crypto/aes_128_gcm_12_encrypter_nss.cc const_cast<unsigned char*>(data), data_len) != SECSuccess) { data 224 net/quic/crypto/aes_128_gcm_12_encrypter_nss.cc aead_params->len = sizeof(aead_params->data.gcm_params); data 225 net/quic/crypto/aes_128_gcm_12_encrypter_nss.cc CK_GCM_PARAMS* gcm_params = &aead_params->data.gcm_params; data 227 net/quic/crypto/aes_128_gcm_12_encrypter_nss.cc reinterpret_cast<CK_BYTE*>(const_cast<char*>(nonce.data())); data 230 net/quic/crypto/aes_128_gcm_12_encrypter_nss.cc reinterpret_cast<CK_BYTE*>(const_cast<char*>(associated_data.data())); data 271 net/quic/crypto/aes_128_gcm_12_encrypter_test.cc test::CompareCharArraysWithHexError("ciphertext", encrypted->data(), data 272 net/quic/crypto/aes_128_gcm_12_encrypter_test.cc ct.length(), ct.data(), ct.length()); data 274 net/quic/crypto/aes_128_gcm_12_encrypter_test.cc "authentication tag", encrypted->data() + ct.length(), tag.length(), data 275 net/quic/crypto/aes_128_gcm_12_encrypter_test.cc tag.data(), tag.length()); data 196 net/quic/crypto/cert_compressor.cc uint64 hash = QuicUtils::FNV1a_64_Hash(i->data(), i->size()); data 201 net/quic/crypto/cert_compressor.cc memcpy(&cached_hash, client_cached_cert_hashes.data() + i, data 326 net/quic/crypto/cert_compressor.cc ret.push_back(QuicUtils::FNV1a_64_Hash(i->data(), i->size())); data 369 net/quic/crypto/cert_compressor.cc memcpy(&entry.hash, in.data(), sizeof(uint64)); data 395 net/quic/crypto/cert_compressor.cc memcpy(&entry.set_hash, in.data(), sizeof(uint64)); data 397 net/quic/crypto/cert_compressor.cc memcpy(&entry.index, in.data(), sizeof(uint32)); data 537 net/quic/crypto/cert_compressor.cc const_cast<uint8*>(reinterpret_cast<const uint8*>(certs[i].data())); data 578 net/quic/crypto/cert_compressor.cc memcpy(&uncompressed_size, in.data(), sizeof(uncompressed_size)); data 592 net/quic/crypto/cert_compressor.cc z.next_in = const_cast<uint8*>(reinterpret_cast<const uint8*>(in.data())); data 603 net/quic/crypto/cert_compressor.cc const uint8* dict = reinterpret_cast<const uint8*>(zlib_dict.data()); data 625 net/quic/crypto/cert_compressor.cc memcpy(&cert_len, uncompressed.data(), sizeof(cert_len)); data 23 net/quic/crypto/cert_compressor_test.cc EXPECT_EQ("00", base::HexEncode(compressed.data(), compressed.size())); data 37 net/quic/crypto/cert_compressor_test.cc EXPECT_EQ("0100", base::HexEncode(compressed.substr(0, 2).data(), 2)); data 60 net/quic/crypto/cert_compressor_test.cc EXPECT_EQ(common.data(), data 61 net/quic/crypto/cert_compressor_test.cc base::HexEncode(compressed.data(), compressed.size())); data 73 net/quic/crypto/cert_compressor_test.cc uint64 hash = QuicUtils::FNV1a_64_Hash(chain[0].data(), chain[0].size()); data 79 net/quic/crypto/cert_compressor_test.cc base::HexEncode(hash_bytes.data(), hash_bytes.size()) + data 81 net/quic/crypto/cert_compressor_test.cc base::HexEncode(compressed.data(), compressed.size())); data 97 net/quic/crypto/cert_compressor_test.cc base::HexEncode(bad_entry.data(), bad_entry.size()), data 103 net/quic/crypto/cert_compressor_test.cc base::HexEncode(no_terminator.data(), no_terminator.size()), data 109 net/quic/crypto/cert_compressor_test.cc base::HexEncode(hash_truncated.data(), hash_truncated.size()), data 115 net/quic/crypto/cert_compressor_test.cc base::HexEncode(hash_and_index_truncated.data(), data 123 net/quic/crypto/cert_compressor_test.cc base::HexEncode(without_a_common_cert_set.data(), data 134 net/quic/crypto/cert_compressor_test.cc base::HexEncode(incorrect_hash_and_index.data(), data 67 net/quic/crypto/chacha20_poly1305_decrypter_nss.cc aead_params->len = sizeof(aead_params->data.nss_aead_params); data 68 net/quic/crypto/chacha20_poly1305_decrypter_nss.cc CK_NSS_AEAD_PARAMS* nss_aead_params = &aead_params->data.nss_aead_params; data 70 net/quic/crypto/chacha20_poly1305_decrypter_nss.cc reinterpret_cast<CK_BYTE*>(const_cast<char*>(nonce.data())); data 73 net/quic/crypto/chacha20_poly1305_decrypter_nss.cc reinterpret_cast<CK_BYTE*>(const_cast<char*>(associated_data.data())); data 118 net/quic/crypto/chacha20_poly1305_decrypter_test.cc StringPiece(aad.length() ? aad.data() : NULL, aad.length()), ct)); data 126 net/quic/crypto/chacha20_poly1305_decrypter_test.cc test::CompareCharArraysWithHexError("plaintext", decrypted->data(), data 127 net/quic/crypto/chacha20_poly1305_decrypter_test.cc pt.length(), pt.data(), pt.length()); data 67 net/quic/crypto/chacha20_poly1305_encrypter_nss.cc aead_params->len = sizeof(aead_params->data.nss_aead_params); data 68 net/quic/crypto/chacha20_poly1305_encrypter_nss.cc CK_NSS_AEAD_PARAMS* nss_aead_params = &aead_params->data.nss_aead_params; data 70 net/quic/crypto/chacha20_poly1305_encrypter_nss.cc reinterpret_cast<CK_BYTE*>(const_cast<char*>(nonce.data())); data 73 net/quic/crypto/chacha20_poly1305_encrypter_nss.cc reinterpret_cast<CK_BYTE*>(const_cast<char*>(associated_data.data())); data 84 net/quic/crypto/chacha20_poly1305_encrypter_test.cc StringPiece(aad.length() ? aad.data() : NULL, aad.length()), pt)); data 87 net/quic/crypto/chacha20_poly1305_encrypter_test.cc test::CompareCharArraysWithHexError("ciphertext", encrypted->data(), data 88 net/quic/crypto/chacha20_poly1305_encrypter_test.cc encrypted->length(), ct.data(), data 42 net/quic/crypto/channel_id_nss.cc public_key.u.ec.DEREncodedParams.data = const_cast<unsigned char*>(p256_oid); data 47 net/quic/crypto/channel_id_nss.cc memcpy(&key_buf[1], key.data(), key.size()); data 49 net/quic/crypto/channel_id_nss.cc public_key.u.ec.publicValue.data = key_buf; data 54 net/quic/crypto/channel_id_nss.cc reinterpret_cast<unsigned char*>(const_cast<char*>(signature.data())), data 74 net/quic/crypto/channel_id_nss.cc reinterpret_cast<const unsigned char*>(signed_data.data()), data 49 net/quic/crypto/channel_id_openssl.cc const uint8* key_bytes = reinterpret_cast<const uint8*>(key.data()); data 51 net/quic/crypto/channel_id_openssl.cc reinterpret_cast<const uint8*>(signature.data()); data 81 net/quic/crypto/channel_id_openssl.cc SHA256_Update(&sha256, signed_data.data(), signed_data.size()); data 239 net/quic/crypto/channel_id_test.cc memcpy(bad_key.get(), key.data(), key.size()); data 245 net/quic/crypto/channel_id_test.cc memcpy(bad_signature.get(), signature.data(), signature.size()); data 54 net/quic/crypto/common_cert_set.cc int n = memcmp(a.data(), b, len); data 100 net/quic/crypto/common_cert_set.cc memcpy(&hash, common_set_hashes.data() + i * sizeof(uint64), data 93 net/quic/crypto/common_cert_set_test.cc EXPECT_EQ(0, memcmp(gia.data(), gia_copy.data(), gia.size())); data 172 net/quic/crypto/crypto_framer.cc if (!writer.WriteBytes(it->second.data(), it->second.length())) { data 197 net/quic/crypto/crypto_framer.cc buffer_.append(input.data(), input.length()); data 198 net/quic/crypto/crypto_framer.cc QuicDataReader reader(buffer_.data(), buffer_.length()); data 26 net/quic/crypto/crypto_framer_test.cc char* AsChars(unsigned char* data) { return reinterpret_cast<char*>(data); } data 90 net/quic/crypto/crypto_framer_test.cc scoped_ptr<QuicData> data(framer.ConstructHandshakeMessage(message)); data 91 net/quic/crypto/crypto_framer_test.cc ASSERT_TRUE(data.get() != NULL); data 92 net/quic/crypto/crypto_framer_test.cc test::CompareCharArraysWithHexError("constructed packet", data->data(), data 93 net/quic/crypto/crypto_framer_test.cc data->length(), AsChars(packet), data 127 net/quic/crypto/crypto_framer_test.cc scoped_ptr<QuicData> data(framer.ConstructHandshakeMessage(message)); data 128 net/quic/crypto/crypto_framer_test.cc ASSERT_TRUE(data.get() != NULL); data 130 net/quic/crypto/crypto_framer_test.cc test::CompareCharArraysWithHexError("constructed packet", data->data(), data 131 net/quic/crypto/crypto_framer_test.cc data->length(), AsChars(packet), data 154 net/quic/crypto/crypto_framer_test.cc scoped_ptr<QuicData> data(framer.ConstructHandshakeMessage(message)); data 155 net/quic/crypto/crypto_framer_test.cc ASSERT_TRUE(data.get() != NULL); data 157 net/quic/crypto/crypto_framer_test.cc test::CompareCharArraysWithHexError("constructed packet", data->data(), data 158 net/quic/crypto/crypto_framer_test.cc data->length(), AsChars(packet), data 170 net/quic/crypto/crypto_framer_test.cc scoped_ptr<QuicData> data(framer.ConstructHandshakeMessage(message)); data 171 net/quic/crypto/crypto_framer_test.cc EXPECT_TRUE(data.get() == NULL); data 206 net/quic/crypto/crypto_framer_test.cc scoped_ptr<QuicData> data(framer.ConstructHandshakeMessage(message)); data 207 net/quic/crypto/crypto_framer_test.cc ASSERT_TRUE(data.get() != NULL); data 209 net/quic/crypto/crypto_framer_test.cc test::CompareCharArraysWithHexError("constructed packet", data->data(), data 210 net/quic/crypto/crypto_framer_test.cc data->length(), AsChars(packet), data 244 net/quic/crypto/crypto_framer_test.cc scoped_ptr<QuicData> data(framer.ConstructHandshakeMessage(message)); data 245 net/quic/crypto/crypto_framer_test.cc ASSERT_TRUE(data.get() != NULL); data 247 net/quic/crypto/crypto_framer_test.cc test::CompareCharArraysWithHexError("constructed packet", data->data(), data 248 net/quic/crypto/crypto_framer_test.cc data->length(), AsChars(packet), data 117 net/quic/crypto/crypto_handshake_message.cc *out_tags = reinterpret_cast<const QuicTag*>(it->second.data()); data 148 net/quic/crypto/crypto_handshake_message.cc const unsigned char* data = data 149 net/quic/crypto/crypto_handshake_message.cc reinterpret_cast<const unsigned char*>(value.data()); data 150 net/quic/crypto/crypto_handshake_message.cc size_t size = static_cast<size_t>(data[0]) | data 151 net/quic/crypto/crypto_handshake_message.cc (static_cast<size_t>(data[1]) << 8) | data 152 net/quic/crypto/crypto_handshake_message.cc (static_cast<size_t>(data[2]) << 16); data 160 net/quic/crypto/crypto_handshake_message.cc *out = StringPiece(value.data(), size); data 229 net/quic/crypto/crypto_handshake_message.cc memcpy(out, it->second.data(), len); data 250 net/quic/crypto/crypto_handshake_message.cc memcpy(&value, it->second.data(), sizeof(value)); data 264 net/quic/crypto/crypto_handshake_message.cc memcpy(&tag, it->second.data() + j, sizeof(tag)); data 277 net/quic/crypto/crypto_handshake_message.cc if (decoder.Decode(it->second.data(), it->second.size())) { data 306 net/quic/crypto/crypto_handshake_message.cc ret += "0x" + base::HexEncode(it->second.data(), it->second.size()); data 38 net/quic/crypto/crypto_secret_boxer.cc char* data = &ret[0]; data 41 net/quic/crypto/crypto_secret_boxer.cc rand->RandBytes(data, kBoxNonceSize); data 42 net/quic/crypto/crypto_secret_boxer.cc memcpy(data + kBoxNonceSize, plaintext.data(), plaintext.size()); data 47 net/quic/crypto/crypto_secret_boxer.cc sha256->Update(data, kBoxNonceSize + plaintext.size()); data 48 net/quic/crypto/crypto_secret_boxer.cc sha256->Finish(data + kBoxNonceSize + plaintext.size(), data 66 net/quic/crypto/crypto_secret_boxer.cc char* data = const_cast<char*>(out_storage->data()); data 70 net/quic/crypto/crypto_secret_boxer.cc memcpy(data, ciphertext.data() + kBoxNonceSize, plaintext_len); data 76 net/quic/crypto/crypto_secret_boxer.cc sha256->Update(ciphertext.data(), ciphertext.size() - crypto::kSHA256Length); data 81 net/quic/crypto/crypto_secret_boxer.cc if (0 != memcmp(ciphertext.data() + ciphertext.size() - crypto::kSHA256Length, data 86 net/quic/crypto/crypto_secret_boxer.cc out->set(data, plaintext_len); data 59 net/quic/crypto/crypto_server_test.cc memcpy(orbit_, orbit.data(), orbit.size()); data 65 net/quic/crypto/crypto_server_test.cc nonce_hex_ = "#" + base::HexEncode(nonce_str.data(), nonce_str.size()); data 74 net/quic/crypto/crypto_server_test.cc "VER\0", client_version_.data(), data 84 net/quic/crypto/crypto_server_test.cc srct_hex_ = "#" + base::HexEncode(srct.data(), srct.size()); data 92 net/quic/crypto/crypto_server_test.cc scid_hex_ = "#" + base::HexEncode(scid.data(), scid.size()); data 146 net/quic/crypto/crypto_server_test.cc ASSERT_TRUE(decoder.Decode(address.data(), address.size())); data 258 net/quic/crypto/crypto_server_test.cc "VER\0", client_version.data(), data 277 net/quic/crypto/crypto_server_test.cc "VER\0", client_version_.data(), data 290 net/quic/crypto/crypto_server_test.cc "VER\0", client_version_.data(), data 307 net/quic/crypto/crypto_server_test.cc "VER\0", client_version_.data(), data 324 net/quic/crypto/crypto_server_test.cc "VER\0", client_version_.data(), data 341 net/quic/crypto/crypto_server_test.cc "VER\0", bad_version.data(), data 355 net/quic/crypto/crypto_server_test.cc "VER\0", client_version_.data(), data 438 net/quic/crypto/crypto_server_test.cc hash->Update(serialized.data(), serialized.length()); data 443 net/quic/crypto/crypto_server_test.cc EXPECT_TRUE(0 == memcmp(digest, scid_str.data(), sizeof(digest))); data 456 net/quic/crypto/crypto_server_test.cc "VER\0", client_version_.data(), data 472 net/quic/crypto/crypto_server_test.cc reinterpret_cast<const uint8 *>(kOrbit.data()), data 492 net/quic/crypto/crypto_server_test.cc "VER\0", client_version_.data(), data 536 net/quic/crypto/crypto_server_test.cc "VER\0", client_version_.data(), data 40 net/quic/crypto/crypto_utils.cc memcpy(&(*nonce)[bytes_written], orbit.data(), orbit.size()); data 39 net/quic/crypto/curve25519_key_exchange.cc memcpy(ka->private_key_, private_key.data(), data 73 net/quic/crypto/curve25519_key_exchange.cc reinterpret_cast<const uint8*>(peer_public_value.data()), data 29 net/quic/crypto/local_strike_register_client.cc return memcmp(orbit.data(), strike_register_.orbit(), kOrbitSize) == 0; data 40 net/quic/crypto/local_strike_register_client.cc reinterpret_cast<const uint8*>(nonce.data()), data 27 net/quic/crypto/null_decrypter.cc QuicDataReader reader(ciphertext.data(), ciphertext.length()); data 42 net/quic/crypto/null_decrypter.cc memcpy(output, plaintext.data(), plaintext.length()); data 52 net/quic/crypto/null_decrypter.cc QuicDataReader reader(ciphertext.data(), ciphertext.length()); data 68 net/quic/crypto/null_decrypter.cc return new QuicData(plaintext.data(), plaintext.length()); data 88 net/quic/crypto/null_decrypter.cc uint128 NullDecrypter::ComputeHash(const string& data) const { data 89 net/quic/crypto/null_decrypter.cc uint128 correct_hash = QuicUtils::FNV1a_128_Hash(data.data(), data.length()); data 40 net/quic/crypto/null_decrypter.h uint128 ComputeHash(const std::string& data) const; data 26 net/quic/crypto/null_decrypter_test.cc const char* data = reinterpret_cast<const char*>(expected); data 30 net/quic/crypto/null_decrypter_test.cc decrypter.DecryptPacket(0, "hello world!", StringPiece(data, len))); data 45 net/quic/crypto/null_decrypter_test.cc const char* data = reinterpret_cast<const char*>(expected); data 49 net/quic/crypto/null_decrypter_test.cc decrypter.DecryptPacket(0, "hello world!", StringPiece(data, len))); data 60 net/quic/crypto/null_decrypter_test.cc const char* data = reinterpret_cast<const char*>(expected); data 64 net/quic/crypto/null_decrypter_test.cc decrypter.DecryptPacket(0, "hello world!", StringPiece(data, len))); data 31 net/quic/crypto/null_encrypter.cc uint128 hash = QuicUtils::FNV1a_128_Hash(buffer.data(), buffer.length()); data 33 net/quic/crypto/null_encrypter.cc memcpy(output + GetHashLength(), plaintext.data(), plaintext.size()); data 31 net/quic/crypto/null_encrypter_test.cc "encrypted data", encrypted->data(), encrypted->length(), data 26 net/quic/crypto/p256_key_exchange_nss.cc return vector<uint8>(piece.data(), piece.data() + piece.length()); data 47 net/quic/crypto/p256_key_exchange_nss.cc const uint8* data = reinterpret_cast<const uint8*>(key.data()); data 48 net/quic/crypto/p256_key_exchange_nss.cc size_t size = static_cast<size_t>(data[0]) | data 49 net/quic/crypto/p256_key_exchange_nss.cc (static_cast<size_t>(data[1]) << 8); data 56 net/quic/crypto/p256_key_exchange_nss.cc StringPiece private_piece(key.data(), size); data 81 net/quic/crypto/p256_key_exchange_nss.cc !public_key->u.ec.publicValue.data || data 82 net/quic/crypto/p256_key_exchange_nss.cc public_key->u.ec.publicValue.data[0] != kUncompressedECPointForm) { data 95 net/quic/crypto/p256_key_exchange_nss.cc !public_key->u.ec.DEREncodedParams.data || data 96 net/quic/crypto/p256_key_exchange_nss.cc public_key->u.ec.DEREncodedParams.data[0] != SEC_ASN1_OBJECT_ID || data 97 net/quic/crypto/p256_key_exchange_nss.cc public_key->u.ec.DEREncodedParams.data[1] != oid_data->oid.len || data 98 net/quic/crypto/p256_key_exchange_nss.cc memcmp(public_key->u.ec.DEREncodedParams.data + 2, data 99 net/quic/crypto/p256_key_exchange_nss.cc oid_data->oid.data, oid_data->oid.len) != 0) { data 104 net/quic/crypto/p256_key_exchange_nss.cc public_key->u.ec.publicValue.data); data 176 net/quic/crypto/p256_key_exchange_nss.cc peer_public_key.u.ec.DEREncodedParams.data = data 177 net/quic/crypto/p256_key_exchange_nss.cc key_pair_->public_key()->u.ec.DEREncodedParams.data; data 180 net/quic/crypto/p256_key_exchange_nss.cc peer_public_key.u.ec.publicValue.data = data 181 net/quic/crypto/p256_key_exchange_nss.cc reinterpret_cast<uint8*>(const_cast<char*>(peer_public_value.data())); data 216 net/quic/crypto/p256_key_exchange_nss.cc if (!key_data || !key_data->data || key_data->len != kP256FieldBytes) { data 221 net/quic/crypto/p256_key_exchange_nss.cc out_result->assign(reinterpret_cast<char*>(key_data->data), key_data->len); data 32 net/quic/crypto/p256_key_exchange_openssl.cc const uint8* keyp = reinterpret_cast<const uint8*>(key.data()); data 94 net/quic/crypto/p256_key_exchange_openssl.cc reinterpret_cast<const uint8*>(peer_public_value.data()), data 260 net/quic/crypto/proof_verifier_chromium.cc reinterpret_cast<const uint8*>(signature.data()), signature.size(), data 261 net/quic/crypto/proof_verifier_chromium.cc reinterpret_cast<const uint8*>(spki.data()), spki.size()); data 287 net/quic/crypto/proof_verifier_chromium.cc reinterpret_cast<const uint8*>(signature.data()), data 289 net/quic/crypto/proof_verifier_chromium.cc reinterpret_cast<const uint8*>(spki.data()), data 301 net/quic/crypto/proof_verifier_chromium.cc verifier.VerifyUpdate(reinterpret_cast<const uint8*>(signed_data.data()), data 317 net/quic/crypto/quic_crypto_client_config.cc hashes.push_back(QuicUtils::FNV1a_64_Hash(i->data(), i->size())); data 459 net/quic/crypto/quic_crypto_client_config.cc hkdf_input.append(client_hello_serialized.data(), data 502 net/quic/crypto/quic_crypto_client_config.cc out_params->hkdf_input_suffix.append(client_hello_serialized.data(), data 224 net/quic/crypto/quic_crypto_server_config.cc encoded_public_values.append(curve25519_public_value.data(), data 236 net/quic/crypto/quic_crypto_server_config.cc encoded_public_values.append(p256_public_value.data(), data 265 net/quic/crypto/quic_crypto_server_config.cc memcpy(orbit_bytes, options.orbit.data(), sizeof(orbit_bytes)); data 282 net/quic/crypto/quic_crypto_server_config.cc hash->Update(serialized->data(), serialized->length()); data 333 net/quic/crypto/quic_crypto_server_config.cc << base::HexEncode(config->id.data(), config->id.size()); data 393 net/quic/crypto/quic_crypto_server_config.cc config->id.data(), config->id.size()) data 406 net/quic/crypto/quic_crypto_server_config.cc config->id.data(), config->id.size()) data 599 net/quic/crypto/quic_crypto_server_config.cc memcpy(sni_tmp.get(), info.sni.data(), info.sni.length()); data 610 net/quic/crypto/quic_crypto_server_config.cc hkdf_suffix.append(client_hello_serialized.data(), data 627 net/quic/crypto/quic_crypto_server_config.cc hkdf_input.append(client_hello_serialized.data(), data 1057 net/quic/crypto/quic_crypto_server_config.cc memcpy(config->orbit, orbit.data(), sizeof(config->orbit)); data 1243 net/quic/crypto/quic_crypto_server_config.cc if (!source_address_token.ParseFromArray(plaintext.data(), data 1312 net/quic/crypto/quic_crypto_server_config.cc memcpy(server_nonce, plaintext.data(), 4); data 1314 net/quic/crypto/quic_crypto_server_config.cc memcpy(server_nonce + 4 + sizeof(server_nonce_orbit_), plaintext.data() + 4, data 20 net/quic/crypto/quic_random.cc virtual void RandBytes(void* data, size_t len) OVERRIDE; data 37 net/quic/crypto/quic_random.cc void DefaultRandom::RandBytes(void* data, size_t len) { data 38 net/quic/crypto/quic_random.cc crypto::RandBytes(data, len); data 25 net/quic/crypto/quic_random.h virtual void RandBytes(void* data, size_t len) = 0; data 47 net/quic/crypto/quic_server_info.cc bool QuicServerInfo::Parse(const string& data) { data 52 net/quic/crypto/quic_server_info.cc bool r = ParseInner(data); data 58 net/quic/crypto/quic_server_info.cc bool QuicServerInfo::ParseInner(const string& data) { data 62 net/quic/crypto/quic_server_info.cc if (data.empty()) { data 66 net/quic/crypto/quic_server_info.cc Pickle p(data.data(), data.size()); data 136 net/quic/crypto/quic_server_info.cc return string(reinterpret_cast<const char *>(p.data()), p.size()); data 89 net/quic/crypto/quic_server_info.h bool Parse(const std::string& data); data 95 net/quic/crypto/quic_server_info.h bool ParseInner(const std::string& data); data 219 net/quic/crypto/strike_register_test.cc TimeFromBytes(reinterpret_cast<const uint8*>(oldest->data())); data 222 net/quic/crypto/strike_register_test.cc uint32 t = TimeFromBytes(reinterpret_cast<const uint8*>(it->data())); data 224 net/quic/crypto/strike_register_test.cc (t == oldest_time && memcmp(it->data(), oldest->data(), 32) < 0)) { data 17 net/quic/port_suggester.cc reinterpret_cast<const unsigned char*>(server.host().data()), data 674 net/quic/quic_client_session.cc QuicEncryptedPacket packet(buffer->data(), result); data 764 net/quic/quic_connection.cc last_stream_frames_[i].data.TotalBufferSize(); data 931 net/quic/quic_connection.cc version_packet->data(), version_packet->length(), data 952 net/quic/quic_connection.cc const IOVector& data, data 956 net/quic/quic_connection.cc if (!fin && data.Empty()) { data 971 net/quic/quic_connection.cc packet_generator_.ConsumeData(id, data, offset, fin, notifier); data 1309 net/quic/quic_connection.cc WriteResult result = writer_->WritePacket(encrypted->data(), data 231 net/quic/quic_connection.h const IOVector& data, data 98 net/quic/quic_connection_logger.cc dict->SetInteger("length", frame->data.TotalBufferSize()); data 567 net/quic/quic_connection_logger.cc decoder.Decode(address.data(), address.size())) { data 109 net/quic/quic_connection_test.cc memcpy(output, plaintext.data(), plaintext.size()); data 175 net/quic/quic_connection_test.cc memcpy(output, ciphertext.data(), *output_length); data 190 net/quic/quic_connection_test.cc memcpy(buf, ciphertext.data(), len); data 200 net/quic/quic_connection_test.cc return ciphertext.data()[ciphertext.size()-1]; data 210 net/quic/quic_connection_test.cc if (ciphertext.data()[i] != tag) { data 299 net/quic/quic_connection_test.cc memcpy(&final_bytes_of_last_packet_, packet.data() + packet.length() - 4, data 451 net/quic/quic_connection_test.cc StringPiece data, data 456 net/quic/quic_connection_test.cc if (!data.empty()) { data 457 net/quic/quic_connection_test.cc data_iov.Append(const_cast<char*>(data.data()), data.size()); data 743 net/quic/quic_connection_test.cc data_packet->mutable_data()[i] ^= data_packet->data()[i]; data 758 net/quic/quic_connection_test.cc StringPiece data, data 765 net/quic/quic_connection_test.cc connection_.SendStreamDataWithString(id, data, offset, fin, NULL); data 1732 net/quic/quic_connection_test.cc char data[] = "ABCD"; data 1734 net/quic/quic_connection_test.cc data_iov.AppendNoCoalesce(data, 2); data 1735 net/quic/quic_connection_test.cc data_iov.AppendNoCoalesce(data + 2, 2); data 1748 net/quic/quic_connection_test.cc (frame.data.iovec()[0].iov_base), data 1749 net/quic/quic_connection_test.cc (frame.data.iovec()[0].iov_len))); data 1757 net/quic/quic_connection_test.cc char data[] = "ABCD"; data 1759 net/quic/quic_connection_test.cc data_iov.AppendNoCoalesce(data, 2); data 1760 net/quic/quic_connection_test.cc data_iov.AppendNoCoalesce(data + 2, 2); data 77 net/quic/quic_crypto_client_stream_test.cc stream_->ProcessRawData(message_data_->data(), message_data_->length()); data 88 net/quic/quic_crypto_client_stream_test.cc stream_->ProcessRawData(message_data_->data(), message_data_->length()); data 141 net/quic/quic_crypto_server_stream.cc hash->Update(channel_id.data(), channel_id.size()); data 85 net/quic/quic_crypto_server_stream_test.cc reinterpret_cast<const uint8 *>(orbit.data()), data 233 net/quic/quic_crypto_server_stream_test.cc stream_.ProcessRawData(message_data_->data(), message_data_->length()); data 241 net/quic/quic_crypto_server_stream_test.cc stream_.ProcessRawData(message_data_->data(), message_data_->length()); data 37 net/quic/quic_crypto_stream.cc uint32 QuicCryptoStream::ProcessRawData(const char* data, data 44 net/quic/quic_crypto_stream.cc if (!crypto_framer_.ProcessInput(StringPiece(data, data_len))) { data 58 net/quic/quic_crypto_stream.cc const QuicData& data = message.GetSerialized(); data 63 net/quic/quic_crypto_stream.cc WriteOrBufferData(string(data.data(), data.length()), false, NULL); data 42 net/quic/quic_crypto_stream.h virtual uint32 ProcessRawData(const char* data, uint32 data_len) OVERRIDE; data 82 net/quic/quic_crypto_stream_test.cc stream_.ProcessRawData(message_data_->data(), data 93 net/quic/quic_crypto_stream_test.cc string bad(message_data_->data(), message_data_->length()); data 102 net/quic/quic_crypto_stream_test.cc EXPECT_EQ(0u, stream_.ProcessRawData(bad.data(), bad.length())); data 14 net/quic/quic_data_reader.cc QuicDataReader::QuicDataReader(const char* data, const size_t len) data 15 net/quic/quic_data_reader.cc : data_(data), data 32 net/quic/quic_data_reader.h QuicDataReader(const char* data, const size_t len); data 75 net/quic/quic_data_stream.cc decompressed_headers_.data() + bytes_consumed, bytes_to_read); data 94 net/quic/quic_data_stream.cc const_cast<char*>(decompressed_headers_.data())); data 119 net/quic/quic_data_stream.cc uint32 QuicDataStream::ProcessRawData(const char* data, uint32 data_len) { data 124 net/quic/quic_data_stream.cc return ProcessData(data, data_len); data 140 net/quic/quic_data_stream.cc size_t bytes_processed = ProcessData(decompressed_headers_.data(), data 61 net/quic/quic_data_stream.h virtual uint32 ProcessRawData(const char* data, uint32 data_len) OVERRIDE; data 70 net/quic/quic_data_stream.h virtual uint32 ProcessData(const char* data, uint32 data_len) = 0; data 44 net/quic/quic_data_stream_test.cc virtual uint32 ProcessData(const char* data, uint32 data_len) OVERRIDE { data 47 net/quic/quic_data_stream_test.cc data_ += string(data, data_len); data 124 net/quic/quic_data_stream_test.cc EXPECT_EQ(headers, stream_->data()); data 127 net/quic/quic_data_stream_test.cc EXPECT_EQ(headers, stream_->data()); data 138 net/quic/quic_data_stream_test.cc EXPECT_EQ(headers, stream_->data()); data 143 net/quic/quic_data_stream_test.cc EXPECT_EQ(headers + body, stream_->data()); data 156 net/quic/quic_data_stream_test.cc StringPiece fragment(headers.data() + offset, data 163 net/quic/quic_data_stream_test.cc StringPiece fragment(body.data() + offset, data 169 net/quic/quic_data_stream_test.cc stream_->data()) << "fragment_size: " << fragment_size; data 179 net/quic/quic_data_stream_test.cc StringPiece headers1(headers.data(), split_point); data 182 net/quic/quic_data_stream_test.cc StringPiece headers2(headers.data() + split_point, data 187 net/quic/quic_data_stream_test.cc StringPiece fragment1(body.data(), split_point); data 191 net/quic/quic_data_stream_test.cc StringPiece fragment2(body.data() + split_point, data 198 net/quic/quic_data_stream_test.cc stream_->data()) << "split_point: " << split_point; data 209 net/quic/quic_data_stream_test.cc EXPECT_EQ(headers, stream_->data()); data 235 net/quic/quic_data_stream_test.cc EXPECT_EQ(headers, stream_->data()); data 246 net/quic/quic_data_stream_test.cc string data = headers + body; data 247 net/quic/quic_data_stream_test.cc for (size_t i = 0; i < data.length(); ++i) { data 250 net/quic/quic_data_stream_test.cc EXPECT_EQ(data.data()[i], buffer[0]); data 260 net/quic/quic_data_stream_test.cc EXPECT_EQ(headers, stream_->data()); data 273 net/quic/quic_data_stream_test.cc string data = headers + body; data 274 net/quic/quic_data_stream_test.cc for (size_t i = 0; i < data.length(); i += 2) { data 277 net/quic/quic_data_stream_test.cc ASSERT_EQ(data.data()[i], buffer1[0]) << i; data 278 net/quic/quic_data_stream_test.cc ASSERT_EQ(data.data()[i + 1], buffer2[0]) << i; data 345 net/quic/quic_data_stream_test.cc EXPECT_EQ(headers, stream_->data()); data 386 net/quic/quic_data_stream_test.cc EXPECT_EQ(headers, stream_->data()); data 431 net/quic/quic_data_stream_test.cc EXPECT_EQ(headers, stream_->data()); data 105 net/quic/quic_data_writer.cc return WriteBytes(val.data(), val.size()); data 108 net/quic/quic_data_writer.cc bool QuicDataWriter::WriteIOVector(const IOVector& data) { data 109 net/quic/quic_data_writer.cc char *dest = BeginWrite(data.TotalBufferSize()); data 113 net/quic/quic_data_writer.cc for (size_t i = 0; i < data.Size(); ++i) { data 114 net/quic/quic_data_writer.cc WriteBytes(data.iovec()[i].iov_base, data.iovec()[i].iov_len); data 136 net/quic/quic_data_writer.cc bool QuicDataWriter::WriteBytes(const void* data, size_t data_len) { data 142 net/quic/quic_data_writer.cc memcpy(dest, data, data_len); data 51 net/quic/quic_data_writer.h bool WriteIOVector(const IOVector& data); data 52 net/quic/quic_data_writer.h bool WriteBytes(const void* data, size_t data_len); data 25 net/quic/quic_data_writer_test.cc scoped_ptr<char[]> data(writer.take()); data 27 net/quic/quic_data_writer_test.cc EXPECT_EQ(1, data[0]); data 28 net/quic/quic_data_writer_test.cc EXPECT_EQ(2, data[1]); data 29 net/quic/quic_data_writer_test.cc EXPECT_EQ(3, data[2]); data 30 net/quic/quic_data_writer_test.cc EXPECT_EQ(4, data[3]); data 85 net/quic/quic_data_writer_test.cc scoped_ptr<char[]> data(writer.take()); data 86 net/quic/quic_data_writer_test.cc EXPECT_EQ(test_cases[i].encoded, *reinterpret_cast<uint16*>(data.get())); data 151 net/quic/quic_data_writer_test.cc scoped_ptr<char[]> data(writer.take()); data 153 net/quic/quic_data_writer_test.cc EXPECT_EQ(i-1, *reinterpret_cast<uint16*>(data.get())); data 155 net/quic/quic_data_writer_test.cc EXPECT_EQ(i, *reinterpret_cast<uint16*>(data.get() + 2)); data 157 net/quic/quic_data_writer_test.cc EXPECT_EQ(i < 4096? i+1 : i, *reinterpret_cast<uint16*>(data.get() + 4)); data 184 net/quic/quic_end_to_end_unittest.cc new UploadBytesElementReader(request_body_.data(), data 138 net/quic/quic_fec_group.cc memcpy(payload_parity_, payload.data(), payload.size()); data 497 net/quic/quic_framer.cc if (!writer.WriteBytes(fec.redundancy.data(), fec.redundancy.length())) { data 546 net/quic/quic_framer.cc if (!writer.WriteBytes(reset_serialized.data(), reset_serialized.length())) { data 581 net/quic/quic_framer.cc reader_.reset(new QuicDataReader(packet.data(), packet.length())); data 726 net/quic/quic_framer.cc if (address_coder.Decode(address.data(), address.length())) { data 753 net/quic/quic_framer.cc reader_.reset(new QuicDataReader(payload.data(), payload.length())); data 1348 net/quic/quic_framer.cc frame->data.Clear(); data 1350 net/quic/quic_framer.cc frame->data.Append(const_cast<char*>(frame_data.data()), frame_data.size()); data 1716 net/quic/quic_framer.cc encrypted.data() + kStartOfHashData, GetStartOfEncryptedData( data 1782 net/quic/quic_framer.cc memcpy(buffer, header_data.data(), header_data.length()); data 1783 net/quic/quic_framer.cc memcpy(buffer + header_data.length(), out->data(), out->length()); data 1845 net/quic/quic_framer.cc reader_.reset(new QuicDataReader(decrypted_->data(), decrypted_->length())); data 1884 net/quic/quic_framer.cc frame.stream_frame->data.TotalBufferSize(); data 2044 net/quic/quic_framer.cc if (!writer->WriteUInt16(frame.data.TotalBufferSize())) { data 2050 net/quic/quic_framer.cc if (!writer->WriteIOVector(frame.data)) { data 137 net/quic/quic_framer_test.cc return new QuicData(plaintext.data(), plaintext.length()); data 185 net/quic/quic_framer_test.cc return new QuicData(ciphertext.data(), ciphertext.length()); data 441 net/quic/quic_framer_test.cc char* AsChars(unsigned char* data) { data 442 net/quic/quic_framer_test.cc return reinterpret_cast<char*>(data); data 2255 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 2257 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 2260 net/quic/quic_framer_test.cc data->data(), data->length(), data 2317 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 2319 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 2322 net/quic/quic_framer_test.cc data->data(), data->length(), data 2392 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 2394 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 2397 net/quic/quic_framer_test.cc data->data(), data->length(), data 2474 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 2476 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 2479 net/quic/quic_framer_test.cc data->data(), data->length(), data 2553 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 2555 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 2558 net/quic/quic_framer_test.cc data->data(), data->length(), data 3698 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 3700 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 3703 net/quic/quic_framer_test.cc data->data(), data->length(), data 3745 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 3747 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 3750 net/quic/quic_framer_test.cc data->data(), data->length(), data 3792 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 3794 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 3797 net/quic/quic_framer_test.cc data->data(), data->length(), data 3839 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 3841 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 3844 net/quic/quic_framer_test.cc data->data(), data->length(), data 3863 net/quic/quic_framer_test.cc stream_frame.data = MakeIOVector("hello world!"); data 3893 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 3895 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 3898 net/quic/quic_framer_test.cc data->data(), data->length(), data 3917 net/quic/quic_framer_test.cc stream_frame.data = MakeIOVector("hello world!"); data 3949 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 3951 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 3954 net/quic/quic_framer_test.cc data->data(), data->length(), data 3972 net/quic/quic_framer_test.cc stream_frame.data = MakeIOVector("hello world!"); data 4005 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 4007 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 4010 net/quic/quic_framer_test.cc data->data(), data->length(), data 4032 net/quic/quic_framer_test.cc scoped_ptr<QuicEncryptedPacket> data( data 4036 net/quic/quic_framer_test.cc data->data(), data->length(), data 4095 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 4097 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 4100 net/quic/quic_framer_test.cc data->data(), data->length(), data 4166 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 4168 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 4171 net/quic/quic_framer_test.cc data->data(), data->length(), data 4235 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 4237 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 4240 net/quic/quic_framer_test.cc data->data(), data->length(), data 4284 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 4286 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 4289 net/quic/quic_framer_test.cc data->data(), data->length(), data 4335 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 4337 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 4340 net/quic/quic_framer_test.cc data->data(), data->length(), data 4408 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 4410 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 4413 net/quic/quic_framer_test.cc data->data(), data->length(), data 4483 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 4485 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 4488 net/quic/quic_framer_test.cc data->data(), data->length(), data 4533 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 4535 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 4538 net/quic/quic_framer_test.cc data->data(), data->length(), data 4580 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 4582 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 4585 net/quic/quic_framer_test.cc data->data(), data->length(), data 4606 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data; data 4608 net/quic/quic_framer_test.cc data.reset(framer_.BuildUnsizedDataPacket(header, frames).packet), data 4610 net/quic/quic_framer_test.cc ASSERT_TRUE(data == NULL); data 4662 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 4664 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 4667 net/quic/quic_framer_test.cc data->data(), data->length(), data 4724 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 4726 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 4729 net/quic/quic_framer_test.cc data->data(), data->length(), data 4775 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 4777 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 4780 net/quic/quic_framer_test.cc data->data(), data->length(), data 4829 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 4831 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 4834 net/quic/quic_framer_test.cc data->data(), data->length(), data 4877 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 4879 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 4881 net/quic/quic_framer_test.cc test::CompareCharArraysWithHexError("constructed packet", data->data(), data 4882 net/quic/quic_framer_test.cc data->length(), AsChars(packet), data 4928 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 4930 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 4932 net/quic/quic_framer_test.cc test::CompareCharArraysWithHexError("constructed packet", data->data(), data 4933 net/quic/quic_framer_test.cc data->length(), AsChars(packet), data 4978 net/quic/quic_framer_test.cc scoped_ptr<QuicEncryptedPacket> data( data 4980 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 4983 net/quic/quic_framer_test.cc data->data(), data->length(), data 5030 net/quic/quic_framer_test.cc scoped_ptr<QuicEncryptedPacket> data( data 5032 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 5035 net/quic/quic_framer_test.cc data->data(), data->length(), data 5075 net/quic/quic_framer_test.cc scoped_ptr<QuicPacket> data( data 5077 net/quic/quic_framer_test.cc ASSERT_TRUE(data != NULL); data 5080 net/quic/quic_framer_test.cc data->data(), data->length(), data 70 net/quic/quic_headers_stream.cc const char* data, data 198 net/quic/quic_headers_stream.cc WriteOrBufferData(StringPiece(frame->data(), frame->size()), false, data 203 net/quic/quic_headers_stream.cc uint32 QuicHeadersStream::ProcessRawData(const char* data, data 205 net/quic/quic_headers_stream.cc return spdy_framer_.ProcessInput(data, data_len); data 37 net/quic/quic_headers_stream.h virtual uint32 ProcessRawData(const char* data, uint32 data_len) OVERRIDE; data 34 net/quic/quic_headers_stream_test.cc const char* data, data 89 net/quic/quic_headers_stream_test.cc QuicConsumedData SaveIov(const IOVector& data) { data 90 net/quic/quic_headers_stream_test.cc const iovec* iov = data.iovec(); data 91 net/quic/quic_headers_stream_test.cc int count = data.Capacity(); data 98 net/quic/quic_headers_stream_test.cc bool SaveHeaderData(const char* data, int len) { data 99 net/quic/quic_headers_stream_test.cc saved_header_data_.append(data, len); data 103 net/quic/quic_headers_stream_test.cc void SaveHeaderDataStringPiece(StringPiece data) { data 104 net/quic/quic_headers_stream_test.cc saved_header_data_.append(data.data(), data.length()); data 141 net/quic/quic_headers_stream_test.cc framer_.ProcessInput(saved_data_.data(), saved_data_.length()); data 151 net/quic/quic_headers_stream_test.cc framer_.ParseHeaderBlockInBuffer(saved_header_data_.data(), data 230 net/quic/quic_headers_stream_test.cc headers_stream_->ProcessRawData(frame->data(), frame->size()); data 239 net/quic/quic_headers_stream_test.cc SpdyDataIR data(2, ""); data 240 net/quic/quic_headers_stream_test.cc scoped_ptr<SpdySerializedFrame> frame(framer_.SerializeFrame(data)); data 246 net/quic/quic_headers_stream_test.cc headers_stream_->ProcessRawData(frame->data(), frame->size()); data 250 net/quic/quic_headers_stream_test.cc SpdyRstStreamIR data(2, RST_STREAM_PROTOCOL_ERROR, ""); data 251 net/quic/quic_headers_stream_test.cc scoped_ptr<SpdySerializedFrame> frame(framer_.SerializeFrame(data)); data 258 net/quic/quic_headers_stream_test.cc headers_stream_->ProcessRawData(frame->data(), frame->size()); data 262 net/quic/quic_headers_stream_test.cc SpdySettingsIR data; data 263 net/quic/quic_headers_stream_test.cc data.AddSetting(SETTINGS_UPLOAD_BANDWIDTH, true, true, 0); data 264 net/quic/quic_headers_stream_test.cc scoped_ptr<SpdySerializedFrame> frame(framer_.SerializeFrame(data)); data 271 net/quic/quic_headers_stream_test.cc headers_stream_->ProcessRawData(frame->data(), frame->size()); data 275 net/quic/quic_headers_stream_test.cc SpdyPingIR data(1); data 276 net/quic/quic_headers_stream_test.cc scoped_ptr<SpdySerializedFrame> frame(framer_.SerializeFrame(data)); data 282 net/quic/quic_headers_stream_test.cc headers_stream_->ProcessRawData(frame->data(), frame->size()); data 286 net/quic/quic_headers_stream_test.cc SpdyGoAwayIR data(1, GOAWAY_PROTOCOL_ERROR, "go away"); data 287 net/quic/quic_headers_stream_test.cc scoped_ptr<SpdySerializedFrame> frame(framer_.SerializeFrame(data)); data 293 net/quic/quic_headers_stream_test.cc headers_stream_->ProcessRawData(frame->data(), frame->size()); data 297 net/quic/quic_headers_stream_test.cc SpdyHeadersIR data(1); data 298 net/quic/quic_headers_stream_test.cc scoped_ptr<SpdySerializedFrame> frame(framer_.SerializeFrame(data)); data 304 net/quic/quic_headers_stream_test.cc headers_stream_->ProcessRawData(frame->data(), frame->size()); data 308 net/quic/quic_headers_stream_test.cc SpdyWindowUpdateIR data(1, 1); data 309 net/quic/quic_headers_stream_test.cc scoped_ptr<SpdySerializedFrame> frame(framer_.SerializeFrame(data)); data 316 net/quic/quic_headers_stream_test.cc headers_stream_->ProcessRawData(frame->data(), frame->size()); data 183 net/quic/quic_http_stream.cc scoped_refptr<IOBufferWithSize> data = response_body_.front(); data 184 net/quic/quic_http_stream.cc const int bytes_to_copy = std::min(buf_len, data->size()); data 185 net/quic/quic_http_stream.cc memcpy(&(buf->data()[bytes_read]), data->data(), bytes_to_copy); data 187 net/quic/quic_http_stream.cc if (bytes_to_copy == data->size()) { data 190 net/quic/quic_http_stream.cc const int bytes_remaining = data->size() - bytes_to_copy; data 192 net/quic/quic_http_stream.cc memcpy(new_buffer->data(), &(data->data()[bytes_to_copy]), data 290 net/quic/quic_http_stream.cc int QuicHttpStream::OnDataReceived(const char* data, int length) { data 301 net/quic/quic_http_stream.cc memcpy(read_buf_->data(), data, length); data 311 net/quic/quic_http_stream.cc BufferResponseBody(data, length); data 316 net/quic/quic_http_stream.cc memcpy(user_buffer_->data(), data, length); data 318 net/quic/quic_http_stream.cc memcpy(user_buffer_->data(), data, user_buffer_len_); data 320 net/quic/quic_http_stream.cc BufferResponseBody(data + user_buffer_len_, delta); data 485 net/quic/quic_http_stream.cc base::StringPiece data(request_body_buf_->data(), len); data 487 net/quic/quic_http_stream.cc data, eof, data 514 net/quic/quic_http_stream.cc char* data = read_buf_->StartOfBuffer(); data 515 net/quic/quic_http_stream.cc size_t len = framer.ParseHeaderBlockInBuffer(data, read_buf_->offset(), data 525 net/quic/quic_http_stream.cc BufferResponseBody(data + len, delta); data 552 net/quic/quic_http_stream.cc void QuicHttpStream::BufferResponseBody(const char* data, int length) { data 556 net/quic/quic_http_stream.cc memcpy(io_buffer->data(), data, length); data 66 net/quic/quic_http_stream.h virtual int OnDataReceived(const char* data, int length) OVERRIDE; data 105 net/quic/quic_http_stream.h void BufferResponseBody(const char* data, int length); data 94 net/quic/quic_http_stream_test.cc virtual int OnDataReceived(const char* data, int length) OVERRIDE { data 171 net/quic/quic_http_stream_test.cc writes_[i].packet->data(), data 238 net/quic/quic_http_stream_test.cc base::StringPiece data) { data 240 net/quic/quic_http_stream_test.cc sequence_number, stream_id_, should_include_version, fin, offset, data); data 398 net/quic/quic_http_stream_test.cc stream_->OnDataReceived(response.data(), response.length()); data 74 net/quic/quic_network_transaction_unittest.cc reads_.push_back(MockRead(SYNCHRONOUS, packet->data(), packet->length(), data 84 net/quic/quic_network_transaction_unittest.cc writes_.push_back(MockWrite(SYNCHRONOUS, packet->data(), packet->length(), data 175 net/quic/quic_network_transaction_unittest.cc base::StringPiece data) { data 177 net/quic/quic_network_transaction_unittest.cc sequence_number, stream_id, should_include_version, fin, offset, data); data 438 net/quic/quic_network_transaction_unittest.cc StaticSocketDataProvider data(http_reads, arraysize(http_reads), NULL, 0); data 439 net/quic/quic_network_transaction_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 744 net/quic/quic_network_transaction_unittest.cc MockRead(ASYNC, close->data(), close->length()), data 158 net/quic/quic_packet_creator.cc const IOVector& data, data 174 net/quic/quic_packet_creator.cc if (data.Empty()) { data 178 net/quic/quic_packet_creator.cc *frame = QuicFrame(new QuicStreamFrame(id, true, offset, data)); data 182 net/quic/quic_packet_creator.cc const size_t data_size = data.TotalBufferSize(); data 190 net/quic/quic_packet_creator.cc frame_data.AppendIovecAtMostBytes(data.iovec(), data.Size(), data 199 net/quic/quic_packet_creator.cc const IOVector& data, data 204 net/quic/quic_packet_creator.cc size_t bytes_consumed = CreateStreamFrame(id, data, offset, fin, frame); data 88 net/quic/quic_packet_creator.h const IOVector& data, data 98 net/quic/quic_packet_creator.h const IOVector& data, data 54 net/quic/quic_packet_creator_test.cc const string& data, data 61 net/quic/quic_packet_creator_test.cc EXPECT_EQ(data, *frame_data); data 368 net/quic/quic_packet_creator_test.cc string data(capacity + delta, 'A'); data 372 net/quic/quic_packet_creator_test.cc kStreamId, MakeIOVector(data), kOffset, false, &frame); data 397 net/quic/quic_packet_creator_test.cc string data(capacity + delta, 'A'); data 401 net/quic/quic_packet_creator_test.cc kStreamId, MakeIOVector(data), kOffset, false, &frame); data 426 net/quic/quic_packet_creator_test.cc string data(capacity + delta, 'A'); data 431 net/quic/quic_packet_creator_test.cc kStreamId, MakeIOVector(data), kOffset, false, &frame); data 459 net/quic/quic_packet_creator_test.cc string data(capacity + delta, 'A'); data 464 net/quic/quic_packet_creator_test.cc kStreamId + 2, MakeIOVector(data), kOffset, false, &frame); data 106 net/quic/quic_packet_generator.cc IOVector data = data_to_write; data 107 net/quic/quic_packet_generator.cc size_t data_size = data.TotalBufferSize(); data 115 net/quic/quic_packet_generator.cc id, data, offset + total_bytes_consumed, fin, notifier, &frame); data 118 net/quic/quic_packet_generator.cc id, data, offset + total_bytes_consumed, fin, &frame); data 130 net/quic/quic_packet_generator.cc data.Consume(bytes_consumed); data 131 net/quic/quic_packet_generator.cc DCHECK(data.Empty() || packet_creator_->BytesFree() == 0u); data 138 net/quic/quic_packet_generator.cc if (data.Empty()) { data 117 net/quic/quic_packet_generator.h const IOVector& data, data 212 net/quic/quic_packet_generator_test.cc IOVector data; data 213 net/quic/quic_packet_generator_test.cc data.Append(data_array_.get(), len); data 214 net/quic/quic_packet_generator_test.cc return data; data 114 net/quic/quic_protocol.cc data(frame.data), data 121 net/quic/quic_protocol.cc IOVector data) data 125 net/quic/quic_protocol.cc data(data), data 131 net/quic/quic_protocol.cc data_string->reserve(data.TotalBufferSize()); data 132 net/quic/quic_protocol.cc for (size_t i = 0; i < data.Size(); ++i) { data 133 net/quic/quic_protocol.cc data_string->append(static_cast<char*>(data.iovec()[i].iov_base), data 134 net/quic/quic_protocol.cc data.iovec()[i].iov_len); data 136 net/quic/quic_protocol.cc DCHECK_EQ(data_string->size(), data.TotalBufferSize()); data 594 net/quic/quic_protocol.cc return StringPiece(data() + start_of_fec, length() - start_of_fec); data 599 net/quic/quic_protocol.cc data() + kStartOfHashData, data 606 net/quic/quic_protocol.cc return StringPiece(data(), GetStartOfEncryptedData(connection_id_length_, data 615 net/quic/quic_protocol.cc return StringPiece(data() + start_of_encrypted_data, data 668 net/quic/quic_protocol.cc stream_frame->data.Clear(); data 669 net/quic/quic_protocol.cc stream_frame->data.Append(const_cast<char*>(stream_data_.back()->data()), data 713 net/quic/quic_protocol.cc memcpy(buffer, this->data(), this->length()); data 566 net/quic/quic_protocol.h IOVector data); data 578 net/quic/quic_protocol.h IOVector data; data 863 net/quic/quic_protocol.h return base::StringPiece(data(), length()); data 866 net/quic/quic_protocol.h const char* data() const { return buffer_; } data 27 net/quic/quic_reliable_client_stream.cc uint32 QuicReliableClientStream::ProcessData(const char* data, data 33 net/quic/quic_reliable_client_stream.cc int rv = delegate_->OnDataReceived(data, data_len); data 66 net/quic/quic_reliable_client_stream.cc base::StringPiece data, data 72 net/quic/quic_reliable_client_stream.cc WriteOrBufferData(data, fin, NULL); data 32 net/quic/quic_reliable_client_stream.h virtual int OnDataReceived(const char* data, int length) = 0; data 57 net/quic/quic_reliable_client_stream.h virtual uint32 ProcessData(const char* data, uint32 data_len) OVERRIDE; data 66 net/quic/quic_reliable_client_stream.h int WriteStreamData(base::StringPiece data, data 95 net/quic/quic_reliable_client_stream_test.cc EXPECT_CALL(delegate_, OnDataReceived(StrEq(uncompressed_headers.data()), data 108 net/quic/quic_reliable_client_stream_test.cc const char data[] = "hello world!"; data 109 net/quic/quic_reliable_client_stream_test.cc EXPECT_CALL(delegate_, OnDataReceived(StrEq(data), arraysize(data))); data 112 net/quic/quic_reliable_client_stream_test.cc EXPECT_EQ(arraysize(data), stream_->ProcessData(data, arraysize(data))); data 116 net/quic/quic_reliable_client_stream_test.cc const char data[] = "hello world!"; data 118 net/quic/quic_reliable_client_stream_test.cc OnDataReceived(StrEq(data), data 119 net/quic/quic_reliable_client_stream_test.cc arraysize(data))).WillOnce(Return(ERR_UNEXPECTED)); data 123 net/quic/quic_reliable_client_stream_test.cc EXPECT_EQ(0u, stream_->ProcessData(data, arraysize(data))); data 301 net/quic/quic_session.cc const IOVector& data, data 305 net/quic/quic_session.cc return connection_->SendStreamData(id, data, offset, fin, data 101 net/quic/quic_session.h const IOVector& data, data 77 net/quic/quic_session_test.cc virtual uint32 ProcessData(const char* data, uint32 data_len) { data 81 net/quic/quic_session_test.cc void SendBody(const string& data, bool fin) { data 82 net/quic/quic_session_test.cc WriteOrBufferData(data, fin, NULL); data 137 net/quic/quic_session_test.cc const IOVector& data, data 143 net/quic/quic_session_test.cc return QuicConsumedData(data.TotalBufferSize(), fin); data 145 net/quic/quic_session_test.cc return QuicSession::WritevData(id, data, offset, fin, data 290 net/quic/quic_session_test.cc const unsigned char data[] = { data 301 net/quic/quic_session_test.cc stream->ProcessRawData(reinterpret_cast<const char*>(data), data 302 net/quic/quic_session_test.cc arraysize(data)); data 51 net/quic/quic_socket_address_coder.cc bool QuicSocketAddressCoder::Decode(const char* data, size_t length) { data 56 net/quic/quic_socket_address_coder.cc memcpy(&address_family, data, sizeof(address_family)); data 57 net/quic/quic_socket_address_coder.cc data += sizeof(address_family); data 75 net/quic/quic_socket_address_coder.cc memcpy(&ip[0], data, ip_length); data 76 net/quic/quic_socket_address_coder.cc data += ip_length; data 83 net/quic/quic_socket_address_coder.cc memcpy(&port, data, length); data 27 net/quic/quic_socket_address_coder.h bool Decode(const char* data, size_t length); data 38 net/quic/quic_socket_address_coder_test.cc ASSERT_TRUE(coder.Decode(serialized.data(), serialized.length())); data 51 net/quic/quic_socket_address_coder_test.cc ASSERT_TRUE(coder.Decode(serialized.data(), serialized.length())); data 65 net/quic/quic_socket_address_coder_test.cc EXPECT_TRUE(coder.Decode(serialized.data(), serialized.length())); data 68 net/quic/quic_socket_address_coder_test.cc EXPECT_FALSE(coder.Decode(serialized.data(), serialized.length())); data 71 net/quic/quic_socket_address_coder_test.cc EXPECT_TRUE(coder.Decode(serialized.data(), serialized.length())); data 75 net/quic/quic_socket_address_coder_test.cc EXPECT_FALSE(coder.Decode(serialized.data(), serialized.length())); data 78 net/quic/quic_socket_address_coder_test.cc EXPECT_TRUE(coder.Decode(serialized.data(), serialized.length())); data 85 net/quic/quic_socket_address_coder_test.cc EXPECT_FALSE(coder.Decode(serialized.data(), serialized.length())); data 110 net/quic/quic_socket_address_coder_test.cc ASSERT_TRUE(decoder.Decode(serialized.data(), serialized.length())); data 668 net/quic/quic_stream_factory_test.cc MockWrite(ASYNC, rst->data(), rst->length(), 1), data 829 net/quic/quic_stream_factory_test.cc writes.push_back(MockWrite(ASYNC, rst->data(), rst->length(), 1)); data 893 net/quic/quic_stream_factory_test.cc writes.push_back(MockWrite(ASYNC, rst->data(), rst->length(), 1)); data 958 net/quic/quic_stream_factory_test.cc writes.push_back(MockWrite(ASYNC, rst->data(), rst->length(), 1)); data 1023 net/quic/quic_stream_factory_test.cc writes.push_back(MockWrite(ASYNC, rst->data(), rst->length(), 1)); data 46 net/quic/quic_stream_sequencer.cc size_t data_len = frame.data.TotalBufferSize(); data 86 net/quic/quic_stream_sequencer.cc size_t data_len = frame.data.TotalBufferSize(); data 101 net/quic/quic_stream_sequencer.cc IOVector data; data 102 net/quic/quic_stream_sequencer.cc data.AppendIovec(frame.data.iovec(), frame.data.Size()); data 109 net/quic/quic_stream_sequencer.cc for (size_t i = 0; i < data.Size(); ++i) { data 111 net/quic/quic_stream_sequencer.cc static_cast<char*>(data.iovec()[i].iov_base), data 112 net/quic/quic_stream_sequencer.cc data.iovec()[i].iov_len); data 129 net/quic/quic_stream_sequencer.cc data.Consume(bytes_consumed); data 135 net/quic/quic_stream_sequencer.cc for (size_t i = 0; i < data.Size(); ++i) { data 137 net/quic/quic_stream_sequencer.cc const iovec& iov = data.iovec()[i]; data 185 net/quic/quic_stream_sequencer.cc const_cast<char*>(it->second.data())); data 211 net/quic/quic_stream_sequencer.cc it->second.data() + frame_offset, bytes_to_read); data 266 net/quic/quic_stream_sequencer.cc string* data = &it->second; data 267 net/quic/quic_stream_sequencer.cc size_t bytes_consumed = stream_->ProcessRawData(data->c_str(), data 268 net/quic/quic_stream_sequencer.cc data->size()); data 273 net/quic/quic_stream_sequencer.cc if (bytes_consumed > data->size()) { data 276 net/quic/quic_stream_sequencer.cc } else if (bytes_consumed == data->size()) { data 43 net/quic/quic_stream_sequencer_test.cc virtual bool OnFinFrame(QuicStreamOffset byte_offset, const char* data) { data 47 net/quic/quic_stream_sequencer_test.cc frame.data.Append(const_cast<char*>(data), strlen(data)); data 52 net/quic/quic_stream_sequencer_test.cc virtual bool OnFrame(QuicStreamOffset byte_offset, const char* data) { data 56 net/quic/quic_stream_sequencer_test.cc frame.data.Append(const_cast<char*>(data), strlen(data)); data 76 net/quic/quic_stream_sequencer_test.cc MOCK_METHOD2(ProcessRawData, uint32(const char* data, uint32 data_len)); data 133 net/quic/quic_stream_sequencer_test.cc if (memcmp(iovec.iov_base, expected.data(), expected.length()) != 0) { data 135 net/quic/quic_stream_sequencer_test.cc << " vs " << expected.data(); data 505 net/quic/quic_stream_sequencer_test.cc int MaybeProcessMaybeBuffer(const char* data, uint32 len) { data 510 net/quic/quic_stream_sequencer_test.cc output_.append(data, to_process); data 523 net/quic/quic_stream_sequencer_test.cc string* data = &list_[i].second; data 524 net/quic/quic_stream_sequencer_test.cc EXPECT_CALL(stream_, ProcessRawData(StrEq(*data), data->size())) data 525 net/quic/quic_stream_sequencer_test.cc .WillOnce(Return(data->size())); data 531 net/quic/quic_stream_sequencer_test.cc << list_[index].second.data(); data 533 net/quic/quic_stream_sequencer_test.cc list_[index].second.data())); data 546 net/quic/quic_stream_sequencer_test.cc string* data = &list_[i].second; data 547 net/quic/quic_stream_sequencer_test.cc EXPECT_CALL(stream_, ProcessRawData(StrEq(*data), data->size())) data 548 net/quic/quic_stream_sequencer_test.cc .WillOnce(Return(data->size())); data 554 net/quic/quic_stream_sequencer_test.cc << list_[index].second.data(); data 556 net/quic/quic_stream_sequencer_test.cc list_[index].second.data()); data 24 net/quic/quic_utils.cc uint64 QuicUtils::FNV1a_64_Hash(const char* data, int len) { data 28 net/quic/quic_utils.cc const uint8* octets = reinterpret_cast<const uint8*>(data); data 41 net/quic/quic_utils.cc uint128 QuicUtils::FNV1a_128_Hash(const char* data, int len) { data 50 net/quic/quic_utils.cc const uint8* octets = reinterpret_cast<const uint8*>(data); data 275 net/quic/quic_utils.cc const char* buf = in_buffer.data(); data 25 net/quic/quic_utils.h static uint64 FNV1a_64_Hash(const char* data, int len); data 29 net/quic/quic_utils.h static uint128 FNV1a_128_Hash(const char* data, int len); data 78 net/quic/quic_utils.h static char* AsChars(unsigned char* data) { data 79 net/quic/quic_utils.h return reinterpret_cast<char*>(data); data 90 net/quic/quic_utils.h iov.Append(const_cast<char*>(str.data()), str.size()); data 21 net/quic/reliable_quic_stream.cc struct iovec MakeIovec(StringPiece data) { data 22 net/quic/reliable_quic_stream.cc struct iovec iov = {const_cast<char*>(data.data()), data 23 net/quic/reliable_quic_stream.cc static_cast<size_t>(data.size())}; data 102 net/quic/reliable_quic_stream.cc : data(data_in), delegate(delegate_in) { data 158 net/quic/reliable_quic_stream.cc stream_bytes_read_ += frame.data.TotalBufferSize(); data 260 net/quic/reliable_quic_stream.cc StringPiece data, data 263 net/quic/reliable_quic_stream.cc if (data.empty() && !fin) { data 282 net/quic/reliable_quic_stream.cc struct iovec iov(MakeIovec(data)); data 284 net/quic/reliable_quic_stream.cc DCHECK_LE(consumed_data.bytes_consumed, data.length()); data 289 net/quic/reliable_quic_stream.cc if (consumed_data.bytes_consumed < data.length() || data 291 net/quic/reliable_quic_stream.cc StringPiece remainder(data.substr(consumed_data.bytes_consumed)); data 312 net/quic/reliable_quic_stream.cc struct iovec iov(MakeIovec(pending_data->data)); data 314 net/quic/reliable_quic_stream.cc if (consumed_data.bytes_consumed == pending_data->data.size() && data 322 net/quic/reliable_quic_stream.cc pending_data->data.erase(0, consumed_data.bytes_consumed); data 368 net/quic/reliable_quic_stream.cc IOVector data; data 369 net/quic/reliable_quic_stream.cc data.AppendIovecAtMostBytes(iov, iov_count, write_length); data 372 net/quic/reliable_quic_stream.cc id(), data, stream_bytes_written_, fin, ack_notifier_delegate); data 63 net/quic/reliable_quic_stream.h virtual uint32 ProcessRawData(const char* data, uint32 data_len) = 0; data 111 net/quic/reliable_quic_stream.h base::StringPiece data, data 155 net/quic/reliable_quic_stream.h string data; data 50 net/quic/reliable_quic_stream_test.cc virtual uint32 ProcessRawData(const char* data, uint32 data_len) OVERRIDE { data 53 net/quic/reliable_quic_stream_test.cc data_ += string(data, data_len); data 22 net/quic/spdy_utils.cc return string(block->data(), length); data 304 net/quic/test_tools/crypto_test_utils.cc memcpy(&hash, common_set_hashes.data() + i, sizeof(hash)); data 378 net/quic/test_tools/crypto_test_utils.cc client_encrypter_key.data(), data 380 net/quic/test_tools/crypto_test_utils.cc server_decrypter_key.data(), data 383 net/quic/test_tools/crypto_test_utils.cc client_encrypter_iv.data(), data 385 net/quic/test_tools/crypto_test_utils.cc server_decrypter_iv.data(), data 388 net/quic/test_tools/crypto_test_utils.cc server_encrypter_key.data(), data 390 net/quic/test_tools/crypto_test_utils.cc client_decrypter_key.data(), data 393 net/quic/test_tools/crypto_test_utils.cc server_encrypter_iv.data(), data 395 net/quic/test_tools/crypto_test_utils.cc client_decrypter_iv.data(), data 398 net/quic/test_tools/crypto_test_utils.cc client_forward_secure_encrypter_key.data(), data 400 net/quic/test_tools/crypto_test_utils.cc server_forward_secure_decrypter_key.data(), data 403 net/quic/test_tools/crypto_test_utils.cc client_forward_secure_encrypter_iv.data(), data 405 net/quic/test_tools/crypto_test_utils.cc server_forward_secure_decrypter_iv.data(), data 408 net/quic/test_tools/crypto_test_utils.cc server_forward_secure_encrypter_key.data(), data 410 net/quic/test_tools/crypto_test_utils.cc client_forward_secure_decrypter_key.data(), data 413 net/quic/test_tools/crypto_test_utils.cc server_forward_secure_encrypter_iv.data(), data 415 net/quic/test_tools/crypto_test_utils.cc client_forward_secure_decrypter_iv.data(), data 65 net/quic/test_tools/crypto_test_utils_nss.cc reinterpret_cast<const unsigned char*>(signed_data.data()), data 118 net/quic/test_tools/crypto_test_utils_nss.cc const unsigned char* const data = public_key->u.ec.publicValue.data; data 120 net/quic/test_tools/crypto_test_utils_nss.cc if (len != kExpectedKeyLength || data[0] != 0x04) { data 124 net/quic/test_tools/crypto_test_utils_nss.cc string key(reinterpret_cast<const char*>(data + 1), kExpectedKeyLength - 1); data 65 net/quic/test_tools/crypto_test_utils_openssl.cc EVP_DigestUpdate(&md_ctx, signed_data.data(), signed_data.size()); data 113 net/quic/test_tools/crypto_test_utils_openssl.cc SHA256_Update(&sha256, hostname.data(), hostname.size()); data 19 net/quic/test_tools/mock_random.cc void MockRandom::RandBytes(void* data, size_t len) { data 20 net/quic/test_tools/mock_random.cc memset(data, 'r' + increment_, len); data 21 net/quic/test_tools/mock_random.h virtual void RandBytes(void* data, size_t len) OVERRIDE; data 158 net/quic/test_tools/quic_test_packet_maker.cc base::StringPiece data) { data 160 net/quic/test_tools/quic_test_packet_maker.cc QuicStreamFrame frame(stream_id, fin, offset, MakeIOVector(data)); data 178 net/quic/test_tools/quic_test_packet_maker.cc MakeIOVector(base::StringPiece(spdy_frame->data(), data 196 net/quic/test_tools/quic_test_packet_maker.cc MakeIOVector(base::StringPiece(spdy_frame->data(), data 51 net/quic/test_tools/quic_test_packet_maker.h base::StringPiece data); data 175 net/quic/test_tools/quic_test_utils.cc frame_copy.data.Clear(); data 176 net/quic/test_tools/quic_test_utils.cc frame_copy.data.Append(const_cast<char*>(stream_data_.back()->data()), data 415 net/quic/test_tools/quic_test_utils.cc string HexDumpWithMarks(const char* data, int length, data 428 net/quic/test_tools/quic_test_utils.cc for (const char* row = data; length > 0; data 433 net/quic/test_tools/quic_test_utils.cc (marks && (p - data) < mark_length && marks[p - data]); data 479 net/quic/test_tools/quic_test_utils.cc const string& data) { data 492 net/quic/test_tools/quic_test_utils.cc QuicStreamFrame stream_frame(1, false, 0, MakeIOVector(data)); data 556 net/quic/test_tools/quic_test_utils.cc scoped_ptr<QuicData> data(crypto_framer.ConstructHandshakeMessage(message)); data 570 net/quic/test_tools/quic_test_utils.cc MakeIOVector(data->AsStringPiece())); data 55 net/quic/test_tools/quic_test_utils.h const std::string& data); data 372 net/quic/test_tools/quic_test_utils.h const IOVector& data, data 93 net/quic/test_tools/reliable_quic_stream_peer.cc total += it->data.size(); data 65 net/quic/test_tools/simple_quic_framer.cc stream_frame.data.Clear(); data 66 net/quic/test_tools/simple_quic_framer.cc stream_frame.data.Append(const_cast<char*>(stream_data_.back()->data()), data 16 net/server/http_connection.cc void HttpConnection::Send(const std::string& data) { data 19 net/server/http_connection.cc socket_->Send(data); data 25 net/server/http_connection.h void Send(const std::string& data); data 42 net/server/http_server.cc const std::string& data) { data 47 net/server/http_server.cc connection->web_socket_->Send(data); data 60 net/server/http_server.cc const std::string& data, data 63 net/server/http_server.cc response.SetBody(data, content_type); data 68 net/server/http_server.cc const std::string& data, data 70 net/server/http_server.cc Send(connection_id, HTTP_OK, data, content_type); data 106 net/server/http_server.cc const char* data, data 113 net/server/http_server.cc connection->recv_data_.append(data, len); data 167 net/server/http_server.cc request.data = connection->recv_data_.substr(pos, content_length); data 36 net/server/http_server.h const std::string& data) = 0; data 49 net/server/http_server.h void SendOverWebSocket(int connection_id, const std::string& data); data 53 net/server/http_server.h const std::string& data, data 56 net/server/http_server.h const std::string& data, data 70 net/server/http_server.h const char* data, data 38 net/server/http_server_request_info.h std::string data; data 83 net/server/http_server_unittest.cc void Send(const std::string& data) { data 85 net/server/http_server_unittest.cc new DrainableIOBuffer(new StringIOBuffer(data), data.length()); data 142 net/server/http_server_unittest.cc const std::string& data) OVERRIDE { data 177 net/server/http_server_unittest.cc ASSERT_EQ("", requests_[0].data); data 202 net/server/http_server_unittest.cc ASSERT_EQ("", requests_[0].data); data 224 net/server/http_server_unittest.cc ASSERT_EQ(body.length(), requests_[0].data.length()); data 294 net/server/http_server_unittest.cc ASSERT_EQ(body, requests_[0].data); data 309 net/server/http_server_unittest.cc ASSERT_EQ(body, requests_[0].data); data 61 net/server/web_socket.cc char data[16]; data 62 net/server/web_socket.cc memcpy(data, &fp1, 4); data 63 net/server/web_socket.cc memcpy(data + 4, &fp2, 4); data 64 net/server/web_socket.cc memcpy(data + 8, &key3_[0], 8); data 67 net/server/web_socket.cc base::MD5Sum(data, 16, &digest); data 86 net/server/web_socket.cc const std::string& data = connection_->recv_data(); data 87 net/server/web_socket.cc if (data[0]) data 90 net/server/web_socket.cc size_t pos = data.find('\377', 1); data 94 net/server/web_socket.cc std::string buffer(data.begin() + 1, data.begin() + pos); data 193 net/server/web_socket.cc std::string data = base::StringPrintf("%s%s", key.c_str(), kWebSocketGuid); data 195 net/server/web_socket.cc base::Base64Encode(base::SHA1HashString(data), &encoded_hash); data 223 net/server/web_socket.cc std::string data = WebSocket::EncodeFrameHybi17(message, 0); data 224 net/server/web_socket.cc connection_->Send(data); data 279 net/server/web_socket.cc const char* buffer_begin = const_cast<char*>(frame.data()); data 391 net/server/web_socket.cc const char* data = const_cast<char*>(message.data()); data 396 net/server/web_socket.cc frame.push_back(data[i] ^ mask_bytes[i % kMaskingKeyWidthInBytes]); data 398 net/server/web_socket.cc frame.insert(frame.end(), data, data + data_length); data 35 net/server/web_socket.h static std::string EncodeFrameHybi17(const std::string& data, data 20 net/socket/buffered_write_stream_socket.cc memcpy(dst->StartOfBuffer() + old_capacity, src->data(), src_len); data 35 net/socket/deterministic_socket_data_unittest.cc void ReentrantWriteCallback(const char* data, int len, int rv); data 41 net/socket/deterministic_socket_data_unittest.cc void AssertSyncReadEquals(const char* data, int len); data 42 net/socket/deterministic_socket_data_unittest.cc void AssertAsyncReadEquals(const char* data, int len); data 43 net/socket/deterministic_socket_data_unittest.cc void AssertReadReturns(const char* data, int len, int rv); data 44 net/socket/deterministic_socket_data_unittest.cc void AssertReadBufferEquals(const char* data, int len); data 46 net/socket/deterministic_socket_data_unittest.cc void AssertSyncWriteEquals(const char* data, int len); data 47 net/socket/deterministic_socket_data_unittest.cc void AssertAsyncWriteEquals(const char* data, int len); data 48 net/socket/deterministic_socket_data_unittest.cc void AssertWriteReturns(const char* data, int len, int rv); data 107 net/socket/deterministic_socket_data_unittest.cc void DeterministicSocketDataTest::AssertSyncReadEquals(const char* data, data 110 net/socket/deterministic_socket_data_unittest.cc AssertReadReturns(data, len, len); data 111 net/socket/deterministic_socket_data_unittest.cc AssertReadBufferEquals(data, len); data 114 net/socket/deterministic_socket_data_unittest.cc void DeterministicSocketDataTest::AssertAsyncReadEquals(const char* data, data 117 net/socket/deterministic_socket_data_unittest.cc AssertReadReturns(data, len, ERR_IO_PENDING); data 125 net/socket/deterministic_socket_data_unittest.cc AssertReadBufferEquals(data, len); data 128 net/socket/deterministic_socket_data_unittest.cc void DeterministicSocketDataTest::AssertReadReturns(const char* data, data 134 net/socket/deterministic_socket_data_unittest.cc void DeterministicSocketDataTest::AssertReadBufferEquals(const char* data, data 136 net/socket/deterministic_socket_data_unittest.cc ASSERT_EQ(std::string(data, len), std::string(read_buf_->data(), len)); data 139 net/socket/deterministic_socket_data_unittest.cc void DeterministicSocketDataTest::AssertSyncWriteEquals(const char* data, data 142 net/socket/deterministic_socket_data_unittest.cc memcpy(buf->data(), data, len); data 148 net/socket/deterministic_socket_data_unittest.cc void DeterministicSocketDataTest::AssertAsyncWriteEquals(const char* data, data 151 net/socket/deterministic_socket_data_unittest.cc AssertWriteReturns(data, len, ERR_IO_PENDING); data 160 net/socket/deterministic_socket_data_unittest.cc void DeterministicSocketDataTest::AssertWriteReturns(const char* data, data 163 net/socket/deterministic_socket_data_unittest.cc memcpy(buf->data(), data, len); data 181 net/socket/deterministic_socket_data_unittest.cc const char* data, int len, int rv) { data 183 net/socket/deterministic_socket_data_unittest.cc memcpy(write_buf->data(), data, len); data 190 net/socket/deterministic_socket_data_unittest.cc data, data 478 net/socket/deterministic_socket_data_unittest.cc memcpy(write_buf->data(), kMsg1, kLen1); data 58 net/socket/socket_test_util.cc void DumpData(const char* data, int data_len) { data 63 net/socket/socket_test_util.cc if (!data || (data_len <= 0)) { data 69 net/socket/socket_test_util.cc << AsciifyHigh(data[i + 0]) << AsciifyLow(data[i + 0]) data 70 net/socket/socket_test_util.cc << AsciifyHigh(data[i + 1]) << AsciifyLow(data[i + 1]) data 71 net/socket/socket_test_util.cc << AsciifyHigh(data[i + 2]) << AsciifyLow(data[i + 2]) data 72 net/socket/socket_test_util.cc << AsciifyHigh(data[i + 3]) << AsciifyLow(data[i + 3]) data 74 net/socket/socket_test_util.cc << Asciify(data[i + 0]) data 75 net/socket/socket_test_util.cc << Asciify(data[i + 1]) data 76 net/socket/socket_test_util.cc << Asciify(data[i + 2]) data 77 net/socket/socket_test_util.cc << Asciify(data[i + 3]) data 85 net/socket/socket_test_util.cc << AsciifyHigh(data[i + 0]) << AsciifyLow(data[i + 0]) data 86 net/socket/socket_test_util.cc << AsciifyHigh(data[i + 1]) << AsciifyLow(data[i + 1]) data 87 net/socket/socket_test_util.cc << AsciifyHigh(data[i + 2]) << AsciifyLow(data[i + 2]) data 89 net/socket/socket_test_util.cc << Asciify(data[i + 0]) data 90 net/socket/socket_test_util.cc << Asciify(data[i + 1]) data 91 net/socket/socket_test_util.cc << Asciify(data[i + 2]) data 96 net/socket/socket_test_util.cc << AsciifyHigh(data[i + 0]) << AsciifyLow(data[i + 0]) data 97 net/socket/socket_test_util.cc << AsciifyHigh(data[i + 1]) << AsciifyLow(data[i + 1]) data 99 net/socket/socket_test_util.cc << Asciify(data[i + 0]) data 100 net/socket/socket_test_util.cc << Asciify(data[i + 1]) data 105 net/socket/socket_test_util.cc << AsciifyHigh(data[i + 0]) << AsciifyLow(data[i + 0]) data 107 net/socket/socket_test_util.cc << Asciify(data[i + 0]) data 120 net/socket/socket_test_util.cc DumpData(r.data, r.data_len); data 197 net/socket/socket_test_util.cc MockWriteResult StaticSocketDataProvider::OnWrite(const std::string& data) { data 200 net/socket/socket_test_util.cc return MockWriteResult(SYNCHRONOUS, data.length()); data 205 net/socket/socket_test_util.cc EXPECT_EQ("<unexpected write>", data); data 214 net/socket/socket_test_util.cc if (w->data) { data 221 net/socket/socket_test_util.cc std::string expected_data(w->data, w->data_len); data 222 net/socket/socket_test_util.cc EXPECT_GE(data.length(), expected_data.length()); data 223 net/socket/socket_test_util.cc std::string actual_data(data.substr(0, w->data_len)); data 253 net/socket/socket_test_util.cc reads_.front().data += result.data_len; data 263 net/socket/socket_test_util.cc void DynamicSocketDataProvider::SimulateRead(const char* data, data 266 net/socket/socket_test_util.cc EXPECT_TRUE(reads_.empty()) << "Unconsumed read: " << reads_.front().data; data 268 net/socket/socket_test_util.cc reads_.push_back(MockRead(ASYNC, data, length)); data 329 net/socket/socket_test_util.cc MockWriteResult DelayedSocketData::OnWrite(const std::string& data) { data 330 net/socket/socket_test_util.cc MockWriteResult rv = StaticSocketDataProvider::OnWrite(data); data 413 net/socket/socket_test_util.cc MockWriteResult OrderedSocketData::OnWrite(const std::string& data) { data 430 net/socket/socket_test_util.cc return StaticSocketDataProvider::OnWrite(data); data 553 net/socket/socket_test_util.cc MockWriteResult DeterministicSocketData::OnWrite(const std::string& data) { data 586 net/socket/socket_test_util.cc return StaticSocketDataProvider::OnWrite(data); data 651 net/socket/socket_test_util.cc SocketDataProvider* data) { data 652 net/socket/socket_test_util.cc mock_data_.Add(data); data 656 net/socket/socket_test_util.cc SSLSocketDataProvider* data) { data 657 net/socket/socket_test_util.cc mock_ssl_data_.Add(data); data 811 net/socket/socket_test_util.cc SocketDataProvider* data) data 814 net/socket/socket_test_util.cc data_(data), data 823 net/socket/socket_test_util.cc peer_addr_ = data->connect_data().peer_addr; data 876 net/socket/socket_test_util.cc std::string data(buf->data(), buf_len); data 877 net/socket/socket_test_util.cc MockWriteResult write_result = data_->OnWrite(data); data 941 net/socket/socket_test_util.cc void MockTCPClientSocket::OnReadComplete(const MockRead& data) { data 945 net/socket/socket_test_util.cc DCHECK_NE(ERR_IO_PENDING, data.result); data 949 net/socket/socket_test_util.cc read_data_ = data; data 961 net/socket/socket_test_util.cc void MockTCPClientSocket::OnConnectComplete(const MockConnect& data) { data 963 net/socket/socket_test_util.cc RunCallback(callback, data.result); data 983 net/socket/socket_test_util.cc if (read_data_.data) { data 986 net/socket/socket_test_util.cc memcpy(buf->data(), read_data_.data + read_offset_, result); data 1007 net/socket/socket_test_util.cc DeterministicSocketData* data) data 1014 net/socket/socket_test_util.cc data_(data), data 1043 net/socket/socket_test_util.cc DCHECK(read_data_.data); data 1045 net/socket/socket_test_util.cc memcpy(read_buf_->data(), read_data_.data, result); data 1061 net/socket/socket_test_util.cc std::string data(buf->data(), buf_len); data 1062 net/socket/socket_test_util.cc MockWriteResult write_result = data_->OnWrite(data); data 1113 net/socket/socket_test_util.cc DeterministicSocketData* data) data 1115 net/socket/socket_test_util.cc helper_(net_log, data), data 1142 net/socket/socket_test_util.cc return helper_.data()->connect_data().result; data 1196 net/socket/socket_test_util.cc void DeterministicMockUDPClientSocket::OnReadComplete(const MockRead& data) {} data 1199 net/socket/socket_test_util.cc const MockConnect& data) { data 1205 net/socket/socket_test_util.cc DeterministicSocketData* data) data 1207 net/socket/socket_test_util.cc helper_(net_log, data) { data 1208 net/socket/socket_test_util.cc peer_addr_ = data->connect_data().peer_addr; data 1255 net/socket/socket_test_util.cc if (helper_.data()->connect_data().mode == ASYNC) { data 1256 net/socket/socket_test_util.cc RunCallbackAsync(callback, helper_.data()->connect_data().result); data 1259 net/socket/socket_test_util.cc return helper_.data()->connect_data().result; data 1290 net/socket/socket_test_util.cc void DeterministicMockTCPClientSocket::OnReadComplete(const MockRead& data) {} data 1293 net/socket/socket_test_util.cc const MockConnect& data) {} data 1309 net/socket/socket_test_util.cc SSLSocketDataProvider* data) data 1315 net/socket/socket_test_util.cc data_(data), data 1321 net/socket/socket_test_util.cc peer_addr_ = data->connect.peer_addr; data 1437 net/socket/socket_test_util.cc void MockSSLClientSocket::OnReadComplete(const MockRead& data) { data 1441 net/socket/socket_test_util.cc void MockSSLClientSocket::OnConnectComplete(const MockConnect& data) { data 1445 net/socket/socket_test_util.cc MockUDPClientSocket::MockUDPClientSocket(SocketDataProvider* data, data 1448 net/socket/socket_test_util.cc data_(data), data 1459 net/socket/socket_test_util.cc peer_addr_ = data->connect_data().peer_addr; data 1501 net/socket/socket_test_util.cc std::string data(buf->data(), buf_len); data 1502 net/socket/socket_test_util.cc MockWriteResult write_result = data_->OnWrite(data); data 1546 net/socket/socket_test_util.cc void MockUDPClientSocket::OnReadComplete(const MockRead& data) { data 1550 net/socket/socket_test_util.cc DCHECK_NE(ERR_IO_PENDING, data.result); data 1554 net/socket/socket_test_util.cc read_data_ = data; data 1566 net/socket/socket_test_util.cc void MockUDPClientSocket::OnConnectComplete(const MockConnect& data) { data 1585 net/socket/socket_test_util.cc if (read_data_.data) { data 1588 net/socket/socket_test_util.cc memcpy(buf->data(), read_data_.data + read_offset_, result); data 1796 net/socket/socket_test_util.cc DeterministicSocketData* data) { data 1797 net/socket/socket_test_util.cc mock_data_.Add(data); data 1801 net/socket/socket_test_util.cc SSLSocketDataProvider* data) { data 1802 net/socket/socket_test_util.cc mock_ssl_data_.Add(data); data 103 net/socket/socket_test_util.h data(NULL), data 112 net/socket/socket_test_util.h data(NULL), data 121 net/socket/socket_test_util.h data(NULL), data 127 net/socket/socket_test_util.h explicit MockReadWrite(const char* data) data 130 net/socket/socket_test_util.h data(data), data 131 net/socket/socket_test_util.h data_len(strlen(data)), data 136 net/socket/socket_test_util.h MockReadWrite(IoMode io_mode, const char* data) data 139 net/socket/socket_test_util.h data(data), data 140 net/socket/socket_test_util.h data_len(strlen(data)), data 145 net/socket/socket_test_util.h MockReadWrite(IoMode io_mode, const char* data, int data_len) data 148 net/socket/socket_test_util.h data(data), data 154 net/socket/socket_test_util.h MockReadWrite(IoMode io_mode, int seq, const char* data) data 157 net/socket/socket_test_util.h data(data), data 158 net/socket/socket_test_util.h data_len(strlen(data)), data 163 net/socket/socket_test_util.h MockReadWrite(IoMode io_mode, const char* data, int data_len, int seq) data 166 net/socket/socket_test_util.h data(data), data 173 net/socket/socket_test_util.h const char* data; data 207 net/socket/socket_test_util.h virtual MockWriteResult OnWrite(const std::string& data) = 0; data 233 net/socket/socket_test_util.h virtual void OnReadComplete(const MockRead& data) = 0; data 234 net/socket/socket_test_util.h virtual void OnConnectComplete(const MockConnect& data) = 0; data 266 net/socket/socket_test_util.h virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE; data 296 net/socket/socket_test_util.h virtual MockWriteResult OnWrite(const std::string& data) = 0; data 302 net/socket/socket_test_util.h void SimulateRead(const char* data, size_t length); data 303 net/socket/socket_test_util.h void SimulateRead(const char* data) { SimulateRead(data, std::strlen(data)); } data 374 net/socket/socket_test_util.h virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE; data 428 net/socket/socket_test_util.h virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE; data 562 net/socket/socket_test_util.h virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE; data 756 net/socket/socket_test_util.h virtual void OnReadComplete(const MockRead& data) OVERRIDE; data 757 net/socket/socket_test_util.h virtual void OnConnectComplete(const MockConnect& data) OVERRIDE; data 792 net/socket/socket_test_util.h DeterministicSocketData* data); data 810 net/socket/socket_test_util.h DeterministicSocketData* data() const { return data_; } data 837 net/socket/socket_test_util.h DeterministicSocketData* data); data 866 net/socket/socket_test_util.h virtual void OnReadComplete(const MockRead& data) OVERRIDE; data 867 net/socket/socket_test_util.h virtual void OnConnectComplete(const MockConnect& data) OVERRIDE; data 888 net/socket/socket_test_util.h DeterministicSocketData* data); data 916 net/socket/socket_test_util.h virtual void OnReadComplete(const MockRead& data) OVERRIDE; data 917 net/socket/socket_test_util.h virtual void OnConnectComplete(const MockConnect& data) OVERRIDE; data 961 net/socket/socket_test_util.h virtual void OnReadComplete(const MockRead& data) OVERRIDE; data 962 net/socket/socket_test_util.h virtual void OnConnectComplete(const MockConnect& data) OVERRIDE; data 985 net/socket/socket_test_util.h MockUDPClientSocket(SocketDataProvider* data, net::NetLog* net_log); data 1008 net/socket/socket_test_util.h virtual void OnReadComplete(const MockRead& data) OVERRIDE; data 1009 net/socket/socket_test_util.h virtual void OnConnectComplete(const MockConnect& data) OVERRIDE; data 295 net/socket/socks5_client_socket.cc memcpy(handshake_buf_->data(), &buffer_.data()[bytes_sent_], data 334 net/socket/socks5_client_socket.cc buffer_.append(handshake_buf_->data(), result); data 393 net/socket/socks5_client_socket.cc memcpy(handshake_buf_->data(), &buffer_[bytes_sent_], data 443 net/socket/socks5_client_socket.cc buffer_.append(handshake_buf_->data(), result); data 131 net/socket/socks5_client_socket_unittest.cc MockWrite(ASYNC, payload_write.data(), payload_write.size()) }; data 135 net/socket/socks5_client_socket_unittest.cc MockRead(ASYNC, payload_read.data(), payload_read.size()) }; data 164 net/socket/socks5_client_socket_unittest.cc memcpy(buffer->data(), payload_write.data(), payload_write.size()); data 177 net/socket/socks5_client_socket_unittest.cc EXPECT_EQ(payload_read, std::string(buffer->data(), payload_read.size())); data 202 net/socket/socks5_client_socket_unittest.cc MockWrite(SYNCHRONOUS, request.data(), request.size()) data 353 net/socket/socks_client_socket.cc memcpy(handshake_buf_->data(), &buffer_[bytes_sent_], data 409 net/socket/socks_client_socket.cc buffer_.append(handshake_buf_->data(), result); data 417 net/socket/socks_client_socket.cc reinterpret_cast<const SOCKS4ServerResponse*>(buffer_.data()); data 130 net/socket/socks_client_socket_pool_unittest.cc SOCKS5MockData data(SYNCHRONOUS); data 131 net/socket/socks_client_socket_pool_unittest.cc data.data_provider()->set_connect_data(MockConnect(SYNCHRONOUS, OK)); data 132 net/socket/socks_client_socket_pool_unittest.cc transport_client_socket_factory_.AddSocketDataProvider(data.data_provider()); data 148 net/socket/socks_client_socket_pool_unittest.cc SOCKS5MockData data(SYNCHRONOUS); data 149 net/socket/socks_client_socket_pool_unittest.cc data.data_provider()->set_connect_data(MockConnect(SYNCHRONOUS, OK)); data 151 net/socket/socks_client_socket_pool_unittest.cc data.data_provider()); data 167 net/socket/socks_client_socket_pool_unittest.cc SOCKS5MockData data(SYNCHRONOUS); data 168 net/socket/socks_client_socket_pool_unittest.cc data.data_provider()->set_connect_data(MockConnect(SYNCHRONOUS, OK)); data 170 net/socket/socks_client_socket_pool_unittest.cc data.data_provider()); data 183 net/socket/socks_client_socket_pool_unittest.cc SOCKS5MockData data(ASYNC); data 184 net/socket/socks_client_socket_pool_unittest.cc transport_client_socket_factory_.AddSocketDataProvider(data.data_provider()); data 276 net/socket/socks_client_socket_pool_unittest.cc SOCKS5MockData data(SYNCHRONOUS); data 277 net/socket/socks_client_socket_pool_unittest.cc transport_client_socket_factory_.AddSocketDataProvider(data.data_provider()); data 308 net/socket/socks_client_socket_pool_unittest.cc SOCKS5MockData data(ASYNC); data 309 net/socket/socks_client_socket_pool_unittest.cc data.data_provider()->set_connect_data(MockConnect(SYNCHRONOUS, OK)); data 310 net/socket/socks_client_socket_pool_unittest.cc transport_client_socket_factory_.AddSocketDataProvider(data.data_provider()); data 142 net/socket/socks_client_socket_unittest.cc MockWrite(ASYNC, payload_write.data(), payload_write.size()) }; data 145 net/socket/socks_client_socket_unittest.cc MockRead(ASYNC, payload_read.data(), payload_read.size()) }; data 175 net/socket/socks_client_socket_unittest.cc memcpy(buffer->data(), payload_write.data(), payload_write.size()); data 188 net/socket/socks_client_socket_unittest.cc EXPECT_EQ(payload_read, std::string(buffer->data(), payload_read.size())); data 308 net/socket/ssl_client_socket_nss.cc net_log->AddByteTransferEvent(event_type, len, buffer->data()); data 390 net/socket/ssl_client_socket_nss.cc reinterpret_cast<const char*>(certs_[i]->derCert.data), data 1005 net/socket/ssl_client_socket_nss.cc memcpy(dst, i->data(), i->size()); data 1288 net/socket/ssl_client_socket_nss.cc memcmp(new_cert->derCert.data, old_cert->derCert.data, data 1344 net/socket/ssl_client_socket_nss.cc der_cert.data = cert_context->pbCertEncoded; data 1365 net/socket/ssl_client_socket_nss.cc der_cert.data = (*it)->pbCertEncoded; data 1403 net/socket/ssl_client_socket_nss.cc issuer_list[i].pbData = ca_names->names[i].data; data 1405 net/socket/ssl_client_socket_nss.cc reinterpret_cast<const char*>(ca_names->names[i].data), data 1455 net/socket/ssl_client_socket_nss.cc der_cert.data = cert_data.Data; data 1498 net/socket/ssl_client_socket_nss.cc reinterpret_cast<const char*>(ca_names->names[i].data), data 1594 net/socket/ssl_client_socket_nss.cc reinterpret_cast<const char*>(ca_names->names[i].data), data 1954 net/socket/ssl_client_socket_nss.cc rv = PR_Read(nss_fd_, user_read_buf_->data() + total_bytes_read, data 2032 net/socket/ssl_client_socket_nss.cc int rv = PR_Write(nss_fd_, user_write_buf_->data(), user_write_buf_len_); data 2124 net/socket/ssl_client_socket_nss.cc memcpy(buf, read_buffer->data(), rv); data 2152 net/socket/ssl_client_socket_nss.cc memcpy(send_buffer->data(), buf1, len1); data 2153 net/socket/ssl_client_socket_nss.cc memcpy(send_buffer->data() + len1, buf2, len2); data 2351 net/socket/ssl_client_socket_nss.cc cert_item.data = (unsigned char*) domain_bound_cert_.data(); data 2367 net/socket/ssl_client_socket_nss.cc domain_bound_private_key_.data()), data 2407 net/socket/ssl_client_socket_nss.cc reinterpret_cast<char*>(signed_cert_timestamps->data), data 2423 net/socket/ssl_client_socket_nss.cc reinterpret_cast<char*>(ocsp_responses->items[0].data), data 2433 net/socket/ssl_client_socket_nss.cc ocsp_response_blob.pbData = ocsp_responses->items[0].data; data 2755 net/socket/ssl_client_socket_nss.cc memcpy(buf, read_buffer->data(), result); data 2902 net/socket/ssl_client_socket_nss.cc nss_fd_, label.data(), label.size(), has_context, data 2903 net/socket/ssl_client_socket_nss.cc reinterpret_cast<const unsigned char*>(context.data()), data 3395 net/socket/ssl_client_socket_nss.cc core_->state().server_cert_chain[0]->derCert.data), data 449 net/socket/ssl_client_socket_openssl.cc OPENSSL_free(const_cast<char*>(der_chain[i].data())); data 538 net/socket/ssl_client_socket_openssl.cc ssl_, out, outlen, const_cast<char*>(label.data()), data 540 net/socket/ssl_client_socket_openssl.cc reinterpret_cast<unsigned char*>(const_cast<char*>(context.data())), data 1210 net/socket/ssl_client_socket_openssl.cc rv, user_read_buf_->data()); data 1217 net/socket/ssl_client_socket_openssl.cc rv = SSL_read(ssl_, user_read_buf_->data() + total_bytes_read, data 1263 net/socket/ssl_client_socket_openssl.cc user_read_buf_->data()); data 1270 net/socket/ssl_client_socket_openssl.cc int rv = SSL_write(ssl_, user_write_buf_->data(), user_write_buf_len_); data 1274 net/socket/ssl_client_socket_openssl.cc user_write_buf_->data()); data 1292 net/socket/ssl_client_socket_openssl.cc int read_bytes = BIO_read(transport_bio_, send_buffer_->data(), max_read); data 1405 net/socket/ssl_client_socket_openssl.cc int ret = BIO_write(transport_bio_, recv_buffer_->data(), result); data 1494 net/socket/ssl_client_socket_openssl.cc channel_id_private_key_.data(), data 1495 net/socket/ssl_client_socket_openssl.cc channel_id_private_key_.data() + channel_id_private_key_.size()); data 1497 net/socket/ssl_client_socket_openssl.cc channel_id_cert_.data(), data 1498 net/socket/ssl_client_socket_openssl.cc channel_id_cert_.data() + channel_id_cert_.size()); data 1556 net/socket/ssl_client_socket_openssl.cc memcmp(&in[i + 1], j->data(), in[i]) == 0) { data 1571 net/socket/ssl_client_socket_openssl.cc ssl_config_.next_protos[0].data())); data 101 net/socket/ssl_client_socket_openssl_unittest.cc std::string data; data 102 net/socket/ssl_client_socket_openssl_unittest.cc if (!base::ReadFileToString(filepath, &data)) { data 109 net/socket/ssl_client_socket_openssl_unittest.cc const_cast<char*>(reinterpret_cast<const char*>(data.data())), data 110 net/socket/ssl_client_socket_openssl_unittest.cc static_cast<int>(data.size()))); data 234 net/socket/ssl_client_socket_pool_unittest.cc StaticSocketDataProvider data; data 235 net/socket/ssl_client_socket_pool_unittest.cc data.set_connect_data(MockConnect(SYNCHRONOUS, ERR_CONNECTION_FAILED)); data 236 net/socket/ssl_client_socket_pool_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 252 net/socket/ssl_client_socket_pool_unittest.cc StaticSocketDataProvider data; data 253 net/socket/ssl_client_socket_pool_unittest.cc data.set_connect_data(MockConnect(ASYNC, ERR_CONNECTION_FAILED)); data 254 net/socket/ssl_client_socket_pool_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 275 net/socket/ssl_client_socket_pool_unittest.cc StaticSocketDataProvider data; data 276 net/socket/ssl_client_socket_pool_unittest.cc data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); data 277 net/socket/ssl_client_socket_pool_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 304 net/socket/ssl_client_socket_pool_unittest.cc StaticSocketDataProvider data; data 305 net/socket/ssl_client_socket_pool_unittest.cc data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); data 306 net/socket/ssl_client_socket_pool_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 320 net/socket/ssl_client_socket_pool_unittest.cc StaticSocketDataProvider data; data 321 net/socket/ssl_client_socket_pool_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 344 net/socket/ssl_client_socket_pool_unittest.cc StaticSocketDataProvider data; data 345 net/socket/ssl_client_socket_pool_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 368 net/socket/ssl_client_socket_pool_unittest.cc StaticSocketDataProvider data; data 369 net/socket/ssl_client_socket_pool_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 392 net/socket/ssl_client_socket_pool_unittest.cc StaticSocketDataProvider data; data 393 net/socket/ssl_client_socket_pool_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 419 net/socket/ssl_client_socket_pool_unittest.cc StaticSocketDataProvider data; data 420 net/socket/ssl_client_socket_pool_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 444 net/socket/ssl_client_socket_pool_unittest.cc StaticSocketDataProvider data; data 445 net/socket/ssl_client_socket_pool_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 476 net/socket/ssl_client_socket_pool_unittest.cc StaticSocketDataProvider data; data 477 net/socket/ssl_client_socket_pool_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 508 net/socket/ssl_client_socket_pool_unittest.cc StaticSocketDataProvider data; data 509 net/socket/ssl_client_socket_pool_unittest.cc data.set_connect_data(MockConnect(SYNCHRONOUS, ERR_CONNECTION_FAILED)); data 510 net/socket/ssl_client_socket_pool_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 527 net/socket/ssl_client_socket_pool_unittest.cc StaticSocketDataProvider data; data 528 net/socket/ssl_client_socket_pool_unittest.cc data.set_connect_data(MockConnect(ASYNC, ERR_CONNECTION_FAILED)); data 529 net/socket/ssl_client_socket_pool_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 550 net/socket/ssl_client_socket_pool_unittest.cc StaticSocketDataProvider data; data 551 net/socket/ssl_client_socket_pool_unittest.cc data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); data 552 net/socket/ssl_client_socket_pool_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 575 net/socket/ssl_client_socket_pool_unittest.cc StaticSocketDataProvider data; data 576 net/socket/ssl_client_socket_pool_unittest.cc data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); data 577 net/socket/ssl_client_socket_pool_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 593 net/socket/ssl_client_socket_pool_unittest.cc StaticSocketDataProvider data; data 594 net/socket/ssl_client_socket_pool_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 619 net/socket/ssl_client_socket_pool_unittest.cc StaticSocketDataProvider data; data 620 net/socket/ssl_client_socket_pool_unittest.cc data.set_connect_data(MockConnect(SYNCHRONOUS, ERR_CONNECTION_FAILED)); data 621 net/socket/ssl_client_socket_pool_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 638 net/socket/ssl_client_socket_pool_unittest.cc StaticSocketDataProvider data; data 639 net/socket/ssl_client_socket_pool_unittest.cc data.set_connect_data(MockConnect(ASYNC, ERR_CONNECTION_FAILED)); data 640 net/socket/ssl_client_socket_pool_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 671 net/socket/ssl_client_socket_pool_unittest.cc StaticSocketDataProvider data(reads, arraysize(reads), writes, data 673 net/socket/ssl_client_socket_pool_unittest.cc data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); data 674 net/socket/ssl_client_socket_pool_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 706 net/socket/ssl_client_socket_pool_unittest.cc StaticSocketDataProvider data(reads, arraysize(reads), writes, data 708 net/socket/ssl_client_socket_pool_unittest.cc data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); data 709 net/socket/ssl_client_socket_pool_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 735 net/socket/ssl_client_socket_pool_unittest.cc StaticSocketDataProvider data(reads, arraysize(reads), writes, data 737 net/socket/ssl_client_socket_pool_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 772 net/socket/ssl_client_socket_pool_unittest.cc StaticSocketDataProvider data(reads, arraysize(reads), writes, data 774 net/socket/ssl_client_socket_pool_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 839 net/socket/ssl_client_socket_pool_unittest.cc StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); data 840 net/socket/ssl_client_socket_pool_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 900 net/socket/ssl_client_socket_pool_unittest.cc StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); data 901 net/socket/ssl_client_socket_pool_unittest.cc socket_factory_.AddSocketDataProvider(&data); data 234 net/socket/ssl_client_socket_unittest.cc memcpy(user_read_buf_->data(), data 863 net/socket/ssl_client_socket_unittest.cc memcpy(request_buffer->data(), request_text, arraysize(request_text) - 1); data 926 net/socket/ssl_client_socket_unittest.cc memcpy(request_buffer->data(), request_text, kRequestTextSize); data 995 net/socket/ssl_client_socket_unittest.cc memcpy(request_buffer->data(), request_text, kRequestTextSize); data 1262 net/socket/ssl_client_socket_unittest.cc memcpy(request_buffer->data(), request_text, kRequestTextSize); data 1350 net/socket/ssl_client_socket_unittest.cc memcpy(request_buffer->data(), request_text, arraysize(request_text) - 1); data 1405 net/socket/ssl_client_socket_unittest.cc memcpy(request_buffer->data(), request_text, arraysize(request_text) - 1); data 1456 net/socket/ssl_client_socket_unittest.cc memcpy(request_buffer->data(), request_text, arraysize(request_text) - 1); data 1508 net/socket/ssl_client_socket_unittest.cc memcpy(request_buffer->data(), request_text, arraysize(request_text) - 1); data 1573 net/socket/ssl_client_socket_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); data 1576 net/socket/ssl_client_socket_unittest.cc new MockTCPClientSocket(addr, NULL, &data)); data 2166 net/socket/ssl_client_socket_unittest.cc memcpy(request_buffer->data(), kRequestText, kRequestLen); data 165 net/socket/ssl_server_socket_nss.cc nss_fd_, label.data(), label.size(), has_context, data 166 net/socket/ssl_server_socket_nss.cc reinterpret_cast<const unsigned char*>(context.data()), data 424 net/socket/ssl_server_socket_nss.cc der_cert.data = reinterpret_cast<unsigned char*>(const_cast<char*>( data 425 net/socket/ssl_server_socket_nss.cc der_string.data())); data 452 net/socket/ssl_server_socket_nss.cc der_private_key_info.data = data 555 net/socket/ssl_server_socket_nss.cc memcpy(send_buffer->data(), buf1, len1); data 556 net/socket/ssl_server_socket_nss.cc memcpy(send_buffer->data() + len1, buf2, len2); data 598 net/socket/ssl_server_socket_nss.cc memcpy(buf, recv_buffer_->data(), rv); data 610 net/socket/ssl_server_socket_nss.cc memcpy(buf, recv_buffer_->data(), result); data 641 net/socket/ssl_server_socket_nss.cc int rv = PR_Read(nss_fd_, user_read_buf_->data(), user_read_buf_len_); data 656 net/socket/ssl_server_socket_nss.cc int rv = PR_Write(nss_fd_, user_write_buf_->data(), user_write_buf_len_); data 127 net/socket/ssl_server_socket_unittest.cc memcpy(read_buf->data(), buf->data(), copied); data 279 net/socket/ssl_server_socket_unittest.cc EXPECT_EQ(0, memcmp(kTestData, read_buf->data(), read)); data 293 net/socket/ssl_server_socket_unittest.cc EXPECT_EQ(0, memcmp(kTestData, read_buf->data(), read)); data 320 net/socket/ssl_server_socket_unittest.cc X509Certificate::CreateFromBytes(cert_der.data(), cert_der.size()); data 326 net/socket/ssl_server_socket_unittest.cc reinterpret_cast<const uint8*>(key_string.data()), data 327 net/socket/ssl_server_socket_unittest.cc reinterpret_cast<const uint8*>(key_string.data() + data 453 net/socket/ssl_server_socket_unittest.cc EXPECT_EQ(0, memcmp(write_buf->data(), read_buf->data(), write_buf->size())); data 480 net/socket/ssl_server_socket_unittest.cc EXPECT_EQ(0, memcmp(write_buf->data(), read_buf->data(), write_buf->size())); data 85 net/socket/stream_listen_socket.cc Send(str.data(), static_cast<int>(str.length()), append_linefeed); data 62 net/socket/stream_listen_socket.h const char* data, data 146 net/socket/tcp_listen_socket_unittest.cc ASSERT_EQ(last_action_.data(), kHelloWorld); data 162 net/socket/tcp_listen_socket_unittest.cc std::string last_data = last_action_.data(); data 227 net/socket/tcp_listen_socket_unittest.cc int send_len = HANDLE_EINTR(send(sock, str.data(), len, 0)); data 245 net/socket/tcp_listen_socket_unittest.cc const char* data, data 247 net/socket/tcp_listen_socket_unittest.cc std::string str(data, len); data 47 net/socket/tcp_listen_socket_unittest.h TCPListenSocketTestAction(ActionType action, std::string data) data 49 net/socket/tcp_listen_socket_unittest.h data_(data) {} data 51 net/socket/tcp_listen_socket_unittest.h const std::string data() const { return data_; } data 95 net/socket/tcp_listen_socket_unittest.h virtual void DidRead(StreamListenSocket* connection, const char* data, data 220 net/socket/tcp_server_socket_unittest.cc memmove(write_buffer->data(), message.data(), message.size()); data 241 net/socket/tcp_server_socket_unittest.cc memmove(&buffer[bytes_read], read_buffer->data(), read_result); data 360 net/socket/tcp_socket_libevent.cc int nread = HANDLE_EINTR(read(socket_, buf->data(), buf_len)); data 365 net/socket/tcp_socket_libevent.cc buf->data()); data 405 net/socket/tcp_socket_libevent.cc buf->data()); data 720 net/socket/tcp_socket_libevent.cc bytes_transferred = HANDLE_EINTR(read(socket_, read_buf_->data(), data 729 net/socket/tcp_socket_libevent.cc read_buf_->data()); data 752 net/socket/tcp_socket_libevent.cc bytes_transferred = HANDLE_EINTR(write(socket_, write_buf_->data(), data 761 net/socket/tcp_socket_libevent.cc write_buf_->data()); data 839 net/socket/tcp_socket_libevent.cc buf->data(), data 864 net/socket/tcp_socket_libevent.cc nwrite = HANDLE_EINTR(write(socket_, buf->data(), buf_len)); data 232 net/socket/tcp_socket_unittest.cc memmove(write_buffer->data(), message.data() + bytes_written, data 254 net/socket/tcp_socket_unittest.cc memmove(&buffer[bytes_read], read_buffer->data(), read_result); data 491 net/socket/tcp_socket_win.cc write_buffer.buf = buf->data(); data 511 net/socket/tcp_socket_win.cc buf->data()); data 862 net/socket/tcp_socket_win.cc int rv = recv(socket_, buf->data(), buf_len, 0); data 877 net/socket/tcp_socket_win.cc buf->data()); data 946 net/socket/tcp_socket_win.cc core_->write_iobuffer_->data()); data 167 net/socket/transport_client_socket_unittest.cc memcpy(request_buffer->data(), request_text, arraysize(request_text) - 1); data 372 net/socket/transport_client_socket_unittest.cc char* request_data = request_buffer->data(); data 409 net/socket/transport_client_socket_unittest.cc char* request_data = request_buffer->data(); data 112 net/socket/unix_domain_socket_posix_unittest.cc const char* data, data 117 net/socket/unix_domain_socket_posix_unittest.cc data_.assign(data, len - 1); data 141 net/socket_stream/socket_stream.cc void SocketStream::SetUserData(const void* key, UserData* data) { data 142 net/socket_stream/socket_stream.cc user_data_[key] = linked_ptr<UserData>(data); data 209 net/socket_stream/socket_stream.cc bool SocketStream::SendData(const char* data, int len) { data 238 net/socket_stream/socket_stream.cc memcpy(pending_write_bufs_.back()->data(), data, len); data 409 net/socket_stream/socket_stream.cc delegate_->OnReceivedData(this, read_buf_->data(), len); data 882 net/socket_stream/socket_stream.cc CHECK(tunnel_response_headers_->data()); data 80 net/socket_stream/socket_stream.h const char* data, int len) = 0; data 126 net/socket_stream/socket_stream.h void SetUserData(const void* key, UserData* data); data 149 net/socket_stream/socket_stream.h virtual bool SendData(const char* data, int len); data 209 net/socket_stream/socket_stream.h data_ = const_cast<char*>(headers_.data()) + offset; data 52 net/socket_stream/socket_stream_job.cc SocketStream::UserData* data) { data 53 net/socket_stream/socket_stream_job.cc socket_->SetUserData(key, data); data 60 net/socket_stream/socket_stream_job.cc bool SocketStreamJob::SendData(const char* data, int len) { data 61 net/socket_stream/socket_stream_job.cc return socket_->SendData(data, len); data 55 net/socket_stream/socket_stream_job.h virtual void SetUserData(const void* key, SocketStream::UserData* data); data 66 net/socket_stream/socket_stream_job.h virtual bool SendData(const char* data, int len); data 44 net/socket_stream/socket_stream_unittest.cc : event_type(type), socket(socket_stream), number(num), data(str), data 50 net/socket_stream/socket_stream_unittest.cc std::string data; data 120 net/socket_stream/socket_stream_unittest.cc const char* data, int len) OVERRIDE { data 123 net/socket_stream/socket_stream_unittest.cc std::string(data, len), NULL, OK)); data 224 net/socket_stream/socket_stream_unittest.cc virtual void OnReceivedData(SocketStream* socket, const char* data, int len) data 302 net/socket_stream/socket_stream_unittest.cc handshake_request_.data(), handshake_request_.size()); data 609 net/socket_stream/socket_stream_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 611 net/socket_stream/socket_stream_unittest.cc mock_socket_factory.AddSocketDataProvider(&data); data 848 net/socket_stream/socket_stream_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 850 net/socket_stream/socket_stream_unittest.cc mock_socket_factory.AddSocketDataProvider(&data); data 899 net/socket_stream/socket_stream_unittest.cc StaticSocketDataProvider data(data_reads, arraysize(data_reads), data 901 net/socket_stream/socket_stream_unittest.cc mock_socket_factory.AddSocketDataProvider(&data); data 972 net/socket_stream/socket_stream_unittest.cc StaticSocketDataProvider data; data 973 net/socket_stream/socket_stream_unittest.cc data.set_connect_data(mock_connect); data 974 net/socket_stream/socket_stream_unittest.cc mock_socket_factory.AddSocketDataProvider(&data); data 174 net/spdy/buffered_spdy_framer.cc const char* data, data 177 net/spdy/buffered_spdy_framer.cc visitor_->OnStreamFrameData(stream_id, data, len, fin); data 230 net/spdy/buffered_spdy_framer.cc size_t BufferedSpdyFramer::ProcessInput(const char* data, size_t len) { data 231 net/spdy/buffered_spdy_framer.cc return spdy_framer_.ProcessInput(data, len); data 349 net/spdy/buffered_spdy_framer.cc const char* data, data 353 net/spdy/buffered_spdy_framer.cc base::StringPiece(data, len)); data 68 net/spdy/buffered_spdy_framer.h const char* data, data 143 net/spdy/buffered_spdy_framer.h const char* data, data 167 net/spdy/buffered_spdy_framer.h size_t ProcessInput(const char* data, size_t len); data 196 net/spdy/buffered_spdy_framer.h const char* data, data 76 net/spdy/buffered_spdy_framer_unittest.cc const char* data, data 208 net/spdy/buffered_spdy_framer_unittest.cc reinterpret_cast<unsigned char*>(control_frame->data()), data 229 net/spdy/buffered_spdy_framer_unittest.cc reinterpret_cast<unsigned char*>(control_frame.get()->data()), data 251 net/spdy/buffered_spdy_framer_unittest.cc reinterpret_cast<unsigned char*>(control_frame.get()->data()), data 278 net/spdy/buffered_spdy_framer_unittest.cc reinterpret_cast<unsigned char*>(control_frame.get()->data()), data 78 net/spdy/hpack_decoder.cc cookie_name_.assign(name.data(), name.size()); data 79 net/spdy/hpack_decoder.cc cookie_value_.assign(value.data(), value.size()); data 95 net/spdy/hpack_decoder_test.cc return decoder_.HandleControlFrameHeadersData(0, str.data(), str.size()) && data 107 net/spdy/hpack_input_stream.cc *str = StringPiece(buffer_.data(), size); data 123 net/spdy/hpack_input_stream.cc StringPiece(buffer_.data(), encoded_size)); data 96 net/spdy/hpack_output_stream.cc buffer_.append(str.data(), str.size()); data 24 net/spdy/mock_spdy_framer_visitor.h const char* data, data 23 net/spdy/spdy_buffer.cc scoped_ptr<SpdyFrame> MakeSpdyFrame(const char* data, size_t size) { data 24 net/spdy/spdy_buffer.cc DCHECK(data); data 28 net/spdy/spdy_buffer.cc std::memcpy(frame_data.get(), data, size); data 43 net/spdy/spdy_buffer.cc : IOBuffer(shared_frame->data->data() + offset), data 62 net/spdy/spdy_buffer.cc shared_frame_->data = frame.Pass(); data 67 net/spdy/spdy_buffer.cc SpdyBuffer::SpdyBuffer(const char* data, size_t size) : data 72 net/spdy/spdy_buffer.cc shared_frame_->data = MakeSpdyFrame(data, size); data 81 net/spdy/spdy_buffer.cc return shared_frame_->data->data() + offset_; data 85 net/spdy/spdy_buffer.cc return shared_frame_->data->size() - offset_; data 54 net/spdy/spdy_buffer.h SpdyBuffer(const char* data, size_t size); data 48 net/spdy/spdy_buffer_unittest.cc std::string data(kData, kDataSize); data 49 net/spdy/spdy_buffer_unittest.cc SpdyBuffer buffer(data.data(), data.size()); data 51 net/spdy/spdy_buffer_unittest.cc data[0] = 'H'; data 116 net/spdy/spdy_buffer_unittest.cc EXPECT_EQ(expectedData, std::string(io_buffer->data(), io_buffer_size)); data 119 net/spdy/spdy_buffer_unittest.cc EXPECT_EQ(expectedData, std::string(io_buffer->data(), io_buffer_size)); data 132 net/spdy/spdy_buffer_unittest.cc std::memcpy(io_buffer->data(), kData, kDataSize); data 131 net/spdy/spdy_frame_builder.cc return WriteBytes(value.data(), static_cast<uint16>(value.size())); data 139 net/spdy/spdy_frame_builder.cc return WriteBytes(value.data(), value.size()); data 142 net/spdy/spdy_frame_builder.cc bool SpdyFrameBuilder::WriteBytes(const void* data, uint32 data_len) { data 148 net/spdy/spdy_frame_builder.cc memcpy(dest, data, data_len); data 104 net/spdy/spdy_frame_builder.h bool WriteBytes(const void* data, uint32 data_len); data 23 net/spdy/spdy_frame_builder_test.cc base::StringPiece(frame->data(), builder_size)); data 58 net/spdy/spdy_frame_builder_test.cc EXPECT_EQ(base::StringPiece(expected->data(), expected->size()), data 59 net/spdy/spdy_frame_builder_test.cc base::StringPiece(built->data(), expected->size())); data 76 net/spdy/spdy_frame_builder_test.cc EXPECT_EQ(base::StringPiece(expected->data(), expected->size()), data 77 net/spdy/spdy_frame_builder_test.cc base::StringPiece(built->data(), built->size())); data 13 net/spdy/spdy_frame_reader.cc SpdyFrameReader::SpdyFrameReader(const char* data, const size_t len) data 14 net/spdy/spdy_frame_reader.cc : data_(data), data 31 net/spdy/spdy_frame_reader.h SpdyFrameReader(const char* data, const size_t len); data 479 net/spdy/spdy_framer.cc size_t SpdyFramer::ProcessInput(const char* data, size_t len) { data 481 net/spdy/spdy_framer.cc DCHECK(data); data 499 net/spdy/spdy_framer.cc size_t bytes_read = ProcessCommonHeader(data, len); data 501 net/spdy/spdy_framer.cc data += bytes_read; data 519 net/spdy/spdy_framer.cc int bytes_read = ProcessControlFrameBeforeHeaderBlock(data, len); data 521 net/spdy/spdy_framer.cc data += bytes_read; data 526 net/spdy/spdy_framer.cc int bytes_read = ProcessSettingsFramePayload(data, len); data 528 net/spdy/spdy_framer.cc data += bytes_read; data 534 net/spdy/spdy_framer.cc data, len, protocol_version() > SPDY3); data 536 net/spdy/spdy_framer.cc data += bytes_read; data 541 net/spdy/spdy_framer.cc size_t bytes_read = ProcessRstStreamFramePayload(data, len); data 543 net/spdy/spdy_framer.cc data += bytes_read; data 548 net/spdy/spdy_framer.cc size_t bytes_read = ProcessGoAwayFramePayload(data, len); data 550 net/spdy/spdy_framer.cc data += bytes_read; data 555 net/spdy/spdy_framer.cc size_t bytes_read = ProcessControlFramePayload(data, len); data 557 net/spdy/spdy_framer.cc data += bytes_read; data 562 net/spdy/spdy_framer.cc size_t bytes_read = ProcessFramePaddingLength(data, len); data 564 net/spdy/spdy_framer.cc data += bytes_read; data 569 net/spdy/spdy_framer.cc size_t bytes_read = ProcessFramePadding(data, len); data 571 net/spdy/spdy_framer.cc data += bytes_read; data 579 net/spdy/spdy_framer.cc size_t bytes_read = ProcessDataFramePayload(data, len); data 581 net/spdy/spdy_framer.cc data += bytes_read; data 605 net/spdy/spdy_framer.cc size_t SpdyFramer::ProcessCommonHeader(const char* data, size_t len) { data 616 net/spdy/spdy_framer.cc UpdateCurrentFrameBuffer(&data, &len, bytes_desired); data 1030 net/spdy/spdy_framer.cc size_t SpdyFramer::UpdateCurrentFrameBuffer(const char** data, size_t* len, data 1037 net/spdy/spdy_framer.cc *data, data 1040 net/spdy/spdy_framer.cc *data += bytes_to_read; data 1108 net/spdy/spdy_framer.cc static void WriteZ(const base::StringPiece& data, data 1124 net/spdy/spdy_framer.cc out->next_in = reinterpret_cast<Bytef*>(const_cast<char*>(data.data())); data 1125 net/spdy/spdy_framer.cc out->avail_in = data.size(); data 1132 net/spdy/spdy_framer.cc if (!data.empty()) { data 1252 net/spdy/spdy_framer.cc size_t SpdyFramer::ProcessControlFrameBeforeHeaderBlock(const char* data, data 1258 net/spdy/spdy_framer.cc size_t bytes_read = UpdateCurrentFrameBuffer(&data, &len, data 1460 net/spdy/spdy_framer.cc size_t SpdyFramer::ProcessControlFrameHeaderBlock(const char* data, data 1476 net/spdy/spdy_framer.cc data, data 1485 net/spdy/spdy_framer.cc current_frame_stream_id_, data, process_bytes); data 1488 net/spdy/spdy_framer.cc current_frame_stream_id_, data, process_bytes); data 1533 net/spdy/spdy_framer.cc size_t SpdyFramer::ProcessSettingsFramePayload(const char* data, data 1552 net/spdy/spdy_framer.cc if (!ProcessSetting(data + processed_bytes)) { data 1559 net/spdy/spdy_framer.cc data + processed_bytes, data 1606 net/spdy/spdy_framer.cc ProcessControlFrameHeaderBlock(frame->data(), frame->size(), false); data 1609 net/spdy/spdy_framer.cc bool SpdyFramer::ProcessSetting(const char* data) { data 1618 net/spdy/spdy_framer.cc const uint32 id_and_flags_wire = *(reinterpret_cast<const uint32*>(data)); data 1623 net/spdy/spdy_framer.cc value = ntohl(*(reinterpret_cast<const uint32*>(data + 4))); data 1625 net/spdy/spdy_framer.cc id_field = *(reinterpret_cast<const uint8*>(data)); data 1626 net/spdy/spdy_framer.cc value = ntohl(*(reinterpret_cast<const uint32*>(data + 1))); data 1661 net/spdy/spdy_framer.cc size_t SpdyFramer::ProcessControlFramePayload(const char* data, size_t len) { data 1663 net/spdy/spdy_framer.cc size_t bytes_read = UpdateCurrentFrameBuffer(&data, &len, data 1720 net/spdy/spdy_framer.cc size_t SpdyFramer::ProcessGoAwayFramePayload(const char* data, size_t len) { data 1736 net/spdy/spdy_framer.cc UpdateCurrentFrameBuffer(&data, &len, unread_header_bytes); data 1772 net/spdy/spdy_framer.cc processed_successfully = visitor_->OnGoAwayFrameData(data, len); data 1785 net/spdy/spdy_framer.cc size_t SpdyFramer::ProcessRstStreamFramePayload(const char* data, size_t len) { data 1802 net/spdy/spdy_framer.cc UpdateCurrentFrameBuffer(&data, &len, unread_header_bytes); data 1837 net/spdy/spdy_framer.cc processed_successfully = visitor_->OnRstStreamFrameData(data, len); data 1850 net/spdy/spdy_framer.cc size_t SpdyFramer::ProcessFramePaddingLength(const char* data, size_t len) { data 1877 net/spdy/spdy_framer.cc *reinterpret_cast<const uint8*>(data); data 1878 net/spdy/spdy_framer.cc ++data; data 1894 net/spdy/spdy_framer.cc size_t SpdyFramer::ProcessFramePadding(const char* data, size_t len) { data 1908 net/spdy/spdy_framer.cc data += amount_to_discard; data 1926 net/spdy/spdy_framer.cc size_t SpdyFramer::ProcessDataFramePayload(const char* data, size_t len) { data 1935 net/spdy/spdy_framer.cc current_frame_stream_id_, data, amount_to_forward, false); data 1938 net/spdy/spdy_framer.cc data += amount_to_forward; data 2029 net/spdy/spdy_framer.cc datair.data().length() + datair.padding_payload_len() + data 2039 net/spdy/spdy_framer.cc builder.WriteBytes(datair.data().data(), datair.data().length()); data 2042 net/spdy/spdy_framer.cc builder.WriteBytes(padding.data(), padding.length()); data 2047 net/spdy/spdy_framer.cc const size_t size = GetDataFrameMinimumSize() + datair.data().length(); data 2050 net/spdy/spdy_framer.cc builder.WriteBytes(datair.data().data(), datair.data().length()); data 2057 net/spdy/spdy_framer.cc const SpdyDataIR& data) const { data 2061 net/spdy/spdy_framer.cc if (data.fin()) { data 2065 net/spdy/spdy_framer.cc if (data.pad_low()) { data 2068 net/spdy/spdy_framer.cc if (data.pad_high()) { data 2074 net/spdy/spdy_framer.cc builder.WriteDataFrameHeader(*this, data.stream_id(), flags); data 2075 net/spdy/spdy_framer.cc builder.OverwriteLength(*this, data.data().length()); data 2235 net/spdy/spdy_framer.cc builder.WriteBytes(rst_stream.description().data(), data 2355 net/spdy/spdy_framer.cc builder.WriteBytes(goaway.description().data(), data 2539 net/spdy/spdy_framer.cc virtual void VisitData(const SpdyDataIR& data) OVERRIDE { data 2540 net/spdy/spdy_framer.cc frame_.reset(framer_->SerializeData(data)); data 2671 net/spdy/spdy_framer.cc const char* data, data 2684 net/spdy/spdy_framer.cc decomp->next_in = reinterpret_cast<Bytef*>(const_cast<char*>(data)); data 2739 net/spdy/spdy_framer.cc SpdyStreamId stream_id, const char* data, size_t len) { data 2743 net/spdy/spdy_framer.cc read_successfully = visitor_->OnControlFrameHeaderData(stream_id, data, data 2745 net/spdy/spdy_framer.cc data += bytes_to_deliver; data 2819 net/spdy/spdy_framer.cc compressor->next_in = reinterpret_cast<Bytef*>(uncompressed_payload->data()); data 146 net/spdy/spdy_framer.h const char* data, data 353 net/spdy/spdy_framer.h size_t ProcessInput(const char* data, size_t len); data 373 net/spdy/spdy_framer.h SpdySerializedFrame* SerializeData(const SpdyDataIR& data) const; data 375 net/spdy/spdy_framer.h SpdySerializedFrame* SerializeDataFrameHeader(const SpdyDataIR& data) const; data 508 net/spdy/spdy_framer.h const char* data, data 543 net/spdy/spdy_framer.h size_t ProcessCommonHeader(const char* data, size_t len); data 544 net/spdy/spdy_framer.h size_t ProcessControlFramePayload(const char* data, size_t len); data 545 net/spdy/spdy_framer.h size_t ProcessControlFrameBeforeHeaderBlock(const char* data, size_t len); data 549 net/spdy/spdy_framer.h size_t ProcessControlFrameHeaderBlock(const char* data, data 552 net/spdy/spdy_framer.h size_t ProcessFramePaddingLength(const char* data, size_t len); data 553 net/spdy/spdy_framer.h size_t ProcessFramePadding(const char* data, size_t len); data 554 net/spdy/spdy_framer.h size_t ProcessDataFramePayload(const char* data, size_t len); data 555 net/spdy/spdy_framer.h size_t ProcessGoAwayFramePayload(const char* data, size_t len); data 556 net/spdy/spdy_framer.h size_t ProcessRstStreamFramePayload(const char* data, size_t len); data 557 net/spdy/spdy_framer.h size_t ProcessSettingsFramePayload(const char* data, size_t len); data 569 net/spdy/spdy_framer.h bool ProcessSetting(const char* data); data 584 net/spdy/spdy_framer.h const char* data, data 593 net/spdy/spdy_framer.h size_t UpdateCurrentFrameBuffer(const char** data, size_t* len, data 59 net/spdy/spdy_framer_test.cc CHECK_EQ(frame.size(), framer->ProcessInput(frame.data(), frame.size())); data 91 net/spdy/spdy_framer_test.cc const char* data, data 127 net/spdy/spdy_framer_test.cc memcpy(buffer_.get(), frame->data(), framer.GetSynStreamMinimumSize()); data 138 net/spdy/spdy_framer_test.cc memcpy(buffer_.get(), frame->data(), framer.GetHeadersMinimumSize()); data 169 net/spdy/spdy_framer_test.cc memcpy(buffer_.get(), frame->data(), framer.GetHeadersMinimumSize()); data 185 net/spdy/spdy_framer_test.cc memcpy(buffer_.get(), frame->data(), framer.GetPushPromiseMinimumSize()); data 274 net/spdy/spdy_framer_test.cc const char* data, data 285 net/spdy/spdy_framer_test.cc std::cerr << std::hex << (0xFF & (unsigned int)data[i]) << std::dec; data 499 net/spdy/spdy_framer_test.cc return base::StringPiece(frame->data() + framer.GetSynStreamMinimumSize(), data 528 net/spdy/spdy_framer_test.cc reinterpret_cast<const unsigned char*>(actual_frame.data()); data 538 net/spdy/spdy_framer_test.cc reinterpret_cast<const unsigned char*>(expected_frame.data()), data 540 net/spdy/spdy_framer_test.cc reinterpret_cast<const unsigned char*>(actual_frame.data()), data 602 net/spdy/spdy_framer_test.cc reinterpret_cast<unsigned char*>(frame->data()), data 626 net/spdy/spdy_framer_test.cc reinterpret_cast<unsigned char*>(frame->data()), data 647 net/spdy/spdy_framer_test.cc EXPECT_GT(frame->size(), framer.ProcessInput(frame->data(), frame->size())); data 667 net/spdy/spdy_framer_test.cc EXPECT_GT(frame->size(), framer.ProcessInput(frame->data(), frame->size())); data 692 net/spdy/spdy_framer_test.cc EXPECT_GT(frame->size(), framer.ProcessInput(frame->data(), frame->size())); data 717 net/spdy/spdy_framer_test.cc EXPECT_GT(frame->size(), framer.ProcessInput(frame->data(), frame->size())); data 765 net/spdy/spdy_framer_test.cc EXPECT_FALSE(framer.ParseHeaderBlockInBuffer(serialized_headers.data(), data 812 net/spdy/spdy_framer_test.cc reinterpret_cast<unsigned char*>(control_frame->data()), data 1339 net/spdy/spdy_framer_test.cc EXPECT_TRUE(recv_framer.ParseHeaderBlockInBuffer(serialized_headers.data(), data 1352 net/spdy/spdy_framer_test.cc EXPECT_TRUE(recv_framer.ParseHeaderBlockInBuffer(serialized_headers.data(), data 1387 net/spdy/spdy_framer_test.cc const unsigned char* data; data 1388 net/spdy/spdy_framer_test.cc data = reinterpret_cast<const unsigned char*>(syn_frame->data()); data 1389 net/spdy/spdy_framer_test.cc visitor.SimulateInFramer(data, syn_frame->size()); data 1390 net/spdy/spdy_framer_test.cc data = reinterpret_cast<const unsigned char*>(send_frame->data()); data 1391 net/spdy/spdy_framer_test.cc visitor.SimulateInFramer(data, send_frame->size()); data 1431 net/spdy/spdy_framer_test.cc const unsigned char* data; data 1432 net/spdy/spdy_framer_test.cc data = reinterpret_cast<const unsigned char*>(syn_frame->data()); data 1434 net/spdy/spdy_framer_test.cc visitor.SimulateInFramer(data + idx, 1); data 1437 net/spdy/spdy_framer_test.cc data = reinterpret_cast<const unsigned char*>(send_frame->data()); data 1439 net/spdy/spdy_framer_test.cc visitor.SimulateInFramer(data + idx, 1); data 1513 net/spdy/spdy_framer_test.cc reinterpret_cast<const unsigned char*>(frame->data()), data 1665 net/spdy/spdy_framer_test.cc net::SpdyDataIR data_ir(1, StringPiece(kData.data(), kData.size())); data 2812 net/spdy/spdy_framer_test.cc reinterpret_cast<unsigned char*>(control_frame->data()), data 2829 net/spdy/spdy_framer_test.cc reinterpret_cast<unsigned char*>(control_frame->data()), data 2852 net/spdy/spdy_framer_test.cc reinterpret_cast<unsigned char*>(control_frame->data()), data 2877 net/spdy/spdy_framer_test.cc reinterpret_cast<unsigned char*>(control_frame->data()), data 2915 net/spdy/spdy_framer_test.cc reinterpret_cast<unsigned char*>(control_frame->data()), data 2955 net/spdy/spdy_framer_test.cc reinterpret_cast<unsigned char*>(control_frame->data()), data 2986 net/spdy/spdy_framer_test.cc reinterpret_cast<unsigned char*>(control_frame->data()), data 3026 net/spdy/spdy_framer_test.cc reinterpret_cast<unsigned char*>(control_frame->data()), data 3087 net/spdy/spdy_framer_test.cc reinterpret_cast<unsigned char*>(control_frame->data()), data 3115 net/spdy/spdy_framer_test.cc reinterpret_cast<unsigned char*>(control_frame->data()), data 3147 net/spdy/spdy_framer_test.cc reinterpret_cast<unsigned char*>(control_frame->data()), data 3162 net/spdy/spdy_framer_test.cc reinterpret_cast<unsigned char*>(control_frame->data() + framed_data), data 3335 net/spdy/spdy_framer_test.cc CHECK_EQ(8u, framer.ProcessInput(frame->data(), 8)); data 3341 net/spdy/spdy_framer_test.cc CHECK_EQ(1u, framer.ProcessInput(frame->data() + bytes_consumed, 1)); data 3347 net/spdy/spdy_framer_test.cc CHECK_EQ(1u, framer.ProcessInput(frame->data() + bytes_consumed, 1)); data 3354 net/spdy/spdy_framer_test.cc CHECK_EQ(2u, framer.ProcessInput(frame->data() + bytes_consumed, 2)); data 3361 net/spdy/spdy_framer_test.cc CHECK_EQ(3u, framer.ProcessInput(frame->data() + bytes_consumed, 3)); data 3368 net/spdy/spdy_framer_test.cc CHECK_EQ(100u, framer.ProcessInput(frame->data() + bytes_consumed, 100)); data 3375 net/spdy/spdy_framer_test.cc CHECK_EQ(410u, framer.ProcessInput(frame->data() + bytes_consumed, 410)); data 3386 net/spdy/spdy_framer_test.cc reinterpret_cast<unsigned char*>(control_frame->data()), data 3448 net/spdy/spdy_framer_test.cc multiple_frame_data.append(string(control_frame->data(), data 3451 net/spdy/spdy_framer_test.cc reinterpret_cast<unsigned const char*>(multiple_frame_data.data()), data 3501 net/spdy/spdy_framer_test.cc reinterpret_cast<unsigned char*>(frame->data()), data 4025 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); data 4073 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); data 4140 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); data 4191 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); data 4223 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); data 4264 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); data 4300 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); data 4338 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); data 4390 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); data 4434 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); data 4467 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); data 4513 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); data 4569 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame0->data(), frame0->size()); data 4570 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); data 4606 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), framer.GetSynStreamMinimumSize()); data 4738 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), framer.GetBlockedSize()); data 134 net/spdy/spdy_http_stream.cc return response_body_queue_.Dequeue(buf->data(), buf_len); data 205 net/spdy/spdy_http_stream_unittest.cc data()->CompleteRead(); data 210 net/spdy/spdy_http_stream_unittest.cc EXPECT_TRUE(data()->at_read_eof()); data 211 net/spdy/spdy_http_stream_unittest.cc EXPECT_TRUE(data()->at_write_eof()); data 374 net/spdy/spdy_http_stream_unittest.cc data()->CompleteRead(); data 380 net/spdy/spdy_http_stream_unittest.cc EXPECT_TRUE(data()->at_read_eof()); data 381 net/spdy/spdy_http_stream_unittest.cc EXPECT_TRUE(data()->at_write_eof()); data 463 net/spdy/spdy_http_stream_unittest.cc EXPECT_EQ(kUploadData, std::string(buf1->data(), kUploadDataSize)); data 471 net/spdy/spdy_http_stream_unittest.cc EXPECT_EQ(kUploadData1, std::string(buf2->data(), kUploadData1Size)); data 479 net/spdy/spdy_http_stream_unittest.cc EXPECT_EQ(kUploadData, std::string(buf3->data(), kUploadDataSize)); data 530 net/spdy/spdy_http_stream_unittest.cc data()->CompleteRead(); data 535 net/spdy/spdy_http_stream_unittest.cc EXPECT_TRUE(data()->at_read_eof()); data 536 net/spdy/spdy_http_stream_unittest.cc EXPECT_TRUE(data()->at_write_eof()); data 623 net/spdy/spdy_http_stream_unittest.cc EXPECT_EQ(kUploadData, std::string(buf1->data(), kUploadDataSize)); data 301 net/spdy/spdy_network_transaction_unittest.cc void RunToCompletion(StaticSocketDataProvider* data) { data 303 net/spdy/spdy_network_transaction_unittest.cc AddData(data); data 308 net/spdy/spdy_network_transaction_unittest.cc void AddData(StaticSocketDataProvider* data) { data 310 net/spdy/spdy_network_transaction_unittest.cc data_vector_.push_back(data); data 320 net/spdy/spdy_network_transaction_unittest.cc session_deps_->socket_factory->AddSocketDataProvider(data); data 333 net/spdy/spdy_network_transaction_unittest.cc void AddDeterministicData(DeterministicSocketData* data) { data 335 net/spdy/spdy_network_transaction_unittest.cc data_vector_.push_back(data); data 347 net/spdy/spdy_network_transaction_unittest.cc session_deps_->deterministic_socket_factory->AddSocketDataProvider(data); data 557 net/spdy/spdy_network_transaction_unittest.cc StaticSocketDataProvider* data, data 570 net/spdy/spdy_network_transaction_unittest.cc data->CompleteRead(); data 577 net/spdy/spdy_network_transaction_unittest.cc result->append(buf->data(), rv); data 601 net/spdy/spdy_network_transaction_unittest.cc void RunServerPushTest(OrderedSocketData* data, data 608 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(data); data 632 net/spdy/spdy_network_transaction_unittest.cc ReadResult(trans2.get(), data, &result2); data 635 net/spdy/spdy_network_transaction_unittest.cc ReadResult(trans, data, &result); data 638 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data->at_read_eof()); data 639 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data->at_write_eof()); data 744 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 748 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 816 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 822 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 878 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 887 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 962 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 975 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 1177 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 1187 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 1220 net/spdy/spdy_network_transaction_unittest.cc EXPECT_EQ(7U, data.read_index()); // i.e. the third trans was queued data 1316 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 1325 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 1365 net/spdy/spdy_network_transaction_unittest.cc EXPECT_EQ(data.read_index(), 7U); // i.e. the third & fourth trans queued data 1450 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 1459 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 1493 net/spdy/spdy_network_transaction_unittest.cc EXPECT_EQ(8U, data.read_index()); data 1582 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 1591 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 1622 net/spdy/spdy_network_transaction_unittest.cc EXPECT_EQ(6U, data.read_index()); data 1699 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 1703 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 1767 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 1771 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 1796 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(2, reads, arraysize(reads), data 1800 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 1825 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(2, reads, arraysize(reads), data 1829 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 1845 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), writes, arraysize(writes)); data 1850 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 1876 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(2, reads, arraysize(reads), data 1881 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 1904 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(2, reads, arraysize(reads), data 1917 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 1946 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(4, reads, arraysize(reads), data 1956 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 2012 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 2017 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 2059 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), writes, arraysize(writes)); data 2063 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 2087 net/spdy/spdy_network_transaction_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 2094 net/spdy/spdy_network_transaction_unittest.cc helper.AddDeterministicData(&data); data 2100 net/spdy/spdy_network_transaction_unittest.cc data.RunFor(3); data 2108 net/spdy/spdy_network_transaction_unittest.cc data.RunFor(2); data 2136 net/spdy/spdy_network_transaction_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 2142 net/spdy/spdy_network_transaction_unittest.cc helper.AddDeterministicData(&data); data 2150 net/spdy/spdy_network_transaction_unittest.cc data.SetStop(2); data 2151 net/spdy/spdy_network_transaction_unittest.cc data.Run(); data 2153 net/spdy/spdy_network_transaction_unittest.cc data.SetStop(20); data 2154 net/spdy/spdy_network_transaction_unittest.cc data.Run(); data 2167 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), NULL, 0); data 2170 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 2196 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 2202 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 2247 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 2251 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 2285 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 2289 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 2317 net/spdy/spdy_network_transaction_unittest.cc StaticSocketDataProvider data(reads, arraysize(reads), data 2323 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 2355 net/spdy/spdy_network_transaction_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 2363 net/spdy/spdy_network_transaction_unittest.cc helper.AddDeterministicData(&data); data 2372 net/spdy/spdy_network_transaction_unittest.cc data.SetStop(2); data 2373 net/spdy/spdy_network_transaction_unittest.cc data.Run(); data 2375 net/spdy/spdy_network_transaction_unittest.cc data.SetStop(20); data 2376 net/spdy/spdy_network_transaction_unittest.cc data.Run(); data 2413 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 2421 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 2439 net/spdy/spdy_network_transaction_unittest.cc data.CompleteRead(); data 2441 net/spdy/spdy_network_transaction_unittest.cc data.CompleteRead(); data 2462 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 2468 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 2487 net/spdy/spdy_network_transaction_unittest.cc data.CompleteRead(); data 2531 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 2547 net/spdy/spdy_network_transaction_unittest.cc AddSocketDataProvider(&data); data 2565 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data.at_read_eof()); data 2566 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 2625 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 2642 net/spdy/spdy_network_transaction_unittest.cc AddSocketDataProvider(&data); data 2671 net/spdy/spdy_network_transaction_unittest.cc data.CompleteRead(); data 2673 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data.at_read_eof()); data 2674 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 2711 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 2713 net/spdy/spdy_network_transaction_unittest.cc RunServerPushTest(&data, data 2759 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 2761 net/spdy/spdy_network_transaction_unittest.cc RunServerPushTest(&data, data 2805 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 2807 net/spdy/spdy_network_transaction_unittest.cc RunServerPushTest(&data, data 2848 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 2854 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 2867 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data.at_read_eof()) << "Read count: " data 2868 net/spdy/spdy_network_transaction_unittest.cc << data.read_count() data 2870 net/spdy/spdy_network_transaction_unittest.cc << data.read_index(); data 2871 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data.at_write_eof()) << "Write count: " data 2872 net/spdy/spdy_network_transaction_unittest.cc << data.write_count() data 2874 net/spdy/spdy_network_transaction_unittest.cc << data.write_index(); data 2926 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 2928 net/spdy/spdy_network_transaction_unittest.cc RunServerPushTest(&data, data 2965 net/spdy/spdy_network_transaction_unittest.cc new SpdyFrame(stream2_body_base->data(), kChunkSize, false)); data 2967 net/spdy/spdy_network_transaction_unittest.cc new SpdyFrame(stream2_body_base->data() + kChunkSize, kChunkSize, false)); data 2969 net/spdy/spdy_network_transaction_unittest.cc new SpdyFrame(stream2_body_base->data() + 2 * kChunkSize, data 2972 net/spdy/spdy_network_transaction_unittest.cc new SpdyFrame(stream2_body_base->data() + 3 * kChunkSize, data 2988 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 2990 net/spdy/spdy_network_transaction_unittest.cc RunServerPushTest(&data, &response, &response2, kPushedData); data 3024 net/spdy/spdy_network_transaction_unittest.cc new SpdyFrame(stream2_body_base->data(), kChunkSize, false)); data 3026 net/spdy/spdy_network_transaction_unittest.cc new SpdyFrame(stream2_body_base->data() + kChunkSize, kChunkSize, false)); data 3028 net/spdy/spdy_network_transaction_unittest.cc new SpdyFrame(stream2_body_base->data() + 2 * kChunkSize, data 3031 net/spdy/spdy_network_transaction_unittest.cc new SpdyFrame(stream2_body_base->data() + 3 * kChunkSize, data 3047 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 3049 net/spdy/spdy_network_transaction_unittest.cc RunServerPushTest(&data, &response, &response2, kPushedData); data 3092 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 3098 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 3111 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data.at_read_eof()) << "Read count: " data 3112 net/spdy/spdy_network_transaction_unittest.cc << data.read_count() data 3114 net/spdy/spdy_network_transaction_unittest.cc << data.read_index(); data 3115 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data.at_write_eof()) << "Write count: " data 3116 net/spdy/spdy_network_transaction_unittest.cc << data.write_count() data 3118 net/spdy/spdy_network_transaction_unittest.cc << data.write_index(); data 3158 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 3164 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 3177 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data.at_read_eof()) << "Read count: " data 3178 net/spdy/spdy_network_transaction_unittest.cc << data.read_count() data 3180 net/spdy/spdy_network_transaction_unittest.cc << data.read_index(); data 3181 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data.at_write_eof()) << "Write count: " data 3182 net/spdy/spdy_network_transaction_unittest.cc << data.write_count() data 3184 net/spdy/spdy_network_transaction_unittest.cc << data.write_index(); data 3226 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 3232 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 3244 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data.at_read_eof()) << "Read count: " data 3245 net/spdy/spdy_network_transaction_unittest.cc << data.read_count() data 3247 net/spdy/spdy_network_transaction_unittest.cc << data.read_index(); data 3248 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data.at_write_eof()) << "Write count: " data 3249 net/spdy/spdy_network_transaction_unittest.cc << data.write_count() data 3251 net/spdy/spdy_network_transaction_unittest.cc << data.write_index(); data 3318 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 3322 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 3470 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 3474 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 3578 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 3582 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 3626 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, test_cases[i].syn_reply->data(), wrong_size), data 3631 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 3635 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 3667 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, syn_reply_wrong_length->data(), data 3671 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 3675 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 3686 net/spdy/spdy_network_transaction_unittest.cc MockWrite(ASYNC, req->data(), 10, 0), data 3695 net/spdy/spdy_network_transaction_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 3702 net/spdy/spdy_network_transaction_unittest.cc helper.AddDeterministicData(&data); data 3704 net/spdy/spdy_network_transaction_unittest.cc data.RunFor(2); data 3706 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 3707 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(!data.at_read_eof()); data 3728 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(kChunks, reads, arraysize(reads), data 3732 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 3760 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 3767 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 3770 net/spdy/spdy_network_transaction_unittest.cc data.Reset(); data 3792 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 3797 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 3895 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 3903 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 3929 net/spdy/spdy_network_transaction_unittest.cc data.CompleteRead(); data 3933 net/spdy/spdy_network_transaction_unittest.cc content.append(buf->data(), rv); data 3987 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 3993 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 4022 net/spdy/spdy_network_transaction_unittest.cc data.CompleteRead(); data 4027 net/spdy/spdy_network_transaction_unittest.cc content.append(buf->data(), rv); data 4085 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 4091 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 4121 net/spdy/spdy_network_transaction_unittest.cc content.append(buf->data(), rv); data 4174 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 4180 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 4210 net/spdy/spdy_network_transaction_unittest.cc data.CompleteRead(); data 4214 net/spdy/spdy_network_transaction_unittest.cc content.append(buf->data(), rv); data 4255 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 4261 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 4288 net/spdy/spdy_network_transaction_unittest.cc data.CompleteRead(); data 4377 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 4379 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 4518 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(2, reads, arraysize(reads), data 4520 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 4561 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 4565 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 4566 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 4582 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 4588 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 4665 net/spdy/spdy_network_transaction_unittest.cc scoped_ptr<OrderedSocketData> data; data 4668 net/spdy/spdy_network_transaction_unittest.cc data.reset(new OrderedSocketData(reads_SPDYNOSSL, data 4674 net/spdy/spdy_network_transaction_unittest.cc data.reset(new OrderedSocketData(reads_SPDYSSL, data 4680 net/spdy/spdy_network_transaction_unittest.cc data.reset(new OrderedSocketData(reads_SPDYNPN, data 4689 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(data.get()); data 4747 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 4749 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 4886 net/spdy/spdy_network_transaction_unittest.cc data.CompleteRead(); data 4986 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, spdy_reads, arraysize(spdy_reads), data 4990 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 5061 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(spdy_reads, arraysize(spdy_reads), data 5069 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 5159 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 5161 net/spdy/spdy_network_transaction_unittest.cc RunServerPushTest(&data, data 5228 net/spdy/spdy_network_transaction_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 5234 net/spdy/spdy_network_transaction_unittest.cc helper.AddDeterministicData(&data); data 5242 net/spdy/spdy_network_transaction_unittest.cc data.SetStop(3); data 5249 net/spdy/spdy_network_transaction_unittest.cc data.Run(); data 5260 net/spdy/spdy_network_transaction_unittest.cc data.RunFor(3); data 5265 net/spdy/spdy_network_transaction_unittest.cc ReadResult(trans2.get(), &data, &result2); data 5268 net/spdy/spdy_network_transaction_unittest.cc ReadResult(trans, &data, &result); data 5293 net/spdy/spdy_network_transaction_unittest.cc data.RunFor(1); data 5296 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data.at_read_eof()); data 5297 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 5364 net/spdy/spdy_network_transaction_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 5370 net/spdy/spdy_network_transaction_unittest.cc helper.AddDeterministicData(&data); data 5378 net/spdy/spdy_network_transaction_unittest.cc data.SetStop(4); data 5385 net/spdy/spdy_network_transaction_unittest.cc data.Run(); data 5396 net/spdy/spdy_network_transaction_unittest.cc data.RunFor(3); data 5401 net/spdy/spdy_network_transaction_unittest.cc ReadResult(trans2.get(), &data, &result2); data 5404 net/spdy/spdy_network_transaction_unittest.cc ReadResult(trans, &data, &result); data 5442 net/spdy/spdy_network_transaction_unittest.cc data.RunFor(1); data 5445 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data.at_read_eof()); data 5446 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 5497 net/spdy/spdy_network_transaction_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 5503 net/spdy/spdy_network_transaction_unittest.cc helper.AddDeterministicData(&data); data 5511 net/spdy/spdy_network_transaction_unittest.cc data.SetStop(4); data 5518 net/spdy/spdy_network_transaction_unittest.cc data.Run(); data 5529 net/spdy/spdy_network_transaction_unittest.cc data.RunFor(2); data 5534 net/spdy/spdy_network_transaction_unittest.cc ReadResult(trans2.get(), &data, &result2); data 5537 net/spdy/spdy_network_transaction_unittest.cc ReadResult(trans, &data, &result); data 5555 net/spdy/spdy_network_transaction_unittest.cc data.RunFor(1); data 5558 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data.at_read_eof()); data 5559 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 5603 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 5607 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 5656 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, reads, arraysize(reads), data 5660 net/spdy/spdy_network_transaction_unittest.cc helper.RunToCompletion(&data); data 5734 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 5751 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 5764 net/spdy/spdy_network_transaction_unittest.cc ReadResult(trans, &data, &result); data 5767 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data.at_read_eof()); data 5768 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 5804 net/spdy/spdy_network_transaction_unittest.cc OrderedSocketData data(reads, arraysize(reads), data 5810 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 5823 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data.at_read_eof()) << "Read count: " data 5824 net/spdy/spdy_network_transaction_unittest.cc << data.read_count() data 5826 net/spdy/spdy_network_transaction_unittest.cc << data.read_index(); data 5827 net/spdy/spdy_network_transaction_unittest.cc EXPECT_TRUE(data.at_write_eof()) << "Write count: " data 5828 net/spdy/spdy_network_transaction_unittest.cc << data.write_count() data 5830 net/spdy/spdy_network_transaction_unittest.cc << data.write_index(); data 5872 net/spdy/spdy_network_transaction_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 5878 net/spdy/spdy_network_transaction_unittest.cc helper.AddDeterministicData(&data); data 5912 net/spdy/spdy_network_transaction_unittest.cc data.RunFor(2); data 5916 net/spdy/spdy_network_transaction_unittest.cc data.SetStop(10); data 5917 net/spdy/spdy_network_transaction_unittest.cc data.Run(); data 5989 net/spdy/spdy_network_transaction_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 6008 net/spdy/spdy_network_transaction_unittest.cc helper.AddDeterministicData(&data); data 6018 net/spdy/spdy_network_transaction_unittest.cc data.RunFor(11); data 6028 net/spdy/spdy_network_transaction_unittest.cc data.RunFor(1); data 6068 net/spdy/spdy_network_transaction_unittest.cc 1, body_data.data(), frame_size, false)); data 6074 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(1, vector_as_array(&reads), reads.size(), data 6079 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 6112 net/spdy/spdy_network_transaction_unittest.cc EXPECT_THAT(base::StringPiece(buf->data(), kTargetSize), Each(Eq('x'))); data 6154 net/spdy/spdy_network_transaction_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 6174 net/spdy/spdy_network_transaction_unittest.cc helper.AddDeterministicData(&data); data 6181 net/spdy/spdy_network_transaction_unittest.cc data.RunFor(5); data 6270 net/spdy/spdy_network_transaction_unittest.cc DelayedSocketData data(num_writes, reads + read_offset, num_reads, data 6286 net/spdy/spdy_network_transaction_unittest.cc helper.AddData(&data); data 6309 net/spdy/spdy_network_transaction_unittest.cc data.ForceNextRead(); // Read in WINDOW_UPDATE frame. data 6384 net/spdy/spdy_network_transaction_unittest.cc DeterministicSocketData data(vector_as_array(&reads), reads.size(), data 6402 net/spdy/spdy_network_transaction_unittest.cc helper.AddDeterministicData(&data); data 6410 net/spdy/spdy_network_transaction_unittest.cc data.RunFor(num_writes - 1); // Write as much as we can. data 6425 net/spdy/spdy_network_transaction_unittest.cc data.RunFor(6); // Read in SETTINGS frame to unstall. data 6508 net/spdy/spdy_network_transaction_unittest.cc DeterministicSocketData data(vector_as_array(&reads), reads.size(), data 6526 net/spdy/spdy_network_transaction_unittest.cc helper.AddDeterministicData(&data); data 6534 net/spdy/spdy_network_transaction_unittest.cc data.RunFor(num_writes - 1); // Write as much as we can. data 6550 net/spdy/spdy_network_transaction_unittest.cc data.RunFor((GetParam().protocol >= kProtoSPDY31) ? 8 : 7); data 21 net/spdy/spdy_pinnable_buffer_piece_test.cc return SpdyPrefixedBufferReader(prefix_.data(), prefix_.length(), data 22 net/spdy/spdy_pinnable_buffer_piece_test.cc suffix_.data(), suffix_.length()); data 35 net/spdy/spdy_pinnable_buffer_piece_test.cc EXPECT_EQ(prefix_.data(), piece.buffer()); data 42 net/spdy/spdy_pinnable_buffer_piece_test.cc EXPECT_NE(prefix_.data(), piece.buffer()); data 22 net/spdy/spdy_prefixed_buffer_reader_test.cc return SpdyPrefixedBufferReader(prefix_.data(), prefix_.length(), data 23 net/spdy/spdy_prefixed_buffer_reader_test.cc suffix_.data(), suffix_.length()); data 14 net/spdy/spdy_protocol.cc SpdyDataIR::SpdyDataIR(SpdyStreamId stream_id, const base::StringPiece& data) data 19 net/spdy/spdy_protocol.cc SetDataDeep(data); data 524 net/spdy/spdy_protocol.h SpdyDataIR(SpdyStreamId stream_id, const base::StringPiece& data); data 531 net/spdy/spdy_protocol.h base::StringPiece data() const { return data_; } data 557 net/spdy/spdy_protocol.h void SetDataDeep(const base::StringPiece& data) { data 558 net/spdy/spdy_protocol.h data_store_.reset(new std::string(data.data(), data.length())); data 563 net/spdy/spdy_protocol.h void SetDataShallow(const base::StringPiece& data) { data 565 net/spdy/spdy_protocol.h data_ = data; data 862 net/spdy/spdy_protocol.h SpdyFrame(char* data, size_t size, bool owns_buffer) data 863 net/spdy/spdy_protocol.h : frame_(data), data 878 net/spdy/spdy_protocol.h char* data() const { return frame_; } data 909 net/spdy/spdy_protocol.h virtual void VisitData(const SpdyDataIR& data) = 0; data 209 net/spdy/spdy_proxy_client_socket.cc size_t result = PopulateUserReadBuffer(buf->data(), buf_len); data 221 net/spdy/spdy_proxy_client_socket.cc size_t SpdyProxyClientSocket::PopulateUserReadBuffer(char* data, size_t len) { data 222 net/spdy/spdy_proxy_client_socket.cc return read_buffer_queue_.Dequeue(data, len); data 234 net/spdy/spdy_proxy_client_socket.cc buf_len, buf->data()); data 471 net/spdy/spdy_proxy_client_socket.cc int rv = PopulateUserReadBuffer(user_buffer_->data(), user_buffer_len_); data 80 net/spdy/spdy_proxy_client_socket_unittest.cc SpdyFrame* ConstructBodyFrame(const char* data, int length); data 81 net/spdy/spdy_proxy_client_socket_unittest.cc scoped_refptr<IOBufferWithSize> CreateBuffer(const char* data, int size); data 85 net/spdy/spdy_proxy_client_socket_unittest.cc void AssertSyncReadEquals(const char* data, int len); data 86 net/spdy/spdy_proxy_client_socket_unittest.cc void AssertAsyncReadEquals(const char* data, int len); data 87 net/spdy/spdy_proxy_client_socket_unittest.cc void AssertReadStarts(const char* data, int len); data 88 net/spdy/spdy_proxy_client_socket_unittest.cc void AssertReadReturns(const char* data, int len); data 89 net/spdy/spdy_proxy_client_socket_unittest.cc void AssertAsyncWriteSucceeds(const char* data, int len); data 90 net/spdy/spdy_proxy_client_socket_unittest.cc void AssertWriteReturns(const char* data, int len, int rv); data 92 net/spdy/spdy_proxy_client_socket_unittest.cc void AssertAsyncWriteWithReadsSucceeds(const char* data, int len, data 211 net/spdy/spdy_proxy_client_socket_unittest.cc const char* data, int size) { data 213 net/spdy/spdy_proxy_client_socket_unittest.cc memcpy(buf->data(), data, size); data 236 net/spdy/spdy_proxy_client_socket_unittest.cc void SpdyProxyClientSocketTest::AssertSyncReadEquals(const char* data, data 240 net/spdy/spdy_proxy_client_socket_unittest.cc ASSERT_EQ(std::string(data, len), std::string(buf->data(), len)); data 244 net/spdy/spdy_proxy_client_socket_unittest.cc void SpdyProxyClientSocketTest::AssertAsyncReadEquals(const char* data, data 258 net/spdy/spdy_proxy_client_socket_unittest.cc ASSERT_EQ(std::string(data, len), std::string(buf->data(), len)); data 261 net/spdy/spdy_proxy_client_socket_unittest.cc void SpdyProxyClientSocketTest::AssertReadStarts(const char* data, data 271 net/spdy/spdy_proxy_client_socket_unittest.cc void SpdyProxyClientSocketTest::AssertReadReturns(const char* data, data 277 net/spdy/spdy_proxy_client_socket_unittest.cc ASSERT_EQ(std::string(data, len), std::string(read_buf_->data(), len)); data 280 net/spdy/spdy_proxy_client_socket_unittest.cc void SpdyProxyClientSocketTest::AssertAsyncWriteSucceeds(const char* data, data 282 net/spdy/spdy_proxy_client_socket_unittest.cc AssertWriteReturns(data, len, ERR_IO_PENDING); data 287 net/spdy/spdy_proxy_client_socket_unittest.cc void SpdyProxyClientSocketTest::AssertWriteReturns(const char* data, data 290 net/spdy/spdy_proxy_client_socket_unittest.cc scoped_refptr<IOBufferWithSize> buf(CreateBuffer(data, len)); data 300 net/spdy/spdy_proxy_client_socket_unittest.cc const char* data, int len, int num_reads) { data 301 net/spdy/spdy_proxy_client_socket_unittest.cc scoped_refptr<IOBufferWithSize> buf(CreateBuffer(data, len)); data 463 net/spdy/spdy_proxy_client_socket_unittest.cc const char* data, data 465 net/spdy/spdy_proxy_client_socket_unittest.cc return framer_.CreateDataFrame(kStreamId, data, length, DATA_FLAG_NONE); data 668 net/spdy/spdy_proxy_client_socket_unittest.cc scoped_ptr<SpdyFrame> chunk(ConstructBodyFrame(chunk_data.data(), data 688 net/spdy/spdy_proxy_client_socket_unittest.cc scoped_refptr<IOBufferWithSize> buf(CreateBuffer(big_data.data(), data 894 net/spdy/spdy_proxy_client_socket_unittest.cc ASSERT_EQ(std::string(kMsg3, kLen3), std::string(buf->data(), kLen3)); data 1120 net/spdy/spdy_proxy_client_socket_unittest.cc ASSERT_EQ(std::string(kMsg1, kLen1), std::string(buf->data(), kLen1)); data 25 net/spdy/spdy_read_queue_unittest.cc void EnqueueString(const std::string& data, data 28 net/spdy/spdy_read_queue_unittest.cc ASSERT_GT(data.size(), 0u); data 31 net/spdy/spdy_read_queue_unittest.cc for (size_t i = 0; i < data.size();) { data 32 net/spdy/spdy_read_queue_unittest.cc size_t buffer_size = std::min(data.size() - i, max_buffer_size); data 34 net/spdy/spdy_read_queue_unittest.cc scoped_ptr<SpdyBuffer>(new SpdyBuffer(data.data() + i, buffer_size))); data 44 net/spdy/spdy_read_queue_unittest.cc std::string data; data 67 net/spdy/spdy_read_queue_unittest.cc data.append(buffer_data, dequeued_bytes); data 72 net/spdy/spdy_read_queue_unittest.cc return data; data 79 net/spdy/spdy_read_queue_unittest.cc std::string data(kData, kDataSize); data 81 net/spdy/spdy_read_queue_unittest.cc EnqueueString(data, enqueue_max_buffer_size, &read_queue); data 84 net/spdy/spdy_read_queue_unittest.cc EXPECT_EQ(data, drained_data); data 905 net/spdy/spdy_session.cc IOBuffer* data, data 1015 net/spdy/spdy_session.cc stream_id, data->data(), data 1273 net/spdy/spdy_session.cc char* data = read_buffer_->data(); data 1275 net/spdy/spdy_session.cc uint32 bytes_processed = buffered_spdy_framer_->ProcessInput(data, result); data 1277 net/spdy/spdy_session.cc data += bytes_processed; data 1907 net/spdy/spdy_session.cc const char* data, data 1915 net/spdy/spdy_session.cc if (data == NULL && len != 0) { data 1935 net/spdy/spdy_session.cc if (data) { data 1938 net/spdy/spdy_session.cc buffer.reset(new SpdyBuffer(data, len)); data 300 net/spdy/spdy_session.h IOBuffer* data, data 797 net/spdy/spdy_session.h const char* data, data 106 net/spdy/spdy_session_pool_unittest.cc StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); data 107 net/spdy/spdy_session_pool_unittest.cc data.set_connect_data(connect_data); data 108 net/spdy/spdy_session_pool_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 147 net/spdy/spdy_session_pool_unittest.cc StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); data 148 net/spdy/spdy_session_pool_unittest.cc data.set_connect_data(connect_data); data 149 net/spdy/spdy_session_pool_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 170 net/spdy/spdy_session_pool_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 184 net/spdy/spdy_session_pool_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 269 net/spdy/spdy_session_pool_unittest.cc StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); data 270 net/spdy/spdy_session_pool_unittest.cc data.set_connect_data(connect_data); data 271 net/spdy/spdy_session_pool_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 359 net/spdy/spdy_session_pool_unittest.cc StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); data 360 net/spdy/spdy_session_pool_unittest.cc data.set_connect_data(connect_data); data 361 net/spdy/spdy_session_pool_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 392 net/spdy/spdy_session_pool_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 240 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), NULL, 0); data 242 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 243 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 296 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), NULL, 0); data 297 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 298 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 310 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 327 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), NULL, 0); data 328 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 329 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 333 net/spdy/spdy_session_unittest.cc data.StopAfter(1); data 363 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 365 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 366 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 397 net/spdy/spdy_session_unittest.cc data.RunFor(2); data 405 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 444 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 446 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 447 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 478 net/spdy/spdy_session_unittest.cc data.RunFor(2); data 486 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 498 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 523 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 525 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 526 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 557 net/spdy/spdy_session_unittest.cc data.RunFor(2); data 565 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 597 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 599 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 600 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 621 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 628 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 640 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 667 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 669 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 670 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 691 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 698 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 705 net/spdy/spdy_session_unittest.cc data.RunFor(3); data 724 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 726 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 727 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 748 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 791 net/spdy/spdy_session_unittest.cc DeterministicSocketData data( data 793 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 794 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 816 net/spdy/spdy_session_unittest.cc data.RunFor(2); data 825 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 846 net/spdy/spdy_session_unittest.cc StaticSocketDataProvider data( data 848 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 849 net/spdy/spdy_session_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 895 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 897 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 898 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 919 net/spdy/spdy_session_unittest.cc data.RunFor(2); data 944 net/spdy/spdy_session_unittest.cc DeterministicSocketData data( data 948 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 949 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 966 net/spdy/spdy_session_unittest.cc data.RunFor(3); data 986 net/spdy/spdy_session_unittest.cc data.RunFor(2); data 1003 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 1015 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), NULL, 0); data 1016 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 1017 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 1076 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), NULL, 0); data 1078 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 1079 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 1102 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 1106 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 1135 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), NULL, 0); data 1137 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 1138 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 1173 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 1186 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 1202 net/spdy/spdy_session_unittest.cc StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); data 1205 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 1206 net/spdy/spdy_session_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 1303 net/spdy/spdy_session_unittest.cc StaticSocketDataProvider data(reads, arraysize(reads), data 1305 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 1306 net/spdy/spdy_session_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 1323 net/spdy/spdy_session_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 1354 net/spdy/spdy_session_unittest.cc StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); data 1355 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 1356 net/spdy/spdy_session_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 1396 net/spdy/spdy_session_unittest.cc StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); data 1397 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 1398 net/spdy/spdy_session_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 1467 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 1469 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 1470 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 1509 net/spdy/spdy_session_unittest.cc data.RunFor(7); data 1537 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 1539 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 1540 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 1582 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 1607 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 1609 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 1610 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 1678 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 1680 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 1681 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 1756 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 1758 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 1759 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 1800 net/spdy/spdy_session_unittest.cc data.RunFor(2); data 1837 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 1839 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 1840 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 1883 net/spdy/spdy_session_unittest.cc data.RunFor(2); data 1934 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 1936 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 1937 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 1961 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 1987 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 1989 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 1990 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 2029 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 2031 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 2032 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 2107 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 2109 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 2110 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 2118 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 2156 net/spdy/spdy_session_unittest.cc data.RunFor(3); data 2182 net/spdy/spdy_session_unittest.cc data.RunFor(3); data 2208 net/spdy/spdy_session_unittest.cc data.RunFor(3); data 2216 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 2226 net/spdy/spdy_session_unittest.cc StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); data 2229 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 2230 net/spdy/spdy_session_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 2322 net/spdy/spdy_session_unittest.cc char* payload_data = payload->data(); data 2344 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 2346 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 2348 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 2375 net/spdy/spdy_session_unittest.cc data.RunFor(2); data 2381 net/spdy/spdy_session_unittest.cc data.RunFor(4); data 2387 net/spdy/spdy_session_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 2388 net/spdy/spdy_session_unittest.cc EXPECT_TRUE(data.at_read_eof()); data 2413 net/spdy/spdy_session_unittest.cc char* payload_data = payload->data(); data 2435 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 2437 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 2439 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 2466 net/spdy/spdy_session_unittest.cc data.RunFor(2); data 2472 net/spdy/spdy_session_unittest.cc data.RunFor(6); data 2479 net/spdy/spdy_session_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 2480 net/spdy/spdy_session_unittest.cc EXPECT_TRUE(data.at_read_eof()); data 2512 net/spdy/spdy_session_unittest.cc char* eightk_payload_data = eightk_payload->data(); data 2520 net/spdy/spdy_session_unittest.cc char* twok_payload_data = twok_payload->data(); data 2548 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 2550 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 2552 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 2579 net/spdy/spdy_session_unittest.cc data.RunFor(2); data 2585 net/spdy/spdy_session_unittest.cc data.RunFor(12); data 2592 net/spdy/spdy_session_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 2593 net/spdy/spdy_session_unittest.cc EXPECT_TRUE(data.at_read_eof()); data 2619 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 2621 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 2623 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 2646 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 2650 net/spdy/spdy_session_unittest.cc data.RunFor(3); data 2652 net/spdy/spdy_session_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 2653 net/spdy/spdy_session_unittest.cc EXPECT_TRUE(data.at_read_eof()); data 2668 net/spdy/spdy_session_unittest.cc StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); data 2669 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 2670 net/spdy/spdy_session_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 2709 net/spdy/spdy_session_unittest.cc StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); data 2710 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 2711 net/spdy/spdy_session_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 2712 net/spdy/spdy_session_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 2760 net/spdy/spdy_session_unittest.cc StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); data 2761 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 2762 net/spdy/spdy_session_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 2763 net/spdy/spdy_session_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 2847 net/spdy/spdy_session_unittest.cc StaticSocketDataProvider data(reads, arraysize(reads), data 2849 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 2850 net/spdy/spdy_session_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 3002 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 3004 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 3005 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 3029 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 3035 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 3068 net/spdy/spdy_session_unittest.cc scoped_ptr<DeterministicSocketData> data( data 3070 net/spdy/spdy_session_unittest.cc data->set_connect_data(connect_data); data 3071 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(data.get()); data 3084 net/spdy/spdy_session_unittest.cc data->RunFor(1); // Process the SETTINGS frame, but not the EOF data 3127 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 3129 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 3130 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 3153 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 3178 net/spdy/spdy_session_unittest.cc StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); data 3179 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 3180 net/spdy/spdy_session_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 3215 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), NULL, 0); data 3216 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 3217 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 3228 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 3233 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 3240 net/spdy/spdy_session_unittest.cc base::StringPiece data) data 3241 net/spdy/spdy_session_unittest.cc : StreamDelegateSendImmediate(stream, data) {} data 3268 net/spdy/spdy_session_unittest.cc 1, msg_data.data(), msg_data_size, false)); data 3277 net/spdy/spdy_session_unittest.cc 1, msg_data.data(), msg_data_size, false)); data 3288 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 3290 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 3292 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 3318 net/spdy/spdy_session_unittest.cc data.RunFor(4); data 3320 net/spdy/spdy_session_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 3321 net/spdy/spdy_session_unittest.cc EXPECT_TRUE(data.at_read_eof()); data 3363 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 3365 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 3367 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 3392 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 3396 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 3398 net/spdy/spdy_session_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 3399 net/spdy/spdy_session_unittest.cc EXPECT_TRUE(data.at_read_eof()); data 3431 net/spdy/spdy_session_unittest.cc 1, msg_data.data(), msg_data_size, false)); data 3440 net/spdy/spdy_session_unittest.cc 1, msg_data.data(), msg_data_size, false)); data 3452 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 3454 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 3456 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 3483 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 3489 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 3496 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 3503 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 3511 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 3518 net/spdy/spdy_session_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 3519 net/spdy/spdy_session_unittest.cc EXPECT_TRUE(data.at_read_eof()); data 3569 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 3572 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 3574 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 3602 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 3610 net/spdy/spdy_session_unittest.cc data.RunFor(3); data 3618 net/spdy/spdy_session_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 3729 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 3732 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 3734 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 3774 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 3785 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 3795 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 3806 net/spdy/spdy_session_unittest.cc data.RunFor(4); data 3821 net/spdy/spdy_session_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 3828 net/spdy/spdy_session_unittest.cc base::StringPiece data) data 3829 net/spdy/spdy_session_unittest.cc : StreamDelegateWithBody(stream, data) {} data 3884 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 3887 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 3889 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 3940 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 3951 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 3962 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 3982 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 3990 net/spdy/spdy_session_unittest.cc data.RunFor(2); data 4008 net/spdy/spdy_session_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 4040 net/spdy/spdy_session_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 4043 net/spdy/spdy_session_unittest.cc data.set_connect_data(connect_data); data 4045 net/spdy/spdy_session_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 4085 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 4096 net/spdy/spdy_session_unittest.cc data.RunFor(1); data 4121 net/spdy/spdy_session_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 665 net/spdy/spdy_stream.cc void SpdyStream::SendData(IOBuffer* data, data 673 net/spdy/spdy_stream.cc pending_send_data_ = new DrainableIOBuffer(data, length); data 369 net/spdy/spdy_stream.h void SendData(IOBuffer* data, int length, SpdySendStatus send_status); data 112 net/spdy/spdy_stream_test_util.cc base::StringPiece data) data 114 net/spdy/spdy_stream_test_util.cc data_(data) {} data 123 net/spdy/spdy_stream_test_util.cc if (data_.data()) { data 132 net/spdy/spdy_stream_test_util.cc base::StringPiece data) data 134 net/spdy/spdy_stream_test_util.cc buf_(new StringIOBuffer(data.as_string())) {} data 100 net/spdy/spdy_stream_test_util.h base::StringPiece data); data 114 net/spdy/spdy_stream_test_util.h base::StringPiece data); data 143 net/spdy/spdy_stream_unittest.cc OrderedSocketData data(GetReads(), GetNumReads(), data 146 net/spdy/spdy_stream_unittest.cc data.set_connect_data(connect_data); data 148 net/spdy/spdy_stream_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 177 net/spdy/spdy_stream_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 185 net/spdy/spdy_stream_unittest.cc OrderedSocketData data(GetReads(), GetNumReads(), data 188 net/spdy/spdy_stream_unittest.cc data.set_connect_data(connect_data); data 190 net/spdy/spdy_stream_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 256 net/spdy/spdy_stream_unittest.cc OrderedSocketData data(GetReads(), GetNumReads(), data 259 net/spdy/spdy_stream_unittest.cc data.set_connect_data(connect_data); data 261 net/spdy/spdy_stream_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 292 net/spdy/spdy_stream_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 326 net/spdy/spdy_stream_unittest.cc 1, chunk_data.data(), chunk_data.length(), false)); data 332 net/spdy/spdy_stream_unittest.cc 1, chunk_data.data(), chunk_data.length(), true)); data 340 net/spdy/spdy_stream_unittest.cc OrderedSocketData data(GetReads(), GetNumReads(), data 343 net/spdy/spdy_stream_unittest.cc data.set_connect_data(connect_data); data 345 net/spdy/spdy_stream_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 374 net/spdy/spdy_stream_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 396 net/spdy/spdy_stream_unittest.cc 1, chunk_data.data(), chunk_data.length(), false)); data 403 net/spdy/spdy_stream_unittest.cc OrderedSocketData data(GetReads(), GetNumReads(), data 406 net/spdy/spdy_stream_unittest.cc data.set_connect_data(connect_data); data 408 net/spdy/spdy_stream_unittest.cc session_deps_.socket_factory->AddSocketDataProvider(&data); data 437 net/spdy/spdy_stream_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 463 net/spdy/spdy_stream_unittest.cc DeterministicSocketData data(GetReads(), GetNumReads(), data 466 net/spdy/spdy_stream_unittest.cc data.set_connect_data(connect_data); data 468 net/spdy/spdy_stream_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 489 net/spdy/spdy_stream_unittest.cc data.RunFor(4); data 521 net/spdy/spdy_stream_unittest.cc DeterministicSocketData data(GetReads(), GetNumReads(), data 524 net/spdy/spdy_stream_unittest.cc data.set_connect_data(connect_data); data 526 net/spdy/spdy_stream_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 547 net/spdy/spdy_stream_unittest.cc data.RunFor(4); data 553 net/spdy/spdy_stream_unittest.cc data.RunFor(1); data 596 net/spdy/spdy_stream_unittest.cc DeterministicSocketData data(GetReads(), GetNumReads(), data 599 net/spdy/spdy_stream_unittest.cc data.set_connect_data(connect_data); data 601 net/spdy/spdy_stream_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 622 net/spdy/spdy_stream_unittest.cc data.RunFor(3); data 628 net/spdy/spdy_stream_unittest.cc data.RunFor(1); data 633 net/spdy/spdy_stream_unittest.cc data.RunFor(2); data 676 net/spdy/spdy_stream_unittest.cc DeterministicSocketData data(GetReads(), GetNumReads(), data 679 net/spdy/spdy_stream_unittest.cc data.set_connect_data(connect_data); data 681 net/spdy/spdy_stream_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 702 net/spdy/spdy_stream_unittest.cc data.RunFor(3); data 708 net/spdy/spdy_stream_unittest.cc data.RunFor(1); data 713 net/spdy/spdy_stream_unittest.cc data.RunFor(2); data 745 net/spdy/spdy_stream_unittest.cc DeterministicSocketData data(GetReads(), GetNumReads(), data 748 net/spdy/spdy_stream_unittest.cc data.set_connect_data(connect_data); data 750 net/spdy/spdy_stream_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 769 net/spdy/spdy_stream_unittest.cc data.RunFor(1); data 777 net/spdy/spdy_stream_unittest.cc data.RunFor(2); data 836 net/spdy/spdy_stream_unittest.cc DeterministicSocketData data(GetReads(), GetNumReads(), data 839 net/spdy/spdy_stream_unittest.cc data.set_connect_data(connect_data); data 841 net/spdy/spdy_stream_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 865 net/spdy/spdy_stream_unittest.cc data.RunFor(1); data 873 net/spdy/spdy_stream_unittest.cc data.RunFor(3); data 881 net/spdy/spdy_stream_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 928 net/spdy/spdy_stream_unittest.cc DeterministicSocketData data(GetReads(), GetNumReads(), data 931 net/spdy/spdy_stream_unittest.cc data.set_connect_data(connect_data); data 933 net/spdy/spdy_stream_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 954 net/spdy/spdy_stream_unittest.cc data.RunFor(1); data 960 net/spdy/spdy_stream_unittest.cc data.RunFor(1); data 968 net/spdy/spdy_stream_unittest.cc data.RunFor(3); data 977 net/spdy/spdy_stream_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 1017 net/spdy/spdy_stream_unittest.cc DeterministicSocketData data(GetReads(), GetNumReads(), data 1020 net/spdy/spdy_stream_unittest.cc data.set_connect_data(connect_data); data 1022 net/spdy/spdy_stream_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 1049 net/spdy/spdy_stream_unittest.cc data.RunFor(1); // SYN data 1051 net/spdy/spdy_stream_unittest.cc data.RunFor(1); // REPLY data 1053 net/spdy/spdy_stream_unittest.cc data.RunFor(1); // DATA data 1055 net/spdy/spdy_stream_unittest.cc data.RunFor(1); // FIN data 65 net/spdy/spdy_test_util_common.cc MockWrite* ChopWriteFrame(const char* data, int length, int num_chunks) { data 69 net/spdy/spdy_test_util_common.cc const char* ptr = data + (index * chunk_size); data 81 net/spdy/spdy_test_util_common.cc return ChopWriteFrame(frame.data(), frame.size(), num_chunks); data 88 net/spdy/spdy_test_util_common.cc MockRead* ChopReadFrame(const char* data, int length, int num_chunks) { data 92 net/spdy/spdy_test_util_common.cc const char* ptr = data + (index * chunk_size); data 104 net/spdy/spdy_test_util_common.cc return ChopReadFrame(frame.data(), frame.size(), num_chunks); data 156 net/spdy/spdy_test_util_common.cc return MockWrite(ASYNC, req.data(), req.size()); data 166 net/spdy/spdy_test_util_common.cc return MockWrite(mode, req.data(), req.size(), seq); data 171 net/spdy/spdy_test_util_common.cc return MockRead(ASYNC, resp.data(), resp.size()); data 181 net/spdy/spdy_test_util_common.cc return MockRead(mode, resp.data(), resp.size(), seq); data 196 net/spdy/spdy_test_util_common.cc memcpy(ptr, frames[i]->data(), len); data 234 net/spdy/spdy_test_util_common.cc const char* data, data 263 net/spdy/spdy_test_util_common.cc if (framer.ProcessInput(frame.data(), frame_size) != frame_size) { data 305 net/spdy/spdy_test_util_common.cc bool MockECSignatureCreator::Sign(const uint8* data, data 318 net/spdy/spdy_test_util_common.cc signature->insert(signature->end(), data, data + data_len); data 713 net/spdy/spdy_test_util_common.cc (*headers)[GetPathKey()] = url.data(); data 742 net/spdy/spdy_test_util_common.cc frame = framer.CreateDataFrame(header_info.id, header_info.data, data 1162 net/spdy/spdy_test_util_common.cc const char* data, data 1166 net/spdy/spdy_test_util_common.cc SpdyDataIR data_ir(stream_id, base::StringPiece(data, len)); data 1174 net/spdy/spdy_test_util_common.cc return ConstructSpdyBodyFrame(stream_id, frame->data(), data 1228 net/spdy/spdy_test_util_common.cc ParseUrl(url.data(), &scheme, &host, &path); data 59 net/spdy/spdy_test_util_common.h MockWrite* ChopWriteFrame(const char* data, int length, int num_chunks); data 70 net/spdy/spdy_test_util_common.h MockRead* ChopReadFrame(const char* data, int length, int num_chunks); data 149 net/spdy/spdy_test_util_common.h const char* data; data 160 net/spdy/spdy_test_util_common.h virtual bool Sign(const uint8* data, data 502 net/spdy/spdy_test_util_common.h SpdyFrame* ConstructSpdyBodyFrame(int stream_id, const char* data, data 18 net/spdy/spdy_test_utils.cc std::string HexDumpWithMarks(const unsigned char* data, int length, data 31 net/spdy/spdy_test_utils.cc for (const unsigned char* row = data; length > 0; data 36 net/spdy/spdy_test_utils.cc (marks && (p - data) < mark_length && marks[p - data]); data 90 net/spdy/spdy_test_utils.cc frame->data()[4] = flags; data 93 net/spdy/spdy_test_utils.cc frame->data()[3] = flags; data 109 net/spdy/spdy_test_utils.cc memcpy(frame->data() + 5, reinterpret_cast<char*>(&wire_length) + 1, 3); data 116 net/spdy/spdy_test_utils.cc memcpy(frame->data(), data 16 net/spdy/spdy_test_utils.h std::string HexDumpWithMarks(const unsigned char* data, int length, data 65 net/spdy/spdy_websocket_stream.cc int SpdyWebSocketStream::SendData(const char* data, int length) { data 73 net/spdy/spdy_websocket_stream.cc memcpy(buf->data(), data, length); data 74 net/spdy/spdy_websocket_stream.h int SendData(const char* data, int length); data 38 net/spdy/spdy_websocket_stream_unittest.cc const std::string& data) data 42 net/spdy/spdy_websocket_stream_unittest.cc data(data) {} data 47 net/spdy/spdy_websocket_stream_unittest.cc std::string data; data 381 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_TRUE(data()->at_read_eof()); data 382 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_TRUE(data()->at_write_eof()); data 437 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_TRUE(data()->at_read_eof()); data 438 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_TRUE(data()->at_write_eof()); data 498 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_TRUE(data()->at_read_eof()); data 499 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_TRUE(data()->at_write_eof()); data 580 net/spdy/spdy_websocket_stream_unittest.cc DeterministicSocketData data(reads, arraysize(reads), data 582 net/spdy/spdy_websocket_stream_unittest.cc session_deps_.deterministic_socket_factory->AddSocketDataProvider(&data); data 600 net/spdy/spdy_websocket_stream_unittest.cc data.RunFor(1); data 626 net/spdy/spdy_websocket_stream_unittest.cc data.RunFor(7); data 666 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_TRUE(data.at_read_eof()); data 667 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_TRUE(data.at_write_eof()); data 134 net/spdy/spdy_websocket_test_util.cc const char* data, data 143 net/spdy/spdy_websocket_test_util.cc data, data 59 net/spdy/spdy_websocket_test_util.h SpdyFrame* ConstructSpdyWebSocketDataFrame(const char* data, data 31 net/spdy/spdy_write_queue_unittest.cc scoped_ptr<char[]> data(new char[s.size()]); data 32 net/spdy/spdy_write_queue_unittest.cc std::memcpy(data.get(), s.data(), s.size()); data 38 net/spdy/spdy_write_queue_unittest.cc new SpdyFrame(data.release(), s.size(), true)))))); data 72 net/ssl/client_cert_store_nss.cc ca_names_items[i].data = data 73 net/ssl/client_cert_store_nss.cc reinterpret_cast<unsigned char*>(const_cast<char*>(authority.data())); data 77 net/ssl/client_cert_store_win.cc const_cast<char*>(request.cert_authorities[i].data())); data 87 net/ssl/client_cert_store_win.cc reinterpret_cast<CERT_NAME_BLOB*>(issuers.data()); data 356 net/ssl/server_bound_cert_service_unittest.cc spki_piece.data(), data 357 net/ssl/server_bound_cert_service_unittest.cc spki_piece.data() + spki_piece.size()); data 368 net/ssl/server_bound_cert_service_unittest.cc X509Certificate::CreateFromBytes(der_cert.data(), der_cert.size())); data 450 net/test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java private ByteArrayEntity createEntity(byte[] data) { data 451 net/test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java ByteArrayEntity entity = new ByteArrayEntity(data); data 24 net/test/cert_test_util.cc return X509Certificate::CreateCertificateListFromBytes(cert_data.data(), data 57 net/test/cert_test_util.cc cert_data.data(), cert_data.size(), X509Certificate::FORMAT_AUTO); data 169 net/test/ct_test_util.cc memcpy(entry->issuer_key_hash.data, issuer_hash.data(), issuer_hash.size()); data 275 net/test/embedded_test_server/embedded_test_server.cc const char* data, data 284 net/test/embedded_test_server/embedded_test_server.cc http_connection->ReceiveData(std::string(data, length)); data 167 net/test/embedded_test_server/embedded_test_server.h const char* data, data 27 net/test/embedded_test_server/http_connection.cc void HttpConnection::ReceiveData(const base::StringPiece& data) { data 28 net/test/embedded_test_server/http_connection.cc request_parser_.ProcessChunk(data); data 45 net/test/embedded_test_server/http_connection.h void ReceiveData(const base::StringPiece& data); data 47 net/test/embedded_test_server/http_request.cc void HttpRequestParser::ProcessChunk(const base::StringPiece& data) { data 48 net/test/embedded_test_server/http_request.cc data.AppendToString(&buffer_); data 49 net/test/embedded_test_server/http_request.cc DCHECK_LE(buffer_.size() + data.size(), kRequestSizeLimit) << data 156 net/test/embedded_test_server/http_request.cc http_request_->content.append(buffer_.data() + buffer_position_, data 73 net/test/embedded_test_server/http_request.h void ProcessChunk(const base::StringPiece& data); data 229 net/test/openssl_helper.cc const unsigned char *data, *expected_data; data 231 net/test/openssl_helper.cc SSL_get0_next_proto_negotiated(server, &data, &len); data 239 net/test/openssl_helper.cc if (len != expected_len || memcmp(data, expected_data, len) != 0) { data 39 net/test/spawned_test_server/local_test_server_win.cc CHECK(WriteFile(handle, unblock_data.data(), size, &bytes_written, data 75 net/test/spawned_test_server/spawner_communicator.cc data_received_->append(buf_->data(), num_bytes); data 179 net/test/spawned_test_server/spawner_communicator.cc SpawnerRequestData* data = new SpawnerRequestData(current_request_id, data 182 net/test/spawned_test_server/spawner_communicator.cc DCHECK(data); data 183 net/test/spawned_test_server/spawner_communicator.cc cur_request_->SetUserData(this, data); data 216 net/test/spawned_test_server/spawner_communicator.cc SpawnerRequestData* data = data 218 net/test/spawned_test_server/spawner_communicator.cc DCHECK(data); data 220 net/test/spawned_test_server/spawner_communicator.cc if (!data->DoesRequestIdMatch(id)) data 223 net/test/spawned_test_server/spawner_communicator.cc data->SetResultCode(ERR_TIMED_OUT); data 232 net/test/spawned_test_server/spawner_communicator.cc SpawnerRequestData* data = data 234 net/test/spawned_test_server/spawner_communicator.cc DCHECK(data); data 238 net/test/spawned_test_server/spawner_communicator.cc data->SetResultCode(cur_request_->status().error()); data 240 net/test/spawned_test_server/spawner_communicator.cc if (!data->IsResultOK()) { data 245 net/test/spawned_test_server/spawner_communicator.cc data->ClearReceivedData(); data 247 net/test/spawned_test_server/spawner_communicator.cc DCHECK_EQ(1, data->response_started_count()); data 263 net/test/spawned_test_server/spawner_communicator.cc SpawnerRequestData* data = data 265 net/test/spawned_test_server/spawner_communicator.cc DCHECK(data); data 267 net/test/spawned_test_server/spawner_communicator.cc IOBuffer* buf = data->buf(); data 277 net/test/spawned_test_server/spawner_communicator.cc if (!data->ConsumeBytesRead(num_bytes)) { data 286 net/test/spawned_test_server/spawner_communicator.cc SpawnerRequestData* data = data 288 net/test/spawned_test_server/spawner_communicator.cc DCHECK(data); data 290 net/test/spawned_test_server/spawner_communicator.cc data->IncreaseResponseStartedCount(); data 301 net/test/spawned_test_server/spawner_communicator.cc data->SetResultCode(ERR_FAILED); data 314 net/test/spawned_test_server/spawner_communicator.cc SpawnerRequestData* data = data 316 net/test/spawned_test_server/spawner_communicator.cc DCHECK(data); data 318 net/test/spawned_test_server/spawner_communicator.cc if (data->ConsumeBytesRead(num_bytes)) { data 199 net/third_party/mozilla_security_manager/nsKeygenHandler.cpp pkac.challenge.data = (unsigned char *)challenge.data(); data 209 net/third_party/mozilla_security_manager/nsKeygenHandler.cpp sec_rv = SEC_DerSignData(arena, &signedItem, pkacItem.data, pkacItem.len, data 219 net/third_party/mozilla_security_manager/nsKeygenHandler.cpp std::string(reinterpret_cast<char*>(signedItem.data), signedItem.len), data 69 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp item->data[2*i ] = (unsigned char )(uni[i] << 8); data 70 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp item->data[2*i+1] = (unsigned char )(uni[i]); data 73 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp memcpy(item->data, uni, item->len); data 107 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp if(old_nick && old_nick->data && old_nick->len && data 109 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp !PORT_Strncmp((char *)old_nick->data, nick, old_nick->len)) { data 122 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp ret_nick->data = (unsigned char *)nick; data 169 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp unicodePw.data = NULL; data 200 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp attribute_value.data = &attribute_data; data 314 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp if ((value.len == 1) && (value.data != NULL)) data 315 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp *extractable = !!(*(CK_BBOOL*)value.data); data 402 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp unicodePw.data = NULL; data 102 net/third_party/nss/ssl/bodge/secitem_array.c if (item->data) { data 39 net/third_party/nss/ssl/cmpcert.c !caNames->names->data) data 53 net/third_party/nss/ssl/cmpcert.c compatIssuerName.data = &issuerName.data[headerlen]; data 56 net/third_party/nss/ssl/cmpcert.c compatIssuerName.data = NULL; data 33 net/third_party/nss/ssl/derive.c result->data = keyBlock; data 41 net/third_party/nss/ssl/derive.c (result)->data = keyBlock; \ data 103 net/third_party/nss/ssl/derive.c if (pwSpec->msItem.data == NULL || data 109 net/third_party/nss/ssl/derive.c PRINT_BUF(100, (NULL, "Master Secret", pwSpec->msItem.data, data 138 net/third_party/nss/ssl/derive.c srcr.data = srcrdata; data 145 net/third_party/nss/ssl/derive.c crsr.data = crsrdata; data 149 net/third_party/nss/ssl/derive.c PRINT_BUF(100, (NULL, "Key & MAC CRSR", crsr.data, crsr.len)); data 158 net/third_party/nss/ssl/derive.c keyblk.data = key_block; data 189 net/third_party/nss/ssl/derive.c SHA1_Update(shaCtx, pwSpec->msItem.data, pwSpec->msItem.len); data 190 net/third_party/nss/ssl/derive.c SHA1_Update(shaCtx, srcr.data, srcr.len); data 195 net/third_party/nss/ssl/derive.c MD5_Update(md5Ctx, pwSpec->msItem.data, pwSpec->msItem.len); data 296 net/third_party/nss/ssl/derive.c MD5_Update(md5Ctx, crsr.data, crsr.len); data 310 net/third_party/nss/ssl/derive.c MD5_Update(md5Ctx, srcr.data, srcr.len); data 324 net/third_party/nss/ssl/derive.c MD5_Update(md5Ctx, crsr.data, crsr.len); data 335 net/third_party/nss/ssl/derive.c MD5_Update(md5Ctx, srcr.data, srcr.len); data 358 net/third_party/nss/ssl/derive.c secret.data = &key_block[i]; data 361 net/third_party/nss/ssl/derive.c keyblk.data = key_block2; data 377 net/third_party/nss/ssl/derive.c secret.data = &key_block[i]; data 380 net/third_party/nss/ssl/derive.c keyblk.data = key_block2; data 396 net/third_party/nss/ssl/derive.c secret.data = NULL; data 398 net/third_party/nss/ssl/derive.c keyblk.data = key_block2; data 468 net/third_party/nss/ssl/derive.c crsr.data = crsrdata; data 472 net/third_party/nss/ssl/derive.c PRINT_BUF(100, (NULL, "Master Secret CRSR", crsr.data, crsr.len)); data 478 net/third_party/nss/ssl/derive.c master.data = key_block; data 499 net/third_party/nss/ssl/derive.c SHA1_Update(shaCtx, pms->data, pms->len); data 500 net/third_party/nss/ssl/derive.c SHA1_Update(shaCtx, crsr.data, crsr.len); data 505 net/third_party/nss/ssl/derive.c MD5_Update(md5Ctx, pms->data, pms->len); data 516 net/third_party/nss/ssl/derive.c pwSpec->msItem.data = pwSpec->raw_master_secret; data 518 net/third_party/nss/ssl/derive.c PRINT_BUF(100, (NULL, "Master Secret", pwSpec->msItem.data, data 559 net/third_party/nss/ssl/derive.c params.data = (unsigned char *) &master_params; data 713 net/third_party/nss/ssl/derive.c param.data = (unsigned char *)&version; data 721 net/third_party/nss/ssl/derive.c enc_pms.data = (unsigned char*)PORT_Alloc(enc_pms.len); data 722 net/third_party/nss/ssl/derive.c if (enc_pms.data == NULL) { data 734 net/third_party/nss/ssl/derive.c (unsigned char *)enc_pms.data, data 755 net/third_party/nss/ssl/derive.c if (enc_pms.data != NULL) { data 784 net/third_party/nss/ssl/derive.c if (srvPubkey->u.rsa.modulus.data[0] == 0) { data 858 net/third_party/nss/ssl/derive.c if (ecParams.data != NULL) { data 859 net/third_party/nss/ssl/derive.c PORT_Free(ecParams.data); data 860 net/third_party/nss/ssl/derive.c ecParams.data = NULL; data 877 net/third_party/nss/ssl/derive.c if (enc_pms.data != NULL) { data 881 net/third_party/nss/ssl/derive.c if (ecParams.data != NULL) { data 882 net/third_party/nss/ssl/derive.c PORT_Free(ecParams.data); data 883 net/third_party/nss/ssl/derive.c ecParams.data = NULL; data 104 net/third_party/nss/ssl/dtlscon.c const unsigned char *data, PRUint32 len) data 112 net/third_party/nss/ssl/dtlscon.c msg->data = PORT_Alloc(len); data 113 net/third_party/nss/ssl/dtlscon.c if (!msg->data) { data 117 net/third_party/nss/ssl/dtlscon.c PORT_Memcpy(msg->data, data, len); data 137 net/third_party/nss/ssl/dtlscon.c PORT_ZFree(msg->data, msg->len); data 621 net/third_party/nss/ssl/dtlscon.c msg->data, msg->len, data 658 net/third_party/nss/ssl/dtlscon.c const unsigned char *content = msg->data + 12; data 678 net/third_party/nss/ssl/dtlscon.c PORT_Memcpy(fragment, msg->data, 6); data 994 net/third_party/nss/ssl/dtlscon.c PORT_Memcpy(ss->ssl3.hs.cookie, cookie.data, cookie.len); data 1025 net/third_party/nss/ssl/dtlscon.c PORT_Memset(records->data, 0, sizeof(records->data)); data 1056 net/third_party/nss/ssl/dtlscon.c return !!(records->data[offset / 8] & (1 << (offset % 8))); data 1092 net/third_party/nss/ssl/dtlscon.c records->data[offset / 8] = 0; data 1101 net/third_party/nss/ssl/dtlscon.c records->data[offset / 8] |= (1 << (offset % 8)); data 48 net/third_party/nss/ssl/preenc.h unsigned char data[1]; data 57 net/third_party/nss/ssl/preenc.h unsigned char data[1]; data 60 net/third_party/nss/ssl/preenc.h #define PEFIXED_Label(header) (header->data) data 61 net/third_party/nss/ssl/preenc.h #define PEFIXED_KeyID(header) (&header->data[GetInt2(header->labelLen)]) data 62 net/third_party/nss/ssl/preenc.h #define PEFIXED_IV(header) (&header->data[GetInt2(header->labelLen)\ data 64 net/third_party/nss/ssl/preenc.h #define PEFIXED_Key(header) (&header->data[GetInt2(header->labelLen)\ data 66 net/third_party/nss/ssl/preenc.h #define PERSA_Issuer(header) (header->data) data 67 net/third_party/nss/ssl/preenc.h #define PERSA_Serial(header) (&header->data[GetInt2(header->issuerLen)]) data 68 net/third_party/nss/ssl/preenc.h #define PERSA_IV(header) (&header->data[GetInt2(header->issuerLen)\ data 70 net/third_party/nss/ssl/preenc.h #define PERSA_Key(header) (&header->data[GetInt2(header->issuerLen)\ data 246 net/third_party/nss/ssl/ssl.h const unsigned char *data, data 945 net/third_party/nss/ssl/ssl3con.c buf->data = NULL; data 949 net/third_party/nss/ssl/ssl3con.c hashItem.data = hash->u.raw; data 957 net/third_party/nss/ssl/ssl3con.c hashItem.data = hash->u.s.sha; data 960 net/third_party/nss/ssl/ssl3con.c hashItem.data = hash->u.raw; data 970 net/third_party/nss/ssl/ssl3con.c hashItem.data = hash->u.s.sha; data 973 net/third_party/nss/ssl/ssl3con.c hashItem.data = hash->u.raw; data 982 net/third_party/nss/ssl/ssl3con.c PRINT_BUF(60, (NULL, "hash(es) to be signed", hashItem.data, hashItem.len)); data 992 net/third_party/nss/ssl/ssl3con.c buf->data = (unsigned char *)PORT_Alloc(signatureLen); data 993 net/third_party/nss/ssl/ssl3con.c if (!buf->data) data 1008 net/third_party/nss/ssl/ssl3con.c PORT_Free(buf->data); /* discard unencoded signature. */ data 1010 net/third_party/nss/ssl/ssl3con.c } else if (derSig.data) { data 1011 net/third_party/nss/ssl/ssl3con.c PORT_Free(derSig.data); data 1015 net/third_party/nss/ssl/ssl3con.c PRINT_BUF(60, (NULL, "signed hashes", (unsigned char*)buf->data, buf->len)); data 1017 net/third_party/nss/ssl/ssl3con.c if (rv != SECSuccess && buf->data) { data 1018 net/third_party/nss/ssl/ssl3con.c PORT_Free(buf->data); data 1019 net/third_party/nss/ssl/ssl3con.c buf->data = NULL; data 1038 net/third_party/nss/ssl/ssl3con.c buf->data, buf->len)); data 1050 net/third_party/nss/ssl/ssl3con.c hashItem.data = hash->u.raw; data 1058 net/third_party/nss/ssl/ssl3con.c hashItem.data = hash->u.s.sha; data 1061 net/third_party/nss/ssl/ssl3con.c hashItem.data = hash->u.raw; data 1086 net/third_party/nss/ssl/ssl3con.c hashItem.data = hash->u.s.sha; data 1089 net/third_party/nss/ssl/ssl3con.c hashItem.data = hash->u.raw; data 1102 net/third_party/nss/ssl/ssl3con.c hashItem.data, hashItem.len)); data 1233 net/third_party/nss/ssl/ssl3con.c memcpy(pBuf, modulus.data, modulus.len); data 1238 net/third_party/nss/ssl/ssl3con.c memcpy(pBuf, publicExponent.data, publicExponent.len); data 1292 net/third_party/nss/ssl/ssl3con.c memcpy(pBuf, dh_p.data, dh_p.len); data 1297 net/third_party/nss/ssl/ssl3con.c memcpy(pBuf, dh_g.data, dh_g.len); data 1302 net/third_party/nss/ssl/ssl3con.c memcpy(pBuf, dh_Ys.data, dh_Ys.len); data 1375 net/third_party/nss/ssl/ssl3con.c if (freeSrvName && spec->srvVirtName.data) { data 1382 net/third_party/nss/ssl/ssl3con.c spec->msItem.data = NULL; data 1740 net/third_party/nss/ssl/ssl3con.c pwSpec->server.write_key_item.data, data 1742 net/third_party/nss/ssl/ssl3con.c pwSpec->server.write_iv_item.data, data 1772 net/third_party/nss/ssl/ssl3con.c pwSpec->client.write_key_item.data, data 1774 net/third_party/nss/ssl/ssl3con.c pwSpec->client.write_iv_item.data, data 1802 net/third_party/nss/ssl/ssl3con.c if (param && param->data && param->len >= sizeof(CK_RC2_PARAMS)) { data 1810 net/third_party/nss/ssl/ssl3con.c *(CK_RC2_PARAMS *)param->data = ulEffectiveBits; data 1976 net/third_party/nss/ssl/ssl3con.c param.data = (unsigned char *) &gcmParams; data 2024 net/third_party/nss/ssl/ssl3con.c memcpy(nonce, keys->write_iv_item.data, 4); data 2050 net/third_party/nss/ssl/ssl3con.c rv = AES_InitContext(cx, keys->write_key_item.data, data 2089 net/third_party/nss/ssl/ssl3con.c param.data = (unsigned char *) &aeadParams; data 2162 net/third_party/nss/ssl/ssl3con.c mac_param.data = (unsigned char *)&macLength; data 2195 net/third_party/nss/ssl/ssl3con.c iv.data = pwSpec->server.write_iv; data 2205 net/third_party/nss/ssl/ssl3con.c iv.data = PK11_IVFromParam(mechanism, param, (int *)&iv.len); data 2206 net/third_party/nss/ssl/ssl3con.c if (iv.data) data 2207 net/third_party/nss/ssl/ssl3con.c PORT_Memcpy(pwSpec->server.write_iv, iv.data, iv.len); data 2217 net/third_party/nss/ssl/ssl3con.c iv.data = pwSpec->client.write_iv; data 2228 net/third_party/nss/ssl/ssl3con.c iv.data = PK11_IVFromParam(mechanism, param, (int *)&iv.len); data 2229 net/third_party/nss/ssl/ssl3con.c if (iv.data) data 2230 net/third_party/nss/ssl/ssl3con.c PORT_Memcpy(pwSpec->client.write_iv, iv.data, iv.len); data 2300 net/third_party/nss/ssl/ssl3con.c if (ss->opt.bypassPKCS11 && pwSpec->msItem.len && pwSpec->msItem.data) { data 2453 net/third_party/nss/ssl/ssl3con.c spec->server.write_mac_key_item.data, data 2457 net/third_party/nss/ssl/ssl3con.c spec->client.write_mac_key_item.data, data 2468 net/third_party/nss/ssl/ssl3con.c spec->server.write_mac_key_item.data, data 2472 net/third_party/nss/ssl/ssl3con.c spec->client.write_mac_key_item.data, data 2482 net/third_party/nss/ssl/ssl3con.c spec->server.write_mac_key_item.data, data 2486 net/third_party/nss/ssl/ssl3con.c spec->client.write_mac_key_item.data, data 2569 net/third_party/nss/ssl/ssl3con.c param.data = (unsigned char*) ¶ms; data 2573 net/third_party/nss/ssl/ssl3con.c inputItem.data = (unsigned char *) input; data 2577 net/third_party/nss/ssl/ssl3con.c outputItem.data = outbuf; data 3726 net/third_party/nss/ssl/ssl3con.c params.data = (unsigned char *) &master_params; data 3736 net/third_party/nss/ssl/ssl3con.c if (keyData && keyData->data && keyData->len) { data 3738 net/third_party/nss/ssl/ssl3con.c keyData->data, keyData->len); data 3812 net/third_party/nss/ssl/ssl3con.c memcpy(pwSpec->raw_master_secret, keydata->data, keydata->len); data 3813 net/third_party/nss/ssl/ssl3con.c pwSpec->msItem.data = pwSpec->raw_master_secret; data 3911 net/third_party/nss/ssl/ssl3con.c params.data = (unsigned char *)&key_material_params; data 4428 net/third_party/nss/ssl/ssl3con.c i->data = NULL; data 4437 net/third_party/nss/ssl/ssl3con.c i->data = *b; data 4620 net/third_party/nss/ssl/ssl3con.c if (!spec->msItem.data) { data 4643 net/third_party/nss/ssl/ssl3con.c if (!spec->msItem.data) { data 4668 net/third_party/nss/ssl/ssl3con.c MD5_Update(md5cx, spec->msItem.data, spec->msItem.len); data 4682 net/third_party/nss/ssl/ssl3con.c SHA1_Update(shacx, spec->msItem.data, spec->msItem.len); data 4692 net/third_party/nss/ssl/ssl3con.c MD5_Update(md5cx, spec->msItem.data, spec->msItem.len); data 4706 net/third_party/nss/ssl/ssl3con.c SHA1_Update(shacx, spec->msItem.data, spec->msItem.len); data 5583 net/third_party/nss/ssl/ssl3con.c wrappedKey.data = pWswk->wrappedSymmetricWrappingkey; data 5622 net/third_party/nss/ssl/ssl3con.c pubWrapKey.u.ec.DEREncodedParams.data = ecWrapped->var; data 5624 net/third_party/nss/ssl/ssl3con.c pubWrapKey.u.ec.publicValue.data = ecWrapped->var + data 5628 net/third_party/nss/ssl/ssl3con.c wrappedKey.data = ecWrapped->var + ecWrapped->encodedParamLen + data 5807 net/third_party/nss/ssl/ssl3con.c wrappedKey.data = wswk.wrappedSymmetricWrappingkey; data 5875 net/third_party/nss/ssl/ssl3con.c PORT_Memcpy(ecWrapped->var, pubWrapKey->u.ec.DEREncodedParams.data, data 5880 net/third_party/nss/ssl/ssl3con.c pubWrapKey->u.ec.publicValue.data, data 5885 net/third_party/nss/ssl/ssl3con.c wrappedKey.data = ecWrapped->var + ecWrapped->encodedParamLen + data 5995 net/third_party/nss/ssl/ssl3con.c enc_pms.data = (unsigned char*)PORT_Alloc(enc_pms.len); data 5996 net/third_party/nss/ssl/ssl3con.c if (enc_pms.data == NULL) { data 6011 net/third_party/nss/ssl/ssl3con.c if (keyData && keyData->data && keyData->len) { data 6015 net/third_party/nss/ssl/ssl3con.c keyData->data, keyData->len); data 6027 net/third_party/nss/ssl/ssl3con.c hexEncode(buf + 4, enc_pms.data, 8); data 6029 net/third_party/nss/ssl/ssl3con.c hexEncode(buf + 21, keyData->data, 48); data 6053 net/third_party/nss/ssl/ssl3con.c rv = ssl3_AppendHandshakeVariable(ss, enc_pms.data, enc_pms.len, 2); data 6055 net/third_party/nss/ssl/ssl3con.c rv = ssl3_AppendHandshake(ss, enc_pms.data, enc_pms.len); data 6064 net/third_party/nss/ssl/ssl3con.c if (enc_pms.data != NULL) { data 6065 net/third_party/nss/ssl/ssl3con.c PORT_Free(enc_pms.data); data 6098 net/third_party/nss/ssl/ssl3con.c dhParam.prime.data = svrPubKey->u.dh.prime.data; data 6100 net/third_party/nss/ssl/ssl3con.c dhParam.base.data = svrPubKey->u.dh.base.data; data 6111 net/third_party/nss/ssl/ssl3con.c pubKey->u.dh.publicValue.data, data 6144 net/third_party/nss/ssl/ssl3con.c pubKey->u.dh.publicValue.data, data 6329 net/third_party/nss/ssl/ssl3con.c rv = ssl3_AppendHandshakeVariable(ss, buf.data, buf.len, 2); data 6335 net/third_party/nss/ssl/ssl3con.c if (buf.data) data 6336 net/third_party/nss/ssl/ssl3con.c PORT_Free(buf.data); data 6533 net/third_party/nss/ssl/ssl3con.c rv = ssl3_HandleHelloExtensions(ss, &extensions.data, data 6566 net/third_party/nss/ssl/ssl3con.c !PORT_Memcmp(sid->u.ssl3.sessionID, sidBytes.data, sidBytes.len)); data 6621 net/third_party/nss/ssl/ssl3con.c wrappedMS.data = sid->u.ssl3.keys.wrapped_master_secret; data 6635 net/third_party/nss/ssl/ssl3con.c wrappedMS.data = sid->u.ssl3.keys.wrapped_master_secret; data 6637 net/third_party/nss/ssl/ssl3con.c memcpy(pwSpec->raw_master_secret, wrappedMS.data, wrappedMS.len); data 6638 net/third_party/nss/ssl/ssl3con.c pwSpec->msItem.data = pwSpec->raw_master_secret; data 6645 net/third_party/nss/ssl/ssl3con.c wrappedMS.data = sid->u.ssl3.keys.wrapped_master_secret; data 6704 net/third_party/nss/ssl/ssl3con.c PORT_Memcpy(sid->u.ssl3.sessionID, sidBytes.data, sidBytes.len); data 6707 net/third_party/nss/ssl/ssl3con.c if (ss->xtnData.signedCertTimestamps.data) { data 6719 net/third_party/nss/ssl/ssl3con.c ss->xtnData.signedCertTimestamps.data = NULL; data 6748 net/third_party/nss/ssl/ssl3con.c ss->xtnData.signedCertTimestamps.data = NULL; data 6762 net/third_party/nss/ssl/ssl3con.c if (mpint->data[i]) { data 6763 net/third_party/nss/ssl/ssl3con.c firstNonZeroByte = mpint->data[i]; data 6955 net/third_party/nss/ssl/ssl3con.c PRINT_BUF(60, (NULL, "Server DH p", dh_p.data, dh_p.len)); data 6956 net/third_party/nss/ssl/ssl3con.c PRINT_BUF(60, (NULL, "Server DH g", dh_g.data, dh_g.len)); data 6957 net/third_party/nss/ssl/ssl3con.c PRINT_BUF(60, (NULL, "Server DH Ys", dh_Ys.data, dh_Ys.len)); data 7125 net/third_party/nss/ssl/ssl3con.c if (algorithms->data[i+1] == sigAlg) { data 7126 net/third_party/nss/ssl/ssl3con.c if (algorithms->data[i] == tls_hash_sha1) { data 7128 net/third_party/nss/ssl/ssl3con.c } else if (algorithms->data[i] == tls_hash_sha256) { data 7244 net/third_party/nss/ssl/ssl3con.c node->name.data = b; data 7769 net/third_party/nss/ssl/ssl3con.c originalHandshakeHash->data = PORT_Alloc(hashes.len); data 7770 net/third_party/nss/ssl/ssl3con.c if (!originalHandshakeHash->data) data 7773 net/third_party/nss/ssl/ssl3con.c memcpy(originalHandshakeHash->data, hashes.u.raw, hashes.len); data 7857 net/third_party/nss/ssl/ssl3con.c if (srvName->len && srvName->data) { data 8112 net/third_party/nss/ssl/ssl3con.c PRUint16 suite_i = (suites.data[i] << 8) | suites.data[i + 1]; data 8158 net/third_party/nss/ssl/ssl3con.c PRUint16 suite_i = (suites.data[i] << 8) | suites.data[i + 1]; data 8198 net/third_party/nss/ssl/ssl3con.c sid = (*ssl_sid_lookup)(&ss->sec.ci.peer, sidBytes.data, data 8214 net/third_party/nss/ssl/ssl3con.c PORT_Memcpy(sid->u.ssl3.sessionID, sidBytes.data, data 8297 net/third_party/nss/ssl/ssl3con.c if (comps.data[i] == sid->u.ssl3.compression) data 8326 net/third_party/nss/ssl/ssl3con.c PRUint16 suite_i = (suites.data[i] << 8) | suites.data[i + 1]; data 8371 net/third_party/nss/ssl/ssl3con.c PRUint16 suite_i = (suites.data[i] << 8) | suites.data[i + 1]; data 8386 net/third_party/nss/ssl/ssl3con.c if (!compressionEnabled(ss, comps.data[i])) data 8389 net/third_party/nss/ssl/ssl3con.c if (comps.data[i] == compressions[j]) { data 8401 net/third_party/nss/ssl/ssl3con.c suites.data = NULL; data 8402 net/third_party/nss/ssl/ssl3con.c comps.data = NULL; data 8457 net/third_party/nss/ssl/ssl3con.c wrappedMS.data = sid->u.ssl3.keys.wrapped_master_secret; data 8471 net/third_party/nss/ssl/ssl3con.c wrappedMS.data = sid->u.ssl3.keys.wrapped_master_secret; data 8473 net/third_party/nss/ssl/ssl3con.c memcpy(pwSpec->raw_master_secret, wrappedMS.data, wrappedMS.len); data 8474 net/third_party/nss/ssl/ssl3con.c pwSpec->msItem.data = pwSpec->raw_master_secret; data 8481 net/third_party/nss/ssl/ssl3con.c wrappedMS.data = sid->u.ssl3.keys.wrapped_master_secret; data 8525 net/third_party/nss/ssl/ssl3con.c sid->u.ssl3.srvName.len && sid->u.ssl3.srvName.data) { data 8529 net/third_party/nss/ssl/ssl3con.c if (pwsName->data) { data 8639 net/third_party/nss/ssl/ssl3con.c if (pwsName->data) { data 8642 net/third_party/nss/ssl/ssl3con.c if (cwsName->data) { data 8677 net/third_party/nss/ssl/ssl3con.c if (pwsName->data) { data 8730 net/third_party/nss/ssl/ssl3con.c if (ss->ssl3.cwSpec->srvVirtName.data) { data 9228 net/third_party/nss/ssl/ssl3con.c if (signed_hash.data == NULL) { data 9242 net/third_party/nss/ssl/ssl3con.c rv = ssl3_AppendHandshakeVariable(ss, sdPub->u.rsa.modulus.data, data 9249 net/third_party/nss/ssl/ssl3con.c ss, sdPub->u.rsa.publicExponent.data, data 9262 net/third_party/nss/ssl/ssl3con.c rv = ssl3_AppendHandshakeVariable(ss, signed_hash.data, data 9267 net/third_party/nss/ssl/ssl3con.c PORT_Free(signed_hash.data); data 9284 net/third_party/nss/ssl/ssl3con.c if (signed_hash.data != NULL) data 9285 net/third_party/nss/ssl/ssl3con.c PORT_Free(signed_hash.data); data 9359 net/third_party/nss/ssl/ssl3con.c rv = ssl3_AppendHandshakeVariable(ss, name->data, name->len, 2); data 9456 net/third_party/nss/ssl/ssl3con.c signed_hash.data = NULL; data 9536 net/third_party/nss/ssl/ssl3con.c param.data = (unsigned char *)&version; data 9583 net/third_party/nss/ssl/ssl3con.c enc_pms.data = b; data 9585 net/third_party/nss/ssl/ssl3con.c pmsItem.data = rsaPmsBuf; data 9590 net/third_party/nss/ssl/ssl3con.c kLen = ssl3_ConsumeHandshakeNumber(ss, 2, &enc_pms.data, &enc_pms.len); data 9614 net/third_party/nss/ssl/ssl3con.c sizeof rsaPmsBuf, enc_pms.data, enc_pms.len); data 9635 net/third_party/nss/ssl/ssl3con.c pwSpec->msItem.data = pwSpec->raw_master_secret; data 9637 net/third_party/nss/ssl/ssl3con.c PK11_GenerateRandom(pwSpec->msItem.data, pwSpec->msItem.len); data 9656 net/third_party/nss/ssl/ssl3con.c PK11_GetKeyData(pms)->data, data 9835 net/third_party/nss/ssl/ssl3con.c PORT_Assert(!ss->ssl3.hs.newSessionTicket.ticket.data); data 9891 net/third_party/nss/ssl/ssl3con.c pCertItem->data = 0; data 9918 net/third_party/nss/ssl/ssl3con.c numBytes = PR_Read(cf, pCertItem->data, info.size); data 10018 net/third_party/nss/ssl/ssl3con.c rv = ssl3_AppendHandshakeVariable(ss, fakeCert.data, data 10022 net/third_party/nss/ssl/ssl3con.c rv = ssl3_AppendHandshakeVariable(ss, certChain->certs[i].data, data 10026 net/third_party/nss/ssl/ssl3con.c rv = ssl3_AppendHandshakeVariable(ss, certChain->certs[i].data, data 10085 net/third_party/nss/ssl/ssl3con.c statusToSend->items[0].data, data 10189 net/third_party/nss/ssl/ssl3con.c ss->sec.ci.sid->peerCertStatus.items[0].data = PORT_Alloc(length); data 10191 net/third_party/nss/ssl/ssl3con.c if (!ss->sec.ci.sid->peerCertStatus.items[0].data) { data 10196 net/third_party/nss/ssl/ssl3con.c PORT_Memcpy(ss->sec.ci.sid->peerCertStatus.items[0].data, b, length); data 10293 net/third_party/nss/ssl/ssl3con.c certItem.data = b; data 10321 net/third_party/nss/ssl/ssl3con.c certItem.data = b; data 10453 net/third_party/nss/ssl/ssl3con.c cert->signatureWrap.signature.data[3]*8; data 10454 net/third_party/nss/ssl/ssl3con.c if (cert->signatureWrap.signature.data[4] == 0x00) data 10647 net/third_party/nss/ssl/ssl3con.c inData.data = (unsigned char *) val; data 10649 net/third_party/nss/ssl/ssl3con.c outData.data = out; data 10688 net/third_party/nss/ssl/ssl3con.c rv = ssl3_AppendHandshakeVariable(ss, ss->ssl3.nextProto.data, data 10729 net/third_party/nss/ssl/ssl3con.c if (!keyData || !keyData->data || keyData->len != 48) { data 10745 net/third_party/nss/ssl/ssl3con.c hexEncode(buf + j, keyData->data, 48); data 10837 net/third_party/nss/ssl/ssl3con.c memcmp(spki->data, P256_SPKI_PREFIX, sizeof(P256_SPKI_PREFIX)) != 0) { data 10843 net/third_party/nss/ssl/ssl3con.c pub_bytes = spki->data + sizeof(P256_SPKI_PREFIX); data 10857 net/third_party/nss/ssl/ssl3con.c memcpy(signed_data + signed_data_len, originalHandshakeHash->data, data 10868 net/third_party/nss/ssl/ssl3con.c digest_item.data = digest; data 10871 net/third_party/nss/ssl/ssl3con.c signature_item.data = signature; data 11080 net/third_party/nss/ssl/ssl3con.c wmsItem.data = sid->u.ssl3.keys.wrapped_master_secret; data 11252 net/third_party/nss/ssl/ssl3con.c if (ss->ssl3.crSpec->msItem.len && ss->ssl3.crSpec->msItem.data) { data 11256 net/third_party/nss/ssl/ssl3con.c ss->ssl3.crSpec->msItem.data, ss->ssl3.crSpec->msItem.len); data 11317 net/third_party/nss/ssl/ssl3con.c PORT_Assert(!ss->ssl3.hs.newSessionTicket.ticket.data); data 12321 net/third_party/nss/ssl/ssl3con.c spec->msItem.data = NULL; data 183 net/third_party/nss/ssl/ssl3ecc.c params->data[0] = SEC_ASN1_OBJECT_ID; data 184 net/third_party/nss/ssl/ssl3ecc.c params->data[1] = oidData->oid.len; data 185 net/third_party/nss/ssl/ssl3ecc.c memcpy(params->data + 2, oidData->oid.data, oidData->oid.len); data 202 net/third_party/nss/ssl/ssl3ecc.c if (params->data[0] != SEC_ASN1_OBJECT_ID) return ec_noName; data 204 net/third_party/nss/ssl/ssl3ecc.c oid.data = params->data + 2; data 247 net/third_party/nss/ssl/ssl3ecc.c memcpy(pBuf, ec_params.data, ec_params.len); data 251 net/third_party/nss/ssl/ssl3ecc.c memcpy(pBuf, server_ecpoint.data, server_ecpoint.len); data 301 net/third_party/nss/ssl/ssl3ecc.c pubKey->u.ec.publicValue.data, data 342 net/third_party/nss/ssl/ssl3ecc.c pubKey->u.ec.publicValue.data, data 382 net/third_party/nss/ssl/ssl3ecc.c clntPubKey.u.ec.DEREncodedParams.data = data 383 net/third_party/nss/ssl/ssl3ecc.c srvrPubKey->u.ec.DEREncodedParams.data; data 471 net/third_party/nss/ssl/ssl3ecc.c if (svrPublicKey->u.rsa.modulus.data[0] == 0) { data 618 net/third_party/nss/ssl/ssl3ecc.c ec_params.data = paramBuf; data 619 net/third_party/nss/ssl/ssl3ecc.c rv = ssl3_ConsumeHandshake(ss, ec_params.data, ec_params.len, &b, &length); data 625 net/third_party/nss/ssl/ssl3ecc.c if ((ec_params.data[0] != ec_type_named) || data 626 net/third_party/nss/ssl/ssl3ecc.c (ec_params.data[1] != 0) || data 627 net/third_party/nss/ssl/ssl3ecc.c !supportedCurve(ec_params.data[2])) { data 638 net/third_party/nss/ssl/ssl3ecc.c if (ec_point.data[0] != EC_POINT_FORM_UNCOMPRESSED) { data 668 net/third_party/nss/ssl/ssl3ecc.c PRINT_BUF(60, (NULL, "Server EC params", ec_params.data, data 670 net/third_party/nss/ssl/ssl3ecc.c PRINT_BUF(60, (NULL, "Server EC point", ec_point.data, ec_point.len)); data 711 net/third_party/nss/ssl/ssl3ecc.c if (ssl3_ECName2Params(arena, ec_params.data[2], data 780 net/third_party/nss/ssl/ssl3ecc.c ec_params.data = paramBuf; data 783 net/third_party/nss/ssl/ssl3ecc.c ec_params.data[0] = ec_type_named; data 784 net/third_party/nss/ssl/ssl3ecc.c ec_params.data[1] = 0x00; data 785 net/third_party/nss/ssl/ssl3ecc.c ec_params.data[2] = curve; data 819 net/third_party/nss/ssl/ssl3ecc.c if (signed_hash.data == NULL) { data 834 net/third_party/nss/ssl/ssl3ecc.c rv = ssl3_AppendHandshake(ss, ec_params.data, ec_params.len); data 839 net/third_party/nss/ssl/ssl3ecc.c rv = ssl3_AppendHandshakeVariable(ss, ecdhePub->u.ec.publicValue.data, data 852 net/third_party/nss/ssl/ssl3ecc.c rv = ssl3_AppendHandshakeVariable(ss, signed_hash.data, data 858 net/third_party/nss/ssl/ssl3ecc.c PORT_Free(signed_hash.data); data 862 net/third_party/nss/ssl/ssl3ecc.c if (signed_hash.data != NULL) data 863 net/third_party/nss/ssl/ssl3ecc.c PORT_Free(signed_hash.data); data 1179 net/third_party/nss/ssl/ssl3ecc.c SECItem *data) data 1183 net/third_party/nss/ssl/ssl3ecc.c if (data->len < 2 || data->len > 255 || !data->data || data 1184 net/third_party/nss/ssl/ssl3ecc.c data->len != (unsigned int)data->data[0] + 1) { data 1188 net/third_party/nss/ssl/ssl3ecc.c for (i = data->len; --i > 0; ) { data 1189 net/third_party/nss/ssl/ssl3ecc.c if (data->data[i] == 0) { data 1225 net/third_party/nss/ssl/ssl3ecc.c ssl3_HandleSupportedCurvesXtn(sslSocket *ss, PRUint16 ex_type, SECItem *data) data 1232 net/third_party/nss/ssl/ssl3ecc.c if (!data->data || data->len < 4 || data->len > 65535) data 1235 net/third_party/nss/ssl/ssl3ecc.c list_len = ssl3_ConsumeHandshakeNumber(ss, 2, &data->data, &data->len); data 1236 net/third_party/nss/ssl/ssl3ecc.c if (list_len < 0 || data->len != list_len || (data->len % 2) != 0) { data 1241 net/third_party/nss/ssl/ssl3ecc.c while (data->len) { data 1243 net/third_party/nss/ssl/ssl3ecc.c ssl3_ConsumeHandshakeNumber(ss, 2, &data->data, &data->len); data 37 net/third_party/nss/ssl/ssl3ext.c SECItem *data, EncryptedSessionTicket *enc_session_ticket); data 52 net/third_party/nss/ssl/ssl3ext.c PRUint16 ex_type, SECItem *data); data 54 net/third_party/nss/ssl/ssl3ext.c PRUint16 ex_type, SECItem *data); data 56 net/third_party/nss/ssl/ssl3ext.c PRUint16 ex_type, SECItem *data); data 58 net/third_party/nss/ssl/ssl3ext.c PRUint16 ex_type, SECItem *data); data 66 net/third_party/nss/ssl/ssl3ext.c SECItem *data); data 68 net/third_party/nss/ssl/ssl3ext.c PRUint16 ex_type, SECItem *data); data 74 net/third_party/nss/ssl/ssl3ext.c PRUint16 ex_type, SECItem *data); data 77 net/third_party/nss/ssl/ssl3ext.c SECItem *data); data 83 net/third_party/nss/ssl/ssl3ext.c SECItem *data); data 89 net/third_party/nss/ssl/ssl3ext.c SECItem *data); data 102 net/third_party/nss/ssl/ssl3ext.c PORT_Memcpy(item->data, buf, bytes); data 103 net/third_party/nss/ssl/ssl3ext.c item->data += bytes; data 151 net/third_party/nss/ssl/ssl3ext.c ssl3_GenerateSessionTicketKeysPKCS11(void *data) data 154 net/third_party/nss/ssl/ssl3ext.c sslSocket *ss = (sslSocket *)data; data 396 net/third_party/nss/ssl/ssl3ext.c ssl3_HandleServerNameXtn(sslSocket * ss, PRUint16 ex_type, SECItem *data) data 406 net/third_party/nss/ssl/ssl3ext.c if (data->data || data->len || data 420 net/third_party/nss/ssl/ssl3ext.c listLenBytes = ssl3_ConsumeHandshakeNumber(ss, 2, &data->data, &data->len); data 421 net/third_party/nss/ssl/ssl3ext.c if (listLenBytes == 0 || listLenBytes != data->len) { data 424 net/third_party/nss/ssl/ssl3ext.c ldata = *data; data 431 net/third_party/nss/ssl/ssl3ext.c type = ssl3_ConsumeHandshakeNumber(ss, 1, &ldata.data, &ldata.len); data 435 net/third_party/nss/ssl/ssl3ext.c rv = ssl3_ConsumeHandshakeVariable(ss, &litem, 2, &ldata.data, &ldata.len); data 459 net/third_party/nss/ssl/ssl3ext.c type = ssl3_ConsumeHandshakeNumber(ss, 1, &data->data, &data->len); data 461 net/third_party/nss/ssl/ssl3ext.c for (j = 0;j < listCount && names[j].data;j++) { data 469 net/third_party/nss/ssl/ssl3ext.c &data->data, &data->len); data 529 net/third_party/nss/ssl/ssl3ext.c if (session_ticket->ticket.data) { data 548 net/third_party/nss/ssl/ssl3ext.c if (session_ticket && session_ticket->ticket.data && data 550 net/third_party/nss/ssl/ssl3ext.c rv = ssl3_AppendHandshakeVariable(ss, session_ticket->ticket.data, data 578 net/third_party/nss/ssl/ssl3ext.c ssl3_ServerHandleNextProtoNegoXtn(sslSocket * ss, PRUint16 ex_type, SECItem *data) data 580 net/third_party/nss/ssl/ssl3ext.c if (ss->firstHsDone || data->len != 0) { data 599 net/third_party/nss/ssl/ssl3ext.c ssl3_ValidateNextProtoNego(const unsigned char* data, unsigned int length) data 604 net/third_party/nss/ssl/ssl3ext.c unsigned int newOffset = offset + 1 + (unsigned int) data[offset]; data 608 net/third_party/nss/ssl/ssl3ext.c if (newOffset > length || data[offset] == 0) { data 625 net/third_party/nss/ssl/ssl3ext.c SECItem *data) data 643 net/third_party/nss/ssl/ssl3ext.c rv = ssl3_ValidateNextProtoNego(data->data, data->len); data 659 net/third_party/nss/ssl/ssl3ext.c rv = ss->nextProtoCallback(ss->nextProtoArg, ss->fd, data->data, data->len, data 660 net/third_party/nss/ssl/ssl3ext.c result.data, &result.len, sizeof resultBuffer); data 677 net/third_party/nss/ssl/ssl3ext.c ssl3_ClientHandleAppProtoXtn(sslSocket *ss, PRUint16 ex_type, SECItem *data) data 679 net/third_party/nss/ssl/ssl3ext.c const unsigned char* d = data->data; data 692 net/third_party/nss/ssl/ssl3ext.c if (data->len < 4 || data->len > 2 + 1 + 255) { data 699 net/third_party/nss/ssl/ssl3ext.c if (name_list_len != data->len - 2 || d[2] != data->len - 3) { data 704 net/third_party/nss/ssl/ssl3ext.c protocol_name.data = data->data + 3; data 705 net/third_party/nss/ssl/ssl3ext.c protocol_name.len = data->len - 3; data 753 net/third_party/nss/ssl/ssl3ext.c if (!ss->opt.enableALPN || !ss->opt.nextProtoNego.data || ss->firstHsDone) { data 775 net/third_party/nss/ssl/ssl3ext.c unsigned int i = ss->opt.nextProtoNego.data[0] + 1; data 777 net/third_party/nss/ssl/ssl3ext.c memcpy(alpn_protos, &ss->opt.nextProtoNego.data[i], len - i); data 778 net/third_party/nss/ssl/ssl3ext.c memcpy(alpn_protos + len - i, ss->opt.nextProtoNego.data, i); data 781 net/third_party/nss/ssl/ssl3ext.c memcpy(alpn_protos, ss->opt.nextProtoNego.data, len); data 816 net/third_party/nss/ssl/ssl3ext.c SECItem *data) data 820 net/third_party/nss/ssl/ssl3ext.c if (data->len) { data 871 net/third_party/nss/ssl/ssl3ext.c SECItem *data) data 874 net/third_party/nss/ssl/ssl3ext.c if (data->len != 0) data 1037 net/third_party/nss/ssl/ssl3ext.c ivItem.data = iv; data 1054 net/third_party/nss/ssl/ssl3ext.c if (ss->ssl3.pwSpec->msItem.len && ss->ssl3.pwSpec->msItem.data) { data 1056 net/third_party/nss/ssl/ssl3ext.c ms_item.data = ss->ssl3.pwSpec->msItem.data; data 1077 net/third_party/nss/ssl/ssl3ext.c ms_item.data = wrapped_ms; data 1088 net/third_party/nss/ssl/ssl3ext.c if (srvName->data && srvName->len) { data 1164 net/third_party/nss/ssl/ssl3ext.c rv = ssl3_AppendToItem(&plaintext, ms_item.data, ms_item.len); data 1175 net/third_party/nss/ssl/ssl3ext.c ss->sec.ci.sid->peerCert->derCert.data, data 1196 net/third_party/nss/ssl/ssl3ext.c rv = ssl3_AppendToItem(&plaintext, srvName->data, srvName->len); data 1207 net/third_party/nss/ssl/ssl3ext.c plaintext.data[i] = (unsigned char)padding_length; data 1222 net/third_party/nss/ssl/ssl3ext.c rv = AES_Encrypt(aes_ctx, ciphertext.data, &ciphertext.len, data 1223 net/third_party/nss/ssl/ssl3ext.c ciphertext.len, plaintext_item.data, data 1234 net/third_party/nss/ssl/ssl3ext.c rv = PK11_CipherOp(aes_ctx_pkcs11, ciphertext.data, data 1236 net/third_party/nss/ssl/ssl3ext.c plaintext_item.data, plaintext_item.len); data 1259 net/third_party/nss/ssl/ssl3ext.c HMAC_Update(hmac_ctx, ciphertext.data, ciphertext.len); data 1266 net/third_party/nss/ssl/ssl3ext.c macParam.data = NULL; data 1278 net/third_party/nss/ssl/ssl3ext.c rv = PK11_DigestOp(hmac_ctx_pkcs11, ciphertext.data, ciphertext.len); data 1303 net/third_party/nss/ssl/ssl3ext.c rv = ssl3_AppendHandshakeVariable(ss, ciphertext.data, ciphertext.len, 2); data 1310 net/third_party/nss/ssl/ssl3ext.c if (plaintext_item.data) data 1312 net/third_party/nss/ssl/ssl3ext.c if (ciphertext.data) data 1323 net/third_party/nss/ssl/ssl3ext.c SECItem *data) data 1325 net/third_party/nss/ssl/ssl3ext.c if (data->len != 0) data 1335 net/third_party/nss/ssl/ssl3ext.c SECItem *data) data 1354 net/third_party/nss/ssl/ssl3ext.c if (data->len == 0) { data 1399 net/third_party/nss/ssl/ssl3ext.c extension_data.data = data->data; /* Keep a copy for future use. */ data 1400 net/third_party/nss/ssl/ssl3ext.c extension_data.len = data->len; data 1402 net/third_party/nss/ssl/ssl3ext.c if (ssl3_ParseEncryptedSessionTicket(ss, data, &enc_session_ticket) data 1444 net/third_party/nss/ssl/ssl3ext.c HMAC_Update(hmac_ctx, extension_data.data, data 1453 net/third_party/nss/ssl/ssl3ext.c macParam.data = NULL; data 1466 net/third_party/nss/ssl/ssl3ext.c rv = PK11_DigestOp(hmac_ctx_pkcs11, extension_data.data, data 1507 net/third_party/nss/ssl/ssl3ext.c rv = AES_Decrypt(aes_ctx, decrypted_state->data, data 1509 net/third_party/nss/ssl/ssl3ext.c enc_session_ticket.encrypted_state.data, data 1517 net/third_party/nss/ssl/ssl3ext.c ivItem.data = enc_session_ticket.iv; data 1527 net/third_party/nss/ssl/ssl3ext.c rv = PK11_CipherOp(aes_ctx_pkcs11, decrypted_state->data, data 1529 net/third_party/nss/ssl/ssl3ext.c enc_session_ticket.encrypted_state.data, data 1539 net/third_party/nss/ssl/ssl3ext.c (PRUint32)decrypted_state->data[decrypted_state->len - 1]; data 1543 net/third_party/nss/ssl/ssl3ext.c padding = &decrypted_state->data[decrypted_state->len - padding_length]; data 1550 net/third_party/nss/ssl/ssl3ext.c buffer = decrypted_state->data; data 1710 net/third_party/nss/ssl/ssl3ext.c if (parsed_session_ticket->peer_cert.data != NULL) { data 1720 net/third_party/nss/ssl/ssl3ext.c if (parsed_session_ticket->srvName.data != NULL) { data 1751 net/third_party/nss/ssl/ssl3ext.c if (parsed_session_ticket->peer_cert.data) { data 1771 net/third_party/nss/ssl/ssl3ext.c *buf = item->data; data 1772 net/third_party/nss/ssl/ssl3ext.c item->data += bytes; data 1778 net/third_party/nss/ssl/ssl3ext.c ssl3_ParseEncryptedSessionTicket(sslSocket *ss, SECItem *data, data 1781 net/third_party/nss/ssl/ssl3ext.c if (ssl3_ConsumeFromItem(data, &enc_session_ticket->key_name, data 1784 net/third_party/nss/ssl/ssl3ext.c if (ssl3_ConsumeFromItem(data, &enc_session_ticket->iv, data 1788 net/third_party/nss/ssl/ssl3ext.c 2, &data->data, &data->len) != SECSuccess) data 1790 net/third_party/nss/ssl/ssl3ext.c if (ssl3_ConsumeFromItem(data, &enc_session_ticket->mac, data 1793 net/third_party/nss/ssl/ssl3ext.c if (data->len != 0) /* Make sure that we have consumed all bytes. */ data 1948 net/third_party/nss/ssl/ssl3ext.c ss->ssl3.hs.finishedMsgs.data, len, 1); data 1961 net/third_party/nss/ssl/ssl3ext.c SECItem *data) data 1976 net/third_party/nss/ssl/ssl3ext.c ssl3_HandleRenegotiationInfoXtn(sslSocket *ss, PRUint16 ex_type, SECItem *data) data 1985 net/third_party/nss/ssl/ssl3ext.c if (data->len != 1 + len || data 1986 net/third_party/nss/ssl/ssl3ext.c data->data[0] != len || (len && data 1987 net/third_party/nss/ssl/ssl3ext.c NSS_SecureMemcmp(ss->ssl3.hs.finishedMsgs.data, data 1988 net/third_party/nss/ssl/ssl3ext.c data->data + 1, len))) { data 2073 net/third_party/nss/ssl/ssl3ext.c ssl3_HandleUseSRTPXtn(sslSocket * ss, PRUint16 ex_type, SECItem *data) data 2085 net/third_party/nss/ssl/ssl3ext.c if (!data->data || !data->len) { data 2092 net/third_party/nss/ssl/ssl3ext.c &data->data, &data->len); data 2102 net/third_party/nss/ssl/ssl3ext.c cipher = (ciphers.data[0] << 8) | ciphers.data[1]; data 2118 net/third_party/nss/ssl/ssl3ext.c &data->data, &data->len); data 2139 net/third_party/nss/ssl/ssl3ext.c if (data->len != 0) { data 2157 net/third_party/nss/ssl/ssl3ext.c if (!data->data || data->len < 5) { data 2164 net/third_party/nss/ssl/ssl3ext.c &data->data, &data->len); data 2177 net/third_party/nss/ssl/ssl3ext.c cipher = (ciphers.data[j] << 8) | ciphers.data[j + 1]; data 2186 net/third_party/nss/ssl/ssl3ext.c rv = ssl3_ConsumeHandshakeVariable(ss, &litem, 1, &data->data, &data->len); data 2191 net/third_party/nss/ssl/ssl3ext.c if (data->len != 0) { data 2213 net/third_party/nss/ssl/ssl3ext.c ssl3_ServerHandleSigAlgsXtn(sslSocket * ss, PRUint16 ex_type, SECItem *data) data 2228 net/third_party/nss/ssl/ssl3ext.c rv = ssl3_ConsumeHandshakeVariable(ss, &algorithms, 2, &data->data, data 2229 net/third_party/nss/ssl/ssl3ext.c &data->len); data 2234 net/third_party/nss/ssl/ssl3ext.c if (data->len != 0 || algorithms.len == 0 || (algorithms.len & 1) != 0) { data 2253 net/third_party/nss/ssl/ssl3ext.c b = algorithms.data; data 2428 net/third_party/nss/ssl/ssl3ext.c SECItem *data) data 2439 net/third_party/nss/ssl/ssl3ext.c PORT_Assert(!scts->data && !scts->len); data 2441 net/third_party/nss/ssl/ssl3ext.c if (!data->len) { data 2445 net/third_party/nss/ssl/ssl3ext.c *scts = *data; data 763 net/third_party/nss/ssl/sslcon.c PORT_Memcpy(msg + SSL_HL_CLIENT_CERTIFICATE_HBYTES, cert->data, cert->len); data 765 net/third_party/nss/ssl/sslcon.c encCode->data, encCode->len); data 790 net/third_party/nss/ssl/sslcon.c const PRUint8 * data, data 794 net/third_party/nss/ssl/sslcon.c const PRUint8 * secret = sec->sendSecret.data; data 811 net/third_party/nss/ssl/sslcon.c (*sec->hash->update)(sec->hashcx, data, dataLen); data 821 net/third_party/nss/ssl/sslcon.c PRINT_BUF(60, (0, "calc-mac data:", data, dataLen)); data 1278 net/third_party/nss/ssl/sslcon.c PORT_Assert(sid->u.ssl2.masterKey.data == 0); data 1279 net/third_party/nss/ssl/sslcon.c PORT_Assert(sid->u.ssl2.cipherArg.data == 0); data 1284 net/third_party/nss/ssl/sslcon.c sid->u.ssl2.masterKey.data = (PRUint8*) PORT_Alloc(keyLen); data 1285 net/third_party/nss/ssl/sslcon.c if (!sid->u.ssl2.masterKey.data) { data 1288 net/third_party/nss/ssl/sslcon.c PORT_Memcpy(sid->u.ssl2.masterKey.data, keyData, keyLen); data 1300 net/third_party/nss/ssl/sslcon.c sid->u.ssl2.cipherArg.data = (PRUint8*) PORT_Alloc(caLen); data 1301 net/third_party/nss/ssl/sslcon.c if (!sid->u.ssl2.cipherArg.data) { data 1305 net/third_party/nss/ssl/sslcon.c PORT_Memcpy(sid->u.ssl2.cipherArg.data, ca, caLen); data 1335 net/third_party/nss/ssl/sslcon.c readKey->data = 0; data 1336 net/third_party/nss/ssl/sslcon.c writeKey->data = 0; data 1350 net/third_party/nss/ssl/sslcon.c readKey->data = (PRUint8*) PORT_Alloc(nkd); data 1351 net/third_party/nss/ssl/sslcon.c if (!readKey->data) data 1355 net/third_party/nss/ssl/sslcon.c writeKey->data = (PRUint8*) PORT_Alloc(nkd); data 1356 net/third_party/nss/ssl/sslcon.c if (!writeKey->data) data 1364 net/third_party/nss/ssl/sslcon.c rv |= PK11_DigestOp(cx, masterKey->data, masterKey->len); data 1378 net/third_party/nss/ssl/sslcon.c PORT_Memcpy(readKey->data, km, nkd); data 1379 net/third_party/nss/ssl/sslcon.c PORT_Memcpy(writeKey->data, km + nkd, nkd); data 1407 net/third_party/nss/ssl/sslcon.c readKey.data = 0; data 1408 net/third_party/nss/ssl/sslcon.c writeKey.data = 0; data 1442 net/third_party/nss/ssl/sslcon.c PRINT_BUF(7, (ss, "Session read-key: ", rk->data, rk->len)); data 1443 net/third_party/nss/ssl/sslcon.c PRINT_BUF(7, (ss, "Session write-key: ", wk->data, wk->len)); data 1445 net/third_party/nss/ssl/sslcon.c PORT_Memcpy(ss->sec.ci.readKey, readKey.data, readKey.len); data 1446 net/third_party/nss/ssl/sslcon.c PORT_Memcpy(ss->sec.ci.writeKey, writeKey.data, writeKey.len); data 1906 net/third_party/nss/ssl/sslcon.c certItem.data = certData; data 1952 net/third_party/nss/ssl/sslcon.c ssl_FormatSSL2Block(unsigned modulusLen, SECItem *data) data 1960 net/third_party/nss/ssl/sslcon.c if (modulusLen < data->len + (3 + RSA_BLOCK_MIN_PAD_LEN)) { data 1982 net/third_party/nss/ssl/sslcon.c padLen = modulusLen - data->len - 3; data 1995 net/third_party/nss/ssl/sslcon.c PORT_Memcpy (bp, data->data, data->len); data 2112 net/third_party/nss/ssl/sslcon.c rek.data = keyData + ckLen; data 2268 net/third_party/nss/ssl/sslcon.c rv = SGN_Update(sgn, ss->sec.peerCert->derCert.data, data 2302 net/third_party/nss/ssl/sslcon.c response.data = NULL; data 2383 net/third_party/nss/ssl/sslcon.c if ( response.data ) { data 2384 net/third_party/nss/ssl/sslcon.c PORT_Free(response.data); data 2415 net/third_party/nss/ssl/sslcon.c certItem.data = cd; data 2433 net/third_party/nss/ssl/sslcon.c rep.data = response; data 2456 net/third_party/nss/ssl/sslcon.c rv = VFY_Update(vfy, derCert->data, derCert->len); data 2493 net/third_party/nss/ssl/sslcon.c PRUint8 * data; data 2503 net/third_party/nss/ssl/sslcon.c data = ss->gs.buf.buf + ss->gs.recordOffset; data 2509 net/third_party/nss/ssl/sslcon.c SSL_GETPID(), ss->fd, data[0])); data 2510 net/third_party/nss/ssl/sslcon.c DUMP_MSG(29, (ss, data, ss->gs.recordLen)); data 2512 net/third_party/nss/ssl/sslcon.c switch (data[0]) { data 2522 net/third_party/nss/ssl/sslcon.c cid = data + 1; data 2551 net/third_party/nss/ssl/sslcon.c ssl2_ClientRegSessionID(ss, data+1); data 2569 net/third_party/nss/ssl/sslcon.c ss->sec.ci.authType = data[1]; data 2571 net/third_party/nss/ssl/sslcon.c PORT_Memcpy(ss->sec.ci.serverChallenge, data + 2, len); data 2597 net/third_party/nss/ssl/sslcon.c certType = data[1]; data 2598 net/third_party/nss/ssl/sslcon.c certLen = (data[2] << 8) | data[3]; data 2599 net/third_party/nss/ssl/sslcon.c responseLen = (data[4] << 8) | data[5]; data 2609 net/third_party/nss/ssl/sslcon.c rv = ssl2_HandleClientCertificate(ss, data[1], data 2610 net/third_party/nss/ssl/sslcon.c data + SSL_HL_CLIENT_CERTIFICATE_HBYTES, data 2612 net/third_party/nss/ssl/sslcon.c data + SSL_HL_CLIENT_CERTIFICATE_HBYTES + certLen, data 2623 net/third_party/nss/ssl/sslcon.c rv = (data[1] << 8) | data[2]; data 2650 net/third_party/nss/ssl/sslcon.c SSL_GETPID(), ss->fd, data[0])); data 2655 net/third_party/nss/ssl/sslcon.c SSL_GETPID(), ss->fd, data[0], data 2689 net/third_party/nss/ssl/sslcon.c PRUint8 * data; data 2695 net/third_party/nss/ssl/sslcon.c data = ss->gs.buf.buf + ss->gs.recordOffset; data 2696 net/third_party/nss/ssl/sslcon.c DUMP_MSG(29, (ss, data, ss->gs.recordLen)); data 2698 net/third_party/nss/ssl/sslcon.c (data[0] != SSL_MT_SERVER_VERIFY) || data 2699 net/third_party/nss/ssl/sslcon.c NSS_SecureMemcmp(data+1, ss->sec.ci.clientChallenge, data 2741 net/third_party/nss/ssl/sslcon.c PRUint8 * data; data 2757 net/third_party/nss/ssl/sslcon.c data = ss->gs.buf.buf + ss->gs.recordOffset; data 2758 net/third_party/nss/ssl/sslcon.c DUMP_MSG(29, (ss, data, ss->gs.recordLen)); data 2762 net/third_party/nss/ssl/sslcon.c || (data[0] != SSL_MT_SERVER_HELLO)) { data 2763 net/third_party/nss/ssl/sslcon.c if ((data[0] == SSL_MT_ERROR) && (ss->gs.recordLen == 3)) { data 2764 net/third_party/nss/ssl/sslcon.c err = (data[1] << 8) | data[2]; data 2773 net/third_party/nss/ssl/sslcon.c sidHit = data[1]; data 2774 net/third_party/nss/ssl/sslcon.c certType = data[2]; data 2775 net/third_party/nss/ssl/sslcon.c ss->version = (data[3] << 8) | data[4]; data 2776 net/third_party/nss/ssl/sslcon.c certLen = (data[5] << 8) | data[6]; data 2777 net/third_party/nss/ssl/sslcon.c csLen = (data[7] << 8) | data[8]; data 2778 net/third_party/nss/ssl/sslcon.c cidLen = (data[9] << 8) | data[10]; data 2779 net/third_party/nss/ssl/sslcon.c cert = data + SSL_HL_SERVER_HELLO_HBYTES; data 3218 net/third_party/nss/ssl/sslcon.c PRUint8 * data; data 3229 net/third_party/nss/ssl/sslcon.c data = ss->gs.buf.buf + ss->gs.recordOffset; data 3230 net/third_party/nss/ssl/sslcon.c DUMP_MSG(29, (ss, data, ss->gs.recordLen)); data 3233 net/third_party/nss/ssl/sslcon.c || (data[0] != SSL_MT_CLIENT_MASTER_KEY)) { data 3236 net/third_party/nss/ssl/sslcon.c cipher = data[1]; data 3237 net/third_party/nss/ssl/sslcon.c keyBits = (data[2] << 8) | data[3]; data 3238 net/third_party/nss/ssl/sslcon.c ckLen = (data[4] << 8) | data[5]; data 3239 net/third_party/nss/ssl/sslcon.c ekLen = (data[6] << 8) | data[7]; data 3240 net/third_party/nss/ssl/sslcon.c caLen = (data[8] << 8) | data[9]; data 3254 net/third_party/nss/ssl/sslcon.c data + SSL_HL_CLIENT_MASTER_KEY_HBYTES, ckLen, data 3255 net/third_party/nss/ssl/sslcon.c data + SSL_HL_CLIENT_MASTER_KEY_HBYTES + ckLen, ekLen, data 3256 net/third_party/nss/ssl/sslcon.c data + SSL_HL_CLIENT_MASTER_KEY_HBYTES + ckLen + ekLen, caLen); data 3308 net/third_party/nss/ssl/sslcon.c PRUint8 *data; data 3337 net/third_party/nss/ssl/sslcon.c data = ss->gs.buf.buf + ss->gs.recordOffset; data 3338 net/third_party/nss/ssl/sslcon.c DUMP_MSG(29, (ss, data, ss->gs.recordLen)); data 3342 net/third_party/nss/ssl/sslcon.c || (data[0] != SSL_MT_CLIENT_HELLO)) { data 3356 net/third_party/nss/ssl/sslcon.c if ((data[0] == SSL_MT_CLIENT_HELLO) && data 3357 net/third_party/nss/ssl/sslcon.c (data[1] >= MSB(SSL_LIBRARY_VERSION_3_0)) && data 3359 net/third_party/nss/ssl/sslcon.c rv = ssl3_HandleV2ClientHello(ss, data, ss->gs.recordLen); data 3385 net/third_party/nss/ssl/sslcon.c ss->version = (data[1] << 8) | data[2]; data 3392 net/third_party/nss/ssl/sslcon.c csLen = (data[3] << 8) | data[4]; data 3393 net/third_party/nss/ssl/sslcon.c sdLen = (data[5] << 8) | data[6]; data 3394 net/third_party/nss/ssl/sslcon.c challengeLen = (data[7] << 8) | data[8]; data 3395 net/third_party/nss/ssl/sslcon.c cs = data + SSL_HL_CLIENT_HELLO_HBYTES; data 3510 net/third_party/nss/ssl/sslcon.c cert = derCert->data; data 267 net/third_party/nss/ssl/sslgathr.c (*ss->sec.hash->update)(ss->sec.hashcx, ss->sec.rcvSecret.data, data 218 net/third_party/nss/ssl/sslimpl.h SECItem * data); data 569 net/third_party/nss/ssl/sslimpl.h unsigned char data[DTLS_RECVD_RECORDS_WINDOW/8]; data 860 net/third_party/nss/ssl/sslimpl.h unsigned char *data; /* The data */ data 936 net/third_party/nss/ssl/sslimpl.h SSL3Opaque data[72]; data 1478 net/third_party/nss/ssl/sslimpl.h extern SECStatus sslBuffer_Append(sslBuffer *b, const void * data, data 1827 net/third_party/nss/ssl/sslimpl.h PRUint16 ex_type, SECItem *data); data 1829 net/third_party/nss/ssl/sslimpl.h PRUint16 ex_type, SECItem *data); data 1831 net/third_party/nss/ssl/sslimpl.h PRUint16 ex_type, SECItem *data); data 1833 net/third_party/nss/ssl/sslimpl.h PRUint16 ex_type, SECItem *data); data 1835 net/third_party/nss/ssl/sslimpl.h PRUint16 ex_type, SECItem *data); data 1885 net/third_party/nss/ssl/sslimpl.h extern SECStatus ssl3_ValidateNextProtoNego(const unsigned char* data, data 317 net/third_party/nss/ssl/sslinfo.c if (crsName->data) { data 331 net/third_party/nss/ssl/sslinfo.c sniName->data = (void*)name; data 124 net/third_party/nss/ssl/sslnonce.c if (sid->u.ssl3.locked.sessionTicket.ticket.data) { data 128 net/third_party/nss/ssl/sslnonce.c if (sid->u.ssl3.srvName.data) { data 131 net/third_party/nss/ssl/sslnonce.c if (sid->u.ssl3.originalHandshakeHash.data) { data 134 net/third_party/nss/ssl/sslnonce.c if (sid->u.ssl3.signedCertTimestamps.data) { data 290 net/third_party/nss/ssl/sslnonce.c sid->u.ssl2.masterKey.data, sid->u.ssl2.masterKey.len)); data 292 net/third_party/nss/ssl/sslnonce.c sid->u.ssl2.cipherArg.data, sid->u.ssl2.cipherArg.len)); data 295 net/third_party/nss/ssl/sslnonce.c sid->u.ssl3.locked.sessionTicket.ticket.data == NULL) data 360 net/third_party/nss/ssl/sslnonce.c zap->u.ssl2.masterKey.data, zap->u.ssl2.masterKey.len)); data 362 net/third_party/nss/ssl/sslnonce.c zap->u.ssl2.cipherArg.data, zap->u.ssl2.cipherArg.len)); data 456 net/third_party/nss/ssl/sslnonce.c if (sid->u.ssl3.locked.sessionTicket.ticket.data) { data 462 net/third_party/nss/ssl/sslnonce.c PORT_Assert(!sid->u.ssl3.locked.sessionTicket.ticket.data); data 466 net/third_party/nss/ssl/sslnonce.c newSessionTicket->ticket.data = NULL; data 250 net/third_party/nss/ssl/sslplatf.c hashItem.data = hash->u.raw; data 263 net/third_party/nss/ssl/sslplatf.c hashItem.data = hash->u.s.sha; data 266 net/third_party/nss/ssl/sslplatf.c hashItem.data = hash->u.raw; data 274 net/third_party/nss/ssl/sslplatf.c PRINT_BUF(60, (NULL, "hash(es) to be signed", hashItem.data, hashItem.len)); data 277 net/third_party/nss/ssl/sslplatf.c (PBYTE)hashItem.data, hashItem.len, data 284 net/third_party/nss/ssl/sslplatf.c buf->data = (unsigned char *)PORT_Alloc(signatureLen); data 285 net/third_party/nss/ssl/sslplatf.c if (!buf->data) { data 290 net/third_party/nss/ssl/sslplatf.c (PBYTE)hashItem.data, hashItem.len, data 291 net/third_party/nss/ssl/sslplatf.c (PBYTE)buf->data, signatureLen, data 306 net/third_party/nss/ssl/sslplatf.c PORT_Free(buf->data); /* discard unencoded signature. */ data 308 net/third_party/nss/ssl/sslplatf.c } else if (derSig.data) { data 309 net/third_party/nss/ssl/sslplatf.c PORT_Free(derSig.data); data 315 net/third_party/nss/ssl/sslplatf.c PRINT_BUF(60, (NULL, "signed hashes", buf->data, buf->len)); data 318 net/third_party/nss/ssl/sslplatf.c if (rv != SECSuccess && buf->data) { data 319 net/third_party/nss/ssl/sslplatf.c PORT_Free(buf->data); data 320 net/third_party/nss/ssl/sslplatf.c buf->data = NULL; data 341 net/third_party/nss/ssl/sslplatf.c buf->data = NULL; data 369 net/third_party/nss/ssl/sslplatf.c hashItem.data = hash->u.raw; data 381 net/third_party/nss/ssl/sslplatf.c hashItem.data = hash->u.s.sha; data 384 net/third_party/nss/ssl/sslplatf.c hashItem.data = hash->u.raw; data 392 net/third_party/nss/ssl/sslplatf.c PRINT_BUF(60, (NULL, "hash(es) to be signed", hashItem.data, hashItem.len)); data 407 net/third_party/nss/ssl/sslplatf.c if (!CryptSetHashParam(hHash, HP_HASHVAL, (BYTE*)hashItem.data, 0)) { data 416 net/third_party/nss/ssl/sslplatf.c buf->data = (unsigned char *)PORT_Alloc(signatureLen); data 417 net/third_party/nss/ssl/sslplatf.c if (!buf->data) data 421 net/third_party/nss/ssl/sslplatf.c (BYTE*)buf->data, &signatureLen)) { data 429 net/third_party/nss/ssl/sslplatf.c unsigned char tmp = buf->data[i]; data 430 net/third_party/nss/ssl/sslplatf.c buf->data[i] = buf->data[buf->len - 1 - i]; data 431 net/third_party/nss/ssl/sslplatf.c buf->data[buf->len - 1 - i] = tmp; data 439 net/third_party/nss/ssl/sslplatf.c PORT_Free(buf->data); /* discard unencoded signature. */ data 441 net/third_party/nss/ssl/sslplatf.c } else if (derSig.data) { data 442 net/third_party/nss/ssl/sslplatf.c PORT_Free(derSig.data); data 448 net/third_party/nss/ssl/sslplatf.c PRINT_BUF(60, (NULL, "signed hashes", buf->data, buf->len)); data 452 net/third_party/nss/ssl/sslplatf.c if (rv != SECSuccess && buf->data) { data 453 net/third_party/nss/ssl/sslplatf.c PORT_Free(buf->data); data 454 net/third_party/nss/ssl/sslplatf.c buf->data = NULL; data 599 net/third_party/nss/ssl/sslplatf.c buf->data = NULL; data 677 net/third_party/nss/ssl/sslplatf.c buf->data = (unsigned char *)PORT_Alloc(signatureLen); data 678 net/third_party/nss/ssl/sslplatf.c if (!buf->data) data 693 net/third_party/nss/ssl/sslplatf.c signatureData.Data = (uint8*)buf->data; data 727 net/third_party/nss/ssl/sslplatf.c PORT_Free(buf->data); /* discard encoded signature. */ data 736 net/third_party/nss/ssl/sslplatf.c PRINT_BUF(60, (NULL, "signed hashes", buf->data, buf->len)); data 745 net/third_party/nss/ssl/sslplatf.c if (rv != SECSuccess && buf->data) { data 746 net/third_party/nss/ssl/sslplatf.c PORT_Free(buf->data); data 747 net/third_party/nss/ssl/sslplatf.c buf->data = NULL; data 520 net/third_party/nss/ssl/sslsecur.c sslBuffer_Append(sslBuffer *b, const void * data, unsigned int len) data 528 net/third_party/nss/ssl/sslsecur.c PORT_Memcpy(b->buf + b->len, data, len); data 540 net/third_party/nss/ssl/sslsecur.c ssl_SaveWriteData(sslSocket *ss, const void *data, unsigned int len) data 545 net/third_party/nss/ssl/sslsecur.c rv = sslBuffer_Append(&ss->pendingBuf, data, len); data 972 net/third_party/nss/ssl/sslsecur.c if (os->sec.sendSecret.data && !ss->sec.sendSecret.data) data 975 net/third_party/nss/ssl/sslsecur.c if (os->sec.rcvSecret.data && !ss->sec.rcvSecret.data) data 1532 net/third_party/nss/ssl/sslsecur.c item->data = (unsigned char*)PORT_Alloc(item->len); data 1533 net/third_party/nss/ssl/sslsecur.c PORT_Memcpy(item->data, sid->u.ssl2.sessionID, item->len); data 1536 net/third_party/nss/ssl/sslsecur.c item->data = (unsigned char*)PORT_Alloc(item->len); data 1537 net/third_party/nss/ssl/sslsecur.c PORT_Memcpy(item->data, sid->u.ssl3.sessionID, item->len); data 357 net/third_party/nss/ssl/sslsnce.c (cert->derCert.data == NULL)) { data 366 net/third_party/nss/ssl/sslsnce.c PORT_Memcpy(cce.cert, cert->derCert.data, cce.certLength); data 422 net/third_party/nss/ssl/sslsnce.c PORT_Memcpy(snce.name, name->data, snce.nameLen); data 424 net/third_party/nss/ssl/sslsnce.c HASH_HashBuf(HASH_AlgSHA256, snce.nameHash, name->data, name->len); data 426 net/third_party/nss/ssl/sslsnce.c SHA256_HashBuf(snce.nameHash, (unsigned char*)name->data, data 483 net/third_party/nss/ssl/sslsnce.c PORT_Memcpy(to->u.ssl2.masterKey, from->u.ssl2.masterKey.data, data 485 net/third_party/nss/ssl/sslsnce.c PORT_Memcpy(to->u.ssl2.cipherArg, from->u.ssl2.cipherArg.data, data 543 net/third_party/nss/ssl/sslsnce.c to->u.ssl2.masterKey.data = data 545 net/third_party/nss/ssl/sslsnce.c if (!to->u.ssl2.masterKey.data) { data 549 net/third_party/nss/ssl/sslsnce.c to->u.ssl2.cipherArg.data = data 551 net/third_party/nss/ssl/sslsnce.c if (!to->u.ssl2.cipherArg.data) { data 554 net/third_party/nss/ssl/sslsnce.c PORT_Memcpy(to->u.ssl2.cipherArg.data, from->u.ssl2.cipherArg, data 565 net/third_party/nss/ssl/sslsnce.c PORT_Memcpy(to->u.ssl2.masterKey.data, from->u.ssl2.masterKey, data 589 net/third_party/nss/ssl/sslsnce.c name.data = psnce->name; data 621 net/third_party/nss/ssl/sslsnce.c derCert.data = pcce->cert; data 647 net/third_party/nss/ssl/sslsnce.c if (to->u.ssl2.masterKey.data) data 648 net/third_party/nss/ssl/sslsnce.c PORT_Free(to->u.ssl2.masterKey.data); data 649 net/third_party/nss/ssl/sslsnce.c if (to->u.ssl2.cipherArg.data) data 650 net/third_party/nss/ssl/sslsnce.c PORT_Free(to->u.ssl2.cipherArg.data); data 877 net/third_party/nss/ssl/sslsnce.c PRINT_BUF(8, (0, "masterKey:", sid->u.ssl2.masterKey.data, data 879 net/third_party/nss/ssl/sslsnce.c PRINT_BUF(8, (0, "cipherArg:", sid->u.ssl2.cipherArg.data, data 900 net/third_party/nss/ssl/sslsnce.c if (name->len && name->data) { data 958 net/third_party/nss/ssl/sslsnce.c PRINT_BUF(8, (0, "masterKey:", sid->u.ssl2.masterKey.data, data 960 net/third_party/nss/ssl/sslsnce.c PRINT_BUF(8, (0, "cipherArg:", sid->u.ssl2.cipherArg.data, data 1840 net/third_party/nss/ssl/sslsnce.c wrappedKey.data = cacheEntry->bytes; data 1949 net/third_party/nss/ssl/sslsnce.c wrappedKey.data = cache->ticketEncKey->bytes; data 1955 net/third_party/nss/ssl/sslsnce.c wrappedKey.data = cache->ticketMacKey->bytes; data 1483 net/third_party/nss/ssl/sslsock.c if (protos[i] == ss->opt.nextProtoNego.data[j] && data 1484 net/third_party/nss/ssl/sslsock.c PORT_Memcmp(&protos[i+1], &ss->opt.nextProtoNego.data[j+1], data 1491 net/third_party/nss/ssl/sslsock.c j += 1 + (unsigned int)ss->opt.nextProtoNego.data[j]; data 1498 net/third_party/nss/ssl/sslsock.c result = ss->opt.nextProtoNego.data; data 1511 net/third_party/nss/ssl/sslsock.c SSL_SetNextProtoNego(PRFileDesc *fd, const unsigned char *data, data 1516 net/third_party/nss/ssl/sslsock.c SECItem dataItem = { siBuffer, (unsigned char *) data, length }; data 1525 net/third_party/nss/ssl/sslsock.c if (ssl3_ValidateNextProtoNego(data, length) != SECSuccess) data 1559 net/third_party/nss/ssl/sslsock.c ss->ssl3.nextProto.data) { data 1564 net/third_party/nss/ssl/sslsock.c PORT_Memcpy(buf, ss->ssl3.nextProto.data, ss->ssl3.nextProto.len); data 693 net/tools/balsa/balsa_frame.cc const char* p = original.data(); data 909 net/tools/balsa/balsa_frame.cc strncmp(method.data(), "POST", 4) == 0) || data 911 net/tools/balsa/balsa_frame.cc strncmp(method.data(), "PUT", 3) == 0)) { data 112 net/tools/balsa/balsa_headers.cc memcpy(blocks_[0].start_of_unused_bytes(), sp.data(), sp.size()); data 122 net/tools/balsa/balsa_headers.cc memcpy(new_storage + old_storage_size_used, sp.data(), sp.size()); data 128 net/tools/balsa/balsa_headers.cc memcpy(blocks_[0].start_of_unused_bytes(), sp.data(), sp.size()); data 139 net/tools/balsa/balsa_headers.cc memcpy(storage, sp.data(), sp.size()); data 390 net/tools/balsa/balsa_headers.cc memcpy(cur_loc, key.data(), key.size()); data 396 net/tools/balsa/balsa_headers.cc memcpy(cur_loc, value.data(), value.size()); data 431 net/tools/balsa/balsa_headers.cc memcpy(cur_loc, key.data(), key.size()); data 437 net/tools/balsa/balsa_headers.cc memcpy(cur_loc, first_value.data(), first_value.size()); data 441 net/tools/balsa/balsa_headers.cc memcpy(cur_loc, second_value.data(), second_value.size()); data 609 net/tools/balsa/balsa_headers.cc key.data(), key_len) == 0) { data 629 net/tools/balsa/balsa_headers.cc key.data(), key_len) == 0) { data 652 net/tools/balsa/balsa_headers.cc key.data(), key_len) == 0) { data 687 net/tools/balsa/balsa_headers.cc out->append(std::string(it->second.data(), it->second.size())); data 714 net/tools/balsa/balsa_headers.cc key.data(), key.size())) { data 768 net/tools/balsa/balsa_headers.cc firstline.data()); data 772 net/tools/balsa/balsa_headers.cc static_cast<int>(i->first.size()), i->first.data(), data 773 net/tools/balsa/balsa_headers.cc static_cast<int>(i->second.size()), i->second.data()); data 780 net/tools/balsa/balsa_headers.cc whitespace_1_idx_ = new_line.data() - GetPtr(firstline_buffer_base_idx_); data 864 net/tools/balsa/balsa_headers.cc memcpy(cur_loc, firstline_a.data(), firstline_a.size()); data 870 net/tools/balsa/balsa_headers.cc memcpy(cur_loc, firstline_b.data(), firstline_b.size()); data 876 net/tools/balsa/balsa_headers.cc memcpy(cur_loc, firstline_c.data(), firstline_c.size()); data 894 net/tools/balsa/balsa_headers.cc method.data(), data 946 net/tools/balsa/balsa_headers.cc version.data(), data 812 net/tools/balsa/balsa_headers.h buffer->Write(key.data(), key.size()); data 814 net/tools/balsa/balsa_headers.h buffer->Write(value.data(), value.size()); data 59 net/tools/balsa/balsa_headers_token_utils.cc new_last_token.data() + new_last_token.size() - 1; data 65 net/tools/crl_set_dump/crl_set_dump.cc if (base::WriteFile(output_filename, out.data(), out.size()) == -1) { data 74 net/tools/crl_set_dump/crl_set_dump.cc printf("%s\n", base::HexEncode(i->first.data(), i->first.size()).c_str()); data 77 net/tools/crl_set_dump/crl_set_dump.cc printf(" %s\n", base::HexEncode(j->data(), j->size()).c_str()); data 141 net/tools/dns_fuzz_stub/dns_fuzz_stub.cc std::copy(resp_buf.begin(), resp_buf.end(), response.io_buffer()->data()); data 163 net/tools/dump_cache/cache_dumper.cc const char *data; data 168 net/tools/dump_cache/cache_dumper.cc if (!net::HttpCache::ParseResponseInfo(buf->data(), buf_len, data 196 net/tools/dump_cache/cache_dumper.cc data = headers.c_str(); data 199 net/tools/dump_cache/cache_dumper.cc data = buf->data(); data 207 net/tools/dump_cache/cache_dumper.cc if (!WriteFile(entry_, data, len, &bytes, 0)) data 212 net/tools/dump_cache/cache_dumper.cc return fwrite(data, 1, len, entry_); data 73 net/tools/dump_cache/url_to_filename_encoder.cc dest->append(segment->data(), segment_size); data 65 net/tools/epoll_server/epoll_server.cc int data; data 69 net/tools/epoll_server/epoll_server.cc data_read = read(fd, &data, sizeof(data)); data 490 net/tools/epoll_server/epoll_server.cc char data = 'd'; // 'd' is for data. It's good enough for me. data 491 net/tools/epoll_server/epoll_server.cc int rv = write(write_fd_, &data, 1); data 575 net/tools/epoll_server/epoll_server.cc ee.data.fd = fd; data 593 net/tools/epoll_server/epoll_server.cc ee.data.fd = fd; data 672 net/tools/epoll_server/epoll_server.cc int fd = events[i].data.fd; data 115 net/tools/flip_server/http_interface.cc size_t HttpSM::ProcessReadInput(const char* data, size_t len) { data 118 net/tools/flip_server/http_interface.cc return http_framer_->ProcessInput(data, len); data 121 net/tools/flip_server/http_interface.cc size_t HttpSM::ProcessWriteInput(const char* data, size_t len) { data 125 net/tools/flip_server/http_interface.cc memcpy(dataPtr, data, len); data 127 net/tools/flip_server/http_interface.cc data_frame->data = dataPtr; data 215 net/tools/flip_server/http_interface.cc const char* data, data 219 net/tools/flip_server/http_interface.cc SendDataFrameImpl(stream_id, data, len, flags, compress); data 224 net/tools/flip_server/http_interface.cc df->data = "0\r\n\r\n"; data 250 net/tools/flip_server/http_interface.cc df->data = buffer; data 267 net/tools/flip_server/http_interface.cc df->data = buffer; data 278 net/tools/flip_server/http_interface.cc const char* data, data 288 net/tools/flip_server/http_interface.cc df->data = buffer; data 290 net/tools/flip_server/http_interface.cc memcpy(buffer, chunk_description.data(), chunk_description.size()); data 291 net/tools/flip_server/http_interface.cc memcpy(buffer + chunk_description.size(), data, len); data 330 net/tools/flip_server/http_interface.cc mci->file_data->body().data() + mci->body_bytes_consumed, data 85 net/tools/flip_server/http_interface.h virtual size_t ProcessReadInput(const char* data, size_t len) OVERRIDE; data 86 net/tools/flip_server/http_interface.h virtual size_t ProcessWriteInput(const char* data, size_t len) OVERRIDE; data 107 net/tools/flip_server/http_interface.h const char* data, data 119 net/tools/flip_server/http_interface.h const char* data, data 171 net/tools/flip_server/http_interface_test.cc std::string data = data 187 net/tools/flip_server/http_interface_test.cc size_t read = interface_->ProcessReadInput(data.data(), data.size()); data 190 net/tools/flip_server/http_interface_test.cc read += interface_->ProcessReadInput(&data.data()[read], data.size() - read); data 191 net/tools/flip_server/http_interface_test.cc ASSERT_EQ(data.size(), read); data 198 net/tools/flip_server/http_interface_test.cc std::string data = "hello, world"; data 199 net/tools/flip_server/http_interface_test.cc interface_->ProcessWriteInput(data.data(), data.size()); data 204 net/tools/flip_server/http_interface_test.cc ASSERT_EQ(data, StringPiece(df->data, df->size)); data 209 net/tools/flip_server/http_interface_test.cc std::string data = "HTTP/1.1 200 OK\r\n\r\n"; data 220 net/tools/flip_server/http_interface_test.cc interface_->ProcessReadInput(data.data(), data.size()); data 232 net/tools/flip_server/http_interface_test.cc std::string data = "HTTP/1.1 200 OK\r\n\r\n"; data 245 net/tools/flip_server/http_interface_test.cc interface_->ProcessReadInput(data.data(), data.size()); data 281 net/tools/flip_server/http_interface_test.cc ASSERT_EQ(syn_reply, StringPiece(df->data, df->size)); data 283 net/tools/flip_server/http_interface_test.cc ASSERT_EQ(body, StringPiece(df->data, df->size)); data 285 net/tools/flip_server/http_interface_test.cc ASSERT_EQ("0\r\n\r\n", StringPiece(df->data, df->size)); data 312 net/tools/flip_server/http_interface_test.cc ASSERT_EQ(syn_reply, StringPiece(df->data, df->size)); data 314 net/tools/flip_server/http_interface_test.cc ASSERT_EQ(body, StringPiece(df->data, df->size)); data 316 net/tools/flip_server/http_interface_test.cc ASSERT_EQ("0\r\n\r\n", StringPiece(df->data, df->size)); data 344 net/tools/flip_server/http_interface_test.cc ASSERT_EQ(expected, StringPiece(df->data, df->size)); data 348 net/tools/flip_server/http_interface_test.cc std::string data = "foo bar baz"; data 349 net/tools/flip_server/http_interface_test.cc interface_->SendDataFrame(12, data.data(), data.size(), 0, false); data 353 net/tools/flip_server/http_interface_test.cc ASSERT_EQ("b\r\nfoo bar baz\r\n", StringPiece(df->data, df->size)); data 358 net/tools/flip_server/http_interface_test.cc std::string data = "hello, world"; data 362 net/tools/flip_server/http_interface_test.cc SendDataFrame(0, data.data(), data.size(), 0, false)); data 364 net/tools/flip_server/http_interface_test.cc visitor->ProcessBodyData(data.data(), data.size()); data 402 net/tools/flip_server/http_interface_test.cc ASSERT_EQ("0\r\n\r\n", StringPiece(df->data, df->size)); data 448 net/tools/flip_server/http_interface_test.cc ASSERT_EQ("0\r\n\r\n", StringPiece(df->data, df->size)); data 486 net/tools/flip_server/http_interface_test.cc ASSERT_EQ("0\r\n\r\n", StringPiece(df->data, df->size)); data 153 net/tools/flip_server/mem_cache.cc pos += framer.ProcessInput(filename_contents.data() + pos, data 30 net/tools/flip_server/sm_connection.cc delete[] data; data 176 net/tools/flip_server/sm_connection.cc int SMConnection::Send(const char* data, int len, int flags) { data 188 net/tools/flip_server/sm_connection.cc const char* ptr = &(data[bytes_written]); data 216 net/tools/flip_server/sm_connection.cc rv = send(fd_, data, len, flags); data 559 net/tools/flip_server/sm_connection.cc const char* bytes = data_frame->data; data 33 net/tools/flip_server/sm_connection.h const char* data; data 37 net/tools/flip_server/sm_connection.h DataFrame() : data(NULL), size(0), delete_when_done(false), index(0) {} data 82 net/tools/flip_server/sm_connection.h int Send(const char* data, int len, int flags); data 32 net/tools/flip_server/sm_interface.h virtual size_t ProcessReadInput(const char* data, size_t len) = 0; data 33 net/tools/flip_server/sm_interface.h virtual size_t ProcessWriteInput(const char* data, size_t len) = 0; data 59 net/tools/flip_server/sm_interface.h const char* data, data 26 net/tools/flip_server/spdy_interface.cc data = spdy_frame->data(); data 225 net/tools/flip_server/spdy_interface.cc const char* data, data 240 net/tools/flip_server/spdy_interface.cc interface->ProcessWriteInput(data, len); data 299 net/tools/flip_server/spdy_interface.cc size_t SpdySM::ProcessReadInput(const char* data, size_t len) { data 301 net/tools/flip_server/spdy_interface.cc return buffered_spdy_framer_->ProcessInput(data, len); data 304 net/tools/flip_server/spdy_interface.cc size_t SpdySM::ProcessWriteInput(const char* data, size_t len) { return 0; } data 391 net/tools/flip_server/spdy_interface.cc const char* data, data 396 net/tools/flip_server/spdy_interface.cc SendDataFrameImpl(stream_id, data, len, spdy_flags, compress); data 435 net/tools/flip_server/spdy_interface.cc dest[key] = (std::string(fhi->second.data(), fhi->second.size()) + "\0" + data 436 net/tools/flip_server/spdy_interface.cc std::string(hi->second.data(), hi->second.size())); data 513 net/tools/flip_server/spdy_interface.cc const char* data, data 523 net/tools/flip_server/spdy_interface.cc buffered_spdy_framer_->CreateDataFrame(stream_id, data, len, flags); data 540 net/tools/flip_server/spdy_interface.cc stream_id, data, size, chunk_flags); data 547 net/tools/flip_server/spdy_interface.cc data += size; data 607 net/tools/flip_server/spdy_interface.cc mci->file_data->body().data() + mci->body_bytes_consumed, data 99 net/tools/flip_server/spdy_interface.h const char* data, data 133 net/tools/flip_server/spdy_interface.h virtual size_t ProcessReadInput(const char* data, size_t len) OVERRIDE; data 134 net/tools/flip_server/spdy_interface.h virtual size_t ProcessWriteInput(const char* data, size_t len) OVERRIDE; data 161 net/tools/flip_server/spdy_interface.h const char* data, data 188 net/tools/flip_server/spdy_interface.h const char* data, data 34 net/tools/flip_server/spdy_interface_test.cc StringSaver() : data(NULL), size(0) {} data 35 net/tools/flip_server/spdy_interface_test.cc void Save() { string = std::string(data, size); } data 37 net/tools/flip_server/spdy_interface_test.cc const char* data; data 239 net/tools/flip_server/spdy_interface_test.cc .WillOnce(DoAll(SaveArg<0>(&saver.data), data 274 net/tools/flip_server/spdy_interface_test.cc .WillOnce(DoAll(SaveArg<0>(&saver.data), data 308 net/tools/flip_server/spdy_interface_test.cc ProcessWriteInput(frame->data(), frame->size())).Times(1); data 313 net/tools/flip_server/spdy_interface_test.cc visitor->OnStreamFrameData(stream_id, frame->data(), frame->size(), true); data 343 net/tools/flip_server/spdy_interface_test.cc ProcessWriteInput(frame->data(), frame->size())).Times(1); data 348 net/tools/flip_server/spdy_interface_test.cc visitor->OnStreamFrameData(stream_id, frame->data(), frame->size(), true); data 426 net/tools/flip_server/spdy_interface_test.cc spdy_framer_->ProcessInput(df->data, df->size); data 488 net/tools/flip_server/spdy_interface_test.cc spdy_framer_->ProcessInput(df->data, df->size); data 491 net/tools/flip_server/spdy_interface_test.cc spdy_framer_->ProcessInput(df->data, df->size); data 539 net/tools/flip_server/spdy_interface_test.cc spdy_framer_->ProcessInput(df->data, df->size); data 542 net/tools/flip_server/spdy_interface_test.cc spdy_framer_->ProcessInput(df->data, df->size); data 575 net/tools/flip_server/spdy_interface_test.cc spdy_framer_->ProcessInput(df->data, df->size); data 609 net/tools/flip_server/spdy_interface_test.cc spdy_framer_->ProcessInput(df->data, df->size); data 647 net/tools/flip_server/spdy_interface_test.cc spdy_framer_->ProcessInput(df->data, df->size); data 683 net/tools/flip_server/spdy_interface_test.cc spdy_framer_->ProcessInput(df->data, df->size); data 712 net/tools/flip_server/spdy_interface_test.cc spdy_framer_->ProcessInput(df->data, df->size); data 723 net/tools/flip_server/spdy_interface_test.cc std::string data = std::string(kSpdySegmentSize, 'a') + data 725 net/tools/flip_server/spdy_interface_test.cc interface_->SendDataFrame(stream_id, data.data(), data.size(), flags, true); data 742 net/tools/flip_server/spdy_interface_test.cc spdy_framer_->ProcessInput(df->data, df->size); data 747 net/tools/flip_server/spdy_interface_test.cc spdy_framer_->ProcessInput(df->data, df->size); data 752 net/tools/flip_server/spdy_interface_test.cc spdy_framer_->ProcessInput(df->data, df->size); data 784 net/tools/flip_server/spdy_interface_test.cc StringPiece(df->data, df->size)); data 805 net/tools/flip_server/spdy_interface_test.cc StringPiece(df->data, df->size)); data 871 net/tools/flip_server/spdy_interface_test.cc spdy_framer_->ProcessInput(df->data, df->size); data 874 net/tools/flip_server/spdy_interface_test.cc spdy_framer_->ProcessInput(df->data, df->size); data 23 net/tools/flip_server/spdy_ssl.cc const unsigned char** data, data 27 net/tools/flip_server/spdy_ssl.cc *data = (const unsigned char*)NEXT_PROTO_STRING; data 70 net/tools/flip_server/streamer_interface.cc size_t StreamerSM::ProcessReadInput(const char* data, size_t len) { data 73 net/tools/flip_server/streamer_interface.cc return http_framer_->ProcessInput(data, len); data 75 net/tools/flip_server/streamer_interface.cc return sm_other_interface_->ProcessWriteInput(data, len); data 79 net/tools/flip_server/streamer_interface.cc size_t StreamerSM::ProcessWriteInput(const char* data, size_t len) { data 81 net/tools/flip_server/streamer_interface.cc memcpy(dataPtr, data, len); data 83 net/tools/flip_server/streamer_interface.cc df->data = (const char*)dataPtr; data 44 net/tools/flip_server/streamer_interface.h virtual size_t ProcessReadInput(const char* data, size_t len) OVERRIDE; data 45 net/tools/flip_server/streamer_interface.h virtual size_t ProcessWriteInput(const char* data, size_t len) OVERRIDE; data 66 net/tools/flip_server/streamer_interface.h const char* data, data 87 net/tools/flip_server/streamer_interface.h const char* data, data 280 net/tools/quic/quic_client.cc stream->id(), client_stream->headers(), client_stream->data()); data 295 net/tools/quic/quic_client.cc printf("%s\n", client_stream->data().c_str()); data 123 net/tools/quic/quic_dispatcher_test.cc const string& data) { data 125 net/tools/quic/quic_dispatcher_test.cc connection_id, has_version_flag, false, 1, data)); data 126 net/tools/quic/quic_dispatcher_test.cc data_ = string(packet->data(), packet->length()); data 258 net/tools/quic/quic_dispatcher_test.cc string data = "foo"; data 46 net/tools/quic/quic_spdy_client_stream.cc uint32 QuicSpdyClientStream::ProcessData(const char* data, data 56 net/tools/quic/quic_spdy_client_stream.cc memcpy(read_buf_->data(), data, data_len); data 60 net/tools/quic/quic_spdy_client_stream.cc data_.append(data + total_bytes_processed, data 100 net/tools/quic/quic_spdy_client_stream.cc char* data = read_buf_->StartOfBuffer(); data 101 net/tools/quic/quic_spdy_client_stream.cc size_t len = framer.ParseHeaderBlockInBuffer(data, read_buf_->offset(), data 115 net/tools/quic/quic_spdy_client_stream.cc data_.append(data + len, delta); data 122 net/tools/quic/quic_spdy_client_stream.cc void QuicSpdyClientStream::SendBody(const string& data, bool fin) { data 123 net/tools/quic/quic_spdy_client_stream.cc WriteOrBufferData(data, fin, NULL); data 42 net/tools/quic/quic_spdy_client_stream.h virtual uint32 ProcessData(const char* data, uint32 data_len) OVERRIDE; data 53 net/tools/quic/quic_spdy_client_stream.h void SendBody(const std::string& data, bool fin); data 56 net/tools/quic/quic_spdy_client_stream.h const std::string& data() { return data_; } data 70 net/tools/quic/quic_spdy_client_stream_test.cc EXPECT_EQ(body_, stream_->data()); data 79 net/tools/quic/quic_spdy_client_stream_test.cc EXPECT_EQ(body_, stream_->data()); data 31 net/tools/quic/quic_spdy_server_stream.cc uint32 QuicSpdyServerStream::ProcessData(const char* data, uint32 data_len) { data 40 net/tools/quic/quic_spdy_server_stream.cc memcpy(read_buf_->data(), data, data_len); data 44 net/tools/quic/quic_spdy_server_stream.cc body_.append(data + total_bytes_processed, data 71 net/tools/quic/quic_spdy_server_stream.cc char* data = read_buf_->StartOfBuffer(); data 72 net/tools/quic/quic_spdy_server_stream.cc size_t len = framer.ParseHeaderBlockInBuffer(data, read_buf_->offset(), data 85 net/tools/quic/quic_spdy_server_stream.cc body_.append(data + len, delta); data 35 net/tools/quic/quic_spdy_server_stream.h virtual uint32 ProcessData(const char* data, uint32 data_len) OVERRIDE; data 146 net/tools/quic/quic_spdy_server_stream_test.cc const IOVector& data, data 150 net/tools/quic/quic_spdy_server_stream_test.cc return QuicConsumedData(data.TotalBufferSize(), fin); data 265 net/tools/quic/quic_spdy_server_stream_test.cc StringPiece data(arr, arraysize(arr)); data 266 net/tools/quic/quic_spdy_server_stream_test.cc QuicStreamFrame frame(stream_->id(), true, 0, MakeIOVector(data)); data 121 net/tools/quic/quic_time_wait_list_manager.cc ConnectionIdData data(num_packets, version, clock_.ApproximateNow(), data 123 net/tools/quic/quic_time_wait_list_manager.cc connection_id_map_.insert(make_pair(connection_id, data)); data 224 net/tools/quic/quic_time_wait_list_manager.cc queued_packet->packet()->data(), data 54 net/tools/quic/spdy_utils.cc it->second.append(hi->second.data(), hi->second.size()); data 164 net/tools/quic/spdy_utils.cc return string(block->data(), length); data 225 net/tools/quic/spdy_utils.cc const StringPiece status_str = StringPiece(status_and_reason.data(), 3); data 234 net/tools/quic/spdy_utils.cc StringPiece reason(status_and_reason.data() + 4, data 77 net/tools/quic/test_tools/http_message.cc if (strncmp(str.data(), kMethodString[i], str.length()) == 0) { data 87 net/tools/quic/test_tools/http_message.cc if (strncmp(str.data(), kHTTPVersionString[i], str.length()) == 0) { data 171 net/tools/quic/test_tools/packet_dropping_test_writer.cc iter->buffer.data(), iter->buffer.length(), data 267 net/tools/quic/test_tools/quic_test_client.cc ssize_t QuicTestClient::SendData(string data, bool last_data) { data 270 net/tools/quic/test_tools/quic_test_client.cc GetOrCreateStream()->SendBody(data, last_data); data 272 net/tools/quic/test_tools/quic_test_client.cc return data.length(); data 489 net/tools/quic/test_tools/quic_test_client.cc response_ = stream_->data(); data 499 net/tools/quic/test_tools/quic_test_client.cc response_body_size_ = stream_->data().size(); data 84 net/tools/quic/test_tools/quic_test_client.h ssize_t SendData(string data, bool last_data); data 31 net/tools/tld_cleanup/tld_cleanup_util.cc std::string data; data 32 net/tools/tld_cleanup/tld_cleanup_util.cc data.append("%{\n" data 47 net/tools/tld_cleanup/tld_cleanup_util.cc data.append(i->first); data 48 net/tools/tld_cleanup/tld_cleanup_util.cc data.append(", "); data 58 net/tools/tld_cleanup/tld_cleanup_util.cc data.append(base::IntToString(type)); data 59 net/tools/tld_cleanup/tld_cleanup_util.cc data.append("\n"); data 62 net/tools/tld_cleanup/tld_cleanup_util.cc data.append("%%\n"); data 65 net/tools/tld_cleanup/tld_cleanup_util.cc data.data(), data 66 net/tools/tld_cleanup/tld_cleanup_util.cc static_cast<int>(data.size())); data 68 net/tools/tld_cleanup/tld_cleanup_util.cc return written == static_cast<int>(data.size()); data 132 net/tools/tld_cleanup/tld_cleanup_util.cc NormalizeResult NormalizeDataToRuleMap(const std::string data, data 145 net/tools/tld_cleanup/tld_cleanup_util.cc while (line_start < data.size()) { data 146 net/tools/tld_cleanup/tld_cleanup_util.cc if (line_start + begin_private_length < data.size() && data 147 net/tools/tld_cleanup/tld_cleanup_util.cc !data.compare(line_start, begin_private_length, data 151 net/tools/tld_cleanup/tld_cleanup_util.cc } else if (line_start + end_private_length < data.size() && data 152 net/tools/tld_cleanup/tld_cleanup_util.cc !data.compare(line_start, end_private_length, data 156 net/tools/tld_cleanup/tld_cleanup_util.cc } else if (line_start + 1 < data.size() && data 157 net/tools/tld_cleanup/tld_cleanup_util.cc data[line_start] == '/' && data 158 net/tools/tld_cleanup/tld_cleanup_util.cc data[line_start + 1] == '/') { data 160 net/tools/tld_cleanup/tld_cleanup_util.cc line_end = data.find_first_of("\r\n", line_start); data 162 net/tools/tld_cleanup/tld_cleanup_util.cc line_end = data.size(); data 165 net/tools/tld_cleanup/tld_cleanup_util.cc line_end = data.find_first_of("\r\n \t", line_start); data 167 net/tools/tld_cleanup/tld_cleanup_util.cc line_end = data.size(); data 168 net/tools/tld_cleanup/tld_cleanup_util.cc domain.assign(data.data(), line_start, line_end - line_start); data 214 net/tools/tld_cleanup/tld_cleanup_util.cc line_start = data.find_first_of("\r\n", line_end); data 216 net/tools/tld_cleanup/tld_cleanup_util.cc line_start = data.size(); data 217 net/tools/tld_cleanup/tld_cleanup_util.cc line_start = data.find_first_not_of("\r\n", line_start); data 219 net/tools/tld_cleanup/tld_cleanup_util.cc line_start = data.size(); data 236 net/tools/tld_cleanup/tld_cleanup_util.cc std::string data; data 237 net/tools/tld_cleanup/tld_cleanup_util.cc if (!base::ReadFileToString(in_filename, &data)) { data 243 net/tools/tld_cleanup/tld_cleanup_util.cc NormalizeResult result = NormalizeDataToRuleMap(data, &rules); data 42 net/tools/tld_cleanup/tld_cleanup_util.h NormalizeResult NormalizeDataToRuleMap(const std::string data, data 27 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc std::string data = SetupData(icann_domains, private_domains); data 29 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc NormalizeResult result = NormalizeDataToRuleMap(data, &rules); data 47 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc std::string data = SetupData(icann_domains, private_domains); data 49 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc NormalizeResult result = NormalizeDataToRuleMap(data, &rules); data 68 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc std::string data = SetupData(icann_domains, private_domains); data 70 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc NormalizeResult result = NormalizeDataToRuleMap(data, &rules); data 93 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc std::string data = SetupData(icann_domains, private_domains); data 95 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc NormalizeResult result = NormalizeDataToRuleMap(data, &rules); data 114 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc std::string data = SetupData(icann_domains, private_domains); data 116 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc NormalizeResult result = NormalizeDataToRuleMap(data, &rules); data 145 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc std::string data = SetupData(icann_domains, private_domains); data 147 net/tools/tld_cleanup/tld_cleanup_util_unittest.cc NormalizeResult result = NormalizeDataToRuleMap(data, &rules); data 472 net/udp/udp_socket_libevent.cc buf->data(), data 486 net/udp/udp_socket_libevent.cc LogRead(result, buf->data(), storage.addr_len, storage.addr); data 506 net/udp/udp_socket_libevent.cc buf->data(), data 514 net/udp/udp_socket_libevent.cc LogWrite(result, buf->data(), address); data 42 net/udp/udp_socket_unittest.cc return std::string(buffer_->data(), rv); data 86 net/udp/udp_socket_unittest.cc return std::string(buffer_->data(), rv); data 479 net/udp/udp_socket_win.cc LogRead(result, core_->read_iobuffer_->data()); data 512 net/udp/udp_socket_win.cc LogWrite(result, core_->write_iobuffer_->data(), send_to_address_.get()); data 544 net/udp/udp_socket_win.cc read_buffer.buf = buf->data(); data 561 net/udp/udp_socket_win.cc LogRead(result, buf->data()); data 595 net/udp/udp_socket_win.cc write_buffer.buf = buf->data(); data 606 net/udp/udp_socket_win.cc LogWrite(result, buf->data(), address); data 75 net/url_request/test_url_fetcher_factory.cc void TestURLFetcher::AppendChunkToUpload(const std::string& data, data 79 net/url_request/test_url_fetcher_factory.cc chunks_.push_back(data); data 102 net/url_request/test_url_fetcher_factory.h virtual void AppendChunkToUpload(const std::string& data, data 160 net/url_request/url_fetcher.h virtual void AppendChunkToUpload(const std::string& data, data 341 net/url_request/url_fetcher_core.cc *out_response_string = string_writer->data(); data 343 net/url_request/url_fetcher_core.cc (string_writer->data().length() / 1024)); data 547 net/url_request/url_fetcher_core.cc upload_content_.data(), upload_content_.size())); data 797 net/url_request/url_fetcher_core.cc request_->AppendChunkToUpload(content.data(), data 802 net/url_request/url_fetcher_core.cc int URLFetcherCore::WriteBuffer(scoped_refptr<DrainableIOBuffer> data) { data 803 net/url_request/url_fetcher_core.cc while (data->BytesRemaining() > 0) { data 805 net/url_request/url_fetcher_core.cc data.get(), data 806 net/url_request/url_fetcher_core.cc data->BytesRemaining(), data 807 net/url_request/url_fetcher_core.cc base::Bind(&URLFetcherCore::DidWriteBuffer, this, data)); data 810 net/url_request/url_fetcher_core.cc DidWriteBuffer(data, result); data 813 net/url_request/url_fetcher_core.cc data->DidConsume(result); data 818 net/url_request/url_fetcher_core.cc void URLFetcherCore::DidWriteBuffer(scoped_refptr<DrainableIOBuffer> data, data 830 net/url_request/url_fetcher_core.cc data->DidConsume(result); data 831 net/url_request/url_fetcher_core.cc if (WriteBuffer(data) < 0) data 836 net/url_request/url_fetcher_core.cc DCHECK_EQ(0, data->BytesRemaining()); data 74 net/url_request/url_fetcher_core.h void AppendChunkToUpload(const std::string& data, bool is_last_chunk); data 187 net/url_request/url_fetcher_core.h void CompleteAddingUploadDataChunk(const std::string& data, data 193 net/url_request/url_fetcher_core.h int WriteBuffer(scoped_refptr<DrainableIOBuffer> data); data 196 net/url_request/url_fetcher_core.h void DidWriteBuffer(scoped_refptr<DrainableIOBuffer> data, int result); data 50 net/url_request/url_fetcher_impl.cc void URLFetcherImpl::AppendChunkToUpload(const std::string& data, data 52 net/url_request/url_fetcher_impl.cc DCHECK(data.length()); data 53 net/url_request/url_fetcher_impl.cc core_->AppendChunkToUpload(data, is_last_chunk); data 48 net/url_request/url_fetcher_impl.h virtual void AppendChunkToUpload(const std::string& data, data 172 net/url_request/url_fetcher_impl_unittest.cc std::string data; data 173 net/url_request/url_fetcher_impl_unittest.cc EXPECT_TRUE(source->GetResponseAsString(&data)); data 174 net/url_request/url_fetcher_impl_unittest.cc EXPECT_FALSE(data.empty()); data 528 net/url_request/url_fetcher_impl_unittest.cc std::string data; data 529 net/url_request/url_fetcher_impl_unittest.cc EXPECT_TRUE(source->GetResponseAsString(&data)); data 530 net/url_request/url_fetcher_impl_unittest.cc EXPECT_EQ(std::string("bobsyeruncle"), data); data 563 net/url_request/url_fetcher_impl_unittest.cc std::string data; data 564 net/url_request/url_fetcher_impl_unittest.cc EXPECT_TRUE(source->GetResponseAsString(&data)); data 565 net/url_request/url_fetcher_impl_unittest.cc EXPECT_EQ(expected.substr(range_offset_, expected_size), data); data 581 net/url_request/url_fetcher_impl_unittest.cc std::string data; data 582 net/url_request/url_fetcher_impl_unittest.cc EXPECT_TRUE(source->GetResponseAsString(&data)); data 583 net/url_request/url_fetcher_impl_unittest.cc EXPECT_TRUE(data.empty()); data 722 net/url_request/url_fetcher_impl_unittest.cc std::string data; data 723 net/url_request/url_fetcher_impl_unittest.cc EXPECT_TRUE(source->GetResponseAsString(&data)); data 724 net/url_request/url_fetcher_impl_unittest.cc EXPECT_FALSE(data.empty()); data 764 net/url_request/url_fetcher_impl_unittest.cc std::string data; data 765 net/url_request/url_fetcher_impl_unittest.cc EXPECT_TRUE(source->GetResponseAsString(&data)); data 766 net/url_request/url_fetcher_impl_unittest.cc EXPECT_FALSE(data.empty()); data 796 net/url_request/url_fetcher_impl_unittest.cc std::string data; data 797 net/url_request/url_fetcher_impl_unittest.cc EXPECT_TRUE(source->GetResponseAsString(&data)); data 798 net/url_request/url_fetcher_impl_unittest.cc EXPECT_TRUE(data.empty()); data 833 net/url_request/url_fetcher_impl_unittest.cc std::string data; data 834 net/url_request/url_fetcher_impl_unittest.cc EXPECT_TRUE(source->GetResponseAsString(&data)); data 835 net/url_request/url_fetcher_impl_unittest.cc EXPECT_FALSE(data.empty()); data 836 net/url_request/url_fetcher_impl_unittest.cc if (!data.empty() && data_.empty()) { data 837 net/url_request/url_fetcher_impl_unittest.cc data_ = data; data 842 net/url_request/url_fetcher_impl_unittest.cc EXPECT_EQ(data, data_); data 1433 net/url_request/url_fetcher_impl_unittest.cc std::string data(10000, '?'); // Meant to be larger than simple.html. data 1435 net/url_request/url_fetcher_impl_unittest.cc ASSERT_EQ(static_cast<int>(data.size()), data 1436 net/url_request/url_fetcher_impl_unittest.cc base::WriteFile(file_path_, data.data(), data.size())); data 39 net/url_request/url_fetcher_response_writer.cc data_.append(buffer->data(), num_bytes); data 63 net/url_request/url_fetcher_response_writer.h const std::string& data() const { return data_; } data 47 net/url_request/url_fetcher_response_writer_unittest.cc EXPECT_EQ(kData, writer_->data()); data 52 net/url_request/url_fetcher_response_writer_unittest.cc EXPECT_TRUE(writer_->data().empty()); data 21 net/url_request/url_request_data_job.cc std::string* data, data 28 net/url_request/url_request_data_job.cc return DataURL::Parse(url, mime_type, charset, data)? OK: ERR_INVALID_URL; data 24 net/url_request/url_request_data_job.h std::string* data, data 76 net/url_request/url_request_file_dir_job.cc if (FillReadBuffer(buf->data(), buf_size, bytes_read)) data 99 net/url_request/url_request_file_dir_job.cc const DirectoryLister::DirectoryListerData& data) { data 122 net/url_request/url_request_file_dir_job.cc base::FilePath filename = data.info.GetName(); data 126 net/url_request/url_request_file_dir_job.cc data.info.GetName().LossyDisplayName(), data 128 net/url_request/url_request_file_dir_job.cc data.info.IsDirectory(), data 129 net/url_request/url_request_file_dir_job.cc data.info.GetSize(), data 130 net/url_request/url_request_file_dir_job.cc data.info.GetLastModifiedTime())); data 152 net/url_request/url_request_file_dir_job.cc if (FillReadBuffer(read_buffer_->data(), read_buffer_length_, data 40 net/url_request/url_request_file_dir_job.h const DirectoryLister::DirectoryListerData& data) OVERRIDE; data 427 net/url_request/url_request_http_job.cc base::SupportsUserData::Data* data = request_->GetUserData( data 429 net/url_request/url_request_http_job.cc if (data) { data 431 net/url_request/url_request_http_job.cc static_cast<WebSocketHandshakeStreamBase::CreateHelper*>(data)); data 658 net/url_request/url_request_http_job.cc while (!callback_pending->data && data 662 net/url_request/url_request_http_job.cc callback_pending->data = true; data 671 net/url_request/url_request_http_job.cc save_next_cookie_running->data = false; data 673 net/url_request/url_request_http_job.cc if (!callback_pending->data) { data 693 net/url_request/url_request_http_job.cc callback_pending->data = false; data 696 net/url_request/url_request_http_job.cc if (save_next_cookie_running->data) { data 347 net/url_request/url_request_job.cc replacements.SetRef(url.spec().data(), data 584 net/url_request/url_request_job.cc status = filter_->ReadData(filtered_read_buffer_->data(), data 660 net/url_request/url_request_job.cc filtered_data_len, filtered_read_buffer_->data()); data 745 net/url_request/url_request_job.cc bytes_read, raw_read_buffer_->data()); data 52 net/url_request/url_request_simple_job.cc memcpy(buf->data(), data_.data() + data_offset_, buf_size); data 45 net/url_request/url_request_simple_job.h std::string* data, data 36 net/url_request/url_request_simple_job_unittest.cc std::string* data, data 40 net/url_request/url_request_simple_job_unittest.cc data->assign(kTestData); data 237 net/url_request/url_request_test_job.cc memcpy(buf->data(), &response_data_.c_str()[offset_], to_read); data 287 net/url_request/url_request_test_util.cc data_received_.append(buf_->data(), bytes_read); data 295 net/url_request/url_request_test_util.cc data_received_.append(buf_->data(), bytes_read); data 236 net/url_request/url_request_unittest.cc UploadDataStream* CreateSimpleUploadData(const char* data) { data 238 net/url_request/url_request_unittest.cc new UploadBytesElementReader(data, strlen(data))); data 861 net/url_request/url_request_unittest.cc base::WriteFile(test_file, test_data.data(), test_data.size()); data 939 net/url_request/url_request_unittest.cc WIN32_FILE_ATTRIBUTE_DATA data; data 941 net/url_request/url_request_unittest.cc GetFileExInfoStandard, &data); data 946 net/url_request/url_request_unittest.cc scoped_ptr<char[]> buffer(new char[data.nFileSizeLow]); data 949 net/url_request/url_request_unittest.cc result = ReadFile(file, buffer.get(), data.nFileSizeLow, data 1023 net/url_request/url_request_unittest.cc const std::string& data = d.data_received(); data 1024 net/url_request/url_request_unittest.cc ASSERT_NE(data.find(sentinel_output), std::string::npos); data 5963 net/url_request/url_request_unittest.cc const std::string& data = d.data_received(); data 5966 net/url_request/url_request_unittest.cc EXPECT_FALSE(ContainsString(data, "Content-Length:")); data 5967 net/url_request/url_request_unittest.cc EXPECT_FALSE(ContainsString(data, "Content-Type:")); data 5968 net/url_request/url_request_unittest.cc EXPECT_FALSE(ContainsString(data, "Origin:")); data 5971 net/url_request/url_request_unittest.cc EXPECT_TRUE(ContainsString(data, "Accept:")); data 5972 net/url_request/url_request_unittest.cc EXPECT_TRUE(ContainsString(data, "Accept-Language:")); data 5973 net/url_request/url_request_unittest.cc EXPECT_TRUE(ContainsString(data, "Accept-Charset:")); data 304 net/url_request/view_cache_helper.cc buf_->data(), buf_len_, &response, &truncated) && data 349 net/url_request/view_cache_helper.cc HexDump(buf_->data(), buf_len_, data_); data 38 net/url_request/view_cache_helper_unittest.cc const std::string& data) { data 39 net/url_request/view_cache_helper_unittest.cc if (data.empty()) data 46 net/url_request/view_cache_helper_unittest.cc pickle.WriteString(data); data 49 net/url_request/view_cache_helper_unittest.cc reinterpret_cast<const char*>(pickle.data()))); data 57 net/url_request/view_cache_helper_unittest.cc void WriteData(disk_cache::Entry* entry, int index, const std::string& data) { data 58 net/url_request/view_cache_helper_unittest.cc if (data.empty()) data 61 net/url_request/view_cache_helper_unittest.cc int len = data.length(); data 63 net/url_request/view_cache_helper_unittest.cc memcpy(buf->data(), data.data(), data.length()); data 110 net/url_request/view_cache_helper_unittest.cc std::string prefix, data; data 111 net/url_request/view_cache_helper_unittest.cc int rv = helper.GetContentsHTML(&context, prefix, &data, cb.callback()); data 113 net/url_request/view_cache_helper_unittest.cc EXPECT_FALSE(data.empty()); data 122 net/url_request/view_cache_helper_unittest.cc std::string prefix, data; data 124 net/url_request/view_cache_helper_unittest.cc int rv = helper.GetContentsHTML(&context, prefix, &data, cb.callback()); data 127 net/url_request/view_cache_helper_unittest.cc EXPECT_EQ(0U, data.find("<html>")); data 128 net/url_request/view_cache_helper_unittest.cc EXPECT_NE(std::string::npos, data.find("</html>")); data 129 net/url_request/view_cache_helper_unittest.cc EXPECT_NE(std::string::npos, data.find("first")); data 130 net/url_request/view_cache_helper_unittest.cc EXPECT_NE(std::string::npos, data.find("second")); data 131 net/url_request/view_cache_helper_unittest.cc EXPECT_NE(std::string::npos, data.find("third")); data 133 net/url_request/view_cache_helper_unittest.cc EXPECT_EQ(std::string::npos, data.find("some")); data 134 net/url_request/view_cache_helper_unittest.cc EXPECT_EQ(std::string::npos, data.find("same")); data 135 net/url_request/view_cache_helper_unittest.cc EXPECT_EQ(std::string::npos, data.find("thing")); data 144 net/url_request/view_cache_helper_unittest.cc std::string data; data 146 net/url_request/view_cache_helper_unittest.cc int rv = helper.GetEntryInfoHTML("second", &context, &data, cb.callback()); data 149 net/url_request/view_cache_helper_unittest.cc EXPECT_EQ(0U, data.find("<html>")); data 150 net/url_request/view_cache_helper_unittest.cc EXPECT_NE(std::string::npos, data.find("</html>")); data 152 net/url_request/view_cache_helper_unittest.cc EXPECT_NE(std::string::npos, data.find("hex_dumped")); data 153 net/url_request/view_cache_helper_unittest.cc EXPECT_NE(std::string::npos, data.find("same")); data 154 net/url_request/view_cache_helper_unittest.cc EXPECT_NE(std::string::npos, data.find("kind")); data 156 net/url_request/view_cache_helper_unittest.cc EXPECT_EQ(std::string::npos, data.find("first")); data 157 net/url_request/view_cache_helper_unittest.cc EXPECT_EQ(std::string::npos, data.find("third")); data 158 net/url_request/view_cache_helper_unittest.cc EXPECT_EQ(std::string::npos, data.find("some")); data 159 net/url_request/view_cache_helper_unittest.cc EXPECT_EQ(std::string::npos, data.find("another")); data 169 net/url_request/view_cache_helper_unittest.cc std::string key, data; data 172 net/url_request/view_cache_helper_unittest.cc int rv = helper.GetContentsHTML(&context, prefix, &data, cb.callback()); data 175 net/url_request/view_cache_helper_unittest.cc EXPECT_EQ(0U, data.find("<html>")); data 176 net/url_request/view_cache_helper_unittest.cc EXPECT_NE(std::string::npos, data.find("</html>")); data 177 net/url_request/view_cache_helper_unittest.cc EXPECT_NE(std::string::npos, data.find("<a href=\"prefix:first\">")); data 178 net/url_request/view_cache_helper_unittest.cc EXPECT_NE(std::string::npos, data.find("<a href=\"prefix:second\">")); data 179 net/url_request/view_cache_helper_unittest.cc EXPECT_NE(std::string::npos, data.find("<a href=\"prefix:third\">")); data 203 net/url_request/view_cache_helper_unittest.cc std::string data; data 205 net/url_request/view_cache_helper_unittest.cc rv = helper.GetEntryInfoHTML(key, &context, &data, cb1.callback()); data 208 net/url_request/view_cache_helper_unittest.cc EXPECT_NE(std::string::npos, data.find("RESPONSE_INFO_TRUNCATED")); data 146 net/websockets/websocket_basic_stream.cc char* dest = combined_buffer->data(); data 163 net/websockets/websocket_basic_stream.cc const char* const frame_data = frame->data->data(); data 248 net/websockets/websocket_basic_stream.cc if (!parser_.Decode(read_buffer_->data(), result, &frame_chunks)) data 288 net/websockets/websocket_basic_stream.cc const int chunk_size = chunk->data ? chunk->data->size() : 0; data 294 net/websockets/websocket_basic_stream.cc data_buffer.swap(chunk->data); data 338 net/websockets/websocket_basic_stream.cc memcpy(body->data(), data 364 net/websockets/websocket_basic_stream.cc const scoped_refptr<IOBufferWithSize>& data) { data 368 net/websockets/websocket_basic_stream.cc const int data_size = data ? data->size() : 0; data 379 net/websockets/websocket_basic_stream.cc result_frame->data = data; data 408 net/websockets/websocket_basic_stream.cc memcpy(incomplete_control_frame_body_->data(), data 409 net/websockets/websocket_basic_stream.cc data_buffer->data(), data 107 net/websockets/websocket_basic_stream.h const scoped_refptr<IOBufferWithSize>& data); data 139 net/websockets/websocket_basic_stream_test.cc void SetHttpReadBuffer(const char* data, size_t size) { data 142 net/websockets/websocket_basic_stream_test.cc memcpy(http_read_buffer_->data(), data, size); data 211 net/websockets/websocket_basic_stream_test.cc const char data[], data 217 net/websockets/websocket_basic_stream_test.cc const char* start = data; data 222 net/websockets/websocket_basic_stream_test.cc static_cast<int>(data + data_size - start) < len) { data 223 net/websockets/websocket_basic_stream_test.cc len = static_cast<int>(data + data_size - start); data 250 net/websockets/websocket_basic_stream_test.cc frame->data = new IOBuffer(payload_size); data 251 net/websockets/websocket_basic_stream_test.cc memcpy(frame->data->data(), data 354 net/websockets/websocket_basic_stream_test.cc EXPECT_EQ(NULL, frames_[0]->data.get()); data 370 net/websockets/websocket_basic_stream_test.cc EXPECT_EQ(NULL, frames_[0]->data.get()); data 566 net/websockets/websocket_basic_stream_test.cc EXPECT_EQ(NULL, frames_[0]->data.get()); data 611 net/websockets/websocket_basic_stream_test.cc EXPECT_EQ(NULL, frames_[0]->data.get()); data 642 net/websockets/websocket_basic_stream_test.cc ASSERT_TRUE(frames_[0]->data); data 656 net/websockets/websocket_basic_stream_test.cc ASSERT_TRUE(frames_[0]->data); data 678 net/websockets/websocket_basic_stream_test.cc memcmp(frames_[0]->data->data(), kCloseFrame + 2, kCloseFrameSize - 2)); data 911 net/websockets/websocket_basic_stream_test.cc MockWrite(SYNCHRONOUS, masked_frame.data(), masked_frame.size())}; data 919 net/websockets/websocket_basic_stream_test.cc frame->data = new IOBuffer(payload_size); data 920 net/websockets/websocket_basic_stream_test.cc memcpy(frame->data->data(), unmasked_payload.data(), payload_size); data 261 net/websockets/websocket_channel.cc const scoped_refptr<IOBuffer>& data, data 266 net/websockets/websocket_channel.cc data_(data), data 332 net/websockets/websocket_channel.cc const std::vector<char>& data) { data 333 net/websockets/websocket_channel.cc if (data.size() > INT_MAX) { data 340 net/websockets/websocket_channel.cc << " data.size()=" << data.size(); data 352 net/websockets/websocket_channel.cc if (data.size() > base::checked_cast<size_t>(current_send_quota_)) { data 362 net/websockets/websocket_channel.cc << " data.size()=" << data.size(); data 369 net/websockets/websocket_channel.cc outgoing_utf8_validator_.AddBytes(vector_as_array(&data), data.size()); data 383 net/websockets/websocket_channel.cc current_send_quota_ -= data.size(); data 388 net/websockets/websocket_channel.cc scoped_refptr<IOBuffer> buffer(new IOBuffer(data.size())); data 389 net/websockets/websocket_channel.cc std::copy(data.begin(), data.end(), buffer->data()); data 390 net/websockets/websocket_channel.cc AllowUnused(SendFrameFromIOBuffer(fin, op_code, buffer, data.size())); data 410 net/websockets/websocket_channel.cc const char* data = front.data()->data() + front.offset(); data 411 net/websockets/websocket_channel.cc const std::vector<char> data_vector(data, data + bytes_to_send); data 742 net/websockets/websocket_channel.cc opcode, frame->header.final, frame->data, frame->header.payload_length); data 869 net/websockets/websocket_channel.cc size ? data_buffer->data() : NULL, size); data 900 net/websockets/websocket_channel.cc const char* const data_begin = size ? data_buffer->data() : NULL; data 902 net/websockets/websocket_channel.cc const std::vector<char> data(data_begin, data_end); data 907 net/websockets/websocket_channel.cc return event_interface_->OnDataFrame(final, opcode_to_send, data); data 923 net/websockets/websocket_channel.cc frame->data = buffer; data 976 net/websockets/websocket_channel.cc base::WriteBigEndian(body->data(), code); data 980 net/websockets/websocket_channel.cc reason.begin(), reason.end(), body->data() + kWebSocketCloseCodeLength); data 1009 net/websockets/websocket_channel.cc << static_cast<int>(buffer->data()[0]) << ")"; data 1016 net/websockets/websocket_channel.cc const char* data = buffer->data(); data 1018 net/websockets/websocket_channel.cc base::ReadBigEndian(data, &unchecked_code); data 1036 net/websockets/websocket_channel.cc std::string text(data + kWebSocketCloseCodeLength, data + size); data 82 net/websockets/websocket_channel.h const std::vector<char>& data); data 132 net/websockets/websocket_channel.h const scoped_refptr<IOBuffer>& data, data 141 net/websockets/websocket_channel.h const scoped_refptr<IOBuffer>& data() const { return data_; } data 62 net/websockets/websocket_channel_test.cc if (frame.data) { data 63 net/websockets/websocket_channel_test.cc return os << "\"" << base::StringPiece(frame.data->data(), data 190 net/websockets/websocket_channel_test.cc const std::vector<char>& data) OVERRIDE { data 271 net/websockets/websocket_channel_test.cc const char* const data; data 279 net/websockets/websocket_channel_test.cc if (frame.data) { data 280 net/websockets/websocket_channel_test.cc return os << "\"" << frame.data << "\"}"; data 311 net/websockets/websocket_channel_test.cc size_t frame_length = source_frame.data ? strlen(source_frame.data) : 0; data 316 net/websockets/websocket_channel_test.cc if (source_frame.data) { data 317 net/websockets/websocket_channel_test.cc result_frame->data = new IOBuffer(frame_length); data 318 net/websockets/websocket_channel_test.cc memcpy(result_frame->data->data(), source_frame.data, frame_length); data 371 net/websockets/websocket_channel_test.cc expected_frame.data ? strlen(expected_frame.data) : 0; data 378 net/websockets/websocket_channel_test.cc memcmp(actual_frame.data->data(), data 379 net/websockets/websocket_channel_test.cc expected_frame.data, data 850 net/websockets/websocket_channel_test.cc const std::vector<char>& data) OVERRIDE { data 2829 net/websockets/websocket_channel_test.cc ASSERT_TRUE(out_frame->data); data 2830 net/websockets/websocket_channel_test.cc EXPECT_EQ(0, memcmp(kBinaryBlob, out_frame->data->data(), kBinaryBlobSize)); data 2840 net/websockets/websocket_channel_test.cc frame->data = new IOBuffer(kBinaryBlobSize); data 2841 net/websockets/websocket_channel_test.cc memcpy(frame->data->data(), kBinaryBlob, kBinaryBlobSize); data 135 net/websockets/websocket_deflate_stream.cc if (frame->data && !deflater_.AddBytes(frame->data->data(), data 216 net/websockets/websocket_deflate_stream.cc compressed->data = compressed_payload; data 267 net/websockets/websocket_deflate_stream.cc compressed->data = compressed_payload; data 313 net/websockets/websocket_deflate_stream.cc if (frame->data && !inflater_.AddBytes(frame->data->data(), data 335 net/websockets/websocket_deflate_stream.cc scoped_refptr<IOBufferWithSize> data = inflater_.GetOutput(size); data 339 net/websockets/websocket_deflate_stream.cc if (!data) { data 348 net/websockets/websocket_deflate_stream.cc inflated->data = data; data 349 net/websockets/websocket_deflate_stream.cc inflated->header.payload_length = data->size(); data 50 net/websockets/websocket_deflate_stream_test.cc memcpy(buffer->data(), s.data(), s.size()); data 55 net/websockets/websocket_deflate_stream_test.cc return std::string(buffer->data(), buffer->size()); data 63 net/websockets/websocket_deflate_stream_test.cc return std::string(buffer->data(), size); data 71 net/websockets/websocket_deflate_stream_test.cc return frame->data ? ToString(frame->data, frame->header.payload_length) : ""; data 77 net/websockets/websocket_deflate_stream_test.cc const std::string& data) { data 81 net/websockets/websocket_deflate_stream_test.cc frame->data = ToIOBuffer(data); data 82 net/websockets/websocket_deflate_stream_test.cc frame->header.payload_length = data.size(); data 530 net/websockets/websocket_deflate_stream_test.cc const std::string data("\xf2\x48\xcdINVALID", 10); data 535 net/websockets/websocket_deflate_stream_test.cc data); data 637 net/websockets/websocket_deflate_stream_test.cc const std::string data("\xf2\x48\xcd\xc9\xc9\x07\x00", 7); data 642 net/websockets/websocket_deflate_stream_test.cc data); data 698 net/websockets/websocket_deflate_stream_test.cc deflater.AddBytes(original_data.data(), original_data.size()); data 1122 net/websockets/websocket_deflate_stream_test.cc std::string data; data 1124 net/websockets/websocket_deflate_stream_test.cc data += static_cast<char>(lcg.Generate()); data 1125 net/websockets/websocket_deflate_stream_test.cc deflater.AddBytes(data.data(), data.size()); data 1127 net/websockets/websocket_deflate_stream_test.cc AppendTo(&frames, WebSocketFrameHeader::kOpCodeBinary, flag, data); data 51 net/websockets/websocket_deflater.cc bool WebSocketDeflater::AddBytes(const char* data, size_t size) { data 56 net/websockets/websocket_deflater.cc stream_->next_in = reinterpret_cast<Bytef*>(const_cast<char*>(data)); data 95 net/websockets/websocket_deflater.cc const char data[] = {'\x00', '\x00', '\xff', '\xff'}; data 96 net/websockets/websocket_deflater.cc buffer_.insert(buffer_.end(), &data[0], &data[sizeof(data)]); data 104 net/websockets/websocket_deflater.cc std::copy(begin, end, result->data()); data 40 net/websockets/websocket_deflater.h bool AddBytes(const char* data, size_t size); data 18 net/websockets/websocket_deflater_test.cc return std::string(buffer->data(), buffer->size()); data 111 net/websockets/websocket_deflater_test.cc ASSERT_TRUE(deflater.AddBytes(input.data(), input.size())); data 128 net/websockets/websocket_deflater_test.cc ASSERT_TRUE(deflater.AddBytes(input.data(), input.size())); data 50 net/websockets/websocket_event_interface.h const std::vector<char>& data) WARN_UNUSED_RESULT = 0; data 15 net/websockets/websocket_extension_parser.cc void WebSocketExtensionParser::Parse(const char* data, size_t size) { data 16 net/websockets/websocket_extension_parser.cc current_ = data; data 17 net/websockets/websocket_extension_parser.cc end_ = data + size; data 27 net/websockets/websocket_extension_parser.h void Parse(const char* data, size_t size); data 28 net/websockets/websocket_extension_parser.h void Parse(const std::string& data) { data 29 net/websockets/websocket_extension_parser.h Parse(data.data(), data.size()); data 167 net/websockets/websocket_frame.cc char* const data, data 184 net/websockets/websocket_frame.cc char* const end = data + data_size; data 189 net/websockets/websocket_frame.cc masking_key, frame_offset % kMaskingKeyLength, data, end); data 193 net/websockets/websocket_frame.cc reinterpret_cast<size_t>(data) % kPackedMaskKeySize; data 195 net/websockets/websocket_frame.cc data_modulus == 0 ? data : (data + kPackedMaskKeySize - data_modulus); data 199 net/websockets/websocket_frame.cc masking_key, frame_offset % kMaskingKeyLength, data, aligned_begin); data 210 net/websockets/websocket_frame.cc (frame_offset + aligned_begin - data) % kMaskingKeyLength, data 234 net/websockets/websocket_frame.cc (frame_offset + (aligned_end - data)) % kMaskingKeyLength, data 105 net/websockets/websocket_frame.h scoped_refptr<IOBuffer> data; data 138 net/websockets/websocket_frame.h scoped_refptr<IOBufferWithSize> data; data 190 net/websockets/websocket_frame.h char* data, data 48 net/websockets/websocket_frame_parser.cc const char* data, data 57 net/websockets/websocket_frame_parser.cc buffer_.insert(buffer_.end(), data, data + length); data 188 net/websockets/websocket_frame_parser.cc frame_chunk->data = new IOBufferWithSize(static_cast<int>(next_size)); data 189 net/websockets/websocket_frame_parser.cc char* io_data = frame_chunk->data->data(); data 39 net/websockets/websocket_frame_parser.h bool Decode(const char* data, data 75 net/websockets/websocket_frame_parser_test.cc ASSERT_EQ(static_cast<int>(kHelloLength), frame->data->size()); data 76 net/websockets/websocket_frame_parser_test.cc EXPECT_TRUE(std::equal(kHello, kHello + kHelloLength, frame->data->data())); data 102 net/websockets/websocket_frame_parser_test.cc ASSERT_EQ(static_cast<int>(kHelloLength), frame->data->size()); data 103 net/websockets/websocket_frame_parser_test.cc EXPECT_TRUE(std::equal(kHello, kHello + kHelloLength, frame->data->data())); data 153 net/websockets/websocket_frame_parser_test.cc static_cast<uint64>(frame->data->size())); data 157 net/websockets/websocket_frame_parser_test.cc frame->data->data())); data 199 net/websockets/websocket_frame_parser_test.cc EXPECT_EQ(NULL, frame1->data.get()); data 201 net/websockets/websocket_frame_parser_test.cc ASSERT_EQ(cutting_pos, static_cast<size_t>(frame1->data->size())); data 203 net/websockets/websocket_frame_parser_test.cc std::equal(expected1.begin(), expected1.end(), frame1->data->data())); data 229 net/websockets/websocket_frame_parser_test.cc EXPECT_EQ(NULL, frame2->data.get()); data 231 net/websockets/websocket_frame_parser_test.cc ASSERT_EQ(expected2.size(), static_cast<uint64>(frame2->data->size())); data 233 net/websockets/websocket_frame_parser_test.cc std::equal(expected2.begin(), expected2.end(), frame2->data->data())); data 266 net/websockets/websocket_frame_parser_test.cc EXPECT_EQ(NULL, frame1->data.get()); data 268 net/websockets/websocket_frame_parser_test.cc ASSERT_EQ(expected1.size(), static_cast<uint64>(frame1->data->size())); data 270 net/websockets/websocket_frame_parser_test.cc std::equal(expected1.begin(), expected1.end(), frame1->data->data())); data 296 net/websockets/websocket_frame_parser_test.cc EXPECT_EQ(NULL, frame2->data.get()); data 298 net/websockets/websocket_frame_parser_test.cc ASSERT_EQ(expected2.size(), static_cast<uint64>(frame2->data->size())); data 300 net/websockets/websocket_frame_parser_test.cc std::equal(expected2.begin(), expected2.end(), frame2->data->data())); data 343 net/websockets/websocket_frame_parser_test.cc EXPECT_EQ(NULL, frame->data.get()); data 346 net/websockets/websocket_frame_parser_test.cc static_cast<uint64>(frame->data->size())); data 349 net/websockets/websocket_frame_parser_test.cc frame->data->data())); data 405 net/websockets/websocket_frame_parser_test.cc EXPECT_EQ(NULL, frame->data.get()); data 503 net/websockets/websocket_frame_parser_test.cc EXPECT_EQ(NULL, frame->data.get()); data 559 net/websockets/websocket_frame_parser_test.cc EXPECT_EQ(NULL, frame->data.get()); data 159 net/websockets/websocket_handshake_handler.cc const char* data, int length) { data 161 net/websockets/websocket_handshake_handler.cc std::string input(data, length); data 163 net/websockets/websocket_handshake_handler.cc HttpUtil::LocateEndOfHeaders(input.data(), input.size(), 0); data 167 net/websockets/websocket_handshake_handler.cc ParseHandshakeHeader(input.data(), data 205 net/websockets/websocket_handshake_handler.cc request_info.method = std::string(request_line_.data(), method_end); data 314 net/websockets/websocket_handshake_handler.cc const char* data, int length) { data 325 net/websockets/websocket_handshake_handler.cc original_.append(data, length); data 328 net/websockets/websocket_handshake_handler.cc original_.data(), original_.size(), 0); data 332 net/websockets/websocket_handshake_handler.cc ParseHandshakeHeader(original_.data(), data 338 net/websockets/websocket_handshake_handler.cc header_separator_ = std::string(original_.data() + header_size, data 388 net/websockets/websocket_handshake_handler.cc return ParseRawResponse(response_message.data(), data 456 net/websockets/websocket_handshake_handler.cc return ParseRawResponse(response_message.data(), data 37 net/websockets/websocket_handshake_handler.h bool ParseRequest(const char* data, int length); data 84 net/websockets/websocket_handshake_handler.h size_t ParseRawResponse(const char* data, int length); data 68 net/websockets/websocket_inflater.cc bool WebSocketInflater::AddBytes(const char* data, size_t size) { data 74 net/websockets/websocket_inflater.cc input_queue_.Push(data, size); data 78 net/websockets/websocket_inflater.cc int result = InflateWithFlush(data, size); data 80 net/websockets/websocket_inflater.cc input_queue_.Push(&data[size - stream_->avail_in], stream_->avail_in); data 97 net/websockets/websocket_inflater.cc output_buffer_.Read(&buffer->data()[num_bytes_copied], num_bytes_to_copy); data 230 net/websockets/websocket_inflater.cc return std::make_pair(&buffers_.front()->data()[head_of_first_buffer_], data 233 net/websockets/websocket_inflater.cc return std::make_pair(&buffers_.front()->data()[head_of_first_buffer_], data 237 net/websockets/websocket_inflater.cc void WebSocketInflater::InputQueue::Push(const char* data, size_t size) { data 243 net/websockets/websocket_inflater.cc num_copied_bytes += PushToLastBuffer(data, size); data 251 net/websockets/websocket_inflater.cc PushToLastBuffer(&data[num_copied_bytes], size - num_copied_bytes); data 271 net/websockets/websocket_inflater.cc size_t WebSocketInflater::InputQueue::PushToLastBuffer(const char* data, data 278 net/websockets/websocket_inflater.cc memcpy(&buffer->data()[tail_of_last_buffer_], data, num_bytes_to_copy); data 43 net/websockets/websocket_inflater.h bool AddBytes(const char* data, size_t size); data 103 net/websockets/websocket_inflater.h void Push(const char* data, size_t size); data 109 net/websockets/websocket_inflater.h size_t PushToLastBuffer(const char* data, size_t size); data 22 net/websockets/websocket_inflater_test.cc return std::string(buffer->data(), buffer->size()); data 207 net/websockets/websocket_inflater_test.cc ASSERT_TRUE(inflater.AddBytes(compressed->data(), compressed->size())); data 215 net/websockets/websocket_inflater_test.cc uncompressed->data(), data 216 net/websockets/websocket_inflater_test.cc uncompressed->data() + uncompressed->size()); data 103 net/websockets/websocket_job.cc bool WebSocketJob::SendData(const char* data, int len) { data 109 net/websockets/websocket_job.cc return SendHandshakeRequest(data, len); data 114 net/websockets/websocket_job.cc memcpy(buffer->data(), data, len); data 120 net/websockets/websocket_job.cc return SendDataInternal(current_send_buffer_->data(), data 237 net/websockets/websocket_job.cc SocketStream* socket, const char* data, int len) { data 242 net/websockets/websocket_job.cc OnReceivedHandshakeResponse(socket, data, len); data 247 net/websockets/websocket_job.cc delegate_->OnReceivedData(socket, data, len); data 356 net/websockets/websocket_job.cc bool WebSocketJob::SendHandshakeRequest(const char* data, int len) { data 360 net/websockets/websocket_job.cc if (!handshake_request_->ParseRequest(data, len)) data 412 net/websockets/websocket_job.cc socket_->SendData(handshake_request.data(), data 437 net/websockets/websocket_job.cc SocketStream* socket, const char* data, int len) { data 443 net/websockets/websocket_job.cc received_data_after_handshake_.end(), data, data + len); data 447 net/websockets/websocket_job.cc size_t response_length = handshake_response_->ParseRawResponse(data, len); data 460 net/websockets/websocket_job.cc received_data_after_handshake_.assign(data + response_length, data + len); data 669 net/websockets/websocket_job.cc bool WebSocketJob::SendDataInternal(const char* data, int length) { data 671 net/websockets/websocket_job.cc return ERR_IO_PENDING == spdy_websocket_stream_->SendData(data, length); data 673 net/websockets/websocket_job.cc return socket_->SendData(data, length); data 700 net/websockets/websocket_job.cc SendDataInternal(current_send_buffer_->data(), data 58 net/websockets/websocket_job.h virtual bool SendData(const char* data, int len) OVERRIDE; data 70 net/websockets/websocket_job.h const char* data, data 94 net/websockets/websocket_job.h bool SendHandshakeRequest(const char* data, int len); data 102 net/websockets/websocket_job.h SocketStream* socket, const char* data, int len); data 123 net/websockets/websocket_job.h bool SendDataInternal(const char* data, int length); data 49 net/websockets/websocket_job_test.cc virtual bool SendData(const char* data, int len) OVERRIDE { data 50 net/websockets/websocket_job_test.cc sent_data_ += std::string(data, len); data 118 net/websockets/websocket_job_test.cc const char* data, int len) OVERRIDE { data 119 net/websockets/websocket_job_test.cc received_data_ += std::string(data, len); data 277 net/websockets/websocket_job_test.cc MockHttpTransactionFactory(NextProto next_proto, OrderedSocketData* data) { data 278 net/websockets/websocket_job_test.cc data_ = data; data 357 net/websockets/websocket_job_test.cc const char* data, data 487 net/websockets/websocket_stream_test.cc EXPECT_EQ("Hello", std::string(frames[0]->data->data(), 5)); data 1018 net/websockets/websocket_stream_test.cc MockWrite writes[] = {MockWrite(ASYNC, request.data(), request.size(), 0)}; data 75 net/websockets/websocket_test_util.cc scoped_ptr<DeterministicSocketData> data; data 100 net/websockets/websocket_test_util.cc detail_->expect_written.data(), data 108 net/websockets/websocket_test_util.cc MockRead(SYNCHRONOUS, detail_->return_to_read.data() + place, data 125 net/websockets/websocket_test_util.cc detail_->data = socket_data.Pass(); data 126 net/websockets/websocket_test_util.cc detail_->factory.AddSocketDataProvider(detail_->data.get()); data 28 net/websockets/websocket_throttle_test.cc const char* data, int len) OVERRIDE {} data 72 ppapi/c/dev/pp_video_dev.h PP_Resource data; data 63 ppapi/c/dev/ppb_var_deprecated.h const char* data, uint32_t len); data 255 ppapi/c/extensions/dev/ppb_ext_socket_dev.h struct PP_Var data, data 294 ppapi/c/extensions/dev/ppb_ext_socket_dev.h struct PP_Var data, data 553 ppapi/c/extensions/dev/ppb_ext_socket_dev.h struct PP_Var data, data 563 ppapi/c/extensions/dev/ppb_ext_socket_dev.h struct PP_Var data, data 103 ppapi/c/ppb_gamepad.h void (*Sample)(PP_Instance instance, struct PP_GamepadsSampleData* data); data 78 ppapi/c/ppb_opengles2.h const void* data, data 84 ppapi/c/ppb_opengles2.h const void* data); data 108 ppapi/c/ppb_opengles2.h const void* data); data 118 ppapi/c/ppb_opengles2.h const void* data); data 230 ppapi/c/ppb_url_request_info.h const void* data, data 78 ppapi/c/ppb_var.h struct PP_Var (*VarFromUtf8)(const char* data, uint32_t len); data 126 ppapi/c/ppb_var.h const char* data, data 134 ppapi/c/ppb_var.h struct PP_Var (*VarFromUtf8)(const char* data, uint32_t len); data 63 ppapi/c/private/ppb_net_address_private.h char data[128]; data 35 ppapi/cpp/dev/buffer_dev.h void* data() const { return data_; } data 57 ppapi/cpp/dev/file_chooser_dev.cc ChooseCallbackData0_5* data = new ChooseCallbackData0_5; data 58 ppapi/cpp/dev/file_chooser_dev.cc data->file_chooser = pp_resource(); data 59 ppapi/cpp/dev/file_chooser_dev.cc data->output = callback.output(); data 60 ppapi/cpp/dev/file_chooser_dev.cc data->original_callback = callback.pp_completion_callback(); data 63 ppapi/cpp/dev/file_chooser_dev.cc pp_resource(), PP_MakeCompletionCallback(&CallbackConverter, data)); data 70 ppapi/cpp/dev/file_chooser_dev.cc ChooseCallbackData0_5* data = static_cast<ChooseCallbackData0_5*>(user_data); data 77 ppapi/cpp/dev/file_chooser_dev.cc while (PP_Resource cur = chooser->GetNextChosenFile(data->file_chooser)) data 83 ppapi/cpp/dev/file_chooser_dev.cc void* output_buf = data->output.GetDataBuffer( data 84 ppapi/cpp/dev/file_chooser_dev.cc data->output.user_data, data 98 ppapi/cpp/dev/file_chooser_dev.cc PP_RunCompletionCallback(&data->original_callback, result); data 99 ppapi/cpp/dev/file_chooser_dev.cc delete data; data 19 ppapi/cpp/directory_entry.cc PassRef, const PP_DirectoryEntry& data) { data 20 ppapi/cpp/directory_entry.cc data_.file_ref = data.file_ref; data 21 ppapi/cpp/directory_entry.cc data_.file_type = data.file_type; data 35 ppapi/cpp/directory_entry.h DirectoryEntry(PassRef, const PP_DirectoryEntry& data); data 145 ppapi/cpp/extensions/dev/socket_dev.cc result = data.Populate(dict) && result; data 154 ppapi/cpp/extensions/dev/socket_dev.cc result = data.AddTo(&dict) && result; data 197 ppapi/cpp/extensions/dev/socket_dev.cc data(kData), data 211 ppapi/cpp/extensions/dev/socket_dev.cc result = data.Populate(dict) && result; data 222 ppapi/cpp/extensions/dev/socket_dev.cc result = data.AddTo(&dict) && result; data 414 ppapi/cpp/extensions/dev/socket_dev.cc const VarArrayBuffer& data, data 420 ppapi/cpp/extensions/dev/socket_dev.cc internal::ToVarConverter<Var> data_var(data); data 448 ppapi/cpp/extensions/dev/socket_dev.cc const VarArrayBuffer& data, data 456 ppapi/cpp/extensions/dev/socket_dev.cc internal::ToVarConverter<Var> data_var(data); data 98 ppapi/cpp/extensions/dev/socket_dev.h DictField<VarArrayBuffer> data; data 130 ppapi/cpp/extensions/dev/socket_dev.h DictField<VarArrayBuffer> data; data 209 ppapi/cpp/extensions/dev/socket_dev.h const VarArrayBuffer& data, data 219 ppapi/cpp/extensions/dev/socket_dev.h const VarArrayBuffer& data, data 116 ppapi/cpp/file_io.cc CallbackData1_0* data = new CallbackData1_0; data 117 ppapi/cpp/file_io.cc data->output = cc.output(); data 118 ppapi/cpp/file_io.cc data->temp_buffer = max_read_length >= 0 ? new char[max_read_length] : NULL; data 119 ppapi/cpp/file_io.cc data->original_callback = cc.pp_completion_callback(); data 125 ppapi/cpp/file_io.cc pp_resource(), offset, data->temp_buffer, max_read_length, data 126 ppapi/cpp/file_io.cc PP_MakeCompletionCallback(&CallbackConverter, data)); data 179 ppapi/cpp/file_io.cc CallbackData1_0* data = static_cast<CallbackData1_0*>(user_data); data 183 ppapi/cpp/file_io.cc char* buffer = static_cast<char*>(data->output.GetDataBuffer( data 184 ppapi/cpp/file_io.cc data->output.user_data, result, sizeof(char))); data 185 ppapi/cpp/file_io.cc memcpy(buffer, data->temp_buffer, result); data 186 ppapi/cpp/file_io.cc delete[] data->temp_buffer; data 190 ppapi/cpp/file_io.cc PP_RunCompletionCallback(&data->original_callback, result); data 191 ppapi/cpp/file_io.cc delete data; data 74 ppapi/cpp/image_data.cc &static_cast<char*>(data())[coord.y() * stride() + coord.x() * 4]); data 112 ppapi/cpp/image_data.h void* data() const { return data_; } data 67 ppapi/cpp/trusted/file_chooser_trusted.cc ChooseCallbackData0_5* data = new ChooseCallbackData0_5; data 68 ppapi/cpp/trusted/file_chooser_trusted.cc data->file_chooser = pp_resource(); data 69 ppapi/cpp/trusted/file_chooser_trusted.cc data->output = callback.output(); data 70 ppapi/cpp/trusted/file_chooser_trusted.cc data->original_callback = callback.pp_completion_callback(); data 76 ppapi/cpp/trusted/file_chooser_trusted.cc PP_MakeCompletionCallback(&CallbackConverter, data)); data 41 ppapi/cpp/url_request_info.cc bool URLRequestInfo::AppendDataToBody(const void* data, uint32_t len) { data 45 ppapi/cpp/url_request_info.cc pp_resource(), data, len)); data 58 ppapi/cpp/url_request_info.h bool AppendDataToBody(const void* data, uint32_t len); data 164 ppapi/examples/media_stream_audio/media_stream_audio.cc const char* data = static_cast<const char*>(buffer.GetDataBuffer()); data 181 ppapi/examples/media_stream_audio/media_stream_audio.cc memcpy(samples_.data(), data, data 431 ppapi/examples/media_stream_video/media_stream_video.cc const char* data = static_cast<const char*>(frame.GetDataBuffer()); data 447 ppapi/examples/media_stream_video/media_stream_video.cc GL_LUMINANCE, GL_UNSIGNED_BYTE, data); data 449 ppapi/examples/media_stream_video/media_stream_video.cc data += width * height; data 455 ppapi/examples/media_stream_video/media_stream_video.cc GL_LUMINANCE, GL_UNSIGNED_BYTE, data); data 457 ppapi/examples/media_stream_video/media_stream_video.cc data += width * height; data 460 ppapi/examples/media_stream_video/media_stream_video.cc GL_LUMINANCE, GL_UNSIGNED_BYTE, data); data 464 ppapi/examples/media_stream_video/media_stream_video.cc GL_BGRA_EXT, GL_UNSIGNED_BYTE, data); data 72 ppapi/examples/printing/printing.cc memcpy(buffer.data(), pdf_data, pdf_len); data 177 ppapi/examples/scaling/scaling.cc char* row = static_cast<char*>(image.data()) + (y * image.stride()); data 62 ppapi/examples/url_loader/stream_to_file.cc void ReportResponse(const std::string& data); data 147 ppapi/examples/url_loader/stream_to_file.cc void MyInstance::ReportResponse(const std::string& data) { data 148 ppapi/examples/url_loader/stream_to_file.cc PostMessage(pp::Var(data)); data 59 ppapi/examples/url_loader/streaming.cc void ReportResponse(const std::string& data); data 152 ppapi/examples/url_loader/streaming.cc void MyInstance::ReportResponse(const std::string& data) { data 153 ppapi/examples/url_loader/streaming.cc PostMessage(pp::Var(data)); data 87 ppapi/examples/video_capture/video_capture.cc const char* data = static_cast<const char*>(buffers_[buffer].data()); data 93 ppapi/examples/video_capture/video_capture.cc GL_LUMINANCE, GL_UNSIGNED_BYTE, data); data 95 ppapi/examples/video_capture/video_capture.cc data += width * height; data 102 ppapi/examples/video_capture/video_capture.cc GL_LUMINANCE, GL_UNSIGNED_BYTE, data); data 104 ppapi/examples/video_capture/video_capture.cc data += width * height; data 108 ppapi/examples/video_capture/video_capture.cc GL_LUMINANCE, GL_UNSIGNED_BYTE, data); data 346 ppapi/examples/video_decode/video_decode.cc bitstream_buffer.data = buffer->pp_resource(); data 347 ppapi/examples/video_decode/video_decode.cc memcpy(buffer->data(), kData + start_pos, end_pos - start_pos); data 144 ppapi/examples/video_effects/video_effects.cc uint8_t* image = static_cast<uint8_t*>(image_data.data()); data 67 ppapi/generators/test_cgen/structs.h typedef float (*func_t)(const s_array data); data 81 ppapi/lib/gl/gles2/gles2.c glBufferData(GLenum target, GLsizeiptr size, const void* data, GLenum usage) { data 83 ppapi/lib/gl/gles2/gles2.c glGetCurrentContextPPAPI(), target, size, data, usage); data 89 ppapi/lib/gl/gles2/gles2.c const void* data) { data 91 ppapi/lib/gl/gles2/gles2.c glGetCurrentContextPPAPI(), target, offset, size, data); data 134 ppapi/lib/gl/gles2/gles2.c const void* data) { data 143 ppapi/lib/gl/gles2/gles2.c data); data 154 ppapi/lib/gl/gles2/gles2.c const void* data) { data 164 ppapi/lib/gl/gles2/gles2.c data); data 651 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage); data 652 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data); data 660 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data); data 661 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data); data 804 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data); data 805 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data); data 812 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data); data 813 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data); data 908 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, GLvoid *data); data 914 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); data 921 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, GLvoid *data); data 927 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); data 1160 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); data 1166 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); data 595 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc FileStreamData data) { data 597 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc NACL_PRId32 ", data=%p)\n", pp_error, data ? &(*data)[0] : 0)); data 600 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc translate_thread_->PutBytes(data, pp_error); data 602 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc if (data && pp_error > 0) { data 165 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.h void BitcodeStreamGotData(int32_t pp_error, FileStreamData data); data 240 ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc std::vector<char> data; data 241 ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc data.swap(data_buffers_.front()); data 248 ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc &data[0], data 249 ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc data.size())) { data 266 ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc coordinator_->GetCompileProgressCallback(data.size()), data 64 ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.h void PutBytes(std::vector<char>* data, int count); data 1508 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static PP_Bool Pnacl_M14_PPB_URLRequestInfo_AppendDataToBody(PP_Resource request, const void* data, uint32_t len) { data 1510 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->AppendDataToBody(request, data, len); data 1551 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static void Pnacl_M14_PPB_Var_VarFromUtf8(struct PP_Var* _struct_result, PP_Module module, const char* data, uint32_t len) { data 1553 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c *_struct_result = iface->VarFromUtf8(module, data, len); data 1575 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static void Pnacl_M18_PPB_Var_VarFromUtf8(struct PP_Var* _struct_result, const char* data, uint32_t len) { data 1577 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c *_struct_result = iface->VarFromUtf8(data, len); data 1599 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static void Pnacl_M34_PPB_Var_VarFromUtf8(struct PP_Var* _struct_result, const char* data, uint32_t len) { data 1601 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c *_struct_result = iface->VarFromUtf8(data, len); data 4126 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M28_PPB_Ext_Socket_Dev_Write(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* data, PP_Ext_Socket_WriteInfo_Dev* write_info, struct PP_CompletionCallback* callback) { data 4128 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Write(instance, *socket_id, *data, write_info, *callback); data 4136 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M28_PPB_Ext_Socket_Dev_SendTo(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* data, struct PP_Var* address, struct PP_Var* port, PP_Ext_Socket_WriteInfo_Dev* write_info, struct PP_CompletionCallback* callback) { data 4138 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->SendTo(instance, *socket_id, *data, *address, *port, write_info, *callback); data 4205 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_Write(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* data, PP_Ext_Socket_WriteInfo_Dev* write_info, struct PP_CompletionCallback* callback) { data 4207 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Write(instance, *socket_id, *data, write_info, *callback); data 4215 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_SendTo(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* data, struct PP_Var* address, struct PP_Var* port, PP_Ext_Socket_WriteInfo_Dev* write_info, struct PP_CompletionCallback* callback) { data 4217 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->SendTo(instance, *socket_id, *data, *address, *port, write_info, *callback); data 4631 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .AppendDataToBody = (PP_Bool (*)(PP_Resource request, const void* data, uint32_t len))&Pnacl_M14_PPB_URLRequestInfo_AppendDataToBody, data 4644 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .VarFromUtf8 = (struct PP_Var (*)(PP_Module module, const char* data, uint32_t len))&Pnacl_M14_PPB_Var_VarFromUtf8, data 4651 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .VarFromUtf8 = (struct PP_Var (*)(const char* data, uint32_t len))&Pnacl_M18_PPB_Var_VarFromUtf8, data 4658 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .VarFromUtf8 = (struct PP_Var (*)(const char* data, uint32_t len))&Pnacl_M34_PPB_Var_VarFromUtf8, data 5373 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Write = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var data, PP_Ext_Socket_WriteInfo_Dev* write_info, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_Write, data 5375 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .SendTo = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var data, struct PP_Var address, struct PP_Var port, PP_Ext_Socket_WriteInfo_Dev* write_info, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_SendTo, data 5391 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Write = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var data, PP_Ext_Socket_WriteInfo_Dev* write_info, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Ext_Socket_Dev_Write, data 5393 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .SendTo = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var data, struct PP_Var address, struct PP_Var port, PP_Ext_Socket_WriteInfo_Dev* write_info, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Ext_Socket_Dev_SendTo, data 99 ppapi/native_client/tests/nacl_browser/inbrowser_test_runner/test_runner_ppapi.c const char *data; data 106 ppapi/native_client/tests/nacl_browser/inbrowser_test_runner/test_runner_ppapi.c data = g_browser_var->VarToUtf8(message, &len); data 110 ppapi/native_client/tests/nacl_browser/inbrowser_test_runner/test_runner_ppapi.c if (strcmp(data, kStartMessage) != 0) { data 85 ppapi/proxy/audio_buffer_resource.cc return buffer_->audio.data; data 50 ppapi/proxy/content_decryptor_private_serializer.h std::memcpy(block_info, serialized_block_info.data(), sizeof(*block_info)); data 249 ppapi/proxy/device_enumeration_resource_helper_unittest.cc std::vector<DeviceRefData> data; data 254 ppapi/proxy/device_enumeration_resource_helper_unittest.cc data.push_back(data_item); data 258 ppapi/proxy/device_enumeration_resource_helper_unittest.cc data.push_back(data_item); data 264 ppapi/proxy/device_enumeration_resource_helper_unittest.cc PpapiPluginMsg_DeviceEnumeration_EnumerateDevicesReply(data)); data 270 ppapi/proxy/device_enumeration_resource_helper_unittest.cc EXPECT_TRUE(CompareDeviceRef(&var_tracker(), output.data()[i], data[i])); data 300 ppapi/proxy/device_enumeration_resource_helper_unittest.cc std::vector<DeviceRefData> data; data 302 ppapi/proxy/device_enumeration_resource_helper_unittest.cc helper.SetExpectedResult(data); data 310 ppapi/proxy/device_enumeration_resource_helper_unittest.cc callback_id, data)); data 318 ppapi/proxy/device_enumeration_resource_helper_unittest.cc data.push_back(data_item); data 322 ppapi/proxy/device_enumeration_resource_helper_unittest.cc data.push_back(data_item); data 324 ppapi/proxy/device_enumeration_resource_helper_unittest.cc helper.SetExpectedResult(data); data 332 ppapi/proxy/device_enumeration_resource_helper_unittest.cc callback_id, data)); data 353 ppapi/proxy/device_enumeration_resource_helper_unittest.cc helper.SetExpectedResult(data); data 354 ppapi/proxy/device_enumeration_resource_helper_unittest.cc helper2.SetExpectedResult(data); data 361 ppapi/proxy/device_enumeration_resource_helper_unittest.cc callback_id2, data)); data 366 ppapi/proxy/device_enumeration_resource_helper_unittest.cc helper.SetExpectedResult(data); data 367 ppapi/proxy/device_enumeration_resource_helper_unittest.cc helper2.SetExpectedResult(data); data 375 ppapi/proxy/device_enumeration_resource_helper_unittest.cc callback_id, data)); data 391 ppapi/proxy/device_enumeration_resource_helper_unittest.cc helper2.SetExpectedResult(data); data 398 ppapi/proxy/device_enumeration_resource_helper_unittest.cc callback_id2, data)); data 56 ppapi/proxy/flash_clipboard_resource.cc string.size(), string.data()); data 66 ppapi/proxy/gamepad_resource.cc PP_GamepadsSampleData* data) { data 70 ppapi/proxy/gamepad_resource.cc memset(data, 0, sizeof(PP_GamepadsSampleData)); data 100 ppapi/proxy/gamepad_resource.cc memcpy(data, &last_read_, sizeof(PP_GamepadsSampleData)); data 43 ppapi/proxy/gamepad_resource.h PP_GamepadsSampleData* data) OVERRIDE; data 393 ppapi/proxy/interface_list.cc uint32 data = base::Hash(name.c_str(), name.size()); data 396 ppapi/proxy/interface_list.cc return static_cast<int>(data & 0x7fffffff); data 333 ppapi/proxy/ppapi_messages.h IPC_STRUCT_TRAITS_MEMBER(data) data 106 ppapi/proxy/ppapi_param_traits.cc m->WriteBytes(p.data, static_cast<int>(p.size)); data 116 ppapi/proxy/ppapi_param_traits.cc if (size > sizeof(p->data)) data 120 ppapi/proxy/ppapi_param_traits.cc const char* data; data 121 ppapi/proxy/ppapi_param_traits.cc if (!m->ReadBytes(iter, &data, size)) data 123 ppapi/proxy/ppapi_param_traits.cc memcpy(p->data, data, size); data 364 ppapi/proxy/ppb_image_data_proxy.cc void* data = Map(); data 365 ppapi/proxy/ppb_image_data_proxy.cc memset(data, 0, desc_.stride * desc_.size.height); data 73 ppapi/proxy/ppb_instance_proxy.cc InstanceData* data = dispatcher->GetInstanceData(instance); data 74 ppapi/proxy/ppb_instance_proxy.cc DCHECK(data); // Should have it, since we still have a dispatcher. data 75 ppapi/proxy/ppb_instance_proxy.cc data->is_request_surrounding_text_pending = false; data 76 ppapi/proxy/ppb_instance_proxy.cc if (!data->should_do_request_surrounding_text) data 251 ppapi/proxy/ppb_instance_proxy.cc InstanceData* data = static_cast<PluginDispatcher*>(dispatcher())-> data 253 ppapi/proxy/ppb_instance_proxy.cc if (!data) data 255 ppapi/proxy/ppb_instance_proxy.cc return &data->view; data 349 ppapi/proxy/ppb_instance_proxy.cc InstanceData* data = static_cast<PluginDispatcher*>(dispatcher())-> data 351 ppapi/proxy/ppb_instance_proxy.cc if (!data) data 353 ppapi/proxy/ppb_instance_proxy.cc return PP_FromBool(data->view.is_fullscreen); data 374 ppapi/proxy/ppb_instance_proxy.cc InstanceData* data = static_cast<PluginDispatcher*>(dispatcher())-> data 378 ppapi/proxy/ppb_instance_proxy.cc data->singleton_resources.find(id); data 379 ppapi/proxy/ppb_instance_proxy.cc if (it != data->singleton_resources.end()) data 450 ppapi/proxy/ppb_instance_proxy.cc data->singleton_resources[id] = new_singleton; data 766 ppapi/proxy/ppb_instance_proxy.cc InstanceData* data = static_cast<PluginDispatcher*>(dispatcher())-> data 768 ppapi/proxy/ppb_instance_proxy.cc if (!data) data 770 ppapi/proxy/ppb_instance_proxy.cc if (TrackedCallback::IsPending(data->mouse_lock_callback)) data 772 ppapi/proxy/ppb_instance_proxy.cc data->mouse_lock_callback = callback; data 816 ppapi/proxy/ppb_instance_proxy.cc InstanceData* data = data 818 ppapi/proxy/ppb_instance_proxy.cc if (!data) data 820 ppapi/proxy/ppb_instance_proxy.cc data->should_do_request_surrounding_text = true; data 822 ppapi/proxy/ppb_instance_proxy.cc if (!data->is_request_surrounding_text_pending) { data 826 ppapi/proxy/ppb_instance_proxy.cc data->is_request_surrounding_text_pending = true; data 1317 ppapi/proxy/ppb_instance_proxy.cc InstanceData* data = static_cast<PluginDispatcher*>(dispatcher())-> data 1319 ppapi/proxy/ppb_instance_proxy.cc if (!data) data 1321 ppapi/proxy/ppb_instance_proxy.cc if (!TrackedCallback::IsPending(data->mouse_lock_callback)) { data 1325 ppapi/proxy/ppb_instance_proxy.cc data->mouse_lock_callback->Run(result); data 1338 ppapi/proxy/ppb_instance_proxy.cc InstanceData* data = static_cast<PluginDispatcher*>(dispatcher())-> data 1340 ppapi/proxy/ppb_instance_proxy.cc if (!data) data 1342 ppapi/proxy/ppb_instance_proxy.cc data->should_do_request_surrounding_text = false; data 72 ppapi/proxy/ppb_video_decoder_proxy.cc enter_buffer(bitstream_buffer->data, true); data 38 ppapi/proxy/ppp_class_proxy.cc ObjectProxy* ToObjectProxy(void* data) { data 39 ppapi/proxy/ppp_class_proxy.cc ObjectProxy* obj = reinterpret_cast<ObjectProxy*>(data); data 30 ppapi/proxy/ppp_input_event_proxy.cc const InputEventData& data = enter.object()->GetInputEventData(); data 39 ppapi/proxy/ppp_input_event_proxy.cc if (data.is_filtered) { data 41 ppapi/proxy/ppp_input_event_proxy.cc API_ID_PPP_INPUT_EVENT, instance, data, &result)); data 44 ppapi/proxy/ppp_input_event_proxy.cc API_ID_PPP_INPUT_EVENT, instance, data)); data 92 ppapi/proxy/ppp_input_event_proxy.cc const InputEventData& data) { data 94 ppapi/proxy/ppp_input_event_proxy.cc OBJECT_IS_PROXY, instance, data)); data 102 ppapi/proxy/ppp_input_event_proxy.cc const InputEventData& data, data 105 ppapi/proxy/ppp_input_event_proxy.cc OBJECT_IS_PROXY, instance, data)); data 31 ppapi/proxy/ppp_input_event_proxy.h const ppapi::InputEventData& data); data 33 ppapi/proxy/ppp_input_event_proxy.h const ppapi::InputEventData& data, data 206 ppapi/proxy/ppp_instance_proxy.cc InstanceData* data = dispatcher->GetInstanceData(instance); data 207 ppapi/proxy/ppp_instance_proxy.cc if (!data) data 209 ppapi/proxy/ppp_instance_proxy.cc data->view = new_data; data 235 ppapi/proxy/ppp_instance_proxy.cc const URLResponseInfoData& data) { data 244 ppapi/proxy/ppp_instance_proxy.cc pending_loader_host_id, data)); data 55 ppapi/proxy/ppp_instance_proxy.h const URLResponseInfoData& data); data 159 ppapi/proxy/ppp_instance_proxy_unittest.cc ViewData data; data 160 ppapi/proxy/ppp_instance_proxy_unittest.cc data.rect = expected_position; data 161 ppapi/proxy/ppp_instance_proxy_unittest.cc data.is_fullscreen = false; data 162 ppapi/proxy/ppp_instance_proxy_unittest.cc data.is_page_visible = true; data 163 ppapi/proxy/ppp_instance_proxy_unittest.cc data.clip_rect = expected_clip; data 164 ppapi/proxy/ppp_instance_proxy_unittest.cc data.device_scale = 1.0f; data 168 ppapi/proxy/ppp_instance_proxy_unittest.cc expected_instance, data))->GetReference()); data 31 ppapi/proxy/ppp_messaging_proxy.h SerializedVarReceiveInput data); data 47 ppapi/proxy/raw_var_data.cc ScopedVector<RawVarData>* data) { data 54 ppapi/proxy/raw_var_data.cc data->push_back(RawVarData::Create(var.type)); data 55 ppapi/proxy/raw_var_data.cc (*visited_map)[var.value.as_id] = data->size() - 1; data 58 ppapi/proxy/raw_var_data.cc data->push_back(RawVarData::Create(var.type)); data 60 ppapi/proxy/raw_var_data.cc return data->size() - 1; data 470 ppapi/proxy/raw_var_data.cc static_cast<uint32>(data_.size()), data_.data()); data 98 ppapi/proxy/raw_var_data_unittest.cc std::string data = "hello world!"; data 100 ppapi/proxy/raw_var_data_unittest.cc data.size(), data.data()); data 60 ppapi/proxy/resource_message_params.cc handles_->data()); data 65 ppapi/proxy/resource_message_params.cc DCHECK(handles_->data().empty()); data 74 ppapi/proxy/resource_message_params.cc msg, iter, &handles_->data()); data 88 ppapi/proxy/resource_message_params.cc std::vector<SerializedHandle>& data = handles_->data(); data 89 ppapi/proxy/resource_message_params.cc if (index < data.size() && data[index].type() == type) { data 90 ppapi/proxy/resource_message_params.cc handle = data[index]; data 91 ppapi/proxy/resource_message_params.cc data[index] = SerializedHandle(); data 131 ppapi/proxy/resource_message_params.cc for (size_t i = 0; i < handles_->data().size(); ++i) { data 139 ppapi/proxy/resource_message_params.cc handles_->data().push_back(handle); data 29 ppapi/proxy/resource_message_params.h return handles_->data(); data 94 ppapi/proxy/resource_message_params.h std::vector<SerializedHandle>& data() { return data_; } data 117 ppapi/proxy/serialized_var.cc scoped_ptr<RawVarDataGraph> data = RawVarDataGraph::Create(var_, instance_); data 118 ppapi/proxy/serialized_var.cc if (data) { data 120 ppapi/proxy/serialized_var.cc data->Write(m, base::Bind(&DefaultHandleWriter)); data 43 ppapi/proxy/tcp_socket_resource_base.cc memset(local_addr_.data, 0, data 44 ppapi/proxy/tcp_socket_resource_base.cc arraysize(local_addr_.data) * sizeof(*local_addr_.data)); data 46 ppapi/proxy/tcp_socket_resource_base.cc memset(remote_addr_.data, 0, data 47 ppapi/proxy/tcp_socket_resource_base.cc arraysize(remote_addr_.data) * sizeof(*remote_addr_.data)); data 433 ppapi/proxy/tcp_socket_resource_base.cc const std::string& data) { data 443 ppapi/proxy/tcp_socket_resource_base.cc CHECK_LE(static_cast<int32_t>(data.size()), bytes_to_read_); data 444 ppapi/proxy/tcp_socket_resource_base.cc if (!data.empty()) data 445 ppapi/proxy/tcp_socket_resource_base.cc memmove(read_buffer_, data.c_str(), data.size()); data 451 ppapi/proxy/tcp_socket_resource_base.cc succeeded ? static_cast<int32_t>(data.size()) : params.result()); data 112 ppapi/proxy/tcp_socket_resource_base.h const std::string& data); data 113 ppapi/proxy/truetype_font_resource.cc const std::string& data) { data 116 ppapi/proxy/truetype_font_resource.cc DCHECK((result < 0 && data.size() == 0) || data 117 ppapi/proxy/truetype_font_resource.cc result == static_cast<int32_t>(data.size())); data 122 ppapi/proxy/truetype_font_resource.cc output.StoreArray(data.data(), std::max(0, result)); data 60 ppapi/proxy/truetype_font_resource.h const std::vector<uint32_t>& data); data 65 ppapi/proxy/truetype_font_resource.h const std::string& data); data 52 ppapi/proxy/truetype_font_singleton_resource.h const std::vector<std::string>& data); data 41 ppapi/proxy/udp_socket_resource_base.cc memset(recvfrom_addr_.data, 0, data 42 ppapi/proxy/udp_socket_resource_base.cc arraysize(recvfrom_addr_.data) * sizeof(*recvfrom_addr_.data)); data 44 ppapi/proxy/udp_socket_resource_base.cc memset(bound_addr_.data, 0, data 45 ppapi/proxy/udp_socket_resource_base.cc arraysize(bound_addr_.data) * sizeof(*bound_addr_.data)); data 240 ppapi/proxy/udp_socket_resource_base.cc const std::string& data, data 261 ppapi/proxy/udp_socket_resource_base.cc CHECK_LE(static_cast<int32_t>(data.size()), bytes_to_read_); data 262 ppapi/proxy/udp_socket_resource_base.cc if (!data.empty()) data 263 ppapi/proxy/udp_socket_resource_base.cc memcpy(read_buffer_, data.c_str(), data.size()); data 271 ppapi/proxy/udp_socket_resource_base.cc RunCallback(recvfrom_callback_, static_cast<int32_t>(data.size())); data 78 ppapi/proxy/udp_socket_resource_base.h const std::string& data, data 53 ppapi/proxy/url_loader_resource.cc const ppapi::URLResponseInfoData& data) data 67 ppapi/proxy/url_loader_resource.cc SaveResponseInfo(data); data 166 ppapi/proxy/url_loader_resource.cc if (response_info_->data().body_as_file_ref.IsValid()) data 198 ppapi/proxy/url_loader_resource.cc if (!response_info_->data().body_as_file_ref.IsValid()) data 259 ppapi/proxy/url_loader_resource.cc const URLResponseInfoData& data) { data 260 ppapi/proxy/url_loader_resource.cc SaveResponseInfo(data); data 268 ppapi/proxy/url_loader_resource.cc const char* data; data 270 ppapi/proxy/url_loader_resource.cc if (!iter.ReadData(&data, &data_length)) { data 276 ppapi/proxy/url_loader_resource.cc buffer_.insert(buffer_.end(), data, data + data_length); data 365 ppapi/proxy/url_loader_resource.cc void URLLoaderResource::SaveResponseInfo(const URLResponseInfoData& data) { data 368 ppapi/proxy/url_loader_resource.cc if (data.body_as_file_ref.IsValid()) { data 371 ppapi/proxy/url_loader_resource.cc data.body_as_file_ref); data 374 ppapi/proxy/url_loader_resource.cc connection(), pp_instance(), data, body_as_file_ref); data 37 ppapi/proxy/url_loader_resource.h const URLResponseInfoData& data); data 47 ppapi/proxy/url_loader_resource.h virtual int32_t Open(const URLRequestInfoData& data, data 90 ppapi/proxy/url_loader_resource.h const URLResponseInfoData& data); data 115 ppapi/proxy/url_loader_resource.h void SaveResponseInfo(const URLResponseInfoData& data); data 16 ppapi/proxy/url_request_info_resource.cc const URLRequestInfoData& data) data 18 ppapi/proxy/url_request_info_resource.cc data_(data) { data 72 ppapi/proxy/url_request_info_resource.cc PP_Bool URLRequestInfoResource::AppendDataToBody(const void* data, data 76 ppapi/proxy/url_request_info_resource.cc std::string(static_cast<const char*>(data), len))); data 23 ppapi/proxy/url_request_info_resource.h const URLRequestInfoData& data); data 32 ppapi/proxy/url_request_info_resource.h virtual PP_Bool AppendDataToBody(const void* data, uint32_t len) OVERRIDE; data 26 ppapi/proxy/url_response_info_resource.cc const URLResponseInfoData& data, data 29 ppapi/proxy/url_response_info_resource.cc data_(data), data 29 ppapi/proxy/url_response_info_resource.h const URLResponseInfoData& data, data 40 ppapi/proxy/url_response_info_resource.h const URLResponseInfoData& data() const { return data_; } data 69 ppapi/proxy/video_frame_resource.cc return buffer_->video.data; data 30 ppapi/shared_impl/media_stream_buffer.h uint8_t data[8]; data 41 ppapi/shared_impl/media_stream_buffer.h uint8_t data[8]; data 20 ppapi/shared_impl/ppb_device_ref_shared.cc const DeviceRefData& data) data 21 ppapi/shared_impl/ppb_device_ref_shared.cc : Resource(type, instance), data_(data) {} data 38 ppapi/shared_impl/ppb_device_ref_shared.h const DeviceRefData& data); data 39 ppapi/shared_impl/ppb_input_event_shared.cc const InputEventData& data) data 40 ppapi/shared_impl/ppb_input_event_shared.cc : Resource(type, instance), data_(data) {} data 212 ppapi/shared_impl/ppb_input_event_shared.cc InputEventData data; data 213 ppapi/shared_impl/ppb_input_event_shared.cc data.event_type = event_type; data 214 ppapi/shared_impl/ppb_input_event_shared.cc data.event_time_stamp = time_stamp; data 219 ppapi/shared_impl/ppb_input_event_shared.cc data.character_text = text_str->value(); data 221 ppapi/shared_impl/ppb_input_event_shared.cc data.composition_target_segment = target_segment; data 223 ppapi/shared_impl/ppb_input_event_shared.cc data.composition_segment_offsets.assign( data 226 ppapi/shared_impl/ppb_input_event_shared.cc data.composition_selection_start = selection_start; data 227 ppapi/shared_impl/ppb_input_event_shared.cc data.composition_selection_end = selection_end; data 229 ppapi/shared_impl/ppb_input_event_shared.cc return (new PPB_InputEvent_Shared(type, instance, data))->GetReference(); data 248 ppapi/shared_impl/ppb_input_event_shared.cc InputEventData data; data 249 ppapi/shared_impl/ppb_input_event_shared.cc data.event_type = event_type; data 250 ppapi/shared_impl/ppb_input_event_shared.cc data.event_time_stamp = time_stamp; data 251 ppapi/shared_impl/ppb_input_event_shared.cc data.event_modifiers = modifiers; data 252 ppapi/shared_impl/ppb_input_event_shared.cc data.key_code = key_code; data 257 ppapi/shared_impl/ppb_input_event_shared.cc data.character_text = text_str->value(); data 263 ppapi/shared_impl/ppb_input_event_shared.cc data.code = code_str->value(); data 266 ppapi/shared_impl/ppb_input_event_shared.cc return (new PPB_InputEvent_Shared(type, instance, data))->GetReference(); data 287 ppapi/shared_impl/ppb_input_event_shared.cc InputEventData data; data 288 ppapi/shared_impl/ppb_input_event_shared.cc data.event_type = event_type; data 289 ppapi/shared_impl/ppb_input_event_shared.cc data.event_time_stamp = time_stamp; data 290 ppapi/shared_impl/ppb_input_event_shared.cc data.event_modifiers = modifiers; data 291 ppapi/shared_impl/ppb_input_event_shared.cc data.mouse_button = mouse_button; data 292 ppapi/shared_impl/ppb_input_event_shared.cc data.mouse_position = *mouse_position; data 293 ppapi/shared_impl/ppb_input_event_shared.cc data.mouse_click_count = click_count; data 294 ppapi/shared_impl/ppb_input_event_shared.cc data.mouse_movement = *mouse_movement; data 296 ppapi/shared_impl/ppb_input_event_shared.cc return (new PPB_InputEvent_Shared(type, instance, data))->GetReference(); data 308 ppapi/shared_impl/ppb_input_event_shared.cc InputEventData data; data 309 ppapi/shared_impl/ppb_input_event_shared.cc data.event_type = PP_INPUTEVENT_TYPE_WHEEL; data 310 ppapi/shared_impl/ppb_input_event_shared.cc data.event_time_stamp = time_stamp; data 311 ppapi/shared_impl/ppb_input_event_shared.cc data.event_modifiers = modifiers; data 312 ppapi/shared_impl/ppb_input_event_shared.cc data.wheel_delta = *wheel_delta; data 313 ppapi/shared_impl/ppb_input_event_shared.cc data.wheel_ticks = *wheel_ticks; data 314 ppapi/shared_impl/ppb_input_event_shared.cc data.wheel_scroll_by_page = PP_ToBool(scroll_by_page); data 316 ppapi/shared_impl/ppb_input_event_shared.cc return (new PPB_InputEvent_Shared(type, instance, data))->GetReference(); data 332 ppapi/shared_impl/ppb_input_event_shared.cc InputEventData data; data 333 ppapi/shared_impl/ppb_input_event_shared.cc data.event_type = event_type; data 334 ppapi/shared_impl/ppb_input_event_shared.cc data.event_time_stamp = time_stamp; data 335 ppapi/shared_impl/ppb_input_event_shared.cc data.event_modifiers = modifiers; data 336 ppapi/shared_impl/ppb_input_event_shared.cc return (new PPB_InputEvent_Shared(type, instance, data))->GetReference(); data 69 ppapi/shared_impl/ppb_input_event_shared.h const InputEventData& data); data 134 ppapi/shared_impl/ppb_opengles2_shared.cc const void* data, data 138 ppapi/shared_impl/ppb_opengles2_shared.cc ToGles2Impl(&enter)->BufferData(target, size, data, usage); data 146 ppapi/shared_impl/ppb_opengles2_shared.cc const void* data) { data 149 ppapi/shared_impl/ppb_opengles2_shared.cc ToGles2Impl(&enter)->BufferSubData(target, offset, size, data); data 220 ppapi/shared_impl/ppb_opengles2_shared.cc const void* data) { data 224 ppapi/shared_impl/ppb_opengles2_shared.cc target, level, internalformat, width, height, border, imageSize, data); data 237 ppapi/shared_impl/ppb_opengles2_shared.cc const void* data) { data 248 ppapi/shared_impl/ppb_opengles2_shared.cc data); data 37 ppapi/shared_impl/ppb_var_shared.cc PP_Var VarFromUtf8(const char* data, uint32_t len) { data 39 ppapi/shared_impl/ppb_var_shared.cc return StringVar::StringToPPVar(data, len); data 42 ppapi/shared_impl/ppb_var_shared.cc PP_Var VarFromUtf8_1_0(PP_Module /*module*/, const char* data, uint32_t len) { data 43 ppapi/shared_impl/ppb_var_shared.cc return VarFromUtf8(data, len); data 43 ppapi/shared_impl/ppb_view_shared.cc const ViewData& data) data 44 ppapi/shared_impl/ppb_view_shared.cc : Resource(type, instance), data_(data) {} data 37 ppapi/shared_impl/ppb_view_shared.h const ViewData& data); data 100 ppapi/shared_impl/private/net_address_private_impl.cc COMPILE_ASSERT(sizeof(reinterpret_cast<PP_NetAddress_Private*>(0)->data) >= data 112 ppapi/shared_impl/private/net_address_private_impl.cc return reinterpret_cast<NetAddress*>(addr->data); data 120 ppapi/shared_impl/resource_tracker.cc InstanceData& data = *found_instance->second; data 125 ppapi/shared_impl/resource_tracker.cc ResourceSet to_delete = data.resources; data 153 ppapi/shared_impl/resource_tracker.cc to_delete = data.resources; data 190 ppapi/shared_impl/unittest_utils.cc if (memcmp(expected_message->data(), data 191 ppapi/shared_impl/unittest_utils.cc local_actual_message.data(), data 25 ppapi/shared_impl/url_request_info_data.cc URLRequestInfoData::BodyItem::BodyItem(const std::string& data) data 27 ppapi/shared_impl/url_request_info_data.cc data(data), data 26 ppapi/shared_impl/url_request_info_data.h explicit BodyItem(const std::string& data); data 35 ppapi/shared_impl/url_request_info_data.h std::string data; data 149 ppapi/shared_impl/var.cc PP_Var StringVar::StringToPPVar(const char* data, uint32 len) { data 150 ppapi/shared_impl/var.cc scoped_refptr<StringVar> str(new StringVar(data, len)); data 202 ppapi/shared_impl/var_tracker.cc const void* data) { data 205 ppapi/shared_impl/var_tracker.cc ArrayBufferVar* array_buffer = MakeArrayBufferVar(size_in_bytes, data); data 210 ppapi/shared_impl/var_tracker.cc const void* data) { data 216 ppapi/shared_impl/var_tracker.cc memcpy(array_buffer->Map(), data, size_in_bytes); data 80 ppapi/shared_impl/var_tracker.h PP_Var MakeArrayBufferPPVar(uint32 size_in_bytes, const void* data); data 89 ppapi/shared_impl/var_tracker.h ArrayBufferVar* MakeArrayBufferVar(uint32 size_in_bytes, const void* data); data 186 ppapi/tests/extensions/socket/test_socket.cc &callback.output().data()); data 331 ppapi/tests/extensions/socket/test_socket.cc VarArrayBuffer data; data 354 ppapi/tests/extensions/socket/test_socket.cc data = recv_from_info.data(); data 360 ppapi/tests/extensions/socket/test_socket.cc static_cast<uint32_t>(result_code) != data.ByteLength()) { data 364 ppapi/tests/extensions/socket/test_socket.cc std::string output_string = ConvertFromArrayBuffer(&data); data 517 ppapi/tests/extensions/socket/test_socket.cc VarArrayBuffer data; data 540 ppapi/tests/extensions/socket/test_socket.cc data = read_info.data(); data 564 ppapi/tests/extensions/socket/test_socket.cc data = recv_from_info.data(); data 571 ppapi/tests/extensions/socket/test_socket.cc static_cast<uint32_t>(result_code) != data.ByteLength()) { data 576 ppapi/tests/extensions/socket/test_socket.cc std::string output_string = ConvertFromArrayBuffer(&data); data 615 ppapi/tests/extensions/socket/test_socket.cc VarArrayBuffer ConvertToArrayBuffer(const std::string data) { data 616 ppapi/tests/extensions/socket/test_socket.cc VarArrayBuffer array_buffer(data.size()); data 617 ppapi/tests/extensions/socket/test_socket.cc memcpy(array_buffer.Map(), data.c_str(), data.size()); data 42 ppapi/tests/pp_thread.h typedef void (PP_ThreadFunction)(void* data); data 87 ppapi/tests/pp_thread.h typedef DWORD (PP_WindowsThreadFunction)(void* data); data 177 ppapi/tests/test_browser_font.cc memset(image.data(), 0xFF, 4 * kSize.GetArea()); data 191 ppapi/tests/test_browser_font.cc const uint32_t* pixels = static_cast<const uint32_t*>(image.data()); data 46 ppapi/tests/test_buffer.cc unsigned char* bytes = static_cast<unsigned char *>(buffer.data()); data 90 ppapi/tests/test_buffer.cc if (buffer->data() == NULL) data 94 ppapi/tests/test_buffer.cc char* data = static_cast<char*>(buffer->data()); data 96 ppapi/tests/test_buffer.cc data[i] = 'X'; data 107 ppapi/tests/test_buffer.cc char* copy_data = static_cast<char*>(copy->data()); data 85 ppapi/tests/test_file_io.cc std::string* data, data 99 ppapi/tests/test_file_io.cc data->append(buf, callback.result()); data 108 ppapi/tests/test_file_io.cc std::string* data, data 123 ppapi/tests/test_file_io.cc data->append(output.begin(), output.end()); data 129 ppapi/tests/test_file_io.cc bool ReadEntireFileFromFileHandle(int fd, std::string* data) { data 132 ppapi/tests/test_file_io.cc data->clear(); data 139 ppapi/tests/test_file_io.cc data->append(buf, ret); data 147 ppapi/tests/test_file_io.cc const std::string& data, data 151 ppapi/tests/test_file_io.cc const char* buf = data.c_str(); data 152 ppapi/tests/test_file_io.cc int32_t size = data.size(); data 1032 ppapi/tests/test_file_io.cc ssize_t cnt = write(fd, msg.data(), msg.size()); data 1134 ppapi/tests/test_file_io.cc ssize_t cnt = write(fd, msg.data(), msg.size()); data 30 ppapi/tests/test_file_mapping.cc std::string* data, data 44 ppapi/tests/test_file_mapping.cc data->append(buf, callback.result()); data 53 ppapi/tests/test_file_mapping.cc const std::string& data, data 57 ppapi/tests/test_file_mapping.cc const char* buf = data.c_str(); data 58 ppapi/tests/test_file_mapping.cc int32_t size = data.size(); data 156 ppapi/tests/test_flash_clipboard.cc std::copy(rtf_string.data(), rtf_string.data() + rtf_string.size(), bytes); data 221 ppapi/tests/test_flash_clipboard.cc std::vector<pp::Var> data; data 223 ppapi/tests/test_flash_clipboard.cc data.push_back(pp::Var("plain text")); data 225 ppapi/tests/test_flash_clipboard.cc data.push_back(pp::Var("html")); data 230 ppapi/tests/test_flash_clipboard.cc data); data 235 ppapi/tests/test_flash_clipboard.cc ASSERT_TRUE(ReadPlainTextMatches(data[0].AsString())); data 236 ppapi/tests/test_flash_clipboard.cc ASSERT_TRUE(ReadHTMLMatches(data[1].AsString())); data 43 ppapi/tests/test_fullscreen.cc void FlushCallbackCheckImageData(void* data, int32_t result) { data 44 ppapi/tests/test_fullscreen.cc static_cast<TestFullscreen*>(data)->CheckPluginPaint(); data 222 ppapi/tests/test_fullscreen.cc uint32_t* pixels = static_cast<uint32_t*>(image.data()); data 314 ppapi/tests/test_graphics_2d.cc memset(image.data(), 0xFF, image.stride() * image.size().height() * 4); data 589 ppapi/tests/test_graphics_2d.cc !swapped.size().height() && !swapped.data()); data 197 ppapi/tests/test_net_address_private_untrusted.cc static const uint16_t buffer_size = sizeof(remote_address.data); data 35 ppapi/tests/test_pdf.cc pp::ImageData data = data 37 ppapi/tests/test_pdf.cc ASSERT_EQ(43, data.size().width()); data 38 ppapi/tests/test_pdf.cc ASSERT_EQ(42, data.size().height()); data 39 ppapi/tests/test_pdf.cc for (int i = 0; i < data.size().width(); ++i) { data 40 ppapi/tests/test_pdf.cc for (int j = 0; j < data.size().height(); ++j) { data 42 ppapi/tests/test_pdf.cc ASSERT_NE(0, *data.GetAddr32(point)); data 399 ppapi/tests/test_tcp_socket.cc const char* buffer = s.data(); data 416 ppapi/tests/test_tcp_socket.cc const char* buffer = s.data(); data 245 ppapi/tests/test_tcp_socket_private.cc const char* buffer = s.data(); data 48 ppapi/tests/test_truetype_font.cc const uint8_t* data = reinterpret_cast<const uint8_t*>(ptr); data 49 ppapi/tests/test_truetype_font.cc return (data[3] << 0) | (data[2] << 8) | (data[1] << 16) | (data[0] << 24); data 53 ppapi/tests/test_truetype_font.cc const uint8_t* data = reinterpret_cast<const uint8_t*>(ptr); data 54 ppapi/tests/test_truetype_font.cc return (data[1] << 0) | (data[0] << 8); data 35 ppapi/tests/test_url_loader.cc const std::string& data, data 39 ppapi/tests/test_url_loader.cc const char* buf = data.c_str(); data 40 ppapi/tests/test_url_loader.cc int32_t size = data.size(); data 154 ppapi/tests/test_url_loader.cc std::string* data) { data 167 ppapi/tests/test_url_loader.cc data->append(buf, callback.result()); data 238 ppapi/tests/test_url_loader.cc const std::string& data, data 256 ppapi/tests/test_url_loader.cc int32_t rv = WriteEntireBuffer(instance_->pp_instance(), &file_io, 0, data, data 345 ppapi/tests/test_url_loader.cc request.AppendDataToBody(postdata.data(), postdata.length()); data 396 ppapi/tests/test_url_loader.cc request.AppendDataToBody(postdata1.data(), postdata1.length()); data 398 ppapi/tests/test_url_loader.cc request.AppendDataToBody(postdata2.data(), postdata2.length()); data 418 ppapi/tests/test_url_loader.cc request.AppendDataToBody(postdata.data(), postdata.length()); data 435 ppapi/tests/test_url_loader.cc request.AppendDataToBody(postdata.data(), postdata.length()); data 479 ppapi/tests/test_url_loader.cc std::string data; data 480 ppapi/tests/test_url_loader.cc std::string error = ReadEntireFile(&reader, &data); data 485 ppapi/tests/test_url_loader.cc if (data.size() != expected_body.size()) data 487 ppapi/tests/test_url_loader.cc if (data != expected_body) data 31 ppapi/tests/test_url_loader.h std::string ReadEntireFile(pp::FileIO* file_io, std::string* data); data 38 ppapi/tests/test_url_loader.h const std::string& data, data 352 ppapi/tests/test_url_request.cc kInvalidResource, postdata.data(), postdata.length())); data 362 ppapi/tests/test_url_request.cc url_request, postdata.data(), postdata.length())); data 30 ppapi/tests/test_utils.cc } data = { 0x01020304 }; data 32 ppapi/tests/test_utils.cc return data.integer8[0] == 1; data 116 ppapi/thunk/ppb_ext_socket_thunk.cc PP_Var data, data 126 ppapi/thunk/ppb_ext_socket_thunk.cc input_args.push_back(data); data 152 ppapi/thunk/ppb_ext_socket_thunk.cc PP_Var data, data 164 ppapi/thunk/ppb_ext_socket_thunk.cc input_args.push_back(data); data 21 ppapi/thunk/ppb_gamepad_api.h PP_GamepadsSampleData* data) = 0; data 21 ppapi/thunk/ppb_gamepad_thunk.cc void Sample(PP_Instance instance, struct PP_GamepadsSampleData* data) { data 25 ppapi/thunk/ppb_gamepad_thunk.cc memset(data, 0, sizeof(*data)); data 28 ppapi/thunk/ppb_gamepad_thunk.cc enter.functions()->Sample(instance, data); data 31 ppapi/thunk/ppb_url_loader_api.h virtual int32_t Open(const URLRequestInfoData& data, data 23 ppapi/thunk/ppb_url_request_info_api.h virtual PP_Bool AppendDataToBody(const void* data, uint32_t len) = 0; data 43 ppapi/thunk/ppb_url_request_info_thunk.cc PP_Bool AppendDataToBody(PP_Resource request, const void* data, uint32_t len) { data 48 ppapi/thunk/ppb_url_request_info_thunk.cc return enter.object()->AppendDataToBody(data, len); data 29 ppapi/tools/pepper_hash_for_uma.cc uint32 data = base::Hash(argv[i], strlen(argv[i])); data 33 ppapi/tools/pepper_hash_for_uma.cc int hash = static_cast<int>(data & 0x7fffffff); data 981 ppapi/utility/completion_callback_factory.h CallbackData<Dispatcher>* data = data 985 ppapi/utility/completion_callback_factory.h data, data 986 ppapi/utility/completion_callback_factory.h data->dispatcher()->output()); data 35 ppapi/utility/threading/simple_thread.cc ThreadData* data = static_cast<ThreadData*>(void_data); data 36 ppapi/utility/threading/simple_thread.cc data->message_loop.AttachToCurrentThread(); data 38 ppapi/utility/threading/simple_thread.cc if (data->func) data 39 ppapi/utility/threading/simple_thread.cc data->func(data->message_loop, data->user_data); data 41 ppapi/utility/threading/simple_thread.cc data->message_loop.Run(); data 43 ppapi/utility/threading/simple_thread.cc delete data; data 96 ppapi/utility/threading/simple_thread.cc ThreadData* data = new ThreadData; data 97 ppapi/utility/threading/simple_thread.cc data->message_loop = message_loop_; data 98 ppapi/utility/threading/simple_thread.cc data->func = func; data 99 ppapi/utility/threading/simple_thread.cc data->user_data = user_data; data 102 ppapi/utility/threading/simple_thread.cc thread_ = CreateThread(NULL, stacksize_, &RunThread, data, 0, NULL); data 110 ppapi/utility/threading/simple_thread.cc if (setval != 0 || pthread_create(&thread_, &attr, &RunThread, data) != 0) { data 112 ppapi/utility/threading/simple_thread.cc delete data; data 123 ppapi/utility/websocket/websocket_api.cc int32_t WebSocketAPI::Send(const Var& data) { data 124 ppapi/utility/websocket/websocket_api.cc return impl_->SendMessage(data); data 68 ppapi/utility/websocket/websocket_api.h int32_t Send(const Var& data); data 351 printing/backend/cups_helper.cc printer_capabilities.data(), data 49 printing/backend/print_backend_win.cc reinterpret_cast<LPTSTR>(tmp.data()), NULL); data 43 printing/emf_win.cc LPARAM data) { data 44 printing/emf_win.cc bool* result = reinterpret_cast<bool*>(data); data 61 printing/emf_win.cc LPARAM data) { data 62 printing/emf_win.cc HDC bitmap_dc = *reinterpret_cast<HDC*>(data); data 51 printing/emf_win_unittest.cc std::vector<BYTE> data; data 61 printing/emf_win_unittest.cc EXPECT_TRUE(emf.GetDataAsVector(&data)); data 62 printing/emf_win_unittest.cc EXPECT_EQ(data.size(), size); data 67 printing/emf_win_unittest.cc EXPECT_TRUE(emf.InitFromData(&data.front(), size)); data 133 printing/emf_win_unittest.cc std::vector<BYTE> data; data 148 printing/emf_win_unittest.cc EXPECT_TRUE(emf.GetDataAsVector(&data)); data 149 printing/emf_win_unittest.cc EXPECT_EQ(data.size(), size); data 158 printing/emf_win_unittest.cc EXPECT_TRUE(emf.InitFromData(&data.front(), size)); data 178 printing/emf_win_unittest.cc std::vector<BYTE> data; data 188 printing/emf_win_unittest.cc EXPECT_TRUE(emf.GetDataAsVector(&data)); data 189 printing/emf_win_unittest.cc EXPECT_EQ(data.size(), size); data 23 printing/image.cc std::string data; data 24 printing/image.cc base::ReadFileToString(path, &data); data 27 printing/image.cc success = LoadPng(data); data 29 printing/image.cc success = LoadMetafile(data); data 151 printing/image.cc bool Image::LoadMetafile(const std::string& data) { data 152 printing/image.cc DCHECK(!data.empty()); data 154 printing/image.cc if (!metafile.InitFromData(data.data(), data 155 printing/image.cc base::checked_cast<uint32>(data.size()))) data 66 printing/image.h const uint32* data = reinterpret_cast<const uint32*>(&*data_.begin()); data 67 printing/image.h const uint32* data_row = data + y * row_length_ / sizeof(uint32); data 74 printing/image.h Image(const void* data, size_t size); data 78 printing/image.h bool LoadMetafile(const std::string& data); data 126 printing/pdf_metafile_skia.cc SkAutoDataUnref data(data_->pdf_stream_.copyToData()); data 127 printing/pdf_metafile_skia.cc memcpy(dst_buffer, data->bytes(), dst_buffer_size); data 133 printing/pdf_metafile_skia.cc SkAutoDataUnref data(data_->pdf_stream_.copyToData()); data 135 printing/pdf_metafile_skia.cc reinterpret_cast<const char*>(data->data()), data 191 printing/pdf_metafile_skia.cc SkAutoDataUnref data(data_->pdf_stream_.copyToData()); data 192 printing/pdf_metafile_skia.cc data_->pdf_cg_.InitFromData(data->bytes(), data->size()); data 208 printing/pdf_metafile_skia.cc SkAutoDataUnref data(data_->pdf_stream_.copyToData()); data 210 printing/pdf_metafile_skia.cc reinterpret_cast<const char*>(data->data()), data 241 printing/pdf_metafile_skia.cc SkAutoDataUnref data(pdf_stream.copyToData()); data 242 printing/pdf_metafile_skia.cc if (data->size() == 0) data 246 printing/pdf_metafile_skia.cc metafile->InitFromData(data->bytes(), data 247 printing/pdf_metafile_skia.cc base::checked_cast<uint32>(data->size())); data 135 remoting/android/java/src/org/chromium/chromoting/HostListLoader.java JSONObject data = new JSONObject(response).getJSONObject("data"); data 136 remoting/android/java/src/org/chromium/chromoting/HostListLoader.java if (data.has("items")) { data 137 remoting/android/java/src/org/chromium/chromoting/HostListLoader.java JSONArray hostsJson = data.getJSONArray("items"); data 425 remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java int[] data = new int[width * height]; data 427 remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java buffer.asIntBuffer().get(data, 0, data.length); data 428 remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java sCursorBitmap = Bitmap.createBitmap(data, width, height, Bitmap.Config.ARGB_8888); data 44 remoting/base/capabilities_unittest.cc HasCapabilityTestData data[] = { data 63 remoting/base/capabilities_unittest.cc for (size_t i = 0; i < arraysize(data); ++i) { data 65 remoting/base/capabilities_unittest.cc Tokenize(data[i].capabilities, " ", &caps); data 68 remoting/base/capabilities_unittest.cc EXPECT_EQ(HasCapability(JoinString(caps, " "), data[i].key), data 69 remoting/base/capabilities_unittest.cc data[i].result); data 77 remoting/base/capabilities_unittest.cc IntersectTestData data[] = { data 95 remoting/base/capabilities_unittest.cc for (size_t i = 0; i < arraysize(data); ++i) { data 97 remoting/base/capabilities_unittest.cc Tokenize(data[i].left, " ", &caps); data 100 remoting/base/capabilities_unittest.cc EXPECT_EQ(IntersectCapabilities(JoinString(caps, " "), data[i].right), data 101 remoting/base/capabilities_unittest.cc data[i].result); data 39 remoting/base/compound_buffer.cc DCHECK_GE(start, buffer->data()); data 49 remoting/base/compound_buffer.cc Append(buffer, buffer->data(), size); data 62 remoting/base/compound_buffer.cc DCHECK_GE(start, buffer->data()); data 72 remoting/base/compound_buffer.cc Prepend(buffer, buffer->data(), size); data 81 remoting/base/compound_buffer.cc void CompoundBuffer::AppendCopyOf(const char* data, int size) { data 83 remoting/base/compound_buffer.cc memcpy(buffer->data(), data, size); data 87 remoting/base/compound_buffer.cc void CompoundBuffer::PrependCopyOf(const char* data, int size) { data 89 remoting/base/compound_buffer.cc memcpy(buffer->data(), data, size); data 142 remoting/base/compound_buffer.cc CopyTo(result->data(), total_bytes_); data 146 remoting/base/compound_buffer.cc void CompoundBuffer::CopyTo(char* data, int size) const { data 147 remoting/base/compound_buffer.cc char* pos = data; data 150 remoting/base/compound_buffer.cc CHECK_LE(pos + it->size, data + size); data 208 remoting/base/compound_buffer.cc bool CompoundBufferInputStream::Next(const void** data, int* size) { data 213 remoting/base/compound_buffer.cc *data = chunk.start + current_chunk_position_; data 52 remoting/base/compound_buffer.h void AppendCopyOf(const char* data, int data_size); data 53 remoting/base/compound_buffer.h void PrependCopyOf(const char* data, int data_size); data 75 remoting/base/compound_buffer.h void CopyTo(char* data, int data_size) const; data 111 remoting/base/compound_buffer.h virtual bool Next(const void** data, int* size) OVERRIDE; data 38 remoting/base/compound_buffer_unittest.cc target_.Append(data_.get(), data_->data() + pos, size); data 42 remoting/base/compound_buffer_unittest.cc target_.AppendCopyOf(data_->data() + pos, size); data 46 remoting/base/compound_buffer_unittest.cc target_.Prepend(data_.get(), data_->data() + kDataSize - pos - size, size); data 50 remoting/base/compound_buffer_unittest.cc target_.PrependCopyOf(data_->data() + (kDataSize - pos - size), size); data 56 remoting/base/compound_buffer_unittest.cc EXPECT_TRUE(CompareData(copy, data_->data() + pos, size)); data 63 remoting/base/compound_buffer_unittest.cc EXPECT_TRUE(CompareData(cropped, data_->data() + pos, data 71 remoting/base/compound_buffer_unittest.cc EXPECT_TRUE(CompareData(cropped, data_->data(), data 79 remoting/base/compound_buffer_unittest.cc data_->data()[i] = i; data 103 remoting/base/compound_buffer_unittest.cc bool CompareData(const CompoundBuffer& buffer, char* data, int size) { data 106 remoting/base/compound_buffer_unittest.cc memcmp(buffer_data->data(), data, size) == 0; data 110 remoting/base/compound_buffer_unittest.cc void* data, size_t size) { data 111 remoting/base/compound_buffer_unittest.cc uint8* out = reinterpret_cast<uint8*>(data); data 143 remoting/base/compound_buffer_unittest.cc EXPECT_STREQ(str.data(), buffer.get()); data 166 remoting/base/compound_buffer_unittest.cc const char* data = kTestData.data(); data 169 remoting/base/compound_buffer_unittest.cc result->Append(new net::WrappedIOBuffer(data), size); data 170 remoting/base/compound_buffer_unittest.cc data += size; data 184 remoting/base/compound_buffer_unittest.cc EXPECT_TRUE(CompareData(target_, data_->data(), kDataSize)); data 189 remoting/base/compound_buffer_unittest.cc EXPECT_TRUE(CompareData(target_, data_->data(), kDataSize)); data 196 remoting/base/compound_buffer_unittest.cc EXPECT_TRUE(CompareData(target_, data_->data(), kDataSize)); data 201 remoting/base/compound_buffer_unittest.cc EXPECT_TRUE(CompareData(target_, data_->data(), kDataSize)); data 208 remoting/base/compound_buffer_unittest.cc EXPECT_TRUE(CompareData(target_, data_->data(), kDataSize)); data 213 remoting/base/compound_buffer_unittest.cc EXPECT_TRUE(CompareData(target_, data_->data(), kDataSize)); data 220 remoting/base/compound_buffer_unittest.cc EXPECT_TRUE(CompareData(target_, data_->data(), kDataSize)); data 225 remoting/base/compound_buffer_unittest.cc EXPECT_TRUE(CompareData(target_, data_->data(), kDataSize)); data 241 remoting/base/plugin_thread_task_runner.cc void PluginThreadTaskRunner::TaskSpringboard(void* data) { data 242 remoting/base/plugin_thread_task_runner.cc base::Closure* task = reinterpret_cast<base::Closure*>(data); data 29 remoting/base/plugin_thread_task_runner.h base::TimeDelta delay, void(function)(void*), void* data) = 0; data 87 remoting/base/plugin_thread_task_runner.h static void TaskSpringboard(void* data); data 69 remoting/base/socket_reader.cc void SocketReader::CallCallback(scoped_refptr<net::IOBuffer> data, int result) { data 70 remoting/base/socket_reader.cc read_result_callback_.Run(data, result); data 27 remoting/base/socket_reader.h typedef base::Callback<void(scoped_refptr<net::IOBuffer> data, data 42 remoting/base/socket_reader.h void CallCallback(scoped_refptr<net::IOBuffer> data, int result); data 14 remoting/base/typed_buffer_unittest.cc int data[1]; data 43 remoting/base/typed_buffer_unittest.cc (*buffer).data[9] = 0x12345678; data 46 remoting/base/typed_buffer_unittest.cc EXPECT_EQ(buffer->data[9], 0x12345678); data 97 remoting/base/typed_buffer_unittest.cc EXPECT_EQ(reinterpret_cast<Data*>(&buffer->data[9]), data 278 remoting/base/util.cc bool StringIsUtf8(const char* data, size_t length) { data 279 remoting/base/util.cc const char* ptr = data; data 280 remoting/base/util.cc const char* ptr_end = data + length; data 94 remoting/base/util.h bool StringIsUtf8(const char* data, size_t length); data 40 remoting/client/audio_player.cc DCHECK_EQ(packet->data(0).size() % (kChannels * kSampleSizeBytes), 0u); data 66 remoting/client/audio_player.cc queued_bytes_ += packet->data(0).size(); data 73 remoting/client/audio_player.cc queued_bytes_ -= queued_packets_.front()->data(0).size() - bytes_consumed_; data 84 remoting/client/audio_player.cc void* data) { data 85 remoting/client/audio_player.cc AudioPlayer* audio_player = static_cast<AudioPlayer*>(data); data 116 remoting/client/audio_player.cc if (queued_packets_.front()->data(0).size() == bytes_consumed_) { data 123 remoting/client/audio_player.cc const std::string& packet_data = queued_packets_.front()->data(0); data 127 remoting/client/audio_player.cc memcpy(next_sample, packet_data.data() + bytes_consumed_, bytes_to_copy); data 35 remoting/client/audio_player.h void* data); data 101 remoting/client/audio_player_unittest.cc std::string data; data 102 remoting/client/audio_player_unittest.cc data.resize(samples * kAudioSampleBytes, kDummyAudioData); data 103 remoting/client/audio_player_unittest.cc packet->add_data(data); data 247 remoting/client/jni/chromoting_jni_runtime.cc env, reinterpret_cast<const uint8*>(id.data()), id.size()); data 249 remoting/client/jni/chromoting_jni_runtime.cc env, reinterpret_cast<const uint8*>(secret.data()), secret.size()); data 276 remoting/client/jni/chromoting_jni_runtime.cc char* data = string_as_array(const_cast<std::string*>(&cursor_shape.data())); data 282 remoting/client/jni/chromoting_jni_runtime.cc env->NewDirectByteBuffer(data, cursor_total_bytes)); data 72 remoting/client/jni/jni_frame_consumer.cc CopyRGB32Rect(buffer->data(), buffer->stride(), buffer_rect, dest_buffer, data 225 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); data 226 remoting/client/plugin/chromoting_instance.cc data->SetInteger("apiVersion", kApiVersion); data 227 remoting/client/plugin/chromoting_instance.cc data->SetString("apiFeatures", kApiFeatures); data 228 remoting/client/plugin/chromoting_instance.cc data->SetInteger("apiMinVersion", kApiMinMessagingVersion); data 229 remoting/client/plugin/chromoting_instance.cc data->SetString("requestedCapabilities", kRequestedCapabilities); data 230 remoting/client/plugin/chromoting_instance.cc data->SetString("supportedCapabilities", kSupportedCapabilities); data 232 remoting/client/plugin/chromoting_instance.cc PostLegacyJsonMessage("hello", data.Pass()); data 302 remoting/client/plugin/chromoting_instance.cc base::DictionaryValue* data = NULL; data 306 remoting/client/plugin/chromoting_instance.cc !message_dict->GetDictionary("data", &data)) { data 312 remoting/client/plugin/chromoting_instance.cc HandleConnect(*data); data 314 remoting/client/plugin/chromoting_instance.cc HandleDisconnect(*data); data 316 remoting/client/plugin/chromoting_instance.cc HandleOnIncomingIq(*data); data 318 remoting/client/plugin/chromoting_instance.cc HandleReleaseAllKeys(*data); data 320 remoting/client/plugin/chromoting_instance.cc HandleInjectKeyEvent(*data); data 322 remoting/client/plugin/chromoting_instance.cc HandleRemapKey(*data); data 324 remoting/client/plugin/chromoting_instance.cc HandleTrapKey(*data); data 326 remoting/client/plugin/chromoting_instance.cc HandleSendClipboardItem(*data); data 328 remoting/client/plugin/chromoting_instance.cc HandleNotifyClientResolution(*data); data 330 remoting/client/plugin/chromoting_instance.cc HandlePauseVideo(*data); data 332 remoting/client/plugin/chromoting_instance.cc HandlePauseAudio(*data); data 336 remoting/client/plugin/chromoting_instance.cc HandleOnPinFetched(*data); data 338 remoting/client/plugin/chromoting_instance.cc HandleOnThirdPartyTokenFetched(*data); data 340 remoting/client/plugin/chromoting_instance.cc HandleRequestPairing(*data); data 342 remoting/client/plugin/chromoting_instance.cc HandleExtensionMessage(*data); data 380 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); data 381 remoting/client/plugin/chromoting_instance.cc data->SetInteger("width", size.width()); data 382 remoting/client/plugin/chromoting_instance.cc data->SetInteger("height", size.height()); data 384 remoting/client/plugin/chromoting_instance.cc data->SetInteger("x_dpi", dpi.x()); data 386 remoting/client/plugin/chromoting_instance.cc data->SetInteger("y_dpi", dpi.y()); data 387 remoting/client/plugin/chromoting_instance.cc PostLegacyJsonMessage("onDesktopSize", data.Pass()); data 407 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); data 408 remoting/client/plugin/chromoting_instance.cc data->Set("rects", rects_value.release()); data 409 remoting/client/plugin/chromoting_instance.cc PostLegacyJsonMessage("onDesktopShape", data.Pass()); data 415 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); data 416 remoting/client/plugin/chromoting_instance.cc data->SetString("state", ConnectionStateToString(state)); data 417 remoting/client/plugin/chromoting_instance.cc data->SetString("error", ConnectionErrorToString(error)); data 418 remoting/client/plugin/chromoting_instance.cc PostLegacyJsonMessage("onConnectionStatus", data.Pass()); data 431 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); data 432 remoting/client/plugin/chromoting_instance.cc data->SetString("tokenUrl", token_url.spec()); data 433 remoting/client/plugin/chromoting_instance.cc data->SetString("hostPublicKey", host_public_key); data 434 remoting/client/plugin/chromoting_instance.cc data->SetString("scope", scope); data 435 remoting/client/plugin/chromoting_instance.cc PostLegacyJsonMessage("fetchThirdPartyToken", data.Pass()); data 439 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); data 440 remoting/client/plugin/chromoting_instance.cc data->SetBoolean("ready", ready); data 441 remoting/client/plugin/chromoting_instance.cc PostLegacyJsonMessage("onConnectionReady", data.Pass()); data 446 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); data 449 remoting/client/plugin/chromoting_instance.cc data->SetString("message", message); data 450 remoting/client/plugin/chromoting_instance.cc PostLegacyJsonMessage("logDebugMessage", data.Pass()); data 454 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); data 455 remoting/client/plugin/chromoting_instance.cc data->SetString("capabilities", capabilities); data 456 remoting/client/plugin/chromoting_instance.cc PostLegacyJsonMessage("setCapabilities", data.Pass()); data 461 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); data 462 remoting/client/plugin/chromoting_instance.cc data->SetString("clientId", pairing_response.client_id()); data 463 remoting/client/plugin/chromoting_instance.cc data->SetString("sharedSecret", pairing_response.shared_secret()); data 464 remoting/client/plugin/chromoting_instance.cc PostLegacyJsonMessage("pairingResponse", data.Pass()); data 469 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); data 470 remoting/client/plugin/chromoting_instance.cc data->SetString("type", message.type()); data 471 remoting/client/plugin/chromoting_instance.cc data->SetString("data", message.data()); data 472 remoting/client/plugin/chromoting_instance.cc PostLegacyJsonMessage("extensionMessage", data.Pass()); data 483 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); data 484 remoting/client/plugin/chromoting_instance.cc data->SetBoolean("pairingSupported", pairing_supported); data 485 remoting/client/plugin/chromoting_instance.cc PostLegacyJsonMessage("fetchPin", data.Pass()); data 515 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); data 516 remoting/client/plugin/chromoting_instance.cc data->SetString("mimeType", event.mime_type()); data 517 remoting/client/plugin/chromoting_instance.cc data->SetString("item", event.data()); data 518 remoting/client/plugin/chromoting_instance.cc PostLegacyJsonMessage("injectClipboardItem", data.Pass()); data 541 remoting/client/plugin/chromoting_instance.cc cursor_shape.data().data()); data 575 remoting/client/plugin/chromoting_instance.cc uint8* dst_row_data = reinterpret_cast<uint8*>(cursor_image->data()); data 587 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); data 588 remoting/client/plugin/chromoting_instance.cc PostLegacyJsonMessage("onFirstFrameReceived", data.Pass()); data 591 remoting/client/plugin/chromoting_instance.cc void ChromotingInstance::HandleConnect(const base::DictionaryValue& data) { data 595 remoting/client/plugin/chromoting_instance.cc if (!data.GetString("hostJid", &config.host_jid) || data 596 remoting/client/plugin/chromoting_instance.cc !data.GetString("hostPublicKey", &config.host_public_key) || data 597 remoting/client/plugin/chromoting_instance.cc !data.GetString("localJid", &local_jid) || data 598 remoting/client/plugin/chromoting_instance.cc !data.GetString("authenticationMethods", &auth_methods) || data 600 remoting/client/plugin/chromoting_instance.cc !data.GetString("authenticationTag", &config.authentication_tag)) { data 604 remoting/client/plugin/chromoting_instance.cc data.GetString("clientPairingId", &config.client_pairing_id); data 605 remoting/client/plugin/chromoting_instance.cc data.GetString("clientPairedSecret", &config.client_paired_secret); data 612 remoting/client/plugin/chromoting_instance.cc if (!data.GetString("sharedSecret", &shared_secret)) { data 621 remoting/client/plugin/chromoting_instance.cc if (data.HasKey("capabilities")) { data 622 remoting/client/plugin/chromoting_instance.cc if (!data.GetString("capabilities", &config.capabilities)) { data 698 remoting/client/plugin/chromoting_instance.cc void ChromotingInstance::HandleDisconnect(const base::DictionaryValue& data) { data 714 remoting/client/plugin/chromoting_instance.cc void ChromotingInstance::HandleOnIncomingIq(const base::DictionaryValue& data) { data 716 remoting/client/plugin/chromoting_instance.cc if (!data.GetString("iq", &iq)) { data 728 remoting/client/plugin/chromoting_instance.cc const base::DictionaryValue& data) { data 734 remoting/client/plugin/chromoting_instance.cc const base::DictionaryValue& data) { data 737 remoting/client/plugin/chromoting_instance.cc if (!data.GetInteger("usbKeycode", &usb_keycode) || data 738 remoting/client/plugin/chromoting_instance.cc !data.GetBoolean("pressed", &is_pressed)) { data 752 remoting/client/plugin/chromoting_instance.cc void ChromotingInstance::HandleRemapKey(const base::DictionaryValue& data) { data 755 remoting/client/plugin/chromoting_instance.cc if (!data.GetInteger("fromKeycode", &from_keycode) || data 756 remoting/client/plugin/chromoting_instance.cc !data.GetInteger("toKeycode", &to_keycode)) { data 764 remoting/client/plugin/chromoting_instance.cc void ChromotingInstance::HandleTrapKey(const base::DictionaryValue& data) { data 767 remoting/client/plugin/chromoting_instance.cc if (!data.GetInteger("keycode", &keycode) || data 768 remoting/client/plugin/chromoting_instance.cc !data.GetBoolean("trap", &trap)) { data 777 remoting/client/plugin/chromoting_instance.cc const base::DictionaryValue& data) { data 780 remoting/client/plugin/chromoting_instance.cc if (!data.GetString("mimeType", &mime_type) || data 781 remoting/client/plugin/chromoting_instance.cc !data.GetString("item", &item)) { data 795 remoting/client/plugin/chromoting_instance.cc const base::DictionaryValue& data) { data 800 remoting/client/plugin/chromoting_instance.cc if (!data.GetInteger("width", &width) || data 801 remoting/client/plugin/chromoting_instance.cc !data.GetInteger("height", &height) || data 802 remoting/client/plugin/chromoting_instance.cc !data.GetInteger("x_dpi", &x_dpi) || data 803 remoting/client/plugin/chromoting_instance.cc !data.GetInteger("y_dpi", &y_dpi) || data 827 remoting/client/plugin/chromoting_instance.cc void ChromotingInstance::HandlePauseVideo(const base::DictionaryValue& data) { data 829 remoting/client/plugin/chromoting_instance.cc if (!data.GetBoolean("pause", &pause)) { data 841 remoting/client/plugin/chromoting_instance.cc void ChromotingInstance::HandlePauseAudio(const base::DictionaryValue& data) { data 843 remoting/client/plugin/chromoting_instance.cc if (!data.GetBoolean("pause", &pause)) { data 854 remoting/client/plugin/chromoting_instance.cc void ChromotingInstance::HandleOnPinFetched(const base::DictionaryValue& data) { data 856 remoting/client/plugin/chromoting_instance.cc if (!data.GetString("pin", &pin)) { data 869 remoting/client/plugin/chromoting_instance.cc const base::DictionaryValue& data) { data 872 remoting/client/plugin/chromoting_instance.cc if (!data.GetString("token", &token) || data 873 remoting/client/plugin/chromoting_instance.cc !data.GetString("sharedSecret", &shared_secret)) { data 886 remoting/client/plugin/chromoting_instance.cc const base::DictionaryValue& data) { data 888 remoting/client/plugin/chromoting_instance.cc if (!data.GetString("clientName", &client_name)) { data 901 remoting/client/plugin/chromoting_instance.cc const base::DictionaryValue& data) { data 904 remoting/client/plugin/chromoting_instance.cc if (!data.GetString("type", &type) || data 905 remoting/client/plugin/chromoting_instance.cc !data.GetString("data", &message_data)) { data 933 remoting/client/plugin/chromoting_instance.cc const pp::VarDictionary& data) { data 936 remoting/client/plugin/chromoting_instance.cc message.Set(pp::Var("data"), data); data 942 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data) { data 945 remoting/client/plugin/chromoting_instance.cc message->Set("data", data.release()); data 953 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); data 954 remoting/client/plugin/chromoting_instance.cc data->SetInteger("usbKeycode", usb_keycode); data 955 remoting/client/plugin/chromoting_instance.cc data->SetBoolean("pressed", pressed); data 956 remoting/client/plugin/chromoting_instance.cc PostLegacyJsonMessage("trappedKeyEvent", data.Pass()); data 960 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); data 961 remoting/client/plugin/chromoting_instance.cc data->SetString("iq", iq); data 962 remoting/client/plugin/chromoting_instance.cc PostLegacyJsonMessage("sendOutgoingIq", data.Pass()); data 975 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); data 977 remoting/client/plugin/chromoting_instance.cc data->SetDouble("videoBandwidth", stats->video_bandwidth()->Rate()); data 978 remoting/client/plugin/chromoting_instance.cc data->SetDouble("videoFrameRate", stats->video_frame_rate()->Rate()); data 979 remoting/client/plugin/chromoting_instance.cc data->SetDouble("captureLatency", stats->video_capture_ms()->Average()); data 980 remoting/client/plugin/chromoting_instance.cc data->SetDouble("encodeLatency", stats->video_encode_ms()->Average()); data 981 remoting/client/plugin/chromoting_instance.cc data->SetDouble("decodeLatency", stats->video_decode_ms()->Average()); data 982 remoting/client/plugin/chromoting_instance.cc data->SetDouble("renderLatency", stats->video_paint_ms()->Average()); data 983 remoting/client/plugin/chromoting_instance.cc data->SetDouble("roundtripLatency", stats->round_trip_ms()->Average()); data 984 remoting/client/plugin/chromoting_instance.cc PostLegacyJsonMessage("onPerfStats", data.Pass()); data 1083 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); data 1084 remoting/client/plugin/chromoting_instance.cc data->SetString("message", message); data 1085 remoting/client/plugin/chromoting_instance.cc PostLegacyJsonMessage("logDebugMessage", data.Pass()); data 1121 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); data 1122 remoting/client/plugin/chromoting_instance.cc data->SetString("format", format); data 1123 remoting/client/plugin/chromoting_instance.cc PostLegacyJsonMessage("mediaSourceReset", data.Pass()); data 193 remoting/client/plugin/chromoting_instance.h void HandleConnect(const base::DictionaryValue& data); data 194 remoting/client/plugin/chromoting_instance.h void HandleDisconnect(const base::DictionaryValue& data); data 195 remoting/client/plugin/chromoting_instance.h void HandleOnIncomingIq(const base::DictionaryValue& data); data 196 remoting/client/plugin/chromoting_instance.h void HandleReleaseAllKeys(const base::DictionaryValue& data); data 197 remoting/client/plugin/chromoting_instance.h void HandleInjectKeyEvent(const base::DictionaryValue& data); data 198 remoting/client/plugin/chromoting_instance.h void HandleRemapKey(const base::DictionaryValue& data); data 199 remoting/client/plugin/chromoting_instance.h void HandleTrapKey(const base::DictionaryValue& data); data 200 remoting/client/plugin/chromoting_instance.h void HandleSendClipboardItem(const base::DictionaryValue& data); data 201 remoting/client/plugin/chromoting_instance.h void HandleNotifyClientResolution(const base::DictionaryValue& data); data 202 remoting/client/plugin/chromoting_instance.h void HandlePauseVideo(const base::DictionaryValue& data); data 203 remoting/client/plugin/chromoting_instance.h void HandlePauseAudio(const base::DictionaryValue& data); data 204 remoting/client/plugin/chromoting_instance.h void HandleOnPinFetched(const base::DictionaryValue& data); data 205 remoting/client/plugin/chromoting_instance.h void HandleOnThirdPartyTokenFetched(const base::DictionaryValue& data); data 206 remoting/client/plugin/chromoting_instance.h void HandleRequestPairing(const base::DictionaryValue& data); data 207 remoting/client/plugin/chromoting_instance.h void HandleExtensionMessage(const base::DictionaryValue& data); data 217 remoting/client/plugin/chromoting_instance.h const pp::VarDictionary& data); data 226 remoting/client/plugin/chromoting_instance.h scoped_ptr<base::DictionaryValue> data); data 98 remoting/client/plugin/media_source_video_renderer.cc segment_->AddFrame(reinterpret_cast<const uint8_t*>(video_data.data()), data 127 remoting/client/plugin/media_source_video_renderer.cc if (!packet->data().size()) data 132 remoting/client/plugin/media_source_video_renderer.cc stats_.video_bandwidth()->Record(packet->data().size()); data 185 remoting/client/plugin/media_source_video_renderer.cc writer_->OnVideoFrame(packet->data()); data 43 remoting/client/plugin/pepper_packet_socket_factory.cc virtual int Send(const void* data, size_t data_size, data 45 remoting/client/plugin/pepper_packet_socket_factory.cc virtual int SendTo(const void* data, data 62 remoting/client/plugin/pepper_packet_socket_factory.cc scoped_refptr<net::IOBufferWithSize> data; data 104 remoting/client/plugin/pepper_packet_socket_factory.cc : data(new net::IOBufferWithSize(buffer_size)), data 106 remoting/client/plugin/pepper_packet_socket_factory.cc memcpy(data->data(), buffer, buffer_size); data 195 remoting/client/plugin/pepper_packet_socket_factory.cc int UdpPacketSocket::Send(const void* data, size_t data_size, data 202 remoting/client/plugin/pepper_packet_socket_factory.cc int UdpPacketSocket::SendTo(const void* data, data 225 remoting/client/plugin/pepper_packet_socket_factory.cc send_queue_.push_back(PendingPacket(data, data_size, pp_address)); data 266 remoting/client/plugin/pepper_packet_socket_factory.cc send_queue_.front().data->data(), send_queue_.front().data->size(), data 305 remoting/client/plugin/pepper_packet_socket_factory.cc send_queue_size_ -= send_queue_.front().data->size(); data 19 remoting/client/plugin/pepper_plugin_thread_delegate.cc base::TimeDelta delay, void(CDECL function)(void*), void* data) { data 27 remoting/client/plugin/pepper_plugin_thread_delegate.cc reinterpret_cast<PP_CompletionCallback_Func>(function), data), 0); data 22 remoting/client/plugin/pepper_plugin_thread_delegate.h base::TimeDelta delay, void(CDECL function)(void*), void* data) OVERRIDE; data 48 remoting/client/plugin/pepper_view.cc reinterpret_cast<uint8_t*>(buffer.data()), data 239 remoting/client/software_video_renderer.cc buffer->data(), buffer->stride(), &output_region); data 350 remoting/client/software_video_renderer.cc if (!packet->has_data() || packet->data().size() == 0) { data 359 remoting/client/software_video_renderer.cc stats_.video_bandwidth()->Record(packet->data().size()); data 26 remoting/codec/audio_decoder_verbatim.cc (packet->data(0).size() % data 148 remoting/codec/audio_encoder_opus.cc int samples_in_packet = packet->data(0).size() / kBytesPerSample / channels_; data 150 remoting/codec/audio_encoder_opus.cc reinterpret_cast<const int16*>(packet->data(0).data()); data 193 remoting/codec/audio_encoder_opus.cc std::string* data = encoded_packet->add_data(); data 194 remoting/codec/audio_encoder_opus.cc data->resize(kFrameSamples * kBytesPerSample * channels_); data 198 remoting/codec/audio_encoder_opus.cc reinterpret_cast<unsigned char*>(string_as_array(data)); data 200 remoting/codec/audio_encoder_opus.cc buffer, data->length()); data 206 remoting/codec/audio_encoder_opus.cc DCHECK_LE(result, static_cast<int>(data->length())); data 207 remoting/codec/audio_encoder_opus.cc data->resize(result); data 71 remoting/codec/audio_encoder_opus_unittest.cc std::vector<int16> data(samples * kChannels); data 73 remoting/codec/audio_encoder_opus_unittest.cc data[i * kChannels] = GetSampleValue(rate, frequency_hz, i + pos, 0); data 74 remoting/codec/audio_encoder_opus_unittest.cc data[i * kChannels + 1] = GetSampleValue(rate, frequency_hz, i + pos, 1); data 78 remoting/codec/audio_encoder_opus_unittest.cc packet->add_data(reinterpret_cast<char*>(&(data[0])), data 146 remoting/codec/audio_encoder_opus_unittest.cc const int16* data = data 147 remoting/codec/audio_encoder_opus_unittest.cc reinterpret_cast<const int16*>(decoded->data(i).data()); data 149 remoting/codec/audio_encoder_opus_unittest.cc received_data.end(), data, data 150 remoting/codec/audio_encoder_opus_unittest.cc data + decoded->data(i).size() / sizeof(int16)); data 131 remoting/codec/codec_test.cc const uint8* original = frame_->data() + offset; data 240 remoting/codec/codec_test.cc frame->data()[i] = rand() % 256; data 296 remoting/codec/codec_test.cc uint8* memory = frame->data() + data 336 remoting/codec/codec_test.cc uint8* p = frame->data() + j * frame->stride(); data 369 remoting/codec/codec_test.cc decoder_tester.VerifyResultsApprox(expected_result->data(), data 380 remoting/codec/codec_test.cc decoder_tester.VerifyResultsApprox(expected_result->data(), data 32 remoting/codec/video_decoder_verbatim.cc const char* in = packet.data().data(); data 52 remoting/codec/video_decoder_verbatim.cc if (in + rect_row_size > packet.data().data() + packet.data().size()) { data 62 remoting/codec/video_decoder_verbatim.cc if (in != packet.data().data() + packet.data().size()) { data 99 remoting/codec/video_decoder_vpx.cc codec_.get(), reinterpret_cast<const uint8*>(packet.data().data()), data 100 remoting/codec/video_decoder_vpx.cc packet.data().size(), NULL, 0); data 21 remoting/codec/video_encoder_verbatim.cc CHECK(frame.data()); data 51 remoting/codec/video_encoder_verbatim.cc const uint8_t* in = frame.data() + rect.top() * in_stride + data 199 remoting/codec/video_encoder_vpx.cc packet->set_data(vpx_packet->data.frame.buf, vpx_packet->data.frame.sz); data 328 remoting/codec/video_encoder_vpx.cc const uint8* rgb_data = frame.data(); data 63 remoting/host/audio_capturer_linux.cc scoped_refptr<base::RefCountedString> data) { data 67 remoting/host/audio_capturer_linux.cc reinterpret_cast<const int16*>(data->data().data()), data 68 remoting/host/audio_capturer_linux.cc data->data().size() / sizeof(int16))) { data 73 remoting/host/audio_capturer_linux.cc packet->add_data(data->data()); data 41 remoting/host/audio_capturer_linux.h virtual void OnDataRead(scoped_refptr<base::RefCountedString> data) OVERRIDE; data 238 remoting/host/audio_capturer_win.cc BYTE* data; data 241 remoting/host/audio_capturer_win.cc hr = audio_capture_client_->GetBuffer(&data, &frames, &flags, NULL, NULL); data 247 remoting/host/audio_capturer_win.cc reinterpret_cast<const int16*>(data), frames * kChannels)) { data 250 remoting/host/audio_capturer_win.cc packet->add_data(data, frames * wave_format_ex_->nBlockAlign); data 150 remoting/host/chromoting_messages.h IPC_STRUCT_TRAITS_MEMBER(data) data 197 remoting/host/client_session.cc reply.set_data(message.data().substr(0, 16)); data 202 remoting/host/client_session.cc gnubby_auth_handler_->DeliverClientMessage(message.data()); data 210 remoting/host/client_session.cc << message.type() << ": " << message.data(); data 241 remoting/host/client_session_unittest.cc memcmp(arg.data().data(), d, arg.data().size()) == 0); data 193 remoting/host/clipboard_win.cc if (!StringIsUtf8(event.data().c_str(), event.data().length())) { data 198 remoting/host/clipboard_win.cc base::string16 text = base::UTF8ToUTF16(ReplaceLfByCrLf(event.data())); data 217 remoting/host/clipboard_win.cc memcpy(text_global_locked, text.data(), text.size() * sizeof(WCHAR)); data 38 remoting/host/clipboard_x11.cc const std::string& data); data 89 remoting/host/clipboard_x11.cc x_server_clipboard_.SetClipboard(event.mime_type(), event.data()); data 110 remoting/host/clipboard_x11.cc const std::string& data) { data 113 remoting/host/clipboard_x11.cc event.set_data(data); data 98 remoting/host/config_file_watcher_unittest.cc std::string data("test"); data 99 remoting/host/config_file_watcher_unittest.cc EXPECT_NE(base::WriteFile(config_file_, data.c_str(), data 100 remoting/host/config_file_watcher_unittest.cc static_cast<int>(data.size())), -1); data 127 remoting/host/config_file_watcher_unittest.cc std::string data("test"); data 128 remoting/host/config_file_watcher_unittest.cc EXPECT_NE(base::WriteFile(config_file_, data.c_str(), data 129 remoting/host/config_file_watcher_unittest.cc static_cast<int>(data.size())), -1); data 75 remoting/host/desktop_shape_tracker_win.cc LPRGNDATA region_data = reinterpret_cast<LPRGNDATA>(buffer.data()); data 95 remoting/host/desktop_shape_tracker_win.cc EnumDesktopShapeData* data = reinterpret_cast<EnumDesktopShapeData*>(lparam); data 96 remoting/host/desktop_shape_tracker_win.cc HRGN desktop_region = data->desktop_region.Get(); data 97 remoting/host/desktop_shape_tracker_win.cc HRGN window_region = data->window_region.Get(); data 41 remoting/host/gnubby_auth_handler.h const std::string& data) const = 0; data 65 remoting/host/gnubby_auth_handler_posix.cc unsigned int GetCommandCode(const std::string& data) { data 66 remoting/host/gnubby_auth_handler_posix.cc return data.empty() ? -1 : static_cast<unsigned int>(data[0]); data 163 remoting/host/gnubby_auth_handler_posix.cc const std::string& data) const { data 171 remoting/host/gnubby_auth_handler_posix.cc for (std::string::const_iterator i = data.begin(); i != data.end(); ++i) { data 224 remoting/host/gnubby_auth_handler_posix.cc const char* data, data 232 remoting/host/gnubby_auth_handler_posix.cc gnubby_socket->AddRequestData(data, len); data 46 remoting/host/gnubby_auth_handler_posix.h const std::string& data) const OVERRIDE; data 52 remoting/host/gnubby_auth_handler_posix.h const char* data, data 84 remoting/host/gnubby_auth_handler_posix_unittest.cc MATCHER_P2(EqualsDataMessage, id, data, "") { data 86 remoting/host/gnubby_auth_handler_posix_unittest.cc std::string data_message = base::StringPrintf("\"data\":%s", data); data 89 remoting/host/gnubby_auth_handler_posix_unittest.cc arg.data().find("\"type\":\"data\"") != std::string::npos && data 90 remoting/host/gnubby_auth_handler_posix_unittest.cc arg.data().find(connection_id) != std::string::npos && data 91 remoting/host/gnubby_auth_handler_posix_unittest.cc arg.data().find(data_message) != std::string::npos); data 18 remoting/host/gnubby_auth_handler_win.cc const std::string& data) const OVERRIDE; data 42 remoting/host/gnubby_auth_handler_win.cc const std::string& data) data 35 remoting/host/gnubby_socket.cc void GnubbySocket::AddRequestData(const char* data, int data_len) { data 38 remoting/host/gnubby_socket.cc request_data_.insert(request_data_.end(), data, data + data_len); data 33 remoting/host/gnubby_socket.h void AddRequestData(const char* data, int data_len); data 45 remoting/host/gnubby_socket.h void SendResponse(const std::string& data); data 144 remoting/host/host_mock_objects.h void(int connection_id, const std::string& data)); data 295 remoting/host/it2me/it2me_native_messaging_host_unittest.cc input_write_handle_, message_json.data(), length); data 45 remoting/host/json_host_config.cc std::string data; data 46 remoting/host/json_host_config.cc base::JSONWriter::Write(values_.get(), &data); data 47 remoting/host/json_host_config.cc return data; data 126 remoting/host/linux/audio_pipe_reader.cc std::string data = left_over_bytes_; data 127 remoting/host/linux/audio_pipe_reader.cc size_t pos = data.size(); data 129 remoting/host/linux/audio_pipe_reader.cc data.resize(pos + bytes_to_read); data 131 remoting/host/linux/audio_pipe_reader.cc while (pos < data.size()) { data 133 remoting/host/linux/audio_pipe_reader.cc read(pipe_fd_, string_as_array(&data) + pos, data.size() - pos)); data 152 remoting/host/linux/audio_pipe_reader.cc left_over_bytes_.assign(data, pos - incomplete_samples_bytes, data 154 remoting/host/linux/audio_pipe_reader.cc data.resize(pos - incomplete_samples_bytes); data 156 remoting/host/linux/audio_pipe_reader.cc last_capture_position_ += data.size(); data 167 remoting/host/linux/audio_pipe_reader.cc base::RefCountedString::TakeString(&data); data 32 remoting/host/linux/audio_pipe_reader.h virtual void OnDataRead(scoped_refptr<base::RefCountedString> data) = 0; data 89 remoting/host/linux/x_server_clipboard.cc const std::string& data) { data 98 remoting/host/linux/x_server_clipboard.cc if (!StringIsUtf8(data.c_str(), data.length())) { data 103 remoting/host/linux/x_server_clipboard.cc data_ = data; data 177 remoting/host/linux/x_server_clipboard.cc unsigned char *data; data 180 remoting/host/linux/x_server_clipboard.cc &item_count, &after, &data); data 184 remoting/host/linux/x_server_clipboard.cc XFree(data); data 198 remoting/host/linux/x_server_clipboard.cc unsigned char *data; data 202 remoting/host/linux/x_server_clipboard.cc &item_count, &after, &data); data 211 remoting/host/linux/x_server_clipboard.cc data); data 212 remoting/host/linux/x_server_clipboard.cc XFree(data); data 284 remoting/host/linux/x_server_clipboard.cc const_cast<char*>(data_.data())), data 293 remoting/host/linux/x_server_clipboard.cc void* data) { data 297 remoting/host/linux/x_server_clipboard.cc finished = HandleSelectionTargetsEvent(event, format, item_count, data); data 300 remoting/host/linux/x_server_clipboard.cc finished = HandleSelectionStringEvent(event, format, item_count, data); data 310 remoting/host/linux/x_server_clipboard.cc void* data) { data 312 remoting/host/linux/x_server_clipboard.cc if (data && format == 32) { data 319 remoting/host/linux/x_server_clipboard.cc const long* targets = static_cast<const long*>(data); data 335 remoting/host/linux/x_server_clipboard.cc void* data) { data 336 remoting/host/linux/x_server_clipboard.cc if (event->property != selection_string_atom_ || !data || format != 8) data 339 remoting/host/linux/x_server_clipboard.cc std::string text(static_cast<char*>(data), item_count); data 34 remoting/host/linux/x_server_clipboard.h const std::string& data)> data 47 remoting/host/linux/x_server_clipboard.h void SetClipboard(const std::string& mime_type, const std::string& data); data 78 remoting/host/linux/x_server_clipboard.h void* data); data 86 remoting/host/linux/x_server_clipboard.h void* data); data 90 remoting/host/linux/x_server_clipboard.h void* data); data 38 remoting/host/linux/x_server_clipboard_unittest.cc const std::string& data) { data 39 remoting/host/linux/x_server_clipboard_unittest.cc clipboard_data_ = data; data 71 remoting/host/local_input_monitor_linux.cc static void ProcessReply(XPointer self, XRecordInterceptData* data); data 310 remoting/host/local_input_monitor_linux.cc XRecordInterceptData* data) { data 311 remoting/host/local_input_monitor_linux.cc if (data->category == XRecordFromServer) { data 312 remoting/host/local_input_monitor_linux.cc xEvent* event = reinterpret_cast<xEvent*>(data->data); data 315 remoting/host/local_input_monitor_linux.cc XRecordFreeData(data); data 38 remoting/host/native_messaging/native_messaging_reader_unittest.cc void WriteData(const char* data, int length); data 87 remoting/host/native_messaging/native_messaging_reader_unittest.cc WriteData(message.data(), length); data 90 remoting/host/native_messaging/native_messaging_reader_unittest.cc void NativeMessagingReaderTest::WriteData(const char* data, int length) { data 91 remoting/host/native_messaging/native_messaging_reader_unittest.cc int written = base::WritePlatformFileAtCurrentPos(write_handle_, data, data 92 remoting/host/native_messaging/native_messaging_writer.cc result = WriteUntilComplete(&write_stream_, message_json.data(), data 178 remoting/host/plugin/host_plugin.cc base::TimeDelta delay, void(function)(void*), void* data) OVERRIDE { data 180 remoting/host/plugin/host_plugin.cc g_npnetscape_funcs->pluginthreadasynccall(instance_, function, data); data 185 remoting/host/plugin/host_plugin.cc DelayedTask task = {function, data}; data 208 remoting/host/plugin/host_plugin.cc task.function(task.data); data 218 remoting/host/plugin/host_plugin.cc void* data; data 100 remoting/host/screen_capturer_fake.cc memset(frame->data(), 0xff, data 103 remoting/host/screen_capturer_fake.cc uint8* row = frame->data() + data 412 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::WritePlatformFileAtCurrentPos(input_write_handle_, message_json.data(), data 146 remoting/host/setup/service_client.cc std::string data; data 147 remoting/host/setup/service_client.cc source->GetResponseAsString(&data); data 148 remoting/host/setup/service_client.cc scoped_ptr<base::Value> message_value(base::JSONReader::Read(data)); data 29 remoting/host/shaped_screen_capturer_unittest.cc memset(frame->data(), 0, frame->stride() * kScreenSize); data 98 remoting/host/token_validator_base.cc data_.append(buffer_->data(), bytes_read); data 92 remoting/host/token_validator_factory_impl.cc post_body_.data(), post_body_.size())); data 106 remoting/host/video_scheduler.cc cursor_proto->set_data(cursor_shape->data); data 277 remoting/host/win/elevated_controller.cc unprivileged_config_str.data(), data 49 remoting/jingle_glue/chromium_socket_factory.cc virtual int Send(const void* data, size_t data_size, data 51 remoting/jingle_glue/chromium_socket_factory.cc virtual int SendTo(const void* data, size_t data_size, data 67 remoting/jingle_glue/chromium_socket_factory.cc scoped_refptr<net::IOBufferWithSize> data; data 102 remoting/jingle_glue/chromium_socket_factory.cc : data(new net::IOBufferWithSize(buffer_size)), data 104 remoting/jingle_glue/chromium_socket_factory.cc memcpy(data->data(), buffer, buffer_size); data 165 remoting/jingle_glue/chromium_socket_factory.cc int UdpPacketSocket::Send(const void* data, size_t data_size, data 172 remoting/jingle_glue/chromium_socket_factory.cc int UdpPacketSocket::SendTo(const void* data, size_t data_size, data 193 remoting/jingle_glue/chromium_socket_factory.cc send_queue_.push_back(PendingPacket(data, data_size, endpoint)); data 273 remoting/jingle_glue/chromium_socket_factory.cc packet.data.get(), data 274 remoting/jingle_glue/chromium_socket_factory.cc packet.data->size(), data 297 remoting/jingle_glue/chromium_socket_factory.cc send_queue_size_ -= send_queue_.front().data->size(); data 334 remoting/jingle_glue/chromium_socket_factory.cc SignalReadPacket(this, receive_buffer_->data(), result, address, data 31 remoting/jingle_glue/chromium_socket_factory_unittest.cc const char* data, size_t size, data 35 remoting/jingle_glue/chromium_socket_factory_unittest.cc last_packet_.assign(data, data + size); data 70 remoting/jingle_glue/chromium_socket_factory_unittest.cc sending_socket->SendTo(test_packet.data(), test_packet.size(), data 18 remoting/protocol/buffered_socket_writer.cc PendingPacket(scoped_refptr<net::IOBufferWithSize> data, data 20 remoting/protocol/buffered_socket_writer.cc : data(data), data 24 remoting/protocol/buffered_socket_writer.cc scoped_refptr<net::IOBufferWithSize> data; data 45 remoting/protocol/buffered_socket_writer.cc scoped_refptr<net::IOBufferWithSize> data, const base::Closure& done_task) { data 48 remoting/protocol/buffered_socket_writer.cc DCHECK(data.get()); data 54 remoting/protocol/buffered_socket_writer.cc queue_.push_back(new PendingPacket(data, done_task)); data 55 remoting/protocol/buffered_socket_writer.cc buffer_size_ += data->size(); data 183 remoting/protocol/buffered_socket_writer.cc current_buf_ = new net::DrainableIOBuffer(queue_.front()->data.get(), data 184 remoting/protocol/buffered_socket_writer.cc queue_.front()->data->size()); data 218 remoting/protocol/buffered_socket_writer.cc *buffer = queue_.front()->data.get(); data 219 remoting/protocol/buffered_socket_writer.cc *size = queue_.front()->data->size(); data 223 remoting/protocol/buffered_socket_writer.cc DCHECK_EQ(written, queue_.front()->data->size()); data 224 remoting/protocol/buffered_socket_writer.cc buffer_size_ -= queue_.front()->data->size(); data 58 remoting/protocol/buffered_socket_writer_unittest.cc test_buffer_->data()[i] = rand() % 256; data 59 remoting/protocol/buffered_socket_writer_unittest.cc test_buffer_2_->data()[i] = rand() % 256; data 76 remoting/protocol/buffered_socket_writer_unittest.cc EXPECT_EQ(0, memcmp(test_buffer_->data(), socket_->written_data().data(), data 78 remoting/protocol/buffered_socket_writer_unittest.cc EXPECT_EQ(0, memcmp(test_buffer_2_->data(), data 79 remoting/protocol/buffered_socket_writer_unittest.cc socket_->written_data().data() + test_buffer_->size(), data 93 remoting/protocol/buffered_socket_writer_unittest.cc EXPECT_EQ(0, memcmp(test_buffer_->data(), socket_->written_data().data(), data 95 remoting/protocol/buffered_socket_writer_unittest.cc EXPECT_EQ(0, memcmp(test_buffer_2_->data(), data 96 remoting/protocol/buffered_socket_writer_unittest.cc socket_->written_data().data() + test_buffer_->size(), data 152 remoting/protocol/buffered_socket_writer_unittest.cc EXPECT_EQ(0, memcmp(test_buffer_->data(), written_data_.data(), data 38 remoting/protocol/channel_multiplexer.cc bool is_empty() { return pos >= packet->data().size(); } data 41 remoting/protocol/channel_multiplexer.cc size = std::min(size, packet->data().size() - pos); data 42 remoting/protocol/channel_multiplexer.cc memcpy(buffer, packet->data().data() + pos, size); data 224 remoting/protocol/channel_multiplexer.cc if (packet->data().size() > 0) { data 260 remoting/protocol/channel_multiplexer.cc buffer->data() + pos, buffer_len); data 306 remoting/protocol/channel_multiplexer.cc packet->mutable_data()->assign(buffer->data(), size); data 125 remoting/protocol/channel_multiplexer_unittest.cc result->data()[i] = rand() % 256; data 49 remoting/protocol/client_control_dispatcher.cc if (cursor_shape.data().size() < cursor_total_bytes) { data 52 remoting/protocol/client_control_dispatcher.cc << cursor_shape.data().size() << " bytes"; data 44 remoting/protocol/clipboard_echo_filter.cc event.data() == client_latest_data_) { data 53 remoting/protocol/clipboard_echo_filter.cc client_latest_data_ = event.data(); data 18 remoting/protocol/clipboard_echo_filter_unittest.cc MATCHER_P2(EqualsClipboardEvent, mime_type, data, "") { data 19 remoting/protocol/clipboard_echo_filter_unittest.cc return arg.mime_type() == mime_type && arg.data() == data; data 23 remoting/protocol/clipboard_echo_filter_unittest.cc const std::string& data) { data 26 remoting/protocol/clipboard_echo_filter_unittest.cc event.set_data(data); data 17 remoting/protocol/clipboard_filter_unittest.cc MATCHER_P2(EqualsClipboardEvent, mime_type, data, "") { data 18 remoting/protocol/clipboard_filter_unittest.cc return arg.mime_type() == mime_type && arg.data() == data; data 22 remoting/protocol/clipboard_filter_unittest.cc const std::string& data) { data 25 remoting/protocol/clipboard_filter_unittest.cc event.set_data(data); data 49 remoting/protocol/connection_tester.cc EXPECT_EQ(0, memcmp(output_buffer_->data(), data 62 remoting/protocol/connection_tester.cc output_buffer_->data()[i] = static_cast<char>(i); data 183 remoting/protocol/connection_tester.cc packet->data()[i] = static_cast<char>(i); data 187 remoting/protocol/connection_tester.cc memcpy(packet->data(), &packets_sent_, sizeof(packets_sent_)); data 248 remoting/protocol/connection_tester.cc memcpy(&packet_id, read_buffer_->data(), sizeof(packet_id)); data 252 remoting/protocol/connection_tester.cc if (memcmp(read_buffer_->data(), sent_packets_[packet_id]->data(), data 38 remoting/protocol/fake_authenticator.cc write_buf->data()[0] = 0; data 37 remoting/protocol/fake_session.cc void FakeSocket::AppendInputData(const std::vector<char>& data) { data 39 remoting/protocol/fake_session.cc input_data_.insert(input_data_.end(), data.begin(), data.end()); data 46 remoting/protocol/fake_session.cc memcpy(read_buffer_->data(), data 73 remoting/protocol/fake_session.cc memcpy(buf->data(), &(*input_data_.begin()) + input_pos_, result); data 128 remoting/protocol/fake_session.cc buf->data(), buf->data() + buf_len); data 135 remoting/protocol/fake_session.cc std::vector<char>(buf->data(), buf->data() + buf_len))); data 225 remoting/protocol/fake_session.cc void FakeUdpSocket::AppendInputPacket(const char* data, int data_size) { data 228 remoting/protocol/fake_session.cc input_packets_.back().assign(data, data + data_size); data 234 remoting/protocol/fake_session.cc memcpy(read_buffer_->data(), data, result); data 247 remoting/protocol/fake_session.cc memcpy(buf->data(), &(*input_packets_[input_pos_].begin()), result); data 263 remoting/protocol/fake_session.cc written_packets_.back().assign(buf->data(), buf->data() + buf_len); data 50 remoting/protocol/fake_session.h void AppendInputData(const std::vector<char>& data); data 121 remoting/protocol/fake_session.h void AppendInputPacket(const char* data, int data_size); data 23 remoting/protocol/message_decoder.cc void MessageDecoder::AddData(scoped_refptr<net::IOBuffer> data, data 25 remoting/protocol/message_decoder.cc buffer_.Append(data.get(), data_size); data 40 remoting/protocol/message_decoder.h void AddData(scoped_refptr<net::IOBuffer> data, int data_size); data 26 remoting/protocol/message_decoder_unittest.cc buffer->append(encoded_msg->data(), encoded_msg->size()); data 72 remoting/protocol/message_decoder_unittest.cc memcpy(buffer->data(), test_data + pos, read); data 87 remoting/protocol/message_reader.cc void MessageReader::OnDataReceived(net::IOBuffer* data, int data_size) { data 89 remoting/protocol/message_reader.cc message_decoder_.AddData(data, data_size); data 52 remoting/protocol/message_reader.h void OnDataReceived(net::IOBuffer* data, int data_size); data 84 remoting/protocol/message_reader_unittest.cc std::string data = std::string(4, ' ') + message; data 85 remoting/protocol/message_reader_unittest.cc talk_base::SetBE32(const_cast<char*>(data.data()), message.size()); data 87 remoting/protocol/message_reader_unittest.cc socket_.AppendInputData(std::vector<char>(data.begin(), data.end())); data 92 remoting/protocol/message_reader_unittest.cc buffer->CopyTo(const_cast<char*>(result.data()), result.size()); data 69 remoting/protocol/ssl_hmac_channel_authenticator.cc local_cert_.data(), local_cert_.length()); data 260 remoting/protocol/ssl_hmac_channel_authenticator.cc return crypto::SecureMemEqual(received_auth_bytes.data(), data 23 remoting/protocol/util.cc talk_base::SetBE32(buffer->data(), msg.GetCachedSize()); data 25 remoting/protocol/util.cc reinterpret_cast<uint8*>(buffer->data()) + kExtraBytes); data 212 remoting/tools/winext/manifest/rdp.h HRESULT OnChannelReceivedData(BSTR chanName, BSTR data); data 9 rlz/chromeos/lib/machine_id_chromeos.cc bool GetRawMachineId(base::string16* data, int* more_data) { data 11 rlz/ios/lib/machine_id_ios.cc bool GetRawMachineId(base::string16* data, int* more_data) { data 12 rlz/ios/lib/machine_id_ios.cc *data = base::ASCIIToUTF16(ios::device_util::GetDeviceIdentifier(NULL)); data 15 rlz/lib/crc32_unittest.cc const char* data; data 27 rlz/lib/crc32_unittest.cc for (int i = 0; kData[i].data; i++) data 29 rlz/lib/crc32_unittest.cc rlz_lib::Crc32(reinterpret_cast<const unsigned char*>(kData[i].data), data 35 rlz/lib/crc32_unittest.cc const char* data; data 48 rlz/lib/crc32_unittest.cc for (int i = 0; kData[i].data; i++) { data 49 rlz/lib/crc32_unittest.cc EXPECT_TRUE(rlz_lib::Crc32(kData[i].data, &crc)); data 51 rlz/lib/crc8.cc bool Crc8::Generate(const unsigned char *data, int length, data 57 rlz/lib/crc8.cc if (!data) data 65 rlz/lib/crc8.cc crc = kCrcTable[(data[i] ^ crc) & 0xFFU]; data 72 rlz/lib/crc8.cc bool Crc8::Verify(const unsigned char* data, int length, data 78 rlz/lib/crc8.cc if (!data) data 82 rlz/lib/crc8.cc if (!Generate(data, length, &calculated_crc)) data 14 rlz/lib/crc8.h static bool Generate(const unsigned char* data, data 17 rlz/lib/crc8.h static bool Verify(const unsigned char* data, data 24 rlz/lib/crc8_unittest.cc } data[] = { data 34 rlz/lib/crc8_unittest.cc for (size_t i = 0; i < sizeof(data) / sizeof(data[0]); ++i) { data 35 rlz/lib/crc8_unittest.cc bytes = reinterpret_cast<unsigned char*>(data[i].string); data 38 rlz/lib/crc8_unittest.cc length = strlen(data[i].string); data 42 rlz/lib/crc8_unittest.cc EXPECT_TRUE(crc == data[i].external_crc); data 47 rlz/lib/crc8_unittest.cc data[i].string[data[i].random_byte] = data[i].corrupt_value; data 24 rlz/lib/machine_id.h bool GetRawMachineId(base::string16* data, int* more_data); data 69 rlz/lib/string_utils.cc bool BytesToString(const unsigned char* data, data 76 rlz/lib/string_utils.cc if (data_len < 1 || !data) data 85 rlz/lib/string_utils.cc string->at(2 * index) = kHex[data[index] >> 4]; // high digit data 86 rlz/lib/string_utils.cc string->at(2 * index + 1) = kHex[data[index] & 0x0F]; // low digit data 16 rlz/lib/string_utils.h bool BytesToString(const unsigned char* data, data 58 rlz/lib/string_utils_unittest.cc unsigned char data[] = {0x1E, 0x00, 0x21, 0x67, 0xFF}; data 62 rlz/lib/string_utils_unittest.cc EXPECT_FALSE(rlz_lib::BytesToString(data, 5, NULL)); data 65 rlz/lib/string_utils_unittest.cc EXPECT_TRUE(rlz_lib::BytesToString(data, 5, &result)); data 67 rlz/lib/string_utils_unittest.cc EXPECT_TRUE(rlz_lib::BytesToString(data, 4, &result)); data 121 rlz/mac/lib/machine_id_mac.cc bool GetRawMachineId(base::string16* data, int* more_data) { data 124 rlz/mac/lib/machine_id_mac.cc data->clear(); data 126 rlz/mac/lib/machine_id_mac.cc *data += base::ASCIIToUTF16( data 137 rlz/mac/lib/machine_id_mac.cc if (!data->empty()) data 138 rlz/mac/lib/machine_id_mac.cc *data += base::UTF8ToUTF16(" "); data 139 rlz/mac/lib/machine_id_mac.cc *data += base::UTF8ToUTF16("serial:") + base::SysCFStringRefToUTF16(serial); data 38 rlz/test/rlz_test_helpers.cc std::vector<uint8> data; data 46 rlz/test/rlz_test_helpers.cc void ReadRegistryTree(const base::win::RegKey& src, RegistryKeyData* data) { data 50 rlz/test/rlz_test_helpers.cc data->values.clear(); data 51 rlz/test/rlz_test_helpers.cc data->values.reserve(i.ValueCount()); data 53 rlz/test/rlz_test_helpers.cc RegistryValue& value = *data->values.insert(data->values.end(), data 55 rlz/test/rlz_test_helpers.cc const uint8* data = reinterpret_cast<const uint8*>(i.Value()); data 58 rlz/test/rlz_test_helpers.cc value.data.assign(data, data + i.ValueSize()); data 66 rlz/test/rlz_test_helpers.cc &data->keys[base::string16(i.Name())]); data 70 rlz/test/rlz_test_helpers.cc void WriteRegistryTree(const RegistryKeyData& data, base::win::RegKey* dest) { data 72 rlz/test/rlz_test_helpers.cc for (size_t i = 0; i < data.values.size(); ++i) { data 73 rlz/test/rlz_test_helpers.cc const RegistryValue& value = data.values[i]; data 75 rlz/test/rlz_test_helpers.cc value.data.size() ? &value.data[0] : NULL, data 76 rlz/test/rlz_test_helpers.cc static_cast<DWORD>(value.data.size()), data 82 rlz/test/rlz_test_helpers.cc data.keys.begin(); data 83 rlz/test/rlz_test_helpers.cc iter != data.keys.end(); ++iter) { data 101 rlz/test/rlz_test_helpers.cc RegistryKeyData data; data 112 rlz/test/rlz_test_helpers.cc KEY_READ), &data); data 119 rlz/test/rlz_test_helpers.cc WriteRegistryTree(data, &base::win::RegKey(HKEY_LOCAL_MACHINE, data 25 sandbox/linux/seccomp-bpf/basicblock.h Less(const T& data, data 26 sandbox/linux/seccomp-bpf/basicblock.h int (*cmp)(const BasicBlock*, const BasicBlock*, const T& data)) data 27 sandbox/linux/seccomp-bpf/basicblock.h : data_(data), cmp_(cmp) {} data 220 sandbox/linux/seccomp-bpf/demo.cc intptr_t DefaultHandler(const struct arch_seccomp_data& data, void *) { data 229 sandbox/linux/seccomp-bpf/demo.cc itoa_r(data.nr, ptr, sizeof(buf) - (ptr - buf)); data 203 sandbox/linux/seccomp-bpf/syscall.cc register const intptr_t *data __asm__("r12") = args; data 210 sandbox/linux/seccomp-bpf/syscall.cc : "0"(ret), "r"(data) data 218 sandbox/linux/seccomp-bpf/syscall.cc register const intptr_t *data __asm__("r6") = args; data 223 sandbox/linux/seccomp-bpf/syscall.cc : "0"(inout), "r"(data) data 187 sandbox/linux/seccomp-bpf/trap.cc struct arch_seccomp_data data = { data 198 sandbox/linux/seccomp-bpf/trap.cc rc = err.fnc_(data, err.aux_); data 20 sandbox/linux/seccomp-bpf/verifier.cc : program(p), data(d), ip(0), accumulator(0), acc_is_valid(false) {} data 22 sandbox/linux/seccomp-bpf/verifier.cc const struct arch_seccomp_data& data; data 33 sandbox/linux/seccomp-bpf/verifier.cc const struct arch_seccomp_data& data) { data 39 sandbox/linux/seccomp-bpf/verifier.cc (data.args[code.argno()] >> 32) && data 40 sandbox/linux/seccomp-bpf/verifier.cc (data.args[code.argno()] & 0xFFFFFFFF80000000ull) != data 48 sandbox/linux/seccomp-bpf/verifier.cc ? uint32_t(data.args[code.argno()]) data 49 sandbox/linux/seccomp-bpf/verifier.cc : data.args[code.argno()]) == code.value() data 52 sandbox/linux/seccomp-bpf/verifier.cc data); data 56 sandbox/linux/seccomp-bpf/verifier.cc ? uint32_t(data.args[code.argno()]) data 57 sandbox/linux/seccomp-bpf/verifier.cc : data.args[code.argno()]) & data 61 sandbox/linux/seccomp-bpf/verifier.cc data); data 65 sandbox/linux/seccomp-bpf/verifier.cc ? uint32_t(data.args[code.argno()]) data 66 sandbox/linux/seccomp-bpf/verifier.cc : data.args[code.argno()]) & data 70 sandbox/linux/seccomp-bpf/verifier.cc data); data 81 sandbox/linux/seccomp-bpf/verifier.cc struct arch_seccomp_data* data, data 87 sandbox/linux/seccomp-bpf/verifier.cc uint32_t computed_ret = Verifier::EvaluateBPF(program, *data, err); data 90 sandbox/linux/seccomp-bpf/verifier.cc } else if (computed_ret != EvaluateErrorCode(sandbox, root_code, *data)) { data 110 sandbox/linux/seccomp-bpf/verifier.cc data->args[code.argno()] = code.value(); data 112 sandbox/linux/seccomp-bpf/verifier.cc sandbox, program, data, root_code, *code.passed(), err)) { data 118 sandbox/linux/seccomp-bpf/verifier.cc data->args[code.argno()] = code.value() ^ 0x55AA55AA; data 120 sandbox/linux/seccomp-bpf/verifier.cc sandbox, program, data, root_code, *code.failed(), err)) { data 137 sandbox/linux/seccomp-bpf/verifier.cc data->args[code.argno()] = 0x100000000ull; data 140 sandbox/linux/seccomp-bpf/verifier.cc data, data 153 sandbox/linux/seccomp-bpf/verifier.cc data->args[code.argno()] = code.value() ^ 0x55AA55AA00000000ull; data 155 sandbox/linux/seccomp-bpf/verifier.cc sandbox, program, data, root_code, *code.failed(), err)) { data 194 sandbox/linux/seccomp-bpf/verifier.cc data->args[code.argno()] = code.value() & uintptr_t(-1); data 196 sandbox/linux/seccomp-bpf/verifier.cc sandbox, program, data, root_code, passed, err)) { data 199 sandbox/linux/seccomp-bpf/verifier.cc data->args[code.argno()] = uintptr_t(-1); data 201 sandbox/linux/seccomp-bpf/verifier.cc sandbox, program, data, root_code, passed, err)) { data 204 sandbox/linux/seccomp-bpf/verifier.cc data->args[code.argno()] = 0; data 206 sandbox/linux/seccomp-bpf/verifier.cc sandbox, program, data, root_code, failed, err)) { data 230 sandbox/linux/seccomp-bpf/verifier.cc reinterpret_cast<const char*>(&state->data) + insn.k, data 377 sandbox/linux/seccomp-bpf/verifier.cc struct arch_seccomp_data data = {static_cast<int>(sysnum), data 391 sandbox/linux/seccomp-bpf/verifier.cc if (!VerifyErrorCode(sandbox, program, &data, code, code, err)) { data 399 sandbox/linux/seccomp-bpf/verifier.cc const struct arch_seccomp_data& data, data 406 sandbox/linux/seccomp-bpf/verifier.cc for (State state(program, data); !*err; ++state.ip) { data 40 sandbox/linux/seccomp-bpf/verifier.h const struct arch_seccomp_data& data, data 400 sandbox/linux/services/broker_process.cc ssize_t sent = UnixDomainSocket::SendMsg(reply_ipc, write_pickle.data(), data 42 sandbox/win/src/handle_inheritance_test.cc std::string data; data 43 sandbox/win/src/handle_inheritance_test.cc EXPECT_TRUE(base::ReadFileToString(base::FilePath(temp_file_name), &data)); data 46 sandbox/win/src/handle_inheritance_test.cc EXPECT_EQ("Example output to stdout\r\n", data); data 48 sandbox/win/src/handle_inheritance_test.cc EXPECT_EQ("", data); data 235 sandbox/win/src/interception.cc bool InterceptionManager::SetupDllInfo(const InterceptionData& data, data 246 sandbox/win/src/interception.cc (data.dll.size() + 1) * sizeof(wchar_t); data 255 sandbox/win/src/interception.cc dll_info->unload_module = (data.type == INTERCEPTION_UNLOAD_MODULE); data 259 sandbox/win/src/interception.cc data.dll._Copy_s(dll_info->dll_name, data.dll.size(), data.dll.size()); data 260 sandbox/win/src/interception.cc dll_info->dll_name[data.dll.size()] = L'\0'; data 265 sandbox/win/src/interception.cc bool InterceptionManager::SetupInterceptionInfo(const InterceptionData& data, data 274 sandbox/win/src/interception.cc (data.function != kUnloadDLLDummyFunction)) { data 281 sandbox/win/src/interception.cc size_t name_bytes = data.function.size(); data 282 sandbox/win/src/interception.cc size_t interceptor_bytes = data.interceptor.size(); data 296 sandbox/win/src/interception.cc function->type = data.type; data 297 sandbox/win/src/interception.cc function->id = data.id; data 298 sandbox/win/src/interception.cc function->interceptor_address = data.interceptor_address; data 301 sandbox/win/src/interception.cc data.function._Copy_s(names, name_bytes, name_bytes); data 306 sandbox/win/src/interception.cc data.interceptor._Copy_s(names, interceptor_bytes, interceptor_bytes); data 349 sandbox/win/src/interception.cc const InterceptionData& data) const { data 350 sandbox/win/src/interception.cc if (INTERCEPTION_INVALID == data.type) data 353 sandbox/win/src/interception.cc if (INTERCEPTION_SERVICE_CALL == data.type) data 356 sandbox/win/src/interception.cc if (data.type >= INTERCEPTION_LAST) data 360 sandbox/win/src/interception.cc if (ntdll == data.dll) data 171 sandbox/win/src/interception.h bool SetupDllInfo(const InterceptionData& data, data 179 sandbox/win/src/interception.h bool SetupInterceptionInfo(const InterceptionData& data, void** buffer, data 185 sandbox/win/src/interception.h bool IsInterceptionPerformedByChild(const InterceptionData& data) const; data 57 sandbox/win/src/interception_internal.h char data[kMaxThunkDataBytes]; data 73 sandbox/win/src/policy_low_level.cc PolicyBuffer* current_buffer = &policy_store_->data[0]; data 74 sandbox/win/src/policy_low_level.h PolicyBuffer data[1]; data 172 sandbox/win/src/sharedmem_ipc_server.cc scoped_ptr<base::string16> data(new base::string16); data 173 sandbox/win/src/sharedmem_ipc_server.cc if (!params->GetParameterStr(i, data.get())) { data 178 sandbox/win/src/sharedmem_ipc_server.cc args[i] = data.release(); data 182 sandbox/win/src/sharedmem_ipc_server.cc uint32 data; data 183 sandbox/win/src/sharedmem_ipc_server.cc if (!params->GetParameter32(i, &data)) { data 187 sandbox/win/src/sharedmem_ipc_server.cc IPCInt ipc_int(data); data 192 sandbox/win/src/sharedmem_ipc_server.cc void* data; data 193 sandbox/win/src/sharedmem_ipc_server.cc if (!params->GetParameterVoidPtr(i, &data)) { data 197 sandbox/win/src/sharedmem_ipc_server.cc args[i] = data; data 43 sandbox/win/tests/common/test_utils.cc REPARSE_DATA_BUFFER* data = reinterpret_cast<REPARSE_DATA_BUFFER*>(buffer); data 45 sandbox/win/tests/common/test_utils.cc data->ReparseTag = 0xa0000003; data 46 sandbox/win/tests/common/test_utils.cc memcpy(data->MountPointReparseBuffer.PathBuffer, target, size_target + 2); data 47 sandbox/win/tests/common/test_utils.cc data->MountPointReparseBuffer.SubstituteNameLength = size_target; data 48 sandbox/win/tests/common/test_utils.cc data->MountPointReparseBuffer.PrintNameOffset = size_target + 2; data 49 sandbox/win/tests/common/test_utils.cc data->ReparseDataLength = size_target + 4 + 8; data 51 sandbox/win/tests/common/test_utils.cc int data_size = data->ReparseDataLength + 8; data 64 sandbox/win/tests/common/test_utils.cc REPARSE_DATA_BUFFER data = {0}; data 65 sandbox/win/tests/common/test_utils.cc data.ReparseTag = 0xa0000003; data 66 sandbox/win/tests/common/test_utils.cc if (!DeviceIoControl(source, FSCTL_DELETE_REPARSE_POINT, &data, 8, NULL, 0, data 20 skia/ext/SkDiscardableMemory_chrome.h virtual void* data() OVERRIDE; data 159 skia/ext/benchmarking_canvas.cc virtual void drawData(const void* data, size_t length) OVERRIDE { data 161 skia/ext/benchmarking_canvas.cc SkProxyCanvas::drawData(data, length); data 146 skia/ext/bitmap_platform_device_cairo.cc uint8_t* data) { data 148 skia/ext/bitmap_platform_device_cairo.cc data, CAIRO_FORMAT_ARGB32, width, height, data 202 skia/ext/bitmap_platform_device_cairo.cc uint8_t* data, OnFailureType failureType) { data 204 skia/ext/bitmap_platform_device_cairo.cc BitmapPlatformDevice::Create(width, height, is_opaque, data)); data 84 skia/ext/bitmap_platform_device_cairo.h uint8_t* data); data 24 skia/ext/bitmap_platform_device_mac.cc static CGContextRef CGContextForData(void* data, int width, int height) { data 38 skia/ext/bitmap_platform_device_mac.cc CGBitmapContextCreate(data, width, height, 8, width * 4, data 109 skia/ext/bitmap_platform_device_mac.cc void* data; data 111 skia/ext/bitmap_platform_device_mac.cc data = CGBitmapContextGetData(context); data 112 skia/ext/bitmap_platform_device_mac.cc bitmap.setPixels(data); data 116 skia/ext/bitmap_platform_device_mac.cc data = bitmap.getPixels(); data 129 skia/ext/bitmap_platform_device_mac.cc context = CGContextForData(data, width, height); data 153 skia/ext/bitmap_platform_device_mac.cc BitmapPlatformDevice* BitmapPlatformDevice::CreateWithData(uint8_t* data, data 158 skia/ext/bitmap_platform_device_mac.cc if (data) data 159 skia/ext/bitmap_platform_device_mac.cc context = CGContextForData(data, width, height); data 258 skia/ext/bitmap_platform_device_mac.cc uint8_t* data, OnFailureType failureType) { data 260 skia/ext/bitmap_platform_device_mac.cc BitmapPlatformDevice::CreateWithData(data, width, height, is_opaque)); data 47 skia/ext/bitmap_platform_device_mac.h static BitmapPlatformDevice* CreateWithData(uint8_t* data, data 36 skia/ext/bitmap_platform_device_skia.cc uint8_t* data) { data 40 skia/ext/bitmap_platform_device_skia.cc if (data) data 41 skia/ext/bitmap_platform_device_skia.cc bitmap.setPixels(data); data 78 skia/ext/bitmap_platform_device_skia.cc uint8_t* data, OnFailureType failureType) { data 80 skia/ext/bitmap_platform_device_skia.cc BitmapPlatformDevice::Create(width, height, is_opaque, data)); data 36 skia/ext/bitmap_platform_device_skia.h uint8_t* data); data 20 skia/ext/bitmap_platform_device_win.cc HANDLE shared_section, void** data) { data 42 skia/ext/bitmap_platform_device_win.cc 0, data, shared_section, 0); data 106 skia/ext/bitmap_platform_device_win.cc bool is_opaque, void* data, HBITMAP hbitmap) { data 110 skia/ext/bitmap_platform_device_win.cc return bitmap->installPixels(info, data, rowBytes, DeleteHBitmapCallback, data 124 skia/ext/bitmap_platform_device_win.cc void* data; data 126 skia/ext/bitmap_platform_device_win.cc &data); data 131 skia/ext/bitmap_platform_device_win.cc if (!InstallHBitmapPixels(&bitmap, width, height, is_opaque, data, hbitmap)) data 302 skia/ext/bitmap_platform_device_win.cc void* data; data 303 skia/ext/bitmap_platform_device_win.cc HBITMAP hbitmap = CreateHBitmap(width, height, is_opaque, 0, &data); data 315 skia/ext/bitmap_platform_device_win.cc if (!InstallHBitmapPixels(&bitmap_, width, height, is_opaque, data, hbitmap)) data 34 skia/ext/convolver_unittest.cc void TestImpulseConvolution(const unsigned char* data, int width, int height) { data 45 skia/ext/convolver_unittest.cc BGRAConvolve2D(data, width * 4, true, filter_x, filter_y, data 49 skia/ext/convolver_unittest.cc EXPECT_EQ(0, memcmp(data, &output[0], byte_count)); data 67 skia/ext/platform_canvas.h uint8_t* data, data 94 skia/ext/vector_canvas_unittest.cc reinterpret_cast<const unsigned char*>(compressed.data()), data 178 skia/ext/vector_canvas_unittest.cc const uint32* data = reinterpret_cast<const uint32*>(&*data_.begin()); data 179 skia/ext/vector_canvas_unittest.cc const uint32* data_row = data + y * row_length_ / sizeof(uint32); data 342 skia/ext/vector_canvas_unittest.cc reinterpret_cast<const unsigned char*>(compressed.data()), data 147 sql/statement.cc val.data(), data 278 sql/statement.cc const void* data = ColumnBlob(col); data 283 sql/statement.cc val->assign(reinterpret_cast<const base::char16*>(data), len); data 293 sql/statement.cc const void* data = sqlite3_column_blob(ref_->stmt(), col); data 295 sql/statement.cc if (data && len > 0) { data 297 sql/statement.cc memcpy(&(*val)[0], data, len); data 218 sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java public void writeState(byte[] data) { data 221 sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java invPreferences.setInternalNotificationClientState(editContext, data); data 15 sync/api/attachments/attachment.cc const scoped_refptr<base::RefCountedMemory>& data) { data 16 sync/api/attachments/attachment.cc return CreateWithId(AttachmentId::Create(), data); data 22 sync/api/attachments/attachment.cc const scoped_refptr<base::RefCountedMemory>& data) { data 23 sync/api/attachments/attachment.cc return Attachment(id, data); data 33 sync/api/attachments/attachment.cc const scoped_refptr<base::RefCountedMemory>& data) data 34 sync/api/attachments/attachment.cc : id_(id), data_(data) { data 35 sync/api/attachments/attachment.cc DCHECK(data); data 35 sync/api/attachments/attachment.h static Attachment Create(const scoped_refptr<base::RefCountedMemory>& data); data 43 sync/api/attachments/attachment.h const scoped_refptr<base::RefCountedMemory>& data); data 56 sync/api/attachments/attachment.h const scoped_refptr<base::RefCountedMemory>& data); data 26 sync/api/attachments/attachment_unittest.cc some_data->data() = kAttachmentData; data 42 sync/api/attachments/attachment_unittest.cc some_data->data() = kAttachmentData; data 84 sync/api/attachments/fake_attachment_store_unittest.cc some_data->data() = kTestData; data 112 sync/api/attachments/fake_attachment_store_unittest.cc some_data->data() = kTestData; data 48 sync/api/sync_data_unittest.cc SyncData data; data 49 sync/api/sync_data_unittest.cc EXPECT_FALSE(data.IsValid()); data 53 sync/api/sync_data_unittest.cc SyncData data = SyncData::CreateLocalDelete(kSyncTag, kDatatype); data 54 sync/api/sync_data_unittest.cc EXPECT_TRUE(data.IsValid()); data 55 sync/api/sync_data_unittest.cc EXPECT_TRUE(data.IsLocal()); data 56 sync/api/sync_data_unittest.cc EXPECT_EQ(kSyncTag, SyncDataLocal(data).GetTag()); data 57 sync/api/sync_data_unittest.cc EXPECT_EQ(kDatatype, data.GetDataType()); data 62 sync/api/sync_data_unittest.cc SyncData data = data 64 sync/api/sync_data_unittest.cc EXPECT_TRUE(data.IsValid()); data 65 sync/api/sync_data_unittest.cc EXPECT_TRUE(data.IsLocal()); data 66 sync/api/sync_data_unittest.cc EXPECT_EQ(kSyncTag, SyncDataLocal(data).GetTag()); data 67 sync/api/sync_data_unittest.cc EXPECT_EQ(kDatatype, data.GetDataType()); data 68 sync/api/sync_data_unittest.cc EXPECT_EQ(kNonUniqueTitle, data.GetTitle()); data 69 sync/api/sync_data_unittest.cc EXPECT_TRUE(data.GetSpecifics().has_preference()); data 80 sync/api/sync_data_unittest.cc SyncData data = SyncData::CreateLocalDataWithAttachments( data 82 sync/api/sync_data_unittest.cc EXPECT_TRUE(data.IsValid()); data 83 sync/api/sync_data_unittest.cc EXPECT_TRUE(data.IsLocal()); data 84 sync/api/sync_data_unittest.cc EXPECT_EQ(kSyncTag, SyncDataLocal(data).GetTag()); data 85 sync/api/sync_data_unittest.cc EXPECT_EQ(kDatatype, data.GetDataType()); data 86 sync/api/sync_data_unittest.cc EXPECT_EQ(kNonUniqueTitle, data.GetTitle()); data 87 sync/api/sync_data_unittest.cc EXPECT_TRUE(data.GetSpecifics().has_preference()); data 88 sync/api/sync_data_unittest.cc AttachmentIdList attachment_ids = data.GetAttachmentIds(); data 90 sync/api/sync_data_unittest.cc EXPECT_EQ(3U, SyncDataLocal(data).GetLocalAttachmentsForUpload().size()); data 96 sync/api/sync_data_unittest.cc SyncData data = SyncData::CreateLocalDataWithAttachments( data 98 sync/api/sync_data_unittest.cc EXPECT_TRUE(data.IsValid()); data 99 sync/api/sync_data_unittest.cc EXPECT_TRUE(data.IsLocal()); data 100 sync/api/sync_data_unittest.cc EXPECT_EQ(kSyncTag, SyncDataLocal(data).GetTag()); data 101 sync/api/sync_data_unittest.cc EXPECT_EQ(kDatatype, data.GetDataType()); data 102 sync/api/sync_data_unittest.cc EXPECT_EQ(kNonUniqueTitle, data.GetTitle()); data 103 sync/api/sync_data_unittest.cc EXPECT_TRUE(data.GetSpecifics().has_preference()); data 104 sync/api/sync_data_unittest.cc EXPECT_TRUE(data.GetAttachmentIds().empty()); data 105 sync/api/sync_data_unittest.cc EXPECT_TRUE(SyncDataLocal(data).GetLocalAttachmentsForUpload().empty()); data 110 sync/api/sync_data_unittest.cc SyncData data = SyncData::CreateRemoteData(kId, data 115 sync/api/sync_data_unittest.cc EXPECT_TRUE(data.IsValid()); data 116 sync/api/sync_data_unittest.cc EXPECT_FALSE(data.IsLocal()); data 117 sync/api/sync_data_unittest.cc EXPECT_EQ(kId, SyncDataRemote(data).GetId()); data 118 sync/api/sync_data_unittest.cc EXPECT_EQ(kLastModifiedTime, SyncDataRemote(data).GetModifiedTime()); data 119 sync/api/sync_data_unittest.cc EXPECT_TRUE(data.GetSpecifics().has_preference()); data 120 sync/api/sync_data_unittest.cc EXPECT_TRUE(data.GetAttachmentIds().empty()); data 125 sync/api/sync_data_unittest.cc SyncData data = SyncData::CreateRemoteData(kId, specifics, kLastModifiedTime); data 126 sync/api/sync_data_unittest.cc EXPECT_TRUE(data.IsValid()); data 127 sync/api/sync_data_unittest.cc EXPECT_FALSE(data.IsLocal()); data 128 sync/api/sync_data_unittest.cc EXPECT_EQ(kId, SyncDataRemote(data).GetId()); data 129 sync/api/sync_data_unittest.cc EXPECT_EQ(kLastModifiedTime, SyncDataRemote(data).GetModifiedTime()); data 130 sync/api/sync_data_unittest.cc EXPECT_TRUE(data.GetSpecifics().has_preference()); data 768 sync/engine/directory_update_handler_unittest.cc sync_pb::PasswordSpecificsData data; data 769 sync/engine/directory_update_handler_unittest.cc data.set_origin("http://example.com"); data 771 sync/engine/directory_update_handler_unittest.cc cryptographer->Encrypt(data, data 846 sync/engine/directory_update_handler_unittest.cc sync_pb::PasswordSpecificsData data; data 847 sync/engine/directory_update_handler_unittest.cc data.set_origin("http://example.com/1"); data 855 sync/engine/directory_update_handler_unittest.cc cryptographer->Encrypt(data, data 868 sync/engine/directory_update_handler_unittest.cc sync_pb::PasswordSpecificsData data; data 869 sync/engine/directory_update_handler_unittest.cc data.set_origin("http://example.com/2"); data 871 sync/engine/directory_update_handler_unittest.cc other_cryptographer.Encrypt(data, data 20 sync/engine/traffic_logger.cc void LogData(const T& data, data 25 sync/engine/traffic_logger.cc (*to_dictionary_value)(data, true /* include_specifics */)); data 54 sync/internal_api/base_node.cc scoped_ptr<sync_pb::PasswordSpecificsData> data(DecryptPasswordSpecifics( data 56 sync/internal_api/base_node.cc if (!data) { data 60 sync/internal_api/base_node.cc password_data_.swap(data); data 52 sync/internal_api/change_record.cc const sync_pb::PasswordSpecificsData& data) data 53 sync/internal_api/change_record.cc : unencrypted_(data) { data 300 sync/internal_api/http_bridge.cc return fetch_state_.response_content.data(); data 59 sync/internal_api/public/base/unique_position.cc reinterpret_cast<const Bytef*>(proto.compressed_value().data()), data 197 sync/internal_api/public/base/unique_position.cc std::string debug_string = base::HexEncode(bytes.data(), bytes.length()); data 203 sync/internal_api/public/base/unique_position.cc base::HexEncode(compressed_.data(), compressed_.length()); data 29 sync/internal_api/public/change_record.h const sync_pb::PasswordSpecificsData& data); data 807 sync/internal_api/sync_manager_impl.cc scoped_ptr<sync_pb::PasswordSpecificsData> data( data 809 sync/internal_api/sync_manager_impl.cc if (!data) { data 813 sync/internal_api/sync_manager_impl.cc buffer->SetExtraDataForId(id, new ExtraPasswordChangeRecordData(*data)); data 415 sync/internal_api/sync_manager_impl_unittest.cc sync_pb::PasswordSpecificsData data; data 416 sync/internal_api/sync_manager_impl_unittest.cc data.set_password_value("secret"); data 417 sync/internal_api/sync_manager_impl_unittest.cc password_node.SetPasswordSpecifics(data); data 427 sync/internal_api/sync_manager_impl_unittest.cc const sync_pb::PasswordSpecificsData& data = data 429 sync/internal_api/sync_manager_impl_unittest.cc EXPECT_EQ("secret", data.password_value()); data 1253 sync/internal_api/sync_manager_impl_unittest.cc sync_pb::PasswordSpecificsData data; data 1254 sync/internal_api/sync_manager_impl_unittest.cc data.set_password_value("secret"); data 1255 sync/internal_api/sync_manager_impl_unittest.cc password_node.SetPasswordSpecifics(data); data 1283 sync/internal_api/sync_manager_impl_unittest.cc const sync_pb::PasswordSpecificsData& data = data 1285 sync/internal_api/sync_manager_impl_unittest.cc EXPECT_EQ("secret", data.password_value()); data 1858 sync/internal_api/sync_manager_impl_unittest.cc sync_pb::PasswordSpecificsData data; data 1859 sync/internal_api/sync_manager_impl_unittest.cc data.set_password_value("secret"); data 1861 sync/internal_api/sync_manager_impl_unittest.cc data, data 1893 sync/internal_api/sync_manager_impl_unittest.cc sync_pb::PasswordSpecificsData data; data 1894 sync/internal_api/sync_manager_impl_unittest.cc data.set_password_value("secret"); data 1896 sync/internal_api/sync_manager_impl_unittest.cc data, data 1925 sync/internal_api/sync_manager_impl_unittest.cc sync_pb::PasswordSpecificsData data; data 1926 sync/internal_api/sync_manager_impl_unittest.cc data.set_password_value("secret2"); data 1928 sync/internal_api/sync_manager_impl_unittest.cc data, data 1930 sync/internal_api/sync_manager_impl_unittest.cc node.SetPasswordSpecifics(data); data 1945 sync/internal_api/sync_manager_impl_unittest.cc sync_pb::PasswordSpecificsData data; data 1946 sync/internal_api/sync_manager_impl_unittest.cc data.set_password_value("secret"); data 1948 sync/internal_api/sync_manager_impl_unittest.cc data, data 1984 sync/internal_api/sync_manager_impl_unittest.cc sync_pb::PasswordSpecificsData data; data 1985 sync/internal_api/sync_manager_impl_unittest.cc data.set_password_value("secret"); data 1987 sync/internal_api/sync_manager_impl_unittest.cc data, data 30 sync/internal_api/syncapi_internal.cc scoped_ptr<sync_pb::PasswordSpecificsData> data( data 32 sync/internal_api/syncapi_internal.cc if (!crypto->Decrypt(encrypted, data.get())) data 34 sync/internal_api/syncapi_internal.cc return data.release(); data 48 sync/internal_api/syncapi_server_connection_manager.cc payload.data()); data 147 sync/internal_api/write_node.cc const sync_pb::PasswordSpecificsData& data) { data 167 sync/internal_api/write_node.cc if (!cryptographer->Encrypt(data, password_specifics->mutable_encrypted())) { data 32 sync/notifier/fake_invalidation_state_tracker.cc const std::string& data) { data 33 sync/notifier/fake_invalidation_state_tracker.cc bootstrap_data_ = data; data 25 sync/notifier/fake_invalidation_state_tracker.h virtual void SetBootstrapData(const std::string& data) OVERRIDE; data 265 sync/notifier/gcm_network_channel.cc std::string data; data 266 sync/notifier/gcm_network_channel.cc if (!Base64DecodeURLSafe(message, &data)) { data 271 sync/notifier/gcm_network_channel.cc if (!android_message.ParseFromString(data) || data 40 sync/notifier/invalidation_state_tracker.h virtual void SetInvalidatorClientId(const std::string& data) = 0; data 47 sync/notifier/invalidation_state_tracker.h virtual void SetBootstrapData(const std::string& data) = 0; data 260 sync/notifier/p2p_invalidator.cc if (!notification_data.ResetFromString(notification.data)) { data 262 sync/notifier/p2p_invalidator.cc << notification.data; data 294 sync/notifier/p2p_invalidator.cc notification.data = notification_data.ToString(); data 73 sync/notifier/p2p_invalidator_unittest.cc notification.data = notification_data.ToString(); data 57 sync/notifier/push_client_channel.cc notification.data = encoded_message; data 77 sync/notifier/push_client_channel.cc notification.data, &message, &service_context, &scheduling_hash)) { data 104 sync/notifier/push_client_channel.cc bool PushClientChannel::DecodeMessageForTest(const std::string& data, data 108 sync/notifier/push_client_channel.cc return DecodeMessage(data, message, service_context, scheduling_hash); data 125 sync/notifier/push_client_channel.cc bool PushClientChannel::DecodeMessage(const std::string& data, data 130 sync/notifier/push_client_channel.cc if (!envelope.ParseFromString(data)) { data 72 sync/notifier/push_client_channel.h static bool DecodeMessage(const std::string& data, data 103 sync/notifier/push_client_channel_unittest.cc fake_push_client_->sent_notifications()[0].data); data 109 sync/notifier/push_client_channel_unittest.cc const std::string& data = PushClientChannel::EncodeMessageForTest( data 115 sync/notifier/push_client_channel_unittest.cc data, &message, &service_context, &scheduling_hash)); data 125 sync/notifier/push_client_channel_unittest.cc const std::string& data = PushClientChannel::EncodeMessageForTest( data 131 sync/notifier/push_client_channel_unittest.cc data, &message, &service_context, &scheduling_hash)); data 153 sync/notifier/push_client_channel_unittest.cc std::string data = "garbage"; data 158 sync/notifier/push_client_channel_unittest.cc data, &message, &service_context, &scheduling_hash)); data 168 sync/notifier/push_client_channel_unittest.cc notification.data = data 186 sync/notifier/push_client_channel_unittest.cc notification.data = PushClientChannel::EncodeMessageForTest( data 200 sync/notifier/push_client_channel_unittest.cc notification.data = "garbage"; data 220 sync/notifier/push_client_channel_unittest.cc fake_push_client_->sent_notifications()[0].data, data 230 sync/notifier/push_client_channel_unittest.cc notification.data = PushClientChannel::EncodeMessageForTest( data 241 sync/notifier/push_client_channel_unittest.cc fake_push_client_->sent_notifications()[1].data, data 66 sync/syncable/directory_backing_store.cc statement->BindBlob(index++, temp.data(), temp.length()); data 71 sync/syncable/directory_backing_store.cc statement->BindBlob(index++, temp.data(), temp.length()); data 252 sync/syncable/directory_backing_store.cc s1.BindBlob(2, info.bag_of_chips.data(), info.bag_of_chips.size()); data 275 sync/syncable/directory_backing_store.cc s2.BindBlob(0, model_id.data(), model_id.length()); data 276 sync/syncable/directory_backing_store.cc s2.BindBlob(1, progress_marker.data(), progress_marker.length()); data 280 sync/syncable/directory_backing_store.cc s2.BindBlob(3, context.data(), context.length()); data 656 sync/syncable/directory_backing_store.cc const void* data, int size) { data 658 sync/syncable/directory_backing_store.cc if (!specifics.ParseFromArray(data, size)) data 702 sync/syncable/directory_backing_store.cc update.BindBlob(0, new_value_bytes.data(), new_value_bytes.length()); data 862 sync/syncable/directory_backing_store.cc update.BindBlob(0, bookmark_model_id.data(), bookmark_model_id.size()); data 987 sync/syncable/directory_backing_store.cc update.BindBlob(1, progress_blob.data(), progress_blob.length()); data 1098 sync/syncable/directory_backing_store.cc put_ordinals.BindBlob(0, ordinal.data(), ordinal.length()); data 1274 sync/syncable/directory_backing_store.cc put.BindBlob(0, position_blob.data(), position_blob.length()); data 1275 sync/syncable/directory_backing_store.cc put.BindBlob(1, position_blob.data(), position_blob.length()); data 1276 sync/syncable/directory_backing_store.cc put.BindBlob(2, unique_bookmark_tag.data(), unique_bookmark_tag.length()); data 128 sync/syncable/directory_backing_store.h static ModelType ModelIdToModelTypeEnum(const void* data, int length); data 1967 sync/syncable/directory_backing_store_unittest.cc s.BindBlob(0, ord.data(), ord.length()); data 2073 sync/syncable/directory_backing_store_unittest.cc s.BindBlob(0, ord.data(), ord.length()); data 2181 sync/syncable/directory_backing_store_unittest.cc s.BindBlob(0, ord.data(), ord.length()); data 2304 sync/syncable/directory_backing_store_unittest.cc s.BindBlob(0, ord.data(), ord.length()); data 2426 sync/syncable/directory_backing_store_unittest.cc s.BindBlob(0, ord.data(), ord.length()); data 2883 sync/syncable/directory_backing_store_unittest.cc EXPECT_EQ("C2881000", base::HexEncode(model_id.data(), model_id.size())) data 3679 sync/syncable/directory_backing_store_unittest.cc TestDirectoryBackingStore::ModelIdToModelTypeEnum(model_id.data(), data 184 sync/test/engine/mock_connection_manager.cc sync_pb::SyncEntity_BookmarkData* data = entity->mutable_bookmarkdata(); data 185 sync/test/engine/mock_connection_manager.cc data->set_bookmark_folder(is_folder); data 188 sync/test/engine/mock_connection_manager.cc data->set_bookmark_url("http://google.com"); data 49 sync/test/fake_server/fake_sync_server_http_handler.cc int server_return_value = fake_sync_server_.HandleCommand(info.data, data 73 sync/test/fake_server/fake_sync_server_http_handler.cc const std::string& data) {} data 38 sync/test/fake_server/fake_sync_server_http_handler.h const std::string& data) OVERRIDE; data 21 sync/tools/null_invalidation_state_tracker.cc const std::string& data) { data 22 sync/tools/null_invalidation_state_tracker.cc LOG(INFO) << "Setting invalidator client ID to: " << data; data 39 sync/tools/null_invalidation_state_tracker.cc void NullInvalidationStateTracker::SetBootstrapData(const std::string& data) { data 41 sync/tools/null_invalidation_state_tracker.cc base::Base64Encode(data, &base64_data); data 21 sync/tools/null_invalidation_state_tracker.h virtual void SetInvalidatorClientId(const std::string& data) OVERRIDE; data 25 sync/tools/null_invalidation_state_tracker.h virtual void SetBootstrapData(const std::string& data) OVERRIDE; data 46 sync/util/cryptographer.cc bool Cryptographer::CanDecrypt(const sync_pb::EncryptedData& data) const { data 47 sync/util/cryptographer.cc return nigoris_.end() != nigoris_.find(data.key_name()); data 51 sync/util/cryptographer.cc const sync_pb::EncryptedData& data) const { data 53 sync/util/cryptographer.cc data.key_name() == default_nigori_name_; data 15 third_party/cld/encodings/compact_lang_det/string_byte_sink.cc void StringByteSink::Append(const char* data, int32_t n) { data 16 third_party/cld/encodings/compact_lang_det/string_byte_sink.cc dest_->append(data, n); data 20 third_party/cld/encodings/compact_lang_det/string_byte_sink.h virtual void Append(const char* data, int32_t n); data 269 third_party/expat/files/lib/expat.h const XML_Char *data); data 273 third_party/expat/files/lib/expat.h const XML_Char *data); data 508 third_party/expat/files/lib/expat.h void *data; data 509 third_party/expat/files/lib/expat.h int (XMLCALL *convert)(void *data, const char *s); data 510 third_party/expat/files/lib/expat.h void (XMLCALL *release)(void *data); data 1440 third_party/expat/files/lib/xmlparse.c void *data) data 1443 third_party/expat/files/lib/xmlparse.c unknownEncodingHandlerData = data; data 3516 third_party/expat/files/lib/xmlparse.c info.data = NULL; data 3524 third_party/expat/files/lib/xmlparse.c info.release(info.data); data 3532 third_party/expat/files/lib/xmlparse.c info.data); data 3534 third_party/expat/files/lib/xmlparse.c unknownEncodingData = info.data; data 3541 third_party/expat/files/lib/xmlparse.c info.release(info.data); data 5281 third_party/expat/files/lib/xmlparse.c XML_Char *data; data 5294 third_party/expat/files/lib/xmlparse.c data = poolStoreString(&tempPool, enc, data 5297 third_party/expat/files/lib/xmlparse.c if (!data) data 5299 third_party/expat/files/lib/xmlparse.c normalizeLines(data); data 5300 third_party/expat/files/lib/xmlparse.c processingInstructionHandler(handlerArg, target, data); data 5309 third_party/expat/files/lib/xmlparse.c XML_Char *data; data 5315 third_party/expat/files/lib/xmlparse.c data = poolStoreString(&tempPool, data 5319 third_party/expat/files/lib/xmlparse.c if (!data) data 5321 third_party/expat/files/lib/xmlparse.c normalizeLines(data); data 5322 third_party/expat/files/lib/xmlparse.c commentHandler(handlerArg, data); data 57 third_party/harfbuzz-ng/src/hb-blob.cc const char *data; data 95 third_party/harfbuzz-ng/src/hb-blob.cc hb_blob_create (const char *data, data 109 third_party/harfbuzz-ng/src/hb-blob.cc blob->data = data; data 159 third_party/harfbuzz-ng/src/hb-blob.cc blob = hb_blob_create (parent->data + offset, data 253 third_party/harfbuzz-ng/src/hb-blob.cc void * data, data 257 third_party/harfbuzz-ng/src/hb-blob.cc return hb_object_set_user_data (blob, key, data, destroy, replace); data 346 third_party/harfbuzz-ng/src/hb-blob.cc return blob->data; data 378 third_party/harfbuzz-ng/src/hb-blob.cc return const_cast<char *> (blob->data); data 404 third_party/harfbuzz-ng/src/hb-blob.cc addr = (const char *) (((uintptr_t) blob->data) & mask); data 405 third_party/harfbuzz-ng/src/hb-blob.cc length = (const char *) (((uintptr_t) blob->data + blob->length + pagesize-1) & mask) - addr; data 456 third_party/harfbuzz-ng/src/hb-blob.cc DEBUG_MSG_FUNC (BLOB, blob, "current data is -> %p\n", blob->data); data 464 third_party/harfbuzz-ng/src/hb-blob.cc DEBUG_MSG_FUNC (BLOB, blob, "dupped successfully -> %p\n", blob->data); data 466 third_party/harfbuzz-ng/src/hb-blob.cc memcpy (new_data, blob->data, blob->length); data 469 third_party/harfbuzz-ng/src/hb-blob.cc blob->data = new_data; data 69 third_party/harfbuzz-ng/src/hb-blob.h hb_blob_create (const char *data, data 98 third_party/harfbuzz-ng/src/hb-blob.h void * data, data 764 third_party/harfbuzz-ng/src/hb-buffer.cc void * data, data 768 third_party/harfbuzz-ng/src/hb-buffer.cc return hb_object_set_user_data (buffer, key, data, destroy, replace); data 110 third_party/harfbuzz-ng/src/hb-buffer.h void * data, data 496 third_party/harfbuzz-ng/src/hb-common.cc void * data, data 504 third_party/harfbuzz-ng/src/hb-common.cc if (!data && !destroy) { data 509 third_party/harfbuzz-ng/src/hb-common.cc hb_user_data_item_t item = {key, data, destroy}; data 520 third_party/harfbuzz-ng/src/hb-common.cc return items.find (key, &item, lock) ? item.data : NULL; data 55 third_party/harfbuzz-ng/src/hb-coretext.cc const char *data = reinterpret_cast<const char*> (CFDataGetBytePtr (cf_data)); data 57 third_party/harfbuzz-ng/src/hb-coretext.cc if (!data || !length) data 60 third_party/harfbuzz-ng/src/hb-coretext.cc return hb_blob_create (data, length, HB_MEMORY_MODE_READONLY, data 85 third_party/harfbuzz-ng/src/hb-coretext.cc release_data (void *info, const void *data, size_t size) data 88 third_party/harfbuzz-ng/src/hb-coretext.cc hb_blob_get_data ((hb_blob_t *) info, NULL) == data); data 96 third_party/harfbuzz-ng/src/hb-coretext.cc hb_coretext_shaper_face_data_t *data = (hb_coretext_shaper_face_data_t *) calloc (1, sizeof (hb_coretext_shaper_face_data_t)); data 97 third_party/harfbuzz-ng/src/hb-coretext.cc if (unlikely (!data)) data 102 third_party/harfbuzz-ng/src/hb-coretext.cc data->cg_font = CGFontRetain ((CGFontRef) face->user_data); data 113 third_party/harfbuzz-ng/src/hb-coretext.cc data->cg_font = CGFontCreateWithDataProvider (provider); data 117 third_party/harfbuzz-ng/src/hb-coretext.cc if (unlikely (!data->cg_font)) { data 119 third_party/harfbuzz-ng/src/hb-coretext.cc free (data); data 123 third_party/harfbuzz-ng/src/hb-coretext.cc return data; data 127 third_party/harfbuzz-ng/src/hb-coretext.cc _hb_coretext_shaper_face_data_destroy (hb_coretext_shaper_face_data_t *data) data 129 third_party/harfbuzz-ng/src/hb-coretext.cc CFRelease (data->cg_font); data 130 third_party/harfbuzz-ng/src/hb-coretext.cc free (data); data 155 third_party/harfbuzz-ng/src/hb-coretext.cc hb_coretext_shaper_font_data_t *data = (hb_coretext_shaper_font_data_t *) calloc (1, sizeof (hb_coretext_shaper_font_data_t)); data 156 third_party/harfbuzz-ng/src/hb-coretext.cc if (unlikely (!data)) data 162 third_party/harfbuzz-ng/src/hb-coretext.cc data->ct_font = CTFontCreateWithGraphicsFont (face_data->cg_font, font->y_scale, NULL, NULL); data 163 third_party/harfbuzz-ng/src/hb-coretext.cc if (unlikely (!data->ct_font)) { data 165 third_party/harfbuzz-ng/src/hb-coretext.cc free (data); data 169 third_party/harfbuzz-ng/src/hb-coretext.cc return data; data 173 third_party/harfbuzz-ng/src/hb-coretext.cc _hb_coretext_shaper_font_data_destroy (hb_coretext_shaper_font_data_t *data) data 175 third_party/harfbuzz-ng/src/hb-coretext.cc CFRelease (data->ct_font); data 176 third_party/harfbuzz-ng/src/hb-coretext.cc free (data); data 195 third_party/harfbuzz-ng/src/hb-coretext.cc _hb_coretext_shaper_shape_plan_data_destroy (hb_coretext_shaper_shape_plan_data_t *data HB_UNUSED) data 890 third_party/harfbuzz-ng/src/hb-coretext.cc _hb_coretext_aat_shaper_face_data_destroy (hb_coretext_aat_shaper_face_data_t *data HB_UNUSED) data 908 third_party/harfbuzz-ng/src/hb-coretext.cc _hb_coretext_aat_shaper_font_data_destroy (hb_coretext_aat_shaper_font_data_t *data HB_UNUSED) data 928 third_party/harfbuzz-ng/src/hb-coretext.cc _hb_coretext_aat_shaper_shape_plan_data_destroy (hb_coretext_aat_shaper_shape_plan_data_t *data HB_UNUSED) data 136 third_party/harfbuzz-ng/src/hb-face.cc hb_face_for_data_closure_t *data = (hb_face_for_data_closure_t *) user_data; data 139 third_party/harfbuzz-ng/src/hb-face.cc return hb_blob_reference (data->blob); data 141 third_party/harfbuzz-ng/src/hb-face.cc const OT::OpenTypeFontFile &ot_file = *OT::Sanitizer<OT::OpenTypeFontFile>::lock_instance (data->blob); data 142 third_party/harfbuzz-ng/src/hb-face.cc const OT::OpenTypeFontFace &ot_face = ot_file.get_face (data->index); data 146 third_party/harfbuzz-ng/src/hb-face.cc hb_blob_t *blob = hb_blob_create_sub_blob (data->blob, table.offset, table.length); data 265 third_party/harfbuzz-ng/src/hb-face.cc void * data, data 269 third_party/harfbuzz-ng/src/hb-face.cc return hb_object_set_user_data (face, key, data, destroy, replace); data 70 third_party/harfbuzz-ng/src/hb-face.h void * data, data 44 third_party/harfbuzz-ng/src/hb-fallback-shape.cc _hb_fallback_shaper_face_data_destroy (hb_fallback_shaper_face_data_t *data HB_UNUSED) data 62 third_party/harfbuzz-ng/src/hb-fallback-shape.cc _hb_fallback_shaper_font_data_destroy (hb_fallback_shaper_font_data_t *data HB_UNUSED) data 82 third_party/harfbuzz-ng/src/hb-fallback-shape.cc _hb_fallback_shaper_shape_plan_data_destroy (hb_fallback_shaper_shape_plan_data_t *data HB_UNUSED) data 323 third_party/harfbuzz-ng/src/hb-font.cc void * data, data 327 third_party/harfbuzz-ng/src/hb-font.cc return hb_object_set_user_data (ffuncs, key, data, destroy, replace); data 1001 third_party/harfbuzz-ng/src/hb-font.cc void * data, data 1005 third_party/harfbuzz-ng/src/hb-font.cc return hb_object_set_user_data (font, key, data, destroy, replace); data 64 third_party/harfbuzz-ng/src/hb-font.h void * data, data 446 third_party/harfbuzz-ng/src/hb-font.h void * data, data 364 third_party/harfbuzz-ng/src/hb-ft.cc hb_face_destroy ((hb_face_t *) ft_face->generic.data); data 379 third_party/harfbuzz-ng/src/hb-ft.cc if (unlikely (!ft_face->generic.data || ft_face->generic.finalizer != (FT_Generic_Finalizer) hb_ft_face_finalize)) data 384 third_party/harfbuzz-ng/src/hb-ft.cc ft_face->generic.data = hb_ft_face_create (ft_face, NULL); data 388 third_party/harfbuzz-ng/src/hb-ft.cc return hb_face_reference ((hb_face_t *) ft_face->generic.data); data 469 third_party/harfbuzz-ng/src/hb-ft.cc hb_blob_destroy ((hb_blob_t *) ft_face->generic.data); data 505 third_party/harfbuzz-ng/src/hb-ft.cc ft_face->generic.data = blob; data 58 third_party/harfbuzz-ng/src/hb-graphite2.cc static const void *hb_graphite2_get_table (const void *data, unsigned int tag, size_t *len) data 60 third_party/harfbuzz-ng/src/hb-graphite2.cc hb_graphite2_shaper_face_data_t *face_data = (hb_graphite2_shaper_face_data_t *) data; data 108 third_party/harfbuzz-ng/src/hb-graphite2.cc hb_graphite2_shaper_face_data_t *data = (hb_graphite2_shaper_face_data_t *) calloc (1, sizeof (hb_graphite2_shaper_face_data_t)); data 109 third_party/harfbuzz-ng/src/hb-graphite2.cc if (unlikely (!data)) data 112 third_party/harfbuzz-ng/src/hb-graphite2.cc data->face = face; data 113 third_party/harfbuzz-ng/src/hb-graphite2.cc data->grface = gr_make_face (data, &hb_graphite2_get_table, gr_face_preloadAll); data 115 third_party/harfbuzz-ng/src/hb-graphite2.cc if (unlikely (!data->grface)) { data 116 third_party/harfbuzz-ng/src/hb-graphite2.cc free (data); data 120 third_party/harfbuzz-ng/src/hb-graphite2.cc return data; data 124 third_party/harfbuzz-ng/src/hb-graphite2.cc _hb_graphite2_shaper_face_data_destroy (hb_graphite2_shaper_face_data_t *data) data 126 third_party/harfbuzz-ng/src/hb-graphite2.cc hb_graphite2_tablelist_t *tlist = data->tlist; data 136 third_party/harfbuzz-ng/src/hb-graphite2.cc gr_face_destroy (data->grface); data 138 third_party/harfbuzz-ng/src/hb-graphite2.cc free (data); data 170 third_party/harfbuzz-ng/src/hb-graphite2.cc _hb_graphite2_shaper_font_data_destroy (hb_graphite2_shaper_font_data_t *data) data 172 third_party/harfbuzz-ng/src/hb-graphite2.cc gr_font_destroy (data); data 198 third_party/harfbuzz-ng/src/hb-graphite2.cc _hb_graphite2_shaper_shape_plan_data_destroy (hb_graphite2_shaper_shape_plan_data_t *data HB_UNUSED) data 75 third_party/harfbuzz-ng/src/hb-object-private.hh void *data; data 81 third_party/harfbuzz-ng/src/hb-object-private.hh void finish (void) { if (destroy) destroy (data); } data 90 third_party/harfbuzz-ng/src/hb-object-private.hh void * data, data 146 third_party/harfbuzz-ng/src/hb-object-private.hh void * data, data 152 third_party/harfbuzz-ng/src/hb-object-private.hh return user_data.set (key, data, destroy_func, replace); data 212 third_party/harfbuzz-ng/src/hb-object-private.hh void * data, data 216 third_party/harfbuzz-ng/src/hb-object-private.hh return obj->header.set_user_data (key, data, destroy, replace); data 145 third_party/harfbuzz-ng/src/hb-open-type-private.hh #define DEFINE_NULL_DATA(Type, data) \ data 146 third_party/harfbuzz-ng/src/hb-open-type-private.hh static const char _Null##Type[sizeof (Type) + 1] = data; /* +1 is for nul-termination in data */ \ data 655 third_party/harfbuzz-ng/src/hb-open-type-private.hh inline void set_for_data (const void *data, unsigned int length) data 656 third_party/harfbuzz-ng/src/hb-open-type-private.hh { set (CalcTableChecksum ((const ULONG *) data, length)); } data 312 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh typedef bool (*match_func_t) (hb_codepoint_t glyph_id, const USHORT &value, const void *data); data 609 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh typedef bool (*intersects_func_t) (hb_set_t *glyphs, const USHORT &value, const void *data); data 610 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh typedef void (*collect_glyphs_func_t) (hb_set_t *glyphs, const USHORT &value, const void *data); data 611 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh typedef bool (*match_func_t) (hb_codepoint_t glyph_id, const USHORT &value, const void *data); data 627 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh static inline bool intersects_glyph (hb_set_t *glyphs, const USHORT &value, const void *data HB_UNUSED) data 631 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh static inline bool intersects_class (hb_set_t *glyphs, const USHORT &value, const void *data) data 633 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh const ClassDef &class_def = *reinterpret_cast<const ClassDef *>(data); data 636 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh static inline bool intersects_coverage (hb_set_t *glyphs, const USHORT &value, const void *data) data 639 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh return (data+coverage).intersects (glyphs); data 655 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh static inline void collect_glyph (hb_set_t *glyphs, const USHORT &value, const void *data HB_UNUSED) data 659 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh static inline void collect_class (hb_set_t *glyphs, const USHORT &value, const void *data) data 661 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh const ClassDef &class_def = *reinterpret_cast<const ClassDef *>(data); data 664 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh static inline void collect_coverage (hb_set_t *glyphs, const USHORT &value, const void *data) data 667 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh (data+coverage).add_coverage (glyphs); data 681 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh static inline bool match_glyph (hb_codepoint_t glyph_id, const USHORT &value, const void *data HB_UNUSED) data 685 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh static inline bool match_class (hb_codepoint_t glyph_id, const USHORT &value, const void *data) data 687 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh const ClassDef &class_def = *reinterpret_cast<const ClassDef *>(data); data 690 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh static inline bool match_coverage (hb_codepoint_t glyph_id, const USHORT &value, const void *data) data 693 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh return (data+coverage).get_coverage (glyph_id) != NOT_COVERED; data 239 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc data_destroy_arabic (void *data) data 241 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc arabic_shape_plan_t *arabic_plan = (arabic_shape_plan_t *) data; data 245 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc free (data); data 314 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc const arabic_shape_plan_t *arabic_plan = (const arabic_shape_plan_t *) plan->data; data 339 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc const arabic_shape_plan_t *arabic_plan = (const arabic_shape_plan_t *) plan->data; data 83 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc data_destroy_hangul (void *data) data 85 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc free (data); data 389 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc const hangul_shape_plan_t *hangul_plan = (const hangul_shape_plan_t *) plan->data; data 574 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc data_destroy_indic (void *data) data 576 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc free (data); data 665 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc const indic_shape_plan_t *indic_plan = (const indic_shape_plan_t *) plan->data; data 693 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc const indic_shape_plan_t *indic_plan = (const indic_shape_plan_t *) plan->data; data 1302 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc const indic_shape_plan_t *indic_plan = (const indic_shape_plan_t *) plan->data; data 1760 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc const indic_shape_plan_t *indic_plan = (const indic_shape_plan_t *) c->plan->data; data 100 third_party/harfbuzz-ng/src/hb-ot-shape-complex-private.hh void (*data_destroy) (void *data); data 42 third_party/harfbuzz-ng/src/hb-ot-shape-private.hh const void *data; data 135 third_party/harfbuzz-ng/src/hb-ot-shape.cc _hb_ot_shaper_face_data_destroy (hb_ot_shaper_face_data_t *data) data 137 third_party/harfbuzz-ng/src/hb-ot-shape.cc _hb_ot_layout_destroy (data); data 154 third_party/harfbuzz-ng/src/hb-ot-shape.cc _hb_ot_shaper_font_data_destroy (hb_ot_shaper_font_data_t *data) data 181 third_party/harfbuzz-ng/src/hb-ot-shape.cc plan->data = plan->shaper->data_create (plan); data 182 third_party/harfbuzz-ng/src/hb-ot-shape.cc if (unlikely (!plan->data)) data 193 third_party/harfbuzz-ng/src/hb-ot-shape.cc plan->shaper->data_destroy (const_cast<void *> (plan->data)); data 118 third_party/harfbuzz-ng/src/hb-set.cc void * data, data 122 third_party/harfbuzz-ng/src/hb-set.cc return hb_object_set_user_data (set, key, data, destroy, replace); data 59 third_party/harfbuzz-ng/src/hb-set.h void * data, data 227 third_party/harfbuzz-ng/src/hb-shape-plan.cc void * data, data 231 third_party/harfbuzz-ng/src/hb-shape-plan.cc return hb_object_set_user_data (shape_plan, key, data, destroy, replace); data 67 third_party/harfbuzz-ng/src/hb-shape-plan.h void * data, data 66 third_party/harfbuzz-ng/src/hb-shaper-private.hh #define HB_SHAPER_DATA_IS_INVALID(data) ((void *) (data) == HB_SHAPER_DATA_INVALID) data 79 third_party/harfbuzz-ng/src/hb-shaper-private.hh HB_SHAPER_DATA_DESTROY_FUNC (shaper, object) (HB_SHAPER_DATA_TYPE (shaper, object) *data) data 92 third_party/harfbuzz-ng/src/hb-shaper-private.hh HB_SHAPER_DATA_TYPE (shaper, object) *data = (HB_SHAPER_DATA_TYPE (shaper, object) *) hb_atomic_ptr_get (&HB_SHAPER_DATA (shaper, object)); \ data 93 third_party/harfbuzz-ng/src/hb-shaper-private.hh if (unlikely (!data)) { \ data 94 third_party/harfbuzz-ng/src/hb-shaper-private.hh data = HB_SHAPER_DATA_CREATE_FUNC (shaper, object) (object); \ data 95 third_party/harfbuzz-ng/src/hb-shaper-private.hh if (unlikely (!data)) \ data 96 third_party/harfbuzz-ng/src/hb-shaper-private.hh data = (HB_SHAPER_DATA_TYPE (shaper, object) *) HB_SHAPER_DATA_INVALID; \ data 97 third_party/harfbuzz-ng/src/hb-shaper-private.hh if (!hb_atomic_ptr_cmpexch (&HB_SHAPER_DATA (shaper, object), NULL, data)) { \ data 98 third_party/harfbuzz-ng/src/hb-shaper-private.hh if (data && \ data 99 third_party/harfbuzz-ng/src/hb-shaper-private.hh data != HB_SHAPER_DATA_INVALID && \ data 100 third_party/harfbuzz-ng/src/hb-shaper-private.hh data != HB_SHAPER_DATA_SUCCEEDED) \ data 101 third_party/harfbuzz-ng/src/hb-shaper-private.hh HB_SHAPER_DATA_DESTROY_FUNC (shaper, object) (data); \ data 105 third_party/harfbuzz-ng/src/hb-shaper-private.hh return data != NULL && !HB_SHAPER_DATA_IS_INVALID (data); \ data 271 third_party/harfbuzz-ng/src/hb-unicode.cc void * data, data 275 third_party/harfbuzz-ng/src/hb-unicode.cc return hb_object_set_user_data (ufuncs, key, data, destroy, replace); data 196 third_party/harfbuzz-ng/src/hb-unicode.h void * data, data 432 third_party/harfbuzz-ng/src/hb-uniscribe.cc hb_uniscribe_shaper_face_data_t *data = (hb_uniscribe_shaper_face_data_t *) calloc (1, sizeof (hb_uniscribe_shaper_face_data_t)); data 433 third_party/harfbuzz-ng/src/hb-uniscribe.cc if (unlikely (!data)) data 436 third_party/harfbuzz-ng/src/hb-uniscribe.cc data->funcs = hb_uniscribe_shaper_get_funcs (); data 437 third_party/harfbuzz-ng/src/hb-uniscribe.cc if (unlikely (!data->funcs)) data 439 third_party/harfbuzz-ng/src/hb-uniscribe.cc free (data); data 447 third_party/harfbuzz-ng/src/hb-uniscribe.cc blob = _hb_rename_font (blob, data->face_name); data 450 third_party/harfbuzz-ng/src/hb-uniscribe.cc free (data); data 455 third_party/harfbuzz-ng/src/hb-uniscribe.cc data->fh = AddFontMemResourceEx ((void *) hb_blob_get_data (blob, NULL), data 458 third_party/harfbuzz-ng/src/hb-uniscribe.cc if (unlikely (!data->fh)) data 461 third_party/harfbuzz-ng/src/hb-uniscribe.cc free (data); data 465 third_party/harfbuzz-ng/src/hb-uniscribe.cc return data; data 469 third_party/harfbuzz-ng/src/hb-uniscribe.cc _hb_uniscribe_shaper_face_data_destroy (hb_uniscribe_shaper_face_data_t *data) data 471 third_party/harfbuzz-ng/src/hb-uniscribe.cc RemoveFontMemResourceEx (data->fh); data 472 third_party/harfbuzz-ng/src/hb-uniscribe.cc free (data); data 508 third_party/harfbuzz-ng/src/hb-uniscribe.cc hb_uniscribe_shaper_font_data_t *data = (hb_uniscribe_shaper_font_data_t *) calloc (1, sizeof (hb_uniscribe_shaper_font_data_t)); data 509 third_party/harfbuzz-ng/src/hb-uniscribe.cc if (unlikely (!data)) data 512 third_party/harfbuzz-ng/src/hb-uniscribe.cc data->hdc = GetDC (NULL); data 514 third_party/harfbuzz-ng/src/hb-uniscribe.cc if (unlikely (!populate_log_font (&data->log_font, font))) { data 516 third_party/harfbuzz-ng/src/hb-uniscribe.cc _hb_uniscribe_shaper_font_data_destroy (data); data 520 third_party/harfbuzz-ng/src/hb-uniscribe.cc data->hfont = CreateFontIndirectW (&data->log_font); data 521 third_party/harfbuzz-ng/src/hb-uniscribe.cc if (unlikely (!data->hfont)) { data 523 third_party/harfbuzz-ng/src/hb-uniscribe.cc _hb_uniscribe_shaper_font_data_destroy (data); data 527 third_party/harfbuzz-ng/src/hb-uniscribe.cc if (!SelectObject (data->hdc, data->hfont)) { data 529 third_party/harfbuzz-ng/src/hb-uniscribe.cc _hb_uniscribe_shaper_font_data_destroy (data); data 533 third_party/harfbuzz-ng/src/hb-uniscribe.cc return data; data 537 third_party/harfbuzz-ng/src/hb-uniscribe.cc _hb_uniscribe_shaper_font_data_destroy (hb_uniscribe_shaper_font_data_t *data) data 539 third_party/harfbuzz-ng/src/hb-uniscribe.cc if (data->hdc) data 540 third_party/harfbuzz-ng/src/hb-uniscribe.cc ReleaseDC (NULL, data->hdc); data 541 third_party/harfbuzz-ng/src/hb-uniscribe.cc if (data->hfont) data 542 third_party/harfbuzz-ng/src/hb-uniscribe.cc DeleteObject (data->hfont); data 543 third_party/harfbuzz-ng/src/hb-uniscribe.cc if (data->script_cache) data 544 third_party/harfbuzz-ng/src/hb-uniscribe.cc ScriptFreeCache (&data->script_cache); data 545 third_party/harfbuzz-ng/src/hb-uniscribe.cc free (data); data 580 third_party/harfbuzz-ng/src/hb-uniscribe.cc _hb_uniscribe_shaper_shape_plan_data_destroy (hb_uniscribe_shaper_shape_plan_data_t *data HB_UNUSED) data 130 third_party/iccjpeg/iccjpeg.c GETJOCTET(marker->data[0]) == 0x49 && data 131 third_party/iccjpeg/iccjpeg.c GETJOCTET(marker->data[1]) == 0x43 && data 132 third_party/iccjpeg/iccjpeg.c GETJOCTET(marker->data[2]) == 0x43 && data 133 third_party/iccjpeg/iccjpeg.c GETJOCTET(marker->data[3]) == 0x5F && data 134 third_party/iccjpeg/iccjpeg.c GETJOCTET(marker->data[4]) == 0x50 && data 135 third_party/iccjpeg/iccjpeg.c GETJOCTET(marker->data[5]) == 0x52 && data 136 third_party/iccjpeg/iccjpeg.c GETJOCTET(marker->data[6]) == 0x4F && data 137 third_party/iccjpeg/iccjpeg.c GETJOCTET(marker->data[7]) == 0x46 && data 138 third_party/iccjpeg/iccjpeg.c GETJOCTET(marker->data[8]) == 0x49 && data 139 third_party/iccjpeg/iccjpeg.c GETJOCTET(marker->data[9]) == 0x4C && data 140 third_party/iccjpeg/iccjpeg.c GETJOCTET(marker->data[10]) == 0x45 && data 141 third_party/iccjpeg/iccjpeg.c GETJOCTET(marker->data[11]) == 0x0; data 192 third_party/iccjpeg/iccjpeg.c num_markers = GETJOCTET(marker->data[13]); data 193 third_party/iccjpeg/iccjpeg.c else if (num_markers != GETJOCTET(marker->data[13])) data 195 third_party/iccjpeg/iccjpeg.c seq_no = GETJOCTET(marker->data[12]); data 234 third_party/iccjpeg/iccjpeg.c seq_no = GETJOCTET(marker->data[12]); data 236 third_party/iccjpeg/iccjpeg.c src_ptr = marker->data + ICC_OVERHEAD_LEN; data 390 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); data 391 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); data 399 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); data 400 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); data 436 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *data); data 439 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *data); data 441 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *data); data 311 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); data 312 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); data 324 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); data 325 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); data 426 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data); data 432 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); data 438 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data); data 444 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); data 828 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VEXTPROC) (GLenum target, GLuint index, GLint *data); data 832 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index, GLint *data); data 866 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); data 871 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); data 185 third_party/leveldatabase/env_chromium_stdio.cc Status ChromiumWritableFile::Append(const Slice& data) { data 193 third_party/leveldatabase/env_chromium_stdio.cc size_t r = fwrite_unlocked(data.data(), 1, data.size(), file_); data 194 third_party/leveldatabase/env_chromium_stdio.cc if (r != data.size()) { data 20 third_party/leveldatabase/env_chromium_stdio.h virtual leveldb::Status Append(const leveldb::Slice& data); data 119 third_party/leveldatabase/env_chromium_unittest.cc Slice data = some_data; data 127 third_party/leveldatabase/env_chromium_unittest.cc manifest_file->Append(data); data 129 third_party/leveldatabase/env_chromium_unittest.cc manifest_file->Append(data); data 138 third_party/leveldatabase/env_chromium_unittest.cc sst_file->Append(data); data 141 third_party/leveldatabase/env_chromium_unittest.cc manifest_file->Append(data); data 143 third_party/leveldatabase/env_chromium_unittest.cc manifest_file->Append(data); data 177 third_party/leveldatabase/env_chromium_win.cc Status ChromiumWritableFileWin::Append(const Slice& data) { data 186 third_party/leveldatabase/env_chromium_win.cc if (!WriteFile(file_, data.data(), data.size(), &written, NULL)) { data 25 third_party/leveldatabase/env_chromium_win.h virtual leveldb::Status Append(const leveldb::Slice& data); data 128 third_party/libXNVCtrl/NVCtrl.c uintptr_t data = (uintptr_t)info->data; data 131 third_party/libXNVCtrl/NVCtrl.c if (data & NVCTRL_EXT_NEED_CHECK) { data 133 third_party/libXNVCtrl/NVCtrl.c data = 0; data 135 third_party/libXNVCtrl/NVCtrl.c data |= NVCTRL_EXT_EXISTS; data 137 third_party/libXNVCtrl/NVCtrl.c data |= NVCTRL_EXT_NEED_TARGET_SWAP; data 140 third_party/libXNVCtrl/NVCtrl.c data |= NVCTRL_EXT_64_BIT_ATTRIBUTES; data 144 third_party/libXNVCtrl/NVCtrl.c info->data = (XPointer)data; data 147 third_party/libXNVCtrl/NVCtrl.c return data; data 24 third_party/libaddressinput/chromium/chrome_downloader_impl.cc UnownedStringWriter(std::string* data) : data_(data) {} data 35 third_party/libaddressinput/chromium/chrome_downloader_impl.cc data_->append(buffer->data(), num_bytes); data 76 third_party/libaddressinput/chromium/chrome_downloader_impl.cc new UnownedStringWriter(&request->data))); data 87 third_party/libaddressinput/chromium/chrome_downloader_impl.cc scoped_ptr<std::string> data(new std::string()); data 89 third_party/libaddressinput/chromium/chrome_downloader_impl.cc data->swap(request->second->data); data 90 third_party/libaddressinput/chromium/chrome_downloader_impl.cc (*request->second->callback)(ok, request->second->url, data.Pass()); data 45 third_party/libaddressinput/chromium/chrome_downloader_impl.h std::string data; data 55 third_party/libaddressinput/chromium/chrome_downloader_impl_unittest.cc scoped_ptr<std::string> data) { data 57 third_party/libaddressinput/chromium/chrome_downloader_impl_unittest.cc data_ = data.Pass(); data 74 third_party/libaddressinput/chromium/chrome_downloader_impl_unittest.cc EXPECT_EQ(kFakePayload, data()); data 83 third_party/libaddressinput/chromium/chrome_downloader_impl_unittest.cc EXPECT_EQ(std::string(), data()); data 92 third_party/libaddressinput/chromium/chrome_downloader_impl_unittest.cc EXPECT_EQ(std::string(), data()); data 21 third_party/libaddressinput/chromium/chrome_storage_impl.cc scoped_ptr<std::string> data) { data 24 third_party/libaddressinput/chromium/chrome_storage_impl.cc string_value->GetString()->swap(*data); data 31 third_party/libaddressinput/chromium/chrome_storage_impl.h virtual void Put(const std::string& key, scoped_ptr<std::string> data) data 50 third_party/libaddressinput/chromium/cpp/include/libaddressinput/storage.h virtual void Put(const std::string& key, scoped_ptr<std::string> data) = 0; data 64 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc const std::string& data) { data 70 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc if (!success || !json_->ParseObject(data)) { data 78 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.h const std::string& data); data 22 third_party/libaddressinput/chromium/cpp/src/fallback_data_store.cc bool FallbackDataStore::Get(const std::string& key, std::string* data) { data 27 third_party/libaddressinput/chromium/cpp/src/fallback_data_store.cc data->assign( data 27 third_party/libaddressinput/chromium/cpp/src/fallback_data_store.h static bool Get(const std::string& key, std::string* data); data 70 third_party/libaddressinput/chromium/cpp/src/retriever.cc void AppendTimestamp(std::string* data) { data 71 third_party/libaddressinput/chromium/cpp/src/retriever.cc std::string md5 = MD5String(*data); data 73 third_party/libaddressinput/chromium/cpp/src/retriever.cc data->push_back(kSeparator); data 74 third_party/libaddressinput/chromium/cpp/src/retriever.cc data->append(kChecksumPrefix); data 75 third_party/libaddressinput/chromium/cpp/src/retriever.cc data->append(md5); data 77 third_party/libaddressinput/chromium/cpp/src/retriever.cc data->push_back(kSeparator); data 78 third_party/libaddressinput/chromium/cpp/src/retriever.cc data->append(kTimestampPrefix); data 79 third_party/libaddressinput/chromium/cpp/src/retriever.cc data->append(TimeToString(time(NULL))); data 87 third_party/libaddressinput/chromium/cpp/src/retriever.cc scoped_ptr<std::string>* data) { data 89 third_party/libaddressinput/chromium/cpp/src/retriever.cc assert(data != NULL); data 106 third_party/libaddressinput/chromium/cpp/src/retriever.cc *data = data_and_footer.Pass(); data 107 third_party/libaddressinput/chromium/cpp/src/retriever.cc (*data)->resize(separator_position); data 120 third_party/libaddressinput/chromium/cpp/src/retriever.cc scoped_ptr<std::string>* data, data 122 third_party/libaddressinput/chromium/cpp/src/retriever.cc assert(data != NULL); data 144 third_party/libaddressinput/chromium/cpp/src/retriever.cc kChecksumPrefix, &checksum, data)) { data 148 third_party/libaddressinput/chromium/cpp/src/retriever.cc return checksum == MD5String(**data); data 255 third_party/libaddressinput/chromium/cpp/src/retriever.cc const std::string& data) { data 265 third_party/libaddressinput/chromium/cpp/src/retriever.cc if (callback != NULL && !(*callback)(success, key, data)) { data 89 third_party/libaddressinput/chromium/cpp/src/retriever.h const std::string& data); data 63 third_party/libaddressinput/chromium/cpp/src/util/md5.cc #define MD5STEP(f, w, x, y, z, data, s) \ data 64 third_party/libaddressinput/chromium/cpp/src/util/md5.cc ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x ) data 176 third_party/libaddressinput/chromium/cpp/src/util/md5.cc void MD5Update(MD5Context* context, const std::string& data) { data 177 third_party/libaddressinput/chromium/cpp/src/util/md5.cc const unsigned char* inbuf = (const unsigned char*)data.data(); data 178 third_party/libaddressinput/chromium/cpp/src/util/md5.cc size_t len = data.size(); data 284 third_party/libaddressinput/chromium/cpp/src/util/md5.cc void MD5Sum(const void* data, size_t length, MD5Digest* digest) { data 288 third_party/libaddressinput/chromium/cpp/src/util/md5.cc std::string(reinterpret_cast<const char*>(data), length)); data 294 third_party/libaddressinput/chromium/cpp/src/util/md5.cc MD5Sum(str.data(), str.length(), &digest); data 50 third_party/libaddressinput/chromium/cpp/src/util/md5.h void MD5Sum(const void* data, size_t length, MD5Digest* digest); data 59 third_party/libaddressinput/chromium/cpp/src/util/md5.h void MD5Update(MD5Context* context, const std::string& data); data 61 third_party/libaddressinput/chromium/cpp/test/fake_downloader.cc std::map<std::string, std::string> data; data 78 third_party/libaddressinput/chromium/cpp/test/fake_downloader.cc std::map<std::string, std::string>::iterator data_it = data.find(url); data 79 third_party/libaddressinput/chromium/cpp/test/fake_downloader.cc if (data_it != data.end()) { data 82 third_party/libaddressinput/chromium/cpp/test/fake_downloader.cc data.insert(std::make_pair(url, "{\"" + key + "\": " + value)); data 87 third_party/libaddressinput/chromium/cpp/test/fake_downloader.cc for (std::map<std::string, std::string>::iterator data_it = data.begin(); data 88 third_party/libaddressinput/chromium/cpp/test/fake_downloader.cc data_it != data.end(); ++data_it) { data 92 third_party/libaddressinput/chromium/cpp/test/fake_downloader.cc return data; data 111 third_party/libaddressinput/chromium/cpp/test/fake_downloader.cc std::string data = success ? data_it->second : std::string(); data 121 third_party/libaddressinput/chromium/cpp/test/fake_downloader.cc data = "{}"; data 123 third_party/libaddressinput/chromium/cpp/test/fake_downloader.cc (*downloaded)(success, url, make_scoped_ptr(new std::string(data))); data 51 third_party/libaddressinput/chromium/cpp/test/fake_downloader_test.cc scoped_ptr<std::string> data) { data 54 third_party/libaddressinput/chromium/cpp/test/fake_downloader_test.cc data_ = data.Pass(); data 60 third_party/libaddressinput/chromium/cpp/test/fake_downloader_test.cc testing::AssertionResult DataIsValid(const std::string& data, data 62 third_party/libaddressinput/chromium/cpp/test/fake_downloader_test.cc if (data.empty()) { data 68 third_party/libaddressinput/chromium/cpp/test/fake_downloader_test.cc if (data.compare(0, kDataBeginLength, kDataBegin, kDataBeginLength) != 0) { data 69 third_party/libaddressinput/chromium/cpp/test/fake_downloader_test.cc return testing::AssertionFailure() << data << " does not begin with " data 75 third_party/libaddressinput/chromium/cpp/test/fake_downloader_test.cc if (data.compare(data.length() - kDataEndLength, data 79 third_party/libaddressinput/chromium/cpp/test/fake_downloader_test.cc return testing::AssertionFailure() << data << " does not end with " data 27 third_party/libaddressinput/chromium/cpp/test/fake_storage.cc void FakeStorage::Put(const std::string& key, scoped_ptr<std::string> data) { data 28 third_party/libaddressinput/chromium/cpp/test/fake_storage.cc data_[key] = *data; data 35 third_party/libaddressinput/chromium/cpp/test/fake_storage.cc std::string data = success ? data_it->second : std::string(); data 36 third_party/libaddressinput/chromium/cpp/test/fake_storage.cc (*data_ready)(success, key, data); data 61 third_party/libaddressinput/chromium/cpp/test/fake_storage.h virtual void Put(const std::string& key, scoped_ptr<std::string> data); data 29 third_party/libaddressinput/chromium/cpp/test/fallback_data_store_test.cc std::string data; data 30 third_party/libaddressinput/chromium/cpp/test/fallback_data_store_test.cc ASSERT_TRUE(FallbackDataStore::Get("data/US", &data)); data 33 third_party/libaddressinput/chromium/cpp/test/fallback_data_store_test.cc EXPECT_TRUE(json->ParseObject(data)); data 27 third_party/libaddressinput/chromium/cpp/test/region_data_constants_test.cc testing::AssertionResult HasCurlyBraces(const std::string& data) { data 28 third_party/libaddressinput/chromium/cpp/test/region_data_constants_test.cc if (data.empty()) { data 31 third_party/libaddressinput/chromium/cpp/test/region_data_constants_test.cc if (data[0] != '{') { data 32 third_party/libaddressinput/chromium/cpp/test/region_data_constants_test.cc return testing::AssertionFailure() << data << " does not start with '{'"; data 34 third_party/libaddressinput/chromium/cpp/test/region_data_constants_test.cc if (data[data.length() - 1] != '}') { data 35 third_party/libaddressinput/chromium/cpp/test/region_data_constants_test.cc return testing::AssertionFailure() << data << " does not end with '}'"; data 47 third_party/libaddressinput/chromium/cpp/test/retriever_test.cc scoped_ptr<std::string> Wrap(const std::string& data, data 51 third_party/libaddressinput/chromium/cpp/test/retriever_test.cc data + "\n" + "checksum=" + checksum + "\n" + "timestamp=" + timestamp)); data 102 third_party/libaddressinput/chromium/cpp/test/retriever_test.cc const std::string& data) { data 105 third_party/libaddressinput/chromium/cpp/test/retriever_test.cc data_ = data; data 349 third_party/libaddressinput/chromium/cpp/test/rule_test.cc LabelData(const std::string& data, int name_id, int error_id) data 350 third_party/libaddressinput/chromium/cpp/test/rule_test.cc : data(data), name_id(name_id), error_id(error_id) {} data 354 third_party/libaddressinput/chromium/cpp/test/rule_test.cc std::string data; data 367 third_party/libaddressinput/chromium/cpp/test/rule_test.cc ASSERT_TRUE(rule_.ParseSerializedRule(GetParam().data)); data 392 third_party/libaddressinput/chromium/cpp/test/rule_test.cc ASSERT_TRUE(rule_.ParseSerializedRule(GetParam().data)); data 49 third_party/libaddressinput/chromium/cpp/test/storage_test_runner.cc const std::string& data) { data 52 third_party/libaddressinput/chromium/cpp/test/storage_test_runner.cc data_ = data; data 39 third_party/libaddressinput/chromium/cpp/test/storage_test_runner.h const std::string& data); data 28 third_party/libaddressinput/chromium/cpp/test/util/md5_unittest.cc int data[] = { data 36 third_party/libaddressinput/chromium/cpp/test/util/md5_unittest.cc digest.a[i] = data[i] & 0xff; data 46 third_party/libaddressinput/chromium/cpp/test/util/md5_unittest.cc const char* data = ""; data 48 third_party/libaddressinput/chromium/cpp/test/util/md5_unittest.cc MD5Sum(data, strlen(data), &digest); data 63 third_party/libaddressinput/chromium/cpp/test/util/md5_unittest.cc const char* data = "a"; data 65 third_party/libaddressinput/chromium/cpp/test/util/md5_unittest.cc MD5Sum(data, strlen(data), &digest); data 80 third_party/libaddressinput/chromium/cpp/test/util/md5_unittest.cc scoped_ptr<char[]> data(new char[length]); data 83 third_party/libaddressinput/chromium/cpp/test/util/md5_unittest.cc data[i] = i & 0xFF; data 86 third_party/libaddressinput/chromium/cpp/test/util/md5_unittest.cc MD5Sum(data.get(), length, &digest); data 122 third_party/libaddressinput/chromium/cpp/test/util/md5_unittest.cc scoped_ptr<char[]> data(new char[length]); data 125 third_party/libaddressinput/chromium/cpp/test/util/md5_unittest.cc data[i] = i & 0xFF; data 134 third_party/libaddressinput/chromium/cpp/test/util/md5_unittest.cc std::string(reinterpret_cast<char*>(data.get() + total), len)); data 193 third_party/libevent/buffer.c evbuffer_remove(struct evbuffer *buf, void *data, size_t datlen) data 199 third_party/libevent/buffer.c memcpy(data, buf->buffer, nread); data 213 third_party/libevent/buffer.c u_char *data = EVBUFFER_DATA(buffer); data 219 third_party/libevent/buffer.c if (data[i] == '\r' || data[i] == '\n') data 231 third_party/libevent/buffer.c memcpy(line, data, i); data 239 third_party/libevent/buffer.c char fch = data[i], sch = data[i+1]; data 300 third_party/libevent/buffer.c evbuffer_add(struct evbuffer *buf, const void *data, size_t datlen) data 310 third_party/libevent/buffer.c memcpy(buf->buffer + buf->off, data, datlen); data 217 third_party/libevent/epoll.c int fd = events[i].data.fd; data 297 third_party/libevent/epoll.c epev.data.fd = fd; data 349 third_party/libevent/epoll.c epev.data.fd = fd; data 326 third_party/libevent/evbuffer.c bufferevent_write(struct bufferevent *bufev, const void *data, size_t size) data 330 third_party/libevent/evbuffer.c res = evbuffer_add(bufev->output, data, size); data 355 third_party/libevent/evbuffer.c bufferevent_read(struct bufferevent *bufev, void *data, size_t size) data 363 third_party/libevent/evbuffer.c memcpy(data, buf->buffer, size); data 208 third_party/libevent/evdns.c } data; data 254 third_party/libevent/evdns.c void *data; /* The contents of the RR */ data 651 third_party/libevent/evdns.c reply->data.a.addrcount, ttl, data 652 third_party/libevent/evdns.c reply->data.a.addresses, data 659 third_party/libevent/evdns.c char *name = reply->data.ptr.name; data 670 third_party/libevent/evdns.c reply->data.aaaa.addrcount, ttl, data 671 third_party/libevent/evdns.c reply->data.aaaa.addresses, data 899 third_party/libevent/evdns.c addrtocopy = MIN(MAX_ADDRS - reply.data.a.addrcount, (unsigned)addrcount); data 904 third_party/libevent/evdns.c memcpy(&reply.data.a.addresses[reply.data.a.addrcount], data 907 third_party/libevent/evdns.c reply.data.a.addrcount += addrtocopy; data 909 third_party/libevent/evdns.c if (reply.data.a.addrcount == MAX_ADDRS) break; data 914 third_party/libevent/evdns.c if (name_parse(packet, length, &j, reply.data.ptr.name, data 915 third_party/libevent/evdns.c sizeof(reply.data.ptr.name))<0) data 928 third_party/libevent/evdns.c addrtocopy = MIN(MAX_ADDRS - reply.data.aaaa.addrcount, (unsigned)addrcount); data 933 third_party/libevent/evdns.c memcpy(&reply.data.aaaa.addresses[reply.data.aaaa.addrcount], data 935 third_party/libevent/evdns.c reply.data.aaaa.addrcount += addrtocopy; data 938 third_party/libevent/evdns.c if (reply.data.aaaa.addrcount == MAX_ADDRS) break; data 1511 third_party/libevent/evdns.c evdns_server_request_add_reply(struct evdns_server_request *_req, int section, const char *name, int type, int class, int ttl, int datalen, int is_name, const char *data) data 1552 third_party/libevent/evdns.c item->data = NULL; data 1553 third_party/libevent/evdns.c if (data) { data 1555 third_party/libevent/evdns.c if (!(item->data = strdup(data))) { data 1562 third_party/libevent/evdns.c if (!(item->data = malloc(datalen))) { data 1568 third_party/libevent/evdns.c memcpy(item->data, data, datalen); data 1688 third_party/libevent/evdns.c r = dnsname_to_labels(buf, buf_len, j, item->data, strlen(item->data), &table); data 1698 third_party/libevent/evdns.c memcpy(buf+j, item->data, item->datalen); data 1791 third_party/libevent/evdns.c if (victim->data) data 1792 third_party/libevent/evdns.c free(victim->data); data 3095 third_party/libevent/evdns.c evdns_server_callback(struct evdns_server_request *req, void *data) data 3098 third_party/libevent/evdns.c (void)data; data 513 third_party/libevent/evdns.h int evdns_server_request_add_reply(struct evdns_server_request *req, int section, const char *name, int type, int dns_class, int ttl, int datalen, int is_name, const char *data); data 885 third_party/libevent/event.h const void *data, size_t size); data 910 third_party/libevent/event.h size_t bufferevent_read(struct bufferevent *bufev, void *data, size_t size); data 1133 third_party/libevent/event.h void evtag_marshal(struct evbuffer *evbuf, ev_uint32_t tag, const void *data, data 1168 third_party/libevent/event.h void *data, size_t len); data 94 third_party/libevent/event_tagging.c ev_uint8_t data[5]; data 96 third_party/libevent/event_tagging.c memset(data, 0, sizeof(ev_uint32_t)+1); data 99 third_party/libevent/event_tagging.c data[off/2] = (data[off/2] & 0xf0) | (number & 0x0f); data 101 third_party/libevent/event_tagging.c data[off/2] = (data[off/2] & 0x0f) | data 111 third_party/libevent/event_tagging.c data[0] = (data[0] & 0x0f) | ((nibbles & 0x0f) << 4); data 113 third_party/libevent/event_tagging.c evbuffer_add(evbuf, data, (off + 1) / 2); data 125 third_party/libevent/event_tagging.c ev_uint8_t data[5]; data 127 third_party/libevent/event_tagging.c memset(data, 0, sizeof(data)); data 135 third_party/libevent/event_tagging.c data[bytes++] = lower; data 139 third_party/libevent/event_tagging.c evbuffer_add(evbuf, data, bytes); data 148 third_party/libevent/event_tagging.c ev_uint8_t *data = EVBUFFER_DATA(evbuf); data 153 third_party/libevent/event_tagging.c ev_uint8_t lower = *data++; data 189 third_party/libevent/event_tagging.c const void *data, ev_uint32_t len) data 193 third_party/libevent/event_tagging.c evbuffer_add(evbuf, (void *)data, len); data 230 third_party/libevent/event_tagging.c ev_uint8_t *data = EVBUFFER_DATA(evbuf); data 237 third_party/libevent/event_tagging.c nibbles = ((data[0] & 0xf0) >> 4) + 1; data 245 third_party/libevent/event_tagging.c number |= data[nibbles >> 1] & 0x0f; data 247 third_party/libevent/event_tagging.c number |= (data[nibbles >> 1] & 0xf0) >> 4; data 386 third_party/libevent/event_tagging.c evtag_unmarshal_fixed(struct evbuffer *src, ev_uint32_t need_tag, void *data, data 401 third_party/libevent/event_tagging.c memcpy(data, EVBUFFER_DATA(_buf), len); data 335 third_party/libevent/evrpc.c struct evbuffer* data = NULL; data 342 third_party/libevent/evrpc.c if ((data = evbuffer_new()) == NULL) { data 348 third_party/libevent/evrpc.c rpc->reply_marshal(data, rpc_state->reply); data 352 third_party/libevent/evrpc.c req, data) == -1) data 361 third_party/libevent/evrpc.c evhttp_send_reply(req, HTTP_OK, "OK", data); data 363 third_party/libevent/evrpc.c evbuffer_free(data); data 370 third_party/libevent/evrpc.c if (data != NULL) data 371 third_party/libevent/evrpc.c evbuffer_free(data); data 262 third_party/libevent/kqueue.c if (events[i].data == EBADF || data 263 third_party/libevent/kqueue.c events[i].data == EINVAL || data 264 third_party/libevent/kqueue.c events[i].data == ENOENT) data 266 third_party/libevent/kqueue.c errno = events[i].data; data 285 third_party/libevent/kqueue.c event_active(ev, which, events[i].data); data 191 third_party/libevent/test/regress_dns.c dns_server_request_cb(struct evdns_server_request *req, void *data) data 163 third_party/libjingle/overrides/talk/base/logging.cc const void* data, size_t len, bool hex_mode, data 171 third_party/libjingle/overrides/talk/base/logging.cc if (!data) { data 182 third_party/libjingle/overrides/talk/base/logging.cc const unsigned char* udata = static_cast<const unsigned char*>(data); data 150 third_party/libjingle/overrides/talk/base/logging.h const void* data, size_t len, bool hex_mode, data 120 third_party/libjpeg/jcapistd.c jpeg_write_raw_data (j_compress_ptr cinfo, JSAMPIMAGE data, data 153 third_party/libjpeg/jcapistd.c if (! (*cinfo->coef->compress_data) (cinfo, data)) { data 185 third_party/libjpeg/jdapistd.c jpeg_read_raw_data (j_decompress_ptr cinfo, JSAMPIMAGE data, data 210 third_party/libjpeg/jdapistd.c if (! (*cinfo->coef->decompress_data) (cinfo, data)) data 35 third_party/libjpeg/jdct.h typedef JMETHOD(void, forward_DCT_method_ptr, (DCTELEM * data)); data 36 third_party/libjpeg/jdct.h typedef JMETHOD(void, float_DCT_method_ptr, (FAST_FLOAT * data)); data 97 third_party/libjpeg/jdct.h EXTERN(void) jpeg_fdct_islow JPP((DCTELEM * data)); data 98 third_party/libjpeg/jdct.h EXTERN(void) jpeg_fdct_ifast JPP((DCTELEM * data)); data 99 third_party/libjpeg/jdct.h EXTERN(void) jpeg_fdct_float JPP((FAST_FLOAT * data)); data 590 third_party/libjpeg/jdmarker.c examine_app0 (j_decompress_ptr cinfo, JOCTET FAR * data, data 600 third_party/libjpeg/jdmarker.c GETJOCTET(data[0]) == 0x4A && data 601 third_party/libjpeg/jdmarker.c GETJOCTET(data[1]) == 0x46 && data 602 third_party/libjpeg/jdmarker.c GETJOCTET(data[2]) == 0x49 && data 603 third_party/libjpeg/jdmarker.c GETJOCTET(data[3]) == 0x46 && data 604 third_party/libjpeg/jdmarker.c GETJOCTET(data[4]) == 0) { data 607 third_party/libjpeg/jdmarker.c cinfo->JFIF_major_version = GETJOCTET(data[5]); data 608 third_party/libjpeg/jdmarker.c cinfo->JFIF_minor_version = GETJOCTET(data[6]); data 609 third_party/libjpeg/jdmarker.c cinfo->density_unit = GETJOCTET(data[7]); data 610 third_party/libjpeg/jdmarker.c cinfo->X_density = (GETJOCTET(data[8]) << 8) + GETJOCTET(data[9]); data 611 third_party/libjpeg/jdmarker.c cinfo->Y_density = (GETJOCTET(data[10]) << 8) + GETJOCTET(data[11]); data 626 third_party/libjpeg/jdmarker.c if (GETJOCTET(data[12]) | GETJOCTET(data[13])) data 628 third_party/libjpeg/jdmarker.c GETJOCTET(data[12]), GETJOCTET(data[13])); data 631 third_party/libjpeg/jdmarker.c ((INT32)GETJOCTET(data[12]) * (INT32)GETJOCTET(data[13]) * (INT32) 3)) data 634 third_party/libjpeg/jdmarker.c GETJOCTET(data[0]) == 0x4A && data 635 third_party/libjpeg/jdmarker.c GETJOCTET(data[1]) == 0x46 && data 636 third_party/libjpeg/jdmarker.c GETJOCTET(data[2]) == 0x58 && data 637 third_party/libjpeg/jdmarker.c GETJOCTET(data[3]) == 0x58 && data 638 third_party/libjpeg/jdmarker.c GETJOCTET(data[4]) == 0) { data 643 third_party/libjpeg/jdmarker.c switch (GETJOCTET(data[5])) { data 655 third_party/libjpeg/jdmarker.c GETJOCTET(data[5]), (int) totallen); data 666 third_party/libjpeg/jdmarker.c examine_app14 (j_decompress_ptr cinfo, JOCTET FAR * data, data 676 third_party/libjpeg/jdmarker.c GETJOCTET(data[0]) == 0x41 && data 677 third_party/libjpeg/jdmarker.c GETJOCTET(data[1]) == 0x64 && data 678 third_party/libjpeg/jdmarker.c GETJOCTET(data[2]) == 0x6F && data 679 third_party/libjpeg/jdmarker.c GETJOCTET(data[3]) == 0x62 && data 680 third_party/libjpeg/jdmarker.c GETJOCTET(data[4]) == 0x65) { data 682 third_party/libjpeg/jdmarker.c version = (GETJOCTET(data[5]) << 8) + GETJOCTET(data[6]); data 683 third_party/libjpeg/jdmarker.c flags0 = (GETJOCTET(data[7]) << 8) + GETJOCTET(data[8]); data 684 third_party/libjpeg/jdmarker.c flags1 = (GETJOCTET(data[9]) << 8) + GETJOCTET(data[10]); data 685 third_party/libjpeg/jdmarker.c transform = GETJOCTET(data[11]); data 751 third_party/libjpeg/jdmarker.c JOCTET FAR * data; data 777 third_party/libjpeg/jdmarker.c data = cur_marker->data = (JOCTET FAR *) (cur_marker + 1); data 785 third_party/libjpeg/jdmarker.c data = NULL; data 791 third_party/libjpeg/jdmarker.c data = cur_marker->data + bytes_read; data 801 third_party/libjpeg/jdmarker.c *data++ = *next_input_byte++; data 819 third_party/libjpeg/jdmarker.c data = cur_marker->data; data 828 third_party/libjpeg/jdmarker.c examine_app0(cinfo, data, data_length, length); data 831 third_party/libjpeg/jdmarker.c examine_app14(cinfo, data, data_length, length); data 59 third_party/libjpeg/jfdctflt.c jpeg_fdct_float (FAST_FLOAT * data) data 69 third_party/libjpeg/jfdctflt.c dataptr = data; data 119 third_party/libjpeg/jfdctflt.c dataptr = data; data 114 third_party/libjpeg/jfdctfst.c jpeg_fdct_ifast (DCTELEM * data) data 125 third_party/libjpeg/jfdctfst.c dataptr = data; data 175 third_party/libjpeg/jfdctfst.c dataptr = data; data 140 third_party/libjpeg/jfdctint.c jpeg_fdct_islow (DCTELEM * data) data 153 third_party/libjpeg/jfdctint.c dataptr = data; data 218 third_party/libjpeg/jfdctint.c dataptr = data; data 204 third_party/libjpeg/jpeglib.h JOCTET FAR * data; /* the data contained in the marker */ data 949 third_party/libjpeg/jpeglib.h JSAMPIMAGE data, data 987 third_party/libjpeg/jpeglib.h JSAMPIMAGE data, data 508 third_party/libpng/png.c if (png_ptr->unknown_chunk.data) data 510 third_party/libpng/png.c png_free(png_ptr, png_ptr->unknown_chunk.data); data 511 third_party/libpng/png.c png_ptr->unknown_chunk.data = NULL; data 524 third_party/libpng/png.c png_free(png_ptr, info_ptr->unknown_chunks[num].data); data 525 third_party/libpng/png.c info_ptr->unknown_chunks[num].data = NULL; data 762 third_party/libpng/png.h png_byte *data; data 1624 third_party/libpng/png.h png_bytep chunk_name, png_bytep data, png_size_t length)); data 1632 third_party/libpng/png.h png_bytep data, png_size_t length)); data 3163 third_party/libpng/png.h png_bytep data, png_size_t length)) PNG_PRIVATE; data 3171 third_party/libpng/png.h png_bytep data, png_size_t length)) PNG_PRIVATE; data 3190 third_party/libpng/png.h PNG_EXTERN void png_write_data PNGARG((png_structp png_ptr, png_bytep data, data 3194 third_party/libpng/png.h PNG_EXTERN void png_read_data PNGARG((png_structp png_ptr, png_bytep data, data 3243 third_party/libpng/png.h PNG_EXTERN void png_write_IDAT PNGARG((png_structp png_ptr, png_bytep data, data 1669 third_party/libpng/pngpread.c png_ptr->unknown_chunk.data = NULL; data 1673 third_party/libpng/pngpread.c png_ptr->unknown_chunk.data = (png_bytep)png_malloc(png_ptr, data 1675 third_party/libpng/pngpread.c png_crc_read(png_ptr, (png_bytep)png_ptr->unknown_chunk.data, length); data 1703 third_party/libpng/pngpread.c png_free(png_ptr, png_ptr->unknown_chunk.data); data 1704 third_party/libpng/pngpread.c png_ptr->unknown_chunk.data = NULL; data 33 third_party/libpng/pngrio.c png_read_data(png_structp png_ptr, png_bytep data, png_size_t length) data 38 third_party/libpng/pngrio.c (*(png_ptr->read_data_fn))(png_ptr, data, length); data 51 third_party/libpng/pngrio.c png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) data 61 third_party/libpng/pngrio.c if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) ) data 64 third_party/libpng/pngrio.c check = (png_size_t)fread(data, (png_size_t)1, length, data 81 third_party/libpng/pngrio.c png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) data 90 third_party/libpng/pngrio.c n_data = (png_byte *)CVT_PTR_NOCHECK(data); data 92 third_party/libpng/pngrio.c if ((png_bytep)n_data == data) data 95 third_party/libpng/pngrio.c if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check, data 117 third_party/libpng/pngrio.c png_memcpy(data, buf, read); /* copy far buffer to near buffer */ data 122 third_party/libpng/pngrio.c data += read; data 222 third_party/libpng/pngrutil.c png_inflate(png_structp png_ptr, const png_byte *data, png_size_t size, data 227 third_party/libpng/pngrutil.c png_ptr->zstream.next_in = (png_bytep)data; /* const_cast: VALID */ data 2439 third_party/libpng/pngrutil.c png_ptr->unknown_chunk.data = NULL; data 2442 third_party/libpng/pngrutil.c png_ptr->unknown_chunk.data = (png_bytep)png_malloc(png_ptr, length); data 2443 third_party/libpng/pngrutil.c png_crc_read(png_ptr, (png_bytep)png_ptr->unknown_chunk.data, length); data 2469 third_party/libpng/pngrutil.c png_free(png_ptr, png_ptr->unknown_chunk.data); data 2470 third_party/libpng/pngrutil.c png_ptr->unknown_chunk.data = NULL; data 1002 third_party/libpng/pngset.c to->data=NULL; data 1005 third_party/libpng/pngset.c to->data = (png_bytep)png_malloc_warn(png_ptr, data 1007 third_party/libpng/pngset.c if (to->data == NULL) data 1014 third_party/libpng/pngset.c png_memcpy(to->data, from->data, from->size); data 34 third_party/libpng/pngwio.c png_write_data(png_structp png_ptr, png_bytep data, png_size_t length) data 37 third_party/libpng/pngwio.c (*(png_ptr->write_data_fn))(png_ptr, data, length); data 50 third_party/libpng/pngwio.c png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length) data 57 third_party/libpng/pngwio.c if ( !WriteFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) ) data 60 third_party/libpng/pngwio.c check = fwrite(data, 1, length, (png_FILE_p)(png_ptr->io_ptr)); data 75 third_party/libpng/pngwio.c png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length) data 84 third_party/libpng/pngwio.c near_data = (png_byte *)CVT_PTR_NOCHECK(data); data 86 third_party/libpng/pngwio.c if ((png_bytep)near_data == data) data 104 third_party/libpng/pngwio.c png_memcpy(buf, data, written); /* Copy far buffer to near buffer */ data 117 third_party/libpng/pngwio.c data += written; data 125 third_party/libpng/pngwrite.c png_write_chunk(png_ptr, up->name, up->data, up->size); data 302 third_party/libpng/pngwrite.c png_write_chunk(png_ptr, up->name, up->data, up->size); data 404 third_party/libpng/pngwrite.c png_write_chunk(png_ptr, up->name, up->data, up->size); data 85 third_party/libpng/pngwutil.c png_bytep data, png_size_t length) data 90 third_party/libpng/pngwutil.c png_write_chunk_data(png_ptr, data, (png_size_t)length); data 128 third_party/libpng/pngwutil.c png_write_chunk_data(png_structp png_ptr, png_bytep data, png_size_t length) data 133 third_party/libpng/pngwutil.c if (data != NULL && length > 0) data 135 third_party/libpng/pngwutil.c png_write_data(png_ptr, data, length); data 139 third_party/libpng/pngwutil.c png_calculate_crc(png_ptr, data, length); data 640 third_party/libpng/pngwutil.c png_write_IDAT(png_structp png_ptr, png_bytep data, png_size_t length) data 653 third_party/libpng/pngwutil.c unsigned int z_cmf = data[0]; /* zlib compression method and flags */ data 676 third_party/libpng/pngwutil.c if (data[0] != (png_byte)z_cmf) data 678 third_party/libpng/pngwutil.c data[0] = (png_byte)z_cmf; data 679 third_party/libpng/pngwutil.c data[1] &= 0xe0; data 680 third_party/libpng/pngwutil.c data[1] += (png_byte)(0x1f - ((z_cmf << 8) + data[1]) % 0x1f); data 689 third_party/libpng/pngwutil.c png_write_chunk(png_ptr, (png_bytep)png_IDAT, data, length); data 1149 third_party/libusb/src/libusb/descriptor.c uint8_t desc_index, unsigned char *data, int length) data 1192 third_party/libusb/src/libusb/descriptor.c data[di++] = '?'; data 1194 third_party/libusb/src/libusb/descriptor.c data[di++] = tbuf[si]; data 1197 third_party/libusb/src/libusb/descriptor.c data[di] = 0; data 1708 third_party/libusb/src/libusb/libusb.h unsigned char *data, uint16_t wLength, unsigned int timeout); data 1711 third_party/libusb/src/libusb/libusb.h unsigned char endpoint, unsigned char *data, int length, data 1715 third_party/libusb/src/libusb/libusb.h unsigned char endpoint, unsigned char *data, int length, data 1731 third_party/libusb/src/libusb/libusb.h uint8_t desc_type, uint8_t desc_index, unsigned char *data, int length) data 1735 third_party/libusb/src/libusb/libusb.h 0, data, (uint16_t) length, 1000); data 1753 third_party/libusb/src/libusb/libusb.h uint8_t desc_index, uint16_t langid, unsigned char *data, int length) data 1757 third_party/libusb/src/libusb/libusb.h langid, data, (uint16_t) length, 1000); data 1761 third_party/libusb/src/libusb/libusb.h uint8_t desc_index, unsigned char *data, int length); data 835 third_party/libusb/src/libusb/os/linux_usbfs.c .data = &active_config data 1515 third_party/libusb/src/libusb/os/linux_usbfs.c command.data = NULL; data 1548 third_party/libusb/src/libusb/os/linux_usbfs.c command.data = NULL; data 39 third_party/libusb/src/libusb/os/linux_usbfs.h void *data; data 49 third_party/libusb/src/libusb/os/linux_usbfs.h void *data; data 113 third_party/libusb/src/libusb/os/linux_usbfs.h void *data; /* param buffer (in, or out) */ data 1023 third_party/libusb/src/libusb/os/windows_usb.c if ((ret_size != size) || (cd_buf_short.data.wTotalLength < sizeof(USB_CONFIGURATION_DESCRIPTOR))) { data 1028 third_party/libusb/src/libusb/os/windows_usb.c size = sizeof(USB_DESCRIPTOR_REQUEST) + cd_buf_short.data.wTotalLength; data 1051 third_party/libusb/src/libusb/os/windows_usb.c if ((size != ret_size) || (cd_data->wTotalLength != cd_buf_short.data.wTotalLength)) { data 3153 third_party/libusb/src/libusb/os/windows_usb.c static int _hid_get_hid_descriptor(struct hid_device_priv* dev, void *data, size_t *size); data 3154 third_party/libusb/src/libusb/os/windows_usb.c static int _hid_get_report_descriptor(struct hid_device_priv* dev, void *data, size_t *size); data 3165 third_party/libusb/src/libusb/os/windows_usb.c static int _hid_get_device_descriptor(struct hid_device_priv* dev, void *data, size_t *size) data 3186 third_party/libusb/src/libusb/os/windows_usb.c memcpy(data, &d, *size); data 3190 third_party/libusb/src/libusb/os/windows_usb.c static int _hid_get_config_descriptor(struct hid_device_priv* dev, void *data, size_t *size) data 3261 third_party/libusb/src/libusb/os/windows_usb.c memcpy(data, tmp, *size); data 3266 third_party/libusb/src/libusb/os/windows_usb.c void *data, size_t *size) data 3306 third_party/libusb/src/libusb/os/windows_usb.c ((uint8_t*)data)[0] = (uint8_t)*size; data 3307 third_party/libusb/src/libusb/os/windows_usb.c ((uint8_t*)data)[1] = LIBUSB_DT_STRING; data 3308 third_party/libusb/src/libusb/os/windows_usb.c memcpy((uint8_t*)data+2, tmp, *size-2); data 3312 third_party/libusb/src/libusb/os/windows_usb.c static int _hid_get_hid_descriptor(struct hid_device_priv* dev, void *data, size_t *size) data 3330 third_party/libusb/src/libusb/os/windows_usb.c memcpy(data, &d, *size); data 3334 third_party/libusb/src/libusb/os/windows_usb.c static int _hid_get_report_descriptor(struct hid_device_priv* dev, void *data, size_t *size) data 3396 third_party/libusb/src/libusb/os/windows_usb.c memcpy(data, d, *size); data 3401 third_party/libusb/src/libusb/os/windows_usb.c int type, int _index, void *data, size_t *size) data 3406 third_party/libusb/src/libusb/os/windows_usb.c return _hid_get_device_descriptor(dev, data, size); data 3410 third_party/libusb/src/libusb/os/windows_usb.c return _hid_get_config_descriptor(dev, data, size); data 3414 third_party/libusb/src/libusb/os/windows_usb.c return _hid_get_string_descriptor(dev, _index, data, size); data 3418 third_party/libusb/src/libusb/os/windows_usb.c return _hid_get_hid_descriptor(dev, data, size); data 3423 third_party/libusb/src/libusb/os/windows_usb.c return _hid_get_report_descriptor(dev, data, size); data 3427 third_party/libusb/src/libusb/os/windows_usb.c if (HidD_GetPhysicalDescriptor(hid_handle, data, (ULONG)*size)) data 3435 third_party/libusb/src/libusb/os/windows_usb.c static int _hid_get_report(struct hid_device_priv* dev, HANDLE hid_handle, int id, void *data, data 3485 third_party/libusb/src/libusb/os/windows_usb.c tp->hid_dest = (uint8_t*)data; // copy dest, as not necessarily the start of the transfer buffer data 3507 third_party/libusb/src/libusb/os/windows_usb.c memcpy(data, buf+1, *size); data 3509 third_party/libusb/src/libusb/os/windows_usb.c memcpy(data, buf, *size); data 3516 third_party/libusb/src/libusb/os/windows_usb.c static int _hid_set_report(struct hid_device_priv* dev, HANDLE hid_handle, int id, void *data, data 3556 third_party/libusb/src/libusb/os/windows_usb.c memcpy(buf + 1, data, *size); data 3560 third_party/libusb/src/libusb/os/windows_usb.c memcpy(buf, data, *size); data 3589 third_party/libusb/src/libusb/os/windows_usb.c int request, int value, int _index, void *data, struct windows_transfer_priv *tp, data 3600 third_party/libusb/src/libusb/os/windows_usb.c return _hid_set_report(dev, hid_handle, report_id, data, tp, size, overlapped, report_type); data 3603 third_party/libusb/src/libusb/os/windows_usb.c return _hid_get_report(dev, hid_handle, report_id, data, tp, size, overlapped, report_type); data 465 third_party/libusb/src/libusb/os/windows_usb.h USB_CONFIGURATION_DESCRIPTOR data; data 92 third_party/libusb/src/libusb/sync.c unsigned char *data, uint16_t wLength, unsigned int timeout) data 111 third_party/libusb/src/libusb/sync.c memcpy(buffer + LIBUSB_CONTROL_SETUP_SIZE, data, wLength); data 125 third_party/libusb/src/libusb/sync.c memcpy(data, libusb_control_transfer_get_data(transfer), data 253 third_party/libusb/src/libusb/sync.c unsigned char endpoint, unsigned char *data, int length, int *transferred, data 256 third_party/libusb/src/libusb/sync.c return do_sync_bulk_transfer(dev_handle, endpoint, data, length, data 303 third_party/libusb/src/libusb/sync.c unsigned char *data, int length, int *transferred, unsigned int timeout) data 305 third_party/libusb/src/libusb/sync.c return do_sync_bulk_transfer(dev_handle, endpoint, data, length, data 973 third_party/libva/va/va.h unsigned int data[0]; data 1735 third_party/libva/va/va.h void *data, /* in */ data 140 third_party/libva/va/va_backend.h void *data, /* in */ data 52 third_party/libva/va/va_backend_tpi.h unsigned char* data, data 70 third_party/libva/va/va_fool.h void *data, /* in */ data 73 third_party/libva/va/va_tpi.h unsigned char* data, data 105 third_party/libva/va/va_trace.h void *data, /* in */ data 44 third_party/libwebp/dec/alpha.c static int ALPHInit(ALPHDecoder* const dec, const uint8_t* data, data 47 third_party/libwebp/dec/alpha.c const uint8_t* const alpha_data = data + ALPHA_HEADER_LEN; data 52 third_party/libwebp/dec/alpha.c assert(data != NULL && output != NULL); data 61 third_party/libwebp/dec/alpha.c dec->method_ = (data[0] >> 0) & 0x03; data 62 third_party/libwebp/dec/alpha.c dec->filter_ = (data[0] >> 2) & 0x03; data 63 third_party/libwebp/dec/alpha.c dec->pre_processing_ = (data[0] >> 4) & 0x03; data 64 third_party/libwebp/dec/alpha.c rsrv = (data[0] >> 6) & 0x03; data 88 third_party/libwebp/dec/decode_vp8.h const uint8_t* data; data 160 third_party/libwebp/dec/decode_vp8.h WEBP_EXTERN(int) VP8CheckSignature(const uint8_t* const data, size_t data_size); data 166 third_party/libwebp/dec/decode_vp8.h const uint8_t* data, data 172 third_party/libwebp/dec/decode_vp8.h WEBP_EXTERN(int) VP8LCheckSignature(const uint8_t* const data, size_t size); data 178 third_party/libwebp/dec/decode_vp8.h const uint8_t* data, size_t data_size, // data available so far data 211 third_party/libwebp/dec/frame.c const VP8MBData* const data = ctx->mb_data_ + mb_x; data 214 third_party/libwebp/dec/frame.c if (data->dither_ >= MIN_DITHER_AMP) { data 217 third_party/libwebp/dec/frame.c Dither8x8(&dec->dithering_rg_, u_dst, uv_bps, data->dither_); data 218 third_party/libwebp/dec/frame.c Dither8x8(&dec->dithering_rg_, v_dst, uv_bps, data->dither_); data 123 third_party/libwebp/dec/idec.c idec->io_.data = new_base; data 169 third_party/libwebp/dec/idec.c const uint8_t* const data, size_t data_size) { data 199 third_party/libwebp/dec/idec.c memcpy(mem->buf_ + mem->end_, data, data_size); data 208 third_party/libwebp/dec/idec.c const uint8_t* const data, size_t data_size) { data 216 third_party/libwebp/dec/idec.c mem->buf_ = (uint8_t*)data; data 299 third_party/libwebp/dec/idec.c idec->io_.data = mem->buf_ + mem->start_; data 306 third_party/libwebp/dec/idec.c const uint8_t* data = mem->buf_ + mem->start_; data 311 third_party/libwebp/dec/idec.c headers.data = data; data 343 third_party/libwebp/dec/idec.c const uint8_t* data = idec->mem_.buf_ + idec->mem_.start_; data 352 third_party/libwebp/dec/idec.c if (!VP8GetInfo(data, curr_size, idec->chunk_size_, &width, &height)) { data 356 third_party/libwebp/dec/idec.c bits = data[0] | (data[1] << 8) | (data[2] << 16); data 359 third_party/libwebp/dec/idec.c idec->io_.data = data; data 591 third_party/libwebp/dec/idec.c WebPIDecoder* WebPIDecode(const uint8_t* data, size_t data_size, data 596 third_party/libwebp/dec/idec.c if (data != NULL && data_size > 0 && config != NULL) { data 597 third_party/libwebp/dec/idec.c if (WebPGetFeatures(data, data_size, &config->input) != VP8_STATUS_OK) { data 724 third_party/libwebp/dec/idec.c const uint8_t* data, size_t data_size) { data 726 third_party/libwebp/dec/idec.c if (idec == NULL || data == NULL) { data 738 third_party/libwebp/dec/idec.c if (!AppendToMemBuffer(idec, data, data_size)) { data 745 third_party/libwebp/dec/idec.c const uint8_t* data, size_t data_size) { data 747 third_party/libwebp/dec/idec.c if (idec == NULL || data == NULL) { data 759 third_party/libwebp/dec/idec.c if (!RemapMemBuffer(idec, data, data_size)) { data 91 third_party/libwebp/dec/vp8.c int VP8CheckSignature(const uint8_t* const data, size_t data_size) { data 93 third_party/libwebp/dec/vp8.c data[0] == 0x9d && data[1] == 0x01 && data[2] == 0x2a); data 96 third_party/libwebp/dec/vp8.c int VP8GetInfo(const uint8_t* data, size_t data_size, size_t chunk_size, data 98 third_party/libwebp/dec/vp8.c if (data == NULL || data_size < VP8_FRAME_HEADER_SIZE) { data 102 third_party/libwebp/dec/vp8.c if (!VP8CheckSignature(data + 3, data_size - 3)) { data 105 third_party/libwebp/dec/vp8.c const uint32_t bits = data[0] | (data[1] << 8) | (data[2] << 16); data 107 third_party/libwebp/dec/vp8.c const int w = ((data[7] << 8) | data[6]) & 0x3fff; data 108 third_party/libwebp/dec/vp8.c const int h = ((data[9] << 8) | data[8]) & 0x3fff; data 261 third_party/libwebp/dec/vp8.c buf = io->data; data 82 third_party/libwebp/dec/vp8l.c int VP8LCheckSignature(const uint8_t* const data, size_t size) { data 84 third_party/libwebp/dec/vp8l.c data[0] == VP8L_MAGIC_BYTE && data 85 third_party/libwebp/dec/vp8l.c (data[4] >> 5) == 0); // version data 99 third_party/libwebp/dec/vp8l.c int VP8LGetInfo(const uint8_t* data, size_t data_size, data 101 third_party/libwebp/dec/vp8l.c if (data == NULL || data_size < VP8L_FRAME_HEADER_SIZE) { data 103 third_party/libwebp/dec/vp8l.c } else if (!VP8LCheckSignature(data, data_size)) { data 108 third_party/libwebp/dec/vp8l.c VP8LInitBitReader(&br, data, data_size); data 729 third_party/libwebp/dec/vp8l.c static int DecodeAlphaData(VP8LDecoder* const dec, uint8_t* const data, data 756 third_party/libwebp/dec/vp8l.c data[pos] = code; data 776 third_party/libwebp/dec/vp8l.c for (i = 0; i < length; ++i) data[pos + i] = data[pos + i - dist]; data 815 third_party/libwebp/dec/vp8l.c static int DecodeImageData(VP8LDecoder* const dec, uint32_t* const data, data 824 third_party/libwebp/dec/vp8l.c uint32_t* src = data + dec->last_pixel_; data 826 third_party/libwebp/dec/vp8l.c uint32_t* const src_end = data + width * height; // End of data data 827 third_party/libwebp/dec/vp8l.c uint32_t* const src_last = data + width * last_row; // Last pixel to decode data 878 third_party/libwebp/dec/vp8l.c if (src - data < (ptrdiff_t)dist || src_end - src < (ptrdiff_t)length) { data 926 third_party/libwebp/dec/vp8l.c dec->last_pixel_ = (int)(src - data); data 951 third_party/libwebp/dec/vp8l.c uint8_t* const data = (uint8_t*)transform->data_; data 956 third_party/libwebp/dec/vp8l.c new_data[i] = (data[i] + new_data[i - 4]) & 0xff; data 1096 third_party/libwebp/dec/vp8l.c uint32_t* data = NULL; data 1144 third_party/libwebp/dec/vp8l.c data = (uint32_t*)WebPSafeMalloc(total_size, sizeof(*data)); data 1145 third_party/libwebp/dec/vp8l.c if (data == NULL) { data 1153 third_party/libwebp/dec/vp8l.c ok = DecodeImageData(dec, data, transform_xsize, transform_ysize, data 1160 third_party/libwebp/dec/vp8l.c free(data); data 1169 third_party/libwebp/dec/vp8l.c *decoded_data = data; data 1173 third_party/libwebp/dec/vp8l.c assert(data == NULL); data 1239 third_party/libwebp/dec/vp8l.c const uint8_t* const data, size_t data_size, data 1261 third_party/libwebp/dec/vp8l.c VP8LInitBitReader(&dec->br_, data, data_size); data 1324 third_party/libwebp/dec/vp8l.c VP8LInitBitReader(&dec->br_, io->data, io->data_size); data 104 third_party/libwebp/dec/vp8li.h const uint8_t* const data, size_t data_size, data 46 third_party/libwebp/dec/webp.c static WEBP_INLINE uint32_t get_le24(const uint8_t* const data) { data 47 third_party/libwebp/dec/webp.c return data[0] | (data[1] << 8) | (data[2] << 16); data 50 third_party/libwebp/dec/webp.c static WEBP_INLINE uint32_t get_le32(const uint8_t* const data) { data 51 third_party/libwebp/dec/webp.c return (uint32_t)get_le24(data) | (data[3] << 24); data 60 third_party/libwebp/dec/webp.c static VP8StatusCode ParseRIFF(const uint8_t** const data, data 63 third_party/libwebp/dec/webp.c assert(data != NULL); data 68 third_party/libwebp/dec/webp.c if (*data_size >= RIFF_HEADER_SIZE && !memcmp(*data, "RIFF", TAG_SIZE)) { data 69 third_party/libwebp/dec/webp.c if (memcmp(*data + 8, "WEBP", TAG_SIZE)) { data 72 third_party/libwebp/dec/webp.c const uint32_t size = get_le32(*data + TAG_SIZE); data 82 third_party/libwebp/dec/webp.c *data += RIFF_HEADER_SIZE; data 96 third_party/libwebp/dec/webp.c static VP8StatusCode ParseVP8X(const uint8_t** const data, data 102 third_party/libwebp/dec/webp.c assert(data != NULL); data 112 third_party/libwebp/dec/webp.c if (!memcmp(*data, "VP8X", TAG_SIZE)) { data 115 third_party/libwebp/dec/webp.c const uint32_t chunk_size = get_le32(*data + TAG_SIZE); data 124 third_party/libwebp/dec/webp.c flags = get_le32(*data + 8); data 125 third_party/libwebp/dec/webp.c width = 1 + get_le24(*data + 12); data 126 third_party/libwebp/dec/webp.c height = 1 + get_le24(*data + 15); data 135 third_party/libwebp/dec/webp.c *data += vp8x_size; data 149 third_party/libwebp/dec/webp.c static VP8StatusCode ParseOptionalChunks(const uint8_t** const data, data 159 third_party/libwebp/dec/webp.c assert(data != NULL); data 161 third_party/libwebp/dec/webp.c buf = *data; data 173 third_party/libwebp/dec/webp.c *data = buf; data 230 third_party/libwebp/dec/webp.c const uint8_t* const data = *data_ptr; data 231 third_party/libwebp/dec/webp.c const int is_vp8 = !memcmp(data, "VP8 ", TAG_SIZE); data 232 third_party/libwebp/dec/webp.c const int is_vp8l = !memcmp(data, "VP8L", TAG_SIZE); data 236 third_party/libwebp/dec/webp.c assert(data != NULL); data 247 third_party/libwebp/dec/webp.c const uint32_t size = get_le32(data + TAG_SIZE); data 258 third_party/libwebp/dec/webp.c *is_lossless = VP8LCheckSignature(data, *data_size); data 278 third_party/libwebp/dec/webp.c static VP8StatusCode ParseHeadersInternal(const uint8_t* data, data 298 third_party/libwebp/dec/webp.c if (data == NULL || data_size < RIFF_HEADER_SIZE) { data 302 third_party/libwebp/dec/webp.c hdrs.data = data; data 306 third_party/libwebp/dec/webp.c status = ParseRIFF(&data, &data_size, &hdrs.riff_size); data 315 third_party/libwebp/dec/webp.c status = ParseVP8X(&data, &data_size, &found_vp8x, data 343 third_party/libwebp/dec/webp.c (!found_riff && !found_vp8x && !memcmp(data, "ALPH", TAG_SIZE))) { data 344 third_party/libwebp/dec/webp.c status = ParseOptionalChunks(&data, &data_size, hdrs.riff_size, data 352 third_party/libwebp/dec/webp.c status = ParseVP8Header(&data, &data_size, hdrs.riff_size, data 370 third_party/libwebp/dec/webp.c if (!VP8GetInfo(data, data_size, (uint32_t)hdrs.compressed_size, data 379 third_party/libwebp/dec/webp.c if (!VP8LGetInfo(data, data_size, &image_width, &image_height, has_alpha)) { data 398 third_party/libwebp/dec/webp.c headers->offset = data - headers->data; data 399 third_party/libwebp/dec/webp.c assert((uint64_t)(data - headers->data) < MAX_CHUNK_PAYLOAD); data 410 third_party/libwebp/dec/webp.c status = ParseHeadersInternal(headers->data, headers->data_size, data 435 third_party/libwebp/dec/webp.c static VP8StatusCode DecodeInto(const uint8_t* const data, size_t data_size, data 441 third_party/libwebp/dec/webp.c headers.data = data; data 450 third_party/libwebp/dec/webp.c io.data = headers.data + headers.offset; data 508 third_party/libwebp/dec/webp.c const uint8_t* const data, data 525 third_party/libwebp/dec/webp.c if (DecodeInto(data, data_size, ¶ms) != VP8_STATUS_OK) { data 531 third_party/libwebp/dec/webp.c uint8_t* WebPDecodeRGBInto(const uint8_t* data, size_t data_size, data 533 third_party/libwebp/dec/webp.c return DecodeIntoRGBABuffer(MODE_RGB, data, data_size, output, stride, size); data 536 third_party/libwebp/dec/webp.c uint8_t* WebPDecodeRGBAInto(const uint8_t* data, size_t data_size, data 538 third_party/libwebp/dec/webp.c return DecodeIntoRGBABuffer(MODE_RGBA, data, data_size, output, stride, size); data 541 third_party/libwebp/dec/webp.c uint8_t* WebPDecodeARGBInto(const uint8_t* data, size_t data_size, data 543 third_party/libwebp/dec/webp.c return DecodeIntoRGBABuffer(MODE_ARGB, data, data_size, output, stride, size); data 546 third_party/libwebp/dec/webp.c uint8_t* WebPDecodeBGRInto(const uint8_t* data, size_t data_size, data 548 third_party/libwebp/dec/webp.c return DecodeIntoRGBABuffer(MODE_BGR, data, data_size, output, stride, size); data 551 third_party/libwebp/dec/webp.c uint8_t* WebPDecodeBGRAInto(const uint8_t* data, size_t data_size, data 553 third_party/libwebp/dec/webp.c return DecodeIntoRGBABuffer(MODE_BGRA, data, data_size, output, stride, size); data 556 third_party/libwebp/dec/webp.c uint8_t* WebPDecodeYUVInto(const uint8_t* data, size_t data_size, data 577 third_party/libwebp/dec/webp.c if (DecodeInto(data, data_size, ¶ms) != VP8_STATUS_OK) { data 585 third_party/libwebp/dec/webp.c static uint8_t* Decode(WEBP_CSP_MODE mode, const uint8_t* const data, data 597 third_party/libwebp/dec/webp.c if (!WebPGetInfo(data, data_size, &output.width, &output.height)) { data 604 third_party/libwebp/dec/webp.c if (DecodeInto(data, data_size, ¶ms) != VP8_STATUS_OK) { data 614 third_party/libwebp/dec/webp.c uint8_t* WebPDecodeRGB(const uint8_t* data, size_t data_size, data 616 third_party/libwebp/dec/webp.c return Decode(MODE_RGB, data, data_size, width, height, NULL); data 619 third_party/libwebp/dec/webp.c uint8_t* WebPDecodeRGBA(const uint8_t* data, size_t data_size, data 621 third_party/libwebp/dec/webp.c return Decode(MODE_RGBA, data, data_size, width, height, NULL); data 624 third_party/libwebp/dec/webp.c uint8_t* WebPDecodeARGB(const uint8_t* data, size_t data_size, data 626 third_party/libwebp/dec/webp.c return Decode(MODE_ARGB, data, data_size, width, height, NULL); data 629 third_party/libwebp/dec/webp.c uint8_t* WebPDecodeBGR(const uint8_t* data, size_t data_size, data 631 third_party/libwebp/dec/webp.c return Decode(MODE_BGR, data, data_size, width, height, NULL); data 634 third_party/libwebp/dec/webp.c uint8_t* WebPDecodeBGRA(const uint8_t* data, size_t data_size, data 636 third_party/libwebp/dec/webp.c return Decode(MODE_BGRA, data, data_size, width, height, NULL); data 639 third_party/libwebp/dec/webp.c uint8_t* WebPDecodeYUV(const uint8_t* data, size_t data_size, data 643 third_party/libwebp/dec/webp.c uint8_t* const out = Decode(MODE_YUV, data, data_size, data 662 third_party/libwebp/dec/webp.c static VP8StatusCode GetFeatures(const uint8_t* const data, size_t data_size, data 664 third_party/libwebp/dec/webp.c if (features == NULL || data == NULL) { data 670 third_party/libwebp/dec/webp.c return ParseHeadersInternal(data, data_size, data 679 third_party/libwebp/dec/webp.c int WebPGetInfo(const uint8_t* data, size_t data_size, data 683 third_party/libwebp/dec/webp.c if (GetFeatures(data, data_size, &features) != VP8_STATUS_OK) { data 714 third_party/libwebp/dec/webp.c VP8StatusCode WebPGetFeaturesInternal(const uint8_t* data, size_t data_size, data 723 third_party/libwebp/dec/webp.c return GetFeatures(data, data_size, features); data 726 third_party/libwebp/dec/webp.c VP8StatusCode WebPDecode(const uint8_t* data, size_t data_size, data 735 third_party/libwebp/dec/webp.c status = GetFeatures(data, data_size, &config->input); data 746 third_party/libwebp/dec/webp.c status = DecodeInto(data, data_size, ¶ms); data 55 third_party/libwebp/dec/webpi.h const uint8_t* data; // input buffer data 111 third_party/libwebp/demux/demux.c const uint8_t* data, size_t size) { data 114 third_party/libwebp/demux/demux.c mem->buf_ = data; data 120 third_party/libwebp/demux/demux.c const uint8_t* data, size_t size) { data 122 third_party/libwebp/demux/demux.c return RemapMemBuffer(mem, data, size); data 155 third_party/libwebp/demux/demux.c const uint8_t* const data = mem->buf_ + mem->start_; data 156 third_party/libwebp/demux/demux.c const int val = GetLE16(data); data 162 third_party/libwebp/demux/demux.c const uint8_t* const data = mem->buf_ + mem->start_; data 163 third_party/libwebp/demux/demux.c const int val = GetLE24(data); data 169 third_party/libwebp/demux/demux.c const uint8_t* const data = mem->buf_ + mem->start_; data 170 third_party/libwebp/demux/demux.c const uint32_t val = GetLE32(data); data 706 third_party/libwebp/demux/demux.c WebPDemuxer* WebPDemuxInternal(const WebPData* data, int allow_partial, data 717 third_party/libwebp/demux/demux.c if (data == NULL || data->bytes == NULL || data->size == 0) return NULL; data 719 third_party/libwebp/demux/demux.c if (!InitMemBuffer(&mem, data->bytes, data->size)) return NULL; data 711 third_party/libwebp/dsp/lossless.c int y_start, int y_end, uint32_t* data) { data 715 third_party/libwebp/dsp/lossless.c const uint32_t pred0 = Predictor0(data[-1], NULL); data 716 third_party/libwebp/dsp/lossless.c AddPixelsEq(data, pred0); data 718 third_party/libwebp/dsp/lossless.c const uint32_t pred1 = Predictor1(data[x - 1], NULL); data 719 third_party/libwebp/dsp/lossless.c AddPixelsEq(data + x, pred1); data 721 third_party/libwebp/dsp/lossless.c data += width; data 734 third_party/libwebp/dsp/lossless.c const uint32_t pred2 = Predictor2(data[-1], data - width); data 739 third_party/libwebp/dsp/lossless.c AddPixelsEq(data, pred2); data 748 third_party/libwebp/dsp/lossless.c pred = pred_func(data[x - 1], data + x - width); data 749 third_party/libwebp/dsp/lossless.c AddPixelsEq(data + x, pred); data 751 third_party/libwebp/dsp/lossless.c data += width; data 773 third_party/libwebp/dsp/lossless.c static void AddGreenToBlueAndRed(uint32_t* data, const uint32_t* data_end) { data 774 third_party/libwebp/dsp/lossless.c while (data < data_end) { data 775 third_party/libwebp/dsp/lossless.c const uint32_t argb = *data; data 780 third_party/libwebp/dsp/lossless.c *data++ = (argb & 0xff00ff00u) | red_blue; data 1086 third_party/libwebp/dsp/lossless.c int y_start, int y_end, uint32_t* data) { data 1101 third_party/libwebp/dsp/lossless.c data[x] = TransformColor(&m, data[x], 1); data 1103 third_party/libwebp/dsp/lossless.c data += width; data 1474 third_party/libwebp/dsp/lossless.c static void AddGreenToBlueAndRedSSE2(uint32_t* data, const uint32_t* data_end) { data 1476 third_party/libwebp/dsp/lossless.c for (; data + 4 < data_end; data += 4) { data 1477 third_party/libwebp/dsp/lossless.c const __m128i in = _mm_loadu_si128((__m128i*)data); data 1483 third_party/libwebp/dsp/lossless.c _mm_storeu_si128((__m128i*)data, out); data 1486 third_party/libwebp/dsp/lossless.c while (data < data_end) { data 1487 third_party/libwebp/dsp/lossless.c const uint32_t argb = *data; data 1492 third_party/libwebp/dsp/lossless.c *data++ = (argb & 0xff00ff00u) | red_blue; data 47 third_party/libwebp/enc/alpha.c static int EncodeLossless(const uint8_t* const data, int width, int height, data 67 third_party/libwebp/enc/alpha.c const uint8_t* src = data; data 108 third_party/libwebp/enc/alpha.c static int EncodeAlphaInternal(const uint8_t* const data, int width, int height, data 138 third_party/libwebp/enc/alpha.c filter_func(data, width, height, width, tmp_alpha); data 141 third_party/libwebp/enc/alpha.c alpha_src = data; data 168 third_party/libwebp/enc/alpha.c static int GetNumColors(const uint8_t* data, int width, int height, data 176 third_party/libwebp/enc/alpha.c const uint8_t* const p = data + j * stride; data 521 third_party/libwebp/enc/picture.c int WebPMemoryWrite(const uint8_t* data, size_t data_size, data 547 third_party/libwebp/enc/picture.c memcpy(w->mem + w->size, data, data_size); data 39 third_party/libwebp/enc/webpenc.c static int DummyWriter(const uint8_t* data, size_t data_size, data 42 third_party/libwebp/enc/webpenc.c (void)data; data 178 third_party/libwebp/utils/bit_writer.c const uint8_t* data, size_t size) { data 179 third_party/libwebp/utils/bit_writer.c assert(data); data 182 third_party/libwebp/utils/bit_writer.c memcpy(bw->buf_ + bw->pos_, data, size); data 53 third_party/libwebp/utils/bit_writer.h const uint8_t* data, size_t size); data 78 third_party/libwebp/utils/filters.c static void HorizontalFilter(const uint8_t* data, int width, int height, data 80 third_party/libwebp/utils/filters.c DoHorizontalFilter(data, width, height, stride, 0, height, 0, filtered_data); data 84 third_party/libwebp/utils/filters.c int num_rows, uint8_t* data) { data 85 third_party/libwebp/utils/filters.c DoHorizontalFilter(data, width, height, stride, row, num_rows, 1, data); data 126 third_party/libwebp/utils/filters.c static void VerticalFilter(const uint8_t* data, int width, int height, data 128 third_party/libwebp/utils/filters.c DoVerticalFilter(data, width, height, stride, 0, height, 0, filtered_data); data 132 third_party/libwebp/utils/filters.c int num_rows, uint8_t* data) { data 133 third_party/libwebp/utils/filters.c DoVerticalFilter(data, width, height, stride, row, num_rows, 1, data); data 184 third_party/libwebp/utils/filters.c static void GradientFilter(const uint8_t* data, int width, int height, data 186 third_party/libwebp/utils/filters.c DoGradientFilter(data, width, height, stride, 0, height, 0, filtered_data); data 190 third_party/libwebp/utils/filters.c int num_rows, uint8_t* data) { data 191 third_party/libwebp/utils/filters.c DoGradientFilter(data, width, height, stride, row, num_rows, 1, data); data 202 third_party/libwebp/utils/filters.c WEBP_FILTER_TYPE EstimateBestFilter(const uint8_t* data, data 210 third_party/libwebp/utils/filters.c const uint8_t* const p = data + j * stride; data 37 third_party/libwebp/utils/filters.h int row, int num_rows, uint8_t* data); data 52 third_party/libwebp/utils/filters.h WEBP_FILTER_TYPE EstimateBestFilter(const uint8_t* data, data 27 third_party/libwebp/utils/quant_levels.c int QuantizeLevels(uint8_t* const data, int width, int height, data 38 third_party/libwebp/utils/quant_levels.c if (data == NULL) { data 54 third_party/libwebp/utils/quant_levels.c num_levels_in += (freq[data[n]] == 0); data 55 third_party/libwebp/utils/quant_levels.c if (min_s > data[n]) min_s = data[n]; data 56 third_party/libwebp/utils/quant_levels.c if (max_s < data[n]) max_s = data[n]; data 57 third_party/libwebp/utils/quant_levels.c ++freq[data[n]]; data 131 third_party/libwebp/utils/quant_levels.c data[n] = map[data[n]]; data 29 third_party/libwebp/utils/quant_levels.h int QuantizeLevels(uint8_t* const data, int width, int height, int num_levels, data 16 third_party/libwebp/utils/quant_levels_dec.c int DequantizeLevels(uint8_t* const data, int width, int height, data 18 third_party/libwebp/utils/quant_levels_dec.c if (data == NULL || width <= 0 || height <= 0 || row < 0 || num_rows < 0 || data 27 third_party/libwebp/utils/quant_levels_dec.h int DequantizeLevels(uint8_t* const data, int width, int height, data 47 third_party/libwebp/utils/utils.h static WEBP_INLINE int GetLE16(const uint8_t* const data) { data 48 third_party/libwebp/utils/utils.h return (int)(data[0] << 0) | (data[1] << 8); data 51 third_party/libwebp/utils/utils.h static WEBP_INLINE int GetLE24(const uint8_t* const data) { data 52 third_party/libwebp/utils/utils.h return GetLE16(data) | (data[2] << 16); data 55 third_party/libwebp/utils/utils.h static WEBP_INLINE uint32_t GetLE32(const uint8_t* const data) { data 56 third_party/libwebp/utils/utils.h return (uint32_t)GetLE16(data) | (GetLE16(data + 2) << 16); data 60 third_party/libwebp/utils/utils.h static WEBP_INLINE void PutLE16(uint8_t* const data, int val) { data 62 third_party/libwebp/utils/utils.h data[0] = (val >> 0); data 63 third_party/libwebp/utils/utils.h data[1] = (val >> 8); data 66 third_party/libwebp/utils/utils.h static WEBP_INLINE void PutLE24(uint8_t* const data, int val) { data 68 third_party/libwebp/utils/utils.h PutLE16(data, val & 0xffff); data 69 third_party/libwebp/utils/utils.h data[2] = (val >> 16); data 72 third_party/libwebp/utils/utils.h static WEBP_INLINE void PutLE32(uint8_t* const data, uint32_t val) { data 73 third_party/libwebp/utils/utils.h PutLE16(data, (int)(val & 0xffff)); data 74 third_party/libwebp/utils/utils.h PutLE16(data + 2, (int)(val >> 16)); data 45 third_party/libwebp/webp/decode.h WEBP_EXTERN(int) WebPGetInfo(const uint8_t* data, size_t data_size, data 53 third_party/libwebp/webp/decode.h WEBP_EXTERN(uint8_t*) WebPDecodeRGBA(const uint8_t* data, size_t data_size, data 57 third_party/libwebp/webp/decode.h WEBP_EXTERN(uint8_t*) WebPDecodeARGB(const uint8_t* data, size_t data_size, data 61 third_party/libwebp/webp/decode.h WEBP_EXTERN(uint8_t*) WebPDecodeBGRA(const uint8_t* data, size_t data_size, data 66 third_party/libwebp/webp/decode.h WEBP_EXTERN(uint8_t*) WebPDecodeRGB(const uint8_t* data, size_t data_size, data 70 third_party/libwebp/webp/decode.h WEBP_EXTERN(uint8_t*) WebPDecodeBGR(const uint8_t* data, size_t data_size, data 83 third_party/libwebp/webp/decode.h WEBP_EXTERN(uint8_t*) WebPDecodeYUV(const uint8_t* data, size_t data_size, data 97 third_party/libwebp/webp/decode.h const uint8_t* data, size_t data_size, data 100 third_party/libwebp/webp/decode.h const uint8_t* data, size_t data_size, data 103 third_party/libwebp/webp/decode.h const uint8_t* data, size_t data_size, data 109 third_party/libwebp/webp/decode.h const uint8_t* data, size_t data_size, data 112 third_party/libwebp/webp/decode.h const uint8_t* data, size_t data_size, data 123 third_party/libwebp/webp/decode.h const uint8_t* data, size_t data_size, data 322 third_party/libwebp/webp/decode.h WebPIDecoder* idec, const uint8_t* data, size_t data_size); data 330 third_party/libwebp/webp/decode.h WebPIDecoder* idec, const uint8_t* data, size_t data_size); data 427 third_party/libwebp/webp/decode.h const uint8_t* data, size_t data_size, data 429 third_party/libwebp/webp/decode.h return WebPGetFeaturesInternal(data, data_size, features, data 478 third_party/libwebp/webp/decode.h WEBP_EXTERN(WebPIDecoder*) WebPIDecode(const uint8_t* data, size_t data_size, data 484 third_party/libwebp/webp/decode.h WEBP_EXTERN(VP8StatusCode) WebPDecode(const uint8_t* data, size_t data_size, data 90 third_party/libwebp/webp/demux.h static WEBP_INLINE WebPDemuxer* WebPDemux(const WebPData* data) { data 91 third_party/libwebp/webp/demux.h return WebPDemuxInternal(data, 0, NULL, WEBP_DEMUX_ABI_VERSION); data 103 third_party/libwebp/webp/demux.h const WebPData* data, WebPDemuxState* state) { data 104 third_party/libwebp/webp/demux.h return WebPDemuxInternal(data, 1, state, WEBP_DEMUX_ABI_VERSION); data 209 third_party/libwebp/webp/encode.h typedef int (*WebPWriterFunction)(const uint8_t* data, size_t data_size, data 227 third_party/libwebp/webp/encode.h WEBP_EXTERN(int) WebPMemoryWrite(const uint8_t* data, size_t data_size, data 30 third_party/libxml/chromium/libxml_utils.cc reader_ = xmlReaderForMemory(input.data(), static_cast<int>(input.size()), data 2563 third_party/libxml/src/SAX2.c const xmlChar *data) data 2573 third_party/libxml/src/SAX2.c "SAX.xmlSAX2ProcessingInstruction(%s, %s)\n", target, data); data 2576 third_party/libxml/src/SAX2.c ret = xmlNewDocPI(ctxt->myDoc, target, data); data 280 third_party/libxml/src/dict.c xmlDictComputeBigKey(const xmlChar* data, int namelen) { data 284 third_party/libxml/src/dict.c if (namelen <= 0 || data == NULL) return(0); data 289 third_party/libxml/src/dict.c hash += data[i]; data 174 third_party/libxml/src/error.c xmlGenericErrorFunc channel, void *data ) { data 206 third_party/libxml/src/error.c channel(data ,"%s\n", content); data 218 third_party/libxml/src/error.c channel(data ,"%s\n", content); data 244 third_party/libxml/src/error.c xmlGenericErrorFunc channel, void *data) data 261 third_party/libxml/src/error.c data = xmlGenericErrorContext; data 288 third_party/libxml/src/error.c channel(data, "%s:%d: ", input->filename, input->line); data 290 third_party/libxml/src/error.c channel(data, "Entity: line %d: ", input->line); data 294 third_party/libxml/src/error.c channel(data, "%s:%d: ", file, line); data 296 third_party/libxml/src/error.c channel(data, "Entity: line %d: ", line); data 299 third_party/libxml/src/error.c channel(data, "element %s: ", name); data 303 third_party/libxml/src/error.c channel(data, "parser "); data 306 third_party/libxml/src/error.c channel(data, "namespace "); data 310 third_party/libxml/src/error.c channel(data, "validity "); data 313 third_party/libxml/src/error.c channel(data, "HTML parser "); data 316 third_party/libxml/src/error.c channel(data, "memory "); data 319 third_party/libxml/src/error.c channel(data, "output "); data 322 third_party/libxml/src/error.c channel(data, "I/O "); data 325 third_party/libxml/src/error.c channel(data, "XInclude "); data 328 third_party/libxml/src/error.c channel(data, "XPath "); data 331 third_party/libxml/src/error.c channel(data, "parser "); data 334 third_party/libxml/src/error.c channel(data, "regexp "); data 337 third_party/libxml/src/error.c channel(data, "module "); data 340 third_party/libxml/src/error.c channel(data, "Schemas validity "); data 343 third_party/libxml/src/error.c channel(data, "Schemas parser "); data 346 third_party/libxml/src/error.c channel(data, "Relax-NG parser "); data 349 third_party/libxml/src/error.c channel(data, "Relax-NG validity "); data 352 third_party/libxml/src/error.c channel(data, "Catalog "); data 355 third_party/libxml/src/error.c channel(data, "C14N "); data 358 third_party/libxml/src/error.c channel(data, "XSLT "); data 361 third_party/libxml/src/error.c channel(data, "encoding "); data 368 third_party/libxml/src/error.c channel(data, ": "); data 371 third_party/libxml/src/error.c channel(data, "warning : "); data 374 third_party/libxml/src/error.c channel(data, "error : "); data 377 third_party/libxml/src/error.c channel(data, "error : "); data 384 third_party/libxml/src/error.c channel(data, "%s\n", str); data 386 third_party/libxml/src/error.c channel(data, "%s", str); data 388 third_party/libxml/src/error.c channel(data, "%s\n", "out of memory error"); data 392 third_party/libxml/src/error.c xmlParserPrintFileContextInternal(input, channel, data); data 395 third_party/libxml/src/error.c channel(data, "%s:%d: \n", cur->filename, cur->line); data 397 third_party/libxml/src/error.c channel(data, "Entity: line %d: \n", cur->line); data 398 third_party/libxml/src/error.c xmlParserPrintFileContextInternal(cur, channel, data); data 407 third_party/libxml/src/error.c channel(data, "%s\n", err->str1); data 412 third_party/libxml/src/error.c channel(data, "%s\n", buf); data 442 third_party/libxml/src/error.c xmlGenericErrorFunc channel, void *data, void *ctx, data 474 third_party/libxml/src/error.c data = xmlStructuredErrorContext; data 601 third_party/libxml/src/error.c data = ctxt->userData; data 605 third_party/libxml/src/error.c data = xmlStructuredErrorContext; data 608 third_party/libxml/src/error.c if (!data) { data 609 third_party/libxml/src/error.c data = xmlGenericErrorContext; data 614 third_party/libxml/src/error.c schannel(data, to); data 627 third_party/libxml/src/error.c xmlReportError(to, ctxt, str, channel, data); data 629 third_party/libxml/src/error.c channel(data, "%s", str); data 793 third_party/libxml/src/hash.c void *data; data 797 third_party/libxml/src/hash.c stubHashScannerFull (void *payload, void *data, const xmlChar *name, data 800 third_party/libxml/src/hash.c stubData *stubdata = (stubData *) data; data 801 third_party/libxml/src/hash.c stubdata->hashscanner (payload, stubdata->data, (xmlChar *) name); data 813 third_party/libxml/src/hash.c xmlHashScan(xmlHashTablePtr table, xmlHashScanner f, void *data) { data 815 third_party/libxml/src/hash.c stubdata.data = data; data 829 third_party/libxml/src/hash.c xmlHashScanFull(xmlHashTablePtr table, xmlHashScannerFull f, void *data) { data 848 third_party/libxml/src/hash.c f(iter->payload, data, iter->name, data 882 third_party/libxml/src/hash.c xmlHashScanner f, void *data) { data 884 third_party/libxml/src/hash.c (xmlHashScannerFull) f, data); data 903 third_party/libxml/src/hash.c xmlHashScannerFull f, void *data) { data 924 third_party/libxml/src/hash.c f(iter->payload, data, iter->name, data 128 third_party/libxml/src/include/libxml/SAX.h const xmlChar *data); data 139 third_party/libxml/src/include/libxml/SAX2.h const xmlChar *data); data 88 third_party/libxml/src/include/libxml/hash.h typedef void (*xmlHashScanner)(void *payload, void *data, xmlChar *name); data 99 third_party/libxml/src/include/libxml/hash.h typedef void (*xmlHashScannerFull)(void *payload, void *data, data 211 third_party/libxml/src/include/libxml/hash.h void *data); data 218 third_party/libxml/src/include/libxml/hash.h void *data); data 222 third_party/libxml/src/include/libxml/hash.h void *data); data 229 third_party/libxml/src/include/libxml/hash.h void *data); data 52 third_party/libxml/src/include/libxml/list.h typedef int (*xmlListWalker) (const void *data, const void *user); data 64 third_party/libxml/src/include/libxml/list.h void *data); data 67 third_party/libxml/src/include/libxml/list.h void *data); data 70 third_party/libxml/src/include/libxml/list.h void *data) ; data 73 third_party/libxml/src/include/libxml/list.h void *data) ; data 76 third_party/libxml/src/include/libxml/list.h void *data); data 79 third_party/libxml/src/include/libxml/list.h void *data); data 82 third_party/libxml/src/include/libxml/list.h void *data); data 100 third_party/libxml/src/include/libxml/list.h void *data); data 103 third_party/libxml/src/include/libxml/list.h void *data); data 55 third_party/libxml/src/include/libxml/nanoftp.h const char *data, data 575 third_party/libxml/src/include/libxml/parser.h const xmlChar *data); data 901 third_party/libxml/src/include/libxml/parser.h void *data); data 910 third_party/libxml/src/include/libxml/parser.h void *data); data 942 third_party/libxml/src/include/libxml/parser.h const char *data, data 196 third_party/libxml/src/include/libxml/relaxng.h const xmlChar *data, data 446 third_party/libxml/src/include/libxml/valid.h const xmlChar *data, data 100 third_party/libxml/src/include/libxml/xinclude.h void *data); data 104 third_party/libxml/src/include/libxml/xinclude.h void *data); data 60 third_party/libxml/src/include/libxml/xmlautomata.h void *data); data 67 third_party/libxml/src/include/libxml/xmlautomata.h void *data); data 74 third_party/libxml/src/include/libxml/xmlautomata.h void *data); data 83 third_party/libxml/src/include/libxml/xmlautomata.h void *data); data 92 third_party/libxml/src/include/libxml/xmlautomata.h void *data); data 100 third_party/libxml/src/include/libxml/xmlautomata.h void *data); data 109 third_party/libxml/src/include/libxml/xmlautomata.h void *data); data 920 third_party/libxml/src/include/libxml/xmlerror.h void *data, data 83 third_party/libxml/src/include/libxml/xmlregexp.h void *data); data 89 third_party/libxml/src/include/libxml/xmlregexp.h void *data); data 94 third_party/libxml/src/include/libxml/xmlregexp.h void *data); data 177 third_party/libxml/src/include/libxml/xmlwriter.h const char *data, data 180 third_party/libxml/src/include/libxml/xmlwriter.h const char *data, data 335 third_party/libxml/src/include/libxml/xpathInternals.h void *data); data 1217 third_party/libxml/src/legacy.c const xmlChar * data) data 1220 third_party/libxml/src/legacy.c xmlSAX2ProcessingInstruction(ctx, target, data); data 35 third_party/libxml/src/list.c void *data; data 98 third_party/libxml/src/list.c xmlListLowerSearch(xmlListPtr l, void *data) data 104 third_party/libxml/src/list.c for(lk = l->sentinel->next;lk != l->sentinel && l->linkCompare(lk->data, data) <0 ;lk = lk->next); data 118 third_party/libxml/src/list.c xmlListHigherSearch(xmlListPtr l, void *data) data 124 third_party/libxml/src/list.c for(lk = l->sentinel->prev;lk != l->sentinel && l->linkCompare(lk->data, data) >0 ;lk = lk->prev); data 138 third_party/libxml/src/list.c xmlListLinkSearch(xmlListPtr l, void *data) data 143 third_party/libxml/src/list.c lk = xmlListLowerSearch(l, data); data 147 third_party/libxml/src/list.c if (l->linkCompare(lk->data, data) ==0) data 163 third_party/libxml/src/list.c xmlListLinkReverseSearch(xmlListPtr l, void *data) data 168 third_party/libxml/src/list.c lk = xmlListHigherSearch(l, data); data 172 third_party/libxml/src/list.c if (l->linkCompare(lk->data, data) ==0) data 208 third_party/libxml/src/list.c l->sentinel->data = NULL; data 231 third_party/libxml/src/list.c xmlListSearch(xmlListPtr l, void *data) data 236 third_party/libxml/src/list.c lk = xmlListLinkSearch(l, data); data 238 third_party/libxml/src/list.c return (lk->data); data 252 third_party/libxml/src/list.c xmlListReverseSearch(xmlListPtr l, void *data) data 257 third_party/libxml/src/list.c lk = xmlListLinkReverseSearch(l, data); data 259 third_party/libxml/src/list.c return (lk->data); data 273 third_party/libxml/src/list.c xmlListInsert(xmlListPtr l, void *data) data 279 third_party/libxml/src/list.c lkPlace = xmlListLowerSearch(l, data); data 287 third_party/libxml/src/list.c lkNew->data = data; data 305 third_party/libxml/src/list.c int xmlListAppend(xmlListPtr l, void *data) data 311 third_party/libxml/src/list.c lkPlace = xmlListHigherSearch(l, data); data 319 third_party/libxml/src/list.c lkNew->data = data; data 353 third_party/libxml/src/list.c xmlListRemoveFirst(xmlListPtr l, void *data) data 360 third_party/libxml/src/list.c lk = xmlListLinkSearch(l, data); data 378 third_party/libxml/src/list.c xmlListRemoveLast(xmlListPtr l, void *data) data 385 third_party/libxml/src/list.c lk = xmlListLinkReverseSearch(l, data); data 403 third_party/libxml/src/list.c xmlListRemoveAll(xmlListPtr l, void *data) data 410 third_party/libxml/src/list.c while(xmlListRemoveFirst(l, data)) data 542 third_party/libxml/src/list.c xmlListPushFront(xmlListPtr l, void *data) data 556 third_party/libxml/src/list.c lkNew->data = data; data 574 third_party/libxml/src/list.c xmlListPushBack(xmlListPtr l, void *data) data 587 third_party/libxml/src/list.c lkNew->data = data; data 608 third_party/libxml/src/list.c return lk->data; data 682 third_party/libxml/src/list.c if((walker(lk->data, user)) == 0) data 703 third_party/libxml/src/list.c if((walker(lk->data, user)) == 0) data 769 third_party/libxml/src/list.c if (0 !=xmlListInsert(cur, lk->data)) { data 2056 third_party/libxml/src/nanoftp.c void ftpData(void *userData, const char *data, int len) { data 2062 third_party/libxml/src/nanoftp.c fwrite(data, len, 1, (FILE*)userData); data 1257 third_party/libxml/src/parser.c xmlCleanSpecialAttrCallback(void *payload, void *data, data 1260 third_party/libxml/src/parser.c xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) data; data 12993 third_party/libxml/src/parser.c xmlParseInNodeContext(xmlNodePtr node, const char *data, int datalen, data 13006 third_party/libxml/src/parser.c if ((lst == NULL) || (node == NULL) || (data == NULL) || (datalen < 0)) data 13041 third_party/libxml/src/parser.c ctxt = xmlCreateMemoryParserCtxt((char *) data, datalen); data 13044 third_party/libxml/src/parser.c ctxt = htmlCreateMemoryParserCtxt((char *) data, datalen); data 13602 third_party/libxml/src/parser.c int recovery, void *data) { data 13618 third_party/libxml/src/parser.c if (data!=NULL) { data 13619 third_party/libxml/src/parser.c ctxt->_private = data; data 13881 third_party/libxml/src/parser.c int size, int recovery, void *data) { data 13895 third_party/libxml/src/parser.c if (data!=NULL) { data 13896 third_party/libxml/src/parser.c ctxt->_private=data; data 162 third_party/libxml/src/pattern.c void *data; /* the associated template */ data 160 third_party/libxml/src/relaxng.c void *data; /* data lib or specific pointer */ data 440 third_party/libxml/src/relaxng.c void *data = NULL; data 447 third_party/libxml/src/relaxng.c data = ctxt->userData; data 451 third_party/libxml/src/relaxng.c __xmlRaiseError(schannel, channel, data, data 457 third_party/libxml/src/relaxng.c __xmlRaiseError(schannel, channel, data, data 475 third_party/libxml/src/relaxng.c void *data = NULL; data 482 third_party/libxml/src/relaxng.c data = ctxt->userData; data 486 third_party/libxml/src/relaxng.c __xmlRaiseError(schannel, channel, data, data 492 third_party/libxml/src/relaxng.c __xmlRaiseError(schannel, channel, data, data 515 third_party/libxml/src/relaxng.c void *data = NULL; data 522 third_party/libxml/src/relaxng.c data = ctxt->userData; data 525 third_party/libxml/src/relaxng.c __xmlRaiseError(schannel, channel, data, data 549 third_party/libxml/src/relaxng.c void *data = NULL; data 556 third_party/libxml/src/relaxng.c data = ctxt->userData; data 559 third_party/libxml/src/relaxng.c __xmlRaiseError(schannel, channel, data, data 582 third_party/libxml/src/relaxng.c typedef int (*xmlRelaxNGTypeHave) (void *data, const xmlChar * type); data 595 third_party/libxml/src/relaxng.c typedef int (*xmlRelaxNGTypeCheck) (void *data, const xmlChar * type, data 612 third_party/libxml/src/relaxng.c typedef int (*xmlRelaxNGFacetCheck) (void *data, const xmlChar * type, data 624 third_party/libxml/src/relaxng.c typedef void (*xmlRelaxNGTypeFree) (void *data, void *result); data 638 third_party/libxml/src/relaxng.c typedef int (*xmlRelaxNGTypeCompare) (void *data, const xmlChar * type, data 648 third_party/libxml/src/relaxng.c void *data; /* data needed for the library */ data 977 third_party/libxml/src/relaxng.c lib = (xmlRelaxNGTypeLibraryPtr) define->data; data 979 third_party/libxml/src/relaxng.c lib->freef(lib->data, (void *) define->attrs); data 981 third_party/libxml/src/relaxng.c if ((define->data != NULL) && (define->type == XML_RELAXNG_INTERLEAVE)) data 982 third_party/libxml/src/relaxng.c xmlRelaxNGFreePartition((xmlRelaxNGPartitionPtr) define->data); data 983 third_party/libxml/src/relaxng.c if ((define->data != NULL) && (define->type == XML_RELAXNG_CHOICE)) data 984 third_party/libxml/src/relaxng.c xmlHashFree((xmlHashTablePtr) define->data, NULL); data 2411 third_party/libxml/src/relaxng.c xmlRelaxNGSchemaTypeHave(void *data ATTRIBUTE_UNUSED, const xmlChar * type) data 2438 third_party/libxml/src/relaxng.c xmlRelaxNGSchemaTypeCheck(void *data ATTRIBUTE_UNUSED, data 2478 third_party/libxml/src/relaxng.c xmlRelaxNGSchemaFacetCheck(void *data ATTRIBUTE_UNUSED, data 2550 third_party/libxml/src/relaxng.c xmlRelaxNGSchemaFreeValue(void *data ATTRIBUTE_UNUSED, void *value) data 2568 third_party/libxml/src/relaxng.c xmlRelaxNGSchemaTypeCompare(void *data ATTRIBUTE_UNUSED, data 2626 third_party/libxml/src/relaxng.c xmlRelaxNGDefaultTypeHave(void *data ATTRIBUTE_UNUSED, data 2651 third_party/libxml/src/relaxng.c xmlRelaxNGDefaultTypeCheck(void *data ATTRIBUTE_UNUSED, data 2681 third_party/libxml/src/relaxng.c xmlRelaxNGDefaultTypeCompare(void *data ATTRIBUTE_UNUSED, data 2754 third_party/libxml/src/relaxng.c xmlRelaxNGRegisterTypeLibrary(const xmlChar * namespace, void *data, data 2782 third_party/libxml/src/relaxng.c lib->data = data; data 3556 third_party/libxml/src/relaxng.c def->data = NULL; data 3558 third_party/libxml/src/relaxng.c def->data = lib; data 3564 third_party/libxml/src/relaxng.c success = lib->have(lib->data, def->name); data 3590 third_party/libxml/src/relaxng.c lib->check(lib->data, def->name, def->value, &val, node); data 3655 third_party/libxml/src/relaxng.c def->data = NULL; data 3657 third_party/libxml/src/relaxng.c def->data = lib; data 3663 third_party/libxml/src/relaxng.c tmp = lib->have(lib->data, def->name); data 4202 third_party/libxml/src/relaxng.c def->data = triage; data 4445 third_party/libxml/src/relaxng.c def->data = partitions; data 4661 third_party/libxml/src/relaxng.c xmlRelaxNGParseImportRef(void *payload, void *data, xmlChar *name) { data 4662 third_party/libxml/src/relaxng.c xmlRelaxNGParserCtxtPtr ctxt = (xmlRelaxNGParserCtxtPtr) data; data 8357 third_party/libxml/src/relaxng.c const xmlChar * data, int len ATTRIBUTE_UNUSED) data 8361 third_party/libxml/src/relaxng.c if ((ctxt == NULL) || (ctxt->elem == NULL) || (data == NULL)) data 8365 third_party/libxml/src/relaxng.c xmlGenericError(xmlGenericErrorContext, "CDATA %s %d\n", data, len); data 8368 third_party/libxml/src/relaxng.c while (*data != 0) { data 8369 third_party/libxml/src/relaxng.c if (!IS_BLANK_CH(*data)) data 8371 third_party/libxml/src/relaxng.c data++; data 8373 third_party/libxml/src/relaxng.c if (*data == 0) data 8587 third_party/libxml/src/relaxng.c if ((define == NULL) || (define->data == NULL)) { data 8590 third_party/libxml/src/relaxng.c lib = (xmlRelaxNGTypeLibraryPtr) define->data; data 8595 third_party/libxml/src/relaxng.c lib->check(lib->data, define->name, value, &result, node); data 8597 third_party/libxml/src/relaxng.c ret = lib->check(lib->data, define->name, value, NULL, node); data 8604 third_party/libxml/src/relaxng.c lib->freef(lib->data, result); data 8617 third_party/libxml/src/relaxng.c tmp = lib->facet(lib->data, define->name, cur->name, data 8636 third_party/libxml/src/relaxng.c lib->freef(lib->data, result); data 8730 third_party/libxml/src/relaxng.c lib = (xmlRelaxNGTypeLibraryPtr) define->data; data 8732 third_party/libxml/src/relaxng.c ret = lib->comp(lib->data, define->name, data 9244 third_party/libxml/src/relaxng.c if (define->data != NULL) { data 9245 third_party/libxml/src/relaxng.c partitions = (xmlRelaxNGPartitionPtr) define->data; data 10266 third_party/libxml/src/relaxng.c if ((define->dflags & IS_TRIABLE) && (define->data != NULL) && data 10274 third_party/libxml/src/relaxng.c (xmlHashTablePtr) define->data; data 301 third_party/libxml/src/runtest.c xmlGenericErrorFunc chanl, void *data ) { data 333 third_party/libxml/src/runtest.c chanl(data ,"%s\n", content); data 345 third_party/libxml/src/runtest.c chanl(data ,"%s\n", content); data 354 third_party/libxml/src/runtest.c void *data = NULL; data 397 third_party/libxml/src/runtest.c channel(data, "%s:%d: ", input->filename, input->line); data 399 third_party/libxml/src/runtest.c channel(data, "Entity: line %d: ", input->line); data 403 third_party/libxml/src/runtest.c channel(data, "%s:%d: ", file, line); data 405 third_party/libxml/src/runtest.c channel(data, "Entity: line %d: ", line); data 408 third_party/libxml/src/runtest.c channel(data, "element %s: ", name); data 414 third_party/libxml/src/runtest.c channel(data, "parser "); data 417 third_party/libxml/src/runtest.c channel(data, "namespace "); data 421 third_party/libxml/src/runtest.c channel(data, "validity "); data 424 third_party/libxml/src/runtest.c channel(data, "HTML parser "); data 427 third_party/libxml/src/runtest.c channel(data, "memory "); data 430 third_party/libxml/src/runtest.c channel(data, "output "); data 433 third_party/libxml/src/runtest.c channel(data, "I/O "); data 436 third_party/libxml/src/runtest.c channel(data, "XInclude "); data 439 third_party/libxml/src/runtest.c channel(data, "XPath "); data 442 third_party/libxml/src/runtest.c channel(data, "parser "); data 445 third_party/libxml/src/runtest.c channel(data, "regexp "); data 448 third_party/libxml/src/runtest.c channel(data, "module "); data 451 third_party/libxml/src/runtest.c channel(data, "Schemas validity "); data 454 third_party/libxml/src/runtest.c channel(data, "Schemas parser "); data 457 third_party/libxml/src/runtest.c channel(data, "Relax-NG parser "); data 460 third_party/libxml/src/runtest.c channel(data, "Relax-NG validity "); data 463 third_party/libxml/src/runtest.c channel(data, "Catalog "); data 466 third_party/libxml/src/runtest.c channel(data, "C14N "); data 469 third_party/libxml/src/runtest.c channel(data, "XSLT "); data 478 third_party/libxml/src/runtest.c channel(data, ": "); data 481 third_party/libxml/src/runtest.c channel(data, "warning : "); data 484 third_party/libxml/src/runtest.c channel(data, "error : "); data 487 third_party/libxml/src/runtest.c channel(data, "error : "); data 496 third_party/libxml/src/runtest.c channel(data, "%s\n", str); data 498 third_party/libxml/src/runtest.c channel(data, "%s", str); data 500 third_party/libxml/src/runtest.c channel(data, "%s\n", "out of memory error"); data 506 third_party/libxml/src/runtest.c xmlParserPrintFileContextInternal(input, channel, data); data 509 third_party/libxml/src/runtest.c channel(data, "%s:%d: \n", cur->filename, cur->line); data 511 third_party/libxml/src/runtest.c channel(data, "Entity: line %d: \n", cur->line); data 512 third_party/libxml/src/runtest.c xmlParserPrintFileContextInternal(cur, channel, data); data 521 third_party/libxml/src/runtest.c channel(data, "%s\n", err->str1); data 526 third_party/libxml/src/runtest.c channel(data, "%s\n", buf); data 1245 third_party/libxml/src/runtest.c const xmlChar *data) data 1250 third_party/libxml/src/runtest.c if (data != NULL) data 1252 third_party/libxml/src/runtest.c (char *) target, (char *) data); data 252 third_party/libxml/src/schematron.c void *data = NULL; data 257 third_party/libxml/src/schematron.c data = ctxt->userData; data 260 third_party/libxml/src/schematron.c __xmlRaiseError(schannel, channel, data, ctxt, node, XML_FROM_SCHEMASP, data 1411 third_party/libxml/src/schematron.c void *data = NULL; data 1418 third_party/libxml/src/schematron.c data = ctxt->userData; data 1421 third_party/libxml/src/schematron.c __xmlRaiseError(schannel, channel, data, data 498 third_party/libxml/src/testHTML.c const xmlChar *data) data 501 third_party/libxml/src/testHTML.c (char *) target, (char *) data); data 328 third_party/libxml/src/testRegexp.c int data = 0; data 334 third_party/libxml/src/testRegexp.c data = 1; data 336 third_party/libxml/src/testRegexp.c (data == 1)) { data 362 third_party/libxml/src/testRegexp.c data = 1; data 364 third_party/libxml/src/testRegexp.c (data == 1)) { data 720 third_party/libxml/src/testSAX.c const xmlChar *data) data 725 third_party/libxml/src/testSAX.c if (data != NULL) data 727 third_party/libxml/src/testSAX.c (char *) target, (char *) data); data 4837 third_party/libxml/src/testapi.c xmlChar * data; /* the PI data's */ data 4846 third_party/libxml/src/testapi.c data = gen_const_xmlChar_ptr(n_data, 2); data 4848 third_party/libxml/src/testapi.c xmlSAX2ProcessingInstruction(ctx, (const xmlChar *)target, (const xmlChar *)data); data 4852 third_party/libxml/src/testapi.c des_const_xmlChar_ptr(n_data, (const xmlChar *)data, 2); data 10718 third_party/libxml/src/testapi.c void * data; /* the data */ data 10725 third_party/libxml/src/testapi.c data = gen_userdata(n_data, 1); data 10727 third_party/libxml/src/testapi.c ret_val = xmlListAppend(l, data); data 10731 third_party/libxml/src/testapi.c des_userdata(n_data, data, 1); data 10905 third_party/libxml/src/testapi.c void * data; /* the data */ data 10912 third_party/libxml/src/testapi.c data = gen_userdata(n_data, 1); data 10914 third_party/libxml/src/testapi.c ret_val = xmlListInsert(l, data); data 10918 third_party/libxml/src/testapi.c des_userdata(n_data, data, 1); data 11041 third_party/libxml/src/testapi.c void * data; /* new data */ data 11048 third_party/libxml/src/testapi.c data = gen_userdata(n_data, 1); data 11050 third_party/libxml/src/testapi.c ret_val = xmlListPushBack(l, data); data 11054 third_party/libxml/src/testapi.c des_userdata(n_data, data, 1); data 11080 third_party/libxml/src/testapi.c void * data; /* new data */ data 11087 third_party/libxml/src/testapi.c data = gen_userdata(n_data, 1); data 11089 third_party/libxml/src/testapi.c ret_val = xmlListPushFront(l, data); data 11093 third_party/libxml/src/testapi.c des_userdata(n_data, data, 1); data 11119 third_party/libxml/src/testapi.c void * data; /* list data */ data 11126 third_party/libxml/src/testapi.c data = gen_userdata(n_data, 1); data 11128 third_party/libxml/src/testapi.c ret_val = xmlListRemoveAll(l, data); data 11132 third_party/libxml/src/testapi.c des_userdata(n_data, data, 1); data 11158 third_party/libxml/src/testapi.c void * data; /* list data */ data 11165 third_party/libxml/src/testapi.c data = gen_userdata(n_data, 1); data 11167 third_party/libxml/src/testapi.c ret_val = xmlListRemoveFirst(l, data); data 11171 third_party/libxml/src/testapi.c des_userdata(n_data, data, 1); data 11197 third_party/libxml/src/testapi.c void * data; /* list data */ data 11204 third_party/libxml/src/testapi.c data = gen_userdata(n_data, 1); data 11206 third_party/libxml/src/testapi.c ret_val = xmlListRemoveLast(l, data); data 11210 third_party/libxml/src/testapi.c des_userdata(n_data, data, 1); data 11266 third_party/libxml/src/testapi.c void * data; /* a search value */ data 11273 third_party/libxml/src/testapi.c data = gen_userdata(n_data, 1); data 11275 third_party/libxml/src/testapi.c ret_val = xmlListReverseSearch(l, data); data 11279 third_party/libxml/src/testapi.c des_userdata(n_data, data, 1); data 11315 third_party/libxml/src/testapi.c void * data; /* a search value */ data 11322 third_party/libxml/src/testapi.c data = gen_userdata(n_data, 1); data 11324 third_party/libxml/src/testapi.c ret_val = xmlListSearch(l, data); data 11328 third_party/libxml/src/testapi.c des_userdata(n_data, data, 1); data 14103 third_party/libxml/src/testapi.c char * data; /* the input string */ data 14119 third_party/libxml/src/testapi.c data = gen_const_char_ptr(n_data, 1); data 14124 third_party/libxml/src/testapi.c ret_val = xmlParseInNodeContext(node, (const char *)data, datalen, options, lst); data 14128 third_party/libxml/src/testapi.c des_const_char_ptr(n_data, (const char *)data, 1); data 14939 third_party/libxml/src/testapi.c void * data; /* the userdata */ data 14950 third_party/libxml/src/testapi.c data = gen_userdata(n_data, 3); data 14952 third_party/libxml/src/testapi.c ret_val = xmlSAXParseFileWithData(sax, filename, recovery, data); data 14958 third_party/libxml/src/testapi.c des_userdata(n_data, data, 3); data 15055 third_party/libxml/src/testapi.c void * data; /* the userdata */ data 15068 third_party/libxml/src/testapi.c data = gen_userdata(n_data, 4); data 15070 third_party/libxml/src/testapi.c ret_val = xmlSAXParseMemoryWithData(sax, (const char *)buffer, size, recovery, data); data 15077 third_party/libxml/src/testapi.c des_userdata(n_data, data, 4); data 17844 third_party/libxml/src/testapi.c xmlChar * data; /* some character data read */ data 17854 third_party/libxml/src/testapi.c data = gen_const_xmlChar_ptr(n_data, 1); data 17857 third_party/libxml/src/testapi.c ret_val = xmlRelaxNGValidatePushCData(ctxt, (const xmlChar *)data, len); data 17861 third_party/libxml/src/testapi.c des_const_xmlChar_ptr(n_data, (const xmlChar *)data, 1); data 26920 third_party/libxml/src/testapi.c xmlChar * data; /* some character data read */ data 26930 third_party/libxml/src/testapi.c data = gen_const_xmlChar_ptr(n_data, 1); data 26933 third_party/libxml/src/testapi.c ret_val = xmlValidatePushCData(ctxt, (const xmlChar *)data, len); data 26937 third_party/libxml/src/testapi.c des_const_xmlChar_ptr(n_data, (const xmlChar *)data, 1); data 27222 third_party/libxml/src/testapi.c void * data; /* application data that will be passed to the parser context in the _private field of the parser context(s) */ data 27231 third_party/libxml/src/testapi.c data = gen_userdata(n_data, 2); data 27233 third_party/libxml/src/testapi.c ret_val = xmlXIncludeProcessFlagsData(doc, flags, data); data 27238 third_party/libxml/src/testapi.c des_userdata(n_data, data, 2); data 27396 third_party/libxml/src/testapi.c void * data; /* application data that will be passed to the parser context in the _private field of the parser context(s) */ data 27405 third_party/libxml/src/testapi.c data = gen_userdata(n_data, 2); data 27407 third_party/libxml/src/testapi.c ret_val = xmlXIncludeProcessTreeFlagsData(tree, flags, data); data 27412 third_party/libxml/src/testapi.c des_userdata(n_data, data, 2); data 33367 third_party/libxml/src/testapi.c void * data; /* data associated to the token to reuse in callbacks */ data 33376 third_party/libxml/src/testapi.c data = gen_userdata(n_data, 2); data 33378 third_party/libxml/src/testapi.c ret_val = xmlRegExecPushString(exec, (const xmlChar *)value, data); data 33383 third_party/libxml/src/testapi.c des_userdata(n_data, data, 2); data 33417 third_party/libxml/src/testapi.c void * data; /* data associated to the token to reuse in callbacks */ data 33428 third_party/libxml/src/testapi.c data = gen_userdata(n_data, 3); data 33430 third_party/libxml/src/testapi.c ret_val = xmlRegExecPushString2(exec, (const xmlChar *)value, (const xmlChar *)value2, data); data 33436 third_party/libxml/src/testapi.c des_userdata(n_data, data, 3); data 44180 third_party/libxml/src/testapi.c char * data; /* binary data */ data 44193 third_party/libxml/src/testapi.c data = gen_const_char_ptr(n_data, 1); data 44197 third_party/libxml/src/testapi.c ret_val = xmlTextWriterWriteBase64(writer, (const char *)data, start, len); data 44201 third_party/libxml/src/testapi.c des_const_char_ptr(n_data, (const char *)data, 1); data 44235 third_party/libxml/src/testapi.c char * data; /* binary data */ data 44248 third_party/libxml/src/testapi.c data = gen_const_char_ptr(n_data, 1); data 44252 third_party/libxml/src/testapi.c ret_val = xmlTextWriterWriteBinHex(writer, (const char *)data, start, len); data 44256 third_party/libxml/src/testapi.c des_const_char_ptr(n_data, (const char *)data, 1); data 639 third_party/libxml/src/threads.c xmlGlobalStateCleanup(void *data) data 663 third_party/libxml/src/trio.c } data; data 719 third_party/libxml/src/trio.c trio_class_t *data; data 1943 third_party/libxml/src/trio.c parameters[i].data.wstring = (argarray == NULL) data 1950 third_party/libxml/src/trio.c parameters[i].data.string = (argarray == NULL) data 1962 third_party/libxml/src/trio.c parameters[i].data.pointer = (argarray == NULL) data 1972 third_party/libxml/src/trio.c parameters[i].data.pointer = data 1977 third_party/libxml/src/trio.c parameters[i].data.pointer = data 1980 third_party/libxml/src/trio.c parameters[i].data.pointer = data 1983 third_party/libxml/src/trio.c parameters[i].data.pointer = data 2004 third_party/libxml/src/trio.c varsize = (int)parameters[parameters[i].varsize].data.number.as_unsigned; data 2030 third_party/libxml/src/trio.c parameters[i].data.number.as_unsigned = (argarray == NULL) data 2037 third_party/libxml/src/trio.c parameters[i].data.number.as_unsigned = (argarray == NULL) data 2044 third_party/libxml/src/trio.c parameters[i].data.number.as_unsigned = (argarray == NULL) data 2050 third_party/libxml/src/trio.c parameters[i].data.number.as_unsigned = (argarray == NULL) data 2054 third_party/libxml/src/trio.c parameters[i].data.number.as_unsigned = (argarray == NULL) data 2060 third_party/libxml/src/trio.c parameters[i].data.number.as_unsigned = (trio_uintmax_t)va_arg(*arglist, int); data 2064 third_party/libxml/src/trio.c parameters[i].data.number.as_unsigned = (trio_uintmax_t)(*((char *)argarray[num])); data 2066 third_party/libxml/src/trio.c parameters[i].data.number.as_unsigned = (trio_uintmax_t)(*((short *)argarray[num])); data 2068 third_party/libxml/src/trio.c parameters[i].data.number.as_unsigned = (trio_uintmax_t)(*((int *)argarray[num])); data 2080 third_party/libxml/src/trio.c parameters[i].data.pointer = (argarray == NULL) data 2084 third_party/libxml/src/trio.c parameters[i].data.number.as_unsigned = (argarray == NULL) data 2093 third_party/libxml/src/trio.c parameters[i].data.longdoublePointer = (argarray == NULL) data 2099 third_party/libxml/src/trio.c parameters[i].data.doublePointer = (argarray == NULL) data 2103 third_party/libxml/src/trio.c parameters[i].data.doublePointer = (argarray == NULL) data 2111 third_party/libxml/src/trio.c parameters[i].data.longdoubleNumber = (argarray == NULL) data 2117 third_party/libxml/src/trio.c parameters[i].data.longdoubleNumber = data 2122 third_party/libxml/src/trio.c parameters[i].data.longdoubleNumber = data 2125 third_party/libxml/src/trio.c parameters[i].data.longdoubleNumber = data 2134 third_party/libxml/src/trio.c parameters[i].data.errorNumber = save_errno; data 3067 third_party/libxml/src/trio.c TRIO_ARGS3((data, format, parameters), data 3068 third_party/libxml/src/trio.c trio_class_t *data, data 3105 third_party/libxml/src/trio.c data->OutStream(data, format[index++]); data 3115 third_party/libxml/src/trio.c data->OutStream(data, CHAR_IDENTIFIER); data 3131 third_party/libxml/src/trio.c width = (int)parameters[width].data.number.as_signed; data 3151 third_party/libxml/src/trio.c precision = (int)parameters[precision].data.number.as_signed; data 3172 third_party/libxml/src/trio.c base = (int)parameters[base].data.number.as_signed; data 3179 third_party/libxml/src/trio.c data->OutStream(data, CHAR_QUOTE); data 3183 third_party/libxml/src/trio.c data->OutStream(data, CHAR_ADJUST); data 3188 third_party/libxml/src/trio.c TrioWriteWideStringCharacter(data, data 3189 third_party/libxml/src/trio.c (trio_wchar_t)parameters[i].data.number.as_signed, data 3196 third_party/libxml/src/trio.c TrioWriteStringCharacter(data, data 3197 third_party/libxml/src/trio.c (int)parameters[i].data.number.as_signed, data 3204 third_party/libxml/src/trio.c data->OutStream(data, CHAR_ADJUST); data 3207 third_party/libxml/src/trio.c data->OutStream(data, CHAR_QUOTE); data 3212 third_party/libxml/src/trio.c TrioWriteNumber(data, data 3213 third_party/libxml/src/trio.c parameters[i].data.number.as_unsigned, data 3222 third_party/libxml/src/trio.c TrioWriteDouble(data, data 3223 third_party/libxml/src/trio.c parameters[i].data.longdoubleNumber, data 3234 third_party/libxml/src/trio.c TrioWriteWideString(data, data 3235 third_party/libxml/src/trio.c parameters[i].data.wstring, data 3243 third_party/libxml/src/trio.c TrioWriteString(data, data 3244 third_party/libxml/src/trio.c parameters[i].data.string, data 3255 third_party/libxml/src/trio.c reference.data = data; data 3257 third_party/libxml/src/trio.c trio_print_pointer(&reference, parameters[i].data.pointer); data 3262 third_party/libxml/src/trio.c pointer = parameters[i].data.pointer; data 3272 third_party/libxml/src/trio.c *(size_t *)pointer = (size_t)data->committed; data 3277 third_party/libxml/src/trio.c *(ptrdiff_t *)pointer = (ptrdiff_t)data->committed; data 3282 third_party/libxml/src/trio.c *(trio_intmax_t *)pointer = (trio_intmax_t)data->committed; data 3287 third_party/libxml/src/trio.c *(trio_ulonglong_t *)pointer = (trio_ulonglong_t)data->committed; data 3291 third_party/libxml/src/trio.c *(long int *)pointer = (long int)data->committed; data 3295 third_party/libxml/src/trio.c *(short int *)pointer = (short int)data->committed; data 3299 third_party/libxml/src/trio.c *(int *)pointer = (int)data->committed; data 3309 third_party/libxml/src/trio.c string = trio_error(parameters[i].data.errorNumber); data 3312 third_party/libxml/src/trio.c TrioWriteString(data, data 3320 third_party/libxml/src/trio.c data->OutStream(data, '#'); data 3321 third_party/libxml/src/trio.c TrioWriteNumber(data, data 3322 third_party/libxml/src/trio.c (trio_uintmax_t)parameters[i].data.errorNumber, data 3342 third_party/libxml/src/trio.c def = (trio_userdef_t *)parameters[i - 1].data.pointer; data 3350 third_party/libxml/src/trio.c reference.data = data; data 3369 third_party/libxml/src/trio.c data->OutStream(data, format[index++]); data 3372 third_party/libxml/src/trio.c return data->processed; data 3393 third_party/libxml/src/trio.c status = TrioFormatProcess(reference->data, format, parameters); data 3394 third_party/libxml/src/trio.c if (reference->data->error != 0) data 3396 third_party/libxml/src/trio.c status = reference->data->error; data 3415 third_party/libxml/src/trio.c trio_class_t data; data 3421 third_party/libxml/src/trio.c memset(&data, 0, sizeof(data)); data 3422 third_party/libxml/src/trio.c data.OutStream = OutStream; data 3423 third_party/libxml/src/trio.c data.location = destination; data 3424 third_party/libxml/src/trio.c data.max = destinationSize; data 3425 third_party/libxml/src/trio.c data.error = 0; data 3438 third_party/libxml/src/trio.c status = TrioFormatProcess(&data, format, parameters); data 3439 third_party/libxml/src/trio.c if (data.error != 0) data 3441 third_party/libxml/src/trio.c status = data.error; data 3509 third_party/libxml/src/trio.c trio_custom_t *data; data 3514 third_party/libxml/src/trio.c data = (trio_custom_t *)self->location; data 3515 third_party/libxml/src/trio.c if (data->stream.out) data 3517 third_party/libxml/src/trio.c status = (data->stream.out)(data->closure, output); data 3834 third_party/libxml/src/trio.c trio_custom_t data; data 3840 third_party/libxml/src/trio.c data.stream.out = stream; data 3841 third_party/libxml/src/trio.c data.closure = closure; data 3842 third_party/libxml/src/trio.c status = TrioFormat(&data, 0, TrioOutStreamCustom, format, &args, NULL); data 3855 third_party/libxml/src/trio.c trio_custom_t data; data 3860 third_party/libxml/src/trio.c data.stream.out = stream; data 3861 third_party/libxml/src/trio.c data.closure = closure; data 3862 third_party/libxml/src/trio.c return TrioFormat(&data, 0, TrioOutStreamCustom, format, &args, NULL); data 3873 third_party/libxml/src/trio.c trio_custom_t data; data 3878 third_party/libxml/src/trio.c data.stream.out = stream; data 3879 third_party/libxml/src/trio.c data.closure = closure; data 3880 third_party/libxml/src/trio.c return TrioFormat(&data, 0, TrioOutStreamCustom, format, NULL, args); data 4396 third_party/libxml/src/trio.c return ((trio_reference_t *)ref)->parameter->data.pointer; data 4849 third_party/libxml/src/trio.c TrioWriteNumber(self->data, data 4868 third_party/libxml/src/trio.c TrioWriteNumber(self->data, data 4887 third_party/libxml/src/trio.c TrioWriteDouble(self->data, data 4906 third_party/libxml/src/trio.c TrioWriteString(self->data, data 4983 third_party/libxml/src/trio.c self->data->OutStream(self->data, *string++); data 5000 third_party/libxml/src/trio.c TrioWriteNumber(self->data, data 6032 third_party/libxml/src/trio.c TRIO_ARGS3((data, format, parameters), data 6033 third_party/libxml/src/trio.c trio_class_t *data, data 6053 third_party/libxml/src/trio.c data->InStream(data, &ch); data 6074 third_party/libxml/src/trio.c data->InStream(data, &ch); data 6093 third_party/libxml/src/trio.c data->InStream(data, &ch); data 6111 third_party/libxml/src/trio.c width = (int)parameters[width].data.number.as_signed; data 6118 third_party/libxml/src/trio.c base = (int)parameters[base].data.number.as_signed; data 6130 third_party/libxml/src/trio.c if (!TrioReadNumber(data, data 6141 third_party/libxml/src/trio.c pointer = parameters[i].data.pointer; data 6173 third_party/libxml/src/trio.c if (!TrioReadWideString(data, data 6176 third_party/libxml/src/trio.c : parameters[i].data.wstring, data 6184 third_party/libxml/src/trio.c if (!TrioReadString(data, data 6187 third_party/libxml/src/trio.c : parameters[i].data.string, data 6207 third_party/libxml/src/trio.c ? (trio_pointer_t)parameters[i].data.longdoublePointer data 6208 third_party/libxml/src/trio.c : (trio_pointer_t)parameters[i].data.doublePointer; data 6210 third_party/libxml/src/trio.c if (!TrioReadDouble(data, pointer, flags, width)) data 6241 third_party/libxml/src/trio.c if (!TrioReadGroup(data, data 6244 third_party/libxml/src/trio.c : parameters[i].data.string, data 6255 third_party/libxml/src/trio.c pointer = parameters[i].data.pointer; data 6258 third_party/libxml/src/trio.c int count = data->committed; data 6299 third_party/libxml/src/trio.c if (TrioReadWideChar(data, data 6302 third_party/libxml/src/trio.c : parameters[i].data.wstring, data 6310 third_party/libxml/src/trio.c if (TrioReadChar(data, data 6313 third_party/libxml/src/trio.c : parameters[i].data.string, data 6323 third_party/libxml/src/trio.c if (!TrioReadPointer(data, data 6326 third_party/libxml/src/trio.c : (trio_pointer_t *)parameters[i].data.pointer, data 6339 third_party/libxml/src/trio.c ch = data->current; data 6348 third_party/libxml/src/trio.c ch = TrioSkipWhitespaces(data); data 6352 third_party/libxml/src/trio.c data->InStream(data, &ch); data 6378 third_party/libxml/src/trio.c trio_class_t data; data 6383 third_party/libxml/src/trio.c memset(&data, 0, sizeof(data)); data 6384 third_party/libxml/src/trio.c data.InStream = InStream; data 6385 third_party/libxml/src/trio.c data.location = (trio_pointer_t)source; data 6386 third_party/libxml/src/trio.c data.max = sourceSize; data 6387 third_party/libxml/src/trio.c data.error = 0; data 6400 third_party/libxml/src/trio.c status = TrioScanProcess(&data, format, parameters); data 6401 third_party/libxml/src/trio.c if (data.error != 0) data 6403 third_party/libxml/src/trio.c status = data.error; data 6487 third_party/libxml/src/trio.c trio_custom_t *data; data 6492 third_party/libxml/src/trio.c data = (trio_custom_t *)self->location; data 6494 third_party/libxml/src/trio.c self->current = (data->stream.in == NULL) data 6496 third_party/libxml/src/trio.c : (data->stream.in)(data->closure); data 6734 third_party/libxml/src/trio.c trio_custom_t data; data 6740 third_party/libxml/src/trio.c data.stream.in = stream; data 6741 third_party/libxml/src/trio.c data.closure = closure; data 6742 third_party/libxml/src/trio.c status = TrioScan(&data, 0, TrioInStreamCustom, format, &args, NULL); data 6755 third_party/libxml/src/trio.c trio_custom_t data; data 6760 third_party/libxml/src/trio.c data.stream.in = stream; data 6761 third_party/libxml/src/trio.c data.closure = closure; data 6762 third_party/libxml/src/trio.c return TrioScan(&data, 0, TrioInStreamCustom, format, &args, NULL); data 6773 third_party/libxml/src/trio.c trio_custom_t data; data 6778 third_party/libxml/src/trio.c data.stream.in = stream; data 6779 third_party/libxml/src/trio.c data.closure = closure; data 6780 third_party/libxml/src/trio.c return TrioScan(&data, 0, TrioInStreamCustom, format, NULL, args); data 62 third_party/libxml/src/valid.c void *data = NULL; data 66 third_party/libxml/src/valid.c data = ctxt->userData; data 77 third_party/libxml/src/valid.c __xmlRaiseError(NULL, channel, data, data 82 third_party/libxml/src/valid.c __xmlRaiseError(NULL, channel, data, data 102 third_party/libxml/src/valid.c void *data = NULL; data 106 third_party/libxml/src/valid.c data = ctxt->userData; data 117 third_party/libxml/src/valid.c __xmlRaiseError(NULL, channel, data, data 122 third_party/libxml/src/valid.c __xmlRaiseError(NULL, channel, data, data 149 third_party/libxml/src/valid.c void *data = NULL; data 153 third_party/libxml/src/valid.c data = ctxt->userData; data 163 third_party/libxml/src/valid.c __xmlRaiseError(schannel, channel, data, pctxt, node, XML_FROM_VALID, error, data 192 third_party/libxml/src/valid.c void *data = NULL; data 196 third_party/libxml/src/valid.c data = ctxt->userData; data 206 third_party/libxml/src/valid.c __xmlRaiseError(schannel, channel, data, pctxt, node, XML_FROM_VALID, error, data 233 third_party/libxml/src/valid.c void *data = NULL; data 237 third_party/libxml/src/valid.c data = ctxt->userData; data 247 third_party/libxml/src/valid.c __xmlRaiseError(schannel, channel, data, pctxt, node, XML_FROM_VALID, error, data 2860 third_party/libxml/src/valid.c xmlWalkRemoveRef(const void *data, const void *user) data 2862 third_party/libxml/src/valid.c xmlAttrPtr attr0 = ((xmlRefPtr)data)->attr; data 2867 third_party/libxml/src/valid.c xmlListRemoveFirst(ref_list, (void *)data); data 5805 third_party/libxml/src/valid.c xmlValidatePushCData(xmlValidCtxtPtr ctxt, const xmlChar *data, int len) { data 5843 third_party/libxml/src/valid.c if (!IS_BLANK_CH(data[i])) { data 6516 third_party/libxml/src/valid.c xmlWalkValidateList(const void *data, const void *user) data 6519 third_party/libxml/src/valid.c xmlValidateRef((xmlRefPtr)data, memo->ctxt, memo->name); data 1260 third_party/libxml/src/xinclude.c xmlXIncludeMergeEntity(xmlEntityPtr ent, xmlXIncludeMergeDataPtr data, data 1266 third_party/libxml/src/xinclude.c if ((ent == NULL) || (data == NULL)) data 1268 third_party/libxml/src/xinclude.c ctxt = data->ctxt; data 1269 third_party/libxml/src/xinclude.c doc = data->doc; data 1360 third_party/libxml/src/xinclude.c xmlXIncludeMergeData data; data 1362 third_party/libxml/src/xinclude.c data.ctxt = ctxt; data 1363 third_party/libxml/src/xinclude.c data.doc = doc; data 1366 third_party/libxml/src/xinclude.c (xmlHashScanner) xmlXIncludeMergeEntity, &data); data 1370 third_party/libxml/src/xinclude.c xmlXIncludeMergeData data; data 1372 third_party/libxml/src/xinclude.c data.ctxt = ctxt; data 1373 third_party/libxml/src/xinclude.c data.doc = doc; data 1381 third_party/libxml/src/xinclude.c (xmlHashScanner) xmlXIncludeMergeEntity, &data); data 2447 third_party/libxml/src/xinclude.c xmlXIncludeProcessTreeFlagsData(xmlNodePtr tree, int flags, void *data) { data 2457 third_party/libxml/src/xinclude.c ctxt->_private = data; data 2481 third_party/libxml/src/xinclude.c xmlXIncludeProcessFlagsData(xmlDocPtr doc, int flags, void *data) { data 2489 third_party/libxml/src/xinclude.c return(xmlXIncludeProcessTreeFlagsData(tree, flags, data)); data 458 third_party/libxml/src/xmlIO.c void *data = NULL; data 474 third_party/libxml/src/xmlIO.c data = ctxt->userData; data 476 third_party/libxml/src/xmlIO.c __xmlRaiseError(schannel, channel, data, ctxt, NULL, XML_FROM_IO, data 1361 third_party/libxml/src/xmlIO.c append_reverse_ulong( xmlZMemBuff * buff, unsigned long data ) { data 1376 third_party/libxml/src/xmlIO.c *buff->zctrl.next_out = ( data & 0xff ); data 1377 third_party/libxml/src/xmlIO.c data >>= 8; data 1351 third_party/libxml/src/xmllint.c const xmlChar *data) data 1356 third_party/libxml/src/xmllint.c if (data != NULL) data 1358 third_party/libxml/src/xmllint.c (char *) target, (char *) data); data 977 third_party/libxml/src/xmlreader.c const xmlChar *data, int len) { data 982 third_party/libxml/src/xmlreader.c data, len); data 991 third_party/libxml/src/xmlreader.c ret = xmlRelaxNGValidatePushCData(reader->rngValidCtxt, data, len); data 197 third_party/libxml/src/xmlregexp.c void *data; data 303 third_party/libxml/src/xmlregexp.c void *data; data 311 third_party/libxml/src/xmlregexp.c void *data; data 573 third_party/libxml/src/xmlregexp.c if ((trans->atom->data != NULL) && (transdata == NULL)) { data 618 third_party/libxml/src/xmlregexp.c trans->atom->data; data 3489 third_party/libxml/src/xmlregexp.c xmlRegNewExecCtxt(xmlRegexpPtr comp, xmlRegExecCallbacks callback, void *data) { data 3515 third_party/libxml/src/xmlregexp.c exec->data = data; data 3582 third_party/libxml/src/xmlregexp.c void *data) { data 3609 third_party/libxml/src/xmlregexp.c exec->inputStack[exec->inputStackNr].data = data; data 3612 third_party/libxml/src/xmlregexp.c exec->inputStack[exec->inputStackNr].data = NULL; data 3681 third_party/libxml/src/xmlregexp.c void *data) { data 3712 third_party/libxml/src/xmlregexp.c exec->callback(exec->data, value, data 3713 third_party/libxml/src/xmlregexp.c comp->transdata[state * comp->nbstrings + i], data); data 3762 third_party/libxml/src/xmlregexp.c void *data, int compound) { data 3777 third_party/libxml/src/xmlregexp.c return(xmlRegCompactPushString(exec, exec->comp, value, data)); data 3793 third_party/libxml/src/xmlregexp.c xmlFARegExecSaveInputString(exec, value, data); data 3795 third_party/libxml/src/xmlregexp.c data = exec->inputStack[exec->index].data; data 3928 third_party/libxml/src/xmlregexp.c xmlFARegExecSaveInputString(exec, value, data); data 3942 third_party/libxml/src/xmlregexp.c data = exec->inputStack[exec->index].data; data 3964 third_party/libxml/src/xmlregexp.c xmlFARegExecSaveInputString(exec, value, data); data 3989 third_party/libxml/src/xmlregexp.c (data != NULL)) { data 3990 third_party/libxml/src/xmlregexp.c exec->callback(exec->data, atom->valuep, data 3991 third_party/libxml/src/xmlregexp.c atom->data, data); data 3995 third_party/libxml/src/xmlregexp.c xmlFARegExecSaveInputString(exec, value, data); data 4037 third_party/libxml/src/xmlregexp.c data = exec->inputStack[exec->index].data; data 4043 third_party/libxml/src/xmlregexp.c data = NULL; data 4050 third_party/libxml/src/xmlregexp.c data = NULL; data 4086 third_party/libxml/src/xmlregexp.c data = exec->inputStack[exec->index].data; data 4121 third_party/libxml/src/xmlregexp.c void *data) { data 4122 third_party/libxml/src/xmlregexp.c return(xmlRegExecPushStringInternal(exec, value, data, 0)); data 4139 third_party/libxml/src/xmlregexp.c const xmlChar *value2, void *data) { data 4152 third_party/libxml/src/xmlregexp.c return(xmlRegExecPushString(exec, value, data)); data 4172 third_party/libxml/src/xmlregexp.c ret = xmlRegCompactPushString(exec, exec->comp, str, data); data 4174 third_party/libxml/src/xmlregexp.c ret = xmlRegExecPushStringInternal(exec, str, data, 1); data 5687 third_party/libxml/src/xmlregexp.c void *data) { data 5695 third_party/libxml/src/xmlregexp.c atom->data = data; data 5727 third_party/libxml/src/xmlregexp.c const xmlChar *token2, void *data) { data 5735 third_party/libxml/src/xmlregexp.c atom->data = data; data 5787 third_party/libxml/src/xmlregexp.c const xmlChar *token2, void *data) { data 5796 third_party/libxml/src/xmlregexp.c atom->data = data; data 5855 third_party/libxml/src/xmlregexp.c int min, int max, void *data) { data 5889 third_party/libxml/src/xmlregexp.c atom->data = data; data 5941 third_party/libxml/src/xmlregexp.c int min, int max, void *data) { data 5955 third_party/libxml/src/xmlregexp.c atom->data = data; data 6010 third_party/libxml/src/xmlregexp.c int min, int max, void *data) { data 6044 third_party/libxml/src/xmlregexp.c atom->data = data; data 6089 third_party/libxml/src/xmlregexp.c int min, int max, void *data) { data 6103 third_party/libxml/src/xmlregexp.c atom->data = data; data 1893 third_party/libxml/src/xmlschemas.c void *data = NULL; data 1899 third_party/libxml/src/xmlschemas.c data = ctxt->errCtxt; data 1902 third_party/libxml/src/xmlschemas.c __xmlRaiseError(schannel, channel, data, ctxt, node, XML_FROM_SCHEMASP, data 1959 third_party/libxml/src/xmlschemas.c void *data = NULL; data 1965 third_party/libxml/src/xmlschemas.c data = ctxt->errCtxt; data 1968 third_party/libxml/src/xmlschemas.c __xmlRaiseError(schannel, channel, data, ctxt, node, XML_FROM_SCHEMASP, data 2031 third_party/libxml/src/xmlschemas.c void *data = NULL; data 2045 third_party/libxml/src/xmlschemas.c data = vctxt->errCtxt; data 2081 third_party/libxml/src/xmlschemas.c __xmlRaiseError(schannel, channel, data, ctxt, data 2097 third_party/libxml/src/xmlschemas.c data = pctxt->errCtxt; data 2098 third_party/libxml/src/xmlschemas.c __xmlRaiseError(schannel, channel, data, ctxt, data 28312 third_party/libxml/src/xmlschemas.c const xmlChar *data) data 28317 third_party/libxml/src/xmlschemas.c ctxt->user_sax->processingInstruction(ctxt->user_data, target, data); data 110 third_party/libxml/src/xmlwriter.c const unsigned char *data); data 1540 third_party/libxml/src/xmlwriter.c const unsigned char *data) data 1554 third_party/libxml/src/xmlwriter.c if ((out == NULL) || (len < 0) || (data == NULL)) data 1569 third_party/libxml/src/xmlwriter.c c = data[i]; data 1621 third_party/libxml/src/xmlwriter.c xmlTextWriterWriteBase64(xmlTextWriterPtr writer, const char *data, data 1629 third_party/libxml/src/xmlwriter.c if ((writer == NULL) || (data == NULL) || (start < 0) || (len < 0)) data 1649 third_party/libxml/src/xmlwriter.c (unsigned char *) data + start); data 1671 third_party/libxml/src/xmlwriter.c int len, const unsigned char *data) data 1679 third_party/libxml/src/xmlwriter.c if ((out == NULL) || (data == NULL) || (len < 0)) { data 1687 third_party/libxml/src/xmlwriter.c (const char *) &hex[data[i] >> 4]); data 1693 third_party/libxml/src/xmlwriter.c (const char *) &hex[data[i] & 0xF]); data 1714 third_party/libxml/src/xmlwriter.c xmlTextWriterWriteBinHex(xmlTextWriterPtr writer, const char *data, data 1722 third_party/libxml/src/xmlwriter.c if ((writer == NULL) || (data == NULL) || (start < 0) || (len < 0)) data 1742 third_party/libxml/src/xmlwriter.c (unsigned char *) data + start); data 4922 third_party/libxml/src/xpath.c xmlXPathVariableLookupFunc f, void *data) { data 4926 third_party/libxml/src/xpath.c ctxt->varLookupData = data; data 74 third_party/libxslt/libexslt/functions.c exsltFuncRegisterFunc (exsltFuncFunctionData *data, data 78 third_party/libxslt/libexslt/functions.c if ((data == NULL) || (ctxt == NULL) || (URI == NULL) || (name == NULL)) data 99 third_party/libxslt/libexslt/functions.c exsltFuncRegisterImportFunc (exsltFuncFunctionData *data, data 105 third_party/libxslt/libexslt/functions.c if ((data == NULL) || (ch == NULL) || (URI == NULL) || (name == NULL)) data 115 third_party/libxslt/libexslt/functions.c memcpy(func, data, sizeof(exsltFuncFunctionData)); data 189 third_party/libxslt/libexslt/functions.c exsltFuncData *data) { data 190 third_party/libxslt/libexslt/functions.c if (data->result != NULL) data 191 third_party/libxslt/libexslt/functions.c xmlXPathFreeObject(data->result); data 192 third_party/libxslt/libexslt/functions.c xmlFree(data); data 223 third_party/libxslt/libexslt/functions.c xmlHashTablePtr data) { data 224 third_party/libxslt/libexslt/functions.c xmlHashFree(data, (xmlHashDeallocator) xmlFree); data 280 third_party/libxslt/libexslt/functions.c exsltFuncData *data; data 296 third_party/libxslt/libexslt/functions.c data = (exsltFuncData *) xsltGetExtData (tctxt, data 298 third_party/libxslt/libexslt/functions.c oldResult = data->result; data 299 third_party/libxslt/libexslt/functions.c data->result = NULL; data 301 third_party/libxslt/libexslt/functions.c func = (exsltFuncFunctionData*) xmlHashLookup2 (data->funcs, data 416 third_party/libxslt/libexslt/functions.c if (data->error != 0) data 419 third_party/libxslt/libexslt/functions.c if (data->result != NULL) { data 420 third_party/libxslt/libexslt/functions.c ret = data->result; data 424 third_party/libxslt/libexslt/functions.c data->result = oldResult; data 459 third_party/libxslt/libexslt/functions.c xmlHashTablePtr data; data 515 third_party/libxslt/libexslt/functions.c data = (xmlHashTablePtr) data 519 third_party/libxslt/libexslt/functions.c data = (xmlHashTablePtr) data 522 third_party/libxslt/libexslt/functions.c if (data == NULL) { data 529 third_party/libxslt/libexslt/functions.c if (xmlHashAddEntry2 (data, ns->href, name, func) < 0) { data 645 third_party/libxslt/libexslt/functions.c exsltFuncData *data; data 653 third_party/libxslt/libexslt/functions.c data = (exsltFuncData *) xsltGetExtData (ctxt, EXSLT_FUNCTIONS_NAMESPACE); data 654 third_party/libxslt/libexslt/functions.c if (data == NULL) { data 659 third_party/libxslt/libexslt/functions.c if (data->result != NULL) { data 662 third_party/libxslt/libexslt/functions.c data->error = 1; data 681 third_party/libxslt/libexslt/functions.c data->error = 1; data 720 third_party/libxslt/libexslt/functions.c data->error = 1; data 735 third_party/libxslt/libexslt/functions.c data->error = 1; data 751 third_party/libxslt/libexslt/functions.c data->result = ret; data 49 third_party/libxslt/libexslt/saxon.c xmlHashTablePtr data) { data 50 third_party/libxslt/libexslt/saxon.c xmlHashFree(data, (xmlHashDeallocator) xmlXPathFreeCompExpr); data 58 third_party/libxslt/libxslt/extensions.c void *data; data 864 third_party/libxslt/libxslt/extensions.c xsltExtDataPtr data; data 872 third_party/libxslt/libxslt/extensions.c data = NULL; data 874 third_party/libxslt/libxslt/extensions.c data = (xsltExtDataPtr) xmlHashLookup(ctxt->extInfos, URI); data 876 third_party/libxslt/libxslt/extensions.c if (data == NULL) { data 905 third_party/libxslt/libxslt/extensions.c data = xsltNewExtData(module, extData); data 906 third_party/libxslt/libxslt/extensions.c if (data == NULL) data 908 third_party/libxslt/libxslt/extensions.c if (xmlHashAddEntry(ctxt->extInfos, URI, (void *) data) < 0) { data 914 third_party/libxslt/libxslt/extensions.c xsltFreeExtData(data); data 919 third_party/libxslt/libxslt/extensions.c return (data->extData); data 1055 third_party/libxslt/libxslt/extensions.c xsltShutdownCtxtExt(xsltExtDataPtr data, xsltTransformContextPtr ctxt, data 1060 third_party/libxslt/libxslt/extensions.c if ((data == NULL) || (ctxt == NULL) || (URI == NULL)) data 1062 third_party/libxslt/libxslt/extensions.c module = data->extModule; data 1070 third_party/libxslt/libxslt/extensions.c module->shutdownFunc(ctxt, URI, data->extData); data 1101 third_party/libxslt/libxslt/extensions.c xsltShutdownExt(xsltExtDataPtr data, xsltStylesheetPtr style, data 1106 third_party/libxslt/libxslt/extensions.c if ((data == NULL) || (style == NULL) || (URI == NULL)) data 1108 third_party/libxslt/libxslt/extensions.c module = data->extModule; data 1116 third_party/libxslt/libxslt/extensions.c module->styleShutdownFunc(style, URI, data->extData); data 1935 third_party/libxslt/libxslt/extensions.c xsltExtDataPtr data; data 1945 third_party/libxslt/libxslt/extensions.c data = xmlHashLookup(style->extInfos, URI); data 1946 third_party/libxslt/libxslt/extensions.c if (data != NULL && data->extData != NULL) data 1947 third_party/libxslt/libxslt/extensions.c return data->extData; data 1979 third_party/libxslt/libxslt/extensions.c void *data = NULL; data 1987 third_party/libxslt/libxslt/extensions.c data = xsltGetExtData(tctxt, (const xmlChar *) XSLT_DEFAULT_URL); data 1988 third_party/libxslt/libxslt/extensions.c if (data == NULL) { data 1999 third_party/libxslt/libxslt/extensions.c if (data == NULL) data 2000 third_party/libxslt/libxslt/extensions.c data = xsltGetExtData(tctxt, (const xmlChar *) XSLT_DEFAULT_URL); data 2001 third_party/libxslt/libxslt/extensions.c if (data == NULL) { data 2006 third_party/libxslt/libxslt/extensions.c if (data != testData) { data 2156 third_party/libxslt/libxslt/extensions.c const xmlChar * URI, void *data) data 2163 third_party/libxslt/libxslt/extensions.c if (data != testData) { data 2207 third_party/libxslt/libxslt/extensions.c const xmlChar * URI, void *data) data 2214 third_party/libxslt/libxslt/extensions.c if (data != testStyleData) { data 2247 third_party/libxslt/libxslt/extensions.c void *data ATTRIBUTE_UNUSED, data 58 third_party/libxslt/libxslt/extensions.h void *data); data 82 third_party/libxslt/libxslt/extensions.h void *data); data 424 third_party/libxslt/libxslt/numbers.c xsltNumberFormatInsertNumbers(xsltNumberDataPtr data, data 515 third_party/libxslt/libxslt/numbers.c data->digitsPerGroup, data 516 third_party/libxslt/libxslt/numbers.c data->groupingCharacter, data 517 third_party/libxslt/libxslt/numbers.c data->groupingCharacterLen); data 736 third_party/libxslt/libxslt/numbers.c xsltNumberDataPtr data, data 745 third_party/libxslt/libxslt/numbers.c if ((data->format == NULL) && (data->has_format != 0)) { data 746 third_party/libxslt/libxslt/numbers.c data->format = xsltEvalAttrValueTemplate(ctxt, data->node, data 751 third_party/libxslt/libxslt/numbers.c if (data->format == NULL) { data 759 third_party/libxslt/libxslt/numbers.c xsltNumberFormatTokenize(data->format, &tokens); data 764 third_party/libxslt/libxslt/numbers.c if (data->value) { data 767 third_party/libxslt/libxslt/numbers.c data->value, data 770 third_party/libxslt/libxslt/numbers.c xsltNumberFormatInsertNumbers(data, data 777 third_party/libxslt/libxslt/numbers.c } else if (data->level) { data 779 third_party/libxslt/libxslt/numbers.c if (xmlStrEqual(data->level, (const xmlChar *) "single")) { data 782 third_party/libxslt/libxslt/numbers.c data->count, data 783 third_party/libxslt/libxslt/numbers.c data->from, data 786 third_party/libxslt/libxslt/numbers.c data->doc, data 787 third_party/libxslt/libxslt/numbers.c data->node); data 789 third_party/libxslt/libxslt/numbers.c xsltNumberFormatInsertNumbers(data, data 795 third_party/libxslt/libxslt/numbers.c } else if (xmlStrEqual(data->level, (const xmlChar *) "multiple")) { data 800 third_party/libxslt/libxslt/numbers.c data->count, data 801 third_party/libxslt/libxslt/numbers.c data->from, data 804 third_party/libxslt/libxslt/numbers.c data->doc, data 805 third_party/libxslt/libxslt/numbers.c data->node); data 807 third_party/libxslt/libxslt/numbers.c xsltNumberFormatInsertNumbers(data, data 813 third_party/libxslt/libxslt/numbers.c } else if (xmlStrEqual(data->level, (const xmlChar *) "any")) { data 816 third_party/libxslt/libxslt/numbers.c data->count, data 817 third_party/libxslt/libxslt/numbers.c data->from, data 819 third_party/libxslt/libxslt/numbers.c data->doc, data 820 third_party/libxslt/libxslt/numbers.c data->node); data 822 third_party/libxslt/libxslt/numbers.c xsltNumberFormatInsertNumbers(data, data 845 third_party/libxslt/libxslt/numbers.c data->format = NULL; data 229 third_party/libxslt/libxslt/pattern.c void *data, const xmlChar *name ATTRIBUTE_UNUSED) { data 231 third_party/libxslt/libxslt/pattern.c xsltStylesheetPtr style = data; data 49 third_party/libxslt/libxslt/pattern.h void *data, data 621 third_party/libxslt/libxslt/xslt.c xsltFreePrincipalStylesheetData(xsltPrincipalStylesheetDataPtr data) data 623 third_party/libxslt/libxslt/xslt.c if (data == NULL) data 626 third_party/libxslt/libxslt/xslt.c if (data->inScopeNamespaces != NULL) { data 630 third_party/libxslt/libxslt/xslt.c (xsltPointerListPtr) data->inScopeNamespaces; data 642 third_party/libxslt/libxslt/xslt.c data->inScopeNamespaces = NULL; data 645 third_party/libxslt/libxslt/xslt.c if (data->exclResultNamespaces != NULL) { data 648 third_party/libxslt/libxslt/xslt.c data->exclResultNamespaces; data 654 third_party/libxslt/libxslt/xslt.c data->exclResultNamespaces = NULL; data 657 third_party/libxslt/libxslt/xslt.c if (data->extElemNamespaces != NULL) { data 659 third_party/libxslt/libxslt/xslt.c data->extElemNamespaces; data 666 third_party/libxslt/libxslt/xslt.c data->extElemNamespaces = NULL; data 668 third_party/libxslt/libxslt/xslt.c if (data->effectiveNs) { data 669 third_party/libxslt/libxslt/xslt.c xsltLREEffectiveNsNodesFree(data->effectiveNs); data 670 third_party/libxslt/libxslt/xslt.c data->effectiveNs = NULL; data 673 third_party/libxslt/libxslt/xslt.c xsltFreeNamespaceMap(data->nsMap); data 675 third_party/libxslt/libxslt/xslt.c xmlFree(data); data 1860 third_party/libxslt/libxslt/xsltInternals.h xsltNumberDataPtr data, data 1904 third_party/libxslt/libxslt/xsltInternals.h void *data); data 10 third_party/lzma_sdk/7zBuf.c p->data = 0; data 19 third_party/lzma_sdk/7zBuf.c p->data = 0; data 22 third_party/lzma_sdk/7zBuf.c p->data = (Byte *)alloc->Alloc(alloc, size); data 23 third_party/lzma_sdk/7zBuf.c if (p->data != 0) data 33 third_party/lzma_sdk/7zBuf.c alloc->Free(alloc, p->data); data 34 third_party/lzma_sdk/7zBuf.c p->data = 0; data 15 third_party/lzma_sdk/7zBuf.h Byte *data; data 25 third_party/lzma_sdk/7zBuf.h Byte *data; data 15 third_party/lzma_sdk/7zCrc.c typedef UInt32 (MY_FAST_CALL *CRC_FUNC)(UInt32 v, const void *data, size_t size, const UInt32 *table); data 24 third_party/lzma_sdk/7zCrc.c static UInt32 MY_FAST_CALL CrcUpdateT1(UInt32 v, const void *data, size_t size, const UInt32 *table) data 26 third_party/lzma_sdk/7zCrc.c const Byte *p = (const Byte *)data; data 34 third_party/lzma_sdk/7zCrc.c UInt32 MY_FAST_CALL CrcUpdateT4(UInt32 v, const void *data, size_t size, const UInt32 *table); data 35 third_party/lzma_sdk/7zCrc.c UInt32 MY_FAST_CALL CrcUpdateT8(UInt32 v, const void *data, size_t size, const UInt32 *table); data 39 third_party/lzma_sdk/7zCrc.c UInt32 MY_FAST_CALL CrcUpdate(UInt32 v, const void *data, size_t size) data 41 third_party/lzma_sdk/7zCrc.c return g_CrcUpdate(v, data, size, g_CrcTable); data 44 third_party/lzma_sdk/7zCrc.c UInt32 MY_FAST_CALL CrcCalc(const void *data, size_t size) data 46 third_party/lzma_sdk/7zCrc.c return g_CrcUpdate(CRC_INIT_VAL, data, size, g_CrcTable) ^ CRC_INIT_VAL; data 20 third_party/lzma_sdk/7zCrc.h UInt32 MY_FAST_CALL CrcUpdate(UInt32 crc, const void *data, size_t size); data 21 third_party/lzma_sdk/7zCrc.h UInt32 MY_FAST_CALL CrcCalc(const void *data, size_t size); data 10 third_party/lzma_sdk/7zCrcOpt.c UInt32 MY_FAST_CALL CrcUpdateT4(UInt32 v, const void *data, size_t size, const UInt32 *table) data 12 third_party/lzma_sdk/7zCrcOpt.c const Byte *p = (const Byte *)data; data 29 third_party/lzma_sdk/7zCrcOpt.c UInt32 MY_FAST_CALL CrcUpdateT8(UInt32 v, const void *data, size_t size, const UInt32 *table) data 31 third_party/lzma_sdk/7zCrcOpt.c return CrcUpdateT4(v, data, size, table); data 84 third_party/lzma_sdk/7zDec.c unsigned order = coder->Props.data[0]; data 85 third_party/lzma_sdk/7zDec.c UInt32 memSize = GetUi32(coder->Props.data + 1); data 134 third_party/lzma_sdk/7zDec.c RINOK(LzmaDec_AllocateProbs(&state, coder->Props.data, (unsigned)coder->Props.size, allocMain)); data 184 third_party/lzma_sdk/7zDec.c RINOK(Lzma2Dec_AllocateProbs(&state, coder->Props.data[0], allocMain)); data 97 third_party/lzma_sdk/7zFile.c WRes File_Read(CSzFile *p, void *data, size_t *size) data 110 third_party/lzma_sdk/7zFile.c BOOL res = ReadFile(p->handle, data, curSize, &processed, NULL); data 111 third_party/lzma_sdk/7zFile.c data = (void *)((Byte *)data + processed); data 124 third_party/lzma_sdk/7zFile.c *size = fread(data, 1, originalSize, p->file); data 132 third_party/lzma_sdk/7zFile.c WRes File_Write(CSzFile *p, const void *data, size_t *size) data 145 third_party/lzma_sdk/7zFile.c BOOL res = WriteFile(p->handle, data, curSize, &processed, NULL); data 146 third_party/lzma_sdk/7zFile.c data = (void *)((Byte *)data + processed); data 159 third_party/lzma_sdk/7zFile.c *size = fwrite(data, 1, originalSize, p->file); data 274 third_party/lzma_sdk/7zFile.c static size_t FileOutStream_Write(void *pp, const void *data, size_t size) data 277 third_party/lzma_sdk/7zFile.c File_Write(&p->file, data, &size); data 44 third_party/lzma_sdk/7zFile.h WRes File_Read(CSzFile *p, void *data, size_t *size); data 47 third_party/lzma_sdk/7zFile.h WRes File_Write(CSzFile *p, const void *data, size_t *size); data 325 third_party/lzma_sdk/7zIn.c static SRes SzReadBytes(CSzData *sd, Byte *data, size_t size) data 330 third_party/lzma_sdk/7zIn.c RINOK(SzReadByte(sd, data + i)); data 586 third_party/lzma_sdk/7zIn.c RINOK(SzReadBytes(sd, coder->Props.data, (size_t)propertiesSize)); data 912 third_party/lzma_sdk/7zIn.c const Byte *src = p->FileNames.data + (p->FileNameOffsets[fileIndex] * 2); data 1022 third_party/lzma_sdk/7zIn.c memcpy(p->FileNames.data, sd->Data, namesSize); data 1183 third_party/lzma_sdk/7zIn.c outBuffer->data, (size_t)unpackSize, allocTemp); data 1186 third_party/lzma_sdk/7zIn.c if (CrcCalc(outBuffer->data, (size_t)unpackSize) != folder->UnpackCRC) data 1270 third_party/lzma_sdk/7zIn.c res = LookInStream_Read(inStream, buffer.data, nextHeaderSizeT); data 1274 third_party/lzma_sdk/7zIn.c if (CrcCalc(buffer.data, nextHeaderSizeT) == nextHeaderCRC) data 1278 third_party/lzma_sdk/7zIn.c sd.Data = buffer.data; data 1293 third_party/lzma_sdk/7zIn.c buffer.data = outBuffer.data; data 1295 third_party/lzma_sdk/7zIn.c sd.Data = buffer.data; data 6 third_party/lzma_sdk/Bra.c SizeT ARM_Convert(Byte *data, SizeT size, UInt32 ip, int encoding) data 15 third_party/lzma_sdk/Bra.c if (data[i + 3] == 0xEB) data 18 third_party/lzma_sdk/Bra.c UInt32 src = ((UInt32)data[i + 2] << 16) | ((UInt32)data[i + 1] << 8) | (data[i + 0]); data 25 third_party/lzma_sdk/Bra.c data[i + 2] = (Byte)(dest >> 16); data 26 third_party/lzma_sdk/Bra.c data[i + 1] = (Byte)(dest >> 8); data 27 third_party/lzma_sdk/Bra.c data[i + 0] = (Byte)dest; data 33 third_party/lzma_sdk/Bra.c SizeT ARMT_Convert(Byte *data, SizeT size, UInt32 ip, int encoding) data 42 third_party/lzma_sdk/Bra.c if ((data[i + 1] & 0xF8) == 0xF0 && data 43 third_party/lzma_sdk/Bra.c (data[i + 3] & 0xF8) == 0xF8) data 47 third_party/lzma_sdk/Bra.c (((UInt32)data[i + 1] & 0x7) << 19) | data 48 third_party/lzma_sdk/Bra.c ((UInt32)data[i + 0] << 11) | data 49 third_party/lzma_sdk/Bra.c (((UInt32)data[i + 3] & 0x7) << 8) | data 50 third_party/lzma_sdk/Bra.c (data[i + 2]); data 59 third_party/lzma_sdk/Bra.c data[i + 1] = (Byte)(0xF0 | ((dest >> 19) & 0x7)); data 60 third_party/lzma_sdk/Bra.c data[i + 0] = (Byte)(dest >> 11); data 61 third_party/lzma_sdk/Bra.c data[i + 3] = (Byte)(0xF8 | ((dest >> 8) & 0x7)); data 62 third_party/lzma_sdk/Bra.c data[i + 2] = (Byte)dest; data 69 third_party/lzma_sdk/Bra.c SizeT PPC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding) data 77 third_party/lzma_sdk/Bra.c if ((data[i] >> 2) == 0x12 && (data[i + 3] & 3) == 1) data 79 third_party/lzma_sdk/Bra.c UInt32 src = ((UInt32)(data[i + 0] & 3) << 24) | data 80 third_party/lzma_sdk/Bra.c ((UInt32)data[i + 1] << 16) | data 81 third_party/lzma_sdk/Bra.c ((UInt32)data[i + 2] << 8) | data 82 third_party/lzma_sdk/Bra.c ((UInt32)data[i + 3] & (~3)); data 89 third_party/lzma_sdk/Bra.c data[i + 0] = (Byte)(0x48 | ((dest >> 24) & 0x3)); data 90 third_party/lzma_sdk/Bra.c data[i + 1] = (Byte)(dest >> 16); data 91 third_party/lzma_sdk/Bra.c data[i + 2] = (Byte)(dest >> 8); data 92 third_party/lzma_sdk/Bra.c data[i + 3] &= 0x3; data 93 third_party/lzma_sdk/Bra.c data[i + 3] |= dest; data 99 third_party/lzma_sdk/Bra.c SizeT SPARC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding) data 107 third_party/lzma_sdk/Bra.c if ((data[i] == 0x40 && (data[i + 1] & 0xC0) == 0x00) || data 108 third_party/lzma_sdk/Bra.c (data[i] == 0x7F && (data[i + 1] & 0xC0) == 0xC0)) data 111 third_party/lzma_sdk/Bra.c ((UInt32)data[i + 0] << 24) | data 112 third_party/lzma_sdk/Bra.c ((UInt32)data[i + 1] << 16) | data 113 third_party/lzma_sdk/Bra.c ((UInt32)data[i + 2] << 8) | data 114 third_party/lzma_sdk/Bra.c ((UInt32)data[i + 3]); data 126 third_party/lzma_sdk/Bra.c data[i + 0] = (Byte)(dest >> 24); data 127 third_party/lzma_sdk/Bra.c data[i + 1] = (Byte)(dest >> 16); data 128 third_party/lzma_sdk/Bra.c data[i + 2] = (Byte)(dest >> 8); data 129 third_party/lzma_sdk/Bra.c data[i + 3] = (Byte)dest; data 57 third_party/lzma_sdk/Bra.h SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding); data 58 third_party/lzma_sdk/Bra.h SizeT ARM_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); data 59 third_party/lzma_sdk/Bra.h SizeT ARMT_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); data 60 third_party/lzma_sdk/Bra.h SizeT PPC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); data 61 third_party/lzma_sdk/Bra.h SizeT SPARC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); data 62 third_party/lzma_sdk/Bra.h SizeT IA64_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); data 11 third_party/lzma_sdk/Bra86.c SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding) data 22 third_party/lzma_sdk/Bra86.c Byte *p = data + bufferPos; data 23 third_party/lzma_sdk/Bra86.c Byte *limit = data + size - 4; data 27 third_party/lzma_sdk/Bra86.c bufferPos = (SizeT)(p - data); data 678 third_party/lzma_sdk/LzmaDec.c static void LzmaDec_InitRc(CLzmaDec *p, const Byte *data) data 680 third_party/lzma_sdk/LzmaDec.c p->code = ((UInt32)data[1] << 24) | ((UInt32)data[2] << 16) | ((UInt32)data[3] << 8) | ((UInt32)data[4]); data 898 third_party/lzma_sdk/LzmaDec.c SRes LzmaProps_Decode(CLzmaProps *p, const Byte *data, unsigned size) data 906 third_party/lzma_sdk/LzmaDec.c dicSize = data[1] | ((UInt32)data[2] << 8) | ((UInt32)data[3] << 16) | ((UInt32)data[4] << 24); data 912 third_party/lzma_sdk/LzmaDec.c d = data[0]; data 40 third_party/lzma_sdk/LzmaDec.h SRes LzmaProps_Decode(CLzmaProps *p, const Byte *data, unsigned size); data 935 third_party/lzma_sdk/LzmaEnc.c const Byte *data; data 964 third_party/lzma_sdk/LzmaEnc.c data = p->matchFinder.GetPointerToCurrentPos(p->matchFinderObj) - 1; data 971 third_party/lzma_sdk/LzmaEnc.c data2 = data - (reps[i] + 1); data 972 third_party/lzma_sdk/LzmaEnc.c if (data[0] != data2[0] || data[1] != data2[1]) data 977 third_party/lzma_sdk/LzmaEnc.c for (lenTest = 2; lenTest < numAvail && data[lenTest] == data2[lenTest]; lenTest++); data 998 third_party/lzma_sdk/LzmaEnc.c curByte = *data; data 999 third_party/lzma_sdk/LzmaEnc.c matchByte = *(data - (reps[0] + 1)); data 1012 third_party/lzma_sdk/LzmaEnc.c const CLzmaProb *probs = LIT_PROBS(position, *(data - 1)); data 1130 third_party/lzma_sdk/LzmaEnc.c const Byte *data; data 1217 third_party/lzma_sdk/LzmaEnc.c data = p->matchFinder.GetPointerToCurrentPos(p->matchFinderObj) - 1; data 1218 third_party/lzma_sdk/LzmaEnc.c curByte = *data; data 1219 third_party/lzma_sdk/LzmaEnc.c matchByte = *(data - (reps[0] + 1)); data 1225 third_party/lzma_sdk/LzmaEnc.c const CLzmaProb *probs = LIT_PROBS(position, *(data - 1)); data 1272 third_party/lzma_sdk/LzmaEnc.c const Byte *data2 = data - (reps[0] + 1); data 1277 third_party/lzma_sdk/LzmaEnc.c for (temp = 1; temp < limit && data[temp] == data2[temp]; temp++); data 1315 third_party/lzma_sdk/LzmaEnc.c const Byte *data2 = data - (reps[repIndex] + 1); data 1316 third_party/lzma_sdk/LzmaEnc.c if (data[0] != data2[0] || data[1] != data2[1]) data 1318 third_party/lzma_sdk/LzmaEnc.c for (lenTest = 2; lenTest < numAvail && data[lenTest] == data2[lenTest]; lenTest++); data 1348 third_party/lzma_sdk/LzmaEnc.c for (; lenTest2 < limit && data[lenTest2] == data2[lenTest2]; lenTest2++); data 1357 third_party/lzma_sdk/LzmaEnc.c LitEnc_GetPriceMatched(LIT_PROBS(position + lenTest, data[lenTest - 1]), data 1358 third_party/lzma_sdk/LzmaEnc.c data[lenTest], data2[lenTest], p->ProbPrices); data 1432 third_party/lzma_sdk/LzmaEnc.c const Byte *data2 = data - (curBack + 1); data 1438 third_party/lzma_sdk/LzmaEnc.c for (; lenTest2 < limit && data[lenTest2] == data2[lenTest2]; lenTest2++); data 1446 third_party/lzma_sdk/LzmaEnc.c LitEnc_GetPriceMatched(LIT_PROBS(position + lenTest, data[lenTest - 1]), data 1447 third_party/lzma_sdk/LzmaEnc.c data[lenTest], data2[lenTest], p->ProbPrices); data 1492 third_party/lzma_sdk/LzmaEnc.c const Byte *data; data 1509 third_party/lzma_sdk/LzmaEnc.c data = p->matchFinder.GetPointerToCurrentPos(p->matchFinderObj) - 1; data 1515 third_party/lzma_sdk/LzmaEnc.c const Byte *data2 = data - (p->reps[i] + 1); data 1516 third_party/lzma_sdk/LzmaEnc.c if (data[0] != data2[0] || data[1] != data2[1]) data 1518 third_party/lzma_sdk/LzmaEnc.c for (len = 2; len < numAvail && data[len] == data2[len]; len++); data 1580 third_party/lzma_sdk/LzmaEnc.c data = p->matchFinder.GetPointerToCurrentPos(p->matchFinderObj) - 1; data 1584 third_party/lzma_sdk/LzmaEnc.c const Byte *data2 = data - (p->reps[i] + 1); data 1585 third_party/lzma_sdk/LzmaEnc.c if (data[0] != data2[0] || data[1] != data2[1]) data 1588 third_party/lzma_sdk/LzmaEnc.c for (len = 2; len < limit && data[len] == data2[len]; len++); data 1783 third_party/lzma_sdk/LzmaEnc.c const Byte *data; data 1786 third_party/lzma_sdk/LzmaEnc.c data = p->matchFinder.GetPointerToCurrentPos(p->matchFinderObj) - p->additionalOffset; data 1787 third_party/lzma_sdk/LzmaEnc.c curByte = *data; data 1788 third_party/lzma_sdk/LzmaEnc.c probs = LIT_PROBS(nowPos32, *(data - 1)); data 1792 third_party/lzma_sdk/LzmaEnc.c LitEnc_EncodeMatched(&p->rc, probs, curByte, *(data - p->reps[0] - 1)); data 2088 third_party/lzma_sdk/LzmaEnc.c Byte *data; data 2093 third_party/lzma_sdk/LzmaEnc.c static size_t MyWrite(void *pp, const void *data, size_t size) data 2101 third_party/lzma_sdk/LzmaEnc.c memcpy(p->data, data, size); data 2103 third_party/lzma_sdk/LzmaEnc.c p->data += size; data 2129 third_party/lzma_sdk/LzmaEnc.c outStream.data = dest; data 2231 third_party/lzma_sdk/LzmaEnc.c outStream.data = dest; data 141 third_party/modp_b64/modp_b64.h size_t d = modp_b64_encode(const_cast<char*>(x.data()), s.data(), (int)s.size()); data 159 third_party/modp_b64/modp_b64.h size_t d = modp_b64_decode(const_cast<char*>(x.data()), s.data(), (int)s.size()); data 506 third_party/npapi/bindings/npapi.h char* data; /* image pointer */ data 698 third_party/npapi/bindings/npapi.h } data; data 339 third_party/npapi/bindings/npapi_extensions.h void* data); data 1069 third_party/npapi/bindings/npapi_extensions.h void** data); data 145 third_party/npapi/npspy/extern/nspr/md/_winnt.h } data; data 175 third_party/npapi/npspy/extern/nspr/prio.h char data[10]; /* Be has a smaller structure */ data 177 third_party/npapi/npspy/extern/nspr/prio.h char data[14]; /* raw address data */ data 371 third_party/npapi/npspy/extern/nspr/prio.h PRFileDesc *fd, PRSocketOptionData *data); data 373 third_party/npapi/npspy/extern/nspr/prio.h PRFileDesc *fd, const PRSocketOptionData *data); data 1786 third_party/npapi/npspy/extern/nspr/prio.h PRFileDesc *fd, PRSocketOptionData *data); data 1789 third_party/npapi/npspy/extern/nspr/prio.h PRFileDesc *fd, const PRSocketOptionData *data); data 859 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java public BuilderType mergeFrom(final ByteString data) data 861 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java return super.mergeFrom(data); data 866 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java final ByteString data, data 869 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java return super.mergeFrom(data, extensionRegistry); data 873 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java public BuilderType mergeFrom(final byte[] data) data 875 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java return super.mergeFrom(data); data 880 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java final byte[] data, final int off, final int len) data 882 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java return super.mergeFrom(data, off, len); data 887 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java final byte[] data, data 890 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java return super.mergeFrom(data, extensionRegistry); data 895 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java final byte[] data, final int off, final int len, data 898 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java return super.mergeFrom(data, off, len, extensionRegistry); data 125 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java public BuilderType mergeFrom(final ByteString data) data 128 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java final CodedInputStream input = data.newCodedInput(); data 142 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java final ByteString data, data 146 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java final CodedInputStream input = data.newCodedInput(); data 159 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java public BuilderType mergeFrom(final byte[] data) data 161 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java return mergeFrom(data, 0, data.length); data 164 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java public BuilderType mergeFrom(final byte[] data, final int off, data 169 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java CodedInputStream.newInstance(data, off, len); data 183 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java final byte[] data, data 186 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java return mergeFrom(data, 0, data.length, extensionRegistry); data 190 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java final byte[] data, final int off, final int len, data 195 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java CodedInputStream.newInstance(data, off, len); data 98 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java public MessageType parsePartialFrom(ByteString data, data 103 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java CodedInputStream input = data.newCodedInput(); data 120 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java public MessageType parsePartialFrom(ByteString data) data 122 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java return parsePartialFrom(data, EMPTY_REGISTRY); data 125 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java public MessageType parseFrom(ByteString data, data 128 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java return checkMessageInitialized(parsePartialFrom(data, extensionRegistry)); data 131 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java public MessageType parseFrom(ByteString data) data 133 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java return parseFrom(data, EMPTY_REGISTRY); data 136 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java public MessageType parsePartialFrom(byte[] data, int off, int len, data 140 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java CodedInputStream input = CodedInputStream.newInstance(data, off, len); data 157 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java public MessageType parsePartialFrom(byte[] data, int off, int len) data 159 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java return parsePartialFrom(data, off, len, EMPTY_REGISTRY); data 162 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java public MessageType parsePartialFrom(byte[] data, data 165 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java return parsePartialFrom(data, 0, data.length, extensionRegistry); data 168 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java public MessageType parsePartialFrom(byte[] data) data 170 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java return parsePartialFrom(data, 0, data.length, EMPTY_REGISTRY); data 173 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java public MessageType parseFrom(byte[] data, int off, int len, data 177 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java parsePartialFrom(data, off, len, extensionRegistry)); data 180 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java public MessageType parseFrom(byte[] data, int off, int len) data 182 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java return parseFrom(data, off, len, EMPTY_REGISTRY); data 185 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java public MessageType parseFrom(byte[] data, data 188 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java return parseFrom(data, 0, data.length, extensionRegistry); data 191 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java public MessageType parseFrom(byte[] data) data 193 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java return parseFrom(data, EMPTY_REGISTRY); data 89 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java public static DynamicMessage parseFrom(Descriptor type, ByteString data) data 91 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java return newBuilder(type).mergeFrom(data).buildParsed(); data 95 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java public static DynamicMessage parseFrom(Descriptor type, ByteString data, data 98 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java return newBuilder(type).mergeFrom(data, extensionRegistry).buildParsed(); data 102 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java public static DynamicMessage parseFrom(Descriptor type, byte[] data) data 104 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java return newBuilder(type).mergeFrom(data).buildParsed(); data 108 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java public static DynamicMessage parseFrom(Descriptor type, byte[] data, data 111 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java return newBuilder(type).mergeFrom(data, extensionRegistry).buildParsed(); data 214 third_party/protobuf/java/src/main/java/com/google/protobuf/Message.java Builder mergeFrom(ByteString data) throws InvalidProtocolBufferException; data 215 third_party/protobuf/java/src/main/java/com/google/protobuf/Message.java Builder mergeFrom(ByteString data, data 218 third_party/protobuf/java/src/main/java/com/google/protobuf/Message.java Builder mergeFrom(byte[] data) throws InvalidProtocolBufferException; data 219 third_party/protobuf/java/src/main/java/com/google/protobuf/Message.java Builder mergeFrom(byte[] data, int off, int len) data 221 third_party/protobuf/java/src/main/java/com/google/protobuf/Message.java Builder mergeFrom(byte[] data, data 224 third_party/protobuf/java/src/main/java/com/google/protobuf/Message.java Builder mergeFrom(byte[] data, int off, int len, data 217 third_party/protobuf/java/src/main/java/com/google/protobuf/MessageLite.java Builder mergeFrom(ByteString data) throws InvalidProtocolBufferException; data 226 third_party/protobuf/java/src/main/java/com/google/protobuf/MessageLite.java Builder mergeFrom(ByteString data, data 237 third_party/protobuf/java/src/main/java/com/google/protobuf/MessageLite.java Builder mergeFrom(byte[] data) throws InvalidProtocolBufferException; data 246 third_party/protobuf/java/src/main/java/com/google/protobuf/MessageLite.java Builder mergeFrom(byte[] data, int off, int len) data 256 third_party/protobuf/java/src/main/java/com/google/protobuf/MessageLite.java Builder mergeFrom(byte[] data, data 267 third_party/protobuf/java/src/main/java/com/google/protobuf/MessageLite.java Builder mergeFrom(byte[] data, int off, int len, data 86 third_party/protobuf/java/src/main/java/com/google/protobuf/Parser.java public MessageType parseFrom(ByteString data) data 94 third_party/protobuf/java/src/main/java/com/google/protobuf/Parser.java public MessageType parseFrom(ByteString data, data 103 third_party/protobuf/java/src/main/java/com/google/protobuf/Parser.java public MessageType parsePartialFrom(ByteString data) data 111 third_party/protobuf/java/src/main/java/com/google/protobuf/Parser.java public MessageType parsePartialFrom(ByteString data, data 119 third_party/protobuf/java/src/main/java/com/google/protobuf/Parser.java public MessageType parseFrom(byte[] data, int off, int len) data 127 third_party/protobuf/java/src/main/java/com/google/protobuf/Parser.java public MessageType parseFrom(byte[] data, int off, int len, data 135 third_party/protobuf/java/src/main/java/com/google/protobuf/Parser.java public MessageType parseFrom(byte[] data) data 143 third_party/protobuf/java/src/main/java/com/google/protobuf/Parser.java public MessageType parseFrom(byte[] data, data 152 third_party/protobuf/java/src/main/java/com/google/protobuf/Parser.java public MessageType parsePartialFrom(byte[] data, int off, int len) data 160 third_party/protobuf/java/src/main/java/com/google/protobuf/Parser.java public MessageType parsePartialFrom(byte[] data, int off, int len, data 169 third_party/protobuf/java/src/main/java/com/google/protobuf/Parser.java public MessageType parsePartialFrom(byte[] data) data 177 third_party/protobuf/java/src/main/java/com/google/protobuf/Parser.java public MessageType parsePartialFrom(byte[] data, data 529 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java private void write(final CharSequence data, final int size) data 538 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java output.append(data); data 243 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java public static UnknownFieldSet parseFrom(final ByteString data) data 245 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java return newBuilder().mergeFrom(data).build(); data 249 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java public static UnknownFieldSet parseFrom(final byte[] data) data 251 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java return newBuilder().mergeFrom(data).build(); data 507 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java public Builder mergeFrom(final ByteString data) data 510 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java final CodedInputStream input = data.newCodedInput(); data 528 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java public Builder mergeFrom(final byte[] data) data 531 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java final CodedInputStream input = CodedInputStream.newInstance(data); data 583 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java ByteString data, data 587 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java return mergeFrom(data); data 590 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java public Builder mergeFrom(byte[] data, int off, int len) data 594 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java CodedInputStream.newInstance(data, off, len); data 608 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java byte[] data, data 612 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java return mergeFrom(data); data 616 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java byte[] data, int off, int len, data 620 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java return mergeFrom(data, off, len); data 265 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java final byte[] data = getTestBytes(0x1000); data 267 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = ByteString.readFrom(new ReluctantStream(data)); data 269 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java isArray(byteString.toByteArray(), data)); data 272 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java assertReadFromReluctantStream(data, 100); data 273 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java assertReadFromReluctantStream(data, 248); data 274 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java assertReadFromReluctantStream(data, 249); data 275 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java assertReadFromReluctantStream(data, 250); data 276 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java assertReadFromReluctantStream(data, 251); data 277 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java assertReadFromReluctantStream(data, 0x1000); data 278 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java assertReadFromReluctantStream(data, 0x1001); data 293 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java final byte[] data = getTestBytes(0x1001); data 295 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = ByteString.readFrom(new AvailableStream(data)); data 297 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java isArray(byteString.toByteArray(), data)); data 318 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java protected final byte[] data; data 321 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java public ReluctantStream(byte[] data) { data 322 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java this.data = data; data 326 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java if (pos == data.length) { data 329 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java return data[pos++]; data 338 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java if (pos == data.length) { data 341 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java int count = Math.min(Math.min(size, data.length - pos), 250); data 342 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java System.arraycopy(data, pos, buf, offset, count); data 350 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java public AvailableStream(byte[] data) { data 351 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java super(data); data 355 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java return Math.min(250, data.length - pos); data 70 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java public SmallBlockInputStream(byte[] data, int blockSize) { data 71 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java this(new ByteArrayInputStream(data), blockSize); data 92 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java private void assertReadVarint(byte[] data, long value) throws Exception { data 93 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java CodedInputStream input = CodedInputStream.newInstance(data); data 96 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java input = CodedInputStream.newInstance(data); data 103 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java new SmallBlockInputStream(data, blockSize)); data 107 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java new SmallBlockInputStream(data, blockSize)); data 115 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java byte[] longerData = new byte[data.length + 1]; data 116 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java System.arraycopy(data, 0, longerData, 0, data.length); data 128 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java InvalidProtocolBufferException expected, byte[] data) data 130 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java CodedInputStream input = CodedInputStream.newInstance(data); data 138 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java input = CodedInputStream.newInstance(data); data 148 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java CodedInputStream.readRawVarint32(new ByteArrayInputStream(data)); data 198 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java private void assertReadLittleEndian32(byte[] data, int value) data 200 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java CodedInputStream input = CodedInputStream.newInstance(data); data 207 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java new SmallBlockInputStream(data, blockSize)); data 217 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java private void assertReadLittleEndian64(byte[] data, long value) data 219 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java CodedInputStream input = CodedInputStream.newInstance(data); data 226 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java new SmallBlockInputStream(data, blockSize)); data 80 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java private void assertWriteVarint(byte[] data, long value) throws Exception { data 87 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java assertEqualBytes(data, rawOutput.toByteArray()); data 90 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java assertEquals(data.length, data 99 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java assertEqualBytes(data, rawOutput.toByteArray()); data 102 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java assertEquals(data.length, data 115 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java assertEqualBytes(data, rawOutput.toByteArray()); data 124 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java assertEqualBytes(data, rawOutput.toByteArray()); data 163 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java private void assertWriteLittleEndian32(byte[] data, int value) data 169 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java assertEqualBytes(data, rawOutput.toByteArray()); data 177 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java assertEqualBytes(data, rawOutput.toByteArray()); data 185 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java private void assertWriteLittleEndian64(byte[] data, long value) data 191 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java assertEqualBytes(data, rawOutput.toByteArray()); data 199 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java assertEqualBytes(data, rawOutput.toByteArray()); data 78 third_party/protobuf/java/src/test/java/com/google/protobuf/LiteTest.java ByteString data = message.toByteString(); data 80 third_party/protobuf/java/src/test/java/com/google/protobuf/LiteTest.java TestAllTypesLite message2 = TestAllTypesLite.parseFrom(data); data 263 third_party/protobuf/java/src/test/java/com/google/protobuf/MessageTest.java ByteString data = data 271 third_party/protobuf/java/src/test/java/com/google/protobuf/MessageTest.java TestRequiredForeign.parseFrom(data); data 70 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java final byte[] data = message.toByteArray(); data 72 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java final int length = data.length; data 75 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java assertMessageEquals(message, parser.parseFrom(data, registry)); data 77 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java generatePaddingArray(data, offset, padding), data 82 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java new ByteArrayInputStream(data), registry)); data 84 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java CodedInputStream.newInstance(data), registry)); data 88 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java final byte[] data = message.toByteArray(); data 90 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java final int length = data.length; data 93 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java assertMessageEquals(message, parser.parseFrom(data)); data 95 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java generatePaddingArray(data, offset, padding), data 99 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java new ByteArrayInputStream(data))); data 101 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java CodedInputStream.newInstance(data))); data 113 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java private byte[] generatePaddingArray(byte[] data, int offset, int padding) { data 114 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java byte[] result = new byte[offset + data.length + padding]; data 115 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java System.arraycopy(data, 0, result, offset, data.length); data 133 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java byte[] data = partialMessage.toByteArray(); data 134 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java assertEquals(partialMessage, parser.parsePartialFrom(data)); data 138 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java new ByteArrayInputStream(data))); data 140 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java CodedInputStream.newInstance(data))); data 282 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java ByteString data = TestParsingMerge.RepeatedFieldsGenerator.newBuilder() data 296 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java TestParsingMerge.PARSER.parseFrom(data, registry); data 345 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java ByteString data = TestParsingMergeLite.RepeatedFieldsGenerator.newBuilder() data 359 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java TestParsingMergeLite.PARSER.parseFrom(data, registry); data 150 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java ByteString data = emptyMessage.toByteString(); data 151 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java assertEquals(allFieldsData, data); data 217 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java ByteString data = fields.toByteString(); data 218 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java TestAllTypes destination = TestAllTypes.parseFrom(data); data 277 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java ByteString data = data 295 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java TestAllTypes message = TestAllTypes.parseFrom(data); data 313 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java TestAllExtensions.parseFrom(data, TestUtil.getExtensionRegistry()); data 331 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java ByteString data = data 339 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java UnknownFieldSet parsed = UnknownFieldSet.parseFrom(data); data 244 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java private void assertFieldsInOrder(ByteString data) throws Exception { data 245 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java CodedInputStream input = data.newCodedInput(); data 263 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString data = data 271 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java assertFieldsInOrder(data); data 361 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString data = messageSet.toByteString(); data 364 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java RawMessageSet raw = RawMessageSet.parseFrom(data); data 427 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString data = raw.toByteString(); data 431 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java TestMessageSet.parseFrom(data, extensionRegistry); data 479 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString data = raw.toByteString(); data 483 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java TestMessageSet.parseFrom(data, extensionRegistry); data 518 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString data = raw.toByteString(); data 522 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java TestMessageSet.parseFrom(data, extensionRegistry); data 525 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java messageSet.toBuilder().mergeFrom(data, extensionRegistry).build(); data 572 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString data = out.build(); data 576 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java TestMessageSet.newBuilder().mergeFrom(data, extensionRegistry).build(); data 1363 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc const void* data; data 1365 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc if (PyObject_AsReadBuffer(arg, &data, &data_length) < 0) { data 1371 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc reinterpret_cast<const uint8*>(data), data_length); data 280 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc virtual bool Next(void** data, int* size) { return inner_->Next(data, size); } data 322 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc const char* data = iter->second->data(); data 347 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc write_result = write(file_descriptor, data, size); data 370 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc data += write_result; data 545 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc memcpy(target_ptr, indent_.data(), indent_.size()); data 553 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc memcpy(target_ptr, data_.data() + data_pos, line_length); data 1531 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc string data; data 1532 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc message.SerializeToString(&data); data 1534 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc RedirectStdinFromText(data); data 339 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc EXPECT_EQ(0, memcmp(value, message.optional_bytes().data(), 9)); data 343 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc EXPECT_EQ(0, memcmp(value, message.repeated_bytes(0).data(), 9)); data 577 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc string data; data 580 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc data.resize(size); data 581 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc uint8* start = reinterpret_cast<uint8*>(string_as_array(&data)); data 584 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc EXPECT_TRUE(message2.ParseFromString(data)); data 608 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc string data; data 609 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc data.resize(size); data 612 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); data 618 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc EXPECT_TRUE(message2.ParseFromString(data)); data 627 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc string data; data 628 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc data.resize(size); data 631 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); data 637 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc EXPECT_TRUE(message2.ParseFromString(data)); data 694 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc string data; data 702 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc message1.SerializeToString(&data); data 703 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc EXPECT_TRUE(message2.ParseFromString(data)); data 797 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc string data; data 798 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc message.SerializeToString(&data); data 799 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc ASSERT_TRUE(message2.ParseFromString(data)); data 365 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc const void* data; data 367 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc while (input->Next(&data, &size)) { data 368 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc file_contents.append(reinterpret_cast<const char*>(data), size); data 1269 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc DescriptorProto **data = data 1271 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc sort(data, data + size, CompareDescriptorNames()); data 1281 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc DescriptorProto **data = data 1283 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc sort(data, data + size, CompareDescriptorNames()); data 252 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc this->file_to_generate(this->file_to_generate_size() - 1).data(), data 271 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc this->parameter().data(), this->parameter().length(), data 316 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc this->file_to_generate(i).data(), this->file_to_generate(i).length(), data 325 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc this->parameter().data(), this->parameter().length(), data 348 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc this->file_to_generate(i).data(), this->file_to_generate(i).length(), data 357 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc this->parameter().data(), this->parameter().length(), data 584 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc this->name().data(), this->name().length(), data 601 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc this->insertion_point().data(), this->insertion_point().length(), data 618 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc this->content().data(), this->content().length(), data 648 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc this->name().data(), this->name().length(), data 657 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc this->insertion_point().data(), this->insertion_point().length(), data 666 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc this->content().data(), this->content().length(), data 683 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc this->name().data(), this->name().length(), data 693 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc this->insertion_point().data(), this->insertion_point().length(), data 703 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc this->content().data(), this->content().length(), data 905 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc this->error().data(), this->error().length(), data 950 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc this->error().data(), this->error().length(), data 973 third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc this->error().data(), this->error().length(), data 189 third_party/protobuf/src/google/protobuf/compiler/subprocess.cc input_data.data() + input_pos, data 386 third_party/protobuf/src/google/protobuf/compiler/subprocess.cc int n = write(child_stdin_, input_data.data() + input_pos, data 1057 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->name().data(), this->name().length(), data 1074 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->package().data(), this->package().length(), data 1091 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->dependency(this->dependency_size() - 1).data(), data 1255 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->name().data(), this->name().length(), data 1264 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->package().data(), this->package().length(), data 1273 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->dependency(i).data(), this->dependency(i).length(), data 1338 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->name().data(), this->name().length(), data 1348 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->package().data(), this->package().length(), data 1358 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->dependency(i).data(), this->dependency(i).length(), data 1979 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->name().data(), this->name().length(), data 2098 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->name().data(), this->name().length(), data 2151 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->name().data(), this->name().length(), data 2569 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->name().data(), this->name().length(), data 2586 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->extendee().data(), this->extendee().length(), data 2661 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->type_name().data(), this->type_name().length(), data 2678 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->default_value().data(), this->default_value().length(), data 2722 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->name().data(), this->name().length(), data 2731 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->extendee().data(), this->extendee().length(), data 2757 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->type_name().data(), this->type_name().length(), data 2766 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->default_value().data(), this->default_value().length(), data 2789 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->name().data(), this->name().length(), data 2799 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->extendee().data(), this->extendee().length(), data 2826 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->type_name().data(), this->type_name().length(), data 2836 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->default_value().data(), this->default_value().length(), data 3108 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->name().data(), this->name().length(), data 3167 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->name().data(), this->name().length(), data 3196 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->name().data(), this->name().length(), data 3425 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->name().data(), this->name().length(), data 3485 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->name().data(), this->name().length(), data 3513 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->name().data(), this->name().length(), data 3737 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->name().data(), this->name().length(), data 3796 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->name().data(), this->name().length(), data 3825 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->name().data(), this->name().length(), data 4071 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->name().data(), this->name().length(), data 4088 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->input_type().data(), this->input_type().length(), data 4105 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->output_type().data(), this->output_type().length(), data 4149 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->name().data(), this->name().length(), data 4158 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->input_type().data(), this->input_type().length(), data 4167 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->output_type().data(), this->output_type().length(), data 4190 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->name().data(), this->name().length(), data 4200 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->input_type().data(), this->input_type().length(), data 4210 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->output_type().data(), this->output_type().length(), data 4500 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->java_package().data(), this->java_package().length(), data 4517 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->java_outer_classname().data(), this->java_outer_classname().length(), data 4571 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->go_package().data(), this->go_package().length(), data 4701 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->java_package().data(), this->java_package().length(), data 4710 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->java_outer_classname().data(), this->java_outer_classname().length(), data 4730 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->go_package().data(), this->go_package().length(), data 4782 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->java_package().data(), this->java_package().length(), data 4792 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->java_outer_classname().data(), this->java_outer_classname().length(), data 4813 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->go_package().data(), this->go_package().length(), data 5551 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->experimental_map_key().data(), this->experimental_map_key().length(), data 5638 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->experimental_map_key().data(), this->experimental_map_key().length(), data 5691 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->experimental_map_key().data(), this->experimental_map_key().length(), data 6895 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->name_part().data(), this->name_part().length(), data 6941 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->name_part().data(), this->name_part().length(), data 6963 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->name_part().data(), this->name_part().length(), data 7203 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->identifier_value().data(), this->identifier_value().length(), data 7282 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->aggregate_value().data(), this->aggregate_value().length(), data 7318 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->identifier_value().data(), this->identifier_value().length(), data 7348 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->aggregate_value().data(), this->aggregate_value().length(), data 7372 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->identifier_value().data(), this->identifier_value().length(), data 7404 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->aggregate_value().data(), this->aggregate_value().length(), data 7704 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->leading_comments().data(), this->leading_comments().length(), data 7721 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->trailing_comments().data(), this->trailing_comments().length(), data 7771 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->leading_comments().data(), this->leading_comments().length(), data 7780 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->trailing_comments().data(), this->trailing_comments().length(), data 7825 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->leading_comments().data(), this->leading_comments().length(), data 7835 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->trailing_comments().data(), this->trailing_comments().length(), data 125 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc string data; data 126 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc file.SerializeToString(&data); data 127 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc return database_.AddCopy(data.data(), data.size()); data 501 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc db.Add(data1.data(), data1.size()); data 502 third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc db.Add(data2.data(), data2.size()); data 4465 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc new io::ArrayInputStream(contents_.data(), contents_.size()) : NULL; data 585 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc reinterpret_cast<const uint8*>(message_data.data()), data 270 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc string data; data 271 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc data.resize(size); data 272 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc uint8* target = reinterpret_cast<uint8*>(string_as_array(&data)); data 275 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc EXPECT_TRUE(destination.ParseFromString(data)); data 291 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc string data; data 292 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc data.resize(size); data 294 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); data 299 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc EXPECT_TRUE(destination.ParseFromString(data)); data 314 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc string data; data 315 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc data.resize(size); data 316 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc uint8* target = reinterpret_cast<uint8*>(string_as_array(&data)); data 319 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc EXPECT_TRUE(destination.ParseFromString(data)); data 335 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc string data; data 336 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc data.resize(size); data 338 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); data 343 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc EXPECT_TRUE(destination.ParseFromString(data)); data 351 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc string data; data 354 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc source.SerializeToString(&data); data 355 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc EXPECT_TRUE(destination.ParseFromString(data)); data 363 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc string data; data 366 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc source.SerializeToString(&data); data 367 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc EXPECT_TRUE(destination.ParseFromString(data)); data 615 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc string data; data 640 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc message.SerializeToString(&data); data 646 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc io::ArrayInputStream raw_input(data.data(), data.size()); data 677 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc EXPECT_TRUE(message.SerializeAsString() == data); data 682 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc io::ArrayInputStream raw_input(data.data(), data.size()); data 60 third_party/protobuf/src/google/protobuf/io/coded_stream.cc const void** data, int* size) { data 63 third_party/protobuf/src/google/protobuf/io/coded_stream.cc success = input->Next(data, size); data 215 third_party/protobuf/src/google/protobuf/io/coded_stream.cc bool CodedInputStream::GetDirectBufferPointer(const void** data, int* size) { data 218 third_party/protobuf/src/google/protobuf/io/coded_stream.cc *data = buffer_; data 585 third_party/protobuf/src/google/protobuf/io/coded_stream.cc bool CodedOutputStream::GetDirectBufferPointer(void** data, int* size) { data 588 third_party/protobuf/src/google/protobuf/io/coded_stream.cc *data = buffer_; data 593 third_party/protobuf/src/google/protobuf/io/coded_stream.cc void CodedOutputStream::WriteRaw(const void* data, int size) { data 595 third_party/protobuf/src/google/protobuf/io/coded_stream.cc memcpy(buffer_, data, buffer_size_); data 597 third_party/protobuf/src/google/protobuf/io/coded_stream.cc data = reinterpret_cast<const uint8*>(data) + buffer_size_; data 601 third_party/protobuf/src/google/protobuf/io/coded_stream.cc memcpy(buffer_, data, size); data 606 third_party/protobuf/src/google/protobuf/io/coded_stream.cc const void* data, int size, uint8* target) { data 607 third_party/protobuf/src/google/protobuf/io/coded_stream.cc memcpy(target, data, size); data 188 third_party/protobuf/src/google/protobuf/io/coded_stream.h bool GetDirectBufferPointer(const void** data, int* size); data 192 third_party/protobuf/src/google/protobuf/io/coded_stream.h inline void GetDirectBufferPointerInline(const void** data, data 628 third_party/protobuf/src/google/protobuf/io/coded_stream.h bool GetDirectBufferPointer(void** data, int* size); data 899 third_party/protobuf/src/google/protobuf/io/coded_stream.h inline void CodedInputStream::GetDirectBufferPointerInline(const void** data, data 901 third_party/protobuf/src/google/protobuf/io/coded_stream.h *data = buffer_; data 1029 third_party/protobuf/src/google/protobuf/io/coded_stream.h WriteRaw(str.data(), static_cast<int>(str.size())); data 1034 third_party/protobuf/src/google/protobuf/io/coded_stream.h return WriteRawToArray(str.data(), static_cast<int>(str.size()), target); data 224 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc virtual bool Next(const void** data, int* size) { data 225 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc *data = NULL; data 1129 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc bool Next(const void** data, int* size) { data 1135 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc *data = buffer_; data 1143 third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc *data = buffer_; data 116 third_party/protobuf/src/google/protobuf/io/gzip_stream.cc void GzipInputStream::DoNextOutput(const void** data, int* size) { data 117 third_party/protobuf/src/google/protobuf/io/gzip_stream.cc *data = output_position_; data 123 third_party/protobuf/src/google/protobuf/io/gzip_stream.cc bool GzipInputStream::Next(const void** data, int* size) { data 130 third_party/protobuf/src/google/protobuf/io/gzip_stream.cc DoNextOutput(data, size); data 145 third_party/protobuf/src/google/protobuf/io/gzip_stream.cc *data = NULL; data 160 third_party/protobuf/src/google/protobuf/io/gzip_stream.cc DoNextOutput(data, size); data 168 third_party/protobuf/src/google/protobuf/io/gzip_stream.cc const void* data; data 170 third_party/protobuf/src/google/protobuf/io/gzip_stream.cc bool ok = Next(&data, &size); data 173 third_party/protobuf/src/google/protobuf/io/gzip_stream.cc ok = Next(&data, &size); data 271 third_party/protobuf/src/google/protobuf/io/gzip_stream.cc bool GzipOutputStream::Next(void** data, int* size) { data 285 third_party/protobuf/src/google/protobuf/io/gzip_stream.cc *data = input_buffer_; data 86 third_party/protobuf/src/google/protobuf/io/gzip_stream.h bool Next(const void** data, int* size); data 104 third_party/protobuf/src/google/protobuf/io/gzip_stream.h void DoNextOutput(const void** data, int* size); data 179 third_party/protobuf/src/google/protobuf/io/gzip_stream.h bool Next(void** data, int* size); data 99 third_party/protobuf/src/google/protobuf/io/printer.cc WriteRaw(iter->second.data(), iter->second.size()); data 158 third_party/protobuf/src/google/protobuf/io/printer.cc void Printer::PrintRaw(const string& data) { data 159 third_party/protobuf/src/google/protobuf/io/printer.cc WriteRaw(data.data(), data.size()); data 162 third_party/protobuf/src/google/protobuf/io/printer.cc void Printer::PrintRaw(const char* data) { data 164 third_party/protobuf/src/google/protobuf/io/printer.cc WriteRaw(data, strlen(data)); data 167 third_party/protobuf/src/google/protobuf/io/printer.cc void Printer::WriteRaw(const char* data, int size) { data 171 third_party/protobuf/src/google/protobuf/io/printer.cc if (at_start_of_line_ && (size > 0) && (data[0] != '\n')) { data 174 third_party/protobuf/src/google/protobuf/io/printer.cc WriteRaw(indent_.data(), indent_.size()); data 181 third_party/protobuf/src/google/protobuf/io/printer.cc memcpy(buffer_, data, buffer_size_); data 182 third_party/protobuf/src/google/protobuf/io/printer.cc data += buffer_size_; data 191 third_party/protobuf/src/google/protobuf/io/printer.cc memcpy(buffer_, data, size); data 103 third_party/protobuf/src/google/protobuf/io/printer.h void PrintRaw(const string& data); data 107 third_party/protobuf/src/google/protobuf/io/printer.h void PrintRaw(const char* data); data 111 third_party/protobuf/src/google/protobuf/io/printer.h void WriteRaw(const char* data, int size); data 252 third_party/protobuf/src/google/protobuf/io/tokenizer.cc const void* data = NULL; data 256 third_party/protobuf/src/google/protobuf/io/tokenizer.cc if (!input_->Next(&data, &buffer_size_)) { data 265 third_party/protobuf/src/google/protobuf/io/tokenizer.cc buffer_ = static_cast<const char*>(data); data 124 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc TestInputStream(const void* data, int size, int block_size) data 125 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc : array_stream_(data, size, block_size), counter_(0) {} data 129 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc bool Next(const void** data, int* size) { data 133 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc *data = NULL; data 139 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc return array_stream_.Next(data, size); data 250 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc TestInputStream input(kSimpleTokenCases_case.input.data(), data 430 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc TestInputStream input(kMultiTokenCases_case.input.data(), data 682 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc TestInputStream input(kDocCommentCases_case.input.data(), data 689 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc TestInputStream input2(kDocCommentCases_case.input.data(), data 958 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc TestInputStream input(kErrorCases_case.input.data(), data 983 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc TestInputStream input(text.data(), text.size(), kBlockSizes_case); data 145 third_party/protobuf/src/google/protobuf/io/zero_copy_stream.h virtual bool Next(const void** data, int* size) = 0; data 206 third_party/protobuf/src/google/protobuf/io/zero_copy_stream.h virtual bool Next(void** data, int* size) = 0; data 89 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc bool FileInputStream::Next(const void** data, int* size) { data 90 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc return impl_.Next(data, size); data 192 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc bool FileOutputStream::Next(void** data, int* size) { data 193 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc return impl_.Next(data, size); data 279 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc bool IstreamInputStream::Next(const void** data, int* size) { data 280 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc return impl_.Next(data, size); data 323 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc bool OstreamOutputStream::Next(void** data, int* size) { data 324 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc return impl_.Next(data, size); data 359 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc bool ConcatenatingInputStream::Next(const void** data, int* size) { data 361 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc if (streams_[0]->Next(data, size)) return true; data 423 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc bool LimitingInputStream::Next(const void** data, int* size) { data 425 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc if (!input_->Next(data, size)) return false; data 91 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.h bool Next(const void** data, int* size); data 174 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.h bool Next(void** data, int* size); data 225 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.h bool Next(const void** data, int* size); data 269 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.h bool Next(void** data, int* size); data 312 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.h bool Next(const void** data, int* size); data 338 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.h bool Next(const void** data, int* size); data 54 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc ArrayInputStream::ArrayInputStream(const void* data, int size, data 56 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc : data_(reinterpret_cast<const uint8*>(data)), data 66 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc bool ArrayInputStream::Next(const void** data, int* size) { data 69 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc *data = data_ + position_; data 108 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc ArrayOutputStream::ArrayOutputStream(void* data, int size, int block_size) data 109 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc : data_(reinterpret_cast<uint8*>(data)), data 119 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc bool ArrayOutputStream::Next(void** data, int* size) { data 122 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc *data = data_ + position_; data 155 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc bool StringOutputStream::Next(void** data, int* size) { data 172 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc *data = string_as_array(target_) + old_size; data 223 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc bool CopyingInputStreamAdaptor::Next(const void** data, int* size) { data 233 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc *data = buffer_.get() + buffer_used_ - backup_bytes_; data 253 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc *data = buffer_.get(); data 333 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc bool CopyingOutputStreamAdaptor::Next(void** data, int* size) { data 340 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc *data = buffer_.get() + buffer_used_; data 69 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h ArrayInputStream(const void* data, int size, int block_size = -1); data 73 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h bool Next(const void** data, int* size); data 103 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h ArrayOutputStream(void* data, int size, int block_size = -1); data 107 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h bool Next(void** data, int* size); data 139 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h bool Next(void** data, int* size); data 210 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h bool Next(const void** data, int* size); data 298 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h bool Next(void** data, int* size); data 97 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc bool WriteToOutput(ZeroCopyOutputStream* output, const void* data, int size); data 99 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc int ReadFromInput(ZeroCopyInputStream* input, void* data, int size); data 120 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc string Compress(const string& data, const GzipOutputStream::Options& options); data 121 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc string Uncompress(const string& data); data 132 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc const void* data, int size) { data 133 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc const uint8* in = reinterpret_cast<const uint8*>(data); data 159 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc int IoTest::ReadFromInput(ZeroCopyInputStream* input, void* data, int size) { data 160 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc uint8* out = reinterpret_cast<uint8*>(data); data 534 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc string IoTest::Compress(const string& data, data 540 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc WriteToOutput(&gzout, data.data(), data.size()); data 545 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc string IoTest::Uncompress(const string& data) { data 548 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayInputStream input(data.data(), data.size()); data 670 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc ArrayInputStream input(str.data(), str.size()); data 929 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc const void* data; data 931 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc EXPECT_FALSE(input.Next(&data, &size)); data 936 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc void* data; data 938 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc EXPECT_FALSE(output.Next(&data, &size)); data 63 third_party/protobuf/src/google/protobuf/lite_unittest.cc string data, packed_data; data 70 third_party/protobuf/src/google/protobuf/lite_unittest.cc data = message.SerializeAsString(); data 71 third_party/protobuf/src/google/protobuf/lite_unittest.cc message3.ParseFromString(data); data 87 third_party/protobuf/src/google/protobuf/lite_unittest.cc GOOGLE_CHECK(extensions_data == data); data 112 third_party/protobuf/src/google/protobuf/message_lite.cc inline bool InlineParseFromArray(const void* data, int size, data 115 third_party/protobuf/src/google/protobuf/message_lite.cc inline bool InlineParsePartialFromArray(const void* data, int size, data 141 third_party/protobuf/src/google/protobuf/message_lite.cc bool InlineParseFromArray(const void* data, int size, MessageLite* message) { data 142 third_party/protobuf/src/google/protobuf/message_lite.cc io::CodedInputStream input(reinterpret_cast<const uint8*>(data), size); data 147 third_party/protobuf/src/google/protobuf/message_lite.cc bool InlineParsePartialFromArray(const void* data, int size, data 149 third_party/protobuf/src/google/protobuf/message_lite.cc io::CodedInputStream input(reinterpret_cast<const uint8*>(data), size); data 198 third_party/protobuf/src/google/protobuf/message_lite.cc bool MessageLite::ParseFromString(const string& data) { data 199 third_party/protobuf/src/google/protobuf/message_lite.cc return InlineParseFromArray(data.data(), data.size(), this); data 202 third_party/protobuf/src/google/protobuf/message_lite.cc bool MessageLite::ParsePartialFromString(const string& data) { data 203 third_party/protobuf/src/google/protobuf/message_lite.cc return InlineParsePartialFromArray(data.data(), data.size(), this); data 206 third_party/protobuf/src/google/protobuf/message_lite.cc bool MessageLite::ParseFromArray(const void* data, int size) { data 207 third_party/protobuf/src/google/protobuf/message_lite.cc return InlineParseFromArray(data, size, this); data 210 third_party/protobuf/src/google/protobuf/message_lite.cc bool MessageLite::ParsePartialFromArray(const void* data, int size) { data 211 third_party/protobuf/src/google/protobuf/message_lite.cc return InlineParsePartialFromArray(data, size, this); data 299 third_party/protobuf/src/google/protobuf/message_lite.cc bool MessageLite::SerializeToArray(void* data, int size) const { data 301 third_party/protobuf/src/google/protobuf/message_lite.cc return SerializePartialToArray(data, size); data 304 third_party/protobuf/src/google/protobuf/message_lite.cc bool MessageLite::SerializePartialToArray(void* data, int size) const { data 307 third_party/protobuf/src/google/protobuf/message_lite.cc uint8* start = reinterpret_cast<uint8*>(data); data 136 third_party/protobuf/src/google/protobuf/message_lite.h bool ParseFromString(const string& data); data 139 third_party/protobuf/src/google/protobuf/message_lite.h bool ParsePartialFromString(const string& data); data 141 third_party/protobuf/src/google/protobuf/message_lite.h bool ParseFromArray(const void* data, int size); data 144 third_party/protobuf/src/google/protobuf/message_lite.h bool ParsePartialFromArray(const void* data, int size); data 190 third_party/protobuf/src/google/protobuf/message_lite.h bool SerializeToArray(void* data, int size) const; data 192 third_party/protobuf/src/google/protobuf/message_lite.h bool SerializePartialToArray(void* data, int size) const; data 135 third_party/protobuf/src/google/protobuf/message_unittest.cc string data; data 141 third_party/protobuf/src/google/protobuf/message_unittest.cc message.SerializeToString(&data); data 147 third_party/protobuf/src/google/protobuf/message_unittest.cc EXPECT_TRUE(message.ParseFromString(data)); data 154 third_party/protobuf/src/google/protobuf/message_unittest.cc stringstream stream(data); data 162 third_party/protobuf/src/google/protobuf/message_unittest.cc string data_with_junk(data); data 164 third_party/protobuf/src/google/protobuf/message_unittest.cc io::ArrayInputStream stream(data_with_junk.data(), data_with_junk.size()); data 166 third_party/protobuf/src/google/protobuf/message_unittest.cc EXPECT_TRUE(message.ParseFromBoundedZeroCopyStream(&stream, data.size())); data 173 third_party/protobuf/src/google/protobuf/message_unittest.cc io::ArrayInputStream stream(data.data(), data.size()); data 176 third_party/protobuf/src/google/protobuf/message_unittest.cc message.ParseFromBoundedZeroCopyStream(&stream, data.size() + 1)); data 212 third_party/protobuf/src/google/protobuf/message_unittest.cc string data; data 213 third_party/protobuf/src/google/protobuf/message_unittest.cc EXPECT_DEBUG_DEATH(EXPECT_TRUE(message.SerializeToString(&data)), data 127 third_party/protobuf/src/google/protobuf/repeated_field.h const Element* data() const; data 284 third_party/protobuf/src/google/protobuf/repeated_field.h const typename TypeHandler::Type* const* data() const; data 442 third_party/protobuf/src/google/protobuf/repeated_field.h const Element* const* data() const; data 694 third_party/protobuf/src/google/protobuf/repeated_field.h inline const Element* RepeatedField<Element>::data() const { data 897 third_party/protobuf/src/google/protobuf/repeated_field.h RepeatedPtrFieldBase::data() const { data 1106 third_party/protobuf/src/google/protobuf/repeated_field.h inline const Element* const* RepeatedPtrField<Element>::data() const { data 1107 third_party/protobuf/src/google/protobuf/repeated_field.h return RepeatedPtrFieldBase::data<TypeHandler>(); data 176 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc const int* ptr = field->data(); data 179 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc } while (field->data() == ptr); data 208 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc const int* previous_ptr = field.data(); data 211 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(previous_ptr, field.data()); data 492 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc const string* const* ptr = field->data(); data 495 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc } while (field->data() == ptr); data 518 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc const string* const* previous_ptr = field.data(); data 521 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(previous_ptr, field.data()); data 739 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc string** data = field.mutable_data(); data 740 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc **data = "2"; data 1318 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc vector<Nested*> data; data 1323 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc data.push_back(new_data); data 1329 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc copy(data.begin(), data.end(), data 1337 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc vector<string*> data; data 1342 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc data.push_back(new_data); data 1348 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc copy(data.begin(), data.end(), data 17 third_party/protobuf/src/google/protobuf/stubs/structurally_valid_unittest.cc EXPECT_TRUE(IsStructurallyValidUTF8(valid_str.data(), data 21 third_party/protobuf/src/google/protobuf/stubs/structurally_valid_unittest.cc EXPECT_TRUE(IsStructurallyValidUTF8(valid_str.data() + i, data 28 third_party/protobuf/src/google/protobuf/stubs/structurally_valid_unittest.cc EXPECT_FALSE(IsStructurallyValidUTF8(invalid_str.data(), data 32 third_party/protobuf/src/google/protobuf/stubs/structurally_valid_unittest.cc EXPECT_FALSE(IsStructurallyValidUTF8(invalid_str.data() + i, data 158 third_party/protobuf/src/google/protobuf/stubs/strutil.cc const char* p = full.data(); data 260 third_party/protobuf/src/google/protobuf/stubs/strutil.cc result->append(iter->data(), iter->size()); data 528 third_party/protobuf/src/google/protobuf/stubs/strutil.cc const int len = CEscapeInternal(src.data(), src.size(), data 539 third_party/protobuf/src/google/protobuf/stubs/strutil.cc const int len = CEscapeInternal(src.data(), src.size(), data 548 third_party/protobuf/src/google/protobuf/stubs/strutil.cc const int len = CEscapeInternal(src.data(), src.size(), data 117 third_party/protobuf/src/google/protobuf/stubs/substitute.cc memcpy(target, src->data(), src->size()); data 129 third_party/protobuf/src/google/protobuf/stubs/substitute.cc GOOGLE_DCHECK_EQ(target - output->data(), output->size()); data 92 third_party/protobuf/src/google/protobuf/stubs/substitute.h : text_(value.data()), size_(value.size()) {} data 129 third_party/protobuf/src/google/protobuf/stubs/substitute.h inline const char* data() const { return text_; } data 89 third_party/protobuf/src/google/protobuf/testing/file.cc GOOGLE_CHECK_EQ(fwrite(contents.data(), 1, contents.size(), file), data 956 third_party/protobuf/src/google/protobuf/text_format.cc Print(str.data(), str.size()); data 993 third_party/protobuf/src/google/protobuf/text_format.cc void Write(const char* data, int size) { data 1000 third_party/protobuf/src/google/protobuf/text_format.cc Write(indent_.data(), indent_.size()); data 1007 third_party/protobuf/src/google/protobuf/text_format.cc memcpy(buffer_, data, buffer_size_); data 1008 third_party/protobuf/src/google/protobuf/text_format.cc data += buffer_size_; data 1017 third_party/protobuf/src/google/protobuf/text_format.cc memcpy(buffer_, data, size); data 1059 third_party/protobuf/src/google/protobuf/text_format.cc io::ArrayInputStream input_stream(input.data(), input.size()); data 1074 third_party/protobuf/src/google/protobuf/text_format.cc io::ArrayInputStream input_stream(input.data(), input.size()); data 1096 third_party/protobuf/src/google/protobuf/text_format.cc io::ArrayInputStream input_stream(input.data(), input.size()); data 283 third_party/protobuf/src/google/protobuf/text_format_unittest.cc string data; data 284 third_party/protobuf/src/google/protobuf/text_format_unittest.cc message.SerializeToString(&data); data 288 third_party/protobuf/src/google/protobuf/text_format_unittest.cc EXPECT_TRUE(unknown_fields.ParseFromString(data)); data 358 third_party/protobuf/src/google/protobuf/text_format_unittest.cc io::ArrayInputStream input_stream(proto_debug_string_.data(), data 365 third_party/protobuf/src/google/protobuf/text_format_unittest.cc io::ArrayInputStream input_stream(proto_debug_string_.data(), data 396 third_party/protobuf/src/google/protobuf/text_format_unittest.cc io::ArrayInputStream input_stream(parse_string.data(), data 408 third_party/protobuf/src/google/protobuf/text_format_unittest.cc io::ArrayInputStream input_stream1(parse_string.data(), data 419 third_party/protobuf/src/google/protobuf/text_format_unittest.cc io::ArrayInputStream input_stream2(parse_string.data(), data 434 third_party/protobuf/src/google/protobuf/text_format_unittest.cc io::ArrayInputStream input_stream(parse_string.data(), data 477 third_party/protobuf/src/google/protobuf/text_format_unittest.cc io::ArrayInputStream input_stream(parse_string.data(), data 493 third_party/protobuf/src/google/protobuf/text_format_unittest.cc io::ArrayInputStream input_stream(parse_string.data(), data 53 third_party/protobuf/src/google/protobuf/unknown_field_set.cc if (start <= str.data() && str.data() <= end) { data 229 third_party/protobuf/src/google/protobuf/unknown_field_set.cc bool UnknownFieldSet::ParseFromArray(const void* data, int size) { data 230 third_party/protobuf/src/google/protobuf/unknown_field_set.cc io::ArrayInputStream input(data, size); data 268 third_party/protobuf/src/google/protobuf/unknown_field_set.cc const string& data = *length_delimited_.string_value_; data 269 third_party/protobuf/src/google/protobuf/unknown_field_set.cc output->WriteVarint32(data.size()); data 270 third_party/protobuf/src/google/protobuf/unknown_field_set.cc output->WriteString(data); data 275 third_party/protobuf/src/google/protobuf/unknown_field_set.cc const string& data = *length_delimited_.string_value_; data 276 third_party/protobuf/src/google/protobuf/unknown_field_set.cc target = io::CodedOutputStream::WriteVarint32ToArray(data.size(), target); data 277 third_party/protobuf/src/google/protobuf/unknown_field_set.cc target = io::CodedOutputStream::WriteStringToArray(data, target); data 140 third_party/protobuf/src/google/protobuf/unknown_field_set.h bool ParseFromArray(const void* data, int size); data 141 third_party/protobuf/src/google/protobuf/unknown_field_set.h inline bool ParseFromString(const string& data) { data 142 third_party/protobuf/src/google/protobuf/unknown_field_set.h return ParseFromArray(data.data(), data.size()); data 93 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc string data; data 94 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_TRUE(bizarro_message.SerializeToString(&data)); data 95 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc return data; data 208 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc string data; data 209 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc empty_message_.SerializeToString(&data); data 213 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_TRUE(data == all_fields_data_); data 221 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc io::ArrayInputStream raw_input(all_fields_data_.data(), data 233 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc string data; data 236 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc io::StringOutputStream raw_output(&data); data 245 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_TRUE(data == all_fields_data_); data 320 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc string data; data 321 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc ASSERT_TRUE(source.SerializeToString(&data)); data 324 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc ASSERT_TRUE(destination.ParseFromString(all_fields_data_ + data)); data 354 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc io::ArrayInputStream raw_input(bizarro_data.data(), bizarro_data.size()); data 376 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc io::ArrayInputStream raw_input(all_fields_data_.data(), data 411 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc string data; data 422 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc empty_message.SerializeToString(&data); data 427 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc ASSERT_TRUE(message.ParseFromString(data)); data 454 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc ASSERT_TRUE(message.ParseFromString(data)); data 268 third_party/protobuf/src/google/protobuf/wire_format.cc VerifyUTF8String(value.data(), value.length(), PARSE); data 360 third_party/protobuf/src/google/protobuf/wire_format.cc io::ArrayInputStream raw_input(message_data.data(), data 534 third_party/protobuf/src/google/protobuf/wire_format.cc VerifyUTF8String(value.data(), value.length(), SERIALIZE); data 742 third_party/protobuf/src/google/protobuf/wire_format.cc void WireFormat::VerifyUTF8StringFallback(const char* data, data 745 third_party/protobuf/src/google/protobuf/wire_format.cc if (!IsStructurallyValidUTF8(data, size)) { data 183 third_party/protobuf/src/google/protobuf/wire_format.h static void VerifyUTF8String(const char* data, int size, Operation op); data 188 third_party/protobuf/src/google/protobuf/wire_format.h const char* data, data 229 third_party/protobuf/src/google/protobuf/wire_format.h inline void WireFormat::VerifyUTF8String(const char* data, int size, data 232 third_party/protobuf/src/google/protobuf/wire_format.h WireFormat::VerifyUTF8StringFallback(data, size, op); data 235 third_party/protobuf/src/google/protobuf/wire_format.h (void)data; (void)size; (void)op; data 290 third_party/protobuf/src/google/protobuf/wire_format_lite.cc const string& data = field.length_delimited(); data 301 third_party/protobuf/src/google/protobuf/wire_format_lite.cc output->WriteVarint32(data.size()); data 302 third_party/protobuf/src/google/protobuf/wire_format_lite.cc output->WriteString(data); data 319 third_party/protobuf/src/google/protobuf/wire_format_lite.cc const string& data = field.length_delimited(); data 334 third_party/protobuf/src/google/protobuf/wire_format_lite.cc target = io::CodedOutputStream::WriteVarint32ToArray(data.size(), target); data 335 third_party/protobuf/src/google/protobuf/wire_format_lite.cc target = io::CodedOutputStream::WriteStringToArray(data, target); data 80 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc string data; data 84 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc source.SerializeToString(&data); data 87 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc io::ArrayInputStream raw_input(data.data(), data.size()); data 97 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc string data; data 101 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc source.SerializeToString(&data); data 104 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc io::ArrayInputStream raw_input(data.data(), data.size()); data 114 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc string data; data 118 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc source.SerializeToString(&data); data 121 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc io::ArrayInputStream raw_input(data.data(), data.size()); data 133 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc string data = source.SerializeAsString(); data 137 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc io::ArrayInputStream raw_input(data.data(), data.size()); data 149 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc string data = source.SerializeAsString(); data 153 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc io::ArrayInputStream raw_input(data.data(), data.size()); data 163 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc string data; data 167 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc source.SerializeToString(&data); data 170 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc io::ArrayInputStream raw_input(data.data(), data.size()); data 317 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc string data; data 320 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc source.SerializeToString(&data); data 324 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc EXPECT_TRUE(dest.ParseFromString(data)); data 331 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc io::ArrayInputStream raw_input(data.data(), data.size()); data 350 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc string data; data 351 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc ASSERT_TRUE(message_set.SerializeToString(&data)); data 355 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc ASSERT_TRUE(raw.ParseFromString(data)); data 458 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc string data; data 459 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc ASSERT_TRUE(raw.SerializeToString(&data)); data 463 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc ASSERT_TRUE(message_set.ParseFromString(data)); data 477 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc io::CodedInputStream input(reinterpret_cast<const uint8*>(data.data()), data 478 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc data.size()); data 484 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc string data; data 490 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc io::StringOutputStream output_stream(&data); data 507 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc ASSERT_TRUE(message_set.ParseFromString(data)); data 516 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc reinterpret_cast<const uint8*>(data.data()), data.size()); data 534 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc string data; data 535 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc message.SerializeToString(&data); data 538 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc io::ArrayInputStream raw_input(data.data(), data.size()); data 546 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc io::ArrayInputStream raw_input(data.data(), data.size()); data 562 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc string data; data 563 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc message.SerializeToString(&data); data 566 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc io::ArrayInputStream raw_input(data.data(), data.size()); data 574 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc io::ArrayInputStream raw_input(data.data(), data.size()); data 810 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc string data; data 811 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc message.SerializeToString(&data); data 814 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc data.resize(data.size() - 4); data 818 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc io::ArrayInputStream raw_input(data.data(), data.size()); data 848 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc return message->ParseFromArray(wire_buffer.data(), wire_buffer.size()); data 922 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc EXPECT_EQ(input.data(), output.data()); data 950 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc EXPECT_EQ(input.data(), output.data()); data 441 third_party/qcms/src/iccread.c curve->data[i] = read_u16(src, offset + 12 + i*2); data 836 third_party/qcms/src/iccread.c curve->data[i] = table[i]; data 859 third_party/qcms/src/iccread.c curve->data[0] = float_to_u8Fixed8Number(gamma); data 1160 third_party/qcms/src/iccread.c void *data; data 1170 third_party/qcms/src/iccread.c data = malloc(length); data 1171 third_party/qcms/src/iccread.c if (!data) data 1175 third_party/qcms/src/iccread.c *((be32*)data) = length_be; data 1179 third_party/qcms/src/iccread.c read_length = fread((unsigned char*)data + sizeof(length_be), 1, remaining_length, file); data 1181 third_party/qcms/src/iccread.c free(data); data 1185 third_party/qcms/src/iccread.c profile = qcms_profile_from_memory(data, length); data 1186 third_party/qcms/src/iccread.c free(data); data 39 third_party/qcms/src/qcmsint.h uint8_t data[PRECACHE_OUTPUT_SIZE]; data 151 third_party/qcms/src/qcmsint.h uInt16Number data[]; data 58 third_party/qcms/src/transform-sse1.c const uint8_t *otdata_r = &transform->output_table_r->data[0]; data 59 third_party/qcms/src/transform-sse1.c const uint8_t *otdata_g = &transform->output_table_g->data[0]; data 60 third_party/qcms/src/transform-sse1.c const uint8_t *otdata_b = &transform->output_table_b->data[0]; data 178 third_party/qcms/src/transform-sse1.c const uint8_t *otdata_r = &transform->output_table_r->data[0]; data 179 third_party/qcms/src/transform-sse1.c const uint8_t *otdata_g = &transform->output_table_g->data[0]; data 180 third_party/qcms/src/transform-sse1.c const uint8_t *otdata_b = &transform->output_table_b->data[0]; data 58 third_party/qcms/src/transform-sse2.c const uint8_t *otdata_r = &transform->output_table_r->data[0]; data 59 third_party/qcms/src/transform-sse2.c const uint8_t *otdata_g = &transform->output_table_g->data[0]; data 60 third_party/qcms/src/transform-sse2.c const uint8_t *otdata_b = &transform->output_table_b->data[0]; data 172 third_party/qcms/src/transform-sse2.c const uint8_t *otdata_r = &transform->output_table_r->data[0]; data 173 third_party/qcms/src/transform-sse2.c const uint8_t *otdata_g = &transform->output_table_g->data[0]; data 174 third_party/qcms/src/transform-sse2.c const uint8_t *otdata_b = &transform->output_table_b->data[0]; data 344 third_party/qcms/src/transform.c dest[r_out] = transform->output_table_r->data[gray]; data 345 third_party/qcms/src/transform.c dest[1] = transform->output_table_g->data[gray]; data 346 third_party/qcms/src/transform.c dest[b_out] = transform->output_table_b->data[gray]; data 368 third_party/qcms/src/transform.c dest[r_out] = transform->output_table_r->data[gray]; data 369 third_party/qcms/src/transform.c dest[1] = transform->output_table_g->data[gray]; data 370 third_party/qcms/src/transform.c dest[b_out] = transform->output_table_b->data[gray]; data 406 third_party/qcms/src/transform.c dest[r_out] = transform->output_table_r->data[r]; data 407 third_party/qcms/src/transform.c dest[1] = transform->output_table_g->data[g]; data 408 third_party/qcms/src/transform.c dest[b_out] = transform->output_table_b->data[b]; data 444 third_party/qcms/src/transform.c dest[r_out] = transform->output_table_r->data[r]; data 445 third_party/qcms/src/transform.c dest[1] = transform->output_table_g->data[g]; data 446 third_party/qcms/src/transform.c dest[b_out] = transform->output_table_b->data[b]; data 1087 third_party/qcms/src/transform.c !compute_precache(profile->redTRC, profile->output_table_r->data)) { data 1095 third_party/qcms/src/transform.c !compute_precache(profile->greenTRC, profile->output_table_g->data)) { data 1103 third_party/qcms/src/transform.c !compute_precache(profile->blueTRC, profile->output_table_b->data)) { data 266 third_party/qcms/src/transform_util.c compute_curve_gamma_table_type1(gamma_table, u8Fixed8Number_to_float(TRC->data[0])); data 268 third_party/qcms/src/transform_util.c compute_curve_gamma_table_type2(gamma_table, TRC->data, TRC->count); data 485 third_party/qcms/src/transform_util.c compute_precache_pow(output, 1./u8Fixed8Number_to_float(trc->data[0])); data 496 third_party/qcms/src/transform_util.c inverted = invert_lut(trc->data, trc->count, inverted_size); data 563 third_party/qcms/src/transform_util.c float gamma = 1./u8Fixed8Number_to_float(trc->data[0]); data 573 third_party/qcms/src/transform_util.c *output_gamma_lut = invert_lut(trc->data, trc->count, *output_gamma_lut_length); data 270 third_party/re2/re2/bitstate.cc if (submatch_[0].data() == NULL || data 506 third_party/re2/re2/parse.cc if (name.data() != NULL) data 1189 third_party/re2/re2/parse.cc if (fullrune(sp->data(), sp->size())) { data 1190 third_party/re2/re2/parse.cc n = chartorune(r, sp->data()); data 1378 third_party/re2/re2/parse.cc status->set_error_arg(StringPiece(begin, s->data() - begin)); data 1580 third_party/re2/re2/parse.cc const char* p = s->data(); data 1581 third_party/re2/re2/parse.cc const char* ep = s->data() + s->size(); data 1650 third_party/re2/re2/parse.cc status->set_error_arg(StringPiece(os.data(), s->data() - os.data())); data 1700 third_party/re2/re2/parse.cc status->set_error_arg(StringPiece(s->data(), 1+n)); data 2083 third_party/re2/re2/parse.cc opstr.set(opstr.data(), t.data() - opstr.data()); data 2114 third_party/re2/re2/parse.cc opstr.set(opstr.data(), t.data() - opstr.data()); data 352 third_party/re2/re2/re2.cc for (const char *s = rewrite.data(), *end = s + rewrite.size(); data 381 third_party/re2/re2/re2.cc assert(vec[0].begin() >= str->data()); data 382 third_party/re2/re2/re2.cc assert(vec[0].end() <= str->data()+str->size()); data 383 third_party/re2/re2/re2.cc str->replace(vec[0].data() - str->data(), vec[0].size(), s); data 395 third_party/re2/re2/re2.cc const char* p = str->data(); data 401 third_party/re2/re2/re2.cc if (!re.Match(*str, p - str->data(), str->size(), UNANCHORED, vec, nvec)) data 598 third_party/re2/re2/re2.cc if (ascii_strcasecmp(&prefix_[0], subtext.data(), prefixlen) != 0) data 601 third_party/re2/re2/re2.cc if (memcmp(&prefix_[0], subtext.data(), prefixlen) != 0) data 855 third_party/re2/re2/re2.cc if (!args[i]->Parse(s.data(), s.size())) { data 858 third_party/re2/re2/re2.cc << (void*)s.data() << "/" << s.size(); data 872 third_party/re2/re2/re2.cc for (const char *s = rewrite.data(), *end = s + rewrite.size(); data 883 third_party/re2/re2/re2.cc << " in regexp " << rewrite.data(); data 889 third_party/re2/re2/re2.cc out->append(snip.data(), snip.size()); data 894 third_party/re2/re2/re2.cc LOG(ERROR) << "invalid rewrite pattern: " << rewrite.data(); data 920 third_party/re2/re2/re2.cc for (const char *s = rewrite.data(), *end = s + rewrite.size(); data 490 third_party/re2/re2/regexp.cc s.append(error_arg_.data(), error_arg_.size()); data 866 third_party/re2/re2/regexp.cc uint8* data = new uint8[sizeof *cc + maxranges*sizeof cc->ranges_[0]]; data 867 third_party/re2/re2/regexp.cc cc = reinterpret_cast<CharClass*>(data); data 868 third_party/re2/re2/regexp.cc cc->ranges_ = reinterpret_cast<RuneRange*>(data + sizeof *cc); data 878 third_party/re2/re2/regexp.cc uint8 *data = reinterpret_cast<uint8*>(this); data 879 third_party/re2/re2/regexp.cc delete[] data; data 45 third_party/re2/re2/stringpiece.h : ptr_(str.data()), length_(static_cast<int>(str.size())) { } data 52 third_party/re2/re2/stringpiece.h const char* data() const { return ptr_; } data 58 third_party/re2/re2/stringpiece.h void set(const char* data, int len) { ptr_ = data; length_ = len; } data 66 third_party/re2/re2/stringpiece.h void set(const void* data, int len) { data 67 third_party/re2/re2/stringpiece.h ptr_ = reinterpret_cast<const char*>(data); data 92 third_party/re2/re2/stringpiece.h return std::string(data(), size()); data 100 third_party/re2/re2/stringpiece.h return std::string(data(), size()); data 163 third_party/re2/re2/stringpiece.h const int r = memcmp(x.data(), y.data(), data 212 third_party/re2/re2/testing/backtrack.cc if (submatch_[0].data() == NULL || // First match so far ... data 601 third_party/re2/re2/testing/re2_test.cc CHECK(memcmp(sp.data(), "ruby", 4) == 0); data 44 third_party/re2/re2/testing/string_generator_test.cc EXPECT_EQ(sp.data(), static_cast<const char*>(NULL)); data 63 third_party/re2/util/logging.h if(write(2, s.data(), n) < 0) {} // shut up gcc data 502 third_party/re2/util/pcre.cc (text.data() == NULL) ? "" : text.data(), data 588 third_party/re2/util/pcre.cc if (!args[i]->Parse(text.data() + start, limit-start)) { data 614 third_party/re2/util/pcre.cc for (const char *s = rewrite.data(), *end = s + rewrite.size(); data 627 third_party/re2/util/pcre.cc << " in regexp " << rewrite.data(); data 633 third_party/re2/util/pcre.cc out->append(text.data() + start, vec[2 * n + 1] - start); data 637 third_party/re2/util/pcre.cc PCREPORT(ERROR) << "invalid rewrite pattern: " << rewrite.data(); data 649 third_party/re2/util/pcre.cc for (const char *s = rewrite.data(), *end = s + rewrite.size(); data 11 third_party/re2/util/stringpiece.cc o.write(piece.data(), piece.size()); data 20 third_party/re2/util/stringpiece.cc const char* p = x.data(); data 21 third_party/re2/util/stringpiece.cc const char* p2 = y.data(); data 65 third_party/re2/util/strutil.cc const int len = CEscapeString(src.data(), src.size(), data 79 third_party/re2/util/strutil.cc string limit(prefix.data(), prefix.size()); data 7084 third_party/sqlite/amalgamation/sqlite3.c void *data; /* Data associated with this element */ data 7110 third_party/sqlite/amalgamation/sqlite3.c #define sqliteHashData(E) ((E)->data) data 21587 third_party/sqlite/amalgamation/sqlite3.c return elem ? elem->data : 0; data 21604 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void *sqlite3HashInsert(Hash *pH, const char *pKey, int nKey, void *data){ data 21619 third_party/sqlite/amalgamation/sqlite3.c void *old_data = elem->data; data 21620 third_party/sqlite/amalgamation/sqlite3.c if( data==0 ){ data 21623 third_party/sqlite/amalgamation/sqlite3.c elem->data = data; data 21629 third_party/sqlite/amalgamation/sqlite3.c if( data==0 ) return 0; data 21631 third_party/sqlite/amalgamation/sqlite3.c if( new_elem==0 ) return data; data 21634 third_party/sqlite/amalgamation/sqlite3.c new_elem->data = data; data 48183 third_party/sqlite/amalgamation/sqlite3.c unsigned char *data; /* The page data */ data 48195 third_party/sqlite/amalgamation/sqlite3.c data = pPage->aData; data 48199 third_party/sqlite/amalgamation/sqlite3.c assert( nCell==get2byte(&data[hdr+3]) ); data 48201 third_party/sqlite/amalgamation/sqlite3.c cbrk = get2byte(&data[hdr+5]); data 48202 third_party/sqlite/amalgamation/sqlite3.c memcpy(&temp[cbrk], &data[cbrk], usableSize - cbrk); data 48208 third_party/sqlite/amalgamation/sqlite3.c pAddr = &data[cellOffset + i*2]; data 48235 third_party/sqlite/amalgamation/sqlite3.c memcpy(&data[cbrk], &temp[pc], size); data 48239 third_party/sqlite/amalgamation/sqlite3.c put2byte(&data[hdr+5], cbrk); data 48240 third_party/sqlite/amalgamation/sqlite3.c data[hdr+1] = 0; data 48241 third_party/sqlite/amalgamation/sqlite3.c data[hdr+2] = 0; data 48242 third_party/sqlite/amalgamation/sqlite3.c data[hdr+7] = 0; data 48243 third_party/sqlite/amalgamation/sqlite3.c memset(&data[iCellFirst], 0, cbrk-iCellFirst); data 48266 third_party/sqlite/amalgamation/sqlite3.c u8 * const data = pPage->aData; /* Local cache of pPage->aData */ data 48282 third_party/sqlite/amalgamation/sqlite3.c nFrag = data[hdr+7]; data 48285 third_party/sqlite/amalgamation/sqlite3.c top = get2byteNotZero(&data[hdr+5]); data 48295 third_party/sqlite/amalgamation/sqlite3.c top = get2byteNotZero(&data[hdr+5]); data 48302 third_party/sqlite/amalgamation/sqlite3.c for(addr=hdr+1; (pc = get2byte(&data[addr]))>0; addr=pc){ data 48307 third_party/sqlite/amalgamation/sqlite3.c size = get2byte(&data[pc+2]); data 48315 third_party/sqlite/amalgamation/sqlite3.c memcpy(&data[addr], &data[pc], 2); data 48316 third_party/sqlite/amalgamation/sqlite3.c data[hdr+7] = (u8)(nFrag + x); data 48322 third_party/sqlite/amalgamation/sqlite3.c put2byte(&data[pc+2], x); data 48337 third_party/sqlite/amalgamation/sqlite3.c top = get2byteNotZero(&data[hdr+5]); data 48349 third_party/sqlite/amalgamation/sqlite3.c put2byte(&data[hdr+5], top); data 48366 third_party/sqlite/amalgamation/sqlite3.c unsigned char *data = pPage->aData; data 48378 third_party/sqlite/amalgamation/sqlite3.c memset(&data[start], 0, size); data 48394 third_party/sqlite/amalgamation/sqlite3.c while( (pbegin = get2byte(&data[addr]))<start && pbegin>0 ){ data 48404 third_party/sqlite/amalgamation/sqlite3.c put2byte(&data[addr], start); data 48405 third_party/sqlite/amalgamation/sqlite3.c put2byte(&data[start], pbegin); data 48406 third_party/sqlite/amalgamation/sqlite3.c put2byte(&data[start+2], size); data 48411 third_party/sqlite/amalgamation/sqlite3.c while( (pbegin = get2byte(&data[addr]))>0 ){ data 48415 third_party/sqlite/amalgamation/sqlite3.c pnext = get2byte(&data[pbegin]); data 48416 third_party/sqlite/amalgamation/sqlite3.c psize = get2byte(&data[pbegin+2]); data 48419 third_party/sqlite/amalgamation/sqlite3.c if( (frag<0) || (frag>(int)data[hdr+7]) ){ data 48422 third_party/sqlite/amalgamation/sqlite3.c data[hdr+7] -= (u8)frag; data 48423 third_party/sqlite/amalgamation/sqlite3.c x = get2byte(&data[pnext]); data 48424 third_party/sqlite/amalgamation/sqlite3.c put2byte(&data[pbegin], x); data 48425 third_party/sqlite/amalgamation/sqlite3.c x = pnext + get2byte(&data[pnext+2]) - pbegin; data 48426 third_party/sqlite/amalgamation/sqlite3.c put2byte(&data[pbegin+2], x); data 48433 third_party/sqlite/amalgamation/sqlite3.c if( data[hdr+1]==data[hdr+5] && data[hdr+2]==data[hdr+6] ){ data 48435 third_party/sqlite/amalgamation/sqlite3.c pbegin = get2byte(&data[hdr+1]); data 48436 third_party/sqlite/amalgamation/sqlite3.c memcpy(&data[hdr+1], &data[pbegin], 2); data 48437 third_party/sqlite/amalgamation/sqlite3.c top = get2byte(&data[hdr+5]) + get2byte(&data[pbegin+2]); data 48438 third_party/sqlite/amalgamation/sqlite3.c put2byte(&data[hdr+5], top); data 48501 third_party/sqlite/amalgamation/sqlite3.c u8 *data; /* Equal to pPage->aData */ data 48513 third_party/sqlite/amalgamation/sqlite3.c data = pPage->aData; data 48514 third_party/sqlite/amalgamation/sqlite3.c if( decodeFlags(pPage, data[hdr]) ) return SQLITE_CORRUPT_BKPT; data 48520 third_party/sqlite/amalgamation/sqlite3.c top = get2byteNotZero(&data[hdr+5]); data 48521 third_party/sqlite/amalgamation/sqlite3.c pPage->nCell = get2byte(&data[hdr+3]); data 48544 third_party/sqlite/amalgamation/sqlite3.c pc = get2byte(&data[cellOffset+i*2]); data 48550 third_party/sqlite/amalgamation/sqlite3.c sz = cellSizePtr(pPage, &data[pc]); data 48561 third_party/sqlite/amalgamation/sqlite3.c pc = get2byte(&data[hdr+1]); data 48562 third_party/sqlite/amalgamation/sqlite3.c nFree = data[hdr+7] + top; data 48569 third_party/sqlite/amalgamation/sqlite3.c next = get2byte(&data[pc]); data 48570 third_party/sqlite/amalgamation/sqlite3.c size = get2byte(&data[pc+2]); data 48601 third_party/sqlite/amalgamation/sqlite3.c unsigned char *data = pPage->aData; data 48608 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerGetData(pPage->pDbPage) == data ); data 48612 third_party/sqlite/amalgamation/sqlite3.c memset(&data[hdr], 0, pBt->usableSize - hdr); data 48614 third_party/sqlite/amalgamation/sqlite3.c data[hdr] = (char)flags; data 48616 third_party/sqlite/amalgamation/sqlite3.c memset(&data[hdr+1], 0, 4); data 48617 third_party/sqlite/amalgamation/sqlite3.c data[hdr+7] = 0; data 48618 third_party/sqlite/amalgamation/sqlite3.c put2byte(&data[hdr+5], pBt->usableSize); data 49573 third_party/sqlite/amalgamation/sqlite3.c unsigned char *data; data 49582 third_party/sqlite/amalgamation/sqlite3.c data = pP1->aData; data 49585 third_party/sqlite/amalgamation/sqlite3.c memcpy(data, zMagicHeader, sizeof(zMagicHeader)); data 49587 third_party/sqlite/amalgamation/sqlite3.c data[16] = (u8)((pBt->pageSize>>8)&0xff); data 49588 third_party/sqlite/amalgamation/sqlite3.c data[17] = (u8)((pBt->pageSize>>16)&0xff); data 49589 third_party/sqlite/amalgamation/sqlite3.c data[18] = 1; data 49590 third_party/sqlite/amalgamation/sqlite3.c data[19] = 1; data 49592 third_party/sqlite/amalgamation/sqlite3.c data[20] = (u8)(pBt->pageSize - pBt->usableSize); data 49593 third_party/sqlite/amalgamation/sqlite3.c data[21] = 64; data 49594 third_party/sqlite/amalgamation/sqlite3.c data[22] = 32; data 49595 third_party/sqlite/amalgamation/sqlite3.c data[23] = 32; data 49596 third_party/sqlite/amalgamation/sqlite3.c memset(&data[24], 0, 100-24); data 49602 third_party/sqlite/amalgamation/sqlite3.c put4byte(&data[36 + 4*4], pBt->autoVacuum); data 49603 third_party/sqlite/amalgamation/sqlite3.c put4byte(&data[36 + 7*4], pBt->incrVacuum); data 49606 third_party/sqlite/amalgamation/sqlite3.c data[31] = 1; data 52508 third_party/sqlite/amalgamation/sqlite3.c u8 *data; /* pPage->aData */ data 52519 third_party/sqlite/amalgamation/sqlite3.c data = pPage->aData; data 52520 third_party/sqlite/amalgamation/sqlite3.c ptr = &data[pPage->cellOffset + 2*idx]; data 52523 third_party/sqlite/amalgamation/sqlite3.c testcase( pc==get2byte(&data[hdr+5]) ); data 52525 third_party/sqlite/amalgamation/sqlite3.c if( pc < (u32)get2byte(&data[hdr+5]) || pc+sz > pPage->pBt->usableSize ){ data 52539 third_party/sqlite/amalgamation/sqlite3.c put2byte(&data[hdr+3], pPage->nCell); data 52574 third_party/sqlite/amalgamation/sqlite3.c u8 *data; /* The content of the whole page */ data 52610 third_party/sqlite/amalgamation/sqlite3.c data = pPage->aData; data 52622 third_party/sqlite/amalgamation/sqlite3.c memcpy(&data[idx+nSkip], pCell+nSkip, sz-nSkip); data 52624 third_party/sqlite/amalgamation/sqlite3.c put4byte(&data[idx], iChild); data 52626 third_party/sqlite/amalgamation/sqlite3.c for(j=end, ptr=&data[j]; j>ins; j-=2, ptr-=2){ data 52630 third_party/sqlite/amalgamation/sqlite3.c put2byte(&data[ins], idx); data 52631 third_party/sqlite/amalgamation/sqlite3.c put2byte(&data[pPage->hdrOffset+3], pPage->nCell); data 52656 third_party/sqlite/amalgamation/sqlite3.c u8 * const data = pPage->aData; /* Pointer to data for pPage */ data 52668 third_party/sqlite/amalgamation/sqlite3.c assert( get2byteNotZero(&data[hdr+5])==nUsable ); data 52670 third_party/sqlite/amalgamation/sqlite3.c pCellptr = &data[pPage->cellOffset + nCell*2]; data 52676 third_party/sqlite/amalgamation/sqlite3.c memcpy(&data[cellbody], apCell[i], aSize[i]); data 52678 third_party/sqlite/amalgamation/sqlite3.c put2byte(&data[hdr+3], nCell); data 52679 third_party/sqlite/amalgamation/sqlite3.c put2byte(&data[hdr+5], cellbody); data 54703 third_party/sqlite/amalgamation/sqlite3.c u8 *data; data 54843 third_party/sqlite/amalgamation/sqlite3.c data = pPage->aData; data 54849 third_party/sqlite/amalgamation/sqlite3.c int contentOffset = get2byteNotZero(&data[hdr+5]); data 54853 third_party/sqlite/amalgamation/sqlite3.c nCell = get2byte(&data[hdr+3]); data 54856 third_party/sqlite/amalgamation/sqlite3.c int pc = get2byte(&data[cellStart+i*2]); data 54860 third_party/sqlite/amalgamation/sqlite3.c size = cellSizePtr(pPage, &data[pc]); data 54869 third_party/sqlite/amalgamation/sqlite3.c i = get2byte(&data[hdr+1]); data 54873 third_party/sqlite/amalgamation/sqlite3.c size = get2byte(&data[i+2]); data 54876 third_party/sqlite/amalgamation/sqlite3.c j = get2byte(&data[i]); data 54890 third_party/sqlite/amalgamation/sqlite3.c if( cnt!=data[hdr+7] ){ data 54893 third_party/sqlite/amalgamation/sqlite3.c cnt, data[hdr+7], iPage); data 112930 third_party/sqlite/amalgamation/sqlite3.c void *data; /* Data associated with this element */ data 112981 third_party/sqlite/amalgamation/sqlite3.c #define fts3HashData(E) ((E)->data) data 118466 third_party/sqlite/amalgamation/sqlite3.c return pElem ? pElem->data : 0; data 118488 third_party/sqlite/amalgamation/sqlite3.c void *data /* The data */ data 118504 third_party/sqlite/amalgamation/sqlite3.c void *old_data = elem->data; data 118505 third_party/sqlite/amalgamation/sqlite3.c if( data==0 ){ data 118508 third_party/sqlite/amalgamation/sqlite3.c elem->data = data; data 118512 third_party/sqlite/amalgamation/sqlite3.c if( data==0 ) return 0; data 118517 third_party/sqlite/amalgamation/sqlite3.c return data; data 118521 third_party/sqlite/amalgamation/sqlite3.c if( new_elem==0 ) return data; data 118526 third_party/sqlite/amalgamation/sqlite3.c return data; data 118538 third_party/sqlite/amalgamation/sqlite3.c new_elem->data = data; data 331 third_party/sqlite/src/ext/fts1/ft_hash.c return elem ? elem->data : 0; data 349 third_party/sqlite/src/ext/fts1/ft_hash.c void *HashInsert(Hash *pH, const void *pKey, int nKey, void *data){ data 364 third_party/sqlite/src/ext/fts1/ft_hash.c void *old_data = elem->data; data 365 third_party/sqlite/src/ext/fts1/ft_hash.c if( data==0 ){ data 368 third_party/sqlite/src/ext/fts1/ft_hash.c elem->data = data; data 372 third_party/sqlite/src/ext/fts1/ft_hash.c if( data==0 ) return 0; data 374 third_party/sqlite/src/ext/fts1/ft_hash.c if( new_elem==0 ) return data; data 379 third_party/sqlite/src/ext/fts1/ft_hash.c return data; data 392 third_party/sqlite/src/ext/fts1/ft_hash.c return data; data 402 third_party/sqlite/src/ext/fts1/ft_hash.c new_elem->data = data; data 54 third_party/sqlite/src/ext/fts1/ft_hash.h void *data; /* Data associated with this element */ data 102 third_party/sqlite/src/ext/fts1/ft_hash.h #define HashData(E) ((E)->data) data 289 third_party/sqlite/src/ext/fts1/fts1_hash.c return elem ? elem->data : 0; data 311 third_party/sqlite/src/ext/fts1/fts1_hash.c void *data /* The data */ data 327 third_party/sqlite/src/ext/fts1/fts1_hash.c void *old_data = elem->data; data 328 third_party/sqlite/src/ext/fts1/fts1_hash.c if( data==0 ){ data 331 third_party/sqlite/src/ext/fts1/fts1_hash.c elem->data = data; data 335 third_party/sqlite/src/ext/fts1/fts1_hash.c if( data==0 ) return 0; data 337 third_party/sqlite/src/ext/fts1/fts1_hash.c if( new_elem==0 ) return data; data 342 third_party/sqlite/src/ext/fts1/fts1_hash.c return data; data 355 third_party/sqlite/src/ext/fts1/fts1_hash.c return data; data 365 third_party/sqlite/src/ext/fts1/fts1_hash.c new_elem->data = data; data 54 third_party/sqlite/src/ext/fts1/fts1_hash.h void *data; /* Data associated with this element */ data 103 third_party/sqlite/src/ext/fts1/fts1_hash.h #define fts1HashData(E) ((E)->data) data 4292 third_party/sqlite/src/ext/fts2/fts2.c DataBuffer data; /* Accumulated data for the block. */ data 4309 third_party/sqlite/src/ext/fts2/fts2.c dataBufferInit(&block->data, INTERIOR_MAX); data 4310 third_party/sqlite/src/ext/fts2/fts2.c dataBufferReplace(&block->data, c, n); data 4318 third_party/sqlite/src/ext/fts2/fts2.c const char *pData = pBlock->data.pData; data 4319 third_party/sqlite/src/ext/fts2/fts2.c int nData = pBlock->data.nData; data 4450 third_party/sqlite/src/ext/fts2/fts2.c if( pWriter->last->data.nData+n+nTerm-nPrefix>INTERIOR_MAX && data 4458 third_party/sqlite/src/ext/fts2/fts2.c dataBufferAppend2(&pWriter->last->data, c, n, data 4475 third_party/sqlite/src/ext/fts2/fts2.c dataBufferDestroy(&b->data); data 4500 third_party/sqlite/src/ext/fts2/fts2.c if( block==pWriter->last && block->data.nData<ROOT_MAX ){ data 4501 third_party/sqlite/src/ext/fts2/fts2.c *ppRootInfo = block->data.pData; data 4502 third_party/sqlite/src/ext/fts2/fts2.c *pnRootInfo = block->data.nData; data 4510 third_party/sqlite/src/ext/fts2/fts2.c rc = block_insert(v, block->data.pData, block->data.nData, &iBlockid); data 4524 third_party/sqlite/src/ext/fts2/fts2.c rc = block_insert(v, block->data.pData, block->data.nData, &iBlockid); data 4698 third_party/sqlite/src/ext/fts2/fts2.c DataBuffer data; /* encoding buffer */ data 4717 third_party/sqlite/src/ext/fts2/fts2.c dataBufferInit(&pWriter->data, LEAF_MAX); data 4803 third_party/sqlite/src/ext/fts2/fts2.c assert( iData+nData<=pWriter->data.nData ); data 4804 third_party/sqlite/src/ext/fts2/fts2.c ASSERT_VALID_LEAF_NODE(pWriter->data.pData+iData, nData); data 4806 third_party/sqlite/src/ext/fts2/fts2.c rc = block_insert(v, pWriter->data.pData+iData, nData, &iBlockid); data 4813 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32(pWriter->data.pData+iData+1, &nStartingTerm); data 4814 third_party/sqlite/src/ext/fts2/fts2.c pStartingTerm = pWriter->data.pData+iData+1+n; data 4815 third_party/sqlite/src/ext/fts2/fts2.c assert( pWriter->data.nData>iData+1+n+nStartingTerm ); data 4840 third_party/sqlite/src/ext/fts2/fts2.c int rc = leafWriterInternalFlush(v, pWriter, 0, pWriter->data.nData); data 4844 third_party/sqlite/src/ext/fts2/fts2.c dataBufferReset(&pWriter->data); data 4860 third_party/sqlite/src/ext/fts2/fts2.c if( !pWriter->has_parent && pWriter->data.nData<ROOT_MAX ){ data 4861 third_party/sqlite/src/ext/fts2/fts2.c *ppRootInfo = pWriter->data.pData; data 4862 third_party/sqlite/src/ext/fts2/fts2.c *pnRootInfo = pWriter->data.nData; data 4868 third_party/sqlite/src/ext/fts2/fts2.c if( pWriter->data.nData>0 ){ data 4910 third_party/sqlite/src/ext/fts2/fts2.c dataBufferDestroy(&pWriter->data); data 4931 third_party/sqlite/src/ext/fts2/fts2.c if( pWriter->data.nData==0 ){ data 4939 third_party/sqlite/src/ext/fts2/fts2.c dataBufferAppend2(&pWriter->data, c, n, pTerm, nTerm); data 4948 third_party/sqlite/src/ext/fts2/fts2.c dataBufferAppend2(&pWriter->data, c, n, pTerm+nPrefix, nTerm-nPrefix); data 4975 third_party/sqlite/src/ext/fts2/fts2.c memcpy(pWriter->data.pData+iData, c, n); data 4976 third_party/sqlite/src/ext/fts2/fts2.c memcpy(pWriter->data.pData+iData+n, pTerm, nTerm); data 4978 third_party/sqlite/src/ext/fts2/fts2.c return leafWriterInternalFlush(v, pWriter, iData, pWriter->data.nData-iData); data 4988 third_party/sqlite/src/ext/fts2/fts2.c int iTermData = pWriter->data.nData, iDoclistData; data 4991 third_party/sqlite/src/ext/fts2/fts2.c ASSERT_VALID_LEAF_NODE(pWriter->data.pData, pWriter->data.nData); data 4997 third_party/sqlite/src/ext/fts2/fts2.c iDoclistData = pWriter->data.nData; data 5006 third_party/sqlite/src/ext/fts2/fts2.c dataBufferAppend(&pWriter->data, c, n); data 5008 third_party/sqlite/src/ext/fts2/fts2.c rc = docListMerge(&pWriter->data, pReaders, nReaders); data 5011 third_party/sqlite/src/ext/fts2/fts2.c pWriter->data.pData+iDoclistData+n, data 5012 third_party/sqlite/src/ext/fts2/fts2.c pWriter->data.nData-iDoclistData-n, NULL); data 5019 third_party/sqlite/src/ext/fts2/fts2.c nActualData = pWriter->data.nData-(iDoclistData+n); data 5044 third_party/sqlite/src/ext/fts2/fts2.c memcpy(pWriter->data.pData+iDoclistData, c, nActual); data 5051 third_party/sqlite/src/ext/fts2/fts2.c dataBufferReset(&pWriter->data); data 5060 third_party/sqlite/src/ext/fts2/fts2.c memmove(pWriter->data.pData+iDoclistData+nActual, data 5061 third_party/sqlite/src/ext/fts2/fts2.c pWriter->data.pData+iDoclistData+n, data 5062 third_party/sqlite/src/ext/fts2/fts2.c pWriter->data.nData-(iDoclistData+n)); data 5063 third_party/sqlite/src/ext/fts2/fts2.c pWriter->data.nData -= n-nActual; data 5067 third_party/sqlite/src/ext/fts2/fts2.c memcpy(pWriter->data.pData+iDoclistData, c, nActual); data 5083 third_party/sqlite/src/ext/fts2/fts2.c n = putVarint(pWriter->data.pData, 0); data 5084 third_party/sqlite/src/ext/fts2/fts2.c n += putVarint(pWriter->data.pData+n, nTerm); data 5085 third_party/sqlite/src/ext/fts2/fts2.c memcpy(pWriter->data.pData+n, pTerm, nTerm); data 5096 third_party/sqlite/src/ext/fts2/fts2.c assert( n+pWriter->data.nData-iDoclistData<iDoclistData ); data 5097 third_party/sqlite/src/ext/fts2/fts2.c memcpy(pWriter->data.pData+n, data 5098 third_party/sqlite/src/ext/fts2/fts2.c pWriter->data.pData+iDoclistData, data 5099 third_party/sqlite/src/ext/fts2/fts2.c pWriter->data.nData-iDoclistData); data 5100 third_party/sqlite/src/ext/fts2/fts2.c pWriter->data.nData -= iDoclistData-n; data 5102 third_party/sqlite/src/ext/fts2/fts2.c ASSERT_VALID_LEAF_NODE(pWriter->data.pData, pWriter->data.nData); data 294 third_party/sqlite/src/ext/fts2/fts2_hash.c return elem ? elem->data : 0; data 316 third_party/sqlite/src/ext/fts2/fts2_hash.c void *data /* The data */ data 332 third_party/sqlite/src/ext/fts2/fts2_hash.c void *old_data = elem->data; data 333 third_party/sqlite/src/ext/fts2/fts2_hash.c if( data==0 ){ data 336 third_party/sqlite/src/ext/fts2/fts2_hash.c elem->data = data; data 340 third_party/sqlite/src/ext/fts2/fts2_hash.c if( data==0 ) return 0; data 342 third_party/sqlite/src/ext/fts2/fts2_hash.c if( new_elem==0 ) return data; data 347 third_party/sqlite/src/ext/fts2/fts2_hash.c return data; data 360 third_party/sqlite/src/ext/fts2/fts2_hash.c return data; data 370 third_party/sqlite/src/ext/fts2/fts2_hash.c new_elem->data = data; data 52 third_party/sqlite/src/ext/fts2/fts2_hash.h void *data; /* Data associated with this element */ data 101 third_party/sqlite/src/ext/fts2/fts2_hash.h #define fts2HashData(E) ((E)->data) data 307 third_party/sqlite/src/ext/fts3/fts3_hash.c return pElem ? pElem->data : 0; data 329 third_party/sqlite/src/ext/fts3/fts3_hash.c void *data /* The data */ data 345 third_party/sqlite/src/ext/fts3/fts3_hash.c void *old_data = elem->data; data 346 third_party/sqlite/src/ext/fts3/fts3_hash.c if( data==0 ){ data 349 third_party/sqlite/src/ext/fts3/fts3_hash.c elem->data = data; data 353 third_party/sqlite/src/ext/fts3/fts3_hash.c if( data==0 ) return 0; data 358 third_party/sqlite/src/ext/fts3/fts3_hash.c return data; data 362 third_party/sqlite/src/ext/fts3/fts3_hash.c if( new_elem==0 ) return data; data 367 third_party/sqlite/src/ext/fts3/fts3_hash.c return data; data 379 third_party/sqlite/src/ext/fts3/fts3_hash.c new_elem->data = data; data 52 third_party/sqlite/src/ext/fts3/fts3_hash.h void *data; /* Data associated with this element */ data 103 third_party/sqlite/src/ext/fts3/fts3_hash.h #define fts3HashData(E) ((E)->data) data 1064 third_party/sqlite/src/src/btree.c unsigned char *data; /* The page data */ data 1076 third_party/sqlite/src/src/btree.c data = pPage->aData; data 1080 third_party/sqlite/src/src/btree.c assert( nCell==get2byte(&data[hdr+3]) ); data 1082 third_party/sqlite/src/src/btree.c cbrk = get2byte(&data[hdr+5]); data 1083 third_party/sqlite/src/src/btree.c memcpy(&temp[cbrk], &data[cbrk], usableSize - cbrk); data 1089 third_party/sqlite/src/src/btree.c pAddr = &data[cellOffset + i*2]; data 1116 third_party/sqlite/src/src/btree.c memcpy(&data[cbrk], &temp[pc], size); data 1120 third_party/sqlite/src/src/btree.c put2byte(&data[hdr+5], cbrk); data 1121 third_party/sqlite/src/src/btree.c data[hdr+1] = 0; data 1122 third_party/sqlite/src/src/btree.c data[hdr+2] = 0; data 1123 third_party/sqlite/src/src/btree.c data[hdr+7] = 0; data 1124 third_party/sqlite/src/src/btree.c memset(&data[iCellFirst], 0, cbrk-iCellFirst); data 1147 third_party/sqlite/src/src/btree.c u8 * const data = pPage->aData; /* Local cache of pPage->aData */ data 1163 third_party/sqlite/src/src/btree.c nFrag = data[hdr+7]; data 1166 third_party/sqlite/src/src/btree.c top = get2byteNotZero(&data[hdr+5]); data 1176 third_party/sqlite/src/src/btree.c top = get2byteNotZero(&data[hdr+5]); data 1183 third_party/sqlite/src/src/btree.c for(addr=hdr+1; (pc = get2byte(&data[addr]))>0; addr=pc){ data 1188 third_party/sqlite/src/src/btree.c size = get2byte(&data[pc+2]); data 1196 third_party/sqlite/src/src/btree.c memcpy(&data[addr], &data[pc], 2); data 1197 third_party/sqlite/src/src/btree.c data[hdr+7] = (u8)(nFrag + x); data 1203 third_party/sqlite/src/src/btree.c put2byte(&data[pc+2], x); data 1218 third_party/sqlite/src/src/btree.c top = get2byteNotZero(&data[hdr+5]); data 1230 third_party/sqlite/src/src/btree.c put2byte(&data[hdr+5], top); data 1247 third_party/sqlite/src/src/btree.c unsigned char *data = pPage->aData; data 1259 third_party/sqlite/src/src/btree.c memset(&data[start], 0, size); data 1275 third_party/sqlite/src/src/btree.c while( (pbegin = get2byte(&data[addr]))<start && pbegin>0 ){ data 1285 third_party/sqlite/src/src/btree.c put2byte(&data[addr], start); data 1286 third_party/sqlite/src/src/btree.c put2byte(&data[start], pbegin); data 1287 third_party/sqlite/src/src/btree.c put2byte(&data[start+2], size); data 1292 third_party/sqlite/src/src/btree.c while( (pbegin = get2byte(&data[addr]))>0 ){ data 1296 third_party/sqlite/src/src/btree.c pnext = get2byte(&data[pbegin]); data 1297 third_party/sqlite/src/src/btree.c psize = get2byte(&data[pbegin+2]); data 1300 third_party/sqlite/src/src/btree.c if( (frag<0) || (frag>(int)data[hdr+7]) ){ data 1303 third_party/sqlite/src/src/btree.c data[hdr+7] -= (u8)frag; data 1304 third_party/sqlite/src/src/btree.c x = get2byte(&data[pnext]); data 1305 third_party/sqlite/src/src/btree.c put2byte(&data[pbegin], x); data 1306 third_party/sqlite/src/src/btree.c x = pnext + get2byte(&data[pnext+2]) - pbegin; data 1307 third_party/sqlite/src/src/btree.c put2byte(&data[pbegin+2], x); data 1314 third_party/sqlite/src/src/btree.c if( data[hdr+1]==data[hdr+5] && data[hdr+2]==data[hdr+6] ){ data 1316 third_party/sqlite/src/src/btree.c pbegin = get2byte(&data[hdr+1]); data 1317 third_party/sqlite/src/src/btree.c memcpy(&data[hdr+1], &data[pbegin], 2); data 1318 third_party/sqlite/src/src/btree.c top = get2byte(&data[hdr+5]) + get2byte(&data[pbegin+2]); data 1319 third_party/sqlite/src/src/btree.c put2byte(&data[hdr+5], top); data 1382 third_party/sqlite/src/src/btree.c u8 *data; /* Equal to pPage->aData */ data 1394 third_party/sqlite/src/src/btree.c data = pPage->aData; data 1395 third_party/sqlite/src/src/btree.c if( decodeFlags(pPage, data[hdr]) ) return SQLITE_CORRUPT_BKPT; data 1401 third_party/sqlite/src/src/btree.c top = get2byteNotZero(&data[hdr+5]); data 1402 third_party/sqlite/src/src/btree.c pPage->nCell = get2byte(&data[hdr+3]); data 1425 third_party/sqlite/src/src/btree.c pc = get2byte(&data[cellOffset+i*2]); data 1431 third_party/sqlite/src/src/btree.c sz = cellSizePtr(pPage, &data[pc]); data 1442 third_party/sqlite/src/src/btree.c pc = get2byte(&data[hdr+1]); data 1443 third_party/sqlite/src/src/btree.c nFree = data[hdr+7] + top; data 1450 third_party/sqlite/src/src/btree.c next = get2byte(&data[pc]); data 1451 third_party/sqlite/src/src/btree.c size = get2byte(&data[pc+2]); data 1482 third_party/sqlite/src/src/btree.c unsigned char *data = pPage->aData; data 1489 third_party/sqlite/src/src/btree.c assert( sqlite3PagerGetData(pPage->pDbPage) == data ); data 1493 third_party/sqlite/src/src/btree.c memset(&data[hdr], 0, pBt->usableSize - hdr); data 1495 third_party/sqlite/src/src/btree.c data[hdr] = (char)flags; data 1497 third_party/sqlite/src/src/btree.c memset(&data[hdr+1], 0, 4); data 1498 third_party/sqlite/src/src/btree.c data[hdr+7] = 0; data 1499 third_party/sqlite/src/src/btree.c put2byte(&data[hdr+5], pBt->usableSize); data 2454 third_party/sqlite/src/src/btree.c unsigned char *data; data 2463 third_party/sqlite/src/src/btree.c data = pP1->aData; data 2466 third_party/sqlite/src/src/btree.c memcpy(data, zMagicHeader, sizeof(zMagicHeader)); data 2468 third_party/sqlite/src/src/btree.c data[16] = (u8)((pBt->pageSize>>8)&0xff); data 2469 third_party/sqlite/src/src/btree.c data[17] = (u8)((pBt->pageSize>>16)&0xff); data 2470 third_party/sqlite/src/src/btree.c data[18] = 1; data 2471 third_party/sqlite/src/src/btree.c data[19] = 1; data 2473 third_party/sqlite/src/src/btree.c data[20] = (u8)(pBt->pageSize - pBt->usableSize); data 2474 third_party/sqlite/src/src/btree.c data[21] = 64; data 2475 third_party/sqlite/src/src/btree.c data[22] = 32; data 2476 third_party/sqlite/src/src/btree.c data[23] = 32; data 2477 third_party/sqlite/src/src/btree.c memset(&data[24], 0, 100-24); data 2483 third_party/sqlite/src/src/btree.c put4byte(&data[36 + 4*4], pBt->autoVacuum); data 2484 third_party/sqlite/src/src/btree.c put4byte(&data[36 + 7*4], pBt->incrVacuum); data 2487 third_party/sqlite/src/src/btree.c data[31] = 1; data 5389 third_party/sqlite/src/src/btree.c u8 *data; /* pPage->aData */ data 5400 third_party/sqlite/src/src/btree.c data = pPage->aData; data 5401 third_party/sqlite/src/src/btree.c ptr = &data[pPage->cellOffset + 2*idx]; data 5404 third_party/sqlite/src/src/btree.c testcase( pc==get2byte(&data[hdr+5]) ); data 5406 third_party/sqlite/src/src/btree.c if( pc < (u32)get2byte(&data[hdr+5]) || pc+sz > pPage->pBt->usableSize ){ data 5420 third_party/sqlite/src/src/btree.c put2byte(&data[hdr+3], pPage->nCell); data 5455 third_party/sqlite/src/src/btree.c u8 *data; /* The content of the whole page */ data 5491 third_party/sqlite/src/src/btree.c data = pPage->aData; data 5503 third_party/sqlite/src/src/btree.c memcpy(&data[idx+nSkip], pCell+nSkip, sz-nSkip); data 5505 third_party/sqlite/src/src/btree.c put4byte(&data[idx], iChild); data 5507 third_party/sqlite/src/src/btree.c for(j=end, ptr=&data[j]; j>ins; j-=2, ptr-=2){ data 5511 third_party/sqlite/src/src/btree.c put2byte(&data[ins], idx); data 5512 third_party/sqlite/src/src/btree.c put2byte(&data[pPage->hdrOffset+3], pPage->nCell); data 5537 third_party/sqlite/src/src/btree.c u8 * const data = pPage->aData; /* Pointer to data for pPage */ data 5549 third_party/sqlite/src/src/btree.c assert( get2byteNotZero(&data[hdr+5])==nUsable ); data 5551 third_party/sqlite/src/src/btree.c pCellptr = &data[pPage->cellOffset + nCell*2]; data 5557 third_party/sqlite/src/src/btree.c memcpy(&data[cellbody], apCell[i], aSize[i]); data 5559 third_party/sqlite/src/src/btree.c put2byte(&data[hdr+3], nCell); data 5560 third_party/sqlite/src/src/btree.c put2byte(&data[hdr+5], cellbody); data 7584 third_party/sqlite/src/src/btree.c u8 *data; data 7724 third_party/sqlite/src/src/btree.c data = pPage->aData; data 7730 third_party/sqlite/src/src/btree.c int contentOffset = get2byteNotZero(&data[hdr+5]); data 7734 third_party/sqlite/src/src/btree.c nCell = get2byte(&data[hdr+3]); data 7737 third_party/sqlite/src/src/btree.c int pc = get2byte(&data[cellStart+i*2]); data 7741 third_party/sqlite/src/src/btree.c size = cellSizePtr(pPage, &data[pc]); data 7750 third_party/sqlite/src/src/btree.c i = get2byte(&data[hdr+1]); data 7754 third_party/sqlite/src/src/btree.c size = get2byte(&data[i+2]); data 7757 third_party/sqlite/src/src/btree.c j = get2byte(&data[i]); data 7771 third_party/sqlite/src/src/btree.c if( cnt!=data[hdr+7] ){ data 7774 third_party/sqlite/src/src/btree.c cnt, data[hdr+7], iPage); data 216 third_party/sqlite/src/src/hash.c return elem ? elem->data : 0; data 233 third_party/sqlite/src/src/hash.c void *sqlite3HashInsert(Hash *pH, const char *pKey, int nKey, void *data){ data 248 third_party/sqlite/src/src/hash.c void *old_data = elem->data; data 249 third_party/sqlite/src/src/hash.c if( data==0 ){ data 252 third_party/sqlite/src/src/hash.c elem->data = data; data 258 third_party/sqlite/src/src/hash.c if( data==0 ) return 0; data 260 third_party/sqlite/src/src/hash.c if( new_elem==0 ) return data; data 263 third_party/sqlite/src/src/hash.c new_elem->data = data; data 61 third_party/sqlite/src/src/hash.h void *data; /* Data associated with this element */ data 87 third_party/sqlite/src/src/hash.h #define sqliteHashData(E) ((E)->data) data 1529 third_party/sqlite/src/src/shell.c struct callback_data data; data 1532 third_party/sqlite/src/src/shell.c memcpy(&data, p, sizeof(data)); data 1533 third_party/sqlite/src/src/shell.c data.showHeader = 1; data 1534 third_party/sqlite/src/src/shell.c data.mode = MODE_Column; data 1535 third_party/sqlite/src/src/shell.c data.colWidth[0] = 3; data 1536 third_party/sqlite/src/src/shell.c data.colWidth[1] = 15; data 1537 third_party/sqlite/src/src/shell.c data.colWidth[2] = 58; data 1538 third_party/sqlite/src/src/shell.c data.cnt = 0; data 1539 third_party/sqlite/src/src/shell.c sqlite3_exec(p->db, "PRAGMA database_list; ", callback, &data, &zErrMsg); data 1773 third_party/sqlite/src/src/shell.c struct callback_data data; data 1776 third_party/sqlite/src/src/shell.c memcpy(&data, p, sizeof(data)); data 1777 third_party/sqlite/src/src/shell.c data.showHeader = 0; data 1778 third_party/sqlite/src/src/shell.c data.mode = MODE_List; data 1787 third_party/sqlite/src/src/shell.c callback, &data, &zErrMsg data 1798 third_party/sqlite/src/src/shell.c callback, &data, &zErrMsg data 2011 third_party/sqlite/src/src/shell.c struct callback_data data; data 2014 third_party/sqlite/src/src/shell.c memcpy(&data, p, sizeof(data)); data 2015 third_party/sqlite/src/src/shell.c data.showHeader = 0; data 2016 third_party/sqlite/src/src/shell.c data.mode = MODE_Semi; data 2032 third_party/sqlite/src/src/shell.c callback(&data, 1, new_argv, new_colv); data 2046 third_party/sqlite/src/src/shell.c callback(&data, 1, new_argv, new_colv); data 2057 third_party/sqlite/src/src/shell.c callback, &data, &zErrMsg); data 2068 third_party/sqlite/src/src/shell.c callback, &data, &zErrMsg data 2647 third_party/sqlite/src/src/shell.c static void main_init(struct callback_data *data) { data 2648 third_party/sqlite/src/src/shell.c memset(data, 0, sizeof(*data)); data 2649 third_party/sqlite/src/src/shell.c data->mode = MODE_List; data 2650 third_party/sqlite/src/src/shell.c memcpy(data->separator,"|", 2); data 2651 third_party/sqlite/src/src/shell.c data->showHeader = 0; data 2652 third_party/sqlite/src/src/shell.c sqlite3_config(SQLITE_CONFIG_LOG, shellLog, data); data 2660 third_party/sqlite/src/src/shell.c struct callback_data data; data 2675 third_party/sqlite/src/src/shell.c main_init(&data); data 2745 third_party/sqlite/src/src/shell.c data.zDbFilename = (const char *)convertCpPathToUtf8( argv[i++] ); data 2747 third_party/sqlite/src/src/shell.c data.zDbFilename = argv[i++]; data 2751 third_party/sqlite/src/src/shell.c data.zDbFilename = ":memory:"; data 2753 third_party/sqlite/src/src/shell.c data.zDbFilename = 0; data 2764 third_party/sqlite/src/src/shell.c data.out = stdout; data 2767 third_party/sqlite/src/src/shell.c if( data.zDbFilename==0 ){ data 2778 third_party/sqlite/src/src/shell.c if( access(data.zDbFilename, 0)==0 ){ data 2779 third_party/sqlite/src/src/shell.c open_db(&data); data 2786 third_party/sqlite/src/src/shell.c rc = process_sqliterc(&data,zInitFile); data 2802 third_party/sqlite/src/src/shell.c data.mode = MODE_Html; data 2804 third_party/sqlite/src/src/shell.c data.mode = MODE_List; data 2806 third_party/sqlite/src/src/shell.c data.mode = MODE_Line; data 2808 third_party/sqlite/src/src/shell.c data.mode = MODE_Column; data 2810 third_party/sqlite/src/src/shell.c data.mode = MODE_Csv; data 2811 third_party/sqlite/src/src/shell.c memcpy(data.separator,",",2); data 2819 third_party/sqlite/src/src/shell.c sqlite3_snprintf(sizeof(data.separator), data.separator, data 2820 third_party/sqlite/src/src/shell.c "%.*s",(int)sizeof(data.separator)-1,argv[i]); data 2828 third_party/sqlite/src/src/shell.c sqlite3_snprintf(sizeof(data.nullvalue), data.nullvalue, data 2829 third_party/sqlite/src/src/shell.c "%.*s",(int)sizeof(data.nullvalue)-1,argv[i]); data 2831 third_party/sqlite/src/src/shell.c data.showHeader = 1; data 2833 third_party/sqlite/src/src/shell.c data.showHeader = 0; data 2835 third_party/sqlite/src/src/shell.c data.echoOn = 1; data 2837 third_party/sqlite/src/src/shell.c data.statsOn = 1; data 2866 third_party/sqlite/src/src/shell.c rc = do_meta_command(zFirstCmd, &data); data 2868 third_party/sqlite/src/src/shell.c open_db(&data); data 2869 third_party/sqlite/src/src/shell.c rc = shell_exec(data.db, zFirstCmd, shell_callback, &data, &zErrMsg); data 2901 third_party/sqlite/src/src/shell.c rc = process_input(&data, 0); data 2909 third_party/sqlite/src/src/shell.c rc = process_input(&data, stdin); data 2912 third_party/sqlite/src/src/shell.c set_table_name(&data, 0); data 2913 third_party/sqlite/src/src/shell.c if( data.db ){ data 2914 third_party/sqlite/src/src/shell.c sqlite3_close(data.db); data 807 third_party/sqlite/src/src/tclsqlite.c u8 *data; data 813 third_party/sqlite/src/src/tclsqlite.c data = Tcl_GetByteArrayFromObj(pVar, &n); data 814 third_party/sqlite/src/src/tclsqlite.c sqlite3_result_blob(context, data, n, SQLITE_TRANSIENT); data 828 third_party/sqlite/src/src/tclsqlite.c data = (unsigned char *)Tcl_GetStringFromObj(pVar, &n); data 829 third_party/sqlite/src/src/tclsqlite.c sqlite3_result_text(context, (char *)data, n, SQLITE_TRANSIENT); data 993 third_party/sqlite/src/src/tclsqlite.c ClientData data[], /* data[0] is the Sqlite3Db* for $db */ data 1003 third_party/sqlite/src/src/tclsqlite.c SqliteDb *pDb = (SqliteDb*)data[0]; data 1142 third_party/sqlite/src/src/tclsqlite.c u8 *data; data 1150 third_party/sqlite/src/src/tclsqlite.c data = Tcl_GetByteArrayFromObj(pVar, &n); data 1151 third_party/sqlite/src/src/tclsqlite.c sqlite3_bind_blob(pStmt, i, data, n, SQLITE_STATIC); data 1167 third_party/sqlite/src/src/tclsqlite.c data = (unsigned char *)Tcl_GetStringFromObj(pVar, &n); data 1168 third_party/sqlite/src/src/tclsqlite.c sqlite3_bind_text(pStmt, i, (char *)data, n, SQLITE_STATIC); data 1497 third_party/sqlite/src/src/tclsqlite.c ClientData data[], /* data[0] is the (DbEvalContext*) */ data 1507 third_party/sqlite/src/src/tclsqlite.c DbEvalContext *p = (DbEvalContext *)data[0]; data 1508 third_party/sqlite/src/src/tclsqlite.c Tcl_Obj *pScript = (Tcl_Obj *)data[1]; data 3124 third_party/sqlite/src/src/tclsqlite.c #define MD5STEP(f, w, x, y, z, data, s) \ data 3125 third_party/sqlite/src/src/tclsqlite.c ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x ) data 143 third_party/sqlite/src/test/threadtest3.c #define MD5STEP(f, w, x, y, z, data, s) \ data 144 third_party/sqlite/src/test/threadtest3.c ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x ) data 4311 third_party/sqlite/src/tool/lemon.c const char *data; /* The data */ data 4340 third_party/sqlite/src/tool/lemon.c int Strsafe_insert(const char *data) data 4347 third_party/sqlite/src/tool/lemon.c ph = strhash(data); data 4351 third_party/sqlite/src/tool/lemon.c if( strcmp(np->data,data)==0 ){ data 4372 third_party/sqlite/src/tool/lemon.c h = strhash(oldnp->data) & (size-1); data 4376 third_party/sqlite/src/tool/lemon.c newnp->data = oldnp->data; data 4386 third_party/sqlite/src/tool/lemon.c np->data = data; data 4405 third_party/sqlite/src/tool/lemon.c if( strcmp(np->data,key)==0 ) break; data 4408 third_party/sqlite/src/tool/lemon.c return np ? np->data : 0; data 4476 third_party/sqlite/src/tool/lemon.c struct symbol *data; /* The data */ data 4506 third_party/sqlite/src/tool/lemon.c int Symbol_insert(struct symbol *data, const char *key) data 4543 third_party/sqlite/src/tool/lemon.c newnp->data = oldnp->data; data 4554 third_party/sqlite/src/tool/lemon.c np->data = data; data 4576 third_party/sqlite/src/tool/lemon.c return np ? np->data : 0; data 4582 third_party/sqlite/src/tool/lemon.c struct symbol *data; data 4584 third_party/sqlite/src/tool/lemon.c data = x2a->tbl[n-1].data; data 4586 third_party/sqlite/src/tool/lemon.c data = 0; data 4588 third_party/sqlite/src/tool/lemon.c return data; data 4608 third_party/sqlite/src/tool/lemon.c for(i=0; i<size; i++) array[i] = x2a->tbl[i].data; data 4675 third_party/sqlite/src/tool/lemon.c struct state *data; /* The data */ data 4705 third_party/sqlite/src/tool/lemon.c int State_insert(struct state *data, struct config *key) data 4742 third_party/sqlite/src/tool/lemon.c newnp->data = oldnp->data; data 4753 third_party/sqlite/src/tool/lemon.c np->data = data; data 4775 third_party/sqlite/src/tool/lemon.c return np ? np->data : 0; data 4789 third_party/sqlite/src/tool/lemon.c for(i=0; i<size; i++) array[i] = x3a->tbl[i].data; data 4818 third_party/sqlite/src/tool/lemon.c struct config *data; /* The data */ data 4847 third_party/sqlite/src/tool/lemon.c int Configtable_insert(struct config *data) data 4854 third_party/sqlite/src/tool/lemon.c ph = confighash(data); data 4858 third_party/sqlite/src/tool/lemon.c if( Configcmp((const char *) np->data,(const char *) data)==0 ){ data 4879 third_party/sqlite/src/tool/lemon.c h = confighash(oldnp->data) & (size-1); data 4883 third_party/sqlite/src/tool/lemon.c newnp->data = oldnp->data; data 4893 third_party/sqlite/src/tool/lemon.c np->data = data; data 4912 third_party/sqlite/src/tool/lemon.c if( Configcmp((const char *) np->data,(const char *) key)==0 ) break; data 4915 third_party/sqlite/src/tool/lemon.c return np ? np->data : 0; data 4924 third_party/sqlite/src/tool/lemon.c if( f ) for(i=0; i<x4a->count; i++) (*f)(x4a->tbl[i].data); data 196 third_party/tcmalloc/chromium/src/base/linuxthreads.cc static void SignalHandler(int signum, siginfo_t *si, void *data) { data 442 third_party/tcmalloc/chromium/src/base/sysinfo.cc DWORD data, data_size = sizeof(data); data 447 third_party/tcmalloc/chromium/src/base/sysinfo.cc "~MHz", NULL, &data, &data_size))) data 448 third_party/tcmalloc/chromium/src/base/sysinfo.cc cpuinfo_cycles_per_second = (int64)data * (int64)(1000 * 1000); // was mhz data 126 third_party/tcmalloc/chromium/src/gperftools/heap-profiler.h typedef void (*AddressVisitor)(void* data, const void* ptr); data 132 third_party/tcmalloc/chromium/src/gperftools/heap-profiler.h void* data); data 285 third_party/tcmalloc/chromium/src/heap-profile-table.cc void* data) { data 286 third_party/tcmalloc/chromium/src/heap-profile-table.cc const AllocationAddressIteratorArgs args(f, data); data 533 third_party/tcmalloc/chromium/src/heap-profile-table.cc args.callback(args.data, ptr); data 167 third_party/tcmalloc/chromium/src/heap-profile-table.h typedef void (*AddressIterator)(void* data, const void* ptr); data 170 third_party/tcmalloc/chromium/src/heap-profile-table.h void IterateAllocationAddresses(AddressIterator, void* data); data 346 third_party/tcmalloc/chromium/src/heap-profile-table.h data(data_arg) { data 350 third_party/tcmalloc/chromium/src/heap-profile-table.h void* data; data 570 third_party/tcmalloc/chromium/src/heap-profiler.cc extern "C" void IterateAllocatedObjects(AddressVisitor visitor, void* data) { data 575 third_party/tcmalloc/chromium/src/heap-profiler.cc heap_profile->IterateAllocationAddresses(visitor, data); data 261 third_party/tcmalloc/chromium/src/malloc_hook.cc AtomicWord data = base::subtle::Acquire_Load(&priv_data[i]); data 262 third_party/tcmalloc/chromium/src/malloc_hook.cc if (data != 0) { data 263 third_party/tcmalloc/chromium/src/malloc_hook.cc *output_array++ = bit_cast<T>(data); data 224 third_party/tcmalloc/chromium/src/memfs_malloc.cc memcpy(path, FLAGS_memfs_malloc_path.data(), pathlen); data 60 third_party/tcmalloc/chromium/src/tests/profiledata_unittest.cc scoped_array(T* data) : data_(data) { } data 60 third_party/tcmalloc/chromium/src/tests/sampling_test.cc fwrite(s.data(), 1, s.length(), fp); data 196 third_party/tcmalloc/vendor/src/base/linuxthreads.cc static void SignalHandler(int signum, siginfo_t *si, void *data) { data 427 third_party/tcmalloc/vendor/src/base/sysinfo.cc DWORD data, data_size = sizeof(data); data 432 third_party/tcmalloc/vendor/src/base/sysinfo.cc "~MHz", NULL, &data, &data_size))) data 433 third_party/tcmalloc/vendor/src/base/sysinfo.cc cpuinfo_cycles_per_second = (int64)data * (int64)(1000 * 1000); // was mhz data 261 third_party/tcmalloc/vendor/src/malloc_hook.cc AtomicWord data = base::subtle::Acquire_Load(&priv_data[i]); data 262 third_party/tcmalloc/vendor/src/malloc_hook.cc if (data != 0) { data 263 third_party/tcmalloc/vendor/src/malloc_hook.cc *output_array++ = bit_cast<T>(data); data 224 third_party/tcmalloc/vendor/src/memfs_malloc.cc memcpy(path, FLAGS_memfs_malloc_path.data(), pathlen); data 60 third_party/tcmalloc/vendor/src/tests/profiledata_unittest.cc scoped_array(T* data) : data_(data) { } data 60 third_party/tcmalloc/vendor/src/tests/sampling_test.cc fwrite(s.data(), 1, s.length(), fp); data 228 third_party/wtl/include/atlddx.h _XData data = { ddxDataText }; data 229 third_party/wtl/include/atlddx.h data.textData.nLength = lstrlen(lpstrText); data 230 third_party/wtl/include/atlddx.h data.textData.nMaxLength = nLength; data 231 third_party/wtl/include/atlddx.h pT->OnDataValidateError(nID, bSave, data); data 264 third_party/wtl/include/atlddx.h _XData data = { ddxDataText }; data 265 third_party/wtl/include/atlddx.h data.textData.nLength = (int)::SysStringLen(bstrText); data 266 third_party/wtl/include/atlddx.h data.textData.nMaxLength = nLength; data 267 third_party/wtl/include/atlddx.h pT->OnDataValidateError(nID, bSave, data); data 300 third_party/wtl/include/atlddx.h _XData data = { ddxDataText }; data 301 third_party/wtl/include/atlddx.h data.textData.nLength = (int)bstrText.Length(); data 302 third_party/wtl/include/atlddx.h data.textData.nMaxLength = nLength; data 303 third_party/wtl/include/atlddx.h pT->OnDataValidateError(nID, bSave, data); data 344 third_party/wtl/include/atlddx.h _XData data = { ddxDataText }; data 345 third_party/wtl/include/atlddx.h data.textData.nLength = strText.GetLength(); data 346 third_party/wtl/include/atlddx.h data.textData.nMaxLength = nLength; data 347 third_party/wtl/include/atlddx.h pT->OnDataValidateError(nID, bSave, data); data 381 third_party/wtl/include/atlddx.h _XData data = { ddxDataInt }; data 382 third_party/wtl/include/atlddx.h data.intData.nVal = (long)nVal; data 383 third_party/wtl/include/atlddx.h data.intData.nMin = (long)nMin; data 384 third_party/wtl/include/atlddx.h data.intData.nMax = (long)nMax; data 385 third_party/wtl/include/atlddx.h pT->OnDataValidateError(nID, bSave, data); data 445 third_party/wtl/include/atlddx.h _XData data = { ddxDataFloat }; data 446 third_party/wtl/include/atlddx.h data.floatData.nVal = (double)nVal; data 447 third_party/wtl/include/atlddx.h data.floatData.nMin = (double)nMin; data 448 third_party/wtl/include/atlddx.h data.floatData.nMax = (double)nMax; data 449 third_party/wtl/include/atlddx.h pT->OnDataValidateError(nID, bSave, data); data 488 third_party/wtl/include/atlddx.h _XData data = { ddxDataFloat }; data 489 third_party/wtl/include/atlddx.h data.floatData.nVal = nVal; data 490 third_party/wtl/include/atlddx.h data.floatData.nMin = nMin; data 491 third_party/wtl/include/atlddx.h data.floatData.nMax = nMax; data 492 third_party/wtl/include/atlddx.h pT->OnDataValidateError(nID, bSave, data); data 2811 third_party/wtl/include/atlframe.h _AtlUpdateUIData data = { 0, NULL }; data 2812 third_party/wtl/include/atlframe.h bRet = m_arrUIData.Add(data); data 3092 third_party/wtl/include/atlframe.h _AtlDlgResizeData data = { ATL_IDW_STATUS_BAR, DLSZ_MOVE_X | DLSZ_MOVE_Y | DLSZ_REPAINT | _DLSZ_GRIPPER, { rectCtl.left, rectCtl.top, rectCtl.right, rectCtl.bottom } }; data 3093 third_party/wtl/include/atlframe.h m_arrData.Add(data); data 3159 third_party/wtl/include/atlframe.h _AtlDlgResizeData data = { pMap->m_nCtlID, pMap->m_dwResizeFlags | dwGroupFlag, { rectCtl.left, rectCtl.top, rectCtl.right, rectCtl.bottom } }; data 3160 third_party/wtl/include/atlframe.h m_arrData.Add(data); data 3266 third_party/wtl/include/atlframe.h bool DlgResize_PositionControl(int cxWidth, int cyHeight, RECT& rectGroup, _AtlDlgResizeData& data, bool bGroup, data 3274 third_party/wtl/include/atlframe.h ctl = pT->GetDlgItem(data.m_nCtlID); data 3281 third_party/wtl/include/atlframe.h if((data.m_dwResizeFlags & DLSZ_CENTER_X) != 0) data 3284 third_party/wtl/include/atlframe.h int cxCtl = data.m_rect.right - data.m_rect.left; data 3288 third_party/wtl/include/atlframe.h else if((data.m_dwResizeFlags & (DLSZ_SIZE_X | DLSZ_MOVE_X)) != 0) data 3290 third_party/wtl/include/atlframe.h rectCtl.left = rectGroup.left + ::MulDiv(data.m_rect.left - rectGroup.left, rectGroup.right - rectGroup.left + (cxWidth - m_sizeDialog.cx), rectGroup.right - rectGroup.left); data 3292 third_party/wtl/include/atlframe.h if((data.m_dwResizeFlags & DLSZ_SIZE_X) != 0) data 3294 third_party/wtl/include/atlframe.h rectCtl.right = rectGroup.left + ::MulDiv(data.m_rect.right - rectGroup.left, rectGroup.right - rectGroup.left + (cxWidth - m_sizeDialog.cx), rectGroup.right - rectGroup.left); data 3302 third_party/wtl/include/atlframe.h int dxAdjust = (rectCtl.left - rcPrev.right) - (data.m_rect.left - pDataPrev->m_rect.right); data 3309 third_party/wtl/include/atlframe.h rectCtl.right = rectCtl.left + (data.m_rect.right - data.m_rect.left); data 3313 third_party/wtl/include/atlframe.h if((data.m_dwResizeFlags & DLSZ_CENTER_Y) != 0) data 3316 third_party/wtl/include/atlframe.h int cyCtl = data.m_rect.bottom - data.m_rect.top; data 3320 third_party/wtl/include/atlframe.h else if((data.m_dwResizeFlags & (DLSZ_SIZE_Y | DLSZ_MOVE_Y)) != 0) data 3322 third_party/wtl/include/atlframe.h rectCtl.top = rectGroup.top + ::MulDiv(data.m_rect.top - rectGroup.top, rectGroup.bottom - rectGroup.top + (cyHeight - m_sizeDialog.cy), rectGroup.bottom - rectGroup.top); data 3324 third_party/wtl/include/atlframe.h if((data.m_dwResizeFlags & DLSZ_SIZE_Y) != 0) data 3326 third_party/wtl/include/atlframe.h rectCtl.bottom = rectGroup.top + ::MulDiv(data.m_rect.bottom - rectGroup.top, rectGroup.bottom - rectGroup.top + (cyHeight - m_sizeDialog.cy), rectGroup.bottom - rectGroup.top); data 3334 third_party/wtl/include/atlframe.h int dxAdjust = (rectCtl.top - rcPrev.bottom) - (data.m_rect.top - pDataPrev->m_rect.bottom); data 3341 third_party/wtl/include/atlframe.h rectCtl.bottom = rectCtl.top + (data.m_rect.bottom - data.m_rect.top); data 3347 third_party/wtl/include/atlframe.h if((data.m_dwResizeFlags & DLSZ_CENTER_X) != 0) data 3349 third_party/wtl/include/atlframe.h int cxCtl = data.m_rect.right - data.m_rect.left; data 3353 third_party/wtl/include/atlframe.h else if((data.m_dwResizeFlags & (DLSZ_SIZE_X | DLSZ_MOVE_X)) != 0) data 3355 third_party/wtl/include/atlframe.h rectCtl.right = data.m_rect.right + (cxWidth - m_sizeDialog.cx); data 3357 third_party/wtl/include/atlframe.h if((data.m_dwResizeFlags & DLSZ_MOVE_X) != 0) data 3358 third_party/wtl/include/atlframe.h rectCtl.left = rectCtl.right - (data.m_rect.right - data.m_rect.left); data 3361 third_party/wtl/include/atlframe.h if((data.m_dwResizeFlags & DLSZ_CENTER_Y) != 0) data 3363 third_party/wtl/include/atlframe.h int cyCtl = data.m_rect.bottom - data.m_rect.top; data 3367 third_party/wtl/include/atlframe.h else if((data.m_dwResizeFlags & (DLSZ_SIZE_Y | DLSZ_MOVE_Y)) != 0) data 3369 third_party/wtl/include/atlframe.h rectCtl.bottom = data.m_rect.bottom + (cyHeight - m_sizeDialog.cy); data 3371 third_party/wtl/include/atlframe.h if((data.m_dwResizeFlags & DLSZ_MOVE_Y) != 0) data 3372 third_party/wtl/include/atlframe.h rectCtl.top = rectCtl.bottom - (data.m_rect.bottom - data.m_rect.top); data 3376 third_party/wtl/include/atlframe.h if((data.m_dwResizeFlags & DLSZ_REPAINT) != 0) data 3379 third_party/wtl/include/atlframe.h if((data.m_dwResizeFlags & (DLSZ_SIZE_X | DLSZ_SIZE_Y | DLSZ_MOVE_X | DLSZ_MOVE_Y | DLSZ_REPAINT | DLSZ_CENTER_X | DLSZ_CENTER_Y)) != 0) data 763 third_party/wtl/include/atlmisc.h TCHAR* data() data 2131 third_party/wtl/include/atlmisc.h SecureHelper::memcpy_x(m_pchData, (nMinBufLength + 1) * sizeof(TCHAR), pOldData->data(), (nOldLen + 1) * sizeof(TCHAR)); data 2174 third_party/wtl/include/atlmisc.h SecureHelper::memcpy_x(m_pchData, (GetData()->nAllocLength + 1) * sizeof(TCHAR), pOldData->data(), pOldData->nDataLength * sizeof(TCHAR)); data 2279 third_party/wtl/include/atlmisc.h pData->data()[nLen] = _T('\0'); data 2282 third_party/wtl/include/atlmisc.h m_pchData = pData->data(); data 2375 third_party/wtl/include/atlmisc.h SecureHelper::memcpy_x(m_pchData, (GetData()->nAllocLength + 1) * sizeof(TCHAR), pData->data(), (pData->nDataLength + 1) * sizeof(TCHAR)); data 114 third_party/zlib/contrib/minizip/mztools.c char* data = malloc(dataSize); data 115 third_party/zlib/contrib/minizip/mztools.c if (data != NULL) { data 116 third_party/zlib/contrib/minizip/mztools.c if ((int)fread(data, 1, dataSize, fpZip) == dataSize) { data 117 third_party/zlib/contrib/minizip/mztools.c if ((int)fwrite(data, 1, dataSize, fpOut) == dataSize) { data 126 third_party/zlib/contrib/minizip/mztools.c free(data); data 120 third_party/zlib/contrib/minizip/zip.c unsigned char data[SIZEDATA_INDATABLOCK]; data 263 third_party/zlib/contrib/minizip/zip.c to_copy = &(ldi->data[ldi->filled_in_this_block]); data 1911 third_party/zlib/contrib/minizip/zip.c if (ZWRITE64(zi->z_filefunc,zi->filestream, ldi->data, ldi->filled_in_this_block) != ldi->filled_in_this_block) data 140 third_party/zlib/google/zip_internal.cc const char* data; // weak data 157 third_party/zlib/google/zip_internal.cc if (!buffer || !buffer->data || !buffer->length) data 169 third_party/zlib/google/zip_internal.cc if (!buffer || !buffer->data || !remaining_bytes) data 172 third_party/zlib/google/zip_internal.cc memcpy(buf, &buffer->data[buffer->offset], size); data 269 third_party/zlib/google/zip_internal.cc unzFile PreprareMemoryForUnzipping(const std::string& data) { data 270 third_party/zlib/google/zip_internal.cc if (data.empty()) data 276 third_party/zlib/google/zip_internal.cc buffer->data = data.data(); data 277 third_party/zlib/google/zip_internal.cc buffer->length = data.length(); data 44 third_party/zlib/google/zip_internal.h unzFile PreprareMemoryForUnzipping(const std::string& data); data 43 third_party/zlib/google/zip_reader.cc if (!base::UTF8ToUTF16(file_name_in_zip.data(), file_name_in_zip.size(), data 109 third_party/zlib/google/zip_reader.cc bool ZipReader::OpenFromString(const std::string& data) { data 110 third_party/zlib/google/zip_reader.cc zip_file_ = internal::PreprareMemoryForUnzipping(data); data 110 third_party/zlib/google/zip_reader.h bool OpenFromString(const std::string& data); data 452 third_party/zlib/google/zip_reader_unittest.cc std::string data(kTestData, arraysize(kTestData)); data 454 third_party/zlib/google/zip_reader_unittest.cc ASSERT_TRUE(reader.OpenFromString(data)); data 368 tools/android/forwarder2/host_forwarder_main.cc daemon_socket->WriteNumBytes(command_pickle_.data(), data 78 tools/clang/blink_gc_plugin/RecordInfo.cpp void* data) { data 30 tools/gn/command_args.cc size_t BackUpToLineBegin(const std::string& data, size_t offset) { data 33 tools/gn/command_args.cc if (offset == 0 || Tokenizer::IsNewline(data, offset)) data 39 tools/gn/command_args.cc if (Tokenizer::IsNewline(data, cur)) data 67 tools/gn/command_args.cc const std::string& data = file->contents(); data 69 tools/gn/command_args.cc Tokenizer::ByteOffsetOfNthLine(data, location.line_number()); data 73 tools/gn/command_args.cc size_t previous_line_offset = BackUpToLineBegin(data, line_off); data 75 tools/gn/command_args.cc base::StringPiece line(&data[previous_line_offset], data 18 tools/gn/err.cc std::string GetNthLine(const base::StringPiece& data, int n) { data 19 tools/gn/err.cc size_t line_off = Tokenizer::ByteOffsetOfNthLine(data, n); data 21 tools/gn/err.cc while (end < data.size() && !Tokenizer::IsNewline(data, end)) data 23 tools/gn/err.cc return data.substr(line_off, end - line_off).as_string(); data 89 tools/gn/escape.cc out.write(result->data(), result->size()); data 282 tools/gn/filesystem_utils.cc return base::StringPiece(&path->data()[extension_offset], data 298 tools/gn/filesystem_utils.cc return base::StringPiece(&(*path).data()[filename_offset], data 314 tools/gn/filesystem_utils.cc return base::StringPiece(&(*path).data()[filename_offset], name_len); data 329 tools/gn/filesystem_utils.cc return base::StringPiece(path->data(), filename_offset); data 423 tools/gn/filesystem_utils.cc dest->append(&path.data()[first_after_slash], data 439 tools/gn/filesystem_utils.cc dest->append(&path.data()[first_after_slash], data 58 tools/gn/input_file_manager.cc InputFileData* data = new InputFileData(file_name); data 59 tools/gn/input_file_manager.cc data->scheduled_callbacks.push_back(callback); data 60 tools/gn/input_file_manager.cc input_files_[file_name] = data; data 67 tools/gn/input_file_manager.cc &data->file); data 69 tools/gn/input_file_manager.cc InputFileData* data = found->second; data 72 tools/gn/input_file_manager.cc if (data->sync_invocation) { data 83 tools/gn/input_file_manager.cc if (data->loaded) { data 86 tools/gn/input_file_manager.cc data->parsed_root.get()); data 89 tools/gn/input_file_manager.cc data->scheduled_callbacks.push_back(callback); data 107 tools/gn/input_file_manager.cc InputFileData* data = NULL; data 111 tools/gn/input_file_manager.cc data = new InputFileData(file_name); data 112 tools/gn/input_file_manager.cc data->sync_invocation = true; data 113 tools/gn/input_file_manager.cc input_files_[file_name] = data; data 116 tools/gn/input_file_manager.cc if (!LoadFile(origin, build_settings, file_name, &data->file, err)) data 120 tools/gn/input_file_manager.cc data = found->second; data 122 tools/gn/input_file_manager.cc if (!data->sync_invocation) { data 147 tools/gn/input_file_manager.cc if (!data->loaded) { data 149 tools/gn/input_file_manager.cc if (!data->completion_event) data 150 tools/gn/input_file_manager.cc data->completion_event.reset(new base::WaitableEvent(false, false)); data 153 tools/gn/input_file_manager.cc data->completion_event->Wait(); data 157 tools/gn/input_file_manager.cc data->completion_event->Signal(); data 164 tools/gn/input_file_manager.cc if (!data->parsed_root) data 166 tools/gn/input_file_manager.cc return data->parsed_root.get(); data 251 tools/gn/input_file_manager.cc InputFileData* data = input_files_[name]; data 252 tools/gn/input_file_manager.cc data->loaded = true; data 253 tools/gn/input_file_manager.cc data->tokens.swap(tokens); data 254 tools/gn/input_file_manager.cc data->parsed_root = root.Pass(); data 267 tools/gn/input_file_manager.cc if (data->completion_event) data 268 tools/gn/input_file_manager.cc data->completion_event->Signal(); data 270 tools/gn/input_file_manager.cc callbacks.swap(data->scheduled_callbacks); data 62 tools/gn/label.cc result->assign(input.data(), input.size()); data 104 tools/gn/label.cc const char* input_str = input.data(); data 199 tools/gn/label.cc name_.assign(name.data(), name.size()); data 200 tools/gn/label.cc toolchain_name_.assign(toolchain_name.data(), toolchain_name.size()); data 205 tools/gn/label.cc name_.assign(name.data(), name.size()); data 452 tools/gn/ninja_binary_target_writer.cc const std::vector<SourceFile>& data = target_->data(); data 453 tools/gn/ninja_binary_target_writer.cc if (!non_linkable_deps.empty() || !data.empty()) { data 464 tools/gn/ninja_binary_target_writer.cc const std::vector<SourceFile>& data = target_->data(); data 465 tools/gn/ninja_binary_target_writer.cc for (size_t i = 0; i < data.size(); i++) { data 467 tools/gn/ninja_binary_target_writer.cc path_output_.WriteFile(out_, data[i]); data 68 tools/gn/ninja_helper.cc std::string name(filename.data(), filename.size()); data 19 tools/gn/output_file.h : value_(str.data(), str.size()) { data 75 tools/gn/path_output.cc WritePathStr(out, base::StringPiece(dir.value().data(), data 104 tools/gn/path_output.cc intermediate.append(str.data(), str.size()); data 26 tools/gn/source_dir.cc : value_(p.data(), p.size()) { data 54 tools/gn/source_dir.cc ret.value_.assign(p.data(), p.size()); data 66 tools/gn/source_dir.cc ret.value_.append(p.data(), p.size()); data 74 tools/gn/source_dir.cc ret.value_.append(p.data(), p.size()); data 89 tools/gn/source_dir.cc ret.value_.assign(p.data(), p.size()); data 101 tools/gn/source_dir.cc ret.value_.append(p.data(), p.size()); data 111 tools/gn/source_dir.cc ret.value_.append(p.data(), p.size()); data 16 tools/gn/source_file.cc : value_(p.data(), p.size()) { data 46 tools/gn/standard_out.cc size_t written_bytes = fwrite(output.data(), 1, output.size(), stdout); data 116 tools/gn/standard_out.cc WriteToStdOut(output.data()); data 112 tools/gn/string_utils.cc token, identifier.data() - token.value().data() - 1, identifier.size(), data 133 tools/gn/string_utils.cc const char* input = &literal.value().data()[1]; data 19 tools/gn/string_utils.h ret.append(b.data(), b.size()); data 26 tools/gn/string_utils.h ret.assign(a.data(), a.size()); data 48 tools/gn/string_utils.h dest->append(piece.data(), piece.size()); data 77 tools/gn/target.h const FileList& data() const { return data_; } data 78 tools/gn/target.h FileList& data() { return data_; } data 172 tools/gn/target_generator.cc target_->data().swap(dest_data); data 111 tools/gn/tokenizer.cc base::StringPiece token_value(&input_.data()[token_begin], data 291 tools/gn/trace.cc base::WriteFile(file_name, out_str.data(), data 37 tools/gtk_clipboard_dump/gtk_clipboard_dump.cc GtkSelectionData* data = gtk_clipboard_wait_for_contents(clip, targets[i]); data 38 tools/gtk_clipboard_dump/gtk_clipboard_dump.cc if (!data) { data 43 tools/gtk_clipboard_dump/gtk_clipboard_dump.cc printf(" / length: %d / bits %d]: ", data->length, data->format); data 51 tools/gtk_clipboard_dump/gtk_clipboard_dump.cc for (int j = 0; j < data->length; j++) { data 54 tools/gtk_clipboard_dump/gtk_clipboard_dump.cc printf("%c", (data->data[j] == 0 ? '_' : data->data[j])); data 58 tools/gtk_clipboard_dump/gtk_clipboard_dump.cc gtk_selection_data_free(data); data 385 tools/imagediff/image_diff.cc diff_image.data(), diff_image.w(), diff_image.h(), data 372 tools/imagediff/image_diff_png.cc void EncoderWriteCallback(png_structp png, png_bytep data, png_size_t size) { data 378 tools/imagediff/image_diff_png.cc memcpy(&(*state->out)[old_size], data, size); data 76 tools/ipc_fuzzer/message_lib/message_file_reader.cc *object = reinterpret_cast<const T*>(file_data_.data()); data 102 tools/ipc_fuzzer/message_lib/message_file_reader.cc const char* data = reinterpret_cast<const char*>(mapped_file_.data()); data 103 tools/ipc_fuzzer/message_lib/message_file_reader.cc file_data_.set(data, mapped_file_.length()); data 164 tools/ipc_fuzzer/message_lib/message_file_reader.cc name_map_.Add(entry->type, std::string(string_table_.data() + offset)); data 106 tools/ipc_fuzzer/message_lib/message_file_writer.cc if (!WriteBlob(message->data(), message->size())) data 63 tools/ipc_fuzzer/mutate/generate.cc virtual void GenerateData(char* data, int length) = 0; data 64 tools/ipc_fuzzer/mutate/generate.cc virtual void GenerateBytes(void* data, int data_len) = 0; data 159 tools/ipc_fuzzer/mutate/generate.cc virtual void GenerateData(char* data, int length) OVERRIDE { data 161 tools/ipc_fuzzer/mutate/generate.cc GenerateIntegralType<char>(&data[i]); data 165 tools/ipc_fuzzer/mutate/generate.cc virtual void GenerateBytes(void* data, int data_len) OVERRIDE { data 166 tools/ipc_fuzzer/mutate/generate.cc GenerateData(static_cast<char*>(data), data_len); data 1087 tools/ipc_fuzzer/mutate/generate.cc p->size = RandInRange(sizeof(p->data) + 1); data 1088 tools/ipc_fuzzer/mutate/generate.cc generator->GenerateBytes(&p->data, p->size); data 59 tools/ipc_fuzzer/mutate/mutate.cc virtual void FuzzData(char* data, int length) = 0; data 60 tools/ipc_fuzzer/mutate/mutate.cc virtual void FuzzBytes(void* data, int data_len) = 0; data 154 tools/ipc_fuzzer/mutate/mutate.cc virtual void FuzzData(char* data, int length) OVERRIDE { data 157 tools/ipc_fuzzer/mutate/mutate.cc FuzzIntegralType<char>(&data[i], frequency_); data 162 tools/ipc_fuzzer/mutate/mutate.cc virtual void FuzzBytes(void* data, int data_len) OVERRIDE { data 163 tools/ipc_fuzzer/mutate/mutate.cc FuzzData(static_cast<char*>(data), data_len); data 191 tools/ipc_fuzzer/mutate/mutate.cc virtual void FuzzData(char* data, int length) OVERRIDE {} data 192 tools/ipc_fuzzer/mutate/mutate.cc virtual void FuzzBytes(void* data, int data_len) OVERRIDE {} data 257 tools/json_schema_compiler/test/error_generation_unittest.cc EXPECT_EQ(NULL, out.data.get()); data 24 tools/telemetry/telemetry/core/bitmaptools.cc void WriteResponse(void* data, int size) { data 26 tools/telemetry/telemetry/core/bitmaptools.cc fwrite(data, size, 1, stdout); data 120 tools/telemetry/telemetry/core/bitmaptools.cc data = pixels + box.top * row_stride + box.left * pixel_stride; data 128 tools/telemetry/telemetry/core/bitmaptools.cc for (const unsigned char* row = data; data 129 tools/telemetry/telemetry/core/bitmaptools.cc row < data + total_size; data 142 tools/telemetry/telemetry/core/bitmaptools.cc const unsigned char* data; data 180 tools/telemetry/telemetry/core/bitmaptools.cc for (const unsigned char* row = bmp.data; row < bmp.data + bmp.total_size; data 214 tools/telemetry/telemetry/core/bitmaptools.cc for (const unsigned char* row = bmp.data; row < bmp.data + bmp.total_size; data 197 tools/traceline/traceline/assembler.h char* data() { return buf_; } data 316 tools/traceline/traceline/assembler.h void* data() { return buf_; } data 337 tools/traceline/traceline/assembler.h emit_bytes(bytes.data(), bytes.size()); data 347 tools/traceline/traceline/assembler.h memcpy(&buf_[pos_], operand.data(), operand.length()); data 201 tools/win/split_link/split_link.cc unsigned char* data = SlurpFile(rsp_path, &length); data 203 tools/win/split_link/split_link.cc if (data[0] == 0xff && data[1] == 0xfe) { data 205 tools/win/split_link/split_link.cc wstring wide(reinterpret_cast<wchar_t*>(&data[2]), data 209 tools/win/split_link/split_link.cc string narrow(reinterpret_cast<char*>(data), length); data 212 tools/win/split_link/split_link.cc free(data); data 25 ui/accessibility/ax_node.h const AXNodeData& data() const { return data_; } data 61 ui/accessibility/ax_serializable_tree.cc *out_data = node->data(); data 21 ui/accessibility/ax_tree.cc result += node->data().ToString() + "\n"; data 87 ui/accessibility/ax_tree_unittest.cc EXPECT_EQ(root.role, root_node->data().role); data 93 ui/accessibility/ax_tree_unittest.cc EXPECT_EQ(button.role, button_node->data().role); data 97 ui/accessibility/ax_tree_unittest.cc EXPECT_EQ(checkbox.role, checkbox_node->data().role); data 184 ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java private float getDesiredWidth(ArrayList<AutofillSuggestion> data) { data 197 ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java for (int i = 0; i < data.size(); ++i) { data 199 ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java String label = data.get(i).mLabel; data 206 ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java String sublabel = data.get(i).mSublabel; data 84 ui/android/java/src/org/chromium/ui/base/ActivityWindowAndroid.java public boolean onActivityResult(int requestCode, int resultCode, Intent data) { data 91 ui/android/java/src/org/chromium/ui/base/ActivityWindowAndroid.java mApplicationContext.getContentResolver(), data); data 214 ui/android/java/src/org/chromium/ui/base/WindowAndroid.java public boolean onActivityResult(int requestCode, int resultCode, Intent data) { data 230 ui/android/java/src/org/chromium/ui/base/WindowAndroid.java ContentResolver contentResolver, Intent data); data 232 ui/app_list/views/apps_grid_view.cc ui::OSExchangeData data; data 233 ui/app_list/views/apps_grid_view.cc SetupExchangeData(&data); data 242 ui/app_list/views/apps_grid_view.cc DoDragDrop(ui::OSExchangeDataProviderWin::GetIDataObject(data), data 273 ui/app_list/views/apps_grid_view.cc void SetupExchangeData(ui::OSExchangeData* data) { data 274 ui/app_list/views/apps_grid_view.cc data->SetFilename(shortcut_path_); data 281 ui/app_list/views/apps_grid_view.cc data); data 796 ui/app_list/views/apps_grid_view.cc bool AppsGridView::CanDrop(const OSExchangeData& data) { data 144 ui/app_list/views/apps_grid_view.h virtual bool CanDrop(const OSExchangeData& data) OVERRIDE; data 71 ui/aura/window_tree_host_x11.cc target = static_cast<XIDeviceEvent*>(xev->xcookie.data)->event; data 218 ui/aura/window_tree_host_x11.cc XIDeviceEvent* xievent = static_cast<XIDeviceEvent*>(event->xcookie.data); data 430 ui/aura/window_tree_host_x11.cc Atom message_type = static_cast<Atom>(xev->xclient.data.l[0]); data 891 ui/aura/window_tree_host_x11.cc unsigned char* data; data 894 ui/aura/window_tree_host_x11.cc &old_nvalues, &bytes, &data); data 897 ui/aura/window_tree_host_x11.cc XFree(data); data 3188 ui/aura/window_unittest.cc } data[] = { data 3259 ui/aura/window_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(data); ++i) { data 3266 ui/aura/window_unittest.cc data[i].initial_description, data 3268 ui/aura/window_unittest.cc aura::Window* source = FindWindowByName(&root, data[i].source_window); data 3270 ui/aura/window_unittest.cc << data[i].source_window << " at " << i; data 3271 ui/aura/window_unittest.cc aura::Window* target = FindWindowByName(&root, data[i].target_window); data 3272 ui/aura/window_unittest.cc switch (data[i].stack_type) { data 3275 ui/aura/window_unittest.cc << data[i].target_window << " at " << i; data 3280 ui/aura/window_unittest.cc << data[i].target_window << " at " << i; data 3290 ui/aura/window_unittest.cc EXPECT_EQ(data[i].expected_layer_description, data 3293 ui/aura/window_unittest.cc EXPECT_EQ(data[i].expected_description, data 127 ui/base/clipboard/clipboard.h const std::string& data() const { return data_; } data 140 ui/base/clipboard/clipboard.h const std::string& data() const { return data_; } data 365 ui/base/clipboard/clipboard.h static void FreeData(unsigned int format, HANDLE data); data 390 ui/base/clipboard/clipboard.h void InsertMapping(const char* key, char* data, size_t data_len); data 53 ui/base/clipboard/clipboard_android.cc void Set(const std::string& format, const std::string& data); data 93 ui/base/clipboard/clipboard_android.cc void ClipboardMap::Set(const std::string& format, const std::string& data) { data 98 ui/base/clipboard/clipboard_android.cc map_[format] = data; data 100 ui/base/clipboard/clipboard_android.cc ScopedJavaLocalRef<jstring> str = ConvertUTF8ToJavaString(env, data); data 113 ui/base/clipboard/clipboard_android.cc ScopedJavaLocalRef<jstring> html = ConvertUTF8ToJavaString(env, data); data 236 ui/base/clipboard/clipboard_android.cc return g_map.Get().HasFormat(format.data()); data 307 ui/base/clipboard/clipboard_android.cc const gfx::Size* size = reinterpret_cast<const gfx::Size*>(input.data()); data 314 ui/base/clipboard/clipboard_android.cc memcpy(bmp.getPixels(), input.data() + sizeof(gfx::Size), bmp.getSize()); data 334 ui/base/clipboard/clipboard_android.cc *result = g_map.Get().Get(format.data()); data 435 ui/base/clipboard/clipboard_android.cc g_map.Get().Set(format.data(), std::string(data_data, data_len)); data 199 ui/base/clipboard/clipboard_aura.cc const ClipboardData* data = GetData(); data 200 ui/base/clipboard/clipboard_aura.cc if (!data) data 203 ui/base/clipboard/clipboard_aura.cc *result = data->text(); data 205 ui/base/clipboard/clipboard_aura.cc *result = data->markup_data(); data 207 ui/base/clipboard/clipboard_aura.cc *result = data->bookmark_url(); data 224 ui/base/clipboard/clipboard_aura.cc const ClipboardData* data = GetData(); data 225 ui/base/clipboard/clipboard_aura.cc *markup = base::UTF8ToUTF16(data->markup_data()); data 226 ui/base/clipboard/clipboard_aura.cc *src_url = data->url(); data 236 ui/base/clipboard/clipboard_aura.cc const ClipboardData* data = GetData(); data 240 ui/base/clipboard/clipboard_aura.cc *result = data->rtf_data(); data 259 ui/base/clipboard/clipboard_aura.cc const ClipboardData* data = GetData(); data 263 ui/base/clipboard/clipboard_aura.cc ui::ReadCustomDataForType(data->custom_data_data().c_str(), data 264 ui/base/clipboard/clipboard_aura.cc data->custom_data_data().size(), data 275 ui/base/clipboard/clipboard_aura.cc const ClipboardData* data = GetData(); data 276 ui/base/clipboard/clipboard_aura.cc *title = base::UTF8ToUTF16(data->bookmark_title()); data 277 ui/base/clipboard/clipboard_aura.cc *url = data->bookmark_url(); data 282 ui/base/clipboard/clipboard_aura.cc const ClipboardData* data = GetData(); data 283 ui/base/clipboard/clipboard_aura.cc if (!HasFormat(CUSTOM) || type != data->custom_data_format()) data 286 ui/base/clipboard/clipboard_aura.cc *result = data->custom_data_data(); data 290 ui/base/clipboard/clipboard_aura.cc void WriteData(ClipboardData* data) { data 291 ui/base/clipboard/clipboard_aura.cc DCHECK(data); data 292 ui/base/clipboard/clipboard_aura.cc AddToListEnsuringSize(data); data 298 ui/base/clipboard/clipboard_aura.cc const ClipboardData* data = GetData(); data 299 ui/base/clipboard/clipboard_aura.cc if (!data) data 302 ui/base/clipboard/clipboard_aura.cc return data->format() & format; data 305 ui/base/clipboard/clipboard_aura.cc void AddToListEnsuringSize(ClipboardData* data) { data 306 ui/base/clipboard/clipboard_aura.cc DCHECK(data); data 308 ui/base/clipboard/clipboard_aura.cc data_list_.push_front(data); data 351 ui/base/clipboard/clipboard_aura.cc ClipboardData* data = GetCurrentData(); data 352 ui/base/clipboard/clipboard_aura.cc data->set_text(std::string(text_data, text_len)); data 359 ui/base/clipboard/clipboard_aura.cc ClipboardData* data = GetCurrentData(); data 360 ui/base/clipboard/clipboard_aura.cc data->set_markup_data(std::string(markup_data, markup_len)); data 361 ui/base/clipboard/clipboard_aura.cc data->set_url(std::string(url_data, url_len)); data 365 ui/base/clipboard/clipboard_aura.cc ClipboardData* data = GetCurrentData(); data 366 ui/base/clipboard/clipboard_aura.cc data->SetRTFData(std::string(rtf_data, rtf_len)); data 373 ui/base/clipboard/clipboard_aura.cc ClipboardData* data = GetCurrentData(); data 374 ui/base/clipboard/clipboard_aura.cc data->set_bookmark_title(std::string(title_data, title_len)); data 375 ui/base/clipboard/clipboard_aura.cc data->set_bookmark_url(std::string(url_data, url_len)); data 379 ui/base/clipboard/clipboard_aura.cc ClipboardData* data = GetCurrentData(); data 380 ui/base/clipboard/clipboard_aura.cc data->set_web_smart_paste(true); data 384 ui/base/clipboard/clipboard_aura.cc ClipboardData* data = GetCurrentData(); data 385 ui/base/clipboard/clipboard_aura.cc data->SetBitmapData(bitmap); data 391 ui/base/clipboard/clipboard_aura.cc ClipboardData* data = GetCurrentData(); data 392 ui/base/clipboard/clipboard_aura.cc data->SetCustomData(format, std::string(data_data, data_len)); data 475 ui/base/clipboard/clipboard_aura.cc const ClipboardData* data = clipboard->GetData(); data 476 ui/base/clipboard/clipboard_aura.cc if (data && data->custom_data_format() == format.ToString()) data 428 ui/base/clipboard/clipboard_aurax11.cc scoped_refptr<base::RefCountedMemory> data; data 434 ui/base/clipboard/clipboard_aurax11.cc &data, data 440 ui/base/clipboard/clipboard_aurax11.cc reinterpret_cast<const ::Atom*>(data->front()); data 604 ui/base/clipboard/clipboard_aurax11.cc SelectionData data(aurax11_details_->RequestAndWaitForTypes( data 606 ui/base/clipboard/clipboard_aurax11.cc if (data.IsValid()) data 607 ui/base/clipboard/clipboard_aurax11.cc ReadCustomDataTypes(data.GetData(), data.GetSize(), types); data 613 ui/base/clipboard/clipboard_aurax11.cc SelectionData data(aurax11_details_->RequestAndWaitForTypes( data 615 ui/base/clipboard/clipboard_aurax11.cc if (data.IsValid()) { data 616 ui/base/clipboard/clipboard_aurax11.cc std::string text = data.GetText(); data 624 ui/base/clipboard/clipboard_aurax11.cc SelectionData data(aurax11_details_->RequestAndWaitForTypes( data 626 ui/base/clipboard/clipboard_aurax11.cc if (data.IsValid()) data 627 ui/base/clipboard/clipboard_aurax11.cc result->assign(data.GetText()); data 644 ui/base/clipboard/clipboard_aurax11.cc SelectionData data(aurax11_details_->RequestAndWaitForTypes( data 646 ui/base/clipboard/clipboard_aurax11.cc if (data.IsValid()) { data 647 ui/base/clipboard/clipboard_aurax11.cc *markup = data.GetHtml(); data 658 ui/base/clipboard/clipboard_aurax11.cc SelectionData data(aurax11_details_->RequestAndWaitForTypes( data 660 ui/base/clipboard/clipboard_aurax11.cc if (data.IsValid()) data 661 ui/base/clipboard/clipboard_aurax11.cc data.AssignTo(result); data 667 ui/base/clipboard/clipboard_aurax11.cc SelectionData data(aurax11_details_->RequestAndWaitForTypes( data 669 ui/base/clipboard/clipboard_aurax11.cc if (data.IsValid()) { data 671 ui/base/clipboard/clipboard_aurax11.cc if (gfx::PNGCodec::Decode(data.GetData(), data.GetSize(), &bitmap)) data 683 ui/base/clipboard/clipboard_aurax11.cc SelectionData data(aurax11_details_->RequestAndWaitForTypes( data 686 ui/base/clipboard/clipboard_aurax11.cc if (data.IsValid()) data 687 ui/base/clipboard/clipboard_aurax11.cc ReadCustomDataForType(data.GetData(), data.GetSize(), type, result); data 699 ui/base/clipboard/clipboard_aurax11.cc SelectionData data(aurax11_details_->RequestAndWaitForTypes( data 701 ui/base/clipboard/clipboard_aurax11.cc if (data.IsValid()) data 702 ui/base/clipboard/clipboard_aurax11.cc data.AssignTo(result); data 731 ui/base/clipboard/clipboard_aurax11.cc std::string data = html_prefix; data 732 ui/base/clipboard/clipboard_aurax11.cc data += std::string(markup_data, markup_len); data 734 ui/base/clipboard/clipboard_aurax11.cc data += '\0'; data 737 ui/base/clipboard/clipboard_aurax11.cc base::RefCountedString::TakeString(&data)); data 753 ui/base/clipboard/clipboard_aurax11.cc std::vector<unsigned char> data; data 754 ui/base/clipboard/clipboard_aurax11.cc ui::AddString16ToVector(url, &data); data 755 ui/base/clipboard/clipboard_aurax11.cc ui::AddString16ToVector(title, &data); data 757 ui/base/clipboard/clipboard_aurax11.cc base::RefCountedBytes::TakeVector(&data)); data 269 ui/base/clipboard/clipboard_gtk.cc char* data = new char[text_len]; data 270 ui/base/clipboard/clipboard_gtk.cc memcpy(data, text_data, text_len); data 272 ui/base/clipboard/clipboard_gtk.cc InsertMapping(kMimeTypeText, data, text_len); data 273 ui/base/clipboard/clipboard_gtk.cc InsertMapping("TEXT", data, text_len); data 274 ui/base/clipboard/clipboard_gtk.cc InsertMapping("STRING", data, text_len); data 275 ui/base/clipboard/clipboard_gtk.cc InsertMapping("UTF8_STRING", data, text_len); data 276 ui/base/clipboard/clipboard_gtk.cc InsertMapping("COMPOUND_TEXT", data, text_len); data 289 ui/base/clipboard/clipboard_gtk.cc char* data = new char[total_len]; data 290 ui/base/clipboard/clipboard_gtk.cc snprintf(data, total_len, "%s", html_prefix); data 291 ui/base/clipboard/clipboard_gtk.cc memcpy(data + html_prefix_len, markup_data, markup_len); data 293 ui/base/clipboard/clipboard_gtk.cc data[total_len - 1] = '\0'; data 295 ui/base/clipboard/clipboard_gtk.cc InsertMapping(kMimeTypeHTML, data, total_len); data 327 ui/base/clipboard/clipboard_gtk.cc char* data = new char[data_len]; data 328 ui/base/clipboard/clipboard_gtk.cc memcpy(data, url.data(), 2 * url.length()); data 329 ui/base/clipboard/clipboard_gtk.cc memcpy(data + 2 * url.length(), title.data(), 2 * title.length()); data 330 ui/base/clipboard/clipboard_gtk.cc InsertMapping(kMimeTypeMozillaURL, data, data_len); data 340 ui/base/clipboard/clipboard_gtk.cc char* data = new char[data_len]; data 341 ui/base/clipboard/clipboard_gtk.cc memcpy(data, data_data, data_len); data 343 ui/base/clipboard/clipboard_gtk.cc InsertMapping(GdkAtomToString(format.ToGdkAtom()).c_str(), data, data_len); data 357 ui/base/clipboard/clipboard_gtk.cc GtkSelectionData* data = gtk_clipboard_wait_for_contents( data 363 ui/base/clipboard/clipboard_gtk.cc if (data) { data 364 ui/base/clipboard/clipboard_gtk.cc retval = gtk_selection_data_targets_include_text(data); data 380 ui/base/clipboard/clipboard_gtk.cc } else if (data) { data 383 ui/base/clipboard/clipboard_gtk.cc gtk_selection_data_get_targets(data, &targets, &num); data 395 ui/base/clipboard/clipboard_gtk.cc if (data) data 396 ui/base/clipboard/clipboard_gtk.cc gtk_selection_data_free(data); data 433 ui/base/clipboard/clipboard_gtk.cc GtkSelectionData* data = gtk_clipboard_wait_for_contents( data 435 ui/base/clipboard/clipboard_gtk.cc if (!data) data 437 ui/base/clipboard/clipboard_gtk.cc ReadCustomDataTypes(gtk_selection_data_get_data(data), data 438 ui/base/clipboard/clipboard_gtk.cc gtk_selection_data_get_length(data), data 440 ui/base/clipboard/clipboard_gtk.cc gtk_selection_data_free(data); data 495 ui/base/clipboard/clipboard_gtk.cc GtkSelectionData* data = gtk_clipboard_wait_for_contents(clipboard, data 498 ui/base/clipboard/clipboard_gtk.cc if (!data) data 503 ui/base/clipboard/clipboard_gtk.cc gint data_length = gtk_selection_data_get_length(data); data 504 ui/base/clipboard/clipboard_gtk.cc const guchar* raw_data = gtk_selection_data_get_data(data); data 523 ui/base/clipboard/clipboard_gtk.cc gtk_selection_data_free(data); data 558 ui/base/clipboard/clipboard_gtk.cc GtkSelectionData* data = gtk_clipboard_wait_for_contents( data 560 ui/base/clipboard/clipboard_gtk.cc if (!data) data 562 ui/base/clipboard/clipboard_gtk.cc ReadCustomDataForType(gtk_selection_data_get_data(data), data 563 ui/base/clipboard/clipboard_gtk.cc gtk_selection_data_get_length(data), data 565 ui/base/clipboard/clipboard_gtk.cc gtk_selection_data_free(data); data 576 ui/base/clipboard/clipboard_gtk.cc GtkSelectionData* data = data 578 ui/base/clipboard/clipboard_gtk.cc if (!data) data 581 ui/base/clipboard/clipboard_gtk.cc gtk_selection_data_get_data(data)), data 582 ui/base/clipboard/clipboard_gtk.cc gtk_selection_data_get_length(data)); data 583 ui/base/clipboard/clipboard_gtk.cc gtk_selection_data_free(data); data 659 ui/base/clipboard/clipboard_gtk.cc char* data, data 662 ui/base/clipboard/clipboard_gtk.cc (*clipboard_data_)[key] = std::make_pair(data, data_len); data 573 ui/base/clipboard/clipboard_unittest.cc Pickle read_pickle(output.data(), output.size()); data 609 ui/base/clipboard/clipboard_unittest.cc Pickle read_pickle2(output2.data(), output2.size()); data 631 ui/base/clipboard/clipboard_unittest.cc Pickle read_pickle1(output1.data(), output1.size()); data 93 ui/base/clipboard/clipboard_util_win.cc base::win::ScopedHGlobal<wchar_t> data(store.hGlobal); data 94 ui/base/clipboard/clipboard_util_win.cc if (data.get() && data.get()[0] && data 95 ui/base/clipboard/clipboard_util_win.cc (PathFileExists(data.get()) || PathIsUNC(data.get()))) { data 98 ui/base/clipboard/clipboard_util_win.cc if (SUCCEEDED(::UrlCreateFromPathW(data.get(), file_url, &file_url_len, data 115 ui/base/clipboard/clipboard_util_win.cc base::win::ScopedHGlobal<char> data(store.hGlobal); data 116 ui/base/clipboard/clipboard_util_win.cc if (data.get() && data.get()[0] && (PathFileExistsA(data.get()) || data 117 ui/base/clipboard/clipboard_util_win.cc PathIsUNCA(data.get()))) { data 120 ui/base/clipboard/clipboard_util_win.cc if (SUCCEEDED(::UrlCreateFromPathA(data.get(), file_url, &file_url_len, data 184 ui/base/clipboard/clipboard_util_win.cc base::win::ScopedHGlobal<wchar_t> data(store.hGlobal); data 185 ui/base/clipboard/clipboard_util_win.cc SplitUrlAndTitle(data.get(), url, title); data 194 ui/base/clipboard/clipboard_util_win.cc base::win::ScopedHGlobal<char> data(store.hGlobal); data 195 ui/base/clipboard/clipboard_util_win.cc SplitUrlAndTitle(base::UTF8ToWide(data.get()), url, title); data 248 ui/base/clipboard/clipboard_util_win.cc base::win::ScopedHGlobal<wchar_t> data(store.hGlobal); data 249 ui/base/clipboard/clipboard_util_win.cc plain_text->assign(data.get()); data 258 ui/base/clipboard/clipboard_util_win.cc base::win::ScopedHGlobal<char> data(store.hGlobal); data 259 ui/base/clipboard/clipboard_util_win.cc plain_text->assign(base::UTF8ToWide(data.get())); data 280 ui/base/clipboard/clipboard_util_win.cc base::win::ScopedHGlobal<char> data(store.hGlobal); data 283 ui/base/clipboard/clipboard_util_win.cc CFHtmlToHtml(std::string(data.get(), data.Size()), &html_utf8, base_url); data 298 ui/base/clipboard/clipboard_util_win.cc base::win::ScopedHGlobal<wchar_t> data(store.hGlobal); data 299 ui/base/clipboard/clipboard_util_win.cc html->assign(data.get()); data 318 ui/base/clipboard/clipboard_util_win.cc base::win::ScopedHGlobal<char> data(content.hGlobal); data 319 ui/base/clipboard/clipboard_util_win.cc file_contents->assign(data.get(), data.Size()); data 350 ui/base/clipboard/clipboard_util_win.cc base::win::ScopedHGlobal<char> data(store.hGlobal); data 351 ui/base/clipboard/clipboard_util_win.cc ReadCustomDataIntoMap(data.get(), data.Size(), custom_data); data 130 ui/base/clipboard/clipboard_win.cc HGLOBAL data = data 132 ui/base/clipboard/clipboard_win.cc if (data) { data 133 ui/base/clipboard/clipboard_win.cc charT* raw_data = static_cast<charT*>(::GlobalLock(data)); data 134 ui/base/clipboard/clipboard_win.cc memcpy(raw_data, str.data(), str.size() * sizeof(charT)); data 136 ui/base/clipboard/clipboard_win.cc ::GlobalUnlock(data); data 138 ui/base/clipboard/clipboard_win.cc return data; data 367 ui/base/clipboard/clipboard_win.cc char* data = static_cast<char*>(::GlobalLock(hdata)); data 368 ui/base/clipboard/clipboard_win.cc memcpy(data, data_data, data_len); data 369 ui/base/clipboard/clipboard_win.cc ::GlobalUnlock(data); data 447 ui/base/clipboard/clipboard_win.cc HANDLE data = ::GetClipboardData(CF_UNICODETEXT); data 448 ui/base/clipboard/clipboard_win.cc if (!data) data 451 ui/base/clipboard/clipboard_win.cc result->assign(static_cast<const base::char16*>(::GlobalLock(data))); data 452 ui/base/clipboard/clipboard_win.cc ::GlobalUnlock(data); data 469 ui/base/clipboard/clipboard_win.cc HANDLE data = ::GetClipboardData(CF_TEXT); data 470 ui/base/clipboard/clipboard_win.cc if (!data) data 473 ui/base/clipboard/clipboard_win.cc result->assign(static_cast<const char*>(::GlobalLock(data))); data 474 ui/base/clipboard/clipboard_win.cc ::GlobalUnlock(data); data 497 ui/base/clipboard/clipboard_win.cc HANDLE data = ::GetClipboardData(GetHtmlFormatType().ToUINT()); data 498 ui/base/clipboard/clipboard_win.cc if (!data) data 501 ui/base/clipboard/clipboard_win.cc std::string cf_html(static_cast<const char*>(::GlobalLock(data))); data 502 ui/base/clipboard/clipboard_win.cc ::GlobalUnlock(data); data 523 ui/base/clipboard/clipboard_win.cc markup->assign(base::UTF8ToUTF16AndAdjustOffsets(cf_html.data() + html_start, data 635 ui/base/clipboard/clipboard_win.cc HANDLE data = ::GetClipboardData(GetUrlWFormatType().ToUINT()); data 636 ui/base/clipboard/clipboard_win.cc if (!data) data 639 ui/base/clipboard/clipboard_win.cc base::string16 bookmark(static_cast<const base::char16*>(::GlobalLock(data))); data 640 ui/base/clipboard/clipboard_win.cc ::GlobalUnlock(data); data 655 ui/base/clipboard/clipboard_win.cc HANDLE data = ::GetClipboardData(format.ToUINT()); data 656 ui/base/clipboard/clipboard_win.cc if (!data) data 659 ui/base/clipboard/clipboard_win.cc result->assign(static_cast<const char*>(::GlobalLock(data)), data 660 ui/base/clipboard/clipboard_win.cc ::GlobalSize(data)); data 661 ui/base/clipboard/clipboard_win.cc ::GlobalUnlock(data); data 823 ui/base/clipboard/clipboard_win.cc void Clipboard::FreeData(unsigned int format, HANDLE data) { data 825 ui/base/clipboard/clipboard_win.cc ::DeleteObject(static_cast<HBITMAP>(data)); data 827 ui/base/clipboard/clipboard_win.cc ::GlobalFree(data); data 21 ui/base/clipboard/custom_data_helper.cc SkippablePickle(const void* data, size_t data_len); data 25 ui/base/clipboard/custom_data_helper.cc SkippablePickle::SkippablePickle(const void* data, size_t data_len) data 26 ui/base/clipboard/custom_data_helper.cc : Pickle(reinterpret_cast<const char*>(data), data_len) { data 40 ui/base/clipboard/custom_data_helper.cc void ReadCustomDataTypes(const void* data, data 43 ui/base/clipboard/custom_data_helper.cc SkippablePickle pickle(data, data_length); data 65 ui/base/clipboard/custom_data_helper.cc void ReadCustomDataForType(const void* data, data 69 ui/base/clipboard/custom_data_helper.cc SkippablePickle pickle(data, data_length); data 89 ui/base/clipboard/custom_data_helper.cc void ReadCustomDataIntoMap(const void* data, data 92 ui/base/clipboard/custom_data_helper.cc Pickle pickle(reinterpret_cast<const char*>(data), data_length); data 117 ui/base/clipboard/custom_data_helper.cc const std::map<base::string16, base::string16>& data, data 119 ui/base/clipboard/custom_data_helper.cc pickle->WriteUInt64(data.size()); data 121 ui/base/clipboard/custom_data_helper.cc data.begin(); data 122 ui/base/clipboard/custom_data_helper.cc it != data.end(); data 37 ui/base/clipboard/custom_data_helper.h UI_BASE_EXPORT void ReadCustomDataTypes(const void* data, data 40 ui/base/clipboard/custom_data_helper.h UI_BASE_EXPORT void ReadCustomDataForType(const void* data, data 45 ui/base/clipboard/custom_data_helper.h const void* data, data 50 ui/base/clipboard/custom_data_helper.h const std::map<base::string16, base::string16>& data, data 20 ui/base/clipboard/custom_data_helper_unittest.cc std::map<base::string16, base::string16> data; data 21 ui/base/clipboard/custom_data_helper_unittest.cc WriteCustomDataToPickle(data, pickle); data 25 ui/base/clipboard/custom_data_helper_unittest.cc std::map<base::string16, base::string16> data; data 26 ui/base/clipboard/custom_data_helper_unittest.cc data.insert(std::make_pair(ASCIIToUTF16("abc"), base::string16())); data 27 ui/base/clipboard/custom_data_helper_unittest.cc data.insert(std::make_pair(ASCIIToUTF16("de"), ASCIIToUTF16("1"))); data 28 ui/base/clipboard/custom_data_helper_unittest.cc data.insert(std::make_pair(ASCIIToUTF16("f"), ASCIIToUTF16("23"))); data 29 ui/base/clipboard/custom_data_helper_unittest.cc WriteCustomDataToPickle(data, pickle); data 37 ui/base/clipboard/custom_data_helper_unittest.cc ReadCustomDataTypes(pickle.data(), pickle.size(), &types); data 46 ui/base/clipboard/custom_data_helper_unittest.cc ReadCustomDataForType(pickle.data(), data 58 ui/base/clipboard/custom_data_helper_unittest.cc ReadCustomDataIntoMap(pickle.data(), pickle.size(), &result); data 67 ui/base/clipboard/custom_data_helper_unittest.cc ReadCustomDataTypes(pickle.data(), pickle.size(), &types); data 81 ui/base/clipboard/custom_data_helper_unittest.cc ReadCustomDataForType(pickle.data(), data 87 ui/base/clipboard/custom_data_helper_unittest.cc ReadCustomDataForType(pickle.data(), data 93 ui/base/clipboard/custom_data_helper_unittest.cc ReadCustomDataForType(pickle.data(), data 105 ui/base/clipboard/custom_data_helper_unittest.cc ReadCustomDataIntoMap(pickle.data(), pickle.size(), &result); data 127 ui/base/clipboard/custom_data_helper_unittest.cc ReadCustomDataTypes(malformed.data(), malformed.size(), &actual); data 134 ui/base/clipboard/custom_data_helper_unittest.cc ReadCustomDataTypes(malformed2.data(), malformed2.size(), &actual2); data 147 ui/base/clipboard/custom_data_helper_unittest.cc ReadCustomDataForType(malformed.data(), data 151 ui/base/clipboard/custom_data_helper_unittest.cc ReadCustomDataIntoMap(malformed.data(), malformed.size(), &result_map); data 159 ui/base/clipboard/custom_data_helper_unittest.cc ReadCustomDataForType(malformed2.data(), data 163 ui/base/clipboard/custom_data_helper_unittest.cc ReadCustomDataIntoMap(malformed2.data(), malformed2.size(), &result_map); data 101 ui/base/clipboard/scoped_clipboard_writer.cc pickle.data(), pickle.size()); data 14 ui/base/dragdrop/drop_target_event.cc DropTargetEvent::DropTargetEvent(const OSExchangeData& data, data 23 ui/base/dragdrop/drop_target_event.cc data_(data), data 15 ui/base/dragdrop/drop_target_event.h DropTargetEvent(const OSExchangeData& data, data 20 ui/base/dragdrop/drop_target_event.h const OSExchangeData& data() const { return data_; } data 197 ui/base/dragdrop/gtk_dnd_util.cc reinterpret_cast<const guchar*>(pickle.data()), data 225 ui/base/dragdrop/gtk_dnd_util.cc Pickle data( data 229 ui/base/dragdrop/gtk_dnd_util.cc PickleIterator iter(data); data 231 ui/base/dragdrop/gtk_dnd_util.cc if (!data.ReadString(&iter, &title_utf8) || data 232 ui/base/dragdrop/gtk_dnd_util.cc !data.ReadString(&iter, &url_utf8)) { data 268 ui/base/dragdrop/gtk_dnd_util.cc std::string data( data 272 ui/base/dragdrop/gtk_dnd_util.cc std::string::size_type newline = data.find('\n'); data 276 ui/base/dragdrop/gtk_dnd_util.cc GURL gurl(data.substr(0, newline)); data 281 ui/base/dragdrop/gtk_dnd_util.cc *title = base::UTF8ToUTF16(data.substr(newline + 1)); data 23 ui/base/dragdrop/gtk_dnd_util_unittest.cc GtkSelectionData data; data 25 ui/base/dragdrop/gtk_dnd_util_unittest.cc memcpy(test_data.get(), pickle.data(), pickle.size()); data 26 ui/base/dragdrop/gtk_dnd_util_unittest.cc data.data = test_data.get(); data 27 ui/base/dragdrop/gtk_dnd_util_unittest.cc data.length = pickle.size(); data 31 ui/base/dragdrop/gtk_dnd_util_unittest.cc ASSERT_EQ(true, ui::ExtractNamedURL(&data, &url, &title)); data 43 ui/base/dragdrop/gtk_dnd_util_unittest.cc GtkSelectionData data; data 45 ui/base/dragdrop/gtk_dnd_util_unittest.cc memcpy(test_data.get(), pickle.data(), pickle.size()); data 46 ui/base/dragdrop/gtk_dnd_util_unittest.cc data.data = test_data.get(); data 47 ui/base/dragdrop/gtk_dnd_util_unittest.cc data.length = pickle.size(); data 51 ui/base/dragdrop/gtk_dnd_util_unittest.cc EXPECT_FALSE(ui::ExtractNamedURL(&data, &url, &title)); data 57 ui/base/dragdrop/gtk_dnd_util_unittest.cc GtkSelectionData data; data 58 ui/base/dragdrop/gtk_dnd_util_unittest.cc data.data = NULL; data 59 ui/base/dragdrop/gtk_dnd_util_unittest.cc data.length = 0; data 61 ui/base/dragdrop/gtk_dnd_util_unittest.cc EXPECT_FALSE(ui::ExtractNamedURL(&data, &url, &title)); data 64 ui/base/dragdrop/gtk_dnd_util_unittest.cc data.data = empty_data; data 65 ui/base/dragdrop/gtk_dnd_util_unittest.cc data.length = 0; data 67 ui/base/dragdrop/gtk_dnd_util_unittest.cc EXPECT_FALSE(ui::ExtractNamedURL(&data, &url, &title)); data 74 ui/base/dragdrop/gtk_dnd_util_unittest.cc memcpy(test_data.get(), pickle.data(), pickle.size()); data 75 ui/base/dragdrop/gtk_dnd_util_unittest.cc data.data = test_data.get(); data 76 ui/base/dragdrop/gtk_dnd_util_unittest.cc data.length = pickle.size(); data 78 ui/base/dragdrop/gtk_dnd_util_unittest.cc EXPECT_FALSE(ui::ExtractNamedURL(&data, &url, &title)); data 38 ui/base/dragdrop/os_exchange_data.cc void OSExchangeData::SetString(const base::string16& data) { data 39 ui/base/dragdrop/os_exchange_data.cc provider_->SetString(data); data 56 ui/base/dragdrop/os_exchange_data.cc const Pickle& data) { data 57 ui/base/dragdrop/os_exchange_data.cc provider_->SetPickledData(format, data); data 60 ui/base/dragdrop/os_exchange_data.cc bool OSExchangeData::GetString(base::string16* data) const { data 61 ui/base/dragdrop/os_exchange_data.cc return provider_->GetString(data); data 80 ui/base/dragdrop/os_exchange_data.cc Pickle* data) const { data 81 ui/base/dragdrop/os_exchange_data.cc return provider_->GetPickledData(format, data); data 99 ui/base/dragdrop/os_exchange_data.h virtual void SetString(const base::string16& data) = 0; data 105 ui/base/dragdrop/os_exchange_data.h const Pickle& data) = 0; data 107 ui/base/dragdrop/os_exchange_data.h virtual bool GetString(base::string16* data) const = 0; data 115 ui/base/dragdrop/os_exchange_data.h Pickle* data) const = 0; data 177 ui/base/dragdrop/os_exchange_data.h void SetString(const base::string16& data); data 186 ui/base/dragdrop/os_exchange_data.h void SetPickledData(const CustomFormat& format, const Pickle& data); data 192 ui/base/dragdrop/os_exchange_data.h bool GetString(base::string16* data) const; data 200 ui/base/dragdrop/os_exchange_data.h bool GetPickledData(const CustomFormat& format, Pickle* data) const; data 46 ui/base/dragdrop/os_exchange_data_provider_aura.cc void OSExchangeDataProviderAura::SetString(const base::string16& data) { data 47 ui/base/dragdrop/os_exchange_data_provider_aura.cc string_ = data; data 74 ui/base/dragdrop/os_exchange_data_provider_aura.cc const Pickle& data) { data 75 ui/base/dragdrop/os_exchange_data_provider_aura.cc pickle_data_[format] = data; data 79 ui/base/dragdrop/os_exchange_data_provider_aura.cc bool OSExchangeDataProviderAura::GetString(base::string16* data) const { data 82 ui/base/dragdrop/os_exchange_data_provider_aura.cc *data = string_; data 122 ui/base/dragdrop/os_exchange_data_provider_aura.cc Pickle* data) const { data 127 ui/base/dragdrop/os_exchange_data_provider_aura.cc *data = i->second; data 32 ui/base/dragdrop/os_exchange_data_provider_aura.h virtual void SetString(const base::string16& data) OVERRIDE; data 37 ui/base/dragdrop/os_exchange_data_provider_aura.h const Pickle& data) OVERRIDE; data 38 ui/base/dragdrop/os_exchange_data_provider_aura.h virtual bool GetString(base::string16* data) const OVERRIDE; data 45 ui/base/dragdrop/os_exchange_data_provider_aura.h Pickle* data) const OVERRIDE; data 148 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc std::vector<unsigned char> data; data 149 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc ui::AddString16ToVector(spec, &data); data 150 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc ui::AddString16ToVector(base::ASCIIToUTF16("\n"), &data); data 151 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc ui::AddString16ToVector(title, &data); data 153 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc base::RefCountedBytes::TakeVector(&data)); data 174 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc std::vector<FileInfo> data; data 175 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc data.push_back(FileInfo(path, base::FilePath())); data 176 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc SetFilenames(data); data 199 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc const unsigned char* data = data 200 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc reinterpret_cast<const unsigned char*>(pickle.data()); data 203 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc bytes.insert(bytes.end(), data, data + pickle.size()); data 222 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc ui::SelectionData data(format_map_.GetFirstOf(requested_types)); data 223 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc if (data.IsValid()) { data 224 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc std::string text = data.GetText(); data 240 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc ui::SelectionData data(format_map_.GetFirstOf(requested_types)); data 241 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc if (data.IsValid()) { data 246 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc if (data.GetType() == atom_cache_.GetAtom(kMimeTypeMozillaURL)) { data 249 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc data.AssignTo(&unparsed); data 262 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc } else if (data.GetType() == atom_cache_.GetAtom( data 264 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc std::vector<std::string> tokens = ui::ParseURIList(data); data 298 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc ui::SelectionData data(format_map_.GetFirstOf(requested_types)); data 299 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc if (data.IsValid()) { data 300 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc std::vector<std::string> tokens = ui::ParseURIList(data); data 320 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc ui::SelectionData data(format_map_.GetFirstOf(requested_types)); data 321 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc if (data.IsValid()) { data 324 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc *pickle = Pickle(reinterpret_cast<const char*>(data.GetData()), data 325 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc static_cast<int>(data.GetSize())); data 350 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc ui::SelectionData data(format_map_.GetFirstOf(requested_types)); data 351 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc if (data.IsValid()) { data 352 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc if (data.GetType() == atom_cache_.GetAtom(kMimeTypeMozillaURL)) { data 355 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc } else if (data.GetType() == atom_cache_.GetAtom( data 357 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc std::vector<std::string> tokens = ui::ParseURIList(data); data 383 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc ui::SelectionData data(format_map_.GetFirstOf(requested_types)); data 384 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc if (data.IsValid()) { data 385 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc std::vector<std::string> tokens = ui::ParseURIList(data); data 463 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc ui::SelectionData data(format_map_.GetFirstOf(requested_types)); data 464 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc if (data.IsValid()) { data 465 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc *html = data.GetHtml(); data 67 ui/base/dragdrop/os_exchange_data_provider_aurax11.h virtual void SetString(const base::string16& data) OVERRIDE; data 73 ui/base/dragdrop/os_exchange_data_provider_aurax11.h virtual bool GetString(base::string16* data) const OVERRIDE; data 38 ui/base/dragdrop/os_exchange_data_provider_win.cc static STGMEDIUM* GetStorageForBytes(const void* data, size_t bytes); data 40 ui/base/dragdrop/os_exchange_data_provider_win.cc static STGMEDIUM* GetStorageForString(const std::basic_string<T>& data); data 42 ui/base/dragdrop/os_exchange_data_provider_win.cc static void GetInternetShortcutFileContents(const GURL& url, std::string* data); data 245 ui/base/dragdrop/os_exchange_data_provider_win.cc const OSExchangeData& data) { data 246 ui/base/dragdrop/os_exchange_data_provider_win.cc return static_cast<const OSExchangeDataProviderWin*>(&data.provider())-> data 252 ui/base/dragdrop/os_exchange_data_provider_win.cc const OSExchangeData& data) { data 253 ui/base/dragdrop/os_exchange_data_provider_win.cc return static_cast<const OSExchangeDataProviderWin*>(&data.provider())-> data 259 ui/base/dragdrop/os_exchange_data_provider_win.cc const OSExchangeData& data) { data 260 ui/base/dragdrop/os_exchange_data_provider_win.cc return static_cast<const OSExchangeDataProviderWin*>(&data.provider())-> data 291 ui/base/dragdrop/os_exchange_data_provider_win.cc void OSExchangeDataProviderWin::SetString(const base::string16& data) { data 292 ui/base/dragdrop/os_exchange_data_provider_win.cc STGMEDIUM* storage = GetStorageForString(data); data 297 ui/base/dragdrop/os_exchange_data_provider_win.cc storage = GetStorageForString(base::UTF16ToUTF8(data)); data 367 ui/base/dragdrop/os_exchange_data_provider_win.cc const Pickle& data) { data 368 ui/base/dragdrop/os_exchange_data_provider_win.cc STGMEDIUM* storage = GetStorageForBytes(data.data(), data.size()); data 382 ui/base/dragdrop/os_exchange_data_provider_win.cc storage = GetStorageForBytes(file_contents.data(), file_contents.length()); data 404 ui/base/dragdrop/os_exchange_data_provider_win.cc bool OSExchangeDataProviderWin::GetString(base::string16* data) const { data 405 ui/base/dragdrop/os_exchange_data_provider_win.cc return ClipboardUtil::GetPlainText(source_object_, data); data 456 ui/base/dragdrop/os_exchange_data_provider_win.cc Pickle* data) const { data 457 ui/base/dragdrop/os_exchange_data_provider_win.cc DCHECK(data); data 465 ui/base/dragdrop/os_exchange_data_provider_win.cc *data = Pickle(c_data.get(), static_cast<int>(c_data.Size())); data 882 ui/base/dragdrop/os_exchange_data_provider_win.cc static STGMEDIUM* GetStorageForBytes(const void* data, size_t bytes) { data 886 ui/base/dragdrop/os_exchange_data_provider_win.cc memcpy(scoped.get(), data, bytes); data 897 ui/base/dragdrop/os_exchange_data_provider_win.cc static STGMEDIUM* GetStorageForString(const std::basic_string<T>& data) { data 899 ui/base/dragdrop/os_exchange_data_provider_win.cc data.c_str(), data 900 ui/base/dragdrop/os_exchange_data_provider_win.cc (data.size() + 1) * sizeof(std::basic_string<T>::value_type)); data 904 ui/base/dragdrop/os_exchange_data_provider_win.cc std::string* data) { data 905 ui/base/dragdrop/os_exchange_data_provider_win.cc DCHECK(data); data 910 ui/base/dragdrop/os_exchange_data_provider_win.cc *data = kInternetShortcutFileStart + url.spec() + kInternetShortcutFileEnd; data 946 ui/base/dragdrop/os_exchange_data_provider_win.cc wchar_t* data = reinterpret_cast<wchar_t*>( data 949 ui/base/dragdrop/os_exchange_data_provider_win.cc memcpy(data, path.value().c_str(), copy_size); data 950 ui/base/dragdrop/os_exchange_data_provider_win.cc data[path.value().length() + 1] = L'\0'; // Double NULL data 137 ui/base/dragdrop/os_exchange_data_provider_win.h static DataObjectImpl* GetDataObjectImpl(const OSExchangeData& data); data 138 ui/base/dragdrop/os_exchange_data_provider_win.h static IDataObject* GetIDataObject(const OSExchangeData& data); data 140 ui/base/dragdrop/os_exchange_data_provider_win.h const OSExchangeData& data); data 154 ui/base/dragdrop/os_exchange_data_provider_win.h virtual void SetString(const base::string16& data); data 159 ui/base/dragdrop/os_exchange_data_provider_win.h const Pickle& data); data 164 ui/base/dragdrop/os_exchange_data_provider_win.h virtual bool GetString(base::string16* data) const; data 171 ui/base/dragdrop/os_exchange_data_provider_win.h Pickle* data) const; data 21 ui/base/dragdrop/os_exchange_data_unittest.cc OSExchangeData data; data 23 ui/base/dragdrop/os_exchange_data_unittest.cc data.SetString(input); data 25 ui/base/dragdrop/os_exchange_data_unittest.cc OSExchangeData data2(data.provider().Clone()); data 39 ui/base/dragdrop/os_exchange_data_unittest.cc OSExchangeData data; data 43 ui/base/dragdrop/os_exchange_data_unittest.cc data.SetURL(url, url_title); data 46 ui/base/dragdrop/os_exchange_data_unittest.cc OSExchangeData data2(data.provider().Clone()); data 69 ui/base/dragdrop/os_exchange_data_unittest.cc OSExchangeData data; data 70 ui/base/dragdrop/os_exchange_data_unittest.cc data.SetPickledData(kTestFormat, saved_pickle); data 72 ui/base/dragdrop/os_exchange_data_unittest.cc OSExchangeData copy(data.provider().Clone()); data 86 ui/base/dragdrop/os_exchange_data_unittest.cc OSExchangeData data; data 92 ui/base/dragdrop/os_exchange_data_unittest.cc data.SetHtml(html, url); data 94 ui/base/dragdrop/os_exchange_data_unittest.cc OSExchangeData copy(data.provider().Clone()); data 20 ui/base/dragdrop/os_exchange_data_win_unittest.cc OSExchangeData data; data 22 ui/base/dragdrop/os_exchange_data_win_unittest.cc data.SetString(input); data 24 ui/base/dragdrop/os_exchange_data_win_unittest.cc OSExchangeDataProviderWin::GetIDataObject(data)); data 40 ui/base/dragdrop/os_exchange_data_win_unittest.cc OSExchangeData data; data 44 ui/base/dragdrop/os_exchange_data_win_unittest.cc OSExchangeDataProviderWin::GetIDataObject(data)); data 64 ui/base/dragdrop/os_exchange_data_win_unittest.cc OSExchangeData data2(data.provider().Clone()); data 76 ui/base/dragdrop/os_exchange_data_win_unittest.cc OSExchangeData data; data 81 ui/base/dragdrop/os_exchange_data_win_unittest.cc OSExchangeDataProviderWin::GetIDataObject(data)); data 116 ui/base/dragdrop/os_exchange_data_win_unittest.cc OSExchangeData data2(data.provider().Clone()); data 126 ui/base/dragdrop/os_exchange_data_win_unittest.cc OSExchangeData data; data 128 ui/base/dragdrop/os_exchange_data_win_unittest.cc data.SetURL(url, L""); data 130 ui/base/dragdrop/os_exchange_data_win_unittest.cc OSExchangeDataProviderWin::GetIDataObject(data)); data 146 ui/base/dragdrop/os_exchange_data_win_unittest.cc OSExchangeData data; data 150 ui/base/dragdrop/os_exchange_data_win_unittest.cc data.SetURL(url, L"Google"); data 151 ui/base/dragdrop/os_exchange_data_win_unittest.cc data.SetString(text); data 154 ui/base/dragdrop/os_exchange_data_win_unittest.cc OSExchangeDataProviderWin::GetIDataObject(data)); data 181 ui/base/dragdrop/os_exchange_data_win_unittest.cc OSExchangeData data; data 182 ui/base/dragdrop/os_exchange_data_win_unittest.cc data.SetURL(GURL("http://www.google.com/"), L""); data 183 ui/base/dragdrop/os_exchange_data_win_unittest.cc data.SetString(L"O hai googlz."); data 190 ui/base/dragdrop/os_exchange_data_win_unittest.cc OSExchangeDataProviderWin::GetIDataObject(data)); data 270 ui/base/dragdrop/os_exchange_data_win_unittest.cc OSExchangeData data; data 274 ui/base/dragdrop/os_exchange_data_win_unittest.cc data.SetURL(url, url_title); data 278 ui/base/dragdrop/os_exchange_data_win_unittest.cc OSExchangeDataProviderWin::GetIDataObject(data)); data 299 ui/base/dragdrop/os_exchange_data_win_unittest.cc OSExchangeData data; data 301 ui/base/dragdrop/os_exchange_data_win_unittest.cc data.SetFileContents(base::FilePath(L"filename.txt"), file_contents); data 303 ui/base/dragdrop/os_exchange_data_win_unittest.cc OSExchangeData copy(data.provider().Clone()); data 312 ui/base/dragdrop/os_exchange_data_win_unittest.cc OSExchangeData data; data 318 ui/base/dragdrop/os_exchange_data_win_unittest.cc data.SetHtml(html, url); data 331 ui/base/dragdrop/os_exchange_data_win_unittest.cc IDataObject* data_object = OSExchangeDataProviderWin::GetIDataObject(data); data 340 ui/base/dragdrop/os_exchange_data_win_unittest.cc OSExchangeData data; data 342 ui/base/dragdrop/os_exchange_data_win_unittest.cc data.SetURL(GURL("http://google.com"), long_title); data 346 ui/base/dragdrop/os_exchange_data_win_unittest.cc OSExchangeData data; data 347 ui/base/dragdrop/os_exchange_data_win_unittest.cc data.SetString(L"http://google.com"); data 349 ui/base/dragdrop/os_exchange_data_win_unittest.cc OSExchangeData data2(data.provider().Clone()); data 79 ui/base/gtk/g_object_destructor_filo.h static void WeakNotifyThunk(gpointer data, GObject* where_the_object_was) { data 80 ui/base/gtk/g_object_destructor_filo.h reinterpret_cast<GObjectDestructorFILO*>(data)->WeakNotify( data 42 ui/base/gtk/gtk_expanded_container.cc SizeAllocateData* data = reinterpret_cast<SizeAllocateData*>(userdata); data 45 ui/base/gtk/gtk_expanded_container.cc child_requisition.width = data->allocation->width - data->border_width * 2; data 46 ui/base/gtk/gtk_expanded_container.cc child_requisition.height = data->allocation->height - data->border_width * 2; data 50 ui/base/gtk/gtk_expanded_container.cc g_signal_emit(data->container, data 66 ui/base/gtk/gtk_expanded_container.cc GetChildPosition(data->container, child, &x, &y); data 68 ui/base/gtk/gtk_expanded_container.cc child_allocation.x = x + data->border_width; data 69 ui/base/gtk/gtk_expanded_container.cc child_allocation.y = y + data->border_width; data 71 ui/base/gtk/gtk_expanded_container.cc if (!gtk_widget_get_has_window(data->container)) { data 72 ui/base/gtk/gtk_expanded_container.cc child_allocation.x += data->allocation->x; data 73 ui/base/gtk/gtk_expanded_container.cc child_allocation.y += data->allocation->y; data 95 ui/base/gtk/gtk_expanded_container.cc data1 = closure->data; data 99 ui/base/gtk/gtk_expanded_container.cc data2 = closure->data; data 156 ui/base/gtk/gtk_expanded_container.cc SizeAllocateData data; data 157 ui/base/gtk/gtk_expanded_container.cc data.container = widget; data 158 ui/base/gtk/gtk_expanded_container.cc data.allocation = allocation; data 159 ui/base/gtk/gtk_expanded_container.cc data.border_width = gtk_container_get_border_width(GTK_CONTAINER(widget)); data 161 ui/base/gtk/gtk_expanded_container.cc gtk_container_foreach(GTK_CONTAINER(widget), ChildSizeAllocate, &data); data 41 ui/base/gtk/gtk_expanded_container_unittest.cc if (GTK_WIDGET(child->data) == widget) { data 33 ui/base/gtk/gtk_floating_container.cc reinterpret_cast<GtkFloatingContainerChild*>(floating_children->data); data 148 ui/base/gtk/gtk_floating_container.cc reinterpret_cast<GtkFloatingContainerChild*>(children->data); data 184 ui/base/gtk/gtk_floating_container.cc reinterpret_cast<GtkFloatingContainerChild*>(children->data); data 238 ui/base/gtk/gtk_floating_container.cc reinterpret_cast<GtkFloatingContainerChild*>(children->data); data 35 ui/base/gtk/gtk_signal_registrar.cc gpointer data) { data 36 ui/base/gtk/gtk_signal_registrar.cc return ConnectInternal(instance, detailed_signal, signal_handler, data, data 43 ui/base/gtk/gtk_signal_registrar.cc gpointer data) { data 44 ui/base/gtk/gtk_signal_registrar.cc return ConnectInternal(instance, detailed_signal, signal_handler, data, true); data 50 ui/base/gtk/gtk_signal_registrar.cc gpointer data, data 63 ui/base/gtk/gtk_signal_registrar.cc g_signal_connect_after(instance, detailed_signal, signal_handler, data) : data 64 ui/base/gtk/gtk_signal_registrar.cc g_signal_connect(instance, detailed_signal, signal_handler, data); data 47 ui/base/gtk/gtk_signal_registrar.h GCallback signal_handler, gpointer data); data 50 ui/base/gtk/gtk_signal_registrar.h GCallback signal_handler, gpointer data); data 59 ui/base/gtk/gtk_signal_registrar.h static void WeakNotifyThunk(gpointer data, GObject* where_the_object_was) { data 60 ui/base/gtk/gtk_signal_registrar.h reinterpret_cast<GtkSignalRegistrar*>(data)->WeakNotify( data 66 ui/base/gtk/gtk_signal_registrar.h GCallback signal_handler, gpointer data, bool after); data 125 ui/base/ime/chromeos/character_composer.cc ComposeChecker(const uint16* data, int max_sequence_length, int n_sequences); data 144 ui/base/ime/chromeos/character_composer.cc ComposeChecker::ComposeChecker(const uint16* data, data 147 ui/base/ime/chromeos/character_composer.cc : data_(data), data 204 ui/base/ime/chromeos/character_composer.cc ComposeCheckerWithCompactTable(const uint16* data, data 228 ui/base/ime/chromeos/character_composer.cc const uint16* data, data 232 ui/base/ime/chromeos/character_composer.cc : data_(data), data 20 ui/base/ime/win/imm32_manager_unittest.cc void PrintTo(const InputModeTestCase& data, std::ostream* os) { data 21 ui/base/ime/win/imm32_manager_unittest.cc *os << " input_mode: " << testing::PrintToString(data.input_mode) data 22 ui/base/ime/win/imm32_manager_unittest.cc << "; conversion_mode: " << testing::PrintToString(data.conversion_mode); data 22 ui/base/ime/win/tsf_input_scope_unittest.cc void PrintTo(const GetInputScopesTestCase& data, std::ostream* os) { data 23 ui/base/ime/win/tsf_input_scope_unittest.cc *os << " input_type: " << testing::PrintToString(data.input_type) data 24 ui/base/ime/win/tsf_input_scope_unittest.cc << "; input_mode: " << testing::PrintToString(data.input_mode); data 43 ui/base/l10n/l10n_util_win.cc memcpy(logfont->lfFaceName, font_family.data(), name_len * sizeof(WORD)); data 111 ui/base/resource/data_pack.cc const uint32* ptr = reinterpret_cast<const uint32*>(mmap_->data()); data 151 ui/base/resource/data_pack.cc mmap_->data() + kHeaderLength + (i * sizeof(DataPackEntry))); data 166 ui/base/resource/data_pack.cc return !!bsearch(&resource_id, mmap_->data() + kHeaderLength, resource_count_, data 171 ui/base/resource/data_pack.cc base::StringPiece* data) const { data 184 ui/base/resource/data_pack.cc bsearch(&resource_id, mmap_->data() + kHeaderLength, resource_count_, data 193 ui/base/resource/data_pack.cc data->set(reinterpret_cast<const char*>(mmap_->data() + target->file_offset), data 204 ui/base/resource/data_pack.cc return new base::RefCountedStaticMemory(piece.data(), piece.length()); data 294 ui/base/resource/data_pack.cc if (fwrite(it->second.data(), it->second.length(), 1, file) != 1) { data 52 ui/base/resource/data_pack.h base::StringPiece* data) const OVERRIDE; data 38 ui/base/resource/data_pack_unittest.cc base::StringPiece data; data 40 ui/base/resource/data_pack_unittest.cc ASSERT_TRUE(pack.GetStringPiece(4, &data)); data 41 ui/base/resource/data_pack_unittest.cc EXPECT_EQ("this is id 4", data); data 43 ui/base/resource/data_pack_unittest.cc ASSERT_TRUE(pack.GetStringPiece(6, &data)); data 44 ui/base/resource/data_pack_unittest.cc EXPECT_EQ("this is id 6", data); data 47 ui/base/resource/data_pack_unittest.cc ASSERT_TRUE(pack.GetStringPiece(1, &data)); data 48 ui/base/resource/data_pack_unittest.cc EXPECT_EQ(0U, data.length()); data 49 ui/base/resource/data_pack_unittest.cc ASSERT_TRUE(pack.GetStringPiece(10, &data)); data 50 ui/base/resource/data_pack_unittest.cc EXPECT_EQ(0U, data.length()); data 54 ui/base/resource/data_pack_unittest.cc ASSERT_FALSE(pack.GetStringPiece(140, &data)); data 73 ui/base/resource/data_pack_unittest.cc base::StringPiece data; data 75 ui/base/resource/data_pack_unittest.cc ASSERT_TRUE(pack.GetStringPiece(4, &data)); data 76 ui/base/resource/data_pack_unittest.cc EXPECT_EQ("this is id 4", data); data 78 ui/base/resource/data_pack_unittest.cc ASSERT_TRUE(pack.GetStringPiece(6, &data)); data 79 ui/base/resource/data_pack_unittest.cc EXPECT_EQ("this is id 6", data); data 82 ui/base/resource/data_pack_unittest.cc ASSERT_TRUE(pack.GetStringPiece(1, &data)); data 83 ui/base/resource/data_pack_unittest.cc EXPECT_EQ(0U, data.length()); data 84 ui/base/resource/data_pack_unittest.cc ASSERT_TRUE(pack.GetStringPiece(10, &data)); data 85 ui/base/resource/data_pack_unittest.cc EXPECT_EQ(0U, data.length()); data 89 ui/base/resource/data_pack_unittest.cc ASSERT_FALSE(pack.GetStringPiece(140, &data)); data 133 ui/base/resource/data_pack_unittest.cc base::StringPiece data; data 134 ui/base/resource/data_pack_unittest.cc ASSERT_TRUE(pack.GetStringPiece(1, &data)); data 135 ui/base/resource/data_pack_unittest.cc EXPECT_EQ(one, data); data 136 ui/base/resource/data_pack_unittest.cc ASSERT_TRUE(pack.GetStringPiece(2, &data)); data 137 ui/base/resource/data_pack_unittest.cc EXPECT_EQ(two, data); data 138 ui/base/resource/data_pack_unittest.cc ASSERT_TRUE(pack.GetStringPiece(3, &data)); data 139 ui/base/resource/data_pack_unittest.cc EXPECT_EQ(three, data); data 140 ui/base/resource/data_pack_unittest.cc ASSERT_TRUE(pack.GetStringPiece(4, &data)); data 141 ui/base/resource/data_pack_unittest.cc EXPECT_EQ(four, data); data 142 ui/base/resource/data_pack_unittest.cc ASSERT_TRUE(pack.GetStringPiece(15, &data)); data 143 ui/base/resource/data_pack_unittest.cc EXPECT_EQ(fifteen, data); data 409 ui/base/resource/resource_bundle.cc base::StringPiece data = data 411 ui/base/resource/resource_bundle.cc if (!data.empty()) { data 412 ui/base/resource/resource_bundle.cc bytes = new base::RefCountedStaticMemory(data.data(), data.length()); data 426 ui/base/resource/resource_bundle.cc base::StringPiece data; data 428 ui/base/resource/resource_bundle.cc delegate_->GetRawDataResource(resource_id, scale_factor, &data)) data 429 ui/base/resource/resource_bundle.cc return data; data 434 ui/base/resource/resource_bundle.cc data_packs_[i]->GetStringPiece(resource_id, &data)) data 435 ui/base/resource/resource_bundle.cc return data; data 442 ui/base/resource/resource_bundle.cc data_packs_[i]->GetStringPiece(resource_id, &data)) data 443 ui/base/resource/resource_bundle.cc return data; data 465 ui/base/resource/resource_bundle.cc base::StringPiece data; data 466 ui/base/resource/resource_bundle.cc if (!locale_resources_data_->GetStringPiece(message_id, &data)) { data 469 ui/base/resource/resource_bundle.cc data = GetRawDataResource(message_id); data 470 ui/base/resource/resource_bundle.cc if (data.empty()) { data 485 ui/base/resource/resource_bundle.cc msg = base::string16(reinterpret_cast<const base::char16*>(data.data()), data 486 ui/base/resource/resource_bundle.cc data.length() / 2); data 488 ui/base/resource/resource_bundle.cc msg = base::UTF8ToUTF16(data); data 28 ui/base/resource/resource_bundle_gtk.cc GdkPixbuf* LoadPixbuf(base::RefCountedStaticMemory* data, bool rtl_enabled) { data 30 ui/base/resource/resource_bundle_gtk.cc bool ok = data && gdk_pixbuf_loader_write(loader.get(), data 31 ui/base/resource/resource_bundle_gtk.cc data->front_as<guint8>(), data->size(), NULL); data 89 ui/base/resource/resource_bundle_gtk.cc scoped_refptr<base::RefCountedStaticMemory> data( data 91 ui/base/resource/resource_bundle_gtk.cc GdkPixbuf* pixbuf = LoadPixbuf(data.get(), rtl == RTL_ENABLED); data 261 ui/base/resource/resource_bundle_unittest.cc unsigned char data[] = "My test data"; data 263 ui/base/resource/resource_bundle_unittest.cc new base::RefCountedStaticMemory(data, sizeof(data))); data 281 ui/base/resource/resource_bundle_unittest.cc char data[] = "My test data"; data 282 ui/base/resource/resource_bundle_unittest.cc base::StringPiece string_piece(data); data 293 ui/base/resource/resource_bundle_unittest.cc EXPECT_EQ(string_piece.data(), result.data()); data 300 ui/base/resource/resource_bundle_unittest.cc base::string16 data = base::ASCIIToUTF16("My test data"); data 305 ui/base/resource/resource_bundle_unittest.cc .WillOnce(Return(data)); data 308 ui/base/resource/resource_bundle_unittest.cc EXPECT_EQ(data, result); data 30 ui/base/resource/resource_data_dll_win.cc base::StringPiece* data) const { data 31 ui/base/resource/resource_data_dll_win.cc DCHECK(data); data 38 ui/base/resource/resource_data_dll_win.cc data->set(static_cast<const char*>(data_ptr), data_size); data 23 ui/base/resource/resource_data_dll_win.h base::StringPiece* data) const OVERRIDE; data 37 ui/base/resource/resource_handle.h base::StringPiece* data) const = 0; data 121 ui/base/test/ui_controls_gtk.cc GtkWindow* this_window = GTK_WINDOW(element->data); data 19 ui/base/view_prop.cc scoped_refptr<Data>* data) { data 25 ui/base/view_prop.cc *data = *i; data 31 ui/base/view_prop.cc *data = new_data.get(); data 35 ui/base/view_prop.cc void set_data(void* data) { data_ = data; } data 80 ui/base/view_prop.cc ViewProp::ViewProp(gfx::AcceleratedWidget view, const char* key, void* data) { data 82 ui/base/view_prop.cc data_->set_data(data); data 93 ui/base/view_prop.cc scoped_refptr<Data> data; data 94 ui/base/view_prop.cc Data::Get(view, key, false, &data); data 95 ui/base/view_prop.cc return data.get() ? data->data() : NULL; data 30 ui/base/view_prop.h ViewProp(gfx::AcceleratedWidget view, const char* key, void* data); data 38 ui/base/webui/jstemplate_builder.cc std::string output(html_template.data(), html_template.size()); data 47 ui/base/webui/jstemplate_builder.cc std::string output(html_template.data(), html_template.size()); data 57 ui/base/webui/jstemplate_builder.cc std::string output(html_template.data(), html_template.size()); data 103 ui/base/webui/jstemplate_builder.cc output->append(jstemplate_src.data(), jstemplate_src.size()); data 111 ui/base/webui/jstemplate_builder.cc output->append(template_id.data(), template_id.size()); data 134 ui/base/webui/jstemplate_builder.cc output->append(template_src->data(), template_src->size()); data 152 ui/base/webui/jstemplate_builder.cc output->append(i18n_process_src.data(), i18n_process_src.size()); data 53 ui/base/x/selection_owner.cc const SelectionFormatMap& data) { data 58 ui/base/x/selection_owner.cc format_map_ = data; data 43 ui/base/x/selection_owner.h void TakeOwnershipOfSelection(const SelectionFormatMap& data); data 84 ui/base/x/selection_requestor.cc scoped_refptr<base::RefCountedMemory> data; data 88 ui/base/x/selection_requestor.cc &data, data 93 ui/base/x/selection_requestor.cc return SelectionData(type, data); data 74 ui/base/x/selection_utils.cc reinterpret_cast<const unsigned char*>(str.data()); data 78 ui/base/x/selection_utils.cc std::vector<std::string> ParseURIList(const SelectionData& data) { data 81 ui/base/x/selection_utils.cc data.AssignTo(&unparsed); data 223 ui/base/x/selection_utils.cc const unsigned char* data = GetData(); data 229 ui/base/x/selection_utils.cc reinterpret_cast<const uint16_t*>(data)[0] == 0xFEFF) { data 230 ui/base/x/selection_utils.cc markup.assign(reinterpret_cast<const uint16_t*>(data) + 1, data 233 ui/base/x/selection_utils.cc base::UTF8ToUTF16(reinterpret_cast<const char*>(data), size, &markup); data 50 ui/base/x/selection_utils.h UI_BASE_EXPORT std::vector<std::string> ParseURIList(const SelectionData& data); data 433 ui/base/x/x11_util.cc XIDeviceEvent* xievent = static_cast<XIDeviceEvent*>(xev->xcookie.data); data 463 ui/base/x/x11_util.cc static_cast<XIDeviceEvent*>(next_event.xcookie.data); data 918 ui/base/x/x11_util.cc scoped_ptr<long[]> data(new long[value.size()]); data 920 ui/base/x/x11_util.cc data[i] = value[i]; data 929 ui/base/x/x11_util.cc reinterpret_cast<const unsigned char*>(data.get()), data 943 ui/base/x/x11_util.cc scoped_ptr<Atom[]> data(new Atom[value.size()]); data 945 ui/base/x/x11_util.cc data[i] = value[i]; data 954 ui/base/x/x11_util.cc reinterpret_cast<const unsigned char*>(data.get()), data 1153 ui/base/x/x11_util.cc unsigned char *data = NULL; data 1160 ui/base/x/x11_util.cc &data) != Success) { data 1165 ui/base/x/x11_util.cc if (type == XA_WINDOW && format == 32 && data && count > 0) { data 1167 ui/base/x/x11_util.cc XID* stack = reinterpret_cast<XID*>(data); data 1172 ui/base/x/x11_util.cc if (data) data 1173 ui/base/x/x11_util.cc XFree(data); data 1247 ui/base/x/x11_util.cc image->data[i + 3] = 0xff; data 1252 ui/base/x/x11_util.cc image->data, image->bytes_per_line); data 1359 ui/base/x/x11_util.cc event.xclient.data.l[0] = desktop; data 1360 ui/base/x/x11_util.cc event.xclient.data.l[1] = 1; // source indication data 503 ui/display/chromeos/x11/native_display_delegate_x11.cc unsigned char* data = reinterpret_cast<unsigned char*>(&value); data 506 ui/display/chromeos/x11/native_display_delegate_x11.cc display_, output_id, name, XA_ATOM, 32, PropModeReplace, data, 1); data 147 ui/display/chromeos/x11/touchscreen_delegate_x11.cc unsigned char* data = NULL; data 160 ui/display/chromeos/x11/touchscreen_delegate_x11.cc &data); data 161 ui/display/chromeos/x11/touchscreen_delegate_x11.cc if (data) data 162 ui/display/chromeos/x11/touchscreen_delegate_x11.cc XFree(data); data 130 ui/display/edid_parser_unittest.cc std::vector<uint8_t> data; data 132 ui/display/edid_parser_unittest.cc EXPECT_FALSE(ParseOutputOverscanFlag(data, &flag)); data 133 ui/display/edid_parser_unittest.cc data.assign(126, '\0'); data 134 ui/display/edid_parser_unittest.cc EXPECT_FALSE(ParseOutputOverscanFlag(data, &flag)); data 137 ui/display/edid_parser_unittest.cc data.assign(128, '\0'); data 139 ui/display/edid_parser_unittest.cc data[126] = '\x01'; data 140 ui/display/edid_parser_unittest.cc EXPECT_FALSE(ParseOutputOverscanFlag(data, &flag)); data 142 ui/display/edid_parser_unittest.cc data.assign(150, '\0'); data 143 ui/display/edid_parser_unittest.cc data[126] = '\x01'; data 144 ui/display/edid_parser_unittest.cc EXPECT_FALSE(ParseOutputOverscanFlag(data, &flag)); data 455 ui/events/event.cc XIDeviceEvent* xiev = static_cast<XIDeviceEvent*>(native_event->xcookie.data); data 18 ui/events/gesture_event_details.cc data.scroll_begin.x_hint = delta_x; data 19 ui/events/gesture_event_details.cc data.scroll_begin.y_hint = delta_y; data 23 ui/events/gesture_event_details.cc data.scroll_update.x = delta_x; data 24 ui/events/gesture_event_details.cc data.scroll_update.y = delta_y; data 25 ui/events/gesture_event_details.cc data.scroll_update.x_ordinal = delta_x; data 26 ui/events/gesture_event_details.cc data.scroll_update.y_ordinal = delta_y; data 30 ui/events/gesture_event_details.cc data.fling_velocity.x = delta_x; data 31 ui/events/gesture_event_details.cc data.fling_velocity.y = delta_y; data 32 ui/events/gesture_event_details.cc data.fling_velocity.x_ordinal = delta_x; data 33 ui/events/gesture_event_details.cc data.fling_velocity.y_ordinal = delta_y; data 37 ui/events/gesture_event_details.cc data.first_finger_enclosing_rectangle.width = delta_x; data 38 ui/events/gesture_event_details.cc data.first_finger_enclosing_rectangle.height = delta_y; data 42 ui/events/gesture_event_details.cc data.scale = delta_x; data 47 ui/events/gesture_event_details.cc data.swipe.left = delta_x < 0; data 48 ui/events/gesture_event_details.cc data.swipe.right = delta_x > 0; data 49 ui/events/gesture_event_details.cc data.swipe.up = delta_y < 0; data 50 ui/events/gesture_event_details.cc data.swipe.down = delta_y > 0; data 56 ui/events/gesture_event_details.cc data.tap_count = static_cast<int>(delta_x); data 80 ui/events/gesture_event_details.cc data.scroll_update.x = delta_x; data 81 ui/events/gesture_event_details.cc data.scroll_update.y = delta_y; data 82 ui/events/gesture_event_details.cc data.scroll_update.x_ordinal = delta_x_ordinal; data 83 ui/events/gesture_event_details.cc data.scroll_update.y_ordinal = delta_y_ordinal; data 87 ui/events/gesture_event_details.cc data.fling_velocity.x = delta_x; data 88 ui/events/gesture_event_details.cc data.fling_velocity.y = delta_y; data 89 ui/events/gesture_event_details.cc data.fling_velocity.x_ordinal = delta_x_ordinal; data 90 ui/events/gesture_event_details.cc data.fling_velocity.y_ordinal = delta_y_ordinal; data 103 ui/events/gesture_event_details.cc data.scroll_update.velocity_x = velocity_x; data 104 ui/events/gesture_event_details.cc data.scroll_update.velocity_y = velocity_y; data 105 ui/events/gesture_event_details.cc data.scroll_update.velocity_x_ordinal = velocity_x_ordinal; data 106 ui/events/gesture_event_details.cc data.scroll_update.velocity_y_ordinal = velocity_y_ordinal; data 45 ui/events/gesture_event_details.h return data.scroll_begin.x_hint; data 50 ui/events/gesture_event_details.h return data.scroll_begin.y_hint; data 55 ui/events/gesture_event_details.h return data.scroll_update.x; data 60 ui/events/gesture_event_details.h return data.scroll_update.y; data 66 ui/events/gesture_event_details.h return type_ == ui::ET_SCROLL_FLING_START ? data.fling_velocity.x : data 67 ui/events/gesture_event_details.h data.scroll_update.velocity_x; data 73 ui/events/gesture_event_details.h return type_ == ui::ET_SCROLL_FLING_START ? data.fling_velocity.y : data 74 ui/events/gesture_event_details.h data.scroll_update.velocity_y; data 80 ui/events/gesture_event_details.h return data.scroll_update.x_ordinal; data 85 ui/events/gesture_event_details.h return data.scroll_update.y_ordinal; data 92 ui/events/gesture_event_details.h data.fling_velocity.x_ordinal : data 93 ui/events/gesture_event_details.h data.scroll_update.velocity_x_ordinal; data 100 ui/events/gesture_event_details.h data.fling_velocity.y_ordinal : data 101 ui/events/gesture_event_details.h data.scroll_update.velocity_y_ordinal; data 106 ui/events/gesture_event_details.h return data.first_finger_enclosing_rectangle.width; data 111 ui/events/gesture_event_details.h return data.first_finger_enclosing_rectangle.height; data 116 ui/events/gesture_event_details.h return data.scale; data 121 ui/events/gesture_event_details.h return data.swipe.left; data 126 ui/events/gesture_event_details.h return data.swipe.right; data 131 ui/events/gesture_event_details.h return data.swipe.up; data 136 ui/events/gesture_event_details.h return data.swipe.down; data 143 ui/events/gesture_event_details.h return data.tap_count; data 194 ui/events/gesture_event_details.h } data; data 44 ui/events/platform/x11/x11_event_source.cc gpointer data) { data 45 ui/events/platform/x11/x11_event_source.cc X11EventSource* x11_source = static_cast<X11EventSource*>(data); data 102 ui/events/test/events_test_utils_x11.cc event->xcookie.data = new XIDeviceEvent; data 104 ui/events/test/events_test_utils_x11.cc static_cast<XIDeviceEvent*>(event->xcookie.data); data 129 ui/events/test/events_test_utils_x11.cc static_cast<XIDeviceEvent*>(event->xcookie.data); data 173 ui/events/test/events_test_utils_x11.cc XIDeviceEvent* xievent = static_cast<XIDeviceEvent*>(event_->xcookie.data); data 187 ui/events/test/events_test_utils_x11.cc XIDeviceEvent* xievent = static_cast<XIDeviceEvent*>(event_->xcookie.data); data 242 ui/events/test/events_test_utils_x11.cc XIDeviceEvent* xiev = static_cast<XIDeviceEvent*>(event_->xcookie.data); data 277 ui/events/x/device_data_manager.cc void DeviceDataManager::GetEventRawData(const XEvent& xev, EventData* data) { data 281 ui/events/x/device_data_manager.cc XIDeviceEvent* xiev = static_cast<XIDeviceEvent*>(xev.xcookie.data); data 284 ui/events/x/device_data_manager.cc data->clear(); data 291 ui/events/x/device_data_manager.cc (*data)[type] = *valuators; data 308 ui/events/x/device_data_manager.cc XIDeviceEvent* xiev = static_cast<XIDeviceEvent*>(xev.xcookie.data); data 366 ui/events/x/device_data_manager.cc static_cast<XIDeviceEvent*>(native_event->xcookie.data); data 378 ui/events/x/device_data_manager.cc static_cast<XIDeviceEvent*>(native_event->xcookie.data); data 403 ui/events/x/device_data_manager.cc static_cast<XIDeviceEvent*>(native_event->xcookie.data); data 414 ui/events/x/device_data_manager.cc static_cast<XIDeviceEvent*>(native_event->xcookie.data); data 426 ui/events/x/device_data_manager.cc static_cast<XIDeviceEvent*>(native_event->xcookie.data); data 438 ui/events/x/device_data_manager.cc static_cast<XIDeviceEvent*>(native_event->xcookie.data); data 454 ui/events/x/device_data_manager.cc EventData data; data 455 ui/events/x/device_data_manager.cc GetEventRawData(*native_event, &data); data 457 ui/events/x/device_data_manager.cc if (data.find(DT_CMT_SCROLL_X) != data.end()) data 458 ui/events/x/device_data_manager.cc *x_offset = data[DT_CMT_SCROLL_X]; data 459 ui/events/x/device_data_manager.cc if (data.find(DT_CMT_SCROLL_Y) != data.end()) data 460 ui/events/x/device_data_manager.cc *y_offset = data[DT_CMT_SCROLL_Y]; data 461 ui/events/x/device_data_manager.cc if (data.find(DT_CMT_ORDINAL_X) != data.end()) data 462 ui/events/x/device_data_manager.cc *x_offset_ordinal = data[DT_CMT_ORDINAL_X]; data 463 ui/events/x/device_data_manager.cc if (data.find(DT_CMT_ORDINAL_Y) != data.end()) data 464 ui/events/x/device_data_manager.cc *y_offset_ordinal = data[DT_CMT_ORDINAL_Y]; data 465 ui/events/x/device_data_manager.cc if (data.find(DT_CMT_FINGER_COUNT) != data.end()) data 466 ui/events/x/device_data_manager.cc *finger_count = static_cast<int>(data[DT_CMT_FINGER_COUNT]); data 479 ui/events/x/device_data_manager.cc EventData data; data 480 ui/events/x/device_data_manager.cc GetEventRawData(*native_event, &data); data 482 ui/events/x/device_data_manager.cc if (data.find(DT_CMT_FLING_X) != data.end()) data 483 ui/events/x/device_data_manager.cc *vx = data[DT_CMT_FLING_X]; data 484 ui/events/x/device_data_manager.cc if (data.find(DT_CMT_FLING_Y) != data.end()) data 485 ui/events/x/device_data_manager.cc *vy = data[DT_CMT_FLING_Y]; data 486 ui/events/x/device_data_manager.cc if (data.find(DT_CMT_FLING_STATE) != data.end()) data 487 ui/events/x/device_data_manager.cc *is_cancel = !!static_cast<unsigned int>(data[DT_CMT_FLING_STATE]); data 488 ui/events/x/device_data_manager.cc if (data.find(DT_CMT_ORDINAL_X) != data.end()) data 489 ui/events/x/device_data_manager.cc *vx_ordinal = data[DT_CMT_ORDINAL_X]; data 490 ui/events/x/device_data_manager.cc if (data.find(DT_CMT_ORDINAL_Y) != data.end()) data 491 ui/events/x/device_data_manager.cc *vy_ordinal = data[DT_CMT_ORDINAL_Y]; data 501 ui/events/x/device_data_manager.cc EventData data; data 502 ui/events/x/device_data_manager.cc GetEventRawData(*native_event, &data); data 504 ui/events/x/device_data_manager.cc if (data.find(DT_CMT_METRICS_TYPE) != data.end()) { data 505 ui/events/x/device_data_manager.cc int val = static_cast<int>(data[DT_CMT_METRICS_TYPE]); data 511 ui/events/x/device_data_manager.cc if (data.find(DT_CMT_METRICS_DATA1) != data.end()) data 512 ui/events/x/device_data_manager.cc *data1 = data[DT_CMT_METRICS_DATA1]; data 513 ui/events/x/device_data_manager.cc if (data.find(DT_CMT_METRICS_DATA2) != data.end()) data 514 ui/events/x/device_data_manager.cc *data2 = data[DT_CMT_METRICS_DATA2]; data 534 ui/events/x/device_data_manager.cc EventData data; data 535 ui/events/x/device_data_manager.cc GetEventRawData(*native_event, &data); data 537 ui/events/x/device_data_manager.cc if (data.find(DT_CMT_START_TIME) != data.end()) data 538 ui/events/x/device_data_manager.cc *start_time = data[DT_CMT_START_TIME]; data 539 ui/events/x/device_data_manager.cc if (data.find(DT_CMT_END_TIME) != data.end()) data 540 ui/events/x/device_data_manager.cc *end_time = data[DT_CMT_END_TIME]; data 122 ui/events/x/device_data_manager.h void GetEventRawData(const XEvent& xev, EventData* data); data 105 ui/events/x/events_x.cc static_cast<XIDeviceEvent*>(native_event->xcookie.data); data 120 ui/events/x/events_x.cc static_cast<XIDeviceEvent*>(native_event->xcookie.data)->sourceid; data 186 ui/events/x/events_x.cc static_cast<XIDeviceEvent*>(native_event->xcookie.data); data 274 ui/events/x/events_x.cc static_cast<XIDeviceEvent*>(native_event->xcookie.data); data 348 ui/events/x/events_x.cc static_cast<XIDeviceEvent*>(native_event->xcookie.data); data 414 ui/events/x/events_x.cc static_cast<XIDeviceEvent*>(native_event->xcookie.data); data 436 ui/events/x/events_x.cc static_cast<XIDeviceEvent*>(native_event->xcookie.data); data 463 ui/events/x/events_x.cc static_cast<XIDeviceEvent*>(native_event->xcookie.data); data 474 ui/events/x/events_x.cc static_cast<XIDeviceEvent*>(native_event->xcookie.data); data 497 ui/events/x/events_x.cc static_cast<XIDeviceEvent*>(native_event->xcookie.data); data 585 ui/events/x/events_x.cc static_cast<XIDeviceEvent*>(native_event->xcookie.data)->sourceid; data 167 ui/events/x/touch_factory_x11.cc XIEvent* event = static_cast<XIEvent*>(xev->xcookie.data); data 140 ui/gfx/codec/png_codec.cc png_bytep data) { data 148 ui/gfx/codec/png_codec.cc unsigned char* const end = data + row_info->rowbytes; data 149 ui/gfx/codec/png_codec.cc for (unsigned char* p = data; p < end; p += channels) { data 489 ui/gfx/codec/png_codec.cc void EncoderWriteCallback(png_structp png, png_bytep data, png_size_t size) { data 495 ui/gfx/codec/png_codec.cc memcpy(&(*state->out)[old_size], data, size); data 23 ui/gfx/codec/png_codec_unittest.cc void MakeRGBImage(int w, int h, std::vector<unsigned char>* data) { data 24 ui/gfx/codec/png_codec_unittest.cc data->resize(w * h * 3); data 27 ui/gfx/codec/png_codec_unittest.cc unsigned char* org_px = &(*data)[(y * w + x) * 3]; data 40 ui/gfx/codec/png_codec_unittest.cc std::vector<unsigned char>* data) { data 41 ui/gfx/codec/png_codec_unittest.cc data->resize(w * h * 4); data 44 ui/gfx/codec/png_codec_unittest.cc unsigned char* org_px = &(*data)[(y * w + x) * 4]; data 58 ui/gfx/codec/png_codec_unittest.cc std::vector<unsigned char>* data, data 61 ui/gfx/codec/png_codec_unittest.cc data->resize(w * h); data 71 ui/gfx/codec/png_codec_unittest.cc (*data)[y * w + x] = x; // palette index data 84 ui/gfx/codec/png_codec_unittest.cc std::vector<unsigned char>* data) { data 85 ui/gfx/codec/png_codec_unittest.cc data->resize(w * h); data 88 ui/gfx/codec/png_codec_unittest.cc (*data)[y * w + x] = x; // gray value data 95 ui/gfx/codec/png_codec_unittest.cc std::vector<unsigned char>* data) { data 96 ui/gfx/codec/png_codec_unittest.cc data->resize(w * h * 2); data 99 ui/gfx/codec/png_codec_unittest.cc unsigned char* px = &(*data)[(y * w + x) * 2]; data 109 ui/gfx/codec/png_codec_unittest.cc png_bytep data, data 114 ui/gfx/codec/png_codec_unittest.cc memcpy(&v[v.size() - length], data, length); data 31 ui/gfx/color_profile_win.cc profile->assign(profileData.data(), profileData.data() + length); data 32 ui/gfx/geometry/matrix3_f.cc double Determinant3x3(T data[M_END]) { data 37 ui/gfx/geometry/matrix3_f.cc static_cast<double>(data[M00]) * ( data 38 ui/gfx/geometry/matrix3_f.cc static_cast<double>(data[M11]) * data[M22] - data 39 ui/gfx/geometry/matrix3_f.cc static_cast<double>(data[M12]) * data[M21]) + data 40 ui/gfx/geometry/matrix3_f.cc static_cast<double>(data[M01]) * ( data 41 ui/gfx/geometry/matrix3_f.cc static_cast<double>(data[M12]) * data[M20] - data 42 ui/gfx/geometry/matrix3_f.cc static_cast<double>(data[M10]) * data[M22]) + data 43 ui/gfx/geometry/matrix3_f.cc static_cast<double>(data[M02]) * ( data 44 ui/gfx/geometry/matrix3_f.cc static_cast<double>(data[M10]) * data[M21] - data 45 ui/gfx/geometry/matrix3_f.cc static_cast<double>(data[M11]) * data[M20]); data 222 ui/gfx/gtk_preserve_window.cc GtkFixedChild *child = reinterpret_cast<GtkFixedChild*>(children->data); data 514 ui/gfx/icon_util.cc std::string data(buffer.begin(), buffer.end()); data 515 ui/gfx/icon_util.cc return base::ImportantFileWriter::WriteFileAtomically(icon_path, data); data 103 ui/gfx/icon_util_unittest.cc reinterpret_cast<const IconUtil::ICONDIR*>(icon_data.data()); data 130 ui/gfx/icon_util_unittest.cc icon_data.data() + png_entry->dwImageOffset); data 109 ui/gfx/image/image.cc png_bytes->data().assign(image, image + image_size); data 179 ui/gfx/image/image.cc &png_bytes->data())) { data 604 ui/gfx/image/image.cc raw_data->data().assign(input, input + input_size); data 861 ui/gfx/image/image.cc copy->data().assign(original->front(), original->front() + original->size()); data 19 ui/gfx/image/image_png_rep.cc ImagePNGRep::ImagePNGRep(const scoped_refptr<base::RefCountedMemory>& data, data 21 ui/gfx/image/image_png_rep.cc : raw_data(data), data 19 ui/gfx/image/image_png_rep.h ImagePNGRep(const scoped_refptr<base::RefCountedMemory>& data, data 334 ui/gfx/image/image_unittest.cc invalid_bytes->data().push_back('0'); data 345 ui/gfx/image/image_unittest.cc invalid_bytes->data().push_back('0'); data 73 ui/gfx/image/image_unittest_util.cc PNGCodec::EncodeBGRASkBitmap(bitmap, false, &bytes->data()); data 79 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc void* data) OVERRIDE { data 80 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc static_cast<gfx::HardwareDisplayController*>(data)->get_surface() data 57 ui/gfx/ozone/dri/dri_surface_unittest.cc void* data) OVERRIDE { data 77 ui/gfx/ozone/dri/dri_wrapper.cc void* data) { data 83 ui/gfx/ozone/dri/dri_wrapper.cc data); data 65 ui/gfx/ozone/dri/dri_wrapper.h virtual bool PageFlip(uint32_t crtc_id, uint32_t framebuffer, void* data); data 86 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc void* data) OVERRIDE { data 237 ui/gfx/pango_util.cc pango_layout_set_text(layout, utf8.data(), utf8.size()); data 1130 ui/gfx/render_text.cc U16_SET_CP_START(text_.data(), 0, start); data 1133 ui/gfx/render_text.cc U16_NEXT(text_.data(), end, text_.length(), unused_char); data 128 ui/gfx/render_text_pango.cc PangoItem* item = reinterpret_cast<PangoLayoutRun*>(it->data)->item; data 160 ui/gfx/render_text_pango.cc PangoItem* item = reinterpret_cast<PangoLayoutRun*>(run->data)->item; data 180 ui/gfx/render_text_pango.cc PangoItem* item = reinterpret_cast<PangoLayoutRun*>(run->data)->item; data 203 ui/gfx/render_text_pango.cc PangoItem* item = reinterpret_cast<PangoLayoutRun*>(run->data)->item; data 426 ui/gfx/render_text_pango.cc PangoLayoutRun* run = reinterpret_cast<PangoLayoutRun*>(it->data); data 502 ui/gfx/render_text_pango.cc PangoItem* item = reinterpret_cast<PangoLayoutRun*>(run->data)->item; data 39 ui/gfx/screen_gtk.cc glong* data = reinterpret_cast<glong*>(raw_data); data 40 ui/gfx/screen_gtk.cc gint x = data[0]; data 41 ui/gfx/screen_gtk.cc gint y = data[1]; data 42 ui/gfx/screen_gtk.cc gint width = data[2]; data 43 ui/gfx/screen_gtk.cc gint height = data[3]; data 102 ui/gfx/screen_gtk.cc gpointer data = NULL; data 103 ui/gfx/screen_gtk.cc gdk_window_get_user_data(window, &data); data 104 ui/gfx/screen_gtk.cc GtkWidget* widget = reinterpret_cast<GtkWidget*>(data); data 40 ui/gfx/screen_win.cc LPARAM data) { data 42 ui/gfx/screen_win.cc reinterpret_cast<std::vector<gfx::Display>*>(data); data 75 ui/gfx/text_elider.cc U16_SET_CP_START(text_.data(), 0, index); data 82 ui/gfx/text_elider.cc U16_SET_CP_LIMIT(text_.data(), 0, index, text_.length()); data 20 ui/gfx/x/x11_types.cc const uint8* data, data 25 ui/gfx/x/x11_types.cc data, width, height, data 52 ui/gfx/x/x11_types.cc const uint8* data, data 85 ui/gfx/x/x11_types.cc image.data = const_cast<char*>(reinterpret_cast<const char*>(data)); data 101 ui/gfx/x/x11_types.cc const uint32_t* bitmap_in = reinterpret_cast<const uint32_t*>(data); data 112 ui/gfx/x/x11_types.cc image.data = reinterpret_cast<char*>(orig_bitmap32); data 127 ui/gfx/x/x11_types.cc const uint32_t* bitmap_in = reinterpret_cast<const uint32_t*>(data); data 138 ui/gfx/x/x11_types.cc image.data = reinterpret_cast<char*>(orig_bitmap16); data 33 ui/gfx/x/x11_types.h const uint8* data, data 43 ui/gfx/x/x11_types.h const uint8* data, data 83 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLBufferData(GLenum target, GLsizeiptr size, const void* data, data 85 ui/gl/gl_bindings_skia_in_process.cc glBufferData(target, size, data, usage); data 89 ui/gl/gl_bindings_skia_in_process.cc const void* data) { data 90 ui/gl/gl_bindings_skia_in_process.cc glBufferSubData(target, offset, size, data); data 122 ui/gl/gl_bindings_skia_in_process.cc GLsizei imageSize, const void* data) { data 124 ui/gl/gl_bindings_skia_in_process.cc imageSize, data); data 551 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc base::FilePath path(static_cast<char*>(iter->data)); data 552 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc g_free(iter->data); data 514 ui/shell_dialogs/select_file_dialog_win.cc LPARAM data); data 720 ui/shell_dialogs/select_file_dialog_win.cc LPARAM data) { data 724 ui/shell_dialogs/select_file_dialog_win.cc SendMessage(window, BFFM_SETSELECTION, TRUE, (LPARAM)data); data 63 ui/snapshot/snapshot_aura.cc &png_data->data())) { data 157 ui/snapshot/snapshot_aura_unittest.cc image_ = gfx::Image::CreateFrom1xPNGBytes(&(png_data->data()[0]), data 19 ui/snapshot/snapshot_gtk.cc const unsigned char* data, data 26 ui/snapshot/snapshot_gtk.cc memcpy(&(*png_representation)[old_size], data, length); data 63 ui/snapshot/snapshot_gtk.cc reinterpret_cast<unsigned char*>(image->data), data 61 ui/views/animation/bounds_animator.cc Data& data = data_[view]; data 62 ui/views/animation/bounds_animator.cc data.start_bounds = view->bounds(); data 63 ui/views/animation/bounds_animator.cc data.target_bounds = target; data 64 ui/views/animation/bounds_animator.cc data.animation = CreateAnimation(); data 66 ui/views/animation/bounds_animator.cc animation_to_view_[data.animation] = view; data 68 ui/views/animation/bounds_animator.cc data.animation->Show(); data 176 ui/views/animation/bounds_animator.cc void BoundsAnimator::CleanupData(bool send_cancel, Data* data, View* view) { data 177 ui/views/animation/bounds_animator.cc if (send_cancel && data->delegate) data 178 ui/views/animation/bounds_animator.cc data->delegate->AnimationCanceled(data->animation); data 180 ui/views/animation/bounds_animator.cc if (data->delete_delegate_when_done) { data 181 ui/views/animation/bounds_animator.cc delete static_cast<OwnedAnimationDelegate*>(data->delegate); data 182 ui/views/animation/bounds_animator.cc data->delegate = NULL; data 185 ui/views/animation/bounds_animator.cc if (data->animation) { data 186 ui/views/animation/bounds_animator.cc data->animation->set_delegate(NULL); data 187 ui/views/animation/bounds_animator.cc delete data->animation; data 188 ui/views/animation/bounds_animator.cc data->animation = NULL; data 213 ui/views/animation/bounds_animator.cc Data data = data_[view]; data 217 ui/views/animation/bounds_animator.cc if (data.delegate) { data 219 ui/views/animation/bounds_animator.cc data.delegate->AnimationEnded(animation); data 222 ui/views/animation/bounds_animator.cc data.delegate->AnimationCanceled(animation); data 226 ui/views/animation/bounds_animator.cc CleanupData(false, &data, view); data 234 ui/views/animation/bounds_animator.cc const Data& data = data_[view]; data 236 ui/views/animation/bounds_animator.cc animation->CurrentValueBetween(data.start_bounds, data.target_bounds); data 247 ui/views/animation/bounds_animator.cc if (data.delegate) data 248 ui/views/animation/bounds_animator.cc data.delegate->AnimationProgressed(animation); data 151 ui/views/animation/bounds_animator.h void CleanupData(bool send_cancel, Data* data, View* view); data 26 ui/views/button_drag_utils.cc ui::OSExchangeData* data, data 28 ui/views/button_drag_utils.cc DCHECK(url.is_valid() && data); data 30 ui/views/button_drag_utils.cc data->SetURL(url, title); data 51 ui/views/button_drag_utils.cc gfx::Vector2d(prefsize.width() / 2, prefsize.height() / 2), data); data 32 ui/views/button_drag_utils.h ui::OSExchangeData* data, data 722 ui/views/controls/menu/menu_controller.cc bool MenuController::CanDrop(SubmenuView* source, const OSExchangeData& data) { data 724 ui/views/controls/menu/menu_controller.cc data); data 1041 ui/views/controls/menu/menu_controller.cc OSExchangeData data; data 1042 ui/views/controls/menu/menu_controller.cc item->GetDelegate()->WriteDragData(item, &data); data 1045 ui/views/controls/menu/menu_controller.cc &data); data 1050 ui/views/controls/menu/menu_controller.cc item->GetWidget()->RunShellDrag(NULL, data, widget_loc, drag_ops, data 125 ui/views/controls/menu/menu_controller.h bool CanDrop(SubmenuView* source, const ui::OSExchangeData& data); data 90 ui/views/controls/menu/menu_delegate.cc bool MenuDelegate::CanDrop(MenuItemView* menu, const OSExchangeData& data) { data 123 ui/views/controls/menu/menu_delegate.cc void MenuDelegate::WriteDragData(MenuItemView* sender, OSExchangeData* data) { data 158 ui/views/controls/menu/menu_delegate.h virtual bool CanDrop(MenuItemView* menu, const OSExchangeData& data); data 194 ui/views/controls/menu/menu_delegate.h virtual void WriteDragData(MenuItemView* sender, OSExchangeData* data); data 49 ui/views/controls/menu/menu_scroll_view_container.cc virtual bool CanDrop(const OSExchangeData& data) OVERRIDE { data 173 ui/views/controls/menu/native_menu_win.cc NativeMenuWin::ItemData* data = GetItemData(measure_item_struct->itemData); data 174 ui/views/controls/menu/native_menu_win.cc if (data) { data 177 ui/views/controls/menu/native_menu_win.cc gfx::GetStringWidth(data->label, font_list) + data 180 ui/views/controls/menu/native_menu_win.cc if (data->submenu.get()) data 183 ui/views/controls/menu/native_menu_win.cc if (data->label.find(L'\t') != base::string16::npos) data 212 ui/views/controls/menu/native_menu_win.cc NativeMenuWin::ItemData* data = GetItemData(draw_item_struct->itemData); data 239 ui/views/controls/menu/native_menu_win.cc base::string16 label = data->label; data 246 ui/views/controls/menu/native_menu_win.cc DrawTextEx(dc, const_cast<wchar_t*>(label.data()), data 249 ui/views/controls/menu/native_menu_win.cc DrawTextEx(dc, const_cast<wchar_t*>(accel.data()), data 255 ui/views/controls/menu/native_menu_win.cc data->native_menu_win->model_->GetTypeAt(data->model_index); data 260 ui/views/controls/menu/native_menu_win.cc if (data->native_menu_win->model_->GetIconAt(data->model_index, &icon)) { data 273 ui/views/controls/menu/native_menu_win.cc data->native_menu_win->model_->IsItemCheckedAt( data 274 ui/views/controls/menu/native_menu_win.cc data->model_index)) { data 199 ui/views/controls/menu/submenu_view.cc bool SubmenuView::CanDrop(const OSExchangeData& data) { data 201 ui/views/controls/menu/submenu_view.cc return GetMenuItem()->GetMenuController()->CanDrop(this, data); data 72 ui/views/controls/menu/submenu_view.h virtual bool CanDrop(const OSExchangeData& data) OVERRIDE; data 739 ui/views/controls/textfield/textfield.cc bool Textfield::CanDrop(const OSExchangeData& data) { data 744 ui/views/controls/textfield/textfield.cc data.HasAnyFormat(formats, custom_formats); data 748 ui/views/controls/textfield/textfield.cc DCHECK(CanDrop(event.data())); data 774 ui/views/controls/textfield/textfield.cc DCHECK(CanDrop(event.data())); data 778 ui/views/controls/textfield/textfield.cc int drag_operation = controller_->OnDrop(event.data()); data 792 ui/views/controls/textfield/textfield.cc event.data().GetString(&new_text); data 930 ui/views/controls/textfield/textfield.cc OSExchangeData* data) { data 932 ui/views/controls/textfield/textfield.cc data->SetString(selected_text); data 951 ui/views/controls/textfield/textfield.cc drag_utils::SetDragImageOnDataObject(*canvas, label.size(), kOffset, data); data 953 ui/views/controls/textfield/textfield.cc controller_->OnWriteDragData(data); data 197 ui/views/controls/textfield/textfield.h virtual bool CanDrop(const ui::OSExchangeData& data) OVERRIDE; data 224 ui/views/controls/textfield/textfield.h ui::OSExchangeData* data) OVERRIDE; data 22 ui/views/controls/textfield/textfield_controller.cc int TextfieldController::OnDrop(const ui::OSExchangeData& data) { data 62 ui/views/controls/textfield/textfield_controller.h virtual void OnWriteDragData(ui::OSExchangeData* data) {} data 77 ui/views/controls/textfield/textfield_controller.h virtual int OnDrop(const ui::OSExchangeData& data); data 752 ui/views/controls/textfield/textfield_unittest.cc ui::OSExchangeData data; data 754 ui/views/controls/textfield/textfield_unittest.cc data.SetString(string); data 763 ui/views/controls/textfield/textfield_unittest.cc EXPECT_FALSE(textfield_->CanDrop(data)); data 771 ui/views/controls/textfield/textfield_unittest.cc EXPECT_FALSE(textfield_->CanDrop(data)); data 778 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->CanDrop(data)); data 780 ui/views/controls/textfield/textfield_unittest.cc ui::DropTargetEvent drop(data, drop_point, drop_point, data 806 ui/views/controls/textfield/textfield_unittest.cc ui::OSExchangeData data; data 810 ui/views/controls/textfield/textfield_unittest.cc textfield_->WriteDragDataForView(NULL, kStringPoint, &data); data 811 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(data.GetString(&string)); data 852 ui/views/controls/textfield/textfield_unittest.cc ui::OSExchangeData data; data 869 ui/views/controls/textfield/textfield_unittest.cc textfield_->WriteDragDataForView(NULL, click_a.location(), &data); data 870 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(data.GetString(&string)); data 878 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->CanDrop(data)); data 879 ui/views/controls/textfield/textfield_unittest.cc ui::DropTargetEvent drop_a(data, kDropPoint, kDropPoint, operations); data 905 ui/views/controls/textfield/textfield_unittest.cc ui::OSExchangeData data; data 922 ui/views/controls/textfield/textfield_unittest.cc textfield_->WriteDragDataForView(NULL, click_a.location(), &data); data 923 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(data.GetString(&string)); data 930 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->CanDrop(data)); data 932 ui/views/controls/textfield/textfield_unittest.cc ui::DropTargetEvent drop_a(data, drop_point, drop_point, operations); data 963 ui/views/controls/textfield/textfield_unittest.cc ui::OSExchangeData data; data 964 ui/views/controls/textfield/textfield_unittest.cc textfield_->WriteDragDataForView(NULL, click.location(), &data); data 965 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->CanDrop(data)); data 968 ui/views/controls/textfield/textfield_unittest.cc ui::DropTargetEvent drop(data, drop_point, drop_point, data 29 ui/views/drag_controller.h ui::OSExchangeData* data) = 0; data 33 ui/views/drag_utils.cc const ui::OSExchangeData& data, data 42 ui/views/drag_utils.cc data, root_window, view, root_location, operation, source); data 27 ui/views/drag_utils.h const ui::OSExchangeData& data, data 1260 ui/views/view.cc bool View::CanDrop(const OSExchangeData& data) { data 1609 ui/views/view.cc void View::WriteDragData(const gfx::Point& press_pt, OSExchangeData* data) { data 1611 ui/views/view.cc drag_controller_->WriteDragDataForView(this, press_pt, data); data 2350 ui/views/view.cc OSExchangeData data; data 2351 ui/views/view.cc WriteDragData(press_pt, &data); data 2357 ui/views/view.cc widget->RunShellDrag(this, data, widget_location, drag_operations, source); data 899 ui/views/view.h virtual bool CanDrop(const OSExchangeData& data); data 1186 ui/views/view.h virtual void WriteDragData(const gfx::Point& press_pt, OSExchangeData* data); data 248 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc source_window_(event.data.l[0]), data 252 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc bool get_types = ((event.data.l[1] & 1) != 0); data 263 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc if (event.data.l[2+i] != None) { data 264 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc unfetched_targets_.push_back(event.data.l[2+i]); data 342 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc scoped_refptr<base::RefCountedMemory> data; data 345 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc &data, NULL, NULL, &type)) { data 346 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc fetched_targets_.Insert(event.target, data); data 465 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc int version = (event.data.l[1] & 0xff000000) >> 24; data 493 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc unsigned long source_window = event.data.l[0]; data 494 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc int x_root_window = event.data.l[2] >> 16; data 495 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc int y_root_window = event.data.l[2] & 0xffff; data 496 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc ::Atom suggested_action = event.data.l[4]; data 514 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc unsigned long source_window = event.data.l[0]; data 521 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc if (event.data.l[1] & 1) { data 522 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc ::Atom atom_operation = event.data.l[4]; data 569 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc negotiated_operation_[event.data.l[0]]); data 577 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc unsigned long source_window = event.data.l[0]; data 584 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc ui::OSExchangeData data(new ui::OSExchangeDataProviderAuraX11( data 587 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc ui::DropTargetEvent event(data, data 603 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[0] = xwindow_; data 604 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[1] = (drag_operation != 0) ? 1 : 0; data 605 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[2] = DragOperationToAtom(drag_operation); data 621 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc const ui::OSExchangeData& data, data 635 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc const ui::OSExchangeData::Provider* provider = &data.provider(); data 791 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc scoped_ptr<ui::OSExchangeData>* data, data 814 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc data->reset(new OSExchangeData(new ui::OSExchangeDataProviderAuraX11( data 823 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc *(data->get()), data 885 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc scoped_ptr<ui::OSExchangeData> data; data 888 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc DragTranslate(screen_point, &data, &drop_target_event, &delegate); data 903 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[0] = xwindow_; data 904 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[1] = (drag_operation != 0) ? data 906 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[2] = 0; data 907 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[3] = 0; data 908 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[4] = DragOperationToAtom(drag_operation); data 919 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[0] = xwindow_; data 920 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[1] = (kMinXdndVersion << 24); // The version number. data 921 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[2] = 0; data 922 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[3] = 0; data 923 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[4] = 0; data 929 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[1] |= 1; data 934 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[2 + i] = targets[i]; data 952 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[0] = xwindow_; data 953 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[1] = 0; data 954 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[2] = 0; data 955 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[3] = 0; data 956 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[4] = 0; data 971 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[0] = xwindow_; data 972 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[1] = 0; data 973 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[2] = (screen_point.x() << 16) | screen_point.y(); data 974 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[3] = time; data 975 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[4] = DragOperationToAtom(drag_operation_); data 985 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[0] = xwindow_; data 986 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[1] = 0; data 987 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[2] = CurrentTime; data 988 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[3] = None; data 989 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.data.l[4] = None; data 78 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h const ui::OSExchangeData& data, data 129 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h scoped_ptr<ui::OSExchangeData>* data, data 28 ui/views/widget/desktop_aura/desktop_drag_drop_client_win.cc const ui::OSExchangeData& data, data 40 ui/views/widget/desktop_aura/desktop_drag_drop_client_win.cc ui::OSExchangeDataProviderWin::GetIDataObject(data), data 28 ui/views/widget/desktop_aura/desktop_drag_drop_client_win.h const ui::OSExchangeData& data, data 39 ui/views/widget/desktop_aura/desktop_drop_target_win.cc scoped_ptr<OSExchangeData> data; data 43 ui/views/widget/desktop_aura/desktop_drop_target_win.cc Translate(data_object, key_state, position, effect, &data, &event, &delegate); data 53 ui/views/widget/desktop_aura/desktop_drop_target_win.cc scoped_ptr<OSExchangeData> data; data 56 ui/views/widget/desktop_aura/desktop_drop_target_win.cc Translate(data_object, key_state, position, effect, &data, &event, &delegate); data 71 ui/views/widget/desktop_aura/desktop_drop_target_win.cc scoped_ptr<OSExchangeData> data; data 74 ui/views/widget/desktop_aura/desktop_drop_target_win.cc Translate(data_object, key_state, position, effect, &data, &event, &delegate); data 94 ui/views/widget/desktop_aura/desktop_drop_target_win.cc scoped_ptr<OSExchangeData>* data, data 119 ui/views/widget/desktop_aura/desktop_drop_target_win.cc data->reset(new OSExchangeData(new OSExchangeDataProviderWin(data_object))); data 123 ui/views/widget/desktop_aura/desktop_drop_target_win.cc *(data->get()), data 59 ui/views/widget/desktop_aura/desktop_drop_target_win.h scoped_ptr<ui::OSExchangeData>* data, data 850 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc const ui::OSExchangeData& data, data 854 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc views::RunShellDrag(content_window_, data, location, operation, source); data 1105 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc last_drop_operation_ = drop_helper_->OnDragOver(event.data(), data 1111 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc last_drop_operation_ = drop_helper_->OnDragOver(event.data(), data 1124 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc return drop_helper_->OnDrop(event.data(), event.location(), data 166 ui/views/widget/desktop_aura/desktop_native_widget_aura.h const ui::OSExchangeData& data, data 651 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc std::vector<unsigned long> data; data 654 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc SerializeImageRepresentation(window_icon.GetRepresentation(1.0f), &data); data 657 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc SerializeImageRepresentation(app_icon.GetRepresentation(1.0f), &data); data 659 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc if (data.empty()) data 662 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc ui::SetAtomArrayProperty(xwindow_, "_NET_WM_ICON", "CARDINAL", data); data 1114 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc xclient.xclient.data.l[0] = data 1116 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc xclient.xclient.data.l[1] = state1; data 1117 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc xclient.xclient.data.l[2] = state2; data 1118 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc xclient.xclient.data.l[3] = 1; data 1119 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc xclient.xclient.data.l[4] = 0; data 1242 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc std::vector<unsigned long>* data) { data 1244 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc data->push_back(width); data 1247 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc data->push_back(height); data 1254 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc data->push_back(bitmap.getColor(x, y)); data 1481 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc Atom protocol = static_cast<Atom>(xev->xclient.data.l[0]); data 198 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h std::vector<unsigned long>* data); data 80 ui/views/widget/desktop_aura/x11_desktop_handler.cc xclient.xclient.data.l[0] = 1; // Specified we are an app. data 81 ui/views/widget/desktop_aura/x11_desktop_handler.cc xclient.xclient.data.l[1] = CurrentTime; data 82 ui/views/widget/desktop_aura/x11_desktop_handler.cc xclient.xclient.data.l[2] = None; data 83 ui/views/widget/desktop_aura/x11_desktop_handler.cc xclient.xclient.data.l[3] = 0; data 84 ui/views/widget/desktop_aura/x11_desktop_handler.cc xclient.xclient.data.l[4] = 0; data 191 ui/views/widget/desktop_aura/x11_window_event_filter.cc event.xclient.data.l[0] = screen_location.x(); data 192 ui/views/widget/desktop_aura/x11_window_event_filter.cc event.xclient.data.l[1] = screen_location.y(); data 193 ui/views/widget/desktop_aura/x11_window_event_filter.cc event.xclient.data.l[2] = direction; data 194 ui/views/widget/desktop_aura/x11_window_event_filter.cc event.xclient.data.l[3] = 0; data 195 ui/views/widget/desktop_aura/x11_window_event_filter.cc event.xclient.data.l[4] = 0; data 29 ui/views/widget/drop_helper.cc int DropHelper::OnDragOver(const OSExchangeData& data, data 32 ui/views/widget/drop_helper.cc View* view = CalculateTargetViewImpl(root_view_location, data, true, data 39 ui/views/widget/drop_helper.cc NotifyDragEntered(data, root_view_location, drag_operation); data 42 ui/views/widget/drop_helper.cc return NotifyDragOver(data, root_view_location, drag_operation); data 50 ui/views/widget/drop_helper.cc int DropHelper::OnDrop(const OSExchangeData& data, data 66 ui/views/widget/drop_helper.cc ui::DropTargetEvent drop_event(data, view_location, view_location, data 73 ui/views/widget/drop_helper.cc const OSExchangeData& data, data 75 ui/views/widget/drop_helper.cc return CalculateTargetViewImpl(root_view_location, data, check_can_drop, data 81 ui/views/widget/drop_helper.cc const OSExchangeData& data, data 99 ui/views/widget/drop_helper.cc (!view->enabled() || !view->CanDrop(data))) { data 108 ui/views/widget/drop_helper.cc data.HasAnyFormat(formats, custom_formats) && data 109 ui/views/widget/drop_helper.cc (!check_can_drop || view->CanDrop(data))) { data 121 ui/views/widget/drop_helper.cc void DropHelper::NotifyDragEntered(const OSExchangeData& data, data 129 ui/views/widget/drop_helper.cc ui::DropTargetEvent enter_event(data, data 136 ui/views/widget/drop_helper.cc int DropHelper::NotifyDragOver(const OSExchangeData& data, data 144 ui/views/widget/drop_helper.cc ui::DropTargetEvent enter_event(data, data 49 ui/views/widget/drop_helper.h int OnDragOver(const OSExchangeData& data, data 62 ui/views/widget/drop_helper.h int OnDrop(const OSExchangeData& data, data 71 ui/views/widget/drop_helper.h const OSExchangeData& data, data 79 ui/views/widget/drop_helper.h const OSExchangeData& data, data 85 ui/views/widget/drop_helper.h void NotifyDragEntered(const OSExchangeData& data, data 88 ui/views/widget/drop_helper.h int NotifyDragOver(const OSExchangeData& data, data 601 ui/views/widget/native_widget_aura.cc const ui::OSExchangeData& data, data 606 ui/views/widget/native_widget_aura.cc views::RunShellDrag(window_, data, location, operation, source); data 918 ui/views/widget/native_widget_aura.cc last_drop_operation_ = drop_helper_->OnDragOver(event.data(), data 924 ui/views/widget/native_widget_aura.cc last_drop_operation_ = drop_helper_->OnDragOver(event.data(), data 936 ui/views/widget/native_widget_aura.cc return drop_helper_->OnDrop(event.data(), event.location(), data 121 ui/views/widget/native_widget_aura.h const ui::OSExchangeData& data, data 205 ui/views/widget/native_widget_private.h const ui::OSExchangeData& data, data 771 ui/views/widget/widget.cc const ui::OSExchangeData& data, data 776 ui/views/widget/widget.cc native_widget_->RunShellDrag(view, data, location, operation, source); data 539 ui/views/widget/widget.h const ui::OSExchangeData& data, data 33 ui/wm/public/drag_drop_client.h virtual int StartDragAndDrop(const ui::OSExchangeData& data, data 112 url/gurl.cc input_spec.data(), static_cast<int>(input_spec.length()), trim_path_end, data 117 url/gurl.cc inner_url_.reset(new GURL(spec_.data(), parsed_.Length(), data 125 url/gurl.cc new GURL(spec_.data(), parsed_.Length(), data 138 url/gurl.cc if (!url_util::FindAndCompareScheme(spec_.data(), spec_.length(), data 202 url/gurl.cc spec_.data(), static_cast<int>(spec_.length()), parsed_, data 203 url/gurl.cc relative.data(), static_cast<int>(relative.length()), data 213 url/gurl.cc new GURL(result.spec_.data(), result.parsed_.Length(), data 235 url/gurl.cc spec_.data(), static_cast<int>(spec_.length()), parsed_, data 236 url/gurl.cc relative.data(), static_cast<int>(relative.length()), data 246 url/gurl.cc new GURL(result.spec_.data(), result.parsed_.Length(), data 267 url/gurl.cc spec_.data(), static_cast<int>(spec_.length()), parsed_, replacements, data 272 url/gurl.cc result.inner_url_.reset(new GURL(spec_.data(), result.parsed_.Length(), data 293 url/gurl.cc spec_.data(), static_cast<int>(spec_.length()), parsed_, replacements, data 298 url/gurl.cc result.inner_url_.reset(new GURL(spec_.data(), result.parsed_.Length(), data 360 url/gurl.cc return url_util::IsStandard(spec_.data(), parsed_.scheme); data 366 url/gurl.cc return url_util::LowerCaseEqualsASCII(spec_.data() + parsed_.scheme.begin, data 367 url/gurl.cc spec_.data() + parsed_.scheme.end(), data 381 url/gurl.cc return url_parse::ParsePort(spec_.data(), parsed_.port); data 388 url/gurl.cc return url_canon::DefaultPortForScheme(spec_.data() + parsed_.scheme.begin, data 395 url/gurl.cc url_parse::ExtractFileName(spec_.data(), parsed_.path, &file_component); data 490 url/gurl.cc const char* last_pos = spec_.data() + parsed_.host.end() - 1; data 502 url/gurl.cc const char* start_pos = spec_.data() + parsed_.host.begin + data 71 url/url_canon.h const T* data() const { data 74 url/url_canon.h T* data() { data 53 url/url_canon_etc.cc return buffer->data(); data 173 url/url_canon_host.cc if (!IDNToASCII(url_escaped_host.data(), data 185 url/url_canon_host.cc bool success = DoSimpleHost(wide_output.data(), data 225 url/url_canon_host.cc utf8_source = &output->data()[begin_length]; data 245 url/url_canon_host.cc AppendInvalidNarrowString(utf8.data(), 0, utf8.length(), output); data 252 url/url_canon_host.cc return DoIDNHost(utf16.data(), utf16.length(), output); data 277 url/url_canon_host.cc return DoComplexHost(utf8.data(), utf8.length(), has_non_ascii, data 324 url/url_canon_host.cc CanonicalizeIPAddress(output->data(), data 333 url/url_canon_host.cc output->Append(canon_ip.data(), canon_ip.length()); data 131 url/url_canon_icu.cc char* dest = &output->data()[begin_offset]; data 170 url/url_canon_icu.cc int output_length = uidna_nameToASCII(uidna, src, src_len, output->data(), data 352 url/url_canon_internal.cc if (repl_source.scheme) source->scheme = utf8_buffer->data(); data 353 url/url_canon_internal.cc if (repl_source.username) source->username = utf8_buffer->data(); data 354 url/url_canon_internal.cc if (repl_source.password) source->password = utf8_buffer->data(); data 355 url/url_canon_internal.cc if (repl_source.host) source->host = utf8_buffer->data(); data 356 url/url_canon_internal.cc if (repl_source.port) source->port = utf8_buffer->data(); data 357 url/url_canon_internal.cc if (repl_source.path) source->path = utf8_buffer->data(); data 358 url/url_canon_internal.cc if (repl_source.query) source->query = utf8_buffer->data(); data 359 url/url_canon_internal.cc if (repl_source.ref) source->ref = utf8_buffer->data(); data 79 url/url_canon_query.cc converter->ConvertFromUTF16(utf16.data(), utf16.length(), output); data 108 url/url_canon_query.cc AppendRaw8BitQueryString(eight_bit.data(), eight_bit.length(), output); data 60 url/url_canon_stdstring.h this->SetScheme(s.data(), data 64 url/url_canon_stdstring.h this->SetUsername(s.data(), data 68 url/url_canon_stdstring.h this->SetPassword(s.data(), data 72 url/url_canon_stdstring.h this->SetHost(s.data(), data 76 url/url_canon_stdstring.h this->SetPort(s.data(), data 80 url/url_canon_stdstring.h this->SetPath(s.data(), data 84 url/url_canon_stdstring.h this->SetQuery(s.data(), data 88 url/url_canon_stdstring.h this->SetRef(s.data(), data 53 url/url_canon_stdurl.cc &output->data()[new_parsed->scheme.begin], new_parsed->scheme.len); data 36 url/url_test_utils.h EXPECT_TRUE(url_canon::ConvertUTF8ToUTF16(src.data(), length, &output)); data 37 url/url_test_utils.h return base::string16(output.data(), output.length()); data 44 url/url_test_utils.h EXPECT_TRUE(url_canon::ConvertUTF16ToUTF8(src.data(), data 256 url/url_util.cc ParsePathURL(output->data(), output->length(), true, data 319 url/url_util.cc DoCanonicalize(scheme_replaced.data(), scheme_replaced.length(), true, data 338 url/url_util.cc return DoReplaceComponents(recanonicalized.data(), recanonicalized.length(), data 556 url/url_util.cc if (url_canon::ReadUTFChar(unescaped_chars.data(), &next_character, data 77 url/url_util.h return FindAndCompareScheme(str.data(), static_cast<int>(str.size()), data 83 url/url_util.h return FindAndCompareScheme(str.data(), static_cast<int>(str.size()), data 105 url/url_util_unittest.cc url_util::ReplaceComponents(original.data(), original.length(), data 175 url/url_util_unittest.cc base::string16(output.data(), output.length()))); data 185 url/url_util_unittest.cc base::string16(zero_output.data(), zero_output.length()))); data 194 url/url_util_unittest.cc base::string16(invalid_output.data(), invalid_output.length())); data 225 url/url_util_unittest.cc std::string output(buffer.data(), buffer.length()); data 34 webkit/browser/appcache/appcache_response.cc net::WrappedIOBuffer(reinterpret_cast<const char*>(pickle->data())), data 36 webkit/browser/appcache/appcache_response.cc DCHECK(pickle->data()); data 223 webkit/browser/appcache/appcache_response.cc Pickle pickle(buffer_->data(), result); data 264 webkit/browser/appcache/appcache_response_unittest.cc (0 == memcmp(pickle1.data(), pickle2.data(), pickle1.size())); data 276 webkit/browser/appcache/appcache_response_unittest.cc void FillData(char value, char* data, int data_len) { data 277 webkit/browser/appcache/appcache_response_unittest.cc memset(data, value, data_len); data 280 webkit/browser/appcache/appcache_response_unittest.cc bool CheckData(char value, const char* data, int data_len) { data 281 webkit/browser/appcache/appcache_response_unittest.cc for (int i = 0; i < data_len; ++i, ++data) { data 282 webkit/browser/appcache/appcache_response_unittest.cc if (*data != value) data 455 webkit/browser/appcache/appcache_response_unittest.cc FillData(block_number, io_buffer->data(), kBlockSize); data 477 webkit/browser/appcache/appcache_response_unittest.cc EXPECT_TRUE(CheckData(block_number, read_buffer_->data(), kBlockSize)); data 491 webkit/browser/appcache/appcache_response_unittest.cc char* p = read_buffer_->data(); data 517 webkit/browser/appcache/appcache_response_unittest.cc EXPECT_TRUE(CheckData(2, read_buffer_->data(), kBlockSize)); data 37 webkit/browser/appcache/appcache_service_unittest.cc const char* data, int data_size) data 40 webkit/browser/appcache/appcache_service_unittest.cc data_(data), data_size_(data_size) { data 63 webkit/browser/appcache/appcache_service_unittest.cc memcpy(buf->data(), data_, data_size_); data 142 webkit/browser/appcache/appcache_service_unittest.cc const char* data = valid_data ? kMockBody : NULL; data 146 webkit/browser/appcache/appcache_service_unittest.cc data, data_size)); data 272 webkit/browser/appcache/appcache_update_job.cc manifest_data_.append(buffer_->data(), bytes_read); data 563 webkit/browser/appcache/appcache_update_job.cc if (!ParseManifest(manifest_url_, manifest_data_.data(), data 1041 webkit/browser/appcache/appcache_update_job.cc loaded_manifest_data_.append(read_manifest_buffer_->data(), result); data 447 webkit/browser/appcache/appcache_update_job_unittest.cc request, network_delegate, headers, data(), true), data 1236 webkit/browser/appcache/appcache_update_job_unittest.cc const char data[] = data 1241 webkit/browser/appcache/appcache_update_job_unittest.cc new net::HttpResponseHeaders(std::string(data, arraysize(data))); data 1296 webkit/browser/appcache/appcache_update_job_unittest.cc const char data[] = data 1301 webkit/browser/appcache/appcache_update_job_unittest.cc new net::HttpResponseHeaders(std::string(data, arraysize(data))); data 1355 webkit/browser/appcache/appcache_update_job_unittest.cc const char data[] = data 1361 webkit/browser/appcache/appcache_update_job_unittest.cc new net::HttpResponseHeaders(std::string(data, arraysize(data))); data 2709 webkit/browser/appcache/appcache_update_job_unittest.cc const char data[] = data 2713 webkit/browser/appcache/appcache_update_job_unittest.cc new net::HttpResponseHeaders(std::string(data, arraysize(data))); data 2798 webkit/browser/appcache/appcache_update_job_unittest.cc const char data[] = data 2803 webkit/browser/appcache/appcache_update_job_unittest.cc new net::HttpResponseHeaders(std::string(data, arraysize(data))); data 2861 webkit/browser/appcache/appcache_update_job_unittest.cc const char data[] = data 2866 webkit/browser/appcache/appcache_update_job_unittest.cc new net::HttpResponseHeaders(std::string(data, arraysize(data))); data 2896 webkit/browser/appcache/appcache_update_job_unittest.cc const char data[] = data 2901 webkit/browser/appcache/appcache_update_job_unittest.cc new net::HttpResponseHeaders(std::string(data, arraysize(data))); data 2934 webkit/browser/appcache/appcache_update_job_unittest.cc const char data[] = data 2940 webkit/browser/appcache/appcache_update_job_unittest.cc new net::HttpResponseHeaders(std::string(data, arraysize(data))); data 113 webkit/browser/appcache/appcache_url_request_job_unittest.cc new net::WrappedIOBuffer(received_data_->data() + amount_received_)); data 349 webkit/browser/appcache/appcache_url_request_job_unittest.cc (0 == memcmp(pickle1.data(), pickle2.data(), pickle1.size())); data 361 webkit/browser/appcache/appcache_url_request_job_unittest.cc void FillData(char value, char* data, int data_len) { data 362 webkit/browser/appcache/appcache_url_request_job_unittest.cc memset(data, value, data_len); data 365 webkit/browser/appcache/appcache_url_request_job_unittest.cc bool CheckData(char value, const char* data, int data_len) { data 366 webkit/browser/appcache/appcache_url_request_job_unittest.cc for (int i = 0; i < data_len; ++i, ++data) { data 367 webkit/browser/appcache/appcache_url_request_job_unittest.cc if (*data != value) data 579 webkit/browser/appcache/appcache_url_request_job_unittest.cc url_request_delegate_->received_data_->data(), data 611 webkit/browser/appcache/appcache_url_request_job_unittest.cc char* p = body->data(); data 625 webkit/browser/appcache/appcache_url_request_job_unittest.cc char* p = url_request_delegate_->received_data_->data(); data 683 webkit/browser/appcache/appcache_url_request_job_unittest.cc url_request_delegate_->received_data_->data(), data 77 webkit/browser/appcache/manifest_parser.cc bool ParseManifest(const GURL& manifest_url, const char* data, int length, data 101 webkit/browser/appcache/manifest_parser.cc base::CodepageToWide(std::string(data, length), base::kCodepageUTF8, data 58 webkit/browser/appcache/manifest_parser.h const char* data, data 32 webkit/browser/blob/blob_data_handle.h BlobData* data() const; // May only be accessed on the IO thread. data 46 webkit/browser/blob/blob_storage_context.cc int refcount, int flags, BlobData* data) data 47 webkit/browser/blob/blob_storage_context.cc : refcount(refcount), flags(flags), data(data) { data 70 webkit/browser/blob/blob_storage_context.cc found->second.data.get(), this, base::MessageLoopProxy::current().get())); data 84 webkit/browser/blob/blob_storage_context.cc const BlobData* data) { data 85 webkit/browser/blob/blob_storage_context.cc StartBuildingBlob(data->uuid()); data 87 webkit/browser/blob/blob_storage_context.cc data->items().begin(); data 88 webkit/browser/blob/blob_storage_context.cc iter != data->items().end(); ++iter) { data 89 webkit/browser/blob/blob_storage_context.cc AppendBlobDataItem(data->uuid(), *iter); data 91 webkit/browser/blob/blob_storage_context.cc FinishBuildingBlob(data->uuid(), data->content_type()); data 92 webkit/browser/blob/blob_storage_context.cc scoped_ptr<BlobDataHandle> handle = GetBlobDataFromUUID(data->uuid()); data 93 webkit/browser/blob/blob_storage_context.cc DecrementBlobRefCount(data->uuid()); data 130 webkit/browser/blob/blob_storage_context.cc BlobData* target_blob_data = found->second.data.get(); data 172 webkit/browser/blob/blob_storage_context.cc src->data(), data 188 webkit/browser/blob/blob_storage_context.cc found->second.data = new BlobData(uuid); data 199 webkit/browser/blob/blob_storage_context.cc found->second.data->set_content_type(content_type); data 221 webkit/browser/blob/blob_storage_context.cc DCHECK_EQ(found->second.data->uuid(), uuid); data 223 webkit/browser/blob/blob_storage_context.cc memory_usage_ -= found->second.data->GetMemoryUsage(); data 63 webkit/browser/blob/blob_storage_context.h scoped_refptr<BlobData> data; data 66 webkit/browser/blob/blob_storage_context.h BlobMapEntry(int refcount, int flags, BlobData* data); data 87 webkit/browser/blob/blob_storage_context.h const char* data, int64 length); data 126 webkit/browser/blob/blob_storage_context_unittest.cc EXPECT_TRUE(*(blob_data_handle->data()) == *blob_data1.get()); data 131 webkit/browser/blob/blob_storage_context_unittest.cc EXPECT_TRUE(*(blob_data_handle->data()) == *canonicalized_blob_data2.get()); data 149 webkit/browser/blob/blob_storage_context_unittest.cc EXPECT_EQ(kId, blob_data_handle->data()->uuid()); data 367 webkit/browser/blob/blob_url_request_job.cc memcpy(read_buf_->data(), data 74 webkit/browser/blob/blob_url_request_job_factory.cc return blob_data_handle->data(); data 86 webkit/browser/blob/blob_url_request_job_factory.cc return handle.get() ? handle->data() : NULL; data 29 webkit/browser/blob/local_file_stream_reader_unittest.cc std::string* data, size_t size, data 47 webkit/browser/blob/local_file_stream_reader_unittest.cc data->append(buf->data(), rv); data 130 webkit/browser/blob/local_file_stream_reader_unittest.cc std::string data; data 131 webkit/browser/blob/local_file_stream_reader_unittest.cc ReadFromReader(reader.get(), &data, 10, &result); data 133 webkit/browser/blob/local_file_stream_reader_unittest.cc ASSERT_EQ(0U, data.size()); data 145 webkit/browser/blob/local_file_stream_reader_unittest.cc std::string data; data 146 webkit/browser/blob/local_file_stream_reader_unittest.cc ReadFromReader(reader.get(), &data, 10, &result); data 148 webkit/browser/blob/local_file_stream_reader_unittest.cc ASSERT_EQ(0U, data.size()); data 203 webkit/browser/blob/local_file_stream_reader_unittest.cc std::string data; data 204 webkit/browser/blob/local_file_stream_reader_unittest.cc ReadFromReader(reader.get(), &data, kTestDataSize, &result); data 206 webkit/browser/blob/local_file_stream_reader_unittest.cc ASSERT_EQ(kTestData, data); data 217 webkit/browser/blob/local_file_stream_reader_unittest.cc std::string data; data 218 webkit/browser/blob/local_file_stream_reader_unittest.cc ReadFromReader(reader.get(), &data, kTestDataSize, &result); data 220 webkit/browser/blob/local_file_stream_reader_unittest.cc ASSERT_EQ(0U, data.size()); data 223 webkit/browser/blob/local_file_stream_reader_unittest.cc data.clear(); data 225 webkit/browser/blob/local_file_stream_reader_unittest.cc ReadFromReader(reader.get(), &data, kTestDataSize, &result); data 227 webkit/browser/blob/local_file_stream_reader_unittest.cc ASSERT_EQ(kTestData, data); data 234 webkit/browser/blob/local_file_stream_reader_unittest.cc std::string data; data 235 webkit/browser/blob/local_file_stream_reader_unittest.cc ReadFromReader(reader.get(), &data, kTestDataSize, &result); data 237 webkit/browser/blob/local_file_stream_reader_unittest.cc ASSERT_EQ(&kTestData[3], data); data 132 webkit/browser/blob/view_blob_internals_job.cc std::string* data, data 137 webkit/browser/blob/view_blob_internals_job.cc data->clear(); data 138 webkit/browser/blob/view_blob_internals_job.cc StartHTML(data); data 140 webkit/browser/blob/view_blob_internals_job.cc data->append(kEmptyBlobStorageMessage); data 142 webkit/browser/blob/view_blob_internals_job.cc GenerateHTML(data); data 143 webkit/browser/blob/view_blob_internals_job.cc EndHTML(data); data 153 webkit/browser/blob/view_blob_internals_job.cc GenerateHTMLForBlobData(*(iter->second.data.get()), data 35 webkit/browser/blob/view_blob_internals_job.h std::string* data, data 53 webkit/browser/fileapi/file_system_dir_url_request_job.cc memcpy(dest->data(), data_.data(), count); data 218 webkit/browser/fileapi/file_system_usage_cache.cc static_cast<const char*>(write_pickle.data()), data 46 webkit/browser/fileapi/local_file_stream_writer_unittest.cc const std::string& data) { data 47 webkit/browser/fileapi/local_file_stream_writer_unittest.cc scoped_refptr<net::StringIOBuffer> buffer(new net::StringIOBuffer(data)); data 71 webkit/browser/fileapi/local_file_stream_writer_unittest.cc const std::string& data) { data 73 webkit/browser/fileapi/local_file_stream_writer_unittest.cc base::WriteFile(path, data.c_str(), data.size()); data 225 webkit/browser/fileapi/sandbox_directory_database.cc Pickle(itr->value().data(), itr->value().size()), &file_info)) data 499 webkit/browser/fileapi/sandbox_directory_database.cc Pickle(file_data_string.data(), file_data_string.length()), info); data 628 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::Slice(reinterpret_cast<const char *>(pickle.data()), data 659 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::Slice(reinterpret_cast<const char *>(pickle.data()), data 903 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::Slice(reinterpret_cast<const char *>(pickle.data()), data 33 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc file.Write(0, static_cast<const char*>(pickle.data()), pickle.size()); data 43 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc Pickle pickle(buffer.data(), buffer.size()); data 126 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc base::WriteFile(database.primary_origin_file(), kData.data(), kData.size()); data 167 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc kFakeDirectoryData1.data(), data 173 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc kFakeDirectoryData2.data(), data 684 webkit/browser/quota/quota_manager_unittest.cc const MockOriginData data[] = { data 688 webkit/browser/quota/quota_manager_unittest.cc MockStorageClient* client = CreateClient(data, ARRAYSIZE_UNSAFE(data), data 79 webkit/child/multipart_response_delegate.cc void MultipartResponseDelegate::OnReceivedData(const char* data, data 88 webkit/child/multipart_response_delegate.cc data_.append(data, data_len); data 145 webkit/child/multipart_response_delegate.cc data_.data(), data 180 webkit/child/multipart_response_delegate.cc data_.data(), data 193 webkit/child/multipart_response_delegate.cc data_.data(), data 200 webkit/child/multipart_response_delegate.cc int MultipartResponseDelegate::PushOverLine(const std::string& data, data 203 webkit/child/multipart_response_delegate.cc if (pos < data.length() && (data[pos] == '\r' || data[pos] == '\n')) { data 205 webkit/child/multipart_response_delegate.cc if (pos + 1 < data.length() && data[pos + 1] == '\n') data 76 webkit/child/multipart_response_delegate.h void OnReceivedData(const char* data, int data_len, int encoded_data_length); data 114 webkit/child/multipart_response_delegate.h int PushOverLine(const std::string& data, size_t pos); data 34 webkit/child/multipart_response_delegate_unittest.cc int PushOverLine(const std::string& data, size_t pos) { data 35 webkit/child/multipart_response_delegate_unittest.cc return delegate_->PushOverLine(data, pos); data 71 webkit/child/multipart_response_delegate_unittest.cc const char* data, data 75 webkit/child/multipart_response_delegate_unittest.cc data_.append(data, data_length); data 137 webkit/child/multipart_response_delegate_unittest.cc const char* data; data 153 webkit/child/multipart_response_delegate_unittest.cc delegate_tester.data().assign(header_tests[i].data); data 159 webkit/child/multipart_response_delegate_unittest.cc delegate_tester.data()); data 165 webkit/child/multipart_response_delegate_unittest.cc delegate_tester.data().assign(test_header); data 167 webkit/child/multipart_response_delegate_unittest.cc EXPECT_TRUE(delegate_tester.data().length() == 0); data 176 webkit/child/multipart_response_delegate_unittest.cc delegate_tester.data().assign(test_header2); data 178 webkit/child/multipart_response_delegate_unittest.cc EXPECT_TRUE(delegate_tester.data().length() == 0); data 187 webkit/child/multipart_response_delegate_unittest.cc const char* data; data 199 webkit/child/multipart_response_delegate_unittest.cc delegate_tester.data().assign(boundary_tests[i].data); data 289 webkit/child/multipart_response_delegate_unittest.cc string data( data 295 webkit/child/multipart_response_delegate_unittest.cc delegate.OnReceivedData(data.c_str(), data 296 webkit/child/multipart_response_delegate_unittest.cc static_cast<int>(data.length()), data 297 webkit/child/multipart_response_delegate_unittest.cc static_cast<int>(data.length())); data 301 webkit/child/multipart_response_delegate_unittest.cc EXPECT_EQ(static_cast<int>(data.length()), client.total_encoded_data_length_); data 323 webkit/child/multipart_response_delegate_unittest.cc const string data( data 340 webkit/child/multipart_response_delegate_unittest.cc string chunk = data.substr(chunks[i].start_pos, data 454 webkit/child/multipart_response_delegate_unittest.cc string data( data 460 webkit/child/multipart_response_delegate_unittest.cc delegate.OnReceivedData(data.c_str(), data 461 webkit/child/multipart_response_delegate_unittest.cc static_cast<int>(data.length()), data 462 webkit/child/multipart_response_delegate_unittest.cc static_cast<int>(data.length())); data 466 webkit/child/multipart_response_delegate_unittest.cc EXPECT_EQ(static_cast<int>(data.length()), client.total_encoded_data_length_); data 481 webkit/child/multipart_response_delegate_unittest.cc string data("--bound\r\n\r\n--bound\r\n\r\nfoofoo--bound--"); data 482 webkit/child/multipart_response_delegate_unittest.cc delegate.OnReceivedData(data.c_str(), data 483 webkit/child/multipart_response_delegate_unittest.cc static_cast<int>(data.length()), data 484 webkit/child/multipart_response_delegate_unittest.cc static_cast<int>(data.length())); data 488 webkit/child/multipart_response_delegate_unittest.cc EXPECT_EQ(static_cast<int>(data.length()), client.total_encoded_data_length_); data 649 webkit/child/multipart_response_delegate_unittest.cc string data( data 654 webkit/child/multipart_response_delegate_unittest.cc delegate.OnReceivedData(data.c_str(), data 655 webkit/child/multipart_response_delegate_unittest.cc static_cast<int>(data.length()), data 656 webkit/child/multipart_response_delegate_unittest.cc static_cast<int>(data.length())); data 659 webkit/child/multipart_response_delegate_unittest.cc EXPECT_EQ(static_cast<int>(data.length()), client.total_encoded_data_length_); data 671 webkit/child/multipart_response_delegate_unittest.cc EXPECT_EQ(static_cast<int>(data.length()) + static_cast<int>(data2.length()), data 21 webkit/common/blob/blob_data.cc void BlobData::AppendData(const char* data, size_t length) { data 24 webkit/common/blob/blob_data.cc items_.back().SetToBytes(data, length); data 31 webkit/common/blob/blob_data.h void AppendData(const std::string& data) { data 32 webkit/common/blob/blob_data.h AppendData(data.c_str(), data.size()); data 35 webkit/common/blob/blob_data.h void AppendData(const char* data, size_t length); data 72 webkit/common/database/database_identifier.cc std::string scheme(identifier.data(), first_underscore); data 86 webkit/common/database/database_identifier.cc std::string hostname(identifier.data() + first_underscore + 1, data 107 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h const void* data, WGC3Denum usage); data 109 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Dsizeiptr size, const void* data); data 128 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h const void* data); data 137 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h const void* data); data 466 win8/metro_driver/print_handler.cc void* data, data 469 win8/metro_driver/print_handler.cc DCHECK(data != NULL); data 476 win8/metro_driver/print_handler.cc hr = metafile_stream->Write(data, data 110 win8/metro_driver/print_handler.h void* data,