Home
last modified time | relevance | path

Searched refs:sizeName (Results 1 - 2 of 2) sorted by relevance

/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/lumeassetcompiler/src/
H A Dmain.cpp416 std::string sizeName = "_"; local
417 sizeName += gSizeName;
419 uint32_t string_size = dataName.size() + sizeName.size() + 3; // prepending plus two terminating nulls
451 static_cast<uint32_t>(sizeName.size() + 2), // second string
489 fwrite(sizeName.c_str(), sizeName.size() + 1, 1, e);
506 fwrite(sizeName.c_str(), sizeName.size() + 1, 1, e);
/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/type/
H A Dhdi_array_type_emitter.cpp510 std::string sizeName = StringHelper::Format("%sSize", memberName.c_str()); in EmitCppUnMarshalling() local
524 sb.Append(prefix).AppendFormat("uint32_t %s = 0;\n", sizeName.c_str()); in EmitCppUnMarshalling()
525 sb.Append(prefix).AppendFormat("if (!%s.ReadUint32(%s)) {\n", parcelName.c_str(), sizeName.c_str()); in EmitCppUnMarshalling()
529 sb.Append(prefix).AppendFormat("%s(%s, >, %s / sizeof(%s), false);\n", CHECK_VALUE_RETURN_MACRO, sizeName.c_str(), in EmitCppUnMarshalling()
532 sb.Append(prefix).AppendFormat("%s.reserve(%s);\n", name.c_str(), sizeName.c_str()); in EmitCppUnMarshalling()
534 "for (uint32_t i%d = 0; i%d < %s; ++i%d) {\n", innerLevel, innerLevel, sizeName.c_str(), innerLevel); in EmitCppUnMarshalling()

Completed in 4 milliseconds