Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:ok_or
(Results
1 - 22
of
22
) sorted by relevance
/third_party/rust/crates/autocfg/src/
H
A
D
version.rs
50
let major = try!(iter.next().
ok_or
(error::from_str("missing major version")));
in from_rustc()
51
let minor = try!(iter.next().
ok_or
(error::from_str("missing minor version")));
in from_rustc()
52
let patch = try!(iter.next().
ok_or
(error::from_str("missing patch version")));
in from_rustc()
/third_party/rust/crates/rustix/src/path/
H
A
D
arg.rs
208
self.to_str().
ok_or
(io::Errno::INVAL)
in as_str()
247
OsString::as_os_str(self).to_str().
ok_or
(io::Errno::INVAL)
in as_str()
285
self.as_os_str().to_str().
ok_or
(io::Errno::INVAL)
in as_str()
324
self.as_os_str().to_str().
ok_or
(io::Errno::INVAL)
in as_str()
366
.
ok_or
(io::Errno::INVAL)
in as_str()
404
self.as_os_str().to_str().
ok_or
(io::Errno::INVAL)
in as_str()
590
(**self).to_str().
ok_or
(io::Errno::INVAL)
in as_str()
668
self.as_os_str().to_str().
ok_or
(io::Errno::INVAL)
in as_str()
707
self.as_path().to_str().
ok_or
(io::Errno::INVAL)
in as_str()
748
self.as_path().to_str().
ok_or
(i
in as_str()
[all...]
/third_party/rust/crates/which-rs/src/
H
A
D
lib.rs
57
which_all(binary_name).and_then(|mut i| i.next().
ok_or
(Error::CannotFindBinaryPath))
in which()
81
which_all_global(binary_name).and_then(|mut i| i.next().
ok_or
(Error::CannotFindBinaryPath))
in which_global()
156
.and_then(|mut i| i.next().
ok_or
(Error::CannotFindBinaryPath))
in which_in()
355
.and_then(|mut i| i.next().
ok_or
(Error::CannotFindBinaryPath))
in first_result()
H
A
D
finder.rs
76
let p = paths.
ok_or
(Error::CannotFindBinaryPath)?;
in find()
98
let p = paths.
ok_or
(Error::CannotFindBinaryPath)?;
in find_re()
/third_party/rust/crates/clap/clap_lex/src/
H
A
D
lib.rs
30
//! let s = s.map(|s| s.to_str().
ok_or
(s));
341
let flag = flag.to_str().
ok_or
(flag);
in to_long()
423
self.next().
ok_or
(i)?.map_err(|_| i)?;
in display()
/third_party/rust/crates/regex/regex-syntax/src/
H
A
D
unicode.rs
647
.
ok_or
(Error::PropertyValueNotFound),
674
.
ok_or
(Error::PropertyValueNotFound)
699
.
ok_or
(Error::PropertyValueNotFound)
723
.
ok_or
(Error::PropertyNotFound)
751
.
ok_or
(Error::PropertyValueNotFound)
775
.
ok_or
(Error::PropertyValueNotFound)
799
.
ok_or
(Error::PropertyValueNotFound)
/third_party/rust/crates/rustix/src/process/
H
A
D
prctl.rs
191
UnalignedAccessControl::from_bits(r).
ok_or
(io::Errno::RANGE)
in unaligned_access_control()
232
FloatingPointEmulationControl::from_bits(r).
ok_or
(io::Errno::RANGE)
in floating_point_emulation_control()
1048
PointerAuthenticationKeys::from_bits(r).
ok_or
(io::Errno::RANGE)
in enabled_pointer_authentication_keys()
H
A
D
procctl.rs
176
let pid = unsafe { Pid::from_raw(pid as RawPid) }.
ok_or
(io::Errno::RANGE)?;
in trace_status()
/third_party/rust/crates/clap/examples/
H
A
D
repl.rs
30
let args = shlex::split(line).
ok_or
("error: Invalid quoting")?;
in respond()
/third_party/rust/crates/os_str_bytes/src/windows/wtf8/
H
A
D
code_points.rs
41
let &byte = self.iter.peek().
ok_or
(EncodingError::End())?;
in consume_next()
/third_party/rust/crates/codespan/codespan-reporting/src/
H
A
D
files.rs
379
self.files.get(file_id).
ok_or
(Error::FileMissing)
in get()
/third_party/rust/crates/codespan/codespan-reporting/examples/
H
A
D
custom_files.rs
119
.
ok_or
(files::Error::FileMissing)
in get()
/third_party/rust/crates/bindgen/bindgen/ir/
H
A
D
function.rs
545
.
ok_or
(ParseError::Continue)?
in from_ty()
547
ty.ret_type().
ok_or
(ParseError::Continue)?
in from_ty()
H
A
D
comp.rs
611
ctx.resolve_type(bitfield.ty()).layout(ctx).
ok_or
(())?;
in bitfields_to_allocation_units()
/third_party/rust/crates/nom/examples/
H
A
D
s_expression.rs
364
.and_then(|(_, exp)| eval_expression(exp).
ok_or
("Eval failed".to_string()))
in eval_from_str()
/third_party/rust/crates/log/src/
H
A
D
lib.rs
534
fn
ok_or
<T, E>(t: Option<T>, e: E) -> Result<T, E> {
in ok_or()
functions
563
ok_or
(
in from_str()
744
ok_or
(
in from_str()
/third_party/rust/crates/humantime/src/
H
A
D
duration.rs
90
self.checked_mul(other).
ok_or
(Error::NumberOverflow)
in mul()
93
self.checked_add(other).
ok_or
(Error::NumberOverflow)
in add()
157
let mut n = self.parse_first_char()?.
ok_or
(Error::Empty)?;
in parse()
165
.
ok_or
(Error::NumberOverflow)?;
in parse()
/third_party/rust/crates/rustix/src/thread/
H
A
D
prctl.rs
451
CapabilitiesSecureBits::from_bits(r).
ok_or
(io::Errno::RANGE)
in capabilities_secure_bits()
/third_party/rust/crates/rustix/src/backend/libc/net/
H
A
D
syscalls.rs
504
l_linger = l_linger.checked_add(1).
ok_or
(io::Errno::INVAL)?;
/third_party/rust/crates/rust-openssl/openssl/src/ssl/test/
H
A
D
mod.rs
459
ssl::select_next_proto(b"\x08http/1.1\x08spdy/3.1", client).
ok_or
(ssl::AlpnError::NOACK)
in test_alpn_server_advertise_multiple()
475
.
ok_or
(ssl::AlpnError::ALERT_FATAL)
in test_alpn_server_select_none_fatal()
493
ssl::select_next_proto(b"\x08http/1.1\x08spdy/3.1", client).
ok_or
(ssl::AlpnError::NOACK)
in test_alpn_server_select_none()
/third_party/rust/crates/rustix/src/backend/linux_raw/net/
H
A
D
syscalls.rs
897
l_linger = l_linger.checked_add(1).
ok_or
(io::Errno::INVAL)?;
/third_party/rust/crates/bindgen/bindgen/codegen/
H
A
D
mod.rs
3691
self.layout(ctx).
ok_or
(error::Error::NoLayoutForOpaqueBlob)
in try_get_layout()
3904
.
ok_or
(error::Error::NoLayoutForOpaqueBlob)
in try_get_layout()
Completed in 25 milliseconds