Home
last modified time | relevance | path

Searched +full:- +full:- +full:needed (Results 1 – 25 of 1289) sorted by relevance

12345678910>>...52

/external/sdv/vsomeip/third_party/boost/numeric/ublas/include/boost/numeric/ublas/
Dblas.hpp1 // Copyright (c) 2000-2011 Joerg Walter, Mathias Koch, David Bellot
19 * This includes functions which perform \b vector-vector operations.
25 /** 1-Norm: \f$\sum_i |x_i|\f$ (also called \f$\mathcal{L}_1\f$ or Manhattan norm)
28 * \return the 1-Norm with type of the vector's type
30 * \tparam V type of the vector (not needed by default)
38 /** 2-Norm: \f$\sum_i |x_i|^2\f$ (also called \f$\mathcal{L}_2\f$ or Euclidean norm)
41 * \return the 2-Norm with type of the vector's type
43 * \tparam V type of the vector (not needed by default)
51 /** Infinite-norm: \f$\max_i |x_i|\f$ (also called \f$\mathcal{L}_\infty\f$ norm)
54 * \return the Infinite-Norm with type of the vector's type
[all …]
/external/elfutils/libcpu/
Di386_data.h1 /* Helper routines for disassembler for x86/x86-64.
91 if (*d->prefixes & has_cs) in data_prefix()
94 *d->prefixes &= ~has_cs; in data_prefix()
96 else if (*d->prefixes & has_ds) in data_prefix()
99 *d->prefixes &= ~has_ds; in data_prefix()
101 else if (*d->prefixes & has_es) in data_prefix()
104 *d->prefixes &= ~has_es; in data_prefix()
106 else if (*d->prefixes & has_fs) in data_prefix()
109 *d->prefixes &= ~has_fs; in data_prefix()
111 else if (*d->prefixes & has_gs) in data_prefix()
[all …]
/external/rust/crates/nom/src/bytes/
Dstreaming.rs5 use crate::internal::{Err, IResult, Needed, Parser};
19 /// # use nom::{Err, error::{Error, ErrorKind}, Needed, IResult};
22 /// fn parser(s: &str) -> IResult<&str, &str> {
29 /// assert_eq!(parser("H"), Err(Err::Incomplete(Needed::new(4))));
33 ) -> impl Fn(Input) -> IResult<Input, Input, Error> in tag()
44 CompareResult::Incomplete => Err(Err::Incomplete(Needed::new(tag_len - i.input_len()))), in tag()
60 /// # use nom::{Err, error::{Error, ErrorKind}, Needed, IResult};
63 /// fn parser(s: &str) -> IResult<&str, &str> {
71 /// assert_eq!(parser(""), Err(Err::Incomplete(Needed::new(5))));
75 ) -> impl Fn(Input) -> IResult<Input, Input, Error> in tag_no_case()
[all …]
Dtests.rs7 use crate::internal::{Err, IResult, Needed};
21 fn a_or_b(i: &[u8]) -> IResult<&[u8], &[u8]> { in is_a()
45 fn a_or_b(i: &[u8]) -> IResult<&[u8], &[u8]> { in is_not()
65 assert_eq!(a_or_b(e), Err(Err::Incomplete(Needed::new(1)))); in is_not()
74 fn esc(i: &[u8]) -> IResult<&[u8], &[u8]> { in escaping()
98 fn esc2(i: &[u8]) -> IResult<&[u8], &[u8]> { in escaping()
109 fn esc(i: &str) -> IResult<&str, &str> {
130 fn esc2(i: &str) -> IResult<&str, &str> {
135 fn esc3(i: &str) -> IResult<&str, &str> {
142 fn to_s(i: Vec<u8>) -> String { in to_s()
[all …]
/external/llvm/test/Linker/
Donly-needed-named-metadata.ll1 ; Without -only-needed we should lazy link linkonce globals, and the
3 ; RUN: llvm-link -S %S/Inputs/only-needed-named-metadata.ll %S/only-needed-named-metadata.ll | File…
4 ; CHECK-NOT:@U_linkonce
5 ; CHECK-NOT:@unused_linkonce()
7 ; With -only-needed the metadata references should not cause any of the
11 ; Note that doing -only-needed with the comdat shown below leads to a only
13 ; RUN: llvm-link -S -only-needed %S/Inputs/only-needed-named-metadata.ll %S/only-needed-named-metad…
14 ; RUN: llvm-link -S -internalize -only-needed %S/Inputs/only-needed-named-metadata.ll %S/only-neede…
15 ; ONLYNEEDED-NOT:@U
16 ; ONLYNEEDED-NOT:@U_linkonce
[all …]
/external/rust/crates/nom/src/number/
Dstreaming.rs19 /// # use nom::{Err, error::ErrorKind, Needed};
27 /// assert_eq!(parser(&b""[..]), Err(Err::Incomplete(Needed::new(1))));
30 pub fn be_u8<I, E: ParseError<I>>(input: I) -> IResult<I, u8, E> in be_u8()
36 Err(Err::Incomplete(Needed::new(1))) in be_u8()
49 /// # use nom::{Err, error::ErrorKind, Needed};
57 /// assert_eq!(parser(&b"\x01"[..]), Err(Err::Incomplete(Needed::new(1))));
60 pub fn be_u16<I, E: ParseError<I>>(input: I) -> IResult<I, u16, E> in be_u16()
66 Err(Err::Incomplete(Needed::new(bound - input.input_len()))) in be_u16()
82 /// # use nom::{Err, error::ErrorKind, Needed};
90 /// assert_eq!(parser(&b"\x01"[..]), Err(Err::Incomplete(Needed::new(2))));
[all …]
Dcomplete.rs20 /// # use nom::{Err, error::ErrorKind, Needed};
21 /// # use nom::Needed::Size;
32 pub fn be_u8<I, E: ParseError<I>>(input: I) -> IResult<I, u8, E> in be_u8()
50 /// # use nom::{Err, error::ErrorKind, Needed};
51 /// # use nom::Needed::Size;
62 pub fn be_u16<I, E: ParseError<I>>(input: I) -> IResult<I, u16, E> in be_u16()
83 /// # use nom::{Err, error::ErrorKind, Needed};
84 /// # use nom::Needed::Size;
95 pub fn be_u24<I, E: ParseError<I>>(input: I) -> IResult<I, u32, E> in be_u24()
116 /// # use nom::{Err, error::ErrorKind, Needed};
[all …]
/external/rust/crates/nom/src/character/
Dstreaming.rs9 use crate::internal::{Err, IResult, Needed};
22 /// # use nom::{Err, error::{ErrorKind, Error}, Needed, IResult};
24 /// fn parser(i: &str) -> IResult<&str, char> {
29 /// assert_eq!(parser(""), Err(Err::Incomplete(Needed::new(1))));
31 pub fn char<I, Error: ParseError<I>>(c: char) -> impl Fn(I) -> IResult<I, char, Error> in char()
40 None => Err(Err::Incomplete(Needed::new(c.len() - i.input_len()))), in char()
52 /// # use nom::{Err, error::{ErrorKind, Error}, Needed, IResult};
54 /// fn parser(i: &str) -> IResult<&str, char> {
59 /// assert_eq!(parser(""), Err(Err::Incomplete(Needed::Unknown)));
61 pub fn satisfy<F, I, Error: ParseError<I>>(cond: F) -> impl Fn(I) -> IResult<I, char, Error> in satisfy()
[all …]
/external/rust/crates/winnow/src/binary/
Dmod.rs14 use crate::error::Needed;
44 /// # use winnow::{error::ErrMode, error::ErrorKind, error::InputError, error::Needed};
46 /// # use winnow::error::Needed::Size;
49 /// fn parser(s: &[u8]) -> IResult<&[u8], u8> {
58 /// # use winnow::{error::ErrMode, error::ErrorKind, error::InputError, error::Needed};
63 /// fn parser(s: Partial<&[u8]>) -> IResult<Partial<&[u8]>, u8> {
68 /// assert_eq!(parser(Partial::new(&b""[..])), Err(ErrMode::Incomplete(Needed::new(1))));
71 pub fn be_u8<I, E: ParserError<I>>(input: &mut I) -> PResult<u8, E> in be_u8()
88 /// # use winnow::{error::ErrMode, error::ErrorKind, error::InputError, error::Needed};
90 /// # use winnow::error::Needed::Size;
[all …]
/external/protobuf/javamicro/src/main/java/com/google/protobuf/micro/
DCodedOutputStreamMicro.java1 // Protocol Buffers - Google's data interchange format
42 * {@link #writeInt32}) and methods that write low-level values (e.g.
117 // -----------------------------------------------------------------
283 // -----------------------------------------------------------------
310 // Must sign-extend. in writeInt32NoTag()
333 // UTF-8 directly into our buffer, so we have to let it create its own byte in writeStringNoTag()
335 final byte[] bytes = value.getBytes("UTF-8"); in writeStringNoTag()
400 * Compute the number of bytes that would be needed to encode a
409 * Compute the number of bytes that would be needed to encode a
417 * Compute the number of bytes that would be needed to encode a
[all …]
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/
DCodedOutputStream.ComputeSize.cs2 // Protocol Buffers - Google's data interchange format
4 // https://developers.google.com/protocol-buffers/
50 /// Computes the number of bytes that would be needed to encode a
59 /// Computes the number of bytes that would be needed to encode a
68 /// Computes the number of bytes that would be needed to encode a
77 /// Computes the number of bytes that would be needed to encode an
86 /// Computes the number of bytes that would be needed to encode an
97 // Must sign-extend. in ComputeInt32Size()
103 /// Computes the number of bytes that would be needed to encode a
112 /// Computes the number of bytes that would be needed to encode a
[all …]
/external/protobuf/csharp/src/Google.Protobuf/
DCodedOutputStream.ComputeSize.cs2 // Protocol Buffers - Google's data interchange format
4 // https://developers.google.com/protocol-buffers/
50 /// Computes the number of bytes that would be needed to encode a
59 /// Computes the number of bytes that would be needed to encode a
68 /// Computes the number of bytes that would be needed to encode a
77 /// Computes the number of bytes that would be needed to encode an
86 /// Computes the number of bytes that would be needed to encode an
97 // Must sign-extend. in ComputeInt32Size()
103 /// Computes the number of bytes that would be needed to encode a
112 /// Computes the number of bytes that would be needed to encode a
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gprpp/
Dtchar.cc7 // http://www.apache.org/licenses/LICENSE-2.0
25 int needed = MultiByteToWideChar(CP_UTF8, 0, input.c_str(), -1, NULL, 0); in CharToTchar() local
26 if (needed <= 0) return TcharString(); in CharToTchar()
27 TcharString ret(needed, L'\0'); in CharToTchar()
28 MultiByteToWideChar(CP_UTF8, 0, input.c_str(), -1, in CharToTchar()
29 const_cast<LPTSTR>(ret.data()), needed); in CharToTchar()
34 int needed = in TcharToChar() local
35 WideCharToMultiByte(CP_UTF8, 0, input.c_str(), -1, NULL, 0, NULL, NULL); in TcharToChar()
36 if (needed <= 0) return std::string(); in TcharToChar()
37 std::string ret(needed, '\0'); in TcharToChar()
[all …]
/external/grpc-grpc/src/core/lib/gprpp/
Dtchar.cc7 // http://www.apache.org/licenses/LICENSE-2.0
25 int needed = MultiByteToWideChar(CP_UTF8, 0, input.c_str(), -1, NULL, 0); in CharToTchar() local
26 if (needed <= 0) return TcharString(); in CharToTchar()
27 TcharString ret(needed, L'\0'); in CharToTchar()
28 MultiByteToWideChar(CP_UTF8, 0, input.c_str(), -1, in CharToTchar()
29 const_cast<LPTSTR>(ret.data()), needed); in CharToTchar()
34 int needed = in TcharToChar() local
35 WideCharToMultiByte(CP_UTF8, 0, input.c_str(), -1, NULL, 0, NULL, NULL); in TcharToChar()
36 if (needed <= 0) return std::string(); in TcharToChar()
37 std::string ret(needed, '\0'); in TcharToChar()
[all …]
/external/stardoc/
DWORKSPACE8 ### INTERNAL ONLY - lines after this are not included in the release packaging.
10 # Include dependencies which are only needed for development of Stardoc here.
14 # Needed for generating the Stardoc release binary.
19 shallow_since = "1664304093 -0700",
22 # The following binds are needed for building protobuf java libraries.
38 # Needed only because of java_tools.
42 strip_prefix = "rules_cc-0d5f3f2768c6ca2faca0079a997a97ce22997a0c",
49 # Needed as a transitive dependency of @io_bazel
54 shallow_since = "1564776078 -0400",
57 # Needed for //distro:__pkg__ and as a transitive dependency of @io_bazel
[all …]
/external/rust/crates/winnow/src/token/
Dmod.rs9 use crate::error::Needed;
29 /// fn parser(input: &str) -> IResult<&str, char> {
38 /// # use winnow::{token::any, error::ErrMode, error::ErrorKind, error::InputError, error::Needed};
42 /// assert_eq!(any::<_, InputError<_>>.parse_peek(Partial::new("")), Err(ErrMode::Incomplete(Needed
46 pub fn any<I, E: ParserError<I>>(input: &mut I) -> PResult<<I as Stream>::Token, E> in any()
63 ) -> PResult<<I as Stream>::Token, E> in any_()
70 ErrMode::Incomplete(Needed::new(1)) in any_()
90 /// # use winnow::{error::ErrMode, error::{InputError, ErrorKind}, error::Needed};
93 /// fn parser(s: &str) -> IResult<&str, &str> {
104 /// # use winnow::{error::ErrMode, error::{InputError, ErrorKind}, error::Needed};
[all …]
Dtests.rs11 use crate::error::Needed;
38 ) -> IResult<&str, &str> { in model_complete_take_while_m_n()
71 fn take_until_5_10(i: &str) -> IResult<&str, &str> { in complete_take_until()
111 fn f(i: Partial<&[u8]>) -> IResult<Partial<&[u8]>, u8> { in partial_one_of_test()
127 fn utf8(i: Partial<&str>) -> IResult<Partial<&str>, char> { in partial_one_of_test()
137 fn f(i: Partial<&[u8]>) -> IResult<Partial<&[u8]>, u8> { in char_byteslice()
156 fn f(i: Partial<&str>) -> IResult<Partial<&str>, char> { in char_str()
175 fn f(i: Partial<&[u8]>) -> IResult<Partial<&[u8]>, u8> { in partial_none_of_test()
194 fn a_or_b(i: Partial<&[u8]>) -> IResult<Partial<&[u8]>, &[u8]> { in partial_is_a()
216 fn a_or_b(i: Partial<&[u8]>) -> IResult<Partial<&[u8]>, &[u8]> { in partial_is_not()
[all …]
/external/sandboxed-api/oss-internship-2020/curl/curl_wrapper/
Dcurl_wrapper.h7 // https://www.apache.org/licenses/LICENSE-2.0
24 // The wrapper method is needed to make the variadic argument explicit
27 // The wrapper method is needed to make the variadic argument explicit
30 // The wrapper method is needed to make the variadic argument explicit
34 // The wrapper method is needed to make the variadic argument explicit
37 // The typedef and wrapper method are needed because the original method has
42 // The typedef and wrapper method are needed because the original method has
49 // The wrapper method is needed to make the variadic argument explicit
53 // The wrapper method is needed to make the variadic argument explicit
57 // The wrapper method is needed to make the variadic argument explicit
[all …]
/external/rust/crates/nom/tests/
Doverflow.rs1 #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))]
10 use nom::{Err, IResult, Needed};
15 fn parser02(i: &[u8]) -> IResult<&[u8], (&[u8], &[u8])> { in parser02()
23 Err(Err::Incomplete(Needed::new(18446744073709551615))) in overflow_incomplete_tuple()
30 fn multi(i: &[u8]) -> IResult<&[u8], Vec<&[u8]>> { in overflow_incomplete_length_bytes()
37 Err(Err::Incomplete(Needed::new(18446744073709551615))) in overflow_incomplete_length_bytes()
44 fn multi(i: &[u8]) -> IResult<&[u8], Vec<&[u8]>> { in overflow_incomplete_many0()
51 Err(Err::Incomplete(Needed::new(18446744073709551599))) in overflow_incomplete_many0()
60 fn multi(i: &[u8]) -> IResult<&[u8], Vec<&[u8]>> { in overflow_incomplete_many1()
67 Err(Err::Incomplete(Needed::new(18446744073709551599))) in overflow_incomplete_many1()
[all …]
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DCodedOutputByteBufferNano.java1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
44 * {@link #writeInt32}) and methods that write low-level values (e.g.
54 /* max bytes per java UTF-16 char in UTF-8 */
90 // -----------------------------------------------------------------
248 // -----------------------------------------------------------------
275 // Must sign-extend. in writeInt32NoTag()
297 // UTF-8 byte length of the string is at least its UTF-16 code unit length (value.length()), in writeStringNoTag()
299 // constant varint length - saves measuring length of the string. in writeStringNoTag()
315 writeRawVarint32(newPosition - oldPosition - minLengthVarIntSize); in writeStringNoTag()
[all …]
/external/crosvm/sandbox/src/
Dpolicy.rs2 // Use of this source code is governed by a BSD-style license that can be
42 // Token levels and integrity levels needed for access to hypervisor APIs.
46 // Needed for access to audio APIs.
48 // Needed for access to UI APIs.
51 // Needed to display window on main desktop.
60 // Needed for access to WinINet.
77 // INTEGRITY_LEVEL_MEDIUM needed to open disk file.
90 // Needed to connect to crash handler.
106 // Needed to connect to crash handler.
108 // Needed for access to winsock.
[all …]
/external/tink/java_src/src/test/java/com/google/crypto/tink/
DRegistryMultithreadTest.java7 // http://www.apache.org/licenses/LICENSE-2.0
56 throw new UnsupportedOperationException("Not needed for test"); in getPrimitive()
61 throw new UnsupportedOperationException("Not needed for test"); in newKeyData()
90 throw new UnsupportedOperationException("Not needed for test"); in getVersion()
95 throw new UnsupportedOperationException("Not needed for test"); in keyMaterialType()
103 throw new UnsupportedOperationException("Not needed for test"); in parseKey()
122 throw new UnsupportedOperationException("Not needed for test"); in getVersion()
127 throw new UnsupportedOperationException("Not needed for test"); in keyMaterialType()
135 throw new UnsupportedOperationException("Not needed for test"); in parseKey()
155 throw new UnsupportedOperationException("Not needed for test"); in getVersion()
[all …]
/external/rust/crates/winnow/src/ascii/
Dmod.rs15 use crate::error::{ErrMode, ErrorKind, Needed};
24 /// Mark a value as case-insensitive for ASCII characters
32 /// fn parser<'s>(s: &mut &'s str) -> PResult<&'s str, InputError<&'s str>> {
46 /// Get the byte-representation of this case-insensitive value
48 pub fn as_bytes(&self) -> Caseless<&[u8]> { in as_bytes()
65 /// fn parser<'s>(input: &mut &'s str) -> PResult<&'s str, InputError<&'s str>> {
76 /// # use winnow::{error::ErrMode, error::ErrorKind, error::InputError, error::Needed};
81 …!(crlf::<_, InputError<_>>.parse_peek(Partial::new("")), Err(ErrMode::Incomplete(Needed::new(2))));
84 pub fn crlf<I, E: ParserError<I>>(input: &mut I) -> PResult<<I as Stream>::Slice, E> in crlf()
103 /// # use winnow::{error::ErrMode, error::{InputError, ErrorKind}, error::Needed};
[all …]
/external/llvm/lib/Transforms/IPO/
DGlobalDCE.cpp1 //===-- GlobalDCE.cpp - DCE unreachable internal functions ----------------===//
8 //===----------------------------------------------------------------------===//
12 // known to be alive. After it finds all of the globals which are needed, it
16 //===----------------------------------------------------------------------===//
46 // run - Do the GlobalDCE pass on the specified module, optionally updating
74 BasicBlock &Entry = F->getEntryBlock(); in isEmptyFunction()
101 // Functions with external linkage are needed if they have a body. in run()
102 // Externally visible & appending globals are needed, if they have an in run()
111 // Externally visible aliases are needed. in run()
118 // Externally visible ifuncs are needed. in run()
[all …]
/external/rust/cxx/src/
Dsip.rs2 // https://github.com/rust-lang/rust/blob/1.57.0/library/core/src/hash/sip.rs
14 /// An implementation of SipHash 1-3.
87 unsafe fn u8to64_le(buf: &[u8], start: usize, len: usize) -> u64 { in u8to64_le()
113 pub(crate) fn new() -> Self { in new()
118 fn new_with_keys(key0: u64, key1: u64) -> Self { in new_with_keys()
158 let mut needed = 0; in write() localVariable
161 needed = 8 - self.ntail; in write()
162 // SAFETY: `cmp::min(length, needed)` is guaranteed to not be over `length` in write()
163 self.tail |= unsafe { u8to64_le(msg, 0, cmp::min(length, needed)) } << (8 * self.ntail); in write()
164 if length < needed { in write()
[all …]

12345678910>>...52