/third_party/skia/third_party/externals/icu/source/common/ |
H A D | brkiter.cpp | 67 RuleBasedBreakIterator *result = NULL; in buildInstance() local 118 result = new RuleBasedBreakIterator(file, status); in buildInstance() 120 // If there is a result, set the valid locale and actual locale, and the kind in buildInstance() 121 if (U_SUCCESS(status) && result != NULL) { in buildInstance() 122 U_LOCALE_BASED(locBased, *(BreakIterator*)result); in buildInstance() 129 if (U_FAILURE(status) && result != NULL) { // Sometimes redundant check, but simple in buildInstance() 130 delete result; in buildInstance() 134 if (result == NULL) { in buildInstance() 141 return result; in buildInstance() 377 BreakIterator *result in createInstance() local 413 BreakIterator *result = NULL; makeInstance() local [all...] |
/third_party/vixl/test/aarch64/ |
H A D | test-utils-aarch64.h | 65 T result; in GetLane() local 66 memcpy(&result, bytes + (lane * lane_size), lane_size); in GetLane() 67 return result; in GetLane() 86 // do that because it makes the result a non-POD type, and then we can't use 337 // The Equal* methods return true if the result matches the reference value. 338 // They all print an error message to the console if the result is incorrect 343 bool Equal32(uint32_t expected, const RegisterDump*, uint32_t result); 346 uint64_t result, 350 QRegisterValue result); 352 bool EqualFP16(Float16 expected, const RegisterDump*, uint16_t result); [all...] |
/third_party/protobuf/objectivec/DevTools/ |
H A D | pddm.py | 57 expansions. All lines in-between are replaced by the result of the expansion. 280 result = '' 282 result += '\n...while expanding "%s".' % macro_ref 283 return result 303 result = self._ReplaceArgValues(macro, args, macro_ref_str, macro_stack) 307 eval_result = self._EvalMacrosRefs(result, new_macro_stack) 310 if eval_result == result: 312 result = eval_result 313 return result 448 """Section that is the result o [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fProgramPipelineStateQueryTests.cpp | 104 tcu::ResultCollector result (m_testCtx.getLog(), " // ERROR: "); in iterate() 131 verifyStatePipelineInteger(result, gl, pipeline.getPipeline(), GL_ACTIVE_PROGRAM, 0, m_verifier); in iterate() 139 verifyStatePipelineInteger(result, gl, pipeline.getPipeline(), GL_ACTIVE_PROGRAM, (int)frgProgram.getProgram(), m_verifier); in iterate() 142 result.setTestContextResult(m_testCtx); in iterate() 167 tcu::ResultCollector result (m_testCtx.getLog(), " // ERROR: "); in iterate() 202 verifyStatePipelineInteger(result, gl, pipeline.getPipeline(), m_targetStage, 0, m_verifier); in iterate() 213 verifyStatePipelineInteger(result, gl, pipeline.getPipeline(), m_targetStage, program.getProgram(), m_verifier); in iterate() 217 result.setTestContextResult(m_testCtx); in iterate() 243 tcu::ResultCollector result (m_testCtx.getLog(), " // ERROR: "); in iterate() 269 verifyStatePipelineInteger(result, g in iterate() [all...] |
/base/web/webview/test/unittest/nweb_helper_test/ |
H A D | nweb_helper_test.cpp | 185 bool result = NWebHelper::Instance().LoadNWebSDK(); in HWTEST_F() local 186 EXPECT_FALSE(result); in HWTEST_F() 188 result = NWebAdapterHelper::Instance().Init(false); in HWTEST_F() 189 EXPECT_EQ(RESULT_OK, result); in HWTEST_F() 202 result = NWebHelper::Instance().InitAndRun(false); in HWTEST_F() 203 EXPECT_FALSE(result); in HWTEST_F() 210 result = NWebHelper::Instance().InitAndRun(false); in HWTEST_F() 211 EXPECT_FALSE(result); in HWTEST_F() 217 result = NWebHelper::Instance().InitAndRun(false); in HWTEST_F() 218 EXPECT_TRUE(result); in HWTEST_F() 238 bool result = false; HWTEST_F() local 259 bool result = false; HWTEST_F() local 303 bool result = NWebHelper::Instance().Init(false); HWTEST_F() local 337 bool result = NWebHelper::Instance().InitAndRun(false); HWTEST_F() local 366 bool result = NWebAdapterHelper::Instance().Init(false); HWTEST_F() local 420 bool result = NWebHelper::Instance().LoadNWebSDK(); HWTEST_F() local 504 bool result = NWebHelper::Instance().GetWebEngine(true); HWTEST_F() local [all...] |
/foundation/ability/form_fwk/frameworks/js/napi/formUtil/ |
H A D | napi_form_util.cpp | 231 napi_value result; in NapiGetResult() local 232 NAPI_CALL(env, napi_create_int32(env, iResult, &result)); in NapiGetResult() 233 return result; in NapiGetResult() 242 * @return Return the convert result 300 * @param[in] code result code 301 * @param[out] result result message 305 void InnerCreateCallbackRetMsg(napi_env env, int32_t code, napi_value (&result)[CALLBACK_RETURN_MSG_SIZE]) in InnerCreateCallbackRetMsg() argument 324 result[0] = error; in InnerCreateCallbackRetMsg() 325 napi_get_undefined(env, &result[ in InnerCreateCallbackRetMsg() 338 InnerCreatePromiseRetMsg(napi_env env, int32_t code, napi_value* result) InnerCreatePromiseRetMsg() argument 478 ParseRunningFormInfoIntoNapi(napi_env env, const RunningFormInfo &runningFormInfo, napi_value &result) ParseRunningFormInfoIntoNapi() argument 641 std::string result; GetStringFromNapi() local [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/ |
H A D | cjson_parser.cpp | 89 char *result = nullptr; in FillPlaceholder() local 91 result = ToString(values, length); in FillPlaceholder() 94 return result; in FillPlaceholder() 172 char *result = SubStr(value, 0, strlen(value)); in GetPluralValue() local 176 return result; in GetPluralValue() 228 uint16_t strLength = 0; // the length of result in ToString() 245 char *result = static_cast<char *>(ace_malloc(strLength)); in ToString() local 246 if (result == nullptr) { in ToString() 247 HILOG_ERROR(HILOG_MODULE_ACE, "malloc localization result failed"); in ToString() 252 if (strcpy_s(result, strLengt in ToString() 280 char *result = static_cast<char *>(ace_malloc(len)); SubStr() local 307 LanguageState result = LanguageState::LANGUAGE_CHANGED; ChangeLanguage() local 626 bool result = true; CacheValue() local 674 jerry_value_t result = UNDEFINED; GetValueFromFile() local 738 const char *result = reinterpret_cast<char *>(startPos_ + (uint32_t)(node->valueIndex)); GetValue() local [all...] |
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | scene_session_test3.cpp | 76 auto result = sceneSession->SetAspectRatio(ratio);
in HWTEST_F() local 77 ASSERT_EQ(result, WSError::WS_ERROR_NULLPTR);
in HWTEST_F() 96 auto result = sceneSession->SetAspectRatio(ratio);
in HWTEST_F() local 97 ASSERT_EQ(result, WSError::WS_OK);
in HWTEST_F() 101 result = sceneSession->SetAspectRatio(ratio);
in HWTEST_F() 102 ASSERT_EQ(result, WSError::WS_OK);
in HWTEST_F() 108 result = sceneSession->SetAspectRatio(ratio);
in HWTEST_F() 109 ASSERT_EQ(result, WSError::WS_OK);
in HWTEST_F() 134 auto result = sceneSession->SetAspectRatio(ratio);
in HWTEST_F() local 135 ASSERT_EQ(result, WSErro in HWTEST_F() 160 auto result = sceneSession->SetAspectRatio(ratio); HWTEST_F() local 183 WSError result = sceneSession->UpdateRect(rect, reason, "SceneSessionTest3"); HWTEST_F() local 222 auto result = sceneSession->NotifyClientToUpdateRectTask("SceneSessionTest3", nullptr); HWTEST_F() local 265 WSError result = scensession->BindDialogSessionTarget(sceneSession); HWTEST_F() local 494 auto result = sceneSession->GetSubWindowModalType(); HWTEST_F() local 513 auto result = sceneSession->GetSubWindowModalType(); HWTEST_F() local 532 auto result = sceneSession->GetSubWindowModalType(); HWTEST_F() local [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
H A D | UTS46Test.java | 51 StringBuilder result=new StringBuilder(); in TestAPI() 55 trans.nameToASCII(input, result, info); in TestAPI() 56 if(info.hasErrors() || !UTF16Plus.equal(result, expected)) { in TestAPI() 57 errln(String.format("T.nameToASCII(www.example.com) info.errors=%s result matches=%b", in TestAPI() 58 info.getErrors(), UTF16Plus.equal(result, expected))); in TestAPI() 62 nontrans.labelToASCII(input, result, info); in TestAPI() 64 !UTF16Plus.equal(result, expected) in TestAPI() 71 String resultString=trans.nameToUnicode("fA\u00DF.de", result, info).toString(); in TestAPI() 73 errln(String.format("T.nameToUnicode(fA\u00DF.de) info.errors=%s result matches=%b", in TestAPI() 77 nontrans.labelToUnicode(result, resul in TestAPI() 827 checkIdnaTestResult(String line, String type, String expected, CharSequence result, String status, IDNA.Info info) checkIdnaTestResult() argument [all...] |
/third_party/node/deps/openssl/openssl/apps/lib/ |
H A D | opt.c | 257 /* Parse a format string, put it into *result; return 0 on failure, else 1. */ 258 int opt_format(const char *s, unsigned long flags, int *result) in opt_format() argument 268 *result = FORMAT_ASN1; in opt_format() 274 *result = FORMAT_TEXT; in opt_format() 282 *result = FORMAT_NSS; in opt_format() 288 *result = FORMAT_SMIME; in opt_format() 294 *result = FORMAT_MSBLOB; in opt_format() 300 *result = FORMAT_ENGINE; in opt_format() 306 *result = FORMAT_HTTP; in opt_format() 311 *result in opt_format() 464 opt_pair(const char *name, const OPT_PAIR* pairs, int *result) opt_pair() argument 494 opt_int(const char *value, int *result) opt_int() argument 512 int result = -1; opt_int_arg() local 542 opt_long(const char *value, long *result) opt_long() argument 568 opt_intmax(const char *value, ossl_intmax_t *result) opt_intmax() argument 597 opt_uintmax(const char *value, ossl_uintmax_t *result) opt_uintmax() argument 625 opt_intmax(const char *value, ossl_intmax_t *result) opt_intmax() argument 635 opt_uintmax(const char *value, ossl_uintmax_t *result) opt_uintmax() argument 649 opt_ulong(const char *value, unsigned long *result) opt_ulong() argument [all...] |
/third_party/openssl/apps/lib/ |
H A D | opt.c | 257 /* Parse a format string, put it into *result; return 0 on failure, else 1. */ 258 int opt_format(const char *s, unsigned long flags, int *result) in opt_format() argument 268 *result = FORMAT_ASN1; in opt_format() 274 *result = FORMAT_TEXT; in opt_format() 282 *result = FORMAT_NSS; in opt_format() 288 *result = FORMAT_SMIME; in opt_format() 294 *result = FORMAT_MSBLOB; in opt_format() 300 *result = FORMAT_ENGINE; in opt_format() 306 *result = FORMAT_HTTP; in opt_format() 311 *result in opt_format() 464 opt_pair(const char *name, const OPT_PAIR* pairs, int *result) opt_pair() argument 494 opt_int(const char *value, int *result) opt_int() argument 512 int result = -1; opt_int_arg() local 542 opt_long(const char *value, long *result) opt_long() argument 568 opt_intmax(const char *value, ossl_intmax_t *result) opt_intmax() argument 597 opt_uintmax(const char *value, ossl_uintmax_t *result) opt_uintmax() argument 625 opt_intmax(const char *value, ossl_intmax_t *result) opt_intmax() argument 635 opt_uintmax(const char *value, ossl_uintmax_t *result) opt_uintmax() argument 649 opt_ulong(const char *value, unsigned long *result) opt_ulong() argument [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cShadingLanguage420PackTests.cpp | 130 bool result = true; in doesStageSupportQualifier() local 143 result = true; in doesStageSupportQualifier() 146 result = false; in doesStageSupportQualifier() 153 result = false; in doesStageSupportQualifier() 158 result = false; in doesStageSupportQualifier() 164 result = false; in doesStageSupportQualifier() 170 result = false; in doesStageSupportQualifier() 176 result = false; in doesStageSupportQualifier() 182 result = false; in doesStageSupportQualifier() 188 result in doesStageSupportQualifier() 206 const GLchar* result = 0; getQualifierString() local 317 qualifierSet result; prepareQualifiersSet() local 356 const GLchar* result = 0; getImageType() local 399 GLuint result = 0; getNumberOfCoordinates() local 442 const GLchar* result = 0; getSamplerType() local 485 GLenum result = 0; getTextureTartet() local 528 const GLchar* result = 0; getTextureTypeName() local 571 bool result = false; doesTypeSupportMatrix() local 598 const GLchar* result = 0; getShaderStageName() local 655 const GLchar* result = 0; getTypeName() local 692 uniformNdv result = 0; getUniformNdv() local 724 uniformNfv result = 0; getUniformNfv() local 756 uniformNiv result = 0; getUniformNiv() local 788 uniformNuiv result = 0; getUniformNuiv() local 820 uniformMatrixNdv result = 0; getUniformMatrixNdv() local 888 uniformMatrixNfv result = 0; getUniformMatrixNfv() local 1093 VARIABLE_FLAVOUR result; getVariableFlavour() local 1305 const GLchar* result = 0; getUtf8Character() local 1553 const GLchar* result = ""; getStageSpecificLayout() local 1590 const GLchar* result = ""; getVersionString() local 1653 bool result = true; test() local 2039 bool result = true; testCompute() local 2137 bool result = true; testDrawArray() local 3020 const GLchar* result = 0; casesToStr() local 3095 std::string result; getLineContinuationString() local 3123 bool result; isShaderMultipart() local 3160 const GLchar* result = 0; lineEndingsToStr() local 3182 const GLchar* result = 0; repetitionsToStr() local 3302 bool result; useSourceLengths() local 3992 const GLchar* result = 0; casesToStr() local 4663 std::string result; getValueList() local 4961 std::string result; getValueList() local 14557 std::string result; getVectorArrayCtr() local 14581 std::string result; getVectorArrayList() local 14607 std::string result; getVectorConstructor() local 14626 std::string result; getVectorInitializer() local 15652 std::string result; getMatrixInitializer() local 15680 std::string result; getVectorInitializer() local 17716 void* result = gl.mapBuffer(m_target, access); map() local 18227 GLint result; getUniform1i() local [all...] |
/base/account/os_account/interfaces/kits/napi/account_iam/src/ |
H A D | napi_account_iam_user_auth.cpp | 62 int32_t result = 0; in GetVersion() local 64 NAPI_CALL(env, napi_create_int32(env, result, &version)); in GetVersion() 97 napi_value result = nullptr; in GetAvailableStatus() local 105 napi_create_int32(env, status, &result); in GetAvailableStatus() 110 return result; in GetAvailableStatus() 114 napi_env env, napi_callback_info info, CommonAsyncContext *context, napi_value *result, bool isGet = true) in ParseContextForGetSetProperty() 133 NAPI_CALL_BASE(env, napi_create_promise(env, &context->deferred, result), napi_generic_failure); in ParseContextForGetSetProperty() 154 napi_value result = nullptr; in GetProperty() local 158 return result; in GetProperty() 161 if (ParseContextForGetSetProperty(env, info, context, &result) ! in GetProperty() 113 ParseContextForGetSetProperty( napi_env env, napi_callback_info info, CommonAsyncContext *context, napi_value *result, bool isGet = true) ParseContextForGetSetProperty() argument 190 napi_value result = nullptr; SetProperty() local 427 int32_t result = AccountIAMClient::GetInstance().CancelAuth(contextId); CancelAuth() local 437 ParseContextForPrepareRemoteAuth( napi_env env, napi_callback_info info, PrepareRemoteAuthContext *context, napi_value *result) ParseContextForPrepareRemoteAuth() argument 462 napi_value result = nullptr; PrepareRemoteAuth() local [all...] |
/base/global/i18n/interfaces/js/kits/src/ |
H A D | i18n_timezone_addon.cpp | 162 napi_value result = nullptr; in GetAvailableTimezoneIDs() local 163 napi_status status = napi_create_array_with_length(env, timezoneIDs.size(), &result); in GetAvailableTimezoneIDs() 176 status = napi_set_element(env, result, index, value); in GetAvailableTimezoneIDs() 183 return result; in GetAvailableTimezoneIDs() 189 napi_value result = nullptr; in GetAvailableZoneCityIDs() local 190 napi_status status = napi_create_array_with_length(env, cityIDs.size(), &result); in GetAvailableZoneCityIDs() 203 status = napi_set_element(env, result, index, value); in GetAvailableZoneCityIDs() 210 return result; in GetAvailableZoneCityIDs() 242 napi_value result = nullptr; in GetCityDisplayName() local 243 status = napi_create_string_utf8(env, name.c_str(), NAPI_AUTO_LENGTH, &result); in GetCityDisplayName() 347 std::string result = obj->timezone_->GetID(); GetID() local 379 std::string result; GetTimeZoneDisplayName() local 415 int32_t result = obj->timezone_->GetRawOffset(); GetRawOffset() local 462 int32_t result = obj->timezone_->GetOffset(date); GetOffset() local 486 napi_value result = nullptr; StaticGetTimeZone() local [all...] |
/base/web/webview/test/unittest/aafwk_app_client_adapter/ |
H A D | nweb_aafwk_adapter_test.cpp | 219 int result = 0; in HWTEST_F() local 222 result = -1; in HWTEST_F() 224 EXPECT_EQ(RESULT_OK, result); in HWTEST_F() 246 int result = g_adapter->StartRenderProcess(renderParam, ipcFd, sharedFd, crashFd, renderPid); in HWTEST_F() local 247 EXPECT_EQ(RESULT_OK, result); in HWTEST_F() 269 int result = g_adapter->StartRenderProcess(renderParam, ipcFd, sharedFd, crashFd, renderPid); in HWTEST_F() local 270 EXPECT_NE(RESULT_OK, result); in HWTEST_F() 312 int result = g_adapter->GetRenderProcessTerminationStatus(red, statused); in HWTEST_F() local 313 EXPECT_EQ(RESULT_OK, result); in HWTEST_F() 336 int result in HWTEST_F() local 360 int result = g_adapter->GetRenderProcessTerminationStatus(red, statused); HWTEST_F() local 378 int result = g_adapter->StartRenderProcess(renderParam, ipcFd, sharedFd, crashFd, renderPid); HWTEST_F() local 401 int result = 0; HWTEST_F() local [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/ |
H A D | swiper_indicator_common_test_ng.cpp | 276 auto result = indicatorPattern->CheckIsTouchBottom(info);
in HWTEST_F() local 277 EXPECT_TRUE(result);
in HWTEST_F() 285 result = indicatorPattern->CheckIsTouchBottom(info);
in HWTEST_F() 286 EXPECT_TRUE(result);
in HWTEST_F() 295 result = indicatorPattern->CheckIsTouchBottom(info);
in HWTEST_F() 296 EXPECT_FALSE(result);
in HWTEST_F() 322 auto result = indicatorPattern->CheckIsTouchBottom(touchLocationInfo);
in HWTEST_F() local 323 EXPECT_TRUE(result);
in HWTEST_F() 331 result = indicatorPattern->CheckIsTouchBottom(touchLocationInfo);
in HWTEST_F() 332 EXPECT_FALSE(result);
in HWTEST_F() 361 auto result = indicatorPattern->CheckIsTouchBottom(touchLocationInfo); HWTEST_F() local 400 auto result = indicatorPattern->CheckIsTouchBottom(touchLocationInfo); HWTEST_F() local 546 auto result = indicatorPattern->CreateOverlongDotIndicatorPaintMethod(pattern_); HWTEST_F() local [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | udmf_run_time_store_test.cpp | 124 bool result = store->Init(); in HWTEST_F() local 125 EXPECT_EQ(true, result); in HWTEST_F() 157 bool result = store->Init(); in HWTEST_F() local 158 EXPECT_EQ(true, result); in HWTEST_F() 190 bool result = store->Init(); in HWTEST_F() local 191 EXPECT_EQ(true, result); in HWTEST_F() 221 bool result = store->Init(); in HWTEST_F() local 222 EXPECT_EQ(true, result); in HWTEST_F() 259 bool result = store->Init(); in HWTEST_F() local 260 EXPECT_EQ(true, result); in HWTEST_F() 302 bool result = store->Init(); HWTEST_F() local 340 bool result = store->Init(); HWTEST_F() local 384 bool result = store->Init(); HWTEST_F() local 397 bool result = store->Init(); HWTEST_F() local 429 bool result = store->Init(); HWTEST_F() local 459 bool result = store->Init(); HWTEST_F() local 495 bool result = store->Init(); HWTEST_F() local 537 bool result = store->Init(); HWTEST_F() local [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/acl/ |
H A D | hci_acl.c | 446 int result = BT_SUCCESS; in HciSendSinglePacket() local 448 result = HciAclPushToTxQueue(packet); in HciSendSinglePacket() 449 if (result == BT_SUCCESS) { in HciSendSinglePacket() 458 return result; in HciSendSinglePacket() 463 int result = BT_SUCCESS; in HciFargmentAndSendData() local 478 result = BT_NO_MEMORY; in HciFargmentAndSendData() 492 result = HciSendSinglePacket(handle, aclPacket); in HciFargmentAndSendData() 496 return result; in HciFargmentAndSendData() 501 int result = BT_SUCCESS; in HciSendLeSinglePacket() local 503 result in HciSendLeSinglePacket() 518 int result = BT_SUCCESS; HciFargmentAndSendLeData() local 567 int result; HCI_SendAclData() local 629 int result = HciAclPushToTxQueue(packet); HciSendCachedAclPackets() local 670 int result = HciAclPushToTxQueue(packet); HciSendCachedLePackets() local [all...] |
/foundation/communication/dsoftbus/adapter/common/openssl/ |
H A D | softbus_aes_encrypt.c | 81 COMM_LOGE(COMM_ADAPTER, "hash result memcpy_s failed."); in SoftBusGenerateHmacHash() 128 uint8_t result[SHA256_MAC_LEN] = { 0 }; in RootKeyGenerateIvAndSessionKey() local 129 if (SoftBusGenerateHmacHash(randomKey, rootKey->key, rootKey->len, result, sizeof(result)) != SOFTBUS_OK) { in RootKeyGenerateIvAndSessionKey() 133 if (memcpy_s(cipherKey->key, cipherKey->keyLen, result, AES_SESSION_KEY_LENGTH) != EOK) { in RootKeyGenerateIvAndSessionKey() 135 (void)memset_s(result, sizeof(result), 0, sizeof(result)); in RootKeyGenerateIvAndSessionKey() 138 if (memcpy_s(cipherKey->iv, cipherKey->ivLen, result + AES_SESSION_KEY_LENGTH, in RootKeyGenerateIvAndSessionKey() 141 (void)memset_s(result, sizeo in RootKeyGenerateIvAndSessionKey() 218 uint8_t result[SHA256_MAC_LEN] = { 0 }; SoftBusAesCfbEncrypt() local [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/util/ |
H A D | CollectionUtilities.java | 44 StringBuffer result = new StringBuffer(); in join() 46 if (i != 0) result.append(separator); in join() 47 result.append(array[i]); in join() 49 return result.toString(); in join() 62 StringBuffer result = new StringBuffer(); in join() 66 else result.append(separator); in join() 67 result.append(it.next()); in join() 69 return result.toString(); in join() 112 int result = 0; in size() 115 ++result; in size() [all...] |
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
H A D | CollectionUtilities.java | 41 StringBuffer result = new StringBuffer(); in join() 43 if (i != 0) result.append(separator); in join() 44 result.append(array[i]); in join() 46 return result.toString(); in join() 59 StringBuffer result = new StringBuffer(); in join() 63 else result.append(separator); in join() 64 result.append(it.next()); in join() 66 return result.toString(); in join() 109 int result = 0; in size() 112 ++result; in size() [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
H A D | drawing_text_typography_test.cpp | 1452 int32_t result = OH_Drawing_TypographyGetUnresolvedGlyphsCount(typography); in HWTEST_F() local 1453 EXPECT_NE(result, 0); in HWTEST_F() 1454 result = OH_Drawing_TypographyGetUnresolvedGlyphsCount(nullptr); in HWTEST_F() 1455 EXPECT_EQ(result, 0); in HWTEST_F() 1510 bool result = OH_Drawing_TypographyTextGetLineStyle(typoStyle); in HWTEST_F() local 1511 EXPECT_TRUE(result); in HWTEST_F() 1512 result = OH_Drawing_TypographyTextGetLineStyle(nullptr); in HWTEST_F() 1513 EXPECT_FALSE(result); in HWTEST_F() 1529 OH_Drawing_FontWeight result = OH_Drawing_TypographyTextlineStyleGetFontWeight(typoStyle); in HWTEST_F() local 1530 EXPECT_EQ(result, FONT_WEIGHT_10 in HWTEST_F() 1548 OH_Drawing_FontStyle result = OH_Drawing_TypographyTextlineStyleGetFontStyle(typoStyle); HWTEST_F() local 1569 char** result = OH_Drawing_TypographyTextlineStyleGetFontFamilies(typoStyle, &fontNum); HWTEST_F() local 1587 double result = OH_Drawing_TypographyTextlineStyleGetFontSize(typoStyle); HWTEST_F() local 1605 double result = OH_Drawing_TypographyTextlineStyleGetHeightScale(typoStyle); HWTEST_F() local 1625 bool result = OH_Drawing_TypographyTextlineStyleGetHeightOnly(typoStyle); HWTEST_F() local 1644 bool result = OH_Drawing_TypographyTextlineStyleGetHalfLeading(typoStyle); HWTEST_F() local 1661 double result = OH_Drawing_TypographyTextlineStyleGetSpacingScale(typoStyle); HWTEST_F() local 1681 OH_Drawing_TextDirection result = OH_Drawing_TypographyGetTextDirection(typoStyle); HWTEST_F() local 1698 size_t result = OH_Drawing_TypographyGetTextMaxLines(typoStyle); HWTEST_F() local 1715 char* result = OH_Drawing_TypographyGetTextEllipsis(typoStyle); HWTEST_F() local 1734 bool result = OH_Drawing_TypographyStyleEquals(from, to); HWTEST_F() local 1757 bool result = OH_Drawing_TypographyTextlineGetStyleOnly(typoStyle); HWTEST_F() local 1776 OH_Drawing_TextAlign result = OH_Drawing_TypographyGetTextAlign(typoStyle); HWTEST_F() local 1892 bool result = OH_Drawing_TextStyleIsAttributeMatched(txtStyle, txtStyleCompare, TEXT_STYLE_ALL_ATTRIBUTES); HWTEST_F() local 1912 bool result = OH_Drawing_TypographyStyleStrutStyleEquals(from, to); HWTEST_F() local 1961 bool result = OH_Drawing_TextStyleIsEqual(txtStyle, txtStyleCompare); HWTEST_F() local 2032 bool result = OH_Drawing_TextStyleIsEqualByFont(txtStyle, txtStyleCompare); HWTEST_F() local 2290 char** result = OH_Drawing_TypographyTextlineStyleGetFontFamilies(typoStyle, nullptr); HWTEST_F() local 2304 bool result = OH_Drawing_TypographyTextlineStyleGetHalfLeading(typoStyle); HWTEST_F() local [all...] |
/foundation/communication/nfc/frameworks/js/napi/common/ |
H A D | nfc_napi_common_utils.cpp | 222 napi_value result; in UndefinedNapiValue() local 223 napi_get_undefined(env, &result); in UndefinedNapiValue() 224 return result; in UndefinedNapiValue() 249 std::vector<std::string> result(sizeof(std::string) + length); in ConvertStringVector() 250 int retCode = memcpy_s(result.data(), result.size(), &data[offset], length); in ConvertStringVector() 254 return result; in ConvertStringVector() 259 napi_value result = nullptr; in CreateErrorMessage() local 265 NAPI_CALL(env, napi_create_error(env, codeValue, message, &result)); in CreateErrorMessage() 266 return result; in CreateErrorMessage() 271 napi_value result = nullptr; CreateUndefined() local 351 ConvertStringVectorToJS(napi_env env, napi_value &result, std::vector<std::string>& stringVector) ConvertStringVectorToJS() argument 370 BytesVectorToJS(napi_env env, napi_value &result, std::vector<unsigned char>& src) BytesVectorToJS() argument 388 ConvertStringToNumberArray(napi_env env, napi_value &result, std::string srcValue) ConvertStringToNumberArray() argument 431 ConvertAirTouchNdefRecordToJS(napi_env env, napi_value &result, std::shared_ptr<NdefRecord> &ndefRecord) ConvertAirTouchNdefRecordToJS() argument 456 ConvertNdefRecordVectorToJS(napi_env env, napi_value &result, std::vector<std::shared_ptr<NdefRecord>> &ndefRecords) ConvertNdefRecordVectorToJS() argument 478 ConvertNdefRecordToJS(napi_env env, napi_value &result, std::shared_ptr<NdefRecord> &ndefRecord) ConvertNdefRecordToJS() argument 540 napi_value result = nullptr; HandleAsyncWork() local 578 napi_value result = nullptr; DoAsyncCallbackOrPromise() local 610 napi_value result = nullptr; ThrowAsyncError() local [all...] |
/third_party/vulkan-loader/loader/ |
H A D | loader_windows.c | 123 VkResult *result) { in windows_add_json_entry() 135 *result = VK_ERROR_OUT_OF_HOST_MEMORY; in windows_add_json_entry() 146 *result = VK_ERROR_OUT_OF_HOST_MEMORY; in windows_add_json_entry() 170 LPCSTR value_name, VkResult *result) { in windows_get_device_registry_entry() 183 *result = VK_ERROR_INCOMPATIBLE_DRIVER; in windows_get_device_registry_entry() 205 *result = VK_ERROR_OUT_OF_HOST_MEMORY; in windows_get_device_registry_entry() 214 *result = VK_ERROR_INCOMPATIBLE_DRIVER; in windows_get_device_registry_entry() 221 *result = VK_ERROR_INCOMPATIBLE_DRIVER; in windows_get_device_registry_entry() 225 found = windows_add_json_entry(inst, reg_data, total_size, value_name, data_type, manifest_path, requiredSize, result); in windows_get_device_registry_entry() 252 VkResult result in windows_get_device_registry_files() local 116 windows_add_json_entry(const struct loader_instance *inst, char **reg_data, PDWORD total_size, LPCSTR key_name, DWORD key_type, LPSTR json_path, DWORD json_size, VkResult *result) windows_add_json_entry() argument 169 windows_get_device_registry_entry(const struct loader_instance *inst, char **reg_data, PDWORD total_size, DEVINST dev_id, LPCSTR value_name, VkResult *result) windows_get_device_registry_entry() argument 406 VkResult result = VK_SUCCESS; windows_get_registry_files() local 577 VkResult result = VK_INCOMPLETE; windows_read_manifest_from_d3d_adapters() local 1166 VkResult result = VK_ERROR_INITIALIZATION_FAILED; get_settings_path_if_exists_in_registry_key() local 1212 VkResult result = VK_SUCCESS; windows_get_loader_settings_file_path() local [all...] |
/base/location/frameworks/js/napi/source/ |
H A D | napi_util.cpp | 36 napi_value result; in UndefinedNapiValue() local 37 NAPI_CALL(env, napi_get_undefined(env, &result)); in UndefinedNapiValue() 38 return result; in UndefinedNapiValue() 42 const std::shared_ptr<SatelliteStatus>& statusInfo, napi_value& result) in SatelliteStatusToJs() 52 SetValueDouble(env, "satellitesNumber", svNum, result); in SatelliteStatusToJs() 83 SetValueStringArray(env, "satelliteIds", satelliteIdsArray, result); in SatelliteStatusToJs() 84 SetValueStringArray(env, "carrierToNoiseDensitys", cn0Array, result); in SatelliteStatusToJs() 85 SetValueStringArray(env, "altitudes", altitudesArray, result); in SatelliteStatusToJs() 86 SetValueStringArray(env, "azimuths", azimuthsArray, result); in SatelliteStatusToJs() 87 SetValueStringArray(env, "carrierFrequencies", carrierFrequenciesArray, result); in SatelliteStatusToJs() 41 SatelliteStatusToJs(const napi_env& env, const std::shared_ptr<SatelliteStatus>& statusInfo, napi_value& result) SatelliteStatusToJs() argument 93 LocationsToJs(const napi_env& env, const std::vector<std::unique_ptr<Location>>& locations, napi_value& result) LocationsToJs() argument 104 LocationToJs(const napi_env& env, const std::unique_ptr<Location>& locationInfo, napi_value& result) LocationToJs() argument 161 CountryCodeToJs(const napi_env& env, const std::shared_ptr<CountryCode>& country, napi_value& result) CountryCodeToJs() argument 167 SystemLocationToJs(const napi_env& env, const std::unique_ptr<Location>& locationInfo, napi_value& result) SystemLocationToJs() argument 453 bool result = false; GetLocationInfo() local 479 bool result = false; GetNapiValueByKey() local 669 size_t result = 0; JsObjectToString() local 750 SetValueUtf8String(const napi_env& env, const char* fieldStr, const char* str, napi_value& result) SetValueUtf8String() argument 758 SetValueStringArray(const napi_env& env, const char* fieldStr, napi_value& value, napi_value& result) SetValueStringArray() argument 764 SetValueStringMap(const napi_env& env, const char* fieldStr, napi_value& value, napi_value& result) SetValueStringMap() argument 770 SetValueInt32(const napi_env& env, const char* fieldStr, const int intValue, napi_value& result) SetValueInt32() argument 778 SetValueInt64(const napi_env& env, const char* fieldStr, const int64_t intValue, napi_value& result) SetValueInt64() argument 786 SetValueDouble(const napi_env& env, const char* fieldStr, const double doubleValue, napi_value& result) SetValueDouble() argument 794 SetValueBool(const napi_env& env, const char* fieldStr, const bool boolvalue, napi_value& result) SetValueBool() argument [all...] |