/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcGLSLVectorConstructorTests.cpp | 165 vector<TestParams> result; in generateTestParams() local 166 result.reserve(64); in generateTestParams() 198 result.push_back({ testNameVs.str(), testDescriptionVs.str(), TestType::VERTEX_SHADER, outputType, inputTypes, test.extraFields }); in generateTestParams() 199 result.push_back({ testNameFs.str(), testDescriptionFs.str(), TestType::FRAGMENT_SHADER, outputType, inputTypes, test.extraFields }); in generateTestParams() 206 result.push_back({ testNameInvalidVs.str(), testDescriptionVs.str(), TestType::VERTEX_SHADER_ERROR, outputType, failInputTypes, test.extraFields }); in generateTestParams() 207 result.push_back({ testNameInvalidFs.str(), testDescriptionFs.str(), TestType::FRAGMENT_SHADER_ERROR, outputType, failInputTypes, test.extraFields }); in generateTestParams() 212 return result; in generateTestParams() 516 const qpTestResult result = (pass ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL); in iterate() local 519 m_testCtx.setTestResult(result, desc); in iterate()
|
/third_party/vk-gl-cts/external/amber/src/src/ |
H A D | buffer.cc | 91 auto result = CheckCompability(buffer); in IsEqual() local 92 if (!result.IsSuccess()) in IsEqual() 93 return result; in IsEqual() 162 auto result = CheckCompability(buffer); in CompareRMSE() local 163 if (!result.IsSuccess()) in CompareRMSE() 164 return result; in CompareRMSE() 209 auto result = CheckCompability(buffer); in CompareHistogramEMD() local 210 if (!result.IsSuccess()) in CompareHistogramEMD() 211 return result; in CompareHistogramEMD()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | double-conversion-fast-dtoa.cpp | 51 // exponent, where 'w' is the result of multiplying the input by a cached power 183 // Rounds the buffer upwards if the result is closer to v by possibly adding 523 // Returns true if it succeeds, otherwise the result cannot be trusted. 569 // The DiyFp::Times procedure rounds its result, and ten_mk is approximated 593 bool result = DigitGen(scaled_boundary_minus, scaled_w, scaled_boundary_plus, 596 return result; 628 // The DiyFp::Times procedure rounds its result, and ten_mk is approximated 642 bool result = DigitGenCounted(scaled_w, requested_digits, 645 return result; 658 bool result [all...] |
H A D | ucoleitr.cpp | 334 int64_t result = UCOL_IGNORABLE; in nextProcessed() local 349 result = UCOL_PROCESSED_NULLORDER; in nextProcessed() 353 result = processCE((uint32_t)ce); in nextProcessed() 354 } while (result == UCOL_IGNORABLE); in nextProcessed() 364 return result; in nextProcessed() 387 int64_t result = UCOL_IGNORABLE; in previousProcessed() local 422 result = processCE(rcei->ce); in previousProcessed() 424 if (result != UCOL_IGNORABLE) { in previousProcessed() 425 pceBuffer.put(result, rcei->low, rcei->high, *status); in previousProcessed()
|
H A D | windtfmt.cpp | 59 UnicodeString *result = NULL; in getTimeDateFormat() local 87 result = new UnicodeString(TRUE, resStr, resStrLen); in getTimeDateFormat() 94 return result; in getTimeDateFormat() 310 int result=0; in formatDate() local 320 result = GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, NULL, buffer, STACK_BUFFER_SIZE, NULL); in formatDate() 322 if (result == 0) { in formatDate() 343 int result; in formatTime() local 353 result = GetTimeFormatEx(localeName, tfFlags[fTimeStyle], st, NULL, buffer, STACK_BUFFER_SIZE); in formatTime() 355 if (result == 0) { in formatTime()
|
H A D | winnmfmt.cpp | 318 void Win32NumberFormat::parse(const UnicodeString& text, Formattable& result, ParsePosition& parsePosition) const in parse() argument 323 nf->parse(text, result, parsePosition); in parse() 343 int result; in format() local 347 /* Due to the arguments causing a result to be <= 23 characters (+2 for NULL and minus), in format() 350 result = _vsnwprintf(nBuffer, STACK_BUFFER_SIZE, fmt, args); in format() 354 U_ASSERT(result >=0); in format() 356 /*if (result < 0) { in format() 366 result = _vsnwprintf(nBuffer, newLength + 1, fmt, args); in format() 409 result = GetCurrencyFormatEx(localeName, 0, nBuffer, &formatInfo.currency, buffer, STACK_BUFFER_SIZE); in format() 411 if (result in format() [all...] |
/third_party/python/Lib/tkinter/ |
H A D | simpledialog.py | 125 self.result = None 305 result = self.getresult() 314 if self.minvalue is not None and result < self.minvalue: 323 if self.maxvalue is not None and result > self.maxvalue: 332 self.result = result 356 return d.result 378 return d.result 412 return d.result
|
/third_party/python/Lib/test/libregrtest/ |
H A D | runtest.py | 146 def is_failed(result: TestResult, ns: Namespace) -> bool: 147 if isinstance(result, EnvChanged): 149 return isinstance(result, Failed) 214 result = _runtest_inner(ns, test_name, 216 if not isinstance(result, Passed): 230 result = _runtest_inner(ns, test_name, 235 result.xml_data = [ 240 result.duration_sec = time.perf_counter() - start_time 241 return result 254 Returns a TestResult sub-class depending on the kind of result receive [all...] |
/third_party/skia/tools/skpbench/ |
H A D | skpbench.py | 246 result = BenchResult.match(message.value) 247 if result: 249 self._process_result(result) 273 def _process_result(self, result): 274 if not self.best_result or result.stddev <= self.best_result.stddev: 275 self.best_result = result 277 print("reusing previous result for %s/%s with lower stddev " 279 (result.config, result.bench, self.best_result.stddev, 280 result [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | caniter.cpp | 148 //String result = buffer.toString(); // not needed in next() 267 void U_EXPORT2 CanonicalIterator::permute(UnicodeString &source, UBool skipZeros, Hashtable *result, UErrorCode &status) { in permute() argument 284 result->put(source, toPut, status); in permute() 334 result->put(*chStr, chStr, status); in permute() 338 //return result; in permute() 345 Hashtable result(status); in getEquivalents() 351 result.setValueDeleter(uprv_deleteUObject); in getEquivalents() 390 result.put(possible, new UnicodeString(possible), status); //add(possible); in getEquivalents() 405 //String[] finalResult = new String[result.size()]; in getEquivalents() 408 if((resultCount = result in getEquivalents() [all...] |
/third_party/vixl/benchmarks/aarch64/ |
H A D | bench-utils.cc | 57 uint64_t result = 0; in GetRandomBits() local 61 result = (result << 32) | jrand48(rand_state_); // [-2^31, 2^31] in GetRandomBits() 64 if (bits == 0) return result; in GetRandomBits() 71 result = (result << rnd_bits_) | rnd_; in GetRandomBits() 79 result = (result << bits) | (rnd_ % (UINT32_C(1) << bits)); in GetRandomBits() 82 return result; in GetRandomBits()
|
/third_party/protobuf/src/google/protobuf/io/ |
H A D | io_win32.cc | 200 std::wstringstream result; in normalize() local 203 result << L'\\'; in normalize() 206 result << segments[i]; in normalize() 210 result << L'\\'; in normalize() 212 return result.str(); in normalize() 215 bool as_windows_path(const char* path, wstring* result) { in as_windows_path() argument 217 result->clear(); in as_windows_path() 225 *result = wpath; in as_windows_path() 250 *result = wpath; in as_windows_path()
|
/third_party/protobuf/js/binary/ |
H A D | decoder.js | 273 * function with the value in two signed 32 bit integers to produce the result. 285 * the result value, takes parameters (lowBits, highBits). 329 * produce the result. Since this does not convert the value to a number, no 341 * the result value, takes parameters (lowBits, highBits). 354 * function with the value in two signed 32 bit integers to produce the result. 358 * the result value, takes parameters (lowBits, highBits). 530 var result = this.readUnsignedVarint32(); 531 return (result >>> 1) ^ - (result & 1); 836 var result [all...] |
/third_party/python/Modules/ |
H A D | main.c | 268 PyObject *module, *runpy, *runmodule, *runargs, *result; in pymain_run_module() local 300 result = PyObject_Call(runmodule, runargs, NULL); in pymain_run_module() 301 if (!result && PyErr_Occurred() == PyExc_KeyboardInterrupt) { in pymain_run_module() 308 if (result == NULL) { in pymain_run_module() 311 Py_DECREF(result); in pymain_run_module() 450 PyObject *sys, *hook, *result; in pymain_run_interactive_hook() local 467 result = _PyObject_CallNoArgs(hook); in pymain_run_interactive_hook() 469 if (result == NULL) { in pymain_run_interactive_hook() 472 Py_DECREF(result); in pymain_run_interactive_hook()
|
/third_party/python/Lib/test/ |
H A D | test_ttk_textonly.py | 44 def check_against(fmt_opts, result): 46 self.assertEqual(result.pop(fmt_opts[i]), fmt_opts[i + 1]) 47 if result: 48 self.fail("result still got elements: %s" % result) 133 result = ttk._format_mapdict(opts) 134 self.assertEqual(len(result), len(list(opts.keys())) * 2) 135 self.assertEqual(result, ('-a', '{b c} val d otherval {} single')) 142 result = ttk._format_mapdict(opts) 143 self.assertEqual(result, (' [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sc/ |
H A D | vktObjectRefreshTests.cpp | 56 vk::VkResult result = vki.getPhysicalDeviceRefreshableObjectTypesKHR(physicalDevice, &countReported, DE_NULL); in queryRefreshableObjects() local 57 if (result != vk::VK_SUCCESS) in queryRefreshableObjects() 71 result = vki.getPhysicalDeviceRefreshableObjectTypesKHR(physicalDevice, &countRetrieved, refreshableObjects.data()); in queryRefreshableObjects() 74 if ((result != vk::VK_SUCCESS) && (result != vk::VK_INCOMPLETE)) in queryRefreshableObjects() 99 vk::VkResult result = vki.getPhysicalDeviceRefreshableObjectTypesKHR(physicalDevice, &countReported, DE_NULL); in refreshObjects() local 100 if ((result != vk::VK_SUCCESS) || (countReported == 0)) in refreshObjects() 104 result = vki.getPhysicalDeviceRefreshableObjectTypesKHR(physicalDevice, &countReported, refreshableObjectTypes.data()); in refreshObjects() 105 if (result != vk::VK_SUCCESS) in refreshObjects()
|
/third_party/vulkan-loader/scripts/ |
H A D | update_deps.py | 284 result = subprocess.run(cmd, cwd=directory, capture_output=True, text=True) 286 if result.returncode != 0: 287 print(f'{result.stderr}', file=sys.stderr) 291 print(result.stdout) 292 return result.stdout 298 result = subprocess.run(cmake_cmd, 305 print(result.stdout) 308 if result.returncode != 0: 309 print(result.stdout, file=sys.stderr) 310 sys.exit(result [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
H A D | copyvertex.inc.h | 201 float result = 0; in CopyToFloatVertexData() local 207 result = static_cast<float>(offsetInput[j]) / static_cast<float>(NL::max()); in CopyToFloatVertexData() 208 result = result >= -1.0f ? result : -1.0f; in CopyToFloatVertexData() 212 result = static_cast<float>(offsetInput[j]) / static_cast<float>(NL::max()); in CopyToFloatVertexData() 217 result = static_cast<float>(offsetInput[j]); in CopyToFloatVertexData() 222 offsetOutput[j] = gl::float32ToFloat16(result); in CopyToFloatVertexData() 226 offsetOutput[j] = static_cast<outputType>(result); in CopyToFloatVertexData()
|
/build/hb/util/loader/ |
H A D | platforms_loader.py | 210 result = {} 211 result['all_parts'] = all_parts 212 result['all_stubs'] = platform_loader.get_all_stubs() 213 result['variant_toolchain_info'] = toolchain_to_variant_dict 214 return result
|
/foundation/ability/ability_runtime/test/moduletest/ability_caller_fw_module_test/ |
H A D | ability_caller_fw_module_test.cpp | 80 * @tc.desc: Ability caller to process StartAbility, and the result is success. 113 * @tc.desc: Ability caller to process StartAbility, and the result is fail because call back is nullptr. 127 * @tc.desc: Ability caller to process StartAbility, and the result is fail because the element of want is empty. 143 * @tc.desc: Ability Caller to process ReleaseCall, and the result is success. 172 * @tc.desc: Ability Caller to process ReleaseCall, and the result is fail because has no caller record. 186 * @tc.desc: Ability Caller to process OnCallStubDied, and the result is success. 196 callback->SetOnRelease([&isSetOnReleaseCalled](const std::string& result) mutable { in HWTEST_F() 197 GTEST_LOG_(ERROR) << "OnRelease-----------" << result; in HWTEST_F() 198 EXPECT_TRUE(result == "died"); in HWTEST_F() 210 * @tc.desc: Ability Caller to process OnCallStubDied, and the result i [all...] |
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtsp/src/ |
H A D | rtsp_response.cpp | 68 auto result = RtspCommon::ParseMessage(response, firstLine, tokens_, body_); in Parse() local 69 if (result.code != RtspErrorType::OK || firstLine.size() < 2 || tokens_.empty()) { // 2:rstp line in Parse() 126 if (result.info.size() > 2 && result.info.back() == '$') { // 2:fixed size in Parse() 127 return result; in Parse()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/aging/ |
H A D | bundle_aging_mgr.cpp | 36 [&useStat](auto &result) { in StatisticsUsageStats() 37 if (useStat.bundleName_ == result.bundleName_) { in StatisticsUsageStats() 38 result.startCount_ += useStat.startCount_; in StatisticsUsageStats() 39 if (result.lastTimeUsed_ < useStat.lastTimeUsed_) { in StatisticsUsageStats() 40 result.lastTimeUsed_ = useStat.lastTimeUsed_; in StatisticsUsageStats()
|
/foundation/communication/bluetooth_service/services/bluetooth/server/src/ |
H A D | bluetooth_pan_server.cpp | 178 std::vector<BluetoothRawAddress>& result) in GetDevicesByStates() 189 result.push_back(bluetoothDevice); in GetDevicesByStates() 241 int32_t BluetoothPanServer::IsTetheringOn(bool& result) in IsTetheringOn() argument 251 result = pimpl->panService_->IsTetheringOn(); in IsTetheringOn() 252 HILOGI("IsTetheringOn:%{public}d", result); in IsTetheringOn() 177 GetDevicesByStates(const std::vector<int32_t> &states, std::vector<BluetoothRawAddress>& result) GetDevicesByStates() argument
|
/foundation/multimedia/audio_framework/services/audio_service/server/src/ |
H A D | pro_audio_stream_manager.cpp | 83 int32_t result = currentRender->Start(); in StartRender() local 84 CHECK_AND_RETURN_RET_LOG(result == SUCCESS, result, "Failed to start rendererStream"); in StartRender() 176 bool result = PolicyHandler::GetInstance().GetProcessDeviceInfo(config, true, deviceInfo); in CreatePlayBackEngine() local 177 CHECK_AND_RETURN_RET_LOG(result, ERR_DEVICE_INIT, "GetProcessDeviceInfo failed."); in CreatePlayBackEngine()
|
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/input/ |
H A D | camera_input.h | 56 const std::shared_ptr<OHOS::Camera::CameraMetadata> &result) const = 0; 250 * @brief Set the result callback. 251 * which will be called when result callback. 334 * @param result metadata got from callback from service layer. 336 void ProcessCallbackUpdates(const uint64_t timestamp, const std::shared_ptr<OHOS::Camera::CameraMetadata> &result); 342 * @param result metadata got from callback from service layer. 344 [[deprecated]] void ProcessAutoFocusUpdates(const std::shared_ptr<OHOS::Camera::CameraMetadata> &result); 350 * @param result metadata got from callback from service layer. 352 [[deprecated]] void ProcessAutoExposureUpdates(const std::shared_ptr<OHOS::Camera::CameraMetadata> &result); 415 int32_t OnResult(const uint64_t timestamp, const std::shared_ptr<OHOS::Camera::CameraMetadata> &result) overrid [all...] |