/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/drag/ |
H A D | drag_getModifierKeyStates.cpp | 56 auto result = OH_ArkUI_DragEvent_GetModifierKeyStates(dragEvent, &pressedKeys); in OnEventReceive() local 58 "Drag getModifierKeyStates result : %{public}d", result); in OnEventReceive() 61 if (result == 0 && pressedKeys == 0) { in OnEventReceive() 68 "Drag getModifierKeyStates result : %{public}d", result); in OnEventReceive()
|
H A D | drag_getDropOperation.cpp | 56 auto result = OH_ArkUI_DragEvent_GetDropOperation(dragEvent, &dropOperation); in OnEventReceive() local 58 "Drag getDropOperation result : %{public}d DropOperation : %{public}d", result, dropOperation); in OnEventReceive() 59 if (result == 0 && dropOperation == 0) { in OnEventReceive() 66 "Drag getDropOperation result : %{public}d", result); in OnEventReceive()
|
H A D | drag_getPreDragStatus.cpp | 55 auto result = OH_ArkUI_NodeEvent_GetPreDragStatus(event); in OnEventReceive() local 57 "Drag GetPreDragStatus result : %{public}d", result); in OnEventReceive() 58 if (result != INVALID_PARAM) { in OnEventReceive() 65 "Drag GetPreDragStatus result : %{public}d", result); in OnEventReceive()
|
H A D | drag_disableDefaultDropAnimation.cpp | 56 int32_t result = OH_ArkUI_DragEvent_DisableDefaultDropAnimation(dragEvent, false); in OnEventReceive() local 57 OH_LOG_Print(LOG_APP, LOG_INFO, LOG_PRINT_DOMAIN, "DragDisableDefaultDropAnimation", "result:%{public}d", result); in OnEventReceive() 59 if (result == 0) { in OnEventReceive() 66 "result:%{public}d", result); in OnEventReceive()
|
H A D | drag_setSuggestedDropOperation.cpp | 56 auto result = OH_ArkUI_DragEvent_SetSuggestedDropOperation(dragEvent, in OnEventReceive() local 59 "Drag setSuggestedDropOperation result : %{public}d", result); in OnEventReceive() 60 if (result == 0) { in OnEventReceive() 67 "Drag setSuggestedDropOperation result : %{public}d", result); in OnEventReceive()
|
H A D | drag_setDragResult.cpp | 54 auto result = OH_ArkUI_DragEvent_SetDragResult(dragEvent, ArkUI_DragResult::ARKUI_DRAG_RESULT_SUCCESSFUL); in OnEventReceive() local 56 "Drag setDragResult result : %{public}d", result); in OnEventReceive() 57 if (result == 0) { in OnEventReceive() 64 "Drag setDragResult result : %{public}d", result); in OnEventReceive()
|
/test/xts/acts/arkcompiler/arkts_module_test/napi_load/harTwo/src/main/cpp/ |
H A D | hello.cpp | 64 napi_value result;
in loadModuleWithInfo() local 66 status = napi_load_module_with_info(env, name, "", &result);
in loadModuleWithInfo() 68 status = napi_load_module_with_info(env, name, path, &result);
in loadModuleWithInfo() 75 return result;
in loadModuleWithInfo()
|
/test/xts/acts/arkcompiler/arkts_module_test/napi_load/hspOne/src/main/cpp/ |
H A D | hello.cpp | 64 napi_value result;
in loadModuleWithInfo() local 66 status = napi_load_module_with_info(env, name, nullptr, &result);
in loadModuleWithInfo() 68 status = napi_load_module_with_info(env, name, path, &result);
in loadModuleWithInfo() 75 return result;
in loadModuleWithInfo()
|
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/toggle/ |
H A D | toggle_onchange_test.cpp | 36 ArkUI_NodeComponentEvent *result = OH_ArkUI_NodeEvent_GetNodeComponentEvent(event); in OnEventReceive() local 37 if (result->data[0].i32) { in OnEventReceive() 46 ArkUI_NodeComponentEvent *result = OH_ArkUI_NodeEvent_GetNodeComponentEvent(event); in OnEventReceive() local 47 if (!result->data[0].i32) { in OnEventReceive()
|
/test/xts/acts/arkcompiler/arkts_module_test/napi_load/hspTwo/src/main/cpp/ |
H A D | hello.cpp | 64 napi_value result;
in loadModuleWithInfo() local 66 status = napi_load_module_with_info(env, name, "", &result);
in loadModuleWithInfo() 68 status = napi_load_module_with_info(env, name, path, &result);
in loadModuleWithInfo() 75 return result;
in loadModuleWithInfo()
|
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/datepicker/ |
H A D | datepicker_ondatechange_test.cpp | 66 ArkUI_NodeComponentEvent *result = OH_ArkUI_NodeEvent_GetNodeComponentEvent(event); in OnEventReceive() local 68 checkResult = (result->data[PARAM_0].i32 != defaultYear) || (result->data[PARAM_1].i32 != PARAM_1) || in OnEventReceive() 69 (result->data[PARAM_2].i32 != PARAM_1); in OnEventReceive()
|
/test/xts/acts/arkui/ace_ets_web_scheme_handler_three_napis/entry/src/main/cpp/ |
H A D | hello.cpp | 130 napi_value result; in ResourceHandlerDidFailWithError() local 134 napi_create_int32(env, 0, &result); in ResourceHandlerDidFailWithError() 136 napi_create_int32(env, -1, &result); in ResourceHandlerDidFailWithError() 138 return result; in ResourceHandlerDidFailWithError()
|
/test/xts/acts/graphic/acts_drawing_native/ |
H A D | DrawingCanvasDrawRecordCmdTest.cpp | 106 OH_Drawing_ErrorCode result = OH_Drawing_CanvasDrawRecordCmd(canvas, picture); in HWTEST_F() local 107 EXPECT_EQ(result, OH_DRAWING_SUCCESS); in HWTEST_F() 129 OH_Drawing_ErrorCode result = OH_Drawing_CanvasDrawRecordCmd(nullptr, picture); in HWTEST_F() local 130 EXPECT_EQ(result, OH_DRAWING_ERROR_INVALID_PARAMETER); in HWTEST_F()
|
/test/xts/acts/communication/nfc_ErrorCode/entry/src/ohosTest/js/test/ |
H A D | MifareUltralightTag.test.js | 81 let result = await MifareUltralightTag.readMultiplePages('test'); 82 console.info("[NFC_test]mifareUltralight1 readMultiplePages data: " + result); 145 let result = await MifareUltralightTag.writeSinglePage('test', rawData); 146 console.info("[NFC_test]mifareUltralight3 writeSinglePage data: " + result);
|
/test/xts/hats/kernel/syscalls/fileio/lremovexattr/ |
H A D | LremovexattrApiTest.cpp | 68 int result = setxattr(OPEN_API_TEST_FILE, name, setValue, size, 0); in HWTEST_F() local 69 EXPECT_TRUE(result != -1); in HWTEST_F() 134 int result = setxattr(tmpPath, name, setValue, size, 0); in HWTEST_F() local 135 EXPECT_TRUE(result != -1); in HWTEST_F()
|
/third_party/ffmpeg/compat/ |
H A D | os2threads.h | 48 void *result; member 77 thread->result = thread->start_routine(thread->arg); in thread_entry() 87 thread->result = NULL; in pthread_create() 99 *value_ptr = thread.result; in pthread_join()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_ocr.c | 94 char *result; in filter_frame() local 97 result = TessBaseAPIRect(s->tess, in->data[0], 1, in filter_frame() 100 av_dict_set(metadata, "lavfi.ocr.text", result, 0); in filter_frame() 108 TessDeleteText(result); in filter_frame()
|
/third_party/elfutils/libasm/ |
H A D | asm_align.c | 76 int result = 0; in asm_align() local 85 result = __libasm_ensure_section_space (asmscn, cnt); in asm_align() 86 if (result != 0) in asm_align() 127 return result; in asm_align()
|
/third_party/glslang/StandAlone/ |
H A D | DirStackFileIncluder.h | 80 virtual void releaseInclude(IncludeResult* result) override 82 if (result != nullptr) { 83 delete [] static_cast<tUserDataElement*>(result->userData); 84 delete result; 133 // Do actual reading of the file, filling in a new include result.
|
/third_party/astc-encoder/Test/ |
H A D | astc_size_binary.py | 60 result = sp.run(args, stdout=sp.PIPE, stderr=sp.PIPE, 66 lines = result.stdout.splitlines() 91 result = sp.run(args, stdout=sp.PIPE, stderr=sp.PIPE, 100 lines = result.stdout.splitlines()
|
/third_party/curl/lib/ |
H A D | http_digest.c | 76 CURLcode result; in Curl_output_digest() local 161 result = Curl_auth_create_digest_http_message(data, userp, passwdp, request, in Curl_output_digest() 164 if(result) in Curl_output_digest() 165 return result; in Curl_output_digest()
|
/third_party/gn/src/gn/ |
H A D | string_output_buffer.cc | 16 std::string result; in str() local 18 result.reserve(data_size); in str() 21 result.append(pages_[nn]->data(), wanted_size); in str() 23 return result; in str()
|
H A D | substitution_pattern.cc | 102 std::string result; in AsString() local 105 result.append(elem.literal); in AsString() 107 result.append(elem.type->name); in AsString() 109 return result; in AsString()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | NumberFormatServiceShim.java | 58 Object result = delegate.createFormat(lkey.canonicalLocale(), lkey.kind()); in create() 59 if (result == null) { in create() 60 result = srvc.getKey(key, null, this); in create() 62 return result; in create()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
H A D | SimpleModifier.java | 96 public static void formatTwoArgPattern(String compiledPattern, FormattedStringBuilder result, int index, PrefixInfixSuffixLengthHelper h, in formatTwoArgPattern() argument 103 int length = 0; // chars added to result in formatTwoArgPattern() 112 result.insert(index + length, compiledPattern, offset, offset + prefixLength, field); in formatTwoArgPattern() 125 result.insert(index + length, compiledPattern, offset, offset + infixLength, field); in formatTwoArgPattern() 138 result.insert(index + length, compiledPattern, offset, offset + suffixLength, field); in formatTwoArgPattern()
|