/external/libmtp/examples/ |
D | pathutils.c | 132 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/ |
D | m_skbedit.c | 61 __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 …]
|
D | m_gact.c | 106 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/tensorflow/tensorflow/python/lib/core/ |
D | py_util.cc | 51 void TryAppendTraceback(PyObject* ptype, PyObject* pvalue, PyObject* ptraceback, in TryAppendTraceback() argument 72 PyObject* ret_val = PyObject_CallFunctionObjArgs(format_exception, ptype, in TryAppendTraceback() 102 PyObject* ptype; in PyExceptionFetch() local 105 PyErr_Fetch(&ptype, &pvalue, &ptraceback); in PyExceptionFetch() 106 PyErr_NormalizeException(&ptype, &pvalue, &ptraceback); in PyExceptionFetch() 107 string err = ClassName(ptype); in PyExceptionFetch() 122 TryAppendTraceback(ptype, pvalue, ptraceback, &err); in PyExceptionFetch() 126 Py_DECREF(ptype); in PyExceptionFetch()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | hsw_queryobj.c | 273 GLenum pname, GLenum ptype) in hsw_result_to_gpr0() argument 370 uint32_t offset, GLenum ptype, uint64_t imm) in store_query_result_imm() argument 372 switch (ptype) { in store_query_result_imm() 411 uint32_t offset, GLenum ptype, uint32_t reg, in store_query_result_reg() argument 416 uint32_t dwords = (ptype == GL_INT || ptype == GL_UNSIGNED_INT) ? 1 : 2; in store_query_result_reg() 437 GLenum pname, GLenum ptype) in hsw_store_query_result() argument 445 store_query_result_imm(brw, bo->buffer, offset, ptype, in hsw_store_query_result() 449 store_query_result_imm(brw, bo->buffer, offset, ptype, 1ull); in hsw_store_query_result() 457 hsw_result_to_gpr0(ctx, query, buf, offset, pname, ptype); in hsw_store_query_result() 460 store_query_result_reg(brw, bo->buffer, offset, ptype, HSW_CS_GPR(0), in hsw_store_query_result() [all …]
|
/external/boringssl/src/crypto/x509/ |
D | x_algor.c | 80 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);
|
D | x509.c | 69 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/ |
D | dirbrowser.py | 21 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/ |
D | add_person.go | 65 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/u-boot/board/cavium/thunderx/ |
D | atf.c | 185 char *ptype; in atf_print_part_table() local 205 ptype = "NBL1FW"; in atf_print_part_table() 208 ptype = "BL2_BL31"; in atf_print_part_table() 211 ptype = "BOOTLDR"; in atf_print_part_table() 214 ptype = "KERNEL"; in atf_print_part_table() 217 ptype = "DEVTREE"; in atf_print_part_table() 220 ptype = "UNKNOWN"; in atf_print_part_table() 222 printf("%10s %10d %10lx\n", ptype, part->size, part->offset); in atf_print_part_table()
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | query9.c | 80 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/tcpdump/ |
D | print-ppp.c | 1726 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/tensorflow/tensorflow/compiler/xla/service/ |
D | batchnorm_expander.cc | 207 PrimitiveType ptype = operand_shape.element_type(); in HandleBatchNormTraining() local 215 TF_ASSIGN_OR_RETURN(zero_literal, zero_literal.Convert(ptype)); in HandleBatchNormTraining() 219 TF_ASSIGN_OR_RETURN(epsilon_literal, epsilon_literal.Convert(ptype)); in HandleBatchNormTraining() 241 GetOrCreateScalarAddComputation(ptype); in HandleBatchNormTraining() 335 PrimitiveType ptype = operand_shape.element_type(); in HandleBatchNormInference() local 344 TF_ASSIGN_OR_RETURN(epsilon_literal, epsilon_literal.Convert(ptype)); in HandleBatchNormInference() 463 PrimitiveType ptype = activation_shape.element_type(); in HandleBatchNormGrad() local 476 TF_ASSIGN_OR_RETURN(zero_literal, zero_literal.Convert(ptype)); in HandleBatchNormGrad() 480 TF_ASSIGN_OR_RETURN(epsilon_literal, epsilon_literal.Convert(ptype)); in HandleBatchNormGrad() 525 GetOrCreateScalarAddComputation(ptype); in HandleBatchNormGrad()
|
/external/iproute2/ip/ |
D | xfrm_policy.c | 124 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/ |
D | isakmp_base.c | 591 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);
|
D | isakmp_agg.c | 347 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/ |
D | v3_genn.c | 191 void *GENERAL_NAME_get0_value(GENERAL_NAME *a, int *ptype) in GENERAL_NAME_get0_value() argument 193 if (ptype) in GENERAL_NAME_get0_value() 194 *ptype = a->type; in GENERAL_NAME_get0_value()
|
/external/u-boot/scripts/kconfig/ |
D | gconf.c | 709 enum prop_type ptype; in on_back_clicked() local 712 ptype = current->prompt ? current->prompt->type : P_UNKNOWN; in on_back_clicked() 713 if (ptype != P_MENU) in on_back_clicked() 909 enum prop_type ptype; in on_treeview2_button_press_event() local 910 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; in on_treeview2_button_press_event() 912 if (ptype == P_MENU && view_mode != FULL_VIEW && col == COL_OPTION) { in on_treeview2_button_press_event() 1044 enum prop_type ptype; in fill_row() local 1063 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; in fill_row() 1064 switch (ptype) { in fill_row() 1339 enum prop_type ptype; in display_tree() local [all …]
|
/external/boringssl/src/crypto/evp/ |
D | print.c | 217 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/bcc/src/lua/bcc/ |
D | bpf.lua | 194 local ptype = args.retprobe and "r" or "p" 195 local ev_name = string.format("%s_%s_0x%p", ptype, path:gsub("[^%a%d]", "_"), addr) 212 local ptype = args.retprobe and "r" or "p" 213 local ev_name = string.format("%s_%s", ptype, event:gsub("[%+%.]", "_"))
|
/external/pcre/dist2/src/ |
D | pcre2_printint.c | 236 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() 721 unsigned int ptype = *ccode++; in pcre2_printint() local 724 switch(ptype) in pcre2_printint() 740 get_ucpname(ptype, pvalue)); in pcre2_printint()
|
/external/bcc/src/python/bcc/ |
D | perf.py | 93 def perf_event_open(tpoint_id, pid=-1, ptype=PERF_TYPE_TRACEPOINT, argument 98 attr.type = ptype
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_queryobj.c | 342 GLenum pname, GLenum ptype) in st_StoreQueryResult() argument 361 (ptype == GL_INT64_ARB || in st_StoreQueryResult() 362 ptype == GL_UNSIGNED_INT64_ARB) ? 8 : 4, in st_StoreQueryResult() 367 switch (ptype) { in st_StoreQueryResult()
|
D | st_debug.c | 116 enum pipe_debug_type ptype, in st_debug_message() argument 125 switch (ptype) { in st_debug_message()
|
/external/aac/libFDK/include/ |
D | FDK_matrixCalloc.h | 159 #define FDK_ALLOCATE_MEMORY_1D_P(a, dim1, type, ptype) \ argument 160 if (((a) = (ptype)fdkCallocMatrix1D((dim1), sizeof(type))) == NULL) { \
|