/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/drag/ |
H A D | dragAction_createDragAction.cpp | 50 auto result = OH_ArkUI_CreateDragActionWithNode(nodeHandler); in OnEventReceive() local 51 OH_LOG_Print(LOG_APP, LOG_INFO, LOG_PRINT_DOMAIN, "dragAction_createDragAction", "result:%{public}p", result); in OnEventReceive() 55 OH_LOG_Print(LOG_APP, LOG_INFO, LOG_PRINT_DOMAIN, "dragAction_createDragAction", "result:%{public}p", result2); in OnEventReceive() 56 auto startDragReturnValue = OH_ArkUI_StartDrag(result); in OnEventReceive() 58 if (result != nullptr && result2 != nullptr && startDragReturnValue != INVALID_PARAM) { in OnEventReceive() 63 OH_ArkUI_DragAction_Dispose(result); in OnEventReceive()
|
/third_party/ffmpeg/libavcodec/ |
H A D | dvaudiodec.c | 70 uint16_t shift, result; in dv_audio_12to16() local 76 result = sample; in dv_audio_12to16() 79 result = (sample - (256 * shift)) << shift; in dv_audio_12to16() 82 result = ((sample + ((256 * shift) + 1)) << shift) - 1; in dv_audio_12to16() 85 return result; in dv_audio_12to16()
|
H A D | mlpdsp.c | 42 int32_t result; in mlp_filter_channel() local 50 result = (accum + residual) & mask; in mlp_filter_channel() 52 *--firbuf = result; in mlp_filter_channel() 53 *--iirbuf = result - accum; in mlp_filter_channel() 55 *sample_buffer = result; in mlp_filter_channel()
|
/third_party/curl/tests/libtest/ |
H A D | first.c | 139 int result; in main() local 178 result = test(URL); in main() 179 fprintf(stderr, "Test ended with result %d\n", result); in main() 188 return result <= 125 ? result : 125; in main()
|
/third_party/backends/backend/ |
H A D | epsonds-io.c | 130 char result; in eds_control() local 135 status = eds_txrx(s, buf, buf_size, &result, 1); in eds_control() 141 if (result == ACK) in eds_control() 144 if (result == NAK) { in eds_control() 149 DBG(1, "%s: result is neither ACK nor NAK but 0x%02x\n", in eds_control() 150 __func__, result); in eds_control()
|
/third_party/cJSON/tests/unity/extras/fixture/ |
H A D | rakefile_helper.rb | 37 result = if strings.is_a?(Array) 42 result 46 result = '' 47 items.each { |item| result += " #{prefix}#{tackit(item)}" } 48 result
|
/third_party/icu/icu4c/source/tools/toolutil/ |
H A D | filetools.cpp | 109 int32_t result = 0; in whichFileModTimeIsLater() local 121 result = 2; in whichFileModTimeIsLater() 123 result = 1; in whichFileModTimeIsLater() 128 result = -1; in whichFileModTimeIsLater() 131 return result; in whichFileModTimeIsLater()
|
H A D | flagparser.cpp | 30 int32_t result = 0; in parseFlagsFile() local 75 result = currentBufferSize; in parseFlagsFile() 77 result = -1; in parseFlagsFile() 106 if (U_SUCCESS(*status) && result == 0) { in parseFlagsFile() 110 return result; in parseFlagsFile()
|
/third_party/gn/src/gn/ |
H A D | visibility.cc | 68 std::string result; in Describe() 72 result += outer_indent_string + "[\n"; in Describe() 78 result += inner_indent_string + pattern.Describe() + "\n"; in Describe() 81 result += outer_indent_string + "]\n"; in Describe() 82 return result; in Describe()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | Trie.java | 130 int result = (4 << 2); in getSerializedDataSize() 131 result += (m_dataOffset_ << 1); in getSerializedDataSize() 133 result += (m_dataLength_ << 1); in getSerializedDataSize() 136 result += (m_dataLength_ << 2); in getSerializedDataSize() 138 return result; in getSerializedDataSize() 334 * if((c32)<=0xd7ff) { (result)=_TRIE_GET_RAW(trie, data, 0, c32); }
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | SimpleDateRule.java | 161 Date result = computeInYear(year, c); in doFirstBetween() 164 // to get a result that's before the start. If so, go to next year. in doFirstBetween() 165 if (mon == this.month && result.before(start)) { in doFirstBetween() 166 result = computeInYear(year+1, c); in doFirstBetween() 169 if (end != null && result.after(end)) { in doFirstBetween() 172 return result; in doFirstBetween()
|
/third_party/icu/icu4c/source/samples/numfmt/ |
H A D | main.cpp | 61 Formattable result; in cppapi() local 62 fmt->parse(str, result, status); in cppapi() 65 printf("NumberFormat::parse(\""); // Display the result in cppapi() 68 uprintf(formattableToString(result)); in cppapi() 74 fmt->format(result, str, status); in cppapi() 77 printf("NumberFormat::format("); // Display the result in cppapi() 78 uprintf(formattableToString(result)); in cppapi()
|
H A D | util.cpp | 118 UnicodeString result((UChar)U_LEFT_SQUARE_BRACKET); in formattableToString() 121 (result += (UChar)U_COMMA) += (UChar)U_SPACE; in formattableToString() 123 result += formattableToString(array[i]); in formattableToString() 125 result += (UChar)U_RIGHT_SQUARE_BRACKET; in formattableToString() 126 return result; in formattableToString()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | Trie.java | 132 int result = (4 << 2); in getSerializedDataSize() 133 result += (m_dataOffset_ << 1); in getSerializedDataSize() 135 result += (m_dataLength_ << 1); in getSerializedDataSize() 138 result += (m_dataLength_ << 2); in getSerializedDataSize() 140 return result; in getSerializedDataSize() 336 * if((c32)<=0xd7ff) { (result)=_TRIE_GET_RAW(trie, data, 0, c32); }
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/message2/ |
H A D | CustomFormatterListTest.java | 61 String result; in format() 63 result = lf.format((Object[]) toFormat); in format() 65 result = lf.format((Collection<?>) toFormat); in format() 67 result = toFormat == null ? "null" : toFormat.toString(); in format() 69 return new FormattedPlaceholder(toFormat, new PlainStringFormattedValue(result)); in format()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | SimpleDateRule.java | 159 Date result = computeInYear(year, c); in doFirstBetween() 162 // to get a result that's before the start. If so, go to next year. in doFirstBetween() 163 if (mon == this.month && result.before(start)) { in doFirstBetween() 164 result = computeInYear(year+1, c); in doFirstBetween() 167 if (end != null && result.after(end)) { in doFirstBetween() 170 return result; in doFirstBetween()
|
/third_party/mbedtls/programs/pkey/ |
H A D | rsa_decrypt.c | 47 unsigned char result[1024]; in main() local 52 memset(result, 0, sizeof(result)); in main() 122 if ((f = fopen("result-enc.txt", "rb")) == NULL) { in main() 123 mbedtls_printf("\n ! Could not open %s\n\n", "result-enc.txt"); in main() 142 * Decrypt the encrypted RSA data and print the result. in main() 149 buf, result, 1024); in main() 158 mbedtls_printf("The decrypted result is: '%s'\n\n", result); in main()
|
/third_party/jerryscript/tests/unit-core/ |
H A D | test-lit-char-helpers.cpp | 33 lit_code_point_t result = 0; in lexer_hex_to_character() local 39 result <<= 4; in lexer_hex_to_character() 43 result += byte - LIT_CHAR_0; in lexer_hex_to_character() 50 result += byte - (LIT_CHAR_LOWERCASE_A - 10); in lexer_hex_to_character() 60 return result; in lexer_hex_to_character()
|
/third_party/lame/ACM/ |
H A D | DecodeStream.cpp | 183 bool result = false; in ConvertBuffer() local 199 result = true; in ConvertBuffer() 230 result = a_StreamHeader->cbDstLengthUsed <= a_StreamHeader->cbDstLength; in ConvertBuffer() 232 my_debug->OutPut(DEBUG_LEVEL_FUNC_CODE, "UsedSize = %d / EncodedSize = %d, result = %d, ret = %s", a_StreamHeader->cbSrcLengthUsed, a_StreamHeader->cbDstLengthUsed, result, in ConvertBuffer() 237 my_debug->OutPut(DEBUG_LEVEL_FUNC_DEBUG, "DecodeStream::ConvertBuffer result = %d",result); in ConvertBuffer() 240 return result; in ConvertBuffer()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_suballoc.c | 82 VkResult result = tu_bo_init_new(suballoc->dev, &suballoc->bo, in tu_suballoc_bo_alloc() local 85 if (result != VK_SUCCESS) in tu_suballoc_bo_alloc() 86 return result; in tu_suballoc_bo_alloc() 89 VkResult result = tu_bo_map(suballoc->dev, suballoc->bo); in tu_suballoc_bo_alloc() local 90 if (result != VK_SUCCESS) { in tu_suballoc_bo_alloc()
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_wsi.c | 74 VkResult result = radv_queue_init(device, device->private_sdma_queue, 0, &queue_create, NULL); in radv_wsi_get_prime_blit_queue() local 75 if (result == VK_SUCCESS) { in radv_wsi_get_prime_blit_queue() 92 VkResult result = in radv_init_wsi() local 96 if (result != VK_SUCCESS) in radv_init_wsi() 97 return result; in radv_init_wsi()
|
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_csb.c | 130 VkResult result; in pvr_csb_buffer_extend() local 140 result = pvr_bo_alloc(csb->device, in pvr_csb_buffer_extend() 146 if (result != VK_SUCCESS) { in pvr_csb_buffer_extend() 147 vk_error(csb->device, result); in pvr_csb_buffer_extend() 148 csb->status = result; in pvr_csb_buffer_extend()
|
/third_party/mesa3d/src/gallium/frontends/xvmc/ |
H A D | attributes.c | 56 XvAttribute *result; in XvMCQueryAttributes() local 63 result = malloc(sizeof(attributes)); in XvMCQueryAttributes() 64 if (!result) in XvMCQueryAttributes() 67 memcpy(result, attributes, sizeof(attributes)); in XvMCQueryAttributes() 72 return result; in XvMCQueryAttributes()
|
/third_party/node/test/parallel/ |
H A D | test-stream-flatMap.js | 52 const result = await oneTo5().flatMap(async (x) => { 55 assert.deepStrictEqual(result, [1, 1, 2, 2, 3, 3, 4, 4, 5, 5]); 59 const result = await oneTo5().flatMap(() => { 63 assert.strictEqual(result.length, 5); 65 Buffer.concat(result).toString(), 120 // Test result is a Readable
|
/third_party/node/deps/acorn/acorn/dist/ |
H A D | bin.js | 61 var result = [], fileIdx = 0; 66 result = acorn__namespace.parse(code, options); 67 options.program = result; 72 result.push(token); 80 if (!silent) { console.log(JSON.stringify(result, null, compact ? null : 2)); }
|