Home
last modified time | relevance | path

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

12345

/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/tensorflow/tensorflow/python/lib/core/
Dpy_util.cc47 void TryAppendTraceback(PyObject* ptype, PyObject* pvalue, PyObject* ptraceback, in TryAppendTraceback() argument
68 PyObject* ret_val = PyObject_CallFunctionObjArgs(format_exception, ptype, in TryAppendTraceback()
98 PyObject* ptype; in PyExceptionFetch() local
101 PyErr_Fetch(&ptype, &pvalue, &ptraceback); in PyExceptionFetch()
102 PyErr_NormalizeException(&ptype, &pvalue, &ptraceback); in PyExceptionFetch()
103 string err = ClassName(ptype); in PyExceptionFetch()
118 TryAppendTraceback(ptype, pvalue, ptraceback, &err); in PyExceptionFetch()
122 Py_DECREF(ptype); in PyExceptionFetch()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dhsw_queryobj.c271 GLenum pname, GLenum ptype) in hsw_result_to_gpr0() argument
368 uint32_t offset, GLenum ptype, uint64_t imm) in store_query_result_imm() argument
370 switch (ptype) { in store_query_result_imm()
409 uint32_t offset, GLenum ptype, uint32_t reg, in store_query_result_reg() argument
414 uint32_t dwords = (ptype == GL_INT || ptype == GL_UNSIGNED_INT) ? 1 : 2; in store_query_result_reg()
435 GLenum pname, GLenum ptype) in hsw_store_query_result() argument
443 store_query_result_imm(brw, bo->buffer, offset, ptype, in hsw_store_query_result()
447 store_query_result_imm(brw, bo->buffer, offset, ptype, 1ull); in hsw_store_query_result()
455 hsw_result_to_gpr0(ctx, query, buf, offset, pname, ptype); in hsw_store_query_result()
458 store_query_result_reg(brw, bo->buffer, offset, ptype, HSW_CS_GPR(0), in hsw_store_query_result()
[all …]
/external/rust/crates/quiche/deps/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/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);
/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/mesa3d/src/gallium/frontends/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/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/tensorflow/tensorflow/compiler/xla/service/
Dbatchnorm_expander.cc174 PrimitiveType ptype = operand_shape.element_type(); in HandleBatchNormTraining() local
182 TF_ASSIGN_OR_RETURN(zero_literal, zero_literal.Convert(ptype)); in HandleBatchNormTraining()
186 TF_ASSIGN_OR_RETURN(epsilon_literal, epsilon_literal.Convert(ptype)); in HandleBatchNormTraining()
208 GetOrCreateScalarAddComputation(ptype); in HandleBatchNormTraining()
302 PrimitiveType ptype = operand_shape.element_type(); in HandleBatchNormInference() local
311 TF_ASSIGN_OR_RETURN(epsilon_literal, epsilon_literal.Convert(ptype)); in HandleBatchNormInference()
412 PrimitiveType ptype = activation_shape.element_type(); in HandleBatchNormGrad() local
425 TF_ASSIGN_OR_RETURN(zero_literal, zero_literal.Convert(ptype)); in HandleBatchNormGrad()
429 TF_ASSIGN_OR_RETURN(epsilon_literal, epsilon_literal.Convert(ptype)); in HandleBatchNormGrad()
474 GetOrCreateScalarAddComputation(ptype); in HandleBatchNormGrad()
/external/libwebsockets/include/libwebsockets/
Dlws-struct.h144 #define LSM_LIST(ptype, pname, ctype, cname, lejp_cb, cmap, qname) \ argument
149 offsetof(ptype, pname), \
156 #define LSM_CHILD_PTR(ptype, pname, ctype, lejp_cb, cmap, qname) \ argument
161 offsetof(ptype, pname), \
/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/rust/crates/quiche/deps/boringssl/src/crypto/x509v3/
Dv3_genn.c191 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/mesa3d/src/mesa/state_tracker/
Dst_debug.c81 enum pipe_debug_type ptype, in st_debug_message() argument
90 switch (ptype) { in st_debug_message()
/external/bcc/src/python/bcc/
Dperf.py93 def perf_event_open(tpoint_id, pid=-1, ptype=PERF_TYPE_TRACEPOINT, argument
98 attr.type = ptype
/external/boringssl/src/crypto/x509v3/
Dv3_genn.c209 void *GENERAL_NAME_get0_value(const GENERAL_NAME *a, int *ptype) in GENERAL_NAME_get0_value() argument
211 if (ptype) in GENERAL_NAME_get0_value()
212 *ptype = a->type; in GENERAL_NAME_get0_value()
/external/bcc/src/lua/bcc/
Dbpf.lua194 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/rust/crates/quiche/deps/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/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/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/tensorflow/tensorflow/compiler/mlir/xla/
Dtype_to_shape.cc101 PrimitiveType ptype = TypeToPrimitiveType(type); in TypeToShape() local
102 if (ptype != PrimitiveType::PRIMITIVE_TYPE_INVALID) in TypeToShape()
103 return ShapeUtil::MakeShape(ptype, {}); in TypeToShape()
/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()
725 unsigned int ptype = *ccode++; in pcre2_printint() local
728 switch(ptype) in pcre2_printint()
744 get_ucpname(ptype, pvalue)); in pcre2_printint()

12345