Home
last modified time | relevance | path

Searched refs:ptype (Results 1 – 25 of 76) sorted by relevance

1234

/external/libmtp/examples/
Dpathutils.c132 char *ptype; in find_filetype() local
136 ptype = strrchr(filename, '.'); in find_filetype()
138 ptype = rindex(filename,'.'); in find_filetype()
141 if (!ptype) { in find_filetype()
142 ptype = ""; in find_filetype()
144 ++ptype; in find_filetype()
148 if (!strcasecmp (ptype, "wav")) { in find_filetype()
150 } else if (!strcasecmp (ptype, "mp3")) { in find_filetype()
152 } else if (!strcasecmp (ptype, "wma")) { in find_filetype()
154 } else if (!strcasecmp (ptype, "ogg")) { in find_filetype()
[all …]
/external/iproute2/tc/
Dm_skbedit.c61 __u16 queue_mapping, ptype; in parse_skbedit() local
100 ptype = PACKET_HOST; in parse_skbedit()
102 ptype = PACKET_BROADCAST; in parse_skbedit()
104 ptype = PACKET_MULTICAST; in parse_skbedit()
106 ptype = PACKET_OTHERHOST; in parse_skbedit()
159 &ptype, sizeof(ptype)); in parse_skbedit()
174 __u16 *queue_mapping, *ptype; in print_skbedit() local
203 ptype = RTA_DATA(tb[TCA_SKBEDIT_PTYPE]); in print_skbedit()
204 if (*ptype == PACKET_HOST) in print_skbedit()
206 else if (*ptype == PACKET_BROADCAST) in print_skbedit()
[all …]
Dm_gact.c106 pp.ptype = PGACT_NETRAND; in parse_gact()
109 pp.ptype = PGACT_DETERM; in parse_gact()
194 fprintf(f, "\n\t random type %s", prob_n2a(pp->ptype)); in print_gact()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dhsw_queryobj.c192 GLenum pname, GLenum ptype) in hsw_result_to_gpr0() argument
285 uint32_t offset, GLenum ptype, uint64_t imm) in store_query_result_imm() argument
287 switch (ptype) { in store_query_result_imm()
327 uint32_t offset, GLenum ptype, uint32_t reg, in store_query_result_reg() argument
331 uint32_t dwords = (ptype == GL_INT || ptype == GL_UNSIGNED_INT) ? 1 : 2; in store_query_result_reg()
354 GLenum pname, GLenum ptype) in hsw_store_query_result() argument
362 store_query_result_imm(brw, bo->buffer, offset, ptype, in hsw_store_query_result()
366 store_query_result_imm(brw, bo->buffer, offset, ptype, 1ull); in hsw_store_query_result()
374 hsw_result_to_gpr0(ctx, query, buf, offset, pname, ptype); in hsw_store_query_result()
377 store_query_result_reg(brw, bo->buffer, offset, ptype, HSW_CS_GPR(0), in hsw_store_query_result()
[all …]
/external/tensorflow/tensorflow/python/lib/core/
Dpy_util.cc47 PyObject* ptype; in PyExceptionFetch() local
50 PyErr_Fetch(&ptype, &pvalue, &ptraceback); in PyExceptionFetch()
51 PyErr_NormalizeException(&ptype, &pvalue, &ptraceback); in PyExceptionFetch()
52 string err = ClassName(ptype); in PyExceptionFetch()
65 Py_DECREF(ptype); in PyExceptionFetch()
/external/boringssl/src/crypto/x509/
Dx_algor.c80 int X509_ALGOR_set0(X509_ALGOR *alg, const ASN1_OBJECT *aobj, int ptype,
85 if (ptype != V_ASN1_UNDEF) {
96 if (ptype == 0)
98 if (ptype == V_ASN1_UNDEF) {
104 ASN1_TYPE_set(alg->parameter, ptype, pval);
Dx509.c69 int ptype, void *pval, uint8_t *penc, int penclen) { in OPENSSL_DECLARE_ERROR_REASON()
96 if (!X509_ALGOR_set0(priv->pkeyalg, aobj, ptype, pval)) { in OPENSSL_DECLARE_ERROR_REASON()
/external/python/cpython2/Demo/tkinter/ttk/
Ddirbrowser.py21 ptype = None
23 if os.path.isdir(p): ptype = "directory"
24 elif os.path.isfile(p): ptype = "file"
27 id = tree.insert(node, "end", text=fname, values=[p, ptype])
29 if ptype == 'directory':
33 elif ptype == 'file':
/external/protobuf/examples/
Dadd_person.go65 ptype, err := rd.ReadString('\n')
69 ptype = strings.TrimSpace(ptype)
72 switch ptype {
80 fmt.Printf("Unknown phone type %q. Using default.\n", ptype)
/external/tensorflow/tensorflow/compiler/xla/service/
Dbatchnorm_expander.cc164 PrimitiveType ptype = operand_shape.element_type(); in HandleBatchNormTraining() local
171 elements_per_feature_literal->Convert(ptype)); in HandleBatchNormTraining()
180 TF_ASSIGN_OR_RETURN(zero_literal, zero_literal->Convert(ptype)); in HandleBatchNormTraining()
184 TF_ASSIGN_OR_RETURN(epsilon_literal, epsilon_literal->Convert(ptype)); in HandleBatchNormTraining()
202 GetScalarBinaryComputation(ptype, HloOpcode::kAdd); in HandleBatchNormTraining()
258 TF_ASSIGN_OR_RETURN(neg_half_literal, neg_half_literal->Convert(ptype)); in HandleBatchNormTraining()
313 PrimitiveType ptype = operand_shape.element_type(); in HandleBatchNormInference() local
322 TF_ASSIGN_OR_RETURN(epsilon_literal, epsilon_literal->Convert(ptype)); in HandleBatchNormInference()
359 TF_ASSIGN_OR_RETURN(neg_half_literal, neg_half_literal->Convert(ptype)); in HandleBatchNormInference()
429 PrimitiveType ptype = activation_shape.element_type(); in HandleBatchNormGrad() local
[all …]
/external/mesa3d/src/gallium/state_trackers/nine/
Dquery9.c80 const unsigned ptype = d3dquerytype_to_pipe_query(screen, type); in nine_is_query_supported() local
82 user_assert(ptype != ~0, D3DERR_INVALIDCALL); in nine_is_query_supported()
84 if (ptype == PIPE_QUERY_TYPES) { in nine_is_query_supported()
98 const unsigned ptype = d3dquerytype_to_pipe_query(device->screen, Type); in NineQuery9_ctor() local
110 user_assert(ptype != ~0, D3DERR_INVALIDCALL); in NineQuery9_ctor()
112 if (ptype < PIPE_QUERY_TYPES) { in NineQuery9_ctor()
113 This->pq = nine_context_create_query(device, ptype); in NineQuery9_ctor()
/external/boringssl/src/crypto/pem/
Dpem_info.c103 unsigned int i, raw, ptype; in STACK_OF() local
118 ptype = 0; in STACK_OF()
174 ptype = EVP_PKEY_RSA; in STACK_OF()
194 ptype = EVP_PKEY_DSA; in STACK_OF()
214 ptype = EVP_PKEY_EC; in STACK_OF()
232 if (ptype) { in STACK_OF()
233 if (!d2i_PrivateKey(ptype, pp, &p, len)) { in STACK_OF()
/external/tcpdump/
Dprint-ppp.c1726 uint16_t ptype; in ppp_bsdos_if_print() local
1750 ptype = *p; in ppp_bsdos_if_print()
1752 ND_PRINT((ndo, "%02x ", ptype)); in ppp_bsdos_if_print()
1757 ptype = EXTRACT_16BITS(p); in ppp_bsdos_if_print()
1759 ND_PRINT((ndo, "%04x ", ptype)); in ppp_bsdos_if_print()
1764 ptype = 0; /*XXX*/ in ppp_bsdos_if_print()
1777 ptype = EXTRACT_16BITS(&ph->phdr_type); in ppp_bsdos_if_print()
1778 if (ndo->ndo_eflag && (ptype == PPP_VJC || ptype == PPP_VJNC)) { in ppp_bsdos_if_print()
1780 "proto-#%d", ptype))); in ppp_bsdos_if_print()
1796 switch (ptype) { in ppp_bsdos_if_print()
[all …]
/external/syslinux/com32/modules/
Dprdhcp.c139 …int ptype[3] = {PXENV_PACKET_TYPE_DHCP_DISCOVER, PXENV_PACKET_TYPE_DHCP_ACK, PXENV_PACKET_TYPE_CAC… in print_dhcp_pkt_all() local
142 if (!pxe_get_cached_info(ptype[i], in print_dhcp_pkt_all()
144 dprintf("Got packet #%d/%d\n", (i + 1), ptype[i]); in print_dhcp_pkt_all()
/external/iproute2/ip/
Dxfrm_policy.c124 static int xfrm_policy_ptype_parse(__u8 *ptype, int *argcp, char ***argvp) in xfrm_policy_ptype_parse() argument
130 *ptype = XFRM_POLICY_TYPE_MAIN; in xfrm_policy_ptype_parse()
132 *ptype = XFRM_POLICY_TYPE_SUB; in xfrm_policy_ptype_parse()
398 __u8 ptype) in xfrm_policy_filter_match() argument
409 if ((ptype^filter.ptype)&filter.ptype_mask) in xfrm_policy_filter_match()
464 __u8 ptype = XFRM_POLICY_TYPE_MAIN; in xfrm_policy_print() local
512 ptype = upt->type; in xfrm_policy_print()
515 if (xpinfo && !xfrm_policy_filter_match(xpinfo, ptype)) in xfrm_policy_print()
706 __u8 ptype = XFRM_POLICY_TYPE_MAIN; in xfrm_policy_keep() local
732 ptype = upt->type; in xfrm_policy_keep()
[all …]
/external/ipsec-tools/src/racoon/
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, NULL);
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, NULL);
/external/boringssl/src/crypto/x509v3/
Dv3_genn.c196 void *GENERAL_NAME_get0_value(GENERAL_NAME *a, int *ptype) in GENERAL_NAME_get0_value() argument
198 if (ptype) in GENERAL_NAME_get0_value()
199 *ptype = a->type; in GENERAL_NAME_get0_value()
/external/boringssl/src/crypto/evp/
Dprint.c217 static int do_dsa_print(BIO *bp, const DSA *x, int off, int ptype) { in do_dsa_print() argument
226 if (ptype == 2) { in do_dsa_print()
231 if (ptype > 0) { in do_dsa_print()
236 if (ptype == 2) { in do_dsa_print()
238 } else if (ptype == 1) { in do_dsa_print()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_queryobj.c330 GLenum pname, GLenum ptype) in st_StoreQueryResult() argument
349 (ptype == GL_INT64_ARB || in st_StoreQueryResult()
350 ptype == GL_UNSIGNED_INT64_ARB) ? 8 : 4, in st_StoreQueryResult()
355 switch (ptype) { in st_StoreQueryResult()
Dst_debug.c116 enum pipe_debug_type ptype, in st_debug_message() argument
125 switch (ptype) { in st_debug_message()
/external/pcre/dist2/src/
Dpcre2_printint.c236 get_ucpname(unsigned int ptype, unsigned int pvalue) in get_ucpname() argument
242 if (ptype == PRIV(utt)[i].type && pvalue == PRIV(utt)[i].value) break; in get_ucpname()
246 (void)ptype; in get_ucpname()
722 unsigned int ptype = *ccode++; in pcre2_printint() local
725 switch(ptype) in pcre2_printint()
741 get_ucpname(ptype, pvalue)); in pcre2_printint()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dgather_op.cc156 xla::PrimitiveType ptype; in XlaGather() local
157 TF_RETURN_IF_ERROR(DataTypeToPrimitiveType(index_type, &ptype)); in XlaGather()
158 TF_ASSIGN_OR_RETURN(auto outputs, XlaForEachIndex(num_indices, ptype, body_fn, in XlaGather()
/external/aac/libFDK/include/
DFDK_matrixCalloc.h159 #define FDK_ALLOCATE_MEMORY_1D_P(a, dim1, type, ptype) \ argument
160 if (((a) = (ptype)fdkCallocMatrix1D((dim1), sizeof(type))) == NULL) { \
/external/python/cpython3/Lib/
Dplatform.py500 def win32_ver(release='', version='', csd='', ptype=''): argument
504 return release, version, csd, ptype
538 ptype = QueryValueEx(key, 'CurrentType')[0]
545 return release, version, csd, ptype
930 release, version, csd, ptype = win32_ver()
1337 rel, vers, csd, ptype = win32_ver(version)

1234