/external/clang/test/PCH/ |
make-integer-seq.cpp | 5 struct Seq { 10 using MakeSeq = __make_integer_seq<Seq, T, N>;
|
/external/clang/test/SemaCXX/ |
make_integer_seq.cpp | 6 struct Seq { 11 using MakeSeq = __make_integer_seq<Seq, T, N>; 13 static_assert(__is_same(MakeSeq<int, 0>, Seq<int>), ""); 14 static_assert(__is_same(MakeSeq<int, 1>, Seq<int, 0>), ""); 15 static_assert(__is_same(MakeSeq<int, 2>, Seq<int, 0, 1>), ""); 16 static_assert(__is_same(MakeSeq<int, 3>, Seq<int, 0, 1, 2>), ""); 17 static_assert(__is_same(MakeSeq<int, 4>, Seq<int, 0, 1, 2, 3>), ""); 19 static_assert(__is_same(MakeSeq<unsigned int, 0U>, Seq<unsigned int>), ""); 20 static_assert(__is_same(MakeSeq<unsigned int, 1U>, Seq<unsigned int, 0U>), ""); 21 static_assert(__is_same(MakeSeq<unsigned int, 2U>, Seq<unsigned int, 0U, 1U>), "") [all...] |
/external/llvm/utils/lit/lit/ |
ShCommands.py | 65 class Seq: 73 return 'Seq(%r, %r, %r)' % (self.lhs, self.op, self.rhs) 76 if not isinstance(other, Seq):
|
/external/swiftshader/third_party/LLVM/utils/lit/lit/ |
ShCommands.py | 65 class Seq: 73 return 'Seq(%r, %r, %r)' % (self.lhs, self.op, self.rhs) 76 if not isinstance(other, Seq):
|
/device/generic/goldfish-opengl/android-emu/android/base/ |
TypeTraits.h | 143 // Seq<int...> 148 struct Seq {}; 150 // A 'maker' class to construct Seq<int...> given only <num_args> 156 // MakeSeq<0, 0, 1> == MakeSeq<0, S...> and defines |type| = Seq<0, 1> 163 using type = Seq<S...>; 167 // MakeSeqT alias to quickly create Seq<...>: 168 // MakeSeqT<3> == Seq<0, 1, 2>
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/lit/ |
ShCommands.py | 88 class Seq: 96 return 'Seq(%r, %r, %r)' % (self.lhs, self.op, self.rhs) 99 if not isinstance(other, Seq):
|
/external/skia/experimental/svg/model/ |
SkPEG.h | 87 template <typename... E> struct Seq; 90 struct Seq<> { 100 struct Seq<E, Es...> { 103 V(const typename E::V& head, const typename Seq<Es...>::V& tail) 118 typename Seq<Es...>::V fTailV; 128 const auto tailMatch = Seq<Es...>::Match(headMatch.fNext); 198 using Some = Seq<E, Any<E>>;
|
/external/skqp/experimental/svg/model/ |
SkPEG.h | 87 template <typename... E> struct Seq; 90 struct Seq<> { 100 struct Seq<E, Es...> { 103 V(const typename E::V& head, const typename Seq<Es...>::V& tail) 118 typename Seq<Es...>::V fTailV; 128 const auto tailMatch = Seq<Es...>::Match(headMatch.fNext); 198 using Some = Seq<E, Any<E>>;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/ |
Tcp4Input.c | 36 TCP_SEQ_LT (Seg->Seq, Tcb->RcvWl2 + Tcb->RcvWnd));
278 if (TCP_SEQ_LEQ (Seg->End, Left) || TCP_SEQ_LEQ (Right, Seg->Seq)) {
283 Seg->Seq = Seg->End;
291 if (TCP_SEQ_LT (Seg->Seq, Left)) {
293 Drop = TCP_SUB_SEQ (Left, Seg->Seq);
294 Urg = Seg->Seq + Seg->Urg;
295 Seg->Seq = Left;
307 if (TCP_SEQ_LT (Urg, Seg->Seq)) {
311 Seg->Urg = (UINT16) TCP_SUB_SEQ (Urg, Seg->Seq);
377 TCP_SEQNO Seq;
[all...] |
Tcp4Output.c | 332 Head->Seq = NTOHL (Seg->Seq);
346 TCP_SEQ_BETWEEN (Seg->Seq, Tcb->SndPsh, Seg->End)) {
364 TCP_SEQ_LEQ (Seg->Seq, Tcb->SndUp)) {
370 Seg->Urg = (UINT16) TCP_SUB_SEQ (Tcb->SndUp, Seg->Seq);
375 Seg->Seq),
406 @param Seq The sequence number of the segment.
415 IN TCP_SEQNO Seq,
430 ASSERT ((Tcb != NULL) && TCP_SEQ_LEQ (Seq, Tcb->SndNxt) && (Len > 0));
433 // Find the segment that contains the Seq. [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/ |
TcpInput.c | 35 TCP_SEQ_LT (Seg->Seq, Tcb->RcvWl2 + Tcb->RcvWnd));
302 if (TCP_SEQ_LEQ (Seg->End, Left) || TCP_SEQ_LEQ (Right, Seg->Seq)) {
307 Seg->Seq = Seg->End;
315 if (TCP_SEQ_LT (Seg->Seq, Left)) {
317 Drop = TCP_SUB_SEQ (Left, Seg->Seq);
318 Urg = Seg->Seq + Seg->Urg;
319 Seg->Seq = Left;
331 if (TCP_SEQ_LT (Urg, Seg->Seq)) {
335 Seg->Urg = (UINT16) TCP_SUB_SEQ (Urg, Seg->Seq);
399 TCP_SEQNO Seq;
[all...] |
TcpOutput.c | 326 Head->Seq = NTOHL (Seg->Seq);
340 TCP_SEQ_BETWEEN (Seg->Seq, Tcb->SndPsh, Seg->End)
357 if (TCP_FLG_ON (Tcb->CtrlFlag, TCP_CTRL_SND_URG) && TCP_SEQ_LEQ (Seg->Seq, Tcb->SndUp)) {
363 Seg->Urg = (UINT16) TCP_SUB_SEQ (Tcb->SndUp, Seg->Seq);
368 Seg->Seq),
398 @param[in] Seq The sequence number of the segment.
407 IN TCP_SEQNO Seq,
422 ASSERT ((Tcb != NULL) && TCP_SEQ_LEQ (Seq, Tcb->SndNxt) && (Len > 0));
425 // Find the segment that contains the Seq. [all...] |
/external/llvm/utils/TableGen/ |
CodeGenSchedule.cpp | 186 RecVec Seq = RWDef->getValueAsListOfDefs("Writes"); 187 for (RecIter I = Seq.begin(), E = Seq.end(); I != E; ++I) 329 std::string CodeGenSchedModels::genRWName(ArrayRef<unsigned> Seq, bool IsRead) { 331 for (auto I = Seq.begin(), E = Seq.end(); I != E; ++I) { 332 if (I != Seq.begin()) 460 unsigned CodeGenSchedModels::findRWForSequence(ArrayRef<unsigned> Seq, 466 if (makeArrayRef(I->Sequence) == Seq) 474 unsigned CodeGenSchedModels::findOrInsertRW(ArrayRef<unsigned> Seq, [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_enumerate.py | 67 seq, res = 'abc', [(0,'a'), (1,'b'), (2,'c')]
70 self.assertEqual(type(self.enum(self.seq)), self.enum)
71 e = self.enum(self.seq)
73 self.assertEqual(list(self.enum(self.seq)), self.res)
77 self.assertEqual(list(self.enum(G(self.seq))), self.res)
82 self.assertEqual(list(self.enum(I(self.seq))), self.res)
87 self.assertEqual(list(self.enum(Ig(self.seq))), self.res)
92 self.assertRaises(TypeError, self.enum, X(self.seq))
95 self.assertRaises(TypeError, list, self.enum(N(self.seq)))
98 self.assertRaises(ZeroDivisionError, list, self.enum(E(self.seq)))
126 seq = range(10,20000,2) variable in class:TestBig [all...] |
test_iter.py | 53 def check_iterator(self, it, seq):
61 self.assertEqual(res, seq)
64 def check_for_loop(self, expr, seq):
68 self.assertEqual(res, seq)
76 seq = range(10)
77 it = iter(seq)
87 seq = range(3)
89 for i in iter(seq):
90 for j in iter(seq):
91 for k in iter(seq): [all...] |
/external/python/cpython2/Lib/test/ |
test_enumerate.py | 67 seq, res = 'abc', [(0,'a'), (1,'b'), (2,'c')] 70 self.assertEqual(type(self.enum(self.seq)), self.enum) 71 e = self.enum(self.seq) 73 self.assertEqual(list(self.enum(self.seq)), self.res) 77 self.assertEqual(list(self.enum(G(self.seq))), self.res) 82 self.assertEqual(list(self.enum(I(self.seq))), self.res) 87 self.assertEqual(list(self.enum(Ig(self.seq))), self.res) 92 self.assertRaises(TypeError, self.enum, X(self.seq)) 95 self.assertRaises(TypeError, list, self.enum(N(self.seq))) 98 self.assertRaises(ZeroDivisionError, list, self.enum(E(self.seq))) 126 seq = range(10,20000,2) variable in class:TestBig [all...] |
test_iter.py | 54 def check_iterator(self, it, seq): 62 self.assertEqual(res, seq) 65 def check_for_loop(self, expr, seq): 69 self.assertEqual(res, seq) 77 seq = range(10) 78 it = iter(seq) 88 seq = range(3) 90 for i in iter(seq): 91 for j in iter(seq): 92 for k in iter(seq) [all...] |
/external/python/cpython3/Lib/test/ |
test_enumerate.py | 68 def check_pickle(self, itorg, seq): 73 self.assertEqual(list(it), seq) 79 self.assertFalse(seq[1:]) 83 self.assertEqual(list(it), seq[1:]) 88 seq, res = 'abc', [(0,'a'), (1,'b'), (2,'c')] 91 self.assertEqual(type(self.enum(self.seq)), self.enum) 92 e = self.enum(self.seq) 94 self.assertEqual(list(self.enum(self.seq)), self.res) 98 self.check_pickle(self.enum(self.seq), self.res) 101 self.assertEqual(list(self.enum(G(self.seq))), self.res 150 seq = range(10,20000,2) variable in class:TestBig [all...] |
test_iter.py | 70 def check_iterator(self, it, seq, pickle=True): 72 self.check_pickle(it, seq) 80 self.assertEqual(res, seq) 83 def check_for_loop(self, expr, seq, pickle=True): 85 self.check_pickle(iter(expr), seq) 89 self.assertEqual(res, seq) 92 def check_pickle(self, itorg, seq): 100 self.assertEqual(list(it), seq) 109 self.assertEqual(list(it), seq[1:]) 117 seq = list(range(10) [all...] |
/external/libchrome/mojo/core/ |
data_pipe_unittest.cc | 1815 int seq = 0; local [all...] |
/external/llvm/lib/Target/Mips/ |
MipsSEInstrInfo.cpp | 480 const MipsAnalyzeImmediate::InstSeq &Seq = 482 MipsAnalyzeImmediate::InstSeq::const_iterator Inst = Seq.begin(); 484 assert(Seq.size() && (!LastInstrIsADDiu || (Seq.size() > 1))); 497 // Build the remaining instructions in Seq. 498 for (++Inst; Inst != Seq.end() - LastInstrIsADDiu; ++Inst)
|
MipsSEISelDAGToDAG.cpp | 782 const MipsAnalyzeImmediate::InstSeq &Seq = 785 MipsAnalyzeImmediate::InstSeq::const_iterator Inst = Seq.begin(); 803 for (++Inst; Inst != Seq.end(); ++Inst) { [all...] |
/external/pdfium/third_party/lcms/src/ |
cmsnamed.c | 753 cmsSEQ* Seq; 762 Seq = (cmsSEQ*) _cmsMallocZero(ContextID, sizeof(cmsSEQ)); 763 if (Seq == NULL) return NULL; 765 Seq -> ContextID = ContextID; 766 Seq -> seq = (cmsPSEQDESC*) _cmsCalloc(ContextID, n, sizeof(cmsPSEQDESC)); 767 Seq -> n = n; 769 if (Seq -> seq == NULL) { 770 _cmsFree(ContextID, Seq); [all...] |
cmsvirt.c | 67 cmsSEQ* Seq = cmsAllocProfileSequenceDescription(ContextID, 1); 69 if (Seq == NULL) return FALSE; 71 Seq->seq[0].deviceMfg = (cmsSignature) 0; 72 Seq->seq[0].deviceModel = (cmsSignature) 0; 75 Seq->seq[0].attributes[0] = 0; 76 Seq->seq[0].attributes[1] = 0 [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
MipsSEInstrInfo.cpp | 616 const MipsAnalyzeImmediate::InstSeq &Seq = 618 MipsAnalyzeImmediate::InstSeq::const_iterator Inst = Seq.begin(); 620 assert(Seq.size() && (!LastInstrIsADDiu || (Seq.size() > 1))); 633 // Build the remaining instructions in Seq. 634 for (++Inst; Inst != Seq.end() - LastInstrIsADDiu; ++Inst) [all...] |