/external/rust/cxx/syntax/ |
D | check.rs | 18 pub(crate) fn typecheck(cx: &mut Errors, apis: &[Api], types: &Types) { in typecheck() 22 errors: cx, in typecheck() 26 fn do_typecheck(cx: &mut Check) { in do_typecheck() 27 ident::check_all(cx, cx.apis); in do_typecheck() 29 for ty in cx.types { in do_typecheck() 31 Type::Ident(ident) => check_type_ident(cx, ident), in do_typecheck() 32 Type::RustBox(ptr) => check_type_box(cx, ptr), in do_typecheck() 33 Type::RustVec(ty) => check_type_rust_vec(cx, ty), in do_typecheck() 34 Type::UniquePtr(ptr) => check_type_unique_ptr(cx, ptr), in do_typecheck() 35 Type::SharedPtr(ptr) => check_type_shared_ptr(cx, ptr), in do_typecheck() [all …]
|
D | ident.rs | 4 fn check(cx: &mut Check, name: &Pair) { in check() 6 check_cxx_ident(cx, &segment.to_string()); in check() 8 check_cxx_ident(cx, &name.cxx.to_string()); in check() 9 check_rust_ident(cx, &name.rust.to_string()); in check() 11 fn check_cxx_ident(cx: &mut Check, ident: &str) { in check() 13 cx.error(ident, error::CXXBRIDGE_RESERVED.msg); in check() 16 cx.error(ident, error::DOUBLE_UNDERSCORE.msg); in check() 20 fn check_rust_ident(cx: &mut Check, ident: &str) { in check() 22 cx.error(ident, error::CXXBRIDGE_RESERVED.msg); in check() 27 pub(crate) fn check_all(cx: &mut Check, apis: &[Api]) { in check_all() [all …]
|
/external/llvm-project/llvm/test/tools/llvm-mca/X86/SandyBridge/ |
D | resources-lea.s | 4 lea 0(), %cx 7 lea (%eax), %cx 10 lea (%rax), %cx 13 lea (, %ebx), %cx 16 lea (, %rbx), %cx 19 lea (, %ebx, 1), %cx 22 lea (, %rbx, 1), %cx 25 lea (, %ebx, 2), %cx 28 lea (, %rbx, 2), %cx 31 lea (%eax, %ebx), %cx [all …]
|
/external/llvm-project/llvm/test/tools/llvm-mca/X86/Znver1/ |
D | resources-lea.s | 4 lea 0(), %cx 7 lea (%eax), %cx 10 lea (%rax), %cx 13 lea (, %ebx), %cx 16 lea (, %rbx), %cx 19 lea (, %ebx, 1), %cx 22 lea (, %rbx, 1), %cx 25 lea (, %ebx, 2), %cx 28 lea (, %rbx, 2), %cx 31 lea (%eax, %ebx), %cx [all …]
|
/external/llvm-project/llvm/test/tools/llvm-mca/X86/Haswell/ |
D | resources-lea.s | 4 lea 0(), %cx 7 lea (%eax), %cx 10 lea (%rax), %cx 13 lea (, %ebx), %cx 16 lea (, %rbx), %cx 19 lea (, %ebx, 1), %cx 22 lea (, %rbx, 1), %cx 25 lea (, %ebx, 2), %cx 28 lea (, %rbx, 2), %cx 31 lea (%eax, %ebx), %cx [all …]
|
/external/llvm-project/llvm/test/tools/llvm-mca/X86/BdVer2/ |
D | resources-lea.s | 4 lea 0(), %cx 7 lea (%eax), %cx 10 lea (%rax), %cx 13 lea (, %ebx), %cx 16 lea (, %rbx), %cx 19 lea (, %ebx, 1), %cx 22 lea (, %rbx, 1), %cx 25 lea (, %ebx, 2), %cx 28 lea (, %rbx, 2), %cx 31 lea (%eax, %ebx), %cx [all …]
|
/external/llvm-project/llvm/test/tools/llvm-mca/X86/Atom/ |
D | resources-lea.s | 4 lea 0(), %cx 7 lea (%eax), %cx 10 lea (%rax), %cx 13 lea (, %ebx), %cx 16 lea (, %rbx), %cx 19 lea (, %ebx, 1), %cx 22 lea (, %rbx, 1), %cx 25 lea (, %ebx, 2), %cx 28 lea (, %rbx, 2), %cx 31 lea (%eax, %ebx), %cx [all …]
|
/external/llvm-project/llvm/test/tools/llvm-mca/X86/SkylakeClient/ |
D | resources-lea.s | 4 lea 0(), %cx 7 lea (%eax), %cx 10 lea (%rax), %cx 13 lea (, %ebx), %cx 16 lea (, %rbx), %cx 19 lea (, %ebx, 1), %cx 22 lea (, %rbx, 1), %cx 25 lea (, %ebx, 2), %cx 28 lea (, %rbx, 2), %cx 31 lea (%eax, %ebx), %cx [all …]
|
/external/llvm-project/llvm/test/tools/llvm-mca/X86/Znver2/ |
D | resources-lea.s | 4 lea 0(), %cx 7 lea (%eax), %cx 10 lea (%rax), %cx 13 lea (, %ebx), %cx 16 lea (, %rbx), %cx 19 lea (, %ebx, 1), %cx 22 lea (, %rbx, 1), %cx 25 lea (, %ebx, 2), %cx 28 lea (, %rbx, 2), %cx 31 lea (%eax, %ebx), %cx [all …]
|
/external/llvm-project/llvm/test/tools/llvm-mca/X86/SLM/ |
D | resources-lea.s | 4 lea 0(), %cx 7 lea (%eax), %cx 10 lea (%rax), %cx 13 lea (, %ebx), %cx 16 lea (, %rbx), %cx 19 lea (, %ebx, 1), %cx 22 lea (, %rbx, 1), %cx 25 lea (, %ebx, 2), %cx 28 lea (, %rbx, 2), %cx 31 lea (%eax, %ebx), %cx [all …]
|
/external/llvm-project/llvm/test/tools/llvm-mca/X86/Broadwell/ |
D | resources-lea.s | 4 lea 0(), %cx 7 lea (%eax), %cx 10 lea (%rax), %cx 13 lea (, %ebx), %cx 16 lea (, %rbx), %cx 19 lea (, %ebx, 1), %cx 22 lea (, %rbx, 1), %cx 25 lea (, %ebx, 2), %cx 28 lea (, %rbx, 2), %cx 31 lea (%eax, %ebx), %cx [all …]
|
/external/llvm-project/llvm/test/tools/llvm-mca/X86/BtVer2/ |
D | resources-lea.s | 4 lea 0(), %cx 7 lea (%eax), %cx 10 lea (%rax), %cx 13 lea (, %ebx), %cx 16 lea (, %rbx), %cx 19 lea (, %ebx, 1), %cx 22 lea (, %rbx, 1), %cx 25 lea (, %ebx, 2), %cx 28 lea (, %rbx, 2), %cx 31 lea (%eax, %ebx), %cx [all …]
|
/external/llvm-project/llvm/test/tools/llvm-mca/X86/Barcelona/ |
D | resources-lea.s | 4 lea 0(), %cx 7 lea (%eax), %cx 10 lea (%rax), %cx 13 lea (, %ebx), %cx 16 lea (, %rbx), %cx 19 lea (, %ebx, 1), %cx 22 lea (, %rbx, 1), %cx 25 lea (, %ebx, 2), %cx 28 lea (, %rbx, 2), %cx 31 lea (%eax, %ebx), %cx [all …]
|
/external/llvm-project/llvm/test/tools/llvm-mca/X86/Generic/ |
D | resources-lea.s | 4 lea 0(), %cx 7 lea (%eax), %cx 10 lea (%rax), %cx 13 lea (, %ebx), %cx 16 lea (, %rbx), %cx 19 lea (, %ebx, 1), %cx 22 lea (, %rbx, 1), %cx 25 lea (, %ebx, 2), %cx 28 lea (, %rbx, 2), %cx 31 lea (%eax, %ebx), %cx [all …]
|
/external/llvm-project/llvm/test/tools/llvm-mca/X86/SkylakeServer/ |
D | resources-lea.s | 4 lea 0(), %cx 7 lea (%eax), %cx 10 lea (%rax), %cx 13 lea (, %ebx), %cx 16 lea (, %rbx), %cx 19 lea (, %ebx, 1), %cx 22 lea (, %rbx, 1), %cx 25 lea (, %ebx, 2), %cx 28 lea (, %rbx, 2), %cx 31 lea (%eax, %ebx), %cx [all …]
|
/external/rust/crates/serde_derive/src/internals/ |
D | check.rs | 8 pub fn check(cx: &Ctxt, cont: &mut Container, derive: Derive) { in check() 9 check_getter(cx, cont); in check() 10 check_flatten(cx, cont); in check() 11 check_identifier(cx, cont); in check() 12 check_variant_skip_attrs(cx, cont); in check() 13 check_internal_tag_field_name_conflict(cx, cont); in check() 14 check_adjacent_tag_conflict(cx, cont); in check() 15 check_transparent(cx, cont, derive); in check() 16 check_from_and_try_from(cx, cont); in check() 21 fn check_getter(cx: &Ctxt, cont: &Container) { in check_getter() [all …]
|
D | attr.rs | 26 cx: &'c Ctxt, field 33 fn none(cx: &'c Ctxt, name: Symbol) -> Self { in none() 35 cx, in none() 46 self.cx in set() 81 fn none(cx: &'c Ctxt, name: Symbol) -> Self { in none() 82 BoolAttr(Attr::none(cx, name)) in none() 95 cx: &'c Ctxt, field 102 fn none(cx: &'c Ctxt, name: Symbol) -> Self { in none() 104 cx, in none() 121 self.cx.error_spanned_by( in at_most_one() [all …]
|
/external/rust/crates/futures-io/src/ |
D | lib.rs | 88 fn poll_read(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut [u8]) in poll_read() 113 … fn poll_read_vectored(self: Pin<&mut Self>, cx: &mut Context<'_>, bufs: &mut [IoSliceMut<'_>]) in poll_read_vectored() 118 return self.poll_read(cx, b); in poll_read_vectored() 122 self.poll_read(cx, &mut []) in poll_read_vectored() 152 fn poll_write(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8]) in poll_write() 178 fn poll_write_vectored(self: Pin<&mut Self>, cx: &mut Context<'_>, bufs: &[IoSlice<'_>]) in poll_write_vectored() 183 return self.poll_write(cx, b); in poll_write_vectored() 187 self.poll_write(cx, &[]) in poll_write_vectored() 208 fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<()>>; in poll_flush() 225 fn poll_close(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<()>>; in poll_close() [all …]
|
/external/autotest/client/tests/isic/ |
D | isic-gcc41-fix.patch | 7 for(cx = 0; cx <= (payload_s >> 1); cx+=1) 8 - (u_short) payload[cx] = rand() & 0xffff; 9 +// (u_short) payload[cx] = rand() & 0xffff; 10 + payload[cx] = rand() & 0xffff; 20 for(cx = 0; cx <= (payload_s >> 1); cx+=1) 21 - (u_int16_t) payload[cx] = rand() & 0xffff; 23 +/* (u_int16_t) payload[cx] = rand() & 0xffff; 25 + payload[cx] = rand() & 0xffff; 37 for(cx = 0; cx <= (payload_s >> 1); cx+=1) 38 - (u_int16_t) payload[cx] = rand() & 0xffff; [all …]
|
/external/rust/crates/futures-util/src/io/ |
D | split.rs | 23 cx: &mut Context<'_>, in lock_and_then() 28 let mut l = ready!(lock.poll_lock(cx)); in lock_and_then() 29 f(l.as_pin_mut(), cx) in lock_and_then() 58 fn poll_read(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut [u8]) in poll_read() 61 lock_and_then(&self.handle, cx, |l, cx| l.poll_read(cx, buf)) in poll_read() 64 fn poll_read_vectored(self: Pin<&mut Self>, cx: &mut Context<'_>, bufs: &mut [IoSliceMut<'_>]) in poll_read_vectored() 67 lock_and_then(&self.handle, cx, |l, cx| l.poll_read_vectored(cx, bufs)) in poll_read_vectored() 72 fn poll_write(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8]) in poll_write() 75 lock_and_then(&self.handle, cx, |l, cx| l.poll_write(cx, buf)) in poll_write() 78 fn poll_write_vectored(self: Pin<&mut Self>, cx: &mut Context<'_>, bufs: &[IoSlice<'_>]) in poll_write_vectored() [all …]
|
/external/python/cpython3/Lib/sqlite3/test/ |
D | backup.py | 8 cx = self.cx = sqlite.connect(":memory:") 9 cx.execute('CREATE TABLE foo (key INTEGER)') 10 cx.executemany('INSERT INTO foo (key) VALUES (?)', [(3,), (4,)]) 11 cx.commit() 14 self.cx.close() 23 self.cx.backup(None) 27 self.cx.backup('some_file_name.db') 31 self.cx.backup(self.cx) 37 self.cx.backup(bck) 51 self.cx.backup(bck) [all …]
|
/external/rust/crates/pin-project-internal/src/pin_project/ |
D | derive.rs | 21 let mut cx; in parse_derive() localVariable 33 cx = Context::new(&input.attrs, &input.vis, ident, &mut input.generics, Struct)?; in parse_derive() 34 parse_struct(&mut cx, &data.fields, &mut generate)?; in parse_derive() 37 cx = Context::new(&input.attrs, &input.vis, ident, &mut input.generics, Enum)?; in parse_derive() 38 parse_enum(&mut cx, data, &mut generate)?; in parse_derive() 48 Ok(generate.into_tokens(&cx)) in parse_derive() 66 fn into_tokens(self, cx: &Context<'_>) -> TokenStream { in into_tokens() 70 let unpin_impl = make_unpin_impl(cx); in into_tokens() 71 let drop_impl = make_drop_impl(cx); in into_tokens() 324 cx: &mut Context<'_>, in parse_struct() [all …]
|
/external/rust/crates/futures-util/src/future/ |
D | either.rs | 70 fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> { in poll() 72 Either::Left(x) => x.poll(cx), in poll() 73 Either::Right(x) => x.poll(cx), in poll() 98 fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> { in poll_next() 100 Either::Left(x) => x.poll_next(cx), in poll_next() 101 Either::Right(x) => x.poll_next(cx), in poll_next() 134 fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_ready() 136 Either::Left(x) => x.poll_ready(cx), in poll_ready() 137 Either::Right(x) => x.poll_ready(cx), in poll_ready() 148 fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_flush() [all …]
|
/external/rust/crates/tokio/tests/ |
D | sync_oneshot.rs | 17 fn poll_closed(&mut self, cx: &mut Context<'_>) -> Poll<()>; in poll_closed() 20 fn poll_closed(&mut self, cx: &mut Context<'_>) -> Poll<()> { in poll_closed() 24 fut.poll(cx) in poll_closed() 77 assert_pending!(tx.enter(|cx, mut tx| tx.poll_closed(cx))); in close_rx() 83 assert_ready!(tx.enter(|cx, mut tx| tx.poll_closed(cx))); in close_rx() 117 assert_pending!(tx.enter(|cx, mut tx| tx.poll_closed(cx))); in explicit_close_poll() 123 assert_ready!(tx.enter(|cx, mut tx| tx.poll_closed(cx))); in explicit_close_poll() 133 assert_pending!(tx.enter(|cx, mut tx| tx.poll_closed(cx))); in explicit_close_poll() 139 assert_ready!(tx.enter(|cx, mut tx| tx.poll_closed(cx))); in explicit_close_poll() 160 assert_pending!(tx.enter(|cx, mut tx| tx.poll_closed(cx))); in explicit_close_try_recv() [all …]
|
/external/rust/crates/tokio/src/io/ |
D | async_write.rs | 56 cx: &mut Context<'_>, in poll_write() 69 fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), io::Error>>; in poll_flush() 129 fn poll_shutdown(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), io::Error>>; in poll_shutdown() 156 cx: &mut Context<'_>, in poll_write_vectored() 163 self.poll_write(cx, buf) in poll_write_vectored() 185 cx: &mut Context<'_>, 188 Pin::new(&mut **self).poll_write(cx, buf) 193 cx: &mut Context<'_>, 196 Pin::new(&mut **self).poll_write_vectored(cx, bufs) 203 fn poll_flush(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<io::Result<()>> { [all …]
|