Searched refs:ptype (Results 1 - 25 of 61) sorted by relevance

123

/external/libmtp/examples/
H A Dpathutils.c132 char *ptype; local
136 ptype = strrchr(filename, '.');
138 ptype = rindex(filename,'.');
141 if (!ptype) {
142 ptype = "";
144 ++ptype;
148 if (!strcasecmp (ptype, "wav")) {
150 } else if (!strcasecmp (ptype, "mp3")) {
152 } else if (!strcasecmp (ptype, "wma")) {
154 } else if (!strcasecmp (ptype, "og
[all...]
/external/iproute2/include/linux/tc_act/
H A Dtc_gact.h18 __u16 ptype; member in struct:tc_gact_p
/external/openssl/crypto/asn1/
H A Dx_algor.c80 int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype, void *pval)
84 if (ptype != V_ASN1_UNDEF)
97 if (ptype == 0)
99 if (ptype == V_ASN1_UNDEF)
108 ASN1_TYPE_set(alg->parameter, ptype, pval);
H A Dp8_pkey.c89 int ptype, void *pval,
114 if (!X509_ALGOR_set0(priv->pkeyalg, aobj, ptype, pval))
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dpush.h57 void Push(const Fst<Arc> &ifst, MutableFst<Arc> *ofst, uint32 ptype) { argument
59 if (ptype == kPushWeights) {
62 } else if (ptype & kPushLabels) {
69 if (ptype == (kPushWeights | kPushLabels)) {
/external/qemu/android/
H A Dhw-events.c134 int *ptype,
144 *ptype = 0;
154 *ptype = eventList_findCodeByName( _ev_types_tab, p, q-p );
155 if (*ptype < 0) {
156 *ptype = (int) strtol( p, &end, 0 );
169 list = eventList_findByType( *ptype );
133 android_event_from_str( const char* name, int *ptype, int *pcode, int *pvalue ) argument
/external/openssl/crypto/ec/
H A Dec_ameth.c107 int ptype; local
111 if (!eckey_param2type(&ptype, &pval, ec_key))
127 ptype, pval, penc, penclen))
130 if (ptype == V_ASN1_OBJECT)
139 static EC_KEY *eckey_type2param(int ptype, void *pval) argument
142 if (ptype == V_ASN1_SEQUENCE)
155 else if (ptype == V_ASN1_OBJECT)
194 int ptype, pklen; local
200 X509_ALGOR_get0(NULL, &ptype, &pval, palg);
202 eckey = eckey_type2param(ptype, pva
244 int ptype, pklen; local
316 int eplen, ptype; local
[all...]
/external/openfst/src/include/fst/
H A Dpush.h126 uint32 ptype,
129 if ((ptype & (kPushWeights | kPushLabels)) == kPushWeights) {
131 Push(ofst, rtype, delta, ptype & kPushRemoveTotalWeight);
132 } else if (ptype & kPushLabels) {
139 if (ptype & kPushWeights ) {
150 if (ptype & (kPushRemoveTotalWeight | kPushRemoveCommonAffix)) {
154 ptype & kPushRemoveCommonAffix ? total_weight.Value1()
156 ptype & kPushRemoveTotalWeight ? total_weight.Value2()
160 if (ptype & (kPushRemoveTotalWeight | kPushRemoveCommonAffix))
124 Push(const Fst<Arc> &ifst, MutableFst<Arc> *ofst, uint32 ptype, float delta = kDelta) argument
/external/openssl/crypto/dh/
H A Ddh_ameth.c75 int ptype; local
85 X509_ALGOR_get0(NULL, &ptype, &pval, palg);
87 if (ptype != V_ASN1_SEQUENCE)
133 int ptype; local
149 ptype = V_ASN1_SEQUENCE;
166 ptype, pval, penc, penclen))
188 int ptype; local
199 X509_ALGOR_get0(NULL, &ptype, &pval, palg);
201 if (ptype != V_ASN1_SEQUENCE)
317 ASN1_PCTX *ctx, int ptype)
316 do_dh_print(BIO *bp, const DH *x, int indent, ASN1_PCTX *ctx, int ptype) argument
[all...]
/external/libnfc-nci/src/nfc/llcp/
H A Dllcp_link.c62 static void llcp_link_proc_rx_pdu (UINT8 dsap, UINT8 ptype, UINT8 ssap, BT_HDR *p_msg);
75 static char *llcp_pdu_type (UINT8 ptype);
1081 UINT8 dsap, ptype, ssap; local
1140 ptype = (UINT8) (LLCP_GET_PTYPE (pdu_hdr));
1145 dsap, llcp_pdu_type (ptype), ptype, ssap);
1148 if ( (ptype == LLCP_PDU_DISC_TYPE)
1156 else if (ptype == LLCP_PDU_SYMM_TYPE)
1160 else if (ptype == LLCP_PDU_PAX_TYPE)
1164 else if (ptype
1197 llcp_link_proc_rx_pdu(UINT8 dsap, UINT8 ptype, UINT8 ssap, BT_HDR *p_msg) argument
1263 UINT8 dsap, ptype, ssap; local
1513 UINT8 *p, ptype; local
1703 llcp_pdu_type(UINT8 ptype) argument
[all...]
H A Dllcp_dlc.c1051 static void llcp_dlc_proc_rr_rnr_pdu (UINT8 dsap, UINT8 ptype, UINT8 ssap, UINT16 length, UINT8 *p_data) argument
1083 llcp_util_send_frmr (p_dlcb, error_flags, ptype, *p_data);
1097 if (ptype == LLCP_PDU_RNR_TYPE)
1167 void llcp_dlc_proc_rx_pdu (UINT8 dsap, UINT8 ptype, UINT8 ssap, UINT16 length, UINT8 *p_data) argument
1172 dsap, ptype, ssap);
1176 LLCP_TRACE_ERROR2 ("llcp_dlc_proc_rx_pdu (): Invalid SAP:0x%x for PTYPE:0x%x", dsap, ptype);
1180 switch (ptype)
1208 llcp_dlc_proc_rr_rnr_pdu (dsap, ptype, ssap, length, p_data);
1212 LLCP_TRACE_ERROR1 ("llcp_dlc_proc_rx_pdu (): Unexpected PDU type (0x%x)", ptype);
1217 llcp_util_send_frmr (p_dlcb, LLCP_FRMR_W_ERROR_FLAG, ptype,
[all...]
/external/openssl/crypto/dsa/
H A Ddsa_ameth.c73 int ptype; local
83 X509_ALGOR_get0(NULL, &ptype, &pval, palg);
86 if (ptype == V_ASN1_SEQUENCE)
99 else if ((ptype == V_ASN1_NULL) || (ptype == V_ASN1_UNDEF))
142 int ptype; local
158 ptype = V_ASN1_SEQUENCE;
161 ptype = V_ASN1_UNDEF;
174 ptype, pval, penc, penclen))
194 int ptype; local
430 do_dsa_print(BIO *bp, const DSA *x, int off, int ptype) argument
[all...]
/external/openssl/crypto/pem/
H A Dpem_info.c101 unsigned int i,raw,ptype; local
119 ptype = 0;
181 ptype=EVP_PKEY_RSA;
203 ptype = EVP_PKEY_DSA;
225 ptype = EVP_PKEY_EC;
248 if (ptype)
250 if (!d2i_PrivateKey(ptype, pp, &p, len))
/external/tcpdump/
H A Dprint-ppp.c1601 u_int16_t ptype; local
1625 ptype = *p;
1627 printf("%02x ", ptype);
1632 ptype = ntohs(*(u_int16_t *)p);
1634 printf("%04x ", ptype);
1639 ptype = 0; /*XXX*/
1652 ptype = ntohs(ph->phdr_type);
1653 if (eflag && (ptype == PPP_VJC || ptype == PPP_VJNC)) {
1655 "proto-#%d", ptype));
[all...]
/external/iproute2/tc/
H A Dm_gact.c138 pp.ptype = PGACT_NETRAND;
141 pp.ptype = PGACT_DETERM;
237 fprintf(f, "\n\t random type %s %s val %d",prob_n2a(pp->ptype), action_n2a(pp->paction, b2, sizeof (b2)), pp->pval);
/external/libnfc-nxp/src/
H A DphFriNfc_LlcpTransport_Connection.h36 uint8_t ptype,
H A DphFriNfc_LlcpUtils.c360 pBuffer[nOffset++] = (uint8_t)((psHeader->dsap << 2) | (psHeader->ptype >> 2));
361 pBuffer[nOffset++] = (uint8_t)((psHeader->ptype << 6) | psHeader->ssap);
375 psHeader->ptype = ((pBuffer[nOffset] & 0x03) << 2) | ((pBuffer[nOffset+1] & 0xC0) >> 6);
/external/openssl/crypto/x509v3/
H A Dv3_genn.c196 void *GENERAL_NAME_get0_value(GENERAL_NAME *a, int *ptype)
198 if (ptype)
199 *ptype = a->type;
/external/iproute2/ip/
H A Dxfrm_policy.c58 fprintf(stderr, "Usage: ip xfrm policy { add | update } dir DIR SELECTOR [ index INDEX ] [ ptype PTYPE ]\n");
60 fprintf(stderr, "Usage: ip xfrm policy { delete | get } dir DIR [ SELECTOR | index INDEX ] [ ptype PTYPE ] [mark MARK [mask MASK]]\n");
63 fprintf(stderr, "Usage: ip xfrm policy flush [ ptype PTYPE ]\n");
125 static int xfrm_policy_ptype_parse(__u8 *ptype, int *argcp, char ***argvp) argument
131 *ptype = XFRM_POLICY_TYPE_MAIN;
133 *ptype = XFRM_POLICY_TYPE_SUB;
270 } else if (strcmp(*argv, "ptype") == 0) {
272 duparg("ptype", *argv);
367 __u8 ptype)
375 if ((ptype
366 xfrm_policy_filter_match(struct xfrm_userpolicy_info *xpinfo, __u8 ptype) argument
430 __u8 ptype = XFRM_POLICY_TYPE_MAIN; local
657 __u8 ptype = XFRM_POLICY_TYPE_MAIN; local
[all...]
H A Dxfrm.h103 __u8 ptype; member in struct:xfrm_filter
131 const char *strxf_ptype(__u8 ptype);
/external/libnfc-nci/src/nfc/include/
H A Dllcp_defs.h37 #define LLCP_GET_PDU_HEADER(dsap, ptype, ssap) (((UINT16) (dsap) << 10) | ((UINT16) (ptype) << 6) | (UINT16) (ssap))
/external/ipsec-tools/src/racoon/
H A Disakmp_agg.c347 int ptype; local
557 ptype = oakley_validate_auth(iph1);
558 if (ptype != 0) {
559 if (ptype == -1) {
565 isakmp_info_send_n1(iph1, ptype, NULL);
1325 int ptype; local
1426 ptype = oakley_validate_auth(iph1);
1427 if (ptype != 0) {
1428 if (ptype == -1) {
1434 isakmp_info_send_n1(iph1, ptype, NUL
[all...]
H A Disakmp_base.c591 int ptype; local
686 ptype = oakley_validate_auth(iph1);
687 if (ptype != 0) {
688 if (ptype == -1) {
694 isakmp_info_send_n1(iph1, ptype, NULL);
1080 int ptype; local
1185 ptype = oakley_validate_auth(iph1);
1186 if (ptype != 0) {
1187 if (ptype == -1) {
1193 isakmp_info_send_n1(iph1, ptype, NUL
[all...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DStrip.java203 int ptype = parent.getType();
204 if ( ptype==ANTLRv3Parser.SCOPE || // we have special rules for these
205 ptype==ANTLRv3Parser.AT )
/external/chromium/third_party/libjingle/source/talk/base/
H A Dproxydetect.cc300 ProxyType ptype; local
346 ptype = PROXY_SOCKS5;
348 ptype = PROXY_HTTPS;
352 ptype = PROXY_UNKNOWN;
356 ptype = PROXY_UNKNOWN;
359 if (Better(ptype, proxy->type)) {
360 proxy->type = ptype;
852 proxy->ptype = PT_HTTPS;

Completed in 579 milliseconds

123