/third_party/python/Modules/cjkcodecs/ |
H A D | multibytecodec.c | 117 const char *str; in call_error_callback() local 120 str = PyUnicode_AsUTF8(errors); in call_error_callback() 121 if (str == NULL) in call_error_callback() 123 cb = PyCodec_LookupError(str); in call_error_callback() 156 const char *str; in codecctx_errors_set() local 167 str = PyUnicode_AsUTF8(value); in codecctx_errors_set() 168 if (str == NULL) in codecctx_errors_set() 171 cb = internal_error_callback(str); in codecctx_errors_set() 330 "(str, int) tuple"); in multibytecodec_encerror() 456 "(str, in in multibytecodec_decerror() 1718 PyObject *str, *wr; mbstreamwriter_iwrite() local [all...] |
/third_party/vk-gl-cts/modules/gles3/scripts/ |
H A D | genutil.py | 63 f.write(indentTextBlock(str(case) + "\n", indent)) 81 res.append("input %s = [ %s ];" % (name, " | ".join([str(v) for v in values]).lower())) 83 res.append("output %s = [ %s ];" % (name, " | ".join([str(v) for v in values]).lower())) 277 return str(self.x).lower() 437 return "bvec2(%s, %s)" % (str(self.x).lower(), str(self.y).lower()) 548 return "bvec3(%s, %s, %s)" % (str(self.x).lower(), str(self.y).lower(), str(self.z).lower()) 668 return "bvec4(%s, %s, %s, %s)" % (str(sel [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fShaderFramebufferFetchTests.cpp | 376 return vertShaderSource.str(); in genPassThroughVertSource() 415 return glu::makeVtxFragSources(genPassThroughVertSource(), fragShaderSource.str()); in genShaderSources() 784 return glu::makeVtxFragSources(genPassThroughVertSource(), fragShaderSource.str()); in genShaderSources() 858 return glu::makeVtxFragSources(vertShaderSource.str(), fragShaderSource.str()); in genShaderSources() 953 return glu::makeVtxFragSources(genPassThroughVertSource(), fragShaderSource.str()); in genShaderSources() 1042 return glu::makeVtxFragSources(vertShaderSource.str(), fragShaderSource.str()); in genShaderSources() 1126 return glu::makeVtxFragSources(genPassThroughVertSource(), fragShaderSource.str()); in genShaderSources() 1270 const tcu::ScopedLogSection section (m_testCtx.getLog(), name.str(), des in iterate() [all...] |
H A D | es31fShaderIntegerFunctionTests.cpp | 64 std::ostream& operator<< (std::ostream& str, const HexFloat& v) in operator <<() argument 66 return str << v.value << " / " << tcu::toHex(tcu::Float32(v.value).bits()); in operator <<() 77 std::ostream& operator<< (std::ostream& str, const VarValue& varValue) in operator <<() argument 86 str << glu::getDataTypeName(basicType) << "("; in operator <<() 91 str << ", "; in operator <<() 95 case glu::TYPE_FLOAT: str << HexFloat(((const float*)varValue.value)[compNdx]); break; in operator <<() 96 case glu::TYPE_INT: str << ((const deInt32*)varValue.value)[compNdx]; break; in operator <<() 97 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break; in operator <<() 98 case glu::TYPE_BOOL: str << (((const deUint32*)varValue.value)[compNdx] != 0 ? "true" : "false"); break; in operator <<() 106 str << ")"; in operator <<() [all...] |
/third_party/vk-gl-cts/modules/gles31/scripts/ |
H A D | genutil.py | 63 f.write(indentTextBlock(str(case) + "\n", indent)) 81 res.append("input %s = [ %s ];" % (name, " | ".join([str(v) for v in values]).lower())) 83 res.append("output %s = [ %s ];" % (name, " | ".join([str(v) for v in values]).lower())) 277 return str(self.x).lower() 439 return "bvec2(%s, %s)" % (str(self.x).lower(), str(self.y).lower()) 550 return "bvec3(%s, %s, %s)" % (str(self.x).lower(), str(self.y).lower(), str(self.z).lower()) 670 return "bvec4(%s, %s, %s, %s)" % (str(sel [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/ |
H A D | vktMeshShaderSyncTestsEXT.cpp | 420 return decl.str(); in getResourceDecl() 439 return pc.str(); in getPushConstantDecl() 457 return statement.str(); in getReadStatement() 475 return statement.str(); in getWriteStatement() 586 programCollection.glslSources.add("task") << glu::TaskSource(task.str()) << buildOptions; in initPrograms() 625 programCollection.glslSources.add("mesh") << glu::MeshSource(mesh.str()) << buildOptions; in initPrograms() 653 programCollection.glslSources.add("frag") << glu::FragmentSource(frag.str()) << buildOptions; in initPrograms() 1394 TCU_FAIL(msg.str()); in iterate() 1411 TCU_FAIL(msg.str()); in iterate() 1424 TCU_FAIL(msg.str()); in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
H A D | vktShaderIntegerFunctionTests.cpp | 66 std::ostream& operator<< (std::ostream& str, const HexFloat& v) in operator <<() argument 68 return str << v.value << " / " << tcu::toHex(tcu::Float32(v.value).bits()); in operator <<() 79 std::ostream& operator<< (std::ostream& str, const VarValue& varValue) in operator <<() argument 88 str << glu::getDataTypeName(basicType) << "("; in operator <<() 93 str << ", "; in operator <<() 97 case glu::TYPE_FLOAT: str << HexFloat(((const float*)varValue.value)[compNdx]); break; in operator <<() 98 case glu::TYPE_INT: str << ((const deInt32*)varValue.value)[compNdx]; break; in operator <<() 99 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break; in operator <<() 100 case glu::TYPE_BOOL: str << (((const deUint32*)varValue.value)[compNdx] != 0 ? "true" : "false"); break; in operator <<() 108 str << ")"; in operator <<() [all...] |
/third_party/node/deps/openssl/config/archs/darwin64-arm64-cc/asm/crypto/sha/ |
H A D | sha512-armv8.S | 99 str x1,[x29,#112] 373 str x6,[sp,#24] 398 str x7,[sp,#0] 424 str x8,[sp,#8] 450 str x9,[sp,#16] 476 str x10,[sp,#24] 508 str x11,[sp,#0] 539 str x12,[sp,#8] 570 str x13,[sp,#16] 601 str x1 [all...] |
/third_party/node/deps/openssl/config/archs/linux-aarch64/asm_avx2/crypto/sha/ |
H A D | sha512-armv8.S | 99 str x1,[x29,#112] 373 str x6,[sp,#24] 398 str x7,[sp,#0] 424 str x8,[sp,#8] 450 str x9,[sp,#16] 476 str x10,[sp,#24] 508 str x11,[sp,#0] 539 str x12,[sp,#8] 570 str x13,[sp,#16] 601 str x1 [all...] |
/third_party/node/deps/openssl/config/archs/linux-aarch64/asm/crypto/sha/ |
H A D | sha512-armv8.S | 99 str x1,[x29,#112] 373 str x6,[sp,#24] 398 str x7,[sp,#0] 424 str x8,[sp,#8] 450 str x9,[sp,#16] 476 str x10,[sp,#24] 508 str x11,[sp,#0] 539 str x12,[sp,#8] 570 str x13,[sp,#16] 601 str x1 [all...] |
/third_party/node/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto/sha/ |
H A D | sha512-armv8.S | 99 str x1,[x29,#112] 373 str x6,[sp,#24] 398 str x7,[sp,#0] 424 str x8,[sp,#8] 450 str x9,[sp,#16] 476 str x10,[sp,#24] 508 str x11,[sp,#0] 539 str x12,[sp,#8] 570 str x13,[sp,#16] 601 str x1 [all...] |
/third_party/node/deps/openssl/openssl/crypto/ec/asm/ |
H A D | ecp_nistz256-armv8.pl | 1653 str w5,[$out,#64*1-4] 1655 str w6,[$out,#64*2-4] 1657 str w7,[$out,#64*3-4] 1659 str w4,[$out,#64*4-4] 1660 str w5,[$out,#64*5-4] 1661 str w6,[$out,#64*6-4] 1662 str w7,[$out,#64*7-4] 1669 str w5,[$out,#64*1-4] 1671 str w6,[$out,#64*2-4] 1673 str w [all...] |
/third_party/openssl/crypto/ec/asm/ |
H A D | ecp_nistz256-armv8.pl | 1687 str w5,[$out,#64*1-4] 1689 str w6,[$out,#64*2-4] 1691 str w7,[$out,#64*3-4] 1693 str w4,[$out,#64*4-4] 1694 str w5,[$out,#64*5-4] 1695 str w6,[$out,#64*6-4] 1696 str w7,[$out,#64*7-4] 1703 str w5,[$out,#64*1-4] 1705 str w6,[$out,#64*2-4] 1707 str w [all...] |
/third_party/protobuf/python/google/protobuf/internal/ |
H A D | message_test.py | 127 self.assertIn('TestAllTypes.optional_string', str(context.exception)) 169 self.assertEqual('Unexpected end-group tag.', str(context.exception)) 442 self.assertEqual(str(message), 'optional_float: 2.0\n') 455 self.assertEqual(str(msg), 'optional_double: 0.12345678912345678\n') 457 self.assertEqual(str(msg), 'optional_double: 0.123456789123\n') 464 self.assertEqual(str(empty), '') 500 self.assertEqual(str(msg), 599 self.assertEqual(str(message.repeated_int32), str([1, 2, 3])) 616 self.assertEqual(str(messag [all...] |
/test/xts/acts/communication/dsoftbus/rpc/entry/src/ohosTest/js/test/ |
H A D | RpcClientJsunit.test.js | 286 let str = data.readString();
291 data2.writeString(str);
526 let str = data.readString();
532 data2.writeString(str);
555 let str = data.readString();
557 console.info("31 str: " + str);
563 data2.writeString(str);
777 this.str = string;
781 messageParcel.writeString(this.str);
[all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/ |
H A D | vktComputeBasicComputeShaderTests.cpp | 198 sourceCollections.glslSources.add("comp") << glu::ComputeSource(src.str()); in initPrograms() 296 return tcu::TestStatus::fail(msg.str()); in iterate() 380 sourceCollections.glslSources.add("comp") << glu::ComputeSource(src.str()); in initPrograms() 478 return tcu::TestStatus::fail(msg.str()); in iterate() 565 sourceCollections.glslSources.add("comp") << glu::ComputeSource(src.str()); in initPrograms() 665 return tcu::TestStatus::fail(msg.str()); in iterate() 741 sourceCollections.glslSources.add("comp") << glu::ComputeSource(src.str()); 872 return tcu::TestStatus::fail(msg.str()); 947 sourceCollections.glslSources.add("comp") << glu::ComputeSource(src.str()); 1071 return tcu::TestStatus::fail(msg.str()); [all...] |
/third_party/python/Lib/test/ |
H A D | datetimetester.py | 261 self.assertEqual(str(tz), tz.tzname(None)) 733 eq(str(td(1)), "1 day, 0:00:00") 734 eq(str(td(-1)), "-1 day, 0:00:00") 735 eq(str(td(2)), "2 days, 0:00:00") 736 eq(str(td(-2)), "-2 days, 0:00:00") 738 eq(str(td(hours=12, minutes=58, seconds=59)), "12:58:59") 739 eq(str(td(hours=2, minutes=3, seconds=4)), "2:03:04") 740 eq(str(td(weeks=-30, hours=23, minutes=12, seconds=34)), 743 eq(str(td(milliseconds=1)), "0:00:00.001000") 744 eq(str(t [all...] |
/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | animation_util.cpp | 32 for (const auto& str : strs) { in ParseFunctionValue() 33 if (str.empty()) { in ParseFunctionValue() 36 auto leftIndex = str.find('('); in ParseFunctionValue() 37 auto rightIndex = str.find(')'); in ParseFunctionValue() 44 if (str.substr(0, leftIndex) != key) { in ParseFunctionValue() 48 auto valueStr = str.substr(leftIndex + 1, rightIndex - leftIndex - 1); in ParseFunctionValue()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/ |
H A D | mutable_span_string.cpp | 22 int32_t GetWStringLength(const std::string& str) in GetWStringLength() argument 24 return static_cast<int32_t>(StringUtils::ToWstring(str).length()); in GetWStringLength() 568 int32_t start, const std::string& str, AroundSpecialNode aroundMode) in InsertStringAroundSpecialNode() 581 int32_t length = static_cast<int32_t>(StringUtils::ToWstring(str).length()); in InsertStringAroundSpecialNode() 582 spanItem->content = str; in InsertStringAroundSpecialNode() 586 auto centerStr = StringUtils::ToWstring(str); in InsertStringAroundSpecialNode() 567 InsertStringAroundSpecialNode( int32_t start, const std::string& str, AroundSpecialNode aroundMode) InsertStringAroundSpecialNode() argument
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/ |
H A D | file_fd_source_plugin.cpp | 84 bool isNumber(const std::string& str) in isNumber() argument 86 return str.find_first_not_of("0123456789") == std::string::npos; in isNumber() 320 FALSE_RETURN_V_MSG_E(fdUriMatch.size() >= FDPOS && isNumber(fdUriMatch[1].str()), in ParseUriInfo() 322 fd_ = std::stoi(fdUriMatch[1].str()); // 1: sub match fd subscript in ParseUriInfo() 327 offset_ = std::stoll(fdUriMatch[2].str()); // 2: sub match offset subscript in ParseUriInfo() 331 size_ = static_cast<uint64_t>(std::stoll(fdUriMatch[3].str())); // 3: sub match size subscript in ParseUriInfo()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/fuzztest/rsanimationbase_fuzzer/ |
H A D | rsanimationbase_fuzzer.cpp | 82 std::string str(cstr); in GetStringFromData() 83 return str; in GetStringFromData() 569 std::string str = GetStringFromData(STR_LEN); in RSRenderTransitionFuzzerTest() local 579 renderTransition->DumpAnimationInfo(str); in RSRenderTransitionFuzzerTest() 647 std::string str = GetStringFromData(STR_LEN); in RSRenderSpringAnimationFuzzerTest() local 654 springAnimation->DumpAnimationInfo(str); in RSRenderSpringAnimationFuzzerTest()
|
/foundation/multimedia/av_codec/test/moduletest/audio_encoder/Avbuffer/src/ |
H A D | avcodec_audio_avbuffer_encoder_demo.cpp | 80 static vector<string> SplitStringFully(const string &str, const string &separator) in SplitStringFully() argument 85 string::size_type index = str.find_first_of(separator, start); in SplitStringFully() 88 substring = str.substr(start, index - start); in SplitStringFully() 90 start = str.find_first_not_of(separator, index); in SplitStringFully() 94 index = str.find_first_of(separator, start); in SplitStringFully() 96 substring = str.substr(start); in SplitStringFully()
|
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/Avbuffer/src/ |
H A D | avcodec_audio_avbuffer_decoder_demo.cpp | 96 static vector<string> SplitStringFully(const string &str, const string &separator) in SplitStringFully() argument 101 string::size_type index = str.find_first_of(separator, start); in SplitStringFully() 104 substring = str.substr(start, index - start); in SplitStringFully() 106 start = str.find_first_not_of(separator, index); in SplitStringFully() 110 index = str.find_first_of(separator, start); in SplitStringFully() 112 substring = str.substr(start); in SplitStringFully()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | image_utils.cpp | 543 std::string cmdline = oss.str(); in GetCurrentProcessName() 578 return ss.str(); in GetLocalTime() 919 bool ImageUtils::StrToUint32(const std::string& str, uint32_t& value) in StrToUint32() argument 921 if (str.empty() || !isdigit(str.front())) { in StrToUint32() 927 auto addr = str.c_str(); in StrToUint32()
|
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderreset_fuzzer/ |
H A D | audio_decoder_reset_demo.cpp | 82 vector<string> SplitStringFully(const string& str, const string& separator) in SplitStringFully() argument 87 string::size_type index = str.find_first_of(separator, start); in SplitStringFully() 90 substring = str.substr(start, index - start); in SplitStringFully() 92 start = str.find_first_not_of(separator, index); in SplitStringFully() 96 index = str.find_first_of(separator, start); in SplitStringFully() 98 substring = str.substr(start); in SplitStringFully()
|