/openbmc/qemu/qobject/ |
H A D | json-writer.c | 23 GString *contents; member 33 writer->contents = g_string_new(NULL); in json_writer_new() 41 return writer->contents->str; in json_writer_get() 46 GString *contents = writer->contents; in json_writer_get_and_free() local 48 writer->contents = NULL; in json_writer_get_and_free() 51 return contents; in json_writer_get_and_free() 90 g_string_append_printf(writer->contents, "\n%*s", in pretty_newline() 98 g_string_append_printf(writer->contents, "\n%*s", in pretty_newline_or_space() 101 g_string_append_c(writer->contents, ' '); in pretty_newline_or_space() 111 g_string_append_c(writer->contents, '"'); in quoted_str() [all …]
|
/openbmc/u-boot/scripts/ |
H A D | kernel-doc | 383 my $contents = ""; 470 my $contents = join "\n", @_; 474 $parameterdescs{$name} = $contents; 480 $parameterdescs{$name} = $contents; 491 $sections{$name} .= $contents; 493 $sections{$name} = $contents; 507 my $contents = join "\n", @_; 519 dump_section($file, $name, $contents); 539 my $contents = join "\n",@_; 553 foreach $line (split "\n", $contents) { [all …]
|
/openbmc/openbmc/meta-google/recipes-google/networking/gbmc-bridge/ |
H A D | gbmc-br-nft.sh | 27 local contents= 28 contents+='table inet filter {'$'\n' 29 contents+=' chain gbmc_br_int_input {'$'\n' 31 contents+=" ip6 saddr $gbmc_br_nft_pfx" 32 contents+=" ip6 daddr $gbmc_br_nft_pfx accept"$'\n' 34 contents+=' }'$'\n' 35 contents+='}'$'\n' 39 printf '%s' "$contents" >"$rfile"
|
/openbmc/qemu/scripts/ |
H A D | kernel-doc | 410 my $contents = ""; 560 my $contents = join "\n", @_; 564 $parameterdescs{$name} = $contents; 570 $parameterdescs{$name} = $contents; 581 $sections{$name} .= $contents; 583 $sections{$name} = $contents; 597 my $contents = join "\n", @_; 609 dump_section($file, $name, $contents); 629 my $contents = join "\n",@_; 643 foreach $line (split "\n", $contents) { [all …]
|
/openbmc/linux/scripts/ |
H A D | kernel-doc | 280 my $contents = ""; 462 my $contents = join "\n", @_; 466 $parameterdescs{$name} = $contents; 472 $parameterdescs{$name} = $contents; 482 $sections{$name} .= $contents; 484 $sections{$name} = $contents; 498 my $contents = join "\n", @_; 510 dump_section($file, $name, $contents); 530 my $contents = join "\n",@_; 544 foreach $line (split "\n", $contents) { [all …]
|
/openbmc/qemu/target/s390x/ |
H A D | arch_dump.c | 86 } contents; member 98 regs = &(note->contents.prstatus.regs); in s390x_write_elf64_prstatus() 105 note->contents.prstatus.pid = cpu_to_be32(id); in s390x_write_elf64_prstatus() 114 note->contents.fpregset.fpc = cpu_to_be32(cpu->env.fpc); in s390x_write_elf64_fpregset() 116 note->contents.fpregset.fprs[i] = cpu_to_be64(*get_freg(cs, i)); in s390x_write_elf64_fpregset() 126 note->contents.vregslo.vregs[i] = cpu_to_be64(cpu->env.vregs[i][1]); in s390x_write_elf64_vregslo() 135 temp_vregshi = ¬e->contents.vregshi; in s390x_write_elf64_vregshi() 150 note->contents.gscb.gsregs[i] = cpu_to_be64(cpu->env.gscb[i]); in s390x_write_elf64_gscb() 157 note->contents.timer = cpu_to_be64((uint64_t)(cpu->env.cputm)); in s390x_write_elf64_timer() 163 note->contents.todcmp = cpu_to_be64((uint64_t)(cpu->env.ckc)); in s390x_write_elf64_todcmp() [all …]
|
/openbmc/qemu/hw/nvram/ |
H A D | ds1225y.c | 39 uint8_t *contents; member 47 val = s->contents[addr]; in nvram_read() 58 trace_nvram_write(addr, s->contents[addr], val); in nvram_write() 60 s->contents[addr] = val; in nvram_write() 91 if (fwrite(s->contents, s->chip_size, 1, s->file) != 1) { in nvram_post_load() 106 VMSTATE_VARRAY_UINT32(contents, NvRamState, chip_size, 0, 127 s->contents = g_malloc0(s->chip_size); in nvram_sysbus_realize() 137 if (fread(s->contents, s->chip_size, 1, file) != 1) { in nvram_sysbus_realize()
|
H A D | eeprom93xx.c | 89 uint16_t contents[]; member 149 VMSTATE_VARRAY_UINT16_UNSAFE(contents, eeprom_t, size, 0, 178 eeprom->contents[address] = 0xffff; in eeprom93xx_write() 182 eeprom->contents[address] = 0xffff; in eeprom93xx_write() 186 eeprom->contents[address] &= eeprom->data; in eeprom93xx_write() 190 eeprom->contents[address] &= eeprom->data; in eeprom93xx_write() 230 opstring[command], address, eeprom->contents[address]); in eeprom93xx_write() 255 eeprom->data = eeprom->contents[address]; in eeprom93xx_write() 339 return &eeprom->contents[0]; in eeprom93xx_data()
|
/openbmc/openbmc/poky/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/ |
H A D | fatal-loader.patch | 19 @@ -216,7 +216,7 @@ write_loader_info (GString *contents, const char *path, GdkPixbufFormat *info) 20 g_string_append_c (contents, '\n'); 25 query_module (GString *contents, const char *dir, const char *file) 28 @@ -225,6 +225,7 @@ query_module (GString *contents, const char *dir, const char *file) 36 @@ -274,10 +275,13 @@ query_module (GString *contents, const char *dir, const char *file) 62 - query_module (contents, moduledir, l->data); 63 + if (!query_module (contents, moduledir, l->data)) 73 - query_module (contents, cwd, infilename); 74 + if (!query_module (contents, cwd, infilename))
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | journal_utils.hpp | 28 std::string_view& contents) in getJournalMetadata() argument 42 contents = std::string_view(data, length); in getJournalMetadata() 44 contents.remove_prefix(std::min(contents.find('=') + 1, contents.size())); in getJournalMetadata() 49 long int& contents) in getJournalMetadataInt() argument 59 std::from_chars(&*metadata.begin(), &*metadata.end(), contents); in getJournalMetadataInt()
|
/openbmc/openbmc/meta-google/recipes-google/ncsi/files/ |
H A D | gbmc-ncsi-nft.sh.in | 30 local contents= 31 contents+='table inet filter {'$'\n' 32 contents+=' chain ncsi_input {'$'\n' 36 contents+=" ip daddr $ip4 goto ncsi_legacy_input"$'\n' 41 contents+=" ip6 daddr $ip6 goto ncsi_legacy_input"$'\n' 44 contents+=' }'$'\n' 45 contents+='}'$'\n' 49 printf '%s' "$contents" >"$rfile"
|
/openbmc/linux/arch/x86/kvm/vmx/ |
H A D | sgx.c | 145 struct sgx_secs *contents = (struct sgx_secs *)pageinfo->contents; in __handle_encls_ecreate() local 159 miscselect = contents->miscselect; in __handle_encls_ecreate() 160 attributes = contents->attributes; in __handle_encls_ecreate() 161 xfrm = contents->xfrm; in __handle_encls_ecreate() 162 size = contents->size; in __handle_encls_ecreate() 223 struct sgx_secs *contents; in handle_encls_ecreate() local 247 sgx_get_encls_gva(vcpu, pageinfo.contents, 4096, 4096, in handle_encls_ecreate() 276 contents = (struct sgx_secs *)__get_free_page(GFP_KERNEL_ACCOUNT); in handle_encls_ecreate() 277 if (!contents) in handle_encls_ecreate() 281 if (sgx_read_hva(vcpu, contents_hva, (void *)contents, PAGE_SIZE)) { in handle_encls_ecreate() [all …]
|
/openbmc/google-ipmi-sys/ |
H A D | util.cpp | 62 std::string contents; in readPropertyFile() local 71 if (ifs >> contents) in readPropertyFile() 74 if (!contents.empty()) in readPropertyFile() 76 const char& back = contents.back(); in readPropertyFile() 78 contents.pop_back(); in readPropertyFile() 81 return contents; in readPropertyFile()
|
/openbmc/qemu/target/ppc/ |
H A D | arch_dump.c | 96 } contents; member 115 prstatus = ¬e->contents.prstatus; in ppc_write_elf_prstatus() 145 fpregset = ¬e->contents.fpregset; in ppc_write_elf_fpregset() 163 vmxregset = ¬e->contents.vmxregset; in ppc_write_elf_vmxregset() 195 vsxregset = ¬e->contents.vsxregset; in ppc_write_elf_vsxregset() 211 speregset = ¬e->contents.speregset; in ppc_write_elf_speregset() 222 {sizeof_field(Note, contents.prstatus), ppc_write_elf_prstatus}, 223 {sizeof_field(Note, contents.fpregset), ppc_write_elf_fpregset}, 224 {sizeof_field(Note, contents.vmxregset), ppc_write_elf_vmxregset}, 225 {sizeof_field(Note, contents.vsxregset), ppc_write_elf_vsxregset}, [all …]
|
/openbmc/bmcweb/scripts/ |
H A D | replace_logs.py | 44 contents = filehandle.read() variable 49 for line in contents.splitlines(): 61 contents = new_contents variable 64 for line in contents.splitlines(): 95 contents = new_contents variable
|
/openbmc/entity-manager/scripts/ |
H A D | autojson.py | 41 def extract_comments(self, contents: str) -> str: 47 for idx, line in enumerate(contents.split("\n")): 78 def insert_comments(self, contents: str) -> str: 79 result = contents.split("\n") 117 contents = json.dumps( variable 121 fp.write(comments.insert_comments(contents))
|
/openbmc/openbmc/poky/bitbake/lib/bs4/ |
H A D | element.py | 190 and self.parent is not None and self.parent.contents): 191 previous_sibling = self.parent.contents[-1] 332 for child in reversed(self.contents[:]): 361 del self.parent.contents[_self_index] 398 while isinstance(last_child, Tag) and last_child.contents: 399 last_child = last_child.contents[-1] 427 for subchild in list(new_child.contents): 431 position = min(position, len(self.contents)) 451 previous_child = self.contents[position - 1] 460 if position >= len(self.contents): [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bs4/builder/ |
H A D | _html5lib.py | 309 if (string_child is not None and self.element.contents 310 and self.element.contents[-1].__class__ == NavigableString): 314 old_element = self.element.contents[-1] 326 if self.element.contents: 377 if (node.element.__class__ == NavigableString and self.element.contents 378 and self.element.contents[index-1].__class__ == NavigableString): 380 old_node = self.element.contents[index-1] 403 if len(new_parent_element.contents) > 0: 406 new_parents_last_child = new_parent_element.contents[-1] 413 to_append = element.contents [all …]
|
/openbmc/qemu/hw/scsi/ |
H A D | esp-pci.c | 523 uint8_t *contents; in dc390_scsi_realize() local 538 contents = (uint8_t *)eeprom93xx_data(pci->eeprom); in dc390_scsi_realize() 541 contents[i * 2] = 0x57; in dc390_scsi_realize() 542 contents[i * 2 + 1] = 0x00; in dc390_scsi_realize() 544 contents[EE_ADAPT_SCSI_ID] = 7; in dc390_scsi_realize() 545 contents[EE_MODE2] = 0x0f; in dc390_scsi_realize() 546 contents[EE_TAG_CMD_NUM] = 0x04; in dc390_scsi_realize() 547 contents[EE_ADAPT_OPTIONS] = EE_ADAPT_OPTION_F6_F8_AT_BOOT in dc390_scsi_realize() 553 chksum += contents[i] + (((uint16_t)contents[i + 1]) << 8); in dc390_scsi_realize() 556 contents[EE_CHKSUM1] = chksum & 0xff; in dc390_scsi_realize() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs-128/ |
H A D | 0001-add-arm-to-list-of-mozinline.patch | 29 contents = contents.replace("INLINE_ATTR", "MOZ_NEVER_INLINE inline") 31 contents = contents.replace("INLINE_ATTR", "inline")
|
/openbmc/qemu/qga/ |
H A D | commands-common-ssh.c | 13 g_autofree char *contents = NULL; in read_authkeys() local 15 if (!g_file_get_contents(path, &contents, NULL, &err)) { in read_authkeys() 20 return g_strsplit(contents, "\n", -1); in read_authkeys()
|
H A D | commands-posix-ssh.c | 88 g_autofree char *contents = NULL; in write_authkeys() local 91 contents = g_strjoinv("\n", keys); in write_authkeys() 92 if (!g_file_set_contents(path, contents, -1, &err)) { in write_authkeys() 262 test_authorized_keys_set(const char *contents) in test_authorized_keys_set() argument 274 g_file_set_contents(path, contents, -1, &err); in test_authorized_keys_set() 283 g_autofree char *contents = NULL; in test_authorized_keys_equal() local 286 g_file_get_contents(path, &contents, NULL, &err); in test_authorized_keys_equal() 289 g_assert(g_strcmp0(contents, expected) == 0); in test_authorized_keys_equal()
|
/openbmc/openbmc/poky/meta/lib/oeqa/utils/ |
H A D | ftools.py | 46 contents = rdata.strip().splitlines() 49 contents.remove(r) 52 write_file(path, "\n".join(contents))
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-papr-pmem | 15 Indicates that NVDIMM contents will not 18 Indicates that NVDIMM contents 22 Indicates that NVDIMM contents 26 NVDIMM contents are encrypted. 30 Indicating that contents of the 33 Indicating that NVDIMM contents can't
|
/openbmc/linux/Documentation/networking/ |
H A D | ethtool-netlink.rst | 90 attribute with contents of one of two forms: compact (two binary bitmaps 109 Compact form: nested (bitset) attribute contents: 134 Bit-by-bit form: nested (bitset) attribute contents: 233 ``ETHTOOL_MSG_STRSET_GET_REPLY`` string set contents 307 Requests contents of a string set as provided by ioctl commands 314 Request contents: 326 Kernel response contents: 370 Request contents: 376 Kernel response contents: 400 Request contents: [all …]
|