Searched refs:atomIt (Results 1 – 3 of 3) sorted by relevance
/frameworks/proto_logging/stats/stats_log_api_gen/ |
D | test_collation.cpp | 115 AtomDeclSet::const_iterator atomIt = atoms.decls.begin(); in TEST() local 116 EXPECT_EQ(1, (*atomIt)->code); in TEST() 117 EXPECT_EQ("int_atom", (*atomIt)->name); in TEST() 118 EXPECT_EQ("IntAtom", (*atomIt)->message); in TEST() 119 EXPECT_NO_ENUM_FIELD((*atomIt)); in TEST() 120 atomIt++; in TEST() 122 EXPECT_EQ(2, (*atomIt)->code); in TEST() 123 EXPECT_EQ("out_of_order_atom", (*atomIt)->name); in TEST() 124 EXPECT_EQ("OutOfOrderAtom", (*atomIt)->message); in TEST() 125 EXPECT_NO_ENUM_FIELD((*atomIt)); in TEST() [all …]
|
D | utils.cpp | 45 for (AtomDeclSet::const_iterator atomIt = atoms.non_chained_decls.begin(); in build_non_chained_decl_map() local 46 atomIt != atoms.non_chained_decls.end(); atomIt++) { in build_non_chained_decl_map() 47 decl_map->insert(std::make_pair((*atomIt)->code, atomIt)); in build_non_chained_decl_map() 228 for (AtomDeclSet::const_iterator atomIt = atoms.decls.begin(); atomIt != atoms.decls.end(); in write_native_atom_constants() local 229 atomIt++) { in write_native_atom_constants() 230 string constant = make_constant_name((*atomIt)->name); in write_native_atom_constants() 233 fprintf(out, " * %s %s\n", (*atomIt)->message.c_str(), (*atomIt)->name.c_str()); in write_native_atom_constants() 234 write_cpp_usage(out, "stats_write", constant, *atomIt, attributionDecl); in write_native_atom_constants() 236 auto non_chained_decl = atom_code_to_non_chained_decl_map.find((*atomIt)->code); in write_native_atom_constants() 243 fprintf(out, " %s = %d%s\n", constant.c_str(), (*atomIt)->code, comma); in write_native_atom_constants() [all …]
|
D | native_writer.cpp | 527 for (AtomDeclSet::const_iterator atomIt = atoms.decls.begin(); atomIt != atoms.decls.end(); in write_stats_log_header() local 528 atomIt++) { in write_stats_log_header() 529 for (vector<AtomField>::const_iterator field = (*atomIt)->fields.begin(); in write_stats_log_header() 530 field != (*atomIt)->fields.end(); field++) { in write_stats_log_header() 532 fprintf(out, "// Values for %s.%s\n", (*atomIt)->message.c_str(), in write_stats_log_header() 537 make_constant_name((*atomIt)->message).c_str(), in write_stats_log_header()
|