OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:associative_array
(Results
1 - 2
of
2
) sorted by null
/external/lldb/test/lang/cpp/stl/
main.cpp
20
std::map<std::string, int>
associative_array
;
local
21
std::cout << "size of upon construction
associative_array
: " <<
associative_array
.size() << std::endl;
22
associative_array
[hello_world] = 1;
23
associative_array
["hello"] = 2;
24
associative_array
["world"] = 3;
26
std::cout << "size of
associative_array
: " <<
associative_array
.size() << std::endl;
27
printf("
associative_array
[\"hello\"]=%d\n",
associative_array
["hello"])
[
all
...]
TestSTL.py
87
self.expect('expr
associative_array
.size()',
89
self.expect('expr
associative_array
.count(hello_world)',
91
self.expect('expr
associative_array
[hello_world]',
93
self.expect('expr
associative_array
["hello"]',
118
# Get the type for variable '
associative_array
'.
119
associative_array
= frame0.FindVariable('
associative_array
')
120
self.DebugSBValue(
associative_array
)
121
self.assertTrue(
associative_array
, VALID_VARIABLE)
122
map_type =
associative_array
.GetType(
[
all
...]
Completed in 529 milliseconds