Home
last modified time | relevance | path

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

/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_host.cc78 write_pickle->WriteInt(-errno); in OpenFileForIPC()
85 write_pickle->WriteInt(0); in OpenFileForIPC()
88 write_pickle->WriteInt(-policy.denied_errno()); in OpenFileForIPC()
108 write_pickle->WriteInt(0); in AccessFileForIPC()
110 write_pickle->WriteInt(-access_errno); in AccessFileForIPC()
112 write_pickle->WriteInt(-policy.denied_errno()); in AccessFileForIPC()
Dbroker_client.cc72 write_pickle.WriteInt(syscall_type); in PathAndFlagsSyscall()
74 write_pickle.WriteInt(flags); in PathAndFlagsSyscall()
/external/libchrome/base/metrics/
Dhistogram_samples.cc134 if (!pickle->WriteInt(subtle::NoBarrier_Load(&meta_->redundant_count))) in Serialize()
144 if (!pickle->WriteInt(min) || in Serialize()
145 !pickle->WriteInt(max) || in Serialize()
146 !pickle->WriteInt(count)) in Serialize()
Dhistogram.cc328 pickle->WriteInt(flags()) && in SerializeInfoImpl()
329 pickle->WriteInt(declared_min()) && in SerializeInfoImpl()
330 pickle->WriteInt(declared_max()) && in SerializeInfoImpl()
835 if (!pickle->WriteInt(bucket_ranges()->range(i))) in SerializeInfoImpl()
Dhistogram_base.cc95 if (!pickle->WriteInt(GetHistogramType())) in SerializeInfo()
Dsparse_histogram.cc101 return pickle->WriteString(histogram_name()) && pickle->WriteInt(flags()); in SerializeInfoImpl()
/external/libchrome/base/
Dpickle_unittest.cc121 EXPECT_TRUE(pickle.WriteInt(testint)); in TEST()
225 EXPECT_TRUE(pickle.WriteInt(-2)); in TEST()
234 EXPECT_TRUE(pickle.WriteInt(-1)); in TEST()
325 EXPECT_TRUE(pickle.WriteInt(1)); in TEST()
384 EXPECT_TRUE(pickle.WriteInt(1)); in TEST()
385 EXPECT_TRUE(pickle.WriteInt(2)); in TEST()
441 pickle.WriteInt(kMagic); in TEST()
455 source.WriteInt(1); in TEST()
485 EXPECT_TRUE(bad_len.WriteInt(1 << 31)); in TEST()
561 pickle.WriteInt(42); in TEST()
Dpickle.h171 return WriteInt(value ? 1 : 0); in WriteBool()
173 bool WriteInt(int value) { in WriteInt() function
Dpickle.cc290 if (!WriteInt(static_cast<int>(value.size()))) in WriteString()
297 if (!WriteInt(static_cast<int>(value.size()))) in WriteString16()
305 return length >= 0 && WriteInt(length) && WriteBytes(data, length); in WriteData()
/external/libchrome/crypto/
Dsecure_hash_default.cc51 if (!pickle->WriteInt(kSecureHashVersion) || in Serialize()
Dsecure_hash_openssl.cc54 if (!pickle->WriteInt(kSecureHashVersion) || in Serialize()
/external/libchrome/base/trace_event/
Dtrace_event_argument.cc88 pickle_.WriteInt(value); in SetInteger()
95 pickle_.WriteInt(value); in SetIntegerWithCopiedName()
198 pickle_.WriteInt(value); in AppendInteger()