Home
last modified time | relevance | path

Searched refs:kp (Results 1 – 25 of 137) sorted by relevance

123456

/third_party/libwebsockets/lib/tls/mbedtls/
Dlws-genec.c59 mbedtls_ecp_keypair kp; in lws_genec_keypair_import() local
87 mbedtls_ecp_keypair_init(&kp); in lws_genec_keypair_import()
88 if (mbedtls_ecp_group_load(&kp.MBEDTLS_PRIVATE(grp), in lws_genec_keypair_import()
97 mbedtls_mpi_read_binary(&kp.MBEDTLS_PRIVATE(d), in lws_genec_keypair_import()
102 mbedtls_ecp_set_zero(&kp.MBEDTLS_PRIVATE(Q)); in lws_genec_keypair_import()
104 if (mbedtls_mpi_read_binary(&kp.MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(X), in lws_genec_keypair_import()
109 if (mbedtls_mpi_read_binary(&kp.MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(Y), in lws_genec_keypair_import()
114 mbedtls_mpi_lset(&kp.MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(Z), 1); in lws_genec_keypair_import()
118 if (mbedtls_ecdh_get_params(ctx->u.ctx_ecdh, &kp, in lws_genec_keypair_import()
131 if (mbedtls_ecdsa_from_keypair(ctx->u.ctx_ecdsa, &kp)) in lws_genec_keypair_import()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/kate/
Dgstkatespu.c428 gst_kate_spu_create_spu_palette (GstKateEnc * ke, kate_palette * kp) in gst_kate_spu_create_spu_palette() argument
432 kate_palette_init (kp); in gst_kate_spu_create_spu_palette()
433 kp->ncolors = 4; in gst_kate_spu_create_spu_palette()
434 kp->colors = (kate_color *) g_malloc (kp->ncolors * sizeof (kate_color)); in gst_kate_spu_create_spu_palette()
435 if (G_UNLIKELY (!kp->colors)) { in gst_kate_spu_create_spu_palette()
440 for (n = 0; n < kp->ncolors; ++n) { in gst_kate_spu_create_spu_palette()
448 kp->colors[n].r = r; in gst_kate_spu_create_spu_palette()
449 kp->colors[n].g = g; in gst_kate_spu_create_spu_palette()
450 kp->colors[n].b = b; in gst_kate_spu_create_spu_palette()
451 kp->colors[n].a = ke->spu_alpha[n] * 17; in gst_kate_spu_create_spu_palette()
[all …]
Dgstkateenc.c390 gst_kate_enc_create_buffer (GstKateEnc * ke, kate_packet * kp, in gst_kate_enc_create_buffer() argument
396 g_return_val_if_fail (kp != NULL, NULL); in gst_kate_enc_create_buffer()
397 g_return_val_if_fail (kp->data != NULL, NULL); in gst_kate_enc_create_buffer()
399 buffer = gst_buffer_new_allocate (NULL, kp->nbytes, NULL); in gst_kate_enc_create_buffer()
402 (guint) kp->nbytes); in gst_kate_enc_create_buffer()
406 gst_buffer_fill (buffer, 0, kp->data, kp->nbytes); in gst_kate_enc_create_buffer()
441 gst_kate_enc_push_and_free_kate_packet (GstKateEnc * ke, kate_packet * kp, in gst_kate_enc_push_and_free_kate_packet() argument
447 GST_LOG_OBJECT (ke, "Creating buffer, %u bytes", (guint) kp->nbytes); in gst_kate_enc_push_and_free_kate_packet()
449 gst_kate_enc_create_buffer (ke, kp, granpos, timestamp, duration, header); in gst_kate_enc_push_and_free_kate_packet()
452 ("Failed to create buffer, %u bytes", (guint) kp->nbytes)); in gst_kate_enc_push_and_free_kate_packet()
[all …]
/third_party/boost/boost/math/special_functions/
Dheuman_lambda.hpp46 T kp = 1 - k2; in heuman_lambda_imp() local
47 T delta = sqrt(1 - (kp * s2)); in heuman_lambda_imp()
50 result = kp * sinp * cosp / (delta * constants::half_pi<T>()); in heuman_lambda_imp()
51 …result *= ellint_rf_imp(T(0), kp, T(1), pol) + k2 * ellint_rj(T(0), kp, T(1), T(1 - k2 / (delta * … in heuman_lambda_imp()
55 T rkp = sqrt(kp); in heuman_lambda_imp()
Djacobi_zeta.hpp47 T kp = 1 - k2; in jacobi_zeta_imp() local
51 …result = k2 * sinp * cosp * sqrt(1 - k2 * s2) * ellint_rj_imp(T(0), kp, T(1), T(1 - k2 * s2), pol)… in jacobi_zeta_imp()
/third_party/mbedtls/tests/suites/
Dtest_suite_oid.data10 OID get Ext Key Usage - id-kp-serverAuth
13 OID get Ext Key Usage - id-kp-clientAuth
16 OID get Ext Key Usage - id-kp-codeSigning
19 OID get Ext Key Usage - id-kp-emailProtection
22 OID get Ext Key Usage - id-kp-timeStamping
25 OID get Ext Key Usage - id-kp-OCSPSigning
28 OID get Ext Key Usage - id-kp-wisun-fan-device
/third_party/glib/glib/
Dgqsort.c227 char *kp; in msort_r() local
242 if ((kp = tp[i]) != ip) in msort_r()
250 size_t k = (kp - (char *) b) / s; in msort_r()
252 memcpy (jp, kp, s); in msort_r()
254 jp = kp; in msort_r()
255 kp = tp[k]; in msort_r()
257 while (kp != ip); in msort_r()
/third_party/freetype/src/tools/
Dtest_afm.c52 AFM_KernPair kp = fi->KernPairs + i; in dump_fontinfo() local
55 printf( "\t%3d + %3d => (%4d, %4d)\n", kp->index1, in dump_fontinfo()
56 kp->index2, in dump_fontinfo()
57 kp->x, in dump_fontinfo()
58 kp->y ); in dump_fontinfo()
/third_party/flutter/skia/third_party/externals/freetype/src/tools/
Dtest_afm.c53 AFM_KernPair kp = fi->KernPairs + i; in dump_fontinfo() local
56 printf( "\t%3d + %3d => (%4d, %4d)\n", kp->index1, in dump_fontinfo()
57 kp->index2, in dump_fontinfo()
58 kp->x, in dump_fontinfo()
59 kp->y ); in dump_fontinfo()
/third_party/skia/third_party/externals/freetype/src/tools/
Dtest_afm.c52 AFM_KernPair kp = fi->KernPairs + i; in dump_fontinfo() local
55 printf( "\t%3d + %3d => (%4d, %4d)\n", kp->index1, in dump_fontinfo()
56 kp->index2, in dump_fontinfo()
57 kp->x, in dump_fontinfo()
58 kp->y ); in dump_fontinfo()
/third_party/boost/libs/math/tools/
Dheuman_lambda_data.cpp20 mp_t kp = sqrt(1 - k *k); in heuman_lambda() local
23 …return ellint_1(kp, phi) / ellint_1(kp) + ellint_1(k) * jacobi_zeta(kp, phi) / constants::half_pi<… in heuman_lambda()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DThreading.inc178 struct kinfo_proc *kp = nullptr, *nkp;
185 error = sysctl(ctl, 4, kp, &len, nullptr, 0);
186 if (kp == nullptr || (error != 0 && errno == ENOMEM)) {
188 len += sizeof(*kp) + len / 10;
189 nkp = (struct kinfo_proc *)::realloc(kp, len);
191 free(kp);
194 kp = nkp;
202 for (size_t i = 0; i < len / sizeof(*kp); i++) {
203 if (kp[i].ki_tid == (lwpid_t)tid) {
204 Name.append(kp[i].ki_tdname, kp[i].ki_tdname + strlen(kp[i].ki_tdname));
[all …]
/third_party/skia/third_party/externals/freetype/src/type1/
Dt1afm.c117 AFM_KernPair kp; in T1_Read_PFM() local
173 kp = fi->KernPairs; in T1_Read_PFM()
203 kp->index1 = FT_Get_Char_Index( t1_face, p[0] ); in T1_Read_PFM()
204 kp->index2 = FT_Get_Char_Index( t1_face, p[1] ); in T1_Read_PFM()
206 kp->x = (FT_Int)FT_PEEK_SHORT_LE(p + 2); in T1_Read_PFM()
207 kp->y = 0; in T1_Read_PFM()
209 kp++; in T1_Read_PFM()
/third_party/freetype/src/type1/
Dt1afm.c117 AFM_KernPair kp; in T1_Read_PFM() local
173 kp = fi->KernPairs; in T1_Read_PFM()
203 kp->index1 = FT_Get_Char_Index( t1_face, p[0] ); in T1_Read_PFM()
204 kp->index2 = FT_Get_Char_Index( t1_face, p[1] ); in T1_Read_PFM()
206 kp->x = (FT_Int)FT_PEEK_SHORT_LE(p + 2); in T1_Read_PFM()
207 kp->y = 0; in T1_Read_PFM()
209 kp++; in T1_Read_PFM()
/third_party/flutter/skia/third_party/externals/freetype/src/type1/
Dt1afm.c118 AFM_KernPair kp; in T1_Read_PFM() local
174 kp = fi->KernPairs; in T1_Read_PFM()
204 kp->index1 = FT_Get_Char_Index( t1_face, p[0] ); in T1_Read_PFM()
205 kp->index2 = FT_Get_Char_Index( t1_face, p[1] ); in T1_Read_PFM()
207 kp->x = (FT_Int)FT_PEEK_SHORT_LE(p + 2); in T1_Read_PFM()
208 kp->y = 0; in T1_Read_PFM()
210 kp++; in T1_Read_PFM()
/third_party/ltp/testcases/kdump/lib/kprobes/
Dkprobes.c33 my_jprobe.kp.symbol_name = "do_fork"; in jprobe_init()
41 my_jprobe.kp.addr, my_jprobe.entry); in jprobe_init()
/third_party/freetype/src/psaux/
Dafmparse.c694 AFM_KernPair kp; in afm_parse_kern_pairs() local
739 kp = fi->KernPairs + n; in afm_parse_kern_pairs()
750 kp->index1 = shared_vals[0].u.u; in afm_parse_kern_pairs()
751 kp->index2 = shared_vals[1].u.u; in afm_parse_kern_pairs()
754 kp->x = 0; in afm_parse_kern_pairs()
755 kp->y = shared_vals[2].u.i; in afm_parse_kern_pairs()
759 kp->x = shared_vals[2].u.i; in afm_parse_kern_pairs()
760 kp->y = ( token == AFM_TOKEN_KP && r == 4 ) in afm_parse_kern_pairs()
/third_party/flutter/skia/third_party/externals/freetype/src/psaux/
Dafmparse.c695 AFM_KernPair kp; in afm_parse_kern_pairs() local
740 kp = fi->KernPairs + n; in afm_parse_kern_pairs()
751 kp->index1 = shared_vals[0].u.u; in afm_parse_kern_pairs()
752 kp->index2 = shared_vals[1].u.u; in afm_parse_kern_pairs()
755 kp->x = 0; in afm_parse_kern_pairs()
756 kp->y = shared_vals[2].u.i; in afm_parse_kern_pairs()
760 kp->x = shared_vals[2].u.i; in afm_parse_kern_pairs()
761 kp->y = ( token == AFM_TOKEN_KP && r == 4 ) in afm_parse_kern_pairs()
/third_party/skia/third_party/externals/freetype/src/psaux/
Dafmparse.c743 AFM_KernPair kp; in afm_parse_kern_pairs() local
808 kp = fi->KernPairs + n; in afm_parse_kern_pairs()
824 kp->index1 = shared_vals[0].u.u; in afm_parse_kern_pairs()
825 kp->index2 = shared_vals[1].u.u; in afm_parse_kern_pairs()
828 kp->x = 0; in afm_parse_kern_pairs()
829 kp->y = shared_vals[2].u.i; in afm_parse_kern_pairs()
833 kp->x = shared_vals[2].u.i; in afm_parse_kern_pairs()
834 kp->y = ( token == AFM_TOKEN_KP && r == 4 ) in afm_parse_kern_pairs()
/third_party/grpc/src/core/lib/security/credentials/ssl/
Dssl_credentials.cc37 void grpc_tsi_ssl_pem_key_cert_pairs_destroy(tsi_ssl_pem_key_cert_pair* kp, in grpc_tsi_ssl_pem_key_cert_pairs_destroy() argument
39 if (kp == nullptr) return; in grpc_tsi_ssl_pem_key_cert_pairs_destroy()
41 gpr_free(const_cast<char*>(kp[i].private_key)); in grpc_tsi_ssl_pem_key_cert_pairs_destroy()
42 gpr_free(const_cast<char*>(kp[i].cert_chain)); in grpc_tsi_ssl_pem_key_cert_pairs_destroy()
44 gpr_free(kp); in grpc_tsi_ssl_pem_key_cert_pairs_destroy()
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dmikey.c116 GstMIKEYPayload *payload, *kp; in GST_START_TEST() local
161 kp = gst_mikey_payload_new (GST_MIKEY_PT_KEY_DATA); in GST_START_TEST()
162 gst_mikey_payload_key_data_set_key (kp, GST_MIKEY_KD_TEK, in GST_START_TEST()
164 fail_unless (gst_mikey_payload_kemac_add_sub (payload, kp)); in GST_START_TEST()
/third_party/openssl/doc/man3/
DX509_get_extension_flags.pod124 correspond to the OIDs B<id-kp-serverAuth>, B<id-kp-clientAuth>,
125 B<id-kp-emailProtection>, B<id-kp-codeSigning>, B<id-kp-OCSPSigning>,
126 B<id-kp-timeStamping>, B<id-kp-dvcs> and B<anyExtendedKeyUsage> respectively.
/third_party/freetype/src/base/
Dfthash.c52 const char* kp = key->str; in hash_str_lookup() local
57 while ( *kp ) in hash_str_lookup()
58 res = ( res << 5 ) - res + (FT_ULong)*kp++; in hash_str_lookup()
/third_party/flutter/skia/third_party/externals/freetype/src/base/
Dfthash.c53 const char* kp = key->str; in hash_str_lookup() local
58 while ( *kp ) in hash_str_lookup()
59 res = ( res << 5 ) - res + (FT_ULong)*kp++; in hash_str_lookup()
/third_party/skia/third_party/externals/freetype/src/base/
Dfthash.c52 const char* kp = key->str; in hash_str_lookup() local
57 while ( *kp ) in hash_str_lookup()
58 res = ( res << 5 ) - res + (FT_ULong)*kp++; in hash_str_lookup()

123456