/kernel/linux/linux-6.6/fs/verity/ |
H A D | read_metadata.c | 102 int res; in fsverity_read_descriptor() local 104 res = fsverity_get_descriptor(inode, &desc); in fsverity_read_descriptor() 105 if (res) in fsverity_read_descriptor() 106 return res; in fsverity_read_descriptor() 112 res = fsverity_read_buffer(buf, offset, length, desc, desc_size); in fsverity_read_descriptor() 115 return res; in fsverity_read_descriptor() 122 int res; in fsverity_read_signature() local 124 res = fsverity_get_descriptor(inode, &desc); in fsverity_read_signature() 125 if (res) in fsverity_read_signature() 126 return res; in fsverity_read_signature() [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | bitfield_kunit.c | 11 #define CHECK_ENC_GET_U(tp, v, field, res) do { \ 16 KUNIT_ASSERT_FALSE_MSG(context, _res != res, \ 17 "u" #tp "_encode_bits(" #v ", " #field ") is 0x%llx != " #res "\n", \ 24 #define CHECK_ENC_GET_LE(tp, v, field, res) do { \ 30 _res != cpu_to_le##tp(res), \ 33 (u64)(res)); \ 39 #define CHECK_ENC_GET_BE(tp, v, field, res) do { \ 45 _res != cpu_to_be##tp(res), \ 48 (u64)(res)); \ 54 #define CHECK_ENC_GET(tp, v, field, res) d [all...] |
/third_party/ltp/testcases/kernel/io/aio/ |
H A D | aio02.c | 67 static void work_done(io_context_t ctx, struct iocb *iocb, long res, long res2) in work_done() argument 74 if (res != (long)iocb->u.c.nbytes) in work_done() 76 iocb->u.c.nbytes, res); in work_done() 101 cb(ctx, iocb, ep->res, ep->res2); in io_wait_run() 108 int res, fd = 0, i = 0; in io_tio() local 125 res = io_queue_init(AIO_MAXIO, &myctx); in io_tio() 165 res = io_submit(myctx, AIO_MAXIO, iocbps); in io_tio() 166 } while (res == -EAGAIN); in io_tio() 168 if (res < 0) in io_tio() 169 io_error("io_submit tio", res); in io_tio() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | cli.c | 174 char **res; in cli_txt_list_array() local 177 res = os_calloc(count + 1, sizeof(char *)); in cli_txt_list_array() 178 if (res == NULL) in cli_txt_list_array() 183 res[i] = os_strdup(e->txt); in cli_txt_list_array() 184 if (res[i] == NULL) in cli_txt_list_array() 189 return res; in cli_txt_list_array() 213 int i, res; in write_cmd() local 219 res = os_snprintf(pos, end - pos, "%s", cmd); in write_cmd() 220 if (os_snprintf_error(end - pos, res)) in write_cmd() 222 pos += res; in write_cmd() [all...] |
H A D | dragonfly.c | 61 int res; in dragonfly_get_random_qr_qnr() local 69 res = crypto_bignum_legendre(tmp, prime); in dragonfly_get_random_qr_qnr() 70 if (res == 1 && !(*qr)) in dragonfly_get_random_qr_qnr() 72 else if (res == -1 && !(*qnr)) in dragonfly_get_random_qr_qnr() 114 int check, res = -1; in dragonfly_is_quadratic_residue_blind() local 165 res = crypto_bignum_legendre(num, prime); in dragonfly_is_quadratic_residue_blind() 166 if (res == -2) { in dragonfly_is_quadratic_residue_blind() 167 res = -1; in dragonfly_is_quadratic_residue_blind() 170 /* branchless version of res = res in dragonfly_is_quadratic_residue_blind() 219 dragonfly_sqrt(struct crypto_ec *ec, const struct crypto_bignum *val, struct crypto_bignum *res) dragonfly_sqrt() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | cli.c | 174 char **res; in cli_txt_list_array() local 177 res = os_calloc(count + 1, sizeof(char *)); in cli_txt_list_array() 178 if (res == NULL) in cli_txt_list_array() 183 res[i] = os_strdup(e->txt); in cli_txt_list_array() 184 if (res[i] == NULL) in cli_txt_list_array() 189 return res; in cli_txt_list_array() 213 int i, res; in write_cmd() local 219 res = os_snprintf(pos, end - pos, "%s", cmd); in write_cmd() 220 if (os_snprintf_error(end - pos, res)) in write_cmd() 222 pos += res; in write_cmd() [all...] |
H A D | dragonfly.c | 61 int res; in dragonfly_get_random_qr_qnr() local 69 res = crypto_bignum_legendre(tmp, prime); in dragonfly_get_random_qr_qnr() 70 if (res == 1 && !(*qr)) in dragonfly_get_random_qr_qnr() 72 else if (res == -1 && !(*qnr)) in dragonfly_get_random_qr_qnr() 114 int check, res = -1; in dragonfly_is_quadratic_residue_blind() local 165 res = crypto_bignum_legendre(num, prime); in dragonfly_is_quadratic_residue_blind() 166 if (res == -2) { in dragonfly_is_quadratic_residue_blind() 167 res = -1; in dragonfly_is_quadratic_residue_blind() 170 /* branchless version of res = res in dragonfly_is_quadratic_residue_blind() 219 dragonfly_sqrt(struct crypto_ec *ec, const struct crypto_bignum *val, struct crypto_bignum *res) dragonfly_sqrt() argument [all...] |
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/ |
H A D | dms_network_adapter_test.cpp | 100 std::string res = DnetworkAdapter::GetInstance()->GetUdidByNetworkId(""); in HWTEST_F() local 101 EXPECT_EQ(res, ""); in HWTEST_F() 111 std::string res = DnetworkAdapter::GetInstance()->GetUdidByNetworkId(NETWORKID); in HWTEST_F() local 112 EXPECT_EQ(res, ""); in HWTEST_F() 122 std::string res = DnetworkAdapter::GetInstance()->GetUuidByNetworkId(""); in HWTEST_F() local 123 EXPECT_EQ(res, ""); in HWTEST_F() 133 std::string res = DnetworkAdapter::GetInstance()->GetUuidByNetworkId(NETWORKID); in HWTEST_F() local 134 EXPECT_EQ(res, ""); in HWTEST_F() 145 bool res = DtbschedmgrDeviceInfoStorage::GetInstance().Init(); in HWTEST_F() local 147 EXPECT_EQ(res, tru in HWTEST_F() 157 std::string res = DnetworkAdapter::GetInstance()->GetUdidByNetworkId(NETWORKID); HWTEST_F() local 168 std::string res = DnetworkAdapter::GetInstance()->GetUuidByNetworkId(NETWORKID); HWTEST_F() local 244 bool res = DnetworkAdapter::GetInstance()->AddDeviceChangeListener(deviceNodeListener); HWTEST_F() local 261 bool res = DnetworkAdapter::GetInstance()->AddDeviceChangeListener(deviceNodeListener); HWTEST_F() local 275 bool res = DnetworkAdapter::GetInstance()->AddDeviceChangeListener(deviceNodeListener); HWTEST_F() local 290 bool res = DnetworkAdapter::GetInstance()->AddDeviceChangeListener(deviceNodeListener); HWTEST_F() local 335 bool res = DnetworkAdapter::GetInstance()->AddDeviceChangeListener(deviceNodeListener); HWTEST_F() local 360 bool res = DnetworkAdapter::GetInstance()->AddDeviceChangeListener(deviceNodeListener); HWTEST_F() local 383 bool res = DnetworkAdapter::GetInstance()->AddDeviceChangeListener(deviceNodeListener); HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bms_extension/ |
H A D | bms_extension_client.cpp | 59 ErrCode res = bmsExtensionImpl_->QueryAbilityInfos(want, userId, abilityInfos); in QueryLauncherAbility() local 60 if (res != ERR_OK) { in QueryLauncherAbility() 61 APP_LOGE_NOFUNC("query abilitys_ext %{public}s err code %{public}d", bundleName.c_str(), res); in QueryLauncherAbility() 62 return res; in QueryLauncherAbility() 101 ErrCode res = bmsExtensionImpl_->QueryAbilityInfosWithFlag(want, flags, userId, abilityInfos, isNewVersion); in QueryAbilityInfos() local 102 if (res != ERR_OK) { in QueryAbilityInfos() 103 APP_LOGE_NOFUNC("query abilitys_ext %{public}s err code %{public}d", bundleName.c_str(), res); in QueryAbilityInfos() 104 return res; in QueryAbilityInfos() 144 ErrCode res = bmsExtensionImpl_->QueryAbilityInfosWithFlag(wants[i], flags, userId, tmpAbilityInfos, in BatchQueryAbilityInfos() local 146 if (res ! in BatchQueryAbilityInfos() 166 ErrCode res = QueryAbilityInfos(want, flags, userId, abilityInfos, isNewVersion); QueryAbilityInfo() local 200 ErrCode res = bmsExtensionImpl_->GetBundleInfos(flags, bundleInfos, userId, isNewVersion); GetBundleInfos() local 236 ErrCode res = bmsExtensionImpl_->GetBundleInfo(bundleName, flags, userId, bundleInfo, isNewVersion); GetBundleInfo() local 306 ErrCode res = QueryAbilityInfos(want, flags, userId, abilityInfos, isNewVersion); ImplicitQueryAbilityInfos() local [all...] |
/kernel/linux/linux-5.10/arch/mips/alchemy/common/ |
H A D | platform.c | 217 struct resource *res; in alchemy_setup_usb() local 221 if (_new_usbres(&res, &pdev)) in alchemy_setup_usb() 224 res[0].start = alchemy_ohci_data[ctype][0]; in alchemy_setup_usb() 225 res[0].end = res[0].start + 0x100 - 1; in alchemy_setup_usb() 226 res[0].flags = IORESOURCE_MEM; in alchemy_setup_usb() 227 res[1].start = alchemy_ohci_data[ctype][1]; in alchemy_setup_usb() 228 res[1].end = res[1].start; in alchemy_setup_usb() 229 res[ in alchemy_setup_usb() [all...] |
/kernel/linux/linux-6.6/arch/mips/alchemy/common/ |
H A D | platform.c | 223 struct resource *res; in alchemy_setup_usb() local 227 if (_new_usbres(&res, &pdev)) in alchemy_setup_usb() 230 res[0].start = alchemy_ohci_data[ctype][0]; in alchemy_setup_usb() 231 res[0].end = res[0].start + 0x100 - 1; in alchemy_setup_usb() 232 res[0].flags = IORESOURCE_MEM; in alchemy_setup_usb() 233 res[1].start = alchemy_ohci_data[ctype][1]; in alchemy_setup_usb() 234 res[1].end = res[1].start; in alchemy_setup_usb() 235 res[ in alchemy_setup_usb() [all...] |
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/ |
H A D | image_receiver_mdk_test.cpp | 90 int32_t res = OH_Image_Receiver_CreateImageReceiver(env, receiverInfo, &receiver); in JsCreateImageReceiver() local 91 if (res != IMAGE_RESULT_SUCCESS || receiver == nullptr) { in JsCreateImageReceiver() 120 int32_t res = OH_Image_Receiver_GetReceivingSurfaceId(native, buf, ID_SIZE); in JsGetReceivingSurfaceId() local 121 if (res != IMAGE_RESULT_SUCCESS) { in JsGetReceivingSurfaceId() 141 int32_t res = OH_Image_Receiver_ReadLatestImage(native, &result); in JsReadLatestImage() local 142 if (res != IMAGE_RESULT_SUCCESS) { in JsReadLatestImage() 159 int32_t res = OH_Image_Receiver_ReadNextImage(native, &result); in JsReadNextImage() local 160 if (res != IMAGE_RESULT_SUCCESS) { in JsReadNextImage() 183 int32_t res = OH_Image_Receiver_On(native, OnEvent); in JsOn() local 184 napi_create_int32(env, res, in JsOn() 199 int32_t res = OH_Image_Receiver_Release(native); JsReceiverRelease() local 230 int32_t res = OH_Image_Receiver_GetSize(native, &size); JsGetSize() local 251 int32_t res = OH_Image_Receiver_GetCapacity(native, &capacity); JsGetCapacity() local 269 int32_t res = OH_Image_Receiver_GetFormat(native, &format); JsGetFormat() local 308 int32_t res = OH_Image_Release(native); JsImageRelease() local 323 int32_t res = OH_Image_ClipRect(native, &rect); JsImageClipRect() local 346 int32_t res = OH_Image_Size(native, &size); JsImageSize() local 366 int32_t res = OH_Image_Format(native, &format); JsImageFormat() local 395 int32_t res = OH_Image_GetComponent(native, componentType, &component); JsImageGetComponent() local [all...] |
/third_party/FreeBSD/stand/usb/ |
H A D | usb_busdma_loader.c | 66 struct usb_page_search *res) in usbd_get_page() 77 res->buffer = USB_ADD_BYTES(pc->buffer, offset); in usbd_get_page() 91 res->length = USB_PAGE_SIZE - offset; in usbd_get_page() 92 res->physaddr = page->physaddr + offset; in usbd_get_page() 94 res->length = (usb_size_t)-1; in usbd_get_page() 95 res->physaddr = page->physaddr + offset; in usbd_get_page() 101 res->buffer = USB_ADD_BYTES(page->buffer, offset); in usbd_get_page() 108 res->buffer = USB_ADD_BYTES(pc->buffer, offset); in usbd_get_page() 109 res->length = (usb_size_t)-1; in usbd_get_page() 111 res in usbd_get_page() 65 usbd_get_page(struct usb_page_cache *pc, usb_frlength_t offset, struct usb_page_search *res) usbd_get_page() argument 150 struct usb_page_search res; usbd_copy_out() local 218 struct usb_page_search res; usbd_frame_zero() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
H A D | p2p_utils.c | 81 struct p2p_reg_class *res) in p2p_reg_class_intersect() 85 res->reg_class = a->reg_class; in p2p_reg_class_intersect() 91 res->channel[res->channels] = a->channel[i]; in p2p_reg_class_intersect() 92 res->channels++; in p2p_reg_class_intersect() 93 if (res->channels == P2P_MAX_REG_CLASS_CHANNELS) in p2p_reg_class_intersect() 104 * @res: Data structure for returning the intersection of support channels 113 struct p2p_channels *res) in p2p_channels_intersect() 117 os_memset(res, 0, sizeof(*res)); in p2p_channels_intersect() 79 p2p_reg_class_intersect(const struct p2p_reg_class *a, const struct p2p_reg_class *b, struct p2p_reg_class *res) p2p_reg_class_intersect() argument 111 p2p_channels_intersect(const struct p2p_channels *a, const struct p2p_channels *b, struct p2p_channels *res) p2p_channels_intersect() argument 162 p2p_channels_union_inplace(struct p2p_channels *res, const struct p2p_channels *b) p2p_channels_union_inplace() argument 202 p2p_channels_union(const struct p2p_channels *a, const struct p2p_channels *b, struct p2p_channels *res) p2p_channels_union() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/ |
H A D | p2p_utils.c | 84 struct p2p_reg_class *res) in p2p_reg_class_intersect() 88 res->reg_class = a->reg_class; in p2p_reg_class_intersect() 94 res->channel[res->channels] = a->channel[i]; in p2p_reg_class_intersect() 95 res->channels++; in p2p_reg_class_intersect() 96 if (res->channels == P2P_MAX_REG_CLASS_CHANNELS) in p2p_reg_class_intersect() 107 * @res: Data structure for returning the intersection of support channels 116 struct p2p_channels *res) in p2p_channels_intersect() 120 os_memset(res, 0, sizeof(*res)); in p2p_channels_intersect() 82 p2p_reg_class_intersect(const struct p2p_reg_class *a, const struct p2p_reg_class *b, struct p2p_reg_class *res) p2p_reg_class_intersect() argument 114 p2p_channels_intersect(const struct p2p_channels *a, const struct p2p_channels *b, struct p2p_channels *res) p2p_channels_intersect() argument 165 p2p_channels_union_inplace(struct p2p_channels *res, const struct p2p_channels *b) p2p_channels_union_inplace() argument 205 p2p_channels_union(const struct p2p_channels *a, const struct p2p_channels *b, struct p2p_channels *res) p2p_channels_union() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/vsock/ |
H A D | vsock_test.c | 304 ssize_t res; in test_msg_peek_server() local 318 res = recv(fd, buf_peek, sizeof(buf_peek), MSG_PEEK | MSG_DONTWAIT); in test_msg_peek_server() 319 if (res != -1) { in test_msg_peek_server() 320 fprintf(stderr, "expected recv(2) failure, got %zi\n", res); in test_msg_peek_server() 332 res = recv(fd, buf_half, sizeof(buf_half), MSG_PEEK); in test_msg_peek_server() 333 if (res != sizeof(buf_half)) { in test_msg_peek_server() 335 sizeof(buf_half), res); in test_msg_peek_server() 340 res = recv(fd, buf_peek, sizeof(buf_peek), MSG_PEEK); in test_msg_peek_server() 341 if (res != sizeof(buf_peek)) { in test_msg_peek_server() 343 sizeof(buf_peek), res); in test_msg_peek_server() 801 ssize_t res; test_seqpacket_invalid_rec_buffer_server() local 1039 ssize_t res; test_inv_buf_server() local 1090 ssize_t res; test_stream_virtio_skb_merge_client() local 1127 ssize_t res; test_stream_virtio_skb_merge_server() local [all...] |
/kernel/linux/linux-6.6/drivers/pci/ |
H A D | probe.c | 42 struct resource res; member 52 return &r->res; in get_pci_domain_busn_res() 59 r->res.start = 0; in get_pci_domain_busn_res() 60 r->res.end = 0xff; in get_pci_domain_busn_res() 61 r->res.flags = IORESOURCE_BUS | IORESOURCE_PCI_FIXED; in get_pci_domain_busn_res() 65 return &r->res; in get_pci_domain_busn_res() 171 * @res: resource buffer to be filled in 177 struct resource *res, unsigned int pos) in __pci_read_base() 195 res->name = pci_name(dev); in __pci_read_base() 219 res in __pci_read_base() 176 __pci_read_base(struct pci_dev *dev, enum pci_bar_type type, struct resource *res, unsigned int pos) __pci_read_base() argument 333 struct resource *res = &dev->resource[pos]; pci_read_bases() local 339 struct resource *res = &dev->resource[PCI_ROM_RESOURCE]; pci_read_bases() local 404 struct resource *res; pci_read_bridge_io() local 444 struct resource *res; pci_read_bridge_mmio() local 467 struct resource *res; pci_read_bridge_mmio_pref() local 516 struct resource *res; pci_read_bridge_bases() local 887 struct resource *res, *next_res; pci_register_host_bridge() local 1837 struct resource *res; pci_setup_device() local 3105 struct resource *res = &b->busn_res; pci_bus_insert_busn_res() local 3132 struct resource *res = &b->busn_res; pci_bus_update_busn_res_end() local 3153 struct resource *res = &b->busn_res; pci_bus_release_busn_res() local [all...] |
/third_party/python/Python/ |
H A D | Python-ast.c | 803 int res = -1; in ast_type_init() local 815 res = 0; /* if no error occurs, this stays 0 to the end */ in ast_type_init() 821 res = -1; in ast_type_init() 828 res = -1; in ast_type_init() 831 res = PyObject_SetAttr(self, name, PyTuple_GET_ITEM(args, i)); in ast_type_init() 833 if (res < 0) { in ast_type_init() 842 res = -1; in ast_type_init() 847 res = -1; in ast_type_init() 854 res = -1; in ast_type_init() 858 res in ast_type_init() 5502 int res; obj2ast_mod() local 5539 int res; obj2ast_mod() local 5588 int res; obj2ast_mod() local 5637 int res; obj2ast_mod() local 5667 int res; obj2ast_mod() local 5704 int res; obj2ast_mod() local 5749 int res; obj2ast_stmt() local 5766 int res; obj2ast_stmt() local 5783 int res; obj2ast_stmt() local 5800 int res; obj2ast_stmt() local 5830 int res; obj2ast_stmt() local 5847 int res; obj2ast_stmt() local 5864 int res; obj2ast_stmt() local 5901 int res; obj2ast_stmt() local 5938 int res; obj2ast_stmt() local 5955 int res; obj2ast_stmt() local 5991 int res; obj2ast_stmt() local 6008 int res; obj2ast_stmt() local 6025 int res; obj2ast_stmt() local 6062 int res; obj2ast_stmt() local 6099 int res; obj2ast_stmt() local 6116 int res; obj2ast_stmt() local 6152 int res; obj2ast_stmt() local 6169 int res; obj2ast_stmt() local 6206 int res; obj2ast_stmt() local 6243 int res; obj2ast_stmt() local 6280 int res; obj2ast_stmt() local 6331 int res; obj2ast_stmt() local 6361 int res; obj2ast_stmt() local 6413 int res; obj2ast_stmt() local 6450 int res; obj2ast_stmt() local 6467 int res; obj2ast_stmt() local 6499 int res; obj2ast_stmt() local 6516 int res; obj2ast_stmt() local 6533 int res; obj2ast_stmt() local 6566 int res; obj2ast_stmt() local 6583 int res; obj2ast_stmt() local 6600 int res; obj2ast_stmt() local 6617 int res; obj2ast_stmt() local 6651 int res; obj2ast_stmt() local 6668 int res; obj2ast_stmt() local 6685 int res; obj2ast_stmt() local 6722 int res; obj2ast_stmt() local 6759 int res; obj2ast_stmt() local 6793 int res; obj2ast_stmt() local 6810 int res; obj2ast_stmt() local 6827 int res; obj2ast_stmt() local 6864 int res; obj2ast_stmt() local 6901 int res; obj2ast_stmt() local 6934 int res; obj2ast_stmt() local 6951 int res; obj2ast_stmt() local 6988 int res; obj2ast_stmt() local 7040 int res; obj2ast_stmt() local 7057 int res; obj2ast_stmt() local 7094 int res; obj2ast_stmt() local 7146 int res; obj2ast_stmt() local 7183 int res; obj2ast_stmt() local 7220 int res; obj2ast_stmt() local 7252 int res; obj2ast_stmt() local 7289 int res; obj2ast_stmt() local 7326 int res; obj2ast_stmt() local 7357 int res; obj2ast_stmt() local 7374 int res; obj2ast_stmt() local 7425 int res; obj2ast_stmt() local 7442 int res; obj2ast_stmt() local 7475 int res; obj2ast_stmt() local 7512 int res; obj2ast_stmt() local 7549 int res; obj2ast_stmt() local 7586 int res; obj2ast_stmt() local 7639 int res; obj2ast_stmt() local 7676 int res; obj2ast_stmt() local 7713 int res; obj2ast_stmt() local 7750 int res; obj2ast_stmt() local 7801 int res; obj2ast_stmt() local 7818 int res; obj2ast_stmt() local 7848 int res; obj2ast_stmt() local 7900 int res; obj2ast_stmt() local 7917 int res; obj2ast_stmt() local 7954 int res; obj2ast_stmt() local 7984 int res; obj2ast_stmt() local 8034 int res; obj2ast_stmt() local 8084 int res; obj2ast_stmt() local 8166 int res; obj2ast_expr() local 8183 int res; obj2ast_expr() local 8200 int res; obj2ast_expr() local 8217 int res; obj2ast_expr() local 8243 int res; obj2ast_expr() local 8260 int res; obj2ast_expr() local 8311 int res; obj2ast_expr() local 8328 int res; obj2ast_expr() local 8360 int res; obj2ast_expr() local 8377 int res; obj2ast_expr() local 8394 int res; obj2ast_expr() local 8425 int res; obj2ast_expr() local 8442 int res; obj2ast_expr() local 8473 int res; obj2ast_expr() local 8490 int res; obj2ast_expr() local 8522 int res; obj2ast_expr() local 8539 int res; obj2ast_expr() local 8556 int res; obj2ast_expr() local 8587 int res; obj2ast_expr() local 8624 int res; obj2ast_expr() local 8674 int res; obj2ast_expr() local 8725 int res; obj2ast_expr() local 8742 int res; obj2ast_expr() local 8793 int res; obj2ast_expr() local 8810 int res; obj2ast_expr() local 8862 int res; obj2ast_expr() local 8879 int res; obj2ast_expr() local 8896 int res; obj2ast_expr() local 8947 int res; obj2ast_expr() local 8964 int res; obj2ast_expr() local 9014 int res; obj2ast_expr() local 9044 int res; obj2ast_expr() local 9074 int res; obj2ast_expr() local 9106 int res; obj2ast_expr() local 9123 int res; obj2ast_expr() local 9160 int res; obj2ast_expr() local 9212 int res; obj2ast_expr() local 9229 int res; obj2ast_expr() local 9266 int res; obj2ast_expr() local 9318 int res; obj2ast_expr() local 9335 int res; obj2ast_expr() local 9352 int res; obj2ast_expr() local 9383 int res; obj2ast_expr() local 9434 int res; obj2ast_expr() local 9451 int res; obj2ast_expr() local 9483 int res; obj2ast_expr() local 9500 int res; obj2ast_expr() local 9517 int res; obj2ast_expr() local 9549 int res; obj2ast_expr() local 9566 int res; obj2ast_expr() local 9583 int res; obj2ast_expr() local 9614 int res; obj2ast_expr() local 9631 int res; obj2ast_expr() local 9662 int res; obj2ast_expr() local 9679 int res; obj2ast_expr() local 9710 int res; obj2ast_expr() local 9747 int res; obj2ast_expr() local 9778 int res; obj2ast_expr() local 9815 int res; obj2ast_expr() local 9847 int res; obj2ast_expr() local 9864 int res; obj2ast_expr() local 9881 int res; obj2ast_expr() local 10231 int res; obj2ast_comprehension() local 10248 int res; obj2ast_comprehension() local 10265 int res; obj2ast_comprehension() local 10302 int res; obj2ast_comprehension() local 10343 int res; obj2ast_excepthandler() local 10360 int res; obj2ast_excepthandler() local 10377 int res; obj2ast_excepthandler() local 10394 int res; obj2ast_excepthandler() local 10421 int res; obj2ast_excepthandler() local 10438 int res; obj2ast_excepthandler() local 10455 int res; obj2ast_excepthandler() local 10517 int res; obj2ast_arguments() local 10554 int res; obj2ast_arguments() local 10591 int res; obj2ast_arguments() local 10608 int res; obj2ast_arguments() local 10645 int res; obj2ast_arguments() local 10682 int res; obj2ast_arguments() local 10699 int res; obj2ast_arguments() local 10756 int res; obj2ast_arg() local 10773 int res; obj2ast_arg() local 10790 int res; obj2ast_arg() local 10807 int res; obj2ast_arg() local 10824 int res; obj2ast_arg() local 10841 int res; obj2ast_arg() local 10858 int res; obj2ast_arg() local 10895 int res; obj2ast_keyword() local 10912 int res; obj2ast_keyword() local 10929 int res; obj2ast_keyword() local 10946 int res; obj2ast_keyword() local 10963 int res; obj2ast_keyword() local 10980 int res; obj2ast_keyword() local 11017 int res; obj2ast_alias() local 11034 int res; obj2ast_alias() local 11051 int res; obj2ast_alias() local 11068 int res; obj2ast_alias() local 11085 int res; obj2ast_alias() local 11102 int res; obj2ast_alias() local 11135 int res; obj2ast_withitem() local 11152 int res; obj2ast_withitem() local 11185 int res; obj2ast_match_case() local 11202 int res; obj2ast_match_case() local 11219 int res; obj2ast_match_case() local 11280 int res; obj2ast_pattern() local 11297 int res; obj2ast_pattern() local 11314 int res; obj2ast_pattern() local 11331 int res; obj2ast_pattern() local 11356 int res; obj2ast_pattern() local 11386 int res; obj2ast_pattern() local 11416 int res; obj2ast_pattern() local 11468 int res; obj2ast_pattern() local 11505 int res; obj2ast_pattern() local 11542 int res; obj2ast_pattern() local 11575 int res; obj2ast_pattern() local 11592 int res; obj2ast_pattern() local 11629 int res; obj2ast_pattern() local 11666 int res; obj2ast_pattern() local 11717 int res; obj2ast_pattern() local 11748 int res; obj2ast_pattern() local 11765 int res; obj2ast_pattern() local 11795 int res; obj2ast_pattern() local 11866 int res; obj2ast_type_ignore() local 11883 int res; obj2ast_type_ignore() local 12376 mod_ty res = NULL; PyAST_obj2mod() local [all...] |
/third_party/ffmpeg/libavdevice/ |
H A D | v4l2.c | 208 int res = 0; in device_init() local 218 res = AVERROR(errno); in device_init() 233 res = AVERROR(EINVAL); in device_init() 242 return res; in device_init() 247 int res; in first_field() local 250 res = v4l2_ioctl(s->fd, VIDIOC_G_STD, &std); in first_field() 251 if (res < 0) in first_field() 350 int i, res; in mmap_init() local 359 res = AVERROR(errno); in mmap_init() 360 av_log(ctx, AV_LOG_ERROR, "ioctl(VIDIOC_REQBUFS): %s\n", av_err2str(res)); in mmap_init() 416 int res = 0; enqueue_buffer() local 511 int res; mmap_read_frame() local 613 int i, res; mmap_start() local 841 int res = 0; v4l2_read_header() local 995 int res; v4l2_read_packet() local [all...] |
/foundation/resourceschedule/work_scheduler/services/native/src/policy/ |
H A D | power_mode_policy.cpp | 41 int32_t res = COUNT_POWER_MODE_NORMAL; in GetPolicyMaxRunning() local 44 WS_HILOGD("power mode: %{public}d, PolicyRes: %{public}d", mode, res); in GetPolicyMaxRunning() 45 return res; in GetPolicyMaxRunning() 50 WS_HILOGI("charge: %{public}d, power mode: %{public}d, PolicyRes: %{public}d", charge, mode, res); in GetPolicyMaxRunning() 51 res = COUNT_POWER_MODE_CRUCIAL; in GetPolicyMaxRunning() 54 WS_HILOGI("power mode: %{public}d, PolicyRes: %{public}d", mode, res); in GetPolicyMaxRunning() 55 return res; in GetPolicyMaxRunning()
|
/third_party/curl/docs/examples/ |
H A D | persistent.c | 35 CURLcode res; in main() local 47 /* Perform the request, res will get the return code */ in main() 48 res = curl_easy_perform(curl); in main() 50 if(res != CURLE_OK) in main() 52 curl_easy_strerror(res)); in main() 58 /* Perform the request, res will get the return code */ in main() 59 res = curl_easy_perform(curl); in main() 61 if(res != CURLE_OK) in main() 63 curl_easy_strerror(res)); in main()
|
/third_party/node/test/parallel/ |
H A D | test-http-header-read.js | 30 const s = http.createServer(function(req, res) { 33 res.setHeader(contentType, plain); 34 assert.ok(!res.headersSent); 35 res.writeHead(200); 36 assert.ok(res.headersSent); 37 res.end('hello world\n'); 40 assert.strictEqual(plain, res.getHeader(contentType));
|
H A D | test-http-request-agent.js | 20 const server = https.createServer(options, function(req, res) { 21 res.writeHead(200); 22 res.end('hello world\n'); 32 }, common.mustCall(function(res) { 33 console.error(res.statusCode, res.headers); 34 res.resume();
|
/third_party/node/test/pummel/ |
H A D | test-https-no-reader.js | 38 const server = https.createServer(options, function(req, res) { 39 res.writeHead(200); 41 res.write(buf); 43 res.end(); 51 }, function(res) { 52 res.read(0); 57 assert(res.readableLength < 100 * 1024);
|
/third_party/node/deps/ngtcp2/nghttp3/lib/ |
H A D | nghttp3_vec.c | 31 uint64_t res = 0; in nghttp3_vec_len() local 34 res += vec[i].len; in nghttp3_vec_len() 37 return res; in nghttp3_vec_len() 41 uint64_t res = 0; in nghttp3_vec_len_varint() local 47 if (len > NGHTTP3_MAX_VARINT - res) { in nghttp3_vec_len_varint() 51 res += len; in nghttp3_vec_len_varint() 54 return (int64_t)res; in nghttp3_vec_len_varint()
|