OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:key_val_pairs
(Results
1 - 3
of
3
) sorted by null
/external/webrtc/webrtc/base/
linux_unittest.cc
78
ConfigParser::MapVector
key_val_pairs
;
local
80
EXPECT_EQ(true, parser.Parse(&
key_val_pairs
));
81
EXPECT_EQ(2U,
key_val_pairs
.size());
82
EXPECT_EQ("Value1",
key_val_pairs
[0]["Key1"]);
83
EXPECT_EQ("Value2",
key_val_pairs
[0]["Key2"]);
84
EXPECT_EQ("Value3",
key_val_pairs
[0]["Key3"]);
85
EXPECT_EQ("Value1",
key_val_pairs
[1]["Key1"]);
86
key_val_pairs
.clear();
88
EXPECT_EQ(true, parser.Parse(&
key_val_pairs
));
linux.h
30
// ConfigParser::MapVector
key_val_pairs
;
31
// if (parser.Open(inifile) && parser.Parse(&
key_val_pairs
)) {
32
// for (int section_num=0; i <
key_val_pairs
.size(); ++section_num) {
33
// std::string val1 =
key_val_pairs
[section_num][key1];
34
// std::string val2 =
key_val_pairs
[section_num][key2];
49
virtual bool Parse(MapVector*
key_val_pairs
);
linux.cc
188
bool ConfigParser::Parse(MapVector*
key_val_pairs
) {
189
// Parses the file and places the found key-value pairs into
key_val_pairs
.
192
key_val_pairs
->push_back(section);
195
return (!
key_val_pairs
->empty());
Completed in 3025 milliseconds