Home
last modified time | relevance | path

Searched refs:insertionPoint (Results 1 – 12 of 12) sorted by relevance

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/
DShuffleOrderTest.java40 for (int insertionPoint = 0; insertionPoint <= initialLength; insertionPoint += 2) { in defaultShuffleOrder()
41 testCloneAndInsert(new DefaultShuffleOrder(initialLength, RANDOM_SEED), insertionPoint, 0); in defaultShuffleOrder()
42 testCloneAndInsert(new DefaultShuffleOrder(initialLength, RANDOM_SEED), insertionPoint, 1); in defaultShuffleOrder()
43 testCloneAndInsert(new DefaultShuffleOrder(initialLength, RANDOM_SEED), insertionPoint, 5); in defaultShuffleOrder()
80 for (int insertionPoint = 0; insertionPoint <= initialLength; insertionPoint += 2) { in unshuffledShuffleOrder()
81 testCloneAndInsert(new UnshuffledShuffleOrder(initialLength), insertionPoint, 0); in unshuffledShuffleOrder()
82 testCloneAndInsert(new UnshuffledShuffleOrder(initialLength), insertionPoint, 1); in unshuffledShuffleOrder()
83 testCloneAndInsert(new UnshuffledShuffleOrder(initialLength), insertionPoint, 5); in unshuffledShuffleOrder()
/external/icu/icu4c/source/common/
Duarrsort.cpp125 int32_t insertionPoint=uprv_stableBinarySearch(array, j, item, itemSize, cmp, context); in doInsertionSort() local
126 if(insertionPoint<0) { in doInsertionSort()
127 insertionPoint=~insertionPoint; in doInsertionSort()
129 ++insertionPoint; /* one past the last equal item */ in doInsertionSort()
131 if(insertionPoint<j) { in doInsertionSort()
132 char *dest=array+insertionPoint*itemSize; in doInsertionSort()
134 uprv_memmove(dest+itemSize, dest, (j-insertionPoint)*(size_t)itemSize); in doInsertionSort()
/external/llvm-project/mlir/lib/Bindings/Python/
DIRModules.h102 pybind11::object insertionPoint, in PyThreadContextEntry() argument
104 : context(std::move(context)), insertionPoint(std::move(insertionPoint)), in PyThreadContextEntry()
125 static pybind11::object pushInsertionPoint(PyInsertionPoint &insertionPoint);
126 static void popInsertionPoint(PyInsertionPoint &insertionPoint);
135 pybind11::object insertionPoint, pybind11::object location);
140 pybind11::object insertionPoint; variable
DIRModules.cpp507 py::object insertionPoint, in push() argument
510 stack.emplace_back(frameKind, std::move(context), std::move(insertionPoint), in push()
520 if (!current.insertionPoint) in push()
521 current.insertionPoint = prev.insertionPoint; in push()
535 if (!insertionPoint) in getInsertionPoint()
537 return py::cast<PyInsertionPoint *>(insertionPoint); in getInsertionPoint()
580 PyThreadContextEntry::pushInsertionPoint(PyInsertionPoint &insertionPoint) { in pushInsertionPoint() argument
582 insertionPoint.getBlock().getParentOperation()->getContext().getObject(); in pushInsertionPoint()
583 py::object insertionPointObj = py::cast(insertionPoint); in pushInsertionPoint()
591 void PyThreadContextEntry::popInsertionPoint(PyInsertionPoint &insertionPoint) { in popInsertionPoint() argument
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DAlphabeticIndex.java476 … int insertionPoint = Collections.binarySearch(indexCharacters, item, collatorPrimaryOnly); in initLabels() local
477 if (insertionPoint < 0) { in initLabels()
478 indexCharacters.add(~insertionPoint, item); in initLabels()
480 String itemAlreadyIn = indexCharacters.get(insertionPoint); in initLabels()
482 indexCharacters.set(insertionPoint, item); in initLabels()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DAlphabeticIndex.java457 … int insertionPoint = Collections.binarySearch(indexCharacters, item, collatorPrimaryOnly); in initLabels() local
458 if (insertionPoint < 0) { in initLabels()
459 indexCharacters.add(~insertionPoint, item); in initLabels()
461 String itemAlreadyIn = indexCharacters.get(insertionPoint); in initLabels()
463 indexCharacters.set(insertionPoint, item); in initLabels()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DSmallSortedMap.java247 final int insertionPoint = -(index + 1); in put() local
248 if (insertionPoint >= maxArraySize) { in put()
258 entryList.add(insertionPoint, new Entry(key, value)); in put()
DRopeByteString.java700 int insertionPoint = -(depth + 1); in getDepthBinForLength() local
701 depth = insertionPoint - 1; in getDepthBinForLength()
/external/icu/icu4c/source/i18n/
Dalphaindex.cpp338 int32_t insertionPoint = binarySearch(indexCharacters, *item, *collatorPrimaryOnly_); in initLabels() local
339 if (insertionPoint < 0) { in initLabels()
341 ownedString(*item, ownedItem, errorCode), ~insertionPoint, errorCode); in initLabels()
343 const UnicodeString &itemAlreadyIn = *getString(indexCharacters, insertionPoint); in initLabels()
346 ownedString(*item, ownedItem, errorCode), insertionPoint); in initLabels()
/external/chromium-trace/catapult/third_party/polymer/components/webcomponentsjs/
DShadowDOM.js828 var insertionPoint = destinationInsertionPoints[i];
829 if (isShadowInsertionPoint(insertionPoint)) {
830 var shadowRoot = rootOfNode(insertionPoint);
834 path.push(insertionPoint);
3456 var insertionPoint = scope.getDestinationInsertionPoints(child);
3457 if (insertionPoint.length > 0) {
3458 var parentNode = insertionPoint[0].parentNode;
3613 function resetDistributedNodes(insertionPoint) { argument
3614 distributedNodesTable.set(insertionPoint, []);
3616 function getDistributedNodes(insertionPoint) { argument
[all …]
Dwebcomponents.js869 var insertionPoint = destinationInsertionPoints[i];
870 if (isShadowInsertionPoint(insertionPoint)) {
871 var shadowRoot = rootOfNode(insertionPoint);
875 path.push(insertionPoint);
3464 var insertionPoint = scope.getDestinationInsertionPoints(child);
3465 if (insertionPoint.length > 0) {
3466 var parentNode = insertionPoint[0].parentNode;
3620 function resetDistributedNodes(insertionPoint) { argument
3621 distributedNodesTable.set(insertionPoint, []);
3623 function getDistributedNodes(insertionPoint) { argument
[all …]
/external/llvm-project/mlir/lib/Conversion/GPUCommon/
DConvertLaunchFuncToRuntimeCalls.cpp444 auto insertionPoint = rewriter.saveInsertionPoint(); in matchAndRewrite() local
460 rewriter.restoreInsertionPoint(insertionPoint); in matchAndRewrite()