Home
last modified time | relevance | path

Searched refs:ret (Results 9351 - 9375 of 19721) sorted by relevance

1...<<371372373374375376377378379380>>...789

/third_party/ltp/testcases/network/lib6/
H A Dgetaddrinfo_01.c50 int ret = 0; in verify_res() local
56 ret |= p->ai_family != family; in verify_res()
57 ret |= p->ai_addrlen != exp_addrlen; in verify_res()
58 ret |= p->ai_addr == 0; in verify_res()
65 ret |= test_cb(p); in verify_res()
81 ret |= sin_family != family; in verify_res()
82 ret |= sin_port != htons(servnum); in verify_res()
85 if (ret) in verify_res()
94 if (ret) { in verify_res()
234 tst_brk(TFAIL, "AI_NUMERICHOST: ret in gaiv()
[all...]
/third_party/lwip/src/apps/snmp/
H A Dsnmp_table.c48 snmp_err_t ret = SNMP_ERR_NOSUCHINSTANCE; in snmp_table_get_instance() local
77 ret = table_node->get_cell_instance( in snmp_table_get_instance()
85 return ret; in snmp_table_get_instance()
166 snmp_err_t ret = SNMP_ERR_NOSUCHINSTANCE; in snmp_table_simple_get_instance() local
175 ret = table_node->get_cell_value( in snmp_table_simple_get_instance()
182 if (ret == SNMP_ERR_NOERROR) { in snmp_table_simple_get_instance()
217 ret = SNMP_ERR_NOERROR; in snmp_table_simple_get_instance()
219 ret = SNMP_ERR_NOSUCHINSTANCE; in snmp_table_simple_get_instance()
224 return ret; in snmp_table_simple_get_instance()
/third_party/node/deps/openssl/openssl/crypto/bn/
H A Dbn_mod.c107 int ret = bn_mod_add_fixed_top(r, a, b, m); in BN_mod_add_quick() local
109 if (ret) in BN_mod_add_quick()
112 return ret; in BN_mod_add_quick()
211 int ret = 0; in BN_mod_mul() local
230 ret = 1; in BN_mod_mul()
233 return ret; in BN_mod_mul()
270 int ret; in BN_mod_lshift() local
282 ret = BN_mod_lshift_quick(r, r, n, (abs_m ? abs_m : m)); in BN_mod_lshift()
286 return ret; in BN_mod_lshift()
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
H A Dcipher_rc2.c47 PROV_RC2_CTX *ret; in rc2_dupctx() local
52 ret = OPENSSL_malloc(sizeof(*ret)); in rc2_dupctx()
53 if (ret == NULL) { in rc2_dupctx()
57 *ret = *in; in rc2_dupctx()
59 return ret; in rc2_dupctx()
184 int ret = 1; in rc2_set_ctx_params() local
196 ret = 0; in rc2_set_ctx_params()
199 if (ret == 0) in rc2_set_ctx_params()
/third_party/node/deps/openssl/openssl/crypto/x509/
H A Dx509_req.c24 X509_REQ *ret; in X509_to_X509_REQ() local
29 ret = X509_REQ_new_ex(x->libctx, x->propq); in X509_to_X509_REQ()
30 if (ret == NULL) { in X509_to_X509_REQ()
35 ri = &ret->req_info; in X509_to_X509_REQ()
43 if (!X509_REQ_set_subject_name(ret, X509_get_subject_name(x))) in X509_to_X509_REQ()
49 i = X509_REQ_set_pubkey(ret, pktmp); in X509_to_X509_REQ()
54 if (!X509_REQ_sign(ret, pkey, md)) in X509_to_X509_REQ()
57 return ret; in X509_to_X509_REQ()
59 X509_REQ_free(ret); in X509_to_X509_REQ()
/third_party/node/deps/openssl/openssl/apps/
H A Decparam.c70 int ret = 0; in list_builtin_curves() local
90 ret = 1; in list_builtin_curves()
93 return ret; in list_builtin_curves()
110 int ret = 1, private = 0; in ecparam_main() local
124 ret = 0; in ecparam_main()
204 ret = 0; in ecparam_main()
337 ret = 0; in ecparam_main()
339 if (ret != 0) in ecparam_main()
351 return ret; in ecparam_main()
/third_party/openssl/test/
H A Dcmactest.c80 int ret = 0; in test_cmac_bad() local
100 ret = 1; in test_cmac_bad()
103 return ret; in test_cmac_bad()
112 int ret = 0; in test_cmac_run() local
162 ret = 1; in test_cmac_run()
165 return ret; in test_cmac_run()
174 int ret = 0; in test_cmac_copy() local
192 ret = 1; in test_cmac_copy()
196 return ret; in test_cmac_copy()
H A Dhmactest.c110 int ret = 0; in test_hmac_bad() local
121 ret = 1; in test_hmac_bad()
124 return ret; in test_hmac_bad()
133 int ret = 0; in test_hmac_run() local
197 ret = 1; in test_hmac_run()
200 return ret; in test_hmac_run()
224 int ret = 0; in test_hmac_copy() local
241 ret = 1; in test_hmac_copy()
245 return ret; in test_hmac_copy()
/third_party/openssl/test/testutil/
H A Ddriver.c188 int ret = -1; in process_shared_options() local
200 return ret; in process_shared_options()
231 ret = 1; in process_shared_options()
233 return ret; in process_shared_options()
237 int pulldown_test_framework(int ret) in pulldown_test_framework() argument
240 return ret; in pulldown_test_framework()
414 char *p, *ret; in glue_strings() local
423 if (!TEST_ptr(ret = p = OPENSSL_malloc(len + 1))) in glue_strings()
429 return ret; in glue_strings()
/third_party/openssl/crypto/bn/
H A Dbn_mod.c102 int ret = bn_mod_add_fixed_top(r, a, b, m); in BN_mod_add_quick() local
104 if (ret) in BN_mod_add_quick()
107 return ret; in BN_mod_add_quick()
201 int ret = 0; in BN_mod_mul() local
220 ret = 1; in BN_mod_mul()
223 return ret; in BN_mod_mul()
260 int ret; in BN_mod_lshift() local
272 ret = BN_mod_lshift_quick(r, r, n, (abs_m ? abs_m : m)); in BN_mod_lshift()
276 return ret; in BN_mod_lshift()
/third_party/openssl/apps/
H A Decparam.c70 int ret = 0; in list_builtin_curves() local
90 ret = 1; in list_builtin_curves()
93 return ret; in list_builtin_curves()
110 int ret = 1, private = 0; in ecparam_main() local
124 ret = 0; in ecparam_main()
204 ret = 0; in ecparam_main()
337 ret = 0; in ecparam_main()
339 if (ret != 0) in ecparam_main()
351 return ret; in ecparam_main()
/third_party/openssl/providers/implementations/ciphers/
H A Dcipher_rc2.c47 PROV_RC2_CTX *ret; in rc2_dupctx() local
52 ret = OPENSSL_malloc(sizeof(*ret)); in rc2_dupctx()
53 if (ret == NULL) { in rc2_dupctx()
57 *ret = *in; in rc2_dupctx()
59 return ret; in rc2_dupctx()
184 int ret = 1; in rc2_set_ctx_params() local
196 ret = 0; in rc2_set_ctx_params()
199 if (ret == 0) in rc2_set_ctx_params()
/third_party/openssl/crypto/x509/
H A Dx509_req.c24 X509_REQ *ret; in X509_to_X509_REQ() local
29 ret = X509_REQ_new_ex(x->libctx, x->propq); in X509_to_X509_REQ()
30 if (ret == NULL) { in X509_to_X509_REQ()
35 ri = &ret->req_info; in X509_to_X509_REQ()
43 if (!X509_REQ_set_subject_name(ret, X509_get_subject_name(x))) in X509_to_X509_REQ()
49 i = X509_REQ_set_pubkey(ret, pktmp); in X509_to_X509_REQ()
54 if (!X509_REQ_sign(ret, pkey, md)) in X509_to_X509_REQ()
57 return ret; in X509_to_X509_REQ()
59 X509_REQ_free(ret); in X509_to_X509_REQ()
/third_party/skia/third_party/externals/zlib/google/
H A Dzip_internal.cc45 void* ret = NULL; in ZipOpenFunc() local
72 ret = malloc(sizeof(WIN32FILE_IOWIN)); in ZipOpenFunc()
73 if (ret == NULL) in ZipOpenFunc()
76 *(static_cast<WIN32FILE_IOWIN*>(ret)) = file_ret; in ZipOpenFunc()
78 return ret; in ZipOpenFunc()
134 void* ret = malloc(sizeof(WIN32FILE_IOWIN)); in HandleOpenFileFunc() local
135 if (ret != NULL) in HandleOpenFileFunc()
136 *(static_cast<WIN32FILE_IOWIN*>(ret)) = file_ret; in HandleOpenFileFunc()
137 return ret; in HandleOpenFileFunc()
/third_party/protobuf/src/google/protobuf/
H A Darena_impl.h189 void* ret = ptr_; in AllocateAligned() local
192 ASAN_UNPOISON_MEMORY_REGION(ret, n); in AllocateAligned()
194 return ret; in AllocateAligned()
202 void* ret = ptr_; in MaybeAllocateAligned() local
205 ASAN_UNPOISON_MEMORY_REGION(ret, n); in MaybeAllocateAligned()
207 *out = ret; in MaybeAllocateAligned()
222 void* ret = AllocateAligned(n); in AllocateAlignedAndAddCleanup() local
223 AddCleanup(ret, cleanup); in AllocateAlignedAndAddCleanup()
224 return ret; in AllocateAlignedAndAddCleanup()
/third_party/rust/crates/nix/src/
H A Dtime.rs229 let ret = in clock_getres()
231 Errno::result(ret)?; in clock_getres()
240 let ret = in clock_gettime()
242 Errno::result(ret)?; in clock_gettime()
257 let ret = in clock_settime()
259 Errno::result(ret).map(drop) in clock_settime()
275 let ret = in clock_getcpuclockid()
277 if ret == 0 { in clock_getcpuclockid()
281 Err(Errno::from_i32(ret)) in clock_getcpuclockid()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
H A Dwps-ap-nfc.py75 ret = wpas.request("WPS_NFC_CONFIG_TOKEN NDEF")
76 if "FAIL" in ret:
78 return ret.rstrip().decode("hex")
85 ret = wpas.request("WPS_NFC_TOKEN NDEF")
86 if "FAIL" in ret:
88 return ret.rstrip().decode("hex")
95 ret = wpas.request("NFC_GET_HANDOVER_SEL NDEF WPS-CR")
96 if "FAIL" in ret:
98 return ret.rstrip().decode("hex")
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
H A Dwps-ap-nfc.py75 ret = wpas.request("WPS_NFC_CONFIG_TOKEN NDEF")
76 if "FAIL" in ret:
78 return ret.rstrip().decode("hex")
85 ret = wpas.request("WPS_NFC_TOKEN NDEF")
86 if "FAIL" in ret:
88 return ret.rstrip().decode("hex")
95 ret = wpas.request("NFC_GET_HANDOVER_SEL NDEF WPS-CR")
96 if "FAIL" in ret:
98 return ret.rstrip().decode("hex")
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/wifiiot_app/src/
H A Dohos_main.c40 hi_u32 ret; in OHOS_Main() local
41 ret = hi_at_init(); in OHOS_Main()
42 if (ret == HI_ERR_SUCCESS) { in OHOS_Main()
/device/soc/rockchip/common/hardware/display/src/display_device/
H A Dhdi_device_interface.cpp27 int ret; in DiscoveryDevice() local
33 ret = drmDevice->Init(); in DiscoveryDevice()
34 if (ret == DISPLAY_SUCCESS) { in DiscoveryDevice()
/device/soc/rockchip/rk3399/hardware/display/src/display_device/
H A Dhdi_device_interface.cpp27 int ret; in DiscoveryDevice() local
33 ret = drmDevice->Init(); in DiscoveryDevice()
34 if (ret == DISPLAY_SUCCESS) { in DiscoveryDevice()
/device/soc/rockchip/rk3566/hardware/display/src/display_device/
H A Dhdi_device_interface.cpp27 int ret; in DiscoveryDevice() local
33 ret = drmDevice->Init(); in DiscoveryDevice()
34 if (ret == DISPLAY_SUCCESS) { in DiscoveryDevice()
/device/soc/rockchip/rk3568/hardware/display/src/display_device/
H A Dhdi_device_interface.cpp27 int ret; in DiscoveryDevice() local
33 ret = drmDevice->Init(); in DiscoveryDevice()
34 if (ret == DISPLAY_SUCCESS) { in DiscoveryDevice()
/device/soc/rockchip/rk3588/hardware/display/src/display_device/
H A Dhdi_device_interface.cpp27 int ret; in DiscoveryDevice() local
33 ret = drmDevice->Init(); in DiscoveryDevice()
34 if (ret == DISPLAY_SUCCESS) { in DiscoveryDevice()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/quick_fix/state/src/
H A Dquick_fix_delete_state.cpp32 auto ret = deleter->Execute(); in Process() local
33 if (ret != ERR_OK) { in Process()
35 return ret; in Process()

Completed in 18 milliseconds

1...<<371372373374375376377378379380>>...789