Home
last modified time | relevance | path

Searched refs:attrib (Results 1 – 25 of 101) sorted by relevance

12345

/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Xml.cpp598 …config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.attrib_mask |= IPA_FLT… in IPACM_firewall_xml_parse_tree()
611 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.src_addr in IPACM_firewall_xml_parse_tree()
625 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.src_addr_mask in IPACM_firewall_xml_parse_tree()
632 …config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.attrib_mask |= IPA_FLT… in IPACM_firewall_xml_parse_tree()
645 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.dst_addr in IPACM_firewall_xml_parse_tree()
659 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.dst_addr_mask in IPACM_firewall_xml_parse_tree()
666 …config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.attrib_mask |= IPA_FLT… in IPACM_firewall_xml_parse_tree()
678 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.tos in IPACM_firewall_xml_parse_tree()
681 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.tos_value in IPACM_firewall_xml_parse_tree()
684 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.tos); in IPACM_firewall_xml_parse_tree()
[all …]
DIPACM_Iface.cpp138 memcpy(&flt_rule_entry.rule.attrib, in handle_software_routing_enable()
139 &rx_prop->rx[0].attrib, in handle_software_routing_enable()
140 sizeof(flt_rule_entry.rule.attrib)); in handle_software_routing_enable()
161 memcpy(&flt_eq.attrib, &flt_rule_entry.rule.attrib, sizeof(flt_eq.attrib)); in handle_software_routing_enable()
212 memcpy(&flt_eq.attrib, &flt_rule_entry.rule.attrib, sizeof(flt_eq.attrib)); in handle_software_routing_enable()
633 cnt, tx_prop->tx[cnt].attrib.attrib_mask, in query_iface_property()
685 cnt, rx_prop->rx[cnt].attrib.attrib_mask, rx_prop->rx[cnt].ip, rx_prop->rx[cnt].src_pipe); in query_iface_property()
779 IPACMDBG_H("rx property attrib mask:0x%x\n", rx_prop->rx[0].attrib.attrib_mask); in init_fl_rule()
780 memcpy(&flt_rule_entry.rule.attrib, in init_fl_rule()
781 &rx_prop->rx[0].attrib, in init_fl_rule()
[all …]
DIPACM_Wan.cpp341 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt()
342 rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = data->ipv6_addr[0]; in handle_addr_evt()
343 rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = data->ipv6_addr[1]; in handle_addr_evt()
344 rt_rule_entry->rule.attrib.u.v6.dst_addr[2] = data->ipv6_addr[2]; in handle_addr_evt()
345 rt_rule_entry->rule.attrib.u.v6.dst_addr[3] = data->ipv6_addr[3]; in handle_addr_evt()
346 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[0] = 0xFFFFFFFF; in handle_addr_evt()
347 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[1] = 0xFFFFFFFF; in handle_addr_evt()
348 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[2] = 0xFFFFFFFF; in handle_addr_evt()
349 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[3] = 0xFFFFFFFF; in handle_addr_evt()
408 rt_rule_entry->rule.attrib.attrib_mask |= IPA_FLT_NEXT_HDR; in handle_addr_evt()
[all …]
DIPACM_Lan.cpp1386 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt()
1388 rt_rule_entry->rule.attrib.u.v4.dst_addr = data->ipv4_addr; in handle_addr_evt()
1389 rt_rule_entry->rule.attrib.u.v4.dst_addr_mask = 0xFFFFFFFF; in handle_addr_evt()
1454 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt()
1455 rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = data->ipv6_addr[0]; in handle_addr_evt()
1456 rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = data->ipv6_addr[1]; in handle_addr_evt()
1457 rt_rule_entry->rule.attrib.u.v6.dst_addr[2] = data->ipv6_addr[2]; in handle_addr_evt()
1458 rt_rule_entry->rule.attrib.u.v6.dst_addr[3] = data->ipv6_addr[3]; in handle_addr_evt()
1459 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[0] = 0xFFFFFFFF; in handle_addr_evt()
1460 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[1] = 0xFFFFFFFF; in handle_addr_evt()
[all …]
DIPACM_Wlan.cpp1584 memcpy(&rt_rule_entry->rule.attrib, in handle_wlan_client_route_rule()
1585 &tx_prop->tx[tx_index].attrib, in handle_wlan_client_route_rule()
1586 sizeof(rt_rule_entry->rule.attrib)); in handle_wlan_client_route_rule()
1587 rt_rule_entry->rule.attrib.attrib_mask |= IPA_FLT_DST_ADDR; in handle_wlan_client_route_rule()
1589 rt_rule_entry->rule.attrib.u.v4.dst_addr = get_client_memptr(wlan_client, wlan_index)->v4_addr; in handle_wlan_client_route_rule()
1590 rt_rule_entry->rule.attrib.u.v4.dst_addr_mask = 0xFFFFFFFF; in handle_wlan_client_route_rule()
1636 memset(&rt_rule_entry->rule.attrib, 0, sizeof(rt_rule_entry->rule.attrib)); in handle_wlan_client_route_rule()
1638 rt_rule_entry->rule.attrib.attrib_mask |= IPA_FLT_DST_ADDR; in handle_wlan_client_route_rule()
1639 …rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = get_client_memptr(wlan_client, wlan_index)->v6_addr[… in handle_wlan_client_route_rule()
1640 …rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = get_client_memptr(wlan_client, wlan_index)->v6_addr[… in handle_wlan_client_route_rule()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Xml.cpp586 …config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.attrib_mask |= IPA_FLT… in IPACM_firewall_xml_parse_tree()
599 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.src_addr in IPACM_firewall_xml_parse_tree()
613 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.src_addr_mask in IPACM_firewall_xml_parse_tree()
620 …config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.attrib_mask |= IPA_FLT… in IPACM_firewall_xml_parse_tree()
633 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.dst_addr in IPACM_firewall_xml_parse_tree()
647 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.dst_addr_mask in IPACM_firewall_xml_parse_tree()
654 …config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.attrib_mask |= IPA_FLT… in IPACM_firewall_xml_parse_tree()
666 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.tos in IPACM_firewall_xml_parse_tree()
669 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.tos); in IPACM_firewall_xml_parse_tree()
680 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.tos in IPACM_firewall_xml_parse_tree()
[all …]
DIPACM_Wan.cpp273 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt()
274 rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = data->ipv6_addr[0]; in handle_addr_evt()
275 rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = data->ipv6_addr[1]; in handle_addr_evt()
276 rt_rule_entry->rule.attrib.u.v6.dst_addr[2] = data->ipv6_addr[2]; in handle_addr_evt()
277 rt_rule_entry->rule.attrib.u.v6.dst_addr[3] = data->ipv6_addr[3]; in handle_addr_evt()
278 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[0] = 0xFFFFFFFF; in handle_addr_evt()
279 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[1] = 0xFFFFFFFF; in handle_addr_evt()
280 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[2] = 0xFFFFFFFF; in handle_addr_evt()
281 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[3] = 0xFFFFFFFF; in handle_addr_evt()
372 memcpy(&flt_rule_entry.rule.attrib, &rx_prop->rx[0].attrib, sizeof(flt_rule_entry.rule.attrib)); in handle_addr_evt()
[all …]
DIPACM_Iface.cpp139 memcpy(&flt_rule_entry.rule.attrib, in handle_software_routing_enable()
140 &rx_prop->rx[0].attrib, in handle_software_routing_enable()
141 sizeof(flt_rule_entry.rule.attrib)); in handle_software_routing_enable()
562 cnt, tx_prop->tx[cnt].attrib.attrib_mask, in query_iface_property()
614 cnt, rx_prop->rx[cnt].attrib.attrib_mask, rx_prop->rx[cnt].ip, rx_prop->rx[cnt].src_pipe); in query_iface_property()
710 IPACMDBG_H("rx property attrib mask:0x%x\n", rx_prop->rx[0].attrib.attrib_mask); in init_fl_rule()
711 memcpy(&flt_rule_entry.rule.attrib, in init_fl_rule()
712 &rx_prop->rx[0].attrib, in init_fl_rule()
713 sizeof(flt_rule_entry.rule.attrib)); in init_fl_rule()
715 flt_rule_entry.rule.attrib.attrib_mask |= IPA_FLT_FRAGMENT; in init_fl_rule()
[all …]
DIPACM_Lan.cpp1168 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt()
1170 rt_rule_entry->rule.attrib.u.v4.dst_addr = data->ipv4_addr; in handle_addr_evt()
1171 rt_rule_entry->rule.attrib.u.v4.dst_addr_mask = 0xFFFFFFFF; in handle_addr_evt()
1231 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt()
1232 rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = data->ipv6_addr[0]; in handle_addr_evt()
1233 rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = data->ipv6_addr[1]; in handle_addr_evt()
1234 rt_rule_entry->rule.attrib.u.v6.dst_addr[2] = data->ipv6_addr[2]; in handle_addr_evt()
1235 rt_rule_entry->rule.attrib.u.v6.dst_addr[3] = data->ipv6_addr[3]; in handle_addr_evt()
1236 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[0] = 0xFFFFFFFF; in handle_addr_evt()
1237 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[1] = 0xFFFFFFFF; in handle_addr_evt()
[all …]
DIPACM_Wlan.cpp1418 memcpy(&rt_rule_entry->rule.attrib, in handle_wlan_client_route_rule()
1419 &tx_prop->tx[tx_index].attrib, in handle_wlan_client_route_rule()
1420 sizeof(rt_rule_entry->rule.attrib)); in handle_wlan_client_route_rule()
1421 rt_rule_entry->rule.attrib.attrib_mask |= IPA_FLT_DST_ADDR; in handle_wlan_client_route_rule()
1423 rt_rule_entry->rule.attrib.u.v4.dst_addr = get_client_memptr(wlan_client, wlan_index)->v4_addr; in handle_wlan_client_route_rule()
1424 rt_rule_entry->rule.attrib.u.v4.dst_addr_mask = 0xFFFFFFFF; in handle_wlan_client_route_rule()
1456 memset(&rt_rule_entry->rule.attrib, 0, sizeof(rt_rule_entry->rule.attrib)); in handle_wlan_client_route_rule()
1458 rt_rule_entry->rule.attrib.attrib_mask |= IPA_FLT_DST_ADDR; in handle_wlan_client_route_rule()
1459 …rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = get_client_memptr(wlan_client, wlan_index)->v6_addr[… in handle_wlan_client_route_rule()
1460 …rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = get_client_memptr(wlan_client, wlan_index)->v6_addr[… in handle_wlan_client_route_rule()
[all …]
/hardware/google/gfxstream/guest/mesa/src/util/
Ddriconf_static.py41 self.name = xml.attrib['name']
42 self.value = xml.attrib['value']
47 self.name = xml.attrib['name']
48 self.executable = xml.attrib.get('executable', None)
49 self.executable_regexp = xml.attrib.get('executable_regexp', None)
50 self.sha1 = xml.attrib.get('sha1', None)
51 self.application_name_match = xml.attrib.get('application_name_match', None)
52 self.application_versions = xml.attrib.get('application_versions', None)
61 self.engine_name_match = xml.attrib['engine_name_match']
62 self.engine_versions = xml.attrib.get('engine_versions', None)
[all …]
/hardware/google/gfxstream/guest/mesa/src/vulkan/util/
Dvk_extensions.py25 name = ext_elem.attrib['name']
26 number = int(ext_elem.attrib['number'])
27 supported = get_api_list(ext_elem.attrib['supported'])
37 if enum_elem.attrib['name'].endswith('_SPEC_VERSION'):
39 if 'value' in enum_elem.attrib:
41 version = int(enum_elem.attrib['value'])
45 ext.type = ext_elem.attrib['type']
46 ext.platform = ext_elem.attrib.get('platform', None)
47 ext.provisional = ext_elem.attrib.get('provisional', False)
148 platform_defines.append(platform.attrib['protect'])
[all …]
Dgen_enum_to_str.py361 if 'value' in elem.attrib:
362 self.add_value(elem.attrib['name'],
363 value=int(elem.attrib['value'], base=0))
364 elif 'bitpos' in elem.attrib:
365 self.add_value(elem.attrib['name'],
366 value=(1 << int(elem.attrib['bitpos'], base=0)))
367 elif 'alias' in elem.attrib:
368 self.add_value(elem.attrib['name'], alias=elem.attrib['alias'])
370 error = 'dir' in elem.attrib and elem.attrib['dir'] == '-'
371 if 'extnumber' in elem.attrib:
[all …]
Dvk_cmd_queue_gen.py550 name = platform.attrib['name']
551 define = platform.attrib['protect']
555 platform = extension.attrib['platform']
559 fullname = types.attrib['name']
571 if _type.attrib.get('category') != 'struct':
575 if _type.attrib['name'] not in required:
587 mem_len = p.attrib.get('altlen', p.attrib.get('len', None))
598 type_enum = p.attrib.get('values')
599 …e.attrib['name']] = EntrypointType(name=_type.attrib['name'], enum=type_enum, members=members, ext…
602 if _type.attrib.get('category') != 'struct':
[all …]
Dvk_physical_device_features_gen.py351 if 'api' not in elem.attrib:
354 return api in elem.attrib['api'].split(',')
363 if _type.attrib.get('structextends') != 'VkPhysicalDeviceFeatures2,VkDeviceCreateInfo':
365 if _type.attrib['name'] not in required:
369 guard = required[_type.attrib['name']].guard
375 if "STRUCTURE_TYPE" in str(elem.attrib):
376 s_type = elem.attrib.get('values')
389 s_type = p.attrib.get('values')
394 … feature_struct = FeatureStruct(c_type=_type.attrib.get('name'), s_type=s_type, features=flags)
Dvk_physical_device_properties_gen.py83 length = p.attrib.get("len", "1")
205 if "api" not in elem.attrib:
208 return api in elem.attrib["api"].split(",")
217 if _type.attrib.get("structextends") != "VkPhysicalDeviceProperties2":
220 full_name = _type.attrib["name"]
231 if "STRUCTURE_TYPE" in str(elem.attrib):
232 s_type = elem.attrib.get("values")
247 s_type = p.attrib.get("values")
Dvk_entrypoints.py111 if 'alias' in command.attrib:
112 name = command.attrib['name']
113 target = command.attrib['alias']
122 len=p.attrib.get('altlen', p.attrib.get('len', None))
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_format_info_gen.py161 xpath = './/enum[@name="{}"]'.format(fmt.attrib['name'])
164 if 'extends' in enum.attrib:
165 assert(enum.attrib['extends'] == 'VkFormat')
166 if 'extnumber' in enum.attrib:
167 ext = int(enum.attrib['extnumber'])
173 assert('number' in parent.attrib)
174 ext = parent.attrib['number']
177 offset = int(enum.attrib['offset'])
180 offset = int(enum.attrib['value'])
183 format = Format(fmt.attrib['name'], fmt.attrib['class'], ext, offset)
/hardware/google/gfxstream/host/gl/glestranslator/EGL/
DEglPbufferSurface.cpp18 bool EglPbufferSurface::setAttrib(EGLint attrib,EGLint val) { in setAttrib() argument
19 switch(attrib) { in setAttrib()
48 bool EglPbufferSurface::getAttrib(EGLint attrib,EGLint* val) { in getAttrib() argument
49 switch(attrib) { in getAttrib()
72 *val = m_config->getConfAttrib(attrib); in getAttrib()
DEglValidate.cpp24 bool EglValidate::confAttrib(EGLint attrib) { in confAttrib() argument
25 switch(attrib) { in confAttrib()
66 bool EglValidate::noAttribs(const EGLint* attrib) { in noAttribs() argument
67 return !attrib || attrib[0] == EGL_NONE ; in noAttribs()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Ddisplay_hdmi.cpp170 std::vector<HWDisplayAttributes> attrib(num_modes); in GetBestConfig() local
172 hw_intf_->GetDisplayAttributes(index, &attrib[index]); in GetBestConfig()
177 if (attrib[index].s3d_config[s3d_mode]) { in GetBestConfig()
184 if (!attrib[index].s3d_config[s3d_mode]) in GetBestConfig()
189 if (attrib[index].y_pixels > attrib[best_index].y_pixels) { in GetBestConfig()
191 } else if (attrib[index].y_pixels == attrib[best_index].y_pixels) { in GetBestConfig()
192 if (attrib[index].x_pixels > attrib[best_index].x_pixels) { in GetBestConfig()
194 } else if (attrib[index].x_pixels == attrib[best_index].x_pixels) { in GetBestConfig()
195 if (attrib[index].vsync_period_ns < attrib[best_index].vsync_period_ns) { in GetBestConfig()
/hardware/qcom/display/msm8996/sdm/libs/core/
Ddisplay_hdmi.cpp177 std::vector<HWDisplayAttributes> attrib(num_modes); in GetBestConfig() local
179 hw_intf_->GetDisplayAttributes(index, &attrib[index]); in GetBestConfig()
184 if (attrib[index].s3d_config[s3d_mode]) { in GetBestConfig()
191 if (!attrib[index].s3d_config[s3d_mode]) in GetBestConfig()
196 if (attrib[index].y_pixels > attrib[best_index].y_pixels) { in GetBestConfig()
198 } else if (attrib[index].y_pixels == attrib[best_index].y_pixels) { in GetBestConfig()
199 if (attrib[index].x_pixels > attrib[best_index].x_pixels) { in GetBestConfig()
201 } else if (attrib[index].x_pixels == attrib[best_index].x_pixels) { in GetBestConfig()
202 if (attrib[index].vsync_period_ns < attrib[best_index].vsync_period_ns) { in GetBestConfig()
/hardware/qcom/display/msm8909/sdm/libs/core/
Ddisplay_hdmi.cpp170 std::vector<HWDisplayAttributes> attrib(num_modes); in GetBestConfig() local
172 hw_intf_->GetDisplayAttributes(index, &attrib[index]); in GetBestConfig()
177 if (attrib[index].s3d_config[s3d_mode]) { in GetBestConfig()
184 if (!attrib[index].s3d_config[s3d_mode]) in GetBestConfig()
189 if (attrib[index].y_pixels > attrib[best_index].y_pixels) { in GetBestConfig()
191 } else if (attrib[index].y_pixels == attrib[best_index].y_pixels) { in GetBestConfig()
192 if (attrib[index].x_pixels > attrib[best_index].x_pixels) { in GetBestConfig()
194 } else if (attrib[index].x_pixels == attrib[best_index].x_pixels) { in GetBestConfig()
195 if (attrib[index].vsync_period_ns < attrib[best_index].vsync_period_ns) { in GetBestConfig()
/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_hdmi.cpp169 std::vector<HWDisplayAttributes> attrib(num_modes); in GetBestConfig() local
171 hw_intf_->GetDisplayAttributes(index, &attrib[index]); in GetBestConfig()
176 if (attrib[index].s3d_config[s3d_mode]) { in GetBestConfig()
183 if (!attrib[index].s3d_config[s3d_mode]) in GetBestConfig()
188 if (attrib[index].y_pixels > attrib[best_index].y_pixels) { in GetBestConfig()
190 } else if (attrib[index].y_pixels == attrib[best_index].y_pixels) { in GetBestConfig()
191 if (attrib[index].x_pixels > attrib[best_index].x_pixels) { in GetBestConfig()
193 } else if (attrib[index].x_pixels == attrib[best_index].x_pixels) { in GetBestConfig()
194 if (attrib[index].vsync_period_ns < attrib[best_index].vsync_period_ns) { in GetBestConfig()
/hardware/google/gfxstream/scripts/
Dgenerate-apigen-sources.sh4 cp -f codegen/gles1/gles1.attrib codegen/gles1/gl.attrib
9 rm codegen/gles1/gl.attrib
13 cp -f codegen/gles2/gles2.attrib codegen/gles2/gl2.attrib
18 rm codegen/gles2/gl2.attrib

12345