/third_party/musl/libc-test/src/functionalext/supplement/string/ |
H A D | strrchr.c | 22 char *result = strrchr(str, c); \ 23 if (strcmp(result, substr) != 0) \ 24 t_error("%s strrchr(%s,%s) returned %s, wanted %s\n", #no, #str, #c, result, substr); \ 29 char *result = strrchr(str, c); \ 30 if (result != NULL) \ 31 t_error("%s strrchr(%s,%s) returned %s is not NULL\n", #no, #str, #c, result); \ 36 char *result = strrchr(str, 0); \ 37 if (strcmp(result, "") != 0) \ 38 t_error("%s strrchr(%s,NULL) returned %s is not ''\n", #no, #str, result); \
|
H A D | wcscspn.c | 29 size_t result = wcscspn(L"hello world", L"abcdefghijklmnopqrstuvwxyz"); in wcscspn_0100() local 30 if (result != 0U) { in wcscspn_0100() 31 t_error("%s wcscspn get result is %d are not want 0U\n", __func__, result); in wcscspn_0100() 37 * @tc.desc : The return result of wcscspn when dest is a space 42 size_t result = wcscspn(L"hello world", L" "); in wcscspn_0200() local 44 if (result != want) { in wcscspn_0200() 45 t_error("%s wcscspn get result is %d are not want 5U\n", __func__, result); in wcscspn_0200() 51 * @tc.desc : wcscspn returns result whe 56 size_t result = wcscspn(L"hello world", L"!"); wcscspn_0300() local [all...] |
H A D | wcsspn.c | 28 size_t result = wcsspn(L"hello world", L"abcdefghijklmnopqrstuvwxyz"); in wcsspn_0100() local 30 if (result != want) { in wcsspn_0100() 31 t_error("%s wcsspn get result is %d are not want 5U\n", __func__, result); in wcsspn_0100() 37 * @tc.desc : Test the wcsspn result when the search string contains spaces 42 size_t result = wcsspn(L"hello world", L"abcdefghijklmnopqrstuvwxyz "); in wcsspn_0200() local 44 if (result != want) { in wcsspn_0200() 45 t_error("%s wcsspn get result is %d are not want 11U\n", __func__, result); in wcsspn_0200() 51 * @tc.desc : The result o 56 size_t result = wcsspn(L"hello world", L"!"); wcsspn_0300() local [all...] |
H A D | wcsrchr.c | 30 wchar_t *result = wcsrchr(ch, L'h'); in wcsrchr_0100() local 31 if (wcscmp(result, ch) != 0) { in wcsrchr_0100() 32 t_error("%s wcsrchr get result is %s are not want 'hello, world'\n", __func__, result); in wcsrchr_0100() 38 * @tc.desc : wcsrchr returns result when testing multiple occurrences of target character in wide string 44 wchar_t *result = wcsrchr(ch, L'l'); in wcsrchr_0200() local 45 if (wcscmp(result, ch + 10) != 0) { in wcsrchr_0200() 46 t_error("%s wcsrchr get result is %s are not want 'ld'\n", __func__, result); in wcsrchr_0200() 52 * @tc.desc : The test wide string does not contain the target wide character is the wcsrchr result 58 wchar_t *result = wcsrchr(ch, L'a'); wcsrchr_0300() local [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/time/ |
H A D | timespec_get.c | 32 int result = timespec_get(&ts, 0); in timespec_get_0100() local 33 if (result != 0) { in timespec_get_0100() 34 t_error("%s timespec_get failed, result is %d", __func__, result); in timespec_get_0100() 46 int result = timespec_get(&ts, TIME_UTC); in timespec_get_0200() local 47 if (result != TIME_UTC) { in timespec_get_0200() 48 t_error("%s timespec_get failed, result is %d", __func__, result); in timespec_get_0200() 63 int result = __timespec_get_time64(&ts, TIME_UTC); in timespec_get_time64_0200() local 64 if (result ! in timespec_get_time64_0200() [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | setegid.c | 30 int result = setegid(segid); in setegid_0100() local 31 if (result != 0) { in setegid_0100() 32 t_error("%s failed: result = %d\n", __func__, result); in setegid_0100() 40 result = setegid(cegid); in setegid_0100() 41 if (result != 0) { in setegid_0100() 42 t_error("%s failed: result = %d\n", __func__, result); in setegid_0100() 56 int result = setegid(segid); in setegid_0200() local 57 if (result ! in setegid_0200() [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | D3D12Error.cpp | 22 MaybeError CheckHRESULTImpl(HRESULT result, const char* context) { in CheckHRESULTImpl() argument 23 if (DAWN_LIKELY(SUCCEEDED(result))) { in CheckHRESULTImpl() 29 if (result == E_FAKE_ERROR_FOR_TESTING) { in CheckHRESULTImpl() 33 << result; in CheckHRESULTImpl() local 36 if (result == DXGI_ERROR_DEVICE_REMOVED) { in CheckHRESULTImpl() 43 MaybeError CheckOutOfMemoryHRESULTImpl(HRESULT result, const char* context) { in CheckOutOfMemoryHRESULTImpl() argument 44 if (result == E_OUTOFMEMORY || result == E_FAKE_OUTOFMEMORY_ERROR_FOR_TESTING) { in CheckOutOfMemoryHRESULTImpl() 48 return CheckHRESULTImpl(result, context); in CheckOutOfMemoryHRESULTImpl()
|
/third_party/python/Objects/ |
H A D | abstract.c | 93 PyObject *hint, *result; in PyObject_LengthHint() local 116 result = _PyObject_CallNoArgs(hint); in PyObject_LengthHint() 118 if (result == NULL) { in PyObject_LengthHint() 126 else if (result == Py_NotImplemented) { in PyObject_LengthHint() 127 Py_DECREF(result); in PyObject_LengthHint() 130 if (!PyLong_Check(result)) { in PyObject_LengthHint() 132 Py_TYPE(result)->tp_name); in PyObject_LengthHint() 133 Py_DECREF(result); in PyObject_LengthHint() 136 res = PyLong_AsSsize_t(result); in PyObject_LengthHint() 137 Py_DECREF(result); in PyObject_LengthHint() 178 PyObject *meth, *result; PyObject_GetItem() local 774 PyObject *result = NULL; PyObject_Format() local 932 PyObject *result = BINARY_OP1(v, w, op_slot, op_name); binary_op() local 1073 PyObject *result = BINARY_OP1(v, w, NB_SLOT(nb_add), "+"); PyNumber_Add() local 1111 PyObject *result = BINARY_OP1(v, w, NB_SLOT(nb_multiply), "*"); PyNumber_Multiply() local 1215 PyObject *result = BINARY_IOP1(v, w, iop_slot, op_slot, op_name); binary_iop() local 1261 PyObject *result = BINARY_IOP1(v, w, NB_SLOT(nb_inplace_add), PyNumber_InPlaceAdd() local 1284 PyObject *result = BINARY_IOP1(v, w, NB_SLOT(nb_inplace_multiply), PyNumber_InPlaceMultiply() local 1425 PyObject *result = Py_TYPE(item)->tp_as_number->nb_index(item); _PyNumber_Index() local 1457 PyObject *result = _PyNumber_Index(item); PyNumber_Index() local 1469 Py_ssize_t result; PyNumber_AsSsize_t() local 1520 PyObject *result; PyNumber_Long() local 1771 PyObject *result = BINARY_OP1(s, o, NB_SLOT(nb_add), "+"); PySequence_Concat() local 1797 PyObject *n, *result; PySequence_Repeat() local 1830 PyObject *result = BINARY_IOP1(s, o, NB_SLOT(nb_inplace_add), PySequence_InPlaceConcat() local 1859 PyObject *n, *result; PySequence_InPlaceRepeat() local 2042 PyObject *result = NULL; PySequence_Tuple() local 2124 PyObject *result; /* result list */ PySequence_List() local 2282 Py_ssize_t result = _PySequence_IterSearch(seq, ob, PY_ITERSEARCH_CONTAINS); PySequence_Contains() local 2411 PyObject *it, *result, *meth_output; method_output_as_list() local 2863 PyObject *result; PyIter_Next() local 2877 PyIter_Send(PyObject *iter, PyObject *arg, PyObject **result) PyIter_Send() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_debugfs.c | 442 const char **result, u16 size) in hns3_dbg_fill_content() 464 if (result) { in hns3_dbg_fill_content() 465 if (item_len < strlen(result[i])) in hns3_dbg_fill_content() 467 memcpy(pos, result[i], strlen(result[i])); in hns3_dbg_fill_content() 479 char **result, int i, bool is_tx) in hns3_get_coal_info() 502 sprintf(result[j++], "%d", i); in hns3_get_coal_info() 503 sprintf(result[j++], "%s", dim->state < ARRAY_SIZE(dim_state_str) ? in hns3_get_coal_info() 505 sprintf(result[j++], "%u", dim->profile_ix); in hns3_get_coal_info() 506 sprintf(result[ in hns3_get_coal_info() 440 hns3_dbg_fill_content(char *content, u16 len, const struct hns3_dbg_item *items, const char **result, u16 size) hns3_dbg_fill_content() argument 478 hns3_get_coal_info(struct hns3_enet_tqp_vector *tqp_vector, char **result, int i, bool is_tx) hns3_get_coal_info() argument 532 char *result[ARRAY_SIZE(coal_info_items)]; hns3_dump_coal_info() local 584 char *result[ARRAY_SIZE(tx_spare_info_items)]; hns3_dbg_tx_spare_info() local 633 hns3_dump_rx_queue_info(struct hns3_enet_ring *ring, struct hnae3_ae_dev *ae_dev, char **result, u32 index) hns3_dump_rx_queue_info() argument 682 char *result[ARRAY_SIZE(rx_queue_info_items)]; hns3_dbg_rx_queue_info() local 735 hns3_dump_tx_queue_info(struct hns3_enet_ring *ring, struct hnae3_ae_dev *ae_dev, char **result, u32 index) hns3_dump_tx_queue_info() argument 785 char *result[ARRAY_SIZE(tx_queue_info_items)]; hns3_dbg_tx_queue_info() local 836 char *result[ARRAY_SIZE(queue_map_items)]; hns3_dbg_queue_map() local 885 hns3_dump_rx_bd_info(struct hns3_nic_priv *priv, struct hns3_desc *desc, char **result, int idx) hns3_dump_rx_bd_info() argument 917 char *result[ARRAY_SIZE(rx_bd_info_items)]; hns3_dbg_rx_bd_info() local 967 hns3_dump_tx_bd_info(struct hns3_desc *desc, char **result, int idx) hns3_dump_tx_bd_info() argument 990 char *result[ARRAY_SIZE(tx_bd_info_items)]; hns3_dbg_tx_bd_info() local 1120 hns3_dump_page_pool_info(struct hns3_enet_ring *ring, char **result, u32 index) hns3_dump_page_pool_info() argument 1140 char *result[ARRAY_SIZE(page_pool_info_items)]; hns3_dbg_page_pool_info() local [all...] |
/foundation/communication/netmanager_base/services/netstatsmanager/src/stub/ |
H A D | net_stats_service_stub.cpp | 106 int32_t result = NETMANAGER_ERR_LOCAL_PTR_NULL; in OnRegisterNetStatsCallback() local 110 reply.WriteInt32(result); in OnRegisterNetStatsCallback() 111 return result; in OnRegisterNetStatsCallback() 115 result = RegisterNetStatsCallback(callback); in OnRegisterNetStatsCallback() 116 NETMGR_LOG_D("OnRegisterNetStatsCallback result = [%{public}d]", result); in OnRegisterNetStatsCallback() 117 if (!reply.WriteInt32(result)) { in OnRegisterNetStatsCallback() 129 int32_t result = NETMANAGER_ERR_LOCAL_PTR_NULL; in OnUnregisterNetStatsCallback() local 133 reply.WriteInt32(result); in OnUnregisterNetStatsCallback() 134 return result; in OnUnregisterNetStatsCallback() 152 int32_t result = GetIfaceRxBytes(stats, iface); OnGetIfaceRxBytes() local 175 int32_t result = GetIfaceTxBytes(stats, iface); OnGetIfaceTxBytes() local 268 int32_t result = GetUidRxBytes(stats, uid); OnGetUidRxBytes() local 291 int32_t result = GetUidTxBytes(stats, uid); OnGetUidTxBytes() local 427 int32_t result = GetAllStatsInfo(infos); OnGetAllStatsInfo() local 446 int32_t result = GetAllSimStatsInfo(infos); OnGetAllSimStatsInfo() local 478 int32_t result = GetTrafficStatsByNetwork(infos, network); OnGetTrafficStatsByNetwork() local 514 int32_t result = GetTrafficStatsByUidNetwork(infos, uid, network); OnGetTrafficStatsByUidNetwork() local 536 int32_t result = SetAppStats(info); OnSetAppStats() local 571 int32_t result = GetCookieRxBytes(stats, cookie); OnGetCookieRxBytes() local 594 int32_t result = GetCookieTxBytes(stats, cookie); OnGetCookieTxBytes() local [all...] |
/third_party/curl/lib/ |
H A D | formdata.c | 698 CURLFORMcode result; in curl_formadd() local 700 result = FormAdd(httppost, last_post, arg); in curl_formadd() 702 return result; in curl_formadd() 715 CURLcode result; in curl_formget() local 719 result = Curl_getformdata(NULL, &toppart, form, NULL); in curl_formget() 720 if(!result) in curl_formget() 721 result = Curl_mime_prepare_headers(NULL, &toppart, "multipart/form-data", in curl_formget() 724 while(!result) { in curl_formget() 732 result = CURLE_READ_ERROR; in curl_formget() 734 result in curl_formget() 819 CURLcode result = CURLE_OK; Curl_getformdata() local [all...] |
/third_party/node/test/fixtures/wpt/resources/ |
H A D | channel.sub.js | 406 let result = {}; 407 let resp = {id, result}; 413 result.result = serialize(resultValue); 420 result.exceptionDetails = { 485 let {id, result} = msg; 489 handler(result); 574 * ``args``, and return the result after awaiting any returned 583 let result = await this.sendMessage("call", {fn: serialize(fn), args: args.map(x => serialize(x))}, true); 584 if (result [all...] |
/third_party/node/deps/openssl/openssl/crypto/dso/ |
H A D | dso_win32.c | 206 struct file_st *result = NULL; in win32_splitter() local 216 result = OPENSSL_zalloc(sizeof(*result)); in win32_splitter() 217 if (result == NULL) { in win32_splitter() 229 result->node = start; in win32_splitter() 238 OPENSSL_free(result); in win32_splitter() 241 result->device = start; in win32_splitter() 242 result->devicelen = (int)(filename - start); in win32_splitter() 245 result->dir = start; in win32_splitter() 250 result in win32_splitter() 306 char *result = NULL; win32_joiner() local [all...] |
/third_party/openssl/crypto/dso/ |
H A D | dso_win32.c | 206 struct file_st *result = NULL; in win32_splitter() local 216 result = OPENSSL_zalloc(sizeof(*result)); in win32_splitter() 217 if (result == NULL) { in win32_splitter() 229 result->node = start; in win32_splitter() 238 OPENSSL_free(result); in win32_splitter() 241 result->device = start; in win32_splitter() 242 result->devicelen = (int)(filename - start); in win32_splitter() 245 result->dir = start; in win32_splitter() 250 result in win32_splitter() 306 char *result = NULL; win32_joiner() local [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | object_manager_test.cpp | 106 auto result = syncManager->DeleteNotifier(sequenceId_, userId_); in HWTEST_F() local 107 ASSERT_EQ(result, SequenceSyncManager::ERR_SID_NOT_EXIST); in HWTEST_F() 127 auto result = syncManager->Process(sequenceId_, results, userId_); in HWTEST_F() local 128 ASSERT_EQ(result, SequenceSyncManager::ERR_SID_NOT_EXIST); in HWTEST_F() 130 result = syncManager->Process(sequenceId_, results, userId_); in HWTEST_F() 131 ASSERT_EQ(result, SequenceSyncManager::SUCCESS_USER_HAS_FINISHED); in HWTEST_F() 151 auto result = syncManager->DeleteNotifierNoLock(sequenceId_, userId_); in HWTEST_F() local 152 ASSERT_EQ(result, SequenceSyncManager::SUCCESS_USER_HAS_FINISHED); in HWTEST_F() 154 result = syncManager->DeleteNotifierNoLock(sequenceId_, userId_); in HWTEST_F() 155 ASSERT_EQ(result, SequenceSyncManage in HWTEST_F() 168 auto result = manager->Clear(); HWTEST_F() local 403 auto result = manager->Open(); HWTEST_F() local 427 auto result = manager->OnAssetChanged(tokenId_, appId_, sessionId_, deviceId_, assetValue_); HWTEST_F() local 531 auto result = manager->SyncOnStore(prefix, deviceList, func); HWTEST_F() local 552 auto result = manager->RetrieveFromStore(appId_, sessionId_, results); HWTEST_F() local 600 auto result = manager->SplitEntryKey(key1); HWTEST_F() local 697 auto result = manager->IsAssetComplete(results, assetPrefix); HWTEST_F() local 739 auto result = manager->GetAssetsFromDBRecords(results); HWTEST_F() local 751 std::map<std::string, std::vector<uint8_t>> result; HWTEST_F() local 819 auto result = manager->RegisterAssetsLister(); HWTEST_F() local 843 auto result = manager->PushAssets(appId_, appId_, sessionId_, data, deviceId_); HWTEST_F() local 860 auto result = syncManager->DeleteNotifier(sequenceId_, userId_); HWTEST_F() local 878 auto result = syncManager->DeleteNotifier(sequenceId_, userId_); HWTEST_F() local 892 auto result = manager->BindAsset(tokenId, bundleName, sessionId_, assetValue_, assetBindInfo_); HWTEST_F() local [all...] |
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/ |
H A D | image_receiver_test.cpp | 167 napi_value result[1] = {0}; in Callback() local 180 napi_create_uint32(context->env, receiverKey, &result[0]); in Callback() 182 napi_call_function(context->env, nullptr, callback, 1, result, &retVal); in Callback() 319 napi_value result = nullptr; in JsCreateImageReceiverOptions() local 320 napi_create_int32(env, optionKey, &result); in JsCreateImageReceiverOptions() 321 return result; in JsCreateImageReceiverOptions() 343 napi_value result = nullptr; in JsImageReceiverOptionsGetSize() local 344 napi_create_object(env, &result); in JsImageReceiverOptionsGetSize() 345 setInt32NamedProperty(env, result, "width", size.width); in JsImageReceiverOptionsGetSize() 346 setInt32NamedProperty(env, result, "heigh in JsImageReceiverOptionsGetSize() 368 napi_value result = nullptr; JsImageReceiverOptionsSetSize() local 392 napi_value result = nullptr; JsImageReceiverOptionsGetCapacity() local 412 napi_value result = nullptr; JsImageReceiverOptionsSetCapacity() local 433 napi_value result = nullptr; JsReleaseImageReceiverOptions() local 465 napi_value result = nullptr; JsCreateImageReceiver() local 490 napi_value result = nullptr; JsGetReceivingSurfaceId() local 521 napi_value result = nullptr; JsReadLatestImage() local 552 napi_value result = nullptr; JsReadNextImage() local 587 napi_value result = nullptr; JsOn() local 607 napi_value result = nullptr; JsOff() local 631 napi_value result = nullptr; JsGetSize() local 657 napi_value result = nullptr; JsGetCapacity() local 678 napi_value result = nullptr; JsReleaseImageReceiver() local 702 napi_value result = nullptr; JsGetImageSize() local 729 napi_value result = nullptr; JsGetImageComponentTypes() local 776 napi_value result = nullptr; JsGetImageByteBuffer() local 801 napi_value result = nullptr; JsGetImageBufferSize() local 826 napi_value result = nullptr; JsGetImageRowStride() local 851 napi_value result = nullptr; JsGetImagePixelStride() local 872 napi_value result = nullptr; JsReleaseImage() local [all...] |
/third_party/libfuse/example/ |
H A D | cxxopts.hpp | 176 std::string result; in toUTF8String() local 177 s.toUTF8String(result); in toUTF8String() 179 return result; in toUTF8String() 570 US result = 0; in integer_parser() local 593 US next = result * base + digit; in integer_parser() 594 if (result > next) in integer_parser() 599 result = next; in integer_parser() 602 detail::check_signed_range<T>(negative, result, text); in integer_parser() 606 value = checked_negate<T>(result, in integer_parser() 612 value = static_cast<T>(result); in integer_parser() 686 std::smatch result; parse_value() local 739 T result; parse_value() local 1131 T result; as() local 1403 String result = " "; format_option() local 1451 String result; format_description() local 1541 std::match_results<const char*> result; operator ()() local 1605 auto& result = m_results[value]; parse_option() local 1670 auto& result = m_results[iter->second]; consume_positional() local 1751 std::match_results<const char*> result; parse() local 1966 String result; help_one_group() local 2025 generate_group_help( String& result, const std::vector<std::string>& print_groups ) const generate_group_help() argument 2065 String result = m_help_string + "\\nUsage:\\n " + help() local [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/ |
H A D | bluetooth_avrcp_ct_observer_proxy.cpp | 53 void BluetoothAvrcpCtObserverProxy::OnPressButton(const RawAddress &rawAddr, uint8_t button, int result) in OnPressButton() argument 62 HILOGE("[OnPressButton] fail: write result failed"); in OnPressButton() 67 HILOGE("[OnPressButton] fail: write result failed"); in OnPressButton() 71 if (!data.WriteInt32(result)) { in OnPressButton() 72 HILOGE("[OnPressButton] fail: write result failed"); in OnPressButton() 86 void BluetoothAvrcpCtObserverProxy::OnReleaseButton(const RawAddress &rawAddr, uint8_t button, int result) in OnReleaseButton() argument 95 HILOGE("[OnReleaseButton] fail: write result failed"); in OnReleaseButton() 100 HILOGE("[OnReleaseButton] fail: write result failed"); in OnReleaseButton() 104 if (!data.WriteInt32(result)) { in OnReleaseButton() 105 HILOGE("[OnReleaseButton] fail: write result faile in OnReleaseButton() 118 OnSetBrowsedPlayer(const RawAddress &rawAddr, uint16_t uidCounter, uint32_t numberOfItems, const std::vector<std::string> &folderNames, int result, int detail) OnSetBrowsedPlayer() argument 166 OnGetCapabilities(const RawAddress &rawAddr, const std::vector<uint32_t> &companies, const std::vector<uint8_t> &events, int result) OnGetCapabilities() argument 209 OnGetPlayerAppSettingAttributes( const RawAddress &rawAddr, std::vector<uint8_t> attributes, int result) OnGetPlayerAppSettingAttributes() argument 246 OnGetPlayerAppSettingValues(const RawAddress &rawAddr, int attribute, const std::vector<uint8_t> &values, int result) OnGetPlayerAppSettingValues() argument 288 OnGetPlayerAppSettingCurrentValue( const RawAddress &rawAddr, const std::vector<uint8_t> attributes, const std::vector<uint8_t> &values, int result) OnGetPlayerAppSettingCurrentValue() argument 336 OnSetPlayerAppSettingCurrentValue(const RawAddress &rawAddr, int result) OnSetPlayerAppSettingCurrentValue() argument 364 OnGetPlayerAppSettingAttributeText(const RawAddress &rawAddr, const std::vector<uint8_t> attribtues, const std::vector<std::string> &attributeName, int result) OnGetPlayerAppSettingAttributeText() argument 407 OnGetPlayerAppSettingValueText(const RawAddress &rawAddr, const std::vector<uint8_t> &values, const std::vector<std::string> &valueName, int result) OnGetPlayerAppSettingValueText() argument 450 OnGetElementAttributes(const RawAddress &rawAddr, const std::vector<uint32_t> &attribtues, const std::vector<std::string> &valueName, int result) OnGetElementAttributes() argument 489 OnGetPlayStatus(const RawAddress &rawAddr, uint32_t songLength, uint32_t songPosition, uint8_t playStatus, int result) OnGetPlayStatus() argument 534 OnPlayItem(const RawAddress &rawAddr, int status, int result) OnPlayItem() argument 567 OnGetTotalNumberOfItems(const RawAddress &rawAddr, uint16_t uidCounter, uint32_t numOfItems, int result, int detail) OnGetTotalNumberOfItems() argument 611 OnGetItemAttributes(const RawAddress &rawAddr, const std::vector<uint32_t> &attribtues, const std::vector<std::string> &values, int result, int detail) OnGetItemAttributes() argument 655 OnSetAbsoluteVolume(const RawAddress &rawAddr, uint8_t volume, int result) OnSetAbsoluteVolume() argument 688 OnPlaybackStatusChanged(const RawAddress &rawAddr, uint8_t playStatus, int result) OnPlaybackStatusChanged() argument 721 OnTrackChanged(const RawAddress &rawAddr, uint64_t uid, int result) OnTrackChanged() argument 754 OnTrackReachedEnd(const RawAddress &rawAddr, int result) OnTrackReachedEnd() argument 782 OnTrackReachedStart(const RawAddress &rawAddr, int result) OnTrackReachedStart() argument 810 OnPlaybackPosChanged(const RawAddress &rawAddr, uint32_t playbackPos, int result) OnPlaybackPosChanged() argument 843 OnPlayerAppSettingChanged(const RawAddress &rawAddr, const std::vector<uint8_t> &attributes, const std::vector<uint8_t> &values, int result) OnPlayerAppSettingChanged() argument 890 OnNowPlayingContentChanged(const RawAddress &rawAddr, int result) OnNowPlayingContentChanged() argument 918 OnAvailablePlayersChanged(const RawAddress &rawAddr, int result) OnAvailablePlayersChanged() argument 946 OnAddressedPlayerChanged( const RawAddress &rawAddr, uint16_t playerId, uint16_t uidCounter, int result) OnAddressedPlayerChanged() argument 985 OnUidChanged(const RawAddress &rawAddr, uint16_t uidCounter, int result) OnUidChanged() argument 1018 OnVolumeChanged(const RawAddress &rawAddr, uint8_t volume, int result) OnVolumeChanged() argument 1051 OnGetMediaPlayers(const RawAddress &rawAddr, uint16_t uidCounter, std::vector<BluetoothAvrcpMpItem> &items, int result, int detail) OnGetMediaPlayers() argument 1101 OnGetFolderItems(const RawAddress &rawAddr, uint16_t uidCounter, std::vector<BluetoothAvrcpMeItem> &items, int result, int detail) OnGetFolderItems() argument [all...] |
/test/xts/acts/multimedia/avsource/entry/src/main/cpp/ |
H A D | videodecoderndk.cpp | 54 napi_value result = nullptr;
in OHVideoDecoderCreateByMime() local 56 napi_create_int32(env, backParam, &result);
in OHVideoDecoderCreateByMime() 57 return result;
in OHVideoDecoderCreateByMime() 70 napi_value result = nullptr;
in OHVideoDecoderCreateByName() local 72 napi_create_int32(env, backParam, &result);
in OHVideoDecoderCreateByName() 73 return result;
in OHVideoDecoderCreateByName() 79 napi_value result = nullptr;
in OHVideoDecoderDestroy() local 88 napi_create_int32(env, backParam, &result);
in OHVideoDecoderDestroy() 89 return result;
in OHVideoDecoderDestroy() 142 napi_value result in OHVideoDecoderSetCallback() local 159 napi_value result = nullptr; OHVideoDecoderRegisterCallback() local 176 napi_value result = nullptr; OHVideoDecoderConfigure() local 198 napi_value result = nullptr; OHVideoDecoderPrepare() local 238 napi_value result = nullptr; OHVideoDecoderStart() local 315 napi_value result = nullptr; OHVideoDecoderStop() local 398 napi_value result = nullptr; OHVideoDecoderFlush() local 463 napi_value result = nullptr; OHVideoDecoderReset() local 489 napi_value result = nullptr; OHVideoDecoderGetOutputDescription() local 516 napi_value result = nullptr; OHVideoDecoderSetParameter() local 544 napi_value result = nullptr; OHVideoDecoderPushInputData() local 570 napi_value result = nullptr; OHVideoDecoderPushInputBuffer() local 587 napi_value result = nullptr; OHVideoDecoderFreeOutputBuffer() local 604 napi_value result = nullptr; OHVideoDecoderRenderOutputData() local 622 napi_value result = nullptr; OHVideoDecoderRenderOutputBuffer() local 640 napi_value result = nullptr; OHVideoDecoderIsValid() local [all...] |
/test/xts/acts/telephony/networkmanager/ndk/networkndk/entry/src/main/cpp/ |
H A D | net_connection_ndk_test.cpp | 54 napi_value result = nullptr;
in OHNetConnGetAddrInfo() local 55 napi_create_int32(env, status, &result);
in OHNetConnGetAddrInfo() 56 return result;
in OHNetConnGetAddrInfo() 78 napi_value result = nullptr;
in OHNetConnFreeDnsResult() local 79 napi_create_int32(env, ret, &result);
in OHNetConnFreeDnsResult() 80 return result;
in OHNetConnFreeDnsResult() 99 napi_value result = nullptr;
in OHNetConnGetAllNets() local 100 napi_create_int32(env, ret, &result);
in OHNetConnGetAllNets() 101 return result;
in OHNetConnGetAllNets() 120 napi_value result in OHNetConnHasDefaultNet() local 141 napi_value result = nullptr; OHNetConnIsDefaultNetMetered() local 162 napi_value result = nullptr; OHNetConnGetDefaultNet() local 192 napi_value result = nullptr; OHNetConnGetConnectionProperties() local 222 napi_value result = nullptr; OHNetConnGetNetCapabilities() local 243 napi_value result = nullptr; OHNetConnGetDefaultHttpProxy() local 270 napi_value result = nullptr; OHOSNetConnRegisterDnsResolver() local 295 napi_value result = nullptr; OHOSNetConnUnregisterDnsResolver() local 325 napi_value result = nullptr; OHNetConnBindSocket() local 370 napi_value result = nullptr; OHNetConnRegisterNetConnCallback() local 414 napi_value result = nullptr; OHNetConnRegisterNetConnCallbackTimeout() local 442 napi_value result = nullptr; OHNetConnRegisterDefaultNetConnCallback() local 497 napi_value result = nullptr; OHNetConnUnregisterNetConnCallback() local 524 napi_value result = nullptr; OHNetConnSetAppHttpProxy() local 566 napi_value result = nullptr; OHOSNetConnRegisterAppHttpProxyCallback() local 609 napi_value result = nullptr; OHOSNetConnUnregisterAppHttpProxyCallback() local [all...] |
/third_party/gn/src/gn/ |
H A D | filesystem_utils.cc | 122 std::vector<base::FilePath::StringType> result; in GetPathComponents() local 123 path.GetComponents(&result); in GetPathComponents() 125 if (result.empty()) in GetPathComponents() 126 return result; in GetPathComponents() 131 if (result[0] == FILE_PATH_LITERAL("/") || in GetPathComponents() 132 result[0] == FILE_PATH_LITERAL("\\")) in GetPathComponents() 133 result.erase(result.begin()); in GetPathComponents() 140 if (result.size() >= 2 && result[ in GetPathComponents() 178 AppendFixedAbsolutePathSuffix(const BuildSettings* build_settings, const SourceDir& source_dir, OutputFile* result) AppendFixedAbsolutePathSuffix() argument 835 std::string result; ResolveRelative() local 1069 OutputFile result = GetBuildDirAsOutputFile(context, type); GetSubBuildDirAsOutputFile() local [all...] |
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_query.c | 86 uint64_t result; member 323 q->result = q->map->end != q->map->start; in calculate_result_on_cpu() 328 q->result = intel_device_info_timebase_scale(devinfo, q->map->start); in calculate_result_on_cpu() 329 q->result &= (1ull << TIMESTAMP_BITS) - 1; in calculate_result_on_cpu() 332 q->result = crocus_raw_timestamp_delta(q->map->start, q->map->end); in calculate_result_on_cpu() 333 q->result = intel_device_info_timebase_scale(devinfo, q->result); in calculate_result_on_cpu() 334 q->result &= (1ull << TIMESTAMP_BITS) - 1; in calculate_result_on_cpu() 337 q->result = stream_overflowed((void *) q->map, q->index); in calculate_result_on_cpu() 340 q->result in calculate_result_on_cpu() 392 struct mi_value result = stream_result[0]; calc_overflow_any_stream() local 422 struct mi_value result; calculate_result_on_gpu() local 651 crocus_get_query_result(struct pipe_context *ctx, struct pipe_query *query, bool wait, union pipe_query_result *result) crocus_get_query_result() argument 770 struct mi_value result = calculate_result_on_gpu(devinfo, &b, q); crocus_get_query_result_resource() local 861 struct mi_value result; set_predicate_for_result() local 951 union pipe_query_result result; crocus_resolve_conditional_render() local [all...] |
/foundation/bundlemanager/bundle_tool/frameworks/src/ |
H A D | bundle_test_tool.cpp | 981 ErrCode result = OHOS::ERR_OK; in Init() local 993 result = OHOS::ERR_INVALID_VALUE; in Init() 1002 return result; in Init() 1173 const std::string &bundleName, const std::string &moduleName, std::string &result) const in GetIsRemovableOperation() 1179 result.append("isRemovable: " + std::to_string(isRemovable) + "\n"); in GetIsRemovableOperation() 1288 int result = OHOS::ERR_OK; in RunAsSetRemovableCommand() local 1305 result = !CheckRemovableErrorOption(option, counter, commandName)? OHOS::ERR_INVALID_VALUE : result; in RunAsSetRemovableCommand() 1308 result = !CheckRemovableCorrectOption(option, commandName, isRemovable, name) in RunAsSetRemovableCommand() 1309 ? OHOS::ERR_INVALID_VALUE : result; in RunAsSetRemovableCommand() 1333 int result = OHOS::ERR_OK; RunAsGetRemovableCommand() local 1482 int result = OHOS::ERR_OK; RunAsInstallSandboxCommand() local 1538 int result = OHOS::ERR_OK; RunAsUninstallSandboxCommand() local 1602 int result = OHOS::ERR_OK; RunAsDumpSandboxCommand() local 1649 StringToInt( std::string optarg, const std::string &commandName, int &temp, bool &result) StringToInt() argument 1665 StringToUnsignedLongLong( std::string optarg, const std::string &commandName, uint64_t &temp, bool &result) StringToUnsignedLongLong() argument 1807 int result = OHOS::ERR_OK; RunAsGetProxyDataCommand() local 1857 int result = OHOS::ERR_OK; RunAsGetAllProxyDataCommand() local 1899 int result = OHOS::ERR_OK; RunAsGetStringCommand() local 2002 int result = OHOS::ERR_OK; RunAsSetExtNameOrMIMEToAppCommand() local 2053 int result = OHOS::ERR_OK; RunAsDelExtNameOrMIMEToAppCommand() local 2149 int result = OHOS::ERR_OK; RunAsGetIconCommand() local 2246 ErrCode result = OHOS::ERR_OK; RunAsAddInstallRuleCommand() local 2331 ErrCode result = OHOS::ERR_OK; RunAsGetInstallRuleCommand() local 2425 ErrCode result = OHOS::ERR_OK; RunAsDeleteInstallRuleCommand() local 2510 ErrCode result = OHOS::ERR_OK; RunAsCleanInstallRuleCommand() local 2608 ErrCode result = OHOS::ERR_OK; RunAsAddAppRunningRuleCommand() local 2659 ErrCode result = OHOS::ERR_OK; RunAsDeleteAppRunningRuleCommand() local 2738 ErrCode result = OHOS::ERR_OK; RunAsCleanAppRunningRuleCommand() local 2812 ErrCode result = OHOS::ERR_OK; RunAsGetAppRunningControlRuleCommand() local 2896 ErrCode result = OHOS::ERR_OK; RunAsGetAppRunningControlRuleResultCommand() local 2974 ErrCode result = OHOS::ERR_OK; RunAsCleanBundleCacheFilesAutomaticCommand() local 3020 int32_t result = BundleNameAndUserIdCommonFunc(bundleName, userId, appIndex); RunAsGetContinueBundleName() local 3070 int32_t result = OHOS::ERR_OK; RunAsDeployQuickFix() local 3148 int32_t result = OHOS::ERR_OK; RunAsSwitchQuickFix() local 3202 int32_t result = OHOS::ERR_OK; RunAsDeleteQuickFix() local 3392 int32_t result = OHOS::ERR_OK; RunAsSetDebugMode() local 3455 int32_t result = OHOS::ERR_OK; BundleNameAndUserIdCommonFunc() local 3549 int32_t result = BundleNameAndUserIdCommonFunc(bundleName, userId, appIndex); RunAsGetBundleStats() local 3588 int32_t result = BundleNameAndUserIdCommonFunc(bundleName, userId, appIndex); RunAsGetAppProvisionInfo() local 3637 ErrCode result; RunAsGetDistributedBundleName() local 3681 ErrCode result = OHOS::ERR_OK; CheckGetDistributedBundleNameCorrectOption() local 3944 int32_t result = BundleNameAndUserIdCommonFunc(bundleName, userId, appIndex); RunAsQueryDataGroupInfos() local 3986 ErrCode result; RunAsGetGroupDir() local 4024 ErrCode result = OHOS::ERR_OK; CheckGetGroupIdCorrectOption() local 4065 ErrCode result = OHOS::ERR_OK; CheckGetBundleNameOption() local 4089 int result = OHOS::ERR_OK; RunAsGetJsonProfile() local 4145 int result = OHOS::ERR_OK; RunGetUidByBundleName() local 4196 int result = OHOS::ERR_OK; RunAsGetUninstalledBundleInfo() local 4258 auto result = bundleMgrProxy_->GetOdid(odid); RunAsGetOdid() local 4301 auto result = bundleMgrProxy_->UpdateAppEncryptedStatus(bundleName, static_cast<bool>(appEcrypted), appIndex); RunAsUpdateAppEncryptedStatus() local 4314 ErrCode result = OHOS::ERR_OK; CheckImplicitQueryWantOption() local 4395 int result = OHOS::ERR_OK; RunAsImplicitQuerySkillUriInfo() local 4445 int result = OHOS::ERR_OK; RunAsQueryAbilityInfoByContinueType() local 4497 int32_t result = OHOS::ERR_OK; RunAsGetDirByBundleNameAndAppIndex() local 4548 int32_t result = OHOS::ERR_OK; RunAsIsBundleInstalled() local [all...] |
/foundation/distributedhardware/device_manager/services/service/src/ipc/standard/ |
H A D | ipc_cmd_parser.cpp | 244 int32_t result = pReq->GetResult(); in ON_IPC_SET_REQUEST() local 253 if (!data.WriteInt32(result)) { in ON_IPC_SET_REQUEST() 254 LOGE("write result failed"); in ON_IPC_SET_REQUEST() 278 int32_t result = pReq->GetResult(); in ON_IPC_SET_REQUEST() local 287 if (!data.WriteInt32(result)) { in ON_IPC_SET_REQUEST() 288 LOGE("write result failed"); in ON_IPC_SET_REQUEST() 387 int32_t result = DeviceManagerService::GetInstance().GetTrustedDeviceList(pkgName, extra, deviceList); in ON_IPC_CMD() local 398 if (!reply.WriteInt32(result)) { in ON_IPC_CMD() 399 LOGE("write result failed"); in ON_IPC_CMD() 423 int32_t result in ON_IPC_CMD() local 437 int32_t result = IpcServerStub::GetInstance().UnRegisterDeviceManagerListener(pkgName); ON_IPC_CMD() local 451 int32_t result = ERR_DM_POINT_NULL; ON_IPC_CMD() local 468 int32_t result = DeviceManagerService::GetInstance().StartDeviceDiscovery(pkgName, subscribeId, filterOption); ON_IPC_CMD() local 480 int32_t result = DeviceManagerService::GetInstance().StopDeviceDiscovery(pkgName, subscribeId); ON_IPC_CMD() local 493 int32_t result = ERR_DM_POINT_NULL; ON_IPC_CMD() local 509 int32_t result = DeviceManagerService::GetInstance().UnPublishDeviceDiscovery(pkgName, publishId); ON_IPC_CMD() local 524 int32_t result = DM_OK; ON_IPC_CMD() local 537 int32_t result = DeviceManagerService::GetInstance().UnAuthenticateDevice(pkgName, deviceId); ON_IPC_CMD() local 549 int32_t result = DeviceManagerService::GetInstance().GetDeviceInfo(networkId, deviceInfo); ON_IPC_CMD() local 565 int32_t result = DeviceManagerService::GetInstance().GetLocalDeviceInfo(localDeviceInfo); ON_IPC_CMD() local 582 int32_t result = DeviceManagerService::GetInstance().GetUdidByNetworkId(pkgName, netWorkId, udid); ON_IPC_CMD() local 600 int32_t result = DeviceManagerService::GetInstance().GetUuidByNetworkId(pkgName, netWorkId, uuid); ON_IPC_CMD() local 618 int result = DeviceManagerService::GetInstance().SetUserOperation(packageName, action, params); ON_IPC_CMD() local 741 int result = DeviceManagerService::GetInstance().RegisterCredentialCallback(packageName); ON_IPC_CMD() local 752 int result = DeviceManagerService::GetInstance().UnRegisterCredentialCallback(packageName); ON_IPC_CMD() local 765 int32_t result = DeviceManagerService::GetInstance().NotifyEvent(pkgName, eventId, event); ON_IPC_CMD() local 814 int32_t result = DeviceManagerService::GetInstance().GetEncryptedUuidByNetworkId(pkgName, networkId, uuid); ON_IPC_CMD() local 833 int32_t result = DeviceManagerService::GetInstance().GenerateEncryptedUuid(pkgName, uuid, appId, encryptedUuid); ON_IPC_CMD() local 851 int32_t result = DM_OK; ON_IPC_CMD() local 864 int32_t result = DeviceManagerService::GetInstance().UnBindDevice(pkgName, deviceId); ON_IPC_CMD() local 877 int32_t result = DeviceManagerService::GetInstance().GetNetworkTypeByNetworkId(pkgName, netWorkId, networkType); ON_IPC_CMD() local 892 int32_t result = DeviceManagerService::GetInstance().RegisterUiStateCallback(pkgName); ON_IPC_CMD() local 903 int32_t result = DeviceManagerService::GetInstance().UnRegisterUiStateCallback(pkgName); ON_IPC_CMD() local 915 int32_t result = DeviceManagerService::GetInstance().ImportAuthCode(pkgName, authCode); ON_IPC_CMD() local 926 int32_t result = DeviceManagerService::GetInstance().ExportAuthCode(authCode); ON_IPC_CMD() local 947 int32_t result = DeviceManagerService::GetInstance().EnableDiscoveryListener(pkgName, discoverParam, filterOptions); ON_IPC_CMD() local 961 int32_t result = DeviceManagerService::GetInstance().DisableDiscoveryListener(pkgName, extraParam); ON_IPC_CMD() local 978 int32_t result = DeviceManagerService::GetInstance().StartDiscovering(pkgName, discoverParam, filterOptions); ON_IPC_CMD() local 992 int32_t result = DeviceManagerService::GetInstance().StopDiscovering(pkgName, discoverParam); ON_IPC_CMD() local 1006 int32_t result = DeviceManagerService::GetInstance().StartAdvertising(pkgName, advertiseParam); ON_IPC_CMD() local 1020 int32_t result = DeviceManagerService::GetInstance().StopAdvertising(pkgName, advertiseParam); ON_IPC_CMD() local 1036 int32_t result = DeviceManagerService::GetInstance().BindTarget(pkgName, targetId, bindParam); ON_IPC_CMD() local 1052 int32_t result = DeviceManagerService::GetInstance().UnbindTarget(pkgName, targetId, unbindParam); ON_IPC_CMD() local 1068 int32_t result = pReq->GetResult(); ON_IPC_SET_REQUEST() local 1113 int32_t result = pReq->GetResult(); ON_IPC_SET_REQUEST() local 1148 int32_t result = DeviceManagerService::GetInstance().RegisterPinHolderCallback(pkgName); ON_IPC_CMD() local 1163 int32_t result = DeviceManagerService::GetInstance().CreatePinHolder(pkgName, targetId, pinType, payload); ON_IPC_CMD() local 1178 int32_t result = DeviceManagerService::GetInstance().DestroyPinHolder(pkgName, targetId, pinType, payload); ON_IPC_CMD() local 1268 int32_t result = pReq->GetResult(); ON_IPC_SET_REQUEST() local 1298 int32_t result = pReq->GetResult(); ON_IPC_SET_REQUEST() local 1324 int32_t result = DeviceManagerService::GetInstance().DpAclAdd(udid); ON_IPC_CMD() local 1337 int32_t result = DeviceManagerService::GetInstance().GetDeviceSecurityLevel(pkgName, networkId, securityLevel); ON_IPC_CMD() local 1355 int32_t result = pReq->GetResult(); ON_IPC_SET_REQUEST() local 1390 int32_t result = DeviceManagerService::GetInstance().IsSameAccount(netWorkId); ON_IPC_CMD() local 1401 int32_t result = DeviceManagerService::GetInstance().CheckApiPermission(permissionLevel); ON_IPC_CMD() local 1415 int32_t result = DeviceManagerService::GetInstance().CheckAccessControl(caller, callee); ON_IPC_CMD() local 1429 int32_t result = DeviceManagerService::GetInstance().CheckIsSameAccount(caller, callee); ON_IPC_CMD() local 1441 int32_t result = DeviceManagerService::GetInstance().ShiftLNNGear(pkgName, pkgName, true, true); ON_IPC_CMD() local 1455 int32_t result = DeviceManagerService::GetInstance().SetDnPolicy(pkgName, policy); ON_IPC_CMD() local 1466 int32_t result = DeviceManagerService::GetInstance().StopAuthenticateDevice(pkgName); ON_IPC_CMD() local 1548 int32_t result = DeviceManagerService::GetInstance().GetDeviceScreenStatus(pkgName, networkId, screenStatus); ON_IPC_CMD() local 1563 int32_t result = DeviceManagerService::GetInstance().GetNetworkIdByUdid(pkgName, udid, netWorkId); ON_IPC_CMD() local [all...] |
/third_party/libcoap/tests/ |
H A D | test_pdu.c | 28 int result; in t_parse_pdu1() local 30 result = coap_pdu_parse(COAP_PROTO_UDP, teststr, sizeof(teststr), pdu); in t_parse_pdu1() 31 CU_ASSERT(result > 0); in t_parse_pdu1() 44 int result; in t_parse_pdu2() local 46 result = coap_pdu_parse(COAP_PROTO_UDP, teststr, sizeof(teststr), pdu); in t_parse_pdu2() 47 CU_ASSERT(result > 0); in t_parse_pdu2() 61 int result; in t_parse_pdu3() local 63 result = coap_pdu_parse(COAP_PROTO_UDP, teststr, sizeof(teststr), pdu); in t_parse_pdu3() 64 CU_ASSERT(result == 0); in t_parse_pdu3() 73 int result; in t_parse_pdu4() local 91 int result; t_parse_pdu5() local 113 int result; t_parse_pdu6() local 126 int result; t_parse_pdu7() local 151 int result; t_parse_pdu8() local 172 int result; t_parse_pdu9() local 184 int result; t_parse_pdu10() local 193 int result; t_parse_pdu11() local 209 int result; t_parse_pdu12() local 227 int result; t_parse_pdu13() local 239 int result; t_parse_pdu14() local 253 int result; t_parse_pdu15() local 296 int result; t_parse_pdu16() local 318 int result; t_parse_pdu17() local 338 int result; t_encode_pdu1() local 358 int result; t_encode_pdu2() local 377 int result; t_encode_pdu3() local 400 int result; t_encode_pdu4() local 451 int result; t_encode_pdu5() local 511 int result; t_encode_pdu7() local 534 int result; t_encode_pdu8() local 566 int result; t_encode_pdu9() local 648 int result; t_encode_pdu10() local 701 int result; t_encode_pdu11() local 1022 int result; t_encode_pdu18() local [all...] |