Home
last modified time | relevance | path

Searched refs:getCurrent (Results 1 – 25 of 2344) sorted by relevance

12345678910>>...94

/dports/www/grails/grails-1.3.6/src/test/grails/util/
H A DEnvironmentTests.groovy14 Metadata.getCurrent().clear()
20 assertEquals Environment.PRODUCTION, Environment.getCurrent()
51 assertEquals Environment.DEVELOPMENT, Environment.getCurrent()
68 assertEquals Environment.CUSTOM, Environment.getCurrent()
88 assertEquals Environment.PRODUCTION, Environment.getCurrent()
107 assertEquals Environment.DEVELOPMENT, Environment.getCurrent()
126 assertEquals Environment.CUSTOM, Environment.getCurrent()
148 assertEquals Environment.PRODUCTION, Environment.getCurrent()
154 assertEquals Environment.CUSTOM, Environment.getCurrent()
169 assertEquals Environment.PRODUCTION, Environment.getCurrent()
[all …]
/dports/devel/cpputest/cpputest-4.0/include/CppUTest/
H A DUtestMacros.h142 UtestShell::getCurrent()->assertLongsEqual((long)0, (long)0, NULLPTR, file, line); \
168 do { UtestShell::getCurrent()->assertCstrEqual(expected, actual, text, file, line); } while(0)
186 …do { UtestShell::getCurrent()->assertCstrNoCaseEqual(expected, actual, text, file, line); } while(…
195 do { UtestShell::getCurrent()->assertCstrContains(expected, actual, text, file, line); } while(0)
327 UtestShell::getCurrent()->assertLongsEqual((long)0, long(0), NULLPTR, file, line); \
338 do { UtestShell::getCurrent()->fail(text, file, line); } while(0)
345 do { UtestShell::getCurrent()->fail(text, file, line); } while(0)
348 do { UtestShell::getCurrent()->exitTest(); } while(0)
351 do { UtestShell::getCurrent()->print(text, file, line); } while(0)
369 UtestShell::getCurrent()->fail(failure_msg.asCharString(), __FILE__, __LINE__); \
[all …]
/dports/devel/cpputest/cpputest-4.0/src/CppUTest/
H A DTestHarness_c.cpp44 …UtestShell::getCurrent()->assertLongsEqual((long)expected, (long)actual, text, fileName, lineNumbe… in CHECK_EQUAL_C_INT_LOCATION()
54 …UtestShell::getCurrent()->assertLongsEqual(expected, actual, text, fileName, lineNumber, TestTermi… in CHECK_EQUAL_C_LONG_LOCATION()
59 …UtestShell::getCurrent()->assertUnsignedLongsEqual(expected, actual, text, fileName, lineNumber, T… in CHECK_EQUAL_C_ULONG_LOCATION()
64 …UtestShell::getCurrent()->assertLongLongsEqual(expected, actual, text, fileName, lineNumber, TestT… in CHECK_EQUAL_C_LONGLONG_LOCATION()
69 …UtestShell::getCurrent()->assertUnsignedLongLongsEqual(expected, actual, text, fileName, lineNumbe… in CHECK_EQUAL_C_ULONGLONG_LOCATION()
74 …UtestShell::getCurrent()->assertDoublesEqual(expected, actual, threshold, text, fileName, lineNumb… in CHECK_EQUAL_C_REAL_LOCATION()
94 …UtestShell::getCurrent()->assertCstrEqual(expected, actual, text, fileName, lineNumber, TestTermin… in CHECK_EQUAL_C_STRING_LOCATION()
99 …UtestShell::getCurrent()->assertPointersEqual(expected, actual, text, fileName, lineNumber, TestTe… in CHECK_EQUAL_C_POINTER_LOCATION()
104 …UtestShell::getCurrent()->assertBitsEqual(expected, actual, mask, size, text, fileName, lineNumber… in CHECK_EQUAL_C_BITS_LOCATION()
109 UtestShell::getCurrent()->fail(text, fileName, lineNumber, TestTerminatorWithoutExceptions()); in FAIL_TEXT_C_LOCATION()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/glmark2/src/src/scene-ideas/
H A Dtable.cc283 textProgram_[modelviewName_] = modelview.getCurrent(); in draw()
287 textProgram_[modelviewName_] = modelview.getCurrent(); in draw()
290 textProgram_[modelviewName_] = modelview.getCurrent(); in draw()
293 textProgram_[modelviewName_] = modelview.getCurrent(); in draw()
296 textProgram_[modelviewName_] = modelview.getCurrent(); in draw()
299 textProgram_[modelviewName_] = modelview.getCurrent(); in draw()
302 textProgram_[modelviewName_] = modelview.getCurrent(); in draw()
305 textProgram_[modelviewName_] = modelview.getCurrent(); in draw()
308 textProgram_[modelviewName_] = modelview.getCurrent(); in draw()
311 textProgram_[modelviewName_] = modelview.getCurrent(); in draw()
[all …]
H A Dlogo.cc667 updateXform(modelview.getCurrent(), curProgram); in draw()
670 updateXform(modelview.getCurrent(), curProgram); in draw()
673 updateXform(modelview.getCurrent(), curProgram); in draw()
676 updateXform(modelview.getCurrent(), curProgram); in draw()
679 updateXform(modelview.getCurrent(), curProgram); in draw()
682 updateXform(modelview.getCurrent(), curProgram); in draw()
685 updateXform(modelview.getCurrent(), curProgram); in draw()
688 updateXform(modelview.getCurrent(), curProgram); in draw()
691 updateXform(modelview.getCurrent(), curProgram); in draw()
694 updateXform(modelview.getCurrent(), curProgram); in draw()
[all …]
/dports/benchmarks/glmark2/glmark2-2021.12/src/scene-ideas/
H A Dtable.cc283 textProgram_[modelviewName_] = modelview.getCurrent();
287 textProgram_[modelviewName_] = modelview.getCurrent();
290 textProgram_[modelviewName_] = modelview.getCurrent();
293 textProgram_[modelviewName_] = modelview.getCurrent();
296 textProgram_[modelviewName_] = modelview.getCurrent();
299 textProgram_[modelviewName_] = modelview.getCurrent();
302 textProgram_[modelviewName_] = modelview.getCurrent();
305 textProgram_[modelviewName_] = modelview.getCurrent();
308 textProgram_[modelviewName_] = modelview.getCurrent();
311 textProgram_[modelviewName_] = modelview.getCurrent();
[all …]
H A Dlogo.cc664 updateXform(modelview.getCurrent(), curProgram); in draw()
667 updateXform(modelview.getCurrent(), curProgram); in draw()
670 updateXform(modelview.getCurrent(), curProgram); in draw()
673 updateXform(modelview.getCurrent(), curProgram); in draw()
676 updateXform(modelview.getCurrent(), curProgram); in draw()
679 updateXform(modelview.getCurrent(), curProgram); in draw()
682 updateXform(modelview.getCurrent(), curProgram); in draw()
685 updateXform(modelview.getCurrent(), curProgram); in draw()
688 updateXform(modelview.getCurrent(), curProgram); in draw()
691 updateXform(modelview.getCurrent(), curProgram); in draw()
[all …]
/dports/devel/cpputest/cpputest-4.0/tests/CppUTestExt/
H A DMockFailureTest.cpp88 MockUnexpectedCallHappenedFailure failure(UtestShell::getCurrent(), "bar", callList); in TEST_GROUP()
97 MockFailure failure(UtestShell::getCurrent()); in TEST()
103 MockUnexpectedCallHappenedFailure failure(UtestShell::getCurrent(), "foobar", *list); in TEST()
119 MockExpectedCallsDidntHappenFailure failure(UtestShell::getCurrent(), *list); in TEST()
152 …MockUnexpectedInputParameterFailure failure(UtestShell::getCurrent(), "foo", actualParameter, *lis… in TEST()
175 …MockUnexpectedOutputParameterFailure failure(UtestShell::getCurrent(), "foo", actualParameter, *li… in TEST()
218 …MockUnexpectedInputParameterFailure failure(UtestShell::getCurrent(), "foo", actualParameter, *lis… in TEST()
239 MockExpectedParameterDidntHappenFailure failure(UtestShell::getCurrent(), "foo", *list); in TEST()
251 MockNoWayToCompareCustomTypeFailure failure(UtestShell::getCurrent(), "myType"); in TEST()
264 MockUnexpectedObjectFailure failure(UtestShell::getCurrent(), "foo", (void*)0x1, *list); in TEST()
[all …]
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/toonzqt/
H A Dselection.cpp24 TSelectionHandle::getCurrent()->setSelection(this); in makeCurrent()
30 TSelectionHandle *sh = TSelectionHandle::getCurrent(); in makeNotCurrent()
36 TSelection *TSelection::getCurrent() { in getCurrent() function in TSelection
37 return TSelectionHandle::getCurrent()->getSelection(); in getCurrent()
44 TSelectionHandle::getCurrent()->setSelection(selection); in setCurrent()
51 TSelectionHandle::getCurrent()->enableCommand(cmdId, handler); in enableCommand()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/device/android/java/src/org/chromium/chrome/browser/device/
H A DDeviceConditionsTest.java215 deviceConditions = DeviceConditions.getCurrent(mContext); in testBatteryPercentage()
225 assertTrue(DeviceConditions.getCurrent(mContext).isInPowerSaveMode()); in testPowerSaveMode()
236 assertFalse(DeviceConditions.getCurrent(mContext).isPowerConnected()); in testPowerConnected()
240 assertFalse(DeviceConditions.getCurrent(mContext).isPowerConnected()); in testPowerConnected()
244 assertFalse(DeviceConditions.getCurrent(mContext).isPowerConnected()); in testPowerConnected()
248 assertTrue(DeviceConditions.getCurrent(mContext).isPowerConnected()); in testPowerConnected()
252 assertTrue(DeviceConditions.getCurrent(mContext).isPowerConnected()); in testPowerConnected()
290 DeviceConditions.getCurrent(mContext).getNetConnectionType()); in testForceConnectionTypeNoneForTesting()
321 DeviceConditions.getCurrent(mContext).getNetConnectionType()); in testActiveNetworkConnectionType_NoNative()
327 DeviceConditions.getCurrent(mContext).getNetConnectionType()); in testActiveNetworkConnectionType_NoNative()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.ui.tests.harness/src/org/eclipse/ui/tests/harness/util/
H A DSWTEventHelper.java177 boundsStart = Display.getCurrent().map(startControl, null, in performDnD()
188 boundsEnd = Display.getCurrent().map(((Control)dropItem), null, in performDnD()
205 DisplayHelper.sleep(Display.getCurrent(), 1000); in performDnD()
234 SWTEventHelper.mouseMoveEvent(Display.getCurrent(), xstart, ystart, in performDnDInternal()
236 SWTEventHelper.mouseDownEvent(Display.getCurrent(), 1, false); in performDnDInternal()
240 SWTEventHelper.mouseMoveEvent(Display.getCurrent(), xstart in performDnDInternal()
242 SWTEventHelper.mouseMoveEvent(Display.getCurrent(), xstart, ystart, in performDnDInternal()
246 SWTEventHelper.mouseMoveEvent(Display.getCurrent(), xstart, ystart, in performDnDInternal()
263 SWTEventHelper.mouseMoveEvent(Display.getCurrent(), xend, yend, in performDnDInternal()
265 SWTEventHelper.mouseUpEvent(Display.getCurrent(), 1, possibleTrue); in performDnDInternal()
[all …]
/dports/x11-toolkits/plib/plib-1.8.5/src/sl/
H A DslEnvelope.cxx77 float _time = slScheduler::getCurrent() -> getElapsedTime ( start ) ; in applyToPitch()
81 delta /= (float) slScheduler::getCurrent() -> getRate () ; in applyToPitch()
117 float _time = slScheduler::getCurrent() -> getElapsedTime ( start ) ; in applyToInvPitch()
121 delta /= (float) slScheduler::getCurrent() -> getRate () ; in applyToInvPitch()
155 float _time = slScheduler::getCurrent() -> getElapsedTime ( start ) ; in applyToVolume()
159 delta /= (float) slScheduler::getCurrent() -> getRate () ; in applyToVolume()
175 float _time = slScheduler::getCurrent() -> getElapsedTime ( start ) ; in applyToLPFilter()
179 delta /= (float) slScheduler::getCurrent() -> getRate () ; in applyToLPFilter()
200 float _time = slScheduler::getCurrent() -> getElapsedTime ( start ) ; in applyToInvVolume()
204 delta /= (float) slScheduler::getCurrent() -> getRate () ; in applyToInvVolume()
/dports/editors/libreoffice/libreoffice-7.2.6.2/android/source/src/java/org/mozilla/gecko/gfx/
H A DSimpleScaleGestureDetector.java140 return mPointerInfo.getFirst().getCurrent().x; in getFocusX()
143 return (pointerA.getCurrent().x + pointerB.getCurrent().x) / 2.0f; in getFocusX()
157 return mPointerInfo.getFirst().getCurrent().y; in getFocusY()
160 return (pointerA.getCurrent().y + pointerB.getCurrent().y) / 2.0f; in getFocusY()
175 return PointUtils.distance(pointerA.getCurrent(), pointerB.getCurrent()); in getCurrentSpan()
188 a = pointerA.getCurrent(); in getPreviousSpan()
189 b = pointerB.getCurrent(); in getPreviousSpan()
290 public PointF getCurrent() { return mCurrent; } in getCurrent() method in SimpleScaleGestureDetector.PointerInfo
/dports/editors/libreoffice6/libreoffice-6.4.7.2/android/source/src/java/org/mozilla/gecko/gfx/
H A DSimpleScaleGestureDetector.java140 return mPointerInfo.getFirst().getCurrent().x; in getFocusX()
143 return (pointerA.getCurrent().x + pointerB.getCurrent().x) / 2.0f; in getFocusX()
157 return mPointerInfo.getFirst().getCurrent().y; in getFocusY()
160 return (pointerA.getCurrent().y + pointerB.getCurrent().y) / 2.0f; in getFocusY()
175 return PointUtils.distance(pointerA.getCurrent(), pointerB.getCurrent()); in getCurrentSpan()
188 a = pointerA.getCurrent(); in getPreviousSpan()
189 b = pointerB.getCurrent(); in getPreviousSpan()
290 public PointF getCurrent() { return mCurrent; } in getCurrent() method in SimpleScaleGestureDetector.PointerInfo
/dports/graphics/libetonyek01/libetonyek-0.1.10/src/lib/
H A DNUMCollector.cpp47 getOutputManager().getCurrent().write(m_document); in endDocument()
75 auto shapeElements=getOutputManager().getCurrent(); in endWorkSpace()
87 getOutputManager().getCurrent().append(finalTableElt); in endWorkSpace()
91 getOutputManager().getCurrent().append(tableElt); in endWorkSpace()
123 getOutputManager().getCurrent().append(tableElements); in endWorkSpace()
166 getOutputManager().getCurrent().addOpenFrame(frameProps); in drawMedia()
167 getOutputManager().getCurrent().addInsertBinaryObject(binaryObjectProps); in drawMedia()
168 getOutputManager().getCurrent().addCloseFrame(); in drawMedia()
219 IWORKOutputElements &elements = m_outputManager.getCurrent(); in drawTextBox()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.team/bundles/org.eclipse.team.genericeditor.diff.extension/src/org/eclipse/team/internal/genericeditor/diff/extension/presentation/
H A DDiffPresentationReconciler.java30 Display.getCurrent().getSystemColor(SWT.COLOR_RED));
32 Display.getCurrent().getSystemColor(SWT.COLOR_DARK_GREEN));
34 Display.getCurrent().getSystemColor(SWT.COLOR_RED), null, SWT.BOLD);
36 Display.getCurrent().getSystemColor(SWT.COLOR_DARK_GREEN), null, SWT.BOLD);
38 Display.getCurrent().getSystemColor(SWT.COLOR_DARK_BLUE), null, SWT.BOLD);
40 Display.getCurrent().getSystemColor(SWT.COLOR_DARK_MAGENTA));
42 Display.getCurrent().getSystemColor(SWT.COLOR_DARK_CYAN), null, SWT.BOLD);
/dports/multimedia/libbluray/libbluray-1.3.0/src/libbluray/bdj/java/org/havi/ui/
H A DHToggleGroup.java30 public HToggleButton getCurrent() { in getCurrent() method in HToggleGroup
37 HToggleButton tmp = getCurrent(); in setCurrent()
49 else if (buttons.contains(selection) && getCurrent() != selection) { in setCurrent()
60 if (forceSelection && getCurrent() == null && buttons.size() > 0) { in setForcedSelection()
87 if (getForcedSelection() && buttons.size() == 1 && getCurrent() != button) { in add()
105 if (button == getCurrent()) { in remove()
/dports/multimedia/handbrake/libbluray-1.3.0/src/libbluray/bdj/java/org/havi/ui/
H A DHToggleGroup.java30 public HToggleButton getCurrent() { in getCurrent() method in HToggleGroup
37 HToggleButton tmp = getCurrent(); in setCurrent()
49 else if (buttons.contains(selection) && getCurrent() != selection) { in setCurrent()
60 if (forceSelection && getCurrent() == null && buttons.size() > 0) { in setForcedSelection()
87 if (getForcedSelection() && buttons.size() == 1 && getCurrent() != button) { in add()
105 if (button == getCurrent()) { in remove()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/
H A DDecorationSchedulerRaceConditionTest.java108 …waitForP1Decoration.waitForCondition(Display.getCurrent(), TIMEOUT_DECORATOR); // wait for decorat… in setUp()
109 …DisplayHelper.sleep(Display.getCurrent(), TIMEOUT_UPDATE_JOB); // wait for update job following de… in setUp()
141 waitForP1Decoration.waitForCondition(Display.getCurrent(), TIMEOUT_DECORATOR); in testBug417255raceConditionDuringDecoration()
152 waitForP2Decoration.waitForCondition(Display.getCurrent(), TIMEOUT_DECORATOR); in testBug417255raceConditionDuringDecoration()
167 waitForP1Decoration.waitForCondition(Display.getCurrent(), TIMEOUT_DECORATOR); in testBug417255raceConditionDuringDecoration()
171 DisplayHelper.sleep(Display.getCurrent(), TIMEOUT_UPDATE_JOB); in testBug417255raceConditionDuringDecoration()
195 waitForP1Decoration.waitForCondition(Display.getCurrent(), TIMEOUT_DECORATOR); in testBug417255raceConditionBeforeUpdate()
207 …waitForP1Decoration.waitForCondition(Display.getCurrent(), TIMEOUT_DECORATOR); // wait for decorat… in testBug417255raceConditionBeforeUpdate()
210 DisplayHelper.sleep(Display.getCurrent(), TIMEOUT_UPDATE_JOB); in testBug417255raceConditionBeforeUpdate()
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/libutils/include/utils/
H A DCallStack.h106 static CallStackUPtr ALWAYS_INLINE getCurrent(int32_t ignoreDepth = 1) {
115 static CallStackUPtr ALWAYS_INLINE getCurrent(int32_t = 1) {
121 static void ALWAYS_INLINE logStack(const char* logtag, CallStack* stack = getCurrent().get(),
131 static void ALWAYS_INLINE logStack(const char* logtag, CallStack* = getCurrent().get(),
139 const CallStack* stack = getCurrent().get()) {
148 const CallStack* = getCurrent().get()) {
/dports/www/grails/grails-1.3.6/src/java/grails/util/
H A DEnvironment.java93 public static Environment getCurrent() { in getCurrent() method in Environment
96 Metadata metadata = Metadata.getCurrent(); in getCurrent()
126 return getCurrent(); in getCurrentEnvironment()
134 return getCurrent() == DEVELOPMENT && !(Metadata.getCurrent().isWarDeployed()) && in isDevelopmentMode()
174 final Environment env = getCurrent(); in getEnvironmentSpecificBlock()
219 final Environment env = getCurrent(); in executeForCurrentEnvironment()
342 … return this == DEVELOPMENT && reloadLocationSpecified && !Metadata.getCurrent().isWarDeployed() || in isReloadEnabled()
/dports/cad/digital/Digital-0.27/src/main/java/de/neemann/digital/draw/graphics/
H A DPolygonParser.java86 p.add(getCurrent()); in create()
91 p.add(getCurrent()); in create()
96 p.add(getCurrent()); in create()
101 p.add(getCurrent()); in create()
125 addCubicWithReflect(p, getCurrent(), nextVectorRel(), nextVectorInc()); in create()
128 addCubicWithReflect(p, getCurrent(), nextVector(), nextVector()); in create()
131 addQuadraticWithReflect(p, getCurrent(), nextVectorInc()); in create()
134 addQuadraticWithReflect(p, getCurrent(), nextVector()); in create()
170 private VectorInterface getCurrent() { in getCurrent() method in PolygonParser
193 return getCurrent(); in getLastC2()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/
H A DAbstractDefaultRealmTestCase.java44 Display display = Display.getCurrent() != null in setUp()
45 && !Display.getCurrent().isDisposed() ? Display.getCurrent() in setUp()
54 Display display = Display.getCurrent(); in runAsync()
/dports/games/scorched3d/scorched/src/common/3dsparse/
H A DaseFile.tab.cpp798 ASEModelFactory::getCurrent()->getCurrentMesh()->getAmbientColor() = ambientColor; in yyparse()
799 ASEModelFactory::getCurrent()->getCurrentMesh()->getDiffuseColor() = diffuseColor; in yyparse()
805 ASEModelFactory::getCurrent()->getCurrentMesh()->getAmbientNoTexColor() = ambientNoTexColor; in yyparse()
806 ASEModelFactory::getCurrent()->getCurrentMesh()->getDiffuseNoTexColor() = diffuseNoTexColor; in yyparse()
810 ASEModelFactory::getCurrent()->getCurrentMesh()->getShininessColor() = 0; in yyparse()
815 { ASEModelFactory::getCurrent()->addMesh(aseString); ; in yyparse()
831 ASEModelFactory::getCurrent()->getCurrentMesh()->insertVertex(vertex); ; in yyparse()
842 ASEModelFactory::getCurrent()->getCurrentMesh()->insertFace(aseFace); in yyparse()
855 ASEModelFactory::getCurrent()->getCurrentMesh()->setFaceNormal(n, aseFaceNo, 0); in yyparse()
864 ASEModelFactory::getCurrent()->getCurrentMesh()->setFaceNormal(n, aseFaceNo, 1); in yyparse()
[all …]
/dports/games/keeperrl/keeperrl-alpha23/
H A Dclock.cpp13 return duration_cast<milliseconds>(getCurrent() - pausedTime); in getMillis()
18 lastPause = getCurrent(); in pause()
23 pausedTime += getCurrent() - *lastPause; in cont()
36 steady_clock::time_point Clock::getCurrent() { in getCurrent() function in Clock

12345678910>>...94