Home
last modified time | relevance | path

Searched refs:ReadInt (Results 1 – 25 of 31) sorted by relevance

12

/external/libbrillo/brillo/timezone/
Dtzif_parser.cc33 bool ReadInt(base::File* file, int32_t* out_int) { in ReadInt() function
75 if (!ReadInt(tzfile, &header->ttisgmtcnt) || header->ttisgmtcnt < 0) { in ParseTzifHeader()
78 if (!ReadInt(tzfile, &header->ttisstdcnt) || header->ttisstdcnt < 0) { in ParseTzifHeader()
81 if (!ReadInt(tzfile, &header->leapcnt) || header->leapcnt < 0) { in ParseTzifHeader()
84 if (!ReadInt(tzfile, &header->timecnt) || header->timecnt < 0) { in ParseTzifHeader()
87 if (!ReadInt(tzfile, &header->typecnt) || header->typecnt < 0) { in ParseTzifHeader()
90 if (!ReadInt(tzfile, &header->charcnt) || header->charcnt < 0) { in ParseTzifHeader()
/external/libchrome/base/
Dpickle.cc88 bool PickleIterator::ReadInt(int* result) { in ReadInt() function in base::PickleIterator
146 if (!ReadInt(&len)) in ReadString()
158 if (!ReadInt(&len)) in ReadStringPiece()
170 if (!ReadInt(&len)) in ReadString16()
182 if (!ReadInt(&len)) in ReadStringPiece16()
196 if (!ReadInt(length)) in ReadData()
Dpickle_unittest.cc53 EXPECT_TRUE(iter.ReadInt(&outint)); in VerifyResult()
107 EXPECT_FALSE(iter.ReadInt(&outint)); in VerifyResult()
174 EXPECT_FALSE(iter.ReadInt(&data)); in TEST()
185 EXPECT_FALSE(iter.ReadInt(&data)); in TEST()
195 EXPECT_FALSE(iter.ReadInt(&data)); in TEST()
443 ASSERT_TRUE(iter.ReadInt(&result)); in TEST()
569 EXPECT_TRUE(iter.ReadInt(&out_value)); in TEST()
Dpickle.h42 bool ReadInt(int* result) WARN_UNUSED_RESULT;
73 return ReadInt(result) && *result >= 0; in ReadLength()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dpickled_types_blink.cc39 if (!iter->ReadInt(&foo) || !iter->ReadInt(&bar) || foo < 0 || bar < 0) in Read()
Dpickled_types_chromium.cc41 if (!iter->ReadInt(&foo) || !iter->ReadInt(&bar)) in Read()
Dtest_native_types.cc56 if (!iter->ReadInt(&x) || !iter->ReadInt(&y)) in Read()
/external/libchrome/base/metrics/
Dhistogram_unittest.cc590 EXPECT_TRUE(iter.ReadInt(&type)); in TEST_P()
598 EXPECT_TRUE(iter.ReadInt(&flag)); in TEST_P()
603 EXPECT_TRUE(iter.ReadInt(&min)); in TEST_P()
607 EXPECT_TRUE(iter.ReadInt(&max)); in TEST_P()
641 EXPECT_TRUE(iter.ReadInt(&i) && iter.ReadString(&s) && iter.ReadInt(&i) && in TEST_P()
642 iter.ReadInt(&i) && iter.ReadInt(&i) && in TEST_P()
647 EXPECT_TRUE(iter.ReadInt(&range)); in TEST_P()
649 EXPECT_TRUE(iter.ReadInt(&range)); in TEST_P()
Dhistogram_samples.cc61 if (!iter_->ReadInt(&min_) || !iter_->ReadInt64(&max_) || in Next()
62 !iter_->ReadInt(&count_)) { in Next()
203 if (!iter->ReadInt64(&sum) || !iter->ReadInt(&redundant_count)) in AddFromPickle()
Dsparse_histogram_unittest.cc220 EXPECT_TRUE(iter.ReadInt(&type)); in TEST_P()
228 EXPECT_TRUE(iter.ReadInt(&flag)); in TEST_P()
Dhistogram_base.cc52 if (!iter->ReadInt(&type)) in DeserializeHistogramInfo()
Dhistogram.cc50 !iter->ReadInt(flags) || in ReadHistogramArguments()
51 !iter->ReadInt(declared_min) || in ReadHistogramArguments()
52 !iter->ReadInt(declared_max) || in ReadHistogramArguments()
1324 if (!iter->ReadInt(&sample_ranges[i])) in DeserializeInfoImpl()
/external/libchrome/base/json/
Djson_parser.cc628 if (!ReadInt(false)) { in ConsumeNumber()
637 if (!ReadInt(true)) { in ConsumeNumber()
651 if (!ReadInt(true)) { in ConsumeNumber()
692 bool JSONParser::ReadInt(bool allow_leading_zeros) { in ReadInt() function in base::internal::JSONParser
Djson_parser.h192 bool ReadInt(bool allow_leading_zeros);
/external/libchrome/ipc/
Dparam_traits_read_macros.h38 if (!iter->ReadInt(&value)) \
Dipc_test_channel_listener.cc39 EXPECT_TRUE(iter.ReadInt(&ignored)); in OnMessageReceived()
Dipc_message_unittest.cc53 EXPECT_TRUE(iter.ReadInt(&vi)); in TEST()
63 EXPECT_FALSE(iter.ReadInt(&vi)); in TEST()
Dipc_sync_message.cc91 bool result = iter.ReadInt(&header->message_id); in ReadSyncHeader()
Dipc_fuzzing_tests.cc241 if (!iter.ReadInt(&msg_value1)) in ExpectMessage()
243 if (!iter.ReadInt(&msg_value2)) in ExpectMessage()
Dipc_message.cc185 if (!iter->ReadInt(&index)) in ReadAttachment()
Dipc_message_protobuf_utils_unittest.cc34 if (!iter->ReadInt(&number)) in Read()
/external/llvm-project/llvm/tools/llvm-rc/
DResourceFileWriter.cpp239 UTF16 ReadInt = 0; in processString() local
259 ReadInt <<= 4; in processString()
261 ReadInt |= Digit - '0'; in processString()
263 ReadInt |= Digit - 'a' + 10; in processString()
268 RETURN_IF_ERROR(AddEscapedChar(ReadInt)); in processString()
274 UTF16 ReadInt = TypeChar - '0'; in processString() local
279 ReadInt <<= 3; in processString()
280 ReadInt |= Chars[Pos] - '0'; in processString()
285 RETURN_IF_ERROR(AddEscapedChar(ReadInt)); in processString()
/external/protobuf/csharp/src/Google.Protobuf/
DJsonTokenizer.cs455 char? next = ReadInt(builder); in ReadNumber()
484 private char? ReadInt(StringBuilder builder) in ReadInt() method in Google.Protobuf.JsonTokenizer.JsonTextTokenizer
/external/fmtlib/test/
Dscan-test.cc24 TEST(ScanTest, ReadInt) { in TEST() argument
/external/llvm-project/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/
DDynamicLoaderHexagonDYLD.cpp555 static int ReadInt(Process *process, addr_t addr) { in ReadInt() function
588 int modid = ReadInt(m_process, link_map + metadata.modid_offset); in GetThreadLocalData()

12