Home
last modified time | relevance | path

Searched refs:try_from_ctx (Results 1 – 25 of 217) sorted by relevance

123456789

/dports/devel/bingrep/bingrep-0.8.5/cargo-crates/scroll-0.10.2/src/
H A Dctx.rs335 fn try_from_ctx(from: &'a This, ctx: Ctx) -> Result<(Self, usize), Self::Error>; in try_from_ctx() method
494 Self::try_from_ctx(src, le)
605 fn try_from_ctx(src: &'a [u8], ctx: StrCtx) -> Result<(Self, usize), Self::Error> { in try_from_ctx() method
635 fn try_from_ctx(src: &'a T, ctx: StrCtx) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() function
637 TryFromCtx::try_from_ctx(src, ctx) in try_from_ctx()
715 fn try_from_ctx(src: &'a [u8], le: Endian) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() function
768 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() method
786 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() method
787 let (raw, bytes_read) = <&CStr as TryFromCtx>::try_from_ctx(src, _ctx)?; in try_from_ctx()
846 let (got, bytes_read) = <&CStr as TryFromCtx>::try_from_ctx(as_bytes, ()).unwrap(); in parse_a_cstr()
[all …]
H A Dpread.rs73 N::try_from_ctx(&self[offset..], ctx).and_then(|(n, _)| Ok(n)) in pread_with()
112 N::try_from_ctx(&self[o..], ctx).and_then(|(n, size)| { in gread_with()
H A Dleb128.rs96 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() method
123 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() method
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/scroll-0.9.2/src/
H A Dctx.rs130 fn try_from_ctx(from: &'a This, ctx: Ctx) -> Result<(Self, Self::Size), Self::Error>; in try_from_ctx() method
273 Self::try_from_ctx(src, le)
392 fn try_from_ctx(src: &'a [u8], ctx: StrCtx) -> Result<(Self, Self::Size), Self::Error> { in try_from_ctx() method
423 fn try_from_ctx(src: &'a T, ctx: StrCtx) -> result::Result<(Self, Self::Size), Self::Error> { in try_from_ctx() function
425 TryFromCtx::try_from_ctx(src, ctx) in try_from_ctx()
509 fn try_from_ctx(src: &'a [u8], le: Endian) -> result::Result<(Self, Self::Size), Self::Error> { in try_from_ctx() function
565 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, Self::Size), Self::Error> { in try_from_ctx() method
584 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, Self::Size), Self::Error> { in try_from_ctx() method
585 let (raw, bytes_read) = <&CStr as TryFromCtx>::try_from_ctx(src, _ctx)?; in try_from_ctx()
646 let (got, bytes_read) = <&CStr as TryFromCtx>::try_from_ctx(as_bytes, ()).unwrap(); in parse_a_cstr()
[all …]
H A Dpread.rs112 N::try_from_ctx(&self[offset..], ctx).and_then(|(n, _)| Ok(n)) in pread_with()
151 N::try_from_ctx(&self[o..], ctx).and_then(|(n, size)| { in gread_with()
H A Dleb128.rs98 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, Self::Size), Self::Error> { in try_from_ctx() method
127 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, Self::Size), Self::Error> { in try_from_ctx() method
/dports/www/firefox/firefox-99.0/third_party/rust/scroll/src/
H A Dctx.rs335 fn try_from_ctx(from: &'a This, ctx: Ctx) -> Result<(Self, usize), Self::Error>; in try_from_ctx() method
494 Self::try_from_ctx(src, le)
605 fn try_from_ctx(src: &'a [u8], ctx: StrCtx) -> Result<(Self, usize), Self::Error> { in try_from_ctx() method
635 fn try_from_ctx(src: &'a T, ctx: StrCtx) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() function
637 TryFromCtx::try_from_ctx(src, ctx) in try_from_ctx()
715 fn try_from_ctx(src: &'a [u8], le: Endian) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() function
768 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() method
786 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() method
787 let (raw, bytes_read) = <&CStr as TryFromCtx>::try_from_ctx(src, _ctx)?; in try_from_ctx()
846 let (got, bytes_read) = <&CStr as TryFromCtx>::try_from_ctx(as_bytes, ()).unwrap(); in parse_a_cstr()
[all …]
H A Dpread.rs73 N::try_from_ctx(&self[offset..], ctx).and_then(|(n, _)| Ok(n)) in pread_with()
112 N::try_from_ctx(&self[o..], ctx).and_then(|(n, size)| { in gread_with()
H A Dleb128.rs96 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() method
123 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() method
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/scroll/src/
H A Dctx.rs335 fn try_from_ctx(from: &'a This, ctx: Ctx) -> Result<(Self, usize), Self::Error>; in try_from_ctx() method
494 Self::try_from_ctx(src, le)
605 fn try_from_ctx(src: &'a [u8], ctx: StrCtx) -> Result<(Self, usize), Self::Error> { in try_from_ctx() method
635 fn try_from_ctx(src: &'a T, ctx: StrCtx) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() function
637 TryFromCtx::try_from_ctx(src, ctx) in try_from_ctx()
715 fn try_from_ctx(src: &'a [u8], le: Endian) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() function
768 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() method
786 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() method
787 let (raw, bytes_read) = <&CStr as TryFromCtx>::try_from_ctx(src, _ctx)?; in try_from_ctx()
846 let (got, bytes_read) = <&CStr as TryFromCtx>::try_from_ctx(as_bytes, ()).unwrap(); in parse_a_cstr()
[all …]
H A Dpread.rs73 N::try_from_ctx(&self[offset..], ctx).and_then(|(n, _)| Ok(n)) in pread_with()
112 N::try_from_ctx(&self[o..], ctx).and_then(|(n, size)| { in gread_with()
H A Dleb128.rs96 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() method
123 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() method
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/scroll/src/
H A Dctx.rs335 fn try_from_ctx(from: &'a This, ctx: Ctx) -> Result<(Self, usize), Self::Error>; in try_from_ctx() method
494 Self::try_from_ctx(src, le)
605 fn try_from_ctx(src: &'a [u8], ctx: StrCtx) -> Result<(Self, usize), Self::Error> { in try_from_ctx() method
635 fn try_from_ctx(src: &'a T, ctx: StrCtx) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() function
637 TryFromCtx::try_from_ctx(src, ctx) in try_from_ctx()
715 fn try_from_ctx(src: &'a [u8], le: Endian) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() function
768 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() method
786 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() method
787 let (raw, bytes_read) = <&CStr as TryFromCtx>::try_from_ctx(src, _ctx)?; in try_from_ctx()
846 let (got, bytes_read) = <&CStr as TryFromCtx>::try_from_ctx(as_bytes, ()).unwrap(); in parse_a_cstr()
[all …]
H A Dpread.rs73 N::try_from_ctx(&self[offset..], ctx).and_then(|(n, _)| Ok(n)) in pread_with()
112 N::try_from_ctx(&self[o..], ctx).and_then(|(n, size)| { in gread_with()
H A Dleb128.rs96 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() method
123 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() method
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/scroll/src/
H A Dctx.rs126 fn try_from_ctx(from: &'a This, ctx: Ctx) -> Result<(Self, usize), Self::Error>; in try_from_ctx() method
262 Self::try_from_ctx(src, le)
373 fn try_from_ctx(src: &'a [u8], ctx: StrCtx) -> Result<(Self, usize), Self::Error> { in try_from_ctx() method
403 fn try_from_ctx(src: &'a T, ctx: StrCtx) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() function
405 TryFromCtx::try_from_ctx(src, ctx) in try_from_ctx()
483 fn try_from_ctx(src: &'a [u8], le: Endian) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() function
536 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() method
554 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() method
555 let (raw, bytes_read) = <&CStr as TryFromCtx>::try_from_ctx(src, _ctx)?; in try_from_ctx()
614 let (got, bytes_read) = <&CStr as TryFromCtx>::try_from_ctx(as_bytes, ()).unwrap(); in parse_a_cstr()
[all …]
H A Dpread.rs109 N::try_from_ctx(&self[offset..], ctx).and_then(|(n, _)| Ok(n)) in pread_with()
148 N::try_from_ctx(&self[o..], ctx).and_then(|(n, size)| { in gread_with()
H A Dleb128.rs96 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() method
123 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() method
/dports/devel/sentry-cli/sentry-cli-1.71.0/cargo-crates/scroll-0.10.2/src/
H A Dctx.rs335 fn try_from_ctx(from: &'a This, ctx: Ctx) -> Result<(Self, usize), Self::Error>; in try_from_ctx() method
494 Self::try_from_ctx(src, le)
605 fn try_from_ctx(src: &'a [u8], ctx: StrCtx) -> Result<(Self, usize), Self::Error> { in try_from_ctx() method
635 fn try_from_ctx(src: &'a T, ctx: StrCtx) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() function
637 TryFromCtx::try_from_ctx(src, ctx) in try_from_ctx()
715 fn try_from_ctx(src: &'a [u8], le: Endian) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() function
768 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() method
786 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() method
787 let (raw, bytes_read) = <&CStr as TryFromCtx>::try_from_ctx(src, _ctx)?; in try_from_ctx()
846 let (got, bytes_read) = <&CStr as TryFromCtx>::try_from_ctx(as_bytes, ()).unwrap(); in parse_a_cstr()
[all …]
H A Dpread.rs73 N::try_from_ctx(&self[offset..], ctx).and_then(|(n, _)| Ok(n)) in pread_with()
112 N::try_from_ctx(&self[o..], ctx).and_then(|(n, size)| { in gread_with()
/dports/devel/sentry-cli/sentry-cli-1.71.0/cargo-crates/scroll-0.9.2/src/
H A Dctx.rs130 fn try_from_ctx(from: &'a This, ctx: Ctx) -> Result<(Self, Self::Size), Self::Error>; in try_from_ctx() method
273 Self::try_from_ctx(src, le)
392 fn try_from_ctx(src: &'a [u8], ctx: StrCtx) -> Result<(Self, Self::Size), Self::Error> { in try_from_ctx() method
423 fn try_from_ctx(src: &'a T, ctx: StrCtx) -> result::Result<(Self, Self::Size), Self::Error> { in try_from_ctx() function
425 TryFromCtx::try_from_ctx(src, ctx) in try_from_ctx()
509 fn try_from_ctx(src: &'a [u8], le: Endian) -> result::Result<(Self, Self::Size), Self::Error> { in try_from_ctx() function
565 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, Self::Size), Self::Error> { in try_from_ctx() method
584 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, Self::Size), Self::Error> { in try_from_ctx() method
585 let (raw, bytes_read) = <&CStr as TryFromCtx>::try_from_ctx(src, _ctx)?; in try_from_ctx()
646 let (got, bytes_read) = <&CStr as TryFromCtx>::try_from_ctx(as_bytes, ()).unwrap(); in parse_a_cstr()
[all …]
H A Dpread.rs112 N::try_from_ctx(&self[offset..], ctx).and_then(|(n, _)| Ok(n)) in pread_with()
151 N::try_from_ctx(&self[o..], ctx).and_then(|(n, size)| { in gread_with()
/dports/devel/py-maturin/maturin-0.11.3/cargo-crates/scroll-0.10.2/src/
H A Dctx.rs335 fn try_from_ctx(from: &'a This, ctx: Ctx) -> Result<(Self, usize), Self::Error>; in try_from_ctx() method
494 Self::try_from_ctx(src, le)
605 fn try_from_ctx(src: &'a [u8], ctx: StrCtx) -> Result<(Self, usize), Self::Error> { in try_from_ctx() method
635 fn try_from_ctx(src: &'a T, ctx: StrCtx) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() function
637 TryFromCtx::try_from_ctx(src, ctx) in try_from_ctx()
715 fn try_from_ctx(src: &'a [u8], le: Endian) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() function
768 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() method
786 fn try_from_ctx(src: &'a [u8], _ctx: ()) -> result::Result<(Self, usize), Self::Error> { in try_from_ctx() method
787 let (raw, bytes_read) = <&CStr as TryFromCtx>::try_from_ctx(src, _ctx)?; in try_from_ctx()
846 let (got, bytes_read) = <&CStr as TryFromCtx>::try_from_ctx(as_bytes, ()).unwrap(); in parse_a_cstr()
[all …]
H A Dpread.rs73 N::try_from_ctx(&self[offset..], ctx).and_then(|(n, _)| Ok(n)) in pread_with()
112 N::try_from_ctx(&self[o..], ctx).and_then(|(n, size)| { in gread_with()
/dports/devel/sentry-cli/sentry-cli-1.71.0/cargo-crates/pdb-0.7.0/src/symbol/
H A Dmod.rs261 fn try_from_ctx(this: &'t [u8], _ctx: ()) -> Result<(Self, usize)> { in try_from_ctx() method
329 fn try_from_ctx(this: &'t [u8], kind: SymbolKind) -> Result<(Self, usize)> { in try_from_ctx() method
356 fn try_from_ctx(this: &'t [u8], kind: SymbolKind) -> Result<(Self, usize)> { in try_from_ctx() method
407 fn try_from_ctx(this: &'t [u8], kind: SymbolKind) -> Result<(Self, usize)> { in try_from_ctx() method
448 fn try_from_ctx(this: &'t [u8], kind: SymbolKind) -> Result<(Self, usize)> { in try_from_ctx() method
699 let (value, size) = u8::try_from_ctx(this, le)?; in try_from_ctx()
883 fn try_from_ctx(this: &'t [u8], has_qfe: bool) -> Result<(Self, usize)> { in try_from_ctx() method
1061 let (value, size) = u16::try_from_ctx(this, le)?; in try_from_ctx()
1132 let (value, size) = u16::try_from_ctx(this, le)?; in try_from_ctx()
1378 let (value, size) = u32::try_from_ctx(this, le)?; in try_from_ctx()
[all …]

123456789