Home
last modified time | relevance | path

Searched refs:Second (Results 1 - 25 of 56) sorted by relevance

123

/third_party/vk-gl-cts/framework/common/
H A DtcuEither.hpp23 * \brief Template class that is either type of First or Second.
32 * \brief Object containing Either First or Second type of object
34 * \note Type First and Second are always aligned to same alignment as
37 * sizeof(Second*)) + sizeof(deUint64) of memory.
39 template<typename First, typename Second>
44 Either (const Second& second);
47 Either (const Either<First, Second>& other);
48 Either& operator= (const Either<First, Second>& other);
51 Either& operator= (const Second& second);
57 const Second
[all...]
/third_party/typescript/tests/baselines/reference/
H A DjsDeclarationsEnumTag.js11 export const Second = {
25 * @param {Second} s
54 exports.ff = exports.consume = exports.Fs = exports.Second = exports.Target = void 0;
64 exports.Second = {
77 * @param {Second} s
108 * @param {Second} s
111 export function consume(t: Target, s: Second, f: Fs): void;
121 export type Second = number;
122 export namespace Second {
H A DgenericCapturingFunctionNarrowing.js2 function needsToNarrowTheType<First extends { foo: string }, Second extends { bar: string }, SubFirst extends First, SubFirstMore extends First & {other: string}>(thing: First | SubFirst | SubFirstMore | Second) {
7 // I would expect this to work because the type should be narrowed in this branch to `Second`
8 console.log(thing.bar); // Error: Property 'bar' does not exist on type 'First | Second'.
11 function hasAFoo(value: First | Second): value is First {
22 // I would expect this to work because the type should be narrowed in this branch to `Second`
23 console.log(thing.bar); // Error: Property 'bar' does not exist on type 'First | Second'.
H A DreexportedMissingAlias.js7 import * as Second from './second';
8 export = Second;
/third_party/protobuf/src/google/protobuf/stubs/
H A Dhash.h92 template <typename First, typename Second>
93 struct hash<std::pair<First, Second> > {
94 inline size_t operator()(const std::pair<First, Second>& key) const { in operator ()()
96 size_t second_hash = hash<Second>()(key.second); in operator ()()
105 inline bool operator()(const std::pair<First, Second>& a, in operator ()()
106 const std::pair<First, Second>& b) const { in operator ()()
/third_party/gn/src/gn/
H A Dfunction_label_matches.cc59 *err = Err(args[1], "Second argument must be a list of label patterns.");
68 "Second argument must be a list of label patterns.");
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dstr_split_internal.h295 template <typename First, typename Second>
296 operator std::pair<First, Second>() const { // NOLINT(runtime/explicit) in operator std::pair()
305 return {First(first), Second(second)}; in operator std::pair()
380 template <typename Container, typename First, typename Second>
381 struct ConvertToContainer<Container, std::pair<const First, Second>, true> {
392 it->second = Second(sv); in operator ()()
412 return ToIter(m->insert(std::make_pair(First(key), Second("")))); in InsertOrEmplace()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DJSON.cpp480 uint16_t Second; in parseUnicode() local
481 if (!Parse4Hex(Second)) in parseUnicode()
484 if (LLVM_UNLIKELY(Second < 0xDC00 || Second >= 0xE000)) { in parseUnicode()
486 First = Second; // Second escape still needs to be processed. in parseUnicode()
490 encodeUtf8(0x10000 | ((First - 0xD800) << 10) | (Second - 0xDC00), Out); in parseUnicode()
H A DBinaryStreamWriter.cpp88 WritableBinaryStreamRef Second = First.drop_front(Off); in split() local
91 BinaryStreamWriter W2{Second}; in split()
H A DBinaryStreamReader.cpp174 BinaryStreamRef Second = First.drop_front(Off); in split() local
177 BinaryStreamReader W2{Second}; in split()
H A DItaniumManglingCanonicalizer.cpp226 StringRef Second) { in addEquivalence()
281 std::tie(SecondNode, SecondIsNew) = Parse(Second); in addEquivalence()
225 addEquivalence(FragmentKind Kind, StringRef First, StringRef Second) addEquivalence() argument
/third_party/rust/crates/serde/serde/src/de/
H A Dvalue.rs26 use self::private::{First, Second};
1095 value: Option<Second<I::Item>>,
1146 fn next_pair(&mut self) -> Option<(First<I::Item>, Second<I::Item>)> { in next_pair()
1162 Second<I::Item>: IntoDeserializer<'de, E>,
1205 Second<I::Item>: IntoDeserializer<'de, E>,
1263 Second<I::Item>: IntoDeserializer<'de, E>,
1286 // Cannot #[derive(Clone)] because of the bound `Second<I::Item>: Clone`.
1291 Second<I::Item>: Clone,
1308 Second<I::Item>: Debug,
1706 type Second; types
1712 type Second = B; global() types
1719 pub type Second<T> = <T as Pair>::Second; global() types
[all...]
/third_party/rust/crates/bindgen/bindgen-integration/src/
H A Dlib.rs75 let mut second: bindings::bitfields::Second = unsafe { mem::zeroed() }; in test_bitfields_second()
187 let mut second = bindings::bitfields::Second { in test_bitfield_constructors()
189 _bitfield_1: bindings::bitfields::Second::new_bitfield_1(1337, true), in test_bitfield_constructors()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp253 auto *Second = dyn_cast<User>(Pair.second); in runOnUse() local
254 assert((!First || Second) && "translated from user to non-user!?"); in runOnUse()
259 Second->setOperand(i, BoolToIntMap[First->getOperand(i)]); in runOnUse()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp442 void swapGEPOperand(GetElementPtrInst *First, GetElementPtrInst *Second);
445 bool isLegalToSwapOperand(GetElementPtrInst *First, GetElementPtrInst *Second,
1293 GetElementPtrInst *Second) { in swapGEPOperand()
1295 Value *Offset2 = Second->getOperand(1); in swapGEPOperand()
1297 Second->setOperand(1, Offset1); in swapGEPOperand()
1310 Second->setIsInBounds(false); in swapGEPOperand()
1292 swapGEPOperand(GetElementPtrInst *First, GetElementPtrInst *Second) swapGEPOperand() argument
H A DMergeICmps.cpp423 const BCECmpBlock &Second) { in IsContiguous()
424 return First.Lhs().BaseId == Second.Lhs().BaseId && in IsContiguous()
425 First.Rhs().BaseId == Second.Rhs().BaseId && in IsContiguous()
426 First.Lhs().Offset + First.SizeBits() / 8 == Second.Lhs().Offset && in IsContiguous()
427 First.Rhs().Offset + First.SizeBits() / 8 == Second.Rhs().Offset; in IsContiguous()
422 IsContiguous(const BCECmpBlock &First, const BCECmpBlock &Second) IsContiguous() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DItaniumManglingCanonicalizer.h65 /// Add an equivalence between \p First and \p Second. Both manglings must
68 StringRef Second);
/third_party/nghttp2/integration-tests/
H A Dserver_tester_http3.go53 ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
/third_party/nghttp2/contrib/
H A Dtlsticketupdate.go93 <-time.After(time.Duration(*interval) * time.Second)
/third_party/rust/crates/cxx/tests/ffi/
H A Dlib.rs72 second: Box<Second>,
77 struct Second { structure names
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DStackColoring.cpp1272 LiveInterval *Second = &*Intervals[SecondSlot]; in runOnMachineFunction() local
1275 assert(!First->empty() && !Second->empty() && "Found an empty range"); in runOnMachineFunction()
1280 !Second->isLiveAtIndexes(FirstS)) { in runOnMachineFunction()
1282 First->MergeSegmentsInAsValue(*Second, First->getValNumInfo(0)); in runOnMachineFunction()
/third_party/libsnd/Octave/
H A Dsndfile_save.m37 error ("Second parameter 'fs' must be a single value, not an array or matrix.") ;
H A Dsndfile_play.m33 error ("Second parameter fs must be a single value.") ;
/third_party/rust/crates/bindgen/bindgen-integration/cpp/
H A DTest.h85 struct Second { struct
H A DTest.cc58 Second::assert(int first, bool second) in assert()

Completed in 17 milliseconds

123