Home
last modified time | relevance | path

Searched full:replace (Results 1 – 25 of 182) sorted by relevance

12345678

/qemu/scripts/
H A Dxml-preprocess.py92 xml_str = xml_str.replace(group_inc, inc_file_content)
99 xml_str = xml_str.replace(group_env, os.environ[group_var])
106 xml_str = xml_str.replace(group_sys, self.sys_vars[group_var])
116 xml_str = xml_str.replace(group_def, "")
120 xml_str = xml_str.replace(
134 xml_str = xml_str.replace(group_for, group_texts)
146 xml_str = xml_str.replace(group_wrn, "")
159 xml_str = xml_str.replace(ifelif, f"<?{tag} {result}?>")
170 xml_str = xml_str.replace(group_ifndef, f"<?if {result}?>")
201 xml_str = xml_str.replace(group_full, result)
[all …]
H A Dshaderinclude.py14 varname = basename.replace('-', '_').replace('.', '_')
/qemu/qga/vss-win32/
H A Dinstall.cpp114 IID_IWbemLocator, (LPVOID *)pLoc.replace())); in GetAdminName()
116 0, 0, 0, pSvc.replace())); in GetAdminName()
124 NULL, pEnum.replace())); in GetAdminName()
130 chk(pEnum->Next(WBEM_INFINITE, 1, pWobj.replace(), &returned)); in GetAdminName()
196 IID_IUnknown, (void **)pUnknown.replace())); in QGAProviderFind()
198 (void **)pCatalog.replace())); in QGAProviderFind()
200 (IDispatch **)pColl.replace())); in QGAProviderFind()
205 chk(pColl->get_Item(i, (IDispatch **)pObj.replace())); in QGAProviderFind()
296 IID_IUnknown, (void **)pUnknown.replace())); in COMRegister()
298 (void **)pCatalog.replace())); in COMRegister()
[all …]
H A Drequester.cpp191 hr = vss_ctx.pVssbc->GetWriterMetadata(i, &id, pMetadata.replace()); in AddComponents()
214 hr = pMetadata->GetComponent(j, pComponent.replace()); in AddComponents()
387 hr = vss_ctx.pVssbc->GatherWriterMetadata(pAsync.replace()); in requester_freeze()
477 hr = vss_ctx.pVssbc->PrepareForBackup(pAsync.replace()); in requester_freeze()
486 hr = vss_ctx.pVssbc->GatherWriterStatus(pAsync.replace()); in requester_freeze()
588 hr = vss_ctx.pVssbc->BackupComplete(pAsync.replace()); in requester_thaw()
H A Dvss-common.h90 /* Replace by assignment to the pointer of p */
91 T **replace(void) in replace() function
/qemu/docs/
H A Ddefs.rst.inc12 .. |qemu_system| replace:: qemu-system-x86_64
13 .. |qemu_system_x86| replace:: qemu-system-x86_64
14 .. |I2C| replace:: I\ :sup:`2`\ C
15 .. |I2S| replace:: I\ :sup:`2`\ S
/qemu/target/hexagon/
H A Dgen_decodetree.py30 tag: "".join(reversed(iset.iset[tag]["enc"].replace(" ", "")))
165 enc_str = enc_str.replace("d", "-")
167 enc_str = enc_str.replace("t", "-")
169 # Replace the operand letters with .
171 enc_str = enc_str.replace(x, ".")
188 # Replace the 0s and 1s with .
189 enc_str = enc_str.replace("0", ".").replace("1", ".")
/qemu/tests/qemu-iotests/
H A Dcommon.filter43 # replace occurrences of the actual TEST_DIR value with TEST_DIR
51 # replace occurrences of the actual IMGFMT value with IMGFMT
57 # Replace error message when the format is not supported and delete
81 # replace occurrences of QEMU_PROG with "qemu"
89 # replace problematic QMP output like timestamps
106 # replace block job offset
112 # replace block job len
118 # replace actual image size (depends on the host filesystem)
137 # replace driver-specific options in the "Formatting..." line
/qemu/scripts/tracetool/format/
H A Dd.py62 type_ = type_.replace('unsigned long long', 'uint64_t')
63 type_ = type_.replace('signed long long', 'int64_t')
64 type_ = type_.replace('long long', 'int64_t')
H A D__init__.py63 name = modname.replace("_", "-")
72 name = name.replace("-", "_")
79 format = format.replace("-", "_")
/qemu/scripts/oss-fuzz/
H A Doutput_reproducer.py66 args = args.replace("-accel qtest","")
67 args = args.replace(",accel=qtest","")
68 args = args.replace("-machine accel=qtest","")
69 args = args.replace("-qtest stdio","")
/qemu/scripts/tracetool/backend/
H A D__init__.py85 name = modname.replace("_", "-")
96 name = name.replace("-", "_")
102 self._backends = [backend.replace("-", "_") for backend in backends]
103 self._format = format.replace("-", "_")
/qemu/tests/qtest/libqos/
H A Dvirtio-9p.c204 * Performs regular expression based search and replace on @a haystack.
219 g_autofree char *replace = NULL, *s = NULL; in regex_replace() local
223 replace = g_strdup_vprintf(replace_fmt, argp); in regex_replace()
227 s = g_regex_replace(regex, haystack->str, -1, 0, replace, 0, NULL); in regex_replace()
235 /* replace 'synth' driver by 'local' driver */ in virtio_9p_assign_local_driver()
/qemu/scripts/coccinelle/
H A Dmemory-region-housekeeping.cocci14 // Replace memory_region_init_ram(readonly) by memory_region_init_rom()
66 // Replace by-hand memory_region_init_ram_nomigrate/vmstate_register_ram
69 // We don't try to replace sequences with a non-NULL owner, because
H A Dremove_muldiv64.cocci1 // replace muldiv64(a, 1, b) by "a / b"
H A Dsimplify_muldiv64.cocci1 // replace muldiv64(i32, i32, x) by (uint64_t)i32 * i32 / x
H A Dreturn_directly.cocci1 // replace 'R = X; return R;' with 'return X;'
/qemu/tests/tcg/s390x/
H A Dprecise-smc-softmmu.S18 /* Test 1: replace sgr with agr. */
29 /* Test 2: replace agr with division by zero. */
/qemu/scripts/performance/
H A Ddissect.py120 total_instructions = int(total_instructions.replace(',', ''))
128 JIT_self_instructions = int(JIT_self_instructions.replace(',', ''))
137 JIT_total_instructions = int(JIT_total_instructions.replace(',', ''))
H A DtopN_callgrind.py96 total_number_of_instructions.replace(',', ''))
127 function_instructions = float(function_data[0].replace(',', ''))
/qemu/include/hw/nvram/
H A Dfw_cfg.h131 * Replace the fw_cfg item available by selecting the given key. The new
157 * Replace the fw_cfg item available by selecting the given key. The new
183 * Replace the fw_cfg item available by selecting the given key. The new
209 * Replace the fw_cfg item available by selecting the given key. The new
271 * Replace a NAMED fw_cfg item. If an existing item is found, its callback
/qemu/scripts/modules/
H A Dmodule_block.py23 return data[2].replace('"', '')[:-1]
43 line = line.replace('\n', '')
/qemu/tests/image-fuzzer/
H A Drunner.py83 errors='replace')
230 # Replace all placeholders with their real values
233 .replace('$test_img', 'copy.img')
234 .replace('$off', str(start))
235 .replace('$len', str(end - start)))
/qemu/scripts/codeconverter/
H A Dconverter.py49 values = [v.replace('\n', ' ').replace('"', '') for v in values]
/qemu/scripts/codeconverter/codeconverter/
H A Dpatching.py96 """Replace content
99 replace all strings that look like the original match.
103 return original.replace(self.group(0), replacement)
366 DBG("replace contents at %s-%s with %r",
385 """Replace self.original_content after applying patches from self.patches"""

12345678