• Home
  • Raw
  • Download

Lines Matching refs:code_prefix

1280     auto &code_prefix = *code_prefix_ptr;  in GenPackForStructVectorField()  local
1287 code_prefix += in GenPackForStructVectorField()
1290 code_prefix += GenIndents(3) + "Start" + in GenPackForStructVectorField()
1293 code_prefix += GenIndents(3) + "for i in reversed(range(len(self." + in GenPackForStructVectorField()
1295 code_prefix += in GenPackForStructVectorField()
1297 code_prefix += in GenPackForStructVectorField()
1302 code_prefix += GenIndents(3) + field_instance_name + "list = []"; in GenPackForStructVectorField()
1303 code_prefix += GenIndents(3); in GenPackForStructVectorField()
1304 code_prefix += "for i in range(len(self." + field_instance_name + ")):"; in GenPackForStructVectorField()
1305 code_prefix += GenIndents(4) + field_instance_name + "list.append(self." + in GenPackForStructVectorField()
1308 code_prefix += GenIndents(3) + "Start" + in GenPackForStructVectorField()
1311 code_prefix += GenIndents(3) + "for i in reversed(range(len(self." + in GenPackForStructVectorField()
1313 code_prefix += GenIndents(4) + "builder.PrependUOffsetTRelative" + "(" + in GenPackForStructVectorField()
1315 code_prefix += in GenPackForStructVectorField()
1364 auto &code_prefix = *code_prefix_ptr; in GenPackForScalarVectorField() local
1375 code_prefix += in GenPackForScalarVectorField()
1382 code_prefix += GenIndents(3) + MakeLowerCamel(field) + "list = []"; in GenPackForScalarVectorField()
1383 code_prefix += GenIndents(3) + "for i in range(len(self." + in GenPackForScalarVectorField()
1385 code_prefix += GenIndents(4) + MakeLowerCamel(field) + in GenPackForScalarVectorField()
1389 code_prefix += "(" + MakeLowerCamel(field) + "list[i])"; in GenPackForScalarVectorField()
1390 code_prefix += in GenPackForScalarVectorField()
1395 code_prefix += GenIndents(3) + "if np is not None and type(self." + in GenPackForScalarVectorField()
1397 code_prefix += GenIndents(4) + field_instance_name + in GenPackForScalarVectorField()
1400 code_prefix += GenIndents(3) + "else:"; in GenPackForScalarVectorField()
1402 code_prefix += "(self." + field_instance_name + "[i])"; in GenPackForScalarVectorField()
1403 code_prefix += in GenPackForScalarVectorField()
1410 auto &code_prefix = *code_prefix_ptr; in GenPackForStructField() local
1426 code_prefix += in GenPackForStructField()
1428 code_prefix += GenIndents(3) + field_instance_name + " = self." + in GenPackForStructField()
1441 auto &code_prefix = *code_prefix_ptr; in GenPackForUnionField() local
1449 code_prefix += in GenPackForUnionField()
1451 code_prefix += GenIndents(3) + field_instance_name + " = self." + in GenPackForUnionField()
1460 std::string code, code_prefix; in GenPackForTable() local
1477 GenPackForStructField(struct_def, field, &code_prefix, &code); in GenPackForTable()
1481 GenPackForUnionField(struct_def, field, &code_prefix, &code); in GenPackForTable()
1487 GenPackForStructVectorField(struct_def, field, &code_prefix, &code); in GenPackForTable()
1489 GenPackForScalarVectorField(struct_def, field, &code_prefix, &code); in GenPackForTable()
1494 GenPackForScalarVectorField(struct_def, field, &code_prefix, &code); in GenPackForTable()
1498 code_prefix += GenIndents(2) + "if self." + field_instance_name + in GenPackForTable()
1500 code_prefix += GenIndents(3) + field_instance_name + in GenPackForTable()
1522 code_base += code_prefix + code; in GenPackForTable()