/frameworks/rs/rsov/compiler/spirit/ |
file_utils.h | 29 std::ifstream ifs; local 30 std::filebuf *fb = ifs.rdbuf(); 38 ifs.seekg(0, ifs.end); 39 int length = ifs.tellg(); 40 ifs.seekg(0, ifs.beg); 44 ifs.read((char *)ret.data(), length);
|
/external/flatbuffers/src/ |
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.bad() [all...] |
/test/vts/drivers/libdrivercomm/ |
VtsDriverFileUtil.cpp | 29 ifstream ifs(file_path); 30 string content((istreambuf_iterator<char>(ifs)),
|
/external/mesa3d/src/gallium/drivers/i915/ |
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->constant_flags[reg] == 0xf | 354 struct i915_fragment_shader *ifs = p->shader; local [all...] |
i915_fpc_translate.c | 1081 struct i915_fragment_shader *ifs = p->shader; local 1231 struct i915_fragment_shader *ifs = p->shader; local [all...] |
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->decl = NULL [all...] |
/external/autotest/client/deps/lansim/src/py/ |
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_addr' [all...] |
/external/libedit/src/ |
tokenizer.c | 66 #define IFS STR("\t \n") 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); [all...] |
/external/dhcpcd-6.8.2/ |
if.c | 191 static void if_learnaddrs1(struct dhcpcd_ctx *ctx, struct if_head *ifs, 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, next) [all...] |
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 = if_discover(ctx, argc - oi, argv + oi) [all...] |
/external/libese/libese-teq1/ |
teq1_private.h | 57 uint8_t ifs; member in struct:Teq1State 77 .ifs = IFSC, \
|
/external/selinux/python/sepolgen/src/sepolgen/ |
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)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/ |
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/javassist/src/main/javassist/ |
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(); local 705 int num = ifs.length; 708 ifc[i] = classPool.get(ifs[i]); 715 String[] ifs; local 717 ifs = new String[0]; 720 ifs = new String[num] 876 CtClass[] ifs = cc.getInterfaces(); local 918 CtClass[] ifs = getInterfaces(); local 1095 CtClass[] ifs = cc.getInterfaces(); local 1159 CtClass[] ifs = cc.getInterfaces(); local 1652 CtClass[] ifs = getInterfaces(); local [all...] |
/external/selinux/python/audit2allow/ |
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)
|
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/ |
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, add) : add [all...] |
/system/libhidl/transport/ |
ServiceManagement.cpp | 86 std::ifstream ifs("/proc/self/cmdline"); 88 if (!ifs.is_open()) { 91 ifs >> cmdline; 231 std::ifstream ifs{mapsPath}; 232 if (!ifs.is_open()) continue; 234 for (std::string line; std::getline(ifs, line);) {
|
/art/compiler/optimizing/ |
induction_var_analysis_test.cc | 1216 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious(); local 1242 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious(); local 1268 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious(); local 1294 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious(); local 1319 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious(); local 1344 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious(); local [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Ipf/ |
ReadCr.s | 77 (p24) mov ret0=cr.ifs // cr23
|
/frameworks/rs/rsov/driver/ |
rsovScript.cpp | 78 std::ifstream ifs(filename, std::ios::binary); 80 ifs.seekg(0, ifs.end); 81 int length = ifs.tellg(); 82 ifs.seekg(0, ifs.beg); 88 ifs.read((char *)(spvWords.data()), length); 90 ifs.close();
|
/external/javassist/src/main/javassist/compiler/ |
MemberResolver.java | 155 CtClass[] ifs = clazz.getInterfaces(); local 156 int size = ifs.length; 158 Method r = lookupMethod(ifs[i], methodName,
|
/system/libvintf/ |
assemble_vintf.cpp | 109 std::ifstream ifs{path}; 110 if (!ifs.is_open()) { 115 std::string content = read(ifs);
|
/external/wpa_supplicant_8/wpa_supplicant/ |
events.c | 1921 struct wpa_supplicant *ifs; local 3403 struct wpa_supplicant *ifs; local [all...] |
/frameworks/native/cmds/lshal/ |
ListCommand.cpp | 51 std::ifstream ifs("/proc/" + std::to_string(pid) + "/cmdline"); 53 if (!ifs.is_open()) { 56 ifs >> cmdline; 79 std::ifstream ifs("/d/binder/proc/" + std::to_string(pid)); 80 if (!ifs.is_open()) { 89 while(getline(ifs, line)) {
|