/dports/news/tin/tin-2.4.5/libcanlock/test/ |
H A D | canlocktest.c | 122 char *c_key = NULL, *c_lock = NULL; in main() local 157 rv = checker(CL_SHA256, c_key, c_lock); in main() 162 free((void *) c_key); in main() 203 free((void *) c_key); in main() 211 rv = checker(CL_SHA256, c_key, c_lock); in main() 218 c_key = "ShA1:aaaBBBcccDDDeeeFFF"; in main() 220 rv = checker(CL_SHA1, c_key, c_lock); in main() 227 c_key = "ShA1:aaaBBBcccDDDeeeFFF:bN"; in main() 229 rv = checker(CL_SHA1, c_key, c_lock); in main() 238 rv = checker(CL_SHA512, c_key, c_lock); in main() [all …]
|
/dports/chinese/tin/tin-2.4.5/libcanlock/test/ |
H A D | canlocktest.c | 122 char *c_key = NULL, *c_lock = NULL; in main() local 157 rv = checker(CL_SHA256, c_key, c_lock); in main() 162 free((void *) c_key); in main() 203 free((void *) c_key); in main() 211 rv = checker(CL_SHA256, c_key, c_lock); in main() 218 c_key = "ShA1:aaaBBBcccDDDeeeFFF"; in main() 220 rv = checker(CL_SHA1, c_key, c_lock); in main() 227 c_key = "ShA1:aaaBBBcccDDDeeeFFF:bN"; in main() 229 rv = checker(CL_SHA1, c_key, c_lock); in main() 238 rv = checker(CL_SHA512, c_key, c_lock); in main() [all …]
|
/dports/sysutils/py-salt/salt-3004.1/salt/cache/ |
H A D | consul.py | 109 c_key = "{}/{}".format(bank, key) 112 api.kv.put(c_key, c_data) 115 "There was an error writing the key, {}: {}".format(c_key, exc) 123 c_key = "{}/{}".format(bank, key) 125 _, value = api.kv.get(c_key) 131 "There was an error reading the key, {}: {}".format(c_key, exc) 140 c_key = bank 142 c_key = "{}/{}".format(bank, key) 144 return api.kv.delete(c_key, recurse=key is None) 181 c_key = "{}/{}".format(bank, key) [all …]
|
/dports/databases/beansdb/beansdb-0.7.1.4/go_test/ |
H A D | htree.go | 57 c_key := C.CString(key) 58 defer C.free(unsafe.Pointer(c_key)) 59 citem, _ := C.ht_get(t.tree, c_key) 72 c_key := C.CString("@") 73 defer C.free(unsafe.Pointer(c_key)) 78 c_key := C.CString("@") 79 defer C.free(unsafe.Pointer(c_key)) 81 C.ht_get_hash(t.tree, c_key, &cnt) 86 c_key := C.CString(pos) 87 defer C.free(unsafe.Pointer(c_key)) [all …]
|
H A D | bitcask.go | 102 c_key := C.CString(key) 103 defer C.free(unsafe.Pointer(c_key)) 145 c_key := C.CString("@") 146 defer C.free(unsafe.Pointer(c_key)) 151 c_key := C.CString("@") 152 defer C.free(unsafe.Pointer(c_key)) 154 C.bc_get_hash(b.bc, c_key, &cnt) 159 c_key := C.CString(dir) 160 defer C.free(unsafe.Pointer(c_key)) 170 c_key := C.CString(dir) [all …]
|
/dports/games/openomf/openomf-c36c421/testing/ |
H A D | test_hashmap.c | 152 unsigned int c_key = 0; in hashmap_test_autoresize() local 155 hashmap_put(&test_map, &c_key, sizeof(int), &c_value, sizeof(int)); in hashmap_test_autoresize() 157 c_key++; in hashmap_test_autoresize() 160 hashmap_put(&test_map, &c_key, sizeof(int), &c_value, sizeof(int)); in hashmap_test_autoresize() 162 c_key++; in hashmap_test_autoresize() 167 c_key++; in hashmap_test_autoresize() 175 hashmap_del(&test_map, &c_key, sizeof(int)); in hashmap_test_autoresize() 176 c_key--; in hashmap_test_autoresize() 177 hashmap_del(&test_map, &c_key, sizeof(int)); in hashmap_test_autoresize() 178 c_key--; in hashmap_test_autoresize() [all …]
|
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/libpulse-binding-2.25.0/src/ |
H A D | format.rs | 317 let c_key = CString::new(key.clone()).unwrap(); in get_prop_type() localVariable 319 c_key.as_ptr()) } in get_prop_type() 327 let c_key = CString::new(key.clone()).unwrap(); in get_prop_int() localVariable 329 c_key.as_ptr(), &mut i) } in get_prop_int() 342 let c_key = CString::new(key.clone()).unwrap(); in get_prop_int_range() localVariable 357 let c_key = CString::new(key.clone()).unwrap(); in get_prop_int_array() localVariable 380 let c_key = CString::new(key.clone()).unwrap(); in get_prop_string() localVariable 398 let c_key = CString::new(key.clone()).unwrap(); in get_prop_string_array() localVariable 491 c_key.as_ptr(), value); } in set_prop_int() 509 c_key.as_ptr(), min, max); } in set_prop_int_range() [all …]
|
H A D | proplist.rs | 258 let c_key = CString::new(key.clone()).unwrap(); in key_is_valid() localVariable 259 unsafe { capi::pa_proplist_key_valid(c_key.as_ptr()) != 0 } in key_is_valid() 269 let c_key = CString::new(key.clone()).unwrap(); in set_str() localVariable 300 let c_key = CString::new(key.clone()).unwrap(); in set() localVariable 301 match unsafe { capi::pa_proplist_set(self.0.ptr, c_key.as_ptr(), in set() 315 let c_key = CString::new(key.clone()).unwrap(); in get_str() localVariable 316 let ptr = unsafe { capi::pa_proplist_gets(self.0.ptr, c_key.as_ptr()) }; in get_str() 335 let c_key = CString::new(key.clone()).unwrap(); in get() localVariable 359 let c_key = CString::new(key.clone()).unwrap(); in unset() localVariable 360 match unsafe { capi::pa_proplist_unset(self.0.ptr, c_key.as_ptr()) } { in unset() [all …]
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/gdal-0.6.0/src/ |
H A D | config.rs | 37 let c_key = CString::new(key.as_bytes())?; in set_config_option() localVariable 39 unsafe { gdal_sys::CPLSetConfigOption(c_key.as_ptr(), c_val.as_ptr()); }; in set_config_option() 50 let c_key = CString::new(key.as_bytes())?; in get_config_option() localVariable 52 let rv = unsafe { gdal_sys::CPLGetConfigOption(c_key.as_ptr(), c_default.as_ptr()) }; in get_config_option() 61 let c_key = CString::new(key.as_bytes())?; in clear_config_option() localVariable 62 unsafe { gdal_sys::CPLSetConfigOption(c_key.as_ptr(), ::std::ptr::null()); }; in clear_config_option()
|
H A D | metadata.rs | 19 if let Ok(c_key) = CString::new(key.to_owned()) { in metadata_item() 21 …let c_res = unsafe { gdal_sys::GDALGetMetadataItem(self.gdal_object_ptr(), c_key.as_ptr(), c_domai… in metadata_item() 31 let c_key = CString::new(key.to_owned())?; in set_metadata_item() localVariable 35 …let c_res = unsafe { gdal_sys::GDALSetMetadataItem(self.gdal_object_ptr(), c_key.as_ptr(), c_value… in set_metadata_item()
|
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/librecsort/ |
H A D | rsprocess.c | 70 reg uchar *m_key, *c_key, *endd; local 93 m_key = c_key = NIL(uchar*); 200 { int n = (c_key-m_key)+s_key+k; 205 (c_key-m_key),0); 212 c_key = m_key; 220 r->key = c_key; 226 m_key = c_key = NIL(uchar*); 229 { c_key += k; 238 { if(defkeyf && c_key) 239 { c_key -= k; [all …]
|
/dports/shells/ksh93/ast-93u/src/lib/librecsort/ |
H A D | rsprocess.c | 70 reg uchar *m_key, *c_key, *endd; local 93 m_key = c_key = NIL(uchar*); 200 { int n = (c_key-m_key)+s_key+k; 205 (c_key-m_key),0); 212 c_key = m_key; 220 r->key = c_key; 226 m_key = c_key = NIL(uchar*); 229 { c_key += k; 238 { if(defkeyf && c_key) 239 { c_key -= k; [all …]
|
/dports/shells/ast-ksh/ast-ksh93v/src/lib/librecsort/ |
H A D | rsprocess.c | 70 reg uchar *m_key, *c_key, *endd; local 93 m_key = c_key = NIL(uchar*); 200 { int n = (c_key-m_key)+s_key+k; 205 (c_key-m_key),0); 212 c_key = m_key; 220 r->key = c_key; 226 m_key = c_key = NIL(uchar*); 229 { c_key += k; 238 { if(defkeyf && c_key) 239 { c_key -= k; [all …]
|
/dports/net/openmpi/openmpi-4.1.1/ompi/mpi/fortran/mpif-h/ |
H A D | info_set_f.c | 84 char *c_key = NULL, *c_value = NULL; in ompi_info_set_f() local 86 if (OMPI_SUCCESS != (ret = ompi_fortran_string_f2c(key, key_len, &c_key)) || in ompi_info_set_f() 91 if (NULL != c_key) { in ompi_info_set_f() 92 free(c_key); in ompi_info_set_f() 98 c_ierr = PMPI_Info_set(c_info, c_key, c_value); in ompi_info_set_f() 101 free(c_key); in ompi_info_set_f()
|
H A D | info_get_f.c | 85 char *c_key = NULL, c_value[MPI_MAX_INFO_VAL + 1]; in ompi_info_get_f() local 88 if (OMPI_SUCCESS != (ret = ompi_fortran_string_f2c(key, key_len, &c_key))) { in ompi_info_get_f() 95 c_ierr = PMPI_Info_get(c_info, c_key, in ompi_info_get_f() 114 free(c_key); in ompi_info_get_f() 119 free(c_key); in ompi_info_get_f()
|
H A D | info_delete_f.c | 83 char *c_key; in ompi_info_delete_f() local 85 if (OMPI_SUCCESS != (ret = ompi_fortran_string_f2c(key, key_len, &c_key))) { in ompi_info_delete_f() 92 c_ierr = PMPI_Info_delete(c_info, c_key); in ompi_info_delete_f() 95 free(c_key); in ompi_info_delete_f()
|
/dports/net/openmpi3/openmpi-3.1.6/ompi/mpi/fortran/mpif-h/ |
H A D | info_set_f.c | 84 char *c_key = NULL, *c_value = NULL; in ompi_info_set_f() local 86 if (OMPI_SUCCESS != (ret = ompi_fortran_string_f2c(key, key_len, &c_key)) || in ompi_info_set_f() 91 if (NULL != c_key) { in ompi_info_set_f() 92 free(c_key); in ompi_info_set_f() 98 c_ierr = PMPI_Info_set(c_info, c_key, c_value); in ompi_info_set_f() 101 free(c_key); in ompi_info_set_f()
|
H A D | info_get_f.c | 85 char *c_key = NULL, c_value[MPI_MAX_INFO_VAL + 1]; in ompi_info_get_f() local 88 if (OMPI_SUCCESS != (ret = ompi_fortran_string_f2c(key, key_len, &c_key))) { in ompi_info_get_f() 95 c_ierr = PMPI_Info_get(c_info, c_key, in ompi_info_get_f() 114 free(c_key); in ompi_info_get_f() 119 free(c_key); in ompi_info_get_f()
|
H A D | info_delete_f.c | 83 char *c_key; in ompi_info_delete_f() local 85 if (OMPI_SUCCESS != (ret = ompi_fortran_string_f2c(key, key_len, &c_key))) { in ompi_info_delete_f() 92 c_ierr = PMPI_Info_delete(c_info, c_key); in ompi_info_delete_f() 95 free(c_key); in ompi_info_delete_f()
|
/dports/net/liboauth/liboauth-1.0.3/tests/ |
H A D | oauthexample.c | 64 const char *c_key = "key"; //< consumer key in oauth_consumer_example() local 76 …req_url = oauth_sign_url2(request_token_uri, &postarg, OA_HMAC, NULL, c_key, c_secret, NULL, NULL); in oauth_consumer_example() 79 req_url = oauth_sign_url2(request_token_uri, NULL, OA_HMAC, NULL, c_key, c_secret, NULL, NULL); in oauth_consumer_example() 94 …req_url = oauth_sign_url2(access_token_uri, &postarg, OA_HMAC, NULL, c_key, c_secret, t_key, t_sec… in oauth_consumer_example() 97 …req_url = oauth_sign_url2(access_token_uri, NULL, OA_HMAC, NULL, c_key, c_secret, t_key, t_secret); in oauth_consumer_example() 111 …req_url = oauth_sign_url2(test_call_uri, &postarg, OA_HMAC, NULL, c_key, c_secret, t_key, t_secret… in oauth_consumer_example() 114 req_url = oauth_sign_url2(test_call_uri, NULL, OA_HMAC, NULL, c_key, c_secret, t_key, t_secret); in oauth_consumer_example()
|
H A D | oauthsign.c | 19 char *c_key; //< consumer key in main() local 40 c_key = argv[3]; in main() 47 geturl = oauth_sign_url2(url, NULL, OA_HMAC, NULL, c_key, c_secret, t_key, t_secret); in main() 54 post = oauth_sign_url2(url, &postargs, OA_HMAC, NULL, c_key, c_secret, t_key, t_secret); in main()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/nfsd/ |
H A D | nfscache.c | 106 memset(&rp->c_key, 0, sizeof(rp->c_key)); in nfsd_reply_cache_alloc() 107 rp->c_key.k_xid = rqstp->rq_xid; in nfsd_reply_cache_alloc() 108 rp->c_key.k_proc = rqstp->rq_proc; in nfsd_reply_cache_alloc() 111 rp->c_key.k_prot = rqstp->rq_prot; in nfsd_reply_cache_alloc() 112 rp->c_key.k_vers = rqstp->rq_vers; in nfsd_reply_cache_alloc() 113 rp->c_key.k_len = rqstp->rq_arg.len; in nfsd_reply_cache_alloc() 114 rp->c_key.k_csum = csum; in nfsd_reply_cache_alloc() 342 if (key->c_key.k_xid == rp->c_key.k_xid && in nfsd_cache_key_cmp() 343 key->c_key.k_csum != rp->c_key.k_csum) { in nfsd_cache_key_cmp() 348 return memcmp(&key->c_key, &rp->c_key, sizeof(key->c_key)); in nfsd_cache_key_cmp() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/fs/nfsd/ |
H A D | nfscache.c | 106 memset(&rp->c_key, 0, sizeof(rp->c_key)); in nfsd_reply_cache_alloc() 107 rp->c_key.k_xid = rqstp->rq_xid; in nfsd_reply_cache_alloc() 108 rp->c_key.k_proc = rqstp->rq_proc; in nfsd_reply_cache_alloc() 111 rp->c_key.k_prot = rqstp->rq_prot; in nfsd_reply_cache_alloc() 112 rp->c_key.k_vers = rqstp->rq_vers; in nfsd_reply_cache_alloc() 113 rp->c_key.k_len = rqstp->rq_arg.len; in nfsd_reply_cache_alloc() 114 rp->c_key.k_csum = csum; in nfsd_reply_cache_alloc() 342 if (key->c_key.k_xid == rp->c_key.k_xid && in nfsd_cache_key_cmp() 343 key->c_key.k_csum != rp->c_key.k_csum) { in nfsd_cache_key_cmp() 348 return memcmp(&key->c_key, &rp->c_key, sizeof(key->c_key)); in nfsd_cache_key_cmp() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/nfsd/ |
H A D | nfscache.c | 106 memset(&rp->c_key, 0, sizeof(rp->c_key)); in nfsd_reply_cache_alloc() 107 rp->c_key.k_xid = rqstp->rq_xid; in nfsd_reply_cache_alloc() 108 rp->c_key.k_proc = rqstp->rq_proc; in nfsd_reply_cache_alloc() 111 rp->c_key.k_prot = rqstp->rq_prot; in nfsd_reply_cache_alloc() 112 rp->c_key.k_vers = rqstp->rq_vers; in nfsd_reply_cache_alloc() 113 rp->c_key.k_len = rqstp->rq_arg.len; in nfsd_reply_cache_alloc() 114 rp->c_key.k_csum = csum; in nfsd_reply_cache_alloc() 342 if (key->c_key.k_xid == rp->c_key.k_xid && in nfsd_cache_key_cmp() 343 key->c_key.k_csum != rp->c_key.k_csum) { in nfsd_cache_key_cmp() 348 return memcmp(&key->c_key, &rp->c_key, sizeof(key->c_key)); in nfsd_cache_key_cmp() [all …]
|
/dports/security/gnutls/gnutls-3.6.16/guile/src/ |
H A D | core.c | 1741 const char *c_cert, *c_key; variable 2246 const char *c_key; variable 2895 gnutls_openpgp_crt_t c_key; variable 2996 gnutls_openpgp_crt_t c_key; variable 3024 gnutls_openpgp_crt_t c_key; variable 3056 gnutls_openpgp_crt_t c_key; variable 3086 gnutls_openpgp_crt_t c_key; variable 3144 gnutls_openpgp_crt_t c_key; variable 3168 gnutls_openpgp_crt_t c_key; variable 3202 gnutls_openpgp_crt_t c_key; variable [all …]
|