/third_party/icu/icu4c/source/i18n/ |
H A D | numparse_scientific.cpp | 55 bool ScientificMatcher::match(StringSegment& segment, ParsedNumber& result, UErrorCode& status) const { in match() argument 57 if (!result.seenNumber()) { in match() 62 if (0 != (result.flags & FLAG_HAS_EXPONENT)) { in match() 81 // Note: the ignorables matcher should not touch the result. in match() 82 fIgnorablesMatcher.match(segment, result, status); in match() 122 // Note: the ignorables matcher should not touch the result. in match() 123 fIgnorablesMatcher.match(segment, result, status); in match() 129 // We are supposed to accept E0 after NaN, so we need to make sure result.quantity is available. in match() 130 bool wasBogus = result.quantity.bogus; in match() 131 result in match() [all...] |
/third_party/node/test/js-native-api/test_new_target/ |
H A D | test_new_target.c | 14 bool result; in BaseClass() local 15 NODE_API_CALL(env, napi_strict_equals(env, newTargetArg, thisArg, &result)); in BaseClass() 16 NODE_API_ASSERT(env, !result, "this !== new.target"); in BaseClass() 20 NODE_API_CALL(env, napi_strict_equals(env, newTargetArg, undefined, &result)); in BaseClass() 21 NODE_API_ASSERT(env, !result, "new.target !== undefined"); in BaseClass() 27 bool result; in Constructor() local 39 NODE_API_CALL(env, napi_strict_equals(env, newTargetArg, undefined, &result)); in Constructor() 40 NODE_API_ASSERT(env, !result, "new.target !== undefined"); in Constructor() 43 NODE_API_CALL(env, napi_strict_equals(env, newTargetArg, argv, &result)); in Constructor() 44 NODE_API_ASSERT(env, result, "ne in Constructor() [all...] |
/third_party/node/deps/brotli/c/common/ |
H A D | constants.h | 129 BrotliDistanceCodeLimit result; in BrotliCalculateDistanceCodeLimit() local 135 result.max_alphabet_size = max_distance + BROTLI_NUM_DISTANCE_SHORT_CODES; in BrotliCalculateDistanceCodeLimit() 136 result.max_distance = max_distance; in BrotliCalculateDistanceCodeLimit() 137 return result; in BrotliCalculateDistanceCodeLimit() 166 result.max_alphabet_size = ndirect + BROTLI_NUM_DISTANCE_SHORT_CODES; in BrotliCalculateDistanceCodeLimit() 167 result.max_distance = ndirect; in BrotliCalculateDistanceCodeLimit() 168 return result; in BrotliCalculateDistanceCodeLimit() 181 result.max_alphabet_size = ((group << npostfix) | postfix) + ndirect + in BrotliCalculateDistanceCodeLimit() 184 result.max_distance = ((start + extra) << npostfix) + postfix + ndirect + 1; in BrotliCalculateDistanceCodeLimit() 185 return result; in BrotliCalculateDistanceCodeLimit() [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | numparse_scientific.cpp | 55 bool ScientificMatcher::match(StringSegment& segment, ParsedNumber& result, UErrorCode& status) const { in match() argument 57 if (!result.seenNumber()) { in match() 62 if (0 != (result.flags & FLAG_HAS_EXPONENT)) { in match() 81 // Note: the ignorables matcher should not touch the result. in match() 82 fIgnorablesMatcher.match(segment, result, status); in match() 122 // Note: the ignorables matcher should not touch the result. in match() 123 fIgnorablesMatcher.match(segment, result, status); in match() 129 // We are supposed to accept E0 after NaN, so we need to make sure result.quantity is available. in match() 130 bool wasBogus = result.quantity.bogus; in match() 131 result in match() [all...] |
/third_party/node/deps/npm/test/lib/utils/ |
H A D | otplease.js | 27 const result = await setupOtplease(t, {}, () => 'test string') 28 t.equal('test string', result) 39 const result = await setupOtplease(t, { 46 t.equal('success', result) 60 const result = await setupOtplease(t, { 68 t.strictSame(result, { some: 'prop', otp: '1234' }) 85 const result = await setupOtplease(t, { 93 t.equal('success', result) 111 const result = await setupOtplease(t, { 118 t.strictSame(result, { ot [all...] |
/third_party/node/deps/npm/node_modules/postcss-selector-parser/dist/ |
H A D | processor.js | 103 return this._run(rule, options).then(function (result) { 104 return result.root; 127 return this._run(rule, options).then(function (result) { 128 return result.transform; 151 return this._run(rule, options).then(function (result) { 152 return result.string || result.root.toString(); 164 var result = this._runSync(rule, options); 165 return result.string || result [all...] |
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/number/ |
H A D | CurrencyDemo.java | 40 NumberFormat result = NumberFormat.getCurrencyInstance(displayLocale); in getCurrencyFormat() 41 result.setCurrency(currency); in getCurrencyFormat() 42 return result; in getCurrencyFormat() 46 DecimalFormat result = (DecimalFormat)NumberFormat.getCurrencyInstance(displayLocale); in getCurrencyFormat() 48 result.setMinimumFractionDigits(hack.decimals); in getCurrencyFormat() 49 result.setMaximumFractionDigits(hack.decimals); in getCurrencyFormat() 50 result.setRoundingIncrement(hack.rounding); in getCurrencyFormat() 51 DecimalFormatSymbols symbols = result.getDecimalFormatSymbols(); in getCurrencyFormat() 53 result.setDecimalFormatSymbols(symbols); in getCurrencyFormat() 54 return result; in getCurrencyFormat() [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/stat/ |
H A D | futimesat.c | 56 int result = futimesat(dir_fd, "test.txt", tv); in futimesat_0100() local 57 if (result != 0) { in futimesat_0100() 94 int result = futimesat(dir_fd, "test.txt", NULL); in futimesat_0200() local 95 if (result != 0) { in futimesat_0200() 113 int result = futimesat(-1, "test.txt", NULL); in futimesat_0300() local 114 if (result != -1) { in futimesat_0300() 126 int result = futimesat(AT_FDCWD, NULL, NULL); in futimesat_0400() local 127 if (result != -1) { in futimesat_0400() 149 int result = __futimesat_time64(dir_fd, "test.txt", NULL); in futimesat_time64_0200() local 150 if (result ! in futimesat_time64_0200() [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | convert_to_sampled_image_test.cpp | 225 auto result = SinglePassRunAndMatch<ConvertToSampledImagePass>( in TEST_F() local 229 EXPECT_EQ(std::get<1>(result), Pass::Status::SuccessWithChange); in TEST_F() 256 auto result = SinglePassRunAndMatch<ConvertToSampledImagePass>( in TEST_F() local 260 EXPECT_EQ(std::get<1>(result), Pass::Status::SuccessWithChange); in TEST_F() 283 auto result = SinglePassRunToBinary<ConvertToSampledImagePass>( in TEST_F() local 287 EXPECT_EQ(std::get<1>(result), Pass::Status::Failure); in TEST_F() 313 auto result = SinglePassRunToBinary<ConvertToSampledImagePass>( in TEST_F() local 317 EXPECT_EQ(std::get<1>(result), Pass::Status::Failure); in TEST_F() 344 auto result = SinglePassRunToBinary<ConvertToSampledImagePass>( in TEST_F() local 348 EXPECT_EQ(std::get<1>(result), Pas in TEST_F() [all...] |
/third_party/skia/src/gpu/vk/ |
H A D | GrVkCommandPool.cpp | 27 VkResult result; in Create() local 29 GR_VK_CALL_RESULT(gpu, result, CreateCommandPool(gpu->device(), &cmdPoolInfo, nullptr, &pool)); in Create() 30 if (result != VK_SUCCESS) { in Create() 54 std::unique_ptr<GrVkSecondaryCommandBuffer> result; in findOrCreateSecondaryCommandBuffer() local 56 result = std::move(fAvailableSecondaryBuffers.back()); in findOrCreateSecondaryCommandBuffer() 59 result.reset(GrVkSecondaryCommandBuffer::Create(gpu, this)); in findOrCreateSecondaryCommandBuffer() 61 return result; in findOrCreateSecondaryCommandBuffer() 82 // We can't use the normal result macro calls here because we may call reset on a different in reset() 85 SkDEBUGCODE(VkResult result = )GR_VK_CALL(gpu->vkInterface(), in reset() 87 SkASSERT(result in reset() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | convert_to_sampled_image_test.cpp | 225 auto result = SinglePassRunAndMatch<ConvertToSampledImagePass>( in TEST_F() local 229 EXPECT_EQ(std::get<1>(result), Pass::Status::SuccessWithChange); in TEST_F() 256 auto result = SinglePassRunAndMatch<ConvertToSampledImagePass>( in TEST_F() local 260 EXPECT_EQ(std::get<1>(result), Pass::Status::SuccessWithChange); in TEST_F() 283 auto result = SinglePassRunToBinary<ConvertToSampledImagePass>( in TEST_F() local 287 EXPECT_EQ(std::get<1>(result), Pass::Status::Failure); in TEST_F() 313 auto result = SinglePassRunToBinary<ConvertToSampledImagePass>( in TEST_F() local 317 EXPECT_EQ(std::get<1>(result), Pass::Status::Failure); in TEST_F() 344 auto result = SinglePassRunToBinary<ConvertToSampledImagePass>( in TEST_F() local 348 EXPECT_EQ(std::get<1>(result), Pas in TEST_F() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | numparse_scientific.cpp | 55 bool ScientificMatcher::match(StringSegment& segment, ParsedNumber& result, UErrorCode& status) const { in match() argument 57 if (!result.seenNumber()) { in match() 62 if (0 != (result.flags & FLAG_HAS_EXPONENT)) { in match() 81 // Note: the ignorables matcher should not touch the result. in match() 82 fIgnorablesMatcher.match(segment, result, status); in match() 122 // Note: the ignorables matcher should not touch the result. in match() 123 fIgnorablesMatcher.match(segment, result, status); in match() 129 // We are supposed to accept E0 after NaN, so we need to make sure result.quantity is available. in match() 130 bool wasBogus = result.quantity.bogus; in match() 131 result in match() [all...] |
/third_party/skia/third_party/externals/brotli/c/common/ |
H A D | constants.h | 129 BrotliDistanceCodeLimit result; in BrotliCalculateDistanceCodeLimit() local 135 result.max_alphabet_size = max_distance + BROTLI_NUM_DISTANCE_SHORT_CODES; in BrotliCalculateDistanceCodeLimit() 136 result.max_distance = max_distance; in BrotliCalculateDistanceCodeLimit() 137 return result; in BrotliCalculateDistanceCodeLimit() 166 result.max_alphabet_size = ndirect + BROTLI_NUM_DISTANCE_SHORT_CODES; in BrotliCalculateDistanceCodeLimit() 167 result.max_distance = ndirect; in BrotliCalculateDistanceCodeLimit() 168 return result; in BrotliCalculateDistanceCodeLimit() 181 result.max_alphabet_size = ((group << npostfix) | postfix) + ndirect + in BrotliCalculateDistanceCodeLimit() 184 result.max_distance = ((start + extra) << npostfix) + postfix + ndirect + 1; in BrotliCalculateDistanceCodeLimit() 185 return result; in BrotliCalculateDistanceCodeLimit() [all...] |
/third_party/toybox/toys/posix/ |
H A D | test.c | 43 // Consume 3, 2, or 1 argument test, returning result and *count used. 94 int pos, paren, pstack, result = 0; in test_main() local 108 result = do_test(toys.optargs+pos, &len); in test_main() 123 result = *toys.optargs[pos++]; in test_main() 129 if (pstack&NOT) result = !result; in test_main() 131 if (pstack&OR) result = 1; in test_main() 132 else if (pstack&AND) result = 0; in test_main() 150 if (!result) pstack |= AND; in test_main() 154 if (result) pstac in test_main() [all...] |
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | scc.h | 95 NodeData& result = cache_[descriptor]; in DFS() local 97 result.index = result.lowlink = index_++; in DFS() 106 result.lowlink = std::min(result.lowlink, child_data.lowlink); in DFS() 111 result.lowlink = std::min(result.lowlink, child_data.index); in DFS() 115 if (result.index == result.lowlink) { in DFS() 136 return result; in DFS() [all...] |
/third_party/python/Modules/ |
H A D | rotatingtree.c | 17 int result; in randombits() local 22 result = random_stream & ((1<<bits)-1); in randombits() 24 return result; in randombits() 110 int result; in RotatingTree_Enum() local 113 result = RotatingTree_Enum(root->left, enumfn, arg); in RotatingTree_Enum() 114 if (result != 0) return result; in RotatingTree_Enum() 116 result = enumfn(root, arg); in RotatingTree_Enum() 117 if (result != 0) return result; in RotatingTree_Enum() [all...] |
/third_party/skia/modules/svg/include/ |
H A D | SkSVGAttributeParser.h | 32 ParseResult<T> result; in parse() local 35 result.set(std::move(parsedValue)); in parse() 37 return result; in parse() 60 PropertyT result(SkSVGPropertyState::kInherit); in parseProperty() 61 return ParseResult<PropertyT>(&result); in parseProperty() 66 PropertyT result(*pr); in parseProperty() 67 return ParseResult<PropertyT>(&result); in parseProperty() 112 bool parseParenthesized(const char* prefix, Func, T* result); 118 bool parseEnumMap(const TArray& arr, T* result) { in parseEnumMap() argument 121 *result in parseEnumMap() [all...] |
/third_party/spirv-tools/source/util/ |
H A D | string_utils.h | 52 std::vector<uint32_t>* result) { in AppendToVector() 62 result->push_back(word); in AppendToVector() 68 result->push_back(word); in AppendToVector() 74 std::vector<uint32_t> result; in MakeVector() local 75 AppendToVector(input, &result); in MakeVector() 76 return result; in MakeVector() 85 std::string result; in MakeString() local 95 return result; in MakeString() 97 result += c; in MakeString() 104 return result; in MakeString() 51 AppendToVector(const std::string& input, std::vector<uint32_t>* result) AppendToVector() argument [all...] |
/third_party/spirv-tools/test/opt/ |
H A D | convert_to_sampled_image_test.cpp | 225 auto result = SinglePassRunAndMatch<ConvertToSampledImagePass>( in TEST_F() local 229 EXPECT_EQ(std::get<1>(result), Pass::Status::SuccessWithChange); in TEST_F() 256 auto result = SinglePassRunAndMatch<ConvertToSampledImagePass>( in TEST_F() local 260 EXPECT_EQ(std::get<1>(result), Pass::Status::SuccessWithChange); in TEST_F() 283 auto result = SinglePassRunToBinary<ConvertToSampledImagePass>( in TEST_F() local 287 EXPECT_EQ(std::get<1>(result), Pass::Status::Failure); in TEST_F() 313 auto result = SinglePassRunToBinary<ConvertToSampledImagePass>( in TEST_F() local 317 EXPECT_EQ(std::get<1>(result), Pass::Status::Failure); in TEST_F() 344 auto result = SinglePassRunToBinary<ConvertToSampledImagePass>( in TEST_F() local 348 EXPECT_EQ(std::get<1>(result), Pas in TEST_F() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/ |
H A D | SyncEGL.cpp | 67 EGLint result = mEGL->clientWaitSyncKHR(mSync, flags, timeout); in clientWait() local 69 if (result == EGL_FALSE) in clientWait() 74 *outResult = result; in clientWait() 83 EGLint result = mEGL->waitSyncKHR(mSync, flags); in serverWait() local 85 if (result == EGL_FALSE) in serverWait() 96 EGLBoolean result = mEGL->getSyncAttribKHR(mSync, EGL_SYNC_STATUS_KHR, outStatus); in getStatus() local 98 if (result == EGL_FALSE) in getStatus() 106 egl::Error SyncEGL::dupNativeFenceFD(const egl::Display *display, EGLint *result) const in dupNativeFenceFD() 109 *result = mEGL->dupNativeFenceFDANDROID(mSync); in dupNativeFenceFD() 110 if (*result in dupNativeFenceFD() [all...] |
/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/hdi_device/ |
H A D | hdi_device_test.cpp | 174 const char* result = static_cast<const char*>(buffer); in GetBuffer() local 176 EXPECT_EQ('A', result[index++]); in GetBuffer() 177 EXPECT_EQ('B', result[index++]); in GetBuffer() 178 EXPECT_EQ('C', result[index++]); in GetBuffer() 179 EXPECT_EQ('D', result[index++]); in GetBuffer() 205 OH_NN_ReturnCode result = hdiDevice->PrepareModel(model, config, preparedModel); in PrepareModel() local 206 return result; in PrepareModel() 231 OH_NN_ReturnCode result = hdiDevice->PrepareModel(model, config, preparedModel); in PrepareModelv2() local 232 return result; in PrepareModelv2() 280 OH_NN_ReturnCode result in HWTEST_F() local 298 OH_NN_ReturnCode result = hdiDevice->GetDeviceName(deviceName); HWTEST_F() local 318 OH_NN_ReturnCode result = hdiDevice->GetVendorName(newVendorName); HWTEST_F() local 336 OH_NN_ReturnCode result = hdiDevice->GetVendorName(vendorName); HWTEST_F() local 357 OH_NN_ReturnCode result = hdiDevice->GetVersion(newVendorName); HWTEST_F() local 375 OH_NN_ReturnCode result = hdiDevice->GetVersion(vendorName); HWTEST_F() local 395 OH_NN_ReturnCode result = hdiDevice->GetDeviceType(newDeviceType); HWTEST_F() local 415 OH_NN_ReturnCode result = hdiDevice->GetDeviceType(deviceType); HWTEST_F() local 438 OH_NN_ReturnCode result = hdiDevice->GetDeviceType(deviceType); HWTEST_F() local 461 OH_NN_ReturnCode result = hdiDevice->GetDeviceType(deviceType); HWTEST_F() local 484 OH_NN_ReturnCode result = hdiDevice->GetDeviceType(deviceType); HWTEST_F() local 505 OH_NN_ReturnCode result = hdiDevice->GetDeviceStatus(newDeviceStatus); HWTEST_F() local 524 OH_NN_ReturnCode result = hdiDevice->GetDeviceStatus(deviceStatus); HWTEST_F() local 548 OH_NN_ReturnCode result = hdiDevice->GetDeviceStatus(newDeviceStatus); HWTEST_F() local 572 OH_NN_ReturnCode result = hdiDevice->GetDeviceStatus(newDeviceStatus); HWTEST_F() local 596 OH_NN_ReturnCode result = hdiDevice->GetDeviceStatus(newDeviceStatus); HWTEST_F() local 627 OH_NN_ReturnCode result = hdiDevice->GetSupportedOperation(model, newOps); HWTEST_F() local 655 OH_NN_ReturnCode result = hdiDevice->GetSupportedOperation(model, ops); HWTEST_F() local 672 OH_NN_ReturnCode result = hdiDevice->GetSupportedOperation(model, ops); HWTEST_F() local 700 OH_NN_ReturnCode result = hdiDevice->GetSupportedOperation(model, newOps); HWTEST_F() local 718 OH_NN_ReturnCode result = hdiDevice->IsFloat16PrecisionSupported(isSupported); HWTEST_F() local 736 OH_NN_ReturnCode result = hdiDevice->IsFloat16PrecisionSupported(isSupported); HWTEST_F() local 757 OH_NN_ReturnCode result = hdiDevice->IsPerformanceModeSupported(newIsSupported); HWTEST_F() local 776 OH_NN_ReturnCode result = hdiDevice->IsPerformanceModeSupported(isSupported); HWTEST_F() local 797 OH_NN_ReturnCode result = hdiDevice->IsPrioritySupported(newIsSupported); HWTEST_F() local 816 OH_NN_ReturnCode result = hdiDevice->IsPrioritySupported(isSupported); HWTEST_F() local 837 OH_NN_ReturnCode result = hdiDevice->IsDynamicInputSupported(newIsSupported); HWTEST_F() local 856 OH_NN_ReturnCode result = hdiDevice->IsDynamicInputSupported(isSupported); HWTEST_F() local 877 OH_NN_ReturnCode result = hdiDevice->IsModelCacheSupported(newIsSupported); HWTEST_F() local 896 OH_NN_ReturnCode result = hdiDevice->IsModelCacheSupported(isSupported); HWTEST_F() local 909 OH_NN_ReturnCode result = PrepareModel(allocBufferType, prepareType); HWTEST_F() local 927 OH_NN_ReturnCode result = hdiDevice->PrepareModel(model, config, preparedModel); HWTEST_F() local 940 OH_NN_ReturnCode result = PrepareModel(allocBufferType, prepareType); HWTEST_F() local 953 OH_NN_ReturnCode result = PrepareModel(allocBufferType, prepareType); HWTEST_F() local 975 OH_NN_ReturnCode result = hdiDevice->PrepareModel(data, config, preparedModel); HWTEST_F() local 1007 OH_NN_ReturnCode result = hdiDevice->PrepareModelFromModelCache(modelCache, config, preparedModel, isUpdatable); HWTEST_F() local 1044 OH_NN_ReturnCode result = hdiDevice->PrepareModelFromModelCache(modelCache, config, preparedModel, isUpdatable); HWTEST_F() local 1063 OH_NN_ReturnCode result = hdiDevice->PrepareModelFromModelCache(modelCache, config, preparedModel, isUpdatable); HWTEST_F() local 1101 OH_NN_ReturnCode result = hdiDevice->PrepareModelFromModelCache(modelCache, config, preparedModel, isUpdatable); HWTEST_F() local 1139 OH_NN_ReturnCode result = hdiDevice->PrepareModelFromModelCache(modelCache, config, preparedModel, isUpdatable); HWTEST_F() local 1177 OH_NN_ReturnCode result = hdiDevice->PrepareModelFromModelCache(modelCache, config, preparedModel, isUpdatable); HWTEST_F() local 1214 OH_NN_ReturnCode result = hdiDevice->PrepareModelFromModelCache(modelCache, config, preparedModel, isUpdatable); HWTEST_F() local 1234 void *result = hdiDevice->AllocateBuffer(length); HWTEST_F() local 1251 void *result = hdiDevice->AllocateBuffer(length); HWTEST_F() local 1268 void *result = hdiDevice->AllocateBuffer(length); HWTEST_F() local 1286 OH_NN_ReturnCode result = hdiDevice->AllocateBuffer(length, fd); HWTEST_F() local 1307 OH_NN_ReturnCode result = hdiDevice->AllocateBuffer(length, fd); HWTEST_F() local 1328 OH_NN_ReturnCode result = hdiDevice->AllocateBuffer(length, fd); HWTEST_F() local 1654 OH_NN_ReturnCode result = hdiDevice->GetDeviceName(newDeviceName); HWTEST_F() local 1672 OH_NN_ReturnCode result = hdiDevice->GetDeviceName(deviceName); HWTEST_F() local 1692 OH_NN_ReturnCode result = hdiDevice->GetVendorName(newVendorName); HWTEST_F() local 1710 OH_NN_ReturnCode result = hdiDevice->GetVendorName(vendorName); HWTEST_F() local 1731 OH_NN_ReturnCode result = hdiDevice->GetVersion(newVendorName); HWTEST_F() local 1749 OH_NN_ReturnCode result = hdiDevice->GetVersion(vendorName); HWTEST_F() local 1769 OH_NN_ReturnCode result = hdiDevice->GetDeviceType(newDeviceType); HWTEST_F() local 1789 OH_NN_ReturnCode result = hdiDevice->GetDeviceType(deviceType); HWTEST_F() local 1812 OH_NN_ReturnCode result = hdiDevice->GetDeviceType(deviceType); HWTEST_F() local 1835 OH_NN_ReturnCode result = hdiDevice->GetDeviceType(deviceType); HWTEST_F() local 1858 OH_NN_ReturnCode result = hdiDevice->GetDeviceType(deviceType); HWTEST_F() local 1879 OH_NN_ReturnCode result = hdiDevice->GetDeviceStatus(newDeviceStatus); HWTEST_F() local 1898 OH_NN_ReturnCode result = hdiDevice->GetDeviceStatus(deviceStatus); HWTEST_F() local 1922 OH_NN_ReturnCode result = hdiDevice->GetDeviceStatus(newDeviceStatus); HWTEST_F() local 1946 OH_NN_ReturnCode result = hdiDevice->GetDeviceStatus(newDeviceStatus); HWTEST_F() local 1970 OH_NN_ReturnCode result = hdiDevice->GetDeviceStatus(newDeviceStatus); HWTEST_F() local 1999 OH_NN_ReturnCode result = hdiDevice->GetSupportedOperation(model, newOps); HWTEST_F() local 2027 OH_NN_ReturnCode result = hdiDevice->GetSupportedOperation(model, ops); HWTEST_F() local 2044 OH_NN_ReturnCode result = hdiDevice->GetSupportedOperation(model, ops); HWTEST_F() local 2072 OH_NN_ReturnCode result = hdiDevice->GetSupportedOperation(model, newOps); HWTEST_F() local 2090 OH_NN_ReturnCode result = hdiDevice->IsFloat16PrecisionSupported(isSupported); HWTEST_F() local 2108 OH_NN_ReturnCode result = hdiDevice->IsFloat16PrecisionSupported(isSupported); HWTEST_F() local 2129 OH_NN_ReturnCode result = hdiDevice->IsPerformanceModeSupported(newIsSupported); HWTEST_F() local 2148 OH_NN_ReturnCode result = hdiDevice->IsPerformanceModeSupported(isSupported); HWTEST_F() local 2169 OH_NN_ReturnCode result = hdiDevice->IsPrioritySupported(newIsSupported); HWTEST_F() local 2188 OH_NN_ReturnCode result = hdiDevice->IsPrioritySupported(isSupported); HWTEST_F() local 2209 OH_NN_ReturnCode result = hdiDevice->IsDynamicInputSupported(newIsSupported); HWTEST_F() local 2228 OH_NN_ReturnCode result = hdiDevice->IsDynamicInputSupported(isSupported); HWTEST_F() local 2249 OH_NN_ReturnCode result = hdiDevice->IsModelCacheSupported(newIsSupported); HWTEST_F() local 2268 OH_NN_ReturnCode result = hdiDevice->IsModelCacheSupported(isSupported); HWTEST_F() local 2281 OH_NN_ReturnCode result = PrepareModelv2(allocBufferType, prepareType); HWTEST_F() local 2299 OH_NN_ReturnCode result = hdiDevice->PrepareModel(model, config, preparedModel); HWTEST_F() local 2312 OH_NN_ReturnCode result = PrepareModelv2(allocBufferType, prepareType); HWTEST_F() local 2325 OH_NN_ReturnCode result = PrepareModelv2(allocBufferType, prepareType); HWTEST_F() local 2347 OH_NN_ReturnCode result = hdiDevice->PrepareModel(data, config, preparedModel); HWTEST_F() local 2379 OH_NN_ReturnCode result = hdiDevice->PrepareModelFromModelCache(modelCache, config, preparedModel, isUpdatable); HWTEST_F() local 2416 OH_NN_ReturnCode result = hdiDevice->PrepareModelFromModelCache(modelCache, config, preparedModel, isUpdatable); HWTEST_F() local 2435 OH_NN_ReturnCode result = hdiDevice->PrepareModelFromModelCache(modelCache, config, preparedModel, isUpdatable); HWTEST_F() local 2473 OH_NN_ReturnCode result = hdiDevice->PrepareModelFromModelCache(modelCache, config, preparedModel, isUpdatable); HWTEST_F() local 2511 OH_NN_ReturnCode result = hdiDevice->PrepareModelFromModelCache(modelCache, config, preparedModel, isUpdatable); HWTEST_F() local 2549 OH_NN_ReturnCode result = hdiDevice->PrepareModelFromModelCache(modelCache, config, preparedModel, isUpdatable); HWTEST_F() local 2586 OH_NN_ReturnCode result = hdiDevice->PrepareModelFromModelCache(modelCache, config, preparedModel, isUpdatable); HWTEST_F() local 2606 void *result = hdiDevice->AllocateBuffer(length); HWTEST_F() local 2623 void *result = hdiDevice->AllocateBuffer(length); HWTEST_F() local 2640 void *result = hdiDevice->AllocateBuffer(length); HWTEST_F() local 2658 OH_NN_ReturnCode result = hdiDevice->AllocateBuffer(length, fd); HWTEST_F() local 2679 OH_NN_ReturnCode result = hdiDevice->AllocateBuffer(length, fd); HWTEST_F() local 2700 OH_NN_ReturnCode result = hdiDevice->AllocateBuffer(length, fd); HWTEST_F() local [all...] |
/third_party/node/deps/brotli/c/dec/ |
H A D | decode.c | 376 const HuffmanCode* table, BrotliBitReader* br, uint32_t* result) { in SafeDecodeSymbol() 382 *result = BROTLI_HC_FAST_LOAD_VALUE(table); in SafeDecodeSymbol() 392 *result = BROTLI_HC_FAST_LOAD_VALUE(table); in SafeDecodeSymbol() 411 *result = BROTLI_HC_FAST_LOAD_VALUE(table); in SafeDecodeSymbol() 416 const HuffmanCode* table, BrotliBitReader* br, uint32_t* result) { in SafeReadSymbol() 419 *result = DecodeSymbol(val, table, br); in SafeReadSymbol() 422 return SafeDecodeSymbol(table, br, result); in SafeReadSymbol() 446 uint32_t result = *value; in ReadPreloadedSymbol() local 455 result = BROTLI_HC_FAST_LOAD_VALUE(ext); in ReadPreloadedSymbol() 460 return result; in ReadPreloadedSymbol() 375 SafeDecodeSymbol( const HuffmanCode* table, BrotliBitReader* br, uint32_t* result) SafeDecodeSymbol() argument 415 SafeReadSymbol( const HuffmanCode* table, BrotliBitReader* br, uint32_t* result) SafeReadSymbol() argument 464 uint32_t result = 0; Log2Floor() local 788 BrotliDecoderErrorCode result = ReadHuffmanCode() local 819 BrotliDecoderErrorCode result = ReadCodeLengthCodeLengths(s); ReadHuffmanCode() local 843 BrotliDecoderErrorCode result = ReadSymbolCodeLengths( ReadHuffmanCode() local 884 SafeReadBlockLength( BrotliDecoderState* s, uint32_t* result, const HuffmanCode* table, BrotliBitReader* br) SafeReadBlockLength() argument 972 BrotliDecoderErrorCode result = ReadHuffmanCode(group->alphabet_size_max, HuffmanTreeGroupDecode() local 996 BrotliDecoderErrorCode result = BROTLI_DECODER_SUCCESS; DecodeContextMap() local 1389 BrotliDecoderErrorCode result; CopyUncompressedBlockToOutput() local 1738 BrotliDecoderErrorCode result = BROTLI_DECODER_SUCCESS; ProcessCommandsInternal() local 2039 BrotliDecoderResult result; BrotliDecoderDecompress() local 2072 BrotliDecoderErrorCode result = BROTLI_DECODER_SUCCESS; BrotliDecoderDecompressStream() local 2552 uint8_t* result = 0; BrotliDecoderTakeOutput() local [all...] |
/third_party/skia/third_party/externals/brotli/c/dec/ |
H A D | decode.c | 376 const HuffmanCode* table, BrotliBitReader* br, uint32_t* result) { in SafeDecodeSymbol() 382 *result = BROTLI_HC_FAST_LOAD_VALUE(table); in SafeDecodeSymbol() 392 *result = BROTLI_HC_FAST_LOAD_VALUE(table); in SafeDecodeSymbol() 411 *result = BROTLI_HC_FAST_LOAD_VALUE(table); in SafeDecodeSymbol() 416 const HuffmanCode* table, BrotliBitReader* br, uint32_t* result) { in SafeReadSymbol() 419 *result = DecodeSymbol(val, table, br); in SafeReadSymbol() 422 return SafeDecodeSymbol(table, br, result); in SafeReadSymbol() 446 uint32_t result = *value; in ReadPreloadedSymbol() local 455 result = BROTLI_HC_FAST_LOAD_VALUE(ext); in ReadPreloadedSymbol() 460 return result; in ReadPreloadedSymbol() 375 SafeDecodeSymbol( const HuffmanCode* table, BrotliBitReader* br, uint32_t* result) SafeDecodeSymbol() argument 415 SafeReadSymbol( const HuffmanCode* table, BrotliBitReader* br, uint32_t* result) SafeReadSymbol() argument 464 uint32_t result = 0; Log2Floor() local 788 BrotliDecoderErrorCode result = ReadHuffmanCode() local 819 BrotliDecoderErrorCode result = ReadCodeLengthCodeLengths(s); ReadHuffmanCode() local 843 BrotliDecoderErrorCode result = ReadSymbolCodeLengths( ReadHuffmanCode() local 884 SafeReadBlockLength( BrotliDecoderState* s, uint32_t* result, const HuffmanCode* table, BrotliBitReader* br) SafeReadBlockLength() argument 972 BrotliDecoderErrorCode result = ReadHuffmanCode(group->alphabet_size_max, HuffmanTreeGroupDecode() local 996 BrotliDecoderErrorCode result = BROTLI_DECODER_SUCCESS; DecodeContextMap() local 1389 BrotliDecoderErrorCode result; CopyUncompressedBlockToOutput() local 1738 BrotliDecoderErrorCode result = BROTLI_DECODER_SUCCESS; ProcessCommandsInternal() local 2039 BrotliDecoderResult result; BrotliDecoderDecompress() local 2072 BrotliDecoderErrorCode result = BROTLI_DECODER_SUCCESS; BrotliDecoderDecompressStream() local 2552 uint8_t* result = 0; BrotliDecoderTakeOutput() local [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_field_controller_test.cpp | 809 std::string result = "??????????"; in HWTEST_F() local 810 EXPECT_EQ(pattern_->GetTextValue().compare(result), 0) << "Text is: " << pattern_->GetTextValue(); in HWTEST_F() 815 result = "????????"; in HWTEST_F() 816 EXPECT_EQ(pattern_->GetTextValue().compare(result), 0) << "Text is: " << pattern_->GetTextValue(); in HWTEST_F() 821 result = "??????"; in HWTEST_F() 822 EXPECT_EQ(pattern_->GetTextValue().compare(result), 0) << "Text is: " + pattern_->GetTextValue(); in HWTEST_F() 827 result = "????"; in HWTEST_F() 828 EXPECT_EQ(pattern_->GetTextValue().compare(result), 0) << "Text is: " + pattern_->GetTextValue(); in HWTEST_F() 857 std::string result = std::string("????????????????????") in HWTEST_F() local 863 result in HWTEST_F() 898 std::string result = "👁️👁️👁️👁️👁️👁️👁️👁️👁️👁️"; HWTEST_F() local 942 std::string result = "🇨🇳🇨🇳🇨🇳🇨🇳🇨🇳🇨🇳🇨🇳🇨🇳🇨🇳🇨🇳🇨🇳"; HWTEST_F() local 986 std::string result = "3️⃣3️⃣3️⃣3️⃣3️⃣3️⃣3️⃣3️⃣3️⃣3️⃣"; HWTEST_F() local 1030 std::string result = "👁️🗨️👁️🗨️👁️🗨️👁️🗨️👁️🗨️👁️🗨️👁️🗨️👁️🗨️👁️🗨️👁️🗨️"; HWTEST_F() local 1065 std::string result = "1\\n23\\n45\\r\\n6\\n"; HWTEST_F() local 1109 std::string result = "12345📡👨👩👧👦👁️\\n🇨🇳3️⃣👁️🗨️"; HWTEST_F() local [all...] |
/foundation/multimedia/player_framework/frameworks/js/recorder/ |
H A D | video_recorder_napi.cpp | 99 napi_value result = nullptr; in Constructor() local 100 napi_get_undefined(env, &result); in Constructor() 107 return result; in Constructor() 111 CHECK_AND_RETURN_RET_LOG(recorderNapi != nullptr, result, "No memory!"); in Constructor() 115 CHECK_AND_RETURN_RET_LOG(recorderNapi->recorder_ != nullptr, result, "failed to CreateRecorder"); in Constructor() 127 return result; in Constructor() 155 napi_value result = nullptr; in CreateVideoRecorder() local 156 napi_get_undefined(env, &result); in CreateVideoRecorder() 163 CHECK_AND_RETURN_RET_LOG(status == napi_ok, result, "failed to napi_get_cb_info"); in CreateVideoRecorder() 171 asyncCtx->deferred = CommonNapi::CreatePromise(env, asyncCtx->callbackRef, result); in CreateVideoRecorder() 189 napi_value result = nullptr; Prepare() local 259 napi_value result = nullptr; GetInputSurface() local 316 napi_value result = nullptr; Start() local 366 napi_value result = nullptr; Pause() local 414 napi_value result = nullptr; Resume() local 464 napi_value result = nullptr; Stop() local 512 napi_value result = nullptr; Reset() local 567 napi_value result = nullptr; Release() local 621 napi_value result = nullptr; On() local 805 napi_value result = nullptr; GetState() local [all...] |