Searched refs:attr (Results 1 - 25 of 105) sorted by relevance

12345

/trex/doc/
H A Dmy_chart.js25 .attr("width", width + margin._left + margin._right)
26 .attr("height", height + margin._myt + margin._bottom)
28 .attr("transform", "translate(" + margin._left + "," + margin._myt + ")");
34 .attr("class", "x axis")
35 .attr("transform", "translate(0," + height + ")")
38 .attr("class", "label")
39 .attr("x", width)
40 .attr("y", -6)
45 .attr("class", "y axis")
48 .attr("clas
[all...]
/trex/src/dpdk/drivers/net/fm10k/base/
H A Dfm10k_tlv.c70 u32 *attr; local
78 attr = &msg[FM10K_TLV_DWORD_LEN(*msg)];
84 attr[len / 4] = attr_data;
96 attr[(len + 3) / 4] = attr_data;
100 attr[0] = len | attr_id;
111 * @attr: Pointer to attribute
118 static s32 fm10k_tlv_attr_get_null_string(u32 *attr, unsigned char *string) argument
125 if (!string || !attr)
128 len = *attr >> FM10K_TLV_LEN_SHIFT;
129 attr
151 u32 *attr; local
186 fm10k_tlv_attr_get_mac_vlan(u32 *attr, u8 *mac_addr, u16 *vlan) argument
241 u32 *attr; local
281 fm10k_tlv_attr_get_value(u32 *attr, void *value, u32 len) argument
319 u32 *attr; local
356 fm10k_tlv_attr_get_le_struct(u32 *attr, void *le_struct, u32 len) argument
391 u32 *attr; local
418 u32 *attr; local
451 fm10k_tlv_attr_validate(u32 *attr, const struct fm10k_tlv_attr *tlv_attr) argument
525 fm10k_tlv_attr_parse(u32 *attr, u32 **results, const struct fm10k_tlv_attr *tlv_attr) argument
[all...]
H A Dfm10k_tlv.h114 const struct fm10k_tlv_attr *attr; member in struct:fm10k_msg_data
119 #define FM10K_MSG_HANDLER(id, attr, func) { id, attr, func }
143 #define fm10k_tlv_attr_get_u8(attr, ptr) \
144 fm10k_tlv_attr_get_value(attr, ptr, sizeof(u8))
145 #define fm10k_tlv_attr_get_u16(attr, ptr) \
146 fm10k_tlv_attr_get_value(attr, ptr, sizeof(u16))
147 #define fm10k_tlv_attr_get_u32(attr, ptr) \
148 fm10k_tlv_attr_get_value(attr, ptr, sizeof(u32))
149 #define fm10k_tlv_attr_get_u64(attr, pt
[all...]
/trex/scripts/external_libs/nose-1.3.4/python2/nose/plugins/
H A Dattrib.py27 from nose.plugins.attrib import attr
28 @attr('slow')
37 from nose.plugins.attrib import attr
38 @attr(speed='slow')
47 In Python 2.6 and higher, ``@attr`` can be used on a class to set attributes
52 from nose.plugins.attrib import attr
53 @attr(speed='slow')
65 Examples of using the ``-a`` and ``--attr`` options:
94 Examples using the ``-A`` and ``--eval-attr`` options:
114 def attr(*arg function
[all...]
H A Derrorclass.py104 def __init__(self, name, bases, attr):
106 for name, detail in attr.items():
108 attr.pop(name)
112 super(MetaErrorClass, self).__init__(name, bases, attr)
/trex/scripts/external_libs/nose-1.3.4/python3/nose/plugins/
H A Dattrib.py27 from nose.plugins.attrib import attr
28 @attr('slow')
37 from nose.plugins.attrib import attr
38 @attr(speed='slow')
47 In Python 2.6 and higher, ``@attr`` can be used on a class to set attributes
52 from nose.plugins.attrib import attr
53 @attr(speed='slow')
65 Examples of using the ``-a`` and ``--attr`` options:
94 Examples using the ``-A`` and ``--eval-attr`` options:
115 def attr(*arg function
[all...]
H A Derrorclass.py104 def __init__(self, name, bases, attr):
106 for name, detail in list(attr.items()):
108 attr.pop(name)
112 super(MetaErrorClass, self).__init__(name, bases, attr)
/trex/doc/backends/deckjs/deck.js/extensions/navigation/
H A Ddeck.navigation.js21 var prevId = $prevSlide ? $prevSlide.attr('id') : undefined;
22 var nextId = $nextSlide ? $nextSlide.attr('id') : undefined;
27 $prevButton.attr('aria-disabled', to === 0);
28 $prevButton.attr('href', hrefBase + '#' + (prevId ? prevId : ''));
30 $nextButton.attr('aria-disabled', to === lastIndex);
31 $nextButton.attr('href', hrefBase + '#' + (nextId ? nextId : ''));
/trex/scripts/external_libs/urllib3/urllib3/packages/
H A Dsix.py117 def __getattr__(self, attr):
119 value = getattr(_module, attr)
120 setattr(self, attr, value)
132 attrs += [attr.name for attr in self._moved_attributes]
152 self.attr = new_attr
157 self.attr = old_attr
161 return getattr(module, self.attr)
308 for attr in _moved_attributes:
309 setattr(_MovedItems, attr
[all...]
/trex/scripts/external_libs/requests/requests/packages/urllib3/packages/
H A Dsix.py117 def __getattr__(self, attr):
119 value = getattr(_module, attr)
120 setattr(self, attr, value)
132 attrs += [attr.name for attr in self._moved_attributes]
152 self.attr = new_attr
157 self.attr = old_attr
161 return getattr(module, self.attr)
308 for attr in _moved_attributes:
309 setattr(_MovedItems, attr
[all...]
/trex/external_libs/ibverbs/include/infiniband/
H A Ddriver_exp.h54 struct ibv_exp_dct_init_attr *attr,
70 struct ibv_exp_dct_attr *attr);
72 struct ibv_exp_arm_attr *attr,
78 struct ibv_exp_cq_attr *attr,
86 struct ibv_exp_cq_init_attr *attr);
87 int ibv_exp_cmd_modify_qp(struct ibv_qp *qp, struct ibv_exp_qp_attr *attr,
105 struct ibv_exp_prefetch_attr *attr);
116 int ibv_exp_cmd_modify_wq(struct ibv_exp_wq *wq, struct ibv_exp_wq_attr *attr,
H A Dofa_verbs.h134 * @attr: modify-qp attributes. The following fields must be specified:
140 * @attr_mask: bitmap indicating which attributes are provided in the attr
154 struct ibv_qp_attr *attr, int attr_mask) DEPRECATED;
161 * @attr: for returning qp attributes.
169 struct ibv_qp_attr *attr, int attr_mask,
H A Ddriver.h110 struct ibv_device_attr_ex *attr, size_t attr_size,
131 struct ibv_xrcd_init_attr *attr,
168 struct ibv_srq *srq, struct ibv_srq_init_attr *attr,
186 struct ibv_qp *qp, struct ibv_qp_init_attr *attr,
191 struct ibv_qp_open_attr *attr,
198 int ibv_cmd_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr,
209 struct ibv_ah_attr *attr,
/trex/scripts/automation/regression/stateful_tests/
H A Dtrex_client_pkg_test.py4 from nose.plugins.attrib import attr namespace
7 @attr('client_package')
/trex/scripts/automation/regression/stateless_tests/
H A Dtrex_client_pkg_test.py4 from nose.plugins.attrib import attr namespace
6 @attr('client_package')
/trex/scripts/external_libs/scapy-2.3.1/python2/scapy/
H A Dansmachine.py52 def __getattr__(self, attr):
54 if attr in d:
55 return d[attr]
56 raise AttributeError,attr
58 def __setattr__(self, attr, val):
61 self.__dict__[attr] = val
63 [self.optam1, self.optam2][mode-1][attr] = val
H A Ddadict.py33 def __getitem__(self, attr):
34 return getattr(self, attr)
35 def __setitem__(self, attr, val):
36 return setattr(self, self.fixname(attr), val)
H A Dpacket.py179 def getfieldval(self, attr):
180 if attr in self.fields:
181 return self.fields[attr]
182 if attr in self.overloaded_fields:
183 return self.overloaded_fields[attr]
184 if attr in self.default_fields:
185 return self.default_fields[attr]
186 return self.payload.getfieldval(attr)
188 def getfield_and_val(self, attr):
189 if attr i
[all...]
H A Dthemes.py44 def __getattr__(self, attr):
53 def __getattr__(self, attr):
54 if attr.startswith("__"):
55 raise AttributeError(attr)
56 s = "style_%s" % attr
184 def __getattr__(self, attr):
185 if attr.startswith("__"):
186 raise AttributeError(attr)
187 colfmt = self.__class__.__dict__.get("style_%s" % attr, "%s")
/trex/scripts/external_libs/scapy-2.3.1/python3/scapy/
H A Dansmachine.py52 def __getattr__(self, attr):
54 if attr in d:
55 return d[attr]
56 raise AttributeError(attr)
58 def __setattr__(self, attr, val):
61 self.__dict__[attr] = val
63 [self.optam1, self.optam2][mode-1][attr] = val
H A Ddadict.py33 def __getitem__(self, attr):
34 return getattr(self, attr)
35 def __setitem__(self, attr, val):
36 return setattr(self, self.fixname(attr), val)
H A Dpacket.py180 def getfieldval(self, attr):
181 if attr in self.fields:
182 return self.fields[attr]
183 if attr in self.overloaded_fields:
184 return self.overloaded_fields[attr]
185 if attr in self.default_fields:
186 return self.default_fields[attr]
187 return self.payload.getfieldval(attr)
189 def getbyteval(self, attr):
190 fld,v = self.getfield_and_val(attr)
[all...]
/trex/src/dpdk/drivers/net/mlx5/
H A Dmlx5_txq.c175 struct ibv_exp_destroy_res_domain_attr attr = { local
183 &attr));
267 } attr; local
280 attr.rd = (struct ibv_exp_res_domain_init_attr){
286 tmpl.rd = ibv_exp_create_res_domain(priv->ctx, &attr.rd);
293 attr.cq = (struct ibv_exp_cq_init_attr){
300 NULL, NULL, 0, &attr.cq);
311 attr.init = (struct ibv_exp_qp_init_attr){
343 attr.init.cap.max_inline_data =
346 tmpl.qp = ibv_exp_create_qp(priv->ctx, &attr
[all...]
/trex/src/dpdk/drivers/net/ixgbe/
H A Dixgbe_flow.c81 cons_parse_ntuple_filter(const struct rte_flow_attr *attr,
87 ixgbe_parse_ntuple_filter(const struct rte_flow_attr *attr,
93 cons_parse_ethertype_filter(const struct rte_flow_attr *attr,
99 ixgbe_parse_ethertype_filter(const struct rte_flow_attr *attr,
105 cons_parse_syn_filter(const struct rte_flow_attr *attr,
111 ixgbe_parse_syn_filter(const struct rte_flow_attr *attr,
117 cons_parse_l2_tn_filter(const struct rte_flow_attr *attr,
124 const struct rte_flow_attr *attr,
131 const struct rte_flow_attr *attr,
137 ixgbe_parse_fdir_filter_normal(const struct rte_flow_attr *attr,
229 cons_parse_ntuple_filter(const struct rte_flow_attr *attr, const struct rte_flow_item pattern[], const struct rte_flow_action actions[], struct rte_eth_ntuple_filter *filter, struct rte_flow_error *error) argument
521 ixgbe_parse_ntuple_filter(const struct rte_flow_attr *attr, const struct rte_flow_item pattern[], const struct rte_flow_action actions[], struct rte_eth_ntuple_filter *filter, struct rte_flow_error *error) argument
580 cons_parse_ethertype_filter(const struct rte_flow_attr *attr, const struct rte_flow_item *pattern, const struct rte_flow_action *actions, struct rte_eth_ethertype_filter *filter, struct rte_flow_error *error) argument
769 ixgbe_parse_ethertype_filter(const struct rte_flow_attr *attr, const struct rte_flow_item pattern[], const struct rte_flow_action actions[], struct rte_eth_ethertype_filter *filter, struct rte_flow_error *error) argument
849 cons_parse_syn_filter(const struct rte_flow_attr *attr, const struct rte_flow_item pattern[], const struct rte_flow_action actions[], struct rte_eth_syn_filter *filter, struct rte_flow_error *error) argument
1064 ixgbe_parse_syn_filter(const struct rte_flow_attr *attr, const struct rte_flow_item pattern[], const struct rte_flow_action actions[], struct rte_eth_syn_filter *filter, struct rte_flow_error *error) argument
1100 cons_parse_l2_tn_filter(const struct rte_flow_attr *attr, const struct rte_flow_item pattern[], const struct rte_flow_action actions[], struct rte_eth_l2_tunnel_conf *filter, struct rte_flow_error *error) argument
1253 ixgbe_validate_l2_tn_filter(struct rte_eth_dev *dev, const struct rte_flow_attr *attr, const struct rte_flow_item pattern[], const struct rte_flow_action actions[], struct rte_eth_l2_tunnel_conf *l2_tn_filter, struct rte_flow_error *error) argument
1281 ixgbe_parse_fdir_act_attr(const struct rte_flow_attr *attr, const struct rte_flow_action actions[], struct ixgbe_fdir_rule *rule, struct rte_flow_error *error) argument
1410 ixgbe_parse_fdir_filter_normal(const struct rte_flow_attr *attr, const struct rte_flow_item pattern[], const struct rte_flow_action actions[], struct ixgbe_fdir_rule *rule, struct rte_flow_error *error) argument
1925 ixgbe_parse_fdir_filter_tunnel(const struct rte_flow_attr *attr, const struct rte_flow_item pattern[], const struct rte_flow_action actions[], struct ixgbe_fdir_rule *rule, struct rte_flow_error *error) argument
2407 ixgbe_validate_fdir_filter(struct rte_eth_dev *dev, const struct rte_flow_attr *attr, const struct rte_flow_item pattern[], const struct rte_flow_action actions[], struct ixgbe_fdir_rule *rule, struct rte_flow_error *error) argument
2430 ixgbe_parse_fdir_filter(const struct rte_flow_attr *attr, const struct rte_flow_item pattern[], const struct rte_flow_action actions[], struct ixgbe_fdir_rule *rule, struct rte_flow_error *error) argument
2511 ixgbe_flow_create(struct rte_eth_dev *dev, const struct rte_flow_attr *attr, const struct rte_flow_item pattern[], const struct rte_flow_action actions[], struct rte_flow_error *error) argument
2697 ixgbe_flow_validate(__rte_unused struct rte_eth_dev *dev, const struct rte_flow_attr *attr, const struct rte_flow_item pattern[], const struct rte_flow_action actions[], struct rte_flow_error *error) argument
[all...]
/trex/doc/backends/deckjs/deck.js/test/
H A Dspec.navigation.js57 expect($(defaults.selectors.previousLink).attr('href')).toMatch(/#$/);
58 expect($(defaults.selectors.nextLink).attr('href')).toMatch('#custom-id');
60 expect($(defaults.selectors.previousLink).attr('href')).toMatch('#custom-id');
61 expect($(defaults.selectors.nextLink).attr('href')).toMatch('#slide-3');

Completed in 25 milliseconds

12345