Home
last modified time | relevance | path

Searched refs:insert_str (Results 1 – 8 of 8) sorted by relevance

/external/rust/crates/bstr/src/
Dext_vec.rs761 self.insert_str(at, ch.encode_utf8(&mut [0; 4]).as_bytes()); in insert_char()
790 fn insert_str<B: AsRef<[u8]>>(&mut self, at: usize, bytes: B) { in insert_str() method
1056 s.insert_str(0, "foo"); in insert()
1060 s.insert_str(0, "foo"); in insert()
1064 s.insert_str(1, "foo"); in insert()
1068 s.insert_str(3, "quux"); in insert()
1072 s.insert_str(3, "x"); in insert()
1076 s.insert_str(0, "x"); in insert()
1080 s.insert_str(6, "x"); in insert()
1084 s.insert_str(3, "quuxbazquux"); in insert()
[all …]
/external/crosvm/kernel_cmdline/src/
Dkernel_cmdline.rs123 pub fn insert_str<T: AsRef<str>>(&mut self, slug: T) -> Result<()> { in insert_str() method
205 assert!(cl.insert_str("noapic").is_ok()); in insert_string()
207 assert!(cl.insert_str("nopci").is_ok()); in insert_string()
219 assert_eq!(cl.insert_str("a"), Err(Error::TooLarge)); in insert_too_large()
/external/clang/utils/
DFuzzTest61 insert_str = self.insert_strings[insert_index]
64 return ('insert', position, insert_str, picked_position)
69 return ('replace', position, insert_str, picked_position)
/external/llvm-project/clang/utils/
DFuzzTest61 insert_str = self.insert_strings[insert_index]
64 return ('insert', position, insert_str, picked_position)
69 return ('replace', position, insert_str, picked_position)
/external/crosvm/aarch64/src/
Dlib.rs338 cmdline.insert_str(&param).map_err(Error::Cmdline)?; in build_vm()
437 cmdline.insert_str("panic=-1").unwrap(); in get_base_linux_cmdline()
/external/crosvm/x86_64/src/
Dtest_integration.rs163 cmdline.insert_str(&param_args).unwrap(); in simple_vm_test()
Dlib.rs481 cmdline.insert_str(&param).map_err(Error::Cmdline)?; in build_vm()
497 .insert_str(format!("ramoops.{}={:#x}", name, val)) in build_vm()
949 cmdline.insert_str("pci=noacpi reboot=k panic=-1").unwrap(); in get_base_linux_cmdline()
/external/toybox/toys/pending/
Dvi.c165 static int insert_str(const char *data, size_t offset, size_t size, size_t len, in insert_str() function
527 insert_str(data, 0, size, size, MMAP); in linelist_load()
938 insert_str(xstrdup(str), TT.cursor, len, len, HEAP); in i_insert()
1071 insert_str(xstrdup("\n"), TT.cursor++, 1, 1, HEAP); in vi_o()