/openbmc/phosphor-bmc-code-mgmt/ |
H A D | version.cpp | 61 std::ifstream efile; in getRepeatedValues() local 68 efile.open(manifestFilePath); in getRepeatedValues() 69 while (getline(efile, line)) in getRepeatedValues() 82 efile.close(); in getRepeatedValues() 86 if (!efile.eof()) in getRepeatedValues() 136 while (getline(efile, line)) in getBMCMachine() 164 while (getline(efile, line)) in getBMCExtendedVersion() 185 std::ifstream efile; in getBMCVersion() local 187 efile.open(releaseFilePath); in getBMCVersion() 189 while (getline(efile, line)) in getBMCVersion() [all …]
|
H A D | item_updater.cpp | 935 std::ifstream efile(file.c_str()); in checkImage() local 936 if (efile.good() != 1) in checkImage()
|
/openbmc/linux/tools/bpf/resolve_btfids/ |
H A D | main.c | 129 } efile; member 354 obj->efile.fd = fd; in elf_collect() 355 obj->efile.elf = elf; in elf_collect() 406 obj->efile.symbols_shndx = idx; in elf_collect() 410 obj->efile.idlist_shndx = idx; in elf_collect() 428 scn = elf_getscn(obj->efile.elf, obj->efile.symbols_shndx); in symbols_collect() 452 name = elf_strptr(obj->efile.elf, obj->efile.strtabidx, in symbols_collect() 767 .efile = { in main() 820 if (obj.efile.elf) { in main() 821 elf_end(obj.efile.elf); in main() [all …]
|
/openbmc/openpower-pnor-code-mgmt/ |
H A D | version.cpp | 65 std::ifstream efile; in getValue() local 67 efile.exceptions(std::ifstream::failbit | std::ifstream::badbit | in getValue() 72 efile.open(filePath); in getValue() 73 while (getline(efile, line)) in getValue() 86 efile.close(); in getValue() 90 if (!efile.eof()) in getValue() 94 efile.close(); in getValue()
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | reproducible.py | 166 cached, efile = d.getVar('__CACHED_SOURCE_DATE_EPOCH') or (None, None) 167 if cached and efile == epochfile: 170 if cached and epochfile != efile: 171 bb.debug(1, "Epoch file changed from %s to %s" % (efile, epochfile))
|
/openbmc/phosphor-psu-code-mgmt/src/ |
H A D | version.cpp | 36 std::ifstream efile(filePath); in getValues() local 40 while (getline(efile, line)) in getValues()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | libbpf.c | 1274 obj->efile.fd = -1; in bpf_object__new() 1296 if (!obj->efile.elf) in bpf_object__elf_finish() 1318 if (obj->efile.elf) { in bpf_object__elf_init() 1325 elf = elf_memory((char *)obj->efile.obj_buf, obj->efile.obj_buf_sz); in bpf_object__elf_init() 1346 obj->efile.elf = elf; in bpf_object__elf_init() 2820 return obj->efile.st_ops_shndx >= 0 || obj->efile.st_ops_link_shndx >= 0; in kernel_needs_btf() 3205 name = elf_strptr(obj->efile.elf, obj->efile.strtabidx, off); in elf_sym_str() 3219 name = elf_strptr(obj->efile.elf, obj->efile.shstrndx, off); in elf_sec_str() 3403 if (elf_getshdrnum(obj->efile.elf, &obj->efile.sec_cnt)) { in bpf_object__elf_collect() 3408 obj->efile.secs = calloc(obj->efile.sec_cnt, sizeof(*obj->efile.secs)); in bpf_object__elf_collect() [all …]
|
/openbmc/openbmc/poky/meta/classes/ |
H A D | externalsrc.bbclass | 174 with open(git_exclude_file, 'r+') as efile: 175 elines = efile.readlines() 179 efile.write('/' + link + '\n')
|
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/ |
H A D | __init__.py | 1514 efile = os.path.join(rootdir, os.path.basename(base)) 1516 efile = file 1530 cmd = 'gzip -dc %s > %s' % (file, efile) 1532 cmd = 'bzip2 -dc %s > %s' % (file, efile) 1536 cmd = 'xz -dc %s > %s' % (file, efile) 1540 cmd = 'lzip -dc %s > %s' % (file, efile) 1548 cmd = 'zstd --decompress --stdout %s > %s' % (file, efile)
|
/openbmc/linux/mm/ |
H A D | memcontrol.c | 4865 struct fd efile; in memcg_write_event_control() local 4900 efile = fdget(efd); in memcg_write_event_control() 4901 if (!efile.file) { in memcg_write_event_control() 4906 event->eventfd = eventfd_ctx_fileget(efile.file); in memcg_write_event_control() 4980 vfs_poll(efile.file, &event->pt); in memcg_write_event_control() 4987 fdput(efile); in memcg_write_event_control() 4998 fdput(efile); in memcg_write_event_control()
|
/openbmc/openbmc/poky/bitbake/lib/ply/ |
H A D | yacc.py | 2887 efile = func_code(self.error_func).co_filename 2888 self.files[efile] = 1 2891 self.log.error("%s:%d: p_error() requires 1 argument",efile,eline)
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/ |
H A D | views.py | 1980 with open("{}/{}".format(logs_dir, file)) as efile: 1981 content = efile.read()
|