Home
last modified time | relevance | path

Searched refs:NumChildren (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/lite/testing/
Dmessage_test.cc44 int NumChildren() const { return Children().size(); } in NumChildren() function in tflite::testing::__anon6e82b0a00111::TestMessage
71 ASSERT_EQ(message.NumChildren(), 3); in TEST()
92 EXPECT_EQ(message.NumChildren(), 1); in TEST()
98 EXPECT_EQ(message.NumChildren(), 1); in TEST()
104 EXPECT_EQ(message.NumChildren(), 2); in TEST()
110 EXPECT_EQ(message.NumChildren(), 2); in TEST()
116 EXPECT_EQ(message.NumChildren(), 2); in TEST()
/external/clang/lib/Rewrite/
DRewriteRope.cpp396 unsigned char NumChildren; member in __anon1ec3f34e0411::RopePieceBTreeInterior
399 RopePieceBTreeInterior() : RopePieceBTreeNode(false), NumChildren(0) {} in RopePieceBTreeInterior()
405 NumChildren = 2; in RopePieceBTreeInterior()
414 bool isFull() const { return NumChildren == 2*WidthFactor; } in isFull()
416 unsigned getNumChildren() const { return NumChildren; } in getNumChildren()
418 assert(i < NumChildren && "invalid child #"); in getChild()
422 assert(i < NumChildren && "invalid child #"); in getChild()
535 ++NumChildren; in HandleChildPiece()
550 NewNode->NumChildren = NumChildren = WidthFactor; in HandleChildPiece()
604 --NumChildren; in erase()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineCSE.cpp516 unsigned NumChildren = Children.size(); in PerformCSE() local
517 OpenChildren[Node] = NumChildren; in PerformCSE()
518 for (unsigned i = 0; i != NumChildren; ++i) { in PerformCSE()
/external/llvm/lib/CodeGen/
DMachineLICM.cpp651 unsigned NumChildren = Children.size(); in HoistOutOfLoop() local
657 NumChildren = 0; in HoistOutOfLoop()
659 OpenChildren[Node] = NumChildren; in HoistOutOfLoop()
663 for (int i = (int)NumChildren-1; i >= 0; --i) { in HoistOutOfLoop()
DInlineSpiller.cpp1205 unsigned NumChildren = Children.size(); in getVisitOrders() local
1206 for (unsigned i = 0; i != NumChildren; ++i) { in getVisitOrders()
1275 unsigned NumChildren = Children.size(); in runHoistSpills() local
1276 for (unsigned i = 0; i != NumChildren; ++i) { in runHoistSpills()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineLICM.cpp699 unsigned NumChildren = Children.size(); in HoistOutOfLoop() local
705 NumChildren = 0; in HoistOutOfLoop()
707 OpenChildren[Node] = NumChildren; in HoistOutOfLoop()
711 for (int i = (int)NumChildren-1; i >= 0; --i) { in HoistOutOfLoop()
DInlineSpiller.cpp1261 unsigned NumChildren = Children.size(); in getVisitOrders() local
1262 for (unsigned i = 0; i != NumChildren; ++i) { in getVisitOrders()
1332 unsigned NumChildren = Children.size(); in runHoistSpills() local
1333 for (unsigned i = 0; i != NumChildren; ++i) { in runHoistSpills()
/external/clang/include/clang/AST/
DStmtOpenMP.h44 const unsigned NumChildren; variable
69 unsigned NumClauses, unsigned NumChildren) in OMPExecutableDirective() argument
72 NumChildren(NumChildren), in OMPExecutableDirective()
193 bool hasAssociatedStmt() const { return NumChildren > 0; } in hasAssociatedStmt()
212 return child_range(ChildStorage, ChildStorage + NumChildren); in children()
/external/clang/tools/c-index-test/
Dc-index-test.c543 const unsigned NumChildren = clang_Comment_getNumChildren(Comment); in DumpCXCommentInternal() local
545 for (i = 0; i != NumChildren; ++i) { in DumpCXCommentInternal()