Home
last modified time | relevance | path

Searched refs:ifs (Results 1 – 25 of 79) sorted by relevance

1234

/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_emit.c285 struct i915_fragment_shader *ifs = p->shader; in i915_emit_const1f() local
294 if (ifs->constant_flags[reg] == I915_CONSTFLAG_USER) in i915_emit_const1f()
297 if (!(ifs->constant_flags[reg] & (1 << idx)) || in i915_emit_const1f()
298 ifs->constants[reg][idx] == c0) { in i915_emit_const1f()
299 ifs->constants[reg][idx] = c0; in i915_emit_const1f()
300 ifs->constant_flags[reg] |= 1 << idx; in i915_emit_const1f()
301 if (reg + 1 > ifs->num_constants) in i915_emit_const1f()
302 ifs->num_constants = reg + 1; in i915_emit_const1f()
315 struct i915_fragment_shader *ifs = p->shader; in i915_emit_const2f() local
331 if (ifs->constant_flags[reg] == 0xf || in i915_emit_const2f()
[all …]
Di915_fpc_translate.c964 struct i915_fragment_shader *ifs = p->shader; in i915_translate_token() local
982 assert(ifs->constant_flags[i] == 0x0); in i915_translate_token()
983 ifs->constant_flags[i] = I915_CONSTFLAG_USER; in i915_translate_token()
984 ifs->num_constants = MAX2(ifs->num_constants, i + 1); in i915_translate_token()
1022 if (ifs->constant_flags[j] == 0x0) { in i915_translate_token()
1023 memcpy(ifs->constants[j], in i915_translate_token()
1027 ifs->constant_flags[j] = 0xf; /* all four comps used */ in i915_translate_token()
1029 ifs->num_constants = MAX2(ifs->num_constants, j + 1); in i915_translate_token()
1066 struct i915_fragment_shader *ifs) in i915_init_compile() argument
1071 p->shader = ifs; in i915_init_compile()
[all …]
Di915_state.c594 struct i915_fragment_shader *ifs = CALLOC_STRUCT(i915_fragment_shader); in i915_create_fs_state() local
595 if (!ifs) in i915_create_fs_state()
598 ifs->draw_data = draw_create_fragment_shader(i915->draw, templ); in i915_create_fs_state()
599 ifs->state.tokens = tgsi_dup_tokens(templ->tokens); in i915_create_fs_state()
601 tgsi_scan_shader(templ->tokens, &ifs->info); in i915_create_fs_state()
604 i915_translate_fragment_program(i915, ifs); in i915_create_fs_state()
606 return ifs; in i915_create_fs_state()
627 struct i915_fragment_shader *ifs = (struct i915_fragment_shader *) shader; in i915_delete_fs_state() local
629 FREE(ifs->decl); in i915_delete_fs_state()
630 ifs->decl = NULL; in i915_delete_fs_state()
[all …]
/external/autotest/client/deps/lansim/src/py/
Dtuntap.py112 ifs = fcntl.ioctl(fd, pyiftun.TUNSETIFF,
114 ifs_name, ifs_mode = struct.unpack(IFNAMSIZ_FMT + "H", ifs)
129 ifs = fcntl.ioctl(self._sock, pyiftun.SIOCGIFMTU,
131 ifr_name, ifr_mtu = unpack_struct_ifreq(ifs, 'ifr_mtu')
136 ifs = fcntl.ioctl(self._sock, pyiftun.SIOCGIFFLAGS,
138 ifr_name, ifr_flags = unpack_struct_ifreq(ifs, 'ifr_flags')
143 ifs = fcntl.ioctl(self._sock, pyiftun.SIOCSIFFLAGS,
145 ifr_name, ifr_flags = unpack_struct_ifreq(ifs, 'ifr_flags')
154 ifs = fcntl.ioctl(self._sock, pyiftun.SIOCGIFADDR,
157 ifs, 'ifr_addr')
[all …]
/external/flatbuffers/src/
Dutil.cpp45 std::ifstream ifs(name); in FileExistsRaw() local
46 return ifs.good(); in FileExistsRaw()
51 std::ifstream ifs(name, binary ? std::ifstream::binary : std::ifstream::in); in LoadFileRaw() local
52 if (!ifs.is_open()) return false; in LoadFileRaw()
55 ifs.seekg(0, std::ios::end); in LoadFileRaw()
56 auto size = ifs.tellg(); in LoadFileRaw()
58 ifs.seekg(0, std::ios::beg); in LoadFileRaw()
59 ifs.read(&(*buf)[0], (*buf).size()); in LoadFileRaw()
63 oss << ifs.rdbuf(); in LoadFileRaw()
66 return !ifs.bad(); in LoadFileRaw()
/external/antlr/runtime/Cpp/tests/
Dt051.cpp91 ifstream ifs(fileName.c_str(), ios::in | ios::binary | ios::ate); in slurp() local
92 ifstream::pos_type fileSize = ifs.tellg(); in slurp()
93 ifs.seekg(0, ios::beg); in slurp()
96 sstr << ifs.rdbuf(); in slurp()
Dt012.cpp180 ifstream ifs(fileName.c_str(), ios::in | ios::binary | ios::ate); in slurp() local
181 ifstream::pos_type fileSize = ifs.tellg(); in slurp()
182 ifs.seekg(0, ios::beg); in slurp()
185 sstr << ifs.rdbuf(); in slurp()
/external/OpenCL-CTS/test_common/harness/
DkernelHelpers.cpp42 std::ifstream ifs(fileName.c_str(), std::ios::binary); in get_file_size() local
43 if (!ifs.good()) in get_file_size()
46 ifs.seekg(0, std::ios::end); in get_file_size()
47 std::ios::pos_type length = ifs.tellg(); in get_file_size()
212 std::ifstream ifs; in file_exist_on_disk() local
214 ifs.open(fileNameWithPath.c_str(), std::ios::binary); in file_exist_on_disk()
215 if(ifs.good()) in file_exist_on_disk()
217 ifs.close(); in file_exist_on_disk()
537 static int get_offline_compiler_output(std::ifstream &ifs, in get_offline_compiler_output() argument
552 ifs.open(outputFilename.c_str(), std::ios::binary); in get_offline_compiler_output()
[all …]
/external/selinux/python/sepolgen/src/sepolgen/
Dpolicygen.py334 def __init__(self, ifs, perm_maps=None): argument
335 self.ifs = ifs
336 self.hack_check_ifs(ifs)
340 def hack_check_ifs(self, ifs): argument
345 for x in ifs.interfaces.values():
373 for ifcall, ifs in ifcalls:
390 self.matcher.search_ifs(self.ifs, av, ans)
/external/deqp/external/vulkancts/data/vulkan/amber/graphicsfuzz/
Dindex.txt26 { "for-with-ifs-and-return.amber", "for-with-ifs-and-return", "A fragment shader with two ifs
33 { "loop-nested-ifs.amber", "loop-nested-ifs", "A fragment shader with a for loop containi…
35 { "loops-ifs-continues-call.amber", "loops-ifs-continues-call", "A fragment shader with neste…
45 { "nested-ifs-and-return-in-for-loop.amber", "nested-ifs-and-return-in-for-loop", "A fragment shad…
52 { "similar-nested-ifs.amber", "similar-nested-ifs", "A fragment shader with similar nested…
/external/skqp/tools/skqp/
Djitter_gms.cpp93 std::ifstream ifs(argv[1]); in main() local
94 if (ifs.is_open()) { in main()
96 while (std::getline(ifs, str)) { in main()
/external/skia/tools/skqp/
Djitter_gms.cpp101 std::ifstream ifs(argv[1]); in main() local
102 if (ifs.is_open()) { in main()
104 while (std::getline(ifs, str)) { in main()
/external/swiftshader/src/Shader/
DShader.cpp1948 uint32_t ifs = 0; // maximum nested if statements. in analyzeLimits() member
2052 ++currentLimits.ifs; in analyzeLimits()
2054 func.limits.ifs = std::max(func.limits.ifs, currentLimits.ifs); in analyzeLimits()
2059 ASSERT(currentLimits.ifs > 0); in analyzeLimits()
2060 currentLimits.ifs--; in analyzeLimits()
2069 ASSERT(currentLimits.ifs == 0); in analyzeLimits()
2107 limits.ifs = std::max(limits.ifs, calleeLimits.ifs); in analyzeLimits()
2113 limits.ifs += func.limits.ifs; in analyzeLimits()
/external/selinux/python/audit2allow/
Daudit2allow197 ifs = interfaces.InterfaceSet()
198 ifs.from_file(fd)
215 return (ifs, perm_maps)
321 ifs, perm_maps = self.__load_interface_info()
322 g.set_gen_refpol(ifs, perm_maps)
Daudit2why197 ifs = interfaces.InterfaceSet()
198 ifs.from_file(fd)
215 return (ifs, perm_maps)
321 ifs, perm_maps = self.__load_interface_info()
322 g.set_gen_refpol(ifs, perm_maps)
/external/mesa3d/src/gallium/drivers/r600/sb/
Dsb_bc_finalize.cpp268 unsigned ifs, loops; in run_on() local
269 unsigned elems = get_stack_depth(r, loops, ifs); in run_on()
279 unsigned ifs, loops; in run_on() local
280 get_stack_depth(r, loops, ifs); in run_on()
891 unsigned &ifs, unsigned add) { in get_stack_depth() argument
898 ifs = 0; in get_stack_depth()
904 ++ifs; in get_stack_depth()
909 stack_elements += (loops * ctx.stack_entry_size) + ifs; in get_stack_depth()
945 unsigned ifs = 0; in update_nstack() local
946 unsigned elems = r ? get_stack_depth(r, loops, ifs, add) : add; in update_nstack()
/external/libese/libese-teq1/
Dteq1_private.h57 uint8_t ifs; member
77 .ifs = IFSC, \
/external/python/cpython2/Tools/compiler/
Dast.txt45 ListCompFor: assign, list, ifs!
49 GenExprFor: assign, iter, ifs!
/external/python/cpython2/Lib/compiler/
Dast.py603 def __init__(self, assign, iter, ifs, lineno=None): argument
606 self.ifs = ifs
614 children.extend(flatten(self.ifs))
621 nodelist.extend(flatten_nodes(self.ifs))
625 return "GenExprFor(%s, %s, %s)" % (repr(self.assign), repr(self.iter), repr(self.ifs))
856 def __init__(self, assign, list, ifs, lineno=None): argument
859 self.ifs = ifs
866 children.extend(flatten(self.ifs))
873 nodelist.extend(flatten_nodes(self.ifs))
877 return "ListCompFor(%s, %s, %s)" % (repr(self.assign), repr(self.list), repr(self.ifs))
/external/wpa_supplicant_8/wpa_supplicant/
Devents.c2276 struct wpa_supplicant *ifs; in wpa_supplicant_event_scan_results() local
2303 dl_list_for_each(ifs, &wpa_s->radio->ifaces, struct wpa_supplicant, in wpa_supplicant_event_scan_results()
2305 if (ifs != wpa_s) { in wpa_supplicant_event_scan_results()
2307 "sibling", ifs->ifname); in wpa_supplicant_event_scan_results()
2308 res = _wpa_supplicant_event_scan_results(ifs, data, 0, in wpa_supplicant_event_scan_results()
3987 struct wpa_supplicant *ifs; in wpa_supplicant_update_channel_list() local
3996 for (ifs = wpa_s; ifs->parent && ifs != ifs->parent; ifs = ifs->parent) in wpa_supplicant_update_channel_list()
4000 wpa_msg(ifs, MSG_INFO, in wpa_supplicant_update_channel_list()
4010 dl_list_for_each(ifs, &wpa_s->radio->ifaces, struct wpa_supplicant, in wpa_supplicant_update_channel_list()
4013 ifs->ifname); in wpa_supplicant_update_channel_list()
[all …]
/external/scapy/scapy/arch/
Dpcapdnet.py615 ifs,cls = self.iflist.get(iff,(None,None))
616 if ifs is None:
623 ifs = dnet.eth(iff)
625 ifs = dnet.ip()
626 self.iflist[iff] = ifs,cls
632 ifs.send(sx)
/external/skqp/src/sksl/
DSkSLCFGGenerator.cpp461 IfStatement& ifs = (IfStatement&) **s; in addStatement() local
462 this->addExpression(cfg, &ifs.fTest, true); in addStatement()
467 this->addStatement(cfg, &ifs.fIfTrue); in addStatement()
469 if (ifs.fIfFalse) { in addStatement()
472 this->addStatement(cfg, &ifs.fIfFalse); in addStatement()
/external/tensorflow/tensorflow/python/autograph/converters/
Dlist_comprehensions.py65 for gen_if in reversed(gen.ifs):
/external/skia/src/sksl/
DSkSLCFGGenerator.cpp496 IfStatement& ifs = (IfStatement&) **s; in addStatement() local
497 this->addExpression(cfg, &ifs.fTest, true); in addStatement()
502 this->addStatement(cfg, &ifs.fIfTrue); in addStatement()
504 if (ifs.fIfFalse) { in addStatement()
507 this->addStatement(cfg, &ifs.fIfFalse); in addStatement()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dnvptx_compiler.cc306 std::ifstream ifs(matched_filename, std::ifstream::in); in MaybeLoadPtxFromFile() local
307 *ptx = std::string(std::istreambuf_iterator<char>(ifs), in MaybeLoadPtxFromFile()

1234