Home
last modified time | relevance | path

Searched refs:atomIt (Results 1 – 4 of 4) sorted by relevance

/frameworks/proto_logging/stats/stats_log_api_gen/
Dtest_collation.cpp224 AtomDeclSet::const_iterator atomIt = atoms.decls.begin(); in TEST_P() local
225 EXPECT_EQ(1, (*atomIt)->code); in TEST_P()
226 EXPECT_EQ("int_atom", (*atomIt)->name); in TEST_P()
227 EXPECT_EQ("IntAtom", (*atomIt)->message); in TEST_P()
228 EXPECT_NO_ENUM_FIELD((*atomIt)); in TEST_P()
229 atomIt++; in TEST_P()
231 EXPECT_EQ(2, (*atomIt)->code); in TEST_P()
232 EXPECT_EQ("out_of_order_atom", (*atomIt)->name); in TEST_P()
233 EXPECT_EQ("OutOfOrderAtom", (*atomIt)->message); in TEST_P()
234 EXPECT_NO_ENUM_FIELD((*atomIt)); in TEST_P()
[all …]
Dutils.cpp57 for (AtomDeclSet::const_iterator atomIt = atoms.non_chained_decls.begin(); in build_non_chained_decl_map() local
58 atomIt != atoms.non_chained_decls.end(); atomIt++) { in build_non_chained_decl_map()
59 decl_map->insert(std::make_pair((*atomIt)->code, atomIt)); in build_non_chained_decl_map()
320 for (AtomDeclSet::const_iterator atomIt = atoms.decls.begin(); atomIt != atoms.decls.end(); in write_native_atom_constants() local
321 atomIt++) { in write_native_atom_constants()
322 const string constant = make_constant_name((*atomIt)->name); in write_native_atom_constants()
325 fprintf(out, " * %s %s\n", (*atomIt)->message.c_str(), (*atomIt)->name.c_str()); in write_native_atom_constants()
326 write_cpp_usage(out, methodName, constant, **atomIt, attributionDecl, isVendorAtomLogging); in write_native_atom_constants()
328 auto non_chained_decl = atom_code_to_non_chained_decl_map.find((*atomIt)->code); in write_native_atom_constants()
335 fprintf(out, " %s = %d%s\n", constant.c_str(), (*atomIt)->code, comma); in write_native_atom_constants()
[all …]
Djava_writer_vendor.cpp341 for (AtomDeclSet::const_iterator atomIt = atoms.decls.begin(); atomIt != atoms.decls.end(); in write_java_enum_values_vendor() local
342 atomIt++) { in write_java_enum_values_vendor()
343 for (vector<AtomField>::const_iterator field = (*atomIt)->fields.begin(); in write_java_enum_values_vendor()
344 field != (*atomIt)->fields.end(); field++) { in write_java_enum_values_vendor()
349 const string full_enum_type_name = (*atomIt)->message + "__" + field->enumTypeName; in write_java_enum_values_vendor()
356 fprintf(out, " // Values for %s.%s\n", (*atomIt)->message.c_str(), in write_java_enum_values_vendor()
Dnative_writer_vendor.cpp326 for (AtomDeclSet::const_iterator atomIt = atoms.decls.begin(); atomIt != atoms.decls.end(); in write_stats_log_header_vendor() local
327 atomIt++) { in write_stats_log_header_vendor()
330 for (vector<AtomField>::const_iterator field = (*atomIt)->fields.begin(); in write_stats_log_header_vendor()
331 field != (*atomIt)->fields.end(); field++) { in write_stats_log_header_vendor()
340 fprintf(out, "class %s final {\n", (*atomIt)->message.c_str()); in write_stats_log_header_vendor()