Home
last modified time | relevance | path

Searched refs:result (Results 2301 - 2325 of 17805) sorted by relevance

1...<<919293949596979899100>>...713

/third_party/node/deps/v8/src/ast/
H A Dast-value-factory.cc161 if (int result = CompareCharsUnsigned( in Compare()
164 return result; in Compare()
166 if (int result = CompareCharsUnsigned( in Compare()
169 return result; in Compare()
173 if (int result = CompareCharsUnsigned( in Compare()
176 return result; in Compare()
178 if (int result = CompareCharsUnsigned( in Compare()
181 return result; in Compare()
231 Handle<SeqOneByteString> result = in AllocateFlat() local
237 result in AllocateFlat()
250 Handle<SeqTwoByteString> result = AllocateFlat() local
281 std::forward_list<const AstRawString*> result; ToRawStrings() local
343 const AstRawString* result = nullptr; GetString() local
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
H A Ddistribution_test_util.cc41 DistributionMoments result; in ComputeDistributionMoments() local
45 result.n++; in ComputeDistributionMoments()
46 result.mean += x; in ComputeDistributionMoments()
48 result.mean /= static_cast<double>(result.n); in ComputeDistributionMoments()
52 double v = x - result.mean; in ComputeDistributionMoments()
53 result.variance += v * v; in ComputeDistributionMoments()
54 result.skewness += v * v * v; in ComputeDistributionMoments()
55 result.kurtosis += v * v * v * v; in ComputeDistributionMoments()
57 result in ComputeDistributionMoments()
213 double result = 1.; BetaIncompleteImpl() local
[all...]
/third_party/vk-gl-cts/modules/gles3/performance/
H A Des3pShaderCompilationCases.cpp132 // strictly true for things like median) so a relative result of 0
141 float result = 0.0f;
143 result += (float)v[i];
144 return result / (float)v.size();
176 float result = 0.0f;
180 result += d*d;
182 return deFloatSqrt(result/(float)v.size());
245 tcu::Vector<float, 16> result;
251 result[vecNdx*4 + i] = srcVec[i];
254 return result;
[all...]
/third_party/vk-gl-cts/modules/gles2/performance/
H A Des2pShaderCompilationCases.cpp132 // strictly true for things like median) so a relative result of 0
141 float result = 0.0f;
143 result += (float)v[i];
144 return result / (float)v.size();
176 float result = 0.0f;
180 result += d*d;
182 return deFloatSqrt(result/(float)v.size());
245 tcu::Vector<float, 16> result;
251 result[vecNdx*4 + i] = srcVec[i];
254 return result;
[all...]
/foundation/ai/intelligent_voice_framework/frameworks/js/napi/
H A Dwakeup_manager_napi.cpp70 napi_value result = nullptr; in Export() local
72 napi_get_undefined(env, &result); in Export()
97 return result; in Export()
112 return result; in Export()
182 napi_value result = nullptr; in GetWakeupManagerWrapper() local
187 status = napi_new_instance(env, constructor, 0, nullptr, &result); in GetWakeupManagerWrapper()
189 return result; in GetWakeupManagerWrapper()
195 napi_get_undefined(env, &result); in GetWakeupManagerWrapper()
197 return result; in GetWakeupManagerWrapper()
292 context->complete_ = [](napi_env env, AsyncContext *asyncContext, napi_value &result) { in GetParameter()
347 GetUploadFilesComplete(napi_env env, AsyncContext *data, napi_value &result) GetUploadFilesComplete() argument
431 GetCloneCompleteCallback(napi_env env, AsyncContext *data, napi_value &result) GetCloneCompleteCallback() argument
468 napi_value result = nullptr; CloneForResultCompleteCallback() local
[all...]
/foundation/ability/ability_runtime/frameworks/js/napi/mission_manager/
H A Dmission_manager.cpp183 napi_value result = nullptr; in OnUnregisterMissionListener() local
185 env, CreateAsyncTaskWithLastParam(env, lastParam, nullptr, std::move(complete), &result)); in OnUnregisterMissionListener()
186 return result; in OnUnregisterMissionListener()
223 napi_value result = nullptr; in OnGetMissionInfos() local
225 env, CreateAsyncTaskWithLastParam(env, lastParam, nullptr, std::move(complete), &result)); in OnGetMissionInfos()
226 return result; in OnGetMissionInfos()
263 napi_value result = nullptr; in OnGetMissionInfo() local
265 env, CreateAsyncTaskWithLastParam(env, lastParam, nullptr, std::move(complete), &result)); in OnGetMissionInfo()
266 return result; in OnGetMissionInfo()
291 int result in GetMissionSnapShot() member in OHOS::AbilityRuntime::JsMissionManager::MissionSnapshotWrap
324 napi_value result = nullptr; GetMissionSnapShot() local
380 napi_value result = nullptr; OnLockMission() local
413 napi_value result = nullptr; OnUnlockMission() local
446 napi_value result = nullptr; OnClearMission() local
467 napi_value result = nullptr; OnClearAllMissions() local
508 napi_value result = nullptr; OnMoveMissionToFront() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/common_napi_utils/
H A Dcommon_napi_utils.cpp62 napi_value result = nullptr; in Call() local
67 return result; in Call()
73 napi_call_function(env_, undefined, callback, argc, argv, &result); in Call()
75 return result; in Call()
163 std::string result; in GetStringFromValueUtf8() local
165 NAPI_CALL_BASE(env, napi_get_value_string_utf8(env, value, nullptr, 0, &stringLength), result); in GetStringFromValueUtf8()
167 return result; in GetStringFromValueUtf8()
173 return result; in GetStringFromValueUtf8()
177 return result; in GetStringFromValueUtf8()
180 NAPI_CALL_BASE(env, napi_get_value_string_utf8(env, value, str.get(), stringLength + 1, &length), result); in GetStringFromValueUtf8()
324 uint32_t result = origin; ColorAlphaAdapt() local
360 auto result = JsonUtil::Create(true); PutJsonValue() local
427 ParseColor(napi_env env, napi_value value, Color& result) ParseColor() argument
445 GetDimensionResult(napi_env env, napi_value value, CalcDimension& result) GetDimensionResult() argument
[all...]
/foundation/multimedia/player_framework/frameworks/js/common/
H A Dcommon_napi.h53 static bool GetPropertyInt32(napi_env env, napi_value configObj, const std::string &type, int32_t &result);
54 static bool GetPropertyUint32(napi_env env, napi_value configObj, const std::string &type, uint32_t &result);
55 static bool GetPropertyInt64(napi_env env, napi_value configObj, const std::string &type, int64_t &result);
56 static bool GetPropertyDouble(napi_env env, napi_value configObj, const std::string &type, double &result);
66 static napi_deferred CreatePromise(napi_env env, napi_ref ref, napi_value &result);
74 static bool CreateFormatBufferByRef(napi_env env, Format &format, napi_value &result);
82 static bool GetPropertyBool(napi_env env, napi_value configObj, const std::string &type, bool &result);
87 napi_value &result);
89 napi_value &result);
91 const std::vector<sptr<AudioStandard::AudioDeviceDescriptor>> &deviceDescriptors, napi_value &result);
[all...]
/foundation/multimedia/player_framework/services/services/transcoder/server/
H A Dtranscoder_server.cpp89 auto result = task->GetResult(); in Init() local
90 CHECK_AND_RETURN_RET_LOG(result.Value() == MSERR_OK, result.Value(), "Result failed"); in Init()
138 auto result = task->GetResult(); in SetVideoEncoder() local
139 return result.Value(); in SetVideoEncoder()
157 auto result = task->GetResult(); in SetVideoSize() local
158 return result.Value(); in SetVideoSize()
175 auto result = task->GetResult(); in SetVideoEncodingBitRate() local
176 return result.Value(); in SetVideoEncodingBitRate()
194 auto result in SetAudioEncoder() local
212 auto result = task->GetResult(); SetAudioEncodingBitRate() local
229 auto result = task->GetResult(); SetOutputFormat() local
254 auto result = task->GetResult(); SetInputFile() local
271 auto result = task->GetResult(); SetOutputFile() local
293 auto result = task->GetResult(); SetTransCoderCallback() local
311 auto result = task->GetResult(); Prepare() local
332 auto result = task->GetResult(); Start() local
353 auto result = task->GetResult(); Pause() local
374 auto result = task->GetResult(); Resume() local
392 auto result = task->GetResult(); Cancel() local
[all...]
/foundation/communication/wifi/wifi/frameworks/js/napi/src/
H A Dwifi_napi_p2p.cpp25 static void DeviceInfoToJs(const napi_env& env, const WifiP2pDevice& device, napi_value& result) in DeviceInfoToJs() argument
27 SetValueUtf8String(env, "deviceName", device.GetDeviceName().c_str(), result); in DeviceInfoToJs()
28 SetValueUtf8String(env, "deviceAddress", device.GetDeviceAddress().c_str(), result); in DeviceInfoToJs()
29 SetValueInt32(env, "deviceAddressType", device.GetDeviceAddressType(), result); in DeviceInfoToJs()
30 SetValueUtf8String(env, "primaryDeviceType", device.GetPrimaryDeviceType().c_str(), result); in DeviceInfoToJs()
31 SetValueInt32(env, "deviceStatus", static_cast<int>(device.GetP2pDeviceStatus()), result); in DeviceInfoToJs()
32 SetValueInt32(env, "groupCapabilities", device.GetGroupCapabilitys(), result); in DeviceInfoToJs()
52 static ErrCode GroupInfosToJs(const napi_env& env, const WifiP2pGroupInfo& groupInfo, napi_value& result) in GroupInfosToJs() argument
54 SetValueBool(env, "isP2pGo", groupInfo.IsGroupOwner(), result); in GroupInfosToJs()
60 napi_status status = napi_set_named_property(env, result, "ownerInf in GroupInfosToJs()
385 LinkedInfoToJs(const napi_env& env, WifiP2pLinkedInfo& linkedInfo, napi_value& result) LinkedInfoToJs() argument
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
H A DXLikelySubtags.java137 // Cache the result of looking up language="und" encoded as "*", and "und-Zzzz" ("**"). in XLikelySubtags()
138 BytesTrie.Result result = trie.next('*'); in XLikelySubtags()
139 assert result.hasNext(); in XLikelySubtags()
141 result = trie.next('*'); in XLikelySubtags()
142 assert result.hasNext(); in XLikelySubtags()
144 result = trie.next('*'); in XLikelySubtags()
145 assert result.hasValue(); in XLikelySubtags()
150 result = trie.next(c); in XLikelySubtags()
151 if (result == BytesTrie.Result.NO_VALUE) { in XLikelySubtags()
349 LSR result in maximize()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/
H A DXLikelySubtags.java144 // Cache the result of looking up language="und" encoded as "*", and "und-Zzzz" ("**"). in XLikelySubtags()
145 BytesTrie.Result result = trie.next('*'); in XLikelySubtags()
146 assert result.hasNext(); in XLikelySubtags()
148 result = trie.next('*'); in XLikelySubtags()
149 assert result.hasNext(); in XLikelySubtags()
151 result = trie.next('*'); in XLikelySubtags()
152 assert result.hasValue(); in XLikelySubtags()
157 result = trie.next(c); in XLikelySubtags()
158 if (result == BytesTrie.Result.NO_VALUE) { in XLikelySubtags()
354 LSR result in maximize()
[all...]
/third_party/icu/icu4c/source/i18n/
H A Dlistformatter.cpp319 ListFormatInternal* result = nullptr; in getListFormatInternal() local
329 result = static_cast<ListFormatInternal*>(listPatternHash->get(key)); in getListFormatInternal()
331 if (result != nullptr) { in getListFormatInternal()
332 return result; in getListFormatInternal()
334 result = loadListFormatInternal(locale, style, errorCode); in getListFormatInternal()
343 delete result; in getListFormatInternal()
344 result = temp; in getListFormatInternal()
346 listPatternHash->put(key, result, errorCode); in getListFormatInternal()
352 return result; in getListFormatInternal()
500 ListFormatInternal* result in loadListFormatInternal() local
658 auto result = formatStringsToValue(items, nItems, errorCode); format() local
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dlistformatter.cpp319 ListFormatInternal* result = nullptr; in getListFormatInternal() local
329 result = static_cast<ListFormatInternal*>(listPatternHash->get(key)); in getListFormatInternal()
331 if (result != nullptr) { in getListFormatInternal()
332 return result; in getListFormatInternal()
334 result = loadListFormatInternal(locale, style, errorCode); in getListFormatInternal()
343 delete result; in getListFormatInternal()
344 result = temp; in getListFormatInternal()
346 listPatternHash->put(key, result, errorCode); in getListFormatInternal()
352 return result; in getListFormatInternal()
493 ListFormatInternal* result in loadListFormatInternal() local
651 auto result = formatStringsToValue(items, nItems, errorCode); format() local
[all...]
/third_party/qrcodegen/rust-no-heap/src/
H A Dlib.rs140 /// chosen for the output. Iff boostecl is `true`, then the ECC level of the result
197 /// chosen for the output. Iff boostecl is `true`, then the ECC level of the result
242 /// chosen for the output. Iff boostecl is `true`, then the ECC level of the result
332 let mut result: QrCode = QrCode::<'a>::function_modules_marked(datacodewordsandoutbuffer, version); variables
333 result.draw_codewords(allcodewords);
334 result.draw_light_function_modules();
342 result.apply_mask(&funcmods, i);
343 result.draw_format_bits(ecl, i);
344 let penalty: i32 = result.get_penalty_score();
349 result
489 let mut result = Self { global() variables
711 let mut result: i32 = 0; get_penalty_score() variables
817 let mut result: usize = (16 * ver + 128) * ver + 64; get_num_raw_data_modules() variables
877 let mut result = Self { new() variables
1254 let mut result: usize = 0; get_total_bits() variables
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dlistformatter.cpp319 ListFormatInternal* result = nullptr; in getListFormatInternal() local
329 result = static_cast<ListFormatInternal*>(listPatternHash->get(key)); in getListFormatInternal()
331 if (result != nullptr) { in getListFormatInternal()
332 return result; in getListFormatInternal()
334 result = loadListFormatInternal(locale, style, errorCode); in getListFormatInternal()
343 delete result; in getListFormatInternal()
344 result = temp; in getListFormatInternal()
346 listPatternHash->put(key, result, errorCode); in getListFormatInternal()
352 return result; in getListFormatInternal()
500 ListFormatInternal* result in loadListFormatInternal() local
658 auto result = formatStringsToValue(items, nItems, errorCode); format() local
[all...]
/third_party/protobuf/src/google/protobuf/compiler/java/
H A Djava_helpers.cc160 std::string result; in UnderscoresToCamelCase() local
165 result += input[i] + ('A' - 'a'); in UnderscoresToCamelCase()
167 result += input[i]; in UnderscoresToCamelCase()
174 result += input[i] + ('a' - 'A'); in UnderscoresToCamelCase()
177 result += input[i]; in UnderscoresToCamelCase()
181 result += input[i]; in UnderscoresToCamelCase()
189 result += '_'; in UnderscoresToCamelCase()
191 return result; in UnderscoresToCamelCase()
244 std::string result; in FileJavaPackage() local
247 result in FileJavaPackage()
648 std::string result = "((" + varName + " & " + mask + ") != 0)"; GenerateGetBitInternal() local
657 std::string result = varName + " |= " + mask; GenerateSetBitInternal() local
676 std::string result = varName + " = (" + varName + " & ~" + mask + ")"; GenerateClearBit() local
930 int result = field->type(); GetExperimentalJavaFieldTypeForSingular() local
949 int result = field->type(); GetExperimentalJavaFieldTypeForPacked() local
[all...]
/third_party/spirv-tools/source/opt/
H A Dfold.cpp95 // The sign of non-zero result comes from the first operand: a. This is in BinaryOperate()
97 // result is rounded toward zero, so the result of '%' has the sign of in BinaryOperate()
107 // The sign of non-zero result comes from the second operand: b in BinaryOperate()
129 // When |b| == 32, doing the shift in C++ in undefined, but the result in BinaryOperate()
140 // Doing the shift in C++ is undefined, but the result is defined in the in BinaryOperate()
152 // When |b| == 32, doing the shift in C++ in undefined, but the result in BinaryOperate()
254 // Returns the result of performing an operation on scalar constant operands.
256 // result in 32 bit word. Scalar constants with longer than 32-bit width are
284 uint32_t* result) cons in FoldBinaryIntegerOpToConstant()
533 std::vector<uint32_t> result; FoldVectors() local
[all...]
/third_party/skia/modules/skparagraph/tests/
H A DSkParagraphTest.cpp74 std::u16string result; in mirror() local
75 result += u"\u202E"; in mirror()
77 result += text[i - 1]; in mirror()
79 //result += u"\u202C"; in mirror()
80 return result; in mirror()
84 std::u16string result; in straight() local
85 result += u"\u202D"; in straight()
87 result += ch; in straight()
89 return result; in straight()
161 void drawRects(SkColor color, std::vector<TextBox>& result, boo argument
189 drawLines(SkColor color, std::vector<TextBox>& result) drawLines() argument
2670 auto result = paragraph->getRectsForRange(0, 0, heightStyle, widthStyle); UNIX_ONLY_TEST() local
2674 auto result = paragraph->getRectsForRange(0, 1, heightStyle, widthStyle); UNIX_ONLY_TEST() local
2683 auto result = paragraph->getRectsForRange(2, 8, heightStyle, widthStyle); UNIX_ONLY_TEST() local
2692 auto result = paragraph->getRectsForRange(8, 21, heightStyle, widthStyle); UNIX_ONLY_TEST() local
2701 auto result = paragraph->getRectsForRange(30, 100, heightStyle, widthStyle); UNIX_ONLY_TEST() local
2714 auto result = paragraph->getRectsForRange(19, 22, heightStyle, widthStyle); UNIX_ONLY_TEST() local
2723 auto result = paragraph->getRectsForRange(21, 21, heightStyle, widthStyle); UNIX_ONLY_TEST() local
2767 auto result = paragraph->getRectsForRange(0, 0, heightStyle, widthStyle); UNIX_ONLY_TEST() local
2771 auto result = paragraph->getRectsForRange(0, 1, heightStyle, widthStyle); UNIX_ONLY_TEST() local
2780 auto result = paragraph->getRectsForRange(2, 8, heightStyle, widthStyle); UNIX_ONLY_TEST() local
2789 auto result = paragraph->getRectsForRange(8, 21, heightStyle, widthStyle); UNIX_ONLY_TEST() local
2835 auto result = paragraph->getRectsForRange(0, 0, heightStyle, widthStyle); UNIX_ONLY_TEST() local
2840 auto result = paragraph->getRectsForRange(0, 1, heightStyle, widthStyle); UNIX_ONLY_TEST() local
2849 auto result = paragraph->getRectsForRange(2, 8, heightStyle, widthStyle); UNIX_ONLY_TEST() local
2858 auto result = paragraph->getRectsForRange(8, 21, heightStyle, widthStyle); UNIX_ONLY_TEST() local
2867 auto result = paragraph->getRectsForRange(30, 150, heightStyle, widthStyle); UNIX_ONLY_TEST() local
2902 auto result = paragraph->getRectsForRange(19, 22, heightStyle, widthStyle); UNIX_ONLY_TEST() local
2916 auto result = paragraph->getRectsForRange(21, 21, heightStyle, widthStyle); UNIX_ONLY_TEST() local
2957 auto result = paragraph->getRectsForRange(0, 0, heightStyle, widthStyle); UNIX_ONLY_TEST() local
2962 auto result = paragraph->getRectsForRange(0, 1, heightStyle, widthStyle); UNIX_ONLY_TEST() local
2971 auto result = paragraph->getRectsForRange(2, 8, heightStyle, widthStyle); UNIX_ONLY_TEST() local
2980 auto result = paragraph->getRectsForRange(8, 21, heightStyle, widthStyle); UNIX_ONLY_TEST() local
2989 auto result = paragraph->getRectsForRange(30, 150, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3024 auto result = paragraph->getRectsForRange(19, 22, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3038 auto result = paragraph->getRectsForRange(21, 21, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3079 auto result = paragraph->getRectsForRange(0, 0, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3084 auto result = paragraph->getRectsForRange(0, 1, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3093 auto result = paragraph->getRectsForRange(2, 8, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3102 auto result = paragraph->getRectsForRange(8, 21, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3111 auto result = paragraph->getRectsForRange(30, 150, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3146 auto result = paragraph->getRectsForRange(19, 22, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3160 auto result = paragraph->getRectsForRange(21, 21, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3202 auto result = paragraph->getRectsForRange(0, 0, heightStyle, widthStyle); DEF_TEST_DISABLED() local
3267 auto result = paragraph->getRectsForRange(0, 0, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3272 auto result = paragraph->getRectsForRange(0, 1, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3282 auto result = paragraph->getRectsForRange(2, 4, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3292 auto result = paragraph->getRectsForRange(4, 5, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3302 auto result = paragraph->getRectsForRange(4, 6, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3312 auto result = paragraph->getRectsForRange(5, 6, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3322 auto result = paragraph->getRectsForRange(21, 21, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3364 auto result = paragraph->getRectsForRange(0, 0, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3369 auto result = paragraph->getRectsForRange(0, 1, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3379 auto result = paragraph->getRectsForRange(6, 7, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3428 auto result = paragraph->getRectsForRange(0, 0, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3432 auto result = paragraph->getRectsForRange(0, 1, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3441 auto result = paragraph->getRectsForRange(2, 4, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3450 auto result = paragraph->getRectsForRange(4, 6, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3459 auto result = paragraph->getRectsForRange(5, 6, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3468 auto result = paragraph->getRectsForRange(10, 12, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3477 auto result = paragraph->getRectsForRange(14, 18, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3486 auto result = paragraph->getRectsForRange(21, 21, heightStyle, widthStyle); UNIX_ONLY_TEST() local
3522 auto result = paragraph->getRectsForRange(0, 10, RectHeightStyle::kTight, RectWidthStyle::kMax); UNIX_ONLY_TEST() local
3528 auto result = paragraph->getRectsForRange(0, 10, RectHeightStyle::kStrut, RectWidthStyle::kMax); UNIX_ONLY_TEST() local
3944 auto result = paragraph->getRectsForRange(0, 0, rect_height_style, rect_width_style); UNIX_ONLY_TEST() local
5239 auto result = paragraph->getRectsForPlaceholders(); UNIX_ONLY_TEST() local
6437 auto result = expected[metric.fLineNumber]; UNIX_ONLY_TEST() local
6512 auto result = expected[metric.fLineNumber]; UNIX_ONLY_TEST() local
6548 auto result = paragraph->getGlyphPositionAtCoordinate(41.0f, 0.0f); UNIX_ONLY_TEST() local
[all...]
/foundation/ability/dmsfwk/services/dtbabilitymgr/test/unittest/continuation_manager/
H A Dcontinuation_manager_test.cpp182 int32_t result = DistributedAbilityManagerClient::GetInstance().Unregister(UNREGISTER_TOKEN); in HWTEST_F() local
183 DTEST_LOG << "result:" << result << std::endl; in HWTEST_F()
184 EXPECT_EQ(TOKEN_HAS_NOT_REGISTERED, result); in HWTEST_F()
733 int32_t result = DistributedAbilityManagerClient::GetInstance().UpdateConnectStatus( in HWTEST_F() local
735 DTEST_LOG << "result:" << result << std::endl; in HWTEST_F()
736 EXPECT_EQ(TOKEN_HAS_NOT_REGISTERED, result); in HWTEST_F()
794 bool result = dtbabilitymgrService_->IsExceededRegisterMaxNum(TEST_ACCESS_TOKEN); in HWTEST_F() local
795 DTEST_LOG << "result in HWTEST_F()
810 bool result = dtbabilitymgrService_->IsContinuationModeValid(continuationMode); HWTEST_F() local
826 bool result = dtbabilitymgrService_->IsContinuationModeValid(continuationMode); HWTEST_F() local
842 bool result = dtbabilitymgrService_->IsConnectStatusValid(deviceConnectStatus); HWTEST_F() local
858 bool result = dtbabilitymgrService_->IsConnectStatusValid(deviceConnectStatus); HWTEST_F() local
876 bool result = dtbabilitymgrService_->IsTokenRegistered(TEST_ACCESS_TOKEN, TEST_TOKEN); HWTEST_F() local
895 bool result = dtbabilitymgrService_->IsTokenRegistered(TEST_ACCESS_TOKEN, TEST_TOKEN); HWTEST_F() local
910 bool result = dtbabilitymgrService_->IsNotifierRegistered(TEST_TOKEN); HWTEST_F() local
925 bool result = dtbabilitymgrService_->IsNotifierRegisteredLocked(TEST_TOKEN, CALLBACK_TYPE1); HWTEST_F() local
940 bool result = dtbabilitymgrService_->IsNotifierRegisteredLocked(TEST_TOKEN, INVALID_CALLBACK_TYPE); HWTEST_F() local
959 bool result = dtbabilitymgrService_->IsNotifierRegistered(TEST_TOKEN); HWTEST_F() local
978 bool result = dtbabilitymgrService_->IsNotifierRegisteredLocked(TEST_TOKEN, CALLBACK_TYPE2); HWTEST_F() local
997 bool result = dtbabilitymgrService_->IsNotifierRegisteredLocked(UNREGISTER_TOKEN, CALLBACK_TYPE1); HWTEST_F() local
1017 bool result = dtbabilitymgrService_->IsNotifierRegisteredLocked(TEST_TOKEN, CALLBACK_TYPE1); HWTEST_F() local
1037 bool result = dtbabilitymgrService_->QueryTokenByNotifier(nullptr, token); HWTEST_F() local
1057 bool result = dtbabilitymgrService_->QueryTokenByNotifier(notifier, token); HWTEST_F() local
1212 bool result = ContinuationResult::ReadContinuationResultsFromParcel(parcel, continuationResults); HWTEST_F() local
1229 bool result = ContinuationResult::ReadContinuationResultsFromParcel(parcel, continuationResults); HWTEST_F() local
1246 bool result = ContinuationResult::ReadContinuationResultsFromParcel(parcel, continuationResults); HWTEST_F() local
1263 bool result = ContinuationResult::ReadContinuationResultsFromParcel(parcel, continuationResults); HWTEST_F() local
1282 bool result = ContinuationResult::ReadContinuationResultsFromParcel(parcel, continuationResults); HWTEST_F() local
1300 bool result = ContinuationResult::ReadContinuationResultsFromParcel(parcel, continuationResults); HWTEST_F() local
1315 bool result = ContinuationResult::WriteContinuationResultsToParcel(parcel, continuationResults); HWTEST_F() local
1495 ContinuationExtraParams* result = continuationExtraParams.Unmarshalling(parcel); HWTEST_F() local
1512 int32_t result = deviceSelectionNotifierTest.OnRemoteRequest(static_cast<uint32_t> HWTEST_F() local
1530 int32_t result = deviceSelectionNotifierTest.OnRemoteRequest(INVALID_EVENT_DEVICE_CODE, HWTEST_F() local
1585 int32_t result = deviceSelectionNotifierTest.OnRemoteRequest(static_cast<uint32_t> HWTEST_F() local
1623 int32_t result = deviceSelectionNotifierTest.OnRemoteRequest(static_cast<uint32_t> HWTEST_F() local
1644 int32_t result = deviceSelectionNotifierTest.OnRemoteRequest(static_cast<uint32_t> HWTEST_F() local
1664 int32_t result = deviceSelectionNotifierTest.OnRemoteRequest(static_cast<uint32_t> HWTEST_F() local
1887 std::shared_ptr<ConnectStatusInfo> result = notifierInfo.GetConnectStatusInfo(); HWTEST_F() local
[all...]
/foundation/communication/ipc/ipc/native/src/napi_common/source/
H A Dnapi_message_sequence_read.cpp127 bool result = napiSequence->nativeParcel_->RewindRead(static_cast<size_t>(pos)); in JS_rewindRead() local
128 NAPI_ASSERT(env, result == true, "rewind read failed"); in JS_rewindRead()
179 napi_value result = nullptr; in JS_readException() local
180 napi_get_undefined(env, &result); in JS_readException()
192 return result; in JS_readException()
196 return result; in JS_readException()
326 napi_value result = nullptr; in JS_readChar() local
327 napi_create_uint32(env, static_cast<uint32_t>(value), &result); in JS_readChar()
328 return result; in JS_readChar()
421 napi_value result in JS_readByteArray() local
426 napi_value result = nullptr; JS_readByteArray() local
472 napi_value result = nullptr; JS_readShortArray() local
477 napi_value result = nullptr; JS_readShortArray() local
524 napi_value result = nullptr; JS_readIntArray() local
529 napi_value result = nullptr; JS_readIntArray() local
576 napi_value result = nullptr; JS_readLongArray() local
581 napi_value result = nullptr; JS_readLongArray() local
628 napi_value result = nullptr; JS_readFloatArray() local
633 napi_value result = nullptr; JS_readFloatArray() local
687 napi_value result = nullptr; JS_readBooleanArray() local
693 napi_value result = nullptr; JS_readBooleanArray() local
741 napi_value result = nullptr; JS_readCharArray() local
746 napi_value result = nullptr; JS_readCharArray() local
796 napi_value result = nullptr; JS_readStringArray() local
857 napi_value result = nullptr; JS_readParcelableArray() local
864 napi_value result = nullptr; JS_readRemoteObjectArray() local
924 int32_t result = napiSequence->nativeParcel_->ReadFileDescriptor(); JS_ReadFileDescriptor() local
999 napi_value result = nullptr; JS_ReadRawData() local
1058 napi_value result = nullptr; JS_ReadRawDataBuffer() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
H A DvktMemoryRequirementsTests.cpp275 virtual void verifyMemoryRequirements (tcu::ResultCollector& result,
306 virtual void verifyMemoryRequirements (tcu::ResultCollector& result,
405 tcu::ResultCollector result(log, "ERROR: "); in execTest()
413 verifyMemoryRequirements(result, memoryProperties, limits, bufferFlags, usage); in execTest()
420 result.check(m_currentTestRequirements.memoryTypeBits == previousMemoryTypeBits, in execTest()
423 result.check(m_currentTestRequirements.alignment == previousAlignment, in execTest()
427 if (result.getResult() != QP_TEST_RESULT_PASS) in execTest()
458 void BufferMemoryRequirementsOriginal::verifyMemoryRequirements (tcu::ResultCollector& result, in verifyMemoryRequirements() argument
464 if (result.check(m_currentTestRequirements.memoryTypeBits != 0, "VkMemoryRequirements memoryTypeBits has no bits set")) in verifyMemoryRequirements()
475 result in verifyMemoryRequirements()
672 verifyMemoryRequirements(tcu::ResultCollector& result, const VkPhysicalDeviceMemoryProperties& deviceMemoryProperties, const VkPhysicalDeviceLimits& limits, const VkBufferCreateFlags bufferFlags, const VkBufferUsageFlags usage) verifyMemoryRequirements() argument
760 verifyMemoryRequirements(tcu::ResultCollector& result, const VkPhysicalDeviceMemoryProperties& deviceMemoryProperties, const VkPhysicalDeviceLimits& limits, const VkBufferCreateFlags bufferFlags, const VkBufferUsageFlags usage) verifyMemoryRequirements() argument
961 verifyMemoryRequirements(tcu::ResultCollector& result, const VkPhysicalDeviceMemoryProperties& deviceMemoryProperties) verifyMemoryRequirements() argument
1179 const VkResult result = vki.getPhysicalDeviceImageFormatProperties( isImageSupported() local
1699 verifyMemoryRequirements(tcu::ResultCollector& result, const VkPhysicalDeviceMemoryProperties& deviceMemoryProperties) verifyMemoryRequirements() argument
1777 verifyMemoryRequirements(tcu::ResultCollector& result, const VkPhysicalDeviceMemoryProperties& deviceMemoryProperties) verifyMemoryRequirements() argument
1890 const VkResult result = vki.getPhysicalDeviceImageFormatProperties( isMultiplaneImageSupported() local
[all...]
/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_manager_test4.cpp315 auto result = ssm_->GetWindowStatus(mode, sessionState, nullptr); in HWTEST_F() local
316 EXPECT_EQ(result, WindowStatus::WINDOW_STATUS_UNDEFINED); in HWTEST_F()
319 result = ssm_->GetWindowStatus(mode, sessionState, property); in HWTEST_F()
320 EXPECT_EQ(result, WindowStatus::WINDOW_STATUS_MAXIMIZE); in HWTEST_F()
323 result = ssm_->GetWindowStatus(mode, sessionState, property); in HWTEST_F()
324 EXPECT_EQ(result, WindowStatus::WINDOW_STATUS_FLOATING); in HWTEST_F()
327 result = ssm_->GetWindowStatus(mode, sessionState, property); in HWTEST_F()
328 EXPECT_EQ(result, WindowStatus::WINDOW_STATUS_SPLITSCREEN); in HWTEST_F()
598 auto result = ssm_->UpdateSessionDisplayId(0, 0); in HWTEST_F() local
599 EXPECT_EQ(result, WSErro in HWTEST_F()
629 auto result = ssm_->UpdateSessionWindowVisibilityListener(persistentId, true); HWTEST_F() local
739 auto result = ssm_->SetSystemAnimatedScenes(sceneType); HWTEST_F() local
774 auto result = ssm_->GetProcessDrawingState(windowId, pid, currentDrawingContentState); HWTEST_F() local
788 bool result = ssm_->GetPreWindowDrawingState(surfaceId, pid, true); HWTEST_F() local
831 auto result = ssm_->GetWindowDrawingContentChangeInfo(currDrawingContentData); HWTEST_F() local
1020 sptr<SceneSession> result = ssm_->SelectSesssionFromMap(surfaceId); HWTEST_F() local
1062 auto result = ssm_->GetAccessibilityWindowInfo(accessibilityInfo); HWTEST_F() local
1077 auto result = ssm_->ShiftAppWindowFocus(sourcePersistentId, targetPersistentId); HWTEST_F() local
1122 auto result = ssm_->UpdateTitleInTargetPos(1, true, 1); HWTEST_F() local
1177 auto result = ssm_->GetIsLayoutFullScreen(isLayoutFullScreen); HWTEST_F() local
1212 auto result = ssm_->AddOrRemoveSecureSession(0, shouldHide); HWTEST_F() local
1237 auto result = ssm_->GetSessionSnapshotPixelMap(persistentId, scaleParam); HWTEST_F() local
1265 bool result = ssm_->GetStartupPageFromResource(abilityInfo, path, bgColor); HWTEST_F() local
1348 WSError result = ssm_->UpdateBrightness(1); HWTEST_F() local
1384 WSError result = sceneSession->NotifySessionExceptionInner(abilitySessionInfo, false, false); HWTEST_F() local
1456 WSError result = ssm_->GetSessionDumpInfo(params, dumpInfo); HWTEST_F() local
1507 bool result = ssm_->IsParentSessionVisible(sceneSession); HWTEST_F() local
1548 sptr<SceneSession> result = ssm_->GetTopFocusableNonAppSession(); HWTEST_F() local
1609 sptr<SceneSession> result = ssm_->GetNextFocusableSession(1); HWTEST_F() local
1681 WSError result = ssm_->RequestFocusSpecificCheck(sceneSession, byForeground, reason); HWTEST_F() local
1731 bool result = true; HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/test/unittest/core/manager/
H A Dpost_event_manager_test_ng.cpp105 auto result = postEventManager_->PostEvent(root_, touchEvent); in HWTEST_F() local
106 EXPECT_FALSE(result); in HWTEST_F()
111 result = postEventManager_->PostEvent(root_, touchEvent); in HWTEST_F()
112 EXPECT_EQ(result, false); in HWTEST_F()
125 result = postEventManager_->PostEvent(root_, touchMoveEvent); in HWTEST_F()
126 EXPECT_FALSE(result); in HWTEST_F()
139 result = postEventManager_->PostEvent(root_, touchUpEvent); in HWTEST_F()
140 EXPECT_FALSE(result); in HWTEST_F()
173 auto result = postEventManager_->PostEvent(root_, touchEvent); in HWTEST_F() local
174 EXPECT_FALSE(result); in HWTEST_F()
214 auto result = postEventManager_->PostEvent(root_, touchEvent); HWTEST_F() local
248 auto result = postEventManager_->PostEvent(root_, touchEvent); HWTEST_F() local
282 auto result = postEventManager_->PostEvent(root_, touchEvent); HWTEST_F() local
377 auto result = postEventManager_->PostDownEvent(UInode, touchUpEvent); HWTEST_F() local
408 auto result = postEventManager_->PostDownEvent(root_, touchUpEvent); HWTEST_F() local
439 auto result = postEventManager_->PostUpEvent(root_, touchUpEvent); HWTEST_F() local
472 auto result = postEventManager_->PostDownEvent(UInode, touchUpEvent); HWTEST_F() local
505 auto result = postEventManager_->PostDownEvent(UInode, touchUpEvent); HWTEST_F() local
538 auto result = postEventManager_->PostDownEvent(UInode, touchUpEvent); HWTEST_F() local
571 auto result = postEventManager_->PostMoveEvent(UInode, touchUpEvent); HWTEST_F() local
604 auto result = postEventManager_->PostUpEvent(UInode, touchUpEvent); HWTEST_F() local
[all...]
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/output/
H A Ddepth_data_output_napi.cpp79 napi_value result[ARGS_TWO] = {nullptr, nullptr}; in ExecuteDepthData() local
119 result[1] = DepthDataNapi::CreateDepthData(env_, format, depthMap, qualityLevel, accuracy); in ExecuteDepthData()
121 ExecuteCallbackNapiPara callbackNapiPara { .recv = nullptr, .argc = ARGS_TWO, .argv = result, .result = &retVal }; in ExecuteDepthData()
247 napi_value result[ARGS_ONE]; in UpdateJSCallback() local
250 napi_get_undefined(env_, &result[PARAM0]); in UpdateJSCallback()
259 napi_create_object(env_, &result[PARAM0]); in UpdateJSCallback()
261 napi_set_named_property(env_, result[PARAM0], "code", propValue); in UpdateJSCallback()
263 ExecuteCallbackNapiPara callbackNapiPara { .recv = nullptr, .argc = ARGS_ONE, .argv = result, .result in UpdateJSCallback()
321 napi_value result = nullptr; DepthDataOutputNapiConstructor() local
387 napi_value result = nullptr; CreateDepthDataOutput() local
434 bool result = false; IsDepthDataOutput() local
452 napi_value result = nullptr; Release() local
505 napi_value result = nullptr; Start() local
559 napi_value result = nullptr; Stop() local
[all...]

Completed in 33 milliseconds

1...<<919293949596979899100>>...713