Home
last modified time | relevance | path

Searched refs:reg (Results 1 – 25 of 50) sorted by relevance

12

/hardware/google/gfxstream/host/tests/
DStalePtrRegistry_unittest.cpp23 StalePtrRegistry<void> reg; in TEST() local
27 StalePtrRegistry<void> reg; in TEST() local
28 EXPECT_EQ(reg.numCurrEntries(), 0); in TEST()
29 reg.addPtr(nullptr); in TEST()
30 EXPECT_EQ(reg.numCurrEntries(), 1); in TEST()
34 StalePtrRegistry<void> reg; in TEST() local
35 EXPECT_EQ(reg.numCurrEntries(), 0); in TEST()
36 reg.addPtr(nullptr); in TEST()
37 EXPECT_EQ(reg.numCurrEntries(), 1); in TEST()
38 reg.removePtr(nullptr); in TEST()
[all …]
/hardware/google/gfxstream/host/apigen-codec-common/X11/
DXregion.h113 #define MEMCHECK(reg, rect, firstrect){\ argument
114 if ((reg)->numRects >= ((reg)->size - 1)){\
116 ((char *)(firstrect), (unsigned) (2 * (sizeof(BOX)) * ((reg)->size)));\
119 (reg)->size *= 2;\
120 (rect) = &(firstrect)[(reg)->numRects];\
136 #define ADDRECT(reg, r, rx1, ry1, rx2, ry2){\ argument
138 CHECK_PREVIOUS((reg), (r), (rx1), (ry1), (rx2), (ry2))){\
143 EXTENTS((r), (reg));\
144 (reg)->numRects++;\
152 #define ADDRECTNOX(reg, r, rx1, ry1, rx2, ry2){\ argument
[all …]
/hardware/google/gfxstream/guest/mesa/src/util/
Dregister_allocate.h62 unsigned int base_reg, unsigned int reg);
68 void ra_make_reg_conflicts_transitive(struct ra_regs *regs, unsigned int reg);
69 void ra_class_add_reg(struct ra_class *c, unsigned int reg);
131 void ra_set_node_reg(struct ra_graph * g, unsigned int n, unsigned int reg);
Dregister_allocate.c160 unsigned int base_reg, unsigned int reg) in ra_add_transitive_reg_conflict() argument
162 ra_add_reg_conflict(regs, reg, base_reg); in ra_add_transitive_reg_conflict()
166 ra_add_reg_conflict(regs, reg, *r2p); in ra_add_transitive_reg_conflict()
205 struct ra_reg *reg = &regs->regs[r]; in ra_make_reg_conflicts_transitive() local
208 BITSET_FOREACH_SET(c, reg->conflicts, regs->count) { in ra_make_reg_conflicts_transitive()
212 other->conflicts[i] |= reg->conflicts[i]; in ra_make_reg_conflicts_transitive()
407 struct ra_reg *reg = &regs->regs[r]; in ra_set_serialize() local
408 blob_write_bytes(blob, reg->conflicts, BITSET_WORDS(regs->count) * in ra_set_serialize()
410 assert(util_dynarray_num_elements(&reg->conflict_list, unsigned int) == 0); in ra_set_serialize()
443 struct ra_reg *reg = &regs->regs[r]; in ra_set_deserialize() local
[all …]
/hardware/google/aemu/base/include/aemu/base/testing/
DTestUtils.h30 std::regex reg(regStr);
31 return std::regex_search(arg, reg);
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/
Dxml_consistency.py18 from reg import Registry
114 def get_extension_commands(reg): argument
116 for ext in reg.extensions:
122 def get_enum_value_names(reg, enum_type): argument
124 result_elem = reg.groupdict[enum_type].elem
447 memberType = self.reg.typedict[typeName]
487 info = self.reg.typedict[name]
492 for extendingStructName in self.reg.validextensionstructs[name]:
493 extendingStruct = self.reg.typedict[extendingStructName]
748 for enum in self.reg.groupdict['VkFormat'].elem:
[all …]
Djson_h_generator.py96 for feature in self.registry.reg.findall('feature'):
115 allExtensions = self.registry.reg.findall('extensions')
131 typesList = self.registry.reg.findall('types')
Dreg.py556 self.reg = self.tree.getroot()
570 mergeAPIs(self.reg, self.genOpts.mergeApiNames.split(','), self.genOpts.apiname)
572 stripNonmatchingAPIs(self.reg, self.genOpts.apiname, actuallyDelete = True)
581 for type_elem in self.reg.findall('types/type'):
597 for group in self.reg.findall('enums'):
610 for enums in self.reg.findall('enums'):
628 for cmd in self.reg.findall('commands/command'):
667 for feature in self.reg.findall('feature'):
720 self.extensions = self.reg.findall('extensions/extension')
797 for spirv in self.reg.findall('spirvextensions/spirvextension'):
[all …]
DstripAPI.py8 from reg import stripNonmatchingAPIs
D__init__.py.docs27 # "reg",
/hardware/qcom/data/ipacfg-mgr/msm8998/ipanat/test/
Dipa_nat_test021.c45 int ipa_nat_test021(int total_entries, int reg) in ipa_nat_test021() argument
54 for(i=0; i<reg; i++) in ipa_nat_test021()
DREADME.txt8 - To execute test suite nt times with n entries, command "ipanatest reg nt n"
10 Example: To execute test suite 5 times with 32 entries, command "ipanattest reg 5 32"
/hardware/qcom/sm8150/data/ipacfg-mgr/ipanat/test/
Dipa_nat_test021.c45 int ipa_nat_test021(int total_entries, int reg) in ipa_nat_test021() argument
54 for(i=0; i<reg; i++) in ipa_nat_test021()
DREADME.txt8 - To execute test suite nt times with n entries, command "ipanatest reg nt n"
10 Example: To execute test suite 5 times with 32 entries, command "ipanattest reg 5 32"
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/spec_tools/
Dconsistency_tools.py23 def _get_extension_tags(reg): argument
25 return set(elt.get("name") for elt in reg.tree.findall("./tags/tag[@name]"))
59 self.reg = entity_db.registry
60 self.handle_data = HandleData(self.reg)
210 for name, info in self.reg.cmddict.items():
215 for name, info in self.reg.typedict.items():
225 for name, info in self.reg.extdict.items():
598 if self.reg.filename:
599 fn = self.reg.filename
714 self.reg = registry
[all …]
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/
Dwifi_hal.cpp1500 wifihal_mon_sock_t *reg, *tmp; in internal_cleaned_up_handler() local
1515 list_for_each_entry_safe(reg, tmp, &info->monitor_sockets, list) { in internal_cleaned_up_handler()
1516 del_from_list(&reg->list); in internal_cleaned_up_handler()
1517 if(reg) { in internal_cleaned_up_handler()
1518 free(reg); in internal_cleaned_up_handler()
1733 wifihal_mon_sock_t *reg, *nreg; in register_monitor_sock() local
1779 list_for_each_entry(reg, &info->monitor_sockets, list) { in register_monitor_sock()
1781 if(reg == NULL) in register_monitor_sock()
1784 int mlen = min(match_len, reg->match_len); in register_monitor_sock()
1786 if (reg->match_len == 0) in register_monitor_sock()
[all …]
/hardware/qcom/sm7150/gps/android/utils/
Dbattery_listener.cpp161 auto reg = mHealth->registerCallback(this); in init() local
162 if (!reg.isOk()) { in init()
164 reg.description().c_str()); in init()
/hardware/qcom/sm8150p/gps/android/utils/
Dbattery_listener.cpp157 auto reg = mHealth->registerCallback(this); in init() local
158 if (!reg.isOk()) { in init()
160 reg.description().c_str()); in init()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/
DCONTRIBUTING.adoc25 link:scripts/reg.py[`reg.py`])
/hardware/qcom/sm8150/gps/android/utils/
Dbattery_listener.cpp163 auto reg = mHealth->registerCallback(this); in init() local
164 if (!reg.isOk()) { in init()
166 reg.description().c_str()); in init()
/hardware/qcom/sm7250/gps/android/utils/
Dbattery_listener.cpp163 auto reg = mHealth->registerCallback(this); in init() local
164 if (!reg.isOk()) { in init()
166 reg.description().c_str()); in init()
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/
Dwifi_hal.cpp1584 wifihal_mon_sock_t *reg, *tmp; in internal_cleaned_up_handler() local
1599 list_for_each_entry_safe(reg, tmp, &info->monitor_sockets, list) { in internal_cleaned_up_handler()
1600 del_from_list(&reg->list); in internal_cleaned_up_handler()
1601 free(reg); in internal_cleaned_up_handler()
1818 wifihal_mon_sock_t *reg, *nreg; in register_monitor_sock() local
1864 list_for_each_entry(reg, &info->monitor_sockets, list) { in register_monitor_sock()
1866 int mlen = min(match_len, reg->match_len); in register_monitor_sock()
1868 if (reg->match_len == 0) in register_monitor_sock()
1871 if (memcmp(reg->match, match, mlen) == 0) { in register_monitor_sock()
1873 if((ctrl_msg->monsock_len == reg->monsock_len) && in register_monitor_sock()
[all …]
/hardware/qcom/bt/msm8992/libbt-vendor/src/
Dhw_ar3k.c765 uint32_t reg; in get_device_type() local
789 reg = event[10]; in get_device_type()
790 reg = (reg << 8) | event[9]; in get_device_type()
791 reg = (reg << 8) | event[8]; in get_device_type()
792 reg = (reg << 8) | event[7]; in get_device_type()
793 *code = reg; in get_device_type()
/hardware/qcom/bt/msm8998/libbt-vendor/src/
Dhw_ar3k.c771 uint32_t reg; in get_device_type() local
795 reg = event[10]; in get_device_type()
796 reg = (reg << 8) | event[9]; in get_device_type()
797 reg = (reg << 8) | event[8]; in get_device_type()
798 reg = (reg << 8) | event[7]; in get_device_type()
799 *code = reg; in get_device_type()
/hardware/qcom/bt/msm8996/libbt-vendor/src/
Dhw_ar3k.c769 uint32_t reg; in get_device_type() local
793 reg = event[10]; in get_device_type()
794 reg = (reg << 8) | event[9]; in get_device_type()
795 reg = (reg << 8) | event[8]; in get_device_type()
796 reg = (reg << 8) | event[7]; in get_device_type()
797 *code = reg; in get_device_type()

12