/external/flatbuffers/src/ |
H A D | util.cpp | 22 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 D | i915_fpc_emit.c | 285 struct i915_fragment_shader *ifs = p->shader; local 294 if (ifs->constant_flags[reg] == I915_CONSTFLAG_USER) 297 if (!(ifs->constant_flags[reg] & (1 << idx)) || 298 ifs->constants[reg][idx] == c0) { 299 ifs->constants[reg][idx] = c0; 300 ifs->constant_flags[reg] |= 1 << idx; 301 if (reg + 1 > ifs->num_constants) 302 ifs->num_constants = reg + 1; 315 struct i915_fragment_shader *ifs = p->shader; local 331 if (ifs 354 struct i915_fragment_shader *ifs = p->shader; local [all...] |
H A D | i915_fpc_translate.c | 1081 struct i915_fragment_shader *ifs = p->shader; local 1099 assert(ifs->constant_flags[i] == 0x0); 1100 ifs->constant_flags[i] = I915_CONSTFLAG_USER; 1101 ifs->num_constants = MAX2(ifs->num_constants, i + 1); 1139 if (ifs->constant_flags[j] == 0x0) { 1140 memcpy(ifs->constants[j], 1144 ifs->constant_flags[j] = 0xf; /* all four comps used */ 1146 ifs->num_constants = MAX2(ifs 1182 i915_init_compile(struct i915_context *i915, struct i915_fragment_shader *ifs) argument 1231 struct i915_fragment_shader *ifs = p->shader; local [all...] |
H A D | i915_state.c | 594 struct i915_fragment_shader *ifs = CALLOC_STRUCT(i915_fragment_shader); local 595 if (!ifs) 598 ifs->draw_data = draw_create_fragment_shader(i915->draw, templ); 599 ifs->state.tokens = tgsi_dup_tokens(templ->tokens); 601 tgsi_scan_shader(templ->tokens, &ifs->info); 604 i915_translate_fragment_program(i915, ifs); 606 return ifs; 627 struct i915_fragment_shader *ifs = (struct i915_fragment_shader *) shader; local 629 FREE(ifs->decl); 630 ifs [all...] |
/external/autotest/client/deps/lansim/src/py/ |
H A D | tuntap.py | 112 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 D | tokenizer.c | 75 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 D | if.c | 191 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 D | dhcpcd.c | 944 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...] |
/external/libese/libese-teq1/ |
H A D | teq1_private.h | 57 uint8_t ifs; member in struct:Teq1State 77 .ifs = IFSC, \
|
H A D | teq1.c | 182 if (state->ifs < inf_len) { 183 inf_len = state->ifs; 407 state->ifs = rx_frame->INF[0];
|
/external/selinux/python/sepolgen/src/sepolgen/ |
H A D | policygen.py | 305 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/tensorflow/tensorflow/contrib/py2tf/converters/ |
H A D | list_comprehension.py | 67 for gen_if in reversed(gen.ifs):
|
/external/javassist/src/main/javassist/ |
H A D | CtClassType.java | 308 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/tensorflow/tensorflow/contrib/verbs/ |
H A D | rdma_mgr.cc | 205 std::ifstream ifs("/proc/modules"); 207 while (std::getline(ifs, line)) { 231 std::ifstream ifs(filename.c_str()); 233 CHECK(std::getline(ifs, content));
|
/external/selinux/python/audit2allow/ |
H A D | audit2allow | 195 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 D | audit2why | 195 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/ |
H A D | sb_bc_finalize.cpp | 251 unsigned ifs, loops; local 252 unsigned elems = get_stack_depth(r, loops, ifs); 262 unsigned ifs, loops; local 263 get_stack_depth(r, loops, ifs); 847 unsigned &ifs, unsigned add) { 854 ifs = 0; 860 ++ifs; 865 stack_elements += (loops * ctx.stack_entry_size) + ifs; 901 unsigned ifs = 0; local 902 unsigned elems = r ? get_stack_depth(r, loops, ifs, ad 846 get_stack_depth(node *n, unsigned &loops, unsigned &ifs, unsigned add) argument [all...] |
/external/javassist/src/main/javassist/compiler/ |
H A D | MemberResolver.java | 155 CtClass[] ifs = clazz.getInterfaces(); 156 int size = ifs.length; 158 Method r = lookupMethod(ifs[i], methodName,
|
/external/python/cpython2/Lib/compiler/ |
H A D | ast.py | 603 def __init__(self, assign, iter, ifs, lineno=None): 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): 859 self.ifs = ifs 866 children.extend(flatten(self.ifs)) [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | events.c | 2030 struct wpa_supplicant *ifs; local 2057 dl_list_for_each(ifs, &wpa_s->radio->ifaces, struct wpa_supplicant, 2059 if (ifs != wpa_s) { 2061 "sibling", ifs->ifname); 2062 res = _wpa_supplicant_event_scan_results(ifs, data, 0, 3529 struct wpa_supplicant *ifs; local 3538 for (ifs = wpa_s; ifs->parent && ifs != ifs [all...] |
/external/scapy/scapy/arch/ |
H A D | pcapdnet.py | 615 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/skia/src/sksl/ |
H A D | SkSLCFGGenerator.cpp | 460 IfStatement& ifs = (IfStatement&) **s; local 461 this->addExpression(cfg, &ifs.fTest, true); 466 this->addStatement(cfg, &ifs.fIfTrue); 468 if (ifs.fIfFalse) { 471 this->addStatement(cfg, &ifs.fIfFalse);
|
/external/skqp/src/sksl/ |
H A D | SkSLCFGGenerator.cpp | 460 IfStatement& ifs = (IfStatement&) **s; local 461 this->addExpression(cfg, &ifs.fTest, true); 466 this->addStatement(cfg, &ifs.fIfTrue); 468 if (ifs.fIfFalse) { 471 this->addStatement(cfg, &ifs.fIfFalse);
|
/external/tensorflow/tensorflow/core/kernels/ |
H A D | debug_ops_test.cc | 123 std::fstream ifs(dump_file_path, std::ios::in | std::ios::binary); 125 event.ParseFromIstream(&ifs); 126 ifs.close();
|
/external/tensorflow/tensorflow/contrib/gdr/ |
H A D | gdr_memory_manager.cc | 55 std::ifstream ifs("/proc/modules"); 57 while (std::getline(ifs, line)) { 81 std::ifstream ifs(filename.c_str()); 83 CHECK(std::getline(ifs, content));
|