/external/libtextclassifier/utils/ |
D | resources_test.cc | 36 test_resources.locale.back()->language = "en"; in BuildTestResources() 37 test_resources.locale.back()->region = "US"; in BuildTestResources() 39 test_resources.locale.back()->language = "en"; in BuildTestResources() 40 test_resources.locale.back()->region = "GB"; in BuildTestResources() 42 test_resources.locale.back()->language = "de"; in BuildTestResources() 43 test_resources.locale.back()->region = "DE"; in BuildTestResources() 45 test_resources.locale.back()->language = "fr"; in BuildTestResources() 46 test_resources.locale.back()->region = "FR"; in BuildTestResources() 48 test_resources.locale.back()->language = "pt"; in BuildTestResources() 49 test_resources.locale.back()->region = "PT"; in BuildTestResources() [all …]
|
D | tokenizer_test.cc | 67 buffers_.back().data())); in TestingTokenizerProxy() 75 flatbuffers::GetRoot<CodepointRange>(buffers_.back().data())); in TestingTokenizerProxy() 107 config = &configs.back(); in TEST() 113 config = &configs.back(); in TEST() 119 config = &configs.back(); in TEST() 164 config = &configs.back(); in TEST() 186 config = &configs.back(); in TEST() 192 config = &configs.back(); in TEST() 198 config = &configs.back(); in TEST() 237 config = &configs.back(); in TEST() [all …]
|
/external/jline/src/src/test/java/jline/ |
D | TestEditLine.java | 107 b = b.left().right().back(); in testRight() 109 b = b.left().left().left().right().left().back(); in testRight() 118 assertBuffer("This is a est", b = b.back()); in testLeft() 119 assertBuffer("This is aest", b = b.back()); in testLeft() 120 assertBuffer("This is est", b = b.back()); in testLeft() 121 assertBuffer("This isest", b = b.back()); in testLeft() 122 assertBuffer("This iest", b = b.back()); in testLeft() 123 assertBuffer("This est", b = b.back()); in testLeft() 124 assertBuffer("Thisest", b = b.back()); in testLeft() 125 assertBuffer("Thiest", b = b.back()); in testLeft() [all …]
|
/external/skqp/gm/ |
D | convexpaths.cpp | 54 fPaths.back().quadTo(50 * SK_Scalar1, 100 * SK_Scalar1, in makePaths() 56 fPaths.back().lineTo(0, 0); in makePaths() 59 fPaths.back().quadTo(50 * SK_Scalar1, 0, in makePaths() 61 fPaths.back().quadTo(50 * SK_Scalar1, 100 * SK_Scalar1, in makePaths() 104 fPaths.back().lineTo(kLength * SkIntToScalar(i) / kPtsPerSide, 0); in makePaths() 107 fPaths.back().lineTo(kLength, kLength * SkIntToScalar(i) / kPtsPerSide); in makePaths() 110 fPaths.back().lineTo(kLength * SkIntToScalar(i) / kPtsPerSide, kLength); in makePaths() 113 fPaths.back().lineTo(0, kLength * SkIntToScalar(i) / kPtsPerSide); in makePaths() 118 fPaths.back().lineTo(98 * SK_Scalar1, 100 * SK_Scalar1); in makePaths() 119 fPaths.back().lineTo(3 * SK_Scalar1, 96 * SK_Scalar1); in makePaths() [all …]
|
/external/skia/gm/ |
D | convexpaths.cpp | 54 fPaths.back().quadTo(50 * SK_Scalar1, 100 * SK_Scalar1, in makePaths() 56 fPaths.back().lineTo(0, 0); in makePaths() 59 fPaths.back().quadTo(50 * SK_Scalar1, 0, in makePaths() 61 fPaths.back().quadTo(50 * SK_Scalar1, 100 * SK_Scalar1, in makePaths() 104 fPaths.back().lineTo(kLength * SkIntToScalar(i) / kPtsPerSide, 0); in makePaths() 107 fPaths.back().lineTo(kLength, kLength * SkIntToScalar(i) / kPtsPerSide); in makePaths() 110 fPaths.back().lineTo(kLength * SkIntToScalar(i) / kPtsPerSide, kLength); in makePaths() 113 fPaths.back().lineTo(0, kLength * SkIntToScalar(i) / kPtsPerSide); in makePaths() 118 fPaths.back().lineTo(98 * SK_Scalar1, 100 * SK_Scalar1); in makePaths() 119 fPaths.back().lineTo(3 * SK_Scalar1, 96 * SK_Scalar1); in makePaths() [all …]
|
/external/clang/lib/Format/ |
D | ContinuationIndenter.cpp | 103 !(State.Stack.back().BreakBeforeClosingBrace && in canBreak() 122 if (Current.isMemberAccess() && State.Stack.back().ContainsUnwrappedBuilder) in canBreak() 139 return !State.Stack.back().NoLineBreak; in canBreak() 147 if (State.Stack.back().BreakBeforeClosingBrace && in mustBreak() 164 State.Stack.back().BreakBeforeParameter && !Current.isTrailingComment() && in mustBreak() 177 State.Stack.back().BreakBeforeParameter) && in mustBreak() 181 if (Current.is(TT_SelectorName) && State.Stack.back().ObjCSelectorNameFound && in mustBreak() 182 State.Stack.back().BreakBeforeParameter) in mustBreak() 224 State.Stack.back().BreakBeforeParameter) in mustBreak() 227 State.Stack.back().BreakBeforeParameter) { in mustBreak() [all …]
|
/external/swiftshader/third_party/llvm-subzero/lib/Demangle/ |
D | ItaniumDemangle.cpp | 465 if (!db.template_param.back().empty()) { in parse_template_param() 466 for (auto &t : db.template_param.back().front()) in parse_template_param() 484 if (sub < db.template_param.back().size()) { in parse_template_param() 485 for (auto &temp : db.template_param.back()[sub]) in parse_template_param() 512 auto expr = db.names.back().move_full(); in parse_const_cast_expr() 516 db.names.back() = in parse_const_cast_expr() 517 "const_cast<" + db.names.back().move_full() + ">(" + expr + ")"; in parse_const_cast_expr() 538 auto expr = db.names.back().move_full(); in parse_dynamic_cast_expr() 542 db.names.back() = in parse_dynamic_cast_expr() 543 "dynamic_cast<" + db.names.back().move_full() + ">(" + expr + ")"; in parse_dynamic_cast_expr() [all …]
|
/external/skqp/src/gpu/ |
D | GrBufferAllocPool.cpp | 49 GrBuffer* buffer = fBlocks.back().fBuffer.get(); in deleteBlocks() 51 UNMAP_BUFFER(fBlocks.back()); in deleteBlocks() 80 BufferBlock& block = fBlocks.back(); in unmap() 85 this->flushCpuData(fBlocks.back(), flushSize); in unmap() 97 if (!fBlocks.back().fBuffer->isMapped()) { in validate() 101 SkASSERT(fBlocks.empty() || !fBlocks.back().fBuffer->isMapped()); in validate() 139 BufferBlock& back = fBlocks.back(); in makeSpace() local 140 size_t usedBytes = back.fBuffer->gpuMemorySize() - back.fBytesFree; in makeSpace() 147 if (alignedSize <= back.fBytesFree) { in makeSpace() 151 *buffer = back.fBuffer; in makeSpace() [all …]
|
/external/icu/icu4c/source/layoutex/ |
D | LXUtilities.cpp | 79 le_int32 front, back; in reverse() local 81 for (front = 0, back = length - 1; front < back; front += 1, back -= 1) { in reverse() 84 array[front] = array[back]; in reverse() 85 array[back] = swap; in reverse() 91 le_int32 front, back; in reverse() local 93 for (front = 0, back = length - 1; front < back; front += 1, back -= 1) { in reverse() 96 array[front] = array[back]; in reverse() 97 array[back] = swap; in reverse()
|
/external/eigen/test/ |
D | stddeque.cpp | 25 w.front() = w.back(); in check_stddeque_matrix() 26 VERIFY_IS_APPROX(w.front(), w.back()); in check_stddeque_matrix() 39 v.back() = x; in check_stddeque_matrix() 40 VERIFY_IS_APPROX(v.back(), x); in check_stddeque_matrix() 42 VERIFY_IS_APPROX(v.back(), y); in check_stddeque_matrix() 44 VERIFY_IS_APPROX(v.back(), x); in check_stddeque_matrix() 54 w.front() = w.back(); in check_stddeque_transform() 55 VERIFY_IS_APPROX(w.front(), w.back()); in check_stddeque_transform() 68 v.back() = x; in check_stddeque_transform() 69 VERIFY_IS_APPROX(v.back(), x); in check_stddeque_transform() [all …]
|
D | stdlist.cpp | 25 w.front() = w.back(); in check_stdlist_matrix() 26 VERIFY_IS_APPROX(w.front(), w.back()); in check_stdlist_matrix() 39 v.back() = x; in check_stdlist_matrix() 40 VERIFY_IS_APPROX(v.back(), x); in check_stdlist_matrix() 42 VERIFY_IS_APPROX(v.back(), y); in check_stdlist_matrix() 44 VERIFY_IS_APPROX(v.back(), x); in check_stdlist_matrix() 54 w.front() = w.back(); in check_stdlist_transform() 55 VERIFY_IS_APPROX(w.front(), w.back()); in check_stdlist_transform() 68 v.back() = x; in check_stdlist_transform() 69 VERIFY_IS_APPROX(v.back(), x); in check_stdlist_transform() [all …]
|
/external/grpc-grpc/src/core/lib/slice/ |
D | slice_buffer.cc | 87 grpc_slice* back; in grpc_slice_buffer_tiny_add() local 93 back = &sb->slices[sb->count - 1]; in grpc_slice_buffer_tiny_add() 94 if (back->refcount) goto add_new; in grpc_slice_buffer_tiny_add() 95 if ((back->data.inlined.length + n) > sizeof(back->data.inlined.bytes)) in grpc_slice_buffer_tiny_add() 97 out = back->data.inlined.bytes + back->data.inlined.length; in grpc_slice_buffer_tiny_add() 98 back->data.inlined.length = in grpc_slice_buffer_tiny_add() 99 static_cast<uint8_t>(back->data.inlined.length + n); in grpc_slice_buffer_tiny_add() 104 back = &sb->slices[sb->count]; in grpc_slice_buffer_tiny_add() 106 back->refcount = nullptr; in grpc_slice_buffer_tiny_add() 107 back->data.inlined.length = static_cast<uint8_t>(n); in grpc_slice_buffer_tiny_add() [all …]
|
/external/perfetto/src/traced/probes/ftrace/ |
D | event_info.cc | 17 Event* event = &events.back(); in GetStaticEventInfo() 33 Event* event = &events.back(); in GetStaticEventInfo() 42 Event* event = &events.back(); in GetStaticEventInfo() 56 Event* event = &events.back(); in GetStaticEventInfo() 65 Event* event = &events.back(); in GetStaticEventInfo() 74 Event* event = &events.back(); in GetStaticEventInfo() 83 Event* event = &events.back(); in GetStaticEventInfo() 96 Event* event = &events.back(); in GetStaticEventInfo() 112 Event* event = &events.back(); in GetStaticEventInfo() 126 Event* event = &events.back(); in GetStaticEventInfo() [all …]
|
/external/skia/src/gpu/ |
D | GrBufferAllocPool.cpp | 97 GrBuffer* buffer = fBlocks.back().fBuffer.get(); in deleteBlocks() 99 UNMAP_BUFFER(fBlocks.back()); in deleteBlocks() 125 BufferBlock& block = fBlocks.back(); in unmap() 132 this->flushCpuData(fBlocks.back(), flushSize); in unmap() 145 const GrBuffer* buffer = fBlocks.back().fBuffer.get(); in validate() 150 const GrBuffer* buffer = fBlocks.back().fBuffer.get(); in validate() 191 BufferBlock& back = fBlocks.back(); in makeSpace() local 192 size_t usedBytes = back.fBuffer->size() - back.fBytesFree; in makeSpace() 199 if (alignedSize <= back.fBytesFree) { in makeSpace() 203 *buffer = back.fBuffer; in makeSpace() [all …]
|
/external/libcxx/test/std/containers/sequences/array/ |
D | front_back.pass.cpp | 36 return arr.back() == val; in check_back() 52 C::reference r2 = c.back(); in main() 64 C::const_reference r2 = c.back(); in main() 74 static_assert((std::is_same<decltype(c.back()), T &>::value), ""); in main() 75 static_assert((std::is_same<decltype(cc.back()), const T &>::value), ""); in main() 78 TEST_IGNORE_NODISCARD c.back(); in main() 80 TEST_IGNORE_NODISCARD cc.back(); in main() 90 static_assert((std::is_same<decltype(c.back()), const T &>::value), ""); in main() 91 static_assert((std::is_same<decltype(cc.back()), const T &>::value), ""); in main() 94 TEST_IGNORE_NODISCARD c.back(); in main() [all …]
|
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/ |
D | RunQueue.h | 87 unsigned back = back_.load(std::memory_order_relaxed); in PushBack() local 88 Elem* e = &array_[(back - 1) & kMask]; in PushBack() 93 back = ((back - 1) & kMask2) | (back & ~kMask2); in PushBack() 94 back_.store(back, std::memory_order_relaxed); in PushBack() 106 unsigned back = back_.load(std::memory_order_relaxed); in PopBack() local 107 Elem* e = &array_[back & kMask]; in PopBack() 114 back_.store(back + 1 + (kSize << 1), std::memory_order_relaxed); in PopBack() 124 unsigned back = back_.load(std::memory_order_relaxed); in PopBackHalf() local 126 unsigned mid = back; in PopBackHalf() 127 if (size > 1) mid = back + (size - 1) / 2; in PopBackHalf() [all …]
|
/external/zopfli/src/zopflipng/lodepng/ |
D | lodepng_util.cpp | 45 end = &png.back() + 1; in getChunkInfo() 67 end = &png.back() + 1; in getChunks() 109 end = &png.back() + 1; in insertChunks() 168 end = &png.back() + 1; in getFilterTypesInterlaced() 373 zlibinfo->back().btype = BTYPE; in inflate() 378 zlibinfo->back().compressedbits = bp - bpstart; in inflate() 379 zlibinfo->back().uncompressedbytes = uncomprblocksize; in inflate() 417 zlibinfo->back().hlit = HLIT - 257; in getTreeInflateDynamic() 418 zlibinfo->back().hdist = HDIST - 1; in getTreeInflateDynamic() 419 zlibinfo->back().hclen = HCLEN - 4; in getTreeInflateDynamic() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | SCCIterator.h | 82 while (VisitStack.back().second != GT::child_end(VisitStack.back().first)) { in DFSVisitChildren() 84 NodeType *childN = *VisitStack.back().second++; in DFSVisitChildren() 92 if (MinVisitNumStack.back() > childNum) in DFSVisitChildren() 93 MinVisitNumStack.back() = childNum; in DFSVisitChildren() 103 assert(VisitStack.back().second ==GT::child_end(VisitStack.back().first)); in GetNextSCC() 104 NodeType *visitingN = VisitStack.back().first; in GetNextSCC() 105 unsigned minVisitNum = MinVisitNumStack.back(); in GetNextSCC() 108 if (!MinVisitNumStack.empty() && MinVisitNumStack.back() > minVisitNum) in GetNextSCC() 109 MinVisitNumStack.back() = minVisitNum; in GetNextSCC() 123 CurrentSCC.push_back(SCCNodeStack.back()); in GetNextSCC() [all …]
|
/external/clang/lib/Lex/ |
D | PPConditionalDirectiveRecord.cpp | 55 if (SourceMgr.isBeforeInTranslationUnit(CondDirectiveLocs.back().getLoc(), in findConditionalDirectiveRegionLoc() 57 return CondDirectiveStack.back(); in findConditionalDirectiveRegionLoc() 73 SourceMgr.isBeforeInTranslationUnit(CondDirectiveLocs.back().getLoc(), in addCondDirectiveLoc() 81 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in If() 88 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in Ifdef() 95 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in Ifndef() 103 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in Elif() 104 CondDirectiveStack.back() = Loc; in Elif() 109 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in Else() 110 CondDirectiveStack.back() = Loc; in Else() [all …]
|
/external/libcxx/test/std/containers/sequences/vector/vector.modifiers/ |
D | emplace_back.pass.cpp | 64 assert(&r1 == &c.back()); in main() 70 assert(&r2 == &c.back()); in main() 82 assert(c.back().geti() == 3); in main() 83 assert(c.back().getd() == 4.5); in main() 91 assert(&r1 == &c.back()); in main() 97 assert(&r2 == &c.back()); in main() 109 assert(c.back().geti() == 3); in main() 110 assert(c.back().getd() == 4.5); in main() 118 assert(&r1 == &c.back()); in main() 124 assert(&r2 == &c.back()); in main() [all …]
|
D | emplace.pass.cpp | 71 assert(c.back().geti() == 3); in main() 72 assert(c.back().getd() == 4.5); in main() 81 assert(c.back().geti() == 3); in main() 82 assert(c.back().getd() == 4.5); in main() 98 assert(c.back().geti() == 3); in main() 99 assert(c.back().getd() == 4.5); in main() 108 assert(c.back().geti() == 3); in main() 109 assert(c.back().getd() == 4.5); in main() 124 assert(c.back().geti() == 3); in main() 125 assert(c.back().getd() == 4.5); in main() [all …]
|
/external/tensorflow/tensorflow/contrib/ignite/kernels/dataset/ |
D | ignite_binary_object_parser.cc | 36 out_tensors->back().scalar<uint8>()() = ParseByte(ptr); in Parse() 41 out_tensors->back().scalar<int16>()() = ParseShort(ptr); in Parse() 46 out_tensors->back().scalar<uint16>()() = ParseUnsignedShort(ptr); in Parse() 51 out_tensors->back().scalar<int32>()() = ParseInt(ptr); in Parse() 56 out_tensors->back().scalar<int64>()() = ParseLong(ptr); in Parse() 61 out_tensors->back().scalar<float>()() = ParseFloat(ptr); in Parse() 66 out_tensors->back().scalar<double>()() = ParseDouble(ptr); in Parse() 71 out_tensors->back().scalar<bool>()() = ParseBool(ptr); in Parse() 76 out_tensors->back().scalar<string>()() = ParseString(ptr); in Parse() 81 out_tensors->back().scalar<int64>()() = ParseLong(ptr); in Parse() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | SCCIterator.h | 158 while (VisitStack.back().NextChild != GT::child_end(VisitStack.back().Node)) { in DFSVisitChildren() 160 NodeRef childN = *VisitStack.back().NextChild++; in DFSVisitChildren() 170 if (VisitStack.back().MinVisited > childNum) in DFSVisitChildren() 171 VisitStack.back().MinVisited = childNum; in DFSVisitChildren() 181 NodeRef visitingN = VisitStack.back().Node; in GetNextSCC() 182 unsigned minVisitNum = VisitStack.back().MinVisited; in GetNextSCC() 183 assert(VisitStack.back().NextChild == GT::child_end(visitingN)); in GetNextSCC() 187 if (!VisitStack.empty() && VisitStack.back().MinVisited > minVisitNum) in GetNextSCC() 188 VisitStack.back().MinVisited = minVisitNum; in GetNextSCC() 204 CurrentSCC.push_back(SCCNodeStack.back()); in GetNextSCC() [all …]
|
/external/skia/samplecode/ |
D | SampleShadowUtils.cpp | 57 fConcavePaths.back().lineTo(9.62f, -16.6667f); in onOnceBeforeDraw() 58 fConcavePaths.back().lineTo(28.867f, -16.6667f); in onOnceBeforeDraw() 59 fConcavePaths.back().lineTo(19.24f, 0.0f); in onOnceBeforeDraw() 60 fConcavePaths.back().lineTo(28.867f, 16.6667f); in onOnceBeforeDraw() 61 fConcavePaths.back().lineTo(9.62f, 16.6667f); in onOnceBeforeDraw() 62 fConcavePaths.back().lineTo(0.0f, 33.3333f); in onOnceBeforeDraw() 63 fConcavePaths.back().lineTo(-9.62f, 16.6667f); in onOnceBeforeDraw() 64 fConcavePaths.back().lineTo(-28.867f, 16.6667f); in onOnceBeforeDraw() 65 fConcavePaths.back().lineTo(-19.24f, 0.0f); in onOnceBeforeDraw() 66 fConcavePaths.back().lineTo(-28.867f, -16.6667f); in onOnceBeforeDraw() [all …]
|
/external/skqp/samplecode/ |
D | SampleShadowUtils.cpp | 57 fConcavePaths.back().lineTo(9.62f, -16.6667f); in onOnceBeforeDraw() 58 fConcavePaths.back().lineTo(28.867f, -16.6667f); in onOnceBeforeDraw() 59 fConcavePaths.back().lineTo(19.24f, 0.0f); in onOnceBeforeDraw() 60 fConcavePaths.back().lineTo(28.867f, 16.6667f); in onOnceBeforeDraw() 61 fConcavePaths.back().lineTo(9.62f, 16.6667f); in onOnceBeforeDraw() 62 fConcavePaths.back().lineTo(0.0f, 33.3333f); in onOnceBeforeDraw() 63 fConcavePaths.back().lineTo(-9.62f, 16.6667f); in onOnceBeforeDraw() 64 fConcavePaths.back().lineTo(-28.867f, 16.6667f); in onOnceBeforeDraw() 65 fConcavePaths.back().lineTo(-19.24f, 0.0f); in onOnceBeforeDraw() 66 fConcavePaths.back().lineTo(-28.867f, -16.6667f); in onOnceBeforeDraw() [all …]
|