/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() 111 g_string_append_c(writer->contents, '"'); in quoted_str() 154 g_string_append_c(writer->contents, '"'); in quoted_str() 163 if (writer->contents->len) { in maybe_comma_name() 178 g_string_append_c(writer->contents, '{'); in json_writer_start_object() [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"
|
H A D | gbmc-br-ula.sh | 30 contents='[Network]'$'\n' 35 contents+="Address=$addr"$'\n' 42 printf '%s' "$contents" >"$netfile"
|
/openbmc/u-boot/scripts/ |
H A D | kernel-doc | 383 my $contents = ""; 1868 $contents = ""; 1886 $contents = ""; 1953 if (($contents ne "") && ($contents ne "\n")) { 1967 $contents = substr($contents, 1); 1975 if (($contents ne "") && ($contents ne "\n")) { 2037 $contents = $2; 2063 $contents = ""; 2090 $contents = $2; 2094 $contents = substr($contents, 1); [all …]
|
/openbmc/qemu/scripts/ |
H A D | kernel-doc | 2052 $contents = ""; 2070 $contents = ""; 2137 $contents = ""; 2156 if (($contents ne "") && ($contents ne "\n")) { 2170 $contents = substr($contents, 1); 2178 if (($contents ne "") && ($contents ne "\n")) { 2244 $contents = $2; 2270 $contents = ""; 2297 $contents = $2; 2301 $contents = substr($contents, 1); [all …]
|
/openbmc/linux/scripts/ |
H A D | kernel-doc | 280 my $contents = ""; 2025 $contents = ""; 2063 $contents = ""; 2112 $contents = ""; 2131 if (($contents ne "") && ($contents ne "\n")) { 2144 $contents = substr($contents, 1); 2152 if (($contents ne "") && ($contents ne "\n")) { 2216 $contents = $2; 2242 $contents = ""; 2273 $contents = substr($contents, 1); [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 = id; in s390x_write_elf64_prstatus() 114 note->contents.fpregset.fpc = cpu_to_be32(cpu->env.fpc); in s390x_write_elf64_fpregset() 135 temp_vregshi = ¬e->contents.vregshi; in s390x_write_elf64_vregshi() 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() 169 note->contents.todpreg = cpu_to_be32((uint32_t)(cpu->env.todpr)); in s390x_write_elf64_todpreg() 179 note->contents.ctrs[i] = cpu_to_be64(cpu->env.cregs[i]); in s390x_write_elf64_ctrs() 186 note->contents.prefix = cpu_to_be32((uint32_t)(cpu->env.psa)); in s390x_write_elf64_prefix() [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 | 20 @@ -216,7 +216,7 @@ write_loader_info (GString *contents, const char *path, GdkPixbufFormat *info) 21 g_string_append_c (contents, '\n'); 26 query_module (GString *contents, const char *dir, const char *file) 29 @@ -225,6 +225,7 @@ query_module (GString *contents, const char *dir, const char *file) 37 @@ -274,10 +275,13 @@ query_module (GString *contents, const char *dir, const char *file) 63 - query_module (contents, moduledir, l->data); 64 + if (!query_module (contents, moduledir, l->data)) 74 - query_module (contents, cwd, infilename); 75 + if (!query_module (contents, cwd, infilename))
|
/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/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/openbmc/poky/bitbake/lib/bs4/builder/ |
H A D | _html5lib.py | 173 if (string_child and self.element.contents 178 old_element = self.element.contents[-1] 190 if self.element.contents: 244 old_node = self.element.contents[index-1] 266 if len(new_parent_element.contents) > 0: 269 new_parents_last_child = new_parent_element.contents[-1] 276 to_append = element.contents 277 append_after = new_parent_element.contents 303 new_parent_element.contents.append(child) 306 element.contents = [] [all …]
|
/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() 277 if (!contents) in handle_encls_ecreate() 282 free_page((unsigned long)contents); in handle_encls_ecreate() 287 pageinfo.contents = (u64)contents; in handle_encls_ecreate() [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/qemu/target/ppc/ |
H A D | arch_dump.c | 91 } contents; member 110 prstatus = ¬e->contents.prstatus; in ppc_write_elf_prstatus() 139 fpregset = ¬e->contents.fpregset; in ppc_write_elf_fpregset() 157 vmxregset = ¬e->contents.vmxregset; in ppc_write_elf_vmxregset() 189 vsxregset = ¬e->contents.vsxregset; in ppc_write_elf_vsxregset() 205 speregset = ¬e->contents.speregset; in ppc_write_elf_speregset() 216 {sizeof_field(Note, contents.prstatus), ppc_write_elf_prstatus}, 217 {sizeof_field(Note, contents.fpregset), ppc_write_elf_fpregset}, 218 {sizeof_field(Note, contents.vmxregset), ppc_write_elf_vmxregset}, 219 {sizeof_field(Note, contents.vsxregset), ppc_write_elf_vsxregset}, [all …]
|
/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") 115 contents = json.dumps( variable 119 fp.write(comments.insert_comments(contents))
|
/openbmc/openbmc/poky/bitbake/lib/bs4/ |
H A D | element.py | 808 self.contents = [] 863 child = self.contents[0] 915 i.contents = [] 961 return iter(self.contents) 965 return len(self.contents) 968 return x in self.contents 1129 s = contents 1143 s.append(contents) 1144 if pretty_print and contents and contents[-1] != "\n": 1270 if not len(self.contents): [all …]
|
/openbmc/qemu/qga/ |
H A D | commands-posix-ssh.c | 118 g_autofree char *contents = NULL; in write_authkeys() local 121 contents = g_strjoinv("\n", keys); in write_authkeys() 122 if (!g_file_set_contents(path, contents, -1, &err)) { in write_authkeys() 146 g_autofree char *contents = NULL; in read_authkeys() local 148 if (!g_file_get_contents(path, &contents, NULL, &err)) { in read_authkeys() 153 return g_strsplit(contents, "\n", -1); in read_authkeys() 308 test_authorized_keys_set(const char *contents) in test_authorized_keys_set() argument 320 g_file_set_contents(path, contents, -1, &err); in test_authorized_keys_set() 329 g_autofree char *contents = NULL; in test_authorized_keys_equal() local 332 g_file_get_contents(path, &contents, NULL, &err); in test_authorized_keys_equal() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs-115/ |
H A D | 0001-add-arm-to-list-of-mozinline.patch | 30 contents = contents.replace("INLINE_ATTR", "MOZ_NEVER_INLINE inline") 32 contents = contents.replace("INLINE_ATTR", "inline")
|
/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/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/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/qemu/crypto/ |
H A D | tlscreds.c | 58 gchar *contents; in qcrypto_tls_creds_get_dh_params_file() local 62 &contents, in qcrypto_tls_creds_get_dh_params_file() 70 data.data = (unsigned char *)contents; in qcrypto_tls_creds_get_dh_params_file() 74 g_free(contents); in qcrypto_tls_creds_get_dh_params_file() 82 g_free(contents); in qcrypto_tls_creds_get_dh_params_file()
|
/openbmc/linux/Documentation/networking/ |
H A D | ethtool-netlink.rst | 314 Request contents: 370 Request contents: 400 Request contents: 420 Request contents: 451 Request contents: 484 Request contents: 651 Request contents: 681 Request contents: 699 Request contents: 723 Request contents: [all …]
|