Searched refs:ifs (Results 1 - 25 of 33) sorted by relevance

12

/external/flatbuffers/src/
H A Dutil.cpp22 std::ifstream ifs(name);
23 return ifs.good();
28 std::ifstream ifs(name, binary ? std::ifstream::binary : std::ifstream::in);
29 if (!ifs.is_open()) return false;
32 ifs.seekg(0, std::ios::end);
33 auto size = ifs.tellg();
35 ifs.seekg(0, std::ios::beg);
36 ifs.read(&(*buf)[0], (*buf).size());
40 oss << ifs.rdbuf();
43 return !ifs
[all...]
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_fpc_emit.c286 struct i915_fragment_shader *ifs = p->shader; local
295 if (ifs->constant_flags[reg] == I915_CONSTFLAG_USER)
298 if (!(ifs->constant_flags[reg] & (1 << idx)) ||
299 ifs->constants[reg][idx] == c0) {
300 ifs->constants[reg][idx] = c0;
301 ifs->constant_flags[reg] |= 1 << idx;
302 if (reg + 1 > ifs->num_constants)
303 ifs->num_constants = reg + 1;
316 struct i915_fragment_shader *ifs = p->shader; local
332 if (ifs
355 struct i915_fragment_shader *ifs = p->shader; local
[all...]
H A Di915_fpc_translate.c1116 struct i915_fragment_shader *ifs = p->shader; local
1134 assert(ifs->constant_flags[i] == 0x0);
1135 ifs->constant_flags[i] = I915_CONSTFLAG_USER;
1136 ifs->num_constants = MAX2(ifs->num_constants, i + 1);
1174 if (ifs->constant_flags[j] == 0x0) {
1175 memcpy(ifs->constants[j],
1179 ifs->constant_flags[j] = 0xf; /* all four comps used */
1181 ifs->num_constants = MAX2(ifs
1217 i915_init_compile(struct i915_context *i915, struct i915_fragment_shader *ifs) argument
1266 struct i915_fragment_shader *ifs = p->shader; local
[all...]
H A Di915_state.c569 struct i915_fragment_shader *ifs = CALLOC_STRUCT(i915_fragment_shader); local
570 if (!ifs)
573 ifs->draw_data = draw_create_fragment_shader(i915->draw, templ);
574 ifs->state.tokens = tgsi_dup_tokens(templ->tokens);
576 tgsi_scan_shader(templ->tokens, &ifs->info);
579 i915_translate_fragment_program(i915, ifs);
581 return ifs;
615 struct i915_fragment_shader *ifs = (struct i915_fragment_shader *) shader; local
617 if (ifs->decl) {
618 FREE(ifs
[all...]
/external/autotest/client/deps/lansim/src/py/
H A 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_add
[all...]
/external/libedit/src/
H A Dtokenizer.c75 Char *ifs; /* In field separator */ local
110 FUN(tok,init)(const Char *ifs)
116 tok->ifs = tok_strdup(ifs ? ifs : IFS);
117 if (tok->ifs == NULL) {
125 tok_free(tok->ifs);
133 tok_free(tok->ifs);
169 tok_free(tok->ifs);
366 if (Strchr(tok->ifs, *pt
[all...]
/external/dhcpcd-6.8.2/
H A Dif.c191 static void if_learnaddrs1(struct dhcpcd_ctx *ctx, struct if_head *ifs, argument
208 if ((ifp = if_find(ifs, ifa->ifa_name)) == NULL)
223 ipv4_handleifa(ctx, RTM_NEWADDR, ifs, ifa->ifa_name,
241 ipv6_handleifa(ctx, RTM_NEWADDR, ifs,
258 struct if_head *ifs; local
297 ifs = malloc(sizeof(*ifs));
298 if (ifs == NULL)
300 TAILQ_INIT(ifs);
315 TAILQ_FOREACH(ifp, ifs, nex
[all...]
H A Ddhcpcd.c944 struct if_head *ifs; local
972 ifs = if_discover(ctx, -1, UNCONST(argv));
973 if (ifs == NULL) {
977 TAILQ_FOREACH_SAFE(ifp, ifs, next, ifn) {
992 TAILQ_REMOVE(ifs, ifp, next);
1003 while ((ifp = TAILQ_FIRST(ifs))) {
1004 TAILQ_REMOVE(ifs, ifp, next);
1007 free(ifs);
1125 struct if_head *ifs; local
1128 ifs
[all...]
H A Dipv4.c1030 int cmd, struct if_head *ifs, const char *ifname,
1038 if (ifs == NULL)
1039 ifs = ctx->ifaces;
1040 if (ifs == NULL) {
1048 if ((ifp = if_find(ifs, ifname)) == NULL)
1029 ipv4_handleifa(struct dhcpcd_ctx *ctx, int cmd, struct if_head *ifs, const char *ifname, const struct in_addr *addr, const struct in_addr *net, const struct in_addr *dst, int flags) argument
H A Ddhcp6.c2304 const struct if_sla *sla, struct if_ia *ia, struct interface *ifs)
2314 if (strcmp(ifp->name, ifs->name) == 0) {
2339 a->delegating_iface = ifs;
3196 struct if_head *ifs; local
3201 ifs = if_discover(ifp->ctx, -1, UNCONST(argv));
3202 if (ifs) {
3203 ifn = TAILQ_FIRST(ifs);
3219 TAILQ_REMOVE(ifs, ifn, next);
3227 while ((ifn = TAILQ_FIRST(ifs))) {
3228 TAILQ_REMOVE(ifs, if
2303 dhcp6_ifdelegateaddr(struct interface *ifp, struct ipv6_addr *prefix, const struct if_sla *sla, struct if_ia *ia, struct interface *ifs) argument
[all...]
H A Dipv6.c917 int cmd, struct if_head *ifs, const char *ifname,
933 if (ifs == NULL)
934 ifs = ctx->ifaces;
935 if (ifs == NULL) {
939 TAILQ_FOREACH(ifp, ifs, next) {
916 ipv6_handleifa(struct dhcpcd_ctx *ctx, int cmd, struct if_head *ifs, const char *ifname, const struct in6_addr *addr, uint8_t prefix_len, int flags) argument
/external/libese/libese-teq1/
H A Dteq1_private.h67 uint8_t ifs; member in struct:Teq1State
83 .ifs = IFSC, \
H A Dteq1.c182 if (state->ifs < inf_len) {
183 inf_len = state->ifs;
392 state->ifs = rx_frame->INF[0];
/external/selinux/python/sepolgen/src/sepolgen/
H A Dpolicygen.py305 def __init__(self, ifs, perm_maps=None):
306 self.ifs = ifs
307 self.hack_check_ifs(ifs)
311 def hack_check_ifs(self, ifs):
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/
H A DCtClassType.java308 String[] ifs = file.getInterfaces();
309 int num = ifs.length;
311 if (ifs[i].equals(cname))
318 if (classPool.get(ifs[i]).subtypeOf(clazz))
704 String[] ifs = getClassFile2().getInterfaces();
705 int num = ifs.length;
708 ifc[i] = classPool.get(ifs[i]);
715 String[] ifs;
717 ifs = new String[0];
720 ifs
[all...]
/external/selinux/python/audit2allow/
H A 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)
H A 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/skia/src/sksl/
H A DSkSLCFGGenerator.cpp234 IfStatement* ifs = (IfStatement*) s; local
235 this->addExpression(cfg, &ifs->fTest, true);
238 this->addStatement(cfg, ifs->fIfTrue.get());
240 if (ifs->fIfFalse) {
243 this->addStatement(cfg, ifs->fIfFalse.get());
/external/javassist/src/main/javassist/compiler/
H A DMemberResolver.java155 CtClass[] ifs = clazz.getInterfaces();
156 int size = ifs.length;
158 Method r = lookupMethod(ifs[i], methodName,
/external/wpa_supplicant_8/wpa_supplicant/
H A Devents.c1921 struct wpa_supplicant *ifs; local
1948 dl_list_for_each(ifs, &wpa_s->radio->ifaces, struct wpa_supplicant,
1950 if (ifs != wpa_s) {
1952 "sibling", ifs->ifname);
1953 res = _wpa_supplicant_event_scan_results(ifs, data, 0,
3403 struct wpa_supplicant *ifs; local
3411 for (ifs = wpa_s; ifs->parent && ifs != ifs
[all...]
H A Dwpa_supplicant.c6302 struct wpa_supplicant *ifs; local
6311 dl_list_for_each(ifs, &wpa_s->radio->ifaces, struct wpa_supplicant,
6316 if (ifs->current_ssid == NULL || ifs->assoc_freq == 0)
6319 if (ifs->current_ssid->mode == WPAS_MODE_AP ||
6320 ifs->current_ssid->mode == WPAS_MODE_P2P_GO ||
6321 ifs->current_ssid->mode == WPAS_MODE_MESH)
6322 freq = ifs->current_ssid->frequency;
6323 else if (wpa_drv_get_bssid(ifs, bssid) == 0)
6324 freq = ifs
[all...]
/external/ppp/pppd/
H A Dsys-linux.c1785 struct ifreq ifs[MAX_IFS]; local
1790 ifc.ifc_len = sizeof(ifs);
1791 ifc.ifc_req = ifs;
1802 ifend = ifs + (ifc.ifc_len / sizeof(struct ifreq));
1910 struct ifreq ifs[MAX_IFS]; local
1926 ifc.ifc_len = sizeof(ifs);
1927 ifc.ifc_req = ifs;
/external/javassist/src/main/javassist/util/proxy/
H A DProxyFactory.java365 public void setInterfaces(Class[] ifs) { argument
366 interfaces = ifs;
1023 Class[] ifs = clazz.getInterfaces();
1024 for (int i = 0; i < ifs.length; i++)
1025 getMethods(hash, ifs[i]);
/external/javassist/src/main/javassist/bytecode/
H A DSignatureAttribute.java666 ClassType[] ifs
668 return new ClassSignature(tp, superClass, ifs);
/external/selinux/python/sepolicy/sepolicy/
H A D__init__.py713 ifs = interfaces.InterfaceSet()
714 ifs.from_file(fd)
715 methods = list(ifs.interfaces.keys())

Completed in 3377 milliseconds

12