Searched refs:sizeName (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/lumeassetcompiler/src/ |
H A D | main.cpp | 413 std::string sizeName = "_"; local 414 sizeName += g_sizeName; 416 …uint32_t string_size = dataName.size() + sizeName.size() + 3; // prepending plus two terminating n… 448 static_cast<uint32_t>(sizeName.size() + 2), // second string 486 fwrite(sizeName.c_str(), sizeName.size() + 1, 1, e); 503 fwrite(sizeName.c_str(), sizeName.size() + 1, 1, e);
|
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/type/ |
H A D | hdi_array_type_emitter.cpp | 510 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 …x).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(), innerLeve… in EmitCppUnMarshalling()
|
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/ast/ |
H A D | ast_array_type.cpp | 512 std::string sizeName = StringHelper::Format("%sSize", memberName.c_str()); in EmitCppUnMarshalling() local 525 sb.Append(prefix).AppendFormat("uint32_t %s = 0;\n", sizeName.c_str()); in EmitCppUnMarshalling() 526 …sb.Append(prefix).AppendFormat("if (!%s.ReadUint32(%s)) {\n", parcelName.c_str(), sizeName.c_str()… in EmitCppUnMarshalling() 530 …x).AppendFormat("%s(%s, >, %s / sizeof(%s), false);\n", CHECK_VALUE_RETURN_MACRO, sizeName.c_str(), in EmitCppUnMarshalling() 533 sb.Append(prefix).AppendFormat("%s.reserve(%s);\n", name.c_str(), sizeName.c_str()); in EmitCppUnMarshalling() 535 …"for (uint32_t i%d = 0; i%d < %s; ++i%d) {\n", innerLevel, innerLevel, sizeName.c_str(), innerLeve… in EmitCppUnMarshalling()
|