Home
last modified time | relevance | path

Searched refs:WriteInt (Results 1 – 21 of 21) sorted by relevance

/external/chromium/webkit/glue/
Dwebcursor_unittest.cc18 ok_custom_pickle.WriteInt(WebCursorInfo::TypeCustom); in TEST()
19 ok_custom_pickle.WriteInt(0); in TEST()
20 ok_custom_pickle.WriteInt(0); in TEST()
22 ok_custom_pickle.WriteInt(1); in TEST()
23 ok_custom_pickle.WriteInt(1); in TEST()
25 ok_custom_pickle.WriteInt(4); in TEST()
35 short_custom_pickle.WriteInt(WebCursorInfo::TypeCustom); in TEST()
36 short_custom_pickle.WriteInt(0); in TEST()
37 short_custom_pickle.WriteInt(0); in TEST()
39 short_custom_pickle.WriteInt(1); in TEST()
[all …]
Dglue_serialize_unittest.cc167 p.WriteInt(1); in TEST_F()
170 p.WriteInt(-1); in TEST_F()
172 p.WriteInt(-1); in TEST_F()
180 p.WriteInt(1); in TEST_F()
183 p.WriteInt(-1); in TEST_F()
186 p.WriteInt(1); in TEST_F()
187 p.WriteInt(1); in TEST_F()
188 p.WriteInt(0); in TEST_F()
189 p.WriteInt(0); in TEST_F()
190 p.WriteInt(-1); in TEST_F()
[all …]
Dwebcursor.cc118 if (!pickle->WriteInt(type_) || in Serialize()
119 !pickle->WriteInt(hotspot_.x()) || in Serialize()
120 !pickle->WriteInt(hotspot_.y()) || in Serialize()
121 !pickle->WriteInt(custom_size_.width()) || in Serialize()
122 !pickle->WriteInt(custom_size_.height())) in Serialize()
Dglue_serialize.cc91 obj->pickle.WriteInt(data); in WriteInteger()
125 obj->pickle.WriteInt(data ? 1 : 0); in WriteBoolean()
152 obj->pickle.WriteInt(str.length() * sizeof(WebUChar)); in WriteString()
159 obj->pickle.WriteInt(-1); in WriteString()
161 obj->pickle.WriteInt(str.length()); in WriteString()
170 obj->pickle.WriteInt(-1); in WriteString()
172 obj->pickle.WriteInt(str.length() * sizeof(WebUChar)); in WriteString()
Dnpruntime_util.cc26 return pickle->WriteInt(number); in SerializeNPIdentifier()
/external/chromium/base/
Dpickle_unittest.cc69 EXPECT_TRUE(pickle.WriteInt(testint)); in TEST()
151 EXPECT_TRUE(pickle.WriteInt(-2)); in TEST()
160 EXPECT_TRUE(pickle.WriteInt(-1)); in TEST()
169 EXPECT_TRUE(pickle.WriteInt(1)); in TEST()
193 EXPECT_TRUE(pickle.WriteInt(1)); in TEST()
194 EXPECT_TRUE(pickle.WriteInt(2)); in TEST()
250 pickle.WriteInt(kMagic); in TEST()
264 source.WriteInt(1); in TEST()
293 big_len.WriteInt(1 << 30); in TEST()
Dpickle.cc303 if (!WriteInt(static_cast<int>(value.size()))) in WriteString()
310 if (!WriteInt(static_cast<int>(value.size()))) in WriteWString()
318 if (!WriteInt(static_cast<int>(value.size()))) in WriteString16()
326 return length >= 0 && WriteInt(length) && WriteBytes(data, length); in WriteData()
346 if (length < 0 || !WriteInt(length)) in BeginWriteData()
Dpickle.h91 return WriteInt(value ? 1 : 0); in WriteBool()
93 bool WriteInt(int value) { in WriteInt() function
/external/chromium/chrome/browser/sessions/
Dbase_session_service.cc144 pickle.WriteInt(tab_id); in CreateUpdateTabNavigationCommand()
145 pickle.WriteInt(index); in CreateUpdateTabNavigationCommand()
172 pickle.WriteInt(entry.transition_type()); in CreateUpdateTabNavigationCommand()
174 pickle.WriteInt(type_mask); in CreateUpdateTabNavigationCommand()
189 pickle.WriteInt(tab_id); in CreateSetTabExtensionAppIDCommand()
/external/chromium/chrome/browser/ssl/
Dssl_manager.cc64 pickle.WriteInt(cert_id); in SerializeSecurityInfo()
65 pickle.WriteInt(cert_status); in SerializeSecurityInfo()
66 pickle.WriteInt(security_bits); in SerializeSecurityInfo()
67 pickle.WriteInt(ssl_connection_status); in SerializeSecurityInfo()
/external/chromium/chrome/common/
Dcommon_param_traits.cc13 m->WriteInt(static_cast<int>(p)); in Write()
51 m->WriteInt(static_cast<int>(p)); in Write()
Dcommon_param_traits_unittest.cc54 msg.WriteInt(99); in TEST()
135 bad_msg.WriteInt(99); in TEST()
169 bad_msg.WriteInt(99); in TEST()
Dautomation_messages.cc206 m->WriteInt(p); in Write()
246 m->WriteInt(p); in Write()
284 m->WriteInt(p); in Write()
325 m->WriteInt(p); in Write()
365 m->WriteInt(p); in Write()
/external/chromium/net/http/
Dhttp_response_info.cc209 pickle->WriteInt(flags); in Persist()
229 pickle->WriteInt(ssl_info.cert_status); in Persist()
231 pickle->WriteInt(ssl_info.security_bits); in Persist()
/external/chromium/chrome/browser/ui/views/extensions/
Dbrowser_action_drag_data_unittest.cc45 pickle.WriteInt(42); in TEST_F()
/external/chromium/chrome/common/extensions/
Duser_script.cc108 pickle->WriteInt(run_location()); in Pickle()
129 pickle->WriteInt(pattern->valid_schemes()); in Pickle()
/external/chromium/net/socket/
Ddns_cert_provenance_checker.cc253 p.WriteInt(der_certs.size()); in BuildEncryptedReport()
320 outer.WriteInt(kVersion); in BuildEncryptedReport()
Dssl_host_info.cc155 if (!p.WriteInt(state_.certs.size())) in Serialize()
/external/chromium/base/metrics/
Dhistogram.cc218 pickle.WriteInt(histogram.declared_min()); in SerializeHistogramInfo()
219 pickle.WriteInt(histogram.declared_max()); in SerializeHistogramInfo()
222 pickle.WriteInt(histogram.histogram_type()); in SerializeHistogramInfo()
223 pickle.WriteInt(histogram.flags()); in SerializeHistogramInfo()
731 pickle->WriteInt(counts_[index]); in Serialize()
/external/chromium/chrome/browser/password_manager/
Dnative_backend_kwallet_x.cc462 pickle->WriteInt(kPickleVersion); in SerializeValue()
467 pickle->WriteInt(form->scheme); in SerializeValue()
/external/chromium/net/url_request/
Dview_cache_helper_unittest.cc41 pickle.WriteInt(flags | 1); // Version 1. in WriteHeaders()