/third_party/skia/third_party/externals/dawn/src/dawn_node/tools/src/cmd/run-cts/ |
H A D | main.go | 126 flag.StringVar(&logFilename, "log", "", "path to log file of tests run and result") 271 resultByIndex map[int]result 276 return logger{writer, 0, map[int]result{}} 280 // logResult should be called whenever a new test result becomes available. 281 func (l *logger) logResults(res result) { 455 results := make(chan result, len(r.testcases)) 464 results <- result{ 482 // The result of the test run is written to the results chan. 485 func (r *runner) runServer(caseIndices <-chan int, results chan<- result) error { 550 res := result{inde 739 type result struct { global() type [all...] |
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | ByteStringTest.java | 63 byte[] result = new byte[size]; in getTestBytes() 64 random.nextBytes(result); in getTestBytes() 65 return result; in getTestBytes() 249 "reading an empty stream must result in the EMPTY constant byte string", in testReadFrom_emptyStream() 844 byte[] result = substringUsingWriteTo(left, 1, 1); in testWriteToOutputStream() 845 assertEquals(1, result.length); in testWriteToOutputStream() 846 assertEquals((byte) 11, result[0]); in testWriteToOutputStream() 857 result = substringUsingWriteTo(root, 0, dataSize); in testWriteToOutputStream() 858 assertEquals(dataSize, result.length); in testWriteToOutputStream() 859 assertEquals((byte) 1, result[ in testWriteToOutputStream() [all...] |
/third_party/python/Lib/ctypes/test/ |
H A D | test_structures.py | 520 result = func(s) 521 self.assertEqual(result, expected) 533 result = func(s) 534 self.assertEqual(result, expected) 549 result = func(s) 550 self.assertAlmostEqual(result, expected, places=6) 616 result = func(test4) variable in StructureTestCase.test_union_by_value.Test5 624 result = func(test5) variable in StructureTestCase.test_union_by_value.Test5 633 result = func(byref(test4)) 634 self.assertEqual(result, 1234 686 result = func(test6) global() variable in StructureTestCase.test_bitfield_by_value.Test6 737 result = func(test8) global() variable in StructureTestCase.test_bitfield_by_value.Test8 [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | numbers.cc | 57 auto result = absl::from_chars(str.data(), str.data() + str.size(), *out); in SimpleAtof() local 58 if (result.ec == std::errc::invalid_argument) { in SimpleAtof() 61 if (result.ptr != str.data() + str.size()) { in SimpleAtof() 67 if (result.ec == std::errc::result_out_of_range) { in SimpleAtof() 88 auto result = absl::from_chars(str.data(), str.data() + str.size(), *out); in SimpleAtod() local 89 if (result.ec == std::errc::invalid_argument) { in SimpleAtod() 92 if (result.ptr != str.data() + str.size()) { in SimpleAtod() 98 if (result.ec == std::errc::result_out_of_range) { in SimpleAtod() 280 // return that number multiplied by the given 32-bit value. If the result is 302 // never be set at the same time, since they are a result o in Mul32() 326 std::pair<uint64_t, uint64_t> result = {num, 0}; PowFive() local [all...] |
H A D | str_format_test.cc | 281 int result = in TEST_F() local 283 EXPECT_EQ(result, 30); in TEST_F() 289 int result = FPrintF(stdin, "ABC"); in TEST_F() local 290 EXPECT_LT(result, 0); in TEST_F() 299 int result = FPrintF(f, "%*d %*d", width, 0, width, 0); in TEST_F() local 300 EXPECT_LT(result, 0); in TEST_F() 312 int result = PrintF("STRING: %s NUMBER: %010d", std::string("ABC"), -19); in TEST_F() local 318 EXPECT_EQ(result, 30); in TEST_F() 325 int result = in TEST_F() local 327 EXPECT_EQ(result, 1 in TEST_F() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
H A D | vktSampleVerifier.cpp | 449 bool SampleVerifier::verifySampleFiltered (const Vec4& result, 553 if (isInRange(result, idealSampleMin, idealSampleMax)) 565 if (isInRange(result, idealSampleHiMin, idealSampleHiMax)) 579 const Vec4& result, 614 if (isInRange(result, idealMin, idealMax)) 625 if (verifySampleFiltered(result, baseTexel[0], baseTexel[1], texelGridOffset[0], texelGridOffset[1], layer, level, Vec2(0.0f, 0.0f), VK_FILTER_LINEAR, VK_SAMPLER_MIPMAP_MODE_NEAREST, report)) 638 if (verifySampleFiltered(result, baseTexel[0], baseTexel[1], texelGridOffset[0], texelGridOffset[1], layer, level, lodFracBounds, m_samplerParams.minFilter, VK_SAMPLER_MIPMAP_MODE_LINEAR, report)) 643 if (verifySampleFiltered(result, baseTexel[0], baseTexel[1], texelGridOffset[0], texelGridOffset[1], layer, level, Vec2(0.0f, 0.0f), VK_FILTER_LINEAR, VK_SAMPLER_MIPMAP_MODE_NEAREST, report)) 655 if (isInRange(result, idealMin, idealMax)) 670 const Vec4& result, [all...] |
/third_party/skia/third_party/externals/tint/src/writer/spirv/ |
H A D | builder.cc | 288 SanitizedResult result; in Sanitize() local 289 result.program = std::move(manager.Run(in, data).program); in Sanitize() 290 return result; in Sanitize() 539 auto result = GenerateConstantIfNeeded(constant); in GenerateExecutionModes() local 540 wgsize_ops.push_back(Operand::Int(result)); in GenerateExecutionModes() 727 auto result = result_op(); in GenerateFunctionVariable() local 728 auto var_id = result.to_i(); in GenerateFunctionVariable() 746 push_function_var({Operand::Int(type_id), result, in GenerateFunctionVariable() 818 auto result = result_op(); in GenerateGlobalVariable() local 819 auto var_id = result in GenerateGlobalVariable() 1078 auto result = result_op(); GenerateMemberAccessor() local 1156 auto result = result_op(); GenerateAccessorExpression() local 1192 auto result = result_op(); GenerateLoadIfNeeded() local 1203 auto result = result_op(); GenerateUnaryOpExpression() local 1256 auto result = result_op(); GetGLSLstd450Import() local 1476 auto result = result_op(); GenerateTypeConstructorOrConversion() local 1518 auto result = result_op(); GenerateCastOrCopyOrPassthrough() local 1703 auto result = result_op(); GenerateConstantIfNeeded() local 1762 auto result = result_op(); GenerateConstantNullIfNeeded() local 1860 auto result = result_op(); GenerateShortCircuitBinaryExpression() local 1939 auto result = result_op(); GenerateMatrixAddOrSub() local 1977 auto result = result_op(); GenerateBinaryExpression() local 2237 auto result = result_op(); GenerateFunctionCall() local 2273 auto result = result_op(); GenerateIntrinsicCall() local 3444 auto result = result_op(); GenerateBitcastExpression() local 3976 GenerateTextureType(const sem::Texture* texture, const Operand& result) GenerateTextureType() argument 4054 GenerateArrayType(const sem::Array* ary, const Operand& result) GenerateArrayType() argument 4079 GenerateMatrixType(const sem::Matrix* mat, const Operand& result) GenerateMatrixType() argument 4092 GeneratePointerType(const sem::Pointer* ptr, const Operand& result) GeneratePointerType() argument 4111 GenerateReferenceType(const sem::Reference* ref, const Operand& result) GenerateReferenceType() argument 4130 GenerateStructType(const sem::Struct* struct_type, const Operand& result) GenerateStructType() argument 4202 GenerateVectorType(const sem::Vector* vec, const Operand& result) GenerateVectorType() argument [all...] |
/foundation/ability/ability_runtime/test/mock/frameworks_kits_test/DemoAbility/ |
H A D | mock_ability_test.h | 49 std::vector<std::string> result; in GetFileTypes() local 50 result.push_back("Type1"); in GetFileTypes() 51 result.push_back("Type2"); in GetFileTypes() 52 result.push_back("Type3"); in GetFileTypes() 53 return result; in GetFileTypes()
|
/foundation/ability/form_fwk/services/form_render_service/src/ |
H A D | form_module_checker.cpp | 131 std::vector<std::string> result;
in GetModuleAllowList() local 136 return result;
in GetModuleAllowList() 141 return result;
in GetModuleAllowList() 149 result.push_back(module);
in GetModuleAllowList() 153 return result;
in GetModuleAllowList()
|
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/update/controller/ |
H A D | update_engine_controller.cpp | 70 INTELL_VOICE_LOG_INFO("retry err, times %{public}d, result %{public}d", retryTimes_, updateResult_); in UpdateRetryProc() 200 void UpdateEngineController::OnUpdateComplete(UpdateState result, const std::string ¶m) in OnUpdateComplete() argument 202 HandleUpdateComplete(result, param); in OnUpdateComplete() 205 void UpdateEngineController::UpdateCompleteProc(UpdateState result, const std::string ¶m, bool &isLast) in UpdateCompleteProc() argument 218 updateResult_ = result; in UpdateCompleteProc() 225 updateStrategy_->OnUpdateCompleteCallback(result != UpdateState::UPDATE_STATE_COMPLETE_SUCCESS, true); in UpdateCompleteProc()
|
/foundation/ability/form_fwk/test/unittest/form_provider_info_test/ |
H A D | form_provider_info_test.cpp | 50 auto result = formProviderInfo.ReadFromParcel(parcel); in HWTEST_F() local 51 EXPECT_TRUE(result); in HWTEST_F() 122 auto result = formProviderInfo.GetImageDataMap(); in HWTEST_F() local 149 auto result = formProviderInfo.NeedCache(); in HWTEST_F() local 150 EXPECT_FALSE(result); in HWTEST_F()
|
/foundation/ability/ability_base/interfaces/inner_api/base/src/ |
H A D | zchar_wrapper.cpp | 149 zchar result = firstChar; in GetCharInternal() local 154 result = (result << BYTE_SHIFT) + (*cur++ & 0x3F); in GetCharInternal() 157 result &= ~(ignoreMask << (BYTE_SHIFT * (num2Read - 1))); in GetCharInternal() 159 return result; in GetCharInternal()
|
/foundation/ability/ability_runtime/frameworks/native/appkit/app_startup/ |
H A D | startup_topologysort.cpp | 26 TAG_LOGE(AAFwkTag::STARTUP, "Create result obj fail"); in Sort() 36 int32_t result = SortZeroDeque(iter.second, startupMap, inDegreeMap, zeroDeque, startupSortResult); in Sort() local 37 if (result != ERR_OK) { in Sort() 38 return result; in Sort() 82 auto result = inDegreeMap.emplace(key, startup->getDependenciesCount()); in SortZeroDeque() local 83 if (!result.second) { in SortZeroDeque()
|
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | animation_option.h | 162 std::string result = std::string("duration:").append(std::to_string(duration_)) in ToString() local 165 result.append(", iteration:").append(std::to_string(iteration_)); in ToString() 168 result.append(", delay:").append(std::to_string(delay_)); in ToString() 171 result.append(", tempo:").append(std::to_string(tempo_)); in ToString() 173 return result; in ToString()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | divider_composed_element.cpp | 95 std::string result = ""; in ConvertLineCapToString() local 98 result = "LineCapStyle.Butt"; in ConvertLineCapToString() 101 result = "LineCapStyle.Round"; in ConvertLineCapToString() 104 result = "LineCapStyle.Square"; in ConvertLineCapToString() 109 return result; in ConvertLineCapToString()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | distributed_ability_info.cpp | 90 std::string result; in Dump() local 91 result.append(prefix); in Dump() 92 result.append(jsonObject.dump(Constants::DUMP_INDENT)); in Dump() 93 int ret = TEMP_FAILURE_RETRY(write(fd, result.c_str(), result.size())); in Dump()
|
H A D | distributed_module_info.cpp | 87 std::string result; in Dump() local 88 result.append(prefix); in Dump() 89 result.append(jsonObject.dump(Constants::DUMP_INDENT)); in Dump() 90 int ret = TEMP_FAILURE_RETRY(write(fd, result.c_str(), result.size())); in Dump()
|
/foundation/arkui/napi/test/unittest/engine/ |
H A D | test_ark.cpp | 107 auto result = engine_->CreateRuntime(true); in HWTEST_F() local 108 ASSERT_TRUE(result); in HWTEST_F() 133 bool *result = reinterpret_cast<bool*>(hint); in HWTEST_F() 134 ASSERT_FALSE(*result); in HWTEST_F() 135 *result = true; in HWTEST_F()
|
/foundation/arkui/napi/sample/native_module_netserver/ |
H A D | netserver.h | 50 napi_value result; in ToJsObject() local 51 napi_create_object(env_, &result); in ToJsObject() 55 napi_set_named_property(env_, result, "type", type); in ToJsObject() 60 napi_set_named_property(env_, result, "data", data); in ToJsObject() 63 return result; in ToJsObject()
|
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/sched_controller/include/ |
H A D | sched_controller.h | 62 void Dump(const std::vector<std::string>& args, std::string& result); 63 void DumpHelp(std::string& result); 64 void DumpProcessRunningLock(std::string &result); 65 void DumpProcessEventState(std::string &result); 66 void DumpProcessWindowInfo(std::string &result);
|
/foundation/resourceschedule/device_standby/plugins/standby_state/include/ |
H A D | state_manager_adapter.h | 43 void ShellDump(const std::vector<std::string>& argsInStr, std::string& result) override; 56 void DumpShowDetailInfo(const std::vector<std::string>& argsInStr, std::string& result); 57 void DumpEnterSpecifiedState(const std::vector<std::string>& argsInStr, std::string& result); 58 void DumpActivateMotion(const std::vector<std::string>& argsInStr, std::string& result); 59 void DumpResetState(const std::vector<std::string>& argsInStr, std::string& result);
|
/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/src/ |
H A D | obtain_all_works.cpp | 85 napi_value result = nullptr; in ObtainAllWorks() 87 result = Common::NapiGetNull(env); in ObtainAllWorks() 89 napi_create_array(env, &result); in ObtainAllWorks() 93 napi_set_element(env, result, count, napiWork); in ObtainAllWorks() 97 Common::ReturnCallbackPromise(env, *asyncCallbackInfo, result); in ObtainAllWorks()
|
/foundation/communication/ipc/services/dbinder/test/moduletest/src/ |
H A D | rpc_test.cpp | 30 int result = ERR_NONE; in OnRemoteRequest() local 38 result = TestAccessToken(data, reply); in OnRemoteRequest() 42 result = TestRemoteObject(data, reply); in OnRemoteRequest() 46 result = TestAdd(data, reply); in OnRemoteRequest() 53 return result; in OnRemoteRequest()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/ |
H A D | cloud_types_util.cpp | 93 uint32_t result; in Unmarshalling() local 94 if (!data.ReadUint32(result) || result < Strategy::STRATEGY_HEAD || result >= Strategy::STRATEGY_BUTT) { in Unmarshalling() 97 output = static_cast<Strategy>(result); in Unmarshalling()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/strategies/data_share/ |
H A D | load_config_from_data_share_bundle_info_strategy.cpp | 58 ConfigData result;
in LoadConfigFromProfile() local 61 result.SetCrossUserMode(ConfigData::TABLE_MATCH_PRIORITY, item.crossUserMode);
in LoadConfigFromProfile() 65 result.SetCrossUserMode(ConfigData::STORE_MATCH_PRIORITY, item.crossUserMode);
in LoadConfigFromProfile() 69 result.SetCrossUserMode(ConfigData::COMMON_MATCH_PRIORITY, item.crossUserMode);
in LoadConfigFromProfile() 73 result.FillIntoContext(context);
in LoadConfigFromProfile()
|