/third_party/musl/libc-test/src/functionalext/symver/ |
H A D | dlvsym.c | 109 const char *result = func(); in dlvsym_easy_symver_0100() local 110 symver_streq(result, dso_easy_symver_symbol_stable); in dlvsym_easy_symver_0100() 142 const char *result = func(); in dlvsym_easy_symver_0200() local 143 symver_streq(result, dso_easy_symver_symbol_old); in dlvsym_easy_symver_0200() 239 const char *result = func(); in dlvsym_hard_symver_0100() local 240 symver_streq(result, dso_hard_symver_if_symbol_stable); in dlvsym_hard_symver_0100() 272 const char *result = func(); in dlvsym_hard_symver_0200() local 273 symver_streq(result, dso_hard_symver_if_symbol_old); in dlvsym_hard_symver_0200()
|
/third_party/python/Lib/distutils/ |
H A D | archive_util.py | 36 result = getgrnam(name) 38 result = None 39 if result is not None: 40 return result[2] 48 result = getpwnam(name) 50 result = None 51 if result is not None: 52 return result[2]
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | glslang_wrapper.cpp | 57 bool result = warmUpShader.parse(&builtInResources, 450, ECoreProfile, false, false, messages); in Warmup() local 58 ASSERT(result); in Warmup() 97 int result = ShInitialize(); in GlslangInitialize() local 98 ASSERT(result != 0); in GlslangInitialize() 104 int result = ShFinalize(); in GlslangFinalize() local 105 ASSERT(result != 0); in GlslangFinalize() 158 bool result = shader.parse(&builtInResources, 450, ECoreProfile, false, false, messages); in GlslangCompileToSpirv() local 159 if (!result) in GlslangCompileToSpirv()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | BlobCache.cpp | 113 // Store the result in the application's cache in put() 156 bool result = scratchBuffer->get(valueSize, &scratchMemory); in get() local 157 if (!result) in get() 184 bool result = mBlobCache.get(key, &entry); in get() local 186 if (result) in get() 208 return result; in get() 214 bool result = mBlobCache.getAt(index, keyOut, &valueBuf); in getAt() local 215 if (result) in getAt() 219 return result; in getAt()
|
/third_party/skia/src/codec/ |
H A D | SkCodecPriv.h | 153 uint16_t result; in get_short() local 154 memcpy(&result, &(buffer[i]), 2); in get_short() 156 return SkEndianSwap16(result); in get_short() 158 return result; in get_short() 167 uint32_t result; in get_int() local 168 memcpy(&result, &(buffer[i]), 4); in get_int() 170 return SkEndianSwap32(result); in get_int() 172 return result; in get_int()
|
H A D | SkCodec.cpp | 338 Result result = kInternalError; in handleFrameIndex() local 344 result = androidCodec->getAndroidPixels(info, pixels, rowBytes, &prevFrameOptions); in handleFrameIndex() 349 result = this->getPixels(info, pixels, rowBytes, &prevFrameOptions); in handleFrameIndex() 351 if (result != kSuccess) { in handleFrameIndex() 352 return result; in handleFrameIndex() 437 const Result result = this->onGetPixels(info, pixels, rowBytes, *options, &rowsDecoded); in getPixels() local 444 if ((kIncompleteInput == result || kErrorInInput == result) && rowsDecoded != info.height()) { in getPixels() 455 return result; in getPixels() 465 Result result in getImage() local 525 const Result result = this->onStartIncrementalDecode(info, pixels, rowBytes, fOptions); startIncrementalDecode() local 581 const Result result = this->onStartScanlineDecode(info, *options); startScanlineDecode() local 633 bool result = this->onSkipScanlines(countLines); skipScanlines() local 783 ResultToString(Result result) ResultToString() argument [all...] |
/third_party/skia/third_party/externals/icu/source/extra/uconv/ |
H A D | uwmsg.c | 131 UChar result[4096]; in u_wmsg() local 132 int32_t resultLength = UPRV_LENGTHOF(result); in u_wmsg() 151 if((msgLen + resultLength) <= UPRV_LENGTHOF(result)) { in u_wmsg() 152 memcpy(result, msg, msgLen * U_SIZEOF_UCHAR); in u_wmsg() 153 memcpy(result + msgLen, gNoFormatting, resultLength); in u_wmsg() 155 uprint(result, resultLength, fp, &err); in u_wmsg() 163 resultLength = u_vformatMessage(uloc_getDefault(), msg, msgLen, result, resultLength, ap, &err); in u_wmsg() 180 uprint(result, resultLength, fp, &err); in u_wmsg()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | upluralrules.cpp | 93 UnicodeString result = ((PluralRules*)uplrules)->select(number); in uplrules_select() local 94 return result.extract(keyword, capacity, *status); in uplrules_select() 115 UnicodeString result = ((PluralRules*)uplrules)->select(*dq); in uplrules_selectFormatted() local 116 return result.extract(keyword, capacity, *status); in uplrules_selectFormatted() 134 UnicodeString result = ((PluralRules*)uplrules)->select(impl, *status); in uplrules_selectForRange() local 135 return result.extract(keyword, capacity, *status); in uplrules_selectForRange() 155 UnicodeString result = select(*plrules, obj, *nf, *status); in uplrules_selectWithFormat() local 156 return result.extract(keyword, capacity, *status); in uplrules_selectWithFormat()
|
H A D | zrule.cpp | 119 UDate& result) { in izrule_getFirstStart() 120 return ((const InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getFirstStart(prevRawOffset, prevDSTSavings, result); in izrule_getFirstStart() 125 UDate& result) { in izrule_getFinalStart() 126 return ((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getFinalStart(prevRawOffset, prevDSTSavings, result); in izrule_getFinalStart() 131 int32_t prevDSTSavings, UBool inclusive, UDate& result) { in izrule_getNextStart() 132 return ((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getNextStart(base, prevRawOffset, prevDSTSavings, inclusive, result); in izrule_getNextStart() 137 int32_t prevDSTSavings, UBool inclusive, UDate& result) { in izrule_getPreviousStart() 138 return ((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getPreviousStart(base, prevRawOffset, prevDSTSavings, inclusive, result); in izrule_getPreviousStart() 118 izrule_getFirstStart(IZRule* rule, int32_t prevRawOffset, int32_t prevDSTSavings, UDate& result) izrule_getFirstStart() argument 124 izrule_getFinalStart(IZRule* rule, int32_t prevRawOffset, int32_t prevDSTSavings, UDate& result) izrule_getFinalStart() argument 130 izrule_getNextStart(IZRule* rule, UDate base, int32_t prevRawOffset, int32_t prevDSTSavings, UBool inclusive, UDate& result) izrule_getNextStart() argument 136 izrule_getPreviousStart(IZRule* rule, UDate base, int32_t prevRawOffset, int32_t prevDSTSavings, UBool inclusive, UDate& result) izrule_getPreviousStart() argument
|
H A D | nfsubs.cpp | 162 Formattable& result) const; 174 virtual void toString(UnicodeString& result) const; 229 Formattable& result) const; 271 UnicodeString result(desc, 0, desc.length()-1); in fixdesc() 272 return result; in fixdesc() 301 Formattable& result) const; 431 // format its result in NFSubstitution() 436 // set we use to format the result: get a reference to the in NFSubstitution() 537 * it'll produce the same result. 565 * either ruleSet or decimalFormat, and inserts the result int 1143 double result = 0; doParse() local [all...] |
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/ |
H A D | Game.cpp | 40 Result result = mAudioStream->requestStart(); in load() local 41 if (result != Result::OK){ in load() 42 LOGE("Failed to start stream. Error: %s", convertToText(result)); in load() 78 TapResult result = getTapResult(tapTimeInSongMs, nextClapWindowTimeMs); in tap() local 79 mUiEvents.push(result); in tap() 155 * Get the result of a tap 182 Result result = builder.openStream(mAudioStream); in openStream() local 183 if (result != Result::OK){ in openStream() 184 LOGE("Failed to open stream. Error: %s", convertToText(result)); in openStream()
|
/third_party/skia/third_party/externals/tint/src/writer/wgsl/ |
H A D | generator_impl_loop_test.cc | 36 EXPECT_EQ(gen.result(), R"( loop { in TEST_F() 56 EXPECT_EQ(gen.result(), R"( loop { in TEST_F() 81 EXPECT_EQ(gen.result(), R"( for({ in TEST_F() 103 EXPECT_EQ(gen.result(), R"( for(; true; ) { in TEST_F() 123 EXPECT_EQ(gen.result(), R"( for(; ; i = (i + 1)) { in TEST_F() 145 EXPECT_EQ(gen.result(), R"( for(; ; { in TEST_F() 168 EXPECT_EQ(gen.result(), R"( for(var i : i32; true; i = (i + 1)) { in TEST_F() 190 EXPECT_EQ(gen.result(), R"( for({ in TEST_F()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | exportAsNamespace3(module=umd).js | 56 var result = {};
57 if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
58 __setModuleDefault(result, mod);
59 return result;
99 var result = {};
100 if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
101 __setModuleDefault(result, mod);
102 return result;
|
/third_party/rust/crates/regex/tests/ |
H A D | test_default.rs | 192 let result = Regex::new("(?:){4294967295}"); in big_empty_regex_fails() 193 assert!(result.is_err()); in big_empty_regex_fails() 201 let result = Regex::new("(?:){64}{64}{64}{64}{64}{64}"); in big_empty_reps_chain_regex_fails() 202 assert!(result.is_err()); in big_empty_reps_chain_regex_fails() 211 let result = Regex::new(r"x{0}{4294967295}"); in big_zero_reps_regex_fails() 212 assert!(result.is_err()); in big_zero_reps_regex_fails() 220 let result = Regex::new(r"(?:|){4294967295}"); in empty_alt_regex_fails() 221 assert!(result.is_err()); in empty_alt_regex_fails()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsShaderPerformanceCase.cpp | 197 const ShaderPerformanceMeasurer::Result result = m_measurer.getResult(); in iterate() local 198 reportResult(result.megaVertPerSec, result.megaFragPerSec); in iterate() 207 float result = 0.0f; in reportResult() local 210 case CASETYPE_VERTEX: result = mvertPerSecond; break; in reportResult() 211 case CASETYPE_FRAGMENT: result = mfragPerSecond; break; in reportResult() 212 case CASETYPE_BALANCED: result = mfragPerSecond; break; in reportResult() 217 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, de::floatToString(result, 2).c_str()); in reportResult()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fUniformApiTests.cpp | 119 tcu::Vec4 result; in vec4FromPtr() local 121 result[i] = ptr[i]; in vec4FromPtr() 122 return result; in vec4FromPtr() 562 VarValue result; in getSamplerFillValue() local 563 result.type = getSamplerLookupReturnType(sampler.type); in getSamplerFillValue() 565 switch (result.type) in getSamplerFillValue() 569 result.val.floatV[i] = sampler.val.samplerV.fillColor.floatV[i]; in getSamplerFillValue() 573 result.val.uintV[i] = sampler.val.samplerV.fillColor.uintV[i]; in getSamplerFillValue() 577 result.val.intV[i] = sampler.val.samplerV.fillColor.intV[i]; in getSamplerFillValue() 580 result in getSamplerFillValue() 593 VarValue result; getSamplerUnitValue() local 611 VarValue result; getTransposeMatrix() local 624 std::ostringstream result; shaderVarValueStr() local 657 std::ostringstream result; apiVarValueStr() local 690 VarValue result; generateRandomVarValue() local 744 VarValue result; generateZeroVarValue() local 841 VarValue result; getRandomBoolRepresentation() local 1094 deUint32 result = 0; randomFeatures() local 1338 std::ostringstream result; generateVertexSource() local 1365 std::ostringstream result; generateFragmentSource() local [all...] |
/base/powermgr/battery_manager/frameworks/napi/src/ |
H A D | battery_info.cpp | 231 std::string result;
in GetBatteryConfig() local 232 BatteryError code = g_battClient.GetBatteryConfig(sceneName, result);
in GetBatteryConfig() 233 BATTERY_HILOGD(COMP_FWK, "get charge config, sceneValue: %{public}s", result.c_str());
in GetBatteryConfig() 236 NAPI_CALL(env, napi_create_string_utf8(env, result.c_str(), result.size(), &napiValue));
in GetBatteryConfig() 260 bool result = false;
in IsBatteryConfigSupported() local 261 BatteryError code = g_battClient.IsBatteryConfigSupported(sceneName, result);
in IsBatteryConfigSupported() 263 BATTERY_HILOGI(COMP_FWK, "get support charge config, sceneValue: %{public}d", static_cast<uint32_t>(result));
in IsBatteryConfigSupported() 266 NAPI_CALL(env, napi_create_uint32(env, static_cast<uint32_t>(result), &napiValue));
in IsBatteryConfigSupported() 324 napi_value result in CreateEnumHealthState() local 360 napi_value result = nullptr; CreateEnumLevelState() local 401 napi_value result = nullptr; CreateEnumChargeState() local 442 napi_value result = nullptr; CreateEnumPluggedType() local 498 napi_value result = nullptr; CreateEventBatteryChangedKey() local 550 napi_value result = nullptr; CreateEventBatteryChangedCode() local [all...] |
/third_party/glslang/gtests/ |
H A D | TestFixture.h | 152 "flushing expected result output.\n") in checkEqAndUpdateIfRequested() 160 // result, we cannot have pretty print of the string diff in the above. in checkEqAndUpdateIfRequested() 211 // the result and returns disassembly text. 310 // the result and returns disassembly text. 434 const GlslangResult& result, in outputResultToStream() 441 for (const auto& shaderResult : result.shaderResults) { in outputResultToStream() 446 outputIfNotEmpty(result.linkingOutput); in outputResultToStream() 447 outputIfNotEmpty(result.linkingError); in outputResultToStream() 448 if (!result.validationResult) { in outputResultToStream() 454 << (result in outputResultToStream() 433 outputResultToStream(std::ostringstream* stream, const GlslangResult& result, EShMessages controls) outputResultToStream() argument 487 GlslangResult result = compileAndLink(testName, input, entryPointName, controls, clientTargetVersion, loadFileCompileAndCheck() local 518 GlslangResult result = compileAndLink(testName, input, entryPointName, controls, clientTargetVersion, loadFileCompileAndCheckWithOptions() local 544 GlslangResult result = compileAndLink(testName, input, entryPointName, controls, loadFileCompileFlattenUniformsAndCheck() local 578 GlslangResult result = compileLinkIoMap(testName, input, entryPointName, controls, loadFileCompileIoMapAndCheck() local 609 GlslangResult result = compileLinkRemap(testName, input, entryPointName, controls, remapOptions); loadFileCompileRemapAndCheck() local 636 GlslangResult result = remap(testName, input, controls, remapOptions); loadFileRemapAndCheck() local 714 GlslangResult result = compileAndLink(testName, input, entryPointName, controls, loadCompileUpgradeTextureToSampledTextureAndDropSamplersAndCheck() local [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | RbnfTest.java | 53 // produces the result closest to 0 (or the first rule that produces 0). 261 String result = formatter.format(decFormat.parse(data[i])); in TestUndefinedSpellout() 262 logln("[" + i + "] " + data[i] + " ==> " + result); in TestUndefinedSpellout() 658 String result = new RuleBasedNumberFormat(ruRules, new ULocale("ru")).format(21000); in TestPluralRules() 659 if (!"двадцать один тысяча".equals(result)) { in TestPluralRules() 660 errln("Got " + result + " for 21000"); in TestPluralRules() 745 Number result; in TestMultiplePluralRules() 746 if (1000 != (result = ruFormatter.parse(ruFormatter.format(1000))).doubleValue()) { in TestMultiplePluralRules() 747 errln("RuleBasedNumberFormat did not return the correct value. Got: " + result); in TestMultiplePluralRules() 749 if (1000 != (result in TestMultiplePluralRules() 1735 assertEquals(String expected, String result) assertEquals() argument [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | RbnfTest.java | 50 // produces the result closest to 0 (or the first rule that produces 0). 258 String result = formatter.format(decFormat.parse(data[i])); in TestUndefinedSpellout() 259 logln("[" + i + "] " + data[i] + " ==> " + result); in TestUndefinedSpellout() 685 String result = new RuleBasedNumberFormat(ruRules, new ULocale("ru")).format(21000); in TestPluralRules() 686 if (!"двадцать один тысяча".equals(result)) { in TestPluralRules() 687 errln("Got " + result + " for 21000"); in TestPluralRules() 772 Number result; in TestMultiplePluralRules() 773 if (1000 != (result = ruFormatter.parse(ruFormatter.format(1000))).doubleValue()) { in TestMultiplePluralRules() 774 errln("RuleBasedNumberFormat did not return the correct value. Got: " + result); in TestMultiplePluralRules() 776 if (1000 != (result in TestMultiplePluralRules() 1826 assertEquals(String expected, String result) assertEquals() argument [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | nfsubs.cpp | 162 Formattable& result) const override; 174 virtual void toString(UnicodeString& result) const override; 229 Formattable& result) const override; 271 UnicodeString result(desc, 0, desc.length()-1); in fixdesc() 272 return result; in fixdesc() 301 Formattable& result) const override; 431 // format its result in NFSubstitution() 436 // set we use to format the result: get a reference to the in NFSubstitution() 537 * it'll produce the same result. 565 * either ruleSet or decimalFormat, and inserts the result int 1143 double result = 0; doParse() local [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | ir_constant_expression.cpp | 49 float result = 0; in dot_f() local 51 result += op0->value.f[c] * op1->value.f[c]; in dot_f() 53 return result; in dot_f() 61 double result = 0; in dot_d() local 63 result += op0->value.d[c] * op1->value.d[c]; in dot_d() 65 return result; in dot_d() 599 * 31-count will produce the -1 result required by GLSL findMSB(). in find_msb_uint() 621 const float result = ldexpf(x, exp); in ldexpf_flush_subnormal() local 624 return !isnormal(result) ? copysignf(0.0f, x) : result; in ldexpf_flush_subnormal() 630 const double result = ldexp(x, exp); ldexp_flush_subnormal() local 1053 constant_expression_evaluate_expression_list(void *mem_ctx, const struct exec_list &body, struct hash_table *variable_context, ir_constant **result) constant_expression_evaluate_expression_list() argument 1223 ir_constant *result = NULL; constant_expression_value() local [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | nfsubs.cpp | 109 // floor() on the result if we were passing it to another rule set, but not if we were passing 180 Formattable& result) const override; 192 virtual void toString(UnicodeString& result) const override; 247 Formattable& result) const override; 289 UnicodeString result(desc, 0, desc.length()-1); in fixdesc() 290 return result; in fixdesc() 319 Formattable& result) const override; 449 // format its result in NFSubstitution() 454 // set we use to format the result: get a reference to the in NFSubstitution() 555 * it'll produce the same result 1161 double result = 0; doParse() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkPrograms.cpp | 996 vk::SpirvVersion result = vk::SPIRV_VERSION_LAST; in getMaxSpirvVersionForVulkan() local 1000 result = vk::SPIRV_VERSION_1_0; in getMaxSpirvVersionForVulkan() 1002 result = vk::SPIRV_VERSION_1_3; in getMaxSpirvVersionForVulkan() 1005 result = vk::SPIRV_VERSION_1_5; in getMaxSpirvVersionForVulkan() 1007 result = vk::SPIRV_VERSION_1_6; in getMaxSpirvVersionForVulkan() 1010 result = vk::SPIRV_VERSION_1_5; in getMaxSpirvVersionForVulkan() 1013 DE_ASSERT(result < vk::SPIRV_VERSION_LAST); in getMaxSpirvVersionForVulkan() 1015 return result; in getMaxSpirvVersionForVulkan() 1049 SpirvVersion result = SPIRV_VERSION_LAST; local 1053 case spirvBinaryVersion10: result [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
H A D | vktSpvAsmImageSamplerTests.cpp | 309 std::string result = ""; in getFunctionDstVariableStr() local 444 return result; in getFunctionDstVariableStr() 453 string result = ""; in getFunctionSrcVariableStr() local 463 result += " %call_img = OpLoad %Image %InputData\n"; in getFunctionSrcVariableStr() 481 result += " %call_img = OpLoad %Image %InputData\n"; in getFunctionSrcVariableStr() 484 result += " %call_smp = OpLoad %Sampler %SamplerData\n"; in getFunctionSrcVariableStr() 505 result += " %call_img = OpLoad %Image %InputData2\n"; in getFunctionSrcVariableStr() 508 result += " %call_smp = OpLoad %Sampler %SamplerData\n"; in getFunctionSrcVariableStr() 520 return result; in getFunctionSrcVariableStr() 529 string result in getFunctionParamTypeStr() local 546 string result = ""; getFunctionSrcParamStr() local 563 string result = ""; getFunctionDstParamStr() local 1119 const float result = returnedAsFloat[elementNdx]; verifyDepthCompareResult() local [all...] |