Home
last modified time | relevance | path

Searched refs:result (Results 8726 - 8750 of 20066) sorted by relevance

1...<<341342343344345346347348349350>>...803

/foundation/distributeddatamgr/data_share/frameworks/native/common/src/
H A Dshared_block.cpp101 int result = CreateSharedBlock(name, size, ashmem, outSharedBlock); in Create() local
102 if (result == SHARED_BLOCK_OK) { in Create()
108 return result; in Create()
219 int result = memset_s(fieldDir, fieldDirSize, 0, fieldDirSize); in AllocRow() local
220 if (result != 0) { in AllocRow()
378 errno_t result = memcpy_s(ptr, size, value, size); in PutBlobOrString() local
379 if (result != EOK) { in PutBlobOrString()
450 int result = memcpy_s(mHeader, mSize, rawData, size); in SetRawData() local
451 if (result != 0) { in SetRawData()
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/src/
H A Djs_common_utils.cpp101 napi_status result = napi_is_typedarray(env, jsValue, &isTypedarray); in Convert2NativeValue() local
102 if (result != napi_ok || !isTypedarray) { in Convert2NativeValue()
103 LOG_DEBUG("napi_is_typedarray fail. result %{public}d isTypedarray %{public}d", result, isTypedarray); in Convert2NativeValue()
109 result = napi_get_typedarray_info(env, jsValue, &type, &length, &data, nullptr, nullptr); in Convert2NativeValue()
110 if (result != napi_ok) { in Convert2NativeValue()
112 return result; in Convert2NativeValue()
298 napi_value result = nullptr; in Convert2JSValue() local
299 napi_get_null(env, &result); in Convert2JSValue()
300 return result; in Convert2JSValue()
[all...]
/foundation/filemanagement/app_file_service/frameworks/native/backup_kit_inner/src/
H A Dservice_reverse_stub.cpp130 std::string result = data.ReadString(); in CmdBackupOnResultReport() local
132 BackupOnResultReport(result, bundleName); in CmdBackupOnResultReport()
206 std::string result; in CmdRestoreOnResultReport() local
207 if (!data.ReadString(result)) { in CmdRestoreOnResultReport()
208 return BError(BError::Codes::EXT_INVAL_ARG, "Failed to read result").GetCode(); in CmdRestoreOnResultReport()
218 RestoreOnResultReport(result, bundleName, errCode); in CmdRestoreOnResultReport()
256 std::string result = data.ReadString(); in CmdIncrementalBackupOnResultReport() local
258 IncrementalBackupOnResultReport(result, bundleName); in CmdIncrementalBackupOnResultReport()
326 auto result = data.ReadString(); in CmdIncrementalRestoreOnResultReport() local
329 IncrementalRestoreOnResultReport(result, bundleNam in CmdIncrementalRestoreOnResultReport()
[all...]
/foundation/communication/dsoftbus/adapter/common/mbedtls/
H A Dsoftbus_adapter_crypto.c281 int32_t result = MbedAesGcmEncrypt(cipherKey, input, inLen, encryptData, outLen); in SoftBusEncryptData() local
282 if (result <= 0) { in SoftBusEncryptData()
285 *encryptLen = result; in SoftBusEncryptData()
303 int32_t result = MbedAesGcmEncrypt(cipherKey, input, inLen, encryptData, outLen); in SoftBusEncryptDataWithSeq() local
304 if (result <= 0) { in SoftBusEncryptDataWithSeq()
307 *encryptLen = result; in SoftBusEncryptDataWithSeq()
323 int32_t result = MbedAesGcmDecrypt(cipherKey, input, inLen, decryptData, outLen); in SoftBusDecryptData() local
324 if (result <= 0) { in SoftBusDecryptData()
327 *decryptLen = (uint32_t)result; in SoftBusDecryptData()
/third_party/elfutils/src/
H A Dsize.c156 int result = 0; in main() local
181 result = process_file ("a.out"); in main()
185 result |= process_file (argv[remaining]); in main()
194 return result; in main()
293 int result = handle_ar (fd, elf, NULL, fname); in process_file() local
298 return result; in process_file()
356 int result = 0; in handle_ar() local
367 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name); in handle_ar()
381 return result; in handle_ar()
/third_party/ffmpeg/libavformat/
H A Drpl.c73 unsigned long result = 0; in read_int() local
75 if (result > (0x7FFFFFFF - 9) / 10) in read_int()
77 result = 10 * result + *line - '0'; in read_int()
80 return result; in read_int()
98 AVRational result; in read_fps() local
111 av_reduce(&result.num, &result.den, num, den, 0x7FFFFFFF); in read_fps()
112 return result; in read_fps()
/third_party/curl/lib/
H A Dsocks_sspi.c74 int result; in Curl_SOCKS5_gssapi_negotiate() local
265 result = Curl_blockread_all(cf, data, (char *)socksreq, 4, &actualread); in Curl_SOCKS5_gssapi_negotiate()
266 if(result || (actualread != 4)) { in Curl_SOCKS5_gssapi_negotiate()
305 result = Curl_blockread_all(cf, data, (char *)sspi_recv_token.pvBuffer, in Curl_SOCKS5_gssapi_negotiate()
308 if(result || (actualread != us_length)) { in Curl_SOCKS5_gssapi_negotiate()
512 result = Curl_blockread_all(cf, data, (char *)socksreq, 4, &actualread); in Curl_SOCKS5_gssapi_negotiate()
513 if(result || (actualread != 4)) { in Curl_SOCKS5_gssapi_negotiate()
544 result = Curl_blockread_all(cf, data, (char *)sspi_w_token[0].pvBuffer, in Curl_SOCKS5_gssapi_negotiate()
547 if(result || (actualread != us_length)) { in Curl_SOCKS5_gssapi_negotiate()
H A Dsocks_gssapi.c114 int result; in Curl_SOCKS5_gssapi_negotiate() local
246 result = Curl_blockread_all(cf, data, (char *)socksreq, 4, &actualread); in Curl_SOCKS5_gssapi_negotiate()
247 if(result || (actualread != 4)) { in Curl_SOCKS5_gssapi_negotiate()
285 result = Curl_blockread_all(cf, data, (char *)gss_recv_token.value, in Curl_SOCKS5_gssapi_negotiate()
288 if(result || (actualread != us_length)) { in Curl_SOCKS5_gssapi_negotiate()
443 result = Curl_blockread_all(cf, data, (char *)socksreq, 4, &actualread); in Curl_SOCKS5_gssapi_negotiate()
444 if(result || (actualread != 4)) { in Curl_SOCKS5_gssapi_negotiate()
474 result = Curl_blockread_all(cf, data, (char *)gss_recv_token.value, in Curl_SOCKS5_gssapi_negotiate()
477 if(result || (actualread != us_length)) { in Curl_SOCKS5_gssapi_negotiate()
/third_party/elfutils/libasm/
H A Dasm_end.c79 int result = 0; in binary_end() local
463 result = -1; in binary_end()
470 result = -1; in binary_end()
492 result = -1; in binary_end()
498 return result; in binary_end()
505 int result; in asm_end() local
511 result = unlikely (ctx->textp) ? text_end (ctx) : binary_end (ctx); in asm_end()
512 if (result != 0) in asm_end()
513 return result; in asm_end()
/third_party/gn/src/base/files/
H A Dfile_util_win.cc62 DWORD result = ERROR_SUCCESS; in DeleteFileRecursive() local
86 if (result == ERROR_SUCCESS) in DeleteFileRecursive()
87 result = this_result; in DeleteFileRecursive()
89 return result; in DeleteFileRecursive()
505 // GetMappedFileName() will fail if the result is longer than MAX_PATH. in NormalizeToNativeFilePath()
601 BOOL result = ::WriteFile(file.Get(), data, size, &written, NULL); in WriteFile() local
602 if (result && static_cast<int>(written) == size) in WriteFile()
605 if (!result) { in WriteFile()
626 BOOL result = ::WriteFile(file.Get(), data, size, &written, NULL); in AppendToFile() local
627 if (result in AppendToFile()
[all...]
/third_party/gn/src/gn/
H A Dcompile_commands_writer.cc64 std::string result; in FlagsGetter() local
67 base::EscapeJSONString(out.str(), false, &result); in FlagsGetter()
68 return result; in FlagsGetter()
104 std::string result; in SetupCompileFlags()
109 base::EscapeJSONString(out.str(), false, &result); in SetupCompileFlags()
110 return result; in SetupCompileFlags()
416 std::vector<const Target*> result; in FilterLegacyTargets() local
419 result.push_back(target); in FilterLegacyTargets()
422 return result; in FilterLegacyTargets()
H A Doperators_unittest.cc150 // Append a list with a list, the result should be a nested list. in TEST()
164 Value result = *setup.scope()->GetValue(foo); in TEST() local
165 ASSERT_EQ(Value::LIST, result.type()); in TEST()
166 ASSERT_EQ(1u, result.list_value().size()); in TEST()
167 ASSERT_EQ(Value::LIST, result.list_value()[0].type()); in TEST()
168 ASSERT_EQ(1u, result.list_value()[0].list_value().size()); in TEST()
169 ASSERT_EQ(Value::INTEGER, result.list_value()[0].list_value()[0].type()); in TEST()
170 ASSERT_EQ(12, result.list_value()[0].list_value()[0].int_value()); in TEST()
206 Value result = ExecuteBinaryOperator(setup.scope(), &node, node.left(), in TEST() local
212 EXPECT_EQ(Value::NONE, result in TEST()
[all...]
/third_party/alsa-utils/axfer/
H A Dcontainer.c46 ssize_t result; in container_recursive_read() local
50 result = read(cntr->fd, dst + consumed, byte_count - consumed); in container_recursive_read()
51 if (result < 0) { in container_recursive_read()
61 if (result == 0) { in container_recursive_read()
66 consumed += result; in container_recursive_read()
76 ssize_t result; in container_recursive_write() local
80 result = write(cntr->fd, src + consumed, byte_count - consumed); in container_recursive_write()
81 if (result < 0) { in container_recursive_write()
91 consumed += result; in container_recursive_write()
/third_party/backends/backend/
H A Dmustek_scsi_pp.c361 SANE_Status result; in mustek_scsi_pp_wait_for_status_bit_4_toggle() local
370 result = mustek_scsi_pp_wait_for_status_bit_4_set (fd); in mustek_scsi_pp_wait_for_status_bit_4_toggle()
377 result = mustek_scsi_pp_wait_for_status_bit_4_clear (fd); in mustek_scsi_pp_wait_for_status_bit_4_toggle()
380 return result; in mustek_scsi_pp_wait_for_status_bit_4_toggle()
418 u_char result; in mustek_scsi_pp_read_response() local
432 if (sanei_pa4s2_readbyte (fd, &result) != SANE_STATUS_GOOD) in mustek_scsi_pp_read_response()
444 result = 0xff; in mustek_scsi_pp_read_response()
448 DBG (5, "mustek_scsi_pp_read_response: returning 0x%02X\n", result); in mustek_scsi_pp_read_response()
449 return result; in mustek_scsi_pp_read_response()
/third_party/cmsis/CMSIS/Core/Include/a-profile/
H A Dcmsis_iccarm_a.h409 uint32_t result; in __RRX() local
410 __ASM("RRX %0, %1" : "=r"(result) : "r" (value) : "cc"); in __RRX()
411 return(result); in __RRX()
423 uint32_t result; in __get_FPEXC() local
424 __ASM volatile("VMRS %0, fpexc" : "=r" (result) : : "memory"); in __get_FPEXC()
425 return(result); in __get_FPEXC()
458 uint32_t result; in __get_SP_usr() local
464 "ISB" : "=r"(cpsr), "=r"(result) : "r"(cpsr) : "memory" in __get_SP_usr()
466 return result; in __get_SP_usr()
/third_party/icu/icu4c/source/test/perf/leperf/
H A DPortableFontInstance.cpp275 //printf("Read %s, result %p #%d\n", letagToStr(tableTag,tag5), data,len); in readFontTable()
312 char *result = LE_NEW_ARRAY(char, length + 2); in getNameString() local
314 LE_ARRAY_COPY(result, name, length); in getNameString()
315 result[length] = result[length + 1] = 0; in getNameString()
317 return result; in getNameString()
345 LEUnicode16 *result = LE_NEW_ARRAY(LEUnicode16, length + 2); in getUnicodeNameString() local
348 result[c] = SWAPW(name[c]); in getUnicodeNameString()
351 result[length] = 0; in getUnicodeNameString()
353 return result; in getUnicodeNameString()
[all...]
/third_party/icu/icu4c/source/test/letest/
H A DPortableFontInstance.cpp267 //printf("Read %s, result %p #%d\n", letagToStr(tableTag,tag5), data,len); in readFontTable()
304 char *result = LE_NEW_ARRAY(char, length + 2); in getNameString() local
306 LE_ARRAY_COPY(result, name, length); in getNameString()
307 result[length] = result[length + 1] = 0; in getNameString()
309 return result; in getNameString()
337 LEUnicode16 *result = LE_NEW_ARRAY(LEUnicode16, length + 2); in getUnicodeNameString() local
340 result[c] = SWAPW(name[c]); in getUnicodeNameString()
343 result[length] = 0; in getUnicodeNameString()
345 return result; in getUnicodeNameString()
[all...]
/third_party/icu/icu4c/source/common/
H A Dcaniter.cpp148 //String result = buffer.toString(); // not needed in next()
267 void U_EXPORT2 CanonicalIterator::permute(UnicodeString &source, UBool skipZeros, Hashtable *result, UErrorCode &status) { in permute() argument
284 result->put(source, toPut, status); in permute()
334 result->put(*chStr, chStr, status); in permute()
338 //return result; in permute()
345 Hashtable result(status); in getEquivalents()
351 result.setValueDeleter(uprv_deleteUObject); in getEquivalents()
390 result.put(possible, new UnicodeString(possible), status); //add(possible); in getEquivalents()
405 //String[] finalResult = new String[result.size()]; in getEquivalents()
408 if((resultCount = result in getEquivalents()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/tool/locale/
H A DLikelySubtagsBuilder.java227 Map<String, Map<String, Map<String, LSR>>> result = new TreeMap<>(); in makeTable()
240 set(result, language, script, region, ltp); in makeTable()
250 set(result, languageAlias, script, regionAlias, ltp); in makeTable()
255 set(result, "und", "Latn", "", new LSR("en", "Latn", "US", LSR.DONT_CARE_FLAGS)); in makeTable()
261 Map<String, Map<String, LSR>> undScriptMap = result.get("und"); in makeTable()
265 set(result, "und", lsr.script, lsr.region, lsr); in makeTable()
269 if (!result.containsKey("und")) { in makeTable()
272 for (Map.Entry<String, Map<String, Map<String, LSR>>> langEntry : result.entrySet()) { in makeTable()
286 return result; in makeTable()
/third_party/icu/vendor/double-conversion/upstream/double-conversion/
H A Dfast-dtoa.cc37 // exponent, where 'w' is the result of multiplying the input by a cached power
169 // Rounds the buffer upwards if the result is closer to v by possibly adding
509 // Returns true if it succeeds, otherwise the result cannot be trusted.
555 // The DiyFp::Times procedure rounds its result, and ten_mk is approximated
579 bool result = DigitGen(scaled_boundary_minus, scaled_w, scaled_boundary_plus,
582 return result;
614 // The DiyFp::Times procedure rounds its result, and ten_mk is approximated
628 bool result = DigitGenCounted(scaled_w, requested_digits,
631 return result;
644 bool result
[all...]
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/locale/
H A DLikelySubtagsBuilder.java227 Map<String, Map<String, Map<String, LSR>>> result = new TreeMap<>(); in makeTable()
240 set(result, language, script, region, ltp); in makeTable()
250 set(result, languageAlias, script, regionAlias, ltp); in makeTable()
255 set(result, "und", "Latn", "", new LSR("en", "Latn", "US", LSR.DONT_CARE_FLAGS)); in makeTable()
261 Map<String, Map<String, LSR>> undScriptMap = result.get("und"); in makeTable()
265 set(result, "und", lsr.script, lsr.region, lsr); in makeTable()
269 if (!result.containsKey("und")) { in makeTable()
272 for (Map.Entry<String, Map<String, Map<String, LSR>>> langEntry : result.entrySet()) { in makeTable()
286 return result; in makeTable()
/third_party/icu/icu4c/source/i18n/
H A Ddouble-conversion-fast-dtoa.cpp51 // exponent, where 'w' is the result of multiplying the input by a cached power
183 // Rounds the buffer upwards if the result is closer to v by possibly adding
523 // Returns true if it succeeds, otherwise the result cannot be trusted.
569 // The DiyFp::Times procedure rounds its result, and ten_mk is approximated
593 bool result = DigitGen(scaled_boundary_minus, scaled_w, scaled_boundary_plus,
596 return result;
628 // The DiyFp::Times procedure rounds its result, and ten_mk is approximated
642 bool result = DigitGenCounted(scaled_w, requested_digits,
645 return result;
658 bool result
[all...]
H A Ducoleitr.cpp334 int64_t result = UCOL_IGNORABLE; in nextProcessed() local
349 result = UCOL_PROCESSED_NULLORDER; in nextProcessed()
353 result = processCE((uint32_t)ce); in nextProcessed()
354 } while (result == UCOL_IGNORABLE); in nextProcessed()
364 return result; in nextProcessed()
387 int64_t result = UCOL_IGNORABLE; in previousProcessed() local
422 result = processCE(rcei->ce); in previousProcessed()
424 if (result != UCOL_IGNORABLE) { in previousProcessed()
425 pceBuffer.put(result, rcei->low, rcei->high, *status); in previousProcessed()
/third_party/node/lib/internal/test_runner/
H A Dutils.js367 let result = string;
368 if (pad) result = pad(result, width);
369 if (truncate) result = truncate(result, width);
371 if (coverage > 90) return `${coverageColors.high}${result}${color}`;
372 if (coverage > 50) return `${coverageColors.medium}${result}${color}`;
373 return `${coverageColors.low}${result}${color}`;
375 return result;
/third_party/node/deps/icu-small/source/common/
H A Dcaniter.cpp148 //String result = buffer.toString(); // not needed in next()
267 void U_EXPORT2 CanonicalIterator::permute(UnicodeString &source, UBool skipZeros, Hashtable *result, UErrorCode &status) { in permute() argument
284 result->put(source, toPut, status); in permute()
334 result->put(*chStr, chStr, status); in permute()
338 //return result; in permute()
345 Hashtable result(status); in getEquivalents()
351 result.setValueDeleter(uprv_deleteUObject); in getEquivalents()
390 result.put(possible, new UnicodeString(possible), status); //add(possible); in getEquivalents()
405 //String[] finalResult = new String[result.size()]; in getEquivalents()
408 if((resultCount = result in getEquivalents()
[all...]

Completed in 26 milliseconds

1...<<341342343344345346347348349350>>...803