Searched refs:insert_str (Results 1 – 8 of 8) sorted by relevance
/external/rust/crates/bstr/src/ |
D | ext_vec.rs | 761 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/ |
D | kernel_cmdline.rs | 123 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/ |
D | FuzzTest | 61 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/ |
D | FuzzTest | 61 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/ |
D | lib.rs | 338 cmdline.insert_str(¶m).map_err(Error::Cmdline)?; in build_vm() 437 cmdline.insert_str("panic=-1").unwrap(); in get_base_linux_cmdline()
|
/external/crosvm/x86_64/src/ |
D | test_integration.rs | 163 cmdline.insert_str(¶m_args).unwrap(); in simple_vm_test()
|
D | lib.rs | 481 cmdline.insert_str(¶m).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/ |
D | vi.c | 165 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()
|