/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | vk_utils.h | 82 egl::Error ToEGL(Result result, rx::DisplayVk *displayVk, EGLint errorCode); 89 const char *VulkanResultString(VkResult result); 190 virtual void handleError(VkResult result, 1185 #define ANGLE_VK_CHECK_MATH(context, result) \ 1186 ANGLE_VK_CHECK(context, result, VK_ERROR_VALIDATION_FAILED_EXT) 1188 #define ANGLE_VK_CHECK_ALLOC(context, result) \ 1189 ANGLE_VK_CHECK(context, result, VK_ERROR_OUT_OF_HOST_MEMORY)
|
/third_party/skia/src/gpu/ops/ |
H A D | AAHairLinePathRenderer.cpp | 171 // Most cases will result in either 1 conic (chop point is not within t range) 503 SkPoint* result) { in intersect_lines() 512 *result = (ptA + ptB)*SK_ScalarHalf; in intersect_lines() 513 *result += normA; in intersect_lines() 515 result->fX = normA.fY * lineBW - lineAW * normB.fY; in intersect_lines() 516 result->fX *= wInv; in intersect_lines() 518 result->fY = lineAW * normB.fX - normA.fX * lineBW; in intersect_lines() 519 result->fY *= wInv; in intersect_lines() 501 intersect_lines(const SkPoint& ptA, const SkVector& normA, const SkPoint& ptB, const SkVector& normB, SkPoint* result) intersect_lines() argument
|
/third_party/skia/src/core/ |
H A D | SkScan_Antihair.cpp | 301 int result = ordinate & 63; 302 if (0 == result) { 303 result = 64; 306 int result = ((ordinate - 1) & 63) + 1; 308 SkASSERT(result > 0 && result <= 64); 309 return result; 330 precise, but avoids overflowing the intermediate result if the 848 // a=228, b=252 don't overflow the result
|
/third_party/skia/src/shaders/ |
H A D | SkPerlinNoiseShader.cpp | 136 int result = kRandAmplitude * (fSeed % kRandQ) - kRandR * (fSeed / kRandQ); in random() local 137 if (result <= 0) { in random() 138 result += kRandMaximum; in random() 140 fSeed = result; in random() 141 return result; in random() 505 // Clamp result 559 int x, int y, SkPMColor result[], int count) { 563 result[i] = shade(point, stitchData); 753 // affecting the result of the noise by making sure that we only have multiples of 1/255. 880 // Pre-multiply the result [all...] |
/third_party/skia/third_party/externals/freetype/src/autofit/ |
H A D | afhints.c | 92 /* the best result, but normally, using reference character */ in af_sort_and_quantize_widths() 294 const char* result; in af_dir_str() local 300 result = "up"; in af_dir_str() 303 result = "down"; in af_dir_str() 306 result = "left"; in af_dir_str() 309 result = "right"; in af_dir_str() 312 result = "none"; in af_dir_str() 315 return result; in af_dir_str()
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | WireFormatLiteTest.java | 233 ExtensionRegistryLite result = ExtensionRegistryLite.newInstance(); in getTestFieldOrderingsRegistry() 234 result.add(UnittestProto.myExtensionInt); in getTestFieldOrderingsRegistry() 235 result.add(UnittestProto.myExtensionString); in getTestFieldOrderingsRegistry() 236 return result; in getTestFieldOrderingsRegistry() 256 ExtensionRegistryLite result = ExtensionRegistryLite.newInstance(); in getTestExtensionInsideTableRegistry() 257 result.add(UnittestProto.testExtensionInsideTableExtension); in getTestExtensionInsideTableRegistry() 258 return result; in getTestExtensionInsideTableRegistry() 692 // element moves the reading position past the given length limit. It should result in an in testParsePackedFieldsWithIncorrectLength() 1010 // Field values present in either message should be present in the merged result. in testProto3MessageFieldMergeBehavior()
|
/third_party/python/Lib/unittest/test/ |
H A D | test_discovery.py | 308 # and the plain module result nested by the package module load_tests 547 result = unittest.TestResult() 548 suite.run(result) 549 self.assertEqual(len(result.skipped), 1) 572 result = unittest.TestResult() 573 suite.run(result) 574 self.assertEqual(len(result.skipped), 1) 575 self.assertEqual(result.testsRun, 1)
|
/third_party/python/Modules/ |
H A D | _csv.c | 1244 PyObject *iter, *field, *line, *result; in csv_writerow() local 1326 result = PyObject_CallOneArg(self->write, line); in csv_writerow() 1328 return result; in csv_writerow() 1340 PyObject *row_iter, *row_obj, *result; in csv_writerows() local 1347 result = csv_writerow(self, row_obj); in csv_writerows() 1349 if (!result) { in csv_writerows() 1354 Py_DECREF(result); in csv_writerows()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/ |
H A D | vktRayTracingCallableShadersTests.cpp | 203 std::vector<de::SharedPtr<BottomLevelAccelerationStructure> > result; in initBottomAccelerationStructures() local 216 result.push_back(de::SharedPtr<BottomLevelAccelerationStructure>(bottomLevelAccelerationStructure.release())); in initBottomAccelerationStructures() 218 return result; in initBottomAccelerationStructures() 228 de::MovePtr<TopLevelAccelerationStructure> result = makeTopLevelAccelerationStructure(); in initTopAccelerationStructure() local 229 result->setInstanceCount(1); in initTopAccelerationStructure() 230 result->addInstance(bottomLevelAccelerationStructures[0]); in initTopAccelerationStructure() 232 return result; in initTopAccelerationStructure() 365 // create result image in verifyImage() 403 // compare result and reference in verifyImage() 481 "layout(r32ui, set = 0, binding = 0) uniform uimage2D result;\ in initPrograms() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/ |
H A D | vktSubgroupsSizeControlTests.cpp | 434 vector<string> result (stageCount, string()); in getPerStageHeadDeclarations() 437 result.reserve(result.size() + 1); in getPerStageHeadDeclarations() 439 for (size_t i = 0; i < result.size(); ++i) in getPerStageHeadDeclarations() 441 result[i] = in getPerStageHeadDeclarations() 444 " uint result[];\n" in getPerStageHeadDeclarations() 451 "layout(location = 0) out uint result;\n"; in getPerStageHeadDeclarations() 453 result.push_back(fragPart); in getPerStageHeadDeclarations() 456 return result; in getPerStageHeadDeclarations() 490 << " uvec4 result[];\ in initProgramsRequireFull() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | wpas_glue.c | 260 static const char * result_str(enum eapol_supp_result result) in result_str() argument 262 switch (result) { in result_str() 275 enum eapol_supp_result result, in wpa_supplicant_eapol_cb() 282 wpa_printf(MSG_DEBUG, "EAPOL authentication completed - result=%s", in wpa_supplicant_eapol_cb() 283 result_str(result)); in wpa_supplicant_eapol_cb() 288 wpa_s->eap_expected_failure = result == in wpa_supplicant_eapol_cb() 291 if (result != EAPOL_SUPP_RESULT_SUCCESS) { in wpa_supplicant_eapol_cb() 302 if (result != EAPOL_SUPP_RESULT_SUCCESS || in wpa_supplicant_eapol_cb() 274 wpa_supplicant_eapol_cb(struct eapol_sm *eapol, enum eapol_supp_result result, void *ctx) wpa_supplicant_eapol_cb() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | wpas_glue.c | 277 static const char * result_str(enum eapol_supp_result result) in result_str() argument 279 switch (result) { in result_str() 292 enum eapol_supp_result result, in wpa_supplicant_eapol_cb() 299 wpa_printf(MSG_DEBUG, "EAPOL authentication completed - result=%s", in wpa_supplicant_eapol_cb() 300 result_str(result)); in wpa_supplicant_eapol_cb() 305 wpa_s->eap_expected_failure = result == in wpa_supplicant_eapol_cb() 308 if (result != EAPOL_SUPP_RESULT_SUCCESS) { in wpa_supplicant_eapol_cb() 319 if (result != EAPOL_SUPP_RESULT_SUCCESS || in wpa_supplicant_eapol_cb() 291 wpa_supplicant_eapol_cb(struct eapol_sm *eapol, enum eapol_supp_result result, void *ctx) wpa_supplicant_eapol_cb() argument
|
/third_party/mesa3d/src/intel/blorp/ |
H A D | blorp_blit.c | 614 * result = ((sample[0] + sample[1]) + (sample[2] + sample[3])) / 4 in blorp_nir_combine_samples() 1538 bool result = in brw_blorp_get_blit_kernel_fs() local 1546 return result; in brw_blorp_get_blit_kernel_fs() 1579 bool result = in brw_blorp_get_blit_kernel_cs() local 1587 return result; in brw_blorp_get_blit_kernel_cs() 2230 unsigned result = 0; in try_blorp_blit() local 2233 result |= BLIT_SRC_WIDTH_SHRINK; in try_blorp_blit() 2235 result |= BLIT_SRC_HEIGHT_SHRINK; in try_blorp_blit() 2239 result |= BLIT_DST_WIDTH_SHRINK; in try_blorp_blit() 2241 result | in try_blorp_blit() 2387 enum blit_shrink_status result = do_blorp_blit() local [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | smpdtfmt.cpp | 279 const SharedNumberFormat *result = new SharedNumberFormat(nfToAdopt); in createSharedNumberFormat() local 280 if (result == nullptr) { in createSharedNumberFormat() 283 return result; in createSharedNumberFormat() 292 const SharedNumberFormat *result = createSharedNumberFormat(nf); in createSharedNumberFormat() local 293 if (result == nullptr) { in createSharedNumberFormat() 296 return result; in createSharedNumberFormat() 300 const SharedNumberFormat **result = (const SharedNumberFormat**) in allocSharedNumberFormatters() local 302 if (result == nullptr) { in allocSharedNumberFormatters() 306 result[i] = nullptr; in allocSharedNumberFormatters() 308 return result; in allocSharedNumberFormatters() 2165 number::FormattedNumber result = fSimpleNumberFormatter->format(std::move(number), localStatus); zeroPaddingNumber() local 4016 toLocalizedPattern(UnicodeString& result, UErrorCode& status) const toLocalizedPattern() argument [all...] |
/third_party/skia/third_party/externals/tint/src/writer/hlsl/ |
H A D | generator_impl.cc | 194 SanitizedResult result; in Sanitize() local 195 result.program = std::move(out.program); in Sanitize() 197 result.used_array_length_from_uniform_indices = in Sanitize() 200 return result; in Sanitize() 1039 auto result = load(); in EmitUniformBufferAccess() 1041 return result; in EmitUniformBufferAccess() 1453 { // T result = {0, 0}; in EmitStorageAtomicCall() 1456 ast::Access::kUndefined, "result")) { in EmitStorageAtomicCall() 1462 "value, result.x);"; in EmitStorageAtomicCall() 1463 line(&buf) << "result in EmitStorageAtomicCall() 1504 std::string result = UniqueIdentifier("atomic_result"); EmitWorkgroupAtomicCall() local 1559 pre << ", 0, " << result; EmitWorkgroupAtomicCall() local 1563 out << result; EmitWorkgroupAtomicCall() local 1593 out << ", " << result; EmitWorkgroupAtomicCall() local 1630 pre << ", " << result << ".x"; EmitWorkgroupAtomicCall() local 1639 out << result; EmitWorkgroupAtomicCall() local [all...] |
/third_party/astc-encoder/Source/ |
H A D | astcenc_internal.h | 335 * Note that some seeds result in zero texels assigned to a partition. These are valid, but are 721 auto& result = get_partition_table(partition_count)[packed_index]; in get_partition_info() local 722 assert(index == result.partition_index); in get_partition_info() 723 return result; in get_partition_info() 737 auto& result = get_partition_table(partition_count)[packed_index]; in get_raw_partition_info() local 738 return result; in get_raw_partition_info() 1942 * @brief Identify, for each mode, which set of color endpoint produces the best result.
|
/third_party/alsa-lib/src/ucm/ |
H A D | ucm_subs.c | 226 char *result; in rval_lookup_main() local 271 result = NULL; in rval_lookup_main() 277 result = curr->retfcn(iter, config); in rval_lookup_main() 286 return result; in rval_lookup_main() 288 result = NULL; in rval_lookup_main()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | TimeZoneNamesImpl.java | 673 String[] result; in getNames() 676 result = names; in getNames() 679 result = null; in getNames() 683 result = Arrays.copyOfRange(names, 0, length); in getNames() 685 return result; in getNames()
|
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
H A D | CollationRuleParser.java | 170 int result = parseRelationOperator(); in parseRuleChain() 171 if(result < 0) { in parseRuleChain() 182 int strength = result & STRENGTH_MASK; in parseRuleChain() 197 int i = ruleIndex + (result >> OFFSET_SHIFT); // skip over the relation operator in parseRuleChain() 198 if((result & STARRED_FLAG) == 0) { in parseRuleChain()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | TimeZoneNamesImpl.java | 675 String[] result; in getNames() 678 result = names; in getNames() 681 result = null; in getNames() 685 result = Arrays.copyOfRange(names, 0, length); in getNames() 687 return result; in getNames()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/ |
H A D | CollationRuleParser.java | 174 int result = parseRelationOperator(); in parseRuleChain() 175 if(result < 0) { in parseRuleChain() 186 int strength = result & STRENGTH_MASK; in parseRuleChain() 201 int i = ruleIndex + (result >> OFFSET_SHIFT); // skip over the relation operator in parseRuleChain() 202 if((result & STARRED_FLAG) == 0) { in parseRuleChain()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | collationruleparser.cpp | 133 int32_t result = parseRelationOperator(errorCode); in parseRuleChain() local 135 if(result < 0) { in parseRuleChain() 146 int32_t strength = result & STRENGTH_MASK; in parseRuleChain() 161 int32_t i = ruleIndex + (result >> OFFSET_SHIFT); // skip over the relation operator in parseRuleChain() 162 if((result & STARRED_FLAG) == 0) { in parseRuleChain()
|
/third_party/mbedtls/tests/scripts/ |
H A D | generate_psa_tests.py | 147 result: str = '' 158 tc.set_arguments([key_type] + list(args) + [result]) 182 result = 'PSA_SUCCESS' 193 result = 'PSA_ERROR_INVALID_ARGUMENT' 207 result
|
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_pipeline_cache.c | 527 VkResult result; in shader_variant_create_from_blob() local 571 &result); in shader_variant_create_from_blob() 966 VkResult result = VK_INCOMPLETE; in v3dv_GetPipelineCacheData() local 1032 result = VK_SUCCESS; in v3dv_GetPipelineCacheData() 1047 return result; in v3dv_GetPipelineCacheData()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_nir.cpp | 247 nir_ssa_def *result = NIR_LOWER_INSTR_PROGRESS_REPLACE; variable 251 result = NIR_LOWER_INSTR_PROGRESS; 254 return result; 358 bool result = r600::LowerClipvertexWrite(noutputs, so_info).run(sh); in r600_lower_clipvertex_to_clipdist() local 359 return result; in r600_lower_clipvertex_to_clipdist()
|