Home
last modified time | relevance | path

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

1234567891011

/external/tcpdump/
Dprint-krb.c151 register const struct krb *kp; in krb4_print() local
157 #define IS_LENDIAN(kp) (((kp)->type & 0x01) != 0) in krb4_print() argument
158 #define KTOHSP(kp, cp) (IS_LENDIAN(kp) ? EXTRACT_LE_16BITS(cp) : EXTRACT_16BITS(cp)) in krb4_print() argument
160 kp = (const struct krb *)cp; in krb4_print()
162 if ((&kp->type) >= ndo->ndo_snapend) { in krb4_print()
167 type = kp->type & (0xFF << 1); in krb4_print()
170 IS_LENDIAN(kp) ? "le" : "be", tok2str(type2str, NULL, type))); in krb4_print()
201 len = KTOHSP(kp, cp); in krb4_print()
210 ND_PRINT((ndo, " %s ", tok2str(kerr2str, NULL, KTOHSP(kp, cp)))); in krb4_print()
229 register const struct krb *kp; in krb_print() local
[all …]
/external/nos/host/android/hals/keymaster/
Dimport_wrapped_key.cpp127 KeyParameter kp; in parse_asn1_set() local
132 kp.tag = tag; in parse_asn1_set()
135 kp.f.purpose = (KeyPurpose)val; in parse_asn1_set()
138 kp.f.blockMode = (BlockMode)val; in parse_asn1_set()
141 kp.f.digest = (Digest)val; in parse_asn1_set()
144 kp.f.paddingMode = (PaddingMode)val; in parse_asn1_set()
147 kp.f.longInteger = val; in parse_asn1_set()
153 if (key_parameter_to_pb(kp, param) != ErrorCode::OK) { in parse_asn1_set()
176 KeyParameter kp; in parse_asn1_integer() local
177 kp.tag = tag; in parse_asn1_integer()
[all …]
Dproto_utils.cpp579 KeyParameter *kp) in pb_to_key_parameter() argument
589 &kp->f.purpose) != ErrorCode::OK) { in pb_to_key_parameter()
595 &kp->f.algorithm) != ErrorCode::OK) { in pb_to_key_parameter()
600 kp->f.integer = param.integer(); in pb_to_key_parameter()
605 &kp->f.blockMode) != ErrorCode::OK) { in pb_to_key_parameter()
612 &kp->f.digest) != ErrorCode::OK) { in pb_to_key_parameter()
619 &kp->f.paddingMode) != ErrorCode::OK) { in pb_to_key_parameter()
624 kp->f.boolValue = (bool)param.integer(); in pb_to_key_parameter()
627 kp->f.integer = param.integer(); in pb_to_key_parameter()
632 &kp->f.ecCurve) != ErrorCode::OK) { in pb_to_key_parameter()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/
DThreading.inc168 struct kinfo_proc *kp = nullptr, *nkp;
175 error = sysctl(ctl, 4, kp, &len, nullptr, 0);
176 if (kp == nullptr || (error != 0 && errno == ENOMEM)) {
178 len += sizeof(*kp) + len / 10;
179 nkp = (struct kinfo_proc *)::realloc(kp, len);
181 free(kp);
184 kp = nkp;
192 for (size_t i = 0; i < len / sizeof(*kp); i++) {
193 if (kp[i].ki_tid == (lwpid_t)tid) {
194 Name.append(kp[i].ki_tdname, kp[i].ki_tdname + strlen(kp[i].ki_tdname));
[all …]
/external/jarjar/src/main/com/tonicsystems/jarjar/
DMainProcessor.java28 private final KeepProcessor kp; field in MainProcessor
47 kp = keepList.isEmpty() ? null : new KeepProcessor(keepList); in MainProcessor()
52 if (kp != null) in MainProcessor()
53 processors.add(kp); in MainProcessor()
61 if (kp == null) in strip()
76 for (String exclude : kp.getExcludes()) { in getExcludes()
95 if (kp != null) in process()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/
Deval.pass.cpp62 int kp = -1; in test1() local
81 if (k != kp) in test1()
89 kp = k; in test1()
114 int kp = -1; in test2() local
133 if (k != kp) in test2()
141 kp = k; in test2()
166 int kp = -1; in test3() local
185 if (k != kp) in test3()
193 kp = k; in test3()
218 int kp = -1; in test4() local
[all …]
Deval_param.pass.cpp62 int kp = -1; in main() local
81 if (k != kp) in main()
89 kp = k; in main()
/external/antlr/runtime/ObjC/Framework/
DAMutableDictionary.m93 ACBKey *kp;
98 kp = [ACBKey newKeyWithKStr:aKey];
102 kp = aKey;
111 node = [root search:kp.key];
113 ret = [node searchnode:kp.key match:YES];
121 if ( mustRelease ) [kp release];
127 ACBKey *kp;
130 kp = [ACBKey newKeyWithKStr:aKey];
134 kp = (ACBKey *)aKey;
141 if ( [root search:kp.key] == nil ) {
[all …]
DACBTree.m121 - (ACBTree *)createnode:(ACBKey *)kp
131 //tmp.keys[0] = kp;
181 - (ACBTree *)insertkey:(ACBKey *)kp value:(id)value
187 q = [self internalinsert:kp value:value split:&h];
344 /** Search key kp on B-tree with root t; if found increment counter.
345 * otherwise insert an item with key kp in tree. If an ACBKey
346 * emerges to be passed to a lower level, then assign it to kp;
349 - (ACBTree *) internalinsert:(ACBKey *)kp value:(id)value split:(NSInteger *)h
356 ret = [keys[i].key compare:kp.key];
363 q = [self insert:kp value:value index:i split:h];
[all …]
/external/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()
/external/one-true-awk/
Dlex.c440 int binsearch(char *w, Keyword *kp, int n) in binsearch() argument
448 if ((cond = strcmp(w, kp[mid].word)) < 0) in binsearch()
460 Keyword *kp; in word() local
465 kp = keywords + n; in word()
467 yylval.i = kp->sub; in word()
468 switch (kp->type) { /* special handling */ in word()
470 if (kp->sub == FSYSTEM && safe) in word()
472 RET(kp->type); in word()
476 RET(kp->type); in word()
480 RET(kp->type); in word()
[all …]
/external/syzkaller/vendor/google.golang.org/grpc/transport/
Dhttp2_server.go81 kp keepalive.ServerParameters member
180 kp := config.KeepaliveParams
181 if kp.MaxConnectionIdle == 0 {
182 kp.MaxConnectionIdle = defaultMaxConnectionIdle
184 if kp.MaxConnectionAge == 0 {
185 kp.MaxConnectionAge = defaultMaxConnectionAge
188 kp.MaxConnectionAge += getJitter(kp.MaxConnectionAge)
189 if kp.MaxConnectionAgeGrace == 0 {
190 kp.MaxConnectionAgeGrace = defaultMaxConnectionAgeGrace
192 if kp.Time == 0 {
[all …]
Dhttp2_client.go80 kp keepalive.ClientParameters member
185 kp := opts.KeepaliveParams
187 if kp.Time == 0 {
188 kp.Time = defaultClientKeepaliveTime
190 if kp.Timeout == 0 {
191 kp.Timeout = defaultClientKeepaliveTimeout
227 kp: kp,
263 if t.kp.Time != infinity {
1182 timer := time.NewTimer(t.kp.Time)
1187 timer.Reset(t.kp.Time)
[all …]
/external/jemalloc_new/test/unit/
Dckh.c53 void **kp, **vp; in TEST_BEGIN() local
56 kp = (i & 1) ? &k.p : NULL; in TEST_BEGIN()
60 assert_false(ckh_search(&ckh, strs[i], kp, vp), in TEST_BEGIN()
79 void **kp, **vp; in TEST_BEGIN() local
82 kp = (i & 1) ? &k.p : NULL; in TEST_BEGIN()
86 assert_false(ckh_remove(tsd, &ckh, strs[i], kp, vp), in TEST_BEGIN()
/external/jemalloc/test/unit/
Dckh.c55 void **kp, **vp; in TEST_BEGIN() local
58 kp = (i & 1) ? &k.p : NULL; in TEST_BEGIN()
62 assert_false(ckh_search(&ckh, strs[i], kp, vp), in TEST_BEGIN()
81 void **kp, **vp; in TEST_BEGIN() local
84 kp = (i & 1) ? &k.p : NULL; in TEST_BEGIN()
88 assert_false(ckh_remove(tsd, &ckh, strs[i], kp, vp), in TEST_BEGIN()
/external/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()
/external/clang/test/PCH/
Dcuda-kernel-call.cu10 void kcall(void (*kp)()) { in kcall() argument
11 kp<<<1, 1>>>(); in kcall()
/external/epid-sdk/epid/verifier/src/
Dnrverify.c40 G1ElemStr kp; //!< (element of G1): one entry in SigRL member
85 G1ElemStr const* kp = &sigrl_entry->k; in EpidNrVerify() local
175 sts = ReadEcPoint(G1, kp, sizeof(*kp), kp_pt); in EpidNrVerify()
212 commit_values->kp = sigrl_entry->k; in EpidNrVerify()
/external/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()
/external/webrtc/talk/media/base/
Dcryptoparams.h40 const std::string& kp, in CryptoParams()
42 : tag(t), cipher_suite(cs), key_params(kp), session_params(sp) {} in CryptoParams()
/external/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()
/external/libkmsxx/kmscube/
Dcube-x11.cpp43 xcb_key_press_event_t *kp = (xcb_key_press_event_t *)event; in main_loop() local
44 if (kp->detail == 24 || kp->detail == 9) { in main_loop()
/external/u-boot/arch/arm/dts/
Dimx53-kp.dts15 compatible = "kp,imx53-kp", "fsl,imx53";
63 imx53-kp {
/external/grpc-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((void*)kp[i].private_key); in grpc_tsi_ssl_pem_key_cert_pairs_destroy()
42 gpr_free((void*)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()
/external/nos/host/android/hals/keymaster/test/
Dimport_key_test.cpp341 KeyParameter kp; in TEST() local
342 kp.tag = Tag::ALGORITHM; in TEST()
343 kp.f.algorithm = Algorithm::RSA; in TEST()
376 ImportKey(ImportKeyRequestEq(hidl_vec<KeyParameter>{kp}, rsa.get()), _)) in TEST()
381 hidl_vec<KeyParameter>{kp}, KeyFormat::PKCS8, der_vec, in TEST()

1234567891011