Home
last modified time | relevance | path

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

123

/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.c1081 struct i915_fragment_shader *ifs = p->shader; in i915_translate_token() local
1099 assert(ifs->constant_flags[i] == 0x0); in i915_translate_token()
1100 ifs->constant_flags[i] = I915_CONSTFLAG_USER; in i915_translate_token()
1101 ifs->num_constants = MAX2(ifs->num_constants, i + 1); in i915_translate_token()
1139 if (ifs->constant_flags[j] == 0x0) { in i915_translate_token()
1140 memcpy(ifs->constants[j], in i915_translate_token()
1144 ifs->constant_flags[j] = 0xf; /* all four comps used */ in i915_translate_token()
1146 ifs->num_constants = MAX2(ifs->num_constants, j + 1); in i915_translate_token()
1183 struct i915_fragment_shader *ifs) in i915_init_compile() argument
1188 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.cpp22 std::ifstream ifs(name); in FileExistsRaw() local
23 return ifs.good(); in FileExistsRaw()
28 std::ifstream ifs(name, binary ? std::ifstream::binary : std::ifstream::in); in LoadFileRaw() local
29 if (!ifs.is_open()) return false; in LoadFileRaw()
32 ifs.seekg(0, std::ios::end); in LoadFileRaw()
33 auto size = ifs.tellg(); in LoadFileRaw()
35 ifs.seekg(0, std::ios::beg); in LoadFileRaw()
36 ifs.read(&(*buf)[0], (*buf).size()); in LoadFileRaw()
40 oss << ifs.rdbuf(); in LoadFileRaw()
43 return !ifs.bad(); in LoadFileRaw()
/external/libedit/src/
Dtokenizer.c75 Char *ifs; /* In field separator */ in TYPE() local
110 FUN(tok,init)(const Char *ifs) in TYPE()
116 tok->ifs = tok_strdup(ifs ? ifs : IFS); in TYPE()
117 if (tok->ifs == NULL) { in TYPE()
125 tok_free(tok->ifs); in TYPE()
133 tok_free(tok->ifs); in TYPE()
169 tok_free(tok->ifs); in FUN()
366 if (Strchr(tok->ifs, *ptr) != NULL) in FUN()
/external/dhcpcd-6.8.2/
Dif.c191 static void if_learnaddrs1(struct dhcpcd_ctx *ctx, struct if_head *ifs, in if_learnaddrs1() argument
208 if ((ifp = if_find(ifs, ifa->ifa_name)) == NULL) in if_learnaddrs1()
223 ipv4_handleifa(ctx, RTM_NEWADDR, ifs, ifa->ifa_name, in if_learnaddrs1()
241 ipv6_handleifa(ctx, RTM_NEWADDR, ifs, in if_learnaddrs1()
258 struct if_head *ifs; in if_discover() local
297 ifs = malloc(sizeof(*ifs)); in if_discover()
298 if (ifs == NULL) in if_discover()
300 TAILQ_INIT(ifs); in if_discover()
315 TAILQ_FOREACH(ifp, ifs, next) { in if_discover()
566 TAILQ_INSERT_TAIL(ifs, ifp, next); in if_discover()
[all …]
Ddhcpcd.c944 struct if_head *ifs; in dhcpcd_handleinterface() local
972 ifs = if_discover(ctx, -1, UNCONST(argv)); in dhcpcd_handleinterface()
973 if (ifs == NULL) { in dhcpcd_handleinterface()
977 TAILQ_FOREACH_SAFE(ifp, ifs, next, ifn) { in dhcpcd_handleinterface()
992 TAILQ_REMOVE(ifs, ifp, next); in dhcpcd_handleinterface()
1003 while ((ifp = TAILQ_FIRST(ifs))) { in dhcpcd_handleinterface()
1004 TAILQ_REMOVE(ifs, ifp, next); in dhcpcd_handleinterface()
1007 free(ifs); in dhcpcd_handleinterface()
1125 struct if_head *ifs; in reconf_reboot() local
1128 ifs = if_discover(ctx, argc - oi, argv + oi); in reconf_reboot()
[all …]
Dipv4.c1030 int cmd, struct if_head *ifs, const char *ifname, in ipv4_handleifa() argument
1038 if (ifs == NULL) in ipv4_handleifa()
1039 ifs = ctx->ifaces; in ipv4_handleifa()
1040 if (ifs == NULL) { in ipv4_handleifa()
1048 if ((ifp = if_find(ifs, ifname)) == NULL) in ipv4_handleifa()
/external/selinux/python/sepolgen/src/sepolgen/
Dpolicygen.py305 def __init__(self, ifs, perm_maps=None): argument
306 self.ifs = ifs
307 self.hack_check_ifs(ifs)
311 def hack_check_ifs(self, ifs): argument
316 for x in ifs.interfaces.values():
344 for ifcall, ifs in ifcalls:
361 self.matcher.search_ifs(self.ifs, av, ans)
/external/javassist/src/main/javassist/
DCtClassType.java308 String[] ifs = file.getInterfaces(); in subtypeOf()
309 int num = ifs.length; in subtypeOf()
311 if (ifs[i].equals(cname)) in subtypeOf()
318 if (classPool.get(ifs[i]).subtypeOf(clazz)) in subtypeOf()
704 String[] ifs = getClassFile2().getInterfaces(); in getInterfaces() local
705 int num = ifs.length; in getInterfaces()
708 ifc[i] = classPool.get(ifs[i]); in getInterfaces()
715 String[] ifs; in setInterfaces() local
717 ifs = new String[0]; in setInterfaces()
720 ifs = new String[num]; in setInterfaces()
[all …]
/external/selinux/python/audit2allow/
Daudit2allow195 ifs = interfaces.InterfaceSet()
196 ifs.from_file(fd)
213 return (ifs, perm_maps)
314 ifs, perm_maps = self.__load_interface_info()
315 g.set_gen_refpol(ifs, perm_maps)
Daudit2why195 ifs = interfaces.InterfaceSet()
196 ifs.from_file(fd)
213 return (ifs, perm_maps)
314 ifs, perm_maps = self.__load_interface_info()
315 g.set_gen_refpol(ifs, perm_maps)
/external/mesa3d/src/gallium/drivers/r600/sb/
Dsb_bc_finalize.cpp251 unsigned ifs, loops; in run_on() local
252 unsigned elems = get_stack_depth(r, loops, ifs); in run_on()
262 unsigned ifs, loops; in run_on() local
263 get_stack_depth(r, loops, ifs); in run_on()
847 unsigned &ifs, unsigned add) { in get_stack_depth() argument
854 ifs = 0; in get_stack_depth()
860 ++ifs; in get_stack_depth()
865 stack_elements += (loops * ctx.stack_entry_size) + ifs; in get_stack_depth()
901 unsigned ifs = 0; in update_nstack() local
902 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, \
Dteq1.c182 if (state->ifs < inf_len) { in teq1_fill_info_block()
183 inf_len = state->ifs; in teq1_fill_info_block()
407 state->ifs = rx_frame->INF[0]; in teq1_rules()
/external/wpa_supplicant_8/wpa_supplicant/
Devents.c1921 struct wpa_supplicant *ifs; in wpa_supplicant_event_scan_results() local
1948 dl_list_for_each(ifs, &wpa_s->radio->ifaces, struct wpa_supplicant, in wpa_supplicant_event_scan_results()
1950 if (ifs != wpa_s) { in wpa_supplicant_event_scan_results()
1952 "sibling", ifs->ifname); in wpa_supplicant_event_scan_results()
1953 res = _wpa_supplicant_event_scan_results(ifs, data, 0, in wpa_supplicant_event_scan_results()
3403 struct wpa_supplicant *ifs; in wpa_supplicant_update_channel_list() local
3411 for (ifs = wpa_s; ifs->parent && ifs != ifs->parent; ifs = ifs->parent) in wpa_supplicant_update_channel_list()
3414 wpa_msg(ifs, MSG_INFO, WPA_EVENT_REGDOM_CHANGE "init=%s type=%s%s%s", in wpa_supplicant_update_channel_list()
3422 dl_list_for_each(ifs, &wpa_s->radio->ifaces, struct wpa_supplicant, in wpa_supplicant_update_channel_list()
3425 ifs->ifname); in wpa_supplicant_update_channel_list()
[all …]
/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/skia/src/sksl/
DSkSLCFGGenerator.cpp443 IfStatement& ifs = (IfStatement&) **s; in addStatement() local
444 this->addExpression(cfg, &ifs.fTest, true); in addStatement()
449 this->addStatement(cfg, &ifs.fIfTrue); in addStatement()
451 if (ifs.fIfFalse) { in addStatement()
454 this->addStatement(cfg, &ifs.fIfFalse); in addStatement()
/external/javassist/src/main/javassist/compiler/
DMemberResolver.java155 CtClass[] ifs = clazz.getInterfaces(); in lookupMethod() local
156 int size = ifs.length; in lookupMethod()
158 Method r = lookupMethod(ifs[i], methodName, in lookupMethod()
/external/javassist/src/main/javassist/util/proxy/
DProxyFactory.java365 public void setInterfaces(Class[] ifs) { in setInterfaces() argument
366 interfaces = ifs; in setInterfaces()
1023 Class[] ifs = clazz.getInterfaces(); in getMethods() local
1024 for (int i = 0; i < ifs.length; i++) in getMethods()
1025 getMethods(hash, ifs[i]); in getMethods()
/external/ppp/pppd/
Dsys-linux.c1785 struct ifreq ifs[MAX_IFS]; in get_ether_addr() local
1790 ifc.ifc_len = sizeof(ifs); in get_ether_addr()
1791 ifc.ifc_req = ifs; in get_ether_addr()
1802 ifend = ifs + (ifc.ifc_len / sizeof(struct ifreq)); in get_ether_addr()
1910 struct ifreq ifs[MAX_IFS]; in GetMask() local
1926 ifc.ifc_len = sizeof(ifs); in GetMask()
1927 ifc.ifc_req = ifs; in GetMask()
/external/libexif/m4m/
Dgp-check-library.m4170 ifs="$IFS"
180 IFS="$ifs"
197 IFS="$ifs"
/external/python/cpython2/Python/
Dast.c1122 asdl_seq *ifs; in ast_for_listcomp() local
1130 ifs = asdl_seq_new(n_ifs, c->c_arena); in ast_for_listcomp()
1131 if (!ifs) in ast_for_listcomp()
1143 asdl_seq_SET(ifs, j, list_for_expr); in ast_for_listcomp()
1150 lc->ifs = ifs; in ast_for_listcomp()
1263 asdl_seq *ifs; in ast_for_comprehension() local
1270 ifs = asdl_seq_new(n_ifs, c->c_arena); in ast_for_comprehension()
1271 if (!ifs) in ast_for_comprehension()
1282 asdl_seq_SET(ifs, j, expression); in ast_for_comprehension()
1289 comp->ifs = ifs; in ast_for_comprehension()

123